]>
git.lyx.org Git - features.git/log
Stefan Schimanski [Mon, 24 Dec 2007 14:13:10 +0000 (14:13 +0000)]
* some warnings less
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22295
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 24 Dec 2007 13:55:01 +0000 (13:55 +0000)]
* src/Buffer.cpp:
- better translatable error message for uncodable chars, now also
displaying the code point value.
* src/Paragraph.cpp:
- do not throw in View Source mode, but mark up uncodable chars (fix bug 4437).
* src/frontends/qt4/LaTeXHighlighter.{cpp,h}:
- highlight LyX warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22294
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 24 Dec 2007 10:54:39 +0000 (10:54 +0000)]
* make sure the edit mode is the same in math macros and argument proxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22292
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 24 Dec 2007 10:53:53 +0000 (10:53 +0000)]
* setDimCache is superfluous in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22291
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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