Commit Graph

13645 Commits

Author SHA1 Message Date
Abdelrazak Younes
46214d708c * lstring.cpp:
- isAscii(): char is signed with MSVC so the comparison was not correct. Add a static_cast to "unsigned char" as per the other methods.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19001 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 14:43:18 +00:00
Uwe Stöhr
9051f93625 UserGuide: remove outdated hint to have the packages "umlaute" and "german" installed. You don't need them and thanks to our unicodesymbols list you can insert the French guillemets directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18996 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 00:49:52 +00:00
Uwe Stöhr
d4fb110865 lyx_1_5.py: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18995 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 00:30:29 +00:00
Dov Feldstern
be01974475 Fix "default" encoding to match "auto" encoding except for the actual output
of \inputencoding commands, which are not needed in some cases (e.g., Hebrew 
with ivritex).

This fixes some of the remaining problems (but not all) from bug 3613 (namely, http://bugzilla.lyx.org/show_bug.cgi?id=3613#c9).
See also some example files fixed by this in http://permalink.gmane.org/gmane.editors.lyx.devel/88805 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18994 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 19:19:41 +00:00
Dov Feldstern
a4c5f67f5e Set a newly created inset's font/language to the current font/language.
Fixes http://bugzilla.lyx.org/show_bug.cgi?id=3959


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18993 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 17:47:25 +00:00
Jürgen Spitzmüller
c6f4e95d55 * src/frontends/controllers/frontend_helpers.cpp Family name):
- don't try to trim after a dot that is the last character in the name
	  (fixes crash, bug 3981)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18992 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 16:11:44 +00:00
Jürgen Spitzmüller
7562340249 fix unicode decomposition (bugs 3313 and 3498):
* src/support/docstring.{cpp,h}:
	- rename normalize_kc to normalize_c and use normalization form C (instead of KC)

* src/callback.cpp:
* src/Trans.cpp:
* src/frontends/qt4/GuiClipboard.cpp:
* src/frontends/qt4/GuiSelection.cpp:
* lib/lyx2lyx/lyx_1_5.py:
	- use normalization forms C and D instead of KC and KD.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 14:45:00 +00:00
Jean-Marc Lasgouttes
180c6ac05f some proofreading by Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18990 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 13:49:56 +00:00
Jean-Marc Lasgouttes
76cefef380 Patch from Pavel Sanda
* frontend_helpers.cpp (Sorter): use the current locale for sorting 
	(bug 2739)

	* frontend_helpers.cpp: cleanup headers.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 10:40:00 +00:00
Abdelrazak Younes
8524ee93c3 Possibly fix this bug:
To reproduce:
1) Press Cntl-N (start new file)
2) Press Alt-I, I, B (insert TOC from BibTeX)
3) Press Alt-A (Add...)
4) Double Click test
5) Press Alt-O (OK)
6) Press Alt-I C (Insert Citation)
7) Press Alt-A (Add) 

* familyName(): return earlier if author name is empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18987 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 09:06:31 +00:00
Abdelrazak Younes
34a2aeec9c Fix bug 3970: Include file crash
The problem is that a screen update needs a bibtex key for proper rendering of the Citation. This key requires the master document to load all child document, which trigger an additional screen update, even when we don't switch buffer. The problem is that we are already in the process to update the screen, hence the crash.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18986 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 08:18:25 +00:00
Jean-Marc Lasgouttes
af9464dfe8 the -lz for zlib is already in LIBS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18985 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 21:54:28 +00:00
Jean-Marc Lasgouttes
fb89ef3f5d do not test for libc; fixes compilation with freebsd
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18984 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 21:46:54 +00:00
Uwe Stöhr
2df5252dad Spanish EmbeddedObjects.lyx: Updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18983 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 20:52:24 +00:00
Jürgen Spitzmüller
966c48abc6 * src/CutAndPaste.cpp (saveSelection): clarify comment about commenting persistent selection out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18982 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 06:05:23 +00:00
Bo Peng
08f31f3e64 Scons: check for windows.h under msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18981 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-04 05:06:44 +00:00
Uwe Stöhr
07caea8f92 EmbeddedObjects.lyx: tiny fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 22:33:55 +00:00
Uwe Stöhr
e810a59fdb German Intro.lyx: don't require koma-script
German Tutorial.lyx: dito

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18979 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 21:27:03 +00:00
Bo Peng
2f415fd505 scons: fix last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18978 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 20:20:20 +00:00
Bo Peng
6df40c7ebe scons: embed lyx.exe.manifest to lyx.exe, no longer use qt manifest.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18977 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 20:16:11 +00:00
Bernhard Roider
b8b66e8278 Fix uninitialized var introduced in http://www.lyx.org/trac/changeset/18966
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 18:58:02 +00:00
Abdelrazak Younes
ff6baf9a44 Fix bug 3877.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18975 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 17:11:05 +00:00
Abdelrazak Younes
14fd0298b9 Auto raising the dialog when the user click on a Citation inset...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:59:10 +00:00
Abdelrazak Younes
c05eb62135 add comment and ling to bug 3907.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18973 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:23:04 +00:00
Abdelrazak Younes
574b2ac06f Use native file dialog on non cygwin windows installation (fix bug 3907).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 06:41:54 +00:00
Bo Peng
f3a4fa86b2 zh_CN.po: more Chinese translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18970 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 22:27:12 +00:00
Uwe Stöhr
e40764b00d German Intro.lyx: Updates from Hartmut
German Tutorial.lyx: dito

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18969 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 21:09:18 +00:00
Michael Schmitt
0430d70ec3 * lib/images/promote.xpm: fix section number in icon
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18968 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 19:41:45 +00:00
Bo Peng
375e3248cb zh_CN.po: add a few more Chinese translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18967 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 19:36:36 +00:00
Bernhard Roider
3525573f40 Fix Bug 3947: BibTeX allows parentheses in the key (even if the whole entry is delimited by parentheses)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18966 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 18:01:27 +00:00
Jean-Marc Lasgouttes
a6f32927ea Fix bug 3750: this code is a kludge and should be removed when tex2lyx is
updated to support format >= 257 (with InsetCaption).

	* src/Layout.cpp (forCaption): new method. Returns a pointer to a newly 
	allocated Layout suitable for representing a caption.

	* src/tex2lyx/tex2lyx.cpp (tex2lyx): allocate a captionlayout object

	* src/tex2lyx/text.cpp: use the captionlayout object to recognize the 
	\caption command.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 16:02:41 +00:00
