Commit Graph

77 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
fcdb71906b Change Assert to BOOST_ASSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Angus Leeming
4c6e0fe422 Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Martin Vermeer
7ca0c9d069 Small bformat fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7687 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 19:20:26 +00:00
Angus Leeming
236ea81bc5 Replace LString.h with support/std_string.h,
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00
Lars Gullik Bjønnes
2faa06b829 have row information on state line + one more bformat variant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7663 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 14:33:16 +00:00
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Lars Gullik Bjønnes
0148aec357 some more lyx::support fixups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7227 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-01 21:31:06 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
André Pönitz
fa78e1ddb6 re-enable --with-included-string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 15:06:30 +00:00
Lars Gullik Bjønnes
b1fb034c3b parlist-16-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6999 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:47:31 +00:00
André Pönitz
61861c8c89 ... and change the remaining char const * fmt to string const & fmt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6978 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 14:13:50 +00:00
André Pönitz
fae0ce3073 add missing implementation of three-arg overload of bformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6977 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 14:10:32 +00:00
André Pönitz
a9d83a8583 lstrings.[Ch]: use string const & instead of char const * for format
more in line with the other args whcih are already string


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6974 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-16 14:59:48 +00:00
André Pönitz
0e9bd2e87d STRCONV() all over the place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
b21a69d998 Alfredo's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6954 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 11:18:36 +00:00
André Pönitz
d31244b5e2 The 'bformat' introduction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
Angus Leeming
9127b31f66 #if 0 -> #if 1 so that natbib citations actually work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-12 13:18:07 +00:00
Lars Gullik Bjønnes
6a1167adab STRCONV
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 02:12:42 +00:00
Lars Gullik Bjønnes
dd9b8de435 small changes
prepare for the STRINGCONV patch


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 00:15:56 +00:00
Angus Leeming
25d9537fbd Clean up licence info and add Lars as the mysterious unknown author.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5341 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-25 10:03:41 +00:00
Lars Gullik Bjønnes
043298544c Rename strip to rtrim
Rename frontStrip to ltrim
Add new trim function.

modify source for this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 22:50:13 +00:00
Lars Gullik Bjønnes
e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Jean-Marc Lasgouttes
57e89ae2bf compile fix in XPM image loader; fix opaque handling; remove warnings; fix turkish locale problems; add shortcuts to documents menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 21:17:10 +00:00
Angus Leeming
9548351ef8 Compaq cxx 6.5 will now compile lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 07:57:39 +00:00
Lars Gullik Bjønnes
08b4385454 get rid of LRegex and LSubstring, use boost::regex instead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4206 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-25 00:19:56 +00:00
Angus Leeming
9b3f8c9819 Those parts of Herbert's natbib patch that either fix bugs or just move
functions around.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3995 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-15 12:05:07 +00:00
Lars Gullik Bjønnes
a654de29ea ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00
Lars Gullik Bjønnes
8fc0d78659 add debug.h (this is a test commit)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3633 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 17:42:43 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Jean-Marc Lasgouttes
07ea5f51f0 compilation fixes for compaq cxx + small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 10:53:24 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Lars Gullik Bjønnes
2b63437db2 small fix for gcc 3.0, use std::transform in lstrings, implement chars-transpose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 19:33:52 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Dekel Tsur
75f555e7c0 - Add support for ae package
- Fix for compilers with broken string::find_last_not_of


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1370 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-23 12:53:05 +00:00
Dekel Tsur
f7a3d05a23 Use contains() instead of strchr().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1336 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-15 14:05:45 +00:00
Jean-Marc Lasgouttes
6ed000436b Small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1277 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-13 13:30:36 +00:00
Lars Gullik Bjønnes
4abaf6ab91 several small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1271 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-10 05:20:36 +00:00
Lars Gullik Bjønnes
893fe4da80 more fixes read ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1267 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-06 22:24:17 +00:00
Jean-Marc Lasgouttes
577fca3be7 The big KDE reorg + fi l10n update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1255 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-04 17:18:01 +00:00
Lars Gullik Bjønnes
676e29b916 fix parse error in FormPreferences, make LyX be able to compile with gcc 2.97, use mktemp if mkstemp is not available
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1218 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 03:22:08 +00:00
Jean-Marc Lasgouttes
9c798989d9 Patch from Yves to check whether C functions are defined in std:: namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1209 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-10 12:33:01 +00:00
Lars Gullik Bjønnes
adaef99e60 some formatting changes some simplifications and removal of dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1198 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-04 10:00:12 +00:00
Jean-Marc Lasgouttes
bdbce4e178 Fix some INFO reports from compaq cxx in support/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1139 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-18 14:07:29 +00:00
Lars Gullik Bjønnes
e7401bd8f2 use more std::functors add some of my own, some change to fl_display etc. read the change log...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1102 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-11 21:06:43 +00:00