Commit Graph

20706 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
287de0508d * GuiSpellchecker:
- prevent invalid pointer access (spellchecker crash reported by Abdel).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27770 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 10:20:26 +00:00
Jürgen Spitzmüller
1a24671e1c * Buffer.cpp (readFile):
- set params().compressed (bug 5589).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-04 09:14:17 +00:00
Jürgen Spitzmüller
a9f15e7cb9 * install lyx_2_0.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-03 22:46:53 +00:00
Jürgen Spitzmüller
1e08043e67 Add button to rescan the list of bib/bst files from within the dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27761 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-02 08:46:59 +00:00
Jürgen Spitzmüller
cf6e817709 * lyx_1_6.py:
- fix the conversion of some more complex index insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27759 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-02 07:40:23 +00:00
Uwe Stöhr
394944c6f3 achemso: fix a typo, add a new inset for chemical symbols like H2SO4, fix wrong citation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-01 00:42:20 +00:00
Vincent van Ravesteijn
10b88864a8 Add *.lyx16 filter to File->Open..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27754 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-30 19:14:34 +00:00
Uwe Stöhr
591818efc8 - UserGuide.lyx: the final commit, the User's Guide should now be completely up to date for LyX 1.6.x
- Customization.lyx: fix two menu names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-30 18:13:23 +00:00
Uwe Stöhr
39bab4d79e EmbeddedObjects.lyx: describe the effect of \strut in sec. 2.12.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-30 15:49:06 +00:00
Vincent van Ravesteijn
ab015d7389 configure.py: Add the new LyX 1.6.x file format and convertor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 22:14:59 +00:00
Vincent van Ravesteijn
9c9cdd3912 Fix bug 5507: Full screen hangs LyX when no file is opened
http://bugzilla.lyx.org/show_bug.cgi?id=5507

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27744 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 17:29:13 +00:00
Uwe Stöhr
9c52ffc6fa German UserGuide.lyx: another update from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27741 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 14:21:08 +00:00
Uwe Stöhr
aff9b8a3e4 achemso: correct previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27738 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:56:42 +00:00
Uwe Stöhr
c0b12c4cb9 achemso: new layout and example file for journals submitted to the American Chemical Society (ACS)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:41:48 +00:00
Uwe Stöhr
d5015aed0c German UserGuide.lyx: update from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27735 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:29:53 +00:00
Uwe Stöhr
9563341e84 Paragraph.cpp: revert r27719 because this broke every document that uses a note or comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27734 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:23:21 +00:00
Uwe Stöhr
68800dd6e8 seminar.lyx: there is a new version of seminar available fixing a long standing bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27730 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 23:46:22 +00:00
Vincent van Ravesteijn
c8685184f4 Oops.. compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27728 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 23:01:20 +00:00
Vincent van Ravesteijn
85f73a4271 Fix bug 5074: Crash while switching to Word
http://bugzilla.lyx.org/show_bug.cgi?id=5074

In GuiApplication.cpp the function cfFromMime returns an invalid FORMATETC struct with uninitialized members when the mimeType is not emf or wmf. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27727 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 22:48:50 +00:00
Jürgen Spitzmüller
c9e8849d32 * FORMAT: document file format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27726 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 13:45:44 +00:00
Jürgen Spitzmüller
9b39fbf557 Add support for Swiss German (bug 5450). File format change.
Babel doesn't support this variant (yet), so we use ngerman. However, for spell checking and thesaurus, this makes
a difference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27725 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 13:44:03 +00:00
Jürgen Spitzmüller
b6938386a2 * LaTeX.cpp (run):
- perform an additional bibtex cycle if requested
	  (e.g. by Biblatex)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27724 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 12:54:29 +00:00
Jean-Marc Lasgouttes
213694f475 forgotten space in french l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27722 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-27 14:17:30 +00:00
Jean-Marc Lasgouttes
632da1cc57 very basic support for switching encoding in a document (no context of grouping right now)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27721 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-27 14:16:02 +00:00
Jean-Marc Lasgouttes
4d07d0b61c when validating a paragraph, skip insets that do not produce output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27719 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-27 08:32:52 +00:00
Vincent van Ravesteijn
aaf27b169d Remove useless and confusing lines of code. As subfloat is not written into the LyX file, we have to (at the moment) rely on a call to updateLabels before setting the new label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27717 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 23:29:36 +00:00
Vincent van Ravesteijn
0488bee43f Constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27716 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 19:42:18 +00:00
Vincent van Ravesteijn
39f6e4b898 Fix bug 5088:
http://bugzilla.lyx.org/show_bug.cgi?id=5088

