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
Peter Kümmel
f69ec61315
no timeout when starting up a process, cleanup error message when error code in not 0
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32376 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 22:40:16 +00:00
Vincent van Ravesteijn
0acff0aa75
Add a FileName::refresh function and replace one call to lastModified which was just meant to refresh the file info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32354 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 02:50:34 +00:00
Pavel Sanda
7814b9c857
Comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32336 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 13:40:40 +00:00
Peter Kümmel
11020c50f1
add argument to suppress event processing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32334 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 13:28:30 +00:00
Peter Kümmel
eac9f84482
fix unused var warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32331 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 11:51:39 +00:00
Peter Kümmel
5dabc94547
fix init order
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32330 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 11:48:38 +00:00
Peter Kümmel
0af92c85e9
Enable user input processing when an external process is busy.
...
If it breaks it anything just flip the bool to disable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32329 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 11:20:00 +00:00
Peter Kümmel
74e77476b5
also process user input, trigger more processEvents
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32328 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 11:08:24 +00:00
Pavel Sanda
6598b9e2a4
gcc complains because of inicialization order
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 11:06:29 +00:00
Peter Kümmel
248712bc64
coding style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 10:39:48 +00:00
Peter Kümmel
1eb72710eb
also delete process on errors, use RAII therefore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32325 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 10:35:32 +00:00
Peter Kümmel
314b79576e
more cleanup without behavior changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 10:11:06 +00:00
Peter Kümmel
a0bdf5e666
Move some code from the process branch into trunk.
...
Don't incorporated any progess stuff.
Behavior when starting a process is UNTOUCHED, but could simply changed by setting progessEvents to true.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32323 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 09:51:13 +00:00
Jean-Marc Lasgouttes
d81c4751df
add a new bformat version
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32282 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-02 09:38:14 +00:00
Jean-Marc Lasgouttes
3f22ae8f1d
revert previous fix for Snow Leopard crashes and apply new one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32067 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 17:04:47 +00:00
Jean-Marc Lasgouttes
5ac479af5e
constify
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31968 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 13:47:25 +00:00
Jean-Marc Lasgouttes
42546d3f2c
Disable forking on Mac OS X. This should fix crashes on Snow Leopard.
...
It would be better to
* detect OS X version at run time (how??)
or
* use proper threads for autosave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-23 16:50:40 +00:00
Jean-Marc Lasgouttes
d23a75a3dc
Remove dead includes in FileName, since we do not use mkstemp anymore
...
Do not check for headers strings.h, io.h, process.h
Do not check for functions mkstemp, mktemp
Do not check for declarations of istreambug_iterator, iterator, mktemp
NOTE to cmake/scons maintainers: you should also get rid of the handling of those symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31646 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-16 09:32:50 +00:00
Jean-Marc Lasgouttes
06a229faf8
remove traces of libtool and of obsolete autoconf macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31544 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 15:13:20 +00:00
Abdelrazak Younes
da47dc051e
Fix gcc4.4 warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31485 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-30 13:50:07 +00:00
Richard Heck
fca8ba713f
Fix doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-24 11:58:09 +00:00
Enrico Forestieri
3f5c1bb73a
Correctly reinitialize ind when successive lines are to be indented.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 22:58:55 +00:00
Enrico Forestieri
a55a0b8f2d
Fix bug #6215 (spotted by Vincent).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31408 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 16:15:09 +00:00
Pavel Sanda
4304901faf
Add find debug level. Patch from Tommaso.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 14:39:00 +00:00
Enrico Forestieri
0695afbc55
Don't rely on the signal delivered by raise(), as this may cause a bogus
...
assertion when Qt is compiled in debug mode, and simply directly perform
an emergency cleanup when a shutdown event occurs on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31029 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 13:19:02 +00:00
Enrico Forestieri
50fa5f24d3
Move OS specific code to proper place. Also make sure that no other
...
handler functions are called after processing shutdown events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31027 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 00:42:45 +00:00
Pavel Sanda
856e95cf44
Hopefully this works on other archs too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30960 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-09 20:09:08 +00:00
Abdelrazak Younes
0821902b99
gcc compilation fix and introduce new splice method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30959 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-09 20:06:54 +00:00
Abdelrazak Younes
1a27aaca77
RandomAccessList: new swap() method for swapping two elements without any copy.
...
LFUN_PARAGRAPH_MOVE_UP and LFUN_PARAGRAPH_MOVE_DOWN: use that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30958 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-09 19:51:12 +00:00
Vincent van Ravesteijn
504bc83a64
Fix bug #4473 : Incorrect LaTeX output for inter-word spaces.
...
This is a hack necessary because \\textcolor is a bit buggy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30773 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 10:44:36 +00:00
Jean-Marc Lasgouttes
4dde959e6c
fix tests
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30556 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 10:37:17 +00:00
Jean-Marc Lasgouttes
fa1ee437e5
* gettext.cpp (translateIfPossible): @Use the same tests as i
...
Paragraph::translateIfPossible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30506 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 14:50:51 +00:00
Richard Heck
969a919a0d
More comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30415 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 19:55:03 +00:00
Richard Heck
3a41879cb4
Add and update some comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 15:29:33 +00:00
Pavel Sanda
0bde349a04
Capitalize
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30293 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 22:02:47 +00:00
Pavel Sanda
336164a9ce
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 21:53:31 +00:00
Enrico Forestieri
170d7a2ab1
The QFileInfo::refresh() bug is fixed in Qt 4.5.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 20:39:41 +00:00
Georg Baum
e0acb978ff
fix bug 5798: Translate float names
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 18:16:43 +00:00
Enrico Forestieri
5fb0ed491c
Account for the weird case where p2 is longer than p1, such as p1 == "path"
...
and p2 == "Path/". This would be really weird, but one never knows...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29855 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 18:27:29 +00:00
Enrico Forestieri
70351330a0
Another tweak to account for when both paths end with '/'.
...
The problem here is making sure that path_prefix_is() behaves exactly
as would a case insensitive prefixIs(). Anyway, this is still better
than trying to fix the semantics of common_path().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29846 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 18:37:03 +00:00
Enrico Forestieri
2fb21c28b5
Simpler things are almost always better.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29843 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 17:30:02 +00:00
Enrico Forestieri
eb9151060d
Account for the corner case p2.length() == 1.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29838 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 00:23:44 +00:00
Enrico Forestieri
e2c763d9f6
Avoid a string copy and a small tweak.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29837 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-24 21:09:41 +00:00
Enrico Forestieri
7ae4f6ac6f
Avoid calling prefixIs() if not needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:16:13 +00:00
Enrico Forestieri
6d1d27eb90
Take into account file system case sensitivity when checking whether
...
a path starts with a given prefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29793 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 22:34:43 +00:00
Uwe Stöhr
8f3acbb484
remove unused includes of convert.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29772 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 21:02:14 +00:00
Enrico Forestieri
9b9a3cf0c0
Another compile fix for msvc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29741 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 20:28:50 +00:00
Jürgen Spitzmüller
233ff911de
* potential compile fix for msvc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29739 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 19:59:48 +00:00
Jürgen Spitzmüller
d5a41946a6
* calculate the size of the iconv output buffer (bug 5951).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29735 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 15:27:54 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Richard Heck
876dc0d54e
Fix up a few little things after r29065. If we're calculating the autosave
...
filename in a different way, we need to make sure we always do it the same
way. Makes more sense to do this in Buffer anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29073 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 03:13:46 +00:00
Jürgen Spitzmüller
5be56b517a
Fix bug 5827 (validate date-insert argument):
...
* src/support/os*.{cpp,h}:
- new function is_valid_strftime that validates strftime arguments,
OS dependant (win32 differs here)
* src/Text3.cpp:
- use is_valid_strftime in LFUN_DATE_INSERT status check.
* src/frontends/qt4/GuiPrefs.{cpp, h}:
- new GUI validator for strftime.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28932 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:22:54 +00:00
Vincent van Ravesteijn
1a94a63db8
Adjust the comment about QFileInfo::operator==().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:49:11 +00:00
Enrico Forestieri
12d1cb2076
Fixes for gcc4 on cygwin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28842 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 22:35:55 +00:00
Vincent van Ravesteijn
83dc36d66c
Fix an infinite loop with Qt4.5 when creating two unnamed files.
...
In Qt4.5, QFileInfo::operator==() compares the file locations instead of the files themselves. Therefore, an extra check is needed.
see Qt4.5 documentation:
http://doc.trolltech.com/4.5/qfileinfo.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28748 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 23:30:08 +00:00
Jean-Marc Lasgouttes
9c0b6cf700
really reset the LANGUAGE variable to its old value, instead of some other guessed value
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28737 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 13:49:53 +00:00
Enrico Forestieri
bd8788f377
Fix bug 5802 ( http://bugzilla.lyx.org/show_bug.cgi?id=5802 )
...
Japanese char between math insets becomes wrong in TeX output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28732 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 06:47:26 +00:00
Jean-Marc Lasgouttes
24e29ad498
compilation fix on openbsd (bug 5650)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28445 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:34:40 +00:00
Jean-Marc Lasgouttes
209f2167f0
fix compilation with external boost
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:27:42 +00:00
Pavel Sanda
80e87042b4
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28296 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 21:01:32 +00:00
Pavel Sanda
8883d5438e
Recognize also dia's compressed format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28216 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 16:31:59 +00:00
Jürgen Spitzmüller
b0edde64a0
* environment.cpp:
...
- correct return value of setenv.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28182 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 14:41:24 +00:00
Pavel Sanda
26e3d3ff66
Fix make check
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 22:49:32 +00:00
Jean-Marc Lasgouttes
1b913ff871
fix compilation of check_filetools
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:18:29 +00:00
Pavel Sanda
4851e1c9f5
Add comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-13 00:55:12 +00:00
Pavel Sanda
14b34d5afd
Add comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 20:29:58 +00:00
Richard Heck
9d48ad4f74
Improvements to the parser that extracts the "family name". We now get
...
the last name, with the "von" part, even when commas are not used in the
BibTeX file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 23:35:08 +00:00
Enrico Forestieri
077baded5c
Fix bug 641 (Detect stale lyxpipes after crash)
...
http://bugzilla.lyx.org/show_bug.cgi?id=641
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27708 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 01:22:05 +00:00
Enrico Forestieri
0a2b62f468
According to http://en.wikipedia.org/wiki/ISO-2022-JP , a character may be
...
encoded using 1 or 2 bytes, but it may be prefixed by 3-byte escape sequence.
So, a single ucs4 char could need a maximum of 5 bytes. I think that it
is better to be safe than sorry...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27645 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 19:32:22 +00:00
Enrico Forestieri
487af713fb
Hrmpf.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 19:13:41 +00:00
Enrico Forestieri
b48de25bb1
Was forgetting this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27643 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 19:05:47 +00:00
Enrico Forestieri
01c6c4879e
After a better understanding of the problem, restrict the fix for
...
bugs 5216, 5280, and 5489 to the ISO-2022-JP encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 18:48:56 +00:00
Stephan Witt
2d1e0ffabd
fix some memory leaks (NSAutoreleaseNoPool)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 21:51:41 +00:00
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
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
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
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
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
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
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
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
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