Commit Graph

624 Commits

Author SHA1 Message Date
Abdelrazak Younes
d25c74c0eb Simplify image creation with a new factory function: newImage().
GraphicsImage: now a pure virtual interface.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26457 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-19 12:01:01 +00:00
Uwe Stöhr
91fd0a7ade fix SCons after r26365
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-12 23:26:06 +00:00
Uwe Stöhr
5bfe9d61b5 scons_manifest.py: fix SCons after r26304, Enrico, please also take care of SCons when changing files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26309 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-05 21:49:34 +00:00
Jean-Marc Lasgouttes
9748c0a0e7 use svjour.inc instead of svjour3.inc (bug 5154)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26296 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-04 14:03:01 +00:00
Uwe Stöhr
d5cd63afa3 fix SCons after r26280
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26285 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-01 22:40:21 +00:00
Jürgen Spitzmüller
ba62012f0e forgot this in rev. 26200.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26201 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 06:43:01 +00:00
Uwe Stöhr
8cc977d63c layout for the svjour3 class, it is adoption of the existing svjour layout by John Perry, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5154
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26194 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-16 22:37:49 +00:00
Uwe Stöhr
d418c61c05 new Ukrainian Intro manual by Yuri
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26179 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 19:57:30 +00:00
Uwe Stöhr
c1e56e7a22 SCons: revert r26134 and fix SCons correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26136 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 23:48:38 +00:00
Uwe Stöhr
e0f2957d4c fix SCons after the removal of lyx.man
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26134 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 23:24:25 +00:00
Uwe Stöhr
af3b18389d singlecol.layout: new layout file for articles for the numerous journals published by the company "Inderscience"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26073 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 20:46:18 +00:00
Uwe Stöhr
ea33934e0a fix bug 5112:
- new en.po
- update translations accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26071 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 18:11:42 +00:00
Pavel Sanda
a782754754 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26018 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 14:25:26 +00:00
Uwe Stöhr
abcada9e13 new Catalan translation of Intro.lyx and example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26006 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 21:41:22 +00:00
Pavel Sanda
69f4ec4ee4 Wrong parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25986 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 17:54:38 +00:00
Pavel Sanda
acb9a738b7 I like gimp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25985 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 17:47:14 +00:00
Jürgen Spitzmüller
44fe827b7b * add icons for split-view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25914 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-27 10:29:11 +00:00
Uwe Stöhr
9d3530e5df Spanish documentation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25859 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 21:27:57 +00:00
Uwe Stöhr
209bc6ab05 We have a new translation: Arabic
Many thanks to Hatim Alahmadi
The translation is only for trunk as there we need to fix some remaining translation problems. I think this will be ready before LyX 1.6.0.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25858 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 20:48:39 +00:00
Uwe Stöhr
3bda80452a - set EOL style for uk.po
- fix SCons for uk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25855 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 19:26:35 +00:00
Abdelrazak Younes
1afed1fc88 Remove GraphicsTypes.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25838 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 12:19:43 +00:00
Uwe Stöhr
65192703ad - EmbeddedObjects.lyx: more work on boxes
- delete now unneeded images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25733 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 18:33:35 +00:00
Pavel Sanda
20b9e0ba93 Remove InsetEnvironment. This is unfinished decade old stuff.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141609.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25479 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:34:55 +00:00
Pavel Sanda
f7b5e343e3 Fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25265 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 21:25:04 +00:00
Uwe Stöhr
9c083a6d76 new Japanese documentation files for LyX 1.6 by Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25179 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 01:52:18 +00:00
Abdelrazak Younes
9d00e2ec0a Move loadableImageFormats() to the frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25163 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:29:58 +00:00
Abdelrazak Younes
20b45450f6 move GuiImage::loadableFormats() to support/imagetools.{h,cpp} and simplify this whole stuff. What a mess!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:34:49 +00:00
Abdelrazak Younes
f276338227 Preliminar InsetInfo dialog. This was done as an exercise to show Bo (an others) how easy it is to create a new dialog. This dialog needs to be filled in, right now, there is just an OK button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:08:46 +00:00
Joost Verburg
b6df886bf1 updated list of installer files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25082 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 20:28:32 +00:00
Abdelrazak Younes
655f66b700 Get rid of GuiMath layer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 10:05:29 +00:00
Jürgen Spitzmüller
ef9d8927c7 * New layout and template files for the Journal of Statistical Software (JSS), contributed by Andreas Karlsson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25045 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 08:58:25 +00:00
Uwe Stöhr
f3ac6d117a scons_manifest.py: fix SCons after r25021
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25026 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-31 13:10:17 +00:00
Abdelrazak Younes
7bb8a5f183 Re-engineer the toolbar support code:
- We now rely more upon Qt features,
- the initial toolbar positioning defined in "lib/ui/default.ui" is now only used if there is no session or if session handling is disabled,
- The session saving/restoring is window dependent.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 11:15:17 +00:00
Abdelrazak Younes
033c3df44c a bunch of toolbar related renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 08:30:06 +00:00
Abdelrazak Younes
8a7c802ab0 Introduce docstring_list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 10:15:52 +00:00
Abdelrazak Younes
145585dc18 First step towards fixing bug 4588: move the ui file reading and the ToolbarBackend to the frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 09:28:05 +00:00
Abdelrazak Younes
4113872d60 We don't use boost::filesystem anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24909 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 12:07:29 +00:00
Uwe Stöhr
8a5dd41130 examples/es/mathed.lyx: deleted because the Math manual has been translated to Spanish since LyX 1.5.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24726 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 13:35:58 +00:00
Jürgen Spitzmüller
42aaa245db * Hartmut's csv2lyx script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 17:08:21 +00:00
Uwe Stöhr
43f31749cc scons/scons_manifest.py: compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-01 16:24:10 +00:00
Jean-Marc Lasgouttes
9b4a26a252 rename assert.h to lassert.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 08:26:40 +00:00
Uwe Stöhr
6172e35f83 German Shortcuts.lyx by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24510 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-26 13:02:53 +00:00
Bo Peng
86dd41d5b3 fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 21:39:11 +00:00
Richard Heck
5846be6af9 Revert 24482.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 16:25:08 +00:00
Bo Peng
a095d0d785 Remove remaining embedding bits and minizip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 14:33:16 +00:00
Uwe Stöhr
6363dce008 Shortcuts.lyx: remove the file because it was never more than a stub and also outdated. It's not needed any longer due to the new shortcuts dialog. Fixes http://bugzilla.lyx.org/show_bug.cgi?id=4774
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 01:43:45 +00:00
Uwe Stöhr
337341c37f SCons and Make: register the Italian clipart files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24435 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 00:32:03 +00:00
Uwe Stöhr
cff5b102ff new Japanese Intro.lyx by Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24434 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 00:29:18 +00:00
Uwe Stöhr
8ed0d0ee35 fix SCons again and again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24401 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 22:43:07 +00:00
Uwe Stöhr
b47b3a6a3e fix SCons again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24393 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 17:39:24 +00:00
Uwe Stöhr
7247bd6eb0 fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 10:05:51 +00:00
Richard Heck
9cf878cc60 Move pin image to the attic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24374 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 03:20:44 +00:00
Richard Heck
879e7c8b84 Scons for the last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24359 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 16:14:45 +00:00
Bo Peng
f6f2f6471f fix scons (who broke it?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24320 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 02:57:07 +00:00
Jürgen Spitzmüller
04a719f4a7 * lib/layouts/article-beamer.layout:
* lib/layouts/scrarticle-beamer.layout:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- new layouts that support beamerarticle.cls

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24289 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 13:43:11 +00:00
Bo Peng
1f544cd23c Fix scons to make lyxclient compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24265 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 14:54:31 +00:00
André Pönitz
4f16fa6fd5 add this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24217 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 21:51:18 +00:00
Edwin Leuven
24130fa0c2 resuscitate Vert.png as vert2.png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24175 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 14:57:06 +00:00
Jürgen Spitzmüller
f19953fe71 * fix symbol in the math panel (part of bug 4720):
- Vert.png: rename to vert.png (what it actually is)
	- Vert.png: add correct symbol

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 11:26:31 +00:00
Abdelrazak Younes
5ab92646a3 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24014 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 08:47:48 +00:00
André Pönitz
621af49f78 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24007 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 22:27:11 +00:00
Richard Heck
72b7c73b5a Move context menus to their own file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23948 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 16:02:26 +00:00
Bo Peng
d74c60b860 fix scons by linking boost.cpp after boost libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:17:37 +00:00
Bo Peng
eb1cc5ac22 fix scons for r23849
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23851 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 14:53:07 +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
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
Uwe Stöhr
f1443b9db6 update SCons according to r23747 and r23749
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23778 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-16 19:01:05 +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
Enrico Forestieri
ba496b94ac Merge InsetMathBoldSymbol and InsetMathBM by providing \boldsymbol
through the bm package.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 14:33:16 +00:00
Uwe Stöhr
4ffa69eee9 SCons update according to r23547
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23585 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 14:05:55 +00:00
Abdelrazak Younes
a718f53382 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 15:40:26 +00:00
Uwe Stöhr
351134d91e update SCons according to r23527
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23546 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 20:58:52 +00:00
Richard Heck
6edb3984bf BaseClassList --> LayoutFileList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 03:53:21 +00:00
Richard Heck
926ad3d183 Get rid of LayoutPtr.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 21:55:33 +00:00
Bernhard Roider
a99c5828f8 Add support for \bm from bm.sty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23520 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 20:49:59 +00:00
Uwe Stöhr
dae2d41417 André, please also take care of SCons when adding/deleting/moving file
scons_manifest.py: update SCons according to André's changes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-05 22:32:26 +00:00
Uwe Stöhr
a67f6f1480 French version of Formula-numbering.lyx by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-04 20:48:48 +00:00
Uwe Stöhr
0ab7a8dce3 - new Spanish translation of the math manual
- Math.lyx: bug 2461 is now fixed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23369 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-01 14:50:42 +00:00
Richard Heck
d8a6b5bfd0 Remove TextClassPtr without losing the type safety it provided.
See these threads:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136112.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136062.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135997.html
for some background.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23299 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 01:42:02 +00:00
Stefan Schimanski
9f21b7f9ad * high performance text completion with weighted btrees to get pseudo
random-access (i.e. O(log n)) to the n-th element in a list/set. Try
  it with 1000000 keys ... no problem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23213 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-25 01:56:53 +00:00
Uwe Stöhr
9549685b3a delete French mathed.lyx as we did already for the other languages where we have a translation of the new math manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23203 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 22:52:30 +00:00
Richard Heck
4c6180d209 Try to make the distinction between base classes and text classes clearer in the code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23198 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 16:59:49 +00:00
Bo Peng
5f18e5ea81 Fix scons/InseLayout again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 16:28:46 +00:00
Uwe Stöhr
317c76c0e9 SCons update: revert r23157 due to r23189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23193 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 15:27:45 +00:00
Bo Peng
3c07aff8ef fix scons for InsetLayout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 05:51:07 +00:00
Uwe Stöhr
4a7b0625b3 SCons update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23157 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-23 16:40:16 +00:00
Richard Heck
a8317afc4b This is the first of a series of commits that will make InsetLayout a real class.
In this commit, we do the minimal amount of work necessary to protect our data.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 02:32:52 +00:00
Stefan Schimanski
1bf7b59d60 * completion infrastructure
* completion support for mathed
* experimental completion support for text


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 19:42:34 +00:00
Pavel Sanda
b7922f4201 Add hide tab icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23101 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 15:13:39 +00:00
Uwe Stöhr
31bc8149d3 the missing bits of r23003
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23008 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-14 22:17:54 +00:00
Uwe Stöhr
21c5540c8e adjust SCons according to r23006
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23007 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-14 22:13:30 +00:00
Uwe Stöhr
c3cad57542 French translation of the math manual by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22968 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-12 22:22:36 +00:00
Bo Peng
9bd8ffb29c Fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22912 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 01:26:45 +00:00
Uwe Stöhr
f448b1e192 EmbeddedObjects: French translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 21:48:18 +00:00
Jürgen Spitzmüller
9bdca85f26 *** New Symbols Dialog ***
* src/Encoding.{cpp,h}:
	- new public member getSymbolsList()

* src/frontends/qt4/GuiSymbols.cpp:
* src/frontends/qt4/GuiSymbols.h:
* src/frontends/qt4/ui/SymbolsUi.ui
	- new files

* src/frontends/qt4/GuiView.cpp:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- add new dialog

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- menu item for symbols dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22832 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 13:18:07 +00:00
Abdelrazak Younes
4bc0fdcacf adjust scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22829 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 09:13:23 +00:00
Abdelrazak Younes
bbe3815eb8 Adjust scons to FileDialog.h moving.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22822 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 00:07:34 +00:00
Uwe Stöhr
886db92f82 enable the scrlttr 2 class for serial letters:
- file format change
- new example files and an example address database
- remove ugly hack from scrlttr2.layout and fix bug 4529

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22764 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 11:56:44 +00:00
Stefan Schimanski
fe348eb8b7 * The gui change for the mouse wheel speed setting. This includes the
renaming of the keyboard preferences pane into a input preferences pane.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22718 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 21:20:56 +00:00
Uwe Stöhr
cfdad9946d I wrote a new manual "LyX's detailed math manual". See the announcement on the list.
The file examples/mathed.lyx is no longer needed as its content is part of the new manual.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22691 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-27 20:58:45 +00:00
Uwe Stöhr
82fba225a5 the missing things of r22635
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22638 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-20 21:44:49 +00:00
Uwe Stöhr
b62f7986dd two new documentation file translations from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 22:56:22 +00:00
Uwe Stöhr
098c808174 forgot to add this in r22566
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22575 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:40:23 +00:00
Uwe Stöhr
de20d9ae9a UserGuide.lyx: fix bibliographies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:52:08 +00:00
Uwe Stöhr
635ae3af3b scons_manifest.py: compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22521 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 14:06:40 +00:00
Richard Heck
d5d665482e This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.

By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.

So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i)  GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.

