]>
git.lyx.org Git - features.git/log
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
Abdelrazak Younes [Tue, 14 Aug 2007 13:20:16 +0000 (13:20 +0000)]
Probable compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19557
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 13:14:47 +0000 (13:14 +0000)]
Transfer Drag&Drop handling from GuiWorkArea to GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19556
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 12:25:21 +0000 (12:25 +0000)]
headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19555
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 12:13:55 +0000 (12:13 +0000)]
fix eol-style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19554
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 09:54:59 +0000 (09:54 +0000)]
cosmetics + move frontends/* to frontend namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19553
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 09:44:38 +0000 (09:44 +0000)]
fix MSVC warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19552
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 14 Aug 2007 08:53:34 +0000 (08:53 +0000)]
Cosmetic changes and more assertions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19551
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 14 Aug 2007 08:03:23 +0000 (08:03 +0000)]
add --with-qmake options to ./configure. using it overwrites the automake generated Makefiles with qmake generated ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19546
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Tue, 14 Aug 2007 07:37:47 +0000 (07:37 +0000)]
Update po directory, new Portuguese translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19544
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 14 Aug 2007 05:30:05 +0000 (05:30 +0000)]
prepare ground for a hybrid autoconf/qmake build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19542
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Tue, 14 Aug 2007 05:02:50 +0000 (05:02 +0000)]
fix scons, telling scons how to moc files is still needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19541
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 14 Aug 2007 02:16:56 +0000 (02:16 +0000)]
UserGuide.lyx:
- finish Appendix A, the document is now ready except of Appendix B (description of the preferences dialog)
- add hint about XeTeX
- cleaned up index and cross-references
- add description of clearpage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19540
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 14 Aug 2007 01:34:26 +0000 (01:34 +0000)]
Add version information to the lyx executable on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19537
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 14 Aug 2007 01:30:33 +0000 (01:30 +0000)]
Fix dist target
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19536
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 14 Aug 2007 00:46:11 +0000 (00:46 +0000)]
more cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19535
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Tue, 14 Aug 2007 00:25:45 +0000 (00:25 +0000)]
add ugly hack to make client link again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19533
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 23:48:39 +0000 (23:48 +0000)]
more boost fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19532
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 13 Aug 2007 23:25:47 +0000 (23:25 +0000)]
Fix bug 4121. The cause was the empty on_available_entered method. Not sure why
that caused the bug, but it does.
Also fix some other UI bugs, relating to resets of the selection models. These
look gratuitous and cause problems in the current code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19530
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Aug 2007 22:43:50 +0000 (22:43 +0000)]
try to be nice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19529
a592a061 -630c-0410-9148-
cb99ea01b6c8
Christian Ridderström [Mon, 13 Aug 2007 22:07:33 +0000 (22:07 +0000)]
Update of documentation in the source related to bug 4135 and the function callback.cpp::writeAs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19528
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Aug 2007 21:58:05 +0000 (21:58 +0000)]
some progress on the linking front
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19527
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 20:29:33 +0000 (20:29 +0000)]
Fix bug 409 (Add support for numbered footnotes)
* src/insets/InsetFoot.cpp (updateLabels): number the footnote if
(1) the footnote counter exists and (2) it is not in a title
layout
* lib/layouts/stdcounters.inc: add a footnote counter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19524
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 20:12:52 +0000 (20:12 +0000)]
compilation warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19523
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Aug 2007 20:00:27 +0000 (20:00 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19522
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Aug 2007 19:48:30 +0000 (19:48 +0000)]
compile boost/*.cpp in one go and do not use precompiled headers there. speeds up compilation in boost by more than a factor of three
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19521
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Aug 2007 19:40:54 +0000 (19:40 +0000)]
I forget this in rev 19515.
* InsetInclude: loadIfNeeded()
- make it non anonymous (used in loadChildDocuments()).
- now return the loaded buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19520
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 19:33:35 +0000 (19:33 +0000)]
* buffer_funcs.cpp (updateLabels): fix crash: par_iterator_begin already
puts cursor at the right place.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19519
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Aug 2007 19:13:39 +0000 (19:13 +0000)]
add some comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19518
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Mon, 13 Aug 2007 19:08:35 +0000 (19:08 +0000)]
make the static version link again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19517
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Mon, 13 Aug 2007 19:07:46 +0000 (19:07 +0000)]
small fix to selection of last view source line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19516
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Aug 2007 18:11:43 +0000 (18:11 +0000)]
* loadChildDocuments(): new function to load all child documents in a given buffer. This will be used for a new LFUN_LOAD_CHILD_DOCUMENTS and for pre-loading all child documents when certain action (latex export, bibtex parsing, label and reference).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19515
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Aug 2007 17:35:09 +0000 (17:35 +0000)]
* QLPainter::text():
- reorganize the code to minimize indentation by returning early for special cases
- use a pixmap cache for word drawing. This can be disabled by setting USE_PIXMAP_CACHE to 0 at the top of QLPainter.cpp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19513
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 13 Aug 2007 17:23:42 +0000 (17:23 +0000)]
Fix update bug when leaving a wide inset with up or down arrow.
Override notifyCursorLeaves() in InsetText to force update when
inset was wide. Should be removed if and when wide is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19511
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 13 Aug 2007 17:22:52 +0000 (17:22 +0000)]
Fix makefile for 19498.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19510
a592a061 -630c-0410-9148-
cb99ea01b6c8
Christian Ridderström [Mon, 13 Aug 2007 17:15:04 +0000 (17:15 +0000)]
Fix for bug 4135
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19509
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 13 Aug 2007 15:46:33 +0000 (15:46 +0000)]
fix scons for Andre's LYX_DATE changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19508
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 15:38:32 +0000 (15:38 +0000)]
* inset/InsetTabular.cpp (doDispatch): LFUN_MOUSE_PRESS: let Text::dispatch
do the work, unless we really have a reason not to (fixes bug 4133)
* mathed/InsetMathNest.cpp (lfunMousePress): refactor the code to use
BufferView::mouseSetCursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19506
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Aug 2007 15:36:29 +0000 (15:36 +0000)]
compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19505
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 13 Aug 2007 15:22:13 +0000 (15:22 +0000)]
compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19504
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Mon, 13 Aug 2007 14:24:49 +0000 (14:24 +0000)]
This implements selection of current cursor position (and main selection) \
in the view source panel
* Buffer.cpp (getSourceCode, writeLaTeXSource): fix sync between output and texrow
* frontends/controllers/ControlViewSource.{h,cpp} (getRows): new method to get the current selection in term of latex rows
* frontends/qt4/QViewSource.{h,cpp}: make a selection in the ViewSource widget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19503
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Mon, 13 Aug 2007 14:04:35 +0000 (14:04 +0000)]
* TexRow.{h,cpp} switch from std::list to std::vector
(operator+=): remove unused method
(getRowFromIdPos) new method to get the texrow from id,pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19502
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 13 Aug 2007 13:56:54 +0000 (13:56 +0000)]
Optimisation: don't search twice the hash tables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19501
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Mon, 13 Aug 2007 13:36:19 +0000 (13:36 +0000)]
* DocIterator.h (forwardPosNoDescend): remove method
* DocIterator.cpp (forwardPos, backwardPos): move the 'flat' part to...
* CursorSlice.{h,cpp} (forwardPos, backwardPos, at_end, at_begin): new methods, the first two are part of their DocIterator homonym
* Text2.cpp (setFont): receive CursorSlice arguments as the function is not recursive, adapt
* Text.cpp:
* lyxfind.cpp (findNextChange):
* insets/InsetCollapsable.cpp: adapt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19500
a592a061 -630c-0410-9148-
cb99ea01b6c8
Alfredo Braunstein [Mon, 13 Aug 2007 13:11:49 +0000 (13:11 +0000)]
fix compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19499
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Mon, 13 Aug 2007 12:13:17 +0000 (12:13 +0000)]
Prepare for inset configurability
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19498
a592a061 -630c-0410-9148-
cb99ea01b6c8