Commit Graph

11295 Commits

Author SHA1 Message Date
Abdelrazak Younes
e26164c806 compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21060 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:30:56 +00:00
Abdelrazak Younes
2916b61086 Header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21059 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:23:32 +00:00
Jean-Marc Lasgouttes
ca495a7d36 compilation and warning fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 12:51:32 +00:00
Abdelrazak Younes
dc2f94a8b1 fix some warning and a bogus empty test.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21053 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 09:38:28 +00:00
Abdelrazak Younes
b4ef7c9968 * Paragraph: Cosmetics and cleanups, remove uneeded redirection and uniformize Private members naming. Still a lot of cleanup needed.
* InsetList: remove clone() and create a copy ctor.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21052 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 08:57:22 +00:00
Abdelrazak Younes
050b0f152f Fix copy&paste bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21051 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 07:45:46 +00:00
Bo Peng
1503743eda PrefShortcuts: the buttons are almost usable now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21050 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 03:09:14 +00:00
Bo Peng
2e953e8aad Fix tex2lyx for the isFileReadable change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21049 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 01:14:57 +00:00
André Pönitz
a02653e4dd isome more FileName shuffling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 23:03:51 +00:00
André Pönitz
988f372843 use FileName::isDirectory()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21047 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 21:10:35 +00:00
André Pönitz
055c95ca51 create FileName::isDir function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 19:38:24 +00:00
Peter Kümmel
0f939f0a79 add qrc file to cmake build process
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21045 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 19:35:38 +00:00
André Pönitz
0e08bc5e16 start using FileName::exists()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 19:29:32 +00:00
Bo Peng
0780a505eb PrefShortcuts: add a simple shortcut dialog (does nothing now), adjust prefShortcuts panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21037 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 16:47:31 +00:00
Bo Peng
94776982b2 PrefShortcuts: fix a typo, add some more buttons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21036 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 16:09:01 +00:00
Bo Peng
cc91c7e6ee PrefShortcuts: list all shortcuts (bound and unbound), using a better implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21035 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 15:48:51 +00:00
Abdelrazak Younes
d3e167c75f oups...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21034 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 15:38:12 +00:00
Abdelrazak Younes
6725b2db59 Reduce header dependencies in Paragraph.h
- Move Changes.h out of Paragraph.h
- pimpl the inset list.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 15:29:51 +00:00
Abdelrazak Younes
2cb62f5e8b remove unused declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21032 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 12:05:11 +00:00
Abdelrazak Younes
55beda376a Refactor Undo/Redo framework into an Undo class owned by a Buffer. This reduces header dependencies from Undo.h which was including lots of stuff previously. This also solves the bug where undo/redo were reset upon buffer switching. Now, each buffer has a truly independant undo/redo architecture.
In the future, when Cursor has been fixed to work correctly with multiple views of the same Buffer, we could transfer the Undo owner from Buffer to Cursor.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21031 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 11:51:17 +00:00
Abdelrazak Younes
01ac256b90 compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21030 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 09:24:16 +00:00
Richard Heck
f2418483a0 Get LFUN_DIALOG_SHOW_NEW_INSET using InsetCode, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21025 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 05:08:16 +00:00
André Pönitz
3b3ac62e58 create some helper functions in FileName
cosmetics;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 22:21:50 +00:00
André Pönitz
e8fb3824c5 do not pack parts of the working copy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21020 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 20:22:11 +00:00
André Pönitz
f3ac82a8e7 make 'make dist' work again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:59:55 +00:00
André Pönitz
540c2cf1a6 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21016 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:32:46 +00:00
André Pönitz
3cf87991c6 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21013 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 18:47:47 +00:00
André Pönitz
cf9f0fce52 un-break display of toolbuttons wiuth delimiters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21012 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 18:45:55 +00:00
André Pönitz
33e397dff8 use "real" resources
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21007 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 18:28:45 +00:00
Richard Heck
4e9609f183 Switch on InsetCodes in the factory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21004 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 12:50:25 +00:00
Richard Heck
63c10fcdfd Silence some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21003 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 12:33:47 +00:00
Bo Peng
b54bd5ae98 PrefShortcuts: iteratively add all LFUN to different categories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21001 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 05:13:34 +00:00
Richard Heck
3070a548e6 Fix bug due to empty default commands.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20997 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 19:21:00 +00:00
Richard Heck
26fd6a1420 Change how InsetBibTeX does this check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20996 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 18:53:10 +00:00
Bo Peng
404572d97d List currently used shortcuts in the shortcuts panel of the preference dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 17:48:37 +00:00
Richard Heck
13d7df639b Rationalize lyxCode().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20990 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 16:48:21 +00:00
Bo Peng
b5538c32aa Separate PrefShortcuts from PrefUi, in preparation for a shortcuts configuration panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 14:41:46 +00:00
Richard Heck
9a097259be Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20987 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 08:33:37 +00:00
Richard Heck
d18971cf99 InsetList no longer exists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20984 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 08:09:58 +00:00
Richard Heck
83a1f1189f Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20983 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 08:09:15 +00:00
Abdelrazak Younes
07ac8a473b Reduce use of dynamic_cast.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 06:50:09 +00:00
André Pönitz
200f5a292f mainly reduce include dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 22:43:55 +00:00
Enrico Forestieri
51e1520090 Better safe than sorry...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 13:48:44 +00:00
Enrico Forestieri
b35a4f12fd Please Andre' and return early
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20971 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 13:04:53 +00:00
Bernhard Roider
3d4211c91a correct numbering
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20969 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 19:08:04 +00:00
Bo Peng
34058aed9b Check and show proper error message if configure.py fails (part of buf 2829)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20967 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 14:51:05 +00:00
Uwe Stöhr
9f5b085f44 Fix two author entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20964 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 10:41:10 +00:00
Uwe Stöhr
c841ecd61b InsetHyperlink.cpp: fix bug 449: handle special characters in the url and name field
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20963 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 03:10:51 +00:00
Bo Peng
366b902cdc Fix typos in the comment in InsetInfo.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 01:37:02 +00:00
Bo Peng
4385c156e2 Allow the input of an InsetInfo using command buffer (e.g. "info-insert menu paste"). Document this change in InsetInfo.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20961 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 00:47:52 +00:00
Bo Peng
7d0b8eecb7 Use qt422 version of the ui file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20960 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 00:29:35 +00:00
Uwe Stöhr
b2ccb2d4e3 ERTUi.ui: fix dialog size
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 23:02:28 +00:00
Bo Peng
bb35edd0b0 Add Erlang support for listings (bug 4263)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20958 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 20:56:28 +00:00
Bo Peng
07fcacfd8b Document InsetInfo in insets/InsetInfo.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20956 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 20:49:06 +00:00
Uwe Stöhr
d8aacb8df2 LaTeXFeatures.cpp: revert unwanted url removal in r20950
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20955 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:18:36 +00:00
Uwe Stöhr
7075eaadef The huge URL patch:
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)