The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework. 

I've also updated the module documenation to accord with this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Uwe Stöhr
18970a1c69 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 20:55:52 +00:00
Richard Heck
795c729776 Remove layout stuff made obsolete by modularization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22471 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:24:53 +00:00
Richard Heck
4aea2f6a73 More tweaks, and some fixes for missing files in the makefiles, while we're at it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22469 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:19:07 +00:00
Richard Heck
736418751a AMS module tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:13:01 +00:00
Richard Heck
f5a5be4d18 Modularization of the AMS classes, and the theorem environments generally.
This is Part I: The changes to the layout files and modules. Part II, still
to come, will involve lyx2lyx to help people who were using the older classes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 04:58:20 +00:00
Bo Peng
06254d11df Embedding: display a pin at the top left corner of embedded figures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22439 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:22:05 +00:00
Uwe Stöhr
81f48ded87 add a module for typesetting Braille
(entry for the LaTeXConfig.lyx file follows when bug 4460
http://bugzilla.lyx.org/show_bug.cgi?id=4460
is fixed)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22393 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 13:39:58 +00:00
Uwe Stöhr
38ed641598 add linguistics module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 19:58:47 +00:00
Uwe Stöhr
d915adb996 add linguistics.lyx example file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22390 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 19:47:24 +00:00
Joost Verburg
5a7bae747a fix compile error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22338 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-02 15:09:50 +00:00
Abdelrazak Younes
722329490b Simplify MenuBackend and menubar interactions.
* GuiMenubar: freed from GuiView and QMenuBar, renamed to 'Menus'
* GuiView: just use the standard QMenuBar.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 10:55:43 +00:00
Uwe Stöhr
2b5d064ff4 textrm_O.png: rename image to what it really is
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22169 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 12:28:03 +00:00
Abdelrazak Younes
efbd1d30cb Sanitize the way we use abort() and exit(). With this commit, we should never crash in release mode, even when assertions are enabled. In debug mode, we crash with abort in order to get a useful backtrace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 11:34:29 +00:00
Abdelrazak Younes
c66e214724 Transfer getcwd() implementation to FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 10:18:00 +00:00
Abdelrazak Younes
a53bbb6f5d update scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 07:54:14 +00:00
Abdelrazak Younes
c817011cd8 update scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-15 08:20:11 +00:00
Uwe Stöhr
bf903dbbaa update scons/scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22141 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:17:54 +00:00
Abdelrazak Younes
6d20abb1b1 get rid of lyxlib.h:copy() and rename().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22129 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 12:03:55 +00:00
Enrico Forestieri
d73f28eec1 Revert qprocess code. Revisions reverted: 22026, 22030, 22044, 22048,
22077, 22078, 22079, 22080, 22081.

