Commit Graph

19428 Commits

Author SHA1 Message Date
André Pönitz
0a24167e51 more robust. I get spurious crashes in this area... maybe c_str()
instead of data() would be in order, too


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25402 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-28 18:34:19 +00:00
Enrico Forestieri
698bf834cf The braces are not needed when using the force flag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25399 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-27 20:12:06 +00:00
Uwe Stöhr
5178e1fb75 German UserGuide.lyx: updates by Hartmut and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25393 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-26 22:44:01 +00:00
Pavel Sanda
e6e83a6272 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25392 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-26 21:42:39 +00:00
Pavel Sanda
2889cda870 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 23:59:19 +00:00
Abdelrazak Younes
a54850d762 GuiApplication::resetGui(): reset as many things as possible, including menus and toolbars (not sure about Mac global menubar yet). This means that except for already opened dialog, all ui rc settings are taken into account without the need to restart.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25390 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 18:03:38 +00:00
Abdelrazak Younes
1d109d8c6f microptimisation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25389 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 16:18:27 +00:00
José Matox
1b2b5726be Fix missing include (QMessageBox) and clean extra whitespaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25388 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 15:02:18 +00:00
Abdelrazak Younes
d748af0299 Add a preference combo box for the preferred user interface language. The rc variable gui_language now require a language name and not its code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25387 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 13:32:27 +00:00
Abdelrazak Younes
1c83bf9420 GUI language via RC: some bug corrections.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25386 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 11:10:10 +00:00
Abdelrazak Younes
39393bf788 Introduce Debug::LOCALE for locale debugging.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25385 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 10:53:34 +00:00
Abdelrazak Younes
162b3b3b30 Fix toc and source-view initial showing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25384 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 07:23:30 +00:00
Pavel Sanda
07af8fecb5 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 23:07:38 +00:00
Pavel Sanda
a0918e4fae * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 17:28:35 +00:00
Abdelrazak Younes
ceb43a2d1f revert 25377. That was not doing anything useful!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 13:29:15 +00:00
Abdelrazak Younes
43d9183798 Idea from JMarc:
Merge env_gui_language into gui_language. "auto" now means that the language will be retrieved from the environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25380 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 13:23:44 +00:00
Abdelrazak Younes
b04c22ba67 Add two RC variables that can be used to set the GUI language:
- env_gui_language: set to true (default) if the language is to be retrieved from current environment variable.
- gui_language: specify language for GUI strings. Only used if env_gui_language is false


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25379 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:55:40 +00:00
Abdelrazak Younes
928c1daa55 Messages::get(): Add two error messages just in case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:45:57 +00:00
Abdelrazak Younes
bcfedd4112 get_locale_dir(): add a fallback to po/ driectory in source tree in case LyX xas launched with '-sysdir' on a source tree lib/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:43:30 +00:00
Jean-Marc Lasgouttes
14d00c9d24 Doh! Forgot target name...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25376 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 10:16:36 +00:00
Jean-Marc Lasgouttes
2c0f0d3312 stupid off-by-one error in r25373
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25375 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 09:57:38 +00:00
Jean-Marc Lasgouttes
71860fbc86 suppress warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25374 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 09:52:43 +00:00
Jean-Marc Lasgouttes
cfbe5dd9e1 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=3580
* Paragraph.cpp (isChar): new method; returns true when pointer is on 
	a character that is not a letter. Note that a footnote inset, for 
	example is neither a letter nor a character.

	* Text.cpp (cursorForwardOneWord, cursorBackwardOneWord): rewrite by
	using 3 character categories: letters, characters and others. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 09:19:52 +00:00
