Enrico Forestieri
0f8929d5d1
Fix command line parsing and allow unicode arguments for tex2lyx on Windows.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33723 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-12 01:18:39 +00:00
Pavel Sanda
a7b921aeeb
Fix unsafe use of fixed width arrays.
...
Fix crash when MathMatrix has more than 80 columns
Patch from John McCabe-Dansted, approved from Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33641 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 14:57:16 +00:00
Pavel Sanda
8f136a5467
Remove unused SignalSlot files per Abdel's suggestion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33637 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 12:48:02 +00:00
Pavel Sanda
c73afcd734
File missing in tarball
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33636 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 12:47:57 +00:00
Pavel Sanda
563eddd4bc
next one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 08:05:25 +00:00
Richard Heck
d65020b293
s/updateLabels/updateBuffer/g, per a suggestion of Abdel's.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-03 22:13:45 +00:00
Enrico Forestieri
3fce202517
On Windows, allow loading documents with non-ascii chars in their path
...
also from command line and from explorer windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33561 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 00:20:31 +00:00
Enrico Forestieri
ab77356a6a
When using CREATE_NEW, CreateFile fails if the file already exists.
...
I intended that, but was forgetting to account for it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33545 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 16:22:27 +00:00
Enrico Forestieri
10f1370464
On windows, allow saving a document whose pathname contains unicode chars.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33539 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 19:34:25 +00:00
Enrico Forestieri
d472d8ddc0
Win95 is not supported by a long time now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 18:38:17 +00:00
Enrico Forestieri
220f0f9f5b
This should have gone in r33524.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33526 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 13:51:06 +00:00
Enrico Forestieri
37974532f6
Fix bug #5238 : LyX 1.6 fails with non-ascii chars in path (on Windows)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33524 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-21 04:51:27 +00:00
Enrico Forestieri
4c92ec8383
Operator new[] should always be matched by operator delete[],
...
even when allocating POD types.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-17 19:33:52 +00:00
Pavel Sanda
39110501c3
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33475 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 07:39:39 +00:00
Jürgen Spitzmüller
59d384f02b
* Thesaurus.cpp:
...
* docstring.{cpp,h}:
- move conversion functions to_iconv_encoding and from_iconv_encoding
from Thesaurus to docstring.
* HunspellChecker.cpp:
- use correct encoding for string conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33407 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 10:24:10 +00:00
Abdelrazak Younes
4c2a354ebd
hasDigit(): Avoid a string copy as this is in a critical path for inline spellchecking.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33403 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 06:51:49 +00:00
Jürgen Spitzmüller
5f4c5c5da9
* support/lstring.{cpp,h}:
...
- new function hasDigit
* src/Paragraph.cpp (spellcheck):
- ignore words with digits, as in 1.6 (bug 6493).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33395 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:35:35 +00:00
Peter Kümmel
3f379915a6
CMake: fix merged build, seems GCC could not handle the namespaces correctly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33272 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:34:28 +00:00
Vincent van Ravesteijn
a4e03846cd
Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 18:10:33 +00:00
Vincent van Ravesteijn
5d91b83813
Fix compilation with CMake on linux. (Am I the only one having this problem ?).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33197 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 13:57:45 +00:00
Enrico Forestieri
51d70699ef
Fix bug #5525 : Windows XP doesn't shut down with LyX open
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 23:01:48 +00:00
Enrico Forestieri
23b672f83c
Query the cygdrive prefix only if the cygwin mount command is available.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33014 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 19:36:41 +00:00
Enrico Forestieri
9da28dca29
Add support for the newly released Cygwin 1.7.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:21:43 +00:00
Pavel Sanda
80b2bebf48
Keep in synchro with "All messages"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32757 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:40:34 +00:00
Peter Kümmel
1dda726507
use template instead of macro,
...
no template parsing in debug.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32676 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 15:37:14 +00:00
Peter Kümmel
75f6ced64b
no stl includes in debug.h
...
change Debug API
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32675 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 15:09:49 +00:00
Peter Kümmel
12efe108db
Add Pavel's lyxerr extension, add ui for debug levels.
...
Still needs some fiddling with line endings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32670 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 15:05:37 +00:00
Pavel Sanda
0252c84efa
Unneeded header
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32658 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 21:38:49 +00:00
Peter Kümmel
e479ed5b45
remove debug code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32657 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 13:43:42 +00:00
Peter Kümmel
99116c8d64
cleanup process output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32656 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:53:28 +00:00
Peter Kümmel
74d47d843e
add some debug info
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32655 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:11:50 +00:00
Peter Kümmel
3c5fe7a93b
fix formatting
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32648 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 17:14:53 +00:00
Peter Kümmel
0f8003c25a
be sure processFinished() is only called once.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32647 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 16:53:29 +00:00
Peter Kümmel
94ab8c8f74
workaround for Qt (4.5.2) bug: QProcess::started() is emitted twice
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32646 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 16:07:16 +00:00
Enrico Forestieri
92f491b3f8
Add support for the forthcoming Cygwin 1.7.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32616 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 23:21:02 +00:00
Peter Kümmel
dd4cbb3591
- Show progress information in status bar.
...
- Remove progress view because ATM we don't have to show anything usefull.
- move Alert:: void functions into GUI thread
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32604 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 11:48:19 +00:00
Peter Kümmel
8458a2eac3
add progress widget: update Makefiles
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32600 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 15:04:20 +00:00
Peter Kümmel
0c19763f60
add progress widget
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32599 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 14:27:19 +00:00
Peter Kümmel
aa613aaf01
add progress widget
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 14:26:55 +00:00
Peter Kümmel
ea6d20295a
Don't process gui events by default it's too dangerous because we have no synchronization ATM.
...
And not needed any more because we export buffers in a thread.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32597 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 20:33:30 +00:00
Enrico Forestieri
5ec9d5f956
Fix bug #4063 : LyX cannot handle apostrophe characters ' in path names
...
when QProcess is disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32592 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 19:29:53 +00:00
Enrico Forestieri
04580d2122
Improve the command-line parser meant to be used for QProcess.
...
Now, both single- and double-quotes posix-like quoting styles are implemented,
such that a command-line meant for the shell can also be used for QProcess.
However, only redirecting the output to a file is supported. Supporting piping
would require a (major?) rewrite of the Systemcall class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32590 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 17:26:09 +00:00
Enrico Forestieri
5ad8d44ce2
Allow double quotes in file names passed to converters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32583 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 22:15:46 +00:00
Peter Kümmel
21686c0bbf
UNDO: single quotes in filenames are possible
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32582 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 19:35:32 +00:00
Peter Kümmel
4d5c24e80d
Ticket 6266 Quoting Problem with QProcess: don't think we need any quotes (at least on Linux)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32579 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 12:20:22 +00:00
Peter Kümmel
62adbdd307
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32502 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 09:32:38 +00:00
Peter Kümmel
68957712dd
cleanup error messages
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32501 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 09:30:28 +00:00
Vincent van Ravesteijn
472b09d735
Fix compilation without QProcess.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-12 14:04:21 +00:00
Uwe Stöhr
83b1c48846
replace links to bugzilla with links to trac
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32469 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 00:59:10 +00:00
Peter Kümmel
6fa6bcf1a9
just discovered qtcreators feature 'replace tabs on save' ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 22:43:38 +00:00