Sorry Peter, but this was breaking too many things, see discussions
on lyx-devel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:25:53 +00:00
Uwe Stöhr
b3b243a6ca French docs translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 21:49:58 +00:00
Uwe Stöhr
b89e9516e5 update scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 00:49:41 +00:00
Abdelrazak Younes
5db88b5d56 update scons with DialogView.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22050 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-09 22:37:33 +00:00
Peter Kümmel
3af56311a7 add progress view of system calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 20:46:03 +00:00
Uwe Stöhr
22ae25d8da update scons/scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-01 22:24:35 +00:00
Uwe Stöhr
7e7bf73c79 update scons/scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21871 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 00:03:31 +00:00
Abdelrazak Younes
09ff5016cd Inline qstring_helpers methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 10:26:03 +00:00
André Pönitz
f5dffff3d6 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 23:49:48 +00:00
Uwe Stöhr
5deee5ce07 update scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21761 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 13:30:54 +00:00
Uwe Stöhr
179c95c2c0 update scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21750 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 22:20:07 +00:00
Uwe Stöhr
97aa558cac support for \pagebreak:
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +00:00
Abdelrazak Younes
b9d2666b98 Move Dialog.{h,cpp} and ButtonPolicy.{h,cpp} to frontends/qt4/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 08:01:09 +00:00
Uwe Stöhr
79c85e5e95 scons_manifest.py: fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21673 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 00:49:22 +00:00
Bo Peng
7151f3404a fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21621 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 03:28:53 +00:00
André Pönitz
743db92585 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21592 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:37:25 +00:00
Bo Peng
dd17ccef77 fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 18:06:10 +00:00
Uwe Stöhr
c8d5d2ea83 actualize scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21562 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:43:15 +00:00
Uwe Stöhr
a145538ba1 big French manual update:
- UserGuide updates
- new translation of the EmbeddedObjects manual
done by Siegfried MEUNIER-GUTTIN-CLUZEL

