]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agocomment out debug statement.
Abdelrazak Younes [Wed, 3 Jan 2007 07:28:45 +0000 (07:28 +0000)]
comment out debug statement.

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

17 years agoScons: create libs directory for res file
Bo Peng [Wed, 3 Jan 2007 04:57:55 +0000 (04:57 +0000)]
Scons: create libs directory for res file

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

17 years agoImplement more detailed iconv error messages for better tracking of bugs
Georg Baum [Tue, 2 Jan 2007 20:57:34 +0000 (20:57 +0000)]
Implement more detailed iconv error messages for better tracking of bugs
like 3043
* src/support/docstream.C
(iconv_codecvt_facet::do_out): Output the to be converted string and
the partially converted result in hex notation if an error occurs
(iconv_codecvt_facet::do_in): ditto
(iconv_codecvt_facet::do_iconv): remove now obsolete error message

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

17 years ago * src/support/unicode.C
Georg Baum [Tue, 2 Jan 2007 20:44:06 +0000 (20:44 +0000)]
* src/support/unicode.C
(IconvProcessor::convert): Fix hex output of bytes on systems where
char is signed

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

17 years agoFix bug 3052: Always start a new paragraph after a noweb code chunk
Georg Baum [Tue, 2 Jan 2007 12:35:53 +0000 (12:35 +0000)]
Fix bug 3052: Always start a new paragraph after a noweb code chunk

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

17 years agomerge identical code from if/else branches to a single line
Georg Baum [Tue, 2 Jan 2007 12:27:26 +0000 (12:27 +0000)]
merge identical code from if/else branches to a single line

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

17 years agoadd some assertions.
Abdelrazak Younes [Tue, 2 Jan 2007 10:36:34 +0000 (10:36 +0000)]
add some assertions.

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

17 years agoScons: allow use of different icons for lyx and tex2lyx
Bo Peng [Tue, 2 Jan 2007 06:13:53 +0000 (06:13 +0000)]
Scons: allow use of different icons for lyx and tex2lyx

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

17 years agoScons: fix a typo
Bo Peng [Tue, 2 Jan 2007 05:22:20 +0000 (05:22 +0000)]
Scons: fix a typo

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

17 years agoScons: create an .rc file and link lyx.exe etc with .res to set icon
Bo Peng [Tue, 2 Jan 2007 05:21:08 +0000 (05:21 +0000)]
Scons: create an .rc file and link lyx.exe etc with .res to set icon

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

17 years agoStatus.15x: mark a bug as fixed
Bo Peng [Mon, 1 Jan 2007 17:36:31 +0000 (17:36 +0000)]
Status.15x: mark a bug as fixed

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

17 years agoFix cursor navigation with UP arrows. I don't know why this return was not there...
Abdelrazak Younes [Mon, 1 Jan 2007 16:00:27 +0000 (16:00 +0000)]
Fix cursor navigation with UP arrows. I don't know why this return was not there at the first place.

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

17 years agofix lyx2lyx conversion of multiple encoding files
Georg Baum [Mon, 1 Jan 2007 12:12:07 +0000 (12:12 +0000)]
fix lyx2lyx conversion of multiple encoding files

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

17 years agoTransfer x2pos() and pos2x from LyXText to TextMetrics.
Abdelrazak Younes [Mon, 1 Jan 2007 11:36:30 +0000 (11:36 +0000)]
Transfer x2pos() and pos2x from LyXText to TextMetrics.

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

17 years agodelete unused variable.
Abdelrazak Younes [Mon, 1 Jan 2007 10:53:10 +0000 (10:53 +0000)]
delete unused variable.

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

17 years agoCompilation fix, again... sorry.
Abdelrazak Younes [Mon, 1 Jan 2007 10:44:52 +0000 (10:44 +0000)]
Compilation fix, again... sorry.

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

17 years agoCompilation fix.
Abdelrazak Younes [Mon, 1 Jan 2007 10:41:28 +0000 (10:41 +0000)]
Compilation fix.

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

17 years agoTransfer getColumnNearX from LyXText to TextMetrics.
Abdelrazak Younes [Mon, 1 Jan 2007 10:33:37 +0000 (10:33 +0000)]
Transfer getColumnNearX from LyXText to TextMetrics.

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

17 years agoFollowing depm sanitization, the assertion was bogus when entering an inset.
Abdelrazak Younes [Mon, 1 Jan 2007 09:59:11 +0000 (09:59 +0000)]
Following depm sanitization, the assertion was bogus when entering an inset.

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

