Commit Graph

36964 Commits

Author SHA1 Message Date
Angus Leeming
1bb8334771 if we can load direct without conversion, then do that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3618 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 19:55:26 +00:00
Angus Leeming
23a28bf25b Add a missing #include <cstdio> for sscanf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3617 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 19:44:31 +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
eb6a0ad551 Upgrading of my xforms libs showed that lots of files thought they depended
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +00:00
Jean-Marc Lasgouttes
46d5911af1 fix code to detect g++ version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3614 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:30:10 +00:00
Angus Leeming
9dafe9b9a5 Add GraphicsTypes.h to libgraphics_la_SOURCES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3613 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 16:09:35 +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
Jean-Marc Lasgouttes
cfffe11571 new code for max depth; time to recompile your tree :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3611 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 15:07:11 +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
Jean-Marc Lasgouttes
4b07057b7e "ding-dong, the witch is dead!", says John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3609 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:06:24 +00:00
Jean-Marc Lasgouttes
0957efa540 shut off warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3608 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 13:17:37 +00:00
Angus Leeming
77866d9e88 Some more fixes to compiler warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3607 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 13:10:26 +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
Jürgen Vigna
3c599a8c2a Clear selection on PgUp/Down in tabulars (fix #216).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3605 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 12:02:19 +00:00
Angus Leeming
01df791351 More signed/unsigned stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3604 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 11:50:42 +00:00
Angus Leeming
04196c1a6c Properly resolve more warnings about comparison between signed and
between signed and unsigned integer expressions.

Could people please report any further warnings.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3603 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 11:00:48 +00:00
Jean-Marc Lasgouttes
b5fcf8a4b8 next try at fixing 214; dist bugfix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 10:43:24 +00:00
Angus Leeming
0f433cbbf6 White space changes only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3601 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 17:49:10 +00:00
Angus Leeming
f6599f7257 Remove diagnostic message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3600 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 17:42:29 +00:00
Angus Leeming
aa70718501 * Cure the crash that became a memory leak properly.
* Enable the loading of XPM files with crappy color strings. Print
  out a nice friendly message on what's gone wrong and how to resolve
  it properly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3599 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 17:27:59 +00:00
Jean-Marc Lasgouttes
53c6d464f6 turn proof of concept from Juergen into fix for #214
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3598 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 15:19:21 +00:00
Jean-Marc Lasgouttes
6635cee7ce remove redundant code (from Martin)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3597 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 14:02:10 +00:00
Angus Leeming
3b041cc66d Add #include <sys/types.h> // needed for pid_t
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3596 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 12:51:20 +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
Angus Leeming
fcc7529843 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
(Data d-tor): introduce memory leak temporarily, to "fix" a crash
in free_color_table.
(unique_color_string): use the correct string c-tor.

Could a gcc user post me any remaining warning messages?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3594 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 11:43:04 +00:00
Jean-Marc Lasgouttes
bf954a7bc3 patch against infinite depth from Martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3593 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-27 11:36:20 +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
Jürgen Vigna
af8dccce0f Added a insetButtonRelease call returning true as prove of concept (fix #214).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3590 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 16:14:45 +00:00
Jürgen Vigna
74085939ee Fixed wrong update handling after change I leave in the wrong code for the
one who wrote it to remove and have a look what he did wrong (fix #243).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3589 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 15:42:19 +00:00
Jürgen Vigna
0942c39b77 handle font changing stuff when we have a cell selection (fix # 217).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3588 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 15:17:00 +00:00
Jürgen Vigna
529603f179 Force a SELECTION update if we had a selection and we passed the event down to
the inset (fix #213).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3587 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 11:55:31 +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
Jürgen Vigna
635fea0855 Addressing #212 bloat of fileformat for tabulars. More than this I'm not
willing to do on this for 1.2.0. Anyway this reduces TableExamples.lyx from
107kb to 66kb.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3585 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 08:24:48 +00:00
Jürgen Vigna
96c10746aa Fixed by calling edit() before InsetButtonPress on locking the inset for
HIGHLY editable insets (fix #250).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3584 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 14:51:53 +00:00
Jürgen Vigna
82d23e8538 don't add an indent for paragraphs inside tabular cells (fix #208)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3583 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 14:11:32 +00:00
Jürgen Vigna
6953743e22 Fix for #191, setting the cursor to the second paragraph if available if the
first one is empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3582 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 13:25:03 +00:00
José Matox
5539328a35 Long tables fixed in docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3581 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-21 15:55:49 +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
a53810d986 Forgotten ChangeLog entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3577 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 15:36:15 +00:00
Jürgen Vigna
9443f625d8 Fix for #143. Changed handling of Font stuff for ERTInsets so that the
latex fonts are not really set but only displayed on screen. So we fixed
the problem of cut&paste in and out of ERT insets retaining the latex color
and font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 14:55:17 +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
Jürgen Vigna
4a5b7a5952 Don't remove cell selections after fontchange.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3574 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:43:52 +00:00
Jürgen Vigna
c5b947b23c Clear the space around a cells inset also above (Fix for #156).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:31:32 +00:00
Jürgen Vigna
6f673aed8b Try to comment out the seemingly unneeded (and wrong) code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:00:00 +00:00
José Matox
1b85ecfa3d Fix graphics and file inclusion in docbook, with cleaner code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3571 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 09:04:56 +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