Commit Graph

11319 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
7459f3ad6a * insetcollapsable.C (hasFixedWidth): new virtual method, returns
false by default.
	(metrics): do not set to openinlined if
	hasFixedWidth is true.

	* insetbox.C (hasFixedWidth): returns true if the box has a fixed
	width. 
	(metrics): use hasFixedWidth.
	



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16426 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 11:52:01 +00:00
Jean-Marc Lasgouttes
ca6838b288 * InsetMathNest.C (handleFont): avoid crash on undo when
suppressing a font inset (bug 3019).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16424 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 11:07:23 +00:00
Jean-Marc Lasgouttes
6146f2dad4 Fix description of LabelCounter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 10:22:16 +00:00
Georg Baum
67dd949130 Fix LaTeX generation of files with inputenc == default.
See the patch itself for further comments.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16421 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 09:24:18 +00:00
Georg Baum
fcd3b56a22 add missing encoding declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16420 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 18:47:13 +00:00
Michael Schmitt
5a0f092f74 * Status.15x: remove invalid bug report (my MikTeX environment was broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16419 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 18:20:26 +00:00
Georg Baum
244b2c1fab Add some more LaTeX encodings, fix thailatex and display all available
encodings in the preferences dialog

	* src/LaTeXFeatures.C: special treatment for tis620-0 encoding
	* src/bufferparams.C: ditto
	* src/output_latex.C: ditto

	* src/encoding.[Ch]: Add the possibility to iterate over all encodings

	* src/paragraph_pimpl.C: Add latin10 and cp858 to Euro treatment

	* src/buffer.C: Update format number

	* src/frontends/qt4/QDocumentDialog.C: Don't hardcode available
	encodings

	* lib/lyx2lyx/LyX.py,
	  lib/lyx2lyx/lyx_1_5.py: implement conversion from 256 to 255

	* lib/encodings: Add some encodings, fix all "unknown" entries

	* development/FORMAT: Document file format change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16418 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 18:15:25 +00:00
Georg Baum
c7490b191e Add LyX 1.4.x format for export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16417 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 16:23:12 +00:00
Georg Baum
f94d42f72c fix comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16416 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 16:19:22 +00:00
Michael Schmitt
88a6d1a918 * lib/configure.py: fix typos ("Declear" => "Declare")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 15:30:12 +00:00
Georg Baum
5e5dc39d2c fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16414 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 12:05:40 +00:00
Georg Baum
4de1cc0339 remove obsolete comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16413 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 12:01:27 +00:00
Georg Baum
ea81b496be remove useless in_ert variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16411 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 10:24:45 +00:00
Georg Baum
63524a4184 * src/support/unicode.C
(iconv_convert): Fix a crash: Don't try to create a vector from two
	pointers where end is before begin.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 07:35:57 +00:00
Jürgen Spitzmüller
f4540ab1aa * Status.15x: clarify status of the charstyle dialog resizing bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16407 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 06:21:03 +00:00
Bo Peng
36b485d842 Fix a crash caused by cur.text() != this for collapsable insets
* src/insets/insetcollapsable.C: test if inset is open before editing


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16406 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 03:00:48 +00:00
Michael Schmitt
bcc3f4794e * Status.15x: "reopen" dialog resize bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16405 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 23:11:46 +00:00
Jürgen Spitzmüller
f55fde9bab * src/mathed/InsetMathNest.C (do_dispatch):
- catch LFUN_QUOTE_INSERT and output plain quote (bug 3044).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16403 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 15:01:09 +00:00
Georg Baum
c4307d1dd3 add new galician file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16401 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 11:59:56 +00:00
Georg Baum
979fdf7456 Fix strange bibtex problem by converting some more functions to use FileName
instead of std::string

	* src/support/lyxlib.h
	* src/support/getcwd.C
	(getcwd): return a FileName, not a std::string in filesystem encoding

	* src/support/filetools.[Ch]
	(makeAbsPath): return a FileName, not a std::string in undefined encoding

	* src/support/lyxlib.h
	* src/support/tempName.C
	(makeAbsPath): return a FileName, not a std::string in undefined encoding

	* many other files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:56:11 +00:00
Jean-Marc Lasgouttes
63b31731e2 new Galician tutorial; updated Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16397 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:37:03 +00:00
Georg Baum
6c4aa88c2e remove unused stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16395 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 08:40:40 +00:00
Enrico Forestieri
5601319367 Christmas present for Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16394 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 19:23:33 +00:00
Abdelrazak Younes
42aac5b28c update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16393 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 18:17:44 +00:00
Abdelrazak Younes
246e06c331 Fix focus problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16392 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 18:16:25 +00:00
Abdelrazak Younes
caaaf6f20b Really fix focus problem on new view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16391 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 17:11:32 +00:00
Jürgen Spitzmüller
72bb51b0fc * src/frontends/qt4/QCharacter.C:
- fix dialog resizing for QT >= 4.2 (bug 3032).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16390 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 11:38:19 +00:00
Bo Peng
6c8c421c21 Status.15x: record a repeatable case of the famous text() == this assertion crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16389 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-24 02:20:33 +00:00
Peter Kümmel
64aadeaf5f also work with Joost's windows file bundle (qmake gives the non-portabale path of Joost's Qt installation)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16388 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 21:47:06 +00:00
Peter Kümmel
2debe65559 don't show all warnings by default, use TOP_SRC_DIR value from LyXPaths.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16387 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 21:30:17 +00:00
Abdelrazak Younes
42426e1423 Fix focus on WorkArea after mini-buffer command.
* LyXView:
  - setFocus(): new pure virtual method.

