Commit Graph

95 Commits

Author SHA1 Message Date
Angus Leeming
36415c9131 (Herbert): move readBB from ControlGraphics to support/filetools.
(Angus): re-format getExtFromContents a little and remove replicated "sgi"
entry.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3946 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 14:55:52 +00:00
Lars Gullik Bjønnes
391fa7a949 parch from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3931 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-07 15:31:16 +00:00
Lars Gullik Bjønnes
3e51b2106f forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3920 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-06 13:01:03 +00:00
Lars Gullik Bjønnes
23b42a468f add missing typename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3913 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-05 19:54:17 +00:00
Jean-Marc Lasgouttes
bb704aeff6 fix stupid oversight in LibFileScript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3849 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 10:27:59 +00:00
Jean-Marc Lasgouttes
f28f62b420 parselog fixes, i18n fix, menu separator fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3846 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 00:05:28 +00:00
Lars Gullik Bjønnes
a654de29ea ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00
Lars Gullik Bjønnes
7514c31edf drop the ld -r stuff, we gained nothing with it, other build optimizations gave us what we wanted; some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3798 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:49:07 +00:00
Lars Gullik Bjønnes
35e1157317 Fix for bug: #260 special rules if partially linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 19:06:32 +00:00
Angus Leeming
b2f4586c98 Two little things:
* Use Lars' preferred idiom for a for-loop in the graphics cache;
* Turn the forked call controller's timer off when their are no longer any
child processes running.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3755 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-14 18:01:51 +00:00
Lars Gullik Bjønnes
79145afdfe doxy and const fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3719 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 23:00:08 +00:00
Jean-Marc Lasgouttes
6bfec9b307 bibfile parsing and insetgraphics fixes from Herbert; FormToc fix from John; compile fix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3704 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 11:17:49 +00:00
Angus Leeming
8f197420a2 Herbert's upgrade to the recognized graphics formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3652 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:37:25 +00:00
Lars Gullik Bjønnes
8f225dc811 make constructor public
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3644 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 22:57:10 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Angus Leeming
5f1a3be830 Make the d-tor public to make Dekel's compiler happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3630 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 17:12:13 +00:00
Angus Leeming
531b651032 Cleanup of getExtFromContents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3627 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 15:28:02 +00:00
Angus Leeming
b3e376fefc Herbert's patch supporting more graphics formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3621 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 09:58:15 +00:00
Jean-Marc Lasgouttes
d03f2aab75 compilation fix; small menubar tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3592 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 11:34:20 +00:00
Angus Leeming
607ad8d3a7 The graphics inset now has:
* lazy loading (don't try and load the image until a request to draw it
  is received).
* asynchronous conversion to a loadable format.
* asynchronous loading if the image loader supports it (it doesn't).
* "simple" cropping, rotating and scaling (in that order) of the image
  on the LyX screen.
* display in color, grayscale or monochrome.

We also have a forked calls dialog, although it isn't very exciting
yet because only the graphics cache makes use of the forked call controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3591 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 09:59:52 +00:00
Jean-Marc Lasgouttes
1120aa806c cleanups from John and Juergen, bib files parsing fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 10:50:48 +00:00
Angus Leeming
fae3fd8ab1 Herbert's graphics14.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3578 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 16:34:53 +00:00
Angus Leeming
d0a3af12d9 Synching my tree with cvs.
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!

* Rename files syscall.[Ch] as systemcall.[Ch].

* Rename class Systemcalls as class Systemcall as one instance of the class
  represents a single child process. Remove the default constructor too.

* Add a running() method to class Timeout. Results in recompilation of almost
  the entire tree because pretty well everything depends on LyXView.h which
  #includes "frontends/Timeout.h", so...

* Make the Timeout instances in classes LyXView and minibuffer pointers,
  allowing us to forward declare class Timeout.

* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
  of something wonderful!

* Add a signal showForks to Dialogs.h, again anticipating some real code.

* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
  in a namespace to prevent a clash with similarly named structs in
  support/lyxalgo.h

As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.

I'll post the big changes to the list for proper perusal.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 19:13:48 +00:00
Jean-Marc Lasgouttes
5aadf4d849 fix compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3562 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 14:20:02 +00:00
Angus Leeming
306fc655be Herbert's 4 liner to support grace files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3557 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 09:55:47 +00:00
Angus Leeming
59e18b17ae We don't currently use fork anywhere (or if we do it's by mistake!), so
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.

The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait

Paves the way for resurrecting a proper forked calls controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +00:00
Angus Leeming
4a22a90611 I forgot to commit Herbert's patch to support the TGIF-format in
getExtFromContents, so here it is.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 13:49:41 +00:00
Jean-Marc Lasgouttes
919b745fa6 fix insetert drupdate problems (bug #176); fix row breaking after protected chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
ccdfe85d2b win32 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3515 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 10:07:28 +00:00
Jean-Marc Lasgouttes
5e20b471dd remove a cygwin #ifdef
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3512 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 17:07:14 +00:00
Jean-Marc Lasgouttes
bb9fffb77c popen tweaks; "no 0cm" patch from Herbert; fix disabled toggles in menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3511 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 14:32:17 +00:00
Jean-Marc Lasgouttes
c42c666fdc fix do_popen for cygwin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3510 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 11:23:58 +00:00
Angus Leeming
21245ae533 Herbert's bugfix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3509 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 10:47:02 +00:00
Angus Leeming
2dd83864e5 Herbert's unzip et al patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 19:37:34 +00:00
Angus Leeming
bcfdd54d46 Yes, yet another patch from Herbert!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 12:19:32 +00:00
Jean-Marc Lasgouttes
41b2f113d7 fix startup failure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3477 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 10:41:30 +00:00
Angus Leeming
358c483572 Herbert's latest graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3465 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-31 14:20:09 +00:00
Jean-Marc Lasgouttes
85a377f2cd merge a few more cygwin patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3453 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 13:15:19 +00:00
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Jean-Marc Lasgouttes
62e2aecdfb compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3373 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 14:06:40 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Jean-Marc Lasgouttes
61ccd8b8b5 various fixes from John, Martin and Kayvan, plus one of mine. Read ChangeLogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 10:17:44 +00:00
Jean-Marc Lasgouttes
96dd1ba64c compilation fix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3257 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 16:27:02 +00:00
Jean-Marc Lasgouttes
1070702ea4 removed most uses of toupper and friends, removed <config.h> from headers and added it to some source files, applied patch from John for search&replace, and perhaps other things you will discover by browsing Changelog :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3255 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 15:11:51 +00:00
Jean-Marc Lasgouttes
b8ec942f92 lyxsum/mmap compatibility patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3251 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:11:10 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Lars Gullik Bjønnes
d196f7e852 the mmap patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3137 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 01:11:05 +00:00
Lars Gullik Bjønnes
0543291106 dirlist patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3129 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:18:13 +00:00
André Pönitz
d659612225 reduction of header dependencies, part II (use new types
lyx::layout_type and lyx::textclass_type all ovcer the place)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3117 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 17:12:21 +00:00
André Pönitz
a44aa696dc for a change...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3105 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 15:25:28 +00:00