]> git.lyx.org Git - lyx.git/log
lyx.git
17 years ago * src/buffer.C: remove redundant space from user message
Michael Schmitt [Sat, 2 Dec 2006 23:39:17 +0000 (23:39 +0000)]
* src/buffer.C: remove redundant space from user message

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

17 years ago * po/de.po: update
Michael Schmitt [Sat, 2 Dec 2006 22:09:52 +0000 (22:09 +0000)]
* po/de.po: update

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

17 years ago * Status.15x: where have all the tooltips gone?
Michael Schmitt [Sat, 2 Dec 2006 21:59:00 +0000 (21:59 +0000)]
* Status.15x: where have all the tooltips gone?

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

17 years agoupdate comments.
Abdelrazak Younes [Sat, 2 Dec 2006 21:55:28 +0000 (21:55 +0000)]
update comments.

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

17 years ago * src/lyxfunc.C:
Michael Schmitt [Sat, 2 Dec 2006 21:27:31 +0000 (21:27 +0000)]
* src/lyxfunc.C:
* src/frontends/qt4/GuiView.C:
* src/lyx_main.C: fix various typos in comments

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

17 years ago * src/frontends/qt4/qt_helpers.h: add #include <boost/assert.hpp>
Michael Schmitt [Sat, 2 Dec 2006 21:25:24 +0000 (21:25 +0000)]
* src/frontends/qt4/qt_helpers.h: add #include <boost/assert.hpp>
because gcc 3.3.5pre (SUSE Linux 9.3) fails otherwise

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

17 years ago * src/LaTeX.C: fix compilation with gcc 3.3.5pre (SuSE Linux 9.3)
Michael Schmitt [Sat, 2 Dec 2006 21:23:46 +0000 (21:23 +0000)]
* src/LaTeX.C: fix compilation with gcc 3.3.5pre (SuSE Linux 9.3)

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

17 years agoremove unused function
Georg Baum [Sat, 2 Dec 2006 20:37:11 +0000 (20:37 +0000)]
remove unused function

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

17 years agoremove duplicate of toqstr
Georg Baum [Sat, 2 Dec 2006 19:53:21 +0000 (19:53 +0000)]
remove duplicate of toqstr

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

17 years agoremove unused stuff
Georg Baum [Sat, 2 Dec 2006 18:19:56 +0000 (18:19 +0000)]
remove unused stuff

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

17 years agoClean up quit code.
Peter Kümmel [Sat, 2 Dec 2006 17:39:31 +0000 (17:39 +0000)]
Clean up quit code.
We still need a solution for the Mac.

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

17 years ago--style=Andre
Peter Kümmel [Sat, 2 Dec 2006 17:32:15 +0000 (17:32 +0000)]
--style=Andre

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

17 years agomore unicode filenames
Georg Baum [Sat, 2 Dec 2006 16:07:15 +0000 (16:07 +0000)]
more unicode filenames

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

17 years ago* qt_helpers.h:
Abdelrazak Younes [Sat, 2 Dec 2006 15:54:49 +0000 (15:54 +0000)]
* qt_helpers.h:
  - ucs4_to_qchar(): add a FIXME and an assertion

* GuiFontMetrics: replace the table based cache with two QHash based cache. With this change, the speed overhead is not negligible (exact same score with the UserGuide test) and the required additional memory is minimal (maybe one or two megabytes).

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

17 years ago * po/de.po: remerge (no new messages)
Michael Schmitt [Sat, 2 Dec 2006 15:42:10 +0000 (15:42 +0000)]
* po/de.po: remerge (no new messages)

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

17 years ago * Status.15x: add two new bugs (one from Kornel); rearrange bugs
Michael Schmitt [Sat, 2 Dec 2006 14:23:06 +0000 (14:23 +0000)]
* Status.15x: add two new bugs (one from Kornel); rearrange bugs

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

