Commit Graph

15078 Commits

Author SHA1 Message Date
Enrico Forestieri
07c0a6e496 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5489 and at the same time
properly fix bugs 5216 and 5280. The best thing to do would be recognizing
at configure time a buggy iconv and #defining WORKAROUND_ICONV_BUG in
config.h, but I don't know how that could be done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27618 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 10:40:22 +00:00
Pavel Sanda
45624a5864 Since meeting we have new codename :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27617 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 01:38:18 +00:00
Pavel Sanda
96578ef324 Support gcc 4.4. Patch from Martin Michlmayr.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg146271.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:49:47 +00:00
Pavel Sanda
174a4fb8f6 #4430 still not fixed. try better one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:30:28 +00:00
Jean-Marc Lasgouttes
7d561f91a6 implement undo grouping for command sequences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27605 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:26:19 +00:00
Vincent van Ravesteijn
4c1c676e35 Fix some small Tabular UI glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27604 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 11:58:14 +00:00
André Pönitz
6192345f60 add Buffer * member to DocIterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27603 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 11:46:07 +00:00
Jürgen Spitzmüller
90a4256e03 * GuiThesaurus.cpp:
- entry parsing should work for all cases now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 07:15:44 +00:00
Jean-Marc Lasgouttes
c0828f5c52 small spacing bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27599 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:29:11 +00:00
Jean-Marc Lasgouttes
552da336ac Now tex2lyx is able to parse stuff that is in unicodesymbols file, as well
as accents. Time will tell how robust this is.

All support for InsetLatexAccent has been removed.

I did not do the support for \inputencoding yet, because it is more difficult 
to get right...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27596 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:24:56 +00:00
Stefan Schimanski
22808f5265 * compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27595 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:10:26 +00:00
Stefan Schimanski
971f934d1e * fix latex grid output of commit http://www.lyx.org/trac/changeset/27524
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27594 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:07:13 +00:00
Pavel Sanda
b818b2c7ea Try to fix reported RCS bug on Windows.
To setup system temporary directory with spaces in path is genuine idea.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:01:55 +00:00
Jean-Marc Lasgouttes
28f43b1896 Now tex2lyx is able to set the encoding from what it reads in the preamble.
What works:
- parsing of inputenc should work
- \inputencoding is acted on in the preamble

What does not work:
- \inputencoding in the text
- all the corner cases I have not considered, and all buggy stuff in the
  'what works' paragraph
- InsetLatexAccent are still created, but I do not know when they got added
to the code.

The only notable trick in the code is that I had to disable buffering. Otherwise
the whole text was read before I had a chance to change the encoding...

Finally I remove the artificial limitation that forbid
  \usepackage[opt1,opt2]{package1,package2}



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 21:51:18 +00:00
Stefan Schimanski
e66cbe70b6 * fix tab order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 21:45:47 +00:00
Stefan Schimanski
412f520892 * "Goto label" in reference dialog works with master and child documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27590 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 21:28:06 +00:00
Pavel Sanda
ffa48ab035 definitive fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27589 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 20:58:27 +00:00
Jean-Marc Lasgouttes
561802d41e tentative fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 20:38:04 +00:00
Pavel Sanda
75703b4303 another fix for trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27587 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 20:35:27 +00:00
Pavel Sanda
e93cf2410d This breaks elsewhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27584 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 20:17:17 +00:00
Pavel Sanda
2ba7bb0660 gcc fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27582 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 20:00:28 +00:00
Jean-Marc Lasgouttes
40f5f4e12f add support for changing encoding on idocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27579 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:25:26 +00:00
Stefan Schimanski
19b000287f * compile fix for vc++
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27578 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:25:22 +00:00
Jean-Marc Lasgouttes
f481bf03d4 we already have too many defines in config.h...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:22:48 +00:00
André Pönitz
af05d3ffa3 remove unneeded "default language" option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27576 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:22:06 +00:00
Stefan Schimanski
5a10add52e * "Copy as Reference" in the context menu of a label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27575 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:19:07 +00:00
André Pönitz
b56f16c5be compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27574 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:18:43 +00:00
Enrico Forestieri
d2bd215690 Fix for mingw/cygwin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:18:40 +00:00
Jürgen Spitzmüller
df4814e026 Add support for MyThes (i.e., OpenOffice thesauri).
RegExp experts please have a look at the FIXMEs in GuiThesaurus.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 18:48:25 +00:00
Stephan Witt
86618e2650 fix broken latex output range checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27571 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 18:14:14 +00:00
Vincent van Ravesteijn
84a186ebf6 Make sure the selection painting is updated after LFUN_UP or LFUN_DOWN. See http://thread.gmane.org/gmane.editors.lyx.devel/113428
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27567 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 18:03:52 +00:00
André Pönitz
32a53f8d6a move more stuff from buffer_func to Buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27565 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 17:49:00 +00:00
Stefan Schimanski
ac14102b79 * complete-accept directly completes if the completion is unique
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27564 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 17:02:40 +00:00
Jean-Marc Lasgouttes
337c6d1577 First serious step for utf8 file format format. tex2lyx is now able to
read utf8 tex documents and translate them to lyxformat 249.

