]>
git.lyx.org Git - features.git/log
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
Jean-Marc Lasgouttes [Wed, 15 Aug 2007 13:47:32 +0000 (13:47 +0000)]
compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19590
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Aug 2007 12:15:16 +0000 (12:15 +0000)]
Fix child document labeling (const missing from overloaded updateLabels()).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19589
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Wed, 15 Aug 2007 10:12:36 +0000 (10:12 +0000)]
add Biblio.{cpp,h}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19588
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Aug 2007 08:57:58 +0000 (08:57 +0000)]
eol-style to native.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19587
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Aug 2007 08:55:36 +0000 (08:55 +0000)]
* Buffer.cpp: load all child documents in one go where it makes sense. This has the advantage to call updateLabels() only once for the master buffer. We can think of maintaining a child document list in the future.
* Biblio.cpp: fillWithBibKeys(): ditto.
* InsetInclude.cpp: loadIfNeeded(): set the parent name in any case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19586
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 15 Aug 2007 08:29:10 +0000 (08:29 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19585
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Wed, 15 Aug 2007 06:53:25 +0000 (06:53 +0000)]
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19584
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 15 Aug 2007 04:37:14 +0000 (04:37 +0000)]
Minor adjustment to previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19582
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 15 Aug 2007 02:21:09 +0000 (02:21 +0000)]
Add LFUN_PARAGRAPH_PARAMS (= paragraph-params), used for changing a paragraph's alignment, spacing, etc. This is complementary to LFUN_PARAGRAPH_PARAMS_APPLY, which sets the parameters. The difference is that APPLY over-rides all existing parameters, setting any not given to the default, whereas this one simply changes those that are given. So
paragraph-params \align right
will align the paragraph right, leaving spacing, etc, as they were, whereas
paragraph-params-apply \align right
will align the paragraph right but also reset all other parameters to defaults. Note, by the way, that this means that
paragraph-params-apply
sets everything to default.
Some new arguments have also been introduced. These are:
\indent
\indent-toggle
\spacing default
Of course, none of these are found in valid LyX files, but they are useful in menu bindings, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19581
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 14 Aug 2007 23:24:38 +0000 (23:24 +0000)]
properly properly traces of alternative frontends
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19580
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 14 Aug 2007 23:09:56 +0000 (23:09 +0000)]
documentation: apply the last cleanups also to the other languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19579
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 14 Aug 2007 22:55:22 +0000 (22:55 +0000)]
installer: forgot changelog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19576
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 14 Aug 2007 22:53:07 +0000 (22:53 +0000)]
UserGuide.lyx: fix a chapter title
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19575
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 14 Aug 2007 22:52:31 +0000 (22:52 +0000)]
EmbeddedObjects.lyx: fix version number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19574
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 14 Aug 2007 22:52:09 +0000 (22:52 +0000)]
DummyDocument1/2.lyx: fix author names, a relict of a bug in LyX 1.5.0beta times
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19573
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 14 Aug 2007 22:32:02 +0000 (22:32 +0000)]
installer: support for the new Portuguese translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19570
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 14 Aug 2007 22:18:27 +0000 (22:18 +0000)]
compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19568
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 14 Aug 2007 17:01:22 +0000 (17:01 +0000)]
Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19567
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 16:59:59 +0000 (16:59 +0000)]
Fix crash when the Outline dialog is opened on an empty document. This was caused by the commented out updateLabels() in LyXFunc::menuNew().
* Text: new empty() method.
* buffer_funcs.cpp:updateLabels(): return early in case of empty document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19566
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 14 Aug 2007 16:50:51 +0000 (16:50 +0000)]
Move the lyx::biblio namespace into src/. Also make changes to how the BibTeX
information is acquired. This involves (i) moving the bulk of fillWithBibKeys()
into Biblio.cpp, (ii) introducing a virtual method Inset::fillWithBibKeys() that,
by default, does nothing, and (iii) over-riding this method in the insets that do
need to do something.
This is all preparatory for a more substantial re-working of the BibTex code,
which should follow shortly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19565
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 15:32:58 +0000 (15:32 +0000)]
* callback.cpp: newFile() takes a LyXView instead of a BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19564
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 15:00:09 +0000 (15:00 +0000)]
Transfer q_key_state() from GuiWorkArea.cpp to QKeySymbol.cpp. This will also be used later in GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19562
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 14:41:06 +0000 (14:41 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19561
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 14:31:41 +0000 (14:31 +0000)]
Fix crash with updateLabels(). I changed the the test in the assertion but endless loops should be equally prevented with this version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19560
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Tue, 14 Aug 2007 14:21:46 +0000 (14:21 +0000)]
fixing the 580 fix also for trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19559
a592a061 -630c-0410-9148-
cb99ea01b6c8