17 years agoCharMetrics: use short int instead of int. This halves the memory required for the...
Abdelrazak Younes [Fri, 1 Dec 2006 23:45:06 +0000 (23:45 +0000)]
CharMetrics: use short int instead of int. This halves the memory required for the font metrics cache.

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

17 years agofix display of hungarian umlaut
Georg Baum [Fri, 1 Dec 2006 21:13:47 +0000 (21:13 +0000)]
fix display of hungarian umlaut

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

17 years agomore unicode filenames
Georg Baum [Fri, 1 Dec 2006 20:09:08 +0000 (20:09 +0000)]
more unicode filenames

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

17 years ago* GuiFontMetrics
Abdelrazak Younes [Fri, 1 Dec 2006 17:23:58 +0000 (17:23 +0000)]
* GuiFontMetrics
  - add constants instead of hard-coded values.
  - add assertions and comments for out of range values.

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

17 years agoAdded one more bug
Enrico Forestieri [Fri, 1 Dec 2006 16:51:03 +0000 (16:51 +0000)]
Added one more bug

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

17 years agoThis commit fixes the following bug:
Abdelrazak Younes [Fri, 1 Dec 2006 16:12:24 +0000 (16:12 +0000)]
This commit fixes the following bug:
http://bugzilla.lyx.org/show_bug.cgi?id=2900

The only drawback is that it requires about 20Mo extra-memory when loading the UserGuide. If it turns out to be too much, we can switch to a QHash based solution instead of a table.

* dimension.[Ch]:
  - Dimension(LyXFont const, char_typec): new ctor
  - set(LyXFont const & font, char_type c): new method.

* frontends/FontMetrics.h:
  - width(char_type): is now a pure virtual method.

* GuiFontMetrics:
  - CharMetrics: new structure;
  - the metrics cache now also cache ascent and descent. This is especially useful for mathed.

* MathSupport.[Ch]:
  - mathed_char_dim(): deleted. We now use Dimension::set() directly instead.

* rowpainter.C: fixe empty space.

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

17 years agoremove gcc warning
Peter Kümmel [Thu, 30 Nov 2006 20:03:28 +0000 (20:03 +0000)]
remove gcc warning

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

17 years agomore unicode filenames
Georg Baum [Thu, 30 Nov 2006 16:59:50 +0000 (16:59 +0000)]
more unicode filenames

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

17 years agoFix spurious error message about nonexisting directory.
Georg Baum [Thu, 30 Nov 2006 15:21:23 +0000 (15:21 +0000)]
Fix spurious error message about nonexisting directory.
* src/buffer.C
(Buffer::save): Only try to make a backup if the buffer file already
exists. The try ... catch mechanism is fine, but when it was
introduced ot was overseen that copying a file could not only fail
because the destination dir does not exist, but also because the
source does not exist.

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

17 years agoremove forgotten theApp variables
Peter Kümmel [Thu, 30 Nov 2006 08:42:29 +0000 (08:42 +0000)]
remove forgotten theApp variables

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

17 years agoFIXME: remove global variable theApp
Peter Kümmel [Thu, 30 Nov 2006 00:04:51 +0000 (00:04 +0000)]
FIXME: remove global variable theApp

This pointer was one reason for the Mac crashes because it not always had
the same value as the application_ smart pointer

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

17 years agorestore old /W3 warning level
Peter Kümmel [Wed, 29 Nov 2006 23:51:22 +0000 (23:51 +0000)]
restore old /W3 warning level

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

17 years agoremove size_t/int warning: QString doesn't use size_t so we must cast it to avoid...
Peter Kümmel [Wed, 29 Nov 2006 22:57:34 +0000 (22:57 +0000)]
remove size_t/int warning: QString doesn't use size_t so we must cast it to avoid the warning

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

17 years agoswitch to default /W4 for msvc
Peter Kümmel [Wed, 29 Nov 2006 22:36:43 +0000 (22:36 +0000)]
switch to default /W4 for msvc

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

