Commit Graph

11140 Commits

Author SHA1 Message Date
Georg Baum
1ca55d1c8f Fix bug 3034
* src/mathed/InsetMathGrid.C: Don't declare mathed_parse_normal,
	include MathParser.h instead
	(InsetMathGrid::doDispatch): remove to_utf8, mathed_parse_normal
	takes now a docstring

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::read): restore the version of 1.4.x, since
	the new one did only work for macros without whitespace

	* src/mathed/MathParser.[Ch]
	(Parser): Add constructor from a docstring
	(mathed_parse_cell): Create the parser directly from the string,
	since the istream variant of tokenize() does only work if reading
	from the .lyx file
	(mathed_parse_normal): ditto
	(mathed_parse_normal): Delete the istream variant (unused)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16334 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 14:24:25 +00:00
Abdelrazak Younes
47adc642a3 header cleanup following rev 16332.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16333 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 14:09:47 +00:00
Abdelrazak Younes
4eb12c683b Moves textRow() from DocIterator to cursor.C where it belongs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16332 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 13:39:46 +00:00
Michael Schmitt
828d077a9a Status.15x: add bugzilla URLs for bugs and patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16331 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 12:01:37 +00:00
Jürgen Spitzmüller
9475c48bf2 * src/frontends/qt4/ui/QViewSourceUi.ui: remove bogus Whatsthis entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16330 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 08:17:47 +00:00
Bo Peng
c1a5770979 Scons: remove boost 1.33.1 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 23:27:33 +00:00
Georg Baum
f00d73283a small fix from Sian Mountbatten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16327 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 20:27:26 +00:00
Georg Baum
18d0b87b2d grammar fix from Sian Mountbatten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16326 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 20:25:37 +00:00
Jürgen Spitzmüller
a37f3198ad Trivial ui tweak:
* src/frontends/qt4/ui/QGraphicsUi.ui: fix tab accelerating order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16325 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 20:17:12 +00:00
Georg Baum
b7c3347e9a Fix bug 3037
* src/lyxfunc.C
	(LyXFunc::dispatch): Use default include type if no type is given


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16324 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 16:45:20 +00:00
Bo Peng
cd43719f96 Scons: load qt4 module with debug=False when the debug library is not available; modify boost/check warning message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16323 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 15:30:50 +00:00
Jean-Marc Lasgouttes
e5b8f69561 * Application.C (Application): initialize correctly current_view_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16322 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 15:21:43 +00:00
Jean-Marc Lasgouttes
4c8bc51acf remove change tracking on file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 09:23:30 +00:00
Enrico Forestieri
6b5289825e Don't use a global variable for avoiding removal of the system temp dir
* src/support/package.h
	(Package::system_temp_dir): new, return the system temp dir.

	* src/support/package.C.in
	(Package::Package): record the system temp dir.

	* src/lyx_main.C
	(LyX::prepareExit): don't remove the temporary directory if it
	is the same as the system temp dir, meaning that the lyx_tmpdir
	has not yet been created.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16318 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 21:52:40 +00:00
