Tommaso Cucinotta
5f50ae8f08
Added basic automated testing capability, based on the MonKey Test (keytest.py) by McCabe-Dansted.
...
As of now, I plan to add a few regression tests for the Advanced Find & Replace using this engine.
It can be used for automated testing of other LyX subsystems as well. Just write your own *-in.txt
scripts and add them into the autotests/ folder.
TODOs:
- perhaps simplify keytest.py
- check how this behaves under various types of failure of the test
(e.g., LyX crashing, hanging, ...) just to be sure it goes on with
the other tests anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37364 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-29 14:42:53 +00:00
Pavel Sanda
42785e6219
Bug #7095 : Support fix-cm.sty
...
Patch from Patrick Atamaniuk.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165122.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37342 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:04:52 +00:00
Stephan Witt
37d8cbc3a6
adjust distributed default lyxrc for mac, spell_command is outdated (r37255)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37319 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 16:30:06 +00:00
Peter Kümmel
8f8aab094d
cmake: also add gifs to resources
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37317 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 11:50:13 +00:00
Stephan Witt
2b8bdd5b34
since r37306 tex2lyx uses src/LayoutFile too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37307 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 08:34:31 +00:00
Georg Baum
d3c385de20
Next step towards a working roundtrip of files generated by LyX:
...
Try to recognize modules.
Again, this is needed because the complete LyX preamble is ignored.
It is not possible to recognize a module in all cases, but at least the simple
ones are handled now. As a prerequisite I also had to revive the filling of
known_environments. This has been removed (probably by accident) some time ago.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37306 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-23 21:10:20 +00:00
Georg Baum
9129b73497
Make r37304 work for builds made from packaged sources
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37305 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-23 19:57:39 +00:00
Peter Kümmel
a2435792ce
cmake: add ui files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37303 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 18:58:26 +00:00
Peter Kümmel
75f8899736
cmake: install path is already relative to the binary dir when the path is not absolute
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37302 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 15:14:47 +00:00
Peter Kümmel
c31897b09c
cmake: make package_source work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37299 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 12:38:54 +00:00
Peter Kümmel
d8e5e13690
cmake: don't write options changed because of dependencies into the cache, this way it is possible to switch on/off options with all it dependencies.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37296 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 11:48:39 +00:00
Peter Kümmel
2e516e9204
sort options by compiler
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37295 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 11:35:50 +00:00
Peter Kümmel
93e60a9727
cmake: now having the options output at the end we could make some dependency checking for option without having an out-dated output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37294 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 11:23:27 +00:00
Peter Kümmel
9e9948c6ad
cmake: make options more consistent
...
Before we set LyX 2.0 in stone by releasing it,
I clean up the cmake's build option naming:
- only positive naming (remplace NO_, DISBALE_ names)
- short names when it is clear what the option means (no USE_)
- no redundant option RELEASE=0 is a debug build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37293 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 10:53:54 +00:00
Peter Kümmel
da246c7e44
cmake: don't show outdated build options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37291 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 09:27:06 +00:00
Pavel Sanda
1246a70abd
Update years
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37284 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 13:24:23 +00:00
Richard Heck
9f933cecf0
Script for automatic updating of ui and bind files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37252 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:41:16 +00:00
Peter Kümmel
b5216b25f7
update other build systems, use lyx::Mutex
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37223 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 21:40:09 +00:00
Peter Kümmel
a874b38455
no shared lyx libraries are supported
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37200 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 14:31:02 +00:00
Pavel Sanda
2e3953cb03
Update enumitem module and add documentation for it.
...
From Guenter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 10:12:14 +00:00
Peter Kümmel
51558fbf23
cmake: we have 2011 and more white space changes, won't call it "use tabs" ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37175 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:28:52 +00:00
Peter Kümmel
707eeb22fb
cmake: we have 2011 and more white space changes, won't call "use tabs" ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37174 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:24:00 +00:00
Peter Kümmel
cdb3b00033
cmake: cmake is really a strange macro language
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37173 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 23:01:13 +00:00
Peter Kümmel
78b8dc905b
cmake: add the CMakeLists files, so cmake will check if a cmake file has changed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37170 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 22:49:12 +00:00
Peter Kümmel
715b9e92bd
cmake: make the merged build much more usable by adding all the source files to the IDE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37169 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-10 22:47:58 +00:00
Peter Kümmel
23609ed7fb
camke: when checking for a variable then also use it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37154 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-09 00:55:40 +00:00
Peter Kümmel
759eb1826d
cmake: also build merged on mac
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37152 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-08 17:16:12 +00:00
Uwe Stöhr
c4a93a4909
installer: don't use Python 3.x for LyX; fixes #7143
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37144 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-07 00:28:45 +00:00
Peter Kümmel
e4ecc7ff1c
cmake: add all info files and the cmake macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37137 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 18:57:49 +00:00
Peter Kümmel
69c8dd36ba
cmake: add all info files and the cmake macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37136 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 18:54:25 +00:00
Enrico Forestieri
36ee8cdd52
Revert r36465 and r36467. Soon to be replaced by proper code for correctly
...
show on screen italic uppercase greek letters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Vincent van Ravesteijn
aa0aae25f2
Add DEVEL_VERSION to cmake.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 22:54:45 +00:00
Stephan Witt
e1505e5e4d
finally ASPELL_FRAMEWORK is not used anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36926 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 20:57:03 +00:00
Uwe Stöhr
c3a76fc0f2
Indonesian Shortcuts.lyx: new translation by Waluyo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 18:17:39 +00:00
Uwe Stöhr
6a07084315
Indonesian UserGuide.lyx: new translation from Waluyo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 20:50:30 +00:00
Uwe Stöhr
cbd7789e55
scons/build_msvc.bat: use aspell explicitly (squashes some SCons warnings); hunspell does not yet work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36810 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 16:08:15 +00:00
Pavel Sanda
8f5acc63c4
Replay r36746
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36755 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:16 +00:00
Pavel Sanda
c68d754a74
Revert commits from 36745
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:05:40 +00:00
Peter Kümmel
56e0cfd582
cmake: add option to rebuild merged files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36746 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:55:05 +00:00
Stephan Witt
8f4936d4aa
go with updates from qt universe and hunspell
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36703 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:24:48 +00:00
Uwe Stöhr
6d582be96d
PersonalWordList:
...
- add missing SVN EOL-style
- update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36664 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 20:56:33 +00:00
Stephan Witt
a2287675d2
#7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36661 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 18:52:31 +00:00
Georg Baum
969529b25b
1) Add missing LuaTeX icons
...
2) Make pdf icons distinguishable.
This is useful for users like me who want them directly on the toolbar
without the indirection through the *-others popups.
3) Apply the fixes of r29715 to buffer-export_pdf2.png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36555 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 16:40:46 +00:00
Georg Baum
36698a933c
Add fixltx2e module which simply loads fixltx2e.sty.
...
This module can be used instead of \usepackage{fixltx2e} in the preamble
to avoid duplicate definitions of \textsubscript.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36550 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 10:46:47 +00:00
Richard Heck
34555937ea
Update FORMAT with revision number.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 16:05:13 +00:00
Jürgen Spitzmüller
2dc2e4770b
Implement GUI for LuaTeX. File format change due to the renaming of the \use_xetex buffer param.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 09:42:03 +00:00
Pavel Sanda
a0c7b9b786
The problem with windows is that it does not discriminate case sensitivity
...
which breaks on other archs.
Uwe, please check it still works for you.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:07:42 +00:00
Uwe Stöhr
c7d586d478
installer: prepare for beta2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:44:42 +00:00
Uwe Stöhr
e16ee11f18
fix #1983 (rest of #4606 ): add missing \var*** characters (gig Greek math letters)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Georg Baum
7edd656f21
Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun:
...
inset-insert simply swallows the selection, while box-insert, note-insert etc.
put the selection inside the new inset.
As a side effect the toolbar icons get better names, as requested by Uwe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:09:08 +00:00