17 years agoFix crash on Mac
Peter Kümmel [Wed, 29 Nov 2006 21:57:46 +0000 (21:57 +0000)]
Fix crash on Mac

    Part 3: comment about further investigations

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

17 years agoremove unused variable
Georg Baum [Wed, 29 Nov 2006 21:54:33 +0000 (21:54 +0000)]
remove unused variable

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

17 years agofix compiler warning:
Georg Baum [Wed, 29 Nov 2006 21:52:56 +0000 (21:52 +0000)]
fix compiler warning:
../../../../src/frontends/qt4/GuiView.C:142: warning: comparison between signed and unsigned integer expressions
../../../../src/frontends/qt4/GuiView.C:144: warning: comparison between signed and unsigned integer expressions
../../../../src/frontends/qt4/GuiView.C:146: warning: comparison between signed and unsigned integer expressions

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

17 years agoconvert some more filenames for unicode
Georg Baum [Wed, 29 Nov 2006 21:47:37 +0000 (21:47 +0000)]
convert some more filenames for unicode

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

17 years agoFix copy&paste bug
Abdelrazak Younes [Wed, 29 Nov 2006 21:39:06 +0000 (21:39 +0000)]
Fix copy&paste bug

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

17 years agoFix crash on Mac, now the strange part
Peter Kümmel [Wed, 29 Nov 2006 21:36:39 +0000 (21:36 +0000)]
Fix crash on Mac, now the strange part
  Part 2: avoid pure virtual function,
          if (theApp)
               theApp->unregisterSocketCallback(fd_);
          does not help, we've tested it!
          Without a Mac it is hard to find a better solution

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

17 years agoremove unused stuff
Georg Baum [Wed, 29 Nov 2006 21:34:24 +0000 (21:34 +0000)]
remove unused stuff

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

17 years agoFix crash on Mac
Peter Kümmel [Wed, 29 Nov 2006 21:27:54 +0000 (21:27 +0000)]
Fix crash on Mac
  Part 1: don't dereference untested pointers

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

17 years agoAvoid an infinite loop when using the -geometry option on *nix
Enrico Forestieri [Wed, 29 Nov 2006 19:44:13 +0000 (19:44 +0000)]
Avoid an infinite loop when using the -geometry option on *nix

* src/lyx_main.C
(easyParse): decrement the loop variable only when remove > 0

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

17 years agoalso support the geometry option on Windows + Qt/Windows
Peter Kümmel [Wed, 29 Nov 2006 16:52:44 +0000 (16:52 +0000)]
also support the geometry option on Windows + Qt/Windows

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

17 years agoalso support the geometry option on Windows + Qt/Windows
Peter Kümmel [Wed, 29 Nov 2006 16:45:38 +0000 (16:45 +0000)]
also support the geometry option on Windows + Qt/Windows

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

17 years agoFix keyboard navigation with graphics insets.
Abdelrazak Younes [Wed, 29 Nov 2006 13:58:08 +0000 (13:58 +0000)]
Fix keyboard navigation with graphics insets.

* lyxtext.h/text2.C:
  - LyXText::getPitNearY(): this is non const anymore. The CoordCache will be updated automatically if the paragraph is not found in there.
  - LyXText::checkInsetHit(): this is non const anymore because of the above.

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

17 years agoBetter using a space instead of '\0' in the num_get facet.
Enrico Forestieri [Wed, 29 Nov 2006 13:39:49 +0000 (13:39 +0000)]
Better using a space instead of '\0' in the num_get facet.

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

17 years agodon't forget to translate
Peter Kümmel [Wed, 29 Nov 2006 10:25:46 +0000 (10:25 +0000)]
don't forget to translate

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

17 years agoWindows doesn't support the geometry option
Peter Kümmel [Wed, 29 Nov 2006 10:10:07 +0000 (10:10 +0000)]
Windows doesn't support the geometry option

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

