Commit Graph

1206 Commits

Author SHA1 Message Date
José Matox
d507a0b147 Escape content form inset index. (docbook)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9120 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-25 00:26:05 +00:00
José Matox
eb3d6435d1 Reorganized docbook export code and fixed several bugs in the process.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9114 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 00:02:39 +00:00
André Pönitz
f83d81275f fix crash after removing a table row (again due to uncorrected cursor
position)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9110 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 09:21:38 +00:00
André Pönitz
3f65d1489a fix tabular crash after cutting a selection (cursor position was not
corrected)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9108 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 08:50:30 +00:00
José Matox
d49b60b258 Improve graphics export for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9101 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-21 22:55:04 +00:00
José Matox
c6bf338207 Export Inset Cite (docbook)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9100 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-21 22:39:20 +00:00
José Matox
89aa915ad7 Small adjustments for graphics export in docbook (Andreas Vox).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9051 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 13:38:31 +00:00
José Matox
4acce5c117 replace nextToken by more appropriate lex methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9049 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 12:56:22 +00:00
José Matox
2aac4a9c00 convert TeX units to Docbook units where possible (Andreas Vox)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9041 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-04 13:56:04 +00:00
José Matox
6b9ff53e6d Add support for units, in docbook export of graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9026 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-29 15:25:54 +00:00
Lars Gullik Bjønnes
ec94b42f51 Use the preferred calling for Boost.Signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9010 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 14:19:47 +00:00
Lars Gullik Bjønnes
53cea42f88 Change to use preffered calling of Boost.Function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9009 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 13:34:57 +00:00
José Matox
1fbb68df78 patch from Andreas Vox to fix unclosed tag in docbook-xml.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9005 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-25 12:26:07 +00:00
José Matox
f17505a8fb Remove space at end of line, when superfluous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8953 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 11:27:51 +00:00
Jean-Marc Lasgouttes
d194cfffa5 get rid of ownerPar(), which was super slow; fix tabular crash due to recently introduced BOOST_ASSERTs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8951 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 00:32:04 +00:00
Lars Gullik Bjønnes
b0fbc29aa3 some support for pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8947 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 21:45:30 +00:00
Jean-Marc Lasgouttes
e5c1dd967b some profiler work, a few cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8942 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 16:52:44 +00:00
Jean-Marc Lasgouttes
0fe5cc3913 one less use of ownerPar means faster code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8939 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 23:57:29 +00:00
André Pönitz
1c8329d3a4 better mouse selection within tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8938 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 22:38:45 +00:00
Jean-Marc Lasgouttes
4979ab7ab4 fix width of unconstrained cells in insettabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8935 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:55:38 +00:00
Jean-Marc Lasgouttes
c6204d60c2 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8934 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:28:59 +00:00
Jean-Marc Lasgouttes
ec4ebf3dcd fix the include inset; Angus, please doublecheck this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8928 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 19:20:42 +00:00
José Matox
498724d21b up to file format 236 and also fix Bug 421.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8927 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 18:41:27 +00:00
Lars Gullik Bjønnes
d20f0af816 some nicer margins and some small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8925 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 15:55:22 +00:00
André Pönitz
02ebc072b0 remove per-inset position cahce, use new external map instead.
this allows us to bomb early on uninitialized cache values.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8923 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 14:03:42 +00:00
Jean-Marc Lasgouttes
0786aa3247 fix problems with ] in optional latex arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8919 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 23:30:26 +00:00
Jean-Marc Lasgouttes
9e20808369 constify the various incarnations of editXY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8907 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 19:14:17 +00:00
Jean-Marc Lasgouttes
6b89c145fd fix toggling of collapsable insets with the mouse (bug 1558)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8901 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 14:56:06 +00:00
José Matox
d2f9e0a569 Fix bug 1147.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8899 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 13:07:02 +00:00
Jean-Marc Lasgouttes
b1be8f3cb0 speedup latex export a lot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8869 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-05 09:18:54 +00:00
Lars Gullik Bjønnes
7c15014ec2 change "support/std_sstream.h" to <sstream>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Georg Baum
451b1bb338 fix graphics inset bug (see ChangeLog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8820 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-22 15:26:55 +00:00
Georg Baum
cb73d69ae4 improve tex2lyx paragraph and comment handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8815 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-18 06:47:19 +00:00
Georg Baum
5603df4a5b convert graphics for .tex export, fixes bug 1231
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8814 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-10 08:44:40 +00:00
Jean-Marc Lasgouttes
80fbee4eba translate correctly things like "list of algorithms" (bug 1312)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8806 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-08 13:35:14 +00:00
Georg Baum
fa29d7ee98 last chunk of the fix for bug 1244 + overwrite checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8791 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-01 13:39:33 +00:00
Angus Leeming
2a31934f38 Wrap most of the frontend code up inside namespace lyx::frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 15:11:37 +00:00
Georg Baum
db707dab04 remove now unnecessary const casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8757 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 11:28:31 +00:00
Angus Leeming
3ea4eeb8a5 Citation labels now update immediately if the citation engine is changed
from the document dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8756 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 08:52:21 +00:00
José Matox
33243f7003 clean code to export between different flavours, output different code for sgml to deal with incomplete implementation, clean code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8755 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:47:35 +00:00
Angus Leeming
24bd12178d a new biblio::asValidLatexString helper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8754 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:27:13 +00:00
Angus Leeming
8424214209 Store the citation engine in BufferParams as biblio::CiteEngine rather
than a triplet of bools. Results in a file format change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8752 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-13 20:44:35 +00:00
Angus Leeming
d8c5a828fa Clean up natbib, jurabib code as posted to the list last Friday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8748 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-10 20:55:00 +00:00
Georg Baum
eea99ecc8b leftovers from the fileformat 232 -> 233 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8747 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-07 12:16:20 +00:00
Georg Baum
b65e6f7544 fix handling of zipped graphics files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8746 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-05 15:37:36 +00:00
Angus Leeming
119b50c7c5 Remove some redundant #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8709 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 11:33:31 +00:00
Angus Leeming
5009d66e16 * Positionable and dynamically visible toolbars for the XForms frontend.
* General Toolbars code clean-up.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8707 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:54:59 +00:00
Georg Baum
b36c13278b require file extension for included graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8706 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:24:29 +00:00
Georg Baum
7f68b94d8a Partly fix for bug 1231
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8696 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-26 11:05:19 +00:00
Jean-Marc Lasgouttes
0aea071705 another fix related to bug 605; fix toggling of optarg inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8685 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 12:46:15 +00:00
Angus Leeming
66cd8361ff Remove lyxerr statement; cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8680 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:42:10 +00:00
Angus Leeming
f16199abd2 Enable the user to preview xfig figures (f.ex.) without previewing mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8670 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 13:31:17 +00:00
Angus Leeming
005545f281 Remove cached var from RenderPreview. Changes elsewhere to suit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8669 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 13:05:36 +00:00
Angus Leeming
7b54b9ca42 Remove unused member function and variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8657 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-16 16:01:47 +00:00
Angus Leeming
90b993e576 Change a few ...@localhost.localdomain email addresses...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8656 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-16 15:49:31 +00:00
Angus Leeming
fff7d8407c Refactoring of renderer code to make inset code simpler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8650 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 17:25:23 +00:00
Angus Leeming
da61af2b8e Georg's add an editor to Formats / safe external_templates patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8645 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 10:36:09 +00:00
Jean-Marc Lasgouttes
b3bed8d879 Georg\'s last patch for bug 605
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8627 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 10:09:09 +00:00
Angus Leeming
21ea61eb81 Prevent crash when clicking on either the external or the include insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8618 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 09:25:31 +00:00
Martin Vermeer
9b35643f8e Use 'assign' as the name for the operation that opens/closes branch
insets according to selection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8616 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 05:28:51 +00:00
Angus Leeming
dcd66fa802 Georg's latest contribution to squashing bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8615 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-06 21:07:27 +00:00
André Pönitz
678d4d3ce8 and this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8609 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:47:55 +00:00
Angus Leeming
65aa219f2e Get the date right ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8602 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 14:01:30 +00:00
Angus Leeming
29e3a03b63 Squash bug 1372: Misleading graphics label when deactivating lyx view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8601 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 11:59:14 +00:00
Angus Leeming
0424a53b20 Wrap all #warning calls inside #ifdef WITH_WARNINGS blocks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8598 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 09:36:28 +00:00
Jürgen Spitzmüller
071120c767 fix the float fix and apply the fixed float fix to insetwrap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8589 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-02 08:54:37 +00:00
Jürgen Spitzmüller
a6c8ac4791 fix the float bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8585 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 10:43:45 +00:00
Alfredo Braunstein
3d1fe03e56 some spellcheck fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8572 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 17:58:11 +00:00
Angus Leeming
72f045c60f Rename getOutOfInset as leaveInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8568 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 09:24:43 +00:00
Angus Leeming
3666618138 Use Alfredo's getOutOfInset suggestion, but use it in the inset::dispatch
functions as suggested by Andre. Squashes the bug beautifully.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8567 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 08:43:47 +00:00
Angus Leeming
991b0ec589 A slightly buggy lfun all-insets-toggle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8564 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 12:36:33 +00:00
Alfredo Braunstein
610e905ed3 change iterators ctors, implement backwardPos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8562 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 08:18:09 +00:00
Jürgen Spitzmüller
7aadb167bf add bibtopic support (bug 870).
That's it for now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8560 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 13:17:25 +00:00
Jürgen Spitzmüller
4072a82b6e support for sidewaysfloats and fix for bug 1016 (float placement allows impossible settings).
BTW: floats are still broken (dialogs do not get updated). No idea where this bug sits.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8557 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 11:38:39 +00:00
Alfredo Braunstein
3e80b0b318 the pariterator stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8554 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 22:00:22 +00:00
Alfredo Braunstein
979a4d8ecf fixes 3 c&p crashes, and a vanishing insets bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8553 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 19:13:11 +00:00
Alfredo Braunstein
728193eacc fix collapsables drawing problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8547 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 13:29:17 +00:00
Angus Leeming
e26fc29a3c Squash a noisy but useless warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8537 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 23:57:40 +00:00
Angus Leeming
7c70a8ee0f Georg's take on Bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8528 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 10:12:44 +00:00
André Pönitz
0d43ba149a the stuff from the sneak preview:
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).

Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.

