Commit Graph

12038 Commits

Author SHA1 Message Date
Georg Baum
ac7ee5b85e Don't use the char version of uppercase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17430 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 10:22:10 +00:00
André Pönitz
8484324f75 Fix #988. Note that this introduces a new translatable message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17429 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 00:48:25 +00:00
André Pönitz
d85978b58f fix #3295
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17428 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 23:42:35 +00:00
Michael Schmitt
fc0d04feab po/de.po: adjust to new TOC dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17427 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 22:59:58 +00:00
Michael Schmitt
aaa2c7f98f po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17426 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 22:38:14 +00:00
Peter Kümmel
69ec762d33 fix linker error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17425 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 22:17:55 +00:00
Georg Baum
52727f6f96 Improve fix for bug 3305
* src/LaTeX.C
	(insertIfExists): Instead of catching all fs exceptions, test for a
	valid filename before constructing a fs::path. This gets rid of the
	exceptions because of invalid names, but does still allow other
	expcetions to be thrown (e.g. because of file system problems).
	(handleFoundFile): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17424 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 19:38:20 +00:00
Michael Schmitt
5a90cc6871 * src/changes.C: reduce debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17423 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 19:03:47 +00:00
Georg Baum
9f75809bc5 Prepare for fixing bug 3235
* src/output_latex.C
	(TeXEnvironment): Rename language variables to make it very clear
	that they denote the paragraph language, not the character language.
	(TeXOnePar): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17422 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 17:19:08 +00:00
Abdelrazak Younes
566d80d064 add some safeguards (while investigating bug 3152).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17421 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 17:03:42 +00:00
Abdelrazak Younes
e69f006911 We don't need a QMainWindow parent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 15:45:08 +00:00
Jürgen Spitzmüller
c808fc0445 * src/buffer.C (readHeader):
- reset custom bullets initially. Fixes bug 3312.
* src/bufferparams.C: fix typo in comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17419 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 15:15:21 +00:00
Jürgen Spitzmüller
d588c13f3f Make r17416 compile.
Abdel, are Windows compiler really that dumb?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17418 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 15:11:18 +00:00
Abdelrazak Younes
51f2d5c064 adjust keyboard shortcuts for buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17417 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 14:49:27 +00:00
Abdelrazak Younes
cb81965b1e * ControlToc:
- initialiseParams(): overload ControlCommand::initialiseParams() so that we can update the model at this point (QToc is the controller _and_ the model).
  - update(): new 
  - updateBackend(): new protected method to update the TocBackend (called for the "Update" button).

* QToc:
  - is now a QObject
  - modelReset: new Qt signal to indicate a model reset to associated dialog(s).
  - QToc(): avoid the duplicate update() call that will be done in the show command anyway.

* Dialogs.C
  - use new TocWidget in a DockView.

* TocWidget.[Ch]: renamed from QTocDialog. This striped down widget is only a widget that connects to the 'QToc' model/controller.

* DockView.h: new template class that encapsulates a given Widget inside a DockWidget and presents a Dialog::View interface.

* QTocUi.ui:
  - now is a simple Widget.
  - rearrange the buttons a bit
  - get rid of the unneeded close button.
  - modify the shortcut to "Promote" to 'r' because of a clash with "Alt-p" number (we really need real, always valid, shortcuts for all outline action!)




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17416 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 14:23:44 +00:00
Abdelrazak Younes
d1d4e6d48f * LyXFunc::menuNew():
- bug correction: don't forget to call updateLabels() to initialize the different backends.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17415 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 11:30:48 +00:00
Abdelrazak Younes
93211e0f3c * frontends/Dialogs::updateBufferDependent()
- update dialogs instead of hiding for dialogs that support that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17414 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 11:27:47 +00:00
Abdelrazak Younes
bf61ecc2de Support code for advanced Toc management and bug correction.
* buffer.h:
  - structureChanged(): new boost signal. I intend to use that also when a text is changed in a section or caption item.

* buffer_funcs.C:
  - updateLabels(): emit Buffer::structureChanged() after TocBackend is updated.
  - checkBufferStructure(): new method for updating the TocBackend if needed.

* LyXView:
  - updateToc(): new slot for Buffer::structureChanged() signal.

* text.C:
  - call checkBufferStructure() whenever text is added or erased.

* TocBackend.[Ch]:
  - updateItem(): new method to update a specific item (called from checkBufferStructure()).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17413 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 11:23:41 +00:00
Bo Peng
145c4d9afe fix cygwin postinstall script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17411 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-05 15:37:36 +00:00
Abdelrazak Younes
fe48695577 Fix bug 3303 from Bernhard Roider. Some explanation:
The problem was that pit is a reference to cur.pit() and was set to lastpit() + 1 before calling recordUndo(cur, ...). thus an invalid cursor position was stored in the undo buffer.
A side effect of the attached patch is that now the cursor keeps staying in the moved section header  on undo (which is not the case in current trunk)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-05 13:16:55 +00:00
Uwe Stöhr
1734c7c9ac tutorial updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17409 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 18:32:36 +00:00
Michael Schmitt
7bd29ec955 add firefox as HTML previewer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17408 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 15:43:16 +00:00
Georg Baum
aaa79ce109 fix clipart installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17407 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 15:30:38 +00:00
Uwe Stöhr
86b10133cb EmbeddedObjects: small fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17406 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 14:41:24 +00:00
Georg Baum
62bb6150ee Fix bug 3305
* src/LaTeX.C
	(insertIfExists): Catch boost::filesystem exceptions, since they
	are not errors in this context
	(handleFoundFile): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17405 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 13:22:38 +00:00
