Commit Graph

11986 Commits

Author SHA1 Message Date
Abdelrazak Younes
9f26cdda31 rev 21667: Forgot this!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21668 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:29:58 +00:00
Abdelrazak Younes
01470ddcb7 Remove unused methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:27:04 +00:00
Abdelrazak Younes
b3ae9f9b71 ParagraphMetrics::computeRowSignature(): Fix crc computing; char_type is 4 bytes!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21666 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 21:47:46 +00:00
Abdelrazak Younes
1b147f12b0 Spoiling some fun from Andre': put Application on a diet and remove unnecessary string conversions and method indirections.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 20:36:52 +00:00
André Pönitz
7bd8477a60 less string conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 10:14:43 +00:00
André Pönitz
d5fc2425a9 consolidate showDialog() incarnations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21662 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 00:39:15 +00:00
André Pönitz
55b4fbcf21 merge GuiView/Dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 00:01:14 +00:00
Pavel Sanda
ae4535adb3 Fix initialization warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21660 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:55:30 +00:00
André Pönitz
719a7beb48 make Application slimmer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21659 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:37:33 +00:00
André Pönitz
12f435035a move view_ids from Application to GuiApplication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21658 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:25:42 +00:00
André Pönitz
d837643c95 make frontend::Application a bit slimmer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21657 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:11:11 +00:00
André Pönitz
1005c166c2 merge frontend::Gui and frontend::Application
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21656 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 20:47:50 +00:00
Abdelrazak Younes
bdf33a2a32 Fix mouse selection drawing by brute force.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 18:17:19 +00:00
Pavel Sanda
49094adfa2 Implement --enable-monolithic-{insets,mathed,core}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21654 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 15:37:29 +00:00
André Pönitz
dac06728cb shuffle code around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21653 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 15:32:12 +00:00
Jürgen Spitzmüller
fa07bad49c * LaTeXFeatures.cpp (useLanguage):
- require the CJK package for CJK languages.
* BufferParams.cpp (writeEncodingPreamble):
	- load CJK package if required.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21652 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 12:37:18 +00:00
Abdelrazak Younes
926abae753 Simplify single par drawing:
* ParagraphMetrics::computeRowSignature(): Integrate row's dimensions and selection status in the row signature.
* TextMetrics::drawParagraph(): compute the row signature here and rely on that to decide if a redraw is needed or not.
* BufferView::Private: get rid of the ViewMetricsInfo member. Just keep the ScreenUpdateStrategy.
* BufferView::draw(): full screen update even for singlePar case because the row signature will detect if something needs to be redrawn.
* Text3.cpp: get rid of hack following architecture update.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 11:27:03 +00:00
Abdelrazak Younes
fd34bd3914 Cosmetics and cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21649 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 23:00:57 +00:00
Abdelrazak Younes
7a4c9a258e row selection tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21648 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:52:15 +00:00
Abdelrazak Younes
92b4b75a8f add '-' between LyX and version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21647 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:21:40 +00:00
Abdelrazak Younes
d9194a2fcf Add version to application name in session info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:10:35 +00:00
Abdelrazak Younes
ce46ca8653 Hopefully fix the ignored -geometry option under X11.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 21:52:04 +00:00
Abdelrazak Younes
e0a62da75a Change organization name to LyX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21644 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 17:28:50 +00:00
Abdelrazak Younes
ce84d0b6fc Work around X11 Windows manager limitations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21643 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 17:19:46 +00:00
Jean-Marc Lasgouttes
70a25df0ee remove properly [[context]] strings from translated messages
src/Messages.cpp: general cleanup.
	(cleanTranslation): remove [[context]] strings from a docstring. Use
	plain string manupulation instead of regular expressions.
	(get): use cleanTranslation also on strings that got translated.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21641 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 14:31:16 +00:00
Jean-Marc Lasgouttes
8b1cc5bfef * src/Text2.cpp (deleteEmptyParagraphMechanism): do not reset the
appendix marker if the deleted paragraph was the last one (bug 4352)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21639 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 13:33:21 +00:00
Martin Vermeer
3ea8ddf7f9 Fix font bug reported by Helge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21638 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 12:39:10 +00:00
Abdelrazak Younes
ded737b109 WIN32 compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 11:26:05 +00:00
André Pönitz
72e3177e3d shuffle some code around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 22:30:16 +00:00
André Pönitz
bb5f33e4d9 merge the two parts of the implementation of frontends::Dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 21:57:00 +00:00
André Pönitz
e1ce2f92db reduce line noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 20:04:51 +00:00
Abdelrazak Younes
79e12182cb cosmetics and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21630 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 19:46:30 +00:00
Abdelrazak Younes
f46454fb7a Avoid unnecessary redraw when selecting text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21629 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 18:01:04 +00:00
Abdelrazak Younes
8c1f803b83 simplify text selection drawing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 17:01:38 +00:00
Abdelrazak Younes
bba8891efb Add InsetOptArg to standard insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21627 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 15:40:01 +00:00
Abdelrazak Younes
e73f8040fe Use QSettings for session management of windows geometry. This commit also removes the possibility to fix the window dimensions in the RC file. Instead we have now a single check box for enabling/disabling geometry session management.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:58:44 +00:00
Abdelrazak Younes
55217e352c Remove support for Qt < 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21624 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:51:03 +00:00
Pavel Sanda
a5449f2b7d Add format hint for command line export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21623 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:14:39 +00:00
Abdelrazak Younes
fa2693ae3d compile fix when ENABLE_NLS is not defined.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 09:03:30 +00:00
Enrico Forestieri
067e21046f Fix bug that files with nonascii filenames are always reported
as externally modified.

	* src/Buffer.cpp (Buffer::readFile): filenames are always stored
	as UTF-8 in the FileName class.

	* src/support/FileName.h: correct comment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21620 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 23:30:13 +00:00
