Abdelrazak Younes
19787f2d79
* 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
2007-12-18 10:34:53 +00:00
Abdelrazak Younes
5df6a11820
Remove unneeded assertion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 10:14:01 +00:00
Jürgen Spitzmüller
b8513d13e5
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
2007-12-18 07:10:55 +00:00
Uwe Stöhr
81cceb250c
French Intro.lyx: updates by Jean-Pierre
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 23:44:46 +00:00
Uwe Stöhr
219ac7ce50
installer: sync to trunk again
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 23:13:01 +00:00
Uwe Stöhr
7a75f54050
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
2007-12-17 22:46:58 +00:00
Uwe Stöhr
fdd5ea3ab5
installer: sync with branch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22199 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 22:34:35 +00:00
Abdelrazak Younes
1447a7bf98
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
2007-12-17 18:37:13 +00:00
Jürgen Spitzmüller
8672364e1e
* 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
2007-12-17 18:13:02 +00:00
Abdelrazak Younes
b07d4d3e60
* 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
2007-12-17 17:09:30 +00:00
Abdelrazak Younes
18389fb6ee
* 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
2007-12-17 16:52:24 +00:00
Jürgen Spitzmüller
5cad12a696
* 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
2007-12-17 16:51:23 +00:00
Abdelrazak Younes
9439b6e6e0
* 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
2007-12-17 16:04:46 +00:00
Abdelrazak Younes
96ee270933
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
2007-12-17 15:15:37 +00:00
Jürgen Spitzmüller
908a119973
* 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
2007-12-17 10:53:38 +00:00
Jürgen Spitzmüller
e0b5511d74
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22183 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 10:51:39 +00:00
Abdelrazak Younes
2f49534d3d
Fix network drive access.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22179 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 07:50:35 +00:00
Abdelrazak Younes
e7bb71ff4e
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 22:09:28 +00:00
Uwe Stöhr
082428c20a
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
2007-12-16 19:38:45 +00:00
Uwe Stöhr
2b5d064ff4
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
2007-12-16 12:28:03 +00:00
Abdelrazak Younes
17b57a48a4
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
2007-12-16 11:53:52 +00:00
Abdelrazak Younes
f2f7ec1a05
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
2007-12-16 11:46:34 +00:00
Abdelrazak Younes
f4ceae1f25
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
2007-12-16 11:39:40 +00:00
Abdelrazak Younes
efbd1d30cb
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
2007-12-16 11:34:29 +00:00
Abdelrazak Younes
c66e214724
Transfer getcwd() implementation to FileName.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 10:18:00 +00:00
Abdelrazak Younes
86506a80eb
Simplify FileName::tempName().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 09:52:36 +00:00
Abdelrazak Younes
a53bbb6f5d
update scons.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 07:54:14 +00:00
Abdelrazak Younes
4020357dd2
Transfer tempName() implementation to FileName.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22161 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 07:52:38 +00:00
Abdelrazak Younes
1948c5812c
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
2007-12-15 08:25:53 +00:00
Abdelrazak Younes
c817011cd8
update scons.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-15 08:20:11 +00:00
Enrico Forestieri
01a0aabb81
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
2007-12-14 23:47:59 +00:00
Abdelrazak Younes
48d0007f71
Remove unused code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22156 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 22:47:39 +00:00
Abdelrazak Younes
0caa103581
* 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
2007-12-14 22:43:39 +00:00
Abdelrazak Younes
e01219bb0c
Fix wrong test introduced in rev 22150
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 22:35:23 +00:00
Abdelrazak Younes
2ce8ad5e05
Inverse logic wrongly set in rev 22151.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22153 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 22:33:15 +00:00
Abdelrazak Younes
486ac10476
Simplify bind directory creation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22152 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 22:27:47 +00:00
Abdelrazak Younes
d81b5c2994
Use FileName::createDirectory() instead of support::mkdir().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 21:13:38 +00:00
Abdelrazak Younes
15c9510db4
Use FileName::createDirectory() instead of support::mkdir().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22150 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 18:36:01 +00:00
Abdelrazak Younes
d1574fec83
The rename() function removed in rev had in fact move() functionality. So we replace all uses of renameTo() with the new FileName::moveTo() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 18:16:25 +00:00
Abdelrazak Younes
77ac196f64
The original support::copy() was overwriting the target file by default. This commit put the code in line with pre-rev 22119 and 22129.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22148 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 15:32:37 +00:00
Jean-Marc Lasgouttes
e1a2703a79
* fix out-of-vector addressing when typesetting UserGuide.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22147 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 14:52:52 +00:00
Jean-Marc Lasgouttes
6376641f4e
Move part of Buffer::validate into a new method BufferParams::validate.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22146 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 14:51:47 +00:00
Uwe Stöhr
f702ec6eda
Tutorial.lyx: revise the last missing chapter 4
...
Intro.lyx: rewrite some sentences suggested on the docs list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 01:25:29 +00:00
Uwe Stöhr
90c14f8c12
support for Serbian with Latin letters
...
- fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:29:56 +00:00
Uwe Stöhr
828c12acff
- po remerge
...
- two de.po updates (for LyX 1.6 only)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22142 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:25:38 +00:00
Uwe Stöhr
bf903dbbaa
update scons/scons_manifest.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22141 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:17:54 +00:00
Uwe Stöhr
397784e853
factory.cpp: fix wrong call of abort() introduced in r22137
...
(I got:
factory.cpp(366) : error C2039: 'abort': Is no element of 'lyx::support')
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22140 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 22:55:57 +00:00
Peter Kümmel
78caccb1c5
cmake/merge: fix compile, this split conflicts with the others
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22137 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 21:57:37 +00:00
Stefan Schimanski
4d30504965
r16146@goedel: sts | 2007-12-13 22:40:01 +0100
...
* zlib is used by minizip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22136 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 21:42:24 +00:00
Stefan Schimanski
6785bc0273
r16067@goedel: sts | 2007-12-09 20:45:36 +0100
...
r16044@goedel (orig r22008): kuemmel | 2007-12-08 11:50:30 +0100
fix wrong tex2lyx hack
r16045@goedel (orig r22009): kuemmel | 2007-12-08 12:07:43 +0100
fix wrong tex2lyx hack
r16046@goedel (orig r22010): kuemmel | 2007-12-08 12:20:47 +0100
cmake: fix tex2lyx linker error
r16047@goedel (orig r22011): spitz | 2007-12-08 12:21:00 +0100
Sanitize CJK support (fix bug 3561, 4349 and 4337):
* src/output_latex.{cpp, h}:
- Many changes in order to allow CJK in a mulitlingual context.
* src/Paragraph.cpp:
- Fix file encoding switch and language nesting with CJK.
* src/Buffer.cpp:
- Move the opening and closing CJK and lanaguage tags to ouput_latex.cpp.
* src/Font.cpp:
- switchEncoding call now takes runparams as argument.
r16048@goedel (orig r22012): younes | 2007-12-08 14:59:32 +0100
Fix bug 4413 (http://bugzilla.lyx.org/show_bug.cgi?id=4413 )
The problem was that name_ was a const pointer and the pointer pointed to nothing after leaving the ctor.
Andre': <docstring> is included in every dialog anyway via GuiDialog.h -> InsetCommandParams.h -> docstring.h"; so this change won't affect compilation time.
r16049@goedel (orig r22014): younes | 2007-12-08 15:24:11 +0100
* Dialog: name_ is const and is ascii.
r16050@goedel (orig r22015): younes | 2007-12-08 15:29:29 +0100
No need to update the prefs dialog if it is not visible.
r16051@goedel (orig r22016): uwestoehr | 2007-12-08 15:58:53 +0100
preamble.cpp: remove unused code
r16052@goedel (orig r22017): younes | 2007-12-08 16:02:34 +0100
* fix enabling/disabling of LyXErr.
r16053@goedel (orig r22019): spitz | 2007-12-08 16:38:39 +0100
* lib/lyx2lyx/lyx_1_5.py:
- fix bug 4333.
r16054@goedel (orig r22022): spitz | 2007-12-08 16:56:19 +0100
* lib/lyx2lyx/lyx_1_1.py (revert_latexcommand_index):
- umlauts must be reverted to escaped forms.
r16055@goedel (orig r22023): younes | 2007-12-08 17:22:05 +0100
Fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410 ).
r16056@goedel (orig r22024): younes | 2007-12-08 17:36:56 +0100
Revert 22023 and really fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410 ).
r16057@goedel (orig r22026): kuemmel | 2007-12-08 21:46:03 +0100
add progress view of system calls
r16058@goedel (orig r22027): uwestoehr | 2007-12-08 21:49:01 +0100
preamble.cpp: don't add \makeatother twice
\makeatother and \makeatletter are already added by LyX around the user preamble
r16059@goedel (orig r22029): younes | 2007-12-09 09:43:08 +0100
Fix Drag&Drop. LFUN_FILE_OPEN is not handled by GuiView::dispatch() (yet).
r16060@goedel (orig r22030): spitz | 2007-12-09 12:40:59 +0100
fix typos.
r16061@goedel (orig r22032): uwestoehr | 2007-12-09 14:40:03 +0100
tex2lyx/text.cpp: support for all quotation marks (bug2703).
r16062@goedel (orig r22034): uwestoehr | 2007-12-09 15:14:34 +0100
preamble.cpp: code simplification to r21970 suggested by Angus
r16063@goedel (orig r22040): uwestoehr | 2007-12-09 16:26:31 +0100
preamble.cpp: fix whitespace
r16064@goedel (orig r22044): kuemmel | 2007-12-09 18:31:25 +0100
also check for moc files in src/support
r16065@goedel (orig r22046): uwestoehr | 2007-12-09 18:42:05 +0100
preamble.cpp: full babel language support for tex2lyx
r16066@goedel (orig r22047): uwestoehr | 2007-12-09 18:47:41 +0100
set encoding from utf8 back to latin1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22135 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 21:41:47 +00:00