Commit Graph

450 Commits

Author SHA1 Message Date
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
Bo Peng
9907aaf295 fix installer manifest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 19:26:53 +00:00
Bo Peng
cdc5ab6a83 add installer files to scons_manifest so that installers can depends on installer files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 18:44:42 +00:00
Richard Heck
954be90e11 Make HTML export work.
The key is the new copier script lib/scripts/ext_copy.py. Usage:
 ext_copy.py [-e ext1,ext2,...] <from file> <to file>
Given a <from file> and <to file>, it will copy all files in the directory 
in which from_file is found that have the extensions given in the -e option, 
or all files in that directory if no such argument is given. So, for example, 
we can do:
  python ext_copy.py -e png,html,css /path/from/file.html /path/to/file.html
and all html, png, and css files in /path/from/ will be copied to the 
(possibly new) directory /path/to/file.html.LyXconv/. The -t option determines 
the extension added to the output filename passed to the script ($$o, in the
copier definition), the default being "LyXconv". If just . is given, then no 
extension is added.

Other changes:
* configure.py: added appropriate copier definitions for html and wordhtml
formats, as well as for the Program pseudo-format.
* lib/Makefile.am and development/scons/scons_manifest.py: add ext_copy.py.
* lib/doc/Customization.lyx: update documentation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 17:02:35 +00:00
Uwe Stöhr
fddca82d95 add layout and template for iopart
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-12 01:09:49 +00:00
Edwin Leuven
7aa51095d2 update functions.xpm and add to scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-08 14:48:44 +00:00
Edwin Leuven
9831f407f1 add varrho, patch from hzluo <memcache@gmail.com>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 12:45:11 +00:00
Uwe Stöhr
bd380926a0 - add Farsi splash.lyx
- reordering SCons entries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 21:31:39 +00:00
Uwe Stöhr
d9c6ede4cc declarate zh.po to SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18673 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 21:18:21 +00:00
Jean-Marc Lasgouttes
43547cd11d Add Korean l10n from cghan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 14:35:38 +00:00
Uwe Stöhr
9dc3309c90 UserGuide: - German translation updates by Hartmut
- new Image for the German Userguide

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18534 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-27 14:19:36 +00:00
Uwe Stöhr
72586d2c03 update build system after changeset 18478
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18481 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 23:55:52 +00:00
Uwe Stöhr
738e0dd8be Add powerdot layout and example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-22 21:35:22 +00:00
Uwe Stöhr
b477b2fe39 examples/he: - new splash.lyx
- remove prefix "he" (part 1)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-19 12:45:25 +00:00
Bo Peng
33b2331867 Add examples/listings.lyx that roughly demonstrates the use of listings features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 04:01:59 +00:00
Bernhard Roider
fdaf886bbc fix scoons/makefile for r18280
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 18:10:40 +00:00
Bo Peng
4ce743a0a7 Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
	* src/insets/Inset.h,cpp: LISTINGS_CODE
	* src/insets/InsetInclude.cpp: handle \lstinputlisting
	* src/insets/InsetListings.h,cpp: new listings inset
	* src/insets/InsetListingsParams.h,cpp: parameters from listings package
	* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
	* src/Bidi.cpp: handle LISTINGS_CODE
	* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
	* src/frontends/qt4/ui/ListingsUi.ui: new dialog
	* src/frontends/qt4/ui/IncludeUi.ui: update UI
	* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
	* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
	* src/frontends/qt4/QListings.h,cpp: new listings inset
	* src/frontends/qt4/Dialogs.cpp: new listings dialog
	* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
	* src/frontends/controllers/ControlListings.h,cpp: new listings inset
	* src/LyXFunc.cpp: handle LISTING_CODE
	* src/Paragraph.cpp: handle LISTING_CODE
	* src/factory.cpp: new listings inset
	* src/CutAndPaste.cpp: handle LISTINGS_CODE
	* src/LaTeXFeatures.cpp: require listings
	* src/Text3.cpp: Handle LISTINGS_CODE
	* src/lfuns.h: add LFUN_LISTING_INSERT
	* src/Buffer.cpp: change lyx file format to 269
	* src/BufferParams.h,cpp: add listings_params to preamble
	* lib/lyx2lyx/LyX.py: lyx2lyx 
	* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
	* lib/ui/stdmenus.inc: new menu item (no shortcut!)
	* src/insets/Makefile.am: update autotools
	* src/frontends/controllers/Makefile.am
	* src/frontends/qt4/Makefile.dialogs
	* src/frontends/qt4/Makefile.am
	* po/POTFILES.in: a few more translatable files.
	* development/scons/scons_manifest.py: scons build system
	* development/FORMAT: document format changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Abdelrazak Younes