André Pönitz
a3393e63b8 unneeded stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21619 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 22:29:20 +00:00
André Pönitz
f0fee538c2 more strfwd
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 21:57:43 +00:00
André Pönitz
f4292fcec7 usr strfwd
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 21:36:01 +00:00
André Pönitz
e6042e15f3 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21616 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 21:24:18 +00:00
Stefan Schimanski
41ebe5e752 * added forgotton undo call for LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 17:59:58 +00:00
Abdelrazak Younes
b716616322 cleanups and cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21612 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 17:39:16 +00:00
Stefan Schimanski
240e59ae0d * fixed bug #4357 when pasting a macro with script index
* fixed some other unreported bug when the cursor is not inside or near the macro during fold/unfold
 * fixed the bug that the cursor jumped into the first parameter when pasting a macro. This should only happen when the macro was entered interactively


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21611 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 17:33:49 +00:00
Abdelrazak Younes
3ab1031f97 Fix wrong setting of language when only font change is requested.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21610 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 15:07:08 +00:00
Abdelrazak Younes
a97fcadb9d fix drawing issues following removal of WorkArea::width() and height().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 14:34:55 +00:00
Abdelrazak Younes
1f4e5c926a Bump the Qt requirement to version 4.0.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21607 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 14:24:59 +00:00
Abdelrazak Younes
e5eabfe067 Transfer geometry related session code from LyX::newLyXView() to GuiView::setGeometry().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21606 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 13:56:13 +00:00
Abdelrazak Younes
9c928fba07 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21602 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 12:31:31 +00:00
Abdelrazak Younes
e4fff1a3df Header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21601 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 12:29:42 +00:00
Abdelrazak Younes
0c6306060e Fix the disappearing minibuffer by don't pretending we are flexible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21600 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 11:14:06 +00:00
Abdelrazak Younes
dd0ff2d0f7 compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21599 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 08:17:55 +00:00
Pavel Sanda
1098ca796f Fix bug 2738: Wrong sorting of languages in Document dialog
http://bugzilla.lyx.org/show_bug.cgi?id=2738



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 02:01:50 +00:00
André Pönitz
d93679c1db cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:21:31 +00:00
André Pönitz
5609f23db4 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21595 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:09:52 +00:00
André Pönitz
cc7b2d438f compile fix;
cosmetics;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21594 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:04:00 +00:00
André Pönitz
f625dd7ea0 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:50:28 +00:00
André Pönitz
cf9d42c670 shuffle stuff around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21591 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:21:29 +00:00
Enrico Forestieri
a53e2ac8dc Fix thinko in r21048
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:06:40 +00:00
Enrico Forestieri
12aa33ff01 Fix thinko in r21047
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21589 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:05:02 +00:00
André Pönitz
0ee7c6e283 remove #includes; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21588 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:00:36 +00:00
Abdelrazak Younes
12ecafd76e Transfer createView() from Application to GuiApplication and get rid of LyXView::setGeometry() pure virtual interface. The goal is to switch to Qt session handling for geometry instead of our own house made one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 15:29:15 +00:00
Abdelrazak Younes
f8490161bd Transfer some LFUNs from LyXFunc to GuiView and get rid of GuiView methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21583 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 14:49:50 +00:00
Abdelrazak Younes
fcdc4f8a6b Some more cosmetics and removal of unused methods in GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21582 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 14:04:32 +00:00
Abdelrazak Younes
f111a8e322 Some cosmetics and a gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21581 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 13:23:44 +00:00
Abdelrazak Younes
37d4a67e0d brown paper bag...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21580 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:47:40 +00:00
Abdelrazak Younes
e2aba1b550 compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21579 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:31:37 +00:00
Abdelrazak Younes
4fc7593ab6 compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21578 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:24:34 +00:00
Abdelrazak Younes
4eb2740a0d Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21577 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:20:55 +00:00
Martin Vermeer
979239a248 Make URL a standard inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21576 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:03:16 +00:00
Abdelrazak Younes
c4db1d0f5a Push latest Andre's changes toward their true direction:
* WorkArea.h and LyXView.h: remove unneeded pure virtual interface.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 09:52:28 +00:00
Stefan Schimanski
066de606d2 cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 07:58:52 +00:00
Richard Heck
038d2b494e Stupid mistake. Thanks TC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21572 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 01:06:49 +00:00
Enrico Forestieri
7bfa3826d2 Fix slot connections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21571 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 00:38:21 +00:00
André Pönitz
107568e9fe remove unneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21570 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:45:02 +00:00
André Pönitz
ffd3c159bf cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21569 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:41:13 +00:00
André Pönitz
c256661047 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21568 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:37:34 +00:00
André Pönitz
600db8e21d small refactoring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21567 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:26:51 +00:00
André Pönitz
309232d26b make LyXView almost pure virtual. Merge implementation with GuiView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21566 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:23:19 +00:00
André Pönitz
36136efb78 de-boostification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21561 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:35:43 +00:00
André Pönitz
bc20c9f382 remove unneeded functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21558 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:23:45 +00:00
André Pönitz
34859c9a4f make WorkArea a pure interface, move all implementation to GuiWorkArea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21557 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:15:51 +00:00
Stefan Schimanski
963470c60e * fix crash due to a missing test whether thisSlice is -1 or a valid slice number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21556 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:12:39 +00:00
André Pönitz
adaad6e2e5 simplify class structure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21554 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 20:18:19 +00:00
Abdelrazak Younes
fe8bce6676 Transfer readOnly() and updateWindowTitle() from Delegates to WorkArea/WorkAreaManager. This permits to automatically update Windows and Tabs titles (thanks to Qt signal/slot connections).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21551 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 22:30:21 +00:00
André Pönitz
656724ffd0 undef unwanted X11 macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21547 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 12:14:06 +00:00
Abdelrazak Younes
2480fa573c * GuiView:
- addTabWorkArea(): Implement split view.
- maintain current_work_area_ pointer for the need of future embedded workAreas.
- transfer and some code to GuiView::Private and simplify some other things.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21546 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 10:09:48 +00:00
Uwe Stöhr
565e446e26 FileName.cpp: MSVC compile fix for r21492
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21545 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 20:36:22 +00:00
André Pönitz
8d06b3049b cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 13:44:50 +00:00
Jürgen Spitzmüller
873ee23697 * src/LyXRC.cpp (lyxrcTags[]):
- fix ordering (broken in r21536).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21543 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 11:39:49 +00:00
Jürgen Spitzmüller
c159b9ece9 * src/LyXFunc.cpp (actOnUpdatedPrefs):
- add missing case LyXRC::RC_DEFFILE (and shut up compiler)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21542 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 11:22:19 +00:00
Jürgen Spitzmüller
208feabc07 * src/Text.cpp:
- safer (but slightly less nice) fix for bug 4334. Fixes bug 4347 that was introduced in r21489.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21541 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 11:05:38 +00:00
Pavel Sanda
87bd0e79ad Fix bug 2739: Option for alphabetical sorting of environments in the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21536 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 00:21:42 +00:00
Enrico Forestieri
2a03009a75 Much ado about nothing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21530 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-09 10:54:45 +00:00
Abdelrazak Younes
5d906055af revert 21523.
Sorry Uwe but if this does not compile it is a problem on your system.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21529 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-09 10:36:56 +00:00
Uwe Stöhr
5cd5bf695e GuiFloat.cpp: fix the regression that float placement dialog has no title
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21525 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 23:05:48 +00:00
Uwe Stöhr
803a4be927 FileName.cpp: compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21523 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 22:48:23 +00:00
André Pönitz
f4e883c475 use strfwd when appropriate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21520 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 21:52:09 +00:00
André Pönitz
fdd5134a24 #undef I_AM_NOT_AFRAID_OF_HEADER_LIBRARIES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21519 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 21:38:10 +00:00
Enrico Forestieri
edb6c9ede4 Always forward declare string as it is not guaranteed that the
iosfwd header already does it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21518 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 13:32:56 +00:00
Stefan Schimanski
d51c3cd2f8 * added comment to describe why we are in monochrome mode at this point.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21517 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 10:14:18 +00:00
Abdelrazak Younes
b9eecfab8a optimizations (halves the number of multiplication).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 08:00:31 +00:00
Abdelrazak Younes
3a1290815e Fix compilation for MSVC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21514 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 07:47:31 +00:00
Enrico Forestieri
4a35906da7 Fix problems with odocstream on "exotic" systems caused by the strfwd gimmick.
* src/support/docstream.{cpp,h}:
	Move insertion operator for char types from docstream.h to
	docstream.cpp and compile it only when USE_WCHAR_T is not defined.

	* src/support/strfwd.h:
	Implement forward declarations in standard C++ way.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21513 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 06:05:19 +00:00
