Commit Graph

1326 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
1b913ff871 fix compilation of check_filetools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:18:29 +00:00
Pavel Sanda
4851e1c9f5 Add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-13 00:55:12 +00:00
Pavel Sanda
14b34d5afd Add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 20:29:58 +00:00
Richard Heck
9d48ad4f74 Improvements to the parser that extracts the "family name". We now get
the last name, with the "von" part, even when commas are not used in the
BibTeX file.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 23:35:08 +00:00
Enrico Forestieri
077baded5c Fix bug 641 (Detect stale lyxpipes after crash)
http://bugzilla.lyx.org/show_bug.cgi?id=641


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27708 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 01:22:05 +00:00
Enrico Forestieri
0a2b62f468 According to http://en.wikipedia.org/wiki/ISO-2022-JP, a character may be
encoded using 1 or 2 bytes, but it may be prefixed by 3-byte escape sequence.
So, a single ucs4 char could need a maximum of 5 bytes. I think that it
is better to be safe than sorry...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27645 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 19:32:22 +00:00
Enrico Forestieri
487af713fb Hrmpf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 19:13:41 +00:00
Enrico Forestieri
b48de25bb1 Was forgetting this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27643 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 19:05:47 +00:00
Enrico Forestieri
01c6c4879e After a better understanding of the problem, restrict the fix for
bugs 5216, 5280, and 5489 to the ISO-2022-JP encoding.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-20 18:48:56 +00:00
Stephan Witt
2d1e0ffabd fix some memory leaks (NSAutoreleaseNoPool)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 21:51:41 +00:00
Enrico Forestieri
07c0a6e496 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5489 and at the same time
properly fix bugs 5216 and 5280. The best thing to do would be recognizing
at configure time a buggy iconv and #defining WORKAROUND_ICONV_BUG in
config.h, but I don't know how that could be done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27618 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 10:40:22 +00:00
Pavel Sanda
96578ef324 Support gcc 4.4. Patch from Martin Michlmayr.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg146271.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:49:47 +00:00
Jean-Marc Lasgouttes
40f5f4e12f add support for changing encoding on idocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27579 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:25:26 +00:00
Enrico Forestieri
d2bd215690 Fix for mingw/cygwin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:18:40 +00:00
André Pönitz
cc0bdcc36f add qt include paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 15:23:57 +00:00
Jean-Marc Lasgouttes
0778007050 rename [io]docfstream to [io]fdocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:21:29 +00:00
André Pönitz
bb12808b20 remove libtool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:45:55 +00:00
Pavel Sanda
44895b7c0d comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27430 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:39:15 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
André Pönitz
1fc477efac thrid attempt at changing the naming pattern of the intermediated 'mocced' files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27420 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 14:28:50 +00:00
Pavel Sanda
b309ee82a0 Fix bug 5399.
Patch from Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 16:59:11 +00:00
Enrico Forestieri
60c6b1966d Fix for latest MInGW w32api
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 22:14:39 +00:00
Jean-Marc Lasgouttes
15b49036ed X dependency cleanup (2/3)
(inernal|external)LineEnding are only used by the clipboard code. Therefore
move them to the Qt helpers, where the current environment is known.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26824 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 07:21:48 +00:00
Peter Kümmel
30260f0a4d underlying filesystem is case insensitive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:37:56 +00:00
Pavel Sanda
bba02237ea Typo from Bennett
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 18:09:51 +00:00
Peter Kümmel
f4787aa9c9 Use long path names when comparing FileNames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 12:08:21 +00:00
Peter Kümmel
cab745d661 Fix bug 2235: jpeg capital letters (.JPG) does not work with pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26744 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 11:51:18 +00:00
Peter Kümmel
0d75676233 don't reinvent the wheel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 15:57:26 +00:00
Peter Kümmel
e3a494d322 fix bug 4693, Exporting files doesn't create the files in the correct folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26718 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 12:05:06 +00:00
Abdelrazak Younes
c7a28bbec7 Attempt to fix http://bugzilla.lyx.org/show_bug.cgi?id=4693
isDirWritable(): make it work when there is no trailing slash!
createPath(): return false if the directory already exists.
createDirectory(): don't use mymkdir on Windows, use createPath() instead.


 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26669 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 09:36:01 +00:00
