Commit Graph

17376 Commits

Author SHA1 Message Date
Pavel Sanda
3788adf6ce Prepare VCS part for comparison.
We probably need to enhance comparison API for external calls.

Closing the party for today.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33449 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 14:09:44 +00:00
Jürgen Spitzmüller
6f3e447afa * GuiApplication.cpp: prevent null pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33447 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 12:32:15 +00:00
Pavel Sanda
7929cad343 We need public API
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33446 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 12:16:34 +00:00
Jean-Marc Lasgouttes
09ef9c67ef Fix bug #6217: Replacing a word in spellcheck does not update toolbar
Use the dispatch machinery when replacing a word in the spellchecker. Note that this implies a slight hack with lyxrc.auto_region_delete setting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33445 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:25:44 +00:00
Pavel Sanda
d1f2c9570b Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33444 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:20:37 +00:00
Pavel Sanda
c6f6d20cdb Slowly toward version control + comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33443 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:07:28 +00:00
Pavel Sanda
d5f77d6dc2 Forgotten. There should be some oneliner for substituting all these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33442 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 10:16:00 +00:00
Pavel Sanda
91867cc624 Whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33441 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 09:57:54 +00:00
Pavel Sanda
e67493168f * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33440 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 08:45:19 +00:00
Pavel Sanda
f26f990076 Kill locker() API in VCS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33438 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 07:21:11 +00:00
Pavel Sanda
495daad277 unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33437 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 06:45:52 +00:00
Pavel Sanda
89158dad83 Lets start some cleanup of old version() VCS API
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33436 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 06:30:41 +00:00
Pavel Sanda
c0f9fb76a8 SVN info - add author, date, time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 05:52:34 +00:00
Pavel Sanda
773d4a8253 Revision info for RCS too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33434 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 04:28:10 +00:00
Pavel Sanda
7875d1a9ad Tree revision info into InsetInfo. Muhehe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33431 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 02:31:58 +00:00
Pavel Sanda
5942071ccb Fileformat++ as a safety measure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33430 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:57:49 +00:00
Pavel Sanda
4c5ba07a7a Spots from Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33428 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:13 +00:00
Pavel Sanda
da0bccb62c White space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33427 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:08 +00:00
Pavel Sanda
a97f1ddf06 Connect to InsetInfo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33426 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:04 +00:00
Pavel Sanda
7b227d6899 VCS: Extended API for revision info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33425 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:43:59 +00:00
Pavel Sanda
22b98a7ca4 SVN file revision number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:43:55 +00:00
Abdelrazak Younes
a36e5cb488 GuiTabular despaghettization: pass out tabular_ instead of using it
directly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33422 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 10:38:41 +00:00
Uwe Stöhr
ae1720fd4a InsetTabular.h:
- remove things from the todo list that we already support
- add authors

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33417 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:47:06 +00:00
Uwe Stöhr
3c2ede2dc6 GuiPrefs.cpp: revert changes that accidentally slipped in in r33414
(That was Vincents patch for #5735)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33416 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:41:47 +00:00
Pavel Sanda
a80c577f30 -xml
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33415 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:15:12 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Abdelrazak Younes
4c9f0eb5e6 * InsetFloat:
- now accept a full parameter string at construction
- LFUN_INSET_MODIFY now also interprets float type.

* FloatPlacement:
- The float type label is replace with a combo that can be used to
change the type.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33412 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 17:33:39 +00:00
Abdelrazak Younes
2d928ba437 Fix i18n as suggested by Jürgen:
You cannot use params.type for that, because that's not flagged for
translation. Have a look at InsetCollapsable::floatName().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33411 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 12:42:30 +00:00
Abdelrazak Younes
7963908c00 FloatPlacement: code cleanup and bug fixing (pretty much nothing worked)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33410 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 12:26:59 +00:00
Jürgen Spitzmüller
59d384f02b * Thesaurus.cpp:
* docstring.{cpp,h}:
	- move conversion functions to_iconv_encoding and from_iconv_encoding
	  from Thesaurus to docstring.

* HunspellChecker.cpp:
	- use correct encoding for string conversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33407 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 10:24:10 +00:00
Jürgen Spitzmüller
94761bb7e5 Fix hunspell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33406 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 09:13:58 +00:00
Jürgen Spitzmüller
5c59e8c7cb * Spellchecker dialog:
- mark languages that can be spell checked.
* Thesaurus dialog:
	- mark languages that have a thesaurus dictionary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33405 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 08:10:31 +00:00
Abdelrazak Younes
56d18d2410 Make float type translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33404 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 07:06:14 +00:00
Abdelrazak Younes
4c2a354ebd hasDigit(): Avoid a string copy as this is in a critical path for inline spellchecking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33403 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 06:51:49 +00:00
Pavel Sanda
defa62aa3d Use readonly for manuals only in released versions.
Closing #6518.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157541.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33402 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 04:03:35 +00:00
Jürgen Spitzmüller
26de117d4e * GuiSpellchecker.cpp:
- clear selection when ignore is clicked. Otherwise, LyX hangs
	  at the last word of an inset, if this word was misspelled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33396 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:55:17 +00:00
Jürgen Spitzmüller
5f4c5c5da9 * support/lstring.{cpp,h}:
- new function hasDigit
* src/Paragraph.cpp (spellcheck):
	- ignore words with digits, as in 1.6 (bug 6493).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33395 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:35:35 +00:00
Abdelrazak Younes
70d5b8fe06 Application: get rid of 2 virtual interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33394 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:25:44 +00:00
Abdelrazak Younes
d77a22e2f9 Today is a sad day, LyXView has passed over... long live GuiView!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33393 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:06:40 +00:00
Richard Heck
a932148ce4 Remove unneeded include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33392 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:31:09 +00:00
Richard Heck
1cc2d538e7 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33391 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:30:12 +00:00
Jürgen Spitzmüller
d5432aa11e whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33390 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:24:01 +00:00
Abdelrazak Younes
377cdd5f6c Transfer LyXfunc code to GuiApplication::dispatch() and getStatus(). Now
a lot of simplification is possible. Except some instability period...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33389 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:11:13 +00:00
Jürgen Spitzmüller
a220c4ee4a this was not intended to go in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33388 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:34:58 +00:00
Jürgen Spitzmüller
0d7f4bc32b * Paragraph.cpp (spellcheck):
- comment out code that makes aspell abort 
	  if a word in an unknown language is being checked
	  (instead of just skipping this word)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33387 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:33:16 +00:00
Jean-Marc Lasgouttes
ead206efb0 remove last member variables from LyXFunc and move them to cursor. Now the class can be replaced by a namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33386 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:29:27 +00:00
Jean-Marc Lasgouttes
668d0f8c3f do not use theLyXFunc()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33385 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:26:59 +00:00
Jürgen Spitzmüller
fd75ef23ae * EnchantChecker.cpp: don't crash if dictionary is not found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33383 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:14:38 +00:00
Enrico Forestieri
e4cff09722 Fix bug #6510: URL in the footnote will cause the `CJK' environment to terminate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33382 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:01:21 +00:00
Jürgen Spitzmüller
fef95cecbd Add language selector to the spell chekcer dialog (bug 2208).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33381 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 13:01:37 +00:00