Commit Graph

634 Commits

Author SHA1 Message Date
Angus Leeming
f7c9b1176d Initialise variable before being bitten by a bug report!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3715 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 17:39:58 +00:00
Angus Leeming
2a89557f92 Fix crash by removing unjustified Assert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3714 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 17:31:07 +00:00
Angus Leeming
7cbe56d12e sourcedoc-friendly files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3713 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 17:00:41 +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
Angus Leeming
4fff141501 Give people a rational basis to describe what they dislike about tooltips!!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 09:54:42 +00:00
Jean-Marc Lasgouttes
f27810979c get rid of ejour2; formgraphics tweaks from Juergen S
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3702 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-08 13:53:30 +00:00
Jean-Marc Lasgouttes
7a3f5f9f6f frontends fixes from Juergen S
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3700 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-08 11:05:48 +00:00
Angus Leeming
e2dc77eb6f Tweaking of the math panel dialogs from Martin...
and yes, this counts as bug fixing IMO.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3695 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:24:55 +00:00
Jürgen Vigna
cedd9c91a2 Angus Custom Export patch and removal of unused files from repository.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3688 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 15:06:57 +00:00
Angus Leeming
1ce24386f2 fix memory access bugs in flimage use.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3682 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 09:59:17 +00:00
Angus Leeming
4c263b730e Add an image loader using the xforms library routines and compile it if
your version of the xforms library is good enough.
The qt2 stuff is only partially tested (link problems elsewhere) and
the gnome stuff is not tested at all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3676 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 12:07:23 +00:00
Angus Leeming
828035c7f3 Remove cruft.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3666 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 15:08:22 +00:00
Angus Leeming
0d248253bc Martin's Angstrom patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3655 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 11:10:26 +00:00
Angus Leeming
356caadd6d Move Dialogs::redrawGUI to frontends/Dialogs.C from all those guis.
Move Dialogs::initialiseGraphics to GUIRunTime.
xforms works, qt2 and gnome not tested.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3654 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:51:40 +00:00
Angus Leeming
a4ab05529a Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3653 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 10:40:01 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Angus Leeming
865b605078 Martin's prettification patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3620 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 09:52:49 +00:00
Angus Leeming
00e13a6f56 Move connection of the image loader signals to the frontends.
Small fix to GImageXPM.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3616 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 18:07:15 +00:00
Angus Leeming
a1aa5796c8 Since Jean-Marc is making you all rebuild your trees, now is the time to
add a new static method "initialiseGraphics" to Dialogs.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3612 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 15:37:52 +00:00
Angus Leeming
3026a589b0 John's possible fix to the Bad Window problems that some people have
been experiencing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3610 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:36:23 +00:00
Angus Leeming
58ad553455 Unsigned/signed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3606 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 12:02:50 +00:00
Jean-Marc Lasgouttes
d03f2aab75 compilation fix; small menubar tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3592 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 11:34:20 +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
Jürgen Vigna
0e87319e51 Fixed #207 H.alignment in multicolumn cells was resetted on "Close".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3575 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 14:48:59 +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
cf736d158e Tiny clean-ups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3569 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-19 15:01:58 +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
9e6186e523 Another compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3559 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 10:12:12 +00:00
Angus Leeming
8dd507a10a Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3558 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 10:08:42 +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
9e5716b3d0 Another bugfix from Herbert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3542 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 17:43:53 +00:00
Angus Leeming
e18db30e3c Rob Lahaye's prettification patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3534 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 12:31:16 +00:00
Angus Leeming
956b1497fb Herberts graphics10.diff, part II.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3532 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 18:07:43 +00:00
Jean-Marc Lasgouttes
f7d7339688 two small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3527 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 10:01:52 +00:00
Angus Leeming
1c3b68bf4b J�rgen S's activation of intelligent code rather than my dumb attempt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3524 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 18:57:30 +00:00
Angus Leeming
f2e66a940a John's fix to the minipage dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3523 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 18:43:42 +00:00
Angus Leeming
f4c86428a3 FormExternal patch from Rob,
graphics9 patch from Herbert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3517 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 10:42:11 +00:00
Jean-Marc Lasgouttes
bb9fffb77c popen tweaks; "no 0cm" patch from Herbert; fix disabled toggles in menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3511 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 14:32:17 +00:00
Angus Leeming
21245ae533 Herbert's bugfix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3509 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 10:47:02 +00:00
André Pönitz
def443366e Martin's patch to put \underleftarrow and \underrightarrow in the math panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3506 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:30:09 +00:00
Angus Leeming
98385a16b8 Stabilise the tooltips interface and use it successfully in the Bibtex,
Citation and Texinfo dialogs.