17 years agoRecommit Peter's commit from rev 16444. svn commit did not complain...
Abdelrazak Younes [Mon, 1 Jan 2007 09:46:12 +0000 (09:46 +0000)]
Recommit Peter's commit from rev 16444. svn commit did not complain...

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

17 years agoTransfer these methods from LyXText to TextMetrics:
Abdelrazak Younes [Mon, 1 Jan 2007 09:36:55 +0000 (09:36 +0000)]
Transfer these methods from LyXText to TextMetrics:
- labelEnd()
- rowBreakPoint()
- setRowWidth()
- setHeightOfRow()

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

17 years agoFix crash when scrolling up using the arrow keys.
Abdelrazak Younes [Mon, 1 Jan 2007 09:31:43 +0000 (09:31 +0000)]
Fix crash when scrolling up using the arrow keys.

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

17 years agoupdate
Abdelrazak Younes [Sun, 31 Dec 2006 15:41:06 +0000 (15:41 +0000)]
update

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

17 years agofix: The items in the treeview are editable, invoke ert-insert => seg fault
Peter Kümmel [Sat, 30 Dec 2006 21:53:00 +0000 (21:53 +0000)]
fix: The items in the treeview are editable, invoke ert-insert => seg fault

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

17 years agodisable editing in the toc dialog
Peter Kümmel [Sat, 30 Dec 2006 21:51:05 +0000 (21:51 +0000)]
disable editing in the toc dialog

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

17 years agoremove some msvc warnings
Peter Kümmel [Sat, 30 Dec 2006 21:05:44 +0000 (21:05 +0000)]
remove some msvc warnings
* src/mathed/InsetMathNest.C :
unreachable code
* src/aspell_local.h :
aspell is a Clibrary, no class keyword available
* src/texrow.h :
could not generate standard constructor
* development/cmake/CMakeLists.txt :
- disable same warnings
    - all size_t/int related warnings are disabled

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

17 years agomake out-of-bound access impossible
Peter Kümmel [Sat, 30 Dec 2006 18:24:25 +0000 (18:24 +0000)]
make out-of-bound access impossible

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

17 years agodelete unused variables.
Abdelrazak Younes [Sat, 30 Dec 2006 15:53:19 +0000 (15:53 +0000)]
delete unused variables.

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

17 years agoSanitize the DEPM!
Abdelrazak Younes [Sat, 30 Dec 2006 15:05:15 +0000 (15:05 +0000)]
Sanitize the DEPM!

* BufferView:
  - checkDepm(): new method for DEPM mechanism.
  - mouseSetCursor(): use checkDepm().

* text2.C:
  - use BufferView::checkDepm() instead of using LyXText::deleteEmptyParagraphMechanism() directly.
  - deleteEmptyParagraphMechanism(): prepare for conversion to DocIterator (code transferred to BufferView::checkDepm()).

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

17 years agoadd more lyxerr output, don't use a reference (maybe stdlib-debug has problems with it)
Peter Kümmel [Sat, 30 Dec 2006 14:50:45 +0000 (14:50 +0000)]
add more lyxerr output, don't use a reference (maybe stdlib-debug has problems with it)

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

17 years agoalso warnings as errors with /W3
Peter Kümmel [Sat, 30 Dec 2006 13:53:34 +0000 (13:53 +0000)]
also warnings as errors with /W3

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

17 years agoremove unused vars
Edwin Leuven [Sat, 30 Dec 2006 12:39:41 +0000 (12:39 +0000)]
remove unused vars

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

17 years agoremove duplicate methods moved to TextMetrics.C.
Abdelrazak Younes [Sat, 30 Dec 2006 11:50:39 +0000 (11:50 +0000)]
remove duplicate methods moved to TextMetrics.C.

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

17 years agowe've never used Q_FOREACH
Peter Kümmel [Sat, 30 Dec 2006 10:35:17 +0000 (10:35 +0000)]
we've never used Q_FOREACH

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

17 years agoundo last acedential checkin
Peter Kümmel [Sat, 30 Dec 2006 10:30:02 +0000 (10:30 +0000)]
undo last acedential checkin

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

17 years agowe've never used Q_FOREACH
Peter Kümmel [Sat, 30 Dec 2006 10:23:06 +0000 (10:23 +0000)]
we've never used Q_FOREACH

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

17 years agodelete unused stuff.
Abdelrazak Younes [Sat, 30 Dec 2006 00:00:19 +0000 (00:00 +0000)]
delete unused stuff.

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

