]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agofix client linking
André Pönitz [Wed, 15 Aug 2007 23:12:45 +0000 (23:12 +0000)]
fix client linking

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19596 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd Susana to list of contributors
José Matox [Wed, 15 Aug 2007 20:32:49 +0000 (20:32 +0000)]
Add Susana to list of contributors

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19593 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix file format
Jean-Marc Lasgouttes [Wed, 15 Aug 2007 19:25:59 +0000 (19:25 +0000)]
fix file format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19592 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix signal crash with gcc 3.
Abdelrazak Younes [Wed, 15 Aug 2007 15:13:22 +0000 (15:13 +0000)]
fix signal crash with gcc 3.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19591 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompilation fix
Jean-Marc Lasgouttes [Wed, 15 Aug 2007 13:47:32 +0000 (13:47 +0000)]
compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19590 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix child document labeling (const missing from overloaded updateLabels()).
Abdelrazak Younes [Wed, 15 Aug 2007 12:15:16 +0000 (12:15 +0000)]
Fix child document labeling (const missing from overloaded updateLabels()).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19589 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd Biblio.{cpp,h}
André Pönitz [Wed, 15 Aug 2007 10:12:36 +0000 (10:12 +0000)]
add Biblio.{cpp,h}

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19588 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoeol-style to native.
Abdelrazak Younes [Wed, 15 Aug 2007 08:57:58 +0000 (08:57 +0000)]
eol-style to native.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19587 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* Buffer.cpp: load all child documents in one go where it makes sense. This has the...
Abdelrazak Younes [Wed, 15 Aug 2007 08:55:36 +0000 (08:55 +0000)]
* Buffer.cpp: load all child documents in one go where it makes sense. This has the advantage to call updateLabels() only once for the master buffer. We can think of maintaining a child document list in the future.

* Biblio.cpp: fillWithBibKeys(): ditto.

