Commit Graph

13119 Commits

Author SHA1 Message Date
Georg Baum
1d64673c22 Fix bug 3759 for qt < 4.2
* src/support/qstring_helpers.cpp
	(toqstr): Use iconv for surrogate pairs
	(qstring_to_ucs4): ditto

	* src/support/qstring_helpers.h
	(qchar_to_ucs4): Remove obsolete comment, the doxygen doc is more
	accurate


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 09:39:19 +00:00
Michael Schmitt
7364821cf6 * po/de.po: fix minor typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18621 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 08:47:41 +00:00
Michael Schmitt
c6c684d0b5 * de.po: more updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18620 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 08:45:52 +00:00
Michael Schmitt
4f36b80d45 * po/sl.po: remove another invalid email address
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18619 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 08:23:34 +00:00
Michael Schmitt
7f368c81bf * pt.po: remove invalid email address (my mail server complains about it)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 07:51:49 +00:00
Michael Schmitt
cd91ccfca9 * bg.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 07:23:01 +00:00
José Matox
3cf2879745 Back to svn and preparing for rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 00:02:49 +00:00
José Matox
816b31ceff First release candidate for 1.5.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18612 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-01 00:00:28 +00:00
José Matox
92e397670c Last update to announce before release candidate 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18611 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 23:52:48 +00:00
José Matox
fbd205e70d Allow rc as suffix for releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18610 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 23:41:30 +00:00
José Matox
3897455b9c Update translations for first release candidate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18609 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 23:38:47 +00:00
José Matox
a70b79b238 Update announce with small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 23:33:08 +00:00
Uwe Stöhr
3a726dd28e Add Dov Feldstern to the credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18606 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 22:42:00 +00:00
Uwe Stöhr
77790e4555 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18605 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 22:11:23 +00:00
Bo Peng
fc82d491ab InsetListingsParams: allow key=value,key=value1 in listings parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18604 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 22:02:55 +00:00
Uwe Stöhr
44c4652673 Add Mostafa Vahedi to the credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18602 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 21:53:52 +00:00
Uwe Stöhr
6435eb18d6 installer:
- updates
 - support for Korean as LyX menu language

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18601 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 21:21:37 +00:00
Uwe Stöhr
6e4b8150bf lib/languages: remove unneeded comment (changes nothing, take this as whitespace action)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18600 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 20:51:23 +00:00
José Matox
35eb5ddb22 Add support for Farsi (thanks to Mostafa Vahedi).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18599 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 18:53:01 +00:00
Abdelrazak Younes
1c2cf3567c Put again the (slightly edited) caution warning from Georg Baum about abusing the ucs4_to_qchar() conversion with symbol fonts. This comment was accidentally deleted in rev 18593.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 16:40:11 +00:00
Bo Peng
46b898cf3b handle TableInsert in lyx_pot.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18597 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 14:56:07 +00:00
Jean-Marc Lasgouttes
43547cd11d Add Korean l10n from cghan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 14:35:38 +00:00
Jean-Marc Lasgouttes
f53cc789fb Add Japanese and Korean
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18595 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 14:31:40 +00:00
Jean-Marc Lasgouttes
c946a8295d il10n update from Koji Yokota
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18594 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 14:08:09 +00:00
Abdelrazak Younes
f8175cca5e This commit allows to support the full unicode range in GuiFontMetrics thus fixing the crash in this bug:
http://bugzilla.lyx.org/show_bug.cgi?id=3759

It also simplifies and fix the smallcaps case which was not correct WRT unicode. Even though I don't know if toUpper() means something in the non ucs2 range.

FYI, I used toqstr() to do the ucs4 -> ucs2 conversion when needed. This helper method works only with Qt >= 4.2. 

* GuiFontMetrics::smallcapsWidth(): changed to work with single ucs4 characters.
* GuiFontMetrics::xxx(): make sure that font metrics works with characters not in the ucs2 range.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:48:42 +00:00
Abdelrazak Younes
d075cb25b8 This patch transfer Inset::destroyed signal to InsetText and InsetMathNest thus freeing some memory as normal math chars and symbols won't have it.
It also solve a crash with non disconnect boost::signal and gcc-3.3 or 3.4.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18592 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:30:17 +00:00
Jean-Marc Lasgouttes
24fb9c5214 * src/MenuBackend.cpp (expandBranches): when there is no branch, just
insert a no-op entry "No Branch in Document!". Makes the branch
	feature more discorevable
	(expandDocuments, expandFormats, expandFloatListInsert):
	(expandCharStyleInsert, expandToc, expandBranches): fix message
	when no document is open.

	* lib/ui/stdmenus.inc: the insert>branch menu does not need to be 
	optional.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18591 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:07:48 +00:00