17 years agoadd tool bar popup with three icon sizes: small, normal, big
Peter Kümmel [Wed, 29 Nov 2006 10:04:35 +0000 (10:04 +0000)]
add tool bar popup with three icon sizes: small, normal, big

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

17 years ago * qt4/GuiApplication.C: remove ad-hoc Mac OSX Carbon code to handle
Jean-Marc Lasgouttes [Wed, 29 Nov 2006 09:06:37 +0000 (09:06 +0000)]
* qt4/GuiApplication.C: remove ad-hoc Mac OSX Carbon code to handle
kAEOpenDocuments ApleEvent.
(event): new method to do the same thing using qt4 built-in support.

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

17 years agoupdate from Marius Ionescu
Jean-Marc Lasgouttes [Wed, 29 Nov 2006 08:30:24 +0000 (08:30 +0000)]
update from Marius Ionescu

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

17 years agoStatus.15x: add bug for do not save unsaved file when lyx quits
Bo Peng [Wed, 29 Nov 2006 02:49:25 +0000 (02:49 +0000)]
Status.15x: add bug for do not save unsaved file when lyx quits

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

17 years agoSession: put all lyxerr output to lyxerr[Debug::INIT]
Bo Peng [Wed, 29 Nov 2006 02:34:52 +0000 (02:34 +0000)]
Session: put all lyxerr output to lyxerr[Debug::INIT]

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

17 years agoAdd a regression to Status.15x
Enrico Forestieri [Wed, 29 Nov 2006 00:25:24 +0000 (00:25 +0000)]
Add a regression to Status.15x

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

17 years agoDo not delete /tmp.
Georg Baum [Tue, 28 Nov 2006 20:04:16 +0000 (20:04 +0000)]
Do not delete /tmp.
Somebody should find a real fix.

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

17 years agoDocument the terminating '\0' in the num_get facet.
Enrico Forestieri [Tue, 28 Nov 2006 19:15:05 +0000 (19:15 +0000)]
Document the terminating '\0' in the num_get facet.

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

17 years ago* LyXText::cursorNext(): Fix crash with PageDown when the next paragraph is a math...
Abdelrazak Younes [Tue, 28 Nov 2006 17:24:44 +0000 (17:24 +0000)]
* LyXText::cursorNext(): Fix crash with PageDown when the next paragraph is a math inset bigger than the screen.
* LyXText::cursorPrevious(): Implement the same check for safety reason.

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

17 years ago* dimension.h: new operator!=() and operator=()
Abdelrazak Younes [Tue, 28 Nov 2006 15:15:49 +0000 (15:15 +0000)]
* dimension.h: new operator!=() and operator=()

* InsetBase and all derivates:
  - metrics(MetricsInfo & mi, Dimension & dim) now returns a bool (true if metrics changed).

* MathData and all derivates:
  - metrics(MetricsInfo & mi, Dimension & dim): ditto.

* RenderBase and all derivates:
  - metrics(MetricsInfo & mi, Dimension & dim): ditto.

* lyxtext.h/text.C:
  - LyXText::metrics(MetricsInfo & mi, Dimension & dim): ditto.
  - LyXText::redoParagraph(): take into account potential change in inset metrics.

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

17 years agoFix graphics rendering preview.
Abdelrazak Younes [Tue, 28 Nov 2006 12:51:50 +0000 (12:51 +0000)]
Fix graphics rendering preview.

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

17 years agoThe DVI view menu bug is not fixed. Add del /tmp bug.
Georg Baum [Tue, 28 Nov 2006 10:38:19 +0000 (10:38 +0000)]
The DVI view menu bug is not fixed. Add del /tmp bug.

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

17 years agoUpdates from Bennett and myself.
Abdelrazak Younes [Tue, 28 Nov 2006 10:16:45 +0000 (10:16 +0000)]
Updates from Bennett and myself.

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

