Commit Graph

101 Commits

Author SHA1 Message Date
André Pönitz
74124b4bf8 make {} a proper inset; simplifications to the parser;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2489 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 15:32:26 +00:00
André Pönitz
2da8fcabdc small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2484 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 13:17:39 +00:00
André Pönitz
babee598f4 store optional eol arg and write it back if necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2480 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 11:51:06 +00:00
André Pönitz
8de80cc1e7 move error message to a better place...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2478 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 11:04:23 +00:00
André Pönitz
431543cc20 improve end-of-line handling in the presence of optional args to \\
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2477 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 10:39:56 +00:00
André Pönitz
31028168b2 small bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2474 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:35:19 +00:00
André Pönitz
23638ef606 wrap mathed parser in a class, the main parsing functions should be
re-entrant now


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2473 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:30:02 +00:00
André Pönitz
8898791bc6 small parser stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2472 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 07:52:04 +00:00
André Pönitz
d6f2a2313a fix broken ^ stuff; break delimiters...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2466 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:19:31 +00:00
André Pönitz
4c7849e8d9 move more stuff to math_hash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2462 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 10:48:50 +00:00
André Pönitz
d4582c5bc1 move some more parser information to math_hash to make it accessible by the
cursor


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2461 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 10:34:43 +00:00
André Pönitz
c9c3b9b447 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2460 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 09:19:18 +00:00
André Pönitz
cbf29c8fdc new hierarchy for frac-like things
'native' \stackrel support
remove MathInset::name_ member (sizeof(MathInset) == 20 on IA32 now);


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2457 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 17:26:30 +00:00
André Pönitz
9d5c326eaf Undo hotfixes for missing files. Sorry guys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2433 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 04:53:01 +00:00
Lars Gullik Bjønnes
70b62a472b make mathed compile (but not link), adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2430 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:14:17 +00:00
André Pönitz
8b7b3a5895 - fix nasty bug due to missing InsetFormula copy c'tor
- make all cache variables mutable, remove const_casts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2426 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:20:26 +00:00
André Pönitz
51e0c8bd1f everything is an inset. sizeof(MathInset) == 36 on IA32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2413 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:10:22 +00:00
André Pönitz
18a610d4d6 cloase a leak; remove a few casts; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2410 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 09:54:48 +00:00
Lars Gullik Bjønnes
8254b16fd1 more latex conversion cases fixed, patch from Andre, more more funcs to lowercase, some debug output to look at...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2406 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 18:46:53 +00:00
André Pönitz
84b01259ef fix (potential?) memory leaks; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2403 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 16:48:06 +00:00
Asger Ottar Alstrup
b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00
André Pönitz
7fea2dad0f somewhat better support for \| when reading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2372 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 14:50:33 +00:00
André Pönitz
4f2bb26476 remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2368 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 13:01:01 +00:00
André Pönitz
2e4ad73024 work around static initialization problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2367 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 12:32:29 +00:00
André Pönitz
811980f739 rename MathBigopInset into MathSymbolInset. That's what it is nowadays...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2365 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 10:08:04 +00:00
André Pönitz
43d1fd2562 make '$' default delimiter for inline maths instead of \(...\)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2363 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 16:56:23 +00:00
André Pönitz
ece9f3739c nest step...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2362 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 16:14:23 +00:00
André Pönitz
356d7aed23 small steps towards a unified symbol handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2361 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 15:28:45 +00:00
André Pönitz
1db325d20c simplify BigopInset handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2360 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 14:37:09 +00:00
André Pönitz
d812b509d0 small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2359 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 13:52:47 +00:00
André Pönitz
16fe92dbc0 iookup unification - another 100 lines bite the dust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2357 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 10:21:18 +00:00
André Pönitz
fda98080cc cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2353 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:56:43 +00:00
André Pönitz
9ccefe810b mathed108.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2352 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:46:50 +00:00
André Pönitz
abaa02466a move things around, fix bug in ~MathArray.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2297 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:54:13 +00:00
André Pönitz
96a1cc78b2 support for \land and \vee, cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2292 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 10:57:22 +00:00
André Pönitz
5c40a062b2 rename math_(root|grid).[Ch] to math_(root|grid)inset.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2259 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 07:38:41 +00:00
André Pönitz
3ce9e1228e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2231 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 09:10:59 +00:00
André Pönitz
4a40b711f2 mathed102.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2229 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 07:55:55 +00:00
André Pönitz
0024f42724 split super/subscript handling in new base class MathUpDownInset and
MathScriptInset/MathBigOpInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 07:18:29 +00:00
André Pönitz
88b5d739b5 MathAccentInset rewritten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2215 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-10 13:17:43 +00:00
André Pönitz
b24b504cd2 Small bugfixes and cosmetic changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2208 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 10:19:50 +00:00
Lars Gullik Bjønnes
3aa411d883 make NO_LATEX default, set ut compability stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2205 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-08 12:52:16 +00:00
Lars Gullik Bjønnes
ec5d8718c5 mathed95.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 12:09:32 +00:00
André Pönitz
4540c3d3e4 Fix for signed/unsiged char bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2187 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 14:45:04 +00:00
André Pönitz
18ed33949f Small parser bug fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2182 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 17:15:08 +00:00
André Pönitz
3d00527d48 mathed87.diff (Bug fixes, new feature "change font on selection")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2169 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 07:56:55 +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
Lars Gullik Bjønnes
313252eb8b various changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-04 23:57:32 +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