André Pönitz
14f7e7fffe shuffle stuff around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21511 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 00:09:58 +00:00
Abdelrazak Younes
c1c5e5b50e compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:39:12 +00:00
Abdelrazak Younes
4bf0bed36a Adjust headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21508 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:34:45 +00:00
Abdelrazak Younes
6904f34e48 adjust comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21507 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:27:17 +00:00
Abdelrazak Younes
cdf1378200 Introducing TextClassPtr.h to minimize header dependencies.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21506 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:25:08 +00:00
Abdelrazak Younes
b7cc721833 Move InsetLayout definition to insets/InsetLayout.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21502 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:31:07 +00:00
Abdelrazak Younes
dec166d5e3 compil fix. No guaranty that it works but at least it compiles with MSVC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21501 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:20:13 +00:00
André Pönitz
319f70b839 use support::FileName
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21500 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:04:02 +00:00
André Pönitz
9746bda072 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21499 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:59:19 +00:00
Abdelrazak Younes
4aa5f6cd2d cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21498 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:57:19 +00:00
André Pönitz
be85a6fcb5 --boost; style issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21497 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:52:11 +00:00
André Pönitz
a1eb7cac0e more of it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21496 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:25:22 +00:00
André Pönitz
5253f5f17d Abdel?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21495 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 20:44:36 +00:00
André Pönitz
a15472ecfe compile fix?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21494 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 20:22:46 +00:00
André Pönitz
b55a179d51 more de-boostification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21493 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 20:14:30 +00:00
André Pönitz
cf7b238479 more use of support::FileName.
Would be nice if people tested read/write, and Bo perhaps the 'embedded'
feature?



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21492 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 19:52:11 +00:00
Abdelrazak Younes
e61bae3dbb revert rev 21490.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21491 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 16:41:48 +00:00
Abdelrazak Younes
5a8a8b6b0c integrate lengthcommon.cpp into Length.cpp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21490 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 15:55:59 +00:00
Jürgen Spitzmüller
cd4c58fb92 * src/Text.cpp (getPossibleLabel):
- remove line breaks from label proposals (fixes bug 4334)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21489 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 15:30:08 +00:00
André Pönitz
a88884aaa2 simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21483 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 22:20:05 +00:00
André Pönitz
688c186614 we assume (more or less) conforming compilers nowadays.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21482 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 21:45:24 +00:00
André Pönitz
a8ea5cc493 rmove unused file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21481 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 21:18:39 +00:00
André Pönitz
f6fd9f1172 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21480 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 21:00:00 +00:00
André Pönitz
8995e86584 some consolidation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 20:57:29 +00:00
André Pönitz
f09222007f cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21477 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 20:38:35 +00:00
Abdelrazak Younes
216775d3c7 gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21476 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 19:24:05 +00:00
Jürgen Spitzmüller
ddbcee01ac * src/BufferView.cpp:
- move the LFUN_OUTLINE_*'s out of here ...
* src/Text3.cpp:
	- to this place. This fixes a crash (bug 4330).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21475 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 17:13:43 +00:00
Abdelrazak Younes
bac194f5db Revision 21471: Forgot that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21472 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 14:18:09 +00:00
Abdelrazak Younes
0b0c27ef59 * BufferView: Make use of ScreenUpdateStrategy::NoScreenUpdate, avoid a screen redraw when it is not really needed.
* Painter.h: move isDrawingEnabled() to public Area.

* TextMetrics::drawParagraph(): backup and restore original drawing state of the Painter.

* InsetTabular::draw(): ditto.

* InsetMathNest::drawSelection(): ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21471 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 14:07:49 +00:00
Jürgen Spitzmüller
f9dd4b000e * src/frontends/qt4/GuiSpellchecker.cpp:
- reanimate the spellchecker.
	- fix bug 2218 (spellchecher skips first word)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 13:40:31 +00:00