Peter Kümmel
a07f5fcc35 win2k fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26649 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:03:26 +00:00
Jean-Marc Lasgouttes
1c76b4b11d compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 10:13:28 +00:00
Abdelrazak Younes
56a60dce0a Merge FileFileName::Private::checksum() into FileFileName::checksum().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26615 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 09:35:13 +00:00
Abdelrazak Younes
508ac52ac0 previous commit: revert debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 09:06:37 +00:00
Abdelrazak Younes
3378d0cc23 FileName::Private::checksum(): disable Qt4.4 based version because of bug http://bugzilla.lyx.org/show_bug.cgi?id=5293
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26612 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 09:04:14 +00:00
Abdelrazak Younes
90af53afff move sum() to FileName::private::checksum() and add a new method using Qt4.4 mmap support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26590 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 10:54:26 +00:00
Abdelrazak Younes
16d182a0b9 header cleanup: remove duplicate includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26589 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 09:22:51 +00:00
Abdelrazak Younes
4122944455 First step toward fixing bug http://bugzilla.lyx.org/show_bug.cgi?id=5252
- Move lyx::sum() to FileName.cpp
- Get rid of the third slow implementation of sum() as istreambuf_iterator is supported since at least gcc 3.2.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 09:15:55 +00:00
André Pönitz
7aa28f3efe char * for string literals is deprecated...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26526 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 19:51:46 +00:00
Abdelrazak Younes
c0aeb567ce add FileName::extension() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26494 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 09:44:44 +00:00
Enrico Forestieri
1cd01f0db4 On Vista, if a file type is not registered, AssocQueryString() returns
information about the "Unknown" application instead of admitting that
nothing is registered. The solution is to add ASSOCF_INIT_IGNOREUNKNOWN
to the flags parameter. Also update dead URLs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26488 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 00:07:48 +00:00
Jean-Marc Lasgouttes
608c46b080 Add a new debug channel UNDO (in place of the unused ROFF)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26177 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 19:09:42 +00:00
Richard Heck
5a91890cc1 Make sure temporary files are created, by default, in LyX's temporary directory, rather than in the system tempdir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-07 13:57:25 +00:00
Abdelrazak Younes
309ce3bf0c Fix linking problem when nls is disabled. Spotted by Dov and fix by Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26036 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-03 06:34:52 +00:00
Abdelrazak Younes
c157c1b809 Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25999 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 07:55:53 +00:00
Abdelrazak Younes
24969f2a87 previous rev: better fix from Richard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25998 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 07:31:48 +00:00
Abdelrazak Younes
3457b4f808 Qt does not compare empty file info apparently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25997 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-30 07:18:47 +00:00
Richard Heck
1b7b9e4980 Refresh before checking for equality. Solves problem noted by Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25989 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 18:16:05 +00:00
Abdelrazak Younes
a06fd8abc5 Support symlinks, also on Windows!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25988 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 18:13:52 +00:00
Enrico Forestieri
4c57d0b5f2 Fix translatable message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25983 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 15:25:26 +00:00
Abdelrazak Younes
6aaad04d47 DocFileName::operator==(): use FileName operator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 14:41:46 +00:00
Abdelrazak Younes
07719210df Partially fix http://bugzilla.lyx.org/show_bug.cgi?id=2771
We need to solve these warnings from documentations:
* This will not compare two different symbolic links pointing to the same file.
* Long and short file names that refer to the same file on Windows are treated as if they referred to different files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25960 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 09:07:37 +00:00
Abdelrazak Younes
72d9237817 Add new FileName::set() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 07:47:16 +00:00
Abdelrazak Younes
8085efd83a Some locale related cleanup. JMarc, please when you come back, review this. It is working fine in all my testings though.
* GuiApplication: delay locale loading until setGuiLanguage() is called.