Only missing thing is the lyx2lyx conversion routine - this will be done by Richard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Richard Heck
3b0bfc4c52 Fix bug noted by Uwe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 17:34:49 +00:00
Martin Vermeer
f997928d57 Off-by-one error addCol()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20947 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 15:48:22 +00:00
Enrico Forestieri
dde506924c Clarify comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 14:07:04 +00:00
Martin Vermeer
1ecd2189f2 Dissolve CharStyle initial implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20944 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 12:59:44 +00:00
Abdelrazak Younes
589170bd4b Remove mostly unused function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 12:58:43 +00:00
Abdelrazak Younes
36e9a1fd30 Inset::translate() -> lyx::insetCode()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20942 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 12:50:18 +00:00
Abdelrazak Younes
fb306e4a90 Oups!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20941 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 10:23:16 +00:00
Abdelrazak Younes
87b112496c Use InsetCode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20940 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 09:48:18 +00:00
Martin Vermeer
ee038db36d Safer code for allowMultiPar(), thx Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20939 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 09:14:49 +00:00
Abdelrazak Younes
f357fb955f Use InsetCode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 09:11:10 +00:00
Abdelrazak Younes
f7b1c86393 Move Inset::Code to InsetCode.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20936 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 09:04:52 +00:00
Abdelrazak Younes
61dba28fc4 please Angus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 07:33:07 +00:00
Uwe Stöhr
ed43dea031 fileformat change to 294 for Pavel's PDFOptions cleanup in r20881
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20933 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-12 23:51:56 +00:00
Enrico Forestieri
d88aac0e1f Add support for greek and cyrillic chars such that it is not
necessary to mark them in the proper language for typesetting.

	* src/Paragraph.cpp
	(Paragraph::Pimpl::knownLangChars): new method.
	(Paragraph::Pimpl::simpleTeXSpecialChars): output proper
	latex code for greek and cyrillic chars.

	* src/LaTeXFeatures.cpp: add textgreek and textcyr features.

	* src/Encoding.{cpp,h}
	(Encodings::isKnownLangChar): new method.

	* lib/unicodesymbols: add greek and cyrillic alphabetic chars.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-12 18:21:51 +00:00
