Commit Graph

13786 Commits

Author SHA1 Message Date
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
Bo Peng
6e3ecc8a2f add zh_TW.po and rename zh.po to zh_CN.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18933 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 17:23:54 +00:00
Joost Verburg
f5e613ac51 Windows Vista: these applications don't need any special rights
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18930 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 17:00:30 +00:00
Joost Verburg
a0e2e1428f correct name for userdata directory and updated applications
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18929 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 16:51:46 +00:00
Joost Verburg
b805a32dce install msvcr71.dll for Python
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18928 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 16:38:02 +00:00
Jean-Marc Lasgouttes
f03c154915 update from ingar pareliussen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18927 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 12:27:00 +00:00
Joost Verburg
490cc6c652 Windows Vista: request highest possible execution level for current user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18925 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 07:34:49 +00:00
José Matox
d8c368b86b Update last rc1 references
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18923 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 07:16:28 +00:00
Richard Heck
3fcc6711f0 Fix some issues with the paragraph settings dialog. The main change
is that we distinguish between the "Default" alignment and whatever
that default happens to be: I.e., so far as the code goes, the UI now
distinguishes LYX_ALIGN_LAYOUT from LYX_ALIGN_WHATEVER, when WHATEVER
happens to be the default. So you can explicitly force, say, left-align,
and that will stick between document classes.

* src/Paragraph.cpp:
Don't output params if alignment is the default.

* src/ParagraphParameters.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment.

* src/Text2.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment, and force it to be accepted
as a possible alignment.

* src/frontends/controllers/ControlParagraph.{h,cpp}
New method haveMultiParSelection().

*src/frontends/qt4/QParagraph.{h,cpp}
*src/frontends/qt4/ui/ParagraphUi.ui
UI adjustments as mentioned.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:48:06 +00:00
Uwe Stöhr
4cef6923f4 Makefile.am: add Hungarian example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18921 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:00:02 +00:00