Commit Graph

7214 Commits

Author SHA1 Message Date
Angus Leeming
a9f5a1b06b Ensure that the build can find lyx_forms.h when srcdir != builddir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8535 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 23:45:55 +00:00
Alfredo Braunstein
9590084489 add a 'cancel' button to the two alert dialogs triggered in File->Open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8534 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 17:49:08 +00:00
Jean-Marc Lasgouttes
500fa5f591 display key binding in native UI style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8532 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 15:12:35 +00:00
Martin Vermeer
c158a7987b add using std::advance to compile for stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8531 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 08:27:14 +00:00
Angus Leeming
53ec3603e7 Remove test code in the LFUN_QUIT handler as it leads to a crash when no
buffer is present.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8530 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 17:24:13 +00:00
Martin Vermeer
31c24b4002 New LColor::setColor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8529 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 15:51:21 +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
Angus Leeming
4e9ea80fb5 Use SIGCHLD to reap zombies.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8526 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:38:54 +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
aa3ddafe96 GTK compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8524 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:03:02 +00:00
Jean-Marc Lasgouttes
af6712f963 more tweaks to i18nLibFileSearch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8523 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 13:19:07 +00:00
Jean-Marc Lasgouttes
54cdd0291a fix selection of locale when loading help files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8519 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 12:05:57 +00:00
Angus Leeming
e942a15dd8 Store the forked calls in boost::shared_ptr rather than a raw pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8518 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-23 14:39:41 +00:00
Jean-Marc Lasgouttes
5a59ab2c37 fix handling of read-only in getStatus; fix handling of LFUN_FILE_INSERT_*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8516 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-23 11:22:11 +00:00
Jean-Marc Lasgouttes
aefbd97a16 find correct ps and pdf previewers in win32 (bug 1508); remove lyxrc variable \ps_command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8515 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 16:22:52 +00:00
Jean-Marc Lasgouttes
f54151f2d6 update danish l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8513 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 15:31:12 +00:00
Angus Leeming
d4c54a1da3 Remove cruft left over from the removal of the Forks dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8511 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 14:10:20 +00:00
Angus Leeming
85bb58ad1d Remove unused nopos_ mamber variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8510 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 13:36:13 +00:00
Angus Leeming
c20a8956e4 Prevent tedious warning message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8509 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 13:35:36 +00:00
Angus Leeming
eed73def23 Make error handling a little more robust.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8508 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 13:09:59 +00:00
Alfredo Braunstein
f16a17fa42 Kayvan's patch (crash fix)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8507 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-21 10:16:39 +00:00
Alfredo Braunstein
87a0c7598f andre's "brown paper bag" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8506 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-19 16:36:52 +00:00
André Pönitz
bddfd8ff66 more privacy for CursorSlice members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8505 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:41:45 +00:00
André Pönitz
7892c861f9 more 'value' semantics for paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8504 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:12:51 +00:00
André Pönitz
7688a62d7e the forks compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8503 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:08:02 +00:00
André Pönitz
13a89fc8af remove part of old texted<->mathed interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8502 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:05:32 +00:00
Jean-Marc Lasgouttes
bed4cb9684 fix color nastiness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8501 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 15:49:44 +00:00
André Pönitz
b634b3eb3b split LyXFunc::getStatus() into inset specific chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8500 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:57:20 +00:00
André Pönitz
9e78fe66de remove a few rarely neede LyXTExt member functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8499 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:28:49 +00:00
André Pönitz
5198e1d9a3 The Buffer::LyXText -> Buffer::InsetText patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8498 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 12:53:43 +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
Alfredo Braunstein
f13b5fb356 tiny fix (current font was not set)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8496 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 19:08:16 +00:00
Alfredo Braunstein
39bccdb268 fix crash reported by Martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8495 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 18:48:53 +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
Jean-Marc Lasgouttes
4ad4dd0273 fix small error (bug 1533)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8491 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-15 11:43:52 +00:00
André Pönitz
ec4ab8ce18 revert Buffer LyxText->InsetText commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8489 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 17:16:38 +00:00
André Pönitz
1b3f5ee46f the Buffer::text -> inset change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8488 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 16:09:42 +00:00
Jean-Marc Lasgouttes
89c3a3baad create a reasonable list of textclasses when latex cannot be run
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8487 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 14:31:55 +00:00
Angus Leeming
f146640834 Georg's mangling patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8485 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 11:45:08 +00:00
Jean-Marc Lasgouttes
60e502702e update to osx build instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8484 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-10 17:36:14 +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
André Pönitz
83d91912b5 remove dead files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8482 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-08 21:15:33 +00:00
André Pönitz
4c8d536692 redo undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8481 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-08 21:14:45 +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
Martin Vermeer
6f4ac88ac8 Fix UI to branch activation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8478 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 13:33:56 +00:00
Jürgen Spitzmüller
f0b5144444 two small qbranch ui fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8477 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 13:08:08 +00:00
Alfredo Braunstein
97c371abd9 avoid endless loop in LCursor::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8476 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-04 07:49:40 +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