Commit Graph

268 Commits

Author SHA1 Message Date
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
Lars Gullik Bjønnes
db13427aa7 better dep tracking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3570 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-19 19:45: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
Lars Gullik Bjønnes
edf3fcf8f9 remove the syscall constructor, adjust other code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 18:34:30 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +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
Jean-Marc Lasgouttes
86aa40061e compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3410 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 21:00:58 +00:00
Jean-Marc Lasgouttes
36aa4ee109 finally apply DepTable patch; simplify file browsing in ControlExternal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3398 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 22:17:38 +00:00
Angus Leeming
a61a18e2a0 Add the missing template instatiations!
Apologies to all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3397 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 19:24:23 +00:00
Angus Leeming
2fa5fefbfd #include "LString.h" in the right places. Must be doing something right
because Qt2 compiles, almost out of the box.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3392 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 16:00:14 +00:00
Angus Leeming
ec8da0035d The reducing file dependencies in the frontends patch.
Ok, Ok, I know this touches a lot of files, but the benefits are worth the
huge re-compilation now. Trust me. Would I lie to you?

Actually, this also fixes a bug in ControlInset, so you'd have had to
recompile 31 files anyway. Happy now?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3391 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 14:47:58 +00:00
Jean-Marc Lasgouttes
fb424bae1b fix starting up which binary is really a symlink; make sure insetinclude file browser returns a relative path when this makes sense; straightforward cleanup of the ways to get filename and filepath for a buffer (in preparation of future work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 23:31:23 +00:00
Angus Leeming
de3b5aab16 Resolve virtual function name clashes:
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:10:29 +00:00
Lars Gullik Bjønnes
96e9048c24 bug 183
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3361 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 21:46:50 +00:00
Jean-Marc Lasgouttes
c890dfa0f8 add shortcuts to filedialogs directory buttons; small gnome patch from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3353 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:01:25 +00:00
Lars Gullik Bjønnes
822c8ce430 the aik patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 01:46:33 +00:00
Angus Leeming
9c4446b159 Fix bugs #32 and #52.
Add a couple of isOK() calls to xforms_helpers functions and remove those
FIXMEs!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3307 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 17:57:21 +00:00
Jean-Marc Lasgouttes
1f2b361067 table selection fix from John; Here & wide figures fix from Michael K.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3284 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 13:31:12 +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
aa41b3033b cleanups by john and andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:56:14 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Jean-Marc Lasgouttes
10f697abbe small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3052 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 15:32:11 +00:00
Jean-Marc Lasgouttes
9d0ba3ddf2 cleanups from John and Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:44:48 +00:00
Jean-Marc Lasgouttes
50ddccfe4b fix compilation on freebsd
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2927 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 16:32:16 +00:00
Jürgen Vigna
609734fc46 Fixed spellchecker problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2910 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 21:17:06 +00:00
Angus Leeming
e7cb07258f Remove now redundant declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2884 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 11:59:57 +00:00
Angus Leeming
d7f6dcbd71 Address most (if not all?) of the problems raised by Garst about the
Document->Paper tab.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2881 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 10:28:31 +00:00
Jean-Marc Lasgouttes
ec03124798 fixes to tex-info stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2865 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 08:15:47 +00:00
Angus Leeming
ba61c3aa4c Clean-up of Herbert's Texinfo dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:45:05 +00:00
Angus Leeming
73147465e0 Revert change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2851 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-09 16:28:02 +00:00
Angus Leeming
b31ab56c83 Herbert's TeX Info extravaganza.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2850 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-09 15:20:10 +00:00
Jean-Marc Lasgouttes
53c3269cf5 more tweaks to version_info stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2837 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 15:49:32 +00:00
Angus Leeming
6fa3f87ef0 Fix working of the spellchecker dialog with ispell when there are no
known replacements to an incorrectly spelt word.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2829 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 14:00:46 +00:00
Angus Leeming
5dc77bb072 Fix silly little bug that resulted in only being able to use the
spell checker once.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2811 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 13:10:28 +00:00
Angus Leeming
91777cb3a1 Remove old splash dialog(s).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2807 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 09:45:57 +00:00
Angus Leeming
55a2ce9c09 * Define a new member variable to ControlButtons, emergency_exit_
* Use it to exit gracefully if the speller cannot be launched when
spellchecking.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2801 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-25 14:34:24 +00:00
Angus Leeming
90f609a396 Prettify the names of the buffers displayed in the list of buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2798 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:55:45 +00:00
Angus Leeming
d0fb0834e3 * New xforms helper functions getVectorFromChoice, getVectorFromBrowser
* Used in the citation and reference dialogs to only update the choices and
  browsers when absolutely necessary.

* Renamed the widgets in the reference dialog in standard style.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2797 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:37:24 +00:00
Angus Leeming
a25d7f90ce The reference dialog now disconnects from the inset on Apply. Its behaviour
is now analogous to that of the citation dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2786 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:23:31 +00:00
Angus Leeming
72cc3e1f65 Add "jpg" to list of recognized file extensions (from J�rgen Spitzm�ller).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2760 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 13:46:55 +00:00
Dekel Tsur
1bfe247634 Choose labels from other documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2752 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 09:57:06 +00:00
Angus Leeming
798f00a0a8 Inset dialogs: remain connected to the inset on "Apply" by default, except
for the citation dialog which disconnects. Should be much more intuitive
behaviour again.

Non-inset dialogs (eg preamble): connect() on show, enabling the dialog to
act on an updateBufferDependent signal. Change buffer and the preamble
will update! (rather embarrassed that this bug crept in!)

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2735 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:35:25 +00:00
Angus Leeming
8e92d36142 Fix semantics of Replace in Find & Replace dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2711 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 17:52:50 +00:00
Angus Leeming
5bc3841d41 Rob Lahaye's "iconify dialogs with main window if so desired" patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2703 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 10:11:02 +00:00
Angus Leeming
971f1755d0 Fix for Michael's bug: In the "Character layout"dialog,
set all options to "reset", close the dialog, re-open it ->
the options are set incorrectly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2687 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 16:11:24 +00:00
Angus Leeming
bfc0a34436 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2680 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 10:51:42 +00:00
Angus Leeming
f3562a2398 Distinguish between "Apply" when the dialog should be refreshed afterwards
and "Ok" when it shouldn't.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2679 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 10:50:31 +00:00
Angus Leeming
6da75c9cd8 John's controller patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2605 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 12:24:03 +00:00
Angus Leeming
786cc35da8 John's character.C patch (bug fix).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2604 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 11:57:10 +00:00
Angus Leeming
99915ba16a Tentative fix for the "press Apply multiple times and get multiple new
Insets" problem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2583 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-24 15:49:03 +00:00
Angus Leeming
8ae23e7526 John's recent build.diff patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2582 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-24 14:57:27 +00:00
Angus Leeming
00d24ec876 Herbert's patch, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2556 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 13:39:29 +00:00
Angus Leeming
da44328c30 Remove LATEX_TOGGLE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2517 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-15 17:11:35 +00:00
Angus Leeming
4e4ebe5d4d Fixes to References dialog (read-only status) and to Bibtex bibliography
output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2463 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:08:06 +00:00
Allan Rae
ad6a378c33 remove bogus SUBDIRS and dist-hook entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2458 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 01:35:15 +00:00
Angus Leeming
b155aa1ed5 Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2445 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 16:23:52 +00:00
Jürgen Vigna
3c32875ece Applied Edwins patch, fixes to free memory read in insettext, partial fix
for the width of collapsable insets (more to do).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:07:36 +00:00
Jürgen Vigna
26b1fa7be8 Various update/redraw fixes. Cleaned up InsetERT and added a dialog for
changing between statuses. Save the statuses to file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2425 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 14:55:02 +00:00
Lars Gullik Bjønnes
54e7ddb5d9 get rid of NO_LATEX, split some methods, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2417 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:28:11 +00:00
Lars Gullik Bjønnes
8254b16fd1 more latex conversion cases fixed, patch from Andre, more more funcs to lowercase, some debug output to look at...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2406 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 18:46:53 +00:00
Jürgen Vigna
aae301e9cd Update/cursor and drawing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2405 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 14:55:06 +00:00
Angus Leeming
352730f20b small fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2400 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 15:22:01 +00:00
Angus Leeming
2e5de574e1 * John's maths patch,
* Baruch's second graphics patch,
* A few things to get stuff to compile on my machine --- Lars see the ChangeLog
in controllers; how do you get things to compile without a != operator?
Surely compilation dies in ControlInset, included in ControlFloat,
ControlMinipage.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2389 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 13:35:08 +00:00
Lars Gullik Bjønnes
e952d33e0b insetfloat work + stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2388 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 11:56:00 +00:00
Jean-Marc Lasgouttes
fd836612cb various fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2387 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 10:50:37 +00:00
Asger Ottar Alstrup
b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00
Asger Ottar Alstrup
da76673568 Reduced header file includes somewhat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2385 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 15:34:18 +00:00
Asger Ottar Alstrup
80dda8f6b2 - Applied the thesaurus patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2381 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 10:42:11 +00:00
Angus Leeming
5f2e3c4c43 Baruch's graphics patch + some small tweaks to the buttoncontroller stuff
Kayvan's footnote patch
Added a "Buffer const *" parameter to InsetButton::getScreenLabel and all
daughter classes. Labels can now be tuned to suit, although non are yet.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2375 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-28 12:24:16 +00:00
Jean-Marc Lasgouttes
0563d2e80b math-space; fixes to include inset dialog; autoconfiguration of gfx converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2338 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-25 12:37:43 +00:00
Jürgen Vigna
7c0dad35b3 Implemented Search/Replace functionality for Insets. Cleaned up a bit.
Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2296 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:18:48 +00:00
Jean-Marc Lasgouttes
c4b2613c6b small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2287 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 15:32:13 +00:00
Angus Leeming
50b65ca806 Merge natbib branch into head
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2286 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 14:12:37 +00:00
Jürgen Vigna
2c5ab94d01 Implemented spellchecking inside insets. Small fixes. Baruchs fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 15:39:12 +00:00
Angus Leeming
188ec04f70 Edwin's spellchecker3 patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2261 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 09:00:17 +00:00
Lars Gullik Bjønnes
efe0b0b8eb Dispatch->dispatch, some trans work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:42:57 +00:00
Jürgen Vigna
eb4a3c1005 Forgotten ChangeLog entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2245 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 10:05:52 +00:00
Jürgen Vigna
c4f841c1b2 Added lyxrc-flag to be able to select if I want use pspell or ispell if
pspell support is compiled in. Set shortcut of About-Dialog to ESC-key.
Small fix in InsetText.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2244 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 10:03:38 +00:00
Angus Leeming
0c94bf1d21 Remove Copyright and Credits files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2241 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 15:45:56 +00:00
Angus Leeming
cec0dd19d0 Edwin's "about" patch + consistent use of Lsstream.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2239 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 14:03:48 +00:00
Jean-Marc Lasgouttes
399535ac74 compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2238 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 13:54:14 +00:00
Jürgen Vigna
0f18dddbd6 Edwin's spellchecker GUII patch with some fixes to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2235 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 11:50:39 +00:00
Lars Gullik Bjønnes
6396f9a204 small changes read changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2221 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 11:11:10 +00:00
Lars Gullik Bjønnes
85a5ea7bfc change a lot of methods to begin with small char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Angus Leeming
b8105d810f Clean-up of the button controller.
The Qt frontend now compiles again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2131 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-16 14:48:12 +00:00
Angus Leeming
0e7b7c2125 Add an updateParagraph signal, take the opportunity to make a couple of
cosmetic name changes to existing signals.
updateParagraph signal emitted from BufferView::fitCursor().
Add crude machinery to deal with it in the xforms Paragraph dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2130 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-15 16:18:43 +00:00
Angus Leeming
467323b2b8 Removed // -*- C++ -*- from all .C files!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2121 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 15:11:17 +00:00
Angus Leeming
0c2a3e5960 Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2118 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 14:33:31 +00:00
Angus Leeming
3e22b13963 Once again the user can use the Font button on the toolbar to get the current
contents of the character dialog even if the dialog is hidden.

I think that the functionality of the character dialog/Font button on the
toolbar is now as it was in 1.1.6. Oh, but we now have a working button
controller that the GUI's get for free...

Keep up the bug reports!
Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2114 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 13:44:23 +00:00
Angus Leeming
e8779e6014 Changes needed to activate Character dialog buttons when any field is not
IGNORE.
Also fix crash when Font button on toolbar is pressed and the Character dialog
has not yet been shown for the first time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2106 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-12 13:54:04 +00:00
Lars Gullik Bjønnes
358a19aca8 fix toc bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2102 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-11 17:20:17 +00:00
Lars Gullik Bjønnes
313252eb8b various changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-04 23:57:32 +00:00
Angus Leeming
9b7b1a17fc Modification to ButtonController, so that read-only list of widgets is
not refreshed every time Restore,Apply,Ok,Cancel are pressed. Has the real
advantage that the GUI's can control the widgets more accurately, since the
ButtonController cannot.

Demonstrated with some small change to the Paragraph dialog: enabling the
align buttons is now dependent on the AlignPossible entry in the Layout.

Also apply a small bug fix to getVectorFromString in helper_funcs.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-02 14:53:35 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Angus Leeming
62f5f89bec trivial changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2059 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-29 14:54:25 +00:00
Angus Leeming
113603af15 Fix for Kayvan's reported crash in the preamble. Same, uninitialised
pointer problem as last time. The good news is, I think that's them all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2013 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-18 15:33:34 +00:00
Angus Leeming
54de7b8ed2 Fix crash on printing through the Print dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2007 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-18 08:22:31 +00:00
Angus Leeming
e926eeb39d Two tiny clean-ups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1997 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-14 09:17:26 +00:00
Lars Gullik Bjønnes
52153a589b floatlist work + handle lyxfuncs with args.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-04 10:36:36 +00:00
Angus Leeming
1e651e88d0 Keep LAssert.h in ControlInset.h; revert previous change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1961 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-26 19:00:59 +00:00
Angus Leeming
697a0d48b5 Move included files out of .h files and into .C files. Means that the
GUI-specific views no longer depend on LyXView.h etc, etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1959 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-26 18:40:38 +00:00
Lars Gullik Bjønnes
ec57ed1e96 call message more directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1951 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 17:33:01 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Lars Gullik Bjønnes
3dd3381b2d inherit privately from noncopyable, set c++ mode, swap init order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1928 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:06:11 +00:00
Angus Leeming
3775940eed John's TabularCreate patch. I think I'm now up to date. Have a great Easter!
Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1911 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-11 17:59:08 +00:00
Angus Leeming
aba7831f62 John's VCLog patch + a ChangeLog entry I missed last time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1910 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-11 17:53:45 +00:00
Angus Leeming
87998757a9 John's external material patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1909 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-11 17:14:20 +00:00
Angus Leeming
4e2d777c51 Fixed bugs in getStringFromVector, getVectorFromString
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1907 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-09 10:47:20 +00:00
Jean-Marc Lasgouttes
e59e72d1d1 do not include language.h and gettext.h in lyxfont.h and lyxparagraph.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-05 12:26:41 +00:00
Lars Gullik Bjønnes
6f2999d291 move include files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1893 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-04 21:51:08 +00:00
Angus Leeming
8999098e94 Remove some xforms cruft from BufferView.h BufferView_pimpl.h.
John's name-changing patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1878 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-03 14:30:58 +00:00
Angus Leeming
071d35750a controller-view split for TOC popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1863 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 19:24:28 +00:00
Angus Leeming
79a7f6b162 Squashed bugs in Citation and (I hope) External Material popups. Could
people please check this one more time...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1860 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 13:47:39 +00:00
Angus Leeming
58d99b4a97 * Baruch's GuiBC template.
* Some file (and class) name changes:
	ButtonController.[Ch] to ButtonControllerBase.[Ch]
	BCTemplates.h to ButtonController.h
	ControlBase.[Ch] to ControlButton.[Ch]
* Moved file browsing into the controllers for the Graphics, Include and
Print popups.
* Fixed search bug in Citation popup. Added case sensitive button.
* Implemented controller-view split for External Material popup. Think that
it's now correct, but could you check again, Dekel?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 09:51:46 +00:00
Jürgen Vigna
f284f1c8bc Added %x support in vspace.C (LyXLenght) and use it for the minipages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1853 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 15:00:20 +00:00
Angus Leeming
86de16951b small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1851 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-29 11:24:08 +00:00
Angus Leeming
5e88370300 fix to ControlMinipage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1844 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 13:08:50 +00:00
Angus Leeming
cda84cbcdf Controller-view split of Graphics and Index popups.
Moved Citation and Character helper functions into their own namespaces.
Fixed bugs in Minipage controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1843 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 12:59:29 +00:00
Angus Leeming
c44d76deae Implemented controller-view split for minipage and preamble popups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1838 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 16:03:28 +00:00
Angus Leeming
d553558b19 Implemented controller-view split for Splash screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1836 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 13:00:41 +00:00
Angus Leeming
833bd37843 various minor bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1834 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 10:44:14 +00:00
Angus Leeming
12bfa2bd34 Implemented controller-view split for FormPrint.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1833 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-27 10:43:10 +00:00
Angus Leeming
b63ac8a6c3 Implemented controller-view split for Search popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1829 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 15:25:37 +00:00
Angus Leeming
6ca7a18ad9 Implemented controller-view split for TabularCreate popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1827 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 14:33:58 +00:00
Angus Leeming
3b380bf220 Controller-view split for Ref popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1826 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 13:16:57 +00:00
Angus Leeming
24cc3e5be3 Fixed "can't create new inset" bug. Described dialogs' control loop in
controllers/README.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1825 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 08:14:39 +00:00
Lars Gullik Bjønnes
c5d4a6aa5e add ControlDialogs.h to the sources
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1822 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 23:15:33 +00:00