]> git.lyx.org Git - lyx.git/log
lyx.git
16 years ago* moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffe...
Stefan Schimanski [Mon, 24 Dec 2007 10:52:58 +0000 (10:52 +0000)]
* moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffer view

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

16 years agoTry to improve maintainability by separately checking for the
Enrico Forestieri [Mon, 24 Dec 2007 02:36:41 +0000 (02:36 +0000)]
Try to improve maintainability by separately checking for the
gather environment.

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

16 years ago* clearer icon for math macros
Stefan Schimanski [Sun, 23 Dec 2007 20:22:10 +0000 (20:22 +0000)]
* clearer icon for math macros

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

16 years ago* Some dialogs are independent of the lyxview. Moreover it seems that
Stefan Schimanski [Sun, 23 Dec 2007 19:07:46 +0000 (19:07 +0000)]
* Some dialogs are independent of the lyxview. Moreover it seems that
  the Qt Mac application menu is handled differently such that no
  getStatus() is issued anymore later when opening it. Hence we have
  to return the correct (i.e. enable==true) value for those lfuns from
  the beginning.

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

16 years ago* first clear the menubar, then fill it (with mac menu items)
Stefan Schimanski [Sun, 23 Dec 2007 18:51:11 +0000 (18:51 +0000)]
* first clear the menubar, then fill it (with mac menu items)

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

16 years ago* indention fix
Stefan Schimanski [Sun, 23 Dec 2007 16:33:34 +0000 (16:33 +0000)]
* indention fix

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

16 years ago* compile fix
Stefan Schimanski [Sun, 23 Dec 2007 16:33:15 +0000 (16:33 +0000)]
* compile fix

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

16 years ago* tex2lyx support for multiple optional argument using \newlyxcommand
Stefan Schimanski [Sun, 23 Dec 2007 16:33:01 +0000 (16:33 +0000)]
* tex2lyx support for multiple optional argument using \newlyxcommand

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

16 years ago* newlyxcommand support as LaTeX feature
Stefan Schimanski [Sun, 23 Dec 2007 16:32:00 +0000 (16:32 +0000)]
* newlyxcommand support as LaTeX feature

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

16 years ago* \newlyxcommand support
Stefan Schimanski [Sun, 23 Dec 2007 16:31:37 +0000 (16:31 +0000)]
* \newlyxcommand support

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

16 years ago* perl -e 'while(<>) {sed s/\s+$//; print "$_\n";}' - Xcode's space/tab behaviour...
Stefan Schimanski [Sun, 23 Dec 2007 01:28:51 +0000 (01:28 +0000)]
* perl -e 'while(<>) {sed s/\s+$//; print "$_\n";}' - Xcode's space/tab behaviour sucks

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

16 years ago* another monster line
Stefan Schimanski [Sun, 23 Dec 2007 01:28:24 +0000 (01:28 +0000)]
* another monster line

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

16 years ago* cosmetic for loops with deep if nestings
Stefan Schimanski [Sun, 23 Dec 2007 01:28:03 +0000 (01:28 +0000)]
* cosmetic for loops with deep if nestings

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

16 years ago* tabs are evil... hopefully I fixed all monster lines now
Stefan Schimanski [Sun, 23 Dec 2007 01:27:42 +0000 (01:27 +0000)]
* tabs are evil... hopefully I fixed all monster lines now

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

16 years ago* tabs are evil
Stefan Schimanski [Sun, 23 Dec 2007 01:27:18 +0000 (01:27 +0000)]
* tabs are evil

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

16 years ago* tabs are evil
Stefan Schimanski [Sun, 23 Dec 2007 01:27:04 +0000 (01:27 +0000)]
* tabs are evil

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

16 years ago* cellDim_ is not needed anymore
Stefan Schimanski [Sun, 23 Dec 2007 01:26:46 +0000 (01:26 +0000)]
* cellDim_ is not needed anymore

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

16 years ago* proper labels under the holes in macro templates during editing
Stefan Schimanski [Sun, 23 Dec 2007 01:25:51 +0000 (01:25 +0000)]
* proper labels under the holes in macro templates during editing
* The labels can easily be changed. In fact the whole layout can easily be changed because it's modular. So nothing is final yet...

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

