]>
git.lyx.org Git - features.git/log
Abdelrazak Younes [Tue, 30 Jan 2007 13:54:28 +0000 (13:54 +0000)]
Fix bug 3177:
http://bugzilla.lyx.org/show_bug.cgi?id=3177
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16949
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 30 Jan 2007 13:23:21 +0000 (13:23 +0000)]
The caption inset patch by Georg, Martin and myself.
* buffer.C: increase LyX format to 257.
* lyxtextclass.C: increase FORMAT format to 3.
* buffer_funcs.C:
- setCaptionLabels(): new recursive function
- setCaptions(): new function
- updateLabels(): call setCaptions() for each paragraph.
* InsetCaption:
- add a virtual destructor
- overload InsetText' getStatus() and wide().
- setLabel(): only set the new private member label_.
- metrics(): don't set label here and correct for title metrics.
- draw(): don't set label here
- latex(): fix optional argument.
- plaintext(): implement!
* InsetText:
- add a virtual destructor
- add virtual to getStatus() and wide().
* output_latex.[Ch]: move latexOptArgInsets() out of anon namespace.
* text3.C: enable LFUN_CAPTION_INSERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16948
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 30 Jan 2007 11:03:58 +0000 (11:03 +0000)]
French translation of beamer template and minor corrections by
Jean-Pierre Chretien
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16946
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 30 Jan 2007 10:42:19 +0000 (10:42 +0000)]
fix typo reported by John McCabe-Dansted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16944
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 29 Jan 2007 23:20:36 +0000 (23:20 +0000)]
add apple fixes from Andreas Vox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16943
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 29 Jan 2007 22:07:40 +0000 (22:07 +0000)]
revert tab patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16942
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Mon, 29 Jan 2007 20:59:57 +0000 (20:59 +0000)]
* Status.15x: move the remaining bugs to bugzilla
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16940
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Mon, 29 Jan 2007 20:28:44 +0000 (20:28 +0000)]
Fix bug 2841
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16938
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 29 Jan 2007 20:06:08 +0000 (20:06 +0000)]
Berhard's tab patch: crash after saving new buffer and change to another new buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16937
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 29 Jan 2007 20:04:10 +0000 (20:04 +0000)]
Berhard's tab patch: immediatly show saved filename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16936
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 29 Jan 2007 19:59:48 +0000 (19:59 +0000)]
Rename files to conform to LyX conventions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16935
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 29 Jan 2007 18:37:13 +0000 (18:37 +0000)]
Revert unwanted stuff from last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16932
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 29 Jan 2007 18:35:56 +0000 (18:35 +0000)]
Fix LyX paste from system clipboard when the file format does not match
* src/buffer.C
(Buffer::readString): Tell readFile that we do not have a file
(Buffer::readString): readFile(name) returns a bool, not an enum
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16931
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 29 Jan 2007 18:08:13 +0000 (18:08 +0000)]
fix another crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16930
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 29 Jan 2007 17:03:21 +0000 (17:03 +0000)]
* src/frontends/qt4/QLToolbar.C: whitespace only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16929
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 29 Jan 2007 14:23:05 +0000 (14:23 +0000)]
* src/frontends/qt4/GuiView.[Ch]:
- fix false toolbar positioning for qt < 4.2.2
- only add ToolBarBreak if the toolbar exceeds the line
(not perfect yet)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16927
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 29 Jan 2007 10:05:41 +0000 (10:05 +0000)]
fix typo in commit 16925
.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16926
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 29 Jan 2007 10:04:02 +0000 (10:04 +0000)]
Fix bug 3142 (LyX crashes when using mouse wheel)
http://bugzilla.lyx.org/show_bug.cgi?id=3142
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16925
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 29 Jan 2007 09:40:04 +0000 (09:40 +0000)]
Do not attempt to output characters of empty paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16924
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 29 Jan 2007 08:49:01 +0000 (08:49 +0000)]
* src/encoding.C: add forgotten header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16923
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 29 Jan 2007 08:18:21 +0000 (08:18 +0000)]
add forgotten header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16922
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 28 Jan 2007 22:27:26 +0000 (22:27 +0000)]
Fix this bug:
After saving a new file or "save as.." the filename is not updated in the tab. This patch fixes this.
Credits goes to Bernhard Roider.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16921
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 28 Jan 2007 21:27:45 +0000 (21:27 +0000)]
Add machinery to output arbitrary unicode characters with LaTeX commands
read from a text file.
* src/encoding.[Ch]
(Encoding::latexChar): New, output a character to LaTeX
(Encoding::validate): New, add needed preamble stuff for a character
(Encodings::read): Read new unicodesymbols file
(Encodings::isCombiningChar): New, is a character a combining char?
* src/paragraph_pimpl.C
(isEncoding): Delete, no longer needed
(getEncoding): New, get the real encoding of a font
(Paragraph::Pimpl::latexSurrogatePair): New, output a surrogate pair
to LaTeX
(Paragraph::Pimpl::simpleTeXBlanks): Use latexSurrogatePair if needed
(Paragraph::Pimpl::simpleTeXSpecialChars): Ditto, and replace several
hardcoded characters with a call of encoding.latexChar()
(Paragraph::Pimpl::validate): replace several hardcoded characters
with a call of encoding.validate()
* src/support/debugstream.h
(basic_debugstream::disable): New, disable the stream completely
(basic_debugstream::enable): New, reenable the stream
* src/lyx_main.[Ch]: Adjust to changes above
* src/paragraph.C: Ditto
* lib/unicodesymbols: New file with UCS4 -> LaTeX command mapping.
It is far from complete yet, but contains most accents on latin
characters.
* lib/Makefile.am: add lib/unicodesymbols
* development/scons/scons_manifest.py: ditto
* development/tools/unicodesymbols.py: Helper script to update
lib/unicodesymbols with new symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16920
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 28 Jan 2007 21:12:33 +0000 (21:12 +0000)]
Fix Bug3171: update bookmark after saveCursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16919
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 28 Jan 2007 20:49:57 +0000 (20:49 +0000)]
forgot to update Makefile for latest image change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16917
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 28 Jan 2007 20:42:39 +0000 (20:42 +0000)]
update image change for SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16916
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 28 Jan 2007 20:33:31 +0000 (20:33 +0000)]
ExtendedInsets: Update for LyX 1.5 step 2/2 -> finished
- description of Framed and Shaded notes
- update of Spanish images
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16913
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 28 Jan 2007 20:10:47 +0000 (20:10 +0000)]
Fix focus bug 3153.
http://bugzilla.lyx.org/show_bug.cgi?id=3153
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16912
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 28 Jan 2007 19:36:30 +0000 (19:36 +0000)]
Add two FIXMEs for Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16911
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 28 Jan 2007 19:17:59 +0000 (19:17 +0000)]
* src/text.C
(LyXText::currentState): Unicode debugging aid: Display UCS4 code
point in devel builds
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16910
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 28 Jan 2007 18:44:06 +0000 (18:44 +0000)]
Update to 1.4 format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16909
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 28 Jan 2007 18:39:36 +0000 (18:39 +0000)]
Add two templates from the beamer package that I forgot when I put the
beamer stuff in LyX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16908
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 28 Jan 2007 15:19:20 +0000 (15:19 +0000)]
Fix confirm overwrite asked twice, from Bernhard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16907
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 28 Jan 2007 14:29:03 +0000 (14:29 +0000)]
* po/de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16906
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 28 Jan 2007 14:22:28 +0000 (14:22 +0000)]
* po/*.po: remerge again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16905
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 28 Jan 2007 14:19:57 +0000 (14:19 +0000)]
* lib/ui/stdmenus.inc: change "Figures, Tables, Floats, Notes, Boxes" to
"Special Insets"; the former menu entry is too lengthy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16904
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 28 Jan 2007 10:07:17 +0000 (10:07 +0000)]
Small optimization for the unicodesymbols patch
* src/encoding.C
(LaTeXNamesEqual): Delete comparison class: It is no longer needed
(Encodings::getFromLaTeXName): Don't use std::find_if since it makes
copies of the map contents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16903
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 28 Jan 2007 09:23:38 +0000 (09:23 +0000)]
Remove delete files from lib/Makefile.am.
Add the xpm version of the deleted lib/clipart/buffer-export_pdf2.png as
lib/images/buffer-export_pdf2.xpm since I discovered that we did not yet
have this icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16902
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 28 Jan 2007 07:07:57 +0000 (07:07 +0000)]
Scons: also consider prefix option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16901
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 28 Jan 2007 06:58:03 +0000 (06:58 +0000)]
Scons: continue refining scons installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16900
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 28 Jan 2007 06:47:11 +0000 (06:47 +0000)]
Scons: refine scons installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16899
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 28 Jan 2007 06:26:09 +0000 (06:26 +0000)]
remove removed files from scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16898
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 28 Jan 2007 03:03:44 +0000 (03:03 +0000)]
ExtendedInsets:
- remove two unneeded images
- some corrections
- use a proper menu entry name because "Insets" says nothing to the user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16897
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 27 Jan 2007 20:54:17 +0000 (20:54 +0000)]
BUG3127 Toolbar display: restore all toolbars to different lines. Not good but better than the current situation. qt > 4.2.2 is required.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16895
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 27 Jan 2007 20:48:37 +0000 (20:48 +0000)]
fix linker error (dummy functions for tex2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16894
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 27 Jan 2007 20:01:11 +0000 (20:01 +0000)]
ExtendedInsets: update to LyX 1.5
step 1: table dialog, table row spacing, and formal tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16893
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 27 Jan 2007 19:58:26 +0000 (19:58 +0000)]
de_Userguide: updates for 1.5 from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16892
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 27 Jan 2007 18:42:40 +0000 (18:42 +0000)]
* po/.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16890
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 27 Jan 2007 17:45:57 +0000 (17:45 +0000)]
fix bug 3154
http://bugzilla.lyx.org/show_bug.cgi?id=3154
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16889
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 27 Jan 2007 17:22:58 +0000 (17:22 +0000)]
Fix bug 2182: LyX should default unknown classes to article class
* src/bufferparams.C
(BufferParams::readToken): If the text class is unknown, use the
same code as in the constructor to set a default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16888
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 27 Jan 2007 16:55:25 +0000 (16:55 +0000)]
Fix bug 3145: not possible to copy stuff from dialogs to document text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16887
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 27 Jan 2007 16:40:39 +0000 (16:40 +0000)]
fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16886
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 27 Jan 2007 15:47:13 +0000 (15:47 +0000)]
remove LyXWinInstaller and all related stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16885
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 27 Jan 2007 15:36:24 +0000 (15:36 +0000)]
* Status.15x: move more bugs to bugzilla
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16884
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 27 Jan 2007 15:06:36 +0000 (15:06 +0000)]
* Status.15x: move more bugs to bugzilla
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16883
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 27 Jan 2007 14:42:45 +0000 (14:42 +0000)]
* frontends/qt4/GuiView.C: fix localization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16882
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 27 Jan 2007 14:32:48 +0000 (14:32 +0000)]
* Status.15x: remove some change tracking bugs that have been fixed in the mean-time;
remove some reports on slow performance & MAC problems that are probably fixed in the mean-time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16881
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 27 Jan 2007 14:24:36 +0000 (14:24 +0000)]
* Status.15x: move bugs to bugzilla
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16880
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 27 Jan 2007 12:29:15 +0000 (12:29 +0000)]
cmake files for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16879
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 27 Jan 2007 10:41:03 +0000 (10:41 +0000)]
Prepare for advanced mouse click selections.
* WorkArea::dispatch(): add modifiers argument.
* GuiWorkArea::mousePressEvent(): transmit the modifier to WorkArea::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16878
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 27 Jan 2007 10:24:15 +0000 (10:24 +0000)]
Limit the work-around in rev. 16874 to Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16877
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 27 Jan 2007 09:04:36 +0000 (09:04 +0000)]
Fix bug 3138 (http://bugzilla.lyx.org/show_bug.cgi?id=3138).
* BufferView::setCursorFromScrollbar(): Reset the cursor in any case because bv_funcs::status() does not work when the cursor is within mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16876
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 26 Jan 2007 22:38:14 +0000 (22:38 +0000)]
Allows editing when the Prefs dialog is opened; fix bug 3140:
http://bugzilla.lyx.org/show_bug.cgi?id=3140
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16875
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 26 Jan 2007 22:04:51 +0000 (22:04 +0000)]
Work around bug 2859 by Bernhard R.:
http://bugzilla.lyx.org/show_bug.cgi?id=2859
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16874
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 26 Jan 2007 15:27:32 +0000 (15:27 +0000)]
Hungarian update from Alex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16871
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 26 Jan 2007 12:32:03 +0000 (12:32 +0000)]
MSVC warning (signed/unsigned).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16869
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 26 Jan 2007 04:08:27 +0000 (04:08 +0000)]
Fix compiling errors caused by LyXText::ChangeOp::ACCEPT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16865
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 26 Jan 2007 01:02:30 +0000 (01:02 +0000)]
ExtendedInsets: small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16864
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 26 Jan 2007 00:50:38 +0000 (00:50 +0000)]
ExtendedInsets: change title order and fix PDF info tags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16862
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 25 Jan 2007 22:51:00 +0000 (22:51 +0000)]
* src/text2.C: deleteEmptyParagraphMechanism(): fix a crash in
LyXText::acceptOrRejectChanges() caused by too aggressive deletion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16860
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 25 Jan 2007 22:28:15 +0000 (22:28 +0000)]
* src/lyxtext.h:
* src/text.C: rename acceptOrRejectChange() to acceptOrRejectChanges() because it can handle many changes within the given selection; add acceptChanges() and rejectChanges()
* src/text3.C:
* src/BufferView.C: adjust
* src/insets/insettext.C: accept/rejectChanges() become wrapper methods that call LyXText::acccept/rejectChanges
* src/text2.C: add assertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16859
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 25 Jan 2007 21:18:36 +0000 (21:18 +0000)]
* src/lyxtext.h: add enum ChangeOp (ACCEPT/REJECT); add deleteEmptyParagraphMechanism()
* src/text.C:
* src/text3.C:
* src/BufferView.C: adjust
* src/insets/insettext.C: acceptChanges() / rejectChanges(): fix pars_size bug introduced in previous commit; call deleteEmptyParagraphMechanism()
* src/text2.C: track changes in DEPM (I am not sure about whether this is actually useful; time will tell..); add deleteEmptyParagraphMechanism(pit_type, pit_type, bool)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16858
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 25 Jan 2007 21:12:12 +0000 (21:12 +0000)]
Real fix from Bernhard Roider
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16857
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 25 Jan 2007 21:02:08 +0000 (21:02 +0000)]
add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16856
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 25 Jan 2007 20:16:30 +0000 (20:16 +0000)]
Fix bug 3135 by Bernhard Roider:
<http://bugzilla.lyx.org/show_bug.cgi?id=3135>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16855
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 25 Jan 2007 19:13:22 +0000 (19:13 +0000)]
Scons: NSIS support (installer target)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16854
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 25 Jan 2007 17:00:56 +0000 (17:00 +0000)]
Fix beamer.layout (remove .cls in DeclareLaTeXClass)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16852
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 25 Jan 2007 13:15:57 +0000 (13:15 +0000)]
update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16851
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 25 Jan 2007 13:10:27 +0000 (13:10 +0000)]
Fix this bug:
1) View->Postscript
2) Export->LaTeX (plain)
1) will generate an error. 2) succeeeds (as it should), but the old error list is displayed again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16850
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 25 Jan 2007 10:39:40 +0000 (10:39 +0000)]
Avoid errorList copy.
* ControlErrorList:
- error_list_: deleted
- error_type_: new private member.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16849
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 25 Jan 2007 10:21:02 +0000 (10:21 +0000)]
* QErrorList::update_contents(): avoid touching the dialog here.
* QErrorListDialog::showEvent(): new method. Set the error on the first item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16848
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 25 Jan 2007 06:19:49 +0000 (06:19 +0000)]
Scons: initial windows nsis installer support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16846
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 25 Jan 2007 02:06:06 +0000 (02:06 +0000)]
Fix compiler warning about multi-character constant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16845
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Jan 2007 23:10:03 +0000 (23:10 +0000)]
Remove buggy and redundant BufferView::update() calls.
* BufferView::dispatch() now returns an Update::flags.
* lyx_cb.C::insertPlaintextFile(): delete redundant BufferView::update() call.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16844
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Jan 2007 23:05:40 +0000 (23:05 +0000)]
Fix screen update after CT bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16843
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 24 Jan 2007 21:38:53 +0000 (21:38 +0000)]
Updates and image path fixes from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16840
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 24 Jan 2007 19:02:41 +0000 (19:02 +0000)]
fix compiler warnings about unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16839
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Jan 2007 17:19:56 +0000 (17:19 +0000)]
Small formatting and comment cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16838
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Jan 2007 17:05:49 +0000 (17:05 +0000)]
get rid of MSVC warning (signed/unsigned comparison)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16837
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 24 Jan 2007 16:44:50 +0000 (16:44 +0000)]
fix filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16836
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 24 Jan 2007 16:24:47 +0000 (16:24 +0000)]
compile fix: std::exception does only have a default constructor, the other
constrcutor is non-standard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16835
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 24 Jan 2007 15:49:20 +0000 (15:49 +0000)]
Display error/warning dialogs if possible.
* ExceptionMessage: new exception based message for errors and warnings.
* package.C.in:
- replace lyxerr based errors and warning with ExceptionMessage throwing.
- bail_out(): erased!
* os_win32.C:
- replace lyxerr based errors and warning with ExceptionMessage throwing.
- bail_out(): erased!
* tex2lyx.C: catch any exception from Package class.
* lyx_main.C: catch any exception from Package class and act accordingly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16834
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 24 Jan 2007 14:01:34 +0000 (14:01 +0000)]
We use char_type, not size_t for storing UCS4 characters.
This may make a difference when char_type is signed.
* src/frontends/LyXKeySym.h
(getUCSEncoded): change return type from size_t to char_type
* src/frontends/qt4/QLyXKeySym.[Ch]
(getUCSEncoded): ditto
* src/lyxfunc.C
(LyXFunc::processKeySym): adjust to the above and add a FIXME since
this is strange code that looks like it was not intended to do what
it does.
* src/lyxfunc.h
(encoded_last_key): Correct documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16833
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 24 Jan 2007 13:33:13 +0000 (13:33 +0000)]
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16832
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 23 Jan 2007 21:53:16 +0000 (21:53 +0000)]
* src/lyxtext.h:
* src/BufferView.C:
* src/text3.C:
* src/text.C: merge methods acceptChange() and rejectChange() to acceptOrRejectChange() because they share a lot of tricky code
* src/text.C: yet another revision of acceptOrRejectChange()
* src/paragraph.C:
* src/paragraph.h:
* src/paragraph_pimpl.C:
* src/paragraph_pimpl.h:
* src/insets/insettabular.C:
* src/insets/insettabular.h:
* src/insets/insettext.C:
* src/insets/insettext.h:
* src/insets/insetbase.h: pass BufferParams to acceptChanges() and rejectChanges() (needed for paragraph merging)
* src/insets/insettext.C: handle end-of-par in acceptChanges() and rejectChanges()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16830
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 23 Jan 2007 15:23:59 +0000 (15:23 +0000)]
revert last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16829
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 23 Jan 2007 15:09:00 +0000 (15:09 +0000)]
revert last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16828
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 23 Jan 2007 14:29:15 +0000 (14:29 +0000)]
Write the warnings and errors both to lyxerr and to the dialog.
If the mode is nogui don't raise the dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16827
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 23 Jan 2007 13:30:30 +0000 (13:30 +0000)]
Replace lyxerr based warnings and errors with Alert::error() and Alert::warning().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16826
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 23 Jan 2007 13:25:50 +0000 (13:25 +0000)]
* src/text.C: implement rejectChange() as the inverse of acceptChange()
(requires some further testing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16825
a592a061 -630c-0410-9148-
cb99ea01b6c8