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