]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agoLoad local textclass in addTextClass(), reload local layout correctly in LFUN_TEXTCLA...
Bo Peng [Sun, 24 Feb 2008 06:14:48 +0000 (06:14 +0000)]
Load local textclass in addTextClass(), reload local layout correctly in LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD

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

16 years agofix scons for InsetLayout
Bo Peng [Sun, 24 Feb 2008 05:51:07 +0000 (05:51 +0000)]
fix scons for InsetLayout

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

16 years agofix a visual cursor edge-case:
Dov Feldstern [Sun, 24 Feb 2008 01:45:51 +0000 (01:45 +0000)]
fix a visual cursor edge-case:

Only when an LTR paragraph *ends with* an RTL chunk of text, movement was
incorrect in two ways:

1. After moving into the pargraph from the end, and then trying to move towards
the beginning of the paragraph, the cursor would immediately jump to the
previous pargraph.

2. If the cursor were placed inside the RTL text, and then we would move left
towards the beginning of the paragraph, upon reaching the end (beginning?) of
the RTL chunk, cursor would jump to the end of the paragraph, and then continue
as in (1).

(Same thing, of course, with the reverse situation, i.e., RTL paragraph ending
with LTR text).

We now deal with both of these cases correctly.

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

16 years ago* setItemDelegate does not free the old delegate. So we better only create one instan...
Stefan Schimanski [Sun, 24 Feb 2008 00:49:57 +0000 (00:49 +0000)]
* setItemDelegate does not free the old delegate. So we better only create one instance and reuse that.

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

16 years agoFix drawing error on Linux, apprently caused by creation of static global instance...
Richard Heck [Sun, 24 Feb 2008 00:38:54 +0000 (00:38 +0000)]
Fix drawing error on Linux, apprently caused by creation of static global instance of QItemDelegate. Fix due to STS.

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

16 years ago(temporarily) add a Buffer * Inset::buffer_ membert
André Pönitz [Sat, 23 Feb 2008 22:32:33 +0000 (22:32 +0000)]
(temporarily) add a  Buffer * Inset::buffer_  membert

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

16 years agocompile fix
André Pönitz [Sat, 23 Feb 2008 22:21:03 +0000 (22:21 +0000)]
compile fix

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

16 years agoAfter a hiatus, I'm returning to the rewrite of InsetCommandParams, the purpose of...
Richard Heck [Sat, 23 Feb 2008 22:01:02 +0000 (22:01 +0000)]
After a hiatus, I'm returning to the rewrite of InsetCommandParams, the purpose of all of this being to make things more flexible, with the ultimate goal being biblatex support and a kind of InsetCommandFlex that will allow user-definable such things. The next step, really, is to fix up CiteEngine so that we can have different sets of parameters for InsetCitation depending upon what engine is in use. (Something like this also needs doing with InsetInclude.)

This patch reworks the machinery that holds information about what parameters there are and what their values are. There's enough flexibility here that true keyval support ought to be fairly easy at this point. I'll have a peek at that shortly.

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

16 years ago* don't forget InsetMathMBox, which is only compiled with cmake
Stefan Schimanski [Sat, 23 Feb 2008 21:59:38 +0000 (21:59 +0000)]
* don't forget InsetMathMBox, which is only compiled with cmake

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

16 years agoFix crash due to recursive function call when a counter references itself.
Bernhard Roider [Sat, 23 Feb 2008 20:38:57 +0000 (20:38 +0000)]
Fix crash due to recursive function call when a counter references itself.
e.g.:

Counter
    Name                 Version
    LabelString          "\theVersion.0"
End

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

16 years agoExtended.lyx: update by Hartmut
Uwe Stöhr [Sat, 23 Feb 2008 18:13:19 +0000 (18:13 +0000)]
Extended.lyx: update by Hartmut

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

16 years ago* Moved std::sets out of Buffer.h to reduce overall LyX compile time
Stefan Schimanski [Sat, 23 Feb 2008 18:11:35 +0000 (18:11 +0000)]
* Moved std::sets out of Buffer.h to reduce overall LyX compile time

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

