Commit Graph

5039 Commits

Author SHA1 Message Date
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
Pavel Sanda
5e768ab842 Next attempt to sanitize make dist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 14:05:41 +00:00
André Pönitz
f333b5da5f cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23859 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 09:30:19 +00:00
Jean-Marc Lasgouttes
8aa1bf1f5c fix the make check machinery. The support/filetools check fails, but the problem is in the test itself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23847 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 10:04:55 +00:00
André Pönitz
6a64982eb5 cleanup/compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23843 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 00:19:10 +00:00
André Pönitz
de17493932 simpliofy {Gui}FontLoader architecture a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23842 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 00:00:53 +00:00
André Pönitz
bef955a971 save a few more cycles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23841 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:28:28 +00:00
André Pönitz
64de7857b4 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23839 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:18:00 +00:00
André Pönitz
1fe1450af9 remove a few conversions.
maybe moving the stringtable into a fuynction makes sens to prevent
initialization on startup...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23838 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:17:36 +00:00
André Pönitz
16fa6c5f0f slight speed improvement...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23837 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:05:54 +00:00
Jürgen Spitzmüller
7c7bfce40d revert accidental commit. Sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23835 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:20:18 +00:00
Jürgen Spitzmüller
ce09085156 * src/frontends/qt4/PanelStack.{cpp, h}:
- fix issues with clicking and keyboard movement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23834 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:15:16 +00:00
Pavel Sanda
42eb8a373a Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23830 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 17:31:09 +00:00
Bo Peng
51ac7d895c Move editing, shortcuts, keyboard/mouse and completion to a separate category in the preference dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 14:32:40 +00:00
Pavel Sanda
e204871d35 Add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 13:28:47 +00:00
Jürgen Spitzmüller
6fac185d81 * src/frontends/qt4/GuiPrefs.{cpp,h}:
* src/frontends/qt4/PanelStack.cpp:
	- reintroduce panel categorization (bug 4153).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 13:11:14 +00:00
Pavel Sanda
a0f4be8515 Enlarge symbols combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23822 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 09:00:12 +00:00
Edwin Leuven
e01e14872d Free line setting in tabulars. FILE FORMAT CHANGE.
- gets rid of the M_TOGGLE_LINE_... functions
- allows arbitrary clines without multicol
- sets arbitrary vertical lines through multicol 
- drop row/col line properties, everything is now stored at the cell level

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 18:08:32 +00:00
Jürgen Spitzmüller
2a2c2d8986 Move completion to a pane of its own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23811 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 17:31:17 +00:00
Jürgen Spitzmüller
ffeb40141f PrefLanguageUi.ui:
- fix layout and add some tooltips. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23810 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 16:49:05 +00:00
Jürgen Spitzmüller
8ba01b4096 LaTeXUi.ui:
- size adjustments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 14:51:22 +00:00
Jürgen Spitzmüller
bb80a4b1a0 PDFSupportUi.ui: fix enabling of checkboxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23808 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 14:33:22 +00:00
Jürgen Spitzmüller
0f4c89ed66 cosmetics to the document dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23807 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 13:44:35 +00:00
Jürgen Spitzmüller
18101eea7b ** add support for protected horizontal fill. FILE FORMAT CHANGE. **
* src/Buffer.cpp:
	- increment file format to 320.

* src/insets(InsetSpace.{cpp, h}:
	- add HFILL_PROTECTED, a protected horizontal fill
	  (LaTeX: \hspace*{\fill})

* src/factory.cpp:
* src/frontends/qt4/GuiHSpace.{cpp, h}:
	- handle the new space type.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- reversion routine for protected hfill.

* development/FORMAT:
	- document file format change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23805 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 12:11:28 +00:00
Pavel Sanda
824ac5f2c8 Add checkbox to fullscreen menu entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23793 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:22:30 +00:00
Jean-Marc Lasgouttes
ad00d81144 use consistent ifdefs for the mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 10:23:02 +00:00
Jürgen Spitzmüller
f2e8cd3cd9 *** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
	- merge in HFill inset, add support for dotfill, hrulefill,
	  hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
	- remove

* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
	- new GUI for Space insets.

* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
	- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
	  new Inset member isStretchableSpace() to indicate HFill and friends.

* Buffer.cpp: 
	- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines
* development/FORMAT:
	- document file format change

* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- deal with UI changes.

* src/LyXAction.cpp:
	- remove LFUN_HFILL_INSERT

* src/LyXFunc.cpp:
	- handle space dialog.

* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
	- adapt to changes

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- add HSpace dialog, remove HFill.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
Pavel Sanda
e921847e12 Change strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23786 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 02:49:47 +00:00
Richard Heck
c17a8122cf Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 01:10:45 +00:00
Stefan Schimanski
9e499117e3 * possibility to disable the completion cursor in text. All those
"*supported" methods maybe should be merged with a bit-enum as return value.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23776 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-16 17:07:10 +00:00
Stefan Schimanski
a015e133ab * getSpeller create a new speller, so call it create*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23775 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-16 17:06:26 +00:00
Bo Peng
0f9a8fcad4 Add use_bundled_format rc entry to allow creation of new buffers in bundled format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 22:41:54 +00:00
Bo Peng
47c5be88e3 Tools->Preference: move editing and fullscreen from user interface to a new panel editing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 22:12:19 +00:00
Stefan Schimanski
c3c58bbb72 * make Qt 4.2 happy. Please complain if it is not.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23760 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 10:19:12 +00:00
Stefan Schimanski
f9f0b26bd3 * make sure the Mac special menu item are only created once per QMenuBar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23754 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:58:05 +00:00
Stefan Schimanski
7269440c83 * reset current_view_ when deleting a GuiView.
* check for current_view_ when exiting to avoid segfaults


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:42:59 +00:00
Stefan Schimanski
214828d961 * fix drag pixmap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:42:48 +00:00
Stefan Schimanski
cb45bc6a22 * drag'n'drop for tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23750 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 02:13:01 +00:00
André Pönitz
a98f82c292 s/kb_action/FuncCode/g
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23749 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 01:20:36 +00:00
Stefan Schimanski
b607775ad7 Implementation of the conclusion of the "LyX/Mac 1.6 -- Window issues" thread:
* add tab popup menu to hide and close a buffer.
* remove the very non-standard hide-button on the left of the tabbar.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23748 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 01:00:25 +00:00
André Pönitz
f2c9b56fb4 cosmetics/#include cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 00:22:54 +00:00
Pavel Sanda
97ad52467f Try to deuglify RTL in Language preferences a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23743 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:50:02 +00:00
Stefan Schimanski
09fe21bd11 * QWidget::show is synchronous, hence we see the LyX logo for a moment, even if
in the next moment the new buffer appears. So we first create the buffer and
  then show the view.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:33:05 +00:00