Commit Graph

272 Commits

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