Commit Graph

418 Commits

Author SHA1 Message Date
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
Bo Peng
c20795773e Fix previous commit. I really do not understand why windows FileName() can not have backslash (assertion at line 49 of support/FileName.cpp)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 05:05:28 +00:00
Bo Peng
74175c764b Forgot this: windows backslash needs special treatment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 04:18:12 +00:00
Bo Peng
0abd895de0 Cleanup msvs_project, make sure lyx can start in place in debug mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 04:04:04 +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
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
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