Uwe Stöhr
0b6fa6ef30 BufferParams.cpp: - load the japanese package only when japanese is not already provided.
- fix japanese babel handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20929 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 23:31:16 +00:00
Uwe Stöhr
eb88593154 PDFOptions.cpp: tiny cleanup by Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20928 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 23:02:33 +00:00
Edwin Leuven
832653caf1 add missing include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20918 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 19:35:49 +00:00
Edwin Leuven
82c70b62a2 small facelift for close button on tabwidget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20917 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 19:00:18 +00:00
Edwin Leuven
7fd83b7f02 add "copy to clipboard" button to log dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20916 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 18:15:30 +00:00
Martin Vermeer
ea8c202a79 Sanitize behaviour of line break in simple math inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 17:12:34 +00:00
Bo Peng
a412733f65 InsetInfo: Make the display of multiple shortcuts less clumsy by using A, B instead of [A][B]. This is safe, but a bit contraversial.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 16:03:21 +00:00
Bo Peng
e224999ae6 InsetInfo: load bind file and menu backend in batch mode as well. Otherwise, InsetInfo will yield different output in batch mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20909 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:27:24 +00:00
Bo Peng
f847e0776b InsetInfo: add LYXRC_INFO (lyxrc bind_file ==> cua)
NOTE: The syntax in LyXRC.cpp is ugly, and this feature is not extremely useful. Therefore, this patch may be reverted in the end.
	* src/insets/InsetInfo.h|cpp: support LYXRC_INFO
	* src/LyXRC.h|cpp: allow output of a specific RC item.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20908 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:23:52 +00:00
