Commit Graph

767 Commits

Author SHA1 Message Date
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
Angus Leeming
0a8d0c71a3 Don't compile src/frontends/support as LyXImage is now dead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3595 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 12:17:58 +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
e6fe0de052 cleaner ld -r
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 22:57:44 +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
John Levon
6232968e20 fix qt2 build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3556 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 01:44:56 +00:00
Lars Gullik Bjønnes
edf3fcf8f9 remove the syscall constructor, adjust other code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3555 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 18:34:30 +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
59e18b17ae We don't currently use fork anywhere (or if we do it's by mistake!), so
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.

The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait

Paves the way for resurrecting a proper forked calls controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:39:47 +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
Angus Leeming
c238196fb2 Michael Koziarski's gnome patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3516 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 10:22:27 +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
2dd83864e5 Herbert's unzip et al patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 19:37:34 +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
John Levon
832f620398 type can be empty !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3495 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 15:36:29 +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
Edwin Leuven
86cf393198 qt2 frontend compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3492 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 10:58:08 +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
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
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
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
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
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
Edwin Leuven
bb581048a8 first commit new graphics dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3464 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-31 13:15:33 +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