Commit Graph

13096 Commits

Author SHA1 Message Date
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
Stefan Schimanski
2c1c1b07a0 * Moving up from lower index shouldn't depend on existance of upper (and other
way round), OK by Uwe and Abdel


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18567 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 20:41:31 +00:00
Uwe Stöhr
6522da9571 Hebrew updates by Ran:
- Intro.lyx
- splash.lyx
- he.po 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18566 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 20:20:43 +00:00
Uwe Stöhr
5ea74525f2 generate_contributions.py: forgot this when adding Koji Yokota to the credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18565 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 19:53:27 +00:00
Jürgen Spitzmüller
c9a3b7d396 * src/frontends/qt4/ui/PrefConvertersUi.ui:
- fix layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18564 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 17:24:09 +00:00
Jürgen Spitzmüller
ac45b49fb9 Fix bug 2555:
* src/Text2.cpp:
	- (setFont): set font of inset as well, not only content
	-  (setCharFont): remove obsolete assert

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18563 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 17:02:29 +00:00
Richard Heck
b142178145 Make table readable no matter what the tab settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18562 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 16:58:42 +00:00
Jürgen Spitzmüller
603f454e44 * src/frontends/qt4/ui/PrefCopiersUi.ui:
- fix layout (bug 3772)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18561 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 16:58:16 +00:00
Stefan Schimanski
b5c295763d Patch from Bennett Helm:
* Updated URL for downloading Qt from trolltech.com.
* Changed references from DarwinPorts to MacPorts 
  (now that they seem to have finished the name/website transition).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18560 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 15:30:22 +00:00
Stefan Schimanski
91830fafa5 * with the MacOSX packaging option enabled its easy to fake a application
bundle using a symbolic link 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18559 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 15:26:30 +00:00
Stefan Schimanski
14af4831c4 * added MacOSX packaging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18558 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 14:06:35 +00:00
Stefan Schimanski
3033b52c1c * added WidgetFlags argument to DockView to set Qt::Drawer flag where needed
* added Qt::Drawer flag to TOC
* reverted Jürgen's patch (i.e. the source view is docked below the text again),
  wide drawers are not Mac-like (tm)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18557 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 11:38:28 +00:00
Michael Schmitt
e19509df72 * *.po: remerge (TOC has become Outline)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18555 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 08:11:56 +00:00
Michael Schmitt
79ef29f3eb * src/frontends/qt4/Dialogs.cpp:
* lib/ui/stdtoolbars.inc:
	* lib/ui/classic.ui: replace "TOC" by "Outline"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18554 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 07:38:38 +00:00
Michael Schmitt
e0dbe25368 * de.po: updates (more to come)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 07:30:58 +00:00
Uwe Stöhr
fdce65cd36 installer update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18552 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 23:35:28 +00:00
Uwe Stöhr
64e0eee0dd fix SCons (I forgot to add the new folder two days ago)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18551 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 23:24:18 +00:00
Lars Gullik Bjønnes
897436efbb Whitespace cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 22:27:45 +00:00
Uwe Stöhr
0e64103f92 add Koji Yokota to the credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18549 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 21:09:09 +00:00
Michael Schmitt
f1511e5f82 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18546 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 17:08:00 +00:00
Stefan Schimanski
03b14a403e * fix #3310: When you click on a line after the end of the text,
cursor jumps to the follwing math mode text


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18545 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 17:04:05 +00:00
Uwe Stöhr
827245f987 unicodesymbols: (last round of adding symbols)
- add dingbats
                - add geometrical shapes
                - add the missing card suit symbols
                - use Herbert's solution for the "℅" character

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 16:04:01 +00:00
Jürgen Spitzmüller
bd997f2cb9 * src/BufferParams.{cpp, h}
* src/graphics/PreviewLoader.cpp:
	- make member writeEncodingPreamble void.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18543 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 12:25:53 +00:00
Uwe Stöhr
cf8d0ca56b unicodesymbols: - add box drawing characters
- add characters supported by wasysym

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18542 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 11:44:13 +00:00