16 years ago* first tries to make the math macro template more verbose
Stefan Schimanski [Sun, 23 Dec 2007 01:24:34 +0000 (01:24 +0000)]
* first tries to make the math macro template more verbose

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

16 years ago* disable "auto" again until that point is discussed on the mailing list
Stefan Schimanski [Sun, 23 Dec 2007 00:50:21 +0000 (00:50 +0000)]
* disable "auto" again until that point is discussed on the mailing list

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

16 years ago* correction of comment
Stefan Schimanski [Sun, 23 Dec 2007 00:49:44 +0000 (00:49 +0000)]
* correction of comment

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

16 years ago* cosmetic
Stefan Schimanski [Sun, 23 Dec 2007 00:49:18 +0000 (00:49 +0000)]
* cosmetic

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

16 years ago* cosmetic
Stefan Schimanski [Sun, 23 Dec 2007 00:48:41 +0000 (00:48 +0000)]
* cosmetic

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

16 years ago* math macro toolbar can be made automatic
Stefan Schimanski [Sun, 23 Dec 2007 00:47:37 +0000 (00:47 +0000)]
* math macro toolbar can be made automatic

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

16 years ago- EmbeddedObjects.lyx: typo
Uwe Stöhr [Sat, 22 Dec 2007 18:49:09 +0000 (18:49 +0000)]
- EmbeddedObjects.lyx: typo
- German Tutorial update by Hartmut

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

16 years ago* simplify editing logic of math macros by making it purely dynamic
Stefan Schimanski [Sat, 22 Dec 2007 14:39:47 +0000 (14:39 +0000)]
* simplify editing logic of math macros by making it purely dynamic

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

