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
José Matox
b3d5000a64
Increment file format due to the embedded feature
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 09:46:14 +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
André Pönitz
c16a1874e2
add minizp to qmake
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 21:41:53 +00:00
André Pönitz
055c95cc19
more cmake cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19873 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 20:47:42 +00:00
André Pönitz
83c9b040e7
cmake cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19871 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 19:54:42 +00:00
André Pönitz
6040a5faf6
cmake cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19869 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 18:30:02 +00:00
André Pönitz
b839dd33ae
some attempt at cmake beautification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 17:07: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
Bo Peng
a398211e03
fix scons for the removal of Package.cpp.in
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 02:46:09 +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
cb25c9980e
scons: fix a bug in installer target, introduced by the cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 16:29:04 +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
db3439ce77
Scons cleanup 7: remove saved C compiler, remove blank lines and obsolete comments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 04:00:14 +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
Bo Peng
8786658cca
Scons cleanup 5: config.h typo, do not have to make builddir by myself
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:30:58 +00:00
Bo Peng
d44f8f84ad
Scons cleanup 4: stop forcing the use of c++ compiler because of the .C ==> .cpp conversion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19820 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:28:08 +00:00
Bo Peng
640125e0ed
Scons cleanup 3: stop judging build_xxx for scons, let scons do the job.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19819 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 03:11:34 +00:00
Bo Peng
6f70bfb453
Scons cleanup 2: remove rebuild option
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 02:53:04 +00:00
Bo Peng
9a9019956f
Scons cleanup 1: use BUIlDDIR/src instead of BUILDDIR/common
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19817 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 02:49:14 +00:00
Peter Kümmel
091b334152
fix cmake build for tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 08:51:47 +00:00
Uwe Stöhr
61dc386b65
installer: fix the installation of JabRef
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19797 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-25 19:56:18 +00:00
André Pönitz
214f1de1b8
do not check for Standard C++ features anymore.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19762 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 21:18:53 +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
04e741ac94
allow the use of snapshot version os scons, improve efficiency
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 03:03:54 +00:00
André Pönitz
87a901784c
adjust tex2lyx cmake build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 23:33:14 +00:00
Bo Peng
6973591797
fix a wrong scons fix due to the removal of /TP option
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19708 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 22:14:30 +00:00
Bo Peng
bb0f26bc05
SCons: msvc gives different result for this ICONV_CONST test so I need to change the test to .cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19701 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 21:21:39 +00:00
Peter Kümmel
281f44e295
minizip fixes for msvc and cmake
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19700 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 21:09:45 +00:00
Bo Peng
b38d22d2e7
SCons: msvc does not need this /TP option any more after we rename .C => .cpp. Also fix a CXX_GLOBAL_CSTD bug (not quite sure)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19693 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 16:46:05 +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
Uwe Stöhr
f214fb7def
installer: sync with branch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19674 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 00:01:08 +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
Martin Vermeer
3c504502bf
Further inset configurability, moving charstyle stuff to collapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19640 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 23:26:07 +00:00
Peter Kümmel
f79b510054
Building debug only is so much faster. Fastest way to check if LyX compiles with cmake
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 18:54:01 +00:00
Peter Kümmel
64b22da4c7
forgot to enable mergsvn statusing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 18:48:23 +00:00
Peter Kümmel
f137d5bdad
don't pollute the namespace with Qt macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19630 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 12:45:11 +00:00
Peter Kümmel
83d0919c21
add batch file to completely rebuild a release version
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19629 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 12:35:02 +00:00
Peter Kümmel
329d8d1332
update to new version.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 12:09:08 +00:00
Martin Vermeer
35eef0d67b
forgot this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19623 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 15:58:38 +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