17 years agoThis commit do the Model/View separation of the LyXText and Paragraph classes. The...
Abdelrazak Younes [Fri, 29 Dec 2006 23:54:48 +0000 (23:54 +0000)]
This commit do the Model/View separation of the LyXText and Paragraph classes. The separation is mostly complete for the Paragraph class but some more transfer should occur for the LyXText class.

* ParagraphMetrics.[Ch]: new files

* TextMetrics.[Ch]: new files.

* lyxtext.h/text2.C/text3.C: some code transferred to the TextMetrics class.

* paragraph.[Ch]: all screen oriented code transfered to ParagraphMetrics class.

* BufferView:
 - text_metrics_: new TextMetrics cache private member.
 - textMetrics(): new access method.
 - parMetrics(): ditto.

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

17 years ago * cursor.C (popRight): place cursor at the right spot:
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 14:17:48 +0000 (14:17 +0000)]
* cursor.C (popRight): place cursor at the right spot:
notifyCursorLeaves may have killed the inset and put its contents
at lower level (bug 2908)

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

17 years agoNew textclass
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 13:40:50 +0000 (13:40 +0000)]
New textclass

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

17 years agoChange default encoding of arabic to cp1256 because iso8859-6 is incomplete
Georg Baum [Fri, 29 Dec 2006 13:17:48 +0000 (13:17 +0000)]
Change default encoding of arabic to cp1256 because iso8859-6 is incomplete

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

17 years ago * insetcollapsable.C (hasFixedWidth): new virtual method, returns
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 11:52:01 +0000 (11:52 +0000)]
* 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

17 years ago * InsetMathNest.C (handleFont): avoid crash on undo when
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 11:07:23 +0000 (11:07 +0000)]
* 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

17 years agoFix description of LabelCounter
Jean-Marc Lasgouttes [Fri, 29 Dec 2006 10:22:16 +0000 (10:22 +0000)]
Fix description of LabelCounter

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

17 years agoFix LaTeX generation of files with inputenc == default.
Georg Baum [Fri, 29 Dec 2006 09:24:18 +0000 (09:24 +0000)]
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

17 years agoadd missing encoding declaration
Georg Baum [Thu, 28 Dec 2006 18:47:13 +0000 (18:47 +0000)]
add missing encoding declaration

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

17 years ago* Status.15x: remove invalid bug report (my MikTeX environment was broken)
Michael Schmitt [Thu, 28 Dec 2006 18:20:26 +0000 (18:20 +0000)]
* 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

17 years agoAdd some more LaTeX encodings, fix thailatex and display all available
Georg Baum [Thu, 28 Dec 2006 18:15:25 +0000 (18:15 +0000)]
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

17 years agoAdd LyX 1.4.x format for export
Georg Baum [Thu, 28 Dec 2006 16:23:12 +0000 (16:23 +0000)]
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

17 years agofix comments
Georg Baum [Thu, 28 Dec 2006 16:19:22 +0000 (16:19 +0000)]
fix comments

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

17 years ago* lib/configure.py: fix typos ("Declear" => "Declare")
Michael Schmitt [Thu, 28 Dec 2006 15:30:12 +0000 (15:30 +0000)]
* lib/configure.py: fix typos ("Declear" => "Declare")

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

17 years agofix typo
Georg Baum [Thu, 28 Dec 2006 12:05:40 +0000 (12:05 +0000)]
fix typo

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

17 years agoremove obsolete comment
Georg Baum [Thu, 28 Dec 2006 12:01:27 +0000 (12:01 +0000)]
remove obsolete comment

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

17 years agoremove useless in_ert variable
Georg Baum [Thu, 28 Dec 2006 10:24:45 +0000 (10:24 +0000)]
remove useless in_ert variable

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

17 years ago * src/support/unicode.C
Georg Baum [Thu, 28 Dec 2006 07:35:57 +0000 (07:35 +0000)]
* 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

17 years ago* Status.15x: clarify status of the charstyle dialog resizing bug.
Jürgen Spitzmüller [Thu, 28 Dec 2006 06:21:03 +0000 (06:21 +0000)]
* 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

17 years agoFix a crash caused by cur.text() != this for collapsable insets
Bo Peng [Thu, 28 Dec 2006 03:00:48 +0000 (03:00 +0000)]
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

17 years ago* Status.15x: "reopen" dialog resize bug
Michael Schmitt [Wed, 27 Dec 2006 23:11:46 +0000 (23:11 +0000)]
* Status.15x: "reopen" dialog resize bug

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

17 years ago* src/mathed/InsetMathNest.C (do_dispatch):
Jürgen Spitzmüller [Wed, 27 Dec 2006 15:01:09 +0000 (15:01 +0000)]
* 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

