André Pönitz
0daba49b1d
don't #include too much stuff in .h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:06:56 +00:00
André Pönitz
cde897f38b
remove position cache from insets - these were the last data item stored in
...
each inset, so we are down to the absolute minimum here...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2929 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 09:16:06 +00:00
André Pönitz
40b2b89d4d
- remove MathStyles cache from those insets that don't need it
...
- fix math font sizes in headings etc
- remove unused static member int MathInset::workwidth
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2909 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 15:37:49 +00:00
André Pönitz
5507c1ad69
use stream-like syntax for LaTeX output
...
(instead of inset.write(stream) functions)
prepare fix for proper font sizes in chapter heading etc...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 11:25:48 +00:00
André Pönitz
6317b96d19
Fix macro redrawing bug. Thanks, Juergen!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2868 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:58:50 +00:00
André Pönitz
9295f8236e
Use references instead of pointers where possible
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2867 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:02:49 +00:00
André Pönitz
f5f9c46c35
Use dummy Buffer * parameters to make Jean-Marc's compiler happy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2793 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 13:38:52 +00:00
José Matox
2470d9297d
rename docBook method to docbook
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2681 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 11:02:09 +00:00
André Pönitz
ef2afda076
safeguard against syntax errors when reading macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2524 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 11:11:35 +00:00
André Pönitz
8766c98cfe
re-enabling the "selected text gets converted to math"-feature
...
small bix fix
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2510 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 07:46:11 +00:00
André Pönitz
d7525e9740
move ownership of the templates from the formulamacro
...
inset to the mcaro table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2437 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 08:40:14 +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
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
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
Jean-Marc Lasgouttes
a36dbaf607
Andre's mathinset shrink patch ; default .lyx extension when loading files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2399 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 13:28:45 +00:00
Asger Ottar Alstrup
da76673568
Reduced header file includes somewhat
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2385 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 15:34: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
2569cd6fde
Fix two small bugs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2263 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 09:46:07 +00:00
André Pönitz
a97c6eba47
multicell selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2255 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:53:25 +00:00
Jürgen Vigna
7521b5d20f
The BIG UNDO patch. Recodes undo handling for better use inside InsetText.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 15:57:54 +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
Lars Gullik Bjønnes
85a5ea7bfc
change a lot of methods to begin with small char
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Jean-Marc Lasgouttes
9f42114d4d
some fixes for compaq cxx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2147 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 15:57:57 +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
6b95441288
mathed64.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1950 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 16:13:38 +00:00
Lars Gullik Bjønnes
aae45c2088
more mathed changes, read the changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1649 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-01 14:07:43 +00:00
Lars Gullik Bjønnes
bb2aa47875
MathMacroTemplate::update cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1643 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-28 17:51:28 +00:00
Lars Gullik Bjønnes
4203d759ad
fix the matrix reading other small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1642 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-28 17:21:16 +00:00
Lars Gullik Bjønnes
2be247f6ef
fix macro, small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1623 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-26 12:53:35 +00:00
Jürgen Vigna
e07f7bcc50
This moves all LyXText related LyXFuncs to BufferView::Dispatch so that they
...
can also be called from inside the InsetText::LocalDispatch. Some small update
and repaint fixes for InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1610 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 16:10:03 +00:00
Lars Gullik Bjønnes
fbb9a99704
mathed34.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1578 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-20 17:45:56 +00:00
Lars Gullik Bjønnes
04a2d2ddb0
mathed33.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1577 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-20 16:00:22 +00:00
Lars Gullik Bjønnes
29d6854e98
remove a friend + other stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1530 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-17 18:52:53 +00:00
Lars Gullik Bjønnes
9a3176581d
small cleanup, doxygen, formatting changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 09:25:43 +00:00
Lars Gullik Bjønnes
d5905fabf6
get rid of several friends small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1519 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-15 12:22:01 +00:00
Lars Gullik Bjønnes
58a03e13ae
mathed17.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1505 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 12:02:08 +00:00
Lars Gullik Bjønnes
84b7ffa347
more mathed cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1500 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-13 19:10:18 +00:00
Lars Gullik Bjønnes
26428cdf19
more mathed cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1499 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-13 17:08:51 +00:00
Lars Gullik Bjønnes
11e5e09d3b
patch from Andre and more array changes by me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1483 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-12 08:55:14 +00:00
Jürgen Vigna
71f8ac34a9
Inset patch from Angus.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1095 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 11:50:43 +00:00
Lars Gullik Bjønnes
da003742d9
small patch from Dekel, begin introducing the real boost framework, get rid of the parts of boost that were located in support (block and utility)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1063 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-02 00:55:02 +00:00
Jürgen Vigna
99d6f056e4
Added linelen to insets-ascii-function, some fixes and new support
...
functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1042 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 15:25:14 +00:00
Lars Gullik Bjønnes
d6665cba42
get rid of dead code, some new functions constify variables.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1041 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 13:54:57 +00:00
Lars Gullik Bjønnes
45a03f4f67
use the new sstream return non-pods as const, use string instead of char * in a lot of places
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Jean-Marc Lasgouttes
66088f1487
Fix to formula macros from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1002 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-05 14:15:09 +00:00
Jürgen Vigna
666140b7f2
Few more update text-inset issues + some fixes, see ChangeLog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@859 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-05 14:57:48 +00:00
Jürgen Vigna
b744c6ed9f
Lot's of updates for new update handling of text-insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@831 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-23 15:02:46 +00:00
Jürgen Vigna
87207b1939
Language patch from Dekel and fixed formula[macro] as I forgot yesterday.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@827 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-22 09:30:43 +00:00
Lars Gullik Bjønnes
6bba977f42
FILMagain changes (will need some work)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00
Jürgen Vigna
756af02794
Lots of fixes for text/tabular insets. Now tabular insets work quite good
...
and you have now automatic row-breaking for cells with width! Also added
the fix from Denkel. See ChangeLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@732 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-15 14:49:36 +00:00
Jean-Marc Lasgouttes
ff5ca3cd82
Upadate NEWS and some small other tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@682 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-19 16:32:36 +00:00
Lars Gullik Bjønnes
d0950aceda
read the Changelog, preparing for prerelease
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@680 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-19 01:42:55 +00:00
Jean-Marc Lasgouttes
c10a9001c8
Three patches from Angus (make LyXGUI::lyxViews private), Dekel (fix
...
fragile macros in math formulas) and Dekel (add a GUI for setting language).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@678 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-17 14:00:18 +00:00
Lars Gullik Bjønnes
77e706c441
fix the smallcaps drawing, move xfont metrics functions out from LyXFont, move non-inlineable functions out of line
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@638 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-04 00:19:15 +00:00
Lars Gullik Bjønnes
fa492d6bf0
fix lyxalgo.h, dra pagebreak with text on line, change the math_deco_search a bit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@597 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 23:58:55 +00:00
Jean-Marc Lasgouttes
8dbf9d296e
A bit of cxx warniong hunting; update to rpm spec file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@596 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 16:13:43 +00:00
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
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
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
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
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
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
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
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
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
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
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
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