ab2324315b TOC Widget beautification by Stefan Schimanski:
* lib/images: 3 new icons 
* TocUi/TocWidget: Replace labeled button with icon buttons.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:37:05 +00:00
Jean-Marc Lasgouttes
92dd086d77 remove fr/CV.lyx to fr/simplecv.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18184 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 13:08:29 +00:00
Uwe Stöhr
52ab589aee remove examples/TableExamples.lyx as its content is explained in detail in the EmbeddedObjects manual - the same as for decimal.lyx i deleted last week after JMarc gave his OK.
As I did for decimal.lyx I leave the file in examples/de until the EmbeddedObjects manual is translated and renamed it to a German name.
(Hartmut also updated this file today.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18179 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 21:50:19 +00:00
Jean-Marc Lasgouttes
1e54896a6b scons update for cv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18170 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 11:58:38 +00:00
Uwe Stöhr
92d858db07 update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18167 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 01:41:03 +00:00
Bo Peng
ab5186f2cc Update scons_manifest.py (separate .inc from layout directory) to make generated po files in the same order as what autotools generates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 22:04:21 +00:00
Uwe Stöhr
45dd396555 forgot to move also the biblio file with the CV-classes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 18:44:40 +00:00
Uwe Stöhr
227f80157c file format change: support for Armenian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:48:04 +00:00
Michael Schmitt
e96411cb3a * development/scons/scons_manifest.py: fix icon list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18142 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 08:17:05 +00:00
Uwe Stöhr
c64406c2e3 fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18139 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:30:39 +00:00
Uwe Stöhr
b3605ac9fc set SCons and Makefile for the previous CV-class changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:21:06 +00:00
André Pönitz
fd65ae87e1 be nice to scons people
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18136 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:04:13 +00:00
André Pönitz
9c3066d2d3 be nice to scons folk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18132 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:45:11 +00:00
André Pönitz
47c5485a67 be nice to scons folk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18129 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 20:21:21 +00:00
Bo Peng
23d20f6935 Scons: fine-tune of scons_manifest.py, scons update_manifest yields less wrong Extra Missing information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18127 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 19:10:08 +00:00
Bo Peng
ce4effb200 Scons: remove depend.pyc from scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18125 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 17:15:11 +00:00
Bo Peng
0d80d0fdcc Scons: scons updated scons_manifest.py file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18122 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 16:45:22 +00:00
Michael Schmitt
2aec22b662 * development/scons/SConstruct: fix POTFILES.in generation
* development/scons/scons_manifest.py: add src_support_extra_files
	needed for POTFILES.in generation; add a few empty lines


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 11:33:53 +00:00
Abdelrazak Younes
00e1771f94 Now that setPosCache() is in Inset, InsetMathDim is not needed anymore: ERASED!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18110 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 10:31:51 +00:00
Bo Peng
1d82f36c88 update scons_manifest.py (hope that I get all the header files correct)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18107 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 03:35:29 +00:00
Bo Peng
7be269bc5b update scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 03:31:28 +00:00
Michael Schmitt
616c819334 * development/scons/scons_manifest.py: fix LyXFont => Font
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:17:42 +00:00
Michael Schmitt
306a375fa6 * development/scons/scons_manifest.py: fix LyXLayout.* => Layout.*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18100 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:15:32 +00:00
André Pönitz
bdcf34ae9c try to make scons people happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18098 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 19:58:49 +00:00
Michael Schmitt
ef4578ab6e * development/scons/scons_manifest.py: change LyXServer* to Server*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 17:00:47 +00:00
Michael Schmitt
32f444d6d6 * scons/scons_manifest.py: InsetBase.* has been removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18091 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 15:49:53 +00:00
Bo Peng
e36fba33ab Last (?) batch of renames:
src/frontends/Alert.h src/frontends/alert.h
src/frontends/Alert.cpp src/frontends/alert.cpp
src/frontends/Alert_pimpl.cpp src/frontends/alert_pimpl.cpp
src/frontends/qt4/Alert_pimpl.cpp src/frontends/qt4/alert_pimpl.cpp
src/frontends/controllers/ButtonPolicies.cpp src/frontends/controllers/ButtonPolicy.cpp
src/frontends/controllers/ButtonPolicies.h src/frontends/controllers/ButtonPolicy.h
src/insets/InsetEnv.cpp src/insets/InsetEnvironment.cpp
src/insets/InsetEnv.h src/insets/InsetEnvironment.h
src/mathed/MathMacroTable.h src/mathed/MacroTable.h
src/mathed/MathMacroTable.cpp src/mathed/MacroTable.cpp
src/lyx_cb.h src/callback.h
src/lyx_cb.cpp src/callback.cpp
src/UpdateFlags.h src/update_flags.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:44:46 +00:00
Bo Peng
a6e1dc19a3 Scons: update_po target now updates po/POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:33:15 +00:00
André Pönitz
215d3c37f4 be nice to scons folk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18068 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 13:00:10 +00:00
Michael Schmitt
b2df7383a0 * development/scons/scons_manifest.py: more fixes related file name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18064 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 16:47:42 +00:00
Michael Schmitt
c80d405149 * development/scons/scons_manifest.py: fix file names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18063 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 16:14:02 +00:00
André Pönitz
a42eadb719 try being nice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18060 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 09:17:05 +00:00
André Pönitz
9fa4cf1e3b update scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18050 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 19:39:03 +00:00
Bo Peng
06baeac064 fix scons again. (I begin to believe that Andre cripples scons intentionally. :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18045 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 16:34:06 +00:00
Bo Peng
2af333100c fix scons for Andre's recent renames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 16:01:03 +00:00
Bo Peng
bcc90ce1c9 Rename three remaining .C files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:18:04 +00:00
Bo Peng
138b23fac8 Rename files in src/support, step one.
src/support/package.h                              src/support/Package.h    Package
src/support/package.C.in                           src/support/Package.C.in  Package
src/support/path.h                                 src/support/Path.h    Path
src/support/fs_extras.h                            src/support/fs_extras.h NOCLASSES
src/support/RandomAccessList.h                     src/support/RandomAccessList.h    RandomAccessList
src/support/lyxmanip.h                             src/support/lyxmanip.h NOCLASSES
src/support/rename.C                               src/support/rename.cpp  NOCLASSES
src/support/abort.C                                src/support/abort.cpp  NOCLASSES
src/support/lyxlib.h                               src/support/lyxlib.h NOCLASSES
src/support/ExceptionMessage.h                     src/support/ExceptionMessage.h    ExceptionMessage
src/support/copy.C                                 src/support/copy.cpp  NOCLASSES
src/support/limited_stack.h                        src/support/limited_stack.h    limited_stack
src/support/filefilterlist.C                       src/support/FileFilterList.cpp    ['FileFilterList', 'Filter']
src/support/cow_ptr.h                              src/support/cow_ptr.h    cow_ptr
src/support/os_unix.C                              src/support/os_unix.cpp  NOCLASSES
src/support/socktools.h                            src/support/socktools.h NOCLASSES
src/support/forkedcontr.h                          src/support/ForkedcallsController.h    ForkedcallsController
src/support/os.h                                   src/support/os.h NOCLASSES
src/support/FileMonitor.h                          src/support/FileMonitor.h    FileMonitor
src/support/copied_ptr.h                           src/support/copied_ptr.h    copied_ptr
src/support/translator.h                           src/support/Translator.h    Translator
src/support/filetools.C                            src/support/filetools.cpp  NOCLASSES
src/support/unlink.C                               src/support/unlink.cpp  NOCLASSES
src/support/os_win32.C                             src/support/os_win32.cpp    GetFolderPath
src/support/lstrings.C                             src/support/lstrings.cpp  NOCLASSES
src/support/qstring_helpers.C                      src/support/qstring_helpers.cpp  NOCLASSES
src/support/getcwd.C                               src/support/getcwd.cpp  NOCLASSES
src/support/systemcall.C                           src/support/Systemcall.cpp    Systemcall
src/support/lyxalgo.h                              src/support/lyxalgo.h NOCLASSES
src/support/filefilterlist.h                       src/support/FileFilterList.h    ['FileFilterList', 'Filter']
src/support/unicode.C                              src/support/unicode.cpp    IconvProcessor
src/support/userinfo.C                             src/support/userinfo.cpp  NOCLASSES
src/support/lyxtime.C                              src/support/lyxtime.cpp  NOCLASSES
src/support/kill.C                                 src/support/kill.cpp  NOCLASSES
src/support/docstring.C                            src/support/docstring.cpp    to_local8bit_failure
src/support/os_cygwin.C                            src/support/os_cygwin.cpp  NOCLASSES
src/support/lyxsum.C                               src/support/lyxsum.cpp  NOCLASSES
src/support/environment.C                          src/support/environment.cpp  NOCLASSES
src/support/filetools.h                            src/support/filetools.h NOCLASSES
src/support/textutils.C                            src/support/textutils.cpp  NOCLASSES
src/support/mkdir.C                                src/support/mkdir.cpp  NOCLASSES
src/support/forkedcall.C                           src/support/Forkedcall.cpp    ['ForkedProcess', 'Forkedcall']
src/support/tempname.C                             src/support/tempname.cpp  NOCLASSES
src/support/os_win32.h                             src/support/os_win32.h    GetFolderPath
src/support/types.h                                src/support/types.h NOCLASSES
src/support/lstrings.h                             src/support/lstrings.h NOCLASSES
src/support/forkedcallqueue.C                      src/support/ForkedCallQueue.cpp    ForkedCallQueue
src/support/qstring_helpers.h                      src/support/qstring_helpers.h NOCLASSES
src/support/convert.C                              src/support/convert.cpp  NOCLASSES
src/support/filename.C                             src/support/FileName.cpp    ['FileName', 'DocFileName']
src/support/tests/convert.C                        src/support/tests/convert.cpp  NOCLASSES
src/support/tests/filetools.C                      src/support/tests/filetools.cpp  NOCLASSES
src/support/tests/lstrings.C                       src/support/tests/lstrings.cpp  NOCLASSES
src/support/tests/boost.C                          src/support/tests/boost.cpp  NOCLASSES
src/support/docstream.C                            src/support/docstream.cpp    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/std_istream.h                          src/support/std_istream.h NOCLASSES
src/support/systemcall.h                           src/support/Systemcall.h    Systemcall
src/support/chdir.C                                src/support/chdir.cpp  NOCLASSES
src/support/std_ostream.h                          src/support/std_ostream.h NOCLASSES
src/support/unicode.h                              src/support/unicode.h    IconvProcessor
src/support/path.C                                 src/support/Path.cpp    Path
src/support/fs_extras.C                            src/support/fs_extras.cpp  NOCLASSES
src/support/userinfo.h                             src/support/userinfo.h NOCLASSES
src/support/lyxtime.h                              src/support/lyxtime.h NOCLASSES
src/support/docstring.h                            src/support/docstring.h    to_local8bit_failure
src/support/debugstream.h                          src/support/debugstream.h    basic_debugstream
src/support/environment.h                          src/support/environment.h NOCLASSES
src/support/textutils.h                            src/support/textutils.h NOCLASSES
src/support/forkedcall.h                           src/support/Forkedcall.h    ['ForkedProcess', 'Forkedcall']
src/support/socktools.C                            src/support/socktools.cpp  NOCLASSES
src/support/forkedcallqueue.h                      src/support/ForkedCallQueue.h    ForkedCallQueue
src/support/forkedcontr.C                          src/support/ForkedcallsController.cpp    ForkedcallsController
src/support/os.C                                   src/support/os.cpp  NOCLASSES
src/support/convert.h                              src/support/convert.h NOCLASSES
src/support/filename.h                             src/support/FileName.h    ['FileName', 'DocFileName']
src/support/docstream.h                            src/support/docstream.h    ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/FileMonitor.C                          src/support/FileMonitor.cpp    FileMonitor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:12:52 +00:00
Bo Peng
8cc88bf1ec Rename files under src/tex2lyx
src/tex2lyx/lyxfont.C                              src/tex2lyx/LyXFont.cpp    LyXFont
src/tex2lyx/lyxfont.h                              src/tex2lyx/LyXFont.h    LyXFont
src/tex2lyx/texparser.C                            src/tex2lyx/Parser.cpp    ['Token', 'Parser']
src/tex2lyx/tex2lyx.C                              src/tex2lyx/tex2lyx.cpp  NOCLASSES
src/tex2lyx/texparser.h                            src/tex2lyx/Parser.h    ['Token', 'Parser']
src/tex2lyx/text.C                                 src/tex2lyx/text.cpp  NOCLASSES
src/tex2lyx/tex2lyx.h                              src/tex2lyx/tex2lyx.h NOCLASSES
src/tex2lyx/context.C                              src/tex2lyx/Context.cpp    ['Font', 'Context']
src/tex2lyx/gettext.C                              src/tex2lyx/gettext.cpp  NOCLASSES
src/tex2lyx/boost.C                                src/tex2lyx/boost.cpp  NOCLASSES
src/tex2lyx/table.C                                src/tex2lyx/table.cpp  NOCLASSES
src/tex2lyx/preamble.C                             src/tex2lyx/preamble.cpp  NOCLASSES
src/tex2lyx/math.C                                 src/tex2lyx/math.cpp  NOCLASSES
src/tex2lyx/context.h                              src/tex2lyx/Context.h    ['Font', 'Context']
src/tex2lyx/Spacing.h                              src/tex2lyx/Spacing.h    Spacing
src/tex2lyx/lengthcommon.C                         src/tex2lyx/lengthcommon.cpp  NOCLASSES



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:53:06 +00:00
Bo Peng
8331bff30b rename files under src/client, step one
src/client/client.C                                src/client/client.cpp  NOCLASSES
src/client/pch.h                                   src/client/pch.h NOCLASSES
src/client/gettext.C                               src/client/gettext.cpp  NOCLASSES
src/client/boost.C                                 src/client/boost.cpp  NOCLASSES
src/client/debug.C                                 src/client/debug.cpp    lyx_debug_trait
src/client/messages.C                              src/client/Messages.cpp    Messages
src/client/debug.h                                 src/client/debug.h    lyx_debug_trait
src/client/messages.h                              src/client/Messages.h    Messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18020 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:50:23 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
Bo Peng
31334d3934 Rename .C ==> .cpp for files in src/frontends, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18016 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:02:55 +00:00
Bo Peng
6fdb8bf85a Rename .C ==> .cpp for files in src/frontends/qt4, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18014 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 03:53:02 +00:00
Uwe Stöhr
e2315e7de6 make also SCons aware of the new simplecv-class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18004 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 21:01:55 +00:00
Uwe Stöhr
413f080ede Dezimal.lyx remains in /de until the EmbeddedObjects manual is translated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18002 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 20:16:29 +00:00
Bo Peng
83ee0be376 fix scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18001 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 18:10:58 +00:00
Bo Peng
98ebb77841 Rename .C => .cpp for files in src/frontends/controllers, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17999 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 18:04:04 +00:00
Bo Peng
f6ab280632 merge src/frontends/controllers/biblio, character, frnt_lang, helper_funcs and tex_helpers to frontend_helpers, step 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17998 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 17:53:54 +00:00
Bo Peng
65d89a8af3 merge src/frontends/controllers/biblio, character, frnt_lang, helper_funcs and tex_helpers to frontend_helpers, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17996 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 17:15:56 +00:00
Bo Peng
6e3a75969b Fix a few rename inconsistencies discovered by JMarc in insets and mathed, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:11:45 +00:00
Bo Peng
893094e132 adjust scons_manifest for Andre's changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17990 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:07:55 +00:00
Bo Peng
fcfcc3ff6e Rename files in src/mathed and src/graphics from .C to .cpp, step 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17968 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 03:01:35 +00:00
Bo Peng
7eb8bc283c remove decimals.lyx from scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17967 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 02:38:48 +00:00
Bo Peng
b6a2a76700 Rename insets/insetxxx to insets/InsetXxx, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17964 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 01:24:38 +00:00
Bo Peng
021a554335 fix broken scons due to qt merges
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17963 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 01:08:32 +00:00
Michael Schmitt
6459b3f7e5 * scons/scons_manifest.py: tiny fix (compilation still broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17957 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 20:50:59 +00:00
Bo Peng
ee89110c24 make scons temporarily usable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17955 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-24 18:44:21 +00:00
Michael Schmitt
ec393ad65c * src/frontends/controllers/ControlMath.h: remove reference to
math panel dialog
	* lib/Makefile.am: do not install images/dialog-show_mathpanel.xpm
	* lib/bind/aqua.bind: remove math-panel binding
	* development/scons/scons_manifest.py: remove QMathDialog.C and
	dialog-show_mathpanel.xpm


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:30:27 +00:00
Edwin Leuven
22fb43fd8f * removal of math panel
some code is moved from QMath 
  to QDelimiterDialog and QMathMatrixDialog
  for the rest pretty mechanical

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:42:42 +00:00
Uwe Stöhr
13fa44d3e2 Add math fonts to SVN
(please check if the Makefile entry is complete, I couldn't test this here)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:46:26 +00:00
Uwe Stöhr
4760e2ad86 fix for the math-matrix dialog image
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17788 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 20:19:40 +00:00
Georg Baum
c537bb7b92 Partly undo rev 17780: Since the lfun math-matrix does still exist and can
be added by users to toolbars we should not delete the icon.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17785 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-12 12:54:11 +00:00
Uwe Stöhr
92cee8a262 Connect math matrix dialog to math panel as discussed yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17780 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 19:14:47 +00:00
Uwe Stöhr
c3ffce4a8c add math delimiter dialog to math toolbar, by Richard and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17768 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 20:57:59 +00:00
Uwe Stöhr
835f126af9 New Spanish translation of the Extended manual, by Ignacio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17757 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-09 17:30:54 +00:00
Uwe Stöhr
9ad5bde3c6 support for europecv: Layout file and template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:35:15 +00:00
Uwe Stöhr
566d5270f5 moderncv: - reworked layout and template file
- reduce ERT to minimum

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:30:54 +00:00
Uwe Stöhr
228c92e6b4 support for moderncv: Layout file and template as we currently have no CV template but as discusses some times ago on the users list we need one for the beginners.
(The next days I'll also prepare support for europecv, the second nicht CV class that is also required to use in some fields.)

I hope I'm not too rash here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17700 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 01:52:34 +00:00
Uwe Stöhr
828343c3e8 - g-brief2 cleanups: Make Standard style the default as Letter style as default causes LaTeX errors when you accidentally have two of them
(since years now used by me successfully)
- new template for g-brief2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 01:37:39 +00:00
Michael Schmitt
b8e23e46d0 restore the old LyX banner in preparation of the next release;
replace banner.ppm by banner.png


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 20:33:40 +00:00
Georg Baum
f2769c00c7 Finish the transition to unicode of the kmap machinery and enable kmap files
again (bug 3304)

	* src/intl.C
	(Intl::initKeyMapper): Don't set the char set of trans anymore

	* src/chset.[Ch]: delete, no longer needed

	* lib/kbd/*.cdef: ditto

	* src/lyxrc.[Ch]: remove RC_SCREEN_FONT_ENCODING and font_norm,
	these are no longer needed

	* src/lyxfunc.C: adapt to lyxrc changes

	* src/Makefile.am: remove deleted files

	* lib/Makefile.am: ditto

	* development/scons/scons_manifest.py: ditto

	* src/text3.C
	(LyXText::dispatch): reenable the kmap mechanism

	* src/trans_mgr.[Ch]
	(TransManager::setCharset): remove, no longer needed
	(TransManager::insert): remove, since it would be identical to
	insertVerbatim now
	(TransManager::insertVerbatim): rename to insert


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 16:41:02 +00:00
Uwe Stöhr
7997d53fc4 es_EmbeddedObjects: Updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17605 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 00:34:33 +00:00
Bo Peng
07cc619a4c Present to Abdel: Syntax highlighting for LaTeX Log. (I know I should have been reading windows installers :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17561 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-26 04:25:49 +00:00
Bo Peng
b990c21294 Scons: update_po should now work (missing dependency though)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 18:26:58 +00:00
Bo Peng
8ab80df229 Scons: update_po target part two: qt4_l10n and layouts_l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17501 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 02:37:26 +00:00
Uwe Stöhr
459d99ca17 EmbeddedObjects: Spanish update prepared for Ignacio to translate
(The new files will be translated too and then renamed.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 15:42:30 +00:00
Uwe Stöhr
21b9d3a466 EmbeddedObjects.lyx:
- new section about external material
- two hints concerning caption layout
The manual is now feature complete!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 03:27:19 +00:00
Uwe Stöhr
3fbb036262 2 new images for the upcoming new EmbeddedObjects version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-14 02:51:56 +00:00
Abdelrazak Younes
cb81965b1e * ControlToc:
- initialiseParams(): overload ControlCommand::initialiseParams() so that we can update the model at this point (QToc is the controller _and_ the model).
  - update(): new 
  - updateBackend(): new protected method to update the TocBackend (called for the "Update" button).

* QToc:
  - is now a QObject
  - modelReset: new Qt signal to indicate a model reset to associated dialog(s).
  - QToc(): avoid the duplicate update() call that will be done in the show command anyway.

* Dialogs.C
  - use new TocWidget in a DockView.

* TocWidget.[Ch]: renamed from QTocDialog. This striped down widget is only a widget that connects to the 'QToc' model/controller.

* DockView.h: new template class that encapsulates a given Widget inside a DockWidget and presents a Dialog::View interface.

* QTocUi.ui:
  - now is a simple Widget.
  - rearrange the buttons a bit
  - get rid of the unneeded close button.
  - modify the shortcut to "Promote" to 'r' because of a clash with "Alt-p" number (we really need real, always valid, shortcuts for all outline action!)




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17416 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 14:23:44 +00:00
Uwe Stöhr
d95a26e115 add missing clipart directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 04:03:54 +00:00
Georg Baum
0418d14704 Fix character classification functions by using qt (bugs like 3270 and 1247)
* src/support/lstrings.C
	(uppercase): Use qt instead of non working libc/home grown solution
	(lowercase): ditto
	(local_lowercase): Use qt instead of libc tolower for ucs4 chars

	* src/support/qstring_helpers.C
	(qstring_to_ucs4): Use qchar_to_ucs4 because of the assertion

	* src/support/lstrings.h: Add some documentation

	* src/support/qstring_helpers.h
	(is_utf16): New function: Tests whether an ucs4 character is also a
	valid utf16 character
	(qchar_to_ucs4): Assert on is_utf16()
	(ucs4_to_qchar): Replace old assertion with better is_utf16()

	* src/support/textutils.h
	(isLetterChar): Delete non-working implementation
	(isPrintable): Ditto
	(isPrintableNonspace): Ditto
	(isDigit):

	* src/support/textutils.C: New file, contains new implementations
	using qt of the functions in textutils.h

	* src/support/Makefile.am: Add textutils.C

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 09:03:21 +00:00
Bo Peng
070138899e Scons: fix installation of language directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17353 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 05:52:36 +00:00
Jean-Marc Lasgouttes
7dd29bb818 Move translated files to their own directory
What I did:

* move xx_foo.ext to xx/foo.ext

* update Makefile.am to make install work

* minimally update scons_manifest.py (I'd be surprised to see it
  work).

* update i18nLibFileSearch to use the new naming scheme, and keep
  temporarily some code that checks the old method.

* update image paths in .lyx files

* update name of files (examples in tutorial, for ex.) in lyx files

What is definitely broken:

* cmake (did not touch it)

* TOC files (I am not sure how the code works)

I would be surprised if nothing else was wrong. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 18:12:03 +00:00
Enrico Forestieri
8cf4fc2dd7 Was forgetting this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17176 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 22:41:39 +00:00
José Matox
76c3d964df Convert lyxaccents to unicode (most of the work comes from Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:52:07 +00:00
Uwe Stöhr
74c4cede85 rename ExtendedInsets to Embedded Objects as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 00:05:50 +00:00
Georg Baum
951e4e0a78 French translation of beamer template and minor corrections by
Jean-Pierre Chretien


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 11:03:58 +00:00
Georg Baum
f1dedb3351 Rename files to conform to LyX conventions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-29 19:59:48 +00:00
Georg Baum
feb7895965 Add machinery to output arbitrary unicode characters with LaTeX commands
read from a text file.

	* src/encoding.[Ch]

	(Encoding::latexChar): New, output a character to LaTeX
	(Encoding::validate): New, add needed preamble stuff for a character
	(Encodings::read): Read new unicodesymbols file
	(Encodings::isCombiningChar): New, is a character a combining char?

	* src/paragraph_pimpl.C
	(isEncoding): Delete, no longer needed
	(getEncoding): New, get the real encoding of a font
	(Paragraph::Pimpl::latexSurrogatePair): New, output a surrogate pair
	to LaTeX
	(Paragraph::Pimpl::simpleTeXBlanks): Use latexSurrogatePair if needed
	(Paragraph::Pimpl::simpleTeXSpecialChars): Ditto, and replace several
	hardcoded characters with a call of encoding.latexChar()
	(Paragraph::Pimpl::validate): replace several hardcoded characters
	with a call of encoding.validate()

	* src/support/debugstream.h
	(basic_debugstream::disable): New, disable the stream completely
	(basic_debugstream::enable): New, reenable the stream

	* src/lyx_main.[Ch]: Adjust to changes above

	* src/paragraph.C: Ditto

	* lib/unicodesymbols: New file with UCS4 -> LaTeX command mapping.
	It is far from complete yet, but contains most accents on latin
	characters.

	* lib/Makefile.am: add lib/unicodesymbols

	* development/scons/scons_manifest.py: ditto

	* development/tools/unicodesymbols.py: Helper script to update
	lib/unicodesymbols with new symbols


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 21:27:45 +00:00
Uwe Stöhr
60a0914d88 update image change for SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16916 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 20:42:39 +00:00
Georg Baum
87bb14103d Add two templates from the beamer package that I forgot when I put the
beamer stuff in LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16908 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 18:39:36 +00:00
Georg Baum
ba7c5463cb Remove delete files from lib/Makefile.am.
Add the xpm version of the deleted lib/clipart/buffer-export_pdf2.png as
lib/images/buffer-export_pdf2.xpm since I discovered that we did not yet
have this icon.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16902 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 09:23:38 +00:00
Bo Peng
4be2a69492 remove removed files from scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 06:26:09 +00:00
Uwe Stöhr
3b322a7ce5 fix bug 3154
http://bugzilla.lyx.org/show_bug.cgi?id=3154

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 17:45:57 +00:00
Bo Peng
db4499f4b1 Scons: initial windows nsis installer support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 06:19:49 +00:00
Abdelrazak Younes
801f807063 Display error/warning dialogs if possible.
* ExceptionMessage: new exception based message for errors and warnings.

* package.C.in:
  - replace lyxerr based errors and warning with ExceptionMessage throwing.
  - bail_out(): erased!

* os_win32.C:
  - replace lyxerr based errors and warning with ExceptionMessage throwing.
  - bail_out(): erased!

* tex2lyx.C: catch any exception from Package class.

* lyx_main.C:  catch any exception from Package class and act accordingly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-24 15:49:20 +00:00
Jürgen Spitzmüller
891a046862 * lib/images/buffer-update_pdf2.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- add missing "update pdf" icon. Not beautiful, but matches 
	   the other view/update icons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16722 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 08:18:20 +00:00
Uwe Stöhr
68e4965abb updated icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-17 01:05:22 +00:00
Michael Schmitt
bdadc8d496 * development/scons/scons_manifest.py:
* src/frontends/qt4/Makefile.dialogs:
* src/frontends/qt4/QPrefsDialog.C:
* src/frontends/qt4/QPrefsDialog.h:
* src/frontends/qt4/ui/compile_uic.sh:
* src/frontends/qt4/ui/QPrefAsciiUi.ui:
* src/frontends/qt4/ui/QPrefPlaintextUi.ui: rename QPrefAsciiUi.ui to QPrefPlaintextUi.ui; 
rename PrefAscii to PrefPlaintext

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 22:29:33 +00:00
Uwe Stöhr
3177b8e16f - remove duplicate PDFs
- correct entries in makefile.am

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 23:22:06 +00:00
Uwe Stöhr
0bfff71348 forgot this in r16687
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 21:05:26 +00:00
Michael Schmitt
9c09f34da0 * lib/*: rename Extended-Insets to ExtendedInset
* development/scons/scons_manifest.py: add es_ExtendedInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 18:17:56 +00:00
Uwe Stöhr
f41eedd7ee - new documentation
- images used in the new documentation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 16:41:42 +00:00
Georg Baum
c61296caa3 Add two files that are included by the beamer example file and that I forgot.
Found out by Jean-Pierre Chretien.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 21:08:13 +00:00
Enrico Forestieri
fc3a2761de Log:
Move OS dependent code where it belongs.

	* src/lyx_cb.C:
	Remove unused include

	* src/support/os.h
	* src/support/os_unix.C
	* src/support/os_win32.C
	* src/support/os_cygwin.C:
	Move here the code from fontutils.[Ch]

	* src/support/os_cygwin.C
	(external_path, external_path_list): don't differentiate anymore
	on Qt/X11 or Qt/Win builds.

	* src/support/environment.C
	(setEnvPath): get rid of the #ifdef for cygwin.

	* src/lyx_main.C
	(LyX::exec): addFontResources and restoreFontResources are now
	in the os namespace.

	* src/support/Makefile.am
	* src/client/Makefile.am
	* src/tex2lyx/Makefile.am
	* development/scons/scons_manifest.py:
	Updated

	* src/support/fontutils.[Ch]:
	Removed



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-11 21:22:18 +00:00
Michael Schmitt
8c85719080 * lib/ui/stdmenus.inc:
* lib/ui/stdmenus.ui: rename file in order not to confuse users
* lib/ui/stdtoolbars.inc:
* lib/ui/stdtoolbars.ui: rename file in order not to confuse users

* development/scons/scons_manifest.py: 
* lib/doc/de_Customization.lyx:
* lib/Makefile.am:
* lib/ui/classic.ui:
* lib/ui/default.ui: adjust
 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16549 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 13:42:15 +00:00
Abdelrazak Younes
b2126408cf This commit do the Model/View separation of the LyXText and Paragraph classes. The separation is mostly complete for the Paragraph class but some more transfer should occur for the LyXText class.
* ParagraphMetrics.[Ch]: new files

* TextMetrics.[Ch]: new files.

* lyxtext.h/text2.C/text3.C: some code transferred to the TextMetrics class.

* paragraph.[Ch]: all screen oriented code transfered to ParagraphMetrics class.

* BufferView:
 - text_metrics_: new TextMetrics cache private member.
 - textMetrics(): new access method.
 - parMetrics(): ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16433 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 23:54:48 +00:00
Jean-Marc Lasgouttes
ec4ff5e1a8 New textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16428 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 13:40:50 +00:00
Edwin Leuven
e3241cca0a * add Rrightarrow.xpm to scons & automake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16317 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 17:46:47 +00:00
Georg Baum
fe5c73915e Make libQtCore a support library like boost and implement encoding conversion
from/to the local 8bit encoding with it.
Only the autotools build system is updated, scons and cmake users need to
add qt4 cpp flags when compiling libsupport, and link libsupport against
libQtCore.

	* src/frontends/qt4/qt_helpers.[Ch]
	(toqstr, qchar_to_ucs4, ucs4_to_qchar, ucs4_to_qstring,
	 qstring_to_ucs4, fromqstr): Move these qstring conversion functions
	from here ...

	* src/support/qstring_helpers.[Ch] ... to these new files

	* src/support/docstring.[Ch]
	(from_local8bit): new conversion function from local 8bit encoding
	to ucs4
	(to_local8bit): new conversion function from ucs4 to local 8bit
	encoding to ucs4
	(to_local8bit_failure): exception that is thrown by to_local8bit if
	the argument cannot be converted to the local encoding

	* src/support/filename.C
	(FileName::toFilesystemEncoding): implement with the help of QFile

	* src/support/Makefile.am: Add new files, qt4 cpp flags and link
	against libQtCore

	* src/client/client.C: Convert commandline input from local encoding
	to ucs4. Convert stuff that is sent to to the server to utf8,
	because LyX interprets it as utf8 on the other end of the pipe.

	* src/lyx_main.C
	(LyX::exec): convert commandline input from local encoding to utf8
	(LyX::init): ditto
	(LyX::easyParse): ditto

	* development/scons/scons_manifest.py: Add new files

	* config/qt4.m4: Define new variables QT4_CORE_INCLUDES,
	QT4_CORE_LDFLAGS and QT4_CORE_LIB


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16257 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 20:19:46 +00:00
Georg Baum
2b6f6ed84f Add UpdateFlags.h to the build systems.
Add licence info to UpdateFlags.h.
Note to the author of UpdateFlags.h: Please fix the author information,
I don't know who wrote this file because not everybody used his own account.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16012 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-22 20:13:02 +00:00
Bo Peng
eb939a9b76 Scons: adopt Georg's solution for tex2lyx/gettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15963 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-18 03:04:42 +00:00
Georg Baum
bb8c9253e4 Add button for default layout to the toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15946 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 08:17:48 +00:00
Georg Baum
2db7521b70 Add support for the esint package
* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): handle esint and wasysym

	* src/mathed/MathMacroTable.[Ch]
	(requires_): New member: tell the feature this macro requires
	(MacroTable::insert): take new requires arg

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::asMacroData): adjust to change above

	* src/mathed/MathSupport.C
	(fontinfos): add esint10 font

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): AMS_ON -> package_on

	* src/mathed/MathMacroTable.h

	* src/mathed/MathFactory.C
	(initSymbols): read and store requires field for symbols

	* src/mathed/InsetMathSymbol.C
	(InsetMathSymbol::metrics): handle esint
	(InsetMathSymbol::takesLimits): ditto

	* src/buffer.C
	(LYX_FORMAT): update format
	(Buffer::validate): handle esint, AMS_ON -> package_on

	* src/bufferparams.C:
	(AMSTranslator): Rename to PackageTranslator
	(BufferParams::readToken): Read \use_esint
	(BufferParams::writeFile): Write \use_esint

	* src/frontends/qt4/QDocumentDialog.C: handle esint

	* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes

	* src/frontends/qt4/GuiFontLoader.C
	(symbol_fonts: Add esint10 font
	(symbolFamily): handle esint10 font
	(isChosenFont): Add comment

	* src/frontends/controllers/ControlMath.C
	(latex_varsz): Add new integral symbols

	* src/support/fontutils.C
	(win_fonts_truetype): Add esint10 font

	* src/bufferparams.h
	(enum AMS): rename to enum Package
	(use_esint): new parameter

	* src/lyxfont.[Ch]: Add esint font

	* lib/symbols: Add new integral symbols

	* lib/lyx2lyx/LyX.py
	(format_relation): Update format

	* lib/lyx2lyx/lyx_1_5.py: handle new format

	* lib/chkconfig.ltx: Test esint package

	* lib/images/math/oiintop.xpm
	* lib/images/math/sqintop.xpm
	* lib/images/math/sqint.xpm
	* lib/images/math/ointctrclockwiseop.xpm
	* lib/images/math/ointctrclockwise.xpm
	* lib/images/math/iiintop.xpm
	* lib/images/math/iintop.xpm
	* lib/images/math/sqiint.xpm
	* lib/images/math/iiint.xpm
	* lib/images/math/ointclockwiseop.xpm
	* lib/images/math/oiint.xpm
	* lib/images/math/dotsintop.xpm
	* lib/images/math/sqiintop.xpm
	* lib/images/math/ointclockwise.xpm
	* lib/images/math/iiiintop.xpm
	* lib/images/math/dotsint.xpm
	* lib/images/math/iiiint.xpm
	* lib/images/math/iint.xpm: new icons

	* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package

	* lib/doc/UserGuide.lyx: Add short documentation of integral symbols

	* lib/Makefile.am: Add new files

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00
Georg Baum
5ed606f9c5 Add a cache for converted image files. This needs to be enabled in the
preferences file with \use_converter_cache true. It is disabled by default,
and no GUI support for changing the preferences is yet implemented.

	* src/insets/insetgraphics.C
	(InsetGraphics::prepareFile): Use image file cache

	* src/insets/ExternalSupport.C
	(updateExternal): Use image file cache

	* src/exporter.C
	(Exporter::Export): Do not use image file cache

	* src/graphics/GraphicsCacheItem.C

	(CacheItem::Impl::imageConverted): Add the converted file to the
	image file cache
	(CacheItem::Impl::convertToDisplayFo): Use image file cache

	* src/converter.C
	(Converters::convert): Use image file cache if the caller allowed that

	* src/converter.h
	(Converters::convert): Adjust arguments

	* src/Makefile.am: Add new files

	* src/support/lyxlib.h
	(chmod): new function
	(copy): add mode argument

	* src/support/copy.C
	(chmod): new function
	(copy): implement mode argument

	* src/support/mkdir.C
	(lyx::support::mkdir): Add warning if permissions are ignored

	* src/lyxrc.[Ch]: Add new settings \converter_cache_maxage and
	\use_converter_cache

	* src/ConverterCache.[Ch]: New image file cache

	* src/importer.C
	(Importer::Import): Do nut use the image file cache

	* src/lyx_main.C
	(LyX::init): Initialize the image file cache

	* src/mover.[Ch]
	(Mover::do_copy): Add mode argument
	(SpecialisedMover::do_copy): ditto

	* configure.ac: Check for chmod

	* development/cmake/ConfigureChecks.cmake: ditto

	* development/cmake/config.h.cmake: ditto

	* development/scons/SConstruct: ditto

	* development/scons/scons_manifest.py: Add new files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15897 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:27:57 +00:00
Georg Baum
6008c8176e remove obsolete file lyxrc.example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15832 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 17:40:44 +00:00
Jürgen Spitzmüller
b0d4524252 * lib/images/nomencl-insert.xpm:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- a (provisional) nomencl-insert icon

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 09:08:28 +00:00
Georg Baum
8cc9180ba8 Resolve link problems of tex2lyx and client by removing the extra gettext.h
headers and converting the gettext stuff in tex2lyx and client to use
docstring.
The interface must be defined by src/gettext.h anyway, so better use that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15740 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 18:12:57 +00:00
Georg Baum
e35725d5c0 New nomenclature inset from Ugras
* src/LyXAction.C
	(LyXAction::init): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* src/insets/insetbase.C
	(build_translator): ditto

	* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): Add nomencl

	* src/insets/insetnomencl.[Ch]: new insets InsetNomencl and
	InsetPrintNomencl

	* src/insets/insetbase.h: Add NOMENCL_CODE and NOMENCL_PRINT_CODE

	* src/insets/insetcommandparams.C
	(InsetCommandParams::findInfo): Add nomenclature and printnomenclature
	(InsetCommandParams::getCommand): Extend end of command protection to
	cover commands with only optional arguments like printnomenclature

	* src/insets/insetert.C
	(InsetERT::getStatus): disable LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT

	* src/insets/Makefile.am: Add new files
	* src/frontends/qt4/Makefile.dialogs: ditto
	* src/frontends/qt4/Makefile.am: ditto

	* src/factory.C
	(createInset): Handle InsetNomencl and InsetPrintNomencl
	(readInset): ditto

	* src/buffer.C
	(LYX_FORMAT): increase

	* src/lyxfunc.C
	(LyXFunc::dispatch): Handle nomenclature

	* src/LaTeX.C
	(LaTeX::deleteFilesOnError): Delete .nls file
	(LaTeX::run): Run makeindex for nomenclature
	(LaTeX::runMakeIndex): handle nomenclature options
	(LaTeX::deplog): Recognize nomenclature file

	* src/frontends/qt4/QNomenclDialog.[Ch]: new
	* src/frontends/qt4/QNomencl.[Ch]: ditto
	* src/frontends/qt4/ui/QNomenclUi.ui: ditto

	* src/frontends/qt4/Dialogs.C
	(Dialogs::build): handle nomenclature dialog

	* src/text3.C
	(LyXText::dispatch): Handle LFUN_NOMENCL_INSERT and
	LFUN_NOMENCL_PRINT
	(LyXText::getStatus): Ditto

	* src/lfuns.h
	(kb_action): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT

	* lib/lyx2lyx/LyX.py
	(format_relation): Update 1.5 format range

	* lib/lyx2lyx/lyx_1_5.py
	(revert_nomenclature): New
	(revert_printnomenclature): ditto

	* lib/chkconfig.ltx: Test for nomencl package

	* lib/doc/LaTeXConfig.lyx.in: Add nomencl package

	* lib/doc/Extended.lyx: Add documentation for nomencl

	* lib/ui/stdtoolbars.ui
	(Toolbar "extra" "Extra"): Add nomencl-insert

	* lib/ui/classic.ui: Add nomencl-insert and nomencl-print
	* lib/ui/stdmenus.ui: ditto

	* development/scons/scons_manifest.py: Add new files

	* development/FORMAT: Describe new format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 17:55:36 +00:00
Jürgen Spitzmüller
4015732fb1 * lib/images/*.xpm:
- improved icons for change tracking
- new icon for note-next

* development/scons/scons_manifest.py: 
* lib/Makefile.am:
- install new icons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15729 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 11:06:43 +00:00
Michael Schmitt
0c7610b467 * lib/images/*.xpm: add icons for the "review" toolbar
* development/scons/scons_manifest.py: install new icons


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15719 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 22:03:11 +00:00
Bo Peng
ac1dcef5d0 Scons: getext/unicode support for tex2lyx (ignore src/tex2lyx/gettext.* and use src/gettext.* and src/messages.*)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15716 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 18:49:56 +00:00
Georg Baum
6af710094e Add beamer layout file and examople, fresh from the beamer CVS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15647 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 20:56:42 +00:00
Abdelrazak Younes
73ed0b5203 * Painter.h:
* Painter: new ctor that sets drawing_enabled_ to true.
  * setDrawingEnabled(), isDrawingEnabled(): new methods.

* QLPainter.C: only draw if drawing is enabled.

* nullpainter.h: deleted.

* rawpainter.C::paintPar(): only draw if we are inside the Paragraph.

* InsetTabular::draw(): use new Painter method instead of a NullPainter.

* InsetMathNest::drawSelection(): ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15613 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 10:09:59 +00:00
Abdelrazak Younes
ee319c6e83 * guiapi.[Ch]: deleted.
Angus L. explanation: Lars introduced it years ago when he got exited by the idea 
of dll-importing the frontend library, but the idea never came to anything 
concrete. The file can always be resurrected later on; it's meant to be a C-
language wrapper to our C++ frontend library calls.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15611 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 08:13:02 +00:00
Abdelrazak Younes
54bdecdb48 remove paperHeight() and paperWidth() in Painter and inherited classes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15589 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-28 09:36:22 +00:00
Bo Peng
706f828230 Scons: mocing GuiApplication.C and GuiImplementation.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15518 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 19:47:40 +00:00
Abdelrazak Younes
f4857dab04 new LFUN_WINDOW_CLOSE
* LyXFunc:
  - dispatch(): transfer assertion on lyx_view_ to each LFUN on a case by case basis.
  - dispatch(): new LFUN_WINDOW_CLOSE
  - getStatus(): special treatment for LFUN_LYX_QUIT

* LyX:
  - views_, addLyXView(): deleted
  - quit(): call saveGeometry() on each LyXView before exiting.

* GuiApplication:
  - is now a QObject.
  - quitLyX(): new Qt slot for lastWindowClosed signal.

* Gui.h:
  - destroyView(), destroyWorkArea(): deleted
  - viewIds(): new method

* GuiImplementation:
  - implement above changes.
  - GuiImplementation is now a QObject
  - cleanupViews(): new private slot.
  - buildViewIds(): new helper method
  - views_ and work_areas_ are now maps of raw pointers instead of schared_ptr.

* LyXView
  - now stores its id.
  - dispatch(): special treatment for LFUN_WINDOW_CLOSE.
  - workAreaIds(): new method.
  - close(): new pure virtual method.
  - saveGeometry(): new pure virtual method.

* GuiView:
  - implements above changes.
  - GuiView(): set WA_DeleteOnClose and Qt::WA_QuitOnClose to let Qt manage the destruction on close().
  - closeEvent(): session stuff transfered to saveGeometry()

* WorkArea
  - now store its id.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15514 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 16:29:24 +00:00
Michael Schmitt
aae5bada25 * scons/scons_manifest.py: remove MathMLStream.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15476 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 14:16:04 +00:00
André Pönitz
a63cddf51c remove qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:35:47 +00:00
André Pönitz
c75c468e44 some scripts I fouind usefule when working on LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15423 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 07:05:52 +00:00
Abdelrazak Younes
c7e365365e This commit saves the need to check for lyx::use_gui in a number of places.
* lyx_main.h: define "extern bool lyx::use_gui" here.

* NoGuiFontMetrics.h: new class for command-line LyX

* NoGuiFontLoader.h: new class for command-line LyX

* Application.C:
  - theFontMetrics(): returns the above dummy FontMetrics when use_gui is false.
  - theFontLoader(): returns the above dummy FontLoader when use_gui is false.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15339 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-15 21:47:29 +00:00
Abdelrazak Younes
83ffa28e77 This commit is purely mechanical and get rid of lyx_gui.[Ch].
Only qt4 is guaranted to compile and work. I did not remove gtk and qt3 lyx_gui.C because they might be needed for reference to complete the header declarations in "GuiApplication.C".

 - lyx_gui::use_gui transfered to lyx::use_gui in lyx_main.C
 - all remaining lyx_gui functions transfered to Application and corresponding GuiApplication implementations. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15306 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 14:10:13 +00:00
Georg Baum
34b7650cbb Introduce wide streams. This fixes the remaining problems of plain text
export (e.g. the ToC) and the navigate menu.

	* src/insets/insetbase.h
	(InsetBase::plaintext): output to a docstream
	(InsetBase::textString): ditto

	* src/mathed/TextPainter.h
	(TextPainter::show): ditto

	* src/support/docstream.[Ch] New file and string streams for
	docstring. The file streams convert to UTF8 on the fly.

	* many more files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15301 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-11 19:40:50 +00:00
Georg Baum
94c10102c0 Compile fix. This was easy, since the code is alsmost identical to qt4,
but I am not going to do gtk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15271 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-08 07:39:02 +00:00
Abdelrazak Younes
00edcc582f This commit is a big rework of the FontLoader/FontMetrics interaction. Only Qt4 for now, I would be grateful is somebody steps up for qt3 and gtk.
Basically, I replaced all methods in the font_metrics namespace by a proper virtual interface FontMetrics. The FontLoader is _the_ container for FontMetrics.

This patch should also bring some optimizations in a number of place in the code. This is because we do not need any more to search for the LyXFont at each font_metrics call. In effect, the speed advantage is not as sensible and this is a bit deceiving considering that this was my primary motivation behind the patch. But I like the patch anyway as it cleans up the relation and interfacing between fonts, metrics and frontends.

* frontends/FontMetrics.h: new virtual interface. Renamed from font_metrics.h

* qt4/GuiFontMetrics: corresponding qt4 implememtation. Renamed from qfont_metrics.C. The smallCaps particular case treatment has been transfered here as well as the width cache for MacOSX and Windows.

* qt4/QLPainter.C: the smallCapsText has been reworked to return the width of the drawn text.C

all other files: replace font_metric helper function call with corresponding FontMetrics method calls.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15265 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-07 16:15:06 +00:00
Abdelrazak Younes
205096733a This commit introduces the FontLoader interface class. In the future, I intend to extend it with a proper encapsulation of font metrics.
* frontends/FontLoader.h: new interface class.
* frontends/Application.h: new FontLoader() pure virtual method
* frontends/lyx_gui: update_fonts() and font_available() methods deleted

* [qt3/qt4/gtk]/GuiApplication: implement the new interface

* qt4/GuiFontLoader:
  - renamed from FontLoader
  - now derives from FontLoader
  - now in the lyx::frontend namespace

* qt3/qfont_loader
  - now derives from FontLoader

* gtk/xftFontLoader
  - now derives from FontLoader



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15220 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 16:17:32 +00:00
Abdelrazak Younes
63ad5449fb This commit creates a new "frontends/lyx_gui.C" that contains all functions that are not frontend dependent any more. It also creates 3 new pure virtual methods in Application:
virtual std::string const romanFontName() = 0;
virtual std::string const sansFontName() = 0;
virtual std::string const typewriterFontName() = 0;

My goal is to transfer all of "frontends/*/lyx_gui.C" to "frontends/lyx_gui.C". When this is done, "frontends/lyx_gui.C" can go altogether as its functions will then be replaced with direct calls to theApp->XXX().

* frontends/lyx_gui.C: new file with code transfered from [qt3,qt4,gtk]/lyx_gui.C

* frontends/Application: 3 new font related pure virtual methods

* [qt3,qt4,gtk]/GuiApplication: implement the above method with code transfered from lyx_gui.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 10:34:10 +00:00
Abdelrazak Younes
d1e7c7e0ab Integrate Application_pimpl into Application.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15206 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 08:43:32 +00:00
Abdelrazak Younes
6a947f349b This commit moves system font initialization and restoration to new support/fontutils.[Ch].
These font related functions were identical for qt3 and qt4. They are not Qt dependent at all and could also apply to an eventual Win32 or MacOSX gtk port.

Jen-Marc says: It would be nice to convince fontconfig to do the same for linux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15196 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-02 10:48:03 +00:00
Enrico Forestieri
84171dea11 Update scons_manifest.py for changed names in src/mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15192 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-01 10:38:43 +00:00
Abdelrazak Younes
ca5411f913 This commit introduces Application_pimpl and cleanup the header includes of the affected .C files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15182 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-29 22:06:28 +00:00
Bo Peng
a8354d3db7 Scons: get version info from configure.ac, add fonts and postinstall script for cygwin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15158 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-26 19:37:09 +00:00
Georg Baum
ebaaff58fa make it compile again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15131 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 20:48:42 +00:00
Georg Baum
c2ffa71fa7 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15129 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 18:45:22 +00:00
Jean-Marc Lasgouttes
d6fb2e14a1 new Hungarian translation of the Tuturial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15040 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 12:18:47 +00:00
Abdelrazak Younes
bcb71b1fbe Merge BufferView and BufferView_pimpl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15013 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 10:08:51 +00:00
Georg Baum
69c447720a Add phantom icons from Uwe and me (last part of bug 1473)
* src/frontends/controllers/ControlMath.C
	(latex_misc): Add phnatom, vphantom and hphantom

	* lib/images/math/hphantom.xpm: new
	* lib/images/math/phantom.xpm: new
	* lib/images/math/vphantom.xpm: new

	* lib/Makefile.am: add new files
	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15009 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 10:58:58 +00:00
Georg Baum
dd5feb0fb5 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14926 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 09:58:47 +00:00
Michael Schmitt
10ffa5c960 fix file list for the updated boost library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14912 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-06 11:18:57 +00:00
Georg Baum
1fc0c01877 convert lfun arguments to docstring
* src/support/docstring.[Ch]
	(from_ascii): new conversion function
	(from_utf8): new conversion function
	(to_utf8): new conversion function
	(operator==) new, compare docstring and ASCII C string
	(operator!=) new, compare docstring and ASCII C string

	* src/support/Makefile.am: add new file docstring.C

	* development/scons/scons_manifest.py: ditto

	* src/funcrequest.[Ch]
	(argument): change name to argument_ and type to docstring,
	add an accessor
	(FuncRequest): Add two new constructors taking a docstring argument

	* all other files: adjust to the FuncRequest changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14861 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-01 15:41:38 +00:00
Bo Peng
14de7887d8 Scons: fix scons_manifest.py for flatplacement.* for qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14844 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-26 18:45:19 +00:00
Abdelrazak Younes
ff9094ff4a add FloatPlacementUi.ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14843 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-26 13:42:27 +00:00
Edwin Leuven
e28114779b minimal effort implementation of:
* float widget as a .ui file
* floatplacement.[Ch] -> FloatPlacement.[Ch] 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14838 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-25 13:40:01 +00:00
Michael Schmitt
2a71306d77 drop linuxdoc support (part 4)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14821 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-23 11:16:08 +00:00
Abdelrazak Younes
c29afd391c generate_enconding_info.py renamed to generate_encoding_info.py
As a python advocate Jose you could do better ;-)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14682 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 21:19:03 +00:00
Abdelrazak Younes
7f3df9dfcd add docstring.h
reorder alphabetically


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14663 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 07:34:43 +00:00
Bo Peng
5687075007 Scons: fix a uic bug, add unicode.hC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14662 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 00:33:39 +00:00
Bo Peng
c8e38f5e05 Scons: stop globbing filenames, use explicit file list instead.
* INSTALL.scons: stop lyx1.4.x/qt2 support
	* development/scons/scons_manifest.py: list of all filenames
	* development/scons/SConstruct: use explicit file list
	* development/scons/scons_utils.py: remove globFiles


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14634 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 04:54:25 +00:00