17 years agodocument not working non-ascii filenames
Georg Baum [Tue, 28 Nov 2006 08:45:12 +0000 (08:45 +0000)]
document not working non-ascii filenames

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

17 years agoWas forgetting this
Enrico Forestieri [Tue, 28 Nov 2006 00:24:18 +0000 (00:24 +0000)]
Was forgetting this

* src/support/docstring.C
(do_get): terminate the string before using it.

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

17 years agofix wrong toolbar icon size, default value is
Peter Kümmel [Mon, 27 Nov 2006 23:35:43 +0000 (23:35 +0000)]
fix wrong toolbar icon size, default value is
in lyx_main.C. Size will be stored in the session
file.

*      src/lyx_main.C              : default value
*      src/frontends/Application.h : restore also icon size
*      src/frontends/LyXView.h     :        "
*      src/frontends/qt4/GuiView.h :        "
*      src/frontends/qt4/GuiView.C :        "
*      src/frontends/Application.C :        "

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

17 years agosupport for direct debug output
Joost Verburg [Mon, 27 Nov 2006 22:56:15 +0000 (22:56 +0000)]
support for direct debug output

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

17 years agoifpdf update and small grammar and spelling fixes by John C. McCabe-Dansted
Georg Baum [Mon, 27 Nov 2006 18:15:00 +0000 (18:15 +0000)]
ifpdf update and small grammar and spelling fixes by John C. McCabe-Dansted

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

17 years agofix typo
Georg Baum [Mon, 27 Nov 2006 18:11:11 +0000 (18:11 +0000)]
fix typo

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

17 years agoFix crash in brutefind2() when the inset was not in the coordcache.
Abdelrazak Younes [Mon, 27 Nov 2006 16:40:03 +0000 (16:40 +0000)]
Fix crash in brutefind2() when the inset was not in the coordcache.

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

17 years agoGPL Ghostscript
Joost Verburg [Mon, 27 Nov 2006 16:23:44 +0000 (16:23 +0000)]
GPL Ghostscript

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

17 years agodocument flag for PDF
Joost Verburg [Mon, 27 Nov 2006 16:02:50 +0000 (16:02 +0000)]
document flag for PDF

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

17 years ago* src/insets/insettabular.C (doDispatch): do not reset cursor/selection
Jürgen Spitzmüller [Mon, 27 Nov 2006 14:51:09 +0000 (14:51 +0000)]
* src/insets/insettabular.C (doDispatch): do not reset cursor/selection
if we have selected some cells (bug 2715).

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

17 years agoFix screen updates with arrow key navigation.
Abdelrazak Younes [Mon, 27 Nov 2006 12:49:28 +0000 (12:49 +0000)]
Fix screen updates with arrow key navigation.

* text2.C
  - LyXText::cursorUp(): ensure that BufferView::FitCursor() is tested.
  - LyXText::cursorDown(): ditto
  - LyXText::cursorRight(): ditto
  - LyXText::cursorLeft(): ditto

* text3.C
  - LyXText::dispatch(): add FIXME and ensure that update flag is at least equal to FitCursor.

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

17 years agoEditing Optimization.
Abdelrazak Younes [Mon, 27 Nov 2006 10:49:24 +0000 (10:49 +0000)]
Editing Optimization.

This commits improves considerably math editing in Windows and solves one crash when viewing the moebius figure in UserGuide.lyx.

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

17 years agoImprove the num_get locale facet
Enrico Forestieri [Mon, 27 Nov 2006 01:52:26 +0000 (01:52 +0000)]
Improve the num_get locale facet

* src/support/docstring.C
(do_get): use reserve() and the += operator in order to
avoid a possible buffer overrun.

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

17 years agoNext step of true unicode filenames: Use support::FileName instead of
Georg Baum [Sun, 26 Nov 2006 21:30:39 +0000 (21:30 +0000)]
Next step of true unicode filenames: Use support::FileName instead of
std::string at many places (not all yet).

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

