Commit Graph

166 Commits

Author SHA1 Message Date
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
Angus Leeming
25e82b0745 J�rgen's first go at tooltips etc...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3491 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 20:36:12 +00:00
Jean-Marc Lasgouttes
342932ad32 two patches from john
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3479 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 11:30:25 +00:00
Angus Leeming
7c49abda63 A couple of fixes from Herbert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3467 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 09:57:44 +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
Angus Leeming
097595d63c Herbert's fix to bug #222.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3460 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 19:14:09 +00:00
Angus Leeming
f09619a7e8 Herbert's big graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3446 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:26:24 +00:00
Angus Leeming
aa4b2e082b added #include "LString.h" where they belong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3436 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-25 19:07:34 +00:00
Angus Leeming
3b10698f3c remove redundant // -*- C++ -*-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3433 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-25 11:26:40 +00:00
Angus Leeming
8b3b64780f Remove const qualifier from bool return type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3431 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-24 15:49:53 +00:00
Jean-Marc Lasgouttes
d6dd467219 forminclude patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3428 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-21 10:47:19 +00:00
Jean-Marc Lasgouttes
bd31d0cb5c fixes to biblio and insetgraphics from herbert; disable LAYOUT_PARAGRAPH when needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 16:07:42 +00:00
Jean-Marc Lasgouttes
58a522ef71 fix from herbert to biblio parsing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3422 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 21:51:54 +00:00
Jean-Marc Lasgouttes
34e27f8c26 fix bugs 200, 201, 196
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3421 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 20:24:04 +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
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00