Abdelrazak Younes
d69115d9db Avoid unnecessary redraw.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 13:16:27 +00:00
Abdelrazak Younes
e660f44001 Current update architecture doesn't need multiParSel() special case anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21467 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 09:34:16 +00:00
Jürgen Spitzmüller
3c5ff007e0 * src/mathed/InsetMathBig.cpp:
- add missing include.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 09:30:33 +00:00
Abdelrazak Younes
52ee452334 some documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21465 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 09:09:29 +00:00
Abdelrazak Younes
257117ac1e Oups...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21464 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 08:57:48 +00:00
Abdelrazak Younes
f84080f01c * Bufferview::updateMetrics(): Separate out the SinglePar optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 08:32:25 +00:00
Martin Vermeer
dd0c77d063 Fix bug 4329
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21460 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 07:07:15 +00:00
André Pönitz
9daf07588f #include cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21459 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 23:46:17 +00:00
Dov Feldstern
7bf4f48a4a Use forceLTR instead of inset codes in order to determine whether an inset
should be surrounded by external \L{} in bidi text.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21458 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 23:44:47 +00:00
André Pönitz
31617cf92a remove unneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21457 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 23:01:18 +00:00
André Pönitz
9cca7a0c1a remove unneeded Cursor.h include;
use strfwd 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21456 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 22:54:53 +00:00
André Pönitz
77821e11c1 merge helper files;
remove duplicated lyx::frontend::setAutoTextCB(QCheckBox*, QLineEdit*, LengthCombo*)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21455 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 22:20:23 +00:00
André Pönitz
7ced3deb52 use forward declaration...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21454 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 21:42:08 +00:00
Martin Vermeer
1c05c37696 Revert 4323/2 fix addRow -> appendRow part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21451 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 20:54:28 +00:00
André Pönitz
5216137bdb cosmetics as hinted by uncrustify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21450 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 20:33:20 +00:00
Dov Feldstern
cd95a4bae8 Getting rid of LTR bias --- part 4/4
This is the final patch (at least for now). This one deals with the idxFoo
methods in the math insets. The previous patches in the series are r21128, 
r21244 and r21448.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21449 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 19:44:03 +00:00
Dov Feldstern
ddd82f7aa4 Getting rid of LTR bias --- part 3/4
This is a continuation of r21128, r21244


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21448 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 19:41:16 +00:00
Bernhard Roider
e077f03643 more complete fix for bug 4318 and variants (see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg130765.html)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21444 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 16:52:34 +00:00
Jürgen Spitzmüller
ab8bbd9b88 * src/LyXFunc.cpp (actOnUpdatedPrefs):
- add missing LyXRC::RC_USE_PIXMAP_CACHE to switch,

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 15:50:00 +00:00
Abdelrazak Younes
ff189f6c70 Rename GuiViewBase to GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21436 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 13:52:37 +00:00
Abdelrazak Younes
c1afc30a8a Fix bug 4317 and update comment WRT current situation of trunk.
http://bugzilla.lyx.org/show_bug.cgi?id=4317

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21435 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 12:04:47 +00:00
Jürgen Spitzmüller
33d8394fbb * src/mathed/InsetMathGrid.cpp:
- clear selection before deleting row/column (fix bug 4323/1).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21433 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 10:46:39 +00:00
Abdelrazak Younes
adfa69440d Get rid of InsetFlexParams
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21432 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 10:14:19 +00:00
Martin Vermeer
70c8d87745 Fix bug 4323/2, and more logical naming of addRow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21429 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 09:51:37 +00:00
Jürgen Spitzmüller
45399e1e7a * src/mathed/MathParser.cpp (getChar):
- return 0 instead of char_type(), which is unpredictable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21426 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 07:55:32 +00:00
Jürgen Spitzmüller
3cafb856d7 * src/mathed/MathParser.cpp (getChar):
- empty return if the char is not good() (fix bug 4318).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21425 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 07:15:57 +00:00
Jürgen Spitzmüller
30acdbebfa * src/LyXRC.cpp: shut up compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 11:29:12 +00:00
Jürgen Spitzmüller
097d1d3215 * src/frontends/qt4/GuiPrefs.cpp: fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21418 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 11:12:59 +00:00
André Pönitz
48b2b1d329 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21417 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 09:51:26 +00:00
André Pönitz
7c41973d51 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21411 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 20:52:09 +00:00
André Pönitz
35ee849f2a ugly and not strictly needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 20:45:14 +00:00
André Pönitz
14918bf4b9 remove unneeded @includes from BufferView.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21409 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 18:50:54 +00:00
André Pönitz
437693005c *sigh*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21408 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 18:30:05 +00:00
Dov Feldstern
64b276b6fc Force latin-only InsetCollapsables into LTR environment if surroundings are RTL.
This fixes, for example, the URL inset, which used to be  included here 
explicitly when it was a standalone inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21407 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 18:12:52 +00:00
Dov Feldstern
c4d8c85a09 rename asTextInset -> asInsetText (to conform with asInsetCollapsable, asInsetMath)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21406 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 18:07:41 +00:00
André Pönitz
5b396fd149 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21405 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 17:56:29 +00:00
André Pönitz
09b7e6e60a some std::string -> filename changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21404 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 17:37:37 +00:00
Martin Vermeer
2fbc75b552 Apply \protect more selectively for special phrases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21403 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 17:07:37 +00:00
Abdelrazak Younes
041313e3b5 remove two FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21401 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 11:40:41 +00:00
Abdelrazak Younes
dc2a6f95ff Transfer some code from InsetFlex to InsetCollapsable. Add some safeguards and FIXMEs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21400 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 09:03:08 +00:00
Abdelrazak Younes
5b8c4888d7 Also give sane labelfont to modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21398 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 01:41:27 +00:00
Abdelrazak Younes
a3f8b0f171 Fix copy&paste of Insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21397 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 00:56:48 +00:00
Abdelrazak Younes
85f80979fc Further cleanup of InsetFlex, InsetCollapsable and InsetLayout:
- Getting rid of some unneeded init() methods.
- InsetCollapsable::layout_ is now a const pointer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21396 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-03 00:35:07 +00:00
André Pönitz
09df753df4 pimpl not needed here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 23:42:27 +00:00
Abdelrazak Younes
ebd2089bc2 Remremove unneeded init() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21394 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 23:12:43 +00:00
Abdelrazak Younes
fc0f77044d fix layout of InsetBox and remove unused InsetCollapsable methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21393 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 22:10:59 +00:00
Abdelrazak Younes
d45d7de8c3 Further cleanup of collapsable insets. The layouts are now properly read and applied.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21392 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 21:27:41 +00:00
André Pönitz
c08309a9e2 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21391 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 21:27:37 +00:00
André Pönitz
47cd08999c cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21390 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 21:04:52 +00:00
André Pönitz
f8f78fe59d de-tuple-fication; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21389 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 20:41:04 +00:00
André Pönitz
65ce182131 I wonder why boost::tuple is preferable over a simple struct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21388 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 20:26:28 +00:00
André Pönitz
f370da4113 some de-boostification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21387 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 19:59:08 +00:00
Abdelrazak Younes
f038c80e33 Remove fontlabel initialisation bug work-around. We should fix the inset layout definition parsing instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21386 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 18:33:59 +00:00
Abdelrazak Younes
c5f981f34c Fix initial numbering of foot notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21385 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 18:19:45 +00:00
André Pönitz
843bddd6cf no controllers directory anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21384 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 18:14:49 +00:00
Abdelrazak Younes
e33efb3c31 remove unneeded init() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21383 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 17:58:16 +00:00
Abdelrazak Younes
c51f1cffaa * InsetCollapsable:
- InsetCollapsable(): Move labelfont initialisation to InsetCollapsable::setLayout().
- read(): reset the inset layout.

All other insets: get rid of redundant setLayout() calls.

This commit fixes the multiple crashes in trunk but the color used for text and background are completely wrong...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21382 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 17:47:51 +00:00
Abdelrazak Younes
37af3d5a3d revert accidental commit (r21380)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 17:13:39 +00:00
Abdelrazak Younes
12a3c703d1 Remove redundant code and introduce InsetCollapsable::setLabelColor().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 16:46:48 +00:00
Abdelrazak Younes
876d88a86e add some assertion for C-style table access.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21379 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 16:43:24 +00:00
Abdelrazak Younes
b931f6ab4a Properly initialize label font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21378 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 16:34:37 +00:00
Abdelrazak Younes
501fa2b3a9 remove void operation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21377 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 16:10:33 +00:00
Abdelrazak Younes
286430c3d6 remove unused constants.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21376 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 16:09:42 +00:00
Bo Peng
ed3d95d16c save prefui in qt422 format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21375 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 16:09:06 +00:00
Jürgen Spitzmüller
de54323dc8 * src/lengthcommon.cpp: disambiguation of gui string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21374 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 14:50:50 +00:00
Jürgen Spitzmüller
33bb075fd8 * src/LyXRC.{cpp,h}:
- new RC_USE_PIXMAP_CACHE
* src/frontends/qt4/GuiPainter.{cpp,h}:
	- use rc.use_pixmap_cache
