Lars Gullik Bjønnes
b2effebe20
2006-04-06 Bo Peng <ben.bob@gmail.com>
...
session support that
* handle recent opened files (previously lastfile)
* save/load bookmarks when quit lyx
* save/load buffer cursor location whan a file is closed
* save/load windows position and size when a file is closed
* add rc entries load_session, use_lastfilepos,
screen_geometry_height, screen_geometry_width,
screen_geometry_xysaved.
* trigger LFUN_QUIT when Alt-F4 or close-button is used to close lyx.
* remove lastfile.h lastfile.C (merged in session.h, session.C)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13561 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 22:56:18 +00:00
Martin Vermeer
c0b204c0a8
Add outlining functionality to the TOC dialog.
...
* LyXAction.C
(LyXAction::init): define command
* BufferView_pimpl.C
(BufferView::Pimpl::getStatus):
(BufferView::Pimpl::dispatch): add handling code
* frontends/qt2/QTocDialog.C: add connections, adapters
* frontends/qt2/ui/QTocDialogBase.ui: add pushbuttons
* frontends/qt2/QTocDialog.h: add adapters
* frontends/qt2/QToc.[Ch]
(QToc::updateToc):
(QToc::select): add code for TOC window positioning, and
outlining methods
* frontends/controllers/ControlToc.[Ch]: implement methods
* lfuns.h
(kb_action {): define LFUN
* toc.[Ch]: implement up, down, in and out operations in Outline
method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13521 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 05:08:42 +00:00
Georg Baum
fc7f2d9805
Fix bug 2107:
...
* src/LaTeXFeatures.[Ch]: replace nice_ by runparams_
* src/insets/insetexternal.C
(InsetExternal::validate): Use the correct template for the desired
output format
* src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Record the needed files for "latex"
or "pdflatex" format, dependant on the desired output format
* src/insets/insetinclude.C
(InsetInclude::latex): ditto
* src/BufferView_pimpl.C
(BufferView::Pimpl::getStatus): adapt to LaTeXFeatures changes
* src/paragraph_pimpl.C
(Paragraph::Pimpl::simpleTeXSpecialC): ditto
* src/buffer.C
(Buffer::makeLaTeXFile): ditto
(Buffer::makeLinuxDocFile): ditto
(Buffer::makeDocBookFile): ditto
* src/paragraph.C
(Paragraph::simpleTeXOnePar): ditto
* src/exporter.C
(Backends): Add "pdflatex" backend format
(Exporter::Export): set runparams.flavor correctly for "pdflatex" format
* lib/external_templates
(RasterImage): Use "pdflatex" format in PDFLaTeX template
(XFig): ditto
(ChessDiagram): Add PDFLaTeX template
(Date): ditto
* lib/configure.py: Add "pdflatex" format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13520 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 18:49:46 +00:00
Martin Vermeer
a193ea09f9
Selective expose patch
...
* metricsinfo.h
(ViewMetricsInfo): add size parameter
* BufferView_pimpl.C
(BufferView::Pimpl::metrics): return size
* frontends/screen.C
(LyXScreen::redraw): expose selectively, using y1, y2 in vi, and
exposing lower grey at end using size test
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:05:07 +00:00
Martin Vermeer
b557e3790e
fix bug 2212: First change is skipped in Merge changes... dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13331 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:46:03 +00:00
Martin Vermeer
22cdac5d5d
Fix bug 2195: Slowness in rendering inside insets, especially on the Mac
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:10:35 +00:00
Jean-Marc Lasgouttes
4842112b77
fix bug 2096: LyX file inserting is broken
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10631 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-29 15:08:35 +00:00
Martin Vermeer
e5cb61130f
Fix bug 1814 (scrolling)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10595 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-07 15:06:42 +00:00
Martin Vermeer
5f2c80bee8
Comment layout change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-11 11:29:35 +00:00
Martin Vermeer
ebcb289b7c
The speedup patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10528 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-07 12:00:41 +00:00
Angus Leeming
f7713f7011
Squash compiler warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10521 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 08:41:28 +00:00
Jean-Marc Lasgouttes
e164c26ad2
fix bug 1926 (crash when switching document)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 13:55:45 +00:00
Jean-Marc Lasgouttes
5d0f08d856
fix crash when toggling change tracking off
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10421 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 10:00:19 +00:00
Martin Vermeer
bd71b5b95e
Scrollbar fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10382 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-02 14:25:48 +00:00
Jürgen Vigna
a685a01ef7
bug 344: Fixed loosing cursor/selection on buffer-switch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10286 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 14:29:35 +00:00
André Pönitz
41ecabf519
make boundary property an iterator property instead of a CursorSlice property
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10214 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:49:40 +00:00
André Pönitz
1a9992c796
partial fix for bug 622, cosmetic rest remains open
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10195 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 00:39:44 +00:00
Lars Gullik Bjønnes
9abff568e6
reduce some debug output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10178 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 08:20:10 +00:00
Jürgen Spitzmüller
361de37399
reintroduce LFUN_BIBDB_ADD and LFUN BIBDB_DEL (bug 961)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10104 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-25 15:57:15 +00:00
Angus Leeming
70572847e2
Whitespace, only whitespace. s/ +$//
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Jürgen Spitzmüller
14d9845a29
Disable LFUN_GOTO_NOTE when it does not make sense
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10004 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-06 13:11:30 +00:00
Martin Vermeer
a85913d21a
Lars's key input queue
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9999 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-06 12:34:28 +00:00
Martin Vermeer
a683500118
Axe processEvents, fix cursor draw artifacts, put update flags into an enum,
...
allow single-paragraph update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9986 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 14:40:30 +00:00
Martin Vermeer
31bded06b1
The processEvents / screen update recursion bug fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9931 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-11 07:44:20 +00:00
Georg Baum
ce7da69af1
Another set of text changes from Michael, approved by John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9920 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-08 10:02:38 +00:00
Angus Leeming
4515f9a333
Revert the asynchronous child process code to that of LyX 1.3.6.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9842 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-20 17:35:47 +00:00
Jean-Marc Lasgouttes
1e7112db43
fix counters updating mechanism
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9682 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-25 11:55:36 +00:00
Jean-Marc Lasgouttes
3f4d173edf
fix several GOTO lfuns (bug 1787, bug 616, bug 781 and bug 835)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9663 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-22 11:41:22 +00:00
Jürgen Spitzmüller
df0b5405bf
This wasn't intended to go in. Revert ...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9622 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-14 08:24:16 +00:00
Jürgen Spitzmüller
3c4af0ffbf
Andr�'s font changes fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9621 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-14 08:17:23 +00:00
Jean-Marc Lasgouttes
d20ac26754
fix display when jumping to a toc entry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9606 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-09 11:27:21 +00:00
Lars Gullik Bjønnes
aa491cdb98
dociterator dont inherit from std::vector and updates
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9602 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-08 13:18:05 +00:00
Jean-Marc Lasgouttes
67c0ffcc3d
remove some bogus pointer indirection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9596 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-07 15:37:07 +00:00
Lars Gullik Bjønnes
2454264216
ws changes mostly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9592 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-06 00:30:11 +00:00
Asger Ottar Alstrup
daebb380ba
- And remove the theCoords.doneUpdating from here
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9586 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-04 07:21:00 +00:00
Jean-Marc Lasgouttes
3f74d3dc9b
fix inserting text file into a text inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9560 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 17:21:17 +00:00
Angus Leeming
e22c5f4d97
Asger's commentary, const-correct and bug-squashing little beauty.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 16:29:48 +00:00
Lars Gullik Bjønnes
342cdf4322
the convert patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Jürgen Spitzmüller
04a3819779
Fix output of change tracked documents (also fixes bug 1031)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9535 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-24 17:12:19 +00:00
Angus Leeming
b5589bf6cf
The package reworking.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9463 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 19:17:43 +00:00
André Pönitz
9a5b09b5e4
start fixing cursor size in math
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9460 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 09:28:06 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff
rename tostr.[Ch] to convert.[Ch]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506
tostr -> convert and some bformat work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Jean-Marc Lasgouttes
a839021d22
implement Word counting (bug 728)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9402 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-27 16:30:27 +00:00
Alfredo Braunstein
a2cd656e25
CoordBranch merge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
Angus Leeming
8eea28ec80
Give FileFilterList its own .[Ch] files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9305 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 11:08:32 +00:00
Alfredo Braunstein
ed064bdee6
par->pit renaming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:53:46 +00:00
Lars Gullik Bjønnes
13c24dd556
* lyxfunctional.h: delete back_inserter_fun functions and helper
...
classes.
* lyx_gui.C (start): use for_each instead of explicit for loop
* cursor.C (insert): use for_each instead of explicit for loop
* bufferlist.C (getFileNames): use std::transform and
std::back_inserter instead of std::copy and lyx::back_inserter_fun.
* buffer_funcs.C (bufferErrors): use for_each instead of explicit
for loop
* buffer.C (changeLanguage): use for_each instead of explicit for
loop
(hasParWithID): implement using getParFromID
* LaTeXFeatures.C: ws change only
* CutAndPaste.C (replaceSelectionWithString): Use a temporary var
to cleanup a bit.
* BufferView_pimpl.C (trackChanges): use for_each instead of
expilicit for loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9182 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-06 15:23:12 +00:00
Angus Leeming
eb00187fea
Whitespace, nothing but whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +00:00
Jean-Marc Lasgouttes
ec733357e0
fix bug 1694
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9090 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-15 08:27:59 +00:00