Commit Graph

482 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Angus Leeming
127265cc83 controller-view split for Url popup.
Something has gone wrong with the creation of new insets from the
menu, but this commit squashes a couple of minor bugs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1818 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 18:46:11 +00:00
Angus Leeming
9705be9f1b Implemented controller-view split for FormError and FormInclude.
Cleaned up code in controllers in the process; I think that the interface
is stabilising now.
Cleaned up code in InsetInclude a little.

Mental note (to me?!): the Bibitem, Bibtex and Include insets create an
inset when the appropriate menu item is selected. This is incorrect;
the inset should only be created when "Ok" is pressed, as with the
majority of insets. CREATE_XXX flags and associated code are needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1817 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 17:09:34 +00:00
Angus Leeming
5de19b909e ControlCredits::getCredits returns a stringstream not a vector<string>.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1815 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 16:10:15 +00:00
Jean-Marc Lasgouttes
ce07524d36 fix print bug & compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1813 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 15:16:03 +00:00
Lars Gullik Bjønnes
076298793d add std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1809 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-23 07:50:48 +00:00
Lars Gullik Bjønnes
37fbae1415 fix compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1804 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-22 14:59:29 +00:00
Angus Leeming
8a4455d459 Reorganised, cleaned-up and improved documentation of controllers.
Implemented controller-view split for Copyright and Credits popups.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1803 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-22 11:24:36 +00:00
Lars Gullik Bjønnes
e77bd048ec fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1800 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-21 19:14:09 +00:00
Angus Leeming
a12309c76b Implementation of controller-view split for FormCharacter.
Some small clean-ups of code in frontends/controllers and frontends/xforms.
Added size_type and size() to Languages in language.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1798 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-21 13:27:03 +00:00
Angus Leeming
1e4e0efe0e small fix to ControlCitation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1797 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 12:59:37 +00:00
Angus Leeming
9f29ab3aa5 controller-view split of FormLog and FormVCLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1796 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 10:14:03 +00:00
Angus Leeming
14c60d0aae Implemented controller-view split for FormBibtex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1794 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-19 16:37:01 +00:00
Angus Leeming
524a23ba3a Compile fixes for DEC cxx, John's maths and keymap patches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1783 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 12:08:14 +00:00
Lars Gullik Bjønnes
d4ee9c38b6 remove CXX_WORKING_NAMESPACES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 18:21:56 +00:00
Lars Gullik Bjønnes
a27892b6c8 one small private fix in mathed, put noncopyable and tie into boost namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1774 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 16:04:46 +00:00
Angus Leeming
9c36dd0f40 Merging BRANCH_MVC back into HEAD.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1770 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 13:37:04 +00:00