]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agoScons cleanup 1: use BUIlDDIR/src instead of BUILDDIR/common
Bo Peng [Mon, 27 Aug 2007 02:49:14 +0000 (02:49 +0000)]
Scons cleanup 1: use BUIlDDIR/src instead of BUILDDIR/common

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

16 years agoExtended.lyx: remove the sections about glossaries and indices as they are now (more...
Uwe Stöhr [Sun, 26 Aug 2007 20:41:00 +0000 (20:41 +0000)]
Extended.lyx: remove the sections about glossaries and indices as they are now (more complete and revised) in the UserGuide.

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

16 years agoMove background colour into the layout files -- for all collapsables
Martin Vermeer [Sun, 26 Aug 2007 20:32:58 +0000 (20:32 +0000)]
Move background colour into the layout files -- for all collapsables

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

16 years agoMakefile.am: whitespace
Uwe Stöhr [Sun, 26 Aug 2007 20:21:56 +0000 (20:21 +0000)]
Makefile.am: whitespace

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

16 years agoEmbeddedObjects manual: - it seems that the package "colortbl" is not standard on...
Uwe Stöhr [Sun, 26 Aug 2007 19:35:06 +0000 (19:35 +0000)]
EmbeddedObjects manual: - it seems that the package "colortbl" is not standard on all systems, so treat it like the packages arydshln and marginnote in the document
                        - set correct language for the dummy documents
                        - small tweaks for the German version

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

16 years agomore translations
Martin Vermeer [Sun, 26 Aug 2007 15:10:01 +0000 (15:10 +0000)]
more translations

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

16 years agotranslations
Martin Vermeer [Sun, 26 Aug 2007 15:02:54 +0000 (15:02 +0000)]
translations

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

16 years agoUpdated versions to 5; added stdinsets.inc where I felt confident
Martin Vermeer [Sun, 26 Aug 2007 09:10:52 +0000 (09:10 +0000)]
Updated versions to 5; added stdinsets.inc where I felt confident

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

16 years agofix cmake build for tex2lyx
Peter Kümmel [Sun, 26 Aug 2007 08:51:47 +0000 (08:51 +0000)]
fix cmake build for tex2lyx

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

16 years agofixed some classes to include inset defs, updated some version nrs
Martin Vermeer [Sun, 26 Aug 2007 08:33:03 +0000 (08:33 +0000)]
fixed some classes to include inset defs, updated some version nrs

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

16 years agoSet up decoration handling for all collapsable insets
Martin Vermeer [Sat, 25 Aug 2007 20:12:50 +0000 (20:12 +0000)]
Set up decoration handling for all collapsable insets

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

16 years agoinstaller: fix the installation of JabRef
Uwe Stöhr [Sat, 25 Aug 2007 19:56:18 +0000 (19:56 +0000)]
installer: fix the installation of JabRef

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

16 years agoDecoration added
Martin Vermeer [Sat, 25 Aug 2007 18:41:58 +0000 (18:41 +0000)]
Decoration added

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

16 years agoClean-up in CharStyles, externalize detection of undefined styles to
Martin Vermeer [Sat, 25 Aug 2007 14:43:59 +0000 (14:43 +0000)]
Clean-up in CharStyles, externalize detection of undefined styles to
layout files

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

16 years agoremove unused variable
Alfredo Braunstein [Sat, 25 Aug 2007 12:38:54 +0000 (12:38 +0000)]
remove unused variable

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

16 years agoOne more changeover charstyle -> insetlayout
Martin Vermeer [Sat, 25 Aug 2007 12:18:23 +0000 (12:18 +0000)]
One more changeover charstyle -> insetlayout

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

16 years agoMake Richard happy, add inset layout parm 'Decoration'
Martin Vermeer [Sat, 25 Aug 2007 09:57:32 +0000 (09:57 +0000)]
Make Richard happy, add inset layout parm 'Decoration'

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

16 years agoMake const
Martin Vermeer [Sat, 25 Aug 2007 07:53:35 +0000 (07:53 +0000)]
Make const

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

16 years agosmall move-over charstyle -> insetlayout
Martin Vermeer [Sat, 25 Aug 2007 07:46:42 +0000 (07:46 +0000)]
small move-over charstyle -> insetlayout

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

16 years agodisable painting updates when adding/removing a workArea. This fixes these spurious...
Abdelrazak Younes [Fri, 24 Aug 2007 22:15:20 +0000 (22:15 +0000)]
disable painting updates when adding/removing a workArea. This fixes these spurious messages with Qt4.1:

When opening another document, the following is printed to the console:

QWidget::repaint: recursive repaint detected.
QPixmap::operator=: Cannot assign to pixmap during painting
Painter must be active to set rendering hints
[repeated many times here]
Painter must be active to set rendering hints
QPainter::end: Painter is not active, aborted
QPixmap::operator=: Cannot assign to pixmap during painting
QPixmap::operator=: Cannot assign to pixmap during painting
currentTabChanged 1File/c/work/file2.lyx

and, when closing LyX:

QPixmap::operator=: Cannot assign to pixmap during painting
QPaintDevice: Cannot destroy paint device that is being painted.  Be sure to QPainter::end() painters!

I suspect that solving these issues might also solve the missing close
tab button problem.

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

16 years agoCompile all minizip sources also on *nix platforms, as platform
Enrico Forestieri [Fri, 24 Aug 2007 18:02:14 +0000 (18:02 +0000)]
Compile all minizip sources also on *nix platforms, as platform
specific code is #ifdef'd out.

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

16 years agoRemove unused std::time in src/DepTable.cpp
Bo Peng [Fri, 24 Aug 2007 17:09:28 +0000 (17:09 +0000)]
Remove unused std::time in src/DepTable.cpp

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

16 years agoOops -- thanks Richard
Martin Vermeer [Fri, 24 Aug 2007 15:15:38 +0000 (15:15 +0000)]
Oops -- thanks Richard

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

16 years agoOops -- cut off wrong part of label
Martin Vermeer [Fri, 24 Aug 2007 14:42:41 +0000 (14:42 +0000)]
Oops -- cut off wrong part of label

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

16 years agoInset configurability: separate charstyle and custom insets
Martin Vermeer [Fri, 24 Aug 2007 12:45:40 +0000 (12:45 +0000)]
Inset configurability: separate charstyle and custom insets

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

16 years agoLyXView::loadLyXFile(): only add a new work area if the file is not already loaded.
Abdelrazak Younes [Fri, 24 Aug 2007 07:19:40 +0000 (07:19 +0000)]
LyXView::loadLyXFile(): only add a new work area if the file is not already loaded.

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

16 years agoTransfer command buffer handling to QLToolbar.
Abdelrazak Younes [Fri, 24 Aug 2007 07:13:07 +0000 (07:13 +0000)]
Transfer command buffer handling to QLToolbar.

* Toolbar::focusCommandBuffer(): new pure virtual method.
* Toolbars::display(): now return the address of the found toolbar.
* GuiView: get rid of command_buffer_, transferred to QLToolbar.
* QCommandBuffer: replace focus_command with setFocusProxy on edit_;

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

16 years ago* BufferView::workAreaResize(): renamed to resize.
Abdelrazak Younes [Fri, 24 Aug 2007 07:05:19 +0000 (07:05 +0000)]
* BufferView::workAreaResize(): renamed to resize.

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

16 years agoFix recursive painting with Qt4.1 and add a comment.
Abdelrazak Younes [Fri, 24 Aug 2007 06:59:11 +0000 (06:59 +0000)]
Fix recursive painting with Qt4.1 and add a comment.

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

16 years agoFix quoting of tested strings
Enrico Forestieri [Thu, 23 Aug 2007 22:18:40 +0000 (22:18 +0000)]
Fix quoting of tested strings

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

16 years agomove forwardIdx to CursorSlice from DocIterator, as it was the only one able to trave...
Alfredo Braunstein [Thu, 23 Aug 2007 21:35:40 +0000 (21:35 +0000)]
move forwardIdx to CursorSlice from DocIterator, as it was the only one able to travel into an invalid cursor position

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

16 years agodo not check for Standard C++ features anymore.
André Pönitz [Thu, 23 Aug 2007 21:18:53 +0000 (21:18 +0000)]
do not check for Standard C++ features anymore.

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

16 years agoremove fake constness in DocIterator
Alfredo Braunstein [Thu, 23 Aug 2007 21:13:01 +0000 (21:13 +0000)]
remove fake constness in DocIterator

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

16 years agoallow one past-the-end position in CursorSlice, as it eases iteration
Alfredo Braunstein [Thu, 23 Aug 2007 21:00:41 +0000 (21:00 +0000)]
allow one past-the-end position in CursorSlice, as it eases iteration

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

16 years agoremove fake constness in CursorSlice
Alfredo Braunstein [Thu, 23 Aug 2007 20:55:34 +0000 (20:55 +0000)]
remove fake constness in CursorSlice

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

16 years agorename Layout_ptr into LayoutPtr
André Pönitz [Thu, 23 Aug 2007 19:59:07 +0000 (19:59 +0000)]
rename Layout_ptr into LayoutPtr

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

16 years agodo not compiler iowin32.* on Non-Windows
André Pönitz [Thu, 23 Aug 2007 19:01:46 +0000 (19:01 +0000)]
do not compiler iowin32.* on Non-Windows

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

16 years agoThis is one of a series of patches that will merge the layout modules development...
Richard Heck [Thu, 23 Aug 2007 16:41:13 +0000 (16:41 +0000)]
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.

Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This first patch does some reworking of the infrastructrue. We need to distinguish between the TextClass that a particular document is using and the layout of that document, since modules, in particular, can modify the layout. The solution adopted here is to add a TextClass pointer to BufferParams, which will hold the layout. The layout itself is then constructed from the TextClass the document is using. At present, this is completely trivial, but that will change when modules are added.

The pointer in question is a boost::shared_ptr. This is needed because CutAndPaste saves a copy of the layout with each cut or copied selection. We cannot assume the selection vanishes when the document is closed, so there are two options: (i) keep a list of all the layouts that have ever been used by any document; (ii) used some kind of smart pointer. The latter seems preferable, as the former would waste memory. More importantly, the use of a smart pointer allows modules to be modified on disk and then reloaded while LyX is running, and it will eventually allow the same for layout files.

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

16 years agoheader cleanup
Abdelrazak Younes [Thu, 23 Aug 2007 16:31:58 +0000 (16:31 +0000)]
header cleanup

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

16 years agocompilation fix
Alfredo Braunstein [Thu, 23 Aug 2007 14:35:31 +0000 (14:35 +0000)]
compilation fix

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

16 years agoPut LyXView on a diet, step 2: Transfer ControlCommandBuffer handling from LyXView...
Abdelrazak Younes [Thu, 23 Aug 2007 13:20:01 +0000 (13:20 +0000)]
Put LyXView on a diet, step 2: Transfer ControlCommandBuffer handling from LyXView to QCommandBuffer.

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

16 years agosync with rev 19751: delete Menubar.h
Abdelrazak Younes [Thu, 23 Aug 2007 12:55:51 +0000 (12:55 +0000)]
sync with rev 19751: delete Menubar.h

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

16 years agodelete unneeded Menubar virtual interface.
Abdelrazak Younes [Thu, 23 Aug 2007 12:54:35 +0000 (12:54 +0000)]
delete unneeded Menubar virtual interface.

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

16 years agoPut LyXView on a diet, step 2: get rid of menubar direct access from the core. Menuba...
Abdelrazak Younes [Thu, 23 Aug 2007 12:44:21 +0000 (12:44 +0000)]
Put LyXView on a diet, step 2: get rid of menubar direct access from the core. Menubar handling is a frontend thing.

* LyXView:
- getMenubars(): deleted.
- menubar_: transfered to GuiView::private.
- updateMenubar(): deleted, QLMenubar::update() is a void method anyway (to be deleted soon).

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

16 years agoPut LyXView on a diet, step 1: get rid of toolbars direct access from the core. Toolb...
Abdelrazak Younes [Thu, 23 Aug 2007 12:21:47 +0000 (12:21 +0000)]
Put LyXView on a diet, step 1: get rid of toolbars direct access from the core. Toolbar handling is a frontend thing; the goal is to progressively transfer that to the frontend.

* LyXView:
- getToolbars(): deleted.
- toolbars_: now protected. The goal is to transfer that to GuiView.
- openLayoutList(): new method. The core should not know how this list is displayed.
- showMiniBuffer(): new pure virtual method to show the mini-buffer.
- focus_command_buffer: deleted.

* GuiView:
- focus_command_widget(): deleted.
- showMiniBuffer(): implemented.

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

16 years agoDelete include of config.h. This was needed only for the qt3 port.
Abdelrazak Younes [Thu, 23 Aug 2007 08:58:22 +0000 (08:58 +0000)]
Delete include of config.h. This was needed only for the qt3 port.

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

16 years agoHide tab bar if there's only one tab.
Abdelrazak Younes [Thu, 23 Aug 2007 08:56:13 +0000 (08:56 +0000)]
Hide tab bar if there's only one tab.

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

16 years agoallow the use of snapshot version os scons, improve efficiency
Bo Peng [Thu, 23 Aug 2007 03:03:54 +0000 (03:03 +0000)]
allow the use of snapshot version os scons, improve efficiency

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

16 years agomention source of inspiration
André Pönitz [Wed, 22 Aug 2007 23:53:24 +0000 (23:53 +0000)]
mention source of inspiration

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

16 years agoadjust tex2lyx cmake build
André Pönitz [Wed, 22 Aug 2007 23:33:14 +0000 (23:33 +0000)]
adjust tex2lyx cmake build

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

16 years agoadd #include for BOOST_CURRENT_FUNCTION
André Pönitz [Wed, 22 Aug 2007 22:58:31 +0000 (22:58 +0000)]
add #include for BOOST_CURRENT_FUNCTION

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

16 years agowrong slashs...
André Pönitz [Wed, 22 Aug 2007 21:48:06 +0000 (21:48 +0000)]
wrong slashs...

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

16 years agoLINGUAS: add Finnish as now are enough translated messages
Uwe Stöhr [Wed, 22 Aug 2007 20:14:05 +0000 (20:14 +0000)]
LINGUAS: add Finnish as now are enough translated messages

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

16 years agoadd preamble snippets to charstyles
Martin Vermeer [Wed, 22 Aug 2007 18:55:03 +0000 (18:55 +0000)]
add preamble snippets to charstyles

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

16 years agoHebrew Tutorial.lyx: fix old link, fixes bug 4165
Uwe Stöhr [Wed, 22 Aug 2007 18:50:03 +0000 (18:50 +0000)]
Hebrew Tutorial.lyx: fix old link, fixes bug 4165

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

16 years agoForgot this one in an earlier commit.
Richard Heck [Wed, 22 Aug 2007 16:44:11 +0000 (16:44 +0000)]
Forgot this one in an earlier commit.

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

16 years agoadd comments and remove dead code from revision 19721.
Abdelrazak Younes [Wed, 22 Aug 2007 14:44:34 +0000 (14:44 +0000)]
add comments and remove dead code from revision 19721.

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

16 years agobug fix.
Abdelrazak Younes [Wed, 22 Aug 2007 14:38:25 +0000 (14:38 +0000)]
bug fix.

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

16 years agocosmetics: return early whenever possible to reduce indentation.
Abdelrazak Younes [Wed, 22 Aug 2007 14:36:18 +0000 (14:36 +0000)]
cosmetics: return early whenever possible to reduce indentation.

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

16 years agolayout2layout, changeover to version 5
Martin Vermeer [Wed, 22 Aug 2007 14:36:07 +0000 (14:36 +0000)]
layout2layout, changeover to version 5

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

16 years agosimplify BufferView::moveToPosition() use for the external use (in LyXView and LyXFunc).
Abdelrazak Younes [Wed, 22 Aug 2007 14:25:51 +0000 (14:25 +0000)]
simplify BufferView::moveToPosition() use for the external use (in LyXView and LyXFunc).

* BufferView::moveToPosition()
- now only return success boolean
- now schedule a screen centering
- now set the current font to the new position.

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

16 years agoFix bug 3427:
Abdelrazak Younes [Wed, 22 Aug 2007 14:14:52 +0000 (14:14 +0000)]
Fix bug 3427:
http://bugzilla.lyx.org/show_bug.cgi?id=3427

The problem was that offset_ref_ was calculated based on an empty metrics. The solution is delay the calculation up until the next metrics update.

* BufferView:
- center(): now just set the anchor_ref and program a new screen recentering.
- updateOffsetRef(): update the offset_ref_

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

16 years agotransfer cursor position saving (in the session) from ~WorkArea to ~BufferView.
Abdelrazak Younes [Wed, 22 Aug 2007 09:06:13 +0000 (09:06 +0000)]
transfer cursor position saving (in the session) from ~WorkArea to ~BufferView.

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

16 years ago* restore lastfile feature.
Abdelrazak Younes [Wed, 22 Aug 2007 09:04:31 +0000 (09:04 +0000)]
* restore lastfile feature.

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

16 years agoFix crash on first load with mouse wheel: this was because the scrollbar was not...
Abdelrazak Younes [Wed, 22 Aug 2007 08:48:01 +0000 (08:48 +0000)]
Fix crash on first load with mouse wheel: this was because the scrollbar was not updated.

* loadLyXFile::setBuffer(): get rid of a premature optimisation, we make sure that everything is properly drawn in any case.

* GuiView::setCurrentWorkArea(): make sure everything is updated if we don't change tab.

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

16 years agoFix crash when session is empty.
Abdelrazak Younes [Wed, 22 Aug 2007 08:34:48 +0000 (08:34 +0000)]
Fix crash when session is empty.

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

16 years agorevert 19714, this is not the right fix. LyXView::loadLyXFile() is not about displayi...
Abdelrazak Younes [Wed, 22 Aug 2007 08:22:32 +0000 (08:22 +0000)]
revert 19714, this is not the right fix. LyXView::loadLyXFile() is not about displaying a buffer.

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

16 years agoFix crash on first load with mouse wheel: this was because the scrollbar was not...
Abdelrazak Younes [Wed, 22 Aug 2007 07:51:39 +0000 (07:51 +0000)]
Fix crash on first load with mouse wheel: this was because the scrollbar was not updated. The solution is just to force a redraw in LyXView::loadLyXFile().

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

16 years agoCompile fix for mingw
Enrico Forestieri [Wed, 22 Aug 2007 04:52:40 +0000 (04:52 +0000)]
Compile fix for mingw

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

16 years agosimplify build process of tex2lyx
André Pönitz [Tue, 21 Aug 2007 23:17:37 +0000 (23:17 +0000)]
simplify build process of tex2lyx

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

16 years ago"proper" fix for utime use in filetools.cpp
André Pönitz [Tue, 21 Aug 2007 23:16:49 +0000 (23:16 +0000)]
"proper" fix for utime use in filetools.cpp

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

16 years agocompile fix for ubuntu, probably not generic enough
André Pönitz [Tue, 21 Aug 2007 23:05:48 +0000 (23:05 +0000)]
compile fix for ubuntu, probably not generic enough

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

16 years agofix a wrong scons fix due to the removal of /TP option
Bo Peng [Tue, 21 Aug 2007 22:14:30 +0000 (22:14 +0000)]
fix a wrong scons fix due to the removal of /TP option

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

16 years agoFix file inclusion in src/support/filetools.cpp under mac
Bo Peng [Tue, 21 Aug 2007 22:10:58 +0000 (22:10 +0000)]
Fix file inclusion in src/support/filetools.cpp under mac

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

16 years agoadd Joan Montané to the credits
Uwe Stöhr [Tue, 21 Aug 2007 21:52:06 +0000 (21:52 +0000)]
add Joan Montané to the credits

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

16 years ago* LyXView:
Abdelrazak Younes [Tue, 21 Aug 2007 21:41:12 +0000 (21:41 +0000)]
* LyXView:
- setBuffer(): LyXView has no business in setting parent document.
- loadLyXFile():  delete dead code.

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

16 years agoinset configurability: ERT
Martin Vermeer [Tue, 21 Aug 2007 21:29:13 +0000 (21:29 +0000)]
inset configurability: ERT

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

16 years agoSCons: msvc gives different result for this ICONV_CONST test so I need to change...
Bo Peng [Tue, 21 Aug 2007 21:21:39 +0000 (21:21 +0000)]
SCons: msvc gives different result for this ICONV_CONST test so I need to change the test to .cpp

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

16 years agominizip fixes for msvc and cmake
Peter Kümmel [Tue, 21 Aug 2007 21:09:45 +0000 (21:09 +0000)]
minizip fixes for msvc and cmake

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

16 years agoAdd autotools support for src/support/minizip stuff
Bo Peng [Tue, 21 Aug 2007 20:40:02 +0000 (20:40 +0000)]
Add autotools support for src/support/minizip stuff

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

16 years agoChange src/support/minizip/* from K&R to ANSI style so that a C++ compiler can compil...
Bo Peng [Tue, 21 Aug 2007 20:02:05 +0000 (20:02 +0000)]
Change src/support/minizip/* from K&R to ANSI style so that a C++ compiler can compile them

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

16 years agocharstyle update for beamer
Martin Vermeer [Tue, 21 Aug 2007 19:44:47 +0000 (19:44 +0000)]
charstyle update for beamer

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

16 years agoThe necessary changes to these XML layouts (charstyle new format)
Martin Vermeer [Tue, 21 Aug 2007 19:43:10 +0000 (19:43 +0000)]
The necessary changes to these XML layouts (charstyle new format)

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

16 years agomore translations
Martin Vermeer [Tue, 21 Aug 2007 18:15:04 +0000 (18:15 +0000)]
more translations

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

16 years agoSCons: msvc does not need this /TP option any more after we rename .C => .cpp. Also...
Bo Peng [Tue, 21 Aug 2007 16:46:05 +0000 (16:46 +0000)]
SCons: msvc does not need this /TP option any more after we rename .C => .cpp. Also fix a CXX_GLOBAL_CSTD bug (not quite sure)

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

16 years agoEmbedding feature patch 1: add zipFiles and unzipToDir to support
Bo Peng [Tue, 21 Aug 2007 14:48:47 +0000 (14:48 +0000)]
Embedding feature patch 1: add zipFiles and unzipToDir to support
* src/support/lyxlib.h: add makedir(), used by unzipToDir
* src/support/filetools.[h|cpp]: add zipFiles() and unzipToDir()
* src/support/mkdir.cpp: add makedir() and mymkdir(char*).
* src/support/minizip: add zlib-1.2.3/contrib/minizip files to lyx svn
* src/support/minizip/iowin32.h
* src/support/minizip/ioapi.c
* src/support/minizip/zip.c
* src/support/minizip/unzip.c
* src/support/minizip/crypt.h
* src/support/minizip/ioapi.h
* src/support/minizip/zip.h
* src/support/minizip/unzip.h
* src/support/minizip/iowin32.c
* development/scons/scons_manifest.py: adjust scons
* development/scons/SConstruct

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

16 years ago* BufferView::buffer() returns a reference instead of a pointer.
Abdelrazak Younes [Tue, 21 Aug 2007 13:03:55 +0000 (13:03 +0000)]
* BufferView::buffer() returns a reference instead of a pointer.

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

16 years agosimplify setInsetFont, removing a potential bug (an invalid DocIterator was built...
Alfredo Braunstein [Tue, 21 Aug 2007 10:54:04 +0000 (10:54 +0000)]
simplify setInsetFont, removing a potential bug (an invalid DocIterator was built). Use CursorSlices when possible.

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

16 years agosome work on fi.po
Martin Vermeer [Tue, 21 Aug 2007 07:57:11 +0000 (07:57 +0000)]
some work on fi.po

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

16 years agoThe BufferView/WorkArea/LyXView reorg a.k.a Multiple WorkAreas:
Abdelrazak Younes [Tue, 21 Aug 2007 07:33:46 +0000 (07:33 +0000)]
The BufferView/WorkArea/LyXView reorg a.k.a Multiple WorkAreas:

* Buffer:
- get rid of cursor_ and anchor_
- ~Buffer(): update the labels of its master buffer before closing
- closing(): pass the Buffer address.

* BufferView():
- BufferView(): needs a valid Buffer (should be const in the future.
- most of the change is about removing all test of buffer_ nullity.
- resize(): deleted.
- setBuffer(): deleted.

* Application:
- newLyXView(): simplification
- updated design description in Application.h

* Gui/GuiImplementation: remove all WorkAreas and BufferView creation/Deletion. Workareas are directly handled by  LyXView/GuiView and BufferView is created/delete by WorkArea.

* LyXView/GuiView: implement the new design

What is not working yet:
- the close tab button: it is implemented but does not show up.

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

16 years agofix MSVC warnings
Abdelrazak Younes [Tue, 21 Aug 2007 07:17:49 +0000 (07:17 +0000)]
fix MSVC warnings

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

16 years agoGerman splash.lyx: fix image path
Uwe Stöhr [Tue, 21 Aug 2007 00:33:20 +0000 (00:33 +0000)]
German splash.lyx: fix image path

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

16 years agoSpanish EmbeddedObjects.lyx: updates from Ignacio
Uwe Stöhr [Tue, 21 Aug 2007 00:18:05 +0000 (00:18 +0000)]
Spanish EmbeddedObjects.lyx: updates from Ignacio

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

16 years agoinstaller: sync with branch
Uwe Stöhr [Tue, 21 Aug 2007 00:01:08 +0000 (00:01 +0000)]
installer: sync with branch

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

16 years agoLINGUAS: LINGUAS: sort languages
Uwe Stöhr [Mon, 20 Aug 2007 23:59:18 +0000 (23:59 +0000)]
LINGUAS: LINGUAS: sort languages

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

16 years agoFix crash when a user removes a formula when its preview is being generated. (Another...
Bo Peng [Mon, 20 Aug 2007 21:30:33 +0000 (21:30 +0000)]
Fix crash when a user removes a formula when its preview is being generated. (Another signal/destructor/gcc3 bug)

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

16 years agoInset configurability, LaTeX work
Martin Vermeer [Mon, 20 Aug 2007 19:02:38 +0000 (19:02 +0000)]
Inset configurability, LaTeX work

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

16 years agoSymbolic colour names work\!
Martin Vermeer [Mon, 20 Aug 2007 18:57:48 +0000 (18:57 +0000)]
Symbolic colour names work\!

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

16 years agofix tex4ht detection on older SuSE and current Debian
Georg Baum [Mon, 20 Aug 2007 17:31:42 +0000 (17:31 +0000)]
fix tex4ht detection on older SuSE and current Debian

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

16 years agofix bug 4132: parse some more column specifiers
Georg Baum [Mon, 20 Aug 2007 17:30:45 +0000 (17:30 +0000)]
fix bug 4132: parse some more column specifiers

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