* src/frontends/qt4/GuiPrefs.cpp:
* src/frontends/qt4/ui/QPref.ui:
	- implement rc.use_pixmap_cache

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 14:43:09 +00:00
Abdelrazak Younes
16441a6914 Fix concatenation bug introduced in rev 21363 and simplify the code a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21370 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 13:56:46 +00:00
Abdelrazak Younes
668ed52302 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21367 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 08:50:16 +00:00
Abdelrazak Younes
52d0e13809 add some const and move things closer to implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 08:32:20 +00:00
Abdelrazak Younes
e49c7ac747 remove FIXMEs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 08:18:02 +00:00
Abdelrazak Younes
22ceeea338 MSVC compile FIX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 08:16:39 +00:00
Abdelrazak Younes
bd820e1168 use docstring wherever it makes sense.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21363 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 08:09:43 +00:00
Bo Peng
1d9cfe4b9f save HyperlinkUi.ui in qt 422 format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 04:36:25 +00:00
Stefan Schimanski
cc1b8dbe2b * change the fold/unfold behaviour a bit: if we are just in front of a macro with wrong state after we went one level up, we look further left. This feels more natural in cases nullary macros appear as parameters of other macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 00:11:51 +00:00
André Pönitz
a8cd9a4b8f cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h"
in header files when possible. Adjust .cpp files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:17:22 +00:00
Stefan Schimanski
f8147509ac * 1 off error, leading to a crash with only one optional parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21357 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:15:00 +00:00
Uwe Stöhr
80c4d82e97 InsetHyperlink.cpp: add FIXME for the docstring issue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21352 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:54:17 +00:00
Jürgen Spitzmüller
41880f4282 * src/frontends/qt4/GuiErrorList.cpp:
- do not close the dialog on double click (bug 4090).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21351 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:52:52 +00:00
Uwe Stöhr
2749683873 GuiHyperlink.cpp /HyperlinkUi.ui: follow the LyX naming conventions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21350 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:49:17 +00:00
Uwe Stöhr
0a7567ce3b - add entry to FORMATS file for Stefan's format change (Richards to 296 change is still not correctly listed)
- add support for hyerlink targets - fileformat changed
  (For Hyperlink.cpp I still need help to get rid of the strings and chars and use docstrings and char_type instead!)

Can anyone please open the changed Hyperlink.ui with a Qt 4.2 designer or below, save it and commit? Thanks. (Otherwise you cannot compile it.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:37:43 +00:00
Abdelrazak Younes
36e14ceb10 Fix bug 4147.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21344 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 16:59:40 +00:00
Stefan Schimanski
565475a439 * replace int type by the correct custom type for pos, idx and size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21336 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 15:36:27 +00:00
Stefan Schimanski
b5a640d1cc * one coercion is enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21335 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 14:45:14 +00:00
Stefan Schimanski
6aa5467320 * added non-greedy init mode for macros. If you enter a macro with the cursor, you don't want that it eats the insets on the right.
* split up the MathData::updateMacro method into the optional and normal parameter part


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 14:40:15 +00:00
Edwin Leuven
7e9ec4cdbd correct case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 14:30:48 +00:00
Stefan Schimanski
95cb72f747 * removed MathMacro:: from declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 14:06:58 +00:00
Stefan Schimanski
0e201c8c22 * cosmetic: alphabetic order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:27:02 +00:00
Stefan Schimanski
e43dc9d38c * Added conversion of latex macros with optional parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:15:05 +00:00
Stefan Schimanski
dbbf47ab14 * LFUN handler for folding/unfolding of math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:14:14 +00:00
Stefan Schimanski
1231489798 * dynamic macros as described in http://1stein.org/download/dynmacro.pdf
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21328 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:13:07 +00:00
Stefan Schimanski
2ad61c0366 * LFUNs for math macros and menu integration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:08:04 +00:00
Stefan Schimanski
9d9c5959f3 * file format 298 to convert macro definitions with optional parameters into ERT. This is still just an empty convertion, waiting for Uwe to find time to implement it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:03:51 +00:00
Stefan Schimanski
1315e5f026 * non-const coercion for math braces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21325 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 10:58:59 +00:00
Stefan Schimanski
5a7a53e346 * color definitions for math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 10:57:20 +00:00
Stefan Schimanski
6fa7710506 * methods to cut off DocIterators and to append vectors of CursorSlices. This is used to keep the visual cursor position when folding/unfolding macros with the cursor in a parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21323 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 10:56:18 +00:00
Stefan Schimanski
6408f99b31 * monochrome rendering support. You can set two color, the min and max. Every painting operation later on will map every color into this interval. By calling enterMonochrome and leaveMonochrome you can nest this process.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 10:52:51 +00:00
Edwin Leuven
3b07f0f851 get rid of clear button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21321 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 10:39:20 +00:00
Stefan Schimanski
6e043a9c22 * reverting previous workarounds. With Martin's commit 21319 there are not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21320 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 09:57:38 +00:00
Martin Vermeer
225d92ba43 Fix tex2lyx for inset font inheritance changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21319 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 09:47:02 +00:00
Stefan Schimanski
1b4345ac31 * and another one. Trying to compile before committing would make sense sometimes :-/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21318 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 09:16:23 +00:00
Stefan Schimanski
ee17120d5b * yet another compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21317 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 09:14:25 +00:00
Martin Vermeer
1d894fd5e3 Fix inset font inheritance mechanism; smaller clean-ups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21315 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 06:25:47 +00:00
Stefan Schimanski
aa9bb01f27 * make it compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21314 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 00:04:13 +00:00
Stefan Schimanski
ffa57bea4d * gcc does not like missing characters in keywords
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 23:41:22 +00:00
André Pönitz
a5263e0f92 introduce a header to forward declare std::string.
hope there are only conforming implementaions out there ;-}


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 22:40:34 +00:00
Bo Peng
e91114cdcb PrefShortcuts: remove color, remove third column, use bold and cross-out font for new and removed items respectively
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 18:46:03 +00:00
Bo Peng
6cf20c52b7 PrefShortcuts: use KeySequence::ForGui to display shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 17:15:10 +00:00
Martin Vermeer
ae76ba2362 LFUN_LANGUAGE enabled wrong way around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 08:54:44 +00:00
Abdelrazak Younes
036a507c6d Move to_local8bit_failure class to docstring.cpp and restore std::bad_cast inheritance.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 08:05:37 +00:00
Abdelrazak Younes
13a85fe0c0 Fix some gcc warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21306 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 07:48:13 +00:00
Dov Feldstern
3e2af36af1 Fix LFUN_LANGUAGE bug due to Font/Language separation (r21240):
the LFUN had stopped working, because since language is no longer part of the
font, changes to the language were no longer being registered in the fontInfo, 
and so we were wrongly under the impression that nothing had been changed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21305 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 22:55:33 +00:00
Bo Peng
773e3d475f Clean up EmbeddedFiles.h/cpp because the valid_ field is no longer needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 22:21:48 +00:00
Uwe Stöhr
7e62189e7e GuiErrorList.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 20:22:50 +00:00
Bo Peng
c2440d06d1 Cosmetic changes to how shortcuts are printed: S-C-S => C-S-s because S-S can be confusion, and Ctrl-Shift is more natural than Shift-Ctrl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 16:34:35 +00:00
Martin Vermeer
fa2bec7440 const, sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21295 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 16:27:31 +00:00
Martin Vermeer
abf5d0c1c3 Fix thinko: we need to apply the default font here, not the inset's font commands
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21294 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 16:24:52 +00:00
Martin Vermeer
af84c0957d Fix line count off-by-one for single-par verbatims
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 16:22:56 +00:00
Bo Peng
bc86ac1804 Fix the shortcut input dialog bug (can not input Ctrl-blah)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 16:04:48 +00:00
Bo Peng
de8492cd1c To reduce confusion, stop displaying UserExtraUnbind items in the shortcut customization dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 15:25:30 +00:00
Bo Peng
a9519bda94 Document->settings: update embedded file list properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21289 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 15:20:59 +00:00
Jürgen Spitzmüller
8c908a56f1 * src/frontends/qt4/GuiSearch.cpp:
- use selectAll function instead of home-brewn method.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 13:16:45 +00:00
Martin Vermeer
3d443b4c9d Implement ForceLtR; cleanup of collapsable insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 12:30:46 +00:00
Bo Peng
eabe6081c9 Document->Settings: add currently embedded files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 02:59:24 +00:00
Uwe Stöhr
e7768ff98e InsetMathDelim.cpp: remove doubled include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 01:19:21 +00:00
André Pönitz
70c1f22999 remove unneeded include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21277 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 23:05:18 +00:00
André Pönitz
6616c59385 make unused exception less expensive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21276 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:58:08 +00:00
Uwe Stöhr
bb46fe5f0e fileformat change for my previous commit: Albanian and lower Sorbian support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:38:36 +00:00
André Pönitz
41f6e7ee54 unbreak font panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21272 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:03:59 +00:00
Bo Peng
7fb4a57ab9 Put bindings in defaultKeyBindings() to site.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 19:45:43 +00:00
Martin Vermeer
325da0a915 Update current font when moving cursor by clicking mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 18:57:56 +00:00
Bo Peng
3f6c8981ed Use proper label in the shortcut panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21266 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 17:09:50 +00:00
Richard Heck
a0a04e4886 Make GuiRef and GuiInclude subclasses of GuiCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 16:51:07 +00:00
Martin Vermeer
50e5d51038 Commit the new parameter ForceLtR before Abdel moves things around again :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21261 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 14:39:29 +00:00
Abdelrazak Younes
ca0fd16ef7 Fix copy&paste bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 12:29:06 +00:00
Abdelrazak Younes
aeebc6565c * FontList:
- clear(): new
- set(): simplify a bit.

