Commit Graph

107 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
08b4385454 get rid of LRegex and LSubstring, use boost::regex instead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4206 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-25 00:19:56 +00:00
Jürgen Vigna
20d61473cc Enable compilation with lyxstring again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:39:34 +00:00
Lars Gullik Bjønnes
482c04ecca use more specific smart_ptr headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
Lars Gullik Bjønnes
5296e9e995 change call to shared_ptr::reset, move some using declarations around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4181 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 23:50:36 +00:00
Angus Leeming
520de7ddc6 Herbert-friendly debug comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4124 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 10:51:35 +00:00
Angus Leeming
6928cb4bda Found out! I've been taking Herbert's name in vain.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4120 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 16:55:25 +00:00
Lars Gullik Bjønnes
27290f151b oh well
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4118 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 14:12:44 +00:00
Angus Leeming
5ba23fae32 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4111 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 08:45:22 +00:00
Lars Gullik Bjønnes
bded6fd063 remove return arg from fullRebreak, fix last "Standards", new operaotr>> for lyxstring (might need more work), some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 22:17:09 +00:00
Angus Leeming
9b3f8c9819 Those parts of Herbert's natbib patch that either fix bugs or just move
functions around.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3995 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 12:05:07 +00:00
Angus Leeming
c9265e7ccb (make_tempfile): simplify the #ifdef block by using #if defined and re-write
the #warning as a #error because it's terminal.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3994 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 11:01:19 +00:00
Angus Leeming
dd5e928e9d (Herbert): TGIF graphics should now work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3949 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 16:52:33 +00:00
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