There is still no code to discover the encoding and use it, but it is the
easiest part (I hope).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27563 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 17:02:00 +00:00
André Pönitz
f8f5a7b28d move updateLables to buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 16:43:49 +00:00
Stefan Schimanski
f54ef5c173 * open popup on complete-accept if there is a completion available
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27561 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 16:34:16 +00:00
André Pönitz
ad4f5eec6c even less framing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 15:32:11 +00:00
André Pönitz
cc0bdcc36f add qt include paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 15:23:57 +00:00
Stephan Witt
bb54a2be93 introduce new converter variable $$d to pass output directory pathname to converter programs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 15:07:51 +00:00
André Pönitz
ae7a262a78 less negated logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27553 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 14:57:03 +00:00
Stephan Witt
2b30ed58ef enable LFUN_MATH_NUMBER_LINE_TOGGLE when display() is not inline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27552 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 14:55:30 +00:00
André Pönitz
be16d48d5d remove mourning border from workarea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27551 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 14:36:55 +00:00
Jean-Marc Lasgouttes
7d9a6e19fd forgot to move one file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27550 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 14:27:01 +00:00
Jean-Marc Lasgouttes
970911abe6 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27547 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 13:57:21 +00:00
André Pönitz
9a9528e86f cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27543 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 13:48:30 +00:00
Pavel Sanda
03cc2c2f13 Add some hook for the next rc2rc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 13:27:00 +00:00
André Pönitz
f0a970a86e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27534 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:53:49 +00:00
André Pönitz
8e366b1cab remove spellchecker command and flag telling us whether to use a process or a
library.