17 years agoadd new galician file
Georg Baum [Wed, 27 Dec 2006 11:59:56 +0000 (11:59 +0000)]
add new galician file

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

17 years agoFix strange bibtex problem by converting some more functions to use FileName
Georg Baum [Wed, 27 Dec 2006 10:56:11 +0000 (10:56 +0000)]
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

17 years agonew Galician tutorial; updated Intro
Jean-Marc Lasgouttes [Wed, 27 Dec 2006 10:37:03 +0000 (10:37 +0000)]
new Galician tutorial; updated Intro

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

17 years agoremove unused stuff
Georg Baum [Wed, 27 Dec 2006 08:40:40 +0000 (08:40 +0000)]
remove unused stuff

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

17 years agoChristmas present for Gregor Gorjanc
Enrico Forestieri [Sun, 24 Dec 2006 19:23:33 +0000 (19:23 +0000)]
Christmas present for Gregor Gorjanc

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

17 years agoupdate.
Abdelrazak Younes [Sun, 24 Dec 2006 18:17:44 +0000 (18:17 +0000)]
update.

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

17 years agoFix focus problems.
Abdelrazak Younes [Sun, 24 Dec 2006 18:16:25 +0000 (18:16 +0000)]
Fix focus problems.

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

17 years agoReally fix focus problem on new view.
Abdelrazak Younes [Sun, 24 Dec 2006 17:11:32 +0000 (17:11 +0000)]
Really fix focus problem on new view.

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

17 years ago* src/frontends/qt4/QCharacter.C:
Jürgen Spitzmüller [Sun, 24 Dec 2006 11:38:19 +0000 (11:38 +0000)]
* 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

17 years agoStatus.15x: record a repeatable case of the famous text() == this assertion crash.
Bo Peng [Sun, 24 Dec 2006 02:20:33 +0000 (02:20 +0000)]
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

17 years agoalso work with Joost's windows file bundle (qmake gives the non-portabale path of...
Peter Kümmel [Sat, 23 Dec 2006 21:47:06 +0000 (21:47 +0000)]
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

17 years agodon't show all warnings by default, use TOP_SRC_DIR value from LyXPaths.cmake
Peter Kümmel [Sat, 23 Dec 2006 21:30:17 +0000 (21:30 +0000)]
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

17 years agoFix focus on WorkArea after mini-buffer command.
Abdelrazak Younes [Sat, 23 Dec 2006 17:09:50 +0000 (17:09 +0000)]
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

17 years ago* Status.15x: another showstopper for people using bibtex bibliographies
Michael Schmitt [Sat, 23 Dec 2006 12:48:23 +0000 (12:48 +0000)]
* 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

17 years ago* Status.15x: more bug reports
Michael Schmitt [Sat, 23 Dec 2006 12:26:20 +0000 (12:26 +0000)]
* Status.15x: more bug reports

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

17 years ago* Status.15x: add Jürgen's bug report
Michael Schmitt [Sat, 23 Dec 2006 12:14:34 +0000 (12:14 +0000)]
* 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

17 years ago* scons/SConstruct: fix manifest on Windows
Michael Schmitt [Sat, 23 Dec 2006 09:09:10 +0000 (09:09 +0000)]
* scons/SConstruct: fix manifest on Windows

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

17 years agoFix Tab and Ctrl-Tab keys handling and focus problems related to it.
Abdelrazak Younes [Fri, 22 Dec 2006 16:13:19 +0000 (16:13 +0000)]
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

17 years agoTOP_SRCDIR is needed, but LOCALEDIR and LYX_DIR refer to
Abdelrazak Younes [Fri, 22 Dec 2006 12:41:25 +0000 (12:41 +0000)]
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

17 years agofix encoding of user name and email address
Georg Baum [Fri, 22 Dec 2006 10:26:52 +0000 (10:26 +0000)]
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

17 years ago * src/LColor.[Ch]
Georg Baum [Fri, 22 Dec 2006 10:23:25 +0000 (10:23 +0000)]
* 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

17 years agoconvert more GUI strings to docstring
Georg Baum [Fri, 22 Dec 2006 10:06:40 +0000 (10:06 +0000)]
convert more GUI strings to docstring

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

17 years agoget rid of more utf8 conversions
Georg Baum [Fri, 22 Dec 2006 09:23:10 +0000 (09:23 +0000)]
get rid of more utf8 conversions

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

17 years agoFix "virtual function called" error, by Abdel
Bo Peng [Fri, 22 Dec 2006 02:57:25 +0000 (02:57 +0000)]
Fix "virtual function called" error, by Abdel

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