17 years ago* BufferList: new begin() and end() methods.
Abdelrazak Younes [Sun, 26 Nov 2006 16:39:39 +0000 (16:39 +0000)]
* BufferList: new begin() and end() methods.

* LyX::exec(): in non-GUI mode, execute batch commands on all buffers.

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

17 years ago * po/de.po: tiny update
Michael Schmitt [Sun, 26 Nov 2006 16:27:39 +0000 (16:27 +0000)]
* po/de.po: tiny update

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

17 years ago* BufferList::last(): new method returning last loaded Buffer if any.
Abdelrazak Younes [Sun, 26 Nov 2006 15:47:45 +0000 (15:47 +0000)]
* BufferList::last(): new method returning last loaded Buffer if any.

* LyX::exec(): fix batch export in non GUI mode.

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

17 years ago* LyXFunc::getStatus(): make it work in non-gui mode.
Abdelrazak Younes [Sun, 26 Nov 2006 15:46:02 +0000 (15:46 +0000)]
* LyXFunc::getStatus(): make it work in non-gui mode.

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

17 years ago * src/text.C: partial fixes to acceptChange() and
Michael Schmitt [Sun, 26 Nov 2006 14:49:35 +0000 (14:49 +0000)]
* src/text.C: partial fixes to acceptChange() and
rejectChange(); end-of-par characters are not considered
for the time being

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

17 years ago * ui/BulletsUi.ui: add missing shortcut
Michael Schmitt [Sun, 26 Nov 2006 14:44:38 +0000 (14:44 +0000)]
* ui/BulletsUi.ui: add missing shortcut

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

17 years ago * po/de.po: update
Michael Schmitt [Sun, 26 Nov 2006 13:55:19 +0000 (13:55 +0000)]
* po/de.po: update

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

17 years ago * po/tr.po: update by Gürer Özen
Michael Schmitt [Sun, 26 Nov 2006 13:40:41 +0000 (13:40 +0000)]
* po/tr.po: update by Gürer Özen

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

17 years ago * src/paragraph_funcs.C: remove FIXMEs for change tracking
Michael Schmitt [Sun, 26 Nov 2006 13:35:11 +0000 (13:35 +0000)]
* src/paragraph_funcs.C: remove FIXMEs for change tracking
(everything was fine); output lyxerr debug message

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

17 years ago * src/text.C: remove empty namespace; fix change tracking
Michael Schmitt [Sun, 26 Nov 2006 11:53:33 +0000 (11:53 +0000)]
* src/text.C: remove empty namespace; fix change tracking
in breakParagraph()

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

17 years ago * Status.15x: one more CT bug
Michael Schmitt [Sun, 26 Nov 2006 11:23:38 +0000 (11:23 +0000)]
* Status.15x: one more CT bug

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

17 years ago * src/paragraph_funcs.C: fix end-of-par handling in
Michael Schmitt [Sun, 26 Nov 2006 11:14:16 +0000 (11:14 +0000)]
* src/paragraph_funcs.C: fix end-of-par handling in
breakParagraph(); remove ancient comment on user-friendly
layout handling

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

17 years ago * Status.15x: add report on END_LABEL_*
Michael Schmitt [Sun, 26 Nov 2006 11:05:11 +0000 (11:05 +0000)]
* Status.15x: add report on END_LABEL_*

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

17 years ago * src/Status.15x: mark 3 bugs as fixed
Michael Schmitt [Sun, 26 Nov 2006 10:54:08 +0000 (10:54 +0000)]
* src/Status.15x: mark 3 bugs as fixed

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

17 years ago * src/GuiApplication.C: add missing include
Michael Schmitt [Sun, 26 Nov 2006 10:32:42 +0000 (10:32 +0000)]
* src/GuiApplication.C: add missing include

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

17 years ago * src/changes.C: remove obsolete check for empty table
Michael Schmitt [Sun, 26 Nov 2006 10:28:55 +0000 (10:28 +0000)]
* src/changes.C: remove obsolete check for empty table

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