Jürgen Spitzmüller
ca339eb199 * src/frontends/controllers/Dialog.{cpp,h}:
- new boolean canApplyToReadonly that allows to apply params/update view
	  even if the buffer is readOnly for specific dialogs.

* src/frontends/controllers/ControlPrint.h: 
	- use that (fix bug 3909)
* src/frontends/controllers/ControlViewSource: 
	- dto. (fix bug 3943)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 13:54:30 +00:00
Uwe Stöhr
3a4dd21a65 languages: add a dumy language for arabic_arabtex. I dropped this from the arabic patch last week because I misunderstood Dov. This dummy language is indeed needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18957 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-02 00:35:52 +00:00
Uwe Stöhr
0bf9eda832 German Extended.lyx: Updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18956 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-01 21:14:56 +00:00
Jürgen Spitzmüller
efdfe031e7 * lib/CREDITS:
* lib/generate_contributions.py:
	- add Hangzai Luo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18954 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-01 15:17:11 +00:00
Jürgen Spitzmüller
d226c1de12 * src/tex2lyx/tex2lyx.cpp:
- use internal_path (bug 3788), patch by Hangzai Luo and me).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-01 15:16:08 +00:00
Uwe Stöhr
e72d2468df German UserGuide: updates from Hartmut
German EmbeddedObjects: fix a typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18952 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 22:52:35 +00:00
Jürgen Spitzmüller
768addedfd * lib/lyx2lyx/lyx_1_5.py (revert_unicode): fix typo in comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 06:56:15 +00:00
Bo Peng
d9ac7e5cf0 partial simplied Chinese translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18949 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 06:08:13 +00:00
Jürgen Spitzmüller
2bde238feb * lib/lyx2lyx/lyx_1_5.py:
- fix convert_graphics_rotation and make revert_graphics_rotation actually work.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 06:07:20 +00:00
Bo Peng
882eee2c33 fix zh_CN.po translation (do not copy original string)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18947 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 04:42:37 +00:00
Uwe Stöhr
e307c65674 UserGuide: fix the description how to change the font size in formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 21:42:26 +00:00
Uwe Stöhr
2f6f34c384 EmbeddedObjects: fix bug in description of \extrarowheight command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 20:50:39 +00:00
Uwe Stöhr
184f0ba3cc installer: drop support for zh_CN.po until it contains any translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18944 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 19:49:42 +00:00
Uwe Stöhr
c48221aea8 doc/doc_toc.py: - fix the input encoding of the TOC.lyx files
- set Python file encoding to utf-8
scripts/ext_copy.py: - set Python file encoding to utf-8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 19:13:57 +00:00
Abdelrazak Younes
39d3f11612 Fix this bug reported by Mael Hilléreau:
1. Open a document with child documents, each comprising divisions;
2. Show the outline pane. You can see childs' divisions;
3. Select (view) one of the childs;
4. Close this child doc. The focus comes back to the master doc;
5. Click in the outline pane at some point corresponding to the child doc you closed. LyX crashes with SIGSEGV (instead of reopening the child...).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18939 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 10:31:51 +00:00
Uwe Stöhr
208a64d292 installer: support for the Chinese menu language translations
scons/scons_manifest.py: add the new Chinese .po files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 00:14:50 +00:00
Uwe Stöhr
ab507ec444 elsart.layout: fix Acknowlegments enviroment
(bug 3931: http://bugzilla.lyx.org/show_bug.cgi?id=3931)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18937 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 22:37:15 +00:00
Uwe Stöhr
607b86bdeb German UserGuide.lyx: Change to two sided document layout
(with permission by Hartmut)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 21:33:55 +00:00
Uwe Stöhr
e729c5ffee ControlPrint.cpp
LyXFunc.cpp
  Quote file paths in printer dialog
  Fix bug 3915: http://bugzilla.lyx.org/show_bug.cgi?id=3915
  (patch from Jürgen and JMarc)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 21:21:05 +00:00