]>
git.lyx.org Git - lyx.git/log
Abdelrazak Younes [Tue, 28 Aug 2007 15:34:55 +0000 (15:34 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19857
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 28 Aug 2007 15:33:15 +0000 (15:33 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19856
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 28 Aug 2007 15:32:39 +0000 (15:32 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19855
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 28 Aug 2007 15:31:04 +0000 (15:31 +0000)]
transfer margin declaration to BufferView.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19854
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 28 Aug 2007 15:08:03 +0000 (15:08 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19853
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 28 Aug 2007 15:07:39 +0000 (15:07 +0000)]
header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19852
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Tue, 28 Aug 2007 14:33:44 +0000 (14:33 +0000)]
Oops...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19851
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Tue, 28 Aug 2007 14:32:06 +0000 (14:32 +0000)]
some more inclusions of stdinsets.inc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19850
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 28 Aug 2007 09:21:48 +0000 (09:21 +0000)]
* Row: Use Dimension class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19849
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 28 Aug 2007 08:57:13 +0000 (08:57 +0000)]
- Transfer rowpainter.cpp:paintPar() to TextMetrics::drawParagraph()
- move RowPainter class out of the anonymous namespace so that it can be used by TextMetrics::drawParagraph().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19848
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 28 Aug 2007 02:46:09 +0000 (02:46 +0000)]
fix scons for the removal of Package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19845
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 22:53:16 +0000 (22:53 +0000)]
Transfer rowpainter.cpp:paintText() to BufferView::draw()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19843
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 22:36:20 +0000 (22:36 +0000)]
- Transfer rowpainter.cpp:paintTextInset() to TextMetrics::draw()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19842
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 27 Aug 2007 21:33:15 +0000 (21:33 +0000)]
revert change to POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19841
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 27 Aug 2007 21:29:56 +0000 (21:29 +0000)]
remove special handling of Package.cpp[.in]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19840
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 27 Aug 2007 20:27:02 +0000 (20:27 +0000)]
Fix black float background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19839
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 16:30:57 +0000 (16:30 +0000)]
Bug fix: correctly redraw a Row containing and inset which Dimension slightly changed. This replace the need for the former leftEdgeFixed boolean in rowpainter.C:paintPar() before the removal of the wide() hack in revision 19834.
* Inset::dimension(): access to dim_
* TextMetrics::redoParagraph(): don't trust Inset::metrics() returned boolean as the internal dimension is changed down in the inheritance chain for InsetFoot->InsetCollapsable->InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19838
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 16:29:04 +0000 (16:29 +0000)]
scons: fix a bug in installer target, introduced by the cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19837
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 15:13:45 +0000 (15:13 +0000)]
Scons: fix tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19836
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 14:59:23 +0000 (14:59 +0000)]
I may have gone a bit too far in revision 19834: restore the selection painting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19835
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 14:38:29 +0000 (14:38 +0000)]
Remove the wide() hack. This simplifies quite a few things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19834
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 14:04:46 +0000 (14:04 +0000)]
Gather ParagraphMetrics initialization in ParagraphMetrics::reset().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19833
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 13:12:51 +0000 (13:12 +0000)]
MacOS compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19832
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 11:13:09 +0000 (11:13 +0000)]
Disable the pixmap cache for Qt4.1 because of font problems when resizing the window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19830
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 09:03:18 +0000 (09:03 +0000)]
Lyx crashed after inserting, deleting and inserting float object.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19827
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 27 Aug 2007 08:36:18 +0000 (08:36 +0000)]
Compile fix after bg color patch, thx Bo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19826
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 27 Aug 2007 06:35:24 +0000 (06:35 +0000)]
New 'Save all on shutdown or cancel' feature from Stephan Witt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19824
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 04:00:14 +0000 (04:00 +0000)]
Scons cleanup 7: remove saved C compiler, remove blank lines and obsolete comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19823
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 03:40:42 +0000 (03:40 +0000)]
Scons cleanup 6: build minizip/iowin32.c on all sytems becuase it is surrounded by #ifdef WIN32, some other small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19822
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 03:30:58 +0000 (03:30 +0000)]
Scons cleanup 5: config.h typo, do not have to make builddir by myself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19821
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 03:28:08 +0000 (03:28 +0000)]
Scons cleanup 4: stop forcing the use of c++ compiler because of the .C ==> .cpp conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19820
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 03:11:34 +0000 (03:11 +0000)]
Scons cleanup 3: stop judging build_xxx for scons, let scons do the job.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19819
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 27 Aug 2007 02:53:04 +0000 (02:53 +0000)]
Scons cleanup 2: remove rebuild option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19818
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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