]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agorefactoring visual cursor movement functions
Dov Feldstern [Sun, 4 May 2008 20:17:59 +0000 (20:17 +0000)]
refactoring visual cursor movement functions

Specifically, moved the functions which actually move left or right from Text
into Cursor, and changed the semantics so that they now return whether or not
the cursor has moved. The functions in Text now use the new functions in Cursor.

This change is being made in preparation of the Word-level visual movement.

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

16 years agoFix an unintentional problem.
Richard Heck [Sun, 4 May 2008 16:27:08 +0000 (16:27 +0000)]
Fix an unintentional problem.

Generally speaking, these hints aren't terribly useful. Just having a list of umpteen possible next keys with no indication what any of them do is, well, as I said, not terribly useful. But I don't have a better idea, unless we can somehow do tooltips off the status bar.

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

16 years ago* po/lyx_pot.py (qt4_l10n):
Jürgen Spitzmüller [Sun, 4 May 2008 08:55:05 +0000 (08:55 +0000)]
* po/lyx_pot.py (qt4_l10n):
- escape backslashes in ui strings.

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

16 years agofix: http://bugzilla.lyx.org/show_bug.cgi?id=4688
Edwin Leuven [Sun, 4 May 2008 07:51:50 +0000 (07:51 +0000)]
fix: http://bugzilla.lyx.org/show_bug.cgi?id=4688

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

16 years agoWe don't want the document dialog to be reset for each new paragraph.
Abdelrazak Younes [Sun, 4 May 2008 07:50:00 +0000 (07:50 +0000)]
We don't want the document dialog to be reset for each new paragraph.

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

16 years agoadd Nicola Focci to the credits, part 2/3
Uwe Stöhr [Sat, 3 May 2008 18:43:22 +0000 (18:43 +0000)]
add Nicola Focci to the credits, part 2/3

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

16 years agodocumentation files: bug 4600 is fixed now, so I removed the ugly hacks that were...
Uwe Stöhr [Sat, 3 May 2008 18:29:23 +0000 (18:29 +0000)]
documentation files: bug 4600 is fixed now, so I removed the ugly hacks that were needed to make the docs compile

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

16 years agoFix http://bugzilla.lyx.org/show_bug.cgi?id=4816
Abdelrazak Younes [Sat, 3 May 2008 08:24:05 +0000 (08:24 +0000)]
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4816

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

16 years agofix http://bugzilla.lyx.org/show_bug.cgi?id=4815
Abdelrazak Younes [Sat, 3 May 2008 07:56:07 +0000 (07:56 +0000)]
fix http://bugzilla.lyx.org/show_bug.cgi?id=4815

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

16 years agocosmetics
Abdelrazak Younes [Fri, 2 May 2008 22:07:51 +0000 (22:07 +0000)]
cosmetics

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

16 years ago* Delegates.h: clarify some comments.
Abdelrazak Younes [Fri, 2 May 2008 21:38:23 +0000 (21:38 +0000)]
* Delegates.h: clarify some comments.

* Dialog: get rid of updateData()

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

16 years agoSimplify dialogs updating.
Abdelrazak Younes [Fri, 2 May 2008 20:58:25 +0000 (20:58 +0000)]
Simplify dialogs updating.

* GuiView::updateDialogs(): merge with GuiView::checkStatus()

* LyXFunc::processKeySym(): remove call to GuiView::restartCursor(), this has already been called in the call to dispatch() at the end of the methof.

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

16 years agoget rid of a superfluous Dialog::updateView().
Abdelrazak Younes [Fri, 2 May 2008 17:31:58 +0000 (17:31 +0000)]
get rid of a superfluous Dialog::updateView().

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

16 years agocosmetics
Abdelrazak Younes [Fri, 2 May 2008 16:59:39 +0000 (16:59 +0000)]
cosmetics

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

