Commit Graph

894 Commits

Author SHA1 Message Date
Bo Peng
3121dd4269 update po files for lib/language and InsetListings changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18292 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 19:43:39 +00:00
Bo Peng
d544eef7c3 po/lyx_po.py: fix handling of certain langauges lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 19:38:12 +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
Michael Schmitt
66e8215289 * po/*.po: fix one more message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:34:17 +00:00
Michael Schmitt
a856168598 * po/de.po: update German translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18150 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:32:26 +00:00
Michael Schmitt
84b9666d13 * po/*.po: fix two messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18148 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:11:03 +00:00
Michael Schmitt
f0a893bf64 * po/*.po:
* po/POTFILES.in: another giant po files update;
	hopefully, the messages, the source files, and the order, in which
	the source files are processed, will stay stable for a few days...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 09:28:19 +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
Michael Schmitt
30d8623924 * po/*.po:
* po/POTFILES.in: remerge po files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18116 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 12:12:56 +00:00
Michael Schmitt
03951b16e6 * po/LINGUAS: add ja.po
* po/ja.po: Japanese translation by Koji Yokota


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18113 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 11:39:30 +00:00
Jean-Marc Lasgouttes
51f00aeebf Hebrew update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18090 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 15:15:48 +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
Bo Peng
153c9b0461 Rename version.C.in to version.cpp.in, and Package.C.in to package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 15:05:08 +00:00
Jean-Marc Lasgouttes
8705243e1d update POTFILES.in again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18062 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 15:39:56 +00:00
Jean-Marc Lasgouttes
a918cc2543 fix generation of POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18055 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:01:46 +00:00
José Matox
f49ae7fcee Update POTFILES.in after all the file rename is over (?) ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18051 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 21:34:00 +00:00
Bo Peng
a4e546d7ec Update po files, the last (?) step of this file renaming spree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18027 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:26:08 +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
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
Michael Schmitt
338a37bdcf * po/*.po: remerge after file renaming; add missing labels from the math panel toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18006 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 21:12:07 +00:00
Michael Schmitt
ad31649656 * po/de.po: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18005 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 21:02:04 +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
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
f0e850df67 fix po/POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17995 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:55:01 +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
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
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
Michael Schmitt
77a78a300f * po/de.po: the remaining donkey work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17929 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 19:56:47 +00:00
Michael Schmitt
0429e1f8a0 po/de.po: more donkey work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17927 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 19:14:42 +00:00
Bo Peng
ee9782c624 po/lyx_pot.py: handles PopupMenu in lib/ui/* ("Math Spacing" etc are translated now)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 21:27:28 +00:00
Michael Schmitt
1d992d1661 * po/de.po: more donkey work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17910 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 16:51:41 +00:00
Michael Schmitt
4b24ab6437 * po/de.po: more updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17909 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 11:22:09 +00:00
Michael Schmitt
b10bc095ea * po/*.po: remerge again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17906 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 09:32:54 +00:00
Michael Schmitt
516b4d9887 * po/lyx_pot.py: do not replace \\ by \\\\
this fixes the math panel toolbar problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 09:26:14 +00:00
Michael Schmitt
a0b235fff6 * po/*.po: remerge again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-22 09:14:45 +00:00
Michael Schmitt
4eb04fdbc1 * po/de.po: some updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 15:48:36 +00:00
Michael Schmitt
6db9fbef1e * po/*.po: remerge again (3 new messages)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17891 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 14:48:59 +00:00
Michael Schmitt
0544a0e390 * po/gl.po: set eol-style to native
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17890 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 14:44:52 +00:00
José Matox
4cf8763eaf New po remerge for beta 2 release (now for real).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17881 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 10:05:12 +00:00
José Matox
353006d5ea Update translation for Czech from Pavel Sanda and update POTFILES.in due to changes in math toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17877 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 07:25:05 +00:00
José Matox
46c0346274 Prepare for beta 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 19:04:14 +00:00
Michael Schmitt
3f380081e0 * src/frontends/qt4/ui/QPrefConvertersUi.ui: add missing ':' in label
* po/de.po: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:36:12 +00:00
Michael Schmitt
1fc3fd1da7 po/de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:24:14 +00:00
Michael Schmitt
0edbcbd60b * po/de.po: some updates (more to come)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 20:28:03 +00:00
Michael Schmitt
b11c44d19c * po/*.po: remerge after Uwe's g-brief2.layout fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 16:11:15 +00:00
Michael Schmitt
d738448c2d po/lyx_pot.py: relativePath(): replace all \ by / such that we get the
same comments on Windows and *nix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17820 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 16:05:23 +00:00