16 years agofix crash on quit with Ctr-Q. Patch by Horst Schirmeier (see http://bugzilla.lyx...
Abdelrazak Younes [Sat, 23 Feb 2008 18:10:52 +0000 (18:10 +0000)]
fix crash on quit with Ctr-Q. Patch by Horst Schirmeier (see http://bugzilla.lyx.org/show_bug.cgi?id=4572)

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

16 years agomostly s/Paragraph::layout(...)/Paragraph::setLayout(...)/
André Pönitz [Sat, 23 Feb 2008 16:45:38 +0000 (16:45 +0000)]
mostly s/Paragraph::layout(...)/Paragraph::setLayout(...)/

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

16 years agoSCons update
Uwe Stöhr [Sat, 23 Feb 2008 16:40:16 +0000 (16:40 +0000)]
SCons update

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

16 years agoReplace the text class shared ptr by good old index-into-global-list.
André Pönitz [Sat, 23 Feb 2008 11:36:15 +0000 (11:36 +0000)]
Replace the text class shared ptr by good old index-into-global-list.
Also a few cosmetical changes where I xould not resist.

Would be nice if the 'modules people' could verify that their baby
is strill alive...

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

16 years agoCosmetics.
Richard Heck [Sat, 23 Feb 2008 03:48:57 +0000 (03:48 +0000)]
Cosmetics.

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

16 years ago* fix backspace at paragraph end. The inline completion should stay on screen.
Stefan Schimanski [Sat, 23 Feb 2008 03:15:34 +0000 (03:15 +0000)]
* fix backspace at paragraph end. The inline completion should stay on screen.

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

16 years ago* cleaned up word dimension calculation of completion. There is still a bug with...
Stefan Schimanski [Sat, 23 Feb 2008 03:15:05 +0000 (03:15 +0000)]
* cleaned up word dimension calculation of completion. There is still a bug with RTL which moves the popup to left when completing.

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

16 years ago* proper cursor position RTL text with inline completion
Stefan Schimanski [Sat, 23 Feb 2008 03:14:33 +0000 (03:14 +0000)]
* proper cursor position RTL text with inline completion

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

16 years ago* remove debug output
Stefan Schimanski [Sat, 23 Feb 2008 03:13:54 +0000 (03:13 +0000)]
* remove debug output

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

16 years ago* allow on position more at the row end for the completion
Stefan Schimanski [Fri, 22 Feb 2008 23:40:36 +0000 (23:40 +0000)]
* allow on position more at the row end for the completion

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

16 years ago* Qt does not reverse RTL strings for us. So it's a bit more complicated to get the...
Stefan Schimanski [Fri, 22 Feb 2008 23:15:27 +0000 (23:15 +0000)]
* Qt does not reverse RTL strings for us. So it's a bit more complicated to get the popup right: we need a QItemDeletate for this.

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

16 years ago* another step for rtl completion: the popup is shown in the right direction. Still...
Stefan Schimanski [Fri, 22 Feb 2008 21:57:57 +0000 (21:57 +0000)]
* another step for rtl completion: the popup is shown in the right direction. Still the right cursor position is missing. This also causes the popup to use a wrong position.

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

16 years ago* the bidi array drives me crazy. It only holds the current row. So better check...
Stefan Schimanski [Fri, 22 Feb 2008 21:57:45 +0000 (21:57 +0000)]
* the bidi array drives me crazy. It only holds the current row. So better check that our position is in that row.

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

16 years ago* inlineCompletionVPos is only used locally. So define it there.
Stefan Schimanski [Fri, 22 Feb 2008 21:57:33 +0000 (21:57 +0000)]
* inlineCompletionVPos is only used locally. So define it there.

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

16 years ago* following Andre's advice to rename the method into
Stefan Schimanski [Fri, 22 Feb 2008 21:11:19 +0000 (21:11 +0000)]
* following Andre's advice to rename the method into
  createCompletionList. This makes the ownership of the returned
  object clear.

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

16 years ago* some more relicts of the unfinished favorite handling for math completion
Stefan Schimanski [Fri, 22 Feb 2008 21:11:05 +0000 (21:11 +0000)]
* some more relicts of the unfinished favorite handling for math completion

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

16 years ago* comments
Stefan Schimanski [Fri, 22 Feb 2008 20:45:42 +0000 (20:45 +0000)]
* comments

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

16 years ago* simplify notifyCursorLeaves logic: We now only call it from strategic
Stefan Schimanski [Fri, 22 Feb 2008 20:45:18 +0000 (20:45 +0000)]
* simplify notifyCursorLeaves logic: We now only call it from strategic
  places, i.e.
  - BufferView::setMouseCursor,
  - BufferView::mouseEventDispatch
  - LyXFunc::dispatch
  Before it was called from several dispatch handlers in the middle of the
  dispatch process. Because the cursor might get invalidated, this is
  not a good idea. We had plenty of crashes and odd behaviours because
  of this as nobody really understood those cases.

  This fixes (at least) #2069 and #4163.

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

16 years ago* correct parsing of unknown math environment (fixes http://bugzilla.lyx.org/show_bug...
Stefan Schimanski [Fri, 22 Feb 2008 20:04:38 +0000 (20:04 +0000)]
* correct parsing of unknown math environment (fixes http://bugzilla.lyx.org/show_bug.cgi?id=4573)

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

16 years agoGuiView::dispatch(): Fix cut&paste bug.
Abdelrazak Younes [Fri, 22 Feb 2008 17:36:40 +0000 (17:36 +0000)]
GuiView::dispatch(): Fix cut&paste bug.

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

16 years agoLine length.
Richard Heck [Fri, 22 Feb 2008 16:26:40 +0000 (16:26 +0000)]
Line length.

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

16 years agoMove the enum into InsetLayout.
Richard Heck [Fri, 22 Feb 2008 16:24:55 +0000 (16:24 +0000)]
Move the enum into InsetLayout.

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

16 years agoThis should be the last of the commits refactoring the InsetLayout code.
Richard Heck [Fri, 22 Feb 2008 16:15:21 +0000 (16:15 +0000)]
This should be the last of the commits refactoring the InsetLayout code.

This one just moves the Decoration enum into InsetLayout, changing the names
to avoid possible conflicts now that it is in the lyx namespace.

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

16 years agoSort table.
Richard Heck [Fri, 22 Feb 2008 16:12:36 +0000 (16:12 +0000)]
Sort table.

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

16 years ago* cosmetic
Stefan Schimanski [Fri, 22 Feb 2008 15:38:26 +0000 (15:38 +0000)]
* cosmetic

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

16 years ago* cosmetic
Stefan Schimanski [Fri, 22 Feb 2008 15:26:52 +0000 (15:26 +0000)]
* cosmetic

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

16 years ago* first step to proper RTL support of the completion. The cursor is still wrong.
Stefan Schimanski [Fri, 22 Feb 2008 14:05:27 +0000 (14:05 +0000)]
* first step to proper RTL support of the completion. The cursor is still wrong.

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

16 years ago* once is enough
Stefan Schimanski [Fri, 22 Feb 2008 14:05:06 +0000 (14:05 +0000)]
* once is enough

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

16 years agoText::setCursor(): make sure an update is asked if the current cursor is not visible.
Abdelrazak Younes [Fri, 22 Feb 2008 12:27:56 +0000 (12:27 +0000)]
Text::setCursor(): make sure an update is asked if the current cursor is not visible.

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

16 years agoText::dispatch(): Make sure the cursor is visible before doing anything.
Abdelrazak Younes [Fri, 22 Feb 2008 12:22:28 +0000 (12:22 +0000)]
Text::dispatch(): Make sure the cursor is visible before doing anything.

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

16 years agoFix this bug:
Abdelrazak Younes [Fri, 22 Feb 2008 11:07:41 +0000 (11:07 +0000)]
Fix this bug:
1. scroll a bit so that the cursor is not visible anymore
2. hit the keyboard arrow keys to move the cursor or type something

The problem was that TextMetrics::parMetric() automatically creates a new parmetrics on const access. This was needed in the old architecture but I don't think anymore.

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

16 years agodisable annoying debug messages
Jean-Marc Lasgouttes [Fri, 22 Feb 2008 10:30:46 +0000 (10:30 +0000)]
disable annoying debug messages

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

16 years agosort lyxrc keywords table
Jean-Marc Lasgouttes [Fri, 22 Feb 2008 10:25:12 +0000 (10:25 +0000)]
sort lyxrc keywords table

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

16 years agocompilation fix for tex2lyx
Jean-Marc Lasgouttes [Fri, 22 Feb 2008 10:16:18 +0000 (10:16 +0000)]
compilation fix for tex2lyx

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

16 years ago* no need for QStyleOptionViewItemV3
Stefan Schimanski [Fri, 22 Feb 2008 10:15:28 +0000 (10:15 +0000)]
* no need for QStyleOptionViewItemV3

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

16 years agoFix tex2lyx compilation.
Abdelrazak Younes [Fri, 22 Feb 2008 09:23:47 +0000 (09:23 +0000)]
Fix tex2lyx compilation.

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

16 years ago* stdlib-debug out of range fix
Stefan Schimanski [Fri, 22 Feb 2008 09:00:22 +0000 (09:00 +0000)]
* stdlib-debug out of range fix

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

16 years agoMore headers.
Richard Heck [Fri, 22 Feb 2008 03:39:10 +0000 (03:39 +0000)]
More headers.

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

16 years agoHeaders.
Richard Heck [Fri, 22 Feb 2008 03:34:03 +0000 (03:34 +0000)]
Headers.

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

16 years agoThis is the second commit in the process of making InsetLayout a real class.
Richard Heck [Fri, 22 Feb 2008 03:27:42 +0000 (03:27 +0000)]
This is the second commit in the process of making InsetLayout a real class.

Here, we move TextClass::readInsetLayout() to InsetLayout::read().

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

16 years agoThis is the first of a series of commits that will make InsetLayout a real class.
Richard Heck [Fri, 22 Feb 2008 02:32:52 +0000 (02:32 +0000)]
This is the first of a series of commits that will make InsetLayout a real class.

In this commit, we do the minimal amount of work necessary to protect our data.

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

16 years ago* typo
Stefan Schimanski [Thu, 21 Feb 2008 23:38:46 +0000 (23:38 +0000)]
* typo

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

16 years ago* Reduce compilation time by removing the shared_ptr (which is not
Stefan Schimanski [Thu, 21 Feb 2008 23:36:02 +0000 (23:36 +0000)]
* Reduce compilation time by removing the shared_ptr (which is not
  really important because the ownership of the CompletionLists is
  easy enough) and by removing the deque for the half finished
  favorites implemention in InsetMathNest. I think this fits better
  into the GuiCompleter anyway.

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

16 years agocompile fix
Abdelrazak Younes [Thu, 21 Feb 2008 22:39:46 +0000 (22:39 +0000)]
compile fix

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

16 years agoCosmetics.
Pavel Sanda [Thu, 21 Feb 2008 22:19:22 +0000 (22:19 +0000)]
Cosmetics.

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

16 years ago* Doxy (people really want to stop the time).
Pavel Sanda [Thu, 21 Feb 2008 21:16:31 +0000 (21:16 +0000)]
* Doxy (people really want to stop the time).

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

16 years agoCosmetics. And silence some warnings.
Richard Heck [Thu, 21 Feb 2008 20:04:17 +0000 (20:04 +0000)]
Cosmetics. And silence some warnings.

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

16 years ago* a MathMacro is like a normal InsetMathNest in folded mode. Hence it should also...
Stefan Schimanski [Thu, 21 Feb 2008 19:45:36 +0000 (19:45 +0000)]
* a MathMacro is like a normal InsetMathNest in folded mode. Hence it should also behave like that concerning completion.

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

16 years ago* add some space between math inset and popup. This should really come from the font...
Stefan Schimanski [Thu, 21 Feb 2008 19:45:05 +0000 (19:45 +0000)]
* add some space between math inset and popup. This should really come from the font maximal descent in fact.

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

16 years ago* show popup without delay even when the inline completion is just activated by expli...
Stefan Schimanski [Thu, 21 Feb 2008 19:44:28 +0000 (19:44 +0000)]
* show popup without delay even when the inline completion is just activated by explicit tab

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

16 years ago* silence warnings with null QPixmap
Stefan Schimanski [Thu, 21 Feb 2008 19:43:53 +0000 (19:43 +0000)]
* silence warnings with null QPixmap

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

16 years ago* minimize redraws during completion
Stefan Schimanski [Thu, 21 Feb 2008 19:43:16 +0000 (19:43 +0000)]
* minimize redraws during completion

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

16 years ago* completion infrastructure
Stefan Schimanski [Thu, 21 Feb 2008 19:42:34 +0000 (19:42 +0000)]
* completion infrastructure
* completion support for mathed
* experimental completion support for text

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

16 years agoAdd empty InsetLayout for undefined cases. Should avoid possible bugs caused by empty...
Richard Heck [Thu, 21 Feb 2008 16:31:59 +0000 (16:31 +0000)]
Add empty InsetLayout for undefined cases. Should avoid possible bugs caused by empty layout_ pointer in InsetCollapsable.

NOTE: Some cleanup is needed here, and I'll do it shortly. Doing it properly, though, requires making InsetLayout a proper class. (At the moment, it's just a C-style struct.) That should be committed separately.

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

16 years ago* Doxy.
Pavel Sanda [Thu, 21 Feb 2008 15:15:36 +0000 (15:15 +0000)]
* Doxy.

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

16 years agoAdd hide tab icon.
Pavel Sanda [Thu, 21 Feb 2008 15:13:39 +0000 (15:13 +0000)]
Add hide tab icon.

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

16 years agoLFUN_CLOSE_TAB_GROUP: bug fixes.
Abdelrazak Younes [Thu, 21 Feb 2008 15:09:10 +0000 (15:09 +0000)]
LFUN_CLOSE_TAB_GROUP: bug fixes.

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

16 years agoAdd menu item for close-tab-group
Abdelrazak Younes [Thu, 21 Feb 2008 14:58:58 +0000 (14:58 +0000)]
Add menu item for close-tab-group

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

16 years agoIntroduce LFUN_CLOSE_TAB_GROUP.
Abdelrazak Younes [Thu, 21 Feb 2008 14:53:09 +0000 (14:53 +0000)]
Introduce LFUN_CLOSE_TAB_GROUP.

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

16 years agoSquash RC warnings.
Pavel Sanda [Thu, 21 Feb 2008 14:34:41 +0000 (14:34 +0000)]
Squash RC warnings.

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

16 years ago* lib/stdmenus.inc: Collision with HTML|H
Pavel Sanda [Thu, 21 Feb 2008 14:23:10 +0000 (14:23 +0000)]
* lib/stdmenus.inc: Collision with HTML|H

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

16 years agoBe on the safe side WRT events.
Abdelrazak Younes [Thu, 21 Feb 2008 13:42:49 +0000 (13:42 +0000)]
Be on the safe side WRT events.

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

16 years ago* lib/stdmenus.inc:
Jürgen Spitzmüller [Thu, 21 Feb 2008 13:20:29 +0000 (13:20 +0000)]
* lib/stdmenus.inc:
- fix shortcut casing.

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

16 years agoadd menu item for split-view
Abdelrazak Younes [Thu, 21 Feb 2008 13:09:27 +0000 (13:09 +0000)]
add menu item for split-view

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

16 years ago* LFUN_SPLIT_VIEW: document.
Abdelrazak Younes [Thu, 21 Feb 2008 12:55:16 +0000 (12:55 +0000)]
* LFUN_SPLIT_VIEW: document.

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

16 years ago* LFUN_SPLIT_VIEW: add support for vertical split view.
Abdelrazak Younes [Thu, 21 Feb 2008 12:48:05 +0000 (12:48 +0000)]
* LFUN_SPLIT_VIEW: add support for vertical split view.

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

16 years ago* TabWorkArea: rename 'close tab' button to 'close buffer' and add a 'close tab'...
Abdelrazak Younes [Thu, 21 Feb 2008 12:29:26 +0000 (12:29 +0000)]
* TabWorkArea: rename 'close tab' button to 'close buffer' and add a 'close tab' button.

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

16 years agoFix drawing of multiple views of a same buffer in the *same window* (aka split-view).
Abdelrazak Younes [Thu, 21 Feb 2008 11:56:38 +0000 (11:56 +0000)]
Fix drawing of multiple views of a same buffer in the *same window* (aka split-view).

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

16 years agoFix buffer-switching in split view.
Abdelrazak Younes [Thu, 21 Feb 2008 11:48:31 +0000 (11:48 +0000)]
Fix buffer-switching in split view.

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

16 years ago* BufferView::resize() Remove showCursor() call when resizing.
Abdelrazak Younes [Thu, 21 Feb 2008 09:23:01 +0000 (09:23 +0000)]
* BufferView::resize() Remove showCursor() call when resizing.

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

16 years agoIntroducing LFUN_SPLIT_VIEW
Abdelrazak Younes [Wed, 20 Feb 2008 21:46:49 +0000 (21:46 +0000)]
Introducing LFUN_SPLIT_VIEW

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

16 years agosmall tweak for split view.
Abdelrazak Younes [Wed, 20 Feb 2008 20:05:01 +0000 (20:05 +0000)]
small tweak for split view.

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

16 years agoFix crash by setting Layout before calling InsetText::read().
Richard Heck [Wed, 20 Feb 2008 16:56:33 +0000 (16:56 +0000)]
Fix crash by setting Layout before calling InsetText::read().

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

16 years agoMake postats.py independent of the environment locale (2nd try)
José Matox [Wed, 20 Feb 2008 16:31:50 +0000 (16:31 +0000)]
Make postats.py independent of the environment locale (2nd try)

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

16 years agoFix scrollbar/resizing interaction.
Abdelrazak Younes [Wed, 20 Feb 2008 15:37:17 +0000 (15:37 +0000)]
Fix scrollbar/resizing interaction.

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

16 years agoLFUN_UI_TOGGLE: make sure the keyboard focus stays in the work area. Should fix the...
Abdelrazak Younes [Wed, 20 Feb 2008 15:11:47 +0000 (15:11 +0000)]
LFUN_UI_TOGGLE: make sure the keyboard focus stays in the work area. Should fix the focus problems under MacOS.

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

16 years agoWork-around scrollbar bug when returning from fullscreen mode.
Abdelrazak Younes [Wed, 20 Feb 2008 15:07:36 +0000 (15:07 +0000)]
Work-around scrollbar bug when returning from fullscreen mode.

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

16 years agofollowing revert of 23068: Better fix for bug 4044
Abdelrazak Younes [Wed, 20 Feb 2008 14:53:19 +0000 (14:53 +0000)]
following revert of 23068: Better fix for bug 4044

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

16 years agoFullscreen support: Small cleanups. Still not sure why the scrollbar is not properly...
Abdelrazak Younes [Wed, 20 Feb 2008 14:27:52 +0000 (14:27 +0000)]
Fullscreen support: Small cleanups. Still not sure why the scrollbar is not properly updated...

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

16 years agomore tooltip cleanup
Edwin Leuven [Wed, 20 Feb 2008 14:12:19 +0000 (14:12 +0000)]
more tooltip cleanup

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

16 years agocleanup tooltip
Edwin Leuven [Wed, 20 Feb 2008 13:57:54 +0000 (13:57 +0000)]
cleanup tooltip

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

16 years agofix layout
Edwin Leuven [Wed, 20 Feb 2008 13:50:35 +0000 (13:50 +0000)]
fix layout

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

16 years agorevert 23068 as this was causing a recursive repaint.
Abdelrazak Younes [Wed, 20 Feb 2008 13:32:03 +0000 (13:32 +0000)]
revert 23068 as this was causing a recursive repaint.
Warning for the future: *no* painting activity should happen inside a paint event.

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

16 years agocosmetics
Abdelrazak Younes [Wed, 20 Feb 2008 10:21:00 +0000 (10:21 +0000)]
cosmetics

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

16 years agoImprove fullscreen mode (bug 4146).
Pavel Sanda [Tue, 19 Feb 2008 21:51:55 +0000 (21:51 +0000)]
Improve fullscreen mode (bug 4146).

- added toolbars/tabbar/scrollbar toggling
- added text width control
- added GUI preferences & menu & shortcut

Known problems:
- Outliner in Mac is seeking some Mac devie to fix (see hints here:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135382.html )
- Toolbars visibility is shared between windows (views)
  (needs toolbars overhaul).
- Adding new tab items does not reflect fullscreen mode
  (i.e. margins and tabbar get visible)

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

16 years agoUpdate cursor and scrollbar after resize.
Pavel Sanda [Tue, 19 Feb 2008 21:27:18 +0000 (21:27 +0000)]
Update cursor and scrollbar after resize.
Fixes bug 4044.

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

16 years agodoc update.
Abdelrazak Younes [Tue, 19 Feb 2008 12:42:49 +0000 (12:42 +0000)]
doc update.

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

16 years agorev 23064: forgot that.
Abdelrazak Younes [Tue, 19 Feb 2008 09:13:58 +0000 (09:13 +0000)]
rev 23064: forgot that.

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