* Paragraph(): optimize appendString() and resetFonts().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 12:21:58 +00:00
Abdelrazak Younes
3a7509a901 * InsetERT::resetParagraphsFont(): use Paragraph::resetFonts().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21258 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 11:02:13 +00:00
Abdelrazak Younes
5e418fb660 put back the const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 10:47:41 +00:00
Abdelrazak Younes
0e87c91115 * InsetText::frame_color_: int -> ColorCode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21256 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 10:46:13 +00:00
Abdelrazak Younes
c3452835a8 * MetricsInfo::background_color: int -> ColorCode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21255 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 10:36:20 +00:00
Edwin Leuven
608236c0db - add label and remove subclassed SearchLineEdit
- put ShortcutLineEdit in namespace lyx::frontend
- additional dialog layout tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:56:30 +00:00
Abdelrazak Younes
cff2f03285 RowPainter::paintForeignMark(): take a Language instead of a Font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21253 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:52:13 +00:00
Abdelrazak Younes
d58f8cf7f6 Add some const and avoid implicit constructions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:47:19 +00:00
Bo Peng
97db33209f Add initial embedding files panel in the Document->Settings dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21251 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 04:07:38 +00:00
Abdelrazak Younes
d2bfe05827 Forbid implicit conversion from FontInfo to Font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 23:32:18 +00:00
Abdelrazak Younes
d6f380eac1 Undo some Font -> FontInfo moves.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21248 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 22:49:49 +00:00
Uwe Stöhr
256638827a InsetMathFrac: add support for \tbinom and \dbinom, fixes bug 4305
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 21:48:51 +00:00
Dov Feldstern
b4372a37d9 Getting rid of LTR bias --- part 2/?
This is a continuation of r21128. This round fixes the "Word" movement
functions and LFUNS.

Behavior should remain unchanged by this fix.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21244 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 20:35:57 +00:00
Abdelrazak Younes
725f07728b white space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 20:31:19 +00:00
Abdelrazak Younes
869a66f59f GCC Compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21242 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 20:30:41 +00:00
Abdelrazak Younes
e194158259 Remove unneeded code and comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21241 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 19:27:12 +00:00
Abdelrazak Younes
5ddc612b73 Splitup Font in saner bits:
* Font::FontBits -> FontInfo
* Font::FONT_XXX -> all enums transfered to FontEnums.h and renamed to FontXxx

I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw() and metrics methods. There's one problematic cases with InsetQuotes which I solved by taking the Buffer main language.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 18:51:54 +00:00
André Pönitz
053e705779 move stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21239 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 16:42:18 +00:00
André Pönitz
9be03a87f9 start some work on file dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 16:32:20 +00:00
Uwe Stöhr
9c20e03c76 InsetMathFrac.cpp: fix bug 4308 by using the metrics change method of the fraction inset also for the binom inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 13:15:35 +00:00
Bo Peng
4973ea12c0 simplify code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21231 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 04:13:40 +00:00
Martin Vermeer
9bc5e190d4 ERT simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 14:05:05 +00:00
Bo Peng
0a554a5216 add a missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 23:49:16 +00:00
Bernhard Roider
0886d316d4 complete fix of bug 3172: add binary mode open to the part where istreambuf_iterator is used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 21:47:44 +00:00
Bo Peng
e6dd868635 PrefShortcuts: improve the Shortcut input dialog
* src/KeyMap.h|cpp: change interface and allow bind(KeySequence, FuncRequest)
	* src/frontends/qt4/CustomizedWidgets.h|cpp: use KeySequence, add event filter from Edwin
	* src/frontends/qt4/GuiPrefs.cpp: add another column, get KeySequence from the shortcut edit dialog directly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 20:43:22 +00:00
