Commit Graph

5081 Commits

Author SHA1 Message Date
Enrico Forestieri
40535cb302 Compile fix for cygwin and shut up gcc warning about NULL
used for non-pointer type.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 11:37:50 +00:00
Edwin Leuven
753aa0451d with joost: support for pasting metafiles under windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 07:28:03 +00:00
Pavel Sanda
54c930ca2f Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24139 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 14:43:28 +00:00
André Pönitz
8d52dfee32 A hack to prevents an additional redraw when the scrollbar pops up
when creating/loading a document.
This regularily happens on documents with more than one page.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 11:52:11 +00:00
André Pönitz
e1453ef687 lexer cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24134 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 21:24:57 +00:00
Jürgen Spitzmüller
2704fa5466 * src/frontends/qt4/GuiPrefs.cpp:
* src/frontends/qt4/ui/PrefShortcutsUi.ui:
	- add/disambiguate key accelerators.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24123 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:46:48 +00:00
Jürgen Spitzmüller
4846ee98ad * src/frontends/qt4/GuiPrefs.cpp:
- make buttons and items in the Shortcut pane translatable (bug 4710).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24121 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:33:31 +00:00
Jürgen Spitzmüller
a210f17a19 * src/frontends/qt4/GuiBox.cpp:
* src/insets/InsetBox.cpp:
	- assure that framed boxes do not contain an inner box.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-04 13:33:52 +00:00
André Pönitz
c88e7a7ef6 simplify Lexer handling a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24106 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 20:55:09 +00:00
André Pönitz
11a0458d3f next try...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 23:06:22 +00:00
André Pönitz
2012beb58e revert last patch. there's something wrong, possibly unrelated to this
patch, but as this was rather largish...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:44:33 +00:00
André Pönitz
7677e9487c simplify Lexer use a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:14:45 +00:00
Jürgen Spitzmüller
c2ebb0b952 * some UI clarification on \enspace vs. \enskip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 14:53:29 +00:00
Pavel Sanda
8a20f27f6e Fullscreen: correct restoring of window state.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-30 22:27:17 +00:00
Richard Heck
66a94937c3 EmbeddedFile::enable() should take a reference instead of a pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24055 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:32:52 +00:00
Bo Peng
534b81a5c1 Return the right params[embed] from GuiBibtex.cpp, for safety reasons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24054 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:28:49 +00:00
Uwe Stöhr
bd0301699a Silent a console warning, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4667
Patch initially by Richard.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24051 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:12:24 +00:00
Bo Peng
94a347350c Revert the addition of a static calcInzipName function, polish createBibFiles function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24047 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 20:24:49 +00:00
Richard Heck
5287622cfa Enabling should not be done here, and no longer needs to be.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 15:39:19 +00:00
André Pönitz
640ac2650b this feels more natural...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24008 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 23:37:59 +00:00
André Pönitz
f9b81e51e9 remove remaining MailInsets.
please check your favourite insets, I am sure I broke _something_...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24006 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 22:26:24 +00:00
André Pönitz
3069acd6de remove InsetBoxMailer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24001 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 07:26:37 +00:00
André Pönitz
241575ed86 remove InsetVSpaceMailer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23992 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 00:21:35 +00:00
André Pönitz
209b04eaa9 remove InsetWrapMailer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23991 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 00:07:54 +00:00
André Pönitz
ba348ede83 this feels good...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23990 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 23:41:35 +00:00
André Pönitz
d9a3ca2033 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23988 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 22:25:43 +00:00
André Pönitz
b305d4c386 Fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23986 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 19:50:20 +00:00
Edwin Leuven
2886b49360 use whole with of the dialog to show symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:58:33 +00:00
Edwin Leuven
4faa1fe330 * clean-up layout document class settings
* enable tooltips in document class combobox

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23981 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:57:42 +00:00
Richard Heck
c743f16b7a Revert inadvertent commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23978 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 17:12:24 +00:00
Richard Heck
40f58da65a Another buffer pointer fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23976 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 17:02:24 +00:00
Stefan Schimanski
72068adf9c * infinite loops are not good
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23968 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 10:32:20 +00:00
Edwin Leuven
0d8b67e2b7 small layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23946 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 13:26:32 +00:00
Richard Heck
7d57b49746 Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23930 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 18:56:12 +00:00
Richard Heck
700af7e701 Add support for document-local layout information. GUI is to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 12:31:07 +00:00
André Pönitz
bcf91dd85c unneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23912 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 10:28:35 +00:00
Jürgen Spitzmüller
c6007086b1 * src/frontends/qt4/GuiGraphics.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
	- now that we have a context menu to edit graphics, remove the Edit button
	  from the dialog, as discussed in this thread:
	  http://marc.info/?l=lyx-devel&m=118344997913166&w=2

The same should be done for other insets that have an edit function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23911 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 09:32:34 +00:00
André Pönitz
d8ab0622c5 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23903 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 13:59:51 +00:00
Jürgen Spitzmüller
fb1f95ff00 * src/frontends/GuiSymbols.cpp:
- make categories translatable. This might slow down the dialog again a bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-22 14:49:03 +00:00
Pavel Sanda
b271e3e06d Change string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23894 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-22 02:19:07 +00:00
André Pönitz
6b28f08ff2 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23891 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 21:47:37 +00:00
André Pönitz
f182333311 improved position caching
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23889 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 20:47:29 +00:00
André Pönitz
0011f47885 speed up symbol panel population
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:55:26 +00:00
André Pönitz
0d5e1782f0 Use a custom model + QListView instead of QListWidget in the Symbols
dialog. Functionality is unchanged. 
Populating the 'All Symbols' panel for utf8 files is around 5s.
Not nice, but bearable. There's still room for improvement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23883 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:32:06 +00:00
Abdelrazak Younes
7f02beb990 temporary fix for http://bugzilla.lyx.org/show_bug.cgi?id=4613
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:18:46 +00:00
Pavel Sanda
d5ad3f6d7a Next make dist shot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23878 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 17:31:14 +00:00
André Pönitz
b9bee4dd86 small step towards s/QListWidget/QListView/g
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23877 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:53:15 +00:00
André Pönitz
f23773c8c5 small refactoring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23876 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:45:01 +00:00
André Pönitz
1f2cee9589 some un-intrusie changes first...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:33:23 +00:00
André Pönitz
2b91a5acbe cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:16:43 +00:00