Enrico Forestieri
d346e36de2
Don't add the Qt dirs to the include path when compiling in src/, in
...
order to avoid inadvertently using Qt code in the lyx core library.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29694 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 16:34:21 +00:00
Enrico Forestieri
ae3f95b8f0
Fix scons and revert the now not needed r29669.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 15:55:08 +00:00
Jürgen Spitzmüller
e71be32d2a
* InsetCollapsable.cpp (doDispatch):
...
- reset paragraph fonts also after LFUN_SELECTION_PASTE.
This assures lang is set to latex in ERTs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 15:39:03 +00:00
Vincent van Ravesteijn
33c44db749
Fix bug #3706 : Mathed builtin/macro expansion not performed when clicking away.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 22:49:20 +00:00
Vincent van Ravesteijn
193b36e71f
Fix bug #5923 : Resume macromode.
...
When the user wants to resume a macro, delete the current one and insert a new one, which is not yet finalized.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29687 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 22:04:41 +00:00
Vincent van Ravesteijn
7fc21bf766
Fix bug #2034 : Inconsistent behavior of cursor inside mathed.
...
When closing the macromode, do the same trick as in lines 835--838.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29686 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 22:00:43 +00:00
Vincent van Ravesteijn
a1a9c4c4ba
Fix bug #5540 : Crash in MathAtom on Undo.
...
No undo steps are recorded for math-macros. Now, it is also not done when we resume to edit a macro.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29685 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:51:43 +00:00
Vincent van Ravesteijn
22e8bd3c3e
Partial fix for bug #5465 . This will enable scrolling down past a very large inset. With this code, LyX will scroll up everytime you try to scroll past the inset, because the cursor is set on the uppermost row.
...
see:
http://thread.gmane.org/gmane.editors.lyx.devel/118449
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29683 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:24:08 +00:00
Vincent van Ravesteijn
a8682e3f5f
Forgot these.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29682 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:15:30 +00:00
Vincent van Ravesteijn
14eeb2bdc5
* FuncCode.h: whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29681 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:07:03 +00:00
Vincent van Ravesteijn
8996be1208
Restore Object.Event order for:
...
- LFUN_LABEL_COPY_AS_REF,
- LFUN_LABEL_INSERT_AS_REF.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29680 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:05:19 +00:00
Vincent van Ravesteijn
13da98685d
* InsetMathHull.cpp : constify.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29679 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 20:57:48 +00:00
Vincent van Ravesteijn
3c976db90b
Fix bug #5948 : Copy as reference for equation labels.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29678 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 20:54:15 +00:00
Pavel Sanda
831b74c236
Unify whitespacing for generation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29677 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 17:08:15 +00:00
Pavel Sanda
47cefe424d
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29676 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 15:42:45 +00:00
Enrico Forestieri
a5a05e7dfc
Really flush output buffers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29675 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 09:20:59 +00:00
Vincent van Ravesteijn
986db7cae1
* LyXAction.cpp: doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29674 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 23:48:26 +00:00
Vincent van Ravesteijn
54bb684f30
Fix bug #3918 : Toggle outline button update when clicking x.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29673 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 23:46:42 +00:00
Vincent van Ravesteijn
f05504f5ef
Fix bug #5390 . Copy from a deleted section with change tracking.
...
Do not accept the changes in the selection, if it is completely deleted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29672 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 22:21:05 +00:00
Enrico Forestieri
8fe984090f
Allow immediate output of spawned processes for all platforms.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29668 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 15:13:58 +00:00
Vincent van Ravesteijn
a7d545170b
Fix bug #5888 . Yes, I do shame.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29665 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 12:35:04 +00:00
Jean-Marc Lasgouttes
188333b8cb
headers cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29664 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 09:20:58 +00:00
Enrico Forestieri
2301c5af8f
Fix problem with the nul device on Windows.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29663 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 00:12:07 +00:00
Pavel Sanda
812f41a384
Even more
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:51:11 +00:00
Pavel Sanda
3858052bd0
Add missing entries
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29661 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:50:12 +00:00
Vincent van Ravesteijn
7ed6d9c3f1
Compile fix & whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:43:01 +00:00
Uwe Stöhr
152b32684d
GuiView.cpp, LyXAction.cpp: sort entries
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:37:18 +00:00
Enrico Forestieri
70696182dd
Take into account output redirection when spawning a program.
...
Now things should behave as before the QProcess era (I hope).
The parser only accounts for output redirection, no fancy
things such as piping are possible, yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29656 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 18:29:58 +00:00
Enrico Forestieri
0ed38ed1f4
Allow to separately redirect stdout and stderr.
...
Now "lyx > stdout.log" should produce the same output as before
the switch to QProcess.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29655 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 12:55:01 +00:00
Enrico Forestieri
3cdf2acb95
Clarify comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 09:56:47 +00:00
Enrico Forestieri
97303baac2
Avoid #ifdef's and use OS specific code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 09:48:11 +00:00
Enrico Forestieri
50ddeeb77e
MSVC does not define WIN32 but _WIN32.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29650 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 22:04:26 +00:00
André Pönitz
89e4055189
cosmestics (test...)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29649 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 21:03:47 +00:00
Vincent van Ravesteijn
501349b4ae
Compile fix for r29647.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29648 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 20:16:43 +00:00
Vincent van Ravesteijn
44afac0e4a
Do the same as r29646, now for FileName::set.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29647 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 20:15:20 +00:00
Vincent van Ravesteijn
2f8a71056b
Fix the assert on Windows when starting LyX by double-clicking on a file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29646 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 20:12:04 +00:00
Vincent van Ravesteijn
0a5cb3674c
Restore the possibility to call insert-plaintext without argument.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:41:08 +00:00
Enrico Forestieri
cd9b169d76
Restore line buffered output at least on posix systems. I failed to do
...
that on Windows, as using CONOUT$ in place of /dev/stdout didn't work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29642 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:21:27 +00:00
Jean-Marc Lasgouttes
b71cd66384
remove duplicated (and probably not really correct) code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 07:12:25 +00:00
Vincent van Ravesteijn
7083f02b1d
Prevent two more assertions due to non-absolute filename as a parameter of file-insert-plaintext.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 00:15:16 +00:00
Vincent van Ravesteijn
d931c7d992
Prevent assertion due to non-absolute filename as a parameter of buffer-switch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 23:53:50 +00:00
Enrico Forestieri
c73eb3497a
Fix QProcess code on posix systems and reenable it by default, in order
...
to catch early possible problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29634 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 22:03:52 +00:00
Abdelrazak Younes
58cac2e4db
Allow more time for latex... process launching can be slow on Windows...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29630 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 11:58:28 +00:00
Abdelrazak Younes
bff46f987c
revert unwanted change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29629 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 11:55:31 +00:00
Abdelrazak Younes
54aefd360c
Read standard output and error upon completion. And properly close the channels before killing the process.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29628 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 11:51:52 +00:00
Jean-Marc Lasgouttes
3e3179b4d4
Hopefully complete fix to bug #5935
...
Make several Parser methods return copies of tokens, because the
vector containing the token may get reallocated when it grows.
Revert now useless changeset 29557.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29627 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 11:02:25 +00:00
Abdelrazak Younes
416a6cd1c0
Reorganize the code a bit and Disable QProcess evaluation for now as nothing works...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29626 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 09:01:44 +00:00
Abdelrazak Younes
dc267d6dd9
Add some debugging code to QProcess. Reconfigure (python) starts and finishes here (ubuntu9.04) but doesn't proceed and returns this:
...
/home/younes/devel/lyx/trunk/src/support/Systemcall.cpp(66): Qprocess python -tt '/home/younes/devel/lyx/trunk/lib/configure.py' --with-version-suffix=2.0 finished!
/home/younes/devel/lyx/trunk/src/support/Systemcall.cpp(67): exitCode 2
/home/younes/devel/lyx/trunk/src/support/Systemcall.cpp(68): error 5
/home/younes/devel/lyx/trunk/src/support/Systemcall.cpp(69): state 0
/home/younes/devel/lyx/trunk/src/support/Systemcall.cpp(70): status 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29625 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 08:34:08 +00:00
Abdelrazak Younes
fae3c1669f
gcc warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29624 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 07:52:39 +00:00
Pavel Sanda
479e0d0f92
Don't clutter the header needlessly
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150918.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29619 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 23:03:47 +00:00
Vincent van Ravesteijn
2b2e0e8a12
Patch from Peter.
...
Commit the patch posted at beginning of this thread and see how big the problems are, especially Pavel's svn code.
After solving the problems, I planned to integrate my previous GUI patches.
see:
http://marc.info/?l=lyx-devel&m=124136994215110&w=2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29614 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 19:39:56 +00:00
Enrico Forestieri
aa1a673077
Find thesauri files even if \thesaurusdir_path is specified without
...
a trailing slash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29603 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 02:25:25 +00:00
Vincent van Ravesteijn
a52cac0476
Fix part 2 of bug #5758 : Crash when closing the dosbox from which LyX was started.
...
A problem occurs when we write the ConverterCache index file. This action is instantiated in the destructor of the 'static ConverterCache' object. The use of QFileInfo at that point leads to a crash.
It is maybe not a good idea at all to put part of the functionality in a destructor, especially not when we do not delete the object ourselves and when this functionality uses external libraries etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29602 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 00:03:14 +00:00
Richard Heck
d6966dd5f5
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29601 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 21:58:16 +00:00
Enrico Forestieri
024378db01
Remove workaround due to nested math hulls. See:
...
http://thread.gmane.org/gmane.editors.lyx.devel/110190/focus=110242
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29600 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 21:16:04 +00:00
Enrico Forestieri
318fad58a6
Don't create nested math hulls (fixes bug #5392 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29599 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 21:15:36 +00:00
Vincent van Ravesteijn
b946e2209a
Fix bug #5930 : Crash when undoing info-insert in math mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 21:02:14 +00:00
Vincent van Ravesteijn
71f9d3600c
Fix bug #5890 : Assertion when reducing the view size.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29597 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 20:26:04 +00:00
Vincent van Ravesteijn
99dc01f79b
Fix bug #5458 (try 2): File reopens at LyX-start even though it was closed in previous session.
...
We should of course clear the list before closing each of the views. Otherwise, the second view will remove the files from the first view from the list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29596 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:59:53 +00:00
Vincent van Ravesteijn
19502b9035
Fix bug #5458 : File reopens at LyX-start even though it was closed in previous session.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29595 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:41:48 +00:00
Vincent van Ravesteijn
b5fc687888
Fix bug #4177 : Lyx fails to open files with a $ character in their name.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29587 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 17:06:54 +00:00
Vincent van Ravesteijn
ba37ec9813
Fix bug #5435 : DEPM is not executed when leaving an inset.
...
Now, it is fixed for char-forward and char-backward.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29585 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 16:56:49 +00:00
Jürgen Spitzmüller
74784942ed
* disable some invalid insets in description items (covers bug 5937).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29584 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 16:53:51 +00:00
Richard Heck
6537f7aca0
Fix outliner crash reported by Vincent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29583 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 15:49:09 +00:00
Jürgen Spitzmüller
d0fee6a49f
* remove last traces of external thesaurus library and actually enable included MyThes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29580 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 08:23:49 +00:00
Abdelrazak Younes
e9be0fae66
Integrate mythes-1.1 into our source and remove support for aiksaurus. I have tested only the Cmake build system. Please test autotools and scons.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29577 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 21:38:50 +00:00
Jürgen Spitzmüller
abc5debb42
Compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29574 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 15:12:28 +00:00
Jürgen Spitzmüller
9d9f14ed38
* also enable LFUN_BRANCH_INSERT if we have branches only in a child.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29569 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 12:38:58 +00:00
Jürgen Spitzmüller
48f36f59e7
* configure.py:
...
- add new method that records all available alternative programs
as opposed to only the first found one.
* LyXRC[cpp,h}:
* LyXFunc.cpp:
- new RCs \bibtex_alternatives and \index_alternatives, holding
alternative processors.
* GuiPrefs.{cpp, h}:
* PrefLatexUi.ui:
- UI to select from a list of preconfigures bibliography/index processors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 10:07:32 +00:00
Richard Heck
47595faf93
Forgot these bits.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29565 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 20:44:07 +00:00
Richard Heck
675925f659
This patch introduces wrapped tooltips for some more insets.
...
New method wrapParas() in support, deployed in various
insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29564 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 18:04:05 +00:00
Richard Heck
fedf5aebe3
Thinko.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29562 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 13:56:21 +00:00
Richard Heck
cc23968475
Minor fixups.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29561 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 13:53:28 +00:00
Abdelrazak Younes
73b48c22e5
Squash gcc warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 12:40:35 +00:00
Richard Heck
cca51a04c2
Move the word-wrapping code to support, so that it can be re-used.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29559 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 12:23:12 +00:00
Enrico Forestieri
128c2b31d8
Avoid ugly macros in the preamble and protect underlined \cite commands
...
in a clever way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29558 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 10:57:52 +00:00
Jean-Marc Lasgouttes
440df1c789
(partial?) fix to bug 5935
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29557 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 10:09:03 +00:00
Abdelrazak Younes
47aca38a5e
SpellChecker context menu. Part of the continuous SpellChecker project.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29556 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 23:39:17 +00:00
Abdelrazak Younes
51978827f4
adjust comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 17:52:58 +00:00
Pavel Sanda
0920fd7b5e
Introduce new format as a safety measure
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150868.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150895.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29552 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 16:58:15 +00:00
Jean-Marc Lasgouttes
36a811cba2
keep a cast for later
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29551 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 13:41:35 +00:00
Enrico Forestieri
cd62043a1b
Solve problem with underlining citations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 10:20:40 +00:00
Vincent van Ravesteijn
d1e3d75da2
Fix bug #5131 : Remember last file active.
...
A bool is added to the entry of a last opened file in the Session file. This bool, indicates whether the file was the last one being edited.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 12:47:44 +00:00
Pavel Sanda
04c734f7a7
Move underline text from \underbar to \uline.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150815.htm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29545 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 11:51:55 +00:00
Pavel Sanda
5416e09ebf
Heh, wrong shift ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29544 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:40 +00:00
Pavel Sanda
6fde8f8067
Introduce double underline and wavy underline styles from ulem
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150803.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:28 +00:00
Pavel Sanda
c4af79abf3
comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29541 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 06:24:43 +00:00
Pavel Sanda
9d5d4ec64f
Commetin forgotten part of r29532 reversal
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29540 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 06:22:55 +00:00
Vincent van Ravesteijn
4b8376bbb3
Revert r29532 and do something less risky.
...
Now, the tabs are closed in reverse order, which is aesthetically better. Consequently, we have to open the files (read from the session file) also in reverse order.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29539 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 23:22:06 +00:00
Enrico Forestieri
6e7031dc5a
File names must be compared taking into account filesystem case sensitivity,
...
otherwise the same file could be opened in different buffers by simply
changing the case of a character in the name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29538 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 22:16:37 +00:00
Vincent van Ravesteijn
9ba69f3f1b
Aesthetics: Hide the tabbar when closing all windows one-by-one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29532 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:53:34 +00:00
Vincent van Ravesteijn
0842e988e7
Correct indentation. This was postponed from the previous commit r29530 for clarity.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:50:55 +00:00
Vincent van Ravesteijn
2b21cd2f4e
Fix bug #5001 : Tab order not preserved when starting lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:48:23 +00:00
Pavel Sanda
168ceb8763
Qt 4.5 Christmas part 2
...
Now menu works smoothly in fullscreen under linux too
http://www.lyx.org/trac/ticket/4888
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 23:33:39 +00:00
Vincent van Ravesteijn
0731078d5f
Fixing small bugs of r29518.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29526 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 23:32:16 +00:00
Pavel Sanda
381b86788d
Introduce strikeout text style (strike-through)
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150743.html
Somewhat related to http://www.lyx.org/trac/ticket/4248 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 22:45:14 +00:00
Vincent van Ravesteijn
7bf0d804e7
Add "Select Section" to outliner context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29520 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 19:16:00 +00:00
Vincent van Ravesteijn
d782be1cc9
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29519 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 19:02:03 +00:00
Vincent van Ravesteijn
0da78f8bbd
Introduce new LFUN_SECTION_SELECT. When this lfun is called and the cursor is in a section heading, the whole section is selected.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 18:58:00 +00:00
Vincent van Ravesteijn
f4c0f80857
Add outline-in/out/up/down to the outline context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 16:06:00 +00:00
Pavel Sanda
f9158fcd8d
Fix warning of citation dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:33:12 +00:00
Vincent van Ravesteijn
17af255396
Prevent warning when pressing OKAY while the dialog is in AUTOAPPLY_INITIAL state (GuiCharacter).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29514 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:27:47 +00:00
Abdelrazak Younes
33924e31ef
Fix MSVC warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 13:27:53 +00:00
Pavel Sanda
3f90a0339c
Small glitch in CharacterUi.ui
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 12:23:49 +00:00
Vincent van Ravesteijn
c7a09888a1
Add the emf and wmf graphics format as parameters to LFUN_PASTE.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 11:22:01 +00:00
Vincent van Ravesteijn
af39d35545
Adjust the location of the autosave file for unnamed docs.
...
If the document is unnamed try to save in the backup dir, else in the default document path, and as a last try in the filePath, which will most often be the temporary directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:24:12 +00:00
Vincent van Ravesteijn
aa4c7e7ef5
Fix bug #5879 (try 2): Move the autosave file of a buffer when the filename changes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29507 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:21:21 +00:00
Vincent van Ravesteijn
11ecc24c0c
Revert r29505. We forgot that we cannot retrieve the new autosavefile yet, because the buffer might still be marked as unnamed. So, we should first finish this administration, before we can get the location of the new autosave filename.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29506 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:16:49 +00:00
Vincent van Ravesteijn
dce037ed5a
Fix bug #5879 : Move the autosave file of a buffer when the filename changes (patch by Richard).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 09:09:33 +00:00
Vincent van Ravesteijn
3045d9b4ff
Fix the construction of a filepath after r29498. The '/' between the path and suffix was omitted when the path is a directory.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 21:29:54 +00:00
Enrico Forestieri
5822af9bba
Spare a few cpu cycles when abstmp == realtmp.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29500 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 18:55:55 +00:00
Enrico Forestieri
ccc77c73da
Speed up FileName operator== (Georg's solution).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29498 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 17:12:31 +00:00
Enrico Forestieri
e0941bdb4b
Revert r29444 (to be soon replaced by Georg's solution).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 16:39:14 +00:00
Jürgen Spitzmüller
5c27b8400e
indices -> indexes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29496 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 15:54:45 +00:00
Pavel Sanda
e06984bc42
Remove the corner button too
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150647.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:45 +00:00
Pavel Sanda
3da9c20456
Use Qt native close button on tabbar.
...
Fixes http://www.lyx.org/trac/ticket/3724
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:42 +00:00
Jürgen Spitzmüller
e032cd934d
* add all available formats to view/update others popup icon (bug 5380)
...
patch contributed by Georg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 08:43:22 +00:00
Pavel Sanda
d56fc2784a
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29486 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 19:51:19 +00:00
Uwe Stöhr
88015a178a
os_win32.cpp: compile fix for r29476
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29485 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 19:08:14 +00:00
Vincent van Ravesteijn
69d2e076dc
Add accept/reject change to the context menu of the toc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:55:26 +00:00
Vincent van Ravesteijn
7108b8e463
Add accept/reject change to the edit context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29478 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:06:36 +00:00
Vincent van Ravesteijn
61e32e1c25
Fix some toc ui glitches:
...
- revert r26360, because this causes irritating flickering, and reset the slider in updateView instead,
- disable also the sort checkbox and the slider when the list and combobox are disabled,
- disable the keep checkbox when the type is not navigatable, as it doesn't make sense to keep something that won't change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 16:03:06 +00:00
Enrico Forestieri
b0936fac4c
When performing a reverse DVI search and the tmpdir is a symlink, the
...
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 15:18:11 +00:00
Abdelrazak Younes
f2197de98a
Fix font issue due to mispelled marking.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:45:30 +00:00
Abdelrazak Younes
695385374f
Fix assertion on Ctrl-N with Qt4.5.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:11:22 +00:00
Jürgen Spitzmüller
59b58c5c0a
compile fix (and move MyThes to firt place, since it is the preferred lib).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 11:50:04 +00:00
Abdelrazak Younes
c18baee469
Move isLetter() logic to Paragraph::isLetter().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29468 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 10:54:32 +00:00
Abdelrazak Younes
f665e65071
Forgot to commit this in previous rev. Sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29467 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 10:30:16 +00:00
Abdelrazak Younes
1b168bbc69
Paragraph::updateWord() and collectWords(): Remove unneeded CursorSlice argument.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:56:20 +00:00
Abdelrazak Younes
ea54380e13
Initial support for continuous spell-checking. This is far from working perfectly. I reused the word completion framework to achieve this. This doesn't seem to have sensible effect over edition speed.
...
You'll need to check the continuous spellcheck option in order to test this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:43:40 +00:00
Abdelrazak Younes
1d2077e51e
FontList::setMisspelled(): Fix bogus code. Not really optimized..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:40:05 +00:00
Abdelrazak Younes
8f1b42984d
Better compil fix than previous commit. Sorry...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:44:35 +00:00
Abdelrazak Younes
fa6dae88f2
Compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29458 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:35:59 +00:00
Abdelrazak Younes
23fded1fc0
New FontList::setMisspelled() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:17:23 +00:00
Abdelrazak Younes
30c70c1670
Transfer word locating code from Text to Paragraph.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 07:26:12 +00:00
Abdelrazak Younes
ce0c09d1ae
potential compil fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:42:25 +00:00
Abdelrazak Younes
e2025f59dc
CMake/Windows compilation fix. Aiksaurus.h was not visible in frontend/qt4:
...
* pimpl the implementation details. Next step would probably be to have a virtual base class instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:33:19 +00:00
Enrico Forestieri
4053db1858
Speed up FileName operator==, such that working with child documents on
...
Windows and Solaris is again possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 22:42:26 +00:00
Pavel Sanda
85eaa03492
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 09:11:48 +00:00
Pavel Sanda
477d0aa004
Disambiguate call for monolithic build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 11:56:13 +00:00
Jürgen Spitzmüller
dd930b4535
* final splitindex feature addition: support for \printindex* and \printsubindex*
...
File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 06:10:25 +00:00
Enrico Forestieri
a7e1aac652
Don't try to load a nonexisting file when executing server-goto-file-row
...
as this leads to a crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29418 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 22:52:22 +00:00
Jürgen Spitzmüller
0bd5c5fca8
* Add support for splitindex's \printsubindex command. File format change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 11:24:38 +00:00
Pavel Sanda
a329ab84a6
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 08:39:18 +00:00
Abdelrazak Younes
3a502dfbec
Simple fix for bug 4464
...
http://www.lyx.org/trac/ticket/4464
Thanks to Vincent for showing the way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 21:04:51 +00:00
Jean-Marc Lasgouttes
26b1c55e03
whitespace only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29393 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 12:37:56 +00:00
Jean-Marc Lasgouttes
fcc4a0f794
Sometimes, iconv on windows returns -1, but sets errno to 0. I do not
...
know what this means, but tex2lyx did not like it at all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29392 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 12:28:00 +00:00
Jean-Marc Lasgouttes
0a99e817f1
Fix bug #5912 : http://www.lyx.org/trac/ticket/5912
...
The problem was that \" was forgotten in the list of accents to check
in unicodesymbols (because it used to have its own german-centric derogatory
handling).
I took the Comprehensive LaTeX Symbols List (table 6) and added all the
missing accents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-23 13:08:31 +00:00
Vincent van Ravesteijn
b44f8eb2ef
* cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:17:49 +00:00
Vincent van Ravesteijn
96174d2d66
Fix bug that you can't change Info insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:16:51 +00:00
Vincent van Ravesteijn
2bc9c7c9c4
* Revert the noise.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29376 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:02:05 +00:00
Vincent van Ravesteijn
4c9fe33c83
* Move handling of LFUN_INSET_SETTINGS to Inset,
...
* Remove the EDITABLE enum,
* add functions hasSettings() for all insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29375 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 20:55:13 +00:00
Uwe Stöhr
f6b85a17de
InsetHyperlink.cpp:
...
- fix #5908
- break too long code lines
OK for branch too?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29366 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 00:55:55 +00:00
Pavel Sanda
3ea345b90f
Patch from Edwin - spellcheck typos.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150327.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29365 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 21:06:21 +00:00
Jean-Marc Lasgouttes
adab0618e7
fix crash when importing LaTeX file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 09:01:33 +00:00
Jean-Marc Lasgouttes
f3038bed06
Remove bogus ifdocstream constructor argument, which _may_ be the cause of
...
tex2lyx woes under windows. It may also help chktex under windows
(does it works currently?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 15:40:01 +00:00
Jean-Marc Lasgouttes
ac5a6ac79a
I did this one all by myself; naughty jmarc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29358 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 11:00:30 +00:00
Jean-Marc Lasgouttes
4b32876be0
revert 29349; Abdel made me do it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 10:00:54 +00:00
Jean-Marc Lasgouttes
19e6f30b18
cut-and-paste made me do it, I swear
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 09:46:52 +00:00
Jean-Marc Lasgouttes
9c61ea54ef
compilation fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29351 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 23:03:50 +00:00
Uwe Stöhr
0ff6c86ee1
Counters.cpp: whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29350 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:44:46 +00:00
Jean-Marc Lasgouttes
b20965dd83
please Abdel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29349 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:24:48 +00:00
Jean-Marc Lasgouttes
2e45185cd5
improve tex2lyx Usage display (on error...); describe option -e on man page; remove non-implemented -p and -r options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29346 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:13:43 +00:00
Jean-Marc Lasgouttes
8d0fcad676
Speedup the expandLabel by avoiding the recursive part. The labelstrings
...
are computed recursively to get rid of any \thexxx string by the method
flattenLabelString. The values are cached in Counter objects.
On my mac, the total time (updatelabels+redraw) goes down by 30%. YMMV.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 20:05:26 +00:00
Vincent van Ravesteijn
4e685e3565
Fix bug #5758 : Crash when closing the dosbox from which LyX was started
...
The wmf_mime_ object was deleted both when deleting GuiApplication::Private as from
QWindowsMimeList::~QWindowsMimeList().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 13:43:00 +00:00
Jürgen Spitzmüller
8d97f1c6d2
* ToggleWarningUi.ui:
...
- string change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29325 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 12:30:19 +00:00
Jürgen Spitzmüller
605f6bebf2
Implement a warning dialog with a "Do not show this warning again!" checkbox.
...
Since Qt does not provide this, we have to roll our own dialog.
Hidden warnings are stored in sessions.
The dialog is currently only used in the case where an included file
has a different textclass then the master (bug 3218).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 11:57:52 +00:00
Jean-Marc Lasgouttes
22e92f0d6f
constify counters code and rename private variable counterList
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29323 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 10:06:17 +00:00
Abdelrazak Younes
ef5f53017a
transform the SpellChecker gui into a dock widget.
...
This commit introduces a new way to use the ui file in a more transparent way with regards to header inclusion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29322 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 08:57:43 +00:00
Vincent van Ravesteijn
ee4e7db35e
Add context menus to the toc for child-documents, listings and indices.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 18:53:39 +00:00
Vincent van Ravesteijn
b6ce46fb94
InsetInfo: simplify.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 17:02:48 +00:00
Jürgen Spitzmüller
521577ba4c
* InsetIndex.cpp:
...
- fix InsetPrintIndex::getStatus logic (detected by Vincent).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29316 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 16:20:08 +00:00
Vincent van Ravesteijn
6192d3dbbf
InsetPrintIndex: Fix getStatus() for INSET_MODIFY.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29315 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 16:02:36 +00:00
Vincent van Ravesteijn
ac6a7ed432
InsetInfo is editable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29310 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 12:14:08 +00:00
Jürgen Spitzmüller
051a50439d
remember the last selection on the view/update popup button.
...
This introduces a new "sticky" popup button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 10:44:44 +00:00
Jürgen Spitzmüller
30961c95d9
* InsetInfo: fix bug 5901.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29305 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 05:57:02 +00:00
Jürgen Spitzmüller
d12426a340
New inset dialog for InsetPrintIndex (only used with multiple indices)..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00
Jürgen Spitzmüller
de22184d97
New inset dialog for InsetIndex (only used with multiple indices)..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:22:44 +00:00
Jürgen Spitzmüller
c090147654
* BrnachUi.ui: minor tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:18:51 +00:00
Jürgen Spitzmüller
c9a0462954
* GuiBranch.cpp: remove duplicated include.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29277 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 07:47:09 +00:00
Jean-Marc Lasgouttes
37d6ef964c
fix compiler warnings in new mathfrac/binom code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29257 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 09:15:24 +00:00
Jürgen Spitzmüller
d8396e9c7f
* LaTeX.cpp: some debug output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29256 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 08:33:43 +00:00
Jürgen Spitzmüller
c52bd08442
Introduce splitindex support. File format change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
a86337e83f
* Converter.cpp: tell the converters that we are using pLaTeX.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29254 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:20:16 +00:00
Jürgen Spitzmüller
bdc31723cc
* GuiPrefs: revert unintended parts of previous commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29253 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 06:51:19 +00:00
Jürgen Spitzmüller
fe41f206bd
* GuiPrefs: fix typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29252 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 06:43:43 +00:00
Vincent van Ravesteijn
6643fac7db
Fix a small bug in the finding of changes. If a change starts at pos==1 and one tries to find it backwards, the character at pos==0 was also selected as part of the change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29251 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 22:09:27 +00:00
Vincent van Ravesteijn
67503f8fe1
Fix the bug that when pressing the merge button while in the middle of a change, only half of the change was found.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29250 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 22:07:59 +00:00
Vincent van Ravesteijn
ff294eb173
Update RELEASE-NOTES and LFUN documentation for the changes in LFUN_INSET_TOGGLE and LFUN_INSET_SETTINGS.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29249 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 21:41:07 +00:00
Vincent van Ravesteijn
cdd802421a
Fix bug #5435 .
...
Revert the previous fix and fix the DEPM regression.
This reverts r28910.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29248 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 20:20:42 +00:00
Vincent van Ravesteijn
586afc2a4c
* LyXAction.cpp: doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29247 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 17:14:48 +00:00
Vincent van Ravesteijn
e4a6b62f03
InsetListings.cpp: simplify.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29246 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 17:00:43 +00:00
Vincent van Ravesteijn
a018cae244
Fix bug 5894: Inserting tabs with inline selections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29245 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 16:42:38 +00:00
Jürgen Spitzmüller
26b361417d
* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
...
from the standard LaTeX programs.
These programs are only used now if the document actually uses Japanese, not always if they are found.
(bug 5601 a.o.).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:53:40 +00:00
Pavel Sanda
a6145ac4cd
next attempt for PageLayoutUi
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:28:34 +00:00
Uwe Stöhr
d109eb6984
PageLayoutUi.ui: correct space between buttons and remove some strange three dots
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29236 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 01:35:55 +00:00
Pavel Sanda
d6819bf658
Next ui tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 14:25:51 +00:00
Uwe Stöhr
7acab93ad1
PageLayoutUi.ui: add tooltip for the new push button
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29231 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 13:19:11 +00:00
Pavel Sanda
0f77509d23
Correct naming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29230 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:56:38 +00:00
Pavel Sanda
a9ffac3052
add tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29229 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:46:14 +00:00