Edwin Leuven
e3241cca0a * add Rrightarrow.xpm to scons & automake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16317 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 17:46:47 +00:00
Edwin Leuven
dc8bba7918 fix: http://bugzilla.lyx.org/show_bug.cgi?id=452
ControlMath.C: cleanup order of symbols in math panel
iconpalette.C: 6 cols since many symbols come in pairs
Rrightarrow.xpm: was missing
searrow.xpm: was north east
swarrow.xpm: was north west


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16316 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 17:36:00 +00:00
Michael Schmitt
822df54fc2 * paragraph_pimpl.C: fix a seg fault when accepting a change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16315 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 15:09:32 +00:00
Georg Baum
e208fa001b remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16314 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 15:05:18 +00:00
Jürgen Spitzmüller
506c5df84b * src/frontends/qt4/ui/QCitationUi.ui:
- fix shortcut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16313 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 14:04:18 +00:00
Jürgen Spitzmüller
ddac5c916b * src/text2.C (getPitNearY):
- fix compiler warning (unsigned/signed int comparision).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16312 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 12:52:53 +00:00
Georg Baum
29b6f5cad9 Convert filenames to local encoding for running lyx2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16311 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 12:12:17 +00:00
Georg Baum
e4c3ce4627 Convert most of the bibtex machinery to docstring.
Don't limit citation keys to ASCII anymore, since InsetBibitem can generate
non-ASCII keys.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16310 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 10:52:04 +00:00
Abdelrazak Younes
21b0a4ab9b Fix for bug 3027 by Martin V.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16309 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 10:11:28 +00:00
Georg Baum
01c3046d5a Add some forgotten FileName conversions to enable installation in non-ascii
paths


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16308 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 09:46:04 +00:00
Michael Schmitt
12534e6794 Status.15x: new pathname/unicode problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16307 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-17 00:28:38 +00:00
Michael Schmitt
67a479074f Status.15x: thesaurus is broken on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16306 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 23:32:18 +00:00
Bo Peng
39186319da Scons: support boost 1.34
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16305 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 23:31:15 +00:00
Bo Peng
016d529945 Scons: test for the availability of debug version of qt libraries before linking to them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16304 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 20:16:34 +00:00
Bo Peng
3023f93593 Scons: can now be executed from any directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16303 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 16:31:28 +00:00
Michael Schmitt
dd586e2953 * Status.15x: add tiny url for relevant bugzilla entries;
add new citation dialog bug


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16302 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 15:27:23 +00:00
Michael Schmitt
9c6bec5e90 * po/*.po: resolve shortcut clashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16301 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 14:25:22 +00:00
Michael Schmitt
269d7cddf5 * po/de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16300 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 14:03:08 +00:00
Michael Schmitt
7cdb952a5e * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16299 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 12:27:46 +00:00
Georg Baum
cd5c02c925 fix variable initialization order (shuts up a gcc warning)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16298 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 10:40:43 +00:00
Georg Baum
bdbedecab3 add comment about possibly wrong encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16297 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 10:38:01 +00:00
Georg Baum
0a1057b62e remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16296 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-16 10:37:41 +00:00
Abdelrazak Younes
4d96e200f0 Fix this crash:
new doc
type:  foo bar
put cursor after foo: foo| bar
enter space: foo | bar
click somewhere else -> CRASH

The problem is that the paragraph breaking needs to be redone after the empty space is deleted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16295 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 23:17:10 +00:00
Enrico Forestieri
5b5585e723 Account for a bigger width or precision when inserting a number into
a wide stream on systems where sizeof(wchar_t) == 2.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 22:53:06 +00:00
Bo Peng
7df29f6562 minor style change: use 0 instead of NULL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16293 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 21:39:57 +00:00
Bo Peng
f5599ea253 Scons: print error message when scons is not called from top source directory or development/scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16292 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 21:38:55 +00:00
Jean-Marc Lasgouttes
50e9a869a5 update from Claudio Coco
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16291 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 17:17:29 +00:00
Jean-Marc Lasgouttes
458133a7c1 update from alex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16288 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 17:10:34 +00:00
Bo Peng
647df45a50 minor comment fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16286 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:53:02 +00:00
Bo Peng
e78b1cf6d7 BufferView.h/C: use member variable last_inset_ instead of static variable in workAreaDispatch to avoid potential mutliple window problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16285 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:48:09 +00:00
Bo Peng
e74dcd761b Record multiple window middle button paste bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16284 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:27:51 +00:00
Bo Peng
ebb88876f9 Adjust Status.15x for Abdel's fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16283 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:25:52 +00:00
Abdelrazak Younes
b802e94208 Fix cursor repositioning when a Window is resized or when switching Windows showing the same Buffer (this bug was not visible if "Cursor follow mouse" was set).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16282 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:16:20 +00:00
Edwin Leuven
6bfb3e6dc4 georg baum:
- add encoding arg to idocfstream
- open .bib files with idocfstream
- add ascii_lowercase that takes docstring

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16281 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 16:09:05 +00:00
Bo Peng
50d1ba117a add a comment in workAreaResize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16280 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 15:39:57 +00:00
Abdelrazak Younes
2049cc5afc remove unneeded local variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16279 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 15:05:46 +00:00