I had an extensive talk with my profiler and we are happy nevertheless.

This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now  lyx::cap::. Was inconsistent with the rest....

Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.

Remove some unneeded prototypes and function declarations

Use ParameterStruct directly instead of ShareContainer<ParameterStruct>

Inline a few accesses to CursorSlice members as suggested by the profiler.

Fix commandline conversion crash reported by Kayvan.

Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...

Remove math specific hack from Documentiterator

Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.

Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.

Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
Jürgen Spitzmüller
d6ed2fc309 use opening quotation marks after '[' char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8493 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-16 10:48:10 +00:00
Alfredo Braunstein
60cbc89f03 inlined open submode, in the hope someone will actually test it. Easy take it back if there are problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8483 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-10 08:50:46 +00:00
Jürgen Spitzmüller
b1fa5cd0d0 Add support for the jurabib package (www.jurabib.org), a package for elegant BibTeX references, as requested in bug 408.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8480 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-07 14:33:17 +00:00
Jürgen Spitzmüller
891bb08e37 support for second \cite option.
Natbib users can now use the before field.
file format is up to 230.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8479 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 14:49:10 +00:00
Alfredo Braunstein
bebf2f3c88 make right mouse button click only open the inset dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8475 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-04 07:38:11 +00:00
Alfredo Braunstein
1bef03ac20 make cygwin and Angus happy (remove insetlist.[Ch]).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8461 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 08:33:24 +00:00
Jean-Marc Lasgouttes
d891a896f4 Georg Baum\'s no-tempdir patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8458 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 12:00:53 +00:00
Jürgen Spitzmüller
56a3e2e1c0 add lfun 'quote-insert' arguments single/double (ERT fixes not included)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8450 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 10:32:44 +00:00
André Pönitz
357a3741c0 * insettabular.[Ch]: remove remains of the 'update' mechanism,
simplify cursor moving function,
	  re-enable horizontal scrolling for large tables

	* insetbase.C:
	* insetbase.[Ch]: remove explicit 'DispatchResult' return type and
	  implicitly assume 'DispatchResult(true, true) with exception of
	  InsetBase::priv_dispatch which does the equivalent of
	  'retrun DispatchResult(false)'

	* inset*.[Ch] (priv_dispatch): adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8435 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 11:58:51 +00:00