Martin Vermeer
4018d432de Fix ERT blanks doubling bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21214 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 10:55:49 +00:00
Bernhard Roider
74d22c2ce4 fix bug 3172: open file in binary mode, otherwise iteration of a binary file with for_each stops early.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21211 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 22:36:59 +00:00
Richard Heck
4ca3a3d59c InsetIndex is no longer an InsetCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21210 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 22:29:45 +00:00
André Pönitz
ed7a07e007 put \frac style stuff into a single unit. -161477.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 21:53:06 +00:00
Richard Heck
dc45268132 Fix compilation problem due to same static variable in different files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 21:39:47 +00:00
André Pönitz
aece85ea30 188094 lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21206 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 20:36:17 +00:00
André Pönitz
ee120bd808 172725 lines down
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 19:41:06 +00:00
André Pönitz
3fa21d5b43 remove broken promises
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21204 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 18:27:08 +00:00
Bo Peng
6981d14f80 Fix spaces to please Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 15:56:32 +00:00
Richard Heck
8f2a8c7267 Revert inadvertent commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 13:38:42 +00:00
Abdelrazak Younes
eea79637c7 Move Color::color enum to ColorCode.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 12:41:02 +00:00
Martin Vermeer
1f07a7f929 Introduce inset parameters keepempty, freespacing, needprotect and rename verbatim->passthru
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21197 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 09:19:26 +00:00
André Pönitz
93bd28f040 dissolve Importer 'class' to LyXFunc/Converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 06:09:38 +00:00
Richard Heck
07b6198f4c Move the findInfo() and defaultCommand() routines out of InsetCommand and into its subclasses, so that the subclasses know what parameters they want, etc. Also, introduce an "isCompatibleCommand()" routine, so the subclasses can tell us which commands they are prepared to accept.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 04:13:56 +00:00
Bo Peng
e52c1ed1f9 Properly extend qt standard widgets, remove the search button in PrefShortcuts.
*  src/frontends/qt4/ui/ShortcutUi.ui: use ShortcutLineEdit
	*  src/frontends/qt4/ui/PrefShortcutsUi.ui: remove searchPB
	*  src/frontends/qt4/CustomizedWidgets.h|cpp: define ShortcutLineEdit and SearchLineEdit.
	*  src/frontends/qt4/GuiPrefs.h|cpp: remove ShortcutEdit
	*  src/frontends/qt4/Makefile.am: build system changes
	*  development/scons/scons_manifest.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21193 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 03:08:22 +00:00
André Pönitz
f4cc71b7dd remove unneded code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21192 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 23:03:40 +00:00
André Pönitz
e7aa8ce683 cosmetics... less than intented
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21190 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 22:55:02 +00:00
Uwe Stöhr
35240f328d EmbeddedFiles.cpp, GuiPrefs.cpp, PDFSupportUi.ui: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21188 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 22:02:48 +00:00
Enrico Forestieri
f48d7caee3 Small tweaks
* src/Paragraph.cpp (knownLangChars): renamed as writeScriptChars.
	Now only deals with characters that cannot be encoded using the
	current latex encoding.
	(latexSpecialChars): only call writeScriptChars if the character
	cannot be encoded.

	* src/Encoding.{cpp,h} (isKnownLangChar): renamed as isKnownScriptChar.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21183 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 17:22:57 +00:00
Abdelrazak Younes
b1d94940ee delete unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21182 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 16:00:25 +00:00
Abdelrazak Younes
1026a87b72 * InsetList: introducing find() and count()
* Paragraph:
- erase numberOfOptArgs() and bibitem()
- move onlyText() to Private.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21180 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 15:32:43 +00:00
Martin Vermeer
9e6aa60d0f Move disabling LFUNS from ERT to Collapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 11:30:47 +00:00
Abdelrazak Younes
4c4299d1a5 bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21177 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 11:24:53 +00:00
Abdelrazak Younes
a003a0da8b get rid of useless Paragraph::Private::size().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 09:46:38 +00:00
Abdelrazak Younes
75febee877 Paragraph::appendString(): use docstring::append().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21173 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 09:01:51 +00:00
Abdelrazak Younes
23f89b8d35 Paragraph::Private: change TextContainer to docstring; this will enable to use advance algorithms for string searching/splitting/merging without useless data copying etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21171 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 08:50:58 +00:00
Abdelrazak Younes
92908b6ecf I forgot to commit this in 21167.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21170 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 08:40:38 +00:00
Abdelrazak Younes
604bf56374 small simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21169 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 08:32:20 +00:00
Abdelrazak Younes
372e605c2f Introducing Paragraph::find().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 08:22:26 +00:00
Abdelrazak Younes
1297114b73 Introducing Paragraph::changeCase().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21167 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 07:49:24 +00:00
Abdelrazak Younes
ce1ec3edd2 small optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21166 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 07:32:25 +00:00
Abdelrazak Younes
5ebafb3ba7 fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 07:13:20 +00:00
Abdelrazak Younes
8d19223eba compil fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 07:10:26 +00:00
Abdelrazak Younes
d7c3ab3203 * Paragraph: Move more things to Paragraph::Private
- remove META_INSET from Paragraph.h
- move text_ container to Private. I know this put there for performance reason but I don't see any penalty with this move. I guess this is because Buffer loading doesn't use Paragraph::getChar() anymore. I will move performance critical code to Paragraph::Private when/if we detect them.
- replace Paragraph::value_type with straight char_type: this was more noise than anything.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 07:08:55 +00:00
André Pönitz
b99433e73b cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 21:41:17 +00:00
Richard Heck
2f4d0ae27e Remove methods marked for removal from InsetCommandParams. Yeah, we can do that now. ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 18:51:04 +00:00
Martin Vermeer
6da13bd888 Improve verbatim for RTL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21153 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 18:23:03 +00:00
Richard Heck
85bad159fe Some comments and cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 15:58:10 +00:00
Richard Heck
4064d2c468 InsetInclude becomes an InsetCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 15:02:15 +00:00
Abdelrazak Younes
e6f3d34556 * Paragraph: erase unused some method and move some members to Paragraph::Private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21148 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 13:25:05 +00:00
Abdelrazak Younes
5ead1beb71 * Paragraph:latex(): de-spaghettization step 2: split out T1 encoding, Typewriter font and 'special phrases' special cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21147 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 09:53:06 +00:00
Jürgen Spitzmüller
72801c16e2 * src/frontends/qt4/ui/ParagraphUi.ui:
- fix several duplicated accelerators (bug 4277)
* src/frontends/qt4/GuiParagraph{.cpp, h}:
	- reintroduce labelMap; the current implementation
	  displays wrong accelerators.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 08:10:55 +00:00
Richard Heck
82d27555cd Licensing info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21141 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 05:07:45 +00:00
Bo Peng
9c17666dd3 PrefShortcuts: ShortcutEdit, adapted from Edwin's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21140 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 03:48:02 +00:00
Uwe Stöhr
8bdcbb56a5 PDFOptions.cpp: whitespace fix to please André
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 01:01:05 +00:00
Dov Feldstern
662b58497e Getting rid of LTR bias --- part 1/?
This is the first patch in a series meant to remove LTR bias from the code.
Currently, there are many places in the code where "right" and "left" are used,
but where we actually mean "forward" and "backwards" --- which is the same 
thing in LTR text, but not in RTL/Bidi text.

