Commit Graph

176 Commits

Author SHA1 Message Date
Peter Kümmel
e6bb7dc281 cmake: fix indentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21108 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 22:23:19 +00:00
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
Peter Kümmel
7346ca40a1 cmake: update version info. Is there a build system independent way?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 09:34:19 +00:00
Peter Kümmel
143dfdc9d3 cmake: fix broken pch support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21077 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 09:32:35 +00:00
Peter Kümmel
04ba7e1bb2 rcc: use -name option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 18:45:09 +00:00
Enrico Forestieri
026013e1eb Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21065 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 15:16:40 +00:00
Peter Kümmel
0f939f0a79 add qrc file to cmake build process
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21045 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 19:35:38 +00:00
Edwin Leuven
3442a6fba7 more cmake stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 15:17:02 +00:00
Edwin Leuven
2d03368a13 link to boost stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 09:41:11 +00:00
Abdelrazak Younes
2ef6f885d4 adjust CMake to controllers removal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 07:40:16 +00:00
Abdelrazak Younes
2e70b42c18 adjust CMake to controllers removal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 07:12:58 +00:00
Edwin Leuven
b1b29e4273 rename config.C.cmake to config.cpp.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20814 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 11:10:45 +00:00
André Pönitz
e7d203167a Change some .C -> .cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20789 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 16:23:02 +00:00
André Pönitz
4ad8feb462 fix compilation on Mac, patch from Stefan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20788 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 16:06:03 +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
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
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
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
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
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
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
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
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
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
André Pönitz
848c89564f remove lyxrc dependence from support/*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 22:37:09 +00:00
André Pönitz
1452e0d285 revert accidental change in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19400 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 15:09:34 +00:00
André Pönitz
aa82b4dd3e we desparately need a fourth buildsystem. so let's start one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 14:56:41 +00:00
Jürgen Spitzmüller
c3d9485c5a * configure.ac:
* development/cmake/config.h.cmake:
* development/scons/SConstruct:
	- fix casing of __FreeBSD__ macro, also check for __FreeBSD_kernel__
	  (fixes bug 3537)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-13 14:21:50 +00:00
Peter Kümmel
1feaf6c814 plosh output. We need a string for LYX_DATE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19049 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 18:41:37 +00:00
Peter Kümmel
830fb29a15 so it could not be forgotten by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 18:33:54 +00:00
Jean-Marc Lasgouttes
0ffdae7651 Rename development/cmake/README.cmake to INSTALL.cmake
Actually distribute the cmake files with LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19034 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 07:27:56 +00:00
Peter Kümmel
0ac58a14d1 cmake part of bug 3527, with macro USE_WCHAR_T
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 18:35:52 +00:00
Stefan Schimanski
91830fafa5 * with the MacOSX packaging option enabled its easy to fake a application
bundle using a symbolic link 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18559 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 15:26:30 +00:00
Stefan Schimanski
14af4831c4 * added MacOSX packaging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18558 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 14:06:35 +00:00
Stefan Schimanski
195bd0b0b1 * force the tex2lyx Font class everywhere in tex2lyx. Without this in
TextClass.cpp the tex2lyx Font class was used, but elsewhere the LyX one.
  Hence, because of different binary sizes strange segfaults happened because
  the inline methods of TextClass used a different binary layout than the 
  non-inline methods.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18488 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-24 16:09:31 +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
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
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
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
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