16 years ago* Color.cpp:
Jürgen Spitzmüller [Fri, 2 May 2008 16:24:50 +0000 (16:24 +0000)]
* Color.cpp:
- use hex names for color_addedtext and color_deletedtext to prevent an assertion (bug 4814).

This has already been done for other colors. However, maybe we should rather separate x11 color names and hex names.

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

16 years ago* TocModel.h: compile fix.
Jürgen Spitzmüller [Fri, 2 May 2008 15:54:41 +0000 (15:54 +0000)]
* TocModel.h: compile fix.

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

16 years agodetect JabRef and put in path_prefix (for new menu item to edit BibTeX database)
Joost Verburg [Fri, 2 May 2008 15:53:14 +0000 (15:53 +0000)]
detect JabRef and put in path_prefix (for new menu item to edit BibTeX database)

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

16 years agonames for Norwegian languages
Joost Verburg [Fri, 2 May 2008 13:08:29 +0000 (13:08 +0000)]
names for Norwegian languages

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

16 years agoCleanup Toc dialog and GuiView interaction. The toc models are now part of GuiView...
Abdelrazak Younes [Fri, 2 May 2008 12:09:51 +0000 (12:09 +0000)]
Cleanup Toc dialog and GuiView interaction. The toc models are now part of GuiView. The TocWidget is just a view of this model.

* GuiView::tocModel(): new method to access the toc models.
* TocModels: new class with code transferred from GuiToc.
* TocWidget: only needs a TocModels reference.

Thoughts:
- We should find a way to get rid of GuiToc.{c,h}
- tocModels() should perhaps be transferred to GuiWorkArea instead of GuiView in order to have Buffer dependent navigators.

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

16 years agouse standard function to refresh shell icons
Joost Verburg [Thu, 1 May 2008 23:47:24 +0000 (23:47 +0000)]
use standard function to refresh shell icons

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

16 years agolots of installer improvements:
Joost Verburg [Thu, 1 May 2008 18:33:36 +0000 (18:33 +0000)]
lots of installer improvements:
* Add option to bundle required ImageMagick/Ghostscript files without the need to modify registry keys that belong to the original applications. This allows for full support for installation by limited users, gives different users the possibility to have a different setup of all LyX tools and reduces download size. The necessary files will be included in the dependency package.
* Python, ImageMagick and Ghostscript will now all be compiled using the same MSVC compiler and can use the same C runtimes. This reduces the installer size.
* Compile Python files during installation to improve performance. Limited users may not have access to the installation folders so the files cannot be compiled afterwards.
* Only the settings that typically need to be changed for LyX releases are now in settings.nsh.
* Rename launcher executable to LyXLauncher.exe to match the alternative installer.
* Minor fixes and cleanup.

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

16 years agoscons/scons_manifest.py: compile fix
Uwe Stöhr [Thu, 1 May 2008 16:24:10 +0000 (16:24 +0000)]
scons/scons_manifest.py: compile fix

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

16 years agoGerman FAQ.lyx, Extended.lyx: updates by Hartmut
Uwe Stöhr [Thu, 1 May 2008 16:13:19 +0000 (16:13 +0000)]
German FAQ.lyx, Extended.lyx: updates by Hartmut

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

16 years agofr.po: updates by Jean-Pierre
Uwe Stöhr [Thu, 1 May 2008 15:41:34 +0000 (15:41 +0000)]
fr.po: updates by Jean-Pierre

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

16 years agoCorrections, thanks to Bernhard.
Richard Heck [Wed, 30 Apr 2008 21:04:49 +0000 (21:04 +0000)]
Corrections, thanks to Bernhard.

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

16 years agoformatting
Jürgen Spitzmüller [Wed, 30 Apr 2008 20:22:48 +0000 (20:22 +0000)]
formatting

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

16 years agowhitespace.
Jürgen Spitzmüller [Wed, 30 Apr 2008 20:16:37 +0000 (20:16 +0000)]
whitespace.

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