17 years agoFix display of the style name in the BibTeX Bibliography panel
Enrico Forestieri [Fri, 22 Dec 2006 01:12:43 +0000 (01:12 +0000)]
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

17 years agoavoids updates on
Edwin Leuven [Thu, 21 Dec 2006 21:27:04 +0000 (21:27 +0000)]
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

17 years agoget rid of more utf8 conversions
Georg Baum [Thu, 21 Dec 2006 20:52:59 +0000 (20:52 +0000)]
get rid of more utf8 conversions

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

17 years agoUse the standard mouse pointer shape when displaying an alert dialog
Enrico Forestieri [Thu, 21 Dec 2006 20:29:15 +0000 (20:29 +0000)]
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

17 years agoremove unneeded conversions
Georg Baum [Thu, 21 Dec 2006 19:02:17 +0000 (19:02 +0000)]
remove unneeded conversions

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

17 years ago * po/de.po: minor update
Michael Schmitt [Thu, 21 Dec 2006 18:57:04 +0000 (18:57 +0000)]
* po/de.po: minor update

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

17 years ago * po/*.po: remerge
Michael Schmitt [Thu, 21 Dec 2006 18:36:48 +0000 (18:36 +0000)]
* po/*.po: remerge

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

17 years agoScons: do not subst %var%, as I am told that they are changed to @var@
Bo Peng [Thu, 21 Dec 2006 15:21:30 +0000 (15:21 +0000)]
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

17 years ago* ctor: change viewport attribute (disable double-buffering).
Abdelrazak Younes [Thu, 21 Dec 2006 14:50:46 +0000 (14:50 +0000)]
* ctor: change viewport attribute (disable double-buffering).
* focusInEvent(): start the blinking cursor after the resize.

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

17 years agoconvert LyXFont::stateText and LColor::getGUIName to docstring,
Georg Baum [Thu, 21 Dec 2006 14:31:19 +0000 (14:31 +0000)]
convert LyXFont::stateText and LColor::getGUIName to docstring,
saving again some utf8 conversions

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

17 years agoPROGRAM_SUFFIX represents a possible version suffix, better let it empty for now...
Abdelrazak Younes [Thu, 21 Dec 2006 14:07:33 +0000 (14:07 +0000)]
PROGRAM_SUFFIX represents a possible version suffix, better let it empty for now. Georg explication of how autotools handle that:

configure --with-version-suffix=-1.5

results in a PROGRAM_SUFFIX of "-1.5". This is important for the name of
the personal LyX dir, and the name of the executables if you want to
install several LyX versions in parallel without interference.

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

17 years agoconvert author names and status messages to docstring
Georg Baum [Thu, 21 Dec 2006 13:58:28 +0000 (13:58 +0000)]
convert author names and status messages to docstring

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

17 years agoFix another instance of filename encoding problems
Georg Baum [Thu, 21 Dec 2006 13:01:47 +0000 (13:01 +0000)]
Fix another instance of filename encoding problems

* src/support/filetools.h
(fileSearch): change return value type to vector<FileName>

* src/support/filetools.C
(dirList): Convert filenames from the file system encoding

* src/converter.C
(Converters::move): Adjust to dirList interface change

* src/support/filename.[Ch]
(FileName::fromFilesystemEncoding): New static method

* src/client/client.C: Add comments about filename encoding

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

17 years agoFix two filename bugs (from Enrico and me)
Georg Baum [Thu, 21 Dec 2006 12:04:01 +0000 (12:04 +0000)]
Fix two filename bugs (from Enrico and me)

* src/support/filetools.[Ch]
(fileOpenSearch): comment out since it is unused
(fileSearch): Use addExtension instead of changeExtension, since we
are always called without extesnion, or with the correct one.
(addExtension): new function

* src/lyx_main.C
(LyX::init): tell fileSearch that we are also interested in the name
if the file does not exist

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

17 years agoFix this error message on startup:
Abdelrazak Younes [Thu, 21 Dec 2006 12:01:35 +0000 (12:01 +0000)]
Fix this error message on startup:

QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::end: Painter not active, aborted

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

17 years agoadd compiler warning
Georg Baum [Thu, 21 Dec 2006 11:56:07 +0000 (11:56 +0000)]
add compiler warning

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

17 years ago * src/converter.C
Georg Baum [Thu, 21 Dec 2006 11:46:13 +0000 (11:46 +0000)]
* src/converter.C
(Converters::move): Use removeExtension and reuse variable 'path'

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