André Pönitz
02291d14f1 some table work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8432 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 16:22:53 +00:00
Alfredo Braunstein
09e11f4d38 fix some coordinates (tabular and math missing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8410 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 13:18:49 +00:00
Alfredo Braunstein
982344dc61 fix crash when opening collapsables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8399 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 09:14:27 +00:00
Lars Gullik Bjønnes
2e5976a0be Cleanup usage of contains and simplify a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8378 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-01 12:46:14 +00:00
André Pönitz
99aacdad5c more IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-30 11:41:12 +00:00
Lars Gullik Bjønnes
ca176cc434 std:: changes, stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8375 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-28 16:21:29 +00:00
Jean-Marc Lasgouttes
85fa1d41ba move Buffer::nice to LaTeXFeatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8364 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-21 17:52:07 +00:00
André Pönitz
ccc5d55764 Part of IU.
####################################################################

          1.4.0cvs is now NOT fit for any serious use

####################################################################


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8363 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-20 14:25:24 +00:00
André Pönitz
70d0ba9001 the monster patch
mathed is completely broken, but it's difficult to imprevo with such a
big patch in the tree.

If things don't improve until tomorrow evening, I'll revert this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8357 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 17:34:44 +00:00
André Pönitz
2336bc463a some selection work for tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8329 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-08 18:30:14 +00:00
Jean-Marc Lasgouttes
30f1fd59ae status tag patch from Georg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8315 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 14:36:43 +00:00
Lars Gullik Bjønnes
4b1212acf2 Some more functor work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8303 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 17:33:57 +00:00
Angus Leeming
1fe005b6c4 Update defaultTemplateName so that the external dialog opens with the
last-used template.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8292 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-02 21:25:02 +00:00
Angus Leeming
f0a2d5d9ae Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8291 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-02 21:22:37 +00:00
Jürgen Spitzmüller
038032fefd Michael's latest minipage cleanup patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8282 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 13:55:45 +00:00
Martin Vermeer
17b31b1764 get getDrawFont working again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8261 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-16 18:49:04 +00:00
André Pönitz
a97ed20502 merge CursorItem and MathPos
remove cached x and y values from Cursor
some tabular fixes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8251 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 11:36:19 +00:00
Angus Leeming
1cad117882 Overhaul the branches code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8247 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-14 16:33:56 +00:00
Jürgen Spitzmüller
83ceb3c57b Minipage is no more (long live the box inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8246 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-14 13:47:40 +00:00
André Pönitz
f4c49493be Michael Schmitt's collapse status patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8241 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 14:02:14 +00:00
Angus Leeming
f02dbbd049 Enable the InsetInclude dialog to be opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8235 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 10:20:17 +00:00
Angus Leeming
890bba60e4 Cruft removal, small clean-up, no functional changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8234 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 10:05:21 +00:00
Angus Leeming
fd355bbb2f Remove a whole heap of redundant functions from classes derived from
InsetCommand.
Clean-up many Mailer::string2params functions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8233 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-11 15:23:15 +00:00
Angus Leeming
041004baac Add a 'draft' option to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8231 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-11 11:16:19 +00:00
Angus Leeming
d43da3679e Modify the InsetBox format to always start 'Box'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8229 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:48:40 +00:00
Angus Leeming
d3990cdad5 Use the new lyxlex interface in InsetERT.
Ensure that InetExternalParams has a default template (RasterImage).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8227 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:32:05 +00:00
Angus Leeming
c2d7777341 InsetNote clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8226 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 17:28:14 +00:00
Angus Leeming
24ab0d6c05 Clean-up of the Note, Branch mailer interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 14:49:51 +00:00
André Pönitz
153ac7500c * inset.h:
* insetert.[Ch]:
	* insettabular.[Ch]:
	* insettext.[Ch]: remove unused insetInset()

	* insetert.C: disable some  LFUNs

	* insettoc.[Ch]: metrics() and draw() of InsetButton is enough.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8221 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 09:45:32 +00:00
Martin Vermeer
ee31454d59 Conglomerate-style CharStyles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8210 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-06 09:31:30 +00:00
Angus Leeming
bc045d9320 Enable InsetExternal to be hit by the mouse once again.
Some small additions to the ExternalTransforms stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8193 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-04 16:53:53 +00:00
André Pönitz
8fa8cfb4a3 remove Inset::getParagraphs()
cache 'outermost' inset font


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8192 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 18:17:20 +00:00
Martin Vermeer
2d61ce9b85 Fix label text updating bug reported by Kayvan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8191 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 16:33:12 +00:00
Angus Leeming
51fa9803d3 Ensure that InsetVSpace works with the new, simpler lyxlex syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8182 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 12:27:07 +00:00
André Pönitz
35f1ab544b move 'Inline' state from InsetERT to InsetCollapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8177 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 07:15:42 +00:00
Angus Leeming
0aea5bd320 Handle 'end_inset' gracefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8173 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 21:19:16 +00:00
Martin Vermeer
918a4067b5 Add latexparam to CharStyle inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8171 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 16:01:50 +00:00
Martin Vermeer
d6c55f8b50 Place inset content on the button when collapsed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8169 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:51:52 +00:00
Jürgen Spitzmüller
b06de5044f The VSpace fixes (removal of VSPACE::NONE) from Michael and myself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8168 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:16:27 +00:00
André Pönitz
4b2c271e23 * buffer.[Ch]:
* lyxtext.h: move ParagraphList member to LyXText
	rename LyXText::ownerParagraphs to LyXText::paragraph

	* CutAndPaste.C:
	* bufferview_funcs.C:
	* iterators.[Ch]:
	* lyx_cb.C:
	* paragraph.C:
	* rowpainter.C:
	* tabular.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

	* lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.

	* undo.C: fix cursor positioning
	* insetbase.h: whitespace

	* inset.[Ch]: remove latexTextWidth
	make setBackgroundColor virtual

	* insettext.[Ch]:  move ParagraphList member to LyXText

	* insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE

	* insetcharstyle.C:
	* insetenv.C:
	* insetert.[Ch]:
	* insetfloat.[Ch]:
	* insetminipage.[Ch]:
	* insettabular.C:
	* insetwrap.[Ch]: adjust paragraphs and background color handling,


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8166 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:35:49 +00:00
Angus Leeming
48f7421140 The VSpace inset is now fully functional AFAICT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8151 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 17:38:39 +00:00
Angus Leeming
3bb6b37043 Simplify the invocation of the Mailer::hide/showDialog() functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8150 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 17:13:41 +00:00
André Pönitz
7de76711b1 move space above/below from Paragraph into a separate vspace inset.
Gui interaction mailer stuff by Angus...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
Martin Vermeer
e8185081bc Syntax change for CharStyles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8147 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 10:12:04 +00:00
André Pönitz
84b462dd37 ismall stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 08:55:12 +00:00
Alfredo Braunstein
0ca871014a setFont rework + some code simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 09:22:41 +00:00
Alfredo Braunstein
1dc2202e8b adjust two comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8136 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 16:49:02 +00:00
Alfredo Braunstein
6b8618d6a1 make insetgraphics cache their position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8134 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 08:50:07 +00:00
André Pönitz
c01bf4fae4 * text2.C (updateCounters): remove call to redoParagraph on
changed labels as this is far too expensive.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8130 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 17:29:10 +00:00
André Pönitz
4bcfc9abe9 * insettext.C (setViewCache): don't call LyXText::init() anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8127 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 16:54:00 +00:00
André Pönitz
6ff15cc813 Michael's open-close-patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:26:11 +00:00
André Pönitz
a976dd9104 Michael Schmitt's patch to remove unused arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8114 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 14:59:24 +00:00
Alfredo Braunstein
43198fcbda xy0_->xyo_ + two fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8111 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 08:35:15 +00:00
Alfredo Braunstein
614fbe566c cursor work + absolute coords for lyxtext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8107 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-20 10:38:12 +00:00
Angus Leeming
c8507b7fcd Squash a bunch of warnings thrown up by g++.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8106 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-20 01:22:51 +00:00
Alfredo Braunstein
025cb611e3 mouse selection patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 20:28:11 +00:00
André Pönitz
dd4457d6ba and this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8096 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 14:52:12 +00:00
André Pönitz
69a698c48a * insettext.[Ch] (cx, cy): remove
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8091 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 12:39:24 +00:00
André Pönitz
3159d1a52e no need for three calls to update() in a row...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 13:43:44 +00:00
Alfredo Braunstein
79ae54d4c0 fitCursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 08:50:26 +00:00
Martin Vermeer
59fefa0759 The Character Style and XML short element inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8078 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-12 14:38:26 +00:00
Alfredo Braunstein
faa37a30d4 removing update calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8076 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 13:17:28 +00:00
Alfredo Braunstein
29eaa76094 some fitcursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 09:06:41 +00:00
André Pönitz
6b22f0e423 coordinate cache IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8071 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 15:38:20 +00:00
André Pönitz
59a60a7d3b remove InsetOld::id
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8066 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:55:30 +00:00
André Pönitz
b0cffd9fc0 The deed is done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:06:48 +00:00
Alfredo Braunstein
8aaf803192 skip ert on spellchecking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8060 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-07 09:40:49 +00:00
José Matox
cd424d7853 Rename ascii to plaintext and LatexRunParams to OutputParams.
Create new files for each output format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 12:06:20 +00:00
Alfredo Braunstein
9a4ff503a7 two small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8040 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 09:36:07 +00:00
André Pönitz
db78dbfa04 cursor changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8035 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:36:59 +00:00
Alfredo Braunstein
32a716152e the spellcheck cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8034 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:01:15 +00:00
Alfredo Braunstein
4ad989550c remove dead spellcheck code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8032 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 11:36:28 +00:00
Alfredo Braunstein
3a36ee90ff small fix to the locking nightmare
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8031 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 11:17:20 +00:00
Lars Gullik Bjønnes
05894b4862 some InsetText::priv_dispatch progress.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8028 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 08:33:23 +00:00
Lars Gullik Bjønnes
c1319d2c67 Change DispatchResult semantics a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8021 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 19:52:47 +00:00
Lars Gullik Bjønnes
c38370d1c3 the exception safety patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
André Pönitz
b8a3ae7449 remove Inset::id
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 16:46:44 +00:00
Lars Gullik Bjønnes
cc719fe0ce more dispatchresult changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8013 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 15:45:19 +00:00
Jürgen Spitzmüller
eeb6a77860 insetpagebreak: fix screen representation & ascii output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8012 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 14:09:35 +00:00
Alfredo Braunstein
d51f1114b1 prepare for global iterator's operator--
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8009 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 09:56:18 +00:00
José Matox
15c913fe5a unify API for insets export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-31 18:45:43 +00:00
José Matox
95d8934808 factorise linuxdoc and docbook output code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8005 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-30 08:47:16 +00:00
Lars Gullik Bjønnes
a7060da197 make dispatch_result_t ctor of DispatchResult explicit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8004 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 19:19:27 +00:00
Martin Vermeer
a3236d4c95 Small refactoring of DocBook stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8003 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:48:21 +00:00
Lars Gullik Bjønnes
1d7a715329 more dispatch work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8001 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:24:57 +00:00
Lars Gullik Bjønnes
b0eb70e869 dispatchresult -> DispatchResult
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 10:47:21 +00:00
André Pönitz
69fae0531d * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
* factory.C: handle new InsetPagebreak, InsetLine

	* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
	and move handling into new InsetPagebreak, InsetLine

	* BufferView_pimpl.C:
	* LyXAction.C:
	* ParagraphParameters.C:
	* ParameterStruct.h:
	* lyxfunc.C:
	* lyxtext.h:
	* paragraph.C:
	* paragraph.h:
	* paragraph_funcs.C:
	* paragraph_pimpl.C:
	* rowpainter.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

etc


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Angus Leeming
afc9aaf6eb Get rid of hte dynamic_casts in InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7980 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-25 20:09:52 +00:00
Angus Leeming
11c6ea653b Give InsetExternal the ability to preview its contents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7959 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 22:26:47 +00:00
Angus Leeming
78046794cc Add a Buffer::fully_loaded member function, returning true only when
the file has been loaded fully. Used to prevent the premature generation
of previews and by the citation inset to prevent computation of
the natbib-style label.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 13:15:18 +00:00
Angus Leeming
cf536b5db7 Move a couple of private member functions into namespace anon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7952 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 11:12:31 +00:00
Angus Leeming
f5d9beafd3 display() { return true; } only for those insets that are is display mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 10:22:09 +00:00
Martin Vermeer
de039bb341 Final touch 'inset display()'; fix 'is a bit silly' bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7941 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 13:04:14 +00:00
Martin Vermeer
50bbb55cb0 Re-introduce display() for insets, fixing various bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7940 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 18:56:48 +00:00
Lars Gullik Bjønnes
87ca6fbbeb the dispatch patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:01:15 +00:00
André Pönitz
18ce60e3c6 undo per inset. still a few crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 08:49:44 +00:00
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Angus Leeming
6fc6d7e010 Only draw the preview when previews are activated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:54:16 +00:00
André Pönitz
5c2f0c5c46 In insets:
2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

  * insetcollapsable.[Ch]:
  * insettabular.[Ch]:
  * insettext.[Ch]:
  * inset.h: getText() as alternative to getParagraphs()

In src:

2003-10-14  Andr� P�nitz  <poenitz@gmx.net>

	* iterators.[Ch]: new direct access to innermost LyXText and Inset

	* undo.[Ch]: restoring part of 'undo in insets'

	* Makefile.am:
	* undo_funcs.[Ch]: merge with undo.[Ch]

	* tabular.C: small cleansing stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:01:49 +00:00
Angus Leeming
e9e4ffb1d1 displayTranslator is now a function. No need to invoke setDisplayTranslator
explicitly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 21:50:33 +00:00
Angus Leeming
efae689873 Remove a couple of #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:00:39 +00:00
Angus Leeming
18b220ac99 No trailing whitespace left in src...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:43:15 +00:00
Lars Gullik Bjønnes
16e1f90daa ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7903 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 02:10:45 +00:00
Lars Gullik Bjønnes
da6d2de0ba do not call InsetOld::localDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:53:45 +00:00
Lars Gullik Bjønnes
75b485d110 DISPATCH -> dispatch_result
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7900 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:35:47 +00:00
Angus Leeming
122e7616d7 Minimise the use of the BufferView cache. The only things left using it
are InsetFormula, InsetExternal, InsetGraphic and InsetInclude that all
need to inform the BufferView of their changed status when the graphic
is loaded.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7897 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-12 18:54:12 +00:00
Angus Leeming
1c4ae33f9a A little further clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7895 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:24:06 +00:00
Angus Leeming
dff822442a RenderButton, RenderGraphic and RenderPreview now have a common lineage.
Almost sane code ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7894 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:08:55 +00:00
Angus Leeming
760829360d Towards saner generation of previews code. Yeah, I know. I wrote it in
the first place. I was younger then.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7888 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 23:14:30 +00:00
Angus Leeming
97a1af408e Remove the inset and view member functions from PreviewedInset.
Ensuing changes elsewhere.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 19:27:07 +00:00
Angus Leeming
8ddfa9d784 Don't use the cached BufferView to get the Buffer when we have direct access
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 14:36:16 +00:00