16 years agosupport for rightarrowfill, leftarrowfill, upbracefill, downbracefill, by Helge Hafting.
Jürgen Spitzmüller [Wed, 30 Apr 2008 20:11:57 +0000 (20:11 +0000)]
support for rightarrowfill, leftarrowfill, upbracefill, downbracefill, by Helge Hafting.

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

16 years agoAvoid a crash on exit (Mac and Windows).
Enrico Forestieri [Wed, 30 Apr 2008 18:23:46 +0000 (18:23 +0000)]
Avoid a crash on exit (Mac and Windows).

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

16 years agodon't change folder when cancel button is pressed
Joost Verburg [Wed, 30 Apr 2008 16:06:10 +0000 (16:06 +0000)]
don't change folder when cancel button is pressed

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

16 years agoThat one isn't unexpected.
Richard Heck [Wed, 30 Apr 2008 16:02:20 +0000 (16:02 +0000)]
That one isn't unexpected.

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

16 years agoCosmetics, and some error messages from the BibTeX parser.
Richard Heck [Wed, 30 Apr 2008 15:57:53 +0000 (15:57 +0000)]
Cosmetics, and some error messages from the BibTeX parser.

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

16 years ago * BufferView.cpp (getStatus): fix NEXT_INSET(TOGGLE|MODIFY) in order
Jean-Marc Lasgouttes [Wed, 30 Apr 2008 13:03:19 +0000 (13:03 +0000)]
* BufferView.cpp (getStatus): fix NEXT_INSET(TOGGLE|MODIFY) in order
to make context menus work.

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

16 years agorename assert.h to lassert.h
Jean-Marc Lasgouttes [Wed, 30 Apr 2008 08:26:40 +0000 (08:26 +0000)]
rename assert.h to lassert.h

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

16 years agorevert some new features so that tex2lyx outputs format 247 proper again.
Jürgen Spitzmüller [Tue, 29 Apr 2008 18:11:46 +0000 (18:11 +0000)]
revert some new features so that tex2lyx outputs format 247 proper again.

The reverted features could (and should) be reapplied as soon as tex2lyx can output unicode (bug 4379).

The patch of this change can be found here:
http://bugzilla.lyx.org/show_bug.cgi?id=4379

and can be applied with -R in this case.

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

16 years ago* only use path to decide whether a path segment "helped" to make the
Stefan Schimanski [Tue, 29 Apr 2008 15:45:06 +0000 (15:45 +0000)]
* only use path to decide whether a path segment "helped" to make the
  string unique in the tabbar. Otherwise the "..." give strange
  behaviour because foo/.../bla.lyx is different from foo/bla.lyx.

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

16 years ago* Some more clever elide mode for the LyX buffer tabs. In trunk
Stefan Schimanski [Tue, 29 Apr 2008 15:44:07 +0000 (15:44 +0000)]
* Some more clever elide mode for the LyX buffer tabs. In trunk
  currently the whole path is (possibly with some unmotivated ... in
  the middle) used which is usually far too long.

  The algorithm implemented here will start with absolute paths. From
  left to right path segments are added to the display string if they
  help to make the display strings more unique. Otherwise nothing is
  added, or if some middle path segments are omitted otherwise, three
  dots ... are used.

  The result is that we get just the base filename without extension if
  they are unique in the tabbar.

  The patch is open for discussion. If there is demand we can create
  yet another preference option to get back the old behaviour.

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

16 years ago* in the very uncommon case the header is inserted into plain C code... The cleaner...
Stefan Schimanski [Tue, 29 Apr 2008 14:56:27 +0000 (14:56 +0000)]
* in the very uncommon case the header is inserted into plain C code... The cleaner solution maybe would be to rename assert to lassert.h to avoid the clash with the system assert.h

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

16 years agofix leak
Edwin Leuven [Tue, 29 Apr 2008 13:57:07 +0000 (13:57 +0000)]
fix leak

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

16 years agoDon't try to build the client on platforms where it is not supported.
Enrico Forestieri [Tue, 29 Apr 2008 09:56:55 +0000 (09:56 +0000)]
Don't try to build the client on platforms where it is not supported.

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

