Bernhard Roider
1a77c867a2
CmdDef.cpp/h: A class that manages command definitions. The definitions are
...
by default read from lib/commands/default.def
A .def file allows to define a command with
\define "Name" "lfun"
where Name is the name of the new command and lfun is the code
to be executed.
\def_file "FileName"
allows to include another .def file.
The implementation of CmdDef is similar to KeyMap, i.e. there is
one instance created in the LyX.cpp that reads the .def file, holds
a list containing all definitions, and supplies access methods.
LFUN_CALL: The new lfun is used to execute a command definition, e.g.
call Name
If a toolbar item has the associated action "call Name" then the image
lib/images/commands/Name.png is used for the button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 23:27:03 +00:00
Bo Peng
db997edc21
Fix scons and src/FontList.cpp for the addition of FontList.h|cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:23:11 +00:00
Bo Peng
a5031475be
Scons: fix the handling of layout module files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 18:42:07 +00:00
Bo Peng
0780a505eb
PrefShortcuts: add a simple shortcut dialog (does nothing now), adjust prefShortcuts panel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21037 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 16:47:31 +00:00
André Pönitz
dd6ae83a73
revert 21014
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:40:20 +00:00
André Pönitz
88dd04083f
adjust
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21015 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-17 19:17:23 +00:00
Bo Peng
b5538c32aa
Separate PrefShortcuts from PrefUi, in preparation for a shortcuts configuration panel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 14:41:46 +00:00
Uwe Stöhr
fd912b1bab
add Japanese layout files, provided by Yokata-san
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20965 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 11:09:26 +00:00
Uwe Stöhr
7075eaadef
The huge URL patch:
...
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)
Only missing thing is the lyx2lyx conversion routine - this will be done by Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Abdelrazak Younes
3fced79210
Adjust scons to InsetCode.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20937 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 09:05:46 +00:00
Bo Peng
92ba4103e2
add Shortcuts.lyx to Makefile.am and scons_manifest.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20914 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 16:47:57 +00:00
Bo Peng
8d9893ad50
InsetInfo: Move LaTeXConfig.lyx.in to LaTeXConfig.lyx and stop processing this file in configure.py (and chkconfig.ltx.
...
* development/scons/scons_manifest.py: build system changes
* lib/doc/Makefile.am
* lib/doc/LaTeXConfig.lyx.in: rename to
* lib/doc/LaTeXConfig.lyx: this one.
* lib/chkconfig.ltx: stop processing sed file and LaTeXConfig.lyx.in
* lib/configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20910 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:43:44 +00:00
Bo Peng
62c98f2ffc
InsetInfo: add InsetInfo (core)
...
* src/insets/Inset.cpp: add InsetInfo
* src/insets/Inset.h
* src/insets/InsetInfo.cpp
* src/insets/InsetInfo.h
* src/LyXAction.cpp: add LFUN_INFO_INSERT
* src/lfuns.h
* src/BufferView.cpp:
* src/factory.cpp
* src/Text3.cpp: insert InsetInfo with selected text
* development/scons/scons_manifest.py: build tools update
* src/Makefile.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:52:00 +00:00
Uwe Stöhr
ded6db3e0b
update SCons
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:17:32 +00:00
André Pönitz
72344cfbe6
delete controllers dir
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 21:38:06 +00:00
Uwe Stöhr
2f67078f8c
scons_manifest.py: update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 20:41:52 +00:00
Bo Peng
c0fb3ecae2
Fix scons and a file inclusion problem in ControlCommand.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:18:21 +00:00
Uwe Stöhr
e9d2d9b9fb
update SCons again (for the new esint font)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20795 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 17:35:11 +00:00
Uwe Stöhr
6c399b425e
update SCons according to André's current controller merge state
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 17:24:34 +00:00
Jürgen Spitzmüller
7341e94905
* lib/doc/Makefile.am:
...
* development/scons/scons_manifest.py:
- add Spanish UserGuide.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20767 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 06:52:07 +00:00
Bo Peng
f3555064fc
fix scons for the removal of ControlRef.h|cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20758 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 19:44:39 +00:00
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
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