Commit Graph

3053 Commits

Author SHA1 Message Date
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
Allan Rae
028020876f variable name changes and comments to clarify what is happening. It really is quite simple.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3568 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-19 03:57:22 +00:00
Allan Rae
51b32d4984 the right fix for the invalid iterators (plural)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3567 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-19 03:16:10 +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
José Matox
834cd64152 Small fixes for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3565 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 17:33:14 +00:00
Jean-Marc Lasgouttes
a393cfc37c fix ru.po typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3564 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 17:15:40 +00:00
André Pönitz
0be51952b9 don't insert space when given \rho<space> ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3563 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 15:14:02 +00:00
Jean-Marc Lasgouttes
5aadf4d849 fix compilation problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3562 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 14:20:02 +00:00
Jean-Marc Lasgouttes
8b52cd1022 update russian translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3561 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 14:19:37 +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
306fc655be Herbert's 4 liner to support grace files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3557 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 09:55:47 +00:00