]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agofix #3295
André Pönitz [Mon, 12 Mar 2007 23:42:35 +0000 (23:42 +0000)]
fix #3295

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17428 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago po/de.po: adjust to new TOC dialog
Michael Schmitt [Mon, 12 Mar 2007 22:59:58 +0000 (22:59 +0000)]
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

17 years ago po/*.po: remerge
Michael Schmitt [Mon, 12 Mar 2007 22:38:14 +0000 (22:38 +0000)]
po/*.po: remerge

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17426 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix linker error
Peter Kümmel [Mon, 12 Mar 2007 22:17:55 +0000 (22:17 +0000)]
fix linker error

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17425 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoImprove fix for bug 3305
Georg Baum [Mon, 12 Mar 2007 19:38:20 +0000 (19:38 +0000)]
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

17 years ago * src/changes.C: reduce debug output
Michael Schmitt [Mon, 12 Mar 2007 19:03:47 +0000 (19:03 +0000)]
* src/changes.C: reduce debug output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17423 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoPrepare for fixing bug 3235
Georg Baum [Mon, 12 Mar 2007 17:19:08 +0000 (17:19 +0000)]
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

17 years agoadd some safeguards (while investigating bug 3152).
Abdelrazak Younes [Mon, 12 Mar 2007 17:03:42 +0000 (17:03 +0000)]
add some safeguards (while investigating bug 3152).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17421 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoWe don't need a QMainWindow parent.
Abdelrazak Younes [Mon, 12 Mar 2007 15:45:08 +0000 (15:45 +0000)]
We don't need a QMainWindow parent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17420 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/buffer.C (readHeader):
Jürgen Spitzmüller [Mon, 12 Mar 2007 15:15:21 +0000 (15:15 +0000)]
* 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

17 years agoMake r17416 compile.
Jürgen Spitzmüller [Mon, 12 Mar 2007 15:11:18 +0000 (15:11 +0000)]
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

17 years agoadjust keyboard shortcuts for buttons.
Abdelrazak Younes [Mon, 12 Mar 2007 14:49:27 +0000 (14:49 +0000)]
adjust keyboard shortcuts for buttons.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17417 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* ControlToc:
Abdelrazak Younes [Mon, 12 Mar 2007 14:23:44 +0000 (14:23 +0000)]
* 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

17 years ago* LyXFunc::menuNew():
Abdelrazak Younes [Mon, 12 Mar 2007 11:30:48 +0000 (11:30 +0000)]
* 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

17 years ago* frontends/Dialogs::updateBufferDependent()
Abdelrazak Younes [Mon, 12 Mar 2007 11:27:47 +0000 (11:27 +0000)]
* 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

17 years agoSupport code for advanced Toc management and bug correction.
Abdelrazak Younes [Mon, 12 Mar 2007 11:23:41 +0000 (11:23 +0000)]
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

17 years agofix cygwin postinstall script
Bo Peng [Mon, 5 Mar 2007 15:37:36 +0000 (15:37 +0000)]
fix cygwin postinstall script

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17411 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3303 from Bernhard Roider. Some explanation:
Abdelrazak Younes [Mon, 5 Mar 2007 13:16:55 +0000 (13:16 +0000)]
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

17 years agotutorial updates from Hartmut
Uwe Stöhr [Sun, 4 Mar 2007 18:32:36 +0000 (18:32 +0000)]
tutorial updates from Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17409 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd firefox as HTML previewer
Michael Schmitt [Sun, 4 Mar 2007 15:43:16 +0000 (15:43 +0000)]
add firefox as HTML previewer

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17408 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix clipart installation
Georg Baum [Sun, 4 Mar 2007 15:30:38 +0000 (15:30 +0000)]
fix clipart installation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17407 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoEmbeddedObjects: small fix
Uwe Stöhr [Sun, 4 Mar 2007 14:41:24 +0000 (14:41 +0000)]
EmbeddedObjects: small fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17406 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3305
Georg Baum [Sun, 4 Mar 2007 13:22:38 +0000 (13:22 +0000)]
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

17 years agocompile fix.
Georg Baum [Sun, 4 Mar 2007 13:05:12 +0000 (13:05 +0000)]
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

17 years agoUse only one codeset definition
Georg Baum [Sun, 4 Mar 2007 13:04:18 +0000 (13:04 +0000)]
Use only one codeset definition

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17403 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * scons/SConstruct: fix clipart directory; remove duplicate 'doc' entry
Michael Schmitt [Sun, 4 Mar 2007 10:52:31 +0000 (10:52 +0000)]
* 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

17 years ago * src/author.[Ch]: constify AuthorList::get()
Michael Schmitt [Sun, 4 Mar 2007 09:37:32 +0000 (09:37 +0000)]
* src/author.[Ch]: constify AuthorList::get()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17401 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix building: replace lib_clipart_files by lib_doc_clipart_files
Michael Schmitt [Sun, 4 Mar 2007 09:35:41 +0000 (09:35 +0000)]
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

17 years agoadd missing clipart directories
Uwe Stöhr [Sun, 4 Mar 2007 04:03:54 +0000 (04:03 +0000)]
add missing clipart directories

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17399 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoBIG change:
Uwe Stöhr [Sun, 4 Mar 2007 03:06:14 +0000 (03:06 +0000)]
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

17 years ago- whitespace for Lars
Uwe Stöhr [Sun, 4 Mar 2007 01:56:58 +0000 (01:56 +0000)]
- whitespace for Lars

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17396 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago- fix bug 2458
Uwe Stöhr [Fri, 2 Mar 2007 22:20:32 +0000 (22:20 +0000)]
- 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

17 years agoREADME.localization: updates from Pavel Sanda
Uwe Stöhr [Fri, 2 Mar 2007 21:48:13 +0000 (21:48 +0000)]
README.localization: updates from Pavel Sanda

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17394 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/support/lstrings.C
Georg Baum [Fri, 2 Mar 2007 16:52:49 +0000 (16:52 +0000)]
* 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

17 years agoupdate tinyurl for 1.5.X bugs
Michael Schmitt [Thu, 1 Mar 2007 20:39:49 +0000 (20:39 +0000)]
update tinyurl for 1.5.X bugs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17392 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unneeded namespace
Georg Baum [Thu, 1 Mar 2007 16:35:26 +0000 (16:35 +0000)]
remove unneeded namespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17391 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3302 (untested): Add missing internal_path
Georg Baum [Thu, 1 Mar 2007 16:25:51 +0000 (16:25 +0000)]
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

17 years agode/Tutorial and Intro: Updates by Hartmut
Uwe Stöhr [Wed, 28 Feb 2007 22:54:19 +0000 (22:54 +0000)]
de/Tutorial and Intro: Updates by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17388 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * Makefile.in.in (i18n.php): make the target depend on postats.sh
Jean-Marc Lasgouttes [Wed, 28 Feb 2007 22:36:01 +0000 (22:36 +0000)]
* 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

17 years ago * support/filetools.C (makeDisplayPath): if the file is in the lyx
Jean-Marc Lasgouttes [Wed, 28 Feb 2007 21:48:04 +0000 (21:48 +0000)]
* 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

17 years agoremove pointless clear() in constructor (reported by Lars)
Michael Schmitt [Wed, 28 Feb 2007 20:58:15 +0000 (20:58 +0000)]
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

17 years agoChanging ; to # (and testing to commit)
Christian Ridderström [Wed, 28 Feb 2007 20:48:30 +0000 (20:48 +0000)]
Changing ; to # (and testing to commit)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17382 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix bug 2483:
Abdelrazak Younes [Wed, 28 Feb 2007 14:36:38 +0000 (14:36 +0000)]
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

17 years agoFix bug 3232
Georg Baum [Wed, 28 Feb 2007 09:12:32 +0000 (09:12 +0000)]
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

17 years agoFix bug 3292:
Uwe Stöhr [Tue, 27 Feb 2007 23:48:57 +0000 (23:48 +0000)]
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

17 years agoFix bug 2937 (from Jean-Baptiste LAMY)
Georg Baum [Tue, 27 Feb 2007 19:01:10 +0000 (19:01 +0000)]
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

17 years agoadd "Reconfigure" to the LyX menu.
Jean-Marc Lasgouttes [Tue, 27 Feb 2007 15:30:29 +0000 (15:30 +0000)]
add "Reconfigure" to the LyX menu.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17377 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAnother fix for bug 3081 (related to booktabs this time)
Jean-Marc Lasgouttes [Tue, 27 Feb 2007 10:42:34 +0000 (10:42 +0000)]
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

17 years agoFix some entries. Either fix or clear fuzzy entries.
Lars Gullik Bjønnes [Mon, 26 Feb 2007 22:44:04 +0000 (22:44 +0000)]
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

17 years agotypos
Jean-Marc Lasgouttes [Mon, 26 Feb 2007 22:27:37 +0000 (22:27 +0000)]
typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17374 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/frontends/qt4/QLMenubar.C (macxMenuBarInit): use the new support
Jean-Marc Lasgouttes [Mon, 26 Feb 2007 19:54:41 +0000 (19:54 +0000)]
* 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

17 years ago po/de.po: small update (10 messages)
Michael Schmitt [Mon, 26 Feb 2007 18:55:31 +0000 (18:55 +0000)]
po/de.po: small update (10 messages)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17372 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoGet rid of some locale dependant functions
Georg Baum [Mon, 26 Feb 2007 18:54:03 +0000 (18:54 +0000)]
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

17 years agoinstall images/math/frac-square.xpm (used in dialog)
Michael Schmitt [Mon, 26 Feb 2007 18:42:51 +0000 (18:42 +0000)]
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

17 years ago * po/*.po: remerge (two new messages)
Michael Schmitt [Mon, 26 Feb 2007 18:22:10 +0000 (18:22 +0000)]
* po/*.po: remerge (two new messages)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17369 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDocument symbol fonts hack (text from Georg Baum).
Abdelrazak Younes [Mon, 26 Feb 2007 16:22:54 +0000 (16:22 +0000)]
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

17 years agoinstall frac-square.xpm
Michael Schmitt [Mon, 26 Feb 2007 16:18:24 +0000 (16:18 +0000)]
install frac-square.xpm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17367 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoChange windows installer comments from ; to #
Bo Peng [Mon, 26 Feb 2007 16:03:30 +0000 (16:03 +0000)]
Change windows installer comments from ; to #

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17366 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove stray dollar sign
Georg Baum [Mon, 26 Feb 2007 15:37:48 +0000 (15:37 +0000)]
remove stray dollar sign

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17365 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocompile fix
Georg Baum [Mon, 26 Feb 2007 15:36:36 +0000 (15:36 +0000)]
compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17364 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix thinko
Georg Baum [Mon, 26 Feb 2007 15:29:04 +0000 (15:29 +0000)]
fix thinko

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17363 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* support/qstring_helpers.h: erase ucs4_to_qstring() method.
Abdelrazak Younes [Mon, 26 Feb 2007 15:13:08 +0000 (15:13 +0000)]
* 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

17 years agoFix support lib dependency problem.
Abdelrazak Younes [Mon, 26 Feb 2007 12:46:44 +0000 (12:46 +0000)]
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

17 years agoadd config.h
Abdelrazak Younes [Mon, 26 Feb 2007 11:18:37 +0000 (11:18 +0000)]
add config.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17360 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd mention of CJK.
Abdelrazak Younes [Mon, 26 Feb 2007 11:03:37 +0000 (11:03 +0000)]
Add mention of CJK.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17359 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAlmost fix 'make check'. The only remaining problem is an undefined
Georg Baum [Mon, 26 Feb 2007 09:31:01 +0000 (09:31 +0000)]
Almost fix 'make check'. The only remaining problem is an undefined
reference to lyx::utf8ToUcs4.
I did not fix this since it is an interface violation that should be fixed
otherwise.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17358 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix 'make check' by removing useless namespace lyx
Georg Baum [Mon, 26 Feb 2007 09:29:12 +0000 (09:29 +0000)]
fix 'make check' by removing useless namespace lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17357 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agotypo
Jean-Marc Lasgouttes [Mon, 26 Feb 2007 09:24:54 +0000 (09:24 +0000)]
typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17356 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoforgot this
Georg Baum [Mon, 26 Feb 2007 09:03:58 +0000 (09:03 +0000)]
forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17355 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix character classification functions by using qt (bugs like 3270 and 1247)
Georg Baum [Mon, 26 Feb 2007 09:03:21 +0000 (09:03 +0000)]
Fix character classification functions by using qt (bugs like 3270 and 1247)

* src/support/lstrings.C
(uppercase): Use qt instead of non working libc/home grown solution
(lowercase): ditto
(local_lowercase): Use qt instead of libc tolower for ucs4 chars

* src/support/qstring_helpers.C
(qstring_to_ucs4): Use qchar_to_ucs4 because of the assertion

* src/support/lstrings.h: Add some documentation

* src/support/qstring_helpers.h
(is_utf16): New function: Tests whether an ucs4 character is also a
valid utf16 character
(qchar_to_ucs4): Assert on is_utf16()
(ucs4_to_qchar): Replace old assertion with better is_utf16()

* src/support/textutils.h
(isLetterChar): Delete non-working implementation
(isPrintable): Ditto
(isPrintableNonspace): Ditto
(isDigit):

* src/support/textutils.C: New file, contains new implementations
using qt of the functions in textutils.h

* src/support/Makefile.am: Add textutils.C

* development/scons/scons_manifest.py: ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17354 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: fix installation of language directories
Bo Peng [Mon, 26 Feb 2007 05:52:36 +0000 (05:52 +0000)]
Scons: fix installation of language directories

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17353 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agotypos
Jean-Marc Lasgouttes [Sun, 25 Feb 2007 22:18:13 +0000 (22:18 +0000)]
typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17351 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix-up damage done by overeager script in r15422
Lars Gullik Bjønnes [Sun, 25 Feb 2007 21:17:24 +0000 (21:17 +0000)]
Fix-up damage done by overeager script in r15422

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17348 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * lyx_cb.C (insertPlaintextFile): delete selection before insertion
Jean-Marc Lasgouttes [Sun, 25 Feb 2007 20:16:45 +0000 (20:16 +0000)]
* lyx_cb.C (insertPlaintextFile): delete selection before insertion
and handle undo correctly (bug 3204)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17345 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * GuiView.C (updateTab): do not update early if current tab has
Jean-Marc Lasgouttes [Sun, 25 Feb 2007 19:42:48 +0000 (19:42 +0000)]
* GuiView.C (updateTab): do not update early if current tab has
changed (bug 3254)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17344 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMove translated files to their own directory
Jean-Marc Lasgouttes [Sun, 25 Feb 2007 18:12:03 +0000 (18:12 +0000)]
Move translated files to their own directory

What I did:

* move xx_foo.ext to xx/foo.ext

* update Makefile.am to make install work

* minimally update scons_manifest.py (I'd be surprised to see it
  work).

* update i18nLibFileSearch to use the new naming scheme, and keep
  temporarily some code that checks the old method.

* update image paths in .lyx files

* update name of files (examples in tutorial, for ex.) in lyx files

What is definitely broken:

* cmake (did not touch it)

* TOC files (I am not sure how the code works)

I would be surprised if nothing else was wrong.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17343 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3080
Jean-Marc Lasgouttes [Sun, 25 Feb 2007 13:20:29 +0000 (13:20 +0000)]
Fix bug 3080
* src/paragraph.C (adjust_row_column): renamed from adjust_column_count;
add texrow argument and adjust row as needed.
        (startTeXParParams, endTeXParParams, simpleTeXOnePar): adjust to above
changes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17342 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate Hebrew translation
Jean-Marc Lasgouttes [Sun, 25 Feb 2007 11:33:29 +0000 (11:33 +0000)]
update Hebrew translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17340 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agowhen running msgfmt (from the gettext package), perform all checks and output statistics
Michael Schmitt [Sun, 25 Feb 2007 09:44:32 +0000 (09:44 +0000)]
when running msgfmt (from the gettext package), perform all checks and output statistics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17339 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomove plaintext() implementation to MathMacroTemplate.C;
Michael Schmitt [Sun, 25 Feb 2007 09:27:11 +0000 (09:27 +0000)]
move plaintext() implementation to MathMacroTemplate.C;
support localization

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17338 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/support/filetools.C
Georg Baum [Sun, 25 Feb 2007 09:00:28 +0000 (09:00 +0000)]
* src/support/filetools.C
(makeLatexName): Exclude ", otherwise we would trigger the same
problem of unbalanced quotes as in bug 3266

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17336 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3233
Enrico Forestieri [Sat, 24 Feb 2007 23:58:16 +0000 (23:58 +0000)]
Fix bug 3233

* src/TextMetrics.C
(TextMetrics::setHeightOfRow): correctly account for sectioning
environments in order to add the topsep space before them.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17335 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoCorrect the name of Portuguese and Brazilian variants of Portuguese language, fix...
José Matox [Sat, 24 Feb 2007 23:43:18 +0000 (23:43 +0000)]
Correct the name of Portuguese and Brazilian variants of Portuguese language, fix bug 1627

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17334 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdated dependency package
Joost Verburg [Sat, 24 Feb 2007 23:10:46 +0000 (23:10 +0000)]
updated dependency package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17333 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomake the code to avoid multiple warnings actually work
Jean-Marc Lasgouttes [Sat, 24 Feb 2007 22:54:19 +0000 (22:54 +0000)]
make the code to avoid multiple warnings actually work

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17332 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 3266
Georg Baum [Sat, 24 Feb 2007 20:51:05 +0000 (20:51 +0000)]
Fix bug 3266

* src/support/filetools.C
(makeLatexName): Don't set the 8th bit of characters to 0.
This is not needed anymore, since we don't use isalpha() anymore,
but a whitelist of allowed characters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17331 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoconvert to utf8
Georg Baum [Sat, 24 Feb 2007 19:42:28 +0000 (19:42 +0000)]
convert to utf8

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17330 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate man page for 1.5 (part of bug 2694)
Jean-Marc Lasgouttes [Sat, 24 Feb 2007 18:01:53 +0000 (18:01 +0000)]
update man page for 1.5 (part of bug 2694)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17329 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unused includes
Georg Baum [Sat, 24 Feb 2007 18:00:42 +0000 (18:00 +0000)]
remove unused includes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17328 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomove plaintext output of math macros where it belongs
Georg Baum [Sat, 24 Feb 2007 18:00:13 +0000 (18:00 +0000)]
move plaintext output of math macros where it belongs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17327 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix copy/paste error
Georg Baum [Sat, 24 Feb 2007 17:52:26 +0000 (17:52 +0000)]
fix copy/paste error

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17326 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix compiler warnings about unused parameters
Georg Baum [Sat, 24 Feb 2007 17:18:13 +0000 (17:18 +0000)]
fix compiler warnings about unused parameters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17325 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * po/*.po: remerge
Michael Schmitt [Sat, 24 Feb 2007 17:13:47 +0000 (17:13 +0000)]
* po/*.po: remerge

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17324 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/insets/insetbox.C: plaintext(): add missing \n
Michael Schmitt [Sat, 24 Feb 2007 15:54:11 +0000 (15:54 +0000)]
* src/insets/insetbox.C: plaintext(): add missing \n

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17323 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * README.po-files: rename file for the unexperienced translator
Michael Schmitt [Sat, 24 Feb 2007 15:34:41 +0000 (15:34 +0000)]
* README.po-files: rename file for the unexperienced translator

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17322 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * README.po-files: reformat file, fix spelling
Michael Schmitt [Sat, 24 Feb 2007 15:32:12 +0000 (15:32 +0000)]
* README.po-files: reformat file, fix spelling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17321 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * README.po-files: add a few more words
Michael Schmitt [Sat, 24 Feb 2007 15:24:08 +0000 (15:24 +0000)]
* README.po-files: add a few more words

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17320 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/mathed/InsetMath.C: plaintext(): assert that this
Michael Schmitt [Sat, 24 Feb 2007 15:06:04 +0000 (15:06 +0000)]
* src/mathed/InsetMath.C: plaintext(): assert that this
method is never invoked (and tell why)
* src/mathed/InsetMathFormulaMacro.C:
* src/mathed/InsetMathHull.C: plaintext(): fix return value
(= number of output characters)
* src/mathed/InsetMathFormulaMacro.h
* src/mathed/InsetMathHull.h: WS changes
* src/mathed/InsetMathDim.C: implement plaintext() for math macros
and add a FIXME that this code shouldn't needed!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17319 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoreadme.po-files: updates by Pavel Sanda
Uwe Stöhr [Sat, 24 Feb 2007 14:55:19 +0000 (14:55 +0000)]
readme.po-files: updates by Pavel Sanda

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17318 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * insets/*.C: constify docstring in plaintext()
Michael Schmitt [Sat, 24 Feb 2007 14:35:38 +0000 (14:35 +0000)]
* insets/*.C: constify docstring in plaintext()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17317 a592a061-630c-0410-9148-cb99ea01b6c8