]>
git.lyx.org Git - lyx.git/log
Abdelrazak Younes [Sun, 9 Dec 2007 22:35:04 +0000 (22:35 +0000)]
Factorize general code out of GuiDialog and into the base Dialog class. This is now possible thanks to the moving of Dialog.{cpp,h} to qt4/. Any dialog must inherit QWidget within Qt so it is safe to use Dialog::asQWidget() method (which is similar to dynamic casting).
* GuiDialog now inherits DialogView. GuiDialog is only there to bring the ButtonController archaeological interface; any new dialog should inherit DialogView and any new dock widget should inherit DockView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22049
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sun, 9 Dec 2007 19:59:39 +0000 (19:59 +0000)]
Fix scons (moc src/support/*.h)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22048
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 9 Dec 2007 17:47:41 +0000 (17:47 +0000)]
set encoding from utf8 back to latin1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22047
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 9 Dec 2007 17:42:05 +0000 (17:42 +0000)]
preamble.cpp: full babel language support for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22046
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 9 Dec 2007 17:31:25 +0000 (17:31 +0000)]
also check for moc files in src/support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22044
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 9 Dec 2007 15:26:31 +0000 (15:26 +0000)]
preamble.cpp: fix whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22040
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 9 Dec 2007 14:14:34 +0000 (14:14 +0000)]
preamble.cpp: code simplification to r21970 suggested by Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22034
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 9 Dec 2007 13:40:03 +0000 (13:40 +0000)]
tex2lyx/text.cpp: support for all quotation marks (bug2703).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22032
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 9 Dec 2007 11:40:59 +0000 (11:40 +0000)]
fix typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22030
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 9 Dec 2007 08:43:08 +0000 (08:43 +0000)]
Fix Drag&Drop. LFUN_FILE_OPEN is not handled by GuiView::dispatch() (yet).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22029
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 8 Dec 2007 20:49:01 +0000 (20:49 +0000)]
preamble.cpp: don't add \makeatother twice
\makeatother and \makeatletter are already added by LyX around the user preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22027
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 8 Dec 2007 20:46:03 +0000 (20:46 +0000)]
add progress view of system calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22026
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 8 Dec 2007 16:36:56 +0000 (16:36 +0000)]
Revert 22023 and really fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22024
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 8 Dec 2007 16:22:05 +0000 (16:22 +0000)]
Fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22023
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 8 Dec 2007 15:56:19 +0000 (15:56 +0000)]
* lib/lyx2lyx/lyx_1_1.py (revert_latexcommand_index):
- umlauts must be reverted to escaped forms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22022
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 8 Dec 2007 15:38:39 +0000 (15:38 +0000)]
* lib/lyx2lyx/lyx_1_5.py:
- fix bug 4333.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22019
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 8 Dec 2007 15:02:34 +0000 (15:02 +0000)]
* fix enabling/disabling of LyXErr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22017
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 8 Dec 2007 14:58:53 +0000 (14:58 +0000)]
preamble.cpp: remove unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22016
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 8 Dec 2007 14:29:29 +0000 (14:29 +0000)]
No need to update the prefs dialog if it is not visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22015
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 8 Dec 2007 14:24:11 +0000 (14:24 +0000)]
* Dialog: name_ is const and is ascii.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22014
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 8 Dec 2007 13:59:32 +0000 (13:59 +0000)]
Fix bug 4413 (http://bugzilla.lyx.org/show_bug.cgi?id=4413)
The problem was that name_ was a const pointer and the pointer pointed to nothing after leaving the ctor.
Andre': <docstring> is included in every dialog anyway via GuiDialog.h -> InsetCommandParams.h -> docstring.h"; so this change won't affect compilation time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22012
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 8 Dec 2007 11:21:00 +0000 (11:21 +0000)]
Sanitize CJK support (fix bug 3561, 4349 and 4337):
* src/output_latex.{cpp, h}:
- Many changes in order to allow CJK in a mulitlingual context.
* src/Paragraph.cpp:
- Fix file encoding switch and language nesting with CJK.
* src/Buffer.cpp:
- Move the opening and closing CJK and lanaguage tags to ouput_latex.cpp.
* src/Font.cpp:
- switchEncoding call now takes runparams as argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22011
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 8 Dec 2007 11:20:47 +0000 (11:20 +0000)]
cmake: fix tex2lyx linker error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22010
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 8 Dec 2007 11:07:43 +0000 (11:07 +0000)]
fix wrong tex2lyx hack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22009
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 8 Dec 2007 10:50:30 +0000 (10:50 +0000)]
fix wrong tex2lyx hack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22008
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Sat, 8 Dec 2007 00:17:36 +0000 (00:17 +0000)]
* putenv wants a non-const char *
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22006
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 7 Dec 2007 22:28:03 +0000 (22:28 +0000)]
New file is placed in current directory by default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22005
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 7 Dec 2007 21:57:56 +0000 (21:57 +0000)]
Partly revert r21987 which caused alignment problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22004
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 7 Dec 2007 11:57:13 +0000 (11:57 +0000)]
Split LyXFunc::menuNew() into LyXView::newDocument() and buffer_funcs::newUnnamedFile().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22002
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Dec 2007 22:57:15 +0000 (22:57 +0000)]
preamble.cpp: handle the (n)german options correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21998
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Dec 2007 22:49:18 +0000 (22:49 +0000)]
preamble.cpp: cleanup the list of supported languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21997
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Dec 2007 22:38:46 +0000 (22:38 +0000)]
document my LFUN changes in the past
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21996
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Dec 2007 22:09:31 +0000 (22:09 +0000)]
preamble.cpp: correct recognition of all cases of font scalings (fix for method introduced in r21970)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21994
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 6 Dec 2007 18:58:32 +0000 (18:58 +0000)]
preamble.cpp: addition to r21970: ad support for the two possible font options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21993
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 6 Dec 2007 18:52:17 +0000 (18:52 +0000)]
Shutdown LyX server and socket before trying to remove the tempdir,
otherwise it would not be empty and could not be removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21992
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 6 Dec 2007 16:54:02 +0000 (16:54 +0000)]
Let's actually warn when a directory could not be removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21991
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 6 Dec 2007 11:16:46 +0000 (11:16 +0000)]
* RELEASE_NOTES: document interface changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21990
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 6 Dec 2007 11:04:56 +0000 (11:04 +0000)]
Support for \slash and \nobreakdash-
* src/lfuns.h:
* src/Text3.cpp:
* src/insets/InsetMathNest.cpp:
* src/insets/insetCollapsable:
- new LFUN_SPECIALCHAR_INSERT
- nuke LFUN_HYPHENATION_POINT_INSERT,
LFUN_LIGATURE_BREAK_INSERT,
LFUN_DOTS_INSERT,
LFUN_END_OF_SENTENCE_PERIOD_INSERT,
LFUN_MENU_SEPARATOR_INSERT
(functions now handled as arguments of the above)
* src/insets/InsetSpecialChar.{cpp,h}:
- implement \slash and \nobreakdash-
* src/Buffer.cpp:
- increment format to 307.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- reversion methods for SpecialChar \slash{} and
SpecialChar \nobreakdash-
* development/FORMAT:
- document file format change
* lib/ui/stdmenus.inc:
* lib/ui/classic.ui:
- add new SpecialChars to the menus, adapt lfuns to new scheme
* lib/bind/aqua.bind:
* lib/bind/cua.bind:
* lib/bind/emacs.bind:
* lib/bind/fi/menus.bind:
* lib/bind/mac.bind:
* lib/bind/menus.bind:
* lib/bind/sciword.bind:
* lib/bind/xemacs.bind:
- add shortcuts for new SpecialChars, adapt lfuns to new scheme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21989
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 6 Dec 2007 08:51:56 +0000 (08:51 +0000)]
* InsetHFill: small drawing tweaks and fix the cursor positionning and selection of the inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21988
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 6 Dec 2007 08:39:42 +0000 (08:39 +0000)]
Code simplification. We don't need to memorize the current Row hfill anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21987
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 6 Dec 2007 07:56:39 +0000 (07:56 +0000)]
stdinset.inc: Some more documentation from Martin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21986
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Dec 2007 23:10:11 +0000 (23:10 +0000)]
InsetHFill drawing: some other tweaks. There's still a problem with cursor positionning and selection when the hfill is not expanded.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21985
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Dec 2007 22:47:14 +0000 (22:47 +0000)]
InsetHFill drawing: some tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21984
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Wed, 5 Dec 2007 22:28:16 +0000 (22:28 +0000)]
Avoid loading local layout file multiple times
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21983
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Dec 2007 22:26:48 +0000 (22:26 +0000)]
configure.py: fix detection of LaTeX (bug 4397)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21982
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Dec 2007 22:25:07 +0000 (22:25 +0000)]
Cleanup Hfill metrics and painting. InsetHFill is now treated almost like any other inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21980
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Dec 2007 22:07:19 +0000 (22:07 +0000)]
languages: update a two comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21978
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Dec 2007 22:04:33 +0000 (22:04 +0000)]
support for the language Interlingua
- fileformat change
(Interlingua was the last missing language supported by babel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21976
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Dec 2007 21:45:09 +0000 (21:45 +0000)]
Buffer.cpp: forgot this part of the previous fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21975
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Dec 2007 21:42:57 +0000 (21:42 +0000)]
support for the language Bahasa Malaysia
- fileformat change
- rename "Bahasa" to "Bahasa Indonesia"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21974
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 5 Dec 2007 20:02:49 +0000 (20:02 +0000)]
tex2lyx: support font settings -> move fileformat to 247
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21970
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 5 Dec 2007 18:19:55 +0000 (18:19 +0000)]
Distinguish occurence of 'Note' string between layouts and inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21968
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Dec 2007 13:56:53 +0000 (13:56 +0000)]
* docstream: factorize out some code and introduce odocfstream::reset()
* Buffer::makeLaTeXFile(): try to catch one more iconv exception. Fix bug 4385 (http://bugzilla.lyx.org/show_bug.cgi?id=4385)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21967
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Dec 2007 10:45:19 +0000 (10:45 +0000)]
Revert part of 21965 which was debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21966
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Dec 2007 10:32:49 +0000 (10:32 +0000)]
Introducing FileNameList, cleanup some headers and put back dirList() into FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21965
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 5 Dec 2007 09:23:19 +0000 (09:23 +0000)]
Header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21964
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 4 Dec 2007 23:07:14 +0000 (23:07 +0000)]
Avoid a second confirmation when reverting a Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21963
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 4 Dec 2007 22:21:25 +0000 (22:21 +0000)]
Sanitize the way Buffers are saved, renamed and closed.
* LyXFunc: Transfer and simplify LFUN_BUFFER_WRITE, LFUN_BUFFER_WRITE_AS and LFUN_BUFFER_WRITE_ALL to GuiView.
* BufferList: Transfer quitWriteAll() and close() to GuiView.
* Buffer: Transfer writeAs() and menuWrite() functionalities to GuiView.
* LyXView::closeBuffer(): new pure virtual method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21960
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 4 Dec 2007 21:35:08 +0000 (21:35 +0000)]
preamble.cpp: update the list of supported languages to the one of LyX 1.4.5.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21959
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 4 Dec 2007 21:25:46 +0000 (21:25 +0000)]
Patch from Sven Hoexter. Use 'xdg-open' and 'sensible-editor' when
available
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21957
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 4 Dec 2007 21:10:50 +0000 (21:10 +0000)]
Patch from Sven Hoexter. Fix non-ASCII char in name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21956
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 4 Dec 2007 21:05:41 +0000 (21:05 +0000)]
scons/SConstruct: disable assertions for stable releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 4 Dec 2007 20:53:43 +0000 (20:53 +0000)]
preamble.cpp: small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21953
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 4 Dec 2007 20:09:40 +0000 (20:09 +0000)]
preamble.cpp, text.cpp:
- fix bug 27
- support for multi-language files
- code cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21950
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 4 Dec 2007 11:32:40 +0000 (11:32 +0000)]
* src/frontends/qt4/ui/PrintUi.ui:
- fix bug 4345.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21949
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 4 Dec 2007 11:29:43 +0000 (11:29 +0000)]
* src/frontends/qt4/GuiBox.cpp:
- Fix button activation with pagebreak CB.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21948
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 4 Dec 2007 10:27:27 +0000 (10:27 +0000)]
* lib/layouts.memoir.layout:
- memoir.cls provides framed.sty.
* src/LaTeXFeatures.cpp:
- also output the shadecolor definition if framed.sty
is provided by a class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21947
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 4 Dec 2007 09:48:57 +0000 (09:48 +0000)]
forgot this ...
* lib/ui/stdmenus.ui:
- remove Shaded and Framed notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21946
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 4 Dec 2007 09:25:50 +0000 (09:25 +0000)]
framed.sty goes InsetBox:
* src/insets/InsetBox.{cpp,h}:
* src/frontends/qt4/GuiBox.{cpp,h}:
* src/frontends/qt4/ui/BoxUi.ui:
- add and handle Framed and Shaded boxes
- use more descriptive label names
- implement name() function for Box:Shaded's sake
* src/insets/InsetNote.{cpp,h}:
* src/frontends/qt4/GuiNote.cpp:
* src/frontends/qt4/ui/NoteUi.ui:
- remove Framed and Shaded.
* lib/layouts/stdinsets.inc:
- remove Note:Framed and Note:Shaded
- add Box:Shaded
* Buffer.cpp:
- bump format to 304.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add conversion/reversion of framed/shaded notes to boxes.
* development/FORMAT:
- document file format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21945
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 4 Dec 2007 03:55:02 +0000 (03:55 +0000)]
include intl/libintl.h that is relative to $TOP_SRCDIR/src
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21943
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 4 Dec 2007 00:02:47 +0000 (00:02 +0000)]
languages: sort only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21942
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 3 Dec 2007 22:17:38 +0000 (22:17 +0000)]
preamble.cpp: update fileformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21941
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 3 Dec 2007 16:42:43 +0000 (16:42 +0000)]
* src/BufferParams.cpp (readToken):
- initialize pair<bool, lyx::textclass_type> pp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21939
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 3 Dec 2007 15:24:53 +0000 (15:24 +0000)]
Add some documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21937
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 3 Dec 2007 06:40:51 +0000 (06:40 +0000)]
simplify C-sytle code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21935
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 2 Dec 2007 23:55:38 +0000 (23:55 +0000)]
Fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21933
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bernhard Roider [Sun, 2 Dec 2007 22:10:26 +0000 (22:10 +0000)]
CmdDef:
- deboostification
- correct comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21931
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Dec 2007 20:05:17 +0000 (20:05 +0000)]
* BufferView:
- dispatch(): transfer LFUN_FILE_INSERT_PLAINTEXT_* to GuiView::dispatch()
- insertPlaintextFile(): split in BufferView::insertPlaintextFile() and GuiView::insertPlaintextFile()
This patch get rid of FileDialog use in BufferView. Remains Buffer, Converters and LyXFunc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21930
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 18:39:05 +0000 (18:39 +0000)]
fix memory leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21928
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 18:37:58 +0000 (18:37 +0000)]
export when building vld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21927
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 18:35:11 +0000 (18:35 +0000)]
add vld info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21926
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 2 Dec 2007 17:59:53 +0000 (17:59 +0000)]
* src/BufferParams.cpp (readToken):
- fix assertion introduced with rev. 21800 (bug 4395).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21925
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Dec 2007 17:50:08 +0000 (17:50 +0000)]
* BufferView:
- dispatch(): transfer LFUN_FILE_INSERT to GuiView::dispatch()
- menuInsertLyXFile(): split in BufferView::insertLyXFile() and GuiView::insertLyXFile()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21923
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 2 Dec 2007 15:19:39 +0000 (15:19 +0000)]
* src/insets/InsetTabular.cpp:
- sanitize cursor after insertion via LFUN_CLIPBOARD_PASTE
or LFUN_FILE_INSERT_PLAINTEXT (bug 4368).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21920
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 2 Dec 2007 13:45:40 +0000 (13:45 +0000)]
- Some small Tutorial corrections spotted by Siegfried
- French EmbeddedObjects translation update also by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21919
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 12:20:20 +0000 (12:20 +0000)]
vld: prepare adding Qt to leak detection. Beware: it could be that vld has problems with the statics of Qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21917
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 12:08:52 +0000 (12:08 +0000)]
cmake: disable warning 4355
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21916
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Dec 2007 11:55:25 +0000 (11:55 +0000)]
* FileName::fileContents(): new argument to define the file encoding.
* BufferView:
- insertPlaintextString(): now accept a FileName.
- contentsOfPlaintextFile(): ditto and use FileName::fileContents().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21915
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 11:19:39 +0000 (11:19 +0000)]
vld LyX/cmake integration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21913
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 11:17:01 +0000 (11:17 +0000)]
vld LyX/cmake integration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21912
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 11:05:21 +0000 (11:05 +0000)]
add leak tool for msvc 'Visual Leak Detection' 1.9f: original files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21911
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 10:52:18 +0000 (10:52 +0000)]
also compile without pchs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21910
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 10:43:11 +0000 (10:43 +0000)]
reduce <vector> include from 73 to 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21909
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 10:29:25 +0000 (10:29 +0000)]
cmake: buffer msvc's compiler settings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21908
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 09:59:26 +0000 (09:59 +0000)]
compile also without pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21907
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 09:58:23 +0000 (09:58 +0000)]
pch fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21906
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 09:27:02 +0000 (09:27 +0000)]
fix memory leak. addMenu does not take ownership, a Qt bug?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21905
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 09:24:26 +0000 (09:24 +0000)]
fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21904
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 2 Dec 2007 09:19:43 +0000 (09:19 +0000)]
move funtion with std::vector to filetools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21903
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 2 Dec 2007 08:09:16 +0000 (08:09 +0000)]
cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21902
a592a061 -630c-0410-9148-
cb99ea01b6c8