]>
git.lyx.org Git - lyx.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Georg Baum [Mon, 20 Aug 2007 17:23:33 +0000 (17:23 +0000)]
compile fix for qt 4.2.1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19661
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 20 Aug 2007 17:04:36 +0000 (17:04 +0000)]
Biblio.{h,cpp} --> BiblioInfo.{h,cpp}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19660
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 20 Aug 2007 17:04:00 +0000 (17:04 +0000)]
Fix margin problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19659
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 20 Aug 2007 16:30:02 +0000 (16:30 +0000)]
Improvements to the citation dialog UI. It is now possible to search particular fields (author, title, etc) and to filter keys by entry types (article, book, etc).
The changes are essentially of three types.
First, the std::maps previously used here for storing BibTeX data have become full-fledged classes and so what were previously just a bunch of functions have now become methods of these new classes. This leads to a lot of minor changes in other files, to adapt to the new signature. The changes in insets/ are mostly of this kind.
Second, there are some slightly more substantial changes in src/insets/InsetBibtex.cpp. We now store lists of the field names and entry types that have been used.
Finally, there are the changes to the citation UI. These are mostly straightforward, though adding the new functionality exposed some inadequacies in the previous code that also had to be fixed.
One other change: BibTeX keys are now docstring. This solves some Unicode issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19657
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 20 Aug 2007 14:22:39 +0000 (14:22 +0000)]
make these definitions useful for latex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19656
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 20 Aug 2007 04:58:29 +0000 (04:58 +0000)]
small Note cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19655
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 20 Aug 2007 04:56:04 +0000 (04:56 +0000)]
Cleanup 3: move dispatch stuff from CharStyle to Collapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19654
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sun, 19 Aug 2007 19:02:28 +0000 (19:02 +0000)]
* lib/ui/stdmenus.inc: use Capital letters in menu entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19650
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sun, 19 Aug 2007 15:45:35 +0000 (15:45 +0000)]
Cleanup 2: moving more stuff charstyle -> collapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19648
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sun, 19 Aug 2007 15:42:14 +0000 (15:42 +0000)]
Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19647
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Sun, 19 Aug 2007 14:03:51 +0000 (14:03 +0000)]
fix tabulation bug (python is amazing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19646
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 19 Aug 2007 13:40:09 +0000 (13:40 +0000)]
rev 19644: I forgot this.
* Cursor::fixIfBroken(): return fix status.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19645
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 19 Aug 2007 13:32:21 +0000 (13:32 +0000)]
Fix bug 4117.
http://bugzilla.lyx.org/show_bug.cgi?id=4117
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19644
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 19 Aug 2007 10:48:16 +0000 (10:48 +0000)]
Fix bug 4123:
http://bugzilla.lyx.org/show_bug.cgi?id=4123
* GuiView:
- closeEvent(): set quitting=true only when quitting. I don't know why and how this was changed but it was clearly wrong.
- update_view_state_qt(): only update when focus is in. Make sure this is the current LyXView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19643
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sun, 19 Aug 2007 10:08:09 +0000 (10:08 +0000)]
Small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19642
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sun, 19 Aug 2007 09:44:34 +0000 (09:44 +0000)]
implement --enable-monolithic-{client,frontend-qt4,controllers}. Careful with frontend-qt4, it takes ~490 MB to build (but 3 instead of 8 minutes...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19641
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 18 Aug 2007 23:26:07 +0000 (23:26 +0000)]
Further inset configurability, moving charstyle stuff to collapsable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19640
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 18 Aug 2007 21:17:10 +0000 (21:17 +0000)]
* Text:
- singleWidth(Buffer...): transfered to TextMetrics.
- singleWidth(Paragraph...): transfered to ParagraphMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19639
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 18 Aug 2007 21:10:45 +0000 (21:10 +0000)]
* TextMetrics.cpp
- access par_metrics_ directly instead of parMetrics()
- redoParagraph() simplify the changed calculation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19638
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 18 Aug 2007 18:54:01 +0000 (18:54 +0000)]
Building debug only is so much faster. Fastest way to check if LyX compiles with cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19637
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 18 Aug 2007 18:48:23 +0000 (18:48 +0000)]
forgot to enable mergsvn statusing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19636
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 18 Aug 2007 15:38:43 +0000 (15:38 +0000)]
make static default againt. use --disable-static --enable-dynamic to get the shiny new dynamic behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19635
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 18 Aug 2007 13:21:12 +0000 (13:21 +0000)]
* Layout.h
- leftMargin, rightMargin, labelsep, labelindent, parindent are now docstring.
* TextClass.h:
- leftMargin() and rightMargin(): now return a docstring.
All other files: adapt to change above.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19633
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 18 Aug 2007 13:08:36 +0000 (13:08 +0000)]
cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19632
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 18 Aug 2007 13:00:07 +0000 (13:00 +0000)]
* Paragraph::getFontSettings(): small optimisation: avoid a Font copy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19631
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 18 Aug 2007 12:45:11 +0000 (12:45 +0000)]
don't pollute the namespace with Qt macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19630
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 18 Aug 2007 12:35:02 +0000 (12:35 +0000)]
add batch file to completely rebuild a release version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19629
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sat, 18 Aug 2007 12:09:08 +0000 (12:09 +0000)]
update to new version.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19628
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Sat, 18 Aug 2007 11:48:53 +0000 (11:48 +0000)]
Brown paper bag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19627
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Fri, 17 Aug 2007 15:58:38 +0000 (15:58 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19623
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Fri, 17 Aug 2007 15:48:41 +0000 (15:48 +0000)]
partial merge of charstyle and insetlayout stuff, part 2 (lyx2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19622
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Fri, 17 Aug 2007 15:38:58 +0000 (15:38 +0000)]
Partial merge of CharStyle and InsetLayout stuff, first part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19621
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 17 Aug 2007 12:11:32 +0000 (12:11 +0000)]
* InsetCollapsable::geometry(): shut up warning by returning a dummy value and cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19620
a592a061 -630c-0410-9148-
cb99ea01b6c8