Commit Graph

62 Commits

Author SHA1 Message Date
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
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
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
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
5997291fc3 Rewrote the maths panel so that ALL the popups now derive from FormBaseBD,
cleaning up the logic in the process. Should now be easy to move to a
controller-view split.
Moved the minw_, minh_ bug-fix into the base class. Can now forget about it!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1793 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-19 15:38:22 +00:00
Jean-Marc Lasgouttes
bff6a87b5e default.ui fix ; compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1792 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-19 15:06:18 +00:00
Jürgen Vigna
3de10d0174 Added Minipage-Dialog, small fix in LyXTabular::l_getline (removing \r).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1787 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 15:15:32 +00:00
Angus Leeming
41a571cabc math panel cleanup. LyX no longer crashes on "Close"ing the math panel, but
still does on exit from LyX if the math panel has been opened.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1786 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 15:00:27 +00:00
Jean-Marc Lasgouttes
a810f13e94 compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1785 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 14:47:48 +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
1a32c26a5e NO_PEXTRA and NO_PEXTRA_REALLY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1780 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 00:09:53 +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
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
Angus Leeming
c9e204f17c Small cleanup, not part of MVC changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1762 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 10:02:36 +00:00
Angus Leeming
9356012089 John's tiny FormGraphics patch and large GUI-I InsetInclude patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1755 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-14 10:57:39 +00:00
Dekel Tsur
01e9bd2f39 Do not put space between multiple keys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1753 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-13 15:03:54 +00:00
Dekel Tsur
068e2cfb25 Remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1747 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-12 16:35:58 +00:00
Angus Leeming
1df761e26d John's splash patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1740 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-12 12:44:56 +00:00
Angus Leeming
6a6bb5a017 John's FormExternal patch, Edwin's Qt2 patch and Baruch's gnome patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1739 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-12 11:22:26 +00:00
Lars Gullik Bjønnes
46ab079b9f some further work on the float lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1734 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-12 01:43:12 +00:00
Lars Gullik Bjønnes
63de5b908f dynamic number of lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1732 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-11 18:39:00 +00:00
Angus Leeming
b66c83b542 Ed's credits patch and Baruch's gnome patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1710 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-08 12:58:40 +00:00
Lars Gullik Bjønnes
916ae4222d remove mem leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1703 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-07 16:18:05 +00:00
Jürgen Vigna
765db1102d Applied John's FileDialog patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1702 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-07 14:25:31 +00:00
Lars Gullik Bjønnes
03d1c984a0 ParagraphParameters and SharedContainer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1691 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 14:07:14 +00:00
Jean-Marc Lasgouttes
e121a69c4a find&replace fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1683 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 11:05:15 +00:00
Jürgen Vigna
f88cee29f6 Edwins f&r GUII patch with a small fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1678 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 10:20:33 +00:00
Angus Leeming
4505b2f7b3 create and use a little setEnabled() xforms wrapper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1676 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-05 19:02:40 +00:00
Dekel Tsur
7edc50d28d Fixed the behaviour of Goto-Ref (?)
Needs to be ported to the other frontends!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1637 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-27 12:46:56 +00:00
Angus Leeming
53675c6ce8 Added character and preamble dialogs to forms/makefile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1633 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-27 12:27:52 +00:00
Lars Gullik Bjønnes
4541e746fe fix combo segfault
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1631 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-27 11:03:25 +00:00
Dekel Tsur
8d704c07b3 Update bookmark #0 after inserting a reference.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1626 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-26 22:12:53 +00:00
Lars Gullik Bjønnes
f65b7ff4ab character2.diff.gz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1625 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-26 15:17:19 +00:00
Dekel Tsur
86dc4696af - Add the option to disable babel for documents whose language is equal to
default_language
- Use \foreignlanguage to locally change the language inside a paragraph


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1617 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-25 10:22:54 +00:00
Angus Leeming
ef88cb6ff0 use size_type rather than int
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1613 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 17:20:28 +00:00
Angus Leeming
2e279fe9c7 John's small fixes to qt2 and xforms + his elegant replacement to FL_TRANSIENT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1612 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 16:19:54 +00:00
Dekel Tsur
9715b1d974 Activate "use geometry" button if using custom paper size/margin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1593 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-21 14:44:46 +00:00
Allan Rae
29d1ff39b5 try this for distinguishing inner and outer tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1592 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-21 14:30:00 +00:00
Lars Gullik Bjønnes
09383c6e55 preamble2.diff.gz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1567 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-20 13:34:05 +00:00
Angus Leeming
7811487b2a moved derivation from noncopyable to DialogBase from FormBase.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1536 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-19 16:46:01 +00:00
Jürgen Vigna
9704a004bd Various fixes to InsetTabular and InsetText + Angus's cleanup patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1535 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-19 16:01:31 +00:00
Angus Leeming
f0c75a909e altering "Text after" now activates the Ok,Apply buttons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1533 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-19 14:01:23 +00:00
Angus Leeming
eb5f9093b4 white-space changes to FormCitation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1525 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 18:50:28 +00:00
Lars Gullik Bjønnes
9a3176581d small cleanup, doxygen, formatting changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 09:25:43 +00:00
Angus Leeming
50be761b25 change ButtonController's trigger_change_ vector to dont_trigger_change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1518 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-15 11:15:31 +00:00
Lars Gullik Bjønnes
4d2e93a02e remove cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1515 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 19:22:41 +00:00
Angus Leeming
99a8f84465 extended ButtonController so that only FL_OBJECT *s in a trigger_change_
vector can actually cause the Ok, Apply buttons to change state on input.
Vector created for FormCitation.

Please test!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1514 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 18:56:38 +00:00
Angus Leeming
5ee7cb857c consistent shortcuts on Cancel (Esc) and Close (Esc & Return) buttons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1503 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 10:30:46 +00:00
Lars Gullik Bjønnes
f6aaac088c formskdepatchthingie
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1486 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-12 14:09:09 +00:00