Commit Graph

12322 Commits

Author SHA1 Message Date
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
Lars Gullik Bjønnes
607e91b347 Fix some entries. Either fix or clear fuzzy entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17375 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 22:44:04 +00:00
Jean-Marc Lasgouttes
b01a9dc187 typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17374 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 22:27:37 +00:00
Jean-Marc Lasgouttes
fa637e5377 * src/frontends/qt4/QLMenubar.C (macxMenuBarInit): use the new support
Qt 4.2 for Mac menus (no merging is done for qt < 4.2 now).
        * src/frontends/qt4/Action.C (Action): initialize menu role to NoRole
	for qt >= 4.2.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17373 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 19:54:41 +00:00
Michael Schmitt
49b2b166b7 po/de.po: small update (10 messages)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:55:31 +00:00
Georg Baum
d1f8c007f0 Get rid of some locale dependant functions
* src/output_plaintext.C
	(writePlaintextParagraph): Use compare_ascii_no_case instead of
	compare_no_case, since the strings to compare are pure ASCII anyway.

	* src/frontends/qt4/QPrefsDialog.C
	(setComboxFont): ditto

	* src/MenuBackend.C
	(Menu::checkShortcuts): ditto

	* src/frontends/qt4/QLImage.C
	(QLImage::loadableFormats): Use ascii_lowercase instead of lowercase
	since the input is pure ASCII anyway.

	* src/tex2lyx/text.C
	(splitLatexLength): ditto

	* src/support/lstrings.[Ch]
	(compare_no_case): Get rid of both std::string variants
	(lowercase): Get rid of std::string variant
	(uppercase): Change std::string variant to docstring

	* src/support/tests/regfiles/lstrings: Add new expected output

	* src/support/tests/lstrings.C: Add tests for docstring functions


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17371 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:54:03 +00:00
Michael Schmitt
7fe43f1aa0 install images/math/frac-square.xpm (used in dialog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17370 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:42:51 +00:00
Michael Schmitt
c9be414c24 * po/*.po: remerge (two new messages)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17369 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 18:22:10 +00:00
Abdelrazak Younes
a7d8653a46 Document symbol fonts hack (text from Georg Baum).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17368 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:22:54 +00:00
Michael Schmitt
b242a84807 install frac-square.xpm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17367 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:18:24 +00:00
Bo Peng
adc618f6e7 Change windows installer comments from ; to #
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 16:03:30 +00:00
Georg Baum
dca251a0ef remove stray dollar sign
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:37:48 +00:00
Georg Baum
f503258258 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:36:36 +00:00
Georg Baum
e0845a1e53 fix thinko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17363 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:29:04 +00:00
Abdelrazak Younes
ba62665f96 * support/qstring_helpers.h: erase ucs4_to_qstring() method.
* FontMetrics.h: only one string width() method.

* Painter.h: only one text() method.

* all other files: adapt to above API change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 15:13:08 +00:00
Abdelrazak Younes
85f66bcd90 Fix support lib dependency problem.
* docstring.C: Implement utf8ToUcs4() locally.

* all other files: remove utf8ToUcs4().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 12:46:44 +00:00
Abdelrazak Younes
52eb91c94f add config.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-26 11:18:37 +00:00