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
Pavel Sanda
ab47d8188e
make check in src/support: only absolute path can be reasonably tested now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24803 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 14:54:35 +00:00
José Matox
1797f5218b
endl is defined in ostream, iomanip is not enough (it matters for gcc 4.3)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24640 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 14:29:06 +00:00
Abdelrazak Younes
b90ec7288d
remove unneeded includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24629 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 06:53:44 +00:00
Pavel Sanda
f39515acac
* Comment ( http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg139671.html ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 15:22:59 +00:00
Jean-Marc Lasgouttes
9b4a26a252
rename assert.h to lassert.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 08:26:40 +00:00
Stefan Schimanski
48999ee671
* Some more clever elide mode for the LyX buffer tabs. In trunk
...
currently the whole path is (possibly with some unmotivated ... in
the middle) used which is usually far too long.
The algorithm implemented here will start with absolute paths. From
left to right path segments are added to the display string if they
help to make the display strings more unique. Otherwise nothing is
added, or if some middle path segments are omitted otherwise, three
dots ... are used.
The result is that we get just the base filename without extension if
they are unique in the tabbar.
The patch is open for discussion. If there is demand we can create
yet another preference option to get back the old behaviour.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-29 15:44:07 +00:00
Stefan Schimanski
2090c47bfa
* in the very uncommon case the header is inserted into plain C code... The cleaner solution maybe would be to rename assert to lassert.h to avoid the clash with the system assert.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-29 14:56:27 +00:00
Richard Heck
38b462fd75
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24546 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 22:30:59 +00:00
Abdelrazak Younes
ec148ab77f
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4791
...
error out if the sysdir argument is erroneous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 08:34:09 +00:00
Bo Peng
a095d0d785
Remove remaining embedding bits and minizip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 14:33:16 +00:00
Peter Kümmel
9f9d9500c0
on include is enought
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24443 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 13:59:59 +00:00
Peter Kümmel
84d52469ec
* lstring.cpp: parts already implemented in qstring_helpers.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 13:59:26 +00:00
Uwe Stöhr
fd56ba9b44
fix the makefile after r24396
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24402 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 22:53:43 +00:00
André Pönitz
1e4f4fcd91
move the string conversion functions out-of-line to minimize #includes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24396 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 20:32:00 +00:00
André Pönitz
aff97fe9b5
move the filefilter stuff closer to the only place where it is used
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24395 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 19:56:01 +00:00
Richard Heck
2d9a818f37
Fix bug 4772, which was revealed by the removal of the embedding stuff. But the bug itself traces to r22188.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 17:59:14 +00:00
Richard Heck
5cadecf3f6
Remove embedding stuff from InsetBibtex.
...
There might be some header cleanup that can be done here, or some uses of forward declarations and such. This was pretty quick and dirty, just to get it done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24357 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 15:52:35 +00:00
André Pönitz
2c73b5af3c
move assert function to a separate file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24318 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 21:11:41 +00:00
Peter Kümmel
2988537f7f
there is no trunk/src/intl folder
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24297 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 16:51:29 +00:00
André Pönitz
8705679ac8
forgot this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 15:11:59 +00:00
José Matox
456e922dc1
Add missing include, due to André LASSERT change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 12:12:57 +00:00
Jean-Marc Lasgouttes
7912b3af38
a dummy file while we wait for andre
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 11:04:11 +00:00
André Pönitz
7f461f4392
infrastructure for 'graceful asserts'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 21:49:34 +00:00
Jürgen Spitzmüller
c0529a3f0a
* src/support/filetools.cpp (unzippedFileName):
...
- Fix an assertion with compressed image files
that do not have a zip-extension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 09:28:15 +00:00
Joost Verburg
75896240e4
Use *.* to select all files in the file selection dialog on Windows. Using shortcuts for navigation is now possible.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 12:03:47 +00:00
Pavel Sanda
ecc19ca1a8
Fix compilation problems on Mac OSX 10.5.2 Leopard.
...
( http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg137757.html )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24024 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 01:45:24 +00:00
Pavel Sanda
5e768ab842
Next attempt to sanitize make dist.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 14:05:41 +00:00
José Matox
45d42022f7
Add headers necessary to compile with g++ 4.3 (I am not sure about the typeinfo, the others are clearly correct).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23862 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 11:26:20 +00:00
André Pönitz
42fb18c6f8
look up LANGUAGE and LC_ALL only once.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23854 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 19:35:53 +00:00
Jean-Marc Lasgouttes
8aa1bf1f5c
fix the make check machinery. The support/filetools check fails, but the problem is in the test itself
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23847 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 10:04:55 +00:00
André Pönitz
efe96e2ff9
fix monolithic compilation and add usage comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23690 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 19:39:14 +00:00
Bo Peng
1d900def57
Remove another 'Create directory' message
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 03:46:49 +00:00
Bo Peng
be73bdd410
suppress unneeded output in minizip/zipunzip.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23666 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 18:24:32 +00:00
André Pönitz
1847d3f3e5
add a convienient foreach implementation
...
code is stolen from Qt, slightly adapted to
avoid a container copy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23547 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 23:05:33 +00:00