]>
git.lyx.org Git - features.git/log
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
Jean-Marc Lasgouttes [Fri, 17 Aug 2007 09:15:04 +0000 (09:15 +0000)]
* buffer_funcs.cpp (setLabel): use a switch instead of nested ifs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19619
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 17 Aug 2007 08:53:27 +0000 (08:53 +0000)]
make sure that the C++ preprocessor is set up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19618
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Fri, 17 Aug 2007 07:39:50 +0000 (07:39 +0000)]
select one row less in some cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19617
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 17 Aug 2007 07:14:03 +0000 (07:14 +0000)]
disable pixmap cache under X11
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19616
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 17 Aug 2007 04:17:01 +0000 (04:17 +0000)]
Scons: distribute missing layout file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19615
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 16 Aug 2007 19:07:05 +0000 (19:07 +0000)]
remove automake generated Makefiles when using qmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19614
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Thu, 16 Aug 2007 19:05:42 +0000 (19:05 +0000)]
--with-qmake: move special Package.cpp handling from src/src.pro to support/support.pro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19613
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 16 Aug 2007 18:37:38 +0000 (18:37 +0000)]
Fix crash when a user removes the underlying figure of a graphic inset that has been copied and pasted (Bug 4108). Revert Andel's fix r19591
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19612
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Thu, 16 Aug 2007 16:36:50 +0000 (16:36 +0000)]
Streamlining CollapseStatus stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19610
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 16 Aug 2007 16:35:38 +0000 (16:35 +0000)]
Fix color of \Omega.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19609
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Aug 2007 16:18:04 +0000 (16:18 +0000)]
revert inadvertent patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19608
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Aug 2007 15:26:00 +0000 (15:26 +0000)]
rename TextClass::ctrs_ to counters_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19607
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Aug 2007 14:44:22 +0000 (14:44 +0000)]
some doxygen comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19606
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Aug 2007 12:42:56 +0000 (12:42 +0000)]
remove annoying debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19605
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Aug 2007 11:16:07 +0000 (11:16 +0000)]
The counters labelstring patch. Part 3: adapt some layout files and documentation
* numarticle.inc:
* numreport.inc:
* stdcounter.inc:
* stdsections.inc:
* stdstarsections.inc:
* stdclass.inc:
* scrbook.layout:
* amsmath.inc: adapt: remove most of the LabelString in layouts,
add the necessary stuff to counters.
* lib/doc/Customization.lyx: document the new stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19604
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Aug 2007 11:12:56 +0000 (11:12 +0000)]
The counters labelstring patch. Part 2: Use the new code.
* src/Paragraph.cpp (expandLabel): if the labelstring is empty,
use \thecounter instead; when processing @layout@ tokens, pass the
process_appendix boolean.
* src/buffer_funcs.cpp (setLabel):
* src/insets/InsetFoot.cpp (updateLabels):
* src/insets/InsetCaption.cpp (updateLabels): use
Counters::theCounter.
* src/insets/InsetBibitem.cpp: remove the ad-hoc numbering code
and replace it with a proper updateLabels-based solution.
* src/insets/InsetCommands.cpp (refresh): new method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19603
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 16 Aug 2007 11:07:00 +0000 (11:07 +0000)]
The counters labelstring patch. Part 1: the infrastructure.
* src/Counters.cpp (Counter::labelString/labelStringAppendix): new
accessors for two new variables
(Counter::setMaster): removed
(Counter::Counter): add a version with arguments.
(Counters::newCounter): add relevant arguments; allow to redefine
an existing counter.
(Counters::reset): reset the current float float.
(Counters::theCounter): return a representation of a given counter
using its labelstring or by default \themaster.\arabic{counter}.
Handle appendix too.
(Counters::counterLabel): add support for macros of the form
\thecounter.
* src/TextClass.cpp (readCounters): also read LabelString and
LabelStringAppendix.
(readFloats): allow to update an existing float; create the
counter associated with the float.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19602
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 16 Aug 2007 05:15:06 +0000 (05:15 +0000)]
Cosmetics (alignment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19599
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 16 Aug 2007 01:59:20 +0000 (01:59 +0000)]
Re-write of the BibTeX representation. The main change is that we now have
a structure representing field->value instead of just a single string with
all the data. The data structures are defined in src/Biblio_typedefs.h, and
the main changes are to the parser code in src/insets/InsetBibtex.cpp.
-src/Biblio_typedefs.h
Contains typedefs for new representation. Separating them out limits how much
gets #include'd by other files, and also resolves a circularity problem with
Buffer.h.
-src/Biblio.{h,cpp}
Signature changes and massive simplifications to routines that report
BibTeX data, since we now have an articulate representation.
-src/insets/InsetBibtex.{h,cpp}
Re-write the parser code so we store a key->value map of the BibTeX data
rather than just one long string. This is the main work.
-src/frontends/controllers/ControlCitation.{h,cpp}
-src/insets/InsetBibitem.{h,cpp}
-src/insets/InsetCitation.cpp
Adaptations and simplifications.
-src/insets/Inset.h
-src/Buffer.{h,cpp}
-src/insets/InsetInclude.{h,cpp}
Signature changes.
-src/Makefile.am
-development/scons/scons_manifest.py
Add src/Biblio_typedefs.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19598
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 16 Aug 2007 01:18:55 +0000 (01:18 +0000)]
Fix tex2lyx linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19597
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 15 Aug 2007 23:12:45 +0000 (23:12 +0000)]
fix client linking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19596
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 15 Aug 2007 20:32:49 +0000 (20:32 +0000)]
Add Susana to list of contributors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19593
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 15 Aug 2007 19:25:59 +0000 (19:25 +0000)]
fix file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19592
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Aug 2007 15:13:22 +0000 (15:13 +0000)]
fix signal crash with gcc 3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19591
a592a061 -630c-0410-9148-
cb99ea01b6c8