Commit Graph

366 Commits

Author SHA1 Message Date
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
9c6e6a958a Generalise Dekel's fix to the "select choice < 1" problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2791 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 10:49:55 +00:00
Dekel Tsur
1981eeb134 Fix crash when using dialog with keyboard:
The problem also happen with other dialogs. For example, open the document
dialog, press alt+p (pagestyle), and press enter -> The pagestyle button
becomes empty. Furthermore, when pressing "Apply", lyx will crash.
I havn't fixed the other dialogs, because I don't know if my fix is good
(maybe there is a simple fix to the problem).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2788 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 18:19:16 +00:00
Jean-Marc Lasgouttes
a10b503e59 document layout, service pack 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2784 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 15:20:17 +00:00
Jean-Marc Lasgouttes
846ea78a7b Juergen class-change patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2779 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 10:41:09 +00:00
Angus Leeming
6bbcb978c5 Set the bounds to the slider, so it updates during a spellchecking session.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2769 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 12:22:08 +00:00
Angus Leeming
59df20fcc6 The redesigned graphics dialog, some tweeks to the preferences and ref
dialogs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2768 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 10:58:35 +00:00
Jürgen Vigna
a2fcf4ed3e Darker background on new banner!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2763 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 10:18:31 +00:00
Angus Leeming
0fa2f8db17 Graphics dialog fixes following Michael's suggestions.
Probably doesn't fix memory access problem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2756 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 12:37:40 +00:00
Angus Leeming
82ed71bfcb Ok, so I'm a donkey! Easy, easy fix to that ol' memory leak. (And it was
suggested days ago by Lars too :-()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2753 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 11:44:07 +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
5fa24cd3b7 J�rgen Spitzm�ller's form_graphics patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2751 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 09:34:39 +00:00
Angus Leeming
a5f0a9f693 Fix uninitialised memory error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2748 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 16:18:22 +00:00
Jean-Marc Lasgouttes
3367b31201 tentative fix to docclass combox problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2741 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:12:22 +00:00
Angus Leeming
228b7a21b8 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2736 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:36:11 +00:00
Angus Leeming
f093fd9b68 Fix spurious warning about a shortcut when the dialog is built.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2734 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:30:47 +00:00
Angus Leeming
10e81341c1 return SMI_VALID on input.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2733 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:29:46 +00:00
Angus Leeming
6a3d139c9e Fix for float dialog bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2728 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 17:27:28 +00:00
Angus Leeming
d75ce75b25 Activate Ok, Apply buttons when altering all widgets appropriately.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2723 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 11:15:33 +00:00
Angus Leeming
e670bed4c5 In the Document dialog, enable the "Author-Year/Numerical" citation choice
only when the "Use natbib" checkbox is active.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2720 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 08:46:30 +00:00
Angus Leeming
7d09d97b56 Revert "fix" to get LyX working again. Sorry for being precipient.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2719 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 14:00:33 +00:00
Angus Leeming
698d6be4e4 Do it right!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2718 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 12:37:00 +00:00
Angus Leeming
5bca243109 J�rgen Spitzm�ller's tweak of the Paragraph dialog.
Finally (?) fix memory leak in Maths Bitmap dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2717 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 12:25:40 +00:00
Lars Gullik Bjønnes
26063b2ef4 fix linking issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2715 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 08:37:25 +00:00
Lars Gullik Bjønnes
4ec0150a46 fix leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2714 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 23:00:05 +00:00
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +00:00
Angus Leeming
ddc4c4ec36 Various small bits n pieces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2712 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 17:55:37 +00:00
Angus Leeming
dfea8a9dad Fix bug:
The "Maths spacing" dialog is broken ("Apply" does not work without former
user change in the dialog)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2709 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 16:12:20 +00:00
Angus Leeming
572b58dfad blah
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2708 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:58:45 +00:00
Jean-Marc Lasgouttes
9359baacf8 bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2707 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:41:36 +00:00
Angus Leeming
ef1a996e2f Bug fix:
If you start LyX and open the Preferences dialog, "Apply" is activated
even though no change has been made so far


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2706 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 14:42:39 +00:00
Angus Leeming
4a5f988d39 J�rgen Spitzm�ller's character dialog patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2705 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 11:53:12 +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
Jean-Marc Lasgouttes
e297ba53fb do not display obsolete layouts in combox + small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2699 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-06 12:42:47 +00:00
Angus Leeming
2bf31f927f Add fl_set_input_return to input_paperoption.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2669 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 17:29:52 +00:00
Angus Leeming
1b0c700cc1 John's paragraph spacing patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2661 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 09:25:09 +00:00
Angus Leeming
4b31235b77 John's patches (except for [PATCH] fix quit etc. from inset about which I
cannot comment).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2650 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-02 11:40:33 +00:00
Dekel Tsur
2806246e1e Few math fonts improvements (use cmr for uppercase greek, support for
\mathbb)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2647 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-31 21:15:57 +00:00
Angus Leeming
592c50de2f Prevent resizing of the citation dialog.
Fix paragraph dialog bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2619 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 16:00:14 +00:00
Angus Leeming
f4c407e4f6 Clean-up of paragraph dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2615 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 12:52:41 +00:00
Angus Leeming
d51710eb3e Add a pre-handler that triggers an input event when text is pasted into
an xforms text input widget.
Use this in the Preamble dialog.

If anybody wants to help add this functionality to the rest of the dialogs
then feel free. Apart from FormPreferences (which has it's own prehandler
already that would need to be modified) there are about 60 text input
widgets that all need the extra code:
	extern "C" int C_CutandPastePH(FL_OBJECT *, int, FL_Coord, FL_Coord,
				       int, void *);

	fl_set_object_prehandler(widget, C_CutandPastePH);

Not too hard, is it?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2613 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 11:01:05 +00:00
Angus Leeming
ccb3cb54e5 Clean fix for Michael's reported bug with the character dialog. Occurred
because build() is called from the controller meaning that minw_ etc
were not reset.

Fix to citation dialog; the style should now remain centred within the frame.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2607 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 13:48:40 +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
1aaf551af0 order the items in the Preferences dialog "logically" so that tabbing through
it makes sense. Closes bug #404569.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2577 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-23 16:19:22 +00:00
Angus Leeming
f921515196 Tentative fix of John's "no point in spell command "None"" bug, #223255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2574 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-23 14:39:18 +00:00
Angus Leeming
9f672b28c4 The BibTeX dialog asymptotes towards perfection!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2573 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-23 09:04:42 +00:00
Angus Leeming
ebc9d76206 Herbert's latest patch + some tweaking to ensure that no
database is stored more than once.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2572 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-22 15:34:39 +00:00
Angus Leeming
15a10c7140 Can't apply a patch cleanly now it seems. Time to go home...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2570 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-21 14:52:50 +00:00
Angus Leeming
a400d98de6 Small fixes to the BibTeX form
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2567 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-21 13:33:25 +00:00
Dekel Tsur
32ef0d04c4 Fix paragraph spacing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2562 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 19:08:46 +00:00