Commit Graph

1046 Commits

Author SHA1 Message Date
André Pönitz
85a045e4ae rename Code_rules into 'coding'. Closer to our own rules...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20603 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-30 07:49:26 +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
André Pönitz
581b67b26e move ChangeLogs to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
Richard Heck
0787ade6c0 This is the first part of a cleanup of how we handle the InsetCommand hierarchy. This part starts to disentangle the type of the inset from the command that a single instance of the inset represents. This involves two sorts of changes:
(i) The file format is changed, so that command insets are represented as:
    \begin_inset CommandInset insetype
    LatexCommand command
    ...
    \end_inset
This involves some lyx2lyx and changes to the readInset() routine in factory.cpp
(ii) The InsetCommand and InsetCommandParams classes also have to be changed, as the command name was used in these classes for various purposes for which the inset type ought really to be used.
Further clean-up to come.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 18:24:18 +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
Jürgen Spitzmüller
0d344fa0fe * README:
* RELEASE-NOTES:
* UPGRADING:
* NEWS:
* development/lyx.rpm.README:
	- updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20487 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 11:05:05 +00:00
Uwe Stöhr
b7d0510502 Fileformat increased to 287: support for optional arguments of package wrapfig that is used for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 13:43:58 +00:00
Uwe Stöhr
9966b45cf4 FORMAT: add missing email addresses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20455 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 18:58:18 +00:00
Richard Heck
c6f73677bc Missing update to format file for 285.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20450 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 16:22:40 +00:00
Uwe Stöhr
011459ce46 - increase fileformat to 286: this has been forgotten in Pavel's PDF-support patch
(besides this, note that the fileformat change to 285 is not yet documented in FORMAT)

- lyx2lyx/lyx_1_6.py: fix routine to revert the PDF-support stuff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20448 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 12:39:31 +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
Jean-Marc Lasgouttes
fb82e23a44 use mkdir -p directly since (1) we know darwin supports it and (2) we do not know whether to use $(mkdir_p) (automake 1.10) or $(MKDIR_P) (automake 1.9) (bug 4216)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 10:30:25 +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
17112f655d Helge's wrapfig patch:
- Format incremented to 284
- LaTeX-package wrapfig is now used instead of flotflt for wrap floats (this allows us to implement now also a table wrap float)

(the optional overhang argument of wrapfig will be implemented later)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 23:47:22 +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
Martin Vermeer
2e5355e4c2 Convert CharStyle to Flex also in file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 13:01:29 +00:00
Abdelrazak Younes
9a8fd53e8f CMake: Supress regeneration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 09:18:40 +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
Peter Kümmel
b24aa27003 fix cmake file for minizip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20049 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 19:26:57 +00:00
Peter Kümmel
9924c11950 update cmake build system
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20047 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 18:41:37 +00:00
Peter Kümmel
480981fdcd declare specialisations, needed by the merge build. add cpp minizip file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20045 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 18:39:13 +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
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
André Pönitz
6b61dd28e4 --with-qmake: move special Package.cpp handling from src/src.pro to support/support.pro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19613 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 19:05:42 +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
André Pönitz
c52c82f0cd add Biblio.{cpp,h}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19588 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-15 10:12:36 +00:00
Uwe Stöhr
856489ffde installer: forgot changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19576 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 22:55:22 +00:00
Uwe Stöhr
88c869c928 installer: support for the new Portuguese translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19570 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 22:32:02 +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
d53be50ec1 add --with-qmake options to ./configure. using it overwrites the automake generated Makefiles with qmake generated ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19546 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 08:03:23 +00:00
André Pönitz
8964ea9140 prepare ground for a hybrid autoconf/qmake build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19542 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 05:30:05 +00:00
Bo Peng
9f77f2a39a fix scons, telling scons how to moc files is still needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19541 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 05:02:50 +00:00
Bo Peng
60d63985b7 fix scons for Andre's LYX_DATE changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19508 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 15:46:33 +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