Commit Graph

14032 Commits

Author SHA1 Message Date
Abdelrazak Younes
b5ff27fdd1 Cleanup in order to better understand bug 3043 and 3561.
* switchEncoding(): simplify return logic (transform 'and -> do' to 'or ->return')


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 17:10:10 +00:00
Uwe Stöhr
93bca90c8e unicodesymbols: fix character order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 17:03:44 +00:00
Jürgen Spitzmüller
5f025227c3 * lib/unicodesymbols: add endash and emdash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 16:08:01 +00:00
Jürgen Spitzmüller
7f4becba15 * src/Encoding.cpp (latexChar):
- assure the encodings are proper initialized.
	  supposedely fixes bugs 3561 and 3562 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18221 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 15:08:27 +00:00
Jürgen Spitzmüller
8b238ec805 Fix remaining parts of bug 3146.
* src/Cursor.cpp:
	- new helper function parbreak that checks whether a blank line is
	  to be inserted or not (currently only relevant for ERT content)
	- (selectionAsString): use parbreak instead of hardcoded "\n\n"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 08:57:53 +00:00
Jürgen Spitzmüller
9ff14f38ef * lib/encodings: just a tiny reordering: move utf8-plain to those encodings that do not load a package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18219 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 06:00:29 +00:00
Uwe Stöhr
01a780bd89 installer:
- using Joost's patched pdfopen/pdfclose programs as these now also work for Acrobat 8 using the latest version
-> Could get rid of ugly hack that was only used for Acrobat 8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18218 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 01:19:52 +00:00
Uwe Stöhr
34a87dc41d lib/languages:
- add Country codes for Japanese and Chinese
- add info about Korean country code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 21:49:40 +00:00
Uwe Stöhr
80b94c6bf5 Georg's patch for bug 3043:
Introduces new encodings for the CJK-languages.
The CJK-languages can now be selected from LyX's menu.
For remaining small problems, see the thread "Help needed for bug 3043" on the devel-list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 20:26:02 +00:00
Christian Ridderström
54d2810b01 Changed to using 'rc' instead of 'pre'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18214 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 19:10:15 +00:00
Uwe Stöhr
05ba23093e EmbeddedObjects manual: two fixes reported by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18213 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:54:58 +00:00
Uwe Stöhr
0cd6cd6dc1 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18212 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:47:59 +00:00
Uwe Stöhr
4d141bbe66 EmbeddedObjects manual:
- new section about float numbering
- some corrections

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18211 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:45:47 +00:00
Uwe Stöhr
2550861643 fix inputenc handling bug introduced with r18198
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18210 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:18:40 +00:00
Jürgen Spitzmüller
b9350d4038 * src/Cursor.cpp:
- revert accidental commit in r18206.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 08:38:10 +00:00
Jürgen Spitzmüller
574b28db65 Fix bug 3508:
* src/ToolbarBackend.cpp:
* lib/ui/stdtoolbars.inc:
	- add tooltip to table widget
* src/frontends/qt4/QLToolbar.cpp:
	- display tooltip as icon text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 07:26:51 +00:00
Uwe Stöhr
fabf9f5af3 forgot this in my last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 20:27:43 +00:00
Uwe Stöhr
c5527942f3 set infrastructure to allow not to call babel
This is a part of the fix for bug 3043.
I got the OK from Georg, that this patch doesn't introduce conflicts as it only sets the infrastructure.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18206 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 19:18:34 +00:00
Jürgen Spitzmüller
71d75896e0 * src/TextMetrics.cpp (setHeightOfRow):
- don't use parkip in ERT insets (bug 3146)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 12:06:37 +00:00
Edwin Leuven
307c4a5844 * make background of reload icon transparent (was white) and slightly adjust promote and demote arrows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18204 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 09:26:44 +00:00
Abdelrazak Younes
94674dec6a revision 18202: I forgot this one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:46:03 +00:00
Abdelrazak Younes
ab2324315b TOC Widget beautification by Stefan Schimanski:
* lib/images: 3 new icons 
* TocUi/TocWidget: Replace labeled button with icon buttons.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:37:05 +00:00
Abdelrazak Younes
1becd845c1 * LyX::addFileToLoad(): new method for double-clicked file icons on MacOS.
* GuiApplication::event():
  special case for FileOpen events: memorize the filenames if LyX is not properly started yet.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18201 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:20:53 +00:00