17 years ago * Status.15x: clean up document; add all known change tracking problems
Michael Schmitt [Sun, 26 Nov 2006 09:57:49 +0000 (09:57 +0000)]
* Status.15x: clean up document; add all known change tracking problems

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

17 years ago* lyx_main.[Ch]
Abdelrazak Younes [Sun, 26 Nov 2006 02:18:32 +0000 (02:18 +0000)]
* lyx_main.[Ch]
  - execBatchCommands(): split in loadFiles() and execBatchCommands().
  - exec(): enable batch command to be processed from GUI.

* Application:
  - start(): deleted.

* GuiApplication:
  - execBatchCommands(): new method

* GuiWorkArea::update(): call viewport()->repaint() instead of viewport()->update(), this enable to update the screen immediately when asked by a batch command.

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

17 years ago * src/text.C: fix dissolve-inset when pressing
Michael Schmitt [Sun, 26 Nov 2006 00:04:25 +0000 (00:04 +0000)]
* src/text.C: fix dissolve-inset when pressing
erase at the end of the inset

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

17 years ago * src/text.C: remove FIXME because inset-dissolve works!
Michael Schmitt [Sat, 25 Nov 2006 23:30:58 +0000 (23:30 +0000)]
* src/text.C: remove FIXME because inset-dissolve works!
use const_iterator to access paragraph insetlist; add
FIXME in accept/rejectChange

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

17 years ago * src/CutAndPaste.C: use const_iterator to access paragraph insetlist
Michael Schmitt [Sat, 25 Nov 2006 23:22:34 +0000 (23:22 +0000)]
* src/CutAndPaste.C: use const_iterator to access paragraph insetlist

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

17 years ago * src/paragraph_funcs.C: moveItem() now really moves
Michael Schmitt [Sat, 25 Nov 2006 23:02:10 +0000 (23:02 +0000)]
* src/paragraph_funcs.C: moveItem() now really moves
items (instead of corrupting the source); adjust
calls to moveItem(); clean up breakParagraphConservative()
with regards to change tracking

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

17 years agoRemove key event pruning code. This has always been disabled without anyone complaining.
Abdelrazak Younes [Sat, 25 Nov 2006 22:35:09 +0000 (22:35 +0000)]
Remove key event pruning code. This has always been disabled without anyone complaining.

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

17 years agoToc Slider fixes from Ugras Baran.
Abdelrazak Younes [Sat, 25 Nov 2006 22:16:22 +0000 (22:16 +0000)]
Toc Slider fixes from Ugras Baran.

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

17 years agosimplify exit code, old code doesn't work on the Mac
Peter Kümmel [Sat, 25 Nov 2006 21:24:04 +0000 (21:24 +0000)]
simplify exit code, old code doesn't work on the Mac

* lyxfunc.C                         : rename unused LFUN_LYX_QUIT parameter
* frontends/qt4/GuiImplementation.C : call LFUN_LYX_QUIT when last window closed
* frontends/qt4/GuiWorkArea.C       : check theApp, add debug case
* frontends/qt4/GuiApplication.C    : remove quitLyX()
* frontends/qt4/GuiApplication.h    : remove quitLyX()
* frontends/qt4/GuiView.C           : hide() widow fore exiting to prevent crash

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

17 years ago * po/cs.po:
Michael Schmitt [Sat, 25 Nov 2006 17:29:45 +0000 (17:29 +0000)]
* po/cs.po:
* po/pl.po:
* po/he.po: something went wrong during the last remerge

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

17 years ago * po/*.po: remerge files
Michael Schmitt [Sat, 25 Nov 2006 17:18:01 +0000 (17:18 +0000)]
* po/*.po: remerge files

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

17 years ago * po/POTFILES.in: update
Michael Schmitt [Sat, 25 Nov 2006 17:13:49 +0000 (17:13 +0000)]
* po/POTFILES.in: update

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