* QCommandBuffer:
  - simplify Ctor
  - call GuiView::setFocus() instead of centralWidget()->setFocus()

* GuiView:
  - implement setFocus():
  - focusNextPrevChild(): use setFocus().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16386 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 17:09:50 +00:00
Michael Schmitt
0d6a07b9c3 * Status.15x: another showstopper for people using bibtex bibliographies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16385 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 12:48:23 +00:00
Michael Schmitt
478145bdf7 * Status.15x: more bug reports
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16384 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 12:26:20 +00:00
Michael Schmitt
3ea896291d * Status.15x: add Jürgen's bug report
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16383 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 12:14:34 +00:00
Michael Schmitt
515616a914 * scons/SConstruct: fix manifest on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16382 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-23 09:09:10 +00:00
Abdelrazak Younes
9e4ac7fca9 Fix Tab and Ctrl-Tab keys handling and focus problems related to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16381 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 16:13:19 +00:00
Abdelrazak Younes
6c648c13a8 TOP_SRCDIR is needed, but LOCALEDIR and LYX_DIR refer to
installation directories.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16380 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 12:41:25 +00:00
Georg Baum
5843e6bd7f fix encoding of user name and email address
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16379 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 10:26:52 +00:00
Georg Baum
cb0b0bb799 * src/LColor.[Ch]
(LColor::getFromGUIName): delete, since it is unused, broken and
	not easy to implement correctly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16378 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 10:23:25 +00:00
Georg Baum
2caff468e5 convert more GUI strings to docstring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16377 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 10:06:40 +00:00
Georg Baum
07e76f0911 get rid of more utf8 conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16376 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 09:23:10 +00:00
Bo Peng
2867d821ee Fix "virtual function called" error, by Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16375 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 02:57:25 +00:00
Enrico Forestieri
c55d189873 Fix display of the style name in the BibTeX Bibliography panel
* src/frontends/controllers/ControlBibtex.C
	(ControlBibtex::getStylefile): get the correct parameter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16374 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-22 01:12:43 +00:00
Edwin Leuven
5ad83ced7c avoids updates on
1. mouse click (without selection)
 2. mouse movements (when selection doesn't change) 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16373 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 21:27:04 +00:00
Georg Baum
1e9f9be483 get rid of more utf8 conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16372 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 20:52:59 +00:00
Enrico Forestieri
3aa4567fe8 Use the standard mouse pointer shape when displaying an alert dialog
* src/frontends/qt4/Alert_pimpl.C
	(prompt_pimpl): override the cursor shape chosen by Qt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16371 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 20:29:15 +00:00
Georg Baum
ea2c007320 remove unneeded conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16370 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 19:02:17 +00:00
Michael Schmitt
22ee485a26 * po/de.po: minor update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16369 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 18:57:04 +00:00
Michael Schmitt
71f3f80a70 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16368 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 18:36:48 +00:00
Bo Peng
0dadb5c0ff Scons: do not subst %var%, as I am told that they are changed to @var@
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16367 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-21 15:21:30 +00:00