Commit Graph

311 Commits

Author SHA1 Message Date
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
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
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
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
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
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