Peter Kümmel
3fcd616b19 fix xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 16:59:21 +00:00
Edwin Leuven
1f9652587e * do not ignore "requires" field in MathMacro
(fixes http://bugzilla.lyx.org/show_bug.cgi?id=3520)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18199 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 15:30:27 +00:00
Jürgen Spitzmüller
ced73c33e6 * lib/encodings:
- add new encoding utf8-plain for the sake of XeTeX users (bug 3526)
* src/BufferParams.cpp:
	- implement new encoding (skip inputenc)
	- fix logic error with thailatex

* src/Buffer.cpp:
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.pyx:
* development/FORMAT:
	- format increment to 267
	- reset encoding to utf8 on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 12:27:00 +00:00
Abdelrazak Younes
ce3fce19c4 * QLPainter: antialias edges of primitives only if text is antialiased.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18197 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 09:24:44 +00:00
Abdelrazak Younes
58cc6d28e8 Fix antialiasing problem in straight lines within polylines. Prepare for optional antialiasing.
* QLPainter::lines(): use QPainter::drawLine() multiple times instead QPainter::drawPolyline().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 08:52:40 +00:00
Christian Ridderström
5221ba70b0 Renamed Changelog.txt to ChangeLog.txt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 08:02:52 +00:00
Enrico Forestieri
1f3bec86bd Last(?) missing rename: version.C -> version.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 00:47:24 +00:00
Uwe Stöhr
5db1570e60 EmbeddedObjects manual: add note for caption widths in longtables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18193 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 23:30:44 +00:00
Uwe Stöhr
6aa8af84e5 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18192 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 21:40:49 +00:00
Edwin Leuven
c1a68504c8 * replace old toc-view with new dialog-toggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18191 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 21:07:39 +00:00
Christian Ridderström
a337813662 Changed references as to where/how known issues are shown, i.e. added reference to http://wiki.lyx.org/LyX/ReleaseNotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18190 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 20:51:31 +00:00
Jürgen Spitzmüller
410a946f1f * src/insets/InsetMarginal.h:
- revert accidental encoding change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18189 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 15:54:56 +00:00
Jürgen Spitzmüller
6896eafabd * src/insets/InsetMarginal.h:
- add missing name() (fix bug 3540)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18188 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 15:53:14 +00:00
Abdelrazak Younes
9ed920f62a revert 18186: this cannot be done right now because of the way LFUN_BUFFER_PARAMS_APPLY is implemented.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 14:47:22 +00:00
Abdelrazak Younes
696b6a2167 Fix interface problem in order to cleanly support "cursor position memory" in the preamble editor.
* ControlDocument::params(): replace BufferParams local copy with Buffer::params() direct access.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18186 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 14:20:12 +00:00
Jean-Marc Lasgouttes
a67a27e6de * src/Cursor.cpp (isRTL): simplify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 13:31:16 +00:00
Jean-Marc Lasgouttes
92dd086d77 remove fr/CV.lyx to fr/simplecv.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18184 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 13:08:29 +00:00
Edwin Leuven
91d1b3cc97 * update math symbols to be in a uniform style.
most icons are taken from this site:

  http://us.metamath.org/symbols/symbols.html

  the license of these files is the creative commons public
  domain dedication


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18183 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 11:33:02 +00:00
Uwe Stöhr
9036ce25c1 examples/armenian-article.lyx: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18182 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 23:07:11 +00:00
Uwe Stöhr
43b9811909 installer: get rid of all NSIS compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18181 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 23:06:01 +00:00
Uwe Stöhr
8394a500b7 installer:
- more initialization work for next version
- reflect latest SVN commits
- fix bug, see changelog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18180 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 22:13:27 +00:00
Uwe Stöhr
52ab589aee remove examples/TableExamples.lyx as its content is explained in detail in the EmbeddedObjects manual - the same as for decimal.lyx i deleted last week after JMarc gave his OK.
As I did for decimal.lyx I leave the file in examples/de until the EmbeddedObjects manual is translated and renamed it to a German name.
(Hartmut also updated this file today.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18179 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 21:50:19 +00:00
Uwe Stöhr
7405a0f2e5 fix de_Userguide - necessary due to bug 3540
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 21:36:03 +00:00
Uwe Stöhr
7ef401c429 EmbeddedObjects: fix some bugs reported by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18177 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 21:07:56 +00:00
Peter Kümmel
3c4cfcbbdd cmake: initial install support, only copying files is working
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18176 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 20:59:48 +00:00
Peter Kümmel
9e8e457428 cmake: don't rebuild merges files on each cmake run, force rebuild by -Dmerge_rebuild=1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 20:47:47 +00:00
Christian Ridderström
16fc9cb4d6 Minor language changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18174 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 20:43:39 +00:00