After executing DEPM to remove a double space, the position of the cursor was only 'fixed' if the cursor remained in the same par. This patch corrects this
to fix the position of the cursor also when the cursor is in a nested inset which is in the same par. This is needed because otherwise the cursor would not
point to the inset but one pos after it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27715 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 19:26:29 +00:00
Enrico Forestieri
4e12c4327a Avoid useless assignment to errno and add scope operator for safety.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27713 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 19:05:35 +00:00
Richard Heck
9a67491a3f Make LFUN_FONT_ITAL actually do something.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27712 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 18:47:52 +00:00
Enrico Forestieri
077baded5c Fix bug 641 (Detect stale lyxpipes after crash)
http://bugzilla.lyx.org/show_bug.cgi?id=641


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27708 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 01:22:05 +00:00
Jürgen Spitzmüller
c2bdcc6b63 * Lexer.{cpp,h}:
- implement quoteString for docstring
* Menus.cpp:
	- use it for quoting flex argument.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27703 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 14:44:17 +00:00
Vincent van Ravesteijn
cf247233c9 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5567: Enable up button in command buffer widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27701 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 13:20:54 +00:00
Richard Heck
bf8c0ff40d Wrap flex-insert's argument in quotes, as it could contain spaces. (Do we need to go further, in case it contains quotes? Or do you get what you deserve if you try that?)
Jurgen, OK for branch?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27698 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 22:10:38 +00:00
Jean-Marc Lasgouttes
20f3fbd521 set version correctly for mac bundle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27697 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 21:34:02 +00:00
Stephan Witt
3cef6c3bab convert string arguments for bformat with proper encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27696 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 21:12:58 +00:00
Richard Heck
74037183fe Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 16:31:25 +00:00
Joost Verburg
0b4176e3b9 add Python module for csv table import
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27690 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 13:52:28 +00:00
Richard Heck
39bc3f3f93 Fix most of bug 5539.
If a file fails to load, we do not try to load it again. The downside is that, even if you fixed the problem, then LyX won't try to load it again in that session. I tried resetting the failedtoload_ variable in fileChanged(), but that didn't work, as it doesn't seem to get hit. I'm not sure what to do here, but it isn't a huge issue.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27688 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 12:45:18 +00:00
Richard Heck
aeb997e3f0 Make getChildBuffer() and loadIfNeeded() methods rather than standalone
functions. Preparatory to another patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27687 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 12:40:53 +00:00
Jürgen Spitzmüller
78ab480e72 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 14:46:33 +00:00
Vincent van Ravesteijn
d6f4fb4944 Some fixes for the buttons of the Document and Preferences dialog:
http://bugzilla.lyx.org/show_bug.cgi?id=5295
- set the bc status to INITIAL when the dialog is initialized, and
- enable the restore button in the Document dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27683 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 14:12:39 +00:00
Jürgen Spitzmüller
b394f9998f * GuiErrorList.cpp (showEvent):
- add missing dialog update to fix a problem reported on the users list
	  and here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506183
	  (missing package error not shown).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 10:55:41 +00:00
Abdelrazak Younes
21b78c8d5a Fix assertion on exit when quitting.
Wraning for everybody: don't use static Buffer object, always pass through theBufferList().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27677 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 08:37:14 +00:00
Abdelrazak Younes
9062958419 FindAndReplace: more simplification and add a WorkArea for replace (not used yet).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27671 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 18:18:51 +00:00
Abdelrazak Younes
6f305f211d FindAndReplace: more simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27669 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 17:54:59 +00:00
Abdelrazak Younes
b718b83074 FindAndReplace: more simplification and correct focus handling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27668 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 17:35:17 +00:00
Abdelrazak Younes
227dd33f2f Doh!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27667 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 17:06:26 +00:00
Jürgen Spitzmüller
17e11a930d * output_latex:cpp:
- fix some CJK nesting issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 16:40:39 +00:00
Abdelrazak Younes
09738dbba4 Transfer more things from FindAndReplace to EmbeddedWorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27664 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 15:21:45 +00:00