16 years ago* kerning may depend on the BufferView because the metrics of some insets (e.g. math...
Stefan Schimanski [Sat, 22 Dec 2007 14:39:22 +0000 (14:39 +0000)]
* kerning may depend on the BufferView because the metrics of some insets (e.g. math macros) depend on the cursor position in the view

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

16 years ago* Inset::editing should be const
Stefan Schimanski [Sat, 22 Dec 2007 14:38:43 +0000 (14:38 +0000)]
* Inset::editing should be const

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

16 years ago* make isInside const
Stefan Schimanski [Sat, 22 Dec 2007 14:38:20 +0000 (14:38 +0000)]
* make isInside const

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

16 years agoFix navigation and bookmarks.
Abdelrazak Younes [Sat, 22 Dec 2007 10:19:26 +0000 (10:19 +0000)]
Fix navigation and bookmarks.

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

16 years agofix for cursor movement from text into mathed.
Abdelrazak Younes [Sat, 22 Dec 2007 09:25:59 +0000 (09:25 +0000)]
fix for cursor movement from text into mathed.

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

16 years agoAnother fix for cursor movement up with big insets.
Abdelrazak Younes [Sat, 22 Dec 2007 09:10:49 +0000 (09:10 +0000)]
Another fix for cursor movement up with big insets.

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

16 years agoSome fixes.
Abdelrazak Younes [Sat, 22 Dec 2007 09:04:53 +0000 (09:04 +0000)]
Some fixes.

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

16 years agoCenter rows in the gather environment.
Enrico Forestieri [Fri, 21 Dec 2007 23:15:54 +0000 (23:15 +0000)]
Center rows in the gather environment.

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

16 years ago* Buffer::filePath(): add a trailing '/' because the original version used support...
Abdelrazak Younes [Fri, 21 Dec 2007 21:38:04 +0000 (21:38 +0000)]
* Buffer::filePath(): add a trailing '/' because the original version used support::onlyPath() which keeps the trailing slash.

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

16 years ago* first support of multiple BufferViews for macros. There are still problems that...
Stefan Schimanski [Fri, 21 Dec 2007 20:44:37 +0000 (20:44 +0000)]
* first support of multiple BufferViews for macros. There are still problems that somehow the dimension caching is mixed among them.

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

16 years ago* adapt to MacroType
Stefan Schimanski [Fri, 21 Dec 2007 20:44:20 +0000 (20:44 +0000)]
* adapt to MacroType

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

16 years ago* add \protect in front of macro with optional arguments because they are fragile
Stefan Schimanski [Fri, 21 Dec 2007 20:43:50 +0000 (20:43 +0000)]
* add \protect in front of macro with optional arguments because they are fragile

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

16 years ago* added debugging flag "macros" for math macros
Stefan Schimanski [Fri, 21 Dec 2007 20:43:21 +0000 (20:43 +0000)]
* added debugging flag "macros" for math macros

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

16 years ago* Lazy MathData to avoid unneeded interpretation of macro definitions
Stefan Schimanski [Fri, 21 Dec 2007 20:42:46 +0000 (20:42 +0000)]
* Lazy MathData to avoid unneeded interpretation of macro definitions
* DocIterator as MacroPosition
* Iterative search for macro in scope until a visible one is found.
This include the ability to resolve macro inside nested text insets.
* Speed up macro lookups by factor 2: only getMacro(name) call, no
further hasMacro(name) call before
* Both way child/master support
* Correct macro scope for multi-paragraph environments
* Correct macro scope for multi-depth-paragraphs
* Buffer::updateMacros made const
* Update macros when loaded (of master and child)
* Do not remove too many braces when unfolding a macro. This could
lead to a data loss because the relationship between arguments of
macros can be mixed up if nested macros are unfold at once.
* Reduce dependencies to MetricsInfo in MathMacro
* Update macros when needed. Normally it's done just before doing
metrics. But in cases without a brace around some constructs (like
\left(bla\right)) there is some help needed.

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

16 years agoIntro.lyx: change some sentences as proposed on the docs list by Jeff Barnes
Uwe Stöhr [Fri, 21 Dec 2007 20:41:59 +0000 (20:41 +0000)]
Intro.lyx: change some sentences as proposed on the docs list by Jeff Barnes

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

16 years agoFix cursor positionning on new buffer.
Abdelrazak Younes [Fri, 21 Dec 2007 20:01:11 +0000 (20:01 +0000)]
Fix cursor positionning on new buffer.

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

16 years agoImprove size of spaces.
Richard Heck [Fri, 21 Dec 2007 19:34:13 +0000 (19:34 +0000)]
Improve size of spaces.

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

16 years agoMore scrolling tweaks.
Abdelrazak Younes [Fri, 21 Dec 2007 13:38:09 +0000 (13:38 +0000)]
More scrolling tweaks.

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

16 years agoFixed size line scrolling gives a better user experience.
Abdelrazak Younes [Fri, 21 Dec 2007 13:24:57 +0000 (13:24 +0000)]
Fixed size line scrolling gives a better user experience.

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

16 years agoscrolling tweaks.
Abdelrazak Younes [Fri, 21 Dec 2007 13:03:45 +0000 (13:03 +0000)]
scrolling tweaks.

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

16 years agoAdd Linguistics module.
Jürgen Spitzmüller [Fri, 21 Dec 2007 12:12:19 +0000 (12:12 +0000)]
Add Linguistics module.

* lib/layouts/linguistics.module:
- a new module with some linguistics support.
* lib/doc/examples/linguistics.lyx:
- some documentation.
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
- add packages covington, csquotes and enumitem.

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

16 years agobug fix
Abdelrazak Younes [Fri, 21 Dec 2007 11:22:17 +0000 (11:22 +0000)]
bug fix

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

16 years ago* LyXFunc::dispatch(): invert BufferView::dispatch() and cursor::dispatch() calling.
Abdelrazak Younes [Fri, 21 Dec 2007 10:42:59 +0000 (10:42 +0000)]
* LyXFunc::dispatch(): invert BufferView::dispatch() and cursor::dispatch() calling.

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

16 years agoFix LFUN_BUFFER_END
Abdelrazak Younes [Fri, 21 Dec 2007 10:11:32 +0000 (10:11 +0000)]
Fix LFUN_BUFFER_END

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

16 years agocode simplification.
Abdelrazak Younes [Fri, 21 Dec 2007 09:45:04 +0000 (09:45 +0000)]
code simplification.

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

16 years agoadd comments
Abdelrazak Younes [Fri, 21 Dec 2007 09:43:23 +0000 (09:43 +0000)]
add comments

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

16 years ago* compile fix
Stefan Schimanski [Fri, 21 Dec 2007 09:19:19 +0000 (09:19 +0000)]
* compile fix

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

16 years agorename BufferView::center() to showCursor().
Abdelrazak Younes [Fri, 21 Dec 2007 08:35:43 +0000 (08:35 +0000)]
rename BufferView::center() to showCursor().

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

16 years agoClose to perfect scrolling. Some bugs fixing and behaviour tweaking remains but we...
Abdelrazak Younes [Fri, 21 Dec 2007 08:28:18 +0000 (08:28 +0000)]
Close to perfect scrolling. Some bugs fixing and behaviour tweaking remains but we are on a much saner ground.

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

16 years agocorrectly position new paragraph on up and down movement.
Abdelrazak Younes [Fri, 21 Dec 2007 07:16:50 +0000 (07:16 +0000)]
correctly position new paragraph on up and down movement.

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

16 years agoINSTALL.Win32: update build-package to Qt 4.3.2
Uwe Stöhr [Thu, 20 Dec 2007 20:11:29 +0000 (20:11 +0000)]
INSTALL.Win32: update build-package to Qt 4.3.2

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

16 years agoSupport for nocite, provided by Bernhard Reiter.
Richard Heck [Thu, 20 Dec 2007 15:46:14 +0000 (15:46 +0000)]
Support for nocite, provided by Bernhard Reiter.

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

16 years agothe russian translation is back from the dead
Jean-Marc Lasgouttes [Thu, 20 Dec 2007 15:25:31 +0000 (15:25 +0000)]
the russian translation is back from the dead

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

16 years ago* compile fix for trunk
Stefan Schimanski [Wed, 19 Dec 2007 23:03:26 +0000 (23:03 +0000)]
* compile fix for trunk

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

16 years ago* at least return a valid template on parse error, but:
Stefan Schimanski [Wed, 19 Dec 2007 22:57:22 +0000 (22:57 +0000)]
* at least return a valid template on parse error, but:
FIXME: The macro template does not make sense after this.
  The whole parsing should not be in a constructor which
  has no chance to report failure.

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

16 years agoAdd buffer name/path/class to InsetInfo
Bo Peng [Wed, 19 Dec 2007 18:09:00 +0000 (18:09 +0000)]
Add buffer name/path/class to InsetInfo

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

16 years agoFix PageDown/Up scrolling.
Abdelrazak Younes [Wed, 19 Dec 2007 08:41:16 +0000 (08:41 +0000)]
Fix PageDown/Up scrolling.

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

16 years agoFix some scrolling issues.
Abdelrazak Younes [Wed, 19 Dec 2007 07:47:03 +0000 (07:47 +0000)]
Fix some scrolling issues.

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

16 years ago- LaTeXConfig.lyx: Japanese class updates by Koji
Uwe Stöhr [Tue, 18 Dec 2007 21:35:23 +0000 (21:35 +0000)]
- LaTeXConfig.lyx: Japanese class updates by Koji
- Tutorial: fix a typo

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

16 years agoUse ErrorList to handle encoding error
Bo Peng [Tue, 18 Dec 2007 17:51:20 +0000 (17:51 +0000)]
Use ErrorList to handle encoding error

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

16 years agoAdd lfun doxy.
Pavel Sanda [Tue, 18 Dec 2007 14:04:13 +0000 (14:04 +0000)]
Add lfun doxy.

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

16 years ago* FileName::onlyPath(): use correct method. I need glasses!
Abdelrazak Younes [Tue, 18 Dec 2007 10:34:53 +0000 (10:34 +0000)]
* FileName::onlyPath(): use correct method. I need glasses!

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

16 years agoRemove unneeded assertion.
Abdelrazak Younes [Tue, 18 Dec 2007 10:14:01 +0000 (10:14 +0000)]
Remove unneeded assertion.

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

16 years agoFix bug 2913: "mark-on" broken.
Jürgen Spitzmüller [Tue, 18 Dec 2007 07:10:55 +0000 (07:10 +0000)]
Fix bug 2913: "mark-on" broken.

* src/Cursor.cpp (selHandle):
- handle mark()
* src/Text.cpp (dissolveInset):
- switch mark off before using selHandle, just in case.

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

16 years agoFrench Intro.lyx: updates by Jean-Pierre
Uwe Stöhr [Mon, 17 Dec 2007 23:44:46 +0000 (23:44 +0000)]
French Intro.lyx: updates by Jean-Pierre

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

16 years agoinstaller: sync to trunk again
Uwe Stöhr [Mon, 17 Dec 2007 23:13:01 +0000 (23:13 +0000)]
installer: sync to trunk again

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

16 years agocheck for hyperref since it is now required
Uwe Stöhr [Mon, 17 Dec 2007 22:46:58 +0000 (22:46 +0000)]
check for hyperref since it is now required

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

16 years agoinstaller: sync with branch
Uwe Stöhr [Mon, 17 Dec 2007 22:34:35 +0000 (22:34 +0000)]
installer: sync with branch

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

16 years agoNow that exceptions are allowed, handle gracefully the case where a Buffer temp direc...
Abdelrazak Younes [Mon, 17 Dec 2007 18:37:13 +0000 (18:37 +0000)]
Now that exceptions are allowed, handle gracefully the case where a Buffer temp directory could not be created. As a bonus, the user will get an informative message.

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

16 years ago* fix bug 4055, overdue patch from Stefan Schimanski:
Jürgen Spitzmüller [Mon, 17 Dec 2007 18:13:02 +0000 (18:13 +0000)]
* fix bug 4055, overdue patch from Stefan Schimanski:

"The idea of the beforeDispX/Y_ variables in the Cursor is to hold the position
of the cursor on screen before the lyxfunc is dispatched. But to get this the
metrics must be valid. It's updated in Cursor::dispatch before the dispatch
loop.
After inserting/deleting stuff (like when deleting the selected text before
inserting the alpha) the metrics are invalid. But the handler for the alpha
calls Cursor::dispatch after the deletion and hence the crash with your second
patch.

Here is a patch fixing that:

The beforeDispatchXY variable do not belong into the Cursor::dispatch because
Cursor::dispatch is often called "manually" by many handlers to some followup
action. So this logic must go somewhere else where it is sure that is not
updated after the metrics got invalidated."

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

16 years ago* FileName::onlyFileName(): use QFileInfo method.
Abdelrazak Younes [Mon, 17 Dec 2007 17:09:30 +0000 (17:09 +0000)]
* FileName::onlyFileName(): use QFileInfo method.
* FileName::onlyPath(): use QFileInfo method.

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

16 years ago* FileName::changePermission(): upon Enrico's advice, don't check file writability...
Abdelrazak Younes [Mon, 17 Dec 2007 16:52:24 +0000 (16:52 +0000)]
* FileName::changePermission(): upon Enrico's advice, don't check file writability, relies on ::chmod() returned error.

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

16 years ago* src/ASpell.cpp:
Jürgen Spitzmüller [Mon, 17 Dec 2007 16:51:23 +0000 (16:51 +0000)]
* src/ASpell.cpp:
- implement lyxrc.isp_accept_compound (bug 4408).

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

16 years ago* get rid of support::absolutePath()
Abdelrazak Younes [Mon, 17 Dec 2007 16:04:46 +0000 (16:04 +0000)]
* get rid of support::absolutePath()
* remove FileName.h inclusion from filetools.h

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

16 years agotransfer os::is_absolute_path() to FileName::isAbsolute().
Abdelrazak Younes [Mon, 17 Dec 2007 15:15:37 +0000 (15:15 +0000)]
transfer os::is_absolute_path() to FileName::isAbsolute().

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

16 years ago* src/output_latex.{cpp,h}:
Jürgen Spitzmüller [Mon, 17 Dec 2007 10:53:38 +0000 (10:53 +0000)]
* src/output_latex.{cpp,h}:
* src/Font.cpp:
* src/Paragraph.cpp:
- simplify switchEncoding.

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

16 years agocompile fix.
Jürgen Spitzmüller [Mon, 17 Dec 2007 10:51:39 +0000 (10:51 +0000)]
compile fix.

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

16 years agoFix network drive access.
Abdelrazak Younes [Mon, 17 Dec 2007 07:50:35 +0000 (07:50 +0000)]
Fix network drive access.

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

16 years agoheader cleanup.
Abdelrazak Younes [Sun, 16 Dec 2007 22:09:28 +0000 (22:09 +0000)]
header cleanup.

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

16 years agoadd MSVC build batch files to the SCons folder
Uwe Stöhr [Sun, 16 Dec 2007 19:38:45 +0000 (19:38 +0000)]
add MSVC build batch files to the SCons folder

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

16 years agotextrm_O.png: rename image to what it really is
Uwe Stöhr [Sun, 16 Dec 2007 12:28:03 +0000 (12:28 +0000)]
textrm_O.png: rename image to what it really is

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

16 years agoFileName::checksum(): Don't warn if file exists as this happens for all graphics...
Abdelrazak Younes [Sun, 16 Dec 2007 11:53:52 +0000 (11:53 +0000)]
FileName::checksum(): Don't warn if file exists as this happens for all graphics at first document compilation.

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

16 years agoCleanup the mess I introduced in rev 22165. This happened frequently lately, I am...
Abdelrazak Younes [Sun, 16 Dec 2007 11:46:34 +0000 (11:46 +0000)]
Cleanup the mess I introduced in rev 22165. This happened frequently lately, I am very sorry!

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

16 years agorevert faultily committed UserGuide.lyx in rev 22165.
Abdelrazak Younes [Sun, 16 Dec 2007 11:39:40 +0000 (11:39 +0000)]
revert faultily committed UserGuide.lyx in rev 22165.

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

16 years agoSanitize the way we use abort() and exit(). With this commit, we should never crash...
Abdelrazak Younes [Sun, 16 Dec 2007 11:34:29 +0000 (11:34 +0000)]
Sanitize the way we use abort() and exit(). With this commit, we should never crash in release mode, even when assertions are enabled. In debug mode, we crash with abort in order to get a useful backtrace.

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

16 years agoTransfer getcwd() implementation to FileName.
Abdelrazak Younes [Sun, 16 Dec 2007 10:18:00 +0000 (10:18 +0000)]
Transfer getcwd() implementation to FileName.

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

16 years agoSimplify FileName::tempName().
Abdelrazak Younes [Sun, 16 Dec 2007 09:52:36 +0000 (09:52 +0000)]
Simplify FileName::tempName().

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

16 years agoupdate scons.
Abdelrazak Younes [Sun, 16 Dec 2007 07:54:14 +0000 (07:54 +0000)]
update scons.

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

16 years agoTransfer tempName() implementation to FileName.
Abdelrazak Younes [Sun, 16 Dec 2007 07:52:38 +0000 (07:52 +0000)]
Transfer tempName() implementation to FileName.

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

16 years agoChange semantics of FileName::copyTo(): we now overwrite the target file unconditionally.
Abdelrazak Younes [Sat, 15 Dec 2007 08:25:53 +0000 (08:25 +0000)]
Change semantics of FileName::copyTo(): we now overwrite the target file unconditionally.

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

16 years agoupdate scons.
Abdelrazak Younes [Sat, 15 Dec 2007 08:20:11 +0000 (08:20 +0000)]
update scons.

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

16 years agoTry to remove the destination without first checking for its existence
Enrico Forestieri [Fri, 14 Dec 2007 23:47:59 +0000 (23:47 +0000)]
Try to remove the destination without first checking for its existence

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

16 years agoRemove unused code.
Abdelrazak Younes [Fri, 14 Dec 2007 22:47:39 +0000 (22:47 +0000)]
Remove unused code.

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

16 years ago* get rid of lyxlib.h:mkdir() and makedir()
Abdelrazak Younes [Fri, 14 Dec 2007 22:43:39 +0000 (22:43 +0000)]
* get rid of lyxlib.h:mkdir() and makedir()
* Introduce FileName::createPath()
* Fix file copying in EmbeddedFile.cpp.

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