Pavel Sanda
f6d0205398 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25372 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 08:45:52 +00:00
Pavel Sanda
78356819ea Move LFUN_ALL_INSETS_TOGGLE dispatch to BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25371 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:52:49 +00:00
Pavel Sanda
4080b7cc24 Move LFUN_GRAPHICS_GROUPS_UNIFY dispatch to BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25370 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:43:47 +00:00
Pavel Sanda
f43129f315 Fix includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25369 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:37:14 +00:00
Pavel Sanda
397afb607f Move LFUN_NOTES_MUTATE dispatch to BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25368 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:18:06 +00:00
Enrico Forestieri
4fa59cbd9b Fix bug 4320
http://bugzilla.lyx.org/show_bug.cgi?id=4320


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25367 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 05:51:15 +00:00
Enrico Forestieri
c628af8381 Final touch for bug 4966.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 05:26:12 +00:00
Uwe Stöhr
a79effc5c2 UserGuide.lyx: more updates for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25364 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 23:57:36 +00:00
Uwe Stöhr
00a4f681ce Spanish UserGuide.lyx: big update from Ignacio to make it ready for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25363 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 22:28:08 +00:00
Uwe Stöhr
9ca3fb41e6 UserGuide: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25362 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 22:13:05 +00:00
Jürgen Spitzmüller
8cbc28d880 * src/Encoding.{cpp,h}:
- build an exception list of characters that must be output as LaTeX command in any case
	  (except in utf8-plain). I.e., the utf8 encodings now also honour the "force" flag.
* lib/unicodesymbols:
	- add "force" flag to combine characters. Fixes rest of bug 4946.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25361 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 18:00:43 +00:00
Jürgen Spitzmüller
8afc1df32d * fix the fix of the polutonikogreek definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25360 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 13:29:56 +00:00
Jürgen Spitzmüller
f3e8515c92 * correct polutonikogreek definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25359 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 13:15:18 +00:00
Uwe Stöhr
b20c67a142 splash.lyx: update the files to latest fileformat and fix some minor formatting issues with URLs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25358 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-23 00:11:21 +00:00
Uwe Stöhr
e52b89a705 German documentation updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25357 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 23:38:53 +00:00
Uwe Stöhr
e2e78fa20a - support for polytonic Greek, fileformat incremented to 338, fixes bug 4969, patch by me and Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 23:21:46 +00:00
Enrico Forestieri
419b5a1551 Fix the new incarnation of bug 4687
http://bugzilla.lyx.org/show_bug.cgi?id=4687


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25355 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 22:32:48 +00:00
Uwe Stöhr
eb70feb21e UserGuide.lyx: some index fixes for the non-english version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25354 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 12:31:42 +00:00
Uwe Stöhr
2766b966f5 UserGuide.lyx: revert a part of the last commit as this causes datalosses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25353 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 12:30:38 +00:00
Uwe Stöhr
bb9b48adc6 UserGuide.lyx: update the description of index handling to the latest changes to use xindy if possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 12:05:56 +00:00
Uwe Stöhr
3c32bbfa5b UserGuide: fix two bugs spotted by Helge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25351 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 23:00:41 +00:00
Uwe Stöhr
8dd1a1759a - documentation: some preamble fixes, part 3/3
- French, Spanish Extended.lyx: remove section that is already included in the FAQ and the UserGuide

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25349 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 14:21:40 +00:00
Uwe Stöhr
ce30d81fe8 documentation: some preamble fixes, part 2/3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25348 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 13:48:27 +00:00
Jürgen Spitzmüller
49e4763f6b * Paragraph.cpp (latexSurrogatePair):
- do not use braces for combinated characters that are natively output (as unicode glyphs)
	  (fixes part of bug 4946)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25347 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 07:12:56 +00:00
Uwe Stöhr
d6f5d4f225 documentation: some preamble fixes, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25346 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 01:51:53 +00:00
Enrico Forestieri
43b22acf48 Fix bug 4966
http://bugzilla.lyx.org/show_bug.cgi?id=4966


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25345 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 01:13:22 +00:00
Uwe Stöhr
cae1c03bf1 Math.lyx: the original issue of bug 4687 is now fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25341 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 22:01:27 +00:00