Commit Graph

15517 Commits

Author SHA1 Message Date
André Pönitz
81f21577b7 no need for pointers, not even leaking ones...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21869 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 22:38:53 +00:00
André Pönitz
b06df568f3 use structure with named members instead of pair<int, int>...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 22:12:19 +00:00
André Pönitz
2506e0d643 assimilate BOOST_CURRENT_FUNCTION
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 21:10:35 +00:00
Richard Heck
cc245f3d6d Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 20:11:54 +00:00
André Pönitz
b949317f64 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 20:02:50 +00:00
André Pönitz
0ef0cbbf1a cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 19:56:25 +00:00
André Pönitz
1aafa6ff77 merge the Forked* machinery into a single pair of files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21863 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 19:19:39 +00:00
André Pönitz
28afd72c65 compile fix / cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 18:29:57 +00:00
André Pönitz
5a4a9484d1 potential compile fix for Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 17:57:06 +00:00
André Pönitz
5a646574ca potential compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 17:51:58 +00:00
Abdelrazak Younes
ffe8d928c2 CMake fix by Kornel Benko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 09:34:20 +00:00
Abdelrazak Younes
b1546aa703 MSVC compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 09:00:28 +00:00
Abdelrazak Younes
06d65218c0 - Get rid of unneeded time_type typedef.
- MSVC compile fix.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21857 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 08:55:43 +00:00
Abdelrazak Younes
f3a4424408 MSVC compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 08:53:39 +00:00
André Pönitz
9b93a45374 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:41:23 +00:00
André Pönitz
9bb1652ae4 re-enable "safety hack"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:32:39 +00:00
André Pönitz
9160d824d8 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:24:55 +00:00
André Pönitz
efbf9fec5e some de-boostification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:11:08 +00:00
André Pönitz
9d0ea8aeff Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
Now support/* should have no dependencies on src/* anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:04:28 +00:00
Enrico Forestieri
acc3bb88b8 needless declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 23:55:55 +00:00
André Pönitz
150cf11651 hand-crafted LyXErr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 22:12:03 +00:00
Abdelrazak Younes
89435b2857 * makeLatexName(): port to FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 18:07:09 +00:00
Abdelrazak Younes
c886bc68c2 * FileName:
- introduce changeExtension(): the goal is to replace progressively the one in filetools.cpp
- get rid of internal_path() checking for Win32 as the path is always normalized with slashes with QFileInfo.

* BufferParams: get rid of filepath member. This was used only once and was fixing a path in BufferParam was wrong anyway.

* Buffer::filePath(): always regenerate instead of caching it in BufferParams.

 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21847 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 15:25:07 +00:00
Abdelrazak Younes
25a4523860 Remove the full assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 12:28:33 +00:00
Abdelrazak Younes
d2b0c5e87d FileName(): Remove isAbsolute() assertion. This is not needed because FileName now caches a QFileInfo instead if the passed path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 12:24:10 +00:00
Abdelrazak Younes
34f0cc2ae1 Enable HAVE_DECL_ISTREAMBUF_ITERATOR checking as istreambuf_iterator exists and work correctly with MSVC2005
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21844 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 09:53:45 +00:00
Abdelrazak Younes
f07105d0e5 * FileName:
- removeFile(): replace unlink
- copyTo(): add 'overwrite' parameter.

* getcwd.cpp: simplify.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 09:01:49 +00:00
Uwe Stöhr
163d6f3a11 revert r21813 part 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 00:05:54 +00:00
Uwe Stöhr
396dba93b7 revert r21813
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 00:03:11 +00:00
Uwe Stöhr
6aa2f13132 MetricsInfo.cpp: compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 23:53:13 +00:00
Uwe Stöhr
50b792122e GuiPrefs.cpp: fix copy/paste error from r21776
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 23:39:44 +00:00
André Pönitz
31ea0bb04d cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 23:09:06 +00:00
André Pönitz
7c108afd14 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 22:19:36 +00:00
André Pönitz
ab16324b4a unneeded declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 21:45:00 +00:00
André Pönitz
0e40512c86 use LYXERR macro to avoid unneeded argument evaluations...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 21:43:46 +00:00
André Pönitz
0c9dedfe01 use macro instead of unconditional evaluation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 21:09:14 +00:00
André Pönitz
caf732d4c4 use strfwd.h if possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21833 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:51:20 +00:00
André Pönitz
6436401cc8 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:37:08 +00:00
Peter Kümmel
8b5c9ef568 time goes by
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:32:25 +00:00
André Pönitz
c8fd502b56 some de-boostification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:30:22 +00:00
Peter Kümmel
22146b270d finsih renaming ->Debug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:25:18 +00:00
André Pönitz
0c2fa7e599 add new helper script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:21:47 +00:00
Peter Kümmel
8fc0bf6030 use the same mechanism to trigger moc as in frontends/qt4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:01:23 +00:00
Peter Kümmel
3665dc404e cmake: remove boost_filesystem, add automoc to support, link against QtCore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21825 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:57:03 +00:00
André Pönitz
8b56472233 remove indirect typedef
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:56:19 +00:00
Peter Kümmel
ee8483fdca fix line endings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:54:01 +00:00
André Pönitz
4dfc6f46c9 add -I.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:48:49 +00:00
André Pönitz
f5d02d7dc6 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:30:59 +00:00
Abdelrazak Younes
44e715cd8c remove boost/filesystem/*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21819 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 10:07:49 +00:00
Abdelrazak Younes
1ecd06410a tex2lyx.cpp does not need boost::filesystem. Only remaining use is in the lyx client. Somebody on linux should take care of that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 10:06:59 +00:00