Somebody schould create a rc2rc script...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:22:54 +00:00
Jean-Marc Lasgouttes
0778007050 rename [io]docfstream to [io]fdocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:21:29 +00:00
Stephan Witt
5981bea68d use correct type of variable in appendString change tracking loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27529 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:08:29 +00:00
Jean-Marc Lasgouttes
9b9b14506d revert r27520 (tr1 stuff)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 11:51:42 +00:00
Pavel Sanda
f300e38290 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27527 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 11:37:30 +00:00
Abdelrazak Younes
deef2728c7 The rest of Tommaso patch with some cleanups. Not very clean still but at least it compiles!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 01:20:34 +00:00
Abdelrazak Younes
f000a62b0d part 7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 00:18:52 +00:00
Abdelrazak Younes
3091b7f284 Tommaso patch part 6, FindAndReplace not compiled yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 00:15:51 +00:00
Abdelrazak Younes
4209cbc631 Tommaso patch, part 5, lots of thing to cleanup still but I'll do that afterwards.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27521 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 00:12:21 +00:00
André Pönitz
a287184d72 try using std::tr1::shared_ptr instead of boost::shared_ptr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27520 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 00:01:41 +00:00
Abdelrazak Younes
82d4f023a5 oups...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27518 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 23:57:35 +00:00
Abdelrazak Younes
1c893f2177 Tommaso patch part 3 (or maybe 4...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 23:40:54 +00:00
Abdelrazak Younes
c5e56fea32 First part of Tommaso advanced search patch. Only the backend function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27514 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 23:30:27 +00:00
Abdelrazak Younes
f2202da44b compil fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27512 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 23:18:42 +00:00
Abdelrazak Younes
e55abfd359 gcc warning...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27509 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 23:04:43 +00:00
Abdelrazak Younes
0933ba6880 cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 22:58:19 +00:00
Abdelrazak Younes
0685dfef74 Some cosmetic changes so that GuiWorkArea can be embeddable in a Qt designer dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 22:34:52 +00:00
André Pönitz
97707102da fix #4430 . initial size of the "view source" window can shrunk now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 21:55:17 +00:00
Abdelrazak Younes
57d4b76493 gcc warning fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27492 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 21:21:04 +00:00
Jean-Marc Lasgouttes
bb04efd5a8 Now the document is not parsed at the beginning anymore.
Instead, new token are read when requested. The idea from now is
to be able to chenge encoding on the fly.

Now it is time to see whether idocstream actually works...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 20:30:45 +00:00
Jean-Marc Lasgouttes
86438200b0 real compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27486 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 20:06:06 +00:00
André Pönitz
e581e4868f make it acceptable for 4.2wq
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27483 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 19:44:27 +00:00
Jean-Marc Lasgouttes
ffafdb2bbe move the catInit call around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27481 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 19:30:58 +00:00
André Pönitz
8f081b1e74 remove ISpell and PSpell support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 19:06:17 +00:00
Abdelrazak Younes
7264a4a60c gcc warning fix, please verify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27474 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:54:39 +00:00
André Pönitz
8e2f971ada remove ispell and pspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:47:25 +00:00
Stefan Schimanski
e2f312f8f0 * save one redraw on each change of the scrollbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27471 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:17:20 +00:00
André Pönitz
bb12808b20 remove libtool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:45:55 +00:00
André Pönitz
937de4d880 fix constness of string literals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:40:05 +00:00
Stefan Schimanski
481aff5aff * notifyCursorEnters called on insets when the cursor entered
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27465 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:11:01 +00:00
Pavel Sanda
25079068ea Fix fullscreen & settings dialog. Very annoying one.
http://bugzilla.lyx.org/show_bug.cgi?id=5274


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27460 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:33:02 +00:00
Stefan Schimanski
f9f5c3baa5 * proper mechanism to dispatch FuncRequests delayed, i.e. when the event loop is idle again
* fixes http://bugzilla.lyx.org/show_bug.cgi?id=5447

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27459 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:29:58 +00:00
Jean-Marc Lasgouttes
e4c9689906 forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27458 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 15:14:44 +00:00
Jean-Marc Lasgouttes
6419342fbf let Parser store the stream it is working on
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27457 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 15:09:59 +00:00
Jean-Marc Lasgouttes
fa3ea10057 break parser::tokenize in parts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27454 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 14:38:27 +00:00
Jean-Marc Lasgouttes
0aaed41dd7 rename man page
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27453 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 14:36:52 +00:00
Pavel Sanda
1f145abeb8 remove unwanted commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 14:13:14 +00:00
Abdelrazak Younes
ee3be72735 forgot this;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27451 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:59:42 +00:00
Abdelrazak Younes
fb41750883 gcc warning fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27449 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:56:39 +00:00
Abdelrazak Younes
b879aa5ade gcc warning fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27448 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:52:15 +00:00
Jean-Marc Lasgouttes
357a148282 remove stuff that was actually relevant to reLyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27445 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:20:33 +00:00
Jean-Marc Lasgouttes
3caf85d510 and this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:11:44 +00:00
Jean-Marc Lasgouttes
c8b2234f39 move test files in their own directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:04:15 +00:00
Abdelrazak Younes
6b6d80212b remove unneeded header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27441 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 12:55:40 +00:00
André Pönitz
1516e79855 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27440 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 12:44:11 +00:00
Jean-Marc Lasgouttes
363d5e2d36 remove unused method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27438 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 11:46:05 +00:00
Jürgen Spitzmüller
16fee5c01d * InsetMathHull (eolString):
- revert rev. 27412. This is more complicated.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27437 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 11:04:35 +00:00
Pavel Sanda
44895b7c0d comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27430 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:39:15 +00:00
André Pönitz
95cd89f6d6 revert accidental change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27428 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:33:15 +00:00
Abdelrazak Younes
1c211e6473 lyxbreaker: don't crash in release mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27427 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:30:31 +00:00
André Pönitz
7ffa606290 introduce unneeded whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27426 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:16:45 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
André Pönitz
baa22609da latin1->utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27424 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:29:47 +00:00
André Pönitz
1fc477efac thrid attempt at changing the naming pattern of the intermediated 'mocced' files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27420 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 14:28:50 +00:00
Jürgen Spitzmüller
c8ecd8d24a * InsetMathHull (eolString):
- Properly escape non-ASCII characters in equation labels (bug 5512).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 10:05:07 +00:00
Jürgen Spitzmüller
233d7958a3 * Paragraph.cpp: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27404 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 20:24:08 +00:00
Jürgen Spitzmüller
3cc2dda65e * InsetLabel.cpp:
- no duplicate check for unchanged parameters (bug 5496).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 18:51:36 +00:00
Abdelrazak Younes
7e6af45b0d Fix http://bugzilla.lyx.org/show_bug.cgi?id=5491 without reintroducing http://bugzilla.lyx.org/show_bug.cgi?id=5409 . The first part of r27162 was enough for fixing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:28:44 +00:00
Abdelrazak Younes
c8c3487036 MSVC/Cmake compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:22:42 +00:00
Richard Heck
b83564d82c Inset::textString --> Inset::tocString
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-10 22:45:14 +00:00
Enrico Forestieri
3fe8463ddf Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5467
(too much C++, I presume :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-08 23:44:43 +00:00
José Matox
bd64e75489 Fix bug 5411
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:17:35 +00:00
Jean-Marc Lasgouttes
4804b60f1c do not show Index contents in ToC (note that Inset::textString is only for this use)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27326 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 13:06:20 +00:00
Richard Heck
c573ab4976 Fix final default-module-related bug reported by Philippe. The comments
in the code should explain what the problem was.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27313 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-06 14:59:14 +00:00
Richard Heck
3ac4460c07 Forgot to change this line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27282 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:46:22 +00:00
Richard Heck
362d6e468f This patch fixes a set of bugs reported by Philippe relating to excluded
and default modules. The lesson, in the end, is that we need to do all the
removal of modules that no longer `fit', for whatever reason, before we
do anything else. So the patch basically just moves the `removal' code
into a new routine that gets called before the routines that add default
modules and then check consistency.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:42:16 +00:00
Richard Heck
5e45cd4c44 Revert the last few patches. I'll commit a more general fix all at once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27280 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:32:37 +00:00
Richard Heck
3a9a0fc3e6 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27279 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:15:09 +00:00
Richard Heck
c94d0da408 More fixes for bugs noticed by Philippe.
We want to do all the excluding before we do any of the adding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27278 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:13:25 +00:00
Richard Heck
df475c2002 Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27277 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:07:52 +00:00
Richard Heck
b0035f07b1 Fix bug reported by Philippe relating to excluded modules: Excluded
modules need to be removed before anything else is done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:01:59 +00:00
Jürgen Spitzmüller
b65ef30b34 * GuiDocument.cpp (formatStrVec):
- module names can have non-ASCII chars.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:37:47 +00:00
Enrico Forestieri
5ec13cc15b Correct include dir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27273 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:25:24 +00:00
Jean-Marc Lasgouttes
4e2c8c4f9b Make sure that the contents of the inset uses the buffer language (in order to
avoid the ugly blue line).

Fixes part of http://bugzilla.lyx.org/show_bug.cgi?id=5348


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27267 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 16:40:18 +00:00
Jean-Marc Lasgouttes
0e2ded8161 Fix bug 5407
http://bugzilla.lyx.org/show_bug.cgi?id=5407

This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 15:35:02 +00:00
Stefan Schimanski
def9ca797c * style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27265 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:07:42 +00:00
Stefan Schimanski
5d9b126c96 * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5387
Gui is not setup yet when the file is opened from clicking on it in Finder
  with a closed LyX. We have to wait until the batch commands are executed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:04:37 +00:00
Pavel Sanda
1b7ef75ccb Update headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 22:32:06 +00:00
Jürgen Spitzmüller
05a3f9b3f9 * GuiDocument.cpp:
* add some unicode FIXMEs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:44:02 +00:00
Jürgen Spitzmüller
006f5683e0 * GuiDocument.cpp:
* module names and descriptions might contain non-ASCII chars, so
	  we must use translateIfPossible instead of the native _().
	  Alas, some manual conversion is necessary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:38:37 +00:00
Richard Heck
727f4b2ee8 Thinko. Fixes bug reported by Philippe Charpentier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27246 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 14:37:53 +00:00
Jürgen Spitzmüller
9d2f8a4c34 * GuiCitation.cpp:
- set initial focus (bug 5448).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 07:27:02 +00:00
Enrico Forestieri
0681cb4e60 Fixbug 5280
http://bugzilla.lyx.org/show_bug.cgi?id=5280


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27244 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 22:59:07 +00:00
Enrico Forestieri
33f0bb6ac3 Fix bug 5216
http://bugzilla.lyx.org/show_bug.cgi?id=5216


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27243 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 22:57:51 +00:00
Jürgen Spitzmüller
a73c6c72dc * InsetInfo.cpp (toolTip):
- use bformat for proper syntactic translatability
	  (the tooltips of this inset look rather weird in generals, though).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27242 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 17:36:28 +00:00
Jean-Marc Lasgouttes
84395acfb5 * insets/InsetText.cpp (addToToc):
* TocBackend.cpp (updateItem): pass option AS_STR_INSETS to asString,
	so that insets get a chance to be displayed in ToC.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27238 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:47:12 +00:00
Jürgen Spitzmüller
043c362dab * output_latex.cpp:
- slightly change FIXME comment. This only applies to the newly added condition.
	  The other conditions should be left untouched, even if we find a way to access the TeXRow.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:43:33 +00:00
Richard Heck
ff9d8584f9 Fix bug 5436, at least for the time being.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:07:30 +00:00
Jean-Marc Lasgouttes
7356fcd2cf Fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5339
* InsetInfo.cpp (updateInfo): insert the text using inherit_font
	so that there is not an extra \textsf output to LaTeX; change
	"shortcut" to display the first shortcut, not the last (if only
	to be consistent with menus).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27234 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 11:12:52 +00:00
Jean-Marc Lasgouttes
7f61a18d2b Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5421
* GuiKeySymbol.cpp (print): when asked for Portable representation of
	KeySequences, qt outputs Ctrl+x instead of Command-x. Therefore, we 
	we do it by hand.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:55:50 +00:00
Jean-Marc Lasgouttes
247113c819 revert r27209 (for real)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27231 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:08:01 +00:00
Jean-Marc Lasgouttes
e4dea6c076 oops! r27229 was wrong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:03:01 +00:00
Jean-Marc Lasgouttes
24ac7258c5 revert r27209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27229 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:59:03 +00:00
Stefan Schimanski
97740523fe * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5396
On Mac clicking on a LyX file in Finder might open another GuiView which is
  asked to open the file. The reload logic though closes this and the dispatcher
  will run into a current_view_ which is null (until the other GuiView gets the
  focus again).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:25:59 +00:00
Stefan Schimanski
4040382f46 * fix for r27091: draw the newly created pixmap. The reordering of the code has removed this case. So much about trivial program transformation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 07:40:18 +00:00
Jürgen Spitzmüller
10e05161fb * InsetWrap (updateLabels):
- use master buffer if necessary (fixes bug 5431).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27226 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-02 16:49:48 +00:00
Dov Feldstern
13cf13c690 fix a bug in visual cursor movement
The setting of boundary need to take the paragraph's direction (LTR/RTL) into
account.

This bug was discovered by Vincent, while trying to solve bug #5061.

While this fixes the original manifestation of bug #5061, it doesn't really
solve the underlying issue, which is that on a boundary, after typing
Ctrl-Enter, the cursor is painted on the same line as the newline symbol
rather than on the new line. See bugzilla for further discussion of this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27225 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-01 17:00:58 +00:00
Richard Heck
fe25e93e92 Whoops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27222 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-01 14:45:39 +00:00
Richard Heck
87dbdca653 Add some constness and remove some useless code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27220 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 23:32:52 +00:00
Edwin Leuven
864fd8d7de fix broken layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27219 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 18:21:46 +00:00
Richard Heck
3f4cab9808 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27218 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 16:41:52 +00:00
Richard Heck
bd9cdad48f Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27217 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:37:34 +00:00
Richard Heck
ae9ef7c30f If we're doing this test elsewhere, we should also do it here.
(All of these commits, by the way, are just stuff I'm stumbling
across while trying to deal with the newline bug.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:36:08 +00:00
Richard Heck
ce379265a6 Some FIXMEs for later, and a little constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27215 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:33:48 +00:00
Enrico Forestieri
28fe97b553 Avoid creating bad math insets with Ctrl+M
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27214 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:19:39 +00:00
Richard Heck
fa4801bdc9 This was the wrong check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27213 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 14:58:53 +00:00
Richard Heck
262ca78599 A (very) little constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27212 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 14:53:49 +00:00
Richard Heck
2ace7ba9e6 Fix doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27211 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 14:13:44 +00:00
Jean-Marc Lasgouttes
d8265b90fe make sure that exported tex files are "nice" even in literate format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27209 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 13:53:58 +00:00
Jean-Marc Lasgouttes
adf48d1f51 Fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5421
Make InsetInfo shortcuts use Portable representation of KeySequence.

	* KeyMap.cpp (printBindings): add format parameter

	* LyXFunc.cpp (sendDispatchMessage):
	* insets/InsetInfo.cpp (updateInfo): adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27208 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 11:19:16 +00:00
Jean-Marc Lasgouttes
53fdda3e7a fix crash when filtering layout combox with non-ascii character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 09:26:59 +00:00
Uwe Stöhr
e47d4dee70 output_latex.cpp: revert last commit as it is too risky so short before the release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27206 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 01:26:11 +00:00
Uwe Stöhr
1a4e481111 output_latex.cpp: fix regression, reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145738.html
I tested it carefully but in case this makes problems, please revert this immediately.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27205 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 23:19:21 +00:00
Pavel Sanda
de7c7ea360 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5430 .
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145723.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27197 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 13:47:41 +00:00
Richard Heck
76c074f19a Fix for 5429 from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 11:49:18 +00:00
Abdelrazak Younes
84eec959c5 Revert 27186 which fixed an invalid bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27189 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 15:33:52 +00:00
Jean-Marc Lasgouttes
da83b636ea when showing full source, do not define \input@path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27188 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 14:04:10 +00:00
Jean-Marc Lasgouttes
673c2a3ec5 remove obsolete workaround
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27187 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 13:42:09 +00:00
Abdelrazak Younes
8939303131 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5392
The problem is that, for an unknown reason, an InsetMathHull is used *inside* an InsetMathHull. This is the reason why we have two levels of instant preview. I don't know if that was intended.

When moving the cursor, only the doDispatch() of the enclosing InsetMathHull is
called, not the inner one; so we don't have a chance to detect that the inner InsetMathHull should leave its preview mode.

The new leavePreview() method ensures that the screen will be redrawn if needed with cursor movement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27186 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 09:24:54 +00:00
Abdelrazak Younes
46b4a8428b Style, const access and small optimizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27185 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 08:03:26 +00:00
Abdelrazak Younes
db062da6cb revert hazardous part of r26957 and add a comment, take 3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 18:00:21 +00:00
Abdelrazak Younes
2f3fcfcb66 revert hazardous part of r26957 and add a comment, take 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27170 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 17:55:00 +00:00
Abdelrazak Younes
070d75f1c6 revert hazardous part of r26957 and add a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 17:51:08 +00:00
Abdelrazak Younes
bc79c203a9 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5423
This regression was introduced by at r26957, sorry about that.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27168 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 17:41:56 +00:00
Richard Heck
4fb3e609d0 A little const'ness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 16:02:33 +00:00
Richard Heck
f7acec3bdc From Vincent:
> Hi all, 
> > 
> > A. 
> > 1. create a new document (doc1),
> > 2. insert a label,
> > 3. insert a cross-ref
> > 4. create a new document (doc2)
> > 5. insert a cross-ref (in doc2)
> > then the labels in the cross-ref dialog are those from doc1.
> > 

This is solved by the attached patch.

We should not restore the last used buffer if the active buffer has
changed. Especially not when you cannot choose the buffer which is now
still the case.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 15:38:28 +00:00
Richard Heck
f771d9a994 This is a conservative fix for the layout setting bug discussed in
this thread:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145547.html
The more dramatic fix suggested there can wait.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27164 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 14:11:24 +00:00
Abdelrazak Younes
0b0f0942c0 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5409
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27162 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 06:46:27 +00:00
Enrico Forestieri
b92e30fbdd Remove dead code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 23:09:08 +00:00
Pavel Sanda
194f14bf65 Fix the worst part of http://bugzilla.lyx.org/show_bug.cgi?id=5409 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27153 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 14:54:53 +00:00
Jean-Marc Lasgouttes
a47deb4897 fix warning and reindent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 10:36:38 +00:00
Stefan Schimanski
09399b45f7 * Trivial fix to set the icon size to normal, not 32 as Qt sets it by default on Mac (fixes #5388)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 09:06:50 +00:00
Pavel Sanda
c697f9f6b9 Small glitch in RCS registering procedure, useless parse of wrong file (part of 5389).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 01:06:24 +00:00
Pavel Sanda
232564ed12 Change debug message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 00:27:31 +00:00
Enrico Forestieri
cb2933147c The LaTeX control space "\ " is a special char, too. In mathed, it should
be represented on screen as a visible space rather than as an empty macro.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 18:32:25 +00:00
Richard Heck
6b0e349980 Revert r27129. We can't get rid of these until we have something else positive to do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 16:05:19 +00:00
Jürgen Spitzmüller
57e1ab3e63 * GuiDocument.cpp (less_textclass_avail_desc):
- fix bug 5410 (use translateIfPossible() instead of _() for strings that come from
	  layout files).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 09:48:11 +00:00
Richard Heck
d6f1915684 This optional argument to the InsetCollapsable constructor
is more trouble than it is worth.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27131 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:25:57 +00:00
Richard Heck
2e81620979 The last commit was, uhh, not what I intended.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27129 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:14:30 +00:00
Richard Heck
9e3b4803fe The two lines deleted here attempt to call virtual functions from a constructor. They have no effect, basically. Patch that does what these try to do forthcoming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27125 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 01:18:26 +00:00
Richard Heck
e275289600 Line length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27113 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 15:41:39 +00:00
Richard Heck
90d118cf56 Fixme comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27112 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 15:25:46 +00:00
Richard Heck
fec782342f At least partially fix problem noted by Vincent. We were being over-agressive
with the fix at r26163.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27111 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 15:10:54 +00:00
Richard Heck
976a59af1b Fix another part of 5403, again to do with case sensitivity.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27109 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 14:02:25 +00:00
Richard Heck
53252839ea Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27105 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:41:02 +00:00
Richard Heck
70d5f953c9 Fix for another part of 5403, and related bugs, anyway. The InsetLayout
tags should not be so case-dependent, and we ought to use an Enum instead.
of relying upon string comparisons.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:32:54 +00:00
Abdelrazak Younes
05168225c4 bug fix from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27103 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:27:53 +00:00
Richard Heck
1104cd200c Fix from Vincent for citation display issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27102 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:26:30 +00:00
Richard Heck
bdc1d80151 More general fix for part of 5403.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 12:49:49 +00:00
Pavel Sanda
e4808961c9 Another selection painting patch, PainterInfo::backgroundColor introduced.
Patch by Vincent.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145438.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27097 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 10:47:38 +00:00
Uwe Stöhr
bed3844f30 InsetLayout.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5403
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27095 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 01:55:55 +00:00
Uwe Stöhr
b18251d61b LayoutFile.cpp: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 00:01:36 +00:00
Uwe Stöhr
fea9fef1dc Text3.cpp: comment by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27092 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 23:09:27 +00:00
Stefan Schimanski
d51c31ca85 * complete fix for #5327: switch back to normal drawing code if the cache
pixmap would have non-positive width or height.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27091 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 22:49:17 +00:00
Uwe Stöhr
2a69828508 Text3.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5166, patch by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27090 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 20:56:38 +00:00
Pavel Sanda
b309ee82a0 Fix bug 5399.
Patch from Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 16:59:11 +00:00
Jean-Marc Lasgouttes
754ead5010 Fix bug 5310: http://bugzilla.lyx.org/show_bug.cgi?id=5310
* BufferView.cpp (dispatch): make sure to repaint the document after
	jumping to a new change.
	* lyxfind.cpp (findNextChange): do not ignore the last character when 
	a change extends to the end of an inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27083 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 15:46:44 +00:00
Abdelrazak Younes
de94db1bcb Attenuate bug 4346 impact: crash -> assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27079 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 08:49:31 +00:00
Pavel Sanda
bdd405d70d * doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27072 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 23:09:44 +00:00
Stefan Schimanski
0334876ca6 * temporary fix for the crash of the pixmap cache on Mac with Qt 4.4.
A better patch will follow soon, but this should go in for rc4.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27065 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:47:11 +00:00
Stefan Schimanski
e8d264e998 * don't rely on the restartCursor call to update the dialog on fullscreen switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:46:53 +00:00
Stefan Schimanski
df79293cc1 * fix fullscreen TOC switching between dock and drawer mode on Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27063 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:46:03 +00:00
Enrico Forestieri
62530e98e0 Get rid of superfluous conversions and else statement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27062 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 19:30:51 +00:00
Jean-Marc Lasgouttes
0790ad1b72 fix bug 5349: properly quote InsetInfo argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27055 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 13:12:19 +00:00
Jean-Marc Lasgouttes
78cd051f4a Revert r27051 because:
(1) I do not owe pavel a beer

(2) I removed the assert in isLoaded instead

(3) this fix is wrong anyway since there are other calls to this method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:35:20 +00:00
Jean-Marc Lasgouttes
536f1d4878 remove useless assertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27052 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:25:52 +00:00
Richard Heck
ba396d2966 Fix suggested by Abdel. JMarc owes Pavel a beer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27051 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:21:12 +00:00
Jean-Marc Lasgouttes
616d27a377 clean-up other uses of buffer in LyXFunc::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27047 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 07:08:12 +00:00
Jean-Marc Lasgouttes
9c0f812e8d make sure in LyXFunc::dispatch that we handle undo groups and undo flags on the right buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27046 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 06:59:31 +00:00
Enrico Forestieri
7d4ec3f944 Fix bug 5393
http://bugzilla.lyx.org/show_bug.cgi?id=5393


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27044 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:48:06 +00:00
Enrico Forestieri
bcf3db2dd5 Initialize return variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27043 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:39:13 +00:00
Richard Heck
9dfac74265 This patch introduces ProvidesModule and ExcludesModule layout tags.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145129.html.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:27:03 +00:00
Stefan Schimanski
82e603cf0c * create a new window for a help file if there is none
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27024 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:15:09 +00:00
Stefan Schimanski
90ea041ada * create global Mac menu just before filling it (fixes #5217)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27023 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:14:30 +00:00
Stefan Schimanski
eb80fcdf69 * fix crashing special menu items on Mac after preferences have been changed.
* fix duplicated special menu items in Mac (fixed bug #5168)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27022 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:02:09 +00:00
Enrico Forestieri
946287b882 Fix bug 5263
http://bugzilla.lyx.org/show_bug.cgi?id=5263


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27020 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 09:11:42 +00:00
Jean-Marc Lasgouttes
ee81b844d3 remove useless comments in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27016 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 21:27:12 +00:00
Jürgen Spitzmüller
9c432a9935 * output_latex.cpp:
- fix CJK nesting in child documents (bug 5358).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27014 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 17:03:49 +00:00
Stefan Schimanski
c8f87b06fb * Added Uwe's comment and a word about \global
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27013 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 15:44:15 +00:00
Jean-Marc Lasgouttes
a9e54b7ece inset-edit should not make a buffer dirty (it edits the external files used by the inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27012 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 13:24:22 +00:00
Stefan Schimanski
5baf9d3f20 * use \long for \def macros (fixes http://bugzilla.lyx.org/show_bug.cgi?id=5371, patch due to Uwe)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27011 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 13:04:22 +00:00
Edwin Leuven
29f052bc3d make error dialog more comprehensible:
1. selects the 1st error so that the error message shows
2. adds labels to the listwidgets in the dialog
3. adds a tooltip to the error listwidget

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27007 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 09:07:15 +00:00
Richard Heck
5537e8a6b5 Add some module related comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27002 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:11:49 +00:00
Richard Heck
72721655c5 Remove some indirection leftover from Andre's removal of controllers and such.
When we had GuiDocument and GuiDocumentDialog, there was a separation that required
this kind of thing, but now apply() is only ever called from applyView(), which is
private and only ever calls it with our local params.

This simplifies the forthcoming ProvidesModule, etc, patch a bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:00:33 +00:00
Richard Heck
721b269732 Another one for Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26999 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 20:45:47 +00:00
Richard Heck
afcc0e0490 Code duplication is bad.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26998 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 20:38:40 +00:00
Richard Heck
129df0bcd4 Make Abdel happy: Change case of local variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26997 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 20:31:33 +00:00
Richard Heck
ae339e3ca8 Remove now duplicated code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26996 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 19:53:15 +00:00
Richard Heck
2351615f0a Fix LFUN_LAYOUT_MODULE_ADD: We need to make sure that the module
isn't already added, that its requirements are satisfied, and that
it doesn't conflict with any loaded modules. Mostly, this just
moves existing code into a new routine where we can get at it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26995 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 19:48:32 +00:00
Richard Heck
67dfff2d37 Update GuiDocument when there are changes to loaded modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26994 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 19:31:05 +00:00
Jürgen Spitzmüller
25c8c8ce8a * InsetMarginal.cpp:
- \marginpar needs to be \protect'ed in fragile context (bug 2790).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26992 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 17:08:39 +00:00
Pavel Sanda
c509d3d8fc Please Edwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26991 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 15:55:20 +00:00
Enrico Forestieri
7923d0b90e Correct logic: single characters must also be parsed when quiet == false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26987 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 00:18:29 +00:00
Enrico Forestieri
ad41e7d4d7 Remove unneeded include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26985 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 22:45:15 +00:00
Enrico Forestieri
96007ce5ac Fix bug 5374
http://bugzilla.lyx.org/show_bug.cgi?id=5374


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26983 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 20:55:54 +00:00
Pavel Sanda
1040064133 Put scrollbar back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26981 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 14:58:33 +00:00
Pavel Sanda
e32aade059 Next round for modules tab
- remove ill vertical spacer in the bottom
- fix max size of description field
- fix min size of the available modules list
- disable the ugly hozizontal scrollbar



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26980 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 14:39:11 +00:00
Jürgen Spitzmüller
473e365a07 * InsetIndex (latex):
- latex is supposed to return the number of _rows_, so do not count the characters
	  (fix bug 5378).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 11:28:23 +00:00
Jürgen Spitzmüller
54c32f8501 ModulesUI.ui:
-remove unnecessary GoupBox.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26965 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 11:10:35 +00:00
Abdelrazak Younes
72e49fbb67 remove unused variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26961 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 09:23:46 +00:00
Abdelrazak Younes
97e5041a4a some more small optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26960 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:42:41 +00:00
Abdelrazak Younes
be740f8543 Bidi::computeTables(): avoid a Font instantiation for each char.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26959 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:31:10 +00:00
Abdelrazak Younes
da640391fc revert erroneous previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26958 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:09:05 +00:00
Abdelrazak Younes
6a8219c190 Paragraph:
- constify some parameters
- getFontSettings():
- getFirstFontSettings(): return a const ref instead of a copy. This brings a consistent 4% improvement in LateX generation. Might speedup rtl handling too.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26957 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:03:44 +00:00
Pavel Sanda
d579893c5b Towards horizontal size of document pref dialog -
class names make its combo very wide, so reorganize a little bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26956 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:43:24 +00:00
Pavel Sanda
4861019ae4 Add the missing file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:23:38 +00:00
Pavel Sanda
9d82588e3e Create new Module panel in document settings and decrease vertical
size of the dialog.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145035.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:21:59 +00:00
Pavel Sanda
f62116f224 Fix uic erros, these files are no longer part of lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26952 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 00:59:16 +00:00
Abdelrazak Younes
2b65ee6030 TexRow::getRowFromIdPos(): Don't assume a vector container and really tiny optimization (don't access the same item multiple time).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26949 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 16:07:04 +00:00
Jürgen Spitzmüller
30a777e8a8 honour requirements for dots (bug 5376).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26947 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 14:15:56 +00:00
Abdelrazak Younes
8a916f28a9 Fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5347
Use crc checking in order to decide if the widget needs to be updated or not. This speed up a lot the cursor moving use case.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26946 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 14:14:58 +00:00
Jürgen Spitzmüller
575a8dd0cc compile fix 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26944 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:51:48 +00:00
Jürgen Spitzmüller
99e481fe51 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:48:12 +00:00
Abdelrazak Younes
757f975337 First part of http://bugzilla.lyx.org/show_bug.cgi?id=5347
Disable full source viewing when the dialog is restored.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26941 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:27:59 +00:00
Abdelrazak Younes
bcbf7c6452 Code shuffling in order to fix http://bugzilla.lyx.org/show_bug.cgi?id=5347
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26940 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:20:17 +00:00
Uwe Stöhr
5c9d3c6a9e fix Make and SCons after r26934 (Enrico, please take care of this too)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26938 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 12:28:17 +00:00
Uwe Stöhr
02d28d981c mathparser_flags.h: follow our naming convention part 2/2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26937 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 12:25:03 +00:00
Uwe Stöhr
8cacb191aa mathparser_flags.h: follow our naming convention part 1/2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26936 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 12:23:59 +00:00
Enrico Forestieri
6bd593d8b3 When pasting into mathed, take into account the current mode.
For example, this allows to paste something like $x$ to a textmode
inset and get the expected result. If $x$ is pasted in mathmode,
it is pasted verbatim, such that no compile errors can arise.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26935 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 09:06:27 +00:00
Enrico Forestieri
02ebfa000b Fix bug 3397
http://bugzilla.lyx.org/show_bug.cgi?id=3397


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26934 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-17 21:40:11 +00:00
Abdelrazak Younes
7ec4207371 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5369
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26930 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-17 04:35:08 +00:00
Stefan Schimanski
af9206b392 * Call metrics of the parameters with the correct font in MathMacros, for example
if they are in an index and should be drawn smaller.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26927 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 21:27:43 +00:00
Richard Heck
5e505119fa OK, I lied. A little more. Just trying to keep the cleanup separate from
the real stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26925 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 17:29:01 +00:00
Richard Heck
a940cc3f6b The last bit of cleanup: Make checking for exclusions a bit easier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 17:21:13 +00:00
Richard Heck
297d5d1f4e Factorize out some of this. Just a bit more cleanup, prior to the patch
I've been promising....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26923 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 17:14:46 +00:00
Richard Heck
8bc9c319d2 Fix bug connected with excluded modules and default modules: We need to make
sure that default modules do not exclude loaded modules and also that loaded
modules do not exclude them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26922 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 15:29:56 +00:00
Richard Heck
28047741c2 Fix a bug involving module conflicts. We need to check not only that we
do not exclude some used module, but also that no used module excludes us.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 15:04:48 +00:00
Richard Heck
3e41704579 More cleanup prior to real patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26919 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 13:41:25 +00:00
Jean-Marc Lasgouttes
9a5aa9eab1 fix View Source for literate documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26917 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 07:43:46 +00:00
Enrico Forestieri
1ad4fd55ea Remove traces of Q_CYGWIN_WIN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 23:00:42 +00:00
Enrico Forestieri
60c6b1966d Fix for latest MInGW w32api
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 22:14:39 +00:00
Enrico Forestieri
ed861b720a Simplify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26914 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 22:03:13 +00:00
Abdelrazak Younes
b23058c578 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5319
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 08:42:43 +00:00
Richard Heck
d4136cb652 Correct the order of the tests here. Messed this up in previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26906 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 18:06:08 +00:00
Richard Heck
6a5a7d7e20 The last little bit of comment, etc, cleanup here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26905 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 17:35:49 +00:00
Richard Heck
b73d5450b7 More cleanup for forthcoming patch. Also fix a copy-paste error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26904 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 17:14:25 +00:00
Richard Heck
9c95358b85 Check for changes to modules before switching text classes. See the removed
FIXME for more.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26903 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 17:03:57 +00:00
Richard Heck
c83ae83ebf Remove unnecessary argument to paramsToDialog(). This is again
cleanup prior to a forthcoming patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 16:59:28 +00:00
Richard Heck
a707ac75ac Change some vectors to lists. This is preparatory for a real patch later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26899 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 14:04:21 +00:00
Jürgen Spitzmüller
3109398469 disable some lfuns inside description/list items (bug 223).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 13:27:58 +00:00
Jean-Marc Lasgouttes
03ec50ac4d speed up _a_lot_ switchEncoding() by avoiding an object copy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26896 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 13:06:47 +00:00
Richard Heck
a34c0a8742 Just whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26895 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 12:49:05 +00:00
Pavel Sanda
b2bb5e5090 Selection painting in Insets (courtesy of fishing industry)
http://bugzilla.lyx.org/show_bug.cgi?id=5270
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144726.html

Patch by Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 23:19:06 +00:00
Abdelrazak Younes
22204cda0b Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5355
The mixing of internal and 'normal' buffers turned out to be problematic. This commit just dissociates the two types.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 20:40:58 +00:00
Pavel Sanda
b69f53cd0f typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26883 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 16:12:46 +00:00
Pavel Sanda
308e2d9df3 Sanitize backreferences in hyperref.
http://bugzilla.lyx.org/show_bug.cgi?id=5340
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144958.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 16:01:02 +00:00
Pavel Sanda
792ece8130 Fix whitespaces so the diff between branches is not so huge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 11:25:37 +00:00
Richard Heck
de01bc54ff All comments and formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26876 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 22:21:56 +00:00
Richard Heck
50e5a3b796 Remove old and out of date comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 22:07:47 +00:00
Richard Heck
9c2fa02d4a Add a comment, per Pavel's suggestion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 22:02:31 +00:00
André Pönitz
cb5a9b28d7 be kind to XaFooBarTeX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 19:19:41 +00:00
Uwe Stöhr
4331cbf30f babel handling: revert r26857 and r26858 for the reasons I posted o the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26870 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 17:21:18 +00:00
Richard Heck
a9226314d1 Don't access this directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26867 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 15:34:08 +00:00