16 years agotex2lyx/text.cpp: cosmetic
Uwe Stöhr [Tue, 29 Apr 2008 00:12:56 +0000 (00:12 +0000)]
tex2lyx/text.cpp: cosmetic

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

16 years ago- tex2lyx/text.cpp: correct font size handling because font size switches don't affec...
Uwe Stöhr [Tue, 29 Apr 2008 00:03:55 +0000 (00:03 +0000)]
- tex2lyx/text.cpp: correct font size handling because font size switches don't affect section headings, fixes bug 4807

- box-color-size-space-align.tex: add testcase for the above fix

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

16 years agobox-color-sizes-space-align.tex: add testcases for defined horizontal spaces
Uwe Stöhr [Mon, 28 Apr 2008 22:59:43 +0000 (22:59 +0000)]
box-color-sizes-space-align.tex: add testcases for defined horizontal spaces

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

16 years agotex2lyx/text.cpp: support for \hspace
Uwe Stöhr [Mon, 28 Apr 2008 22:49:10 +0000 (22:49 +0000)]
tex2lyx/text.cpp: support for \hspace

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

16 years agotex2lyx/text.cpp: \InsetSpace has no begin and end (LyX 1.5 was tolerant to the missi...
Uwe Stöhr [Mon, 28 Apr 2008 22:47:47 +0000 (22:47 +0000)]
tex2lyx/text.cpp: \InsetSpace has no begin and end (LyX 1.5 was tolerant to the missing end, LyX 1.6 is correctly not tolerant)

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

16 years agoCosmetics.
Richard Heck [Mon, 28 Apr 2008 22:30:59 +0000 (22:30 +0000)]
Cosmetics.

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

16 years agoUpdate it.po
Enrico Forestieri [Mon, 28 Apr 2008 20:15:22 +0000 (20:15 +0000)]
Update it.po

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

16 years agoAdd JabRef to the search list for BibTeX editors.
Richard Heck [Mon, 28 Apr 2008 19:42:22 +0000 (19:42 +0000)]
Add JabRef to the search list for BibTeX editors.

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

16 years ago* src/insets/InsetCollapsable.h:
Jürgen Spitzmüller [Mon, 28 Apr 2008 18:49:23 +0000 (18:49 +0000)]
* src/insets/InsetCollapsable.h:
- exclude insets with latex_language from spell checking (bug 4810).

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

16 years ago* de.po: some new translations.
Jürgen Spitzmüller [Mon, 28 Apr 2008 16:56:47 +0000 (16:56 +0000)]
* de.po: some new translations.

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

16 years ago* po/*.po:
Jürgen Spitzmüller [Mon, 28 Apr 2008 16:42:12 +0000 (16:42 +0000)]
* po/*.po:
- remerge after the recent featuritis.

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

16 years agosupport for default master document.
Jürgen Spitzmüller [Mon, 28 Apr 2008 16:38:56 +0000 (16:38 +0000)]
support for default master document.

file format change.

This is the last feature for today. Promised.

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

16 years ago* Menus.cpp:
Jürgen Spitzmüller [Mon, 28 Apr 2008 16:25:54 +0000 (16:25 +0000)]
* Menus.cpp:
- make it work with multiple keys.

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

16 years agodynamic context menu for InsetCitation.
Jürgen Spitzmüller [Mon, 28 Apr 2008 15:21:55 +0000 (15:21 +0000)]
dynamic context menu for InsetCitation.

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

16 years agoOops.
Jürgen Spitzmüller [Mon, 28 Apr 2008 15:20:03 +0000 (15:20 +0000)]
Oops.

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

16 years agoImplement inset-edit in InsetBibtex and add a context menu.
Jürgen Spitzmüller [Mon, 28 Apr 2008 15:14:18 +0000 (15:14 +0000)]
Implement inset-edit in InsetBibtex and add a context menu.

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

16 years ago* InsetBibtex.cpp:
Jürgen Spitzmüller [Mon, 28 Apr 2008 13:13:42 +0000 (13:13 +0000)]
* InsetBibtex.cpp:
- some more tooltip information.

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

16 years ago* GuiBibtex.cpp:
Jürgen Spitzmüller [Mon, 28 Apr 2008 12:57:41 +0000 (12:57 +0000)]
* GuiBibtex.cpp:
- fix problem with preceeding comma in bibtotoc mode that broke LaTeX output.

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

16 years ago* InsetBibtex.{cpp,h}:
Jürgen Spitzmüller [Mon, 28 Apr 2008 12:48:04 +0000 (12:48 +0000)]
* InsetBibtex.{cpp,h}:
- add tooltip.

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

16 years agoImprovements to the External dialog.
Jürgen Spitzmüller [Mon, 28 Apr 2008 06:19:25 +0000 (06:19 +0000)]
Improvements to the External dialog.

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

16 years agobasic context menu for InsetExternal.
Jürgen Spitzmüller [Mon, 28 Apr 2008 05:12:28 +0000 (05:12 +0000)]
basic context menu for InsetExternal.

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

16 years ago* GuiView.{cpp, h}:
Jürgen Spitzmüller [Mon, 28 Apr 2008 04:57:31 +0000 (04:57 +0000)]
* GuiView.{cpp, h}:
- fix compilation (gcc didn't like the string arguments in the header file)

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

16 years agoSome dialog consistency work:
Abdelrazak Younes [Sun, 27 Apr 2008 22:24:20 +0000 (22:24 +0000)]
Some dialog consistency work:
* Dialog::updateData(): try to reset the dialog even if there's no Buffer.
* GuiView::updateBufferDependent():
- renamed to updateDialogs()
- don't hide when there's no current work area, try to disable instead.
- now also take care of toolbars and other elements.
* TocWidget: delay item selection to avoid unwanted node collapsing after setting a new model.

Expect crash and/or assertions for dialogs that are not ready for this non-hiding change. I will fix them iteratively.
There are still too many dialogs updates going on...

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

16 years ago* implement "inset-edit" in InsetInclude.
Jürgen Spitzmüller [Sun, 27 Apr 2008 18:03:21 +0000 (18:03 +0000)]
* implement "inset-edit" in InsetInclude.

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

16 years ago* RELEASE_NOTES: document lfun change.
Jürgen Spitzmüller [Sun, 27 Apr 2008 16:23:14 +0000 (16:23 +0000)]
* RELEASE_NOTES: document lfun change.

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

16 years ago* merge LFUN_EDIT_EXTERNAL and LFUN_EDIT_GRAPHICS to one LFUN_EDIT_INSET (bug 3975)
Jürgen Spitzmüller [Sun, 27 Apr 2008 16:20:12 +0000 (16:20 +0000)]
* merge LFUN_EDIT_EXTERNAL and LFUN_EDIT_GRAPHICS to one LFUN_EDIT_INSET (bug 3975)

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

16 years agoImplement basic context menu for include insets.
Jürgen Spitzmüller [Sun, 27 Apr 2008 15:49:15 +0000 (15:49 +0000)]
Implement basic context menu for include insets.

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

16 years ago* move extended tooltips support to InsetCollapsable (fixes bug 3778).
Jürgen Spitzmüller [Sun, 27 Apr 2008 14:47:07 +0000 (14:47 +0000)]
* move extended tooltips support to InsetCollapsable (fixes bug 3778).

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

16 years ago* po/de.po: some updates.
Jürgen Spitzmüller [Sun, 27 Apr 2008 14:02:25 +0000 (14:02 +0000)]
* po/de.po: some updates.

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

16 years ago* po/*.po: remerge
Jürgen Spitzmüller [Sun, 27 Apr 2008 13:50:46 +0000 (13:50 +0000)]
* po/*.po: remerge

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

16 years ago- tex2lyx/test-insets.tex: make it compilable, update the document, and add some...
Uwe Stöhr [Sun, 27 Apr 2008 13:32:20 +0000 (13:32 +0000)]
- tex2lyx/test-insets.tex: make it compilable, update the document, and add some testcases
- tex2lyx/box-color-sizes-spacings-alignments.tex: update the document
- tex2lyx/text.cpp: correct some typos

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

16 years agotex2lyx/text.cpp: remove support for \centering and the like as first step to fix...
Uwe Stöhr [Sun, 27 Apr 2008 12:44:09 +0000 (12:44 +0000)]
tex2lyx/text.cpp: remove support for \centering and the like as first step to fix the broken paragraph alignment import, see bug 4806

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

16 years agotex2lyx/text.cpp:
Uwe Stöhr [Sun, 27 Apr 2008 10:54:06 +0000 (10:54 +0000)]
tex2lyx/text.cpp:
- fix an off by one error in the font size handling, fixes bug 4803
- support \lyxline, fixes bug 4795

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

16 years ago* fix translation of module descriptions that have a backslash (bug 4799).
Jürgen Spitzmüller [Sun, 27 Apr 2008 09:27:50 +0000 (09:27 +0000)]
* fix translation of module descriptions that have a backslash (bug 4799).

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

16 years agomore line fixes
Edwin Leuven [Sun, 27 Apr 2008 09:12:53 +0000 (09:12 +0000)]
more line fixes

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

16 years agosome index fixes:
Jürgen Spitzmüller [Sun, 27 Apr 2008 08:52:43 +0000 (08:52 +0000)]
some index fixes:

* src/insets/InsetIndex.{cpp,h} (latex):
- a more general method to get the index sorting of
  formatted strings and macros right (bug 4800).

Please test, everybody.

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

16 years ago* InsetIndex.h:
Jürgen Spitzmüller [Sat, 26 Apr 2008 15:03:52 +0000 (15:03 +0000)]
* InsetIndex.h:
- fix bug 4801.

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

16 years agosome index fixes:
Jürgen Spitzmüller [Sat, 26 Apr 2008 14:24:28 +0000 (14:24 +0000)]
some index fixes:

* src/insets/InsetIndex.{cpp,h} reimplement ::latex in order to:
- un-\protect the index entry (fixes bug 4600).
- handle formatted index entries (bug 4800).

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

16 years agoGerman Extended.lyx, UserGuide.lyx: updates by Hartmut
Uwe Stöhr [Sat, 26 Apr 2008 13:47:25 +0000 (13:47 +0000)]
German Extended.lyx, UserGuide.lyx: updates by Hartmut

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

16 years agoAdd some module-related documentation to the user guide.
Richard Heck [Sat, 26 Apr 2008 13:03:29 +0000 (13:03 +0000)]
Add some module-related documentation to the user guide.

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

16 years agoGerman Shortcuts.lyx by Hartmut
Uwe Stöhr [Sat, 26 Apr 2008 13:02:53 +0000 (13:02 +0000)]
German Shortcuts.lyx by Hartmut

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

16 years agoimprovements to the Citation UI.
Jürgen Spitzmüller [Sat, 26 Apr 2008 08:07:46 +0000 (08:07 +0000)]
improvements to the Citation UI.

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

16 years agofix scons
Bo Peng [Fri, 25 Apr 2008 21:39:11 +0000 (21:39 +0000)]
fix scons

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

16 years agoImplement a cache for BibTeX data. There was a cache of sorts already in InsetCitatio...
Richard Heck [Fri, 25 Apr 2008 20:03:03 +0000 (20:03 +0000)]
Implement a cache for BibTeX data. There was a cache of sorts already in InsetCitation, but that was being used only to cache the labels. So that has been moved to Buffer, and everything else that needs access to BibTeX data should call either Buffer::localBibInfo(), which gives you the BiblioInfo for this Buffer, or Buffer::masterBibInfo(), which gives you the BiblioInfo for the Buffer's master, if it has one, or for it, otherwise. Normally, what you want is masterBibInfo().

Thanks to Andre for help with linking problems.

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

16 years agoAdd "Search as You Type" option to citation dialog.
Richard Heck [Fri, 25 Apr 2008 19:38:31 +0000 (19:38 +0000)]
Add "Search as You Type" option to citation dialog.

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

16 years agoDon't hide dialogs upon buffer switch. I've been wanting to do this for a looonnng...
Abdelrazak Younes [Fri, 25 Apr 2008 12:45:39 +0000 (12:45 +0000)]
Don't hide dialogs upon buffer switch. I've been wanting to do this for a looonnng time...

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

16 years ago* src/insets/InsetListingsParams.cpp:
Jürgen Spitzmüller [Fri, 25 Apr 2008 12:40:27 +0000 (12:40 +0000)]
* src/insets/InsetListingsParams.cpp:
- prevent invalid pointer (bug 4780).

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

16 years agofix http://bugzilla.lyx.org/show_bug.cgi?id=4792
Edwin Leuven [Fri, 25 Apr 2008 11:56:21 +0000 (11:56 +0000)]
fix http://bugzilla.lyx.org/show_bug.cgi?id=4792

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

16 years agoFix bug http://bugzilla.lyx.org/show_bug.cgi?id=4791
Abdelrazak Younes [Fri, 25 Apr 2008 08:34:09 +0000 (08:34 +0000)]
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4791

error out if the sysdir argument is erroneous.

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

16 years agotex2lyx/text.cpp: take care of the brace pair after comment environments that are...
Uwe Stöhr [Fri, 25 Apr 2008 00:38:59 +0000 (00:38 +0000)]
tex2lyx/text.cpp: take care of the brace pair after comment environments that are there when the TeX file was created by LyX

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

16 years agoGerman Extended.lyx, UserGuide.lyx: updates by Hartmut
Uwe Stöhr [Thu, 24 Apr 2008 22:09:02 +0000 (22:09 +0000)]
German Extended.lyx, UserGuide.lyx: updates by Hartmut

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

16 years agoFix part of bug 4775. We need to search here only when the user requests it, and...
Richard Heck [Thu, 24 Apr 2008 18:30:31 +0000 (18:30 +0000)]
Fix part of bug 4775. We need to search here only when the user requests it, and not try to do "search as you go". This is too slow, even on fast machines, if you have more than a handful of entries.

I've also added some tooltips to direct people to the keyboard shortcuts.

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

16 years agoSome comments.
Richard Heck [Thu, 24 Apr 2008 18:19:40 +0000 (18:19 +0000)]
Some comments.

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

16 years agoSome improvements.
Richard Heck [Thu, 24 Apr 2008 18:18:43 +0000 (18:18 +0000)]
Some improvements.

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

16 years agosmarter line setting in latex tabulars
Edwin Leuven [Thu, 24 Apr 2008 17:26:17 +0000 (17:26 +0000)]
smarter line setting in latex tabulars

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

16 years agoFix bug 4701.
Richard Heck [Thu, 24 Apr 2008 16:32:28 +0000 (16:32 +0000)]
Fix bug 4701.

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

16 years agoRevert 24482.
Richard Heck [Thu, 24 Apr 2008 16:25:08 +0000 (16:25 +0000)]
Revert 24482.

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

16 years agoFix bug 4782.
Richard Heck [Thu, 24 Apr 2008 16:08:11 +0000 (16:08 +0000)]
Fix bug 4782.

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

16 years agothis we don't use anymore
Edwin Leuven [Thu, 24 Apr 2008 15:54:04 +0000 (15:54 +0000)]
this we don't use anymore

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

16 years agoRemove remaining embedding bits and minizip
Bo Peng [Thu, 24 Apr 2008 14:33:16 +0000 (14:33 +0000)]
Remove remaining embedding bits and minizip

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