José Matox
4f387b58a1 Add a fallback to run lyx2lyx from the build directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:02:47 +00:00
Michael Schmitt
4cdd8f3428 * src/insets/InsetListingsParams.cpp: fix/improve message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18589 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 11:51:23 +00:00
José Matox
f8b689669c update announce to rc1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18588 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 11:20:29 +00:00
Bo Peng
3dc11ec08e Scons: check HAVE_DECL_MKSTEMP to fix a configuration error with gcc4 on Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 01:34:33 +00:00
Uwe Stöhr
0d2360c4a4 update installer: update also lyx.bat file (needed for new launcher)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 00:48:23 +00:00
Uwe Stöhr
b015bf44fd unicodesymbols:
- remove incorrect sign for information
 - add some character supported by the ascii-package
 - added some letterlike symbols

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 23:22:58 +00:00
Richard Heck
d5c666ceec Make OK button the default even after various sorts of resets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18584 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 22:01:12 +00:00
Michael Schmitt
87c96d95d9 * po/de.po: more updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18583 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 21:32:02 +00:00
Uwe Stöhr
de17055a12 unicodesymbols: support two more symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18582 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 21:25:23 +00:00
Michael Schmitt
6acdda13e9 * src/insets/InsetListingsParams.cpp: fix message: "latex" => "LaTeX"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18581 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 20:57:17 +00:00
Stefan Schimanski
6569cfc81e * avoid redraw if possible (OK by Abdel and Dov)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18580 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 19:38:22 +00:00
Michael Schmitt
0e0e15759a * po/de.po: more updates (listing dialog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18579 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 08:35:23 +00:00
Stefan Schimanski
57294cd9c7 * help future developers reading my code and wondering what the heck I am doing here with all those variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18578 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 07:30:17 +00:00
Stefan Schimanski
fb74387b44 * put debug variables into #ifdef 0 block. Good that modern computer
science can enforce good code quality by stopping compilation if
  unused variables are found.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18577 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 06:58:08 +00:00
Stefan Schimanski
6bb98d076f * removed the "dirty trick" to append a row with wrong start and
end (but start and end inside of the buffer limits) for the last
  empty row behind a newline.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18576 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 06:44:18 +00:00
Jean-Marc Lasgouttes
b5c00e2464 * config/qt4.m4 (QT4_DO_PKG_CONFIG): use = instead of == to check for equality with 'test' (bug 3770)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 06:00:31 +00:00
Uwe Stöhr
c5ca33dd61 unicodesymbols: add some missing punctuation characters again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-30 00:25:36 +00:00
Uwe Stöhr
b18a67fea0 unicodesymbols: add some missing punctuation characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18573 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 23:58:56 +00:00
Uwe Stöhr
54d00e19d5 unicodesymbols: add macro from Herbert Voss
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18572 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 22:13:03 +00:00
Michael Schmitt
d292c47a94 * po/*.po: remerge after "Listings" => "Listing" change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18571 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 21:45:46 +00:00
Michael Schmitt
78b71f9863 replace "Listings" by "Listing" (plural => singular)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18570 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 21:23:23 +00:00
Stefan Schimanski
880b6c4d6e 1. switch LFUN_UP/DOWN handling to a structural approach, i.e. the
dispatchers in mathed and text only do local work, i.e. only try to
move the cursor with their local knowledge, not globally as before in
the Cursor::goUpDown function before. The old approach used one of
brutefind functions as a last way out to really move the cursor up or
down. The result was some strange behavior that the nearest inset was
selected when jumping from math to text, not one in the next line. 
2. removed LFUN_FINISHED_UP/DOWN, as there seem to be no effect and it
seems to be obsolete.
3. target_x is working again, mainly by adding a textTargetOffset_
member to the Cursor which keeps the difference between the target_x
and the actual position of the cursor on screen. As long as
pos+offset=target is fulfilled the target_x is not touched and the
cursor keep the column while going up/down.
4. moved the text cursor up/down code to the Cursor class, in analogy
to the mathed code.
5. For 1 it is necessary to know the cursor position before the
dispatch. So this data is added to the Cursor.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18569 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 20:53:32 +00:00
Uwe Stöhr
9bfe2ef1a2 update he.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18568 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 20:42:23 +00:00