- remove the file examples/fr/ExemplesTableaux.lyx since we have this now in the EmbeddedObjects.lyx manual (as I did for the other lanuages some weeks ago)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21560 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:34:10 +00:00
Uwe Stöhr
33b441517e scons_manifest.py: fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21524 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 22:54:41 +00:00
Abdelrazak Younes
62307f7ab5 Add TextClassPtr.h to scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21509 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:37:24 +00:00
Abdelrazak Younes
a4d2ae771a Add InsetLayout.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21505 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:50:00 +00:00
Bo Peng
6a464422b3 fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21504 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:45:12 +00:00
André Pönitz
16b4f6c373 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21479 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 20:58:15 +00:00
Uwe Stöhr
d795490816 correct scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21346 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:09:32 +00:00
Uwe Stöhr
607ebded27 update the build system after r2121337
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:05:29 +00:00
Bo Peng
0803d07b39 update scons-manifest for the addition of a few images
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 16:57:09 +00:00
Uwe Stöhr
a2ac840d2b remove the example file currency.lyx and its German translation as this is obsolete since LyX 1.5's unicode support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21278 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 23:08:52 +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
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
f075554097 FontEnums.cpp doesn't exist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 23:30:46 +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
Uwe Stöhr
3b313c026f remove the now obsolete German file TabellenBeispiel.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21234 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 11:49:50 +00:00
Uwe Stöhr
1862eaa2e3 Spanish translation of the file ItemizeBullets.lyx by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 11:44:52 +00:00
André Pönitz
f4b7b4b67c adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 21:53:58 +00:00
Abdelrazak Younes
68a49e1960 Adjust scons for ColorCode.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21199 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 13:38:12 +00:00
André Pönitz
fb5839e339 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 06:15:45 +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
a9235c1d5d adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21191 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 22:55:39 +00:00
Bo Peng
cd94b80639 fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 05:09:09 +00:00
Bo Peng
16e8b30c71 Fix scons update_po by removing deleted files in scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 00:34:06 +00:00
André Pönitz
45482a947d remove traces of qmake experiment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21152 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 16:44:16 +00:00
Uwe Stöhr
ab79da2707 Documentation updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21115 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 02:05:04 +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
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
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
Bo Peng
a5031475be Scons: fix the handling of layout module files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 18:42:07 +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
André Pönitz
dd6ae83a73 revert 21014
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:40:20 +00:00
André Pönitz
88dd04083f adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:17:23 +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
Uwe Stöhr
fd912b1bab add Japanese layout files, provided by Yokata-san
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20965 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 11:09:26 +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
Abdelrazak Younes
3fced79210 Adjust scons to InsetCode.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20937 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 09:05:46 +00:00
Bo Peng
92ba4103e2 add Shortcuts.lyx to Makefile.am and scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20914 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 16:47:57 +00:00
Bo Peng
8d9893ad50 InsetInfo: Move LaTeXConfig.lyx.in to LaTeXConfig.lyx and stop processing this file in configure.py (and chkconfig.ltx.
* development/scons/scons_manifest.py: build system changes
	* lib/doc/Makefile.am
	* lib/doc/LaTeXConfig.lyx.in: rename to
	* lib/doc/LaTeXConfig.lyx: this one.
	* lib/chkconfig.ltx: stop processing sed file and LaTeXConfig.lyx.in
	* lib/configure.py


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:52:00 +00:00
Uwe Stöhr
ded6db3e0b update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:17:32 +00:00
André Pönitz
72344cfbe6 delete controllers dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 21:38:06 +00:00
Uwe Stöhr
2f67078f8c scons_manifest.py: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 20:41:52 +00:00
Bo Peng
c0fb3ecae2 Fix scons and a file inclusion problem in ControlCommand.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:18:21 +00:00
Uwe Stöhr
e9d2d9b9fb update SCons again (for the new esint font)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20795 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 17:35:11 +00:00
Uwe Stöhr
6c399b425e update SCons according to André's current controller merge state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 17:24:34 +00:00
Jürgen Spitzmüller
7341e94905 * lib/doc/Makefile.am:
* development/scons/scons_manifest.py:
	- add Spanish UserGuide.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20767 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 06:52:07 +00:00
Bo Peng
f3555064fc fix scons for the removal of ControlRef.h|cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20758 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 19:44:39 +00:00
Uwe Stöhr
474a0beb2b Buffer.cpp: compile fix
scons_manifest.py: dito

André, please check if you can compile before you commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20721 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 22:22:40 +00:00
Abdelrazak Younes
75e2698523 fix scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 09:03:03 +00:00
Jean-Marc Lasgouttes
d5338a5f89 remove more traces of changelogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20633 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 10:58:20 +00:00
Bo Peng
d06504aa12 fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20602 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-30 04:12:14 +00:00
Uwe Stöhr
f7096a86cb scons/scons_manifest.py: make LyX compile again after r20579
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20594 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 16:24:22 +00:00
Abdelrazak Younes
3d3c5546a1 add DialogView.h to scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20535 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 11:29:05 +00:00
Richard Heck
5aec75f931 Add module to create hanging paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 05:46:22 +00:00
Uwe Stöhr
4826b931b5 add the missing PDFSupportUi.ui
but the PDF stuff still doesn't compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:45:29 +00:00
Uwe Stöhr
4871e51f35 scons_manifest.py: cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20398 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:32:04 +00:00
Uwe Stöhr
cfa00f8342 add missing file PDFOptions.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:16:59 +00:00
André Pönitz
21f0dd25f1 Pavel Sanda's "PDFOptions" patch, part II
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20390 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:32:20 +00:00
Richard Heck
e020bc1806 Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 17:46:14 +00:00
Richard Heck
ab4c1039c5 Update makefiles from a previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 17:02:15 +00:00
Bo Peng
2876db148e Adjust scons_manifest.py for the removal of SocketCallback.h|cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20314 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 14:17:54 +00:00
André Pönitz
d348b0183b Rename class socket_callback into SocketCallback; adjust buidl systems;
prevent double deletion of socket notifier


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:47:35 +00:00
Edwin Leuven
76e3fbcf7a * new file formats panel that includes copier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20292 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:09:57 +00:00
André Pönitz
4e083bf73a adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 22:33:48 +00:00
Uwe Stöhr
42f0d49b95 Thanks to Ignacio, we have a new Spanish UserGuide!
(Will commit this to branch too the next days.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 13:51:30 +00:00
André Pönitz
f5bfd22371 adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:55:59 +00:00
Bo Peng
1c7ed8b641 fix scons again for GUI cleanup, remove unused variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20084 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:10:10 +00:00
Bo Peng
3f0c6bc583 fix scons for InsetFlex.*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 17:00:43 +00:00
Bo Peng
22ce34e5d5 Move two minizip functions from filetools.cpp to its own file minizip/zipunzip.cpp, covered by minizip's original license
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20025 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 21:09:11 +00:00
Bo Peng
cec37055da Fix scons for Andre's patch, add a missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 20:13:26 +00:00
André Pönitz
904fd84bba all CheckedWidgets are line edits...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 08:19:43 +00:00
André Pönitz
9b4bd90138 adjust build systems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19980 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 20:45:27 +00:00
André Pönitz
d5483e3551 somewhat more uniform naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 22:37:05 +00:00
André Pönitz
fc36725282 Merge QController into individual dialogs. Also various cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19961 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 22:16:11 +00:00
Bo Peng
cc6fe67c35 Embedding feature patch 3: basic gui support
*  lib/ui/stdmenus.inc: add menu item embedded files
	*  src/BufferParams.cpp: set default embedded status to false
	*  src/EmbeddedFiles.h|cpp: add a few member functions
	*  src/frontends/qt4/Dialogs.cpp: add embedding dialog
	*  src/frontends/qt4/GuiEmbeddedFiles.h|cpp: embedding dialog
	*  src/frontends/qt4/ui/EmbeddedFilesUi.ui: embedding dialog
	*  src/frontends/controllers/ControlEmbeddedFiles.h|cpp: embedding dialog control
	*  src/frontends/qt4/Makefile.am: build system update
	*  src/frontends/controllers/Makefile.am
	*  development/scons/scons_manifest.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 15:42:35 +00:00
Richard Heck
2607927e2f Modularize the theorem modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19952 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 15:01:17 +00:00
André Pönitz
a1cec91afa move our stuff off the Q* namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 05:53:55 +00:00
Bo Peng
692363bbca Embedding patch two: read/write embedded files'
*  src/insets/InsetGraphics.h
	*  src/insets/InsetExternal.cpp
	*  src/insets/InsetGraphics.cpp
	*  src/insets/InsetInclude.cpp
	*  src/insets/Inset.h
	*  src/insets/InsetInclude.h
	*  src/insets/InsetExternal.h: register embedded files
	*  src/EmbeddedFiles.h|cpp: core of embedded files
	*  src/Buffer.h|cpp: read/write embed file
	*  src/BufferParams.h|cpp: embedded flag
	*  src/Makefile.am
	*  po/POTFILES.in
	*  development/scons/scons_manifest.py: build system updates


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19924 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 20:46:42 +00:00
André Pönitz
f82c3e8e65 xpm -> png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 20:09:12 +00:00
Bo Peng
5a1116133a Scons update for r19893, tex2lyx is still broken
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 21:18:02 +00:00
Richard Heck
4da4883e0d Scons for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 16:50:59 +00:00
André Pönitz
d65a564adf remove special handling of Package.cpp[.in]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 21:29:56 +00:00
Bo Peng
b1e84ddec3 Scons: fix tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 15:13:45 +00:00
Bo Peng
b9cbb02639 Scons cleanup 6: build minizip/iowin32.c on all sytems becuase it is surrounded by #ifdef WIN32, some other small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:40:42 +00:00
Richard Heck
6e93e77f22 This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This first patch does some reworking of the infrastructrue. We need to distinguish between the TextClass that a particular document is using and the layout of that document, since modules, in particular, can modify the layout. The solution adopted here is to add a TextClass pointer to BufferParams, which will hold the layout. The layout itself is then constructed from the TextClass the document is using. At present, this is completely trivial, but that will change when modules are added.

The pointer in question is a boost::shared_ptr. This is needed because CutAndPaste saves a copy of the layout with each cut or copied selection. We cannot assume the selection vanishes when the document is closed, so there are two options: (i) keep a list of all the layouts that have ever been used by any document; (ii) used some kind of smart pointer. The latter seems preferable, as the former would waste memory. More importantly, the use of a smart pointer allows modules to be modified on disk and then reloaded while LyX is running, and it will eventually allow the same for layout files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19756 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 16:41:13 +00:00
Abdelrazak Younes
5e5f824376 sync with rev 19751: delete Menubar.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 12:55:51 +00:00
Bo Peng
52fa9e584e Embedding feature patch 1: add zipFiles and unzipToDir to support
* src/support/lyxlib.h: add makedir(), used by unzipToDir
	* src/support/filetools.[h|cpp]: add zipFiles() and unzipToDir()
	* src/support/mkdir.cpp: add makedir() and mymkdir(char*).
	* src/support/minizip: add zlib-1.2.3/contrib/minizip files to lyx svn
	* src/support/minizip/iowin32.h
	* src/support/minizip/ioapi.c
	* src/support/minizip/zip.c
	* src/support/minizip/unzip.c
	* src/support/minizip/crypt.h
	* src/support/minizip/ioapi.h
	* src/support/minizip/zip.h
	* src/support/minizip/unzip.h
	* src/support/minizip/iowin32.c
	* development/scons/scons_manifest.py: adjust scons
	* development/scons/SConstruct


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19692 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 14:48:47 +00:00
Richard Heck
cd772c60a5 Biblio.{h,cpp} --> BiblioInfo.{h,cpp}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19660 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 17:04:36 +00:00
Richard Heck
b3bff4232a Improvements to the citation dialog UI. It is now possible to search particular fields (author, title, etc) and to filter keys by entry types (article, book, etc).
The changes are essentially of three types. 

First, the std::maps previously used here for storing BibTeX data have become full-fledged classes and so what were previously just a bunch of functions have now become methods of these new  classes. This leads to a lot of minor changes in other files, to adapt to the  new signature. The changes in insets/ are mostly of this kind.

Second, there are some slightly more substantial changes in src/insets/InsetBibtex.cpp. We now store lists of the field names and entry types that have been used.

Finally, there are the changes to the citation UI. These are mostly straightforward, though adding the new functionality exposed some inadequacies in the previous code that also had to be fixed.

One other change: BibTeX keys are now docstring. This solves some Unicode issues.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19657 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 16:30:02 +00:00
Bo Peng
84ce8a0882 Scons: distribute missing layout file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19615 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 04:17:01 +00:00
Richard Heck
5bb22d9498 Re-write of the BibTeX representation. The main change is that we now have
a structure representing field->value instead of just a single string with
all the data. The data structures are defined in src/Biblio_typedefs.h, and
the main changes are to the parser code in src/insets/InsetBibtex.cpp.

-src/Biblio_typedefs.h
 Contains typedefs for new representation. Separating them out limits how much 
 gets #include'd by other files, and also resolves a circularity problem with
 Buffer.h.

-src/Biblio.{h,cpp}
 Signature changes and massive simplifications to routines that report
 BibTeX data, since we now have an articulate representation.

-src/insets/InsetBibtex.{h,cpp}
 Re-write the parser code so we store a key->value map of the BibTeX data
 rather than just one long string. This is the main work.

-src/frontends/controllers/ControlCitation.{h,cpp}
-src/insets/InsetBibitem.{h,cpp}
-src/insets/InsetCitation.cpp
 Adaptations and simplifications.

-src/insets/Inset.h
-src/Buffer.{h,cpp}
-src/insets/InsetInclude.{h,cpp}
 Signature changes.

-src/Makefile.am
-development/scons/scons_manifest.py
 Add src/Biblio_typedefs.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 01:59:20 +00:00
Richard Heck
8a221dc70c Move the lyx::biblio namespace into src/. Also make changes to how the BibTeX
information is acquired. This involves (i) moving the bulk of fillWithBibKeys() 
into Biblio.cpp, (ii) introducing a virtual method Inset::fillWithBibKeys() that,
by default, does nothing, and (iii) over-riding this method in the insets that do
need to do something.

This is all preparatory for a more substantial re-working of the BibTex code,
which should follow shortly.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19565 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 16:50:51 +00:00
André Pönitz
77cfe019f2 remove special handling of version.cpp[.in]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19497 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 12:04:57 +00:00
Bo Peng
cd4ef66755 fix scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19491 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 03:19:57 +00:00
Uwe Stöhr
278838409b lib/doc/clipart: Add two new images for the Userguide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19490 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 01:35:48 +00:00
Jean-Marc Lasgouttes
2a3cfcec5e the file has been removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19436 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 20:58:38 +00:00
Uwe Stöhr
5564407c2c UserGuide.lyx updates: - Finish the descriptions of the bibliography and the document settings dialog
- add a BibTeX bibliography

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19415 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 01:20:33 +00:00
Uwe Stöhr
a1687b08aa UserGuide.lyx: complete revision to bring it up to date:
- correct menu names
- add descriptions about index generation, font and graphic formats - to tell only examples

The document is ready except of the outliner and note descriptions.

The description of LyX's menus (Appendix A), and the preferences dialog (Appendix B) will be completed step by step, hopefully with some help.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19389 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 01:32:55 +00:00
Bo Peng
f3c3b9bf02 fix scons for gettext upgrade
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-08 02:14:57 +00:00
Jean-Marc Lasgouttes
525cd4c51e * src/support/gzstream,cpp:
* src/support/gzstream.h: re-introduce the stream we were using in
	1.4.x. The boost iostream solution produces unreadable streams
	on windows and we do not know why currently.

	* src/support/Makefile.am:
	* src/Buffer.cpp:
	* src/Lexer.cpp:
	* development/scons/scons_manifest.py: adapt.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-01 15:16:44 +00:00
Jürgen Spitzmüller
2a875336c0 * lib/Makefile.am:
* development/scons/scons_manifest.py:
	- add apa template.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 04:46:09 +00:00
Jean-Marc Lasgouttes
0ffdae7651 Rename development/cmake/README.cmake to INSTALL.cmake
Actually distribute the cmake files with LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19034 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 07:27:56 +00:00
Uwe Stöhr
208a64d292 installer: support for the Chinese menu language translations
scons/scons_manifest.py: add the new Chinese .po files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-29 00:14:50 +00:00
Uwe Stöhr
dc56f010db New German EmbeddedObjects manual
Part 2: the documents

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18877 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 00:57:19 +00:00
Uwe Stöhr
5f614b008a New German EmbeddedObjects manual
Part 1: the images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 12:30:03 +00:00
Uwe Stöhr
58c9d5fd70 Add keymap file for Farsi, provided by Mostafa
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:41:45 +00:00
Bo Peng
44f31e00f2 add closetab.xpm to scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 14:58:31 +00:00