Commit Graph

3416 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
132fe5e132 the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure that the tables passed to lyxlex is sorted and sort them if not, use std::lower_bound to search in lyxlex tables, use binary search in stead of linear in math_delim::search_deco, we also sort the math_deco_table upon startup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@594 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 03:36:48 +00:00
Lars Gullik Bjønnes
d2b9849fff changes from sprintf to string stream. see comments at top of text.C. read the ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@589 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-08 01:45:25 +00:00
Lars Gullik Bjønnes
abb623f787 apply the ostream changes to mathed, some other small related things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@588 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-07 01:14:37 +00:00
Lars Gullik Bjønnes
def72111a5 change to use ostreams instead of string when writing files. fiddling with insettext. font fix in formula.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@584 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-06 02:42:40 +00:00
Lars Gullik Bjønnes
a9b448a027 change to use only ostream to write latex from insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@581 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-02 02:19:43 +00:00
Jean-Marc Lasgouttes
0d167123ac Fix spacing of greek letters; other things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@580 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-01 18:15:39 +00:00
Lars Gullik Bjønnes
ba5e47f1a9 read the ChangeLog... no huge changes .. but some might get reversed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@576 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-29 02:19:17 +00:00
Jean-Marc Lasgouttes
371d623527 Small compilation fixes for compaq cxx; updated ca.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@574 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-25 16:42:21 +00:00
Lars Gullik Bjønnes
9cdcc41498 make the new code from Juergen compile and some small fixes to the same code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@572 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-25 13:35:38 +00:00
Jürgen Vigna
d6fa7c567c All changes I made to have text-insets working. Look at the Changelog
for more details.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@571 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-25 12:06:15 +00:00
Lars Gullik Bjønnes
b92c965543 doubleClick, trippleClick, new UpdateInsetList some other small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@570 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-23 16:39:03 +00:00
Lars Gullik Bjønnes
c52895023e continue the crusade to get rid of current_view
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@564 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-22 00:36:17 +00:00
Lars Gullik Bjønnes
5ba861bb09 fix the resize bug, make some more inset funcs const, cleanup in lyxscreen, painter, workarea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@561 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-18 22:22:42 +00:00
Lars Gullik Bjønnes
a0cf758d5a remove the old painter, remove support for mono_video, reverse_video, fast selection, work in progress to make insetlaex accent better. editable insetcommand drawn as buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@560 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-17 19:59:08 +00:00
Jürgen Vigna
17818a9141 Changed functioncall to MathedCursor::SelGetArea as we always returned the
NULL pointer with the new Painter-stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@559 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-17 15:24:43 +00:00
Lars Gullik Bjønnes
d6f638ea96 some small updates to Painter, and make the new painter the default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@555 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-14 22:14:48 +00:00
Lars Gullik Bjønnes
bc4646a58e fix the outstanding painter drawing problems, now tablelines, mathframe, specialchars, selection and images work as they should again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@552 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-11 16:56:34 +00:00
Lars Gullik Bjønnes
cfdd73ea94 new painter,workarea and lcolor. Read the diff/sources and ChangeLog...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@550 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-10 17:53:36 +00:00
Lars Gullik Bjønnes
9ce32d63e5 several small and larger changes, read the Changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@529 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-04 09:38:32 +00:00
Lars Gullik Bjønnes
bb96fd7de6 fix the reformat bug, some small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@521 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-03 17:09:33 +00:00
Lars Gullik Bjønnes
328f69b0c1 fix crossref label list, some debug messages + various
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@445 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-25 12:35:27 +00:00
Lars Gullik Bjønnes
d8b96c598c pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the crash in Delete, move to pre ind/dec instead of post inc/dec, try to use ostream_iterator in lastfiles.C, remove some debug output, change the rest of the .cdef files, make display of umlaut better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@443 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-24 18:34:46 +00:00
Lars Gullik Bjønnes
1bc4b73575 fix some of the bugs reported, should hopefully be a bit better now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@436 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-21 17:41:57 +00:00
Lars Gullik Bjønnes
db54977b71 a couple of new posix wrappers, use new instead of malloc in figinset delete the now unused code in kbmap, add ro.po some changes in bufferlist, use std::sort and std::lower_bound in math_utils. Read the ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@427 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-20 01:41:55 +00:00
Lars Gullik Bjønnes
f133142418 revert to using .la type libtool libs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@416 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-11 17:44:32 +00:00
Jean-Marc Lasgouttes
1fd5e5ed97 iNew configure flag --with-lyxname. Misc small compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@411 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-10 16:28:29 +00:00
Lars Gullik Bjønnes
53b464c5e9 some new (not extensive) changes, some fixes, will probably reverto to .la libs later .o libs is too much a hassle, please read the ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@408 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-08 21:02:58 +00:00
Lars Gullik Bjønnes
7085256982 update libtool, try to make it work for std::streams (be VERY careful I have experienced DATACORRUPTION when trying this out (though I think it is a bug in the lib) some other code shuffling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@406 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-07 03:42:16 +00:00
Lars Gullik Bjønnes
8dccec5c46 my changes during the holidyas...i expect some compilers to have some problems, but I think that can be solved. Ok these are the main changes: use iostreams for everything, a TextCache to store the text variable in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@403 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-06 02:44:26 +00:00
Jean-Marc Lasgouttes
4ac276c4fb Fix a few unitialized variables found by purify (thanks to Michael Schmitt for pointing these out)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@400 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-05 13:09:19 +00:00
Allan Rae
3499732aae My final commit of the year? pair<bool, string> askForText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@398 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-30 02:35:43 +00:00
Lars Gullik Bjønnes
617cfbe80f added a regex to be used when the system is missing one, use noinst instead of pkglib since we are currently not useing shared libs anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@394 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-24 01:30:26 +00:00
Jean-Marc Lasgouttes
56368d8c03 Small bugfixes and some sun CC 5.0 portability tweaks (see ChangeLog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@388 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-20 17:38:37 +00:00
Asger Ottar Alstrup
4ed68c1bc2 - Got rid of two global variables:
minibuffer and FD_form_main


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@386 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-19 22:35:36 +00:00
Lars Gullik Bjønnes
e8db0ccc46 small things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@375 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-13 21:59:26 +00:00
Allan Rae
457e414feb included sgi-stl-32-merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@373 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-13 07:33:00 +00:00
Lars Gullik Bjønnes
6130fe1aa5 read the ChangeLog, use the C++ style casts more, some changes to the debugbufs, some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@366 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-13 00:05:34 +00:00
Lars Gullik Bjønnes
75c5c8c9e5 the fstream/iostream changes and some small other things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@354 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-07 00:44:53 +00:00
Jean-Marc Lasgouttes
2a7aef61f0 Hopefully a final fix for the egcs broken memcpy() problem on alpha
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@353 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-06 16:55:06 +00:00
Jean-Marc Lasgouttes
ec7a8ffeba Rename sqrt icon and a few small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@348 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-01 14:41:31 +00:00
Lars Gullik Bjønnes
825e70d124 whitespace bug fixed. Should hopefully fix the mathed space problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@346 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-01 10:31:47 +00:00
Lars Gullik Bjønnes
3227c66baf in addition to the changes mentioned in ChangeLog, there is the usual batch of whitespace changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@344 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-01 00:57:31 +00:00
Jean-Marc Lasgouttes
07febc9941 Cxx tweaks, fix display of \epsilon and more. Read changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@335 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-25 13:15:52 +00:00
Lars Gullik Bjønnes
65b4999759 several changes from FilePtr to FileInfo, reverted back to Inset* and MathedInset* as return types from Clone. White space changes. Some changes from FilePtr to fstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@332 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-24 22:14:46 +00:00
Jean-Marc Lasgouttes
6a1f065501 Output ~ and ^ with the proper latex macro; add a few missing 'const'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@331 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-23 15:59:07 +00:00
Lars Gullik Bjønnes
4866387e32 some changes that perhaps will help cxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@330 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-23 14:39:02 +00:00
Lars Gullik Bjønnes
1d7d3cc4af read ChangeLog, a lot of whitespace changes. experimental use of libtool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@329 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-22 16:19:48 +00:00
Alejandro Aguilar Sierra
6f5a5fac30 Added the ability to select both delimiters at one click (based in part
on a patch sent by Pablo di Napoli, though I didn't chenged the GUI
code, for the moment). Several fixes on misused symbols, reported by
Martin Norb{ck.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@328 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-20 16:14:02 +00:00
Jean-Marc Lasgouttes
49b9dbdf10 Two configuration fixes. Bugfree configure is coming soon (do you really believe in that??)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@323 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-18 11:42:36 +00:00
Lars Gullik Bjønnes
35df50f78c some other things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@317 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 14:45:17 +00:00
Lars Gullik Bjønnes
d8a6abd63a white-space changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@313 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 11:06:41 +00:00
Jean-Marc Lasgouttes
704d1475fc iSome makefiles tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@308 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-10 15:09:42 +00:00
Lars Gullik Bjønnes
df8157e6b9 use static cast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@300 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-09 22:48:46 +00:00
Lars Gullik Bjønnes
dfe1bc44b4 the runlatex merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@291 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-04 01:40:20 +00:00
Jürgen Vigna
a77033585c This patch should now fix all resize problems we have with forms-windows.
If a save and correct resize is not possible I forbid resizing. I hope I
got all of them :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@243 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-25 14:50:26 +00:00
Lars Gullik Bjønnes
d90e046851 some changes to get fewer warnings when using strict ansi compilers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@235 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-23 23:35:37 +00:00
Lars Gullik Bjønnes
966c6e0a16 removed some warnings, fixed a bug in lyxstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@234 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-23 20:52:00 +00:00
Lars Gullik Bjønnes
bd29a5db31 erase->clear, AM_CONDTIONAL for conditional compilation of lyxstring, better LYX_CXX_STL_STRING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@214 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 20:59:27 +00:00
Jean-Marc Lasgouttes
ba452ec219 Fix math macro bug, caused by the evil string::operator+=(int)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@212 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 16:11:58 +00:00
Jean-Marc Lasgouttes
c35b288b74 A bunch of obvious changes to please strict ansi compilers. Not finished.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@210 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 15:06:30 +00:00
Jean-Marc Lasgouttes
70b3420586 Add support for compilers which do not have cname headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@201 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-14 15:55:06 +00:00
Lars Gullik Bjønnes
535dd32c4c merge in the class Path changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@196 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-13 17:32:46 +00:00
Jean-Marc Lasgouttes
2ac6d6da48 Some cleanups to compile with dec cxx. We are not there yet though.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@189 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-13 10:34:07 +00:00
Lars Gullik Bjønnes
35584afc11 the merge from branch debugstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@180 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-07 18:44:17 +00:00
Lars Gullik Bjønnes
0eccdd1c36 merge from the string-switch branch and ready for a prelease.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@162 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-02 16:21:10 +00:00
Lars Gullik Bjønnes
27de1486ca Initial revision
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
1999-09-27 18:44:28 +00:00