Commit Graph

11998 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
03c902a70d * Makefile.in.in (i18n.php): make the target depend on postats.sh
* postats.sh: make e-mail addresses less readable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17385 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 22:36:01 +00:00
Jean-Marc Lasgouttes
a7c2c8e3d5 * support/filetools.C (makeDisplayPath): if the file is in the lyx
support directory, return as a relative path (enclosed in brackets)

	* frontends/qt4/GuiView.C (updateTabs): use makeDisplayPath instead
	of onlyFileName. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17384 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 21:48:04 +00:00
Michael Schmitt
136403d64b remove pointless clear() in constructor (reported by Lars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17383 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 20:58:15 +00:00
Christian Ridderström
f36359c7f1 Changing ; to # (and testing to commit)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17382 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 20:48:30 +00:00
Abdelrazak Younes
45747320f0 fix bug 2483:
http://bugzilla.lyx.org/show_bug.cgi?id=2483

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 14:36:38 +00:00
Georg Baum
13f08c6215 Fix bug 3232
* src/insets/ExternalSupport.C
	(updateExternal): Don't forbid conversions using the default converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 09:12:32 +00:00
Uwe Stöhr
2f76056e6c Fix bug 3292:
http://bugzilla.lyx.org/show_bug.cgi?id=3292
(fix tab order)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17379 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 23:48:57 +00:00
Georg Baum
471b4ea315 Fix bug 2937 (from Jean-Baptiste LAMY)
* src/support/filename.C
	(DocFileName::mangledFilenam): Use a whitelist of allowed characters
	instead of an incomplete blacklist of disallowed ones


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17378 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 19:01:10 +00:00
Jean-Marc Lasgouttes
e2d91ecfc2 add "Reconfigure" to the LyX menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17377 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 15:30:29 +00:00
Jean-Marc Lasgouttes
062c0017a4 Another fix for bug 3081 (related to booktabs this time)
* tabular.C (TeXRow): do not forget to increment the row counter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17376 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 10:42:34 +00:00
Lars Gullik Bjønnes
607e91b347 Fix some entries. Either fix or clear fuzzy entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17375 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 22:44:04 +00:00
Jean-Marc Lasgouttes
b01a9dc187 typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17374 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 22:27:37 +00:00
Jean-Marc Lasgouttes
fa637e5377 * src/frontends/qt4/QLMenubar.C (macxMenuBarInit): use the new support
Qt 4.2 for Mac menus (no merging is done for qt < 4.2 now).
        * src/frontends/qt4/Action.C (Action): initialize menu role to NoRole
	for qt >= 4.2.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17373 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 19:54:41 +00:00
Michael Schmitt
49b2b166b7 po/de.po: small update (10 messages)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:55:31 +00:00
Georg Baum
d1f8c007f0 Get rid of some locale dependant functions
* src/output_plaintext.C
	(writePlaintextParagraph): Use compare_ascii_no_case instead of
	compare_no_case, since the strings to compare are pure ASCII anyway.

	* src/frontends/qt4/QPrefsDialog.C
	(setComboxFont): ditto

	* src/MenuBackend.C
	(Menu::checkShortcuts): ditto

	* src/frontends/qt4/QLImage.C
	(QLImage::loadableFormats): Use ascii_lowercase instead of lowercase
	since the input is pure ASCII anyway.

	* src/tex2lyx/text.C
	(splitLatexLength): ditto

	* src/support/lstrings.[Ch]
	(compare_no_case): Get rid of both std::string variants
	(lowercase): Get rid of std::string variant
	(uppercase): Change std::string variant to docstring

	* src/support/tests/regfiles/lstrings: Add new expected output

	* src/support/tests/lstrings.C: Add tests for docstring functions


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17371 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:54:03 +00:00
Michael Schmitt
7fe43f1aa0 install images/math/frac-square.xpm (used in dialog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17370 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:42:51 +00:00
Michael Schmitt
c9be414c24 * po/*.po: remerge (two new messages)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17369 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:22:10 +00:00
Abdelrazak Younes
a7d8653a46 Document symbol fonts hack (text from Georg Baum).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17368 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:22:54 +00:00
Michael Schmitt
b242a84807 install frac-square.xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17367 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:18:24 +00:00
Bo Peng
adc618f6e7 Change windows installer comments from ; to #
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:03:30 +00:00
Georg Baum
dca251a0ef remove stray dollar sign
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:37:48 +00:00
Georg Baum
f503258258 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:36:36 +00:00
Georg Baum
e0845a1e53 fix thinko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17363 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:29:04 +00:00
Abdelrazak Younes
ba62665f96 * support/qstring_helpers.h: erase ucs4_to_qstring() method.
* FontMetrics.h: only one string width() method.

* Painter.h: only one text() method.

* all other files: adapt to above API change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:13:08 +00:00
Abdelrazak Younes
85f66bcd90 Fix support lib dependency problem.
* docstring.C: Implement utf8ToUcs4() locally.

* all other files: remove utf8ToUcs4().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 12:46:44 +00:00
Abdelrazak Younes
52eb91c94f add config.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 11:18:37 +00:00
Abdelrazak Younes
3f6021eaeb Add mention of CJK.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 11:03:37 +00:00
Georg Baum
8765ab59cd Almost fix 'make check'. The only remaining problem is an undefined
reference to lyx::utf8ToUcs4.
I did not fix this since it is an interface violation that should be fixed
otherwise.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:31:01 +00:00
Georg Baum
2655d46b03 fix 'make check' by removing useless namespace lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17357 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:29:12 +00:00
Jean-Marc Lasgouttes
20bb4a911f typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:24:54 +00:00
Georg Baum
56eea075fd forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17355 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:03:58 +00:00
Georg Baum
0418d14704 Fix character classification functions by using qt (bugs like 3270 and 1247)
* src/support/lstrings.C
	(uppercase): Use qt instead of non working libc/home grown solution
	(lowercase): ditto
	(local_lowercase): Use qt instead of libc tolower for ucs4 chars

	* src/support/qstring_helpers.C
	(qstring_to_ucs4): Use qchar_to_ucs4 because of the assertion

	* src/support/lstrings.h: Add some documentation

	* src/support/qstring_helpers.h
	(is_utf16): New function: Tests whether an ucs4 character is also a
	valid utf16 character
	(qchar_to_ucs4): Assert on is_utf16()
	(ucs4_to_qchar): Replace old assertion with better is_utf16()

	* src/support/textutils.h
	(isLetterChar): Delete non-working implementation
	(isPrintable): Ditto
	(isPrintableNonspace): Ditto
	(isDigit):

	* src/support/textutils.C: New file, contains new implementations
	using qt of the functions in textutils.h

	* src/support/Makefile.am: Add textutils.C

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:03:21 +00:00
Bo Peng
070138899e Scons: fix installation of language directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17353 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 05:52:36 +00:00
Jean-Marc Lasgouttes
cd4b6edc73 typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17351 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 22:18:13 +00:00
Lars Gullik Bjønnes
144e61bc10 Fix-up damage done by overeager script in r15422
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 21:17:24 +00:00
Jean-Marc Lasgouttes
23b59966c7 * lyx_cb.C (insertPlaintextFile): delete selection before insertion
and handle undo correctly (bug 3204)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 20:16:45 +00:00
Jean-Marc Lasgouttes
e5a46922e9 * GuiView.C (updateTab): do not update early if current tab has
changed (bug 3254)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17344 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 19:42:48 +00:00
Jean-Marc Lasgouttes
7dd29bb818 Move translated files to their own directory
What I did:

* move xx_foo.ext to xx/foo.ext

* update Makefile.am to make install work

* minimally update scons_manifest.py (I'd be surprised to see it
  work).

* update i18nLibFileSearch to use the new naming scheme, and keep
  temporarily some code that checks the old method.

* update image paths in .lyx files

* update name of files (examples in tutorial, for ex.) in lyx files

What is definitely broken:

* cmake (did not touch it)

* TOC files (I am not sure how the code works)

I would be surprised if nothing else was wrong. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 18:12:03 +00:00
Jean-Marc Lasgouttes
07aead5b21 Fix bug 3080
* src/paragraph.C (adjust_row_column): renamed from adjust_column_count;
	add texrow argument and adjust row as needed.
        (startTeXParParams, endTeXParParams, simpleTeXOnePar): adjust to above 
	changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17342 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 13:20:29 +00:00
Jean-Marc Lasgouttes
447c382829 update Hebrew translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17340 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 11:33:29 +00:00
Michael Schmitt
f6aad90641 when running msgfmt (from the gettext package), perform all checks and output statistics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17339 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 09:44:32 +00:00
Michael Schmitt
d6c60193d6 move plaintext() implementation to MathMacroTemplate.C;
support localization


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 09:27:11 +00:00
Georg Baum
914e698b8d * src/support/filetools.C
(makeLatexName): Exclude ", otherwise we would trigger the same
	problem of unbalanced quotes as in bug 3266


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17336 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 09:00:28 +00:00
Enrico Forestieri
dc61ab467a Fix bug 3233
* src/TextMetrics.C
	(TextMetrics::setHeightOfRow): correctly account for sectioning
	environments in order to add the topsep space before them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17335 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 23:58:16 +00:00
José Matox
13c6c959c9 Correct the name of Portuguese and Brazilian variants of Portuguese language, fix bug 1627
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 23:43:18 +00:00
Joost Verburg
fce3a8c36e updated dependency package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 23:10:46 +00:00
Jean-Marc Lasgouttes
883e83c8e0 make the code to avoid multiple warnings actually work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 22:54:19 +00:00
Georg Baum
b555834103 Fix bug 3266
* src/support/filetools.C
	(makeLatexName): Don't set the 8th bit of characters to 0.
	This is not needed anymore, since we don't use isalpha() anymore,
	but a whitelist of allowed characters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 20:51:05 +00:00
Georg Baum
bd02196f4d convert to utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 19:42:28 +00:00
Jean-Marc Lasgouttes
6a9ec37d39 update man page for 1.5 (part of bug 2694)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 18:01:53 +00:00