Remove all the horrible #if FL_REVISION < 89 cruft from FormBase and
put it in a little wrapper class Tooltips. For now use the 0.88 code for
all versions of xforms as I can't see an easy way of changing the tooltip
on the fly with fl_set_object_helper.

To use, call setTooltipHandler for each widget, add a choice widget to
the dialog together with 4 lines of code to set/get the level of verbosity.
Finally, and two methods, getMinimalTooltip and getVerboseTooltip to return
the tooltip.

What could be easier? Please try this out.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3496 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 17:15:28 +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
599e49cf7d Framework to select the verbosity of the tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3493 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 12:12:04 +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
Angus Leeming
aeba607310 Herbert's graphic7.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 18:43:28 +00:00
Angus Leeming
a1b36fec35 You want real tooltips too? You got 'em. See the ChangeLog for how to use.
Works with both xforms 0.88 and 0.89.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 17:25:16 +00:00
Angus Leeming
625f8c79ac Provide the framework for really easy feedback messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3486 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 14:59:26 +00:00
Angus Leeming
bcfdd54d46 Yes, yet another patch from Herbert!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 12:19:32 +00:00
Angus Leeming
5f4027ce80 Prohibit resizing of the graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3481 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 17:14:25 +00:00
Angus Leeming
a625b2d27f Herbert's latest "graphic5" patch (with the zippedFile stuff commented out),
his one-line fix to updateWidgetsFromLengthString,
a tiny bug fix of my own.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 15:36:45 +00:00
Angus Leeming
e173216d0a * Add a DEFAULT state to InsetGraphicsParams::DisplayType.
* InsetGraphics::updateInset will interogate lyxrc.display_graphics if
params.display == DEFAULT.
* Ensure that the "default" display is read to and written from file correctly.

