Richard Heck
0940cd77d4
Better way of doing these checks, suggested by Enrico.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36356 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 22:17:53 +00:00
Richard Heck
d764a97cf4
Hadn't see this empty_docstring() thing before. Very useful.
...
Add a comment to strfwd.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36355 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 22:11:33 +00:00
Richard Heck
67a4b590aa
We don't generally use "static" this way in the LyX code any more. (Just
...
a bit of cleanup while studying other things....)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36354 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 22:00:42 +00:00
Richard Heck
e54afe6367
Remove redundant code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36353 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 21:41:23 +00:00
Vincent van Ravesteijn
4397cef1f8
src/support/debug.h/cpp:
...
- rename the private member dt to dt_,
- rename second_ and second_used_ to second_stream and second_enabled_ to have the same terminology as the stream_ and enabled_ member,
- remove FIXME because now we have a Qt pane showing the messages,
- adjust some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 00:22:47 +00:00
Vincent van Ravesteijn
a4fd294373
Add a static assert to prevent compilation on platforms where int/usigned int are not 32-bits/4-bytes.
...
This is added to be sure that the to-be-added author hash is always 32-bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36126 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 16:51:09 +00:00
Pavel Sanda
5075f0f25f
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35973 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 20:24:29 +00:00
Peter Kümmel
d0feccc7ed
switch mouse to busy symbol every 3 seconds and then back to show the
...
user something is done in the background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-23 10:49:45 +00:00
Peter Kümmel
cf570e0a8d
update .am files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35742 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 01:15:12 +00:00
Peter Kümmel
f54200b078
no QtGui in support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35740 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 00:07:48 +00:00
Peter Kümmel
391634eb67
first include config.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35738 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 23:58:22 +00:00
Peter Kümmel
699ff50301
line ending
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35736 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 23:51:31 +00:00
Peter Kümmel
c259957b69
add generic helper class for calling functions in gui thread
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35735 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-20 23:50:49 +00:00
Pavel Sanda
0978e91ecf
This stuff is general enough for lstrings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35646 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 11:01:15 +00:00
Uwe Stöhr
b33182bc3d
filetools.cpp: introduce a new method to be able to distinguish between valid LaTeX filenames and filenames causing troubles on some DVI viewers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35514 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 02:39:22 +00:00
Uwe Stöhr
f772315090
filetools.cpp: revert r35499 until we found a proper solution as discussed in http://article.gmane.org/gmane.editors.lyx.devel/129471
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 16:04:52 +00:00
Uwe Stöhr
052f689daa
filetools.cpp: fix #6916 - round parentheses are valid in filenames (they are even standard in paths in WinXP 64bit); they should also make no problems on UNIX systems
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 14:25:19 +00:00
Richard Heck
4244a15ca3
Keeping the comma leads to bug #6914 , since we end up with mangled names
...
like:
0_tmp_the,_test_tst.bib
and then code like:
\bibliography{0_tmp_the,_test_tst}
which confuses LaTeX. Easy solution: Mangle the comma.
Jurgen, this is in branch, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35493 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 16:12:02 +00:00
Enrico Forestieri
4a2243135c
Instead of specifically addressing glibc, use NULL as second argument
...
of realpath() when PATH_MAX is not defined in limits.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 17:53:40 +00:00
Pavel Sanda
1291b07c05
PATH_MAX is not guaranteed by POSIX (fixes bug #6906 ).
...
Patch from Samuel Thibault.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35452 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-19 21:29:09 +00:00
Abdelrazak Younes
ef3c8c10e1
Fix gcc warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35294 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-06 07:11:27 +00:00
Abdelrazak Younes
cb40d51906
whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35293 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-06 07:10:35 +00:00
Stephan Witt
9b1e0fc3c8
avoid spell check with out of range start value
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35292 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-06 06:55:31 +00:00
Stephan Witt
1d499cbf73
avoid compiler warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35288 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-06 06:14:25 +00:00
Stephan Witt
4bde2bc7bc
implement the paragraph check feature for apple speller
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35276 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 07:48:15 +00:00
Stephan Witt
4b6fe42475
avoid assignment in if-expression
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35245 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-31 13:25:29 +00:00
Stephan Witt
fa3c8d6894
prepare native spell checker interface for check of multiple words at once
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35183 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-22 13:55:28 +00:00
Jean-Marc Lasgouttes
8a9d765739
Bug #6842 , part II
...
Make sure that Package can be initialized several time.s
Make sure that Package is not used before being initialized.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35080 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-07 11:42:27 +00:00
Jean-Marc Lasgouttes
e4f2484cb5
Implement LFUN_SPELLING_REMOVE (patch from switt)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:10:40 +00:00
Jean-Marc Lasgouttes
79346452c7
silence some warnings by removing unused parameters
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35053 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 19:00:57 +00:00
Jean-Marc Lasgouttes
4c3333d1df
tiny simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-03 22:31:16 +00:00
Peter Kümmel
30bae1710a
cmake: fix merged build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34954 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 22:24:30 +00:00
Peter Kümmel
c09d33120d
UNDO: enc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 16:09:26 +00:00
Pavel Sanda
59598a0d25
Fix tarball creation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 14:17:44 +00:00
Peter Kümmel
56a7a67783
add first version of .lyx file encryption. It's disabled by default and could out-of-the-box only by compiled on Linux with cmake and with openssl-devel packeges.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:26:11 +00:00
Enrico Forestieri
be3fba333b
Remove left over.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34919 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 14:43:12 +00:00
Enrico Forestieri
952a31a43e
Fix output to terminal when LyX is launched from a GUI on *nix
...
aka
Surrender to Windowsisms
aka
Resistance is futile, you will be assimilated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34918 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 14:30:46 +00:00
Peter Kümmel
2467a88cde
no output to stdout when redirecting, cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 09:57:46 +00:00
Peter Kümmel
146b1083a1
fix stupid renaming error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34914 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 08:14:00 +00:00
Peter Kümmel
7c4122cc4b
lyx sytle
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34912 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 08:09:38 +00:00
Peter Kümmel
52e58a3700
CamelCase
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34911 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 06:08:12 +00:00
Peter Kümmel
48dca70f9e
only guard terminal output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34910 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 05:55:31 +00:00
Stephan Witt
aebcaa74b0
correct result array use in makeSuggestionAppleSpeller
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34862 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 22:04:29 +00:00
Stephan Witt
7b34b13b71
avoid LYX_PLATFORM_DARWIN10 macro
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34861 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 21:30:47 +00:00
Stephan Witt
0a326e90f7
provide native spell checker for Mac OS X
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 17:40:50 +00:00
Stephan Witt
55afdeb980
restore original version
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-03 16:25:15 +00:00
Stephan Witt
2bb7b6d4ea
add checks for empty word list to avoid crashes later in MyThes::binsearch()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34742 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-02 07:03:15 +00:00
Jean-Marc Lasgouttes
af928c503d
rework regexp processor magic ; make tr1 work with autotools
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34730 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 11:04:30 +00:00
Peter Kümmel
69036ced37
TR1: move TR1 check to config.h / buildsystem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34729 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 10:53:45 +00:00
Peter Kümmel
103310c401
TR1: check in cmake for GCC version, fallback in checktr1.h for other build systems, no support of regex in gcc 4.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34728 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-30 08:47:41 +00:00