Georg Baum
0913a853b9 compile fix.
I have no idea whether this installs correctly, but it compiles at least.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17404 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 13:05:12 +00:00
Georg Baum
a9266cbdf0 Use only one codeset definition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17403 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 13:04:18 +00:00
Michael Schmitt
f9a423c9a6 * scons/SConstruct: fix clipart directory; remove duplicate 'doc' entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17402 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 10:52:31 +00:00
Michael Schmitt
f19b1fa09a * src/author.[Ch]: constify AuthorList::get()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17401 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 09:37:32 +00:00
Michael Schmitt
edcac9ea02 fix building: replace lib_clipart_files by lib_doc_clipart_files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17400 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 09:35:41 +00:00
Uwe Stöhr
d95a26e115 add missing clipart directories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 04:03:54 +00:00
Uwe Stöhr
8fe8454828 BIG change:
- move the images to a clipart folder under lib/doc
- remove the old clipart folder under /lib
- create a new clipart folder for every language to collect there language specific images (currently that only affects Spanish)
- fix Slovak userguide
- adjust image paths to reflect the changes (there were btw. broken after JMarcs last change)

If something is wrong please mail me!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17398 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 03:06:14 +00:00
Uwe Stöhr
14c356d31e - whitespace for Lars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17396 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 01:56:58 +00:00
Uwe Stöhr
f84d08a078 - fix bug 2458
http://bugzilla.lyx.org/show_bug.cgi?id=2458
- whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-02 22:20:32 +00:00
Uwe Stöhr
71e1fe570b README.localization: updates from Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17394 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-02 21:48:13 +00:00
Georg Baum
4f4c5d4954 * src/support/lstrings.C
(lowercase): assert that input is pure ASCII
	(uppercase): ditto

	* src/support/lstrings.h
	(lowercase): document that only ASCII input is allowed
	(uppercase): ditto

	* src/lyxfind.C
	(stringSelected): Use compare_no_case (more efficient)

	* src/MenuBackend.C: remove unused using directive


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17393 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-02 16:52:49 +00:00
Michael Schmitt
6bae5045bd update tinyurl for 1.5.X bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17392 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-01 20:39:49 +00:00
Georg Baum
a2ccc6202c remove unneeded namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17391 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-01 16:35:26 +00:00
Georg Baum
b5285c8b7a Fix bug 3302 (untested): Add missing internal_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17390 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-01 16:25:51 +00:00
Uwe Stöhr
375a9cbfcd de/Tutorial and Intro: Updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17388 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 22:54:19 +00:00
Jean-Marc Lasgouttes
03c902a70d * Makefile.in.in (i18n.php): make the target depend on postats.sh
* postats.sh: make e-mail addresses less readable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17385 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 22:36:01 +00:00
Jean-Marc Lasgouttes
a7c2c8e3d5 * support/filetools.C (makeDisplayPath): if the file is in the lyx
support directory, return as a relative path (enclosed in brackets)

	* frontends/qt4/GuiView.C (updateTabs): use makeDisplayPath instead
	of onlyFileName. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17384 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 21:48:04 +00:00
Michael Schmitt
136403d64b remove pointless clear() in constructor (reported by Lars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17383 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 20:58:15 +00:00
Christian Ridderström
f36359c7f1 Changing ; to # (and testing to commit)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17382 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 20:48:30 +00:00
Abdelrazak Younes
45747320f0 fix bug 2483:
http://bugzilla.lyx.org/show_bug.cgi?id=2483

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 14:36:38 +00:00
Georg Baum
13f08c6215 Fix bug 3232
* src/insets/ExternalSupport.C
	(updateExternal): Don't forbid conversions using the default converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 09:12:32 +00:00
Uwe Stöhr
2f76056e6c Fix bug 3292:
http://bugzilla.lyx.org/show_bug.cgi?id=3292
(fix tab order)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17379 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 23:48:57 +00:00
Georg Baum
471b4ea315 Fix bug 2937 (from Jean-Baptiste LAMY)
* src/support/filename.C
	(DocFileName::mangledFilenam): Use a whitelist of allowed characters
	instead of an incomplete blacklist of disallowed ones


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17378 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 19:01:10 +00:00
Jean-Marc Lasgouttes
e2d91ecfc2 add "Reconfigure" to the LyX menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17377 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 15:30:29 +00:00
Jean-Marc Lasgouttes
062c0017a4 Another fix for bug 3081 (related to booktabs this time)
* tabular.C (TeXRow): do not forget to increment the row counter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17376 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-27 10:42:34 +00:00