Commit Graph

696 Commits

Author SHA1 Message Date
Angus Leeming
026cce7c1e Fix bug 1876. Thanks Alfredo. Thanks Felix-Antoine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9902 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-03 22:24:43 +00:00
Angus Leeming
201e5bdf70 Fully enable compilation of LyX 1.4.x on Windows with MinGW/MinSYS.
Break compilation with MSVC. See accompanying mail on the lyx-devel list.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9895 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-02 13:35:30 +00:00
Martin Vermeer
e3d9f8c283 Trivial fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9890 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-29 11:52:52 +00:00
Angus Leeming
fb70c52b05 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9877 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 11:12:20 +00:00
Georg Baum
a70b4ef051 refine the logic for checking whether a dialog may apply its data or not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9874 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 09:37:52 +00:00
Jean-Marc Lasgouttes
c8babc2cbf update counters if secnumdepth has changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9829 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-19 08:56:15 +00:00
Georg Baum
a1ba34bef9 disable open dialogs if applying them is not allowed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9811 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-13 09:43:58 +00:00
Martin Vermeer
dbbcea2f5e Fix bug 1843
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9750 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-27 07:14:12 +00:00
Jean-Marc Lasgouttes
f5bde88677 support \% in bib files; support annote field
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9732 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 14:31:22 +00:00
Lars Gullik Bjønnes
aa491cdb98 dociterator dont inherit from std::vector and updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9602 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-08 13:18:05 +00:00
Lars Gullik Bjønnes
b6e6f87f71 ditch FileInfo -> use boost.filesystem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 10:42:26 +00:00
Angus Leeming
1b264d6f7d Rename some of the elements of the SpellBase::Result enum.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9513 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 16:17:37 +00:00
Angus Leeming
c9f9ba315c Asger's exchanging of the class and struct keywords.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9502 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-19 15:03:31 +00:00
Asger Ottar Alstrup
282bf655ed - Add missing STL includes for correctness - gcc is too forgiving
- Add missing using statements
- Guard #warning statements


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 14:15:57 +00:00
Angus Leeming
2365df80bf Invoke scripts by prepending the name of the script language executable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9489 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-17 18:54:01 +00:00
Jean-Marc Lasgouttes
06788449ec enable Goto error (bug 1760)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9464 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-11 13:22:42 +00:00
Angus Leeming
b5589bf6cf The package reworking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff rename tostr.[Ch] to convert.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506 tostr -> convert and some bformat work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Martin Vermeer
eebda223db The ��ngstr��m, ��rsted patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9394 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-17 13:34:02 +00:00
Lars Gullik Bjønnes
a4319c2b89 more PCH_FLAGS work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9341 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-04 14:50:25 +00:00
Lars Gullik Bjønnes
c73eea9bda use AM_CPPFLAGS instead of INCLUDES since that is deprecated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 19:11:38 +00:00
Georg Baum
e70294c413 use better index types for tabular rows, columns and cells than int
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9334 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 13:57:50 +00:00
Alfredo Braunstein
a2cd656e25 CoordBranch merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
Angus Leeming
68b0cca2e7 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9314 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 14:52:54 +00:00
Angus Leeming
8eea28ec80 Give FileFilterList its own .[Ch] files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9305 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 11:08:32 +00:00
Jean-Marc Lasgouttes
ce2cab2732 update the screen while spellchecking and merging changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9289 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-22 14:56:14 +00:00
Jean-Marc Lasgouttes
020972b7f9 get rid of Paragraph::isWord; ignore words with digits in spellchecker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9268 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 14:58:54 +00:00
Georg Baum
feb701e35e determine current cell in the tabular controller instead of the inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9265 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 12:58:19 +00:00
Georg Baum
dacd4cea26 make gettting the file format from file contents work in the correct way ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9218 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-09 19:08:34 +00:00
Jean-Marc Lasgouttes
cb15371de3 add possibility to specify the origin of a FuncRequest; use it to get rid of the "verbose" flag in dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9205 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-08 10:54:29 +00:00
Georg Baum
6fe9e4e30d rename getExtFromContents() to getFormatFromContents()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9141 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 15:47:55 +00:00
Angus Leeming
e5706b107d The Movers patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9130 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 18:39:13 +00:00
John Spray
b0a20c95ff gtk changes dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9079 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-11 14:29:15 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Jean-Marc Lasgouttes
09b67226eb fix backwards search (bug 1666)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8988 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-17 16:28:47 +00:00
Georg Baum
bcec816212 let the "load" button of insetinclude do something useful with nonlyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8985 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-16 18:03:07 +00:00
Lars Gullik Bjønnes
197c26de99 More pch work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8956 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 14:20:18 +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
56c470c33d make browsing for lyxdir files DTRT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8872 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-08 15:23:43 +00:00
Jean-Marc Lasgouttes
9e25f077c3 do not use QFileDialog directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8871 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-08 13:17:22 +00:00
Lars Gullik Bjønnes
e34a1e90af obvious stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8851 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-25 00:04:42 +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
Angus Leeming
0ac4f65ad7 Sane ordering of the files #included in the Qt frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8772 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-20 09:36:28 +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
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
ea6a5fe92d Move the biblio::CiteEngine enum into bufferparams.h to minimize
dependencies on frontends/controllers/biblio.h.
Small clean up of the existing biblio.h interfaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8753 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 13:13:20 +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
Angus Leeming
c4762f9452 Whitespace, only whitespace...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:51:15 +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
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
ceff8c17ef Realize Allan Rae's PreferencesPolicy correctly and return the
preferences dialogs of all three frontends to it. The 'Save' button
should now behave as expected when the dialog is closed and reopened.
Squashes bug 1274 for the 1.4.x tree.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8612 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 18:34:36 +00:00
Angus Leeming
9f4d9b92b9 Bug fix: enable the frontend to ignore the contents of system_lyxrc
when posting the user's changes to lyxrc back to the core.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8611 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 18:21:25 +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
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
Lars Gullik Bjønnes
68b7ef25fb simple ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8594 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 08:37:12 +00:00
Angus Leeming
12780bf2b6 Removed another historical artefact.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8587 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 18:53:03 +00:00
Angus Leeming
d2603b93c7 Remove all the cruft needed by the original MVC dialog code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8578 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 22:09:52 +00:00
Angus Leeming
b518346bbd Convert the preamble dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8576 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 20:55:59 +00:00
Angus Leeming
2bff4a6c86 Convert the spellchecker dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8575 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 19:51:55 +00:00
Alfredo Braunstein
303a6c126c s/DocumentIterator/DocIterator/g a.k.a showing off my sed abilities. Sorry for the cvs spam.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8574 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 19:11:56 +00:00
Angus Leeming
2f10d02e30 Convert the prefs dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8573 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 18:51:11 +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
931a49cc87 A new LFUN_LYXRC_APPLY lfun, together with a bit of a clean-up of the
preferences dialog code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8570 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 16:50:59 +00:00
Angus Leeming
7ae6332b03 Move the document dialog over to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8566 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 19:18:14 +00:00
Angus Leeming
eddeb13d2d 5 new lfuns, move all apply code out of ControlDocument and into the core.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8565 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 16:19:50 +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
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
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
Angus Leeming
39ec3d0eb8 Introduce LFUN_PRINT.
Convert the printer dialog to the Dialog-based scheme.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8552 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 14:12:33 +00:00
Angus Leeming
71a40af134 New LFUN_EXPORT_CUSTOM.
Convert the Sendto dialog to the Dialog-based scheme.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8551 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 23:11:46 +00:00
Angus Leeming
b11b6f78b1 Squash a bunch of compiler warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8538 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 01:18:51 +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
Angus Leeming
120e59bc97 64 bit compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8525 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:06:17 +00:00
Angus Leeming
5394e9acc5 Remove the Forks dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8497 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 21:21:47 +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
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
André Pönitz
4bcfc43c29 IU stuff + shuffling things from BV::dispatch to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8427 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 07:30:59 +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
Lars Gullik Bjønnes
3420904448 The func.diff patch. Functors work and some tiny cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-31 15:30:24 +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
Lars Gullik Bjønnes
c812bf5ba4 unpimplify ParIterator, move some functions around, remove some friends.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8374 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-27 15:14:34 +00:00
Lars Gullik Bjønnes
7ea6f6e883 use std::advance and std::distance instead of home-grown versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8372 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 17:00:09 +00:00
Angus Leeming
be2ce42c65 Convert the Search/Replace dialog to the cleaner MCV scheme.
The dispatch reaches the correct place in the core, but the core
doesn't seem to act on it properly. No doubt Andr�'s doing ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8370 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 00:43:56 +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
691594432d more shuffling...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8347 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:21:39 +00:00
Alfredo Braunstein
fcd7023559 partial fix to Bug 1251. The bug is still present, but only when pressing 'esc' for exiting the index dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8330 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-09 08:52:53 +00:00
Angus Leeming
2f1d525ee1 Handle Qt-style file filters like
"TeX documents (*.tex);;LyX Documents (*.lyx)".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8327 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-08 10:59:51 +00:00
Lars Gullik Bjønnes
2f33eaa286 Make some functors adaptable and related small stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8324 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 17:57:47 +00:00
Angus Leeming
5f96595b44 Handle the new LFUN_WORD_FIND and LFUN_WORD_REPLACE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8323 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 17:00:03 +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
Angus Leeming
a36dbf39f7 (Martin): enable the math panel sub/superscript buttons once again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8245 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 20:47:56 +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
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
Angus Leeming
71e352f3f4 Say "Byeeeee" to 472 lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8205 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-05 14:07:24 +00:00
Angus Leeming
dbd0f58ebc Rationalize the interface to the log dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8204 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-05 13:37:23 +00:00
Angus Leeming
8c374dcefb Some helper functions for the augmented dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8195 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-04 18:51:55 +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
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
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
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
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
Alfredo Braunstein
338b173b3c finer error handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8054 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 10:52:15 +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
eb1bad7210 small fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8030 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 10:30:36 +00:00
Alfredo Braunstein
918df906bb spellcheck cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8024 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 00:26:50 +00:00
Jürgen Spitzmüller
4c3beeee65 qt branches: color fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7981 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 07:05:07 +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
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
6cebb34085 Get rid of LyXFunc::dispatch that takes a string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7898 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 00:38:09 +00:00
André Pönitz
dcd8fb0428 replace ParagraphList::iterator by lyx::paroffset_type to prevent cursor
invalidation if the paragraphlist is changed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 10:52:12 +00:00
Angus Leeming
627f2c70fa Fix a bunch of doxygen warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 11:31:51 +00:00
Angus Leeming
1e8ce61177 * Rename InsetExternal::Params as InsetExternalParams. Consistent with
other Params structs. Allows it to be forward delclared.
* Unclutter insetexternal.[Ch] by moving helper functions to new files
ExternalSupport.[Ch].
* Fix export to LaTeX and PDFLaTeX without breaking use of the temp dir.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7874 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 20:25:10 +00:00
Martin Vermeer
800c0dfc38 The Box patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7865 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 07:42:15 +00:00
Martin Vermeer
eb36b71ce3 add <string> and other small fixes to make
Lars' std::string patch compile with STLport.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7864 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 06:45:25 +00:00
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Angus Leeming
27f298812d Introduce namespace lyx::external.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7843 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 10:16:00 +00:00
Angus Leeming
9a3737148b Re-add the RasterImage template.
Several small clean-ups of the InsetExternal code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7823 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-25 10:49:13 +00:00
Lars Gullik Bjønnes
08265598c5 some configure output changes, fix a new bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7798 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 16:02:54 +00:00
Angus Leeming
c319aee7c2 Fix InsetInclude properly. Data is now stored in an InsetCommandParams
var rather tahn that nasty kludge InsetInclude::Params. Functions
that need info about the Buffer are passed a 'Buffer const &' arg.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7797 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 10:16:33 +00:00
Angus Leeming
4348674beb Small clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7795 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 22:26:46 +00:00
Angus Leeming
2e7ac7ca77 Rename EnumLColor as LColor_color.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7788 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:48:11 +00:00
Angus Leeming
0d54d6b74d Remove #include "LColor.h" from inset.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7766 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:44:34 +00:00
Angus Leeming
15dc5fa5d6 lyxfont.h no longer #includes LColor.h.
Change the LyXFont setXYZ member functions to return void, not LyXFont &.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7765 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:01:15 +00:00
Angus Leeming
a6ccea4f21 The EnumLColor patch, free of macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7759 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:20:22 +00:00
Lars Gullik Bjønnes
cd03e2b7db Get rid of lyxstring, remove usage of STRCONV.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +00:00
Angus Leeming
57a24ea912 Replace 'using namespace abc;' with 'using abc::xyz;'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Angus Leeming
ffdb0baea3 Get rid of trailing whitespace 'noise' in future patches for the
forseeable future.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7724 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 18:27:24 +00:00
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
f9c1cafbe6 Pragmatic pimpl-ing of BufferParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7721 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:00:19 +00:00
Angus Leeming
e835c9477b Pimpl Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7719 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 11:24:33 +00:00
Angus Leeming
fd36f5ad76 Make buffer's member variables private; use accessor functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7717 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:47:59 +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
Angus Leeming
0705dae8a3 Finish the task of removing all cruft from the header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7703 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 21:25:37 +00:00
Angus Leeming
0f9678630c Remove all unnecessary #includes from header files.
Add them as appropriate to .C files.
Rename Voss as Vo�, Juergen as J�rgen and Spitzmueller as Spitzm�ller.
Happy compiling.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7701 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-07 01:45:40 +00:00
Angus Leeming
4fb18536e9 General tidy. Not very exciting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7699 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 23:01:26 +00:00
Angus Leeming
462eca7d1a Remove a couple of #includes from buffer.h
Reorder #includes in lots of files into some semblence of a coherent order.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7695 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 18:38:02 +00:00
Angus Leeming
f3bff9d5d8 Move depth_type to support/types.h.
Remove paragraph.h from buffer.h, paragraph_funcs.h.
Add paragraph.h to a heap of .C files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7694 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 17:23:08 +00:00
Angus Leeming
2e1eeac0b9 Replace ParagraphList.h with ParagraphList_fwd.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7693 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 12:36:58 +00:00
Angus Leeming
cba1fa5848 Add missing headers. With thanks to Martin...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7688 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 22:17:02 +00:00
Angus Leeming
f239801ae3 Changes due to the removal of using directives from support/std_sstream.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 18:02:24 +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
Angus Leeming
97035ea00a Another 49 #includes bite the dust.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7681 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 15:31:19 +00:00
Angus Leeming
34724201a1 Ensure that the header file can be compiled stand-alone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7680 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 15:08:49 +00:00
Angus Leeming
1dffc5cfe4 Move #includes out of header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Angus Leeming
a52418b360 Revert, revert, revert. Sorry about that, y'all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7651 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:40:58 +00:00
Angus Leeming
9498f9758f src/support/ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:28:39 +00:00