See full details in http://permalink.gmane.org/gmane.editors.lyx.devel/97550.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 22:18:52 +00:00
Abdelrazak Younes
3911d72568 * Paragraph: reserve memory by chunks of 100 chars. This improve the loading of big document of about 15% (12s instead of 14s for the UserGuide copied and pasted 10 times). There is zero penalty memory wise; quite weirdly, there is a benefit actually: 58 Megs instead 60 Megs, I don't understand why. For comparison, 1.5 needs 78 Megs for the same document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21127 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 20:05:41 +00:00
Abdelrazak Younes
c86e632afa Introducing FontList::setRange()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21126 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 19:18:51 +00:00
Dov Feldstern
3d33cd8bd3 Compilation fix for Qt 4.2.1 in GuiPrefs.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21125 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 18:49:55 +00:00
Martin Vermeer
5ab6d5bf65 Simplify ERT by using verbatim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21121 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 18:01:21 +00:00
Jean-Marc Lasgouttes
31df080af2 * qt4/Makefile.am: make sure that Resource-related files are deleted by make clean
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 13:58:13 +00:00
Jean-Marc Lasgouttes
e044946f23 * GuiPrefs.cpp (PrefShortcuts::setItemType): compilation fix for
qt 4.1 and some simplification.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 13:56:59 +00:00
Abdelrazak Younes
e6f059a132 * Paragraph:
- simpleTeXOnePar(): renamed to latex(), beginning of de-spaghettization by truly splitting inset and character cases.
- appendChar(), appendString(): new method for buffer reading.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21117 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 13:09:16 +00:00
Abdelrazak Younes
e820c448a0 Fix a warning that is potentially a bug (!= used instead of |=).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21116 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 07:49:30 +00:00
Abdelrazak Younes
9ec9f70df5 fix MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21107 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 22:12:12 +00:00
Bo Peng
b89d3f2cc2 Embedding: add LFUN_BUFFER_TOGGLE_EMBEDDING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 20:06:44 +00:00
Bo Peng
f8836d8b12 Embedding: remove the embeddingChanged signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21105 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 19:08:53 +00:00
Bo Peng
7063b33b1b Remove the manifest section of the .lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 18:06:00 +00:00
Enrico Forestieri
eb9b8ef0cc Fix bug 4287
* src/Buffer.cpp (Buffer::save): also replace the ':' character
	in the mangled filename as this it is illegal on Windows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 17:57:13 +00:00
Bo Peng
97c59d6e6d Remove the embedding dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 17:56:22 +00:00
Stefan Schimanski
8a301ccc16 * make it compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21100 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 17:15:02 +00:00
Bernhard Roider
f914298c49 remove unused includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21099 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 11:56:27 +00:00
André Pönitz
f934b86850 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 10:50:56 +00:00
Bo Peng
64bd1b1f38 PrefShortcuts: handle user unbind items that have no corresponding item in system bind file. Its removal action should be treated differently
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 05:30:43 +00:00
Bo Peng
1abe2423a0 Fix scons and CmdDef.h for the introduction of CmdDef.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 01:26:32 +00:00
Bernhard Roider
1a77c867a2 CmdDef.cpp/h: A class that manages command definitions. The definitions are
by default read from lib/commands/default.def 
              A .def file allows to define a command with
              \define "Name" "lfun"
              where Name is the name of the new command and lfun is the code
              to be executed.
              \def_file "FileName"
              allows to include another .def file.
              The implementation of CmdDef is similar to KeyMap, i.e. there is 
              one instance created in the LyX.cpp that reads the .def file, holds 
              a list containing all definitions, and supplies access methods.


LFUN_CALL:    The new lfun is used to execute a command definition, e.g.
              call Name

If a toolbar item has the associated action "call Name" then the image 
lib/images/commands/Name.png is used for the button.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 23:27:03 +00:00
Bernhard Roider
3e6d4a6168 Search for toolbar images in the filesystem and afterwards in the resource.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 23:08:02 +00:00
Abdelrazak Younes
17321b90ad Fix some bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21091 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 21:27:22 +00:00
Bo Peng
0755a1c9dc PrefShortcuts: Roughly finish the shortcut configuration panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21090 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 20:50:56 +00:00
Abdelrazak Younes
329a8db14a shut down an MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 20:44:23 +00:00
Bo Peng
9321ad2736 add a \unbind keyword and a few utility functions (unbind, write, delkey) to KeyMap.h,.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21088 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 20:35:33 +00:00
Bo Peng
36f7fcdee0 add another format (BindFile) to KeySequence::print()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21087 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 20:28:05 +00:00
Bo Peng
6e35955ea3 make trunk compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21086 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 19:48:53 +00:00
André Pönitz
fbb3abfeac cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21085 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 17:35:27 +00:00
Martin Vermeer
25c75f0e37 Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21084 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 17:07:08 +00:00
Martin Vermeer
ccacb487f2 Verbatim for URL inset, \protect for special phrases (index inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21083 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 17:05:28 +00:00
André Pönitz
34889ec7b3 remove unused method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21082 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 14:56:46 +00:00
Bo Peng
f997b92ece make trunk compile with gcc4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 14:10:49 +00:00
André Pönitz
ee005614a3 saner borderline between buffer and exporter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21080 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 10:51:13 +00:00
André Pönitz
f762cbf3c6 mainly cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21079 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 10:03:45 +00:00
Abdelrazak Younes
eac9884b0e cleanups: split Paragraph::Private::simpleTeXSpecialChars() in two. Remove two or level of indentation...
What a mess...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 08:09:55 +00:00
Peter Kümmel
04ba7e1bb2 rcc: use -name option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 18:45:09 +00:00
Richard Heck
a46d7ee857 My bad. Sorry Helge!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21073 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 17:49:45 +00:00
Richard Heck
e158e07c29 InsetCommandParams() now takes an InsetCode rather than a string.
These changes are just adaptations to the new signature.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21072 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 17:22:55 +00:00
Bo Peng
b6c89e2db0 PrefShortcuts: Hide unmatched items instead of highlighting matched ones (JMarc's suggestion )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21071 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 16:49:04 +00:00
Abdelrazak Younes
85cae8965e Introducing Font::validate().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21070 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 16:22:36 +00:00
Abdelrazak Younes
3372738c6d Introducing FontList::validate()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21069 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 16:01:32 +00:00
Abdelrazak Younes
0905c4e3c2 small simplification (and optimization).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21068 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:42:53 +00:00
Abdelrazak Younes
65b3790153 Introducing FontList::hasChangeInRange()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:30:54 +00:00
Bo Peng
db997edc21 Fix scons and src/FontList.cpp for the addition of FontList.h|cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:23:11 +00:00
Enrico Forestieri
026013e1eb Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21065 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:16:40 +00:00
Abdelrazak Younes
0077782724 * Paragraph::highestFontInRange(): Transfer some more code from Paragraph to FontList.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21064 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:55:44 +00:00
Abdelrazak Younes
2f72a0a721 incremental cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21063 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:47:32 +00:00
Abdelrazak Younes
4d9007bd61 Introducing FontList.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21062 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:35:05 +00:00
Abdelrazak Younes
58d8b766bf Header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21061 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 14:32:33 +00:00
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