Commit Graph

760 Commits

Author SHA1 Message Date
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
Jean-Marc Lasgouttes
1bb709af80 add instructions for Xcode on mac (from Stefan Schimanski)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18242 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 13:36:20 +00:00
Uwe Stöhr
539bb94e77 es_EmbeddedObjects: Updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18239 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 00:13:37 +00:00
Uwe Stöhr
f02fb2f7fd installer: move all Aspell parts to Aspell.nsh
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18231 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 00:24:52 +00:00
Uwe Stöhr
01a780bd89 installer:
- using Joost's patched pdfopen/pdfclose programs as these now also work for Acrobat 8 using the latest version
-> Could get rid of ugly hack that was only used for Acrobat 8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18218 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 01:19:52 +00:00
Uwe Stöhr
80b94c6bf5 Georg's patch for bug 3043:
Introduces new encodings for the CJK-languages.
The CJK-languages can now be selected from LyX's menu.
For remaining small problems, see the thread "Help needed for bug 3043" on the devel-list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 20:26:02 +00:00
Uwe Stöhr
0cd6cd6dc1 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18212 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:47:59 +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
Jürgen Spitzmüller
ced73c33e6 * lib/encodings:
- add new encoding utf8-plain for the sake of XeTeX users (bug 3526)
* src/BufferParams.cpp:
	- implement new encoding (skip inputenc)
	- fix logic error with thailatex

* src/Buffer.cpp:
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.pyx:
* development/FORMAT:
	- format increment to 267
	- reset encoding to utf8 on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 12:27:00 +00:00
Christian Ridderström
5221ba70b0 Renamed Changelog.txt to ChangeLog.txt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 08:02:52 +00:00
Enrico Forestieri
1f3bec86bd Last(?) missing rename: version.C -> version.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 00:47:24 +00:00
Uwe Stöhr
5db1570e60 EmbeddedObjects manual: add note for caption widths in longtables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18193 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 23:30:44 +00:00
Uwe Stöhr
6aa8af84e5 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18192 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 21:40:49 +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
43b9811909 installer: get rid of all NSIS compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18181 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 23:06:01 +00:00
Uwe Stöhr
8394a500b7 installer:
- more initialization work for next version
- reflect latest SVN commits
- fix bug, see changelog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18180 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 22:13:27 +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
Peter Kümmel
3c4cfcbbdd cmake: initial install support, only copying files is working
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18176 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 20:59:48 +00:00
Peter Kümmel
9e8e457428 cmake: don't rebuild merges files on each cmake run, force rebuild by -Dmerge_rebuild=1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 20:47:47 +00:00
Uwe Stöhr
4ada8f7c40 Installer:
- initialize for next release
- small bugfix
- reflect cv.xxx removal

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18173 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 19:20:12 +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
Uwe Stöhr
9cf7d2e636 installer:
- fix to Update Installer
- move InstallerStructure graphics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 22:53:06 +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
59e041943e installer: updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 18:21:56 +00:00
Christian Ridderström
d80f36a329 Changed comment character from ';' to '#*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18156 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:55:54 +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
Uwe Stöhr
cc430f0137 update installer structure graphic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18153 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 14:27:51 +00:00
Uwe Stöhr
09cd4da93f more installer infrastructure changes:
- hide LyX's console window
- update source code Readmes
- get rid of abi_util_fileassoc.nsh
- small uninstaller cleanup
- fix all known Update installer bugs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18152 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 14:21:21 +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
Uwe Stöhr
fb8141c5be also move the images for the CV-class examples
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18137 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:10:21 +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
Uwe Stöhr
caaba0361e some more installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18134 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:56:57 +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
Peter Kümmel
2203d776ca cmake: Wasn't there a other compiler than msvc? :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18126 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 17:41:21 +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
Michael Schmitt
6c1388bb48 * development/scons/SConstruct:
* po/Makevar: handle messages that are to be translated into
	the buffer's language


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18124 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 17:00:45 +00:00
Bo Peng
5eea42b9eb Scons: fix a bug in scons_utils.py that leads to duplicate entries in POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18123 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 16:50:24 +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
Bo Peng
aa3b2eccf5 Scons: new update_manifest target.
When you run 'scons update_manifest', it tells you which files are missing
and which files are not in the source tree. It also generates a 
scons_manifest.py.new file with all the missing files added to 
XXX_extra_files. It will *not* change other sections of existing
manifest.py



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18121 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 16:19:49 +00:00
Peter Kümmel
9a38825fed cmake: tex2lyx fix, don't include regular font.h code -> define the include guard macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18115 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 12:07:05 +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
Abdelrazak Younes
f98f0d4f73 Fix CMake for tex2lyx following renaming activities.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18109 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 09:44:27 +00:00
Bo Peng
912c73fc9f Always use relative path in POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18108 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 03:43:28 +00:00