* InsetInclude.cpp: loadIfNeeded(): set the parent name in any case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19586 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
Abdelrazak Younes [Wed, 15 Aug 2007 08:29:10 +0000 (08:29 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19585 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agowhitespace
Alfredo Braunstein [Wed, 15 Aug 2007 06:53:25 +0000 (06:53 +0000)]
whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19584 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMinor adjustment to previous commit.
Richard Heck [Wed, 15 Aug 2007 04:37:14 +0000 (04:37 +0000)]
Minor adjustment to previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19582 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd LFUN_PARAGRAPH_PARAMS (= paragraph-params), used for changing a paragraph's align...
Richard Heck [Wed, 15 Aug 2007 02:21:09 +0000 (02:21 +0000)]
Add LFUN_PARAGRAPH_PARAMS (= paragraph-params), used for changing a paragraph's alignment, spacing, etc. This is complementary to LFUN_PARAGRAPH_PARAMS_APPLY, which sets the parameters. The difference is that APPLY over-rides all existing parameters, setting any not given to the default, whereas this one simply changes those that are given. So
  paragraph-params \align right
will align the paragraph right, leaving spacing, etc, as they were, whereas
  paragraph-params-apply \align right
will align the paragraph right but also reset all other parameters to defaults. Note, by the way, that this means that
  paragraph-params-apply
sets everything to default.

Some new arguments have also been introduced. These are:
  \indent
  \indent-toggle
  \spacing default
Of course, none of these are found in valid LyX files, but they are useful in menu bindings, etc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19581 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoproperly properly traces of alternative frontends
Jean-Marc Lasgouttes [Tue, 14 Aug 2007 23:24:38 +0000 (23:24 +0000)]
properly properly traces of alternative frontends

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19580 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agodocumentation: apply the last cleanups also to the other languages
Uwe Stöhr [Tue, 14 Aug 2007 23:09:56 +0000 (23:09 +0000)]
documentation: apply the last cleanups also to the other languages

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19579 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoinstaller: forgot changelog
Uwe Stöhr [Tue, 14 Aug 2007 22:55:22 +0000 (22:55 +0000)]
installer: forgot changelog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19576 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUserGuide.lyx: fix a chapter title
Uwe Stöhr [Tue, 14 Aug 2007 22:53:07 +0000 (22:53 +0000)]
UserGuide.lyx: fix a chapter title

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19575 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbeddedObjects.lyx: fix version number
Uwe Stöhr [Tue, 14 Aug 2007 22:52:31 +0000 (22:52 +0000)]
EmbeddedObjects.lyx: fix version number

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19574 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDummyDocument1/2.lyx: fix author names, a relict of a bug in LyX 1.5.0beta times
Uwe Stöhr [Tue, 14 Aug 2007 22:52:09 +0000 (22:52 +0000)]
DummyDocument1/2.lyx: fix author names, a relict of a bug in LyX 1.5.0beta times

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19573 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoinstaller: support for the new Portuguese translation
Uwe Stöhr [Tue, 14 Aug 2007 22:32:02 +0000 (22:32 +0000)]
installer: support for the new Portuguese translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19570 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompilation fix
Jean-Marc Lasgouttes [Tue, 14 Aug 2007 22:18:27 +0000 (22:18 +0000)]
compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19568 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCosmetics.
Richard Heck [Tue, 14 Aug 2007 17:01:22 +0000 (17:01 +0000)]
Cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19567 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix crash when the Outline dialog is opened on an empty document. This was caused...
Abdelrazak Younes [Tue, 14 Aug 2007 16:59:59 +0000 (16:59 +0000)]
Fix crash when the Outline dialog is opened on an empty document. This was caused by the commented out updateLabels() in LyXFunc::menuNew().

* Text: new empty() method.

* buffer_funcs.cpp:updateLabels(): return early in case of empty document.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19566 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMove the lyx::biblio namespace into src/. Also make changes to how the BibTeX
Richard Heck [Tue, 14 Aug 2007 16:50:51 +0000 (16:50 +0000)]
Move the lyx::biblio namespace into src/. Also make changes to how the BibTeX
information is acquired. This involves (i) moving the bulk of fillWithBibKeys()
into Biblio.cpp, (ii) introducing a virtual method Inset::fillWithBibKeys() that,
by default, does nothing, and (iii) over-riding this method in the insets that do
need to do something.

This is all preparatory for a more substantial re-working of the BibTex code,
which should follow shortly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19565 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* callback.cpp: newFile() takes a LyXView instead of a BufferView.
Abdelrazak Younes [Tue, 14 Aug 2007 15:32:58 +0000 (15:32 +0000)]
* callback.cpp: newFile() takes a LyXView instead of a BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19564 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTransfer q_key_state() from GuiWorkArea.cpp to QKeySymbol.cpp. This will also be...
Abdelrazak Younes [Tue, 14 Aug 2007 15:00:09 +0000 (15:00 +0000)]
Transfer q_key_state() from GuiWorkArea.cpp to QKeySymbol.cpp. This will also be used later in GuiView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19562 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
Abdelrazak Younes [Tue, 14 Aug 2007 14:41:06 +0000 (14:41 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19561 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix crash with updateLabels(). I changed the the test in the assertion but endless...
Abdelrazak Younes [Tue, 14 Aug 2007 14:31:41 +0000 (14:31 +0000)]
Fix crash with updateLabels(). I changed the the test in the assertion but endless loops should be equally prevented with this version.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19560 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofixing the 580 fix also for trunk
Martin Vermeer [Tue, 14 Aug 2007 14:21:46 +0000 (14:21 +0000)]
fixing the 580 fix also for trunk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19559 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoProbable compile fix.
Abdelrazak Younes [Tue, 14 Aug 2007 13:20:16 +0000 (13:20 +0000)]
Probable compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19557 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoTransfer Drag&Drop handling from GuiWorkArea to GuiView.
Abdelrazak Younes [Tue, 14 Aug 2007 13:14:47 +0000 (13:14 +0000)]
Transfer Drag&Drop handling from GuiWorkArea to GuiView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19556 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoheaders
Abdelrazak Younes [Tue, 14 Aug 2007 12:25:21 +0000 (12:25 +0000)]
headers

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19555 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix eol-style
Abdelrazak Younes [Tue, 14 Aug 2007 12:13:55 +0000 (12:13 +0000)]
fix eol-style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19554 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics + move frontends/* to frontend namespace.
Abdelrazak Younes [Tue, 14 Aug 2007 09:54:59 +0000 (09:54 +0000)]
cosmetics + move frontends/* to frontend namespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19553 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix MSVC warning.
Abdelrazak Younes [Tue, 14 Aug 2007 09:44:38 +0000 (09:44 +0000)]
fix MSVC warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19552 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCosmetic changes and more assertions.
Abdelrazak Younes [Tue, 14 Aug 2007 08:53:34 +0000 (08:53 +0000)]
Cosmetic changes and more assertions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19551 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd --with-qmake options to ./configure. using it overwrites the automake generated...
André Pönitz [Tue, 14 Aug 2007 08:03:23 +0000 (08:03 +0000)]
add --with-qmake options to ./configure. using it overwrites the automake generated Makefiles with qmake generated ones

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19546 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUpdate po directory, new Portuguese translation
José Matox [Tue, 14 Aug 2007 07:37:47 +0000 (07:37 +0000)]
Update po directory, new Portuguese translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19544 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoprepare ground for a hybrid autoconf/qmake build
André Pönitz [Tue, 14 Aug 2007 05:30:05 +0000 (05:30 +0000)]
prepare ground for a hybrid autoconf/qmake build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19542 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix scons, telling scons how to moc files is still needed
Bo Peng [Tue, 14 Aug 2007 05:02:50 +0000 (05:02 +0000)]
fix scons, telling scons how to moc files is still needed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19541 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUserGuide.lyx:
Uwe Stöhr [Tue, 14 Aug 2007 02:16:56 +0000 (02:16 +0000)]
UserGuide.lyx:
- finish Appendix A, the document is now ready except of Appendix B (description of the preferences dialog)
- add hint about XeTeX
- cleaned up index and cross-references
- add description of clearpage

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19540 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd version information to the lyx executable on Windows.
Enrico Forestieri [Tue, 14 Aug 2007 01:34:26 +0000 (01:34 +0000)]
Add version information to the lyx executable on Windows.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19537 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix dist target
Enrico Forestieri [Tue, 14 Aug 2007 01:30:33 +0000 (01:30 +0000)]
Fix dist target

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19536 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomore cleanups
Jean-Marc Lasgouttes [Tue, 14 Aug 2007 00:46:11 +0000 (00:46 +0000)]
more cleanups

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19535 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd ugly hack to make client link again
André Pönitz [Tue, 14 Aug 2007 00:25:45 +0000 (00:25 +0000)]
add ugly hack to make client link again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19533 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomore boost fixes
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 23:48:39 +0000 (23:48 +0000)]
more boost fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19532 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 4121. The cause was the empty on_available_entered method. Not sure why
Richard Heck [Mon, 13 Aug 2007 23:25:47 +0000 (23:25 +0000)]
Fix bug 4121. The cause was the empty on_available_entered method. Not sure why
that caused the bug, but it does.
Also fix some other UI bugs, relating to resets of the selection models. These
look gratuitous and cause problems in the current code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19530 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agotry to be nice
André Pönitz [Mon, 13 Aug 2007 22:43:50 +0000 (22:43 +0000)]
try to be nice

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19529 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUpdate of documentation in the source related to bug 4135 and the function callback...
Christian Ridderström [Mon, 13 Aug 2007 22:07:33 +0000 (22:07 +0000)]
Update of documentation in the source related to bug 4135 and the function callback.cpp::writeAs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19528 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosome progress on the linking front
André Pönitz [Mon, 13 Aug 2007 21:58:05 +0000 (21:58 +0000)]
some progress on the linking front

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19527 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 409 (Add support for numbered footnotes)
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 20:29:33 +0000 (20:29 +0000)]
Fix bug 409 (Add support for numbered footnotes)

* src/insets/InsetFoot.cpp (updateLabels): number the footnote if
(1) the footnote counter exists and (2) it is not in a title
layout

* lib/layouts/stdcounters.inc: add a footnote counter.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19524 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompilation warning
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 20:12:52 +0000 (20:12 +0000)]
compilation warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19523 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoforgot this
André Pönitz [Mon, 13 Aug 2007 20:00:27 +0000 (20:00 +0000)]
forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19522 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompile boost/*.cpp in one go and do not use precompiled headers there. speeds up...
André Pönitz [Mon, 13 Aug 2007 19:48:30 +0000 (19:48 +0000)]
compile boost/*.cpp in one go and do not use precompiled headers there. speeds up compilation in boost by more than a factor of three

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19521 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoI forget this in rev 19515.
Abdelrazak Younes [Mon, 13 Aug 2007 19:40:54 +0000 (19:40 +0000)]
I forget this in rev 19515.

* InsetInclude: loadIfNeeded()
- make it non anonymous (used in loadChildDocuments()).
- now return the loaded buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19520 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago * buffer_funcs.cpp (updateLabels): fix crash: par_iterator_begin already
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 19:33:35 +0000 (19:33 +0000)]
* buffer_funcs.cpp (updateLabels): fix crash: par_iterator_begin already
puts cursor at the right place.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19519 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd some comment
André Pönitz [Mon, 13 Aug 2007 19:13:39 +0000 (19:13 +0000)]
add some comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19518 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomake the static version link again
André Pönitz [Mon, 13 Aug 2007 19:08:35 +0000 (19:08 +0000)]
make the static version link again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19517 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosmall fix to selection of last view source line
Alfredo Braunstein [Mon, 13 Aug 2007 19:07:46 +0000 (19:07 +0000)]
small fix to selection of last view source line

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19516 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* loadChildDocuments(): new function to load all child documents in a given buffer...
Abdelrazak Younes [Mon, 13 Aug 2007 18:11:43 +0000 (18:11 +0000)]
* loadChildDocuments(): new function to load all child documents in a given buffer. This will be used for a new LFUN_LOAD_CHILD_DOCUMENTS and for pre-loading all child documents when certain action (latex export, bibtex parsing, label and reference).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19515 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* QLPainter::text():
Abdelrazak Younes [Mon, 13 Aug 2007 17:35:09 +0000 (17:35 +0000)]
* QLPainter::text():
- reorganize the code to minimize indentation by returning early for special cases
- use a pixmap cache for word drawing. This can be disabled by setting USE_PIXMAP_CACHE to 0 at the top of QLPainter.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19513 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix update bug when leaving a wide inset with up or down arrow.
Richard Heck [Mon, 13 Aug 2007 17:23:42 +0000 (17:23 +0000)]
Fix update bug when leaving a wide inset with up or down arrow.
Override notifyCursorLeaves() in InsetText to force update when
inset was wide. Should be removed if and when wide is.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19511 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix makefile for 19498.
Richard Heck [Mon, 13 Aug 2007 17:22:52 +0000 (17:22 +0000)]
Fix makefile for 19498.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19510 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix for bug 4135
Christian Ridderström [Mon, 13 Aug 2007 17:15:04 +0000 (17:15 +0000)]
Fix for bug 4135

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19509 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix scons for Andre's LYX_DATE changes
Bo Peng [Mon, 13 Aug 2007 15:46:33 +0000 (15:46 +0000)]
fix scons for Andre's LYX_DATE changes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19508 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago * inset/InsetTabular.cpp (doDispatch): LFUN_MOUSE_PRESS: let Text::dispatch
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 15:38:32 +0000 (15:38 +0000)]
* inset/InsetTabular.cpp (doDispatch): LFUN_MOUSE_PRESS: let Text::dispatch
do the work, unless we really have a reason not to (fixes bug 4133)

* mathed/InsetMathNest.cpp (lfunMousePress): refactor the code to use
BufferView::mouseSetCursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19506 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompil fix.
Abdelrazak Younes [Mon, 13 Aug 2007 15:36:29 +0000 (15:36 +0000)]
compil fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19505 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompilation fix
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 15:22:13 +0000 (15:22 +0000)]
compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19504 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoThis implements selection of current cursor position (and main selection) \
Alfredo Braunstein [Mon, 13 Aug 2007 14:24:49 +0000 (14:24 +0000)]
This implements selection of current cursor position (and main selection) \
in the view source panel

* Buffer.cpp (getSourceCode, writeLaTeXSource): fix sync between output and texrow
* frontends/controllers/ControlViewSource.{h,cpp} (getRows): new method to get the current selection in term of latex rows
* frontends/qt4/QViewSource.{h,cpp}: make a selection in the ViewSource widget

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19503 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* TexRow.{h,cpp} switch from std::list to std::vector
Alfredo Braunstein [Mon, 13 Aug 2007 14:04:35 +0000 (14:04 +0000)]
* TexRow.{h,cpp} switch from std::list to std::vector
(operator+=): remove unused method
(getRowFromIdPos) new method to get the texrow from id,pos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19502 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoOptimisation: don't search twice the hash tables.
Abdelrazak Younes [Mon, 13 Aug 2007 13:56:54 +0000 (13:56 +0000)]
Optimisation: don't search twice the hash tables.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19501 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* DocIterator.h (forwardPosNoDescend): remove method
Alfredo Braunstein [Mon, 13 Aug 2007 13:36:19 +0000 (13:36 +0000)]
* DocIterator.h (forwardPosNoDescend): remove method
* DocIterator.cpp (forwardPos, backwardPos): move the 'flat' part to...
* CursorSlice.{h,cpp} (forwardPos, backwardPos, at_end, at_begin): new methods, the first two are part of their DocIterator homonym
* Text2.cpp (setFont): receive CursorSlice arguments as the function is not recursive, adapt
* Text.cpp:
* lyxfind.cpp (findNextChange):
* insets/InsetCollapsable.cpp: adapt

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19500 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix compilation
Alfredo Braunstein [Mon, 13 Aug 2007 13:11:49 +0000 (13:11 +0000)]
fix compilation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19499 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoPrepare for inset configurability
Martin Vermeer [Mon, 13 Aug 2007 12:13:17 +0000 (12:13 +0000)]
Prepare for inset configurability

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19498 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoremove special handling of version.cpp[.in]
André Pönitz [Mon, 13 Aug 2007 12:04:57 +0000 (12:04 +0000)]
remove special handling of version.cpp[.in]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19497 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agostd::count is now assumed to exist, remove the check for it
André Pönitz [Mon, 13 Aug 2007 07:25:40 +0000 (07:25 +0000)]
std::count is now assumed to exist, remove the check for it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19496 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoprecompiled headers
André Pönitz [Mon, 13 Aug 2007 07:14:56 +0000 (07:14 +0000)]
precompiled headers

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19494 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix scons
Bo Peng [Mon, 13 Aug 2007 03:19:57 +0000 (03:19 +0000)]
fix scons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19491 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agolib/doc/clipart: Add two new images for the Userguide
Uwe Stöhr [Mon, 13 Aug 2007 01:35:48 +0000 (01:35 +0000)]
lib/doc/clipart: Add two new images for the Userguide

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19490 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUserGuide.lyx updates: - add description of Change Tracking and phonetic symbols
Uwe Stöhr [Mon, 13 Aug 2007 01:30:16 +0000 (01:30 +0000)]
UserGuide.lyx updates: - add description of Change Tracking and phonetic symbols

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19489 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agobuffer-update_ps.xpm: - fix color definition to be able to reference it in the docs
Uwe Stöhr [Sun, 12 Aug 2007 23:06:40 +0000 (23:06 +0000)]
buffer-update_ps.xpm: - fix color definition to be able to reference it in the docs
(with old definition it appeared gray in PDF-output)
                      - uniform it to the definition of the other images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19488 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoStarted on comments for the LFUNs, and added note for LFUN_BUFFER_WRITE_AS
Christian Ridderström [Sun, 12 Aug 2007 22:34:39 +0000 (22:34 +0000)]
Started on comments for the LFUNs, and added note for LFUN_BUFFER_WRITE_AS

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19486 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRewrite the label numbering code.
Jean-Marc Lasgouttes [Sun, 12 Aug 2007 21:43:58 +0000 (21:43 +0000)]
Rewrite the label numbering code.

* buffer_funcs.cpp (updateLabels): new function taking a buffer and
a ParIterator as arguments. This one is used to update labels
into an InsetText. Cleanup the code to reset depth. Call setLabel
for each paragraph, and then updateLabel on each inset it contains.
(setCaptionLabels, setCaptions): removed.
(setLabel): use Counters::current_float to make caption paragraphs
labels.

* insets/Inset.h (updateLabels): new virtual method, empty by
default; this numbers the inset itself (if relevant) and then all
the paragraphs it may contain.

* insets/InsetText.cpp (updateLabels): basically calls
lyx::updateLabels from buffer_func.cpp.

* insets/InsetCaption.cpp (addToToc): use the label constructed by
updateLabels.
(computeFullLabel): removed.
(metrics, plaintext): don't use computeFullLabel.
(updateLabels): new method; set the label from
Counters::current_float.

* insets/InsetWrap.cpp (updateLabels):
* insets/InsetFloat.cpp (updateLabel): new method; sets
Counters::current_float to the float type.

* insets/InsetBranch.cpp (updateLabels): new method; the numbering
is reset afterwards if the branch is inactive. (bug 2671)

* insets/InsetNote.cpp (updateLabels): new method; the numbering
is reset after the underlying InsetText has been numbered.
(bug 2671)

* insets/InsetTabular.cpp (updateLabels): new method (also handles
longtable)

* insets/InsetListings.cpp (updateLabels): new method; mimics what
is done for Floats (although Listings are not floats technically)

* insets/InsetInclude.cpp (getScreenLabel): in the listings case,
use the computed label.
(updateLabels): new method; that either renumbers the child
document or number the current listing.

* LyXFunc.cpp (menuNew): do not updateLabels on empty documents
(why do we do that at all?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19482 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd QT_NO_KEYWORDS
André Pönitz [Sun, 12 Aug 2007 21:41:39 +0000 (21:41 +0000)]
add QT_NO_KEYWORDS

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19481 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbeddedObjects.lyx: Add section about longtable alignment
Uwe Stöhr [Sun, 12 Aug 2007 21:30:54 +0000 (21:30 +0000)]
EmbeddedObjects.lyx: Add section about longtable alignment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19479 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFixed some lines that were too long. It compiled afterwards.
Christian Ridderström [Sun, 12 Aug 2007 20:16:28 +0000 (20:16 +0000)]
Fixed some lines that were too long. It compiled afterwards.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19475 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomore verbose message
André Pönitz [Sun, 12 Aug 2007 19:24:05 +0000 (19:24 +0000)]
more verbose message

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19473 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix crash after assertion when using %s with integer arguments
André Pönitz [Sun, 12 Aug 2007 18:58:59 +0000 (18:58 +0000)]
fix crash after assertion when using %s with integer arguments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19472 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix warning on possibly(?) unused precompiled headers due to different -fPic settings...
Christian Ridderström [Sun, 12 Aug 2007 18:46:23 +0000 (18:46 +0000)]
fix warning on possibly(?) unused precompiled headers due to different -fPic settings on pch creation and use

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19469 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix warning on possibly(?) unused precompiled headers due to different -fPic settings...
Christian Ridderström [Sun, 12 Aug 2007 18:42:57 +0000 (18:42 +0000)]
fix warning on possibly(?) unused precompiled headers due to different -fPic settings on pch creation and use

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19468 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix warning on possibly(?) unused precompiled headers due to different -fPic settings...
Christian Ridderström [Sun, 12 Aug 2007 18:39:06 +0000 (18:39 +0000)]
fix warning on possibly(?) unused precompiled headers due to different -fPic settings on pch creation and use

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19467 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosmall tweak of configure help messages
Jean-Marc Lasgouttes [Sun, 12 Aug 2007 18:31:25 +0000 (18:31 +0000)]
small tweak of configure help messages

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19466 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoalso install en.lproj file in the bundle on the mac
Jean-Marc Lasgouttes [Sun, 12 Aug 2007 17:49:50 +0000 (17:49 +0000)]
also install en.lproj file in the bundle on the mac

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19463 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoIncrease the file format, now every \\begin_deeper has a corresponding \\end_deeper.
José Matox [Sun, 12 Aug 2007 14:56:49 +0000 (14:56 +0000)]
Increase the file format, now every \\begin_deeper has a corresponding \\end_deeper.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19461 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoshuffle (la)texstream around a bit
André Pönitz [Sun, 12 Aug 2007 14:54:54 +0000 (14:54 +0000)]
shuffle (la)texstream around a bit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19460 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoremove reference to LaTeXStream
André Pönitz [Sun, 12 Aug 2007 14:22:31 +0000 (14:22 +0000)]
remove reference to LaTeXStream

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19459 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosome renamimg
André Pönitz [Sun, 12 Aug 2007 14:03:48 +0000 (14:03 +0000)]
some renamimg

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19458 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoonly include precompiled headers once
Martin Vermeer [Sun, 12 Aug 2007 13:38:45 +0000 (13:38 +0000)]
only include precompiled headers once

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19456 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 518 (thanks to Jean Marc and Martin for the help)
José Matox [Sun, 12 Aug 2007 13:25:36 +0000 (13:25 +0000)]
Fix bug 518 (thanks to Jean Marc and Martin for the help)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19455 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUserGuide.lyx updates: - add description of thesaurus
Uwe Stöhr [Sun, 12 Aug 2007 13:16:34 +0000 (13:16 +0000)]
UserGuide.lyx updates: - add description of thesaurus

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19454 a592a061-630c-0410-9148-cb99ea01b6c8