Commit Graph

14964 Commits

Author SHA1 Message Date
Enrico Forestieri
7b392cfd2d Fix bug 3904
* src/graphics/GraphicsConverter.cpp
	(move_file, build_script): convert any path name to the local
	encoding directly in the python script.

	* src/support/tempname.cpp
	(tempName): don't pass local 8bit encoded strings to addName as
	it expects them to be utf8 encoded.

	* src/ServerSocket.cpp
	(ServerSocket::ServerSocket): ditto for setEnv.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 15:45:58 +00:00
Alfredo Braunstein
7bc7431b49 Fix to bug 3886
acceptChanges:

* move the bulk of acceptChanges without the call to DEPM to 
paragraph_funcs

copySelectionHelper:

* call this new acceptChanges

pasteParagraphList:

* use Text::setCursor(Cusor,...) instead of Text::setCursor(CursorSlice...) 
in order to have DEPM invoked at the end of the insertion



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 14:11:42 +00:00
José Matox
2b2a95a784 Update release files for RC2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18891 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 13:51:37 +00:00
José Matox
0d3295f1cf Fix bug 3313 (unicode error when invoking lyx2lyx) by Anders Ekberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18890 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 13:15:29 +00:00
Jürgen Spitzmüller
874f4b99fd * src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QInclude.cpp:
* src/frontends/qt4/QListings.cpp:
	- add missing slot to "pass validation" checkbox togling signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 08:00:44 +00:00
Uwe Stöhr
26b21574b2 EmbeddedObjects: fix fileformat of previous EmbeddedObjects commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 00:26:56 +00:00
Uwe Stöhr
d8993d2d6c - Fileformat change: rename "arabic" to "arabic_arabtex"
- Split the language Arabic into "arabic_arabi" that uses the arabi-package and "arabic-arabtex" that uses the arabTeX-package to typeset Arabic. This is needed because both packages have some advantages over the other people need.
(This change is a consequence of a long and fruitful discussion with Mostafa, Dov, and me.)

Patch by Dov and me.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 00:11:03 +00:00
Uwe Stöhr
5586ef0ff6 EmbeddedObjects: changes to markup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 23:46:32 +00:00
Jürgen Spitzmüller
bcf64dd11c Fix bug 1749. CAUTION: lyx2lyx not fully working yet (see FIXMEs).
* development/FORMAT: 
	- document file format change