Next to do: pass a GraphicsParams struct to the GraphicsCache when adding
an image rather tahn just the filename and use this to decide exactly
how to display the image. Will therefore be able to strip out the
lyxrc stuff from ImageLoader et al.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3476 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 18:53:50 +00:00
Angus Leeming
b5c2e2065f Rename figure-insert.xpm as graphics-insert.xpm.
Martin's tweek of the graphics dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3466 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-31 15:11:23 +00:00
Angus Leeming
27652900a6 Yet another tweak from J�rgen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3463 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 19:36:39 +00:00
Angus Leeming
b0f054d030 J�rgen S's changes to the citation dialog + a few tweaks of my own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3459 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 19:09:25 +00:00
Angus Leeming
d899c547de The graphics part of J�rgen S's latest patch + a few tweaks of my own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3458 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 18:49:41 +00:00
Angus Leeming
e1f75fc571 J�rgen S's patch to the graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3455 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 14:55:27 +00:00
Angus Leeming
c96aa295e8 Fix a small compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3451 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 16:40:07 +00:00
Angus Leeming
e07b31a47d Martin's changes to the space and style dialogs of the math panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3449 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 12:31:24 +00:00
Angus Leeming
b28cf0655f J�rgen S's consistent minipage patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3447 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:38: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
65b6ee4cd3 White space changes only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3445 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 18:42:37 +00:00
Angus Leeming
2167a2f869 Remove code replicating that in the base class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3444 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 18:35:07 +00:00
Angus Leeming
4e627bfe68 Martin's patch to shorten and broaded the AMS relational symbols in the
math panel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3443 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 14:36:39 +00:00
Angus Leeming
39a99375e4 Martin's additional accents in the math panel patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3442 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 14:24:01 +00:00
Angus Leeming
3bbde60e5a Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
redundant code (from me).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3432 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-25 10:21:46 +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
804493f2c4 grey-out comboxes when they are disabled; disable toolbar layout combox when forceDefaultParagraph is true; enlarge a bit the toolbar tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3427 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 23:17:17 +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
Angus Leeming
42bf3b3fc0 Martin's latest mods to the math panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3416 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 12:18:20 +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
24b86e64c0 add configure.m4 to the distribution ; doc.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3408 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 17:16:19 +00:00
Allan Rae
605797c1b4 John's scalable font message and preferences inner_tab rename patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3405 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:53:14 +00:00
Allan Rae
c686dbe87f John's pref.diff minus the bold inner tabfolder in Preferences; ShowMessage() to console if minibuffer unavailable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3401 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 06:43:34 +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
7042b0204c J�rgen S's tabular resize patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3396 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 17:41:36 +00:00
Angus Leeming
fd84082699 J�rgen S's "power user" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 16:34:03 +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
Angus Leeming
16083c82e1 Martin's math panel patches.
John's thesaurus patch.
A patch of my own to clean-up the spellchecker code a little (functionality
not changed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3383 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-15 15:31:19 +00:00
Jean-Marc Lasgouttes
886dab108b compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:48:28 +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
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Angus Leeming
9be41f4c84 Compile fix following this weekend's commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3370 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 12:54:50 +00:00
Angus Leeming
998ddf60e3 Nobody complained so I'm committing my minibuffer completion patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3369 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 12:47:17 +00:00
Lars Gullik Bjønnes
711b3e0c8a spresize.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3366 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 02:28:33 +00:00
Jean-Marc Lasgouttes
5614c0459a fix assert with broken symlinks on buffer-open; fix bug #104 crash with --export with new graphics inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3362 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 23:00:15 +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
ebb331fe59 fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3358 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 17:50:57 +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
Jean-Marc Lasgouttes
8b8741cd5d fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 20:00:47 +00:00
Allan Rae
2c265ad5cc Fix Michael's Purify #1 report
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3344 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 11:59:23 +00:00
Allan Rae
853e3b27af Avoid repeated name in tabfolders
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3343 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 03:08:26 +00:00
Angus Leeming
92b94e2ed3 A std::count fix that got away!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3342 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 18:07:18 +00:00
Angus Leeming
df3128954a Martin's latest math dialog patch using LFUNs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 16:47:03 +00:00
Angus Leeming
5e1253ee88 Revoke change made the other day to make menus appear as bold.
Change variable names in lyxrc and in FormPreferences to reflect the
new meanings, e.g. popup_normal_font, popup_bold_font, popup_font_encoding.
Change preference dialog labels to suit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3329 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 15:14:22 +00:00
Jean-Marc Lasgouttes
a02a2714dc updates to latexfeatures stuff; allow empty \document_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:05:45 +00:00
Angus Leeming
d57d71fc5c Martin's math dialog patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3322 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 14:40:34 +00:00
Jean-Marc Lasgouttes
d719688df3 func_status cleanup from Martin; fix small configure bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3320 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 09:36:35 +00:00
Jürgen Vigna
dde058d322 Update the toolbar if we unlock an inset (or change paragraph).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3317 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 15:32:11 +00:00
Angus Leeming
0801429e9e J�rgen Spitzm�ller's bullet patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3311 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 11:30:34 +00:00
Angus Leeming
13daca767e John's spellchecker patch plus a new helper function getStringFromBrowser.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3309 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 10:05:53 +00:00
Angus Leeming
cbfe82a689 Fix bug #157. See ChangeLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3308 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 18:42:30 +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
8c92c860a2 'a radio control is a radio control is a radio control' patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3300 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 11:28:09 +00:00
Jean-Marc Lasgouttes
61ccd8b8b5 various fixes from John, Martin and Kayvan, plus one of mine. Read ChangeLogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 10:17:44 +00:00
Jürgen Vigna
53cea4fb83 John's Layout Tabular UI improvements and Martins fixes to clearing the
cell around the InsetText inside InsetTabular.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3298 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 09:50:19 +00:00
Jean-Marc Lasgouttes
77aa584347 fix to default units from Juergen S.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3295 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-04 15:14:22 +00:00
André Pönitz
8d5e44685d next try, part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3291 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 18:37:18 +00:00
André Pönitz
0a24eab88f Martin's patches, Part II
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3290 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 16:17:16 +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
Dekel Tsur
3bb41590f2 Allow entering the '|' char.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3274 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-29 17:20:57 +00:00
Lars Gullik Bjønnes
b922cdd796 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* Makefile.am: added the new files to sources, removed layout.C

* layout.C: removed file

* layout.h: remove LYX_DUMMY_LAYOUT

* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.

* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files

* include order changes to a lot of files, also changes because of
the six new files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +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
Jürgen Vigna
feed97be54 Finished new Longtable options support. Please head that the tabular
save format is changed and the version number increased to 3. Please
report all unexpected behaviour.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 14:52:15 +00:00
Jürgen Vigna
ff36293942 More fixes for longtable options, still more to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3253 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 21:25:34 +00:00
Jürgen Vigna
caf1ad7d8d Fixed small problem in InsetText and start for a better tabular layout
(longtable options and better putting the width fields with v.alignment)
This is not finished yet!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3252 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:13:21 +00:00
Lars Gullik Bjønnes
1f4e0de8a2 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3219 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 16:24:12 +00:00
Dekel Tsur
d4b53ea2c9 Use buffer language when inserting error insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3213 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 14:34:17 +00:00
Dekel Tsur
63fa06783e Fix language changing. It was broken by the following change
2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* FormDocument.C (class_apply):
	(paper_apply):
	(language_apply):
	(options_apply):
	(bullets_apply): add a version of these methods taking a
	BufferParams& parameters. The original versions are now wrappers
	around these.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3212 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 14:00:36 +00:00
Jean-Marc Lasgouttes
039a64bb48 undo undo leak fix that leked into the code, toc crash fix from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3208 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 09:16:01 +00:00
Jean-Marc Lasgouttes
b00e1315fe add parOwner to Inset, optimize LyXText::workWidth, fix memory corruption with lots of floats (Ben)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 09:56:03 +00:00
Jean-Marc Lasgouttes
bf18321b43 use LyXLength for tabular pwidth
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3192 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 17:26:52 +00:00
Jean-Marc Lasgouttes
b78b32b554 two patches for search and replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3177 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 12:50:09 +00:00
Jean-Marc Lasgouttes
2ce57e3f40 add labels to </> in searche and replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3175 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 11:18:30 +00:00
Lars Gullik Bjønnes
7e61459c3f apply setlength.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3164 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:18:44 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Allan Rae
e1eb45f5d3 extend John's getLyXText() patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3148 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 05:53:01 +00:00
Allan Rae
5f3773f2b8 John's getLyXText() fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3147 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 05:26:22 +00:00
Jean-Marc Lasgouttes
39eec46bd3 kb3 patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3120 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 13:25:38 +00:00
Jean-Marc Lasgouttes
5d38385eb6 recreation patch from Ben ; page break patch from John ; remove useless examples
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3110 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 11:20:56 +00:00
Jean-Marc Lasgouttes
cb52251ccf form para crash fix from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3102 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 11:04:31 +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
a0a3586e88 Browse... patch from Juergen S
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3057 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-21 17:03:13 +00:00
Jean-Marc Lasgouttes
0b25c68c4b popup fixes from Juergen ; insetgraphics fix from Herbert ; menus fix from Andre ; allow ligature breaks in spellchecker and fix smart quote after protected space (from me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3019 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:47:35 +00:00
Jean-Marc Lasgouttes
f06372807d fix file dialog bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3010 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 16:12:48 +00:00
Jean-Marc Lasgouttes
c9315ef498 FormDocument fixes from Juergen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3007 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 14:28:12 +00:00
Jean-Marc Lasgouttes
fcee90ebd5 two patches from John, and a moving math panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2983 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 11:46:06 +00:00
Jean-Marc Lasgouttes
f38f4b1dee fix the "save defaults" problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2973 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 11:39:58 +00:00
Jean-Marc Lasgouttes
f73a9f37f4 mathed compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2971 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 10:25:05 +00:00
Jean-Marc Lasgouttes
9c4d5b9889 John's completion stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2965 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-05 17:07:23 +00:00
Jürgen Vigna
e3052dc18b Changes to the longtable support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2934 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 15:07:39 +00:00
Angus Leeming
229ddc5929 J�rgen Spitz�ller's patch for the tabular dialog + some tweaking of the
document dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2924 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 11:35:48 +00:00
Angus Leeming
e7739010d4 A small tweak to the preferences dialog, adding RGB and HSV radio buttons
to toggle between the colour spaces. Not yet support for transparent colours
because that's proving to be rather hard!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2920 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:39:01 +00:00
Angus Leeming
59f807a667 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2918 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:14:41 +00:00
Angus Leeming
06abf8895c J�rgen Spitzm�ller's changes to the paragraph and minipage dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2917 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:04:46 +00:00
Angus Leeming
cb5c32cbb0 J�rgen Spitzm�ller's changes to the graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2916 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:03:17 +00:00