Commit Graph

181 Commits

Author SHA1 Message Date
John Levon
760e4f4ce6 Edwin's Para MVC. Sorry for the delay !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4365 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 16:40:18 +00:00
Lars Gullik Bjønnes
3005c47180 handle some tmpl files in a more sane way
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4355 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 17:33:05 +00:00
Lars Gullik Bjønnes
c47cfe391b fix compiles with gcc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4352 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 16:49:41 +00:00
Angus Leeming
9548351ef8 Compaq cxx 6.5 will now compile lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 07:57:39 +00:00
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
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
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +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
Angus Leeming
6f2f1d7465 trivial translation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4176 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 12:24:49 +00:00
Lars Gullik Bjønnes
ed8a3124f3 some bib fixes from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4154 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-13 13:23:29 +00:00
Angus Leeming
84480c05b2 Fix bug that I triggered with the sorting of the language names.
Note that this bug was always there, I just had the honour of triggering it!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4107 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 14:43:38 +00:00
Angus Leeming
80309032fd Make variable const and add forgotten ChangeLog entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4106 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 13:15:37 +00:00
Angus Leeming
c2388650ed Internationalise the rotation origin strings in the graphics dialog in the
same manner as has been used already for the language names in a number of
dialogs.
Move repeated copies of the findPos template to xforms_helpers.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4098 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 09:25:51 +00:00
Angus Leeming
acde47d4a0 (John): fix build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4096 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-30 16:12:49 +00:00
Angus Leeming
ac926e5f0a Clean-up yesterday's code-splurge and sort the translated language names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4095 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-30 15:07:03 +00:00
Angus Leeming
b2bef6f65a * Split out getLanguageData from character.[Ch] into its own files,
frnt_lang.[Ch]. Move all these functions into namespace frnt as
namespace charcter doesn't make much sense anymore.
* Associated changes to ControlCharacter and to FormCharacter.
* Use the same approach to internationalise the language names in the document
dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4087 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-29 15:56:36 +00:00
Angus Leeming
93ad5c74f1 Internationalise the language names in the character dialog's combox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4086 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-29 14:26:42 +00:00
Angus Leeming
3b9f84afb3 (Herbert): rather ugly hard-coded fix to hide some graphics formats from the
export menu and from the custom-export dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4085 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-29 09:50:34 +00:00
Angus Leeming
9383796455 WYSIWYM citation labels for sub-standard BibTeX databases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4078 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-26 14:35:04 +00:00
Angus Leeming
d2d18edefc WYSIWYG citation labels when using natbib.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4052 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 10:00:39 +00:00
Angus Leeming
8f5b8ae18a Marco might like this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4030 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 09:30:30 +00:00
Angus Leeming
143f71f691 (Herbert): fix parsing of bibtex entry bug.
(Henry Pfister): also fixes bug in loading bibtex database.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3999 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 09:09:42 +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
3ee9f0ac7d (Herbert): expand the list of recognised graphics formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3989 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:25:11 +00:00
Angus Leeming
b95a56f37a (Herbert): discover the "Bounding Box" of non-(e)ps graphics files, and
use it in the graphics dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3973 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 17:40:44 +00:00
Angus Leeming
4311a01b2c (Adrien): two forgotten _().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3956 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-09 10:02:10 +00:00
Angus Leeming
3e39bef2c1 (John): translate dialog titles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3947 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-08 16:47:50 +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
Angus Leeming
9844394f76 Sigh. Why is debugging iterative?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3907 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-05 09:18:26 +00:00
Angus Leeming
b9a7e87405 Herbert's and my fixes to the graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3906 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-04 14:49:54 +00:00
Angus Leeming
a351157fc6 Squash warning from my compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3835 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 12:12:29 +00:00
Angus Leeming
4f9bed1018 Enable the graphics inset to work correctly with relative file names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3816 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 16:37:52 +00:00
Angus Leeming
b97138d0e8 * Use JMarc's browseRelFiles rather than browseFiles.
* Prevent activation of Ok,Apply in graphics dialog when file is not found
* Partial fix for bug 229. Still need to emit updateParagraph when leaving
  an inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3814 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:24:32 +00:00
Lars Gullik Bjønnes
f7ba7c8e9f ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 21:21:28 +00:00
Angus Leeming
5fd04c3532 John's msg.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3773 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 09:42:52 +00:00
Angus Leeming
b34683e78a Don't test for string::c_str() returning NULL.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3767 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 16:01:33 +00:00
Jean-Marc Lasgouttes
cc96405d1b another bibtex parsing fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3710 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 14:57:40 +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
Lars Gullik Bjønnes
f3f601b0cf ascii export of paragraphs, fix small compile problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3699 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 18:59:07 +00:00
Angus Leeming
e154cde323 Add LString.h to ControlShowFile.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3675 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 12:06:34 +00:00
Angus Leeming
8bfda1f950 Don't call parseBibTeX at all if the info field is from lyx layout
"bibliography" (from Herbert).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3671 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 17:48:21 +00:00
Angus Leeming
1dbd25f40a Fix crash when data.find('=') returns string::npos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3670 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 17:36:22 +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
Lars Gullik Bjønnes
28bba2b47b simper dep. tracking and obj. file compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3579 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 22:04:47 +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
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
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
Jean-Marc Lasgouttes
8e3456ec01 fix weird error message when a command is disabled ; fix switching buffer in xref dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3494 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 15:12:40 +00:00