* src/Buffer.cpp: bump format to 275.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.py:
	- conversion and reversion of scaleBeforeRotation param (doesn't work yet!)

* src/insets/InsetGraphicsParams.{cpp,h}: 
	- new param scaleBeforeRotation
* src/insets/InsetGraphics.cpp:
	- swap order of scale and rotate (if scaleBeforeRotation is false)

* src/frontends/qt4/QGraphics.C:
* src/frontends/qt4/QGraphicsDialog.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
	- add checkbox to toggle scaleBeforeRotation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 13:49:51 +00:00
Jürgen Spitzmüller
54ed37eade * src/frontends/controllers/ControlMath.cpp (find_xpm):
- substitute characters ; : ! , by literal expressions (probably fix bug 3834),

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 12:38:43 +00:00
Alfredo Braunstein
cc30726cc4 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18883 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 12:01:25 +00:00
Alfredo Braunstein
c1852732b7 Fix one-by-some bug in tabular selection drawing by appropriately
calling InsetText::drawSelection instead of Text:drawSelection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18881 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 08:19:15 +00:00
Alfredo Braunstein
d5f8004189 remove unused CursorSlice::invalidate & isValid methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18880 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 08:06:32 +00:00
Uwe Stöhr
62c15fa488 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 00:59:08 +00:00
Uwe Stöhr
55ad53c7fb EmbeddedObjects: some minor changes to markup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18878 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 00:58:25 +00:00
Uwe Stöhr
dc56f010db New German EmbeddedObjects manual
Part 2: the documents

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18877 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 00:57:19 +00:00
Uwe Stöhr
1dacd33172 Intro.lyx: fix a typo spotted by Jarvis Liang
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18876 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-24 18:36:32 +00:00
Jürgen Spitzmüller
646fe23a4a * src/Text3.cpp (getStatus):
- enable LFUN_MATH_INSERT (fix bug 3557).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18874 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-24 15:35:45 +00:00
Jürgen Spitzmüller
405bad36d8 * lib/doc/Makefile.am:
- fix compilation broken by revision 18872.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18873 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-24 08:51:41 +00:00
Uwe Stöhr
5f614b008a New German EmbeddedObjects manual
Part 1: the images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 12:30:03 +00:00
Uwe Stöhr
fd08009656 EmbeddedObjects: add ligature breaks, spotted by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18870 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 11:19:04 +00:00
Michael Schmitt
aa2ce81cb6 * po/*.po:
* po/POTFILES.in: remerge


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 09:25:09 +00:00
Michael Schmitt
3afd7b5fed po/cs.po: updates by Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 09:06:46 +00:00
Jürgen Spitzmüller
91c6d03678 Fix bug 2520: Make InsetExternal translateable
* po/lyx_pot.py:
	- new function external_l10n: parse external_templates and extract the relevant parts for translation.
* development/scons/SConstruct:
* po/Makefile.in.in:
	- use external_l10n

* src/insets/InsetExternal.cpp:
* src/frontends/qt4/QExternal.cpp: 
	- make eveything translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 07:50:13 +00:00
Uwe Stöhr
1fc33d0714 Userguide: two minor things I forgot in the last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 01:50:02 +00:00
Uwe Stöhr
34b7351de0 Fix value for the didot in all documentations
EmbeddedObjects: fix two issues spotted by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 01:41:15 +00:00
Bo Peng
1dce977c92 Minor update to INSTALL.Win32, suggested by Roger
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18863 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 00:48:53 +00:00
Uwe Stöhr
985b698d1d installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 23:21:48 +00:00
Uwe Stöhr
58c9d5fd70 Add keymap file for Farsi, provided by Mostafa
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:41:45 +00:00
Richard Heck
1a3daacc5f Fix some UI bugs related to the paragraph settings dialog. The default
checkbox has been changed to a radio button, so that other alignments
can be chosen without the user's having to uncheck "Default".

There was some disagreement about the interface here. See, for example,
this thread:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg121328.html
For now, this will do.

The interface here is not fully functional. At present, if the Default 
happens to be Justified, then checking Justified is simply equivalent to
checking Default. This is due to the behavior of Text::setParagraph(), and
it should be changed if this interface is retained.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:34:16 +00:00
Uwe Stöhr
e077e53a13 BufferParams.cpp: correct wrong previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:31:49 +00:00
Uwe Stöhr
31c99e6b37 Fixes for Farsi:
- Bufferparams.cpp: set correct font encoding for Farsi
- lib/languages: define quotation marks for Farsi

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:23:37 +00:00
Uwe Stöhr
7cb5868e03 fix bug 1942: http://bugzilla.lyx.org/show_bug.cgi?id=1942
- we don't require wasysym any more. Either esint or amsmath is used, depending if esint is installed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18857 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 21:25:41 +00:00
Alfredo Braunstein
6faab8621f * Fix Bug 3346
Clear the dirty flag of tabular copy/paste clipboard on normal text copy


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 17:14:03 +00:00
Jürgen Spitzmüller
1a25140a94 * src/Text3.cpp: don't reset current_layout too early (fix bug 3727).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 16:36:30 +00:00
André Pönitz
7a58f8a1d9 allow unicode-insert 0x20
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 16:27:37 +00:00
Alfredo Braunstein
0ebfa36965 const correctness (missed this)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 13:38:07 +00:00
Alfredo Braunstein
fb963c2587 const correctness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 13:33:51 +00:00
Edwin Leuven
e752a9eeef * remove fraction menu (all entries are already on main math toolbar)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 09:04:26 +00:00
Alfredo Braunstein
2932434aaa * Fix to Bug 3903
When moving the cursor with a mouse click, notify all left insets, not 
just the top one


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 21:56:43 +00:00
Joost Verburg
0ca5cd777c use environment variable to locate Windows directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 19:42:07 +00:00
Joost Verburg
0e0a947aa9 two mirror servers for all downloads
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18847 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 18:41:24 +00:00
Bo Peng
db4c0cfec6 Fix bug 1486: copied mathed is not previewed, from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 18:02:51 +00:00
Edwin Leuven
37e2aa69f7 * this one got lost in http://www.lyx.org/trac/changeset/18842
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 16:14:52 +00:00
Joost Verburg
f4e3f84f44 new & updated dictionaries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18844 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 15:48:31 +00:00
Bo Peng
44f31e00f2 add closetab.xpm to scons_manifest.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 14:58:31 +00:00
Edwin Leuven
2eff2cfc94 * Get rid the of the QWidgetAction subclass and use homebrew tearoff widget:
this is a qt 4.1 solution and behaves on all platforms
  

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 09:51:50 +00:00
Stefan Schimanski
557521034f * Clear the paragraph metrics cache as well on redraw:
On fullscreen redraw the metrics of all visible paragraphs are
  recreated and stored in the TextMetrics object. If the number of
  paragraphs on screen does not change everything is fine because the
  paragraph metrics cache is just updated. But if the number decreases
  it can happen that old paragraph metrics remain in the cache. If this
  happened because e.g. a paragraph was deleted, it's possible that the
  cached paragraph is longer than the one which is actually at the
  position now. Using the Row objects from the cached paragraphs then
  can trigger accesses to positions which would have been valid in the
  old paragraph, but go over the end of the paragraph which is there
  now. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 06:41:55 +00:00
Stefan Schimanski
5286634d17 * On MacOSX enter is no activation key for a QListWidget. Hence it
does not close the command completion popup. Moreover setFocus does
not focus the widget correctly, probably because the popup widget
behavior is different. An activateWindow solves the problem by
selecting the LyX view again as active window.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 06:38:50 +00:00
Uwe Stöhr
101de631a0 - update to new Aspell repositories
- add new download repository for Aspell
- add Farsi and Armenian Aspell support
- installer updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 00:57:55 +00:00