Bo Peng
4ed5939d2e InsetInfo: add MENU_INFO (menu paste ==> Edit > Paste)
* src/insets/InsetInfo.h|cpp: handle MENU_INFO
	* src/MenuBackend.h|cpp: add searchFunc function


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20907 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:14:11 +00:00
Bo Peng
353aacab4b InsetInfo: lyx2lyx support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:56:34 +00:00
Bo Peng
62c98f2ffc InsetInfo: add InsetInfo (core)
* src/insets/Inset.cpp: add InsetInfo
	* src/insets/Inset.h
	* src/insets/InsetInfo.cpp
	* src/insets/InsetInfo.h
	* src/LyXAction.cpp: add LFUN_INFO_INSERT
	* src/lfuns.h
	* src/BufferView.cpp: 
	* src/factory.cpp
	* src/Text3.cpp: insert InsetInfo with selected text
	* development/scons/scons_manifest.py: build tools update
	* src/Makefile.am


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:52:00 +00:00
Abdelrazak Younes
a800da1bfe initial support for shift + right-mouse-click selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20903 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:46:53 +00:00
Abdelrazak Younes
70b938bf5a Transfer some LFUNs from LyXFunc::getStatus() to BufferView::getStatus(). What a mess!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20902 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 13:20:21 +00:00
Abdelrazak Younes
a9c2a907c0 Remove "DocIterator.h" header dependencies in Buffer.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 12:48:24 +00:00
Abdelrazak Younes
59aae2aa83 Don't restart the blinking cursor inside WorkArea because some shortcuts can delete the current WorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 12:31:48 +00:00
Abdelrazak Younes
9f60651fcb Metrics fix. Empty math inset doesn't have zero dimension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 10:33:36 +00:00
Martin Vermeer
04ee2d87fc Introduce allowMultiPar()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 10:13:45 +00:00
Abdelrazak Younes
c2b139d5a0 fix in r20895 was not fully correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 10:05:04 +00:00
Abdelrazak Younes
9a458ec6e9 Move private part of BufferView to a private implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 09:59:01 +00:00
Abdelrazak Younes
a2bc74bca8 Crash fix. I don't know why this is triggered only now... I guess someone changed the way toolbars are initialized. The changes are safer anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 09:57:52 +00:00
Abdelrazak Younes
57a8d370d4 Header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20894 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 07:26:06 +00:00
Abdelrazak Younes
18137a6ad6 Fix cursor blinking after unknown action.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 07:03:17 +00:00
André Pönitz
b55f17ecb5 shut up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 06:17:52 +00:00
André Pönitz
a4afd7b7e9 thinko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20891 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 22:03:22 +00:00
André Pönitz
264a3d1cb4 fix bug reported by Jean-Marc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20890 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 16:57:05 +00:00
Martin Vermeer
74d5587268 Oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 13:42:34 +00:00
Martin Vermeer
0f4d519108 A saner way to reset paragraphs to default when inserting inset around selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 13:25:37 +00:00
Edwin Leuven
dddcccfebe designer sucks sometimes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 09:50:03 +00:00
Abdelrazak Younes
671ca5908e Opened, resize a bit and saved in Designer 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 09:26:42 +00:00
Edwin Leuven
1cdf324716 try again with designer 4.1 (sorry!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 09:22:36 +00:00
Abdelrazak Younes
e3032e7d0e * BufferView::update(): renamed to processUpdateFlags() to clarify the intent. Also get rid of the default argument which added to the confusion as to what was the purpose of update(). Now also emit Buffer::changed() signal internally instead of assuming that the caller will act upon the returned boolean.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 08:52:55 +00:00
Edwin Leuven
6a474e739c small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20883 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 08:26:08 +00:00
Uwe Stöhr
3ac983b1ab BiblioUi.ui: fix too wide groupbox by adding a spacer
FloatPlacementUi.ui: fix too large groupbox by adding spacers
ParagraphUi.ui: fix dialog definition - was automatically done by designer
PDFSupportUi.ui: fix too large groupbox by adding a spacer

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20882 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 01:07:49 +00:00
Uwe Stöhr
38dfe36093 PDFOptions: Pavel's final touches patch
PDFSupportUi.ui: recreated dialog to fix the appearance in the dialog settings dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20881 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 00:34:23 +00:00
Uwe Stöhr
392ddbfdbd BufferParams.cpp: babel must be loaded even when there is no given language parameter, due to the Japanese support package that does this later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20880 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 23:03:14 +00:00
Uwe Stöhr
1484691640 BufferParams.cpp: empty the encodings when the Japanese plain encodings are used to prevent that inputenc is used (according to the suggestion by JMarc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 22:26:17 +00:00
André Pönitz
74f8d6dc6a cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20876 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 22:13:51 +00:00
André Pönitz
5342ee5aad finally merge Dialog and Controller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 21:21:01 +00:00
André Pönitz
fee6fea248 some controller simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20871 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 19:52:34 +00:00
André Pönitz
6f3cdf8da8 move Controller inheritance further up the tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20870 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 19:34:27 +00:00
Martin Vermeer
5a2deb94c3 Fix bug, and introduce MultiPar parameter for flex insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20869 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 17:07:24 +00:00
Abdelrazak Younes
89c7ca6a28 clear the pixmap cache and the font metrics cache in case of zoom or dpi changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 14:10:55 +00:00
Abdelrazak Younes
c1472a5c78 * GuiViewSource: port back to DockView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 09:43:56 +00:00
Abdelrazak Younes
17ffac2ae9 Fix memory leak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 09:29:27 +00:00
Abdelrazak Younes
1a600cbff0 * GuiToc: make it work.
* GuiView::activate event: remove explicit updateToc() call as this is already done as part of updateBufferDependent().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 08:06:36 +00:00
Abdelrazak Younes
de9eb00a0e set eol-style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20863 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 06:39:53 +00:00
Abdelrazak Younes
bdc2a753d7 set eol-style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 06:38:07 +00:00
Uwe Stöhr
71ea6e7a8b BufferParams.cpp: next step for proper traditional Japanese support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 00:59:16 +00:00
Uwe Stöhr
a9b5b1ff9a Fileformat incremented to 293 due to yesterdays' support for japanese-plain (r20831)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:40:23 +00:00
Bernhard Roider
eb95d6bb59 fix pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 20:38:55 +00:00
Abdelrazak Younes
8dc0c09d72 Merge Dialog and Controller in DockView. Still crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 20:14:58 +00:00
Peter Kümmel
f63c57f0c2 remove X11's namespace pollution
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 19:36:15 +00:00
Jean-Marc Lasgouttes
1a53e1099a * src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
simpler 'keep_layout'

	* src/Text.cpp (breakParagraph): change parameter keep_layout to 
	inverse_logic.

	* src/Text3.cpp (dispatch): remove LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT;
	implement "inverse" flag to LFUN_BREAK_PARAGRAPH.

	* src/LyXAction.cpp:
	* src/insets/InsetCaption.cpp (doDispatch):
	* src/insets/InsetFlex.cpp (doDispatch):
	* src/insets/InsetTabular.cpp (doDispatch): 
	* src/insets/InsetIndex.cpp (doDispatch):
	* src/lfuns.h: remove all traces of LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT.

	* lib/bind/cua.bind:
	* lib/bind/xemacs.bind: 
	* lib/bind/emacs.bind:
	* lib/bind/mac.bind: adapt bindings.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 13:17:15 +00:00
Jürgen Spitzmüller
bbb52a1c9d * src/BranchList.cpp:
- fix crash when theApp() didn't exist (command line export of document with branches) [bug 4255]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 09:21:56 +00:00
Abdelrazak Younes
bd720f7277 Add a FIXME and a hint for implementation of surrogate pair metric problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 08:55:21 +00:00
André Pönitz
72344cfbe6 delete controllers dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 21:38:06 +00:00
André Pönitz
8500da8691 move stuff around. probably not the final destination...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 21:14:24 +00:00
André Pönitz
bbc4043a45 remove unneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20827 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 20:36:09 +00:00
André Pönitz
f1c1cba9c3 math stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 20:34:09 +00:00
André Pönitz
175fb31dbc this (temporarily...) removes the "dock" option.
*sigh*


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 20:00:46 +00:00
André Pönitz
faafd03726 more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 18:58:47 +00:00
André Pönitz
6a2f951cf7 one more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 18:40:01 +00:00
André Pönitz
24b95a387c some refactoring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:59:01 +00:00
André Pönitz
4b510c9b7c some refactoring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20820 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:44:41 +00:00
André Pönitz
99c9b0fbcf next ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20819 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:41:49 +00:00
André Pönitz
7e30f47252 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20817 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:19:14 +00:00
Bo Peng
c0fb3ecae2 Fix scons and a file inclusion problem in ControlCommand.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:18:21 +00:00
Edwin Leuven
5edb15537c correct includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20815 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 11:17:32 +00:00
André Pönitz
09013cf1af more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20813 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 10:31:37 +00:00
André Pönitz
9358073e14 shuffle stuff around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 10:10:41 +00:00
André Pönitz
456524da45 shuffle stuff arond
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 09:59:28 +00:00
André Pönitz
30725acc58 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 09:47:12 +00:00
André Pönitz
3f554746dc one more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20808 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 08:55:20 +00:00
Abdelrazak Younes
0f67ab46b7 Transfer some more code from GuiView to TabWorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20807 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 08:12:20 +00:00
Abdelrazak Younes
769185bc90 Transfer some code from GuiView to TabWorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 08:05:02 +00:00
André Pönitz
24cf8ce58f next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20805 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 22:43:21 +00:00
André Pönitz
ff2356f7e6 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20804 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 22:16:14 +00:00
André Pönitz
868cb241a2 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 21:31:01 +00:00
Bo Peng
9ccb603c96 display icons in the Embedding dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 21:14:30 +00:00