* Messages: memorize default locale for current environment.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25930 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 11:26:46 +00:00
Enrico Forestieri
bc72d3fc58 Automate setting of LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 10:45:38 +00:00
Abdelrazak Younes
f5030c23f0 Fix bug due to wrong interpretation of Qt's doc, take 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 21:22:08 +00:00
Abdelrazak Younes
9dc08cb35a wrong eol.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25873 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 21:16:46 +00:00
Abdelrazak Younes
2b8ff49ae9 Fix bug due to wrong interpretation of Qt's doc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 21:13:33 +00:00
Abdelrazak Younes
45be32fea5 use new FileName::tempName() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25831 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 09:27:33 +00:00
Abdelrazak Younes
d79ee740b3 Introduce a new tempName() method with base directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25830 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 09:23:23 +00:00
Abdelrazak Younes
c8a0b97d2e move LyXerr QString specialisation to support/qstring_helpers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25829 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 09:21:22 +00:00
Abdelrazak Younes
d7fae16a3b Safer temp file creation with regards to double slash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 08:28:51 +00:00
Abdelrazak Younes
68277d6e7f FileName::isDirWritable(): make is safer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 08:14:24 +00:00
Abdelrazak Younes
58303ecfa9 Bug fix: FileName doesn't like double slash. I am going to fix this properly after this commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 07:17:54 +00:00
Abdelrazak Younes
8195925175 Replace home made temp file creation with safer (and cleaner) Qt' solution. Should fix http://bugzilla.lyx.org/show_bug.cgi?id=4693
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25822 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-23 05:17:31 +00:00
Uwe Stöhr
2f2886b094 Package.cpp: fix comment position and a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25818 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 23:54:37 +00:00
Uwe Stöhr
7305378c07 Package.cpp: use 16x environment variable (This should be done automatically for new major releases.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25810 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 20:37:12 +00:00
Abdelrazak Younes
734e22c4d3 tentatively fix http://bugzilla.lyx.org/show_bug.cgi?id=4693
The problem stems I guess from the use of from_local8bit().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 17:45:40 +00:00
Enrico Forestieri
89e68f49f6 The QFileInfo::refresh() bug affects all *nix targets since the minimum
version of Qt (4.2) that we support.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25808 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 17:35:13 +00:00
Richard Heck
e4c7a9a677 Fix bug 5075, I hope.
If Trolltech ever fixes this, then we can put an upper bound onto the #if.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25773 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 16:39:46 +00:00
Pavel Sanda
19b6a34be3 This comment is wrong and causes bug in revision control.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-20 21:27:20 +00:00
Richard Heck
6e688952c0 Revert unintentional commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25717 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 17:29:30 +00:00
Richard Heck
83f0903b4a Optimize GuiCitation a bit by not checking the cache so often.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25716 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 17:23:13 +00:00
Abdelrazak Younes
87ee3d8c43 Potentially fix http://bugzilla.lyx.org/show_bug.cgi?id=5057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25713 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 15:57:07 +00:00
Abdelrazak Younes
b17489d91e Add some output for bug 4693
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25710 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-19 11:47:20 +00:00
Richard Heck
741bd1221a Fix for bug 5053. There are still some serious problems here, though, as (a) "unknown" cannot be translated and (b) the way the code was re-written, it will fail if unknown and translated layout names are used. This is because it completely subverts the use of a multicolumn model. I'll try to fix that, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 15:29:00 +00:00
Richard Heck
ab6ecc9fea Clarify comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25668 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 14:49:36 +00:00
Pavel Sanda
9c87bee68d Introduce Debug::SELECTION mainly for copy/paste primary-selection debugging.
Up to now it was hell to debug it, since the selection messages was under different
debug classes and the messages also get completely lost from mouse action events.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25624 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 23:47:54 +00:00
Jürgen Spitzmüller
1d0bac1144 Fix bug 5040:
* src/support/lstrings.{cpp,h}:
	- new optional param "bool keepemtpy" in getVectorFromString. 
	  By default, empty content between two delimiters was/is not added to the vector.
	  This can be changed with this bool.

* src/insets/InsetIndex.cpp:
	- care for the case when plaintext returns nothing (e.g when ERT is used)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 16:09:59 +00:00
Jürgen Spitzmüller
612e52b093 Back to CJK sanity I: Fix bug 4698 and 4696.
* lib/encodings:
* src/support/docstream.h:
	- JIS is not a valid iconv name. Rename to ISO-2022-JP

* src/output_latex.cpp:
	- fix wrong encoding switch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25510 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 07:21:02 +00:00
Enrico Forestieri
cfe615d063 Ensure no trailing '/'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25453 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-05 09:09:50 +00:00
Abdelrazak Younes
788893bdea please JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 13:14:20 +00:00
Abdelrazak Younes
81f63f6670 Remove double slash in system temporary path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 12:28:55 +00:00
André Pönitz
0a24167e51 more robust. I get spurious crashes in this area... maybe c_str()
instead of data() would be in order, too


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25402 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-28 18:34:19 +00:00
Abdelrazak Younes
1d109d8c6f microptimisation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25389 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 16:18:27 +00:00
Abdelrazak Younes
1c83bf9420 GUI language via RC: some bug corrections.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25386 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 11:10:10 +00:00
Abdelrazak Younes
39393bf788 Introduce Debug::LOCALE for locale debugging.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25385 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-25 10:53:34 +00:00
Abdelrazak Younes
ceb43a2d1f revert 25377. That was not doing anything useful!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 13:29:15 +00:00
Abdelrazak Younes
928c1daa55 Messages::get(): Add two error messages just in case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:45:57 +00:00
Abdelrazak Younes
bcfedd4112 get_locale_dir(): add a fallback to po/ driectory in source tree in case LyX xas launched with '-sysdir' on a source tree lib/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:43:30 +00:00
André Pönitz
5dd5d98473 make _GLIBCXX_DEBUG_PEDASSERT happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25295 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-17 16:33:19 +00:00
André Pönitz
6a56be232d save a few allocations in from_ascii.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 18:27:11 +00:00
Abdelrazak Younes
7f4247e718 createLyXTmpDir(): Don't hardcode /tmp, use package().system_temp_dir() insetad.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25212 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:33:31 +00:00
Abdelrazak Younes
430296f4af Hopefully fix http://bugzilla.lyx.org/show_bug.cgi?id=4918
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:05:24 +00:00
Abdelrazak Younes
af7b5b5e26 More sensible error messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25202 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 09:57:10 +00:00
Abdelrazak Younes
9d00e2ec0a Move loadableImageFormats() to the frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25163 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:29:58 +00:00
Abdelrazak Younes
20b45450f6 move GuiImage::loadableFormats() to support/imagetools.{h,cpp} and simplify this whole stuff. What a mess!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:34:49 +00:00
Richard Heck
96fbd90e92 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25132 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:39:19 +00:00
André Pönitz
2e968d0661 next try
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 17:57:57 +00:00
Abdelrazak Younes
8a7c802ab0 Introduce docstring_list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 10:15:52 +00:00