Georg Baum
a116e04b8b
Use wctype character classification functions if possible
...
* src/buffer.C
(Buffer::insertStringAsLines): Uncomment isPrintable test
* src/support/lstrings.C
(compare_no_case): Use char_type and not int for the docstring version
(ascii_tolower): Convert to a template
(compare_ascii_no_case): Do not use a template anymore, because we
need int for the string version and char_type for the docstring
version as intermediate type
(lowercase): Use towlower if possible
(uppercase): Use towupper if possible
* src/support/textutils.h
(isLetterChar): Use iswalpha if possible
(isPrintable): Use iswprint if possible
(isPrintableNonspace): Use iswprint and iswspace if possible
(isDigit): Use iswdigit if possible
* src/paragraph.C
(Paragraph::asString): remove obsolete FIXME
(Paragraph::transformChar): add FIXME
* configure.ac: Add definition of LIBC_WCTYPE_USES_UCS4 to config.h
* development/cmake/config.h.cmake: ditto
* development/scons/SConstruct: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15893 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 09:53:25 +00:00
Bo Peng
ac1dcef5d0
Scons: getext/unicode support for tex2lyx (ignore src/tex2lyx/gettext.* and use src/gettext.* and src/messages.*)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15716 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 18:49:56 +00:00
Bo Peng
8b5e79fc47
Scons: remove some other qt3 debris
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15494 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 20:34:37 +00:00
Lars Gullik Bjønnes
8f261b1529
The Gtk removal from trunk.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15488 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 18:05:16 +00:00
Michael Schmitt
7cf8328885
* scons/SConstruct: fix scons error (remainder of qt3 frontend removal)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15436 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 09:17:58 +00:00
André Pönitz
a63cddf51c
remove qt3 frontend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:35:47 +00:00
Bo Peng
90cbd48fd3
Scons: remove fast_start feature
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15343 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 03:26:14 +00:00
Bo Peng
aa8913e939
Scons: fix windows DESTDIR installation problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 03:08:08 +00:00
Bo Peng
222d0562f7
Scons: fix cygwin postinstall/lyx.sh installation problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15250 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 02:58:13 +00:00
Bo Peng
b3b65e6f70
Scons: set default_build_mode cleverly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15244 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 17:37:02 +00:00
Bo Peng
c53e7a603c
Scons: libintl also needs /MD option
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15240 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 16:45:46 +00:00
Bo Peng
ba81af5fb2
Scons: command line arguments may be overwritten when building tools are loaded
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15237 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 15:12:15 +00:00
Bo Peng
48988ff296
Scons: fix ICONV_LIB caching problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15236 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 15:05:34 +00:00
Bo Peng
8cc733b6a4
Scons: fix substFile dependence problems
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15215 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 14:31:25 +00:00
Bo Peng
255345d4c6
Scons: cygwin packaging fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15178 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-28 04:45:21 +00:00
Bo Peng
6f29180afc
Scons: correct installation of cygwin fonts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15175 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 19:30:08 +00:00
Bo Peng
a8354d3db7
Scons: get version info from configure.ac, add fonts and postinstall script for cygwin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15158 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-26 19:37:09 +00:00
Bo Peng
526bb55821
Scons: add HAVE_WCHAR_T to two config.h files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14998 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-14 17:04:11 +00:00
Bo Peng
dd0e06b339
Scons: add SIZEOF_WCHAR_T
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14997 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-14 15:40:06 +00:00
Bo Peng
5889f636c0
Scons: add support for system iconv function (from glibc)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14995 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-14 14:09:08 +00:00
Enrico Forestieri
1435670790
Add defines needed on cygwin
...
* configure.ac: define BOOST_POSIX_API and BOOST_POSIX_PATH
on cygwin (needed by boost 1.34).
* development/scons/SConstruct: ditto.
* development/cmake/config.h.cmake: ditto.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14980 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-12 00:54:07 +00:00
Bo Peng
290a6b90ce
Scons: handle LYX_DATE in src/version.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14943 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-08 15:02:26 +00:00
Bo Peng
d3d994c9e7
Scons: produce cygwin-compatible binary package
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14934 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-08 02:01:45 +00:00
Georg Baum
8a83ea44bd
add forgotten comma
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14893 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-04 15:54:57 +00:00
Georg Baum
15be4fb8ef
Fix byte order problems
...
* src/support/unicode.C
(bytes_to_ucs4): make it work on big endian machines
(bytes_to_ucs2): make it work on little endian machines
(ucs2_to_ucs4): ditto
(utf8_to_ucs4): Invoke iconv with explicit BE suffix
(ucs2_to_ucs4): ditto
(ucs4_to_ucs2): ditto
(ucs4_to_utf8): ditto
* configure.ac: Check for byte order
* development/scons/SConstruct: Ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14890 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-04 14:43:25 +00:00
Bo Peng
62893b0692
Scons: add /MD as default option under msvc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14869 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-02 13:09:10 +00:00
Bo Peng
41b45a1508
Scons: link to ole32 for (msvc/aspell), add suffix to mo files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14864 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-02 01:30:40 +00:00
Bo Peng
132ab09b38
Scons: fix options like CPPFLAGS
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14845 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-26 18:55:51 +00:00
Michael Schmitt
415970fcb5
fix typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-23 14:11:14 +00:00
Abdelrazak Younes
f533422b0e
get rid of QT3_SUPPORT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14773 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 09:08:20 +00:00
Bo Peng
0ba726bb7a
Add #include "xxx_moc.cpp" to xxx.C files, and stop compiling _moc.cpp individually.
...
* src/frontends/qt3/[all mocable files].C: add #include _moc.cpp at the end.
* development/scons/SConstruct: do not compile _moc files individually.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14714 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 22:10:20 +00:00
Bo Peng
a9b8f12846
Scons: minor Sconstruct fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14711 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 21:50:26 +00:00
Bo Peng
e530d2ddd2
Scons: add support for msvc qt3
...
* src/support/package.C.in: use PATH_MAX instead of MAX_PATH
* INSTALL.scons: add instruction for building qt3 2ith msvc
* development/scons/SConstruct: use the right lib (qt-mt3) and manifest file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14709 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 21:34:24 +00:00
Bo Peng
22a3512110
Scons: fix ICONV support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14690 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-15 14:23:57 +00:00
Bo Peng
486d32ba39
Scons: add ICONV_CONST to common/config.h, require library iconv
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14676 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 16:47:37 +00:00
Bo Peng
5687075007
Scons: fix a uic bug, add unicode.hC
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14662 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 00:33:39 +00:00
Bo Peng
c94fcdeeae
Scons: fix a filelist bug (missing spell.C)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14643 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 14:30:40 +00:00
Bo Peng
c8e38f5e05
Scons: stop globbing filenames, use explicit file list instead.
...
* INSTALL.scons: stop lyx1.4.x/qt2 support
* development/scons/scons_manifest.py: list of all filenames
* development/scons/SConstruct: use explicit file list
* development/scons/scons_utils.py: remove globFiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14634 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 04:54:25 +00:00
Bo Peng
d7588feb8f
Scons: check minor version number (>=0.96.92)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14633 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 01:51:05 +00:00
Bo Peng
6c36d0444c
scons: make "scons install" succeed without msgfmt
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14490 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-20 18:57:29 +00:00
Bo Peng
81262569fc
Scons: small fix for target msvs_projects
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14476 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:34:58 +00:00
Bo Peng
f37a03ece9
Scons: check for unused/misspelled command line option, allow rebuild=yes/no/all/none.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14449 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-13 17:52:41 +00:00
Michael Schmitt
94d5cd6c67
* SConstruct: remove xforms relicts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14417 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 19:40:55 +00:00
Abdelrazak Younes
852431e2a6
Add -DQT_NO_KEYWORDS to compiler option
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14413 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 17:40:14 +00:00
Bo Peng
1f831d0a99
Scons: fix DESTDIR
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14386 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-08 21:31:57 +00:00
Bo Peng
563c1b6b24
Scons: allow non-exist build_dir option, adjust QTDIR/bin handling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14365 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 16:21:10 +00:00
Bo Peng
fc42d0d4f9
Scons: check system boost version, probe qt3 libs for qt2 frontend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14354 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-07 03:08:37 +00:00
Bo Peng
a54d3e83bd
Scons: exclude boost headers only for system boost header files.
...
* INSTALL.scons: document this change.
* development/scons/SConstruct: check for included_boost to exclude boost
headers from the dependency tree.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14343 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-05 18:48:59 +00:00
Bo Peng
e85cfec957
Scons: do not build boost dependency tree, use debug/release boost system library, check for boost system header files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14338 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-05 15:33:38 +00:00
Bo Peng
cd443c86ca
Scons: fix handling of lib/lyx2lyx/lyx2lyx_version.py.in
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14325 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 20:57:25 +00:00