Commit Graph

111 Commits

Author SHA1 Message Date
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
Jean-Marc Lasgouttes
d300f93cec make sure we clear menu contents before expand()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13379 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-15 15:07:20 +00:00
Georg Baum
e4ddd93da4 fix bug 2174
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10807 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-03 21:47:25 +00:00
Jean-Marc Lasgouttes
409037f1bb bug 2092: branches not propagated to child documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10577 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 15:21:49 +00:00
Jean-Marc Lasgouttes
b2cd9a9093 se Floating::listName() as title of
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10369 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-28 14:36:16 +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
c776e0754a Michael's "ASCII->Plain Text" changes (bug 1572)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9965 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-21 13:26:13 +00:00
Jean-Marc Lasgouttes
2b6b957d3e various toc-related fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9938 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 10:16:04 +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
cb15371de3 add possibility to specify the origin of a FuncRequest; use it to get rid of the "verbose" flag in dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9205 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-08 10:54:29 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Jean-Marc Lasgouttes
a9114d0e44 the Qt/Mac merge menu patch; this is actually different from macmove8, so I hope it still works...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8926 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 18:06:10 +00:00
Jean-Marc Lasgouttes
025f30b361 cleanup reading of lfun bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8832 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-02 10:03:22 +00:00
André Pönitz
0d43ba149a the stuff from the sneak preview:
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).

Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.

I had an extensive talk with my profiler and we are happy nevertheless.

This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now  lyx::cap::. Was inconsistent with the rest....

Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.

Remove some unneeded prototypes and function declarations

Use ParameterStruct directly instead of ShareContainer<ParameterStruct>

Inline a few accesses to CursorSlice members as suggested by the profiler.

Fix commandline conversion crash reported by Kayvan.

Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...

Remove math specific hack from Documentiterator

Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.

Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.

Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
André Pönitz
b634b3eb3b split LyXFunc::getStatus() into inset specific chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8500 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:57:20 +00:00
Lars Gullik Bjønnes
3420904448 The func.diff patch. Functors work and some tiny cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-31 15:30:24 +00:00
Martin Vermeer
59fefa0759 The Character Style and XML short element inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8078 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-12 14:38:26 +00:00
Lars Gullik Bjønnes
c38370d1c3 the exception safety patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
Martin Vermeer
6d1789d4db Partial fix to nav menu/branch inset problem reported by Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7979 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-25 09:20:51 +00:00
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Lars Gullik Bjønnes
b5b225c657 remove some more debug noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7885 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 13:33:19 +00:00
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Lars Gullik Bjønnes
495cd0eea0 more action work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7801 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 23:00:47 +00:00
Lars Gullik Bjønnes
2994fe5511 Get rid of Pseudo Actions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7799 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 18:57:15 +00:00
Angus Leeming
57a24ea912 Replace 'using namespace abc;' with 'using abc::xyz;'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Lars Gullik Bjønnes
fcdb71906b Change Assert to BOOST_ASSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Angus Leeming
f9c1cafbe6 Pragmatic pimpl-ing of BufferParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7721 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:00:19 +00:00
Angus Leeming
e835c9477b Pimpl Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7719 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 11:24:33 +00:00
Angus Leeming
fd36f5ad76 Make buffer's member variables private; use accessor functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7717 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:47:59 +00:00
Angus Leeming
4c6e0fe422 Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
1dffc5cfe4 Move #includes out of header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Lars Gullik Bjønnes
b881ed2d5a Use Buffer const reference in most placees possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
André Pönitz
5fc41035a4 remove spurious semicolons in BranchList.h
fix branchlist crash


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7566 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 12:27:49 +00:00
Martin Vermeer
fd6cd728a3 The 'Branches' mega-patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7560 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-17 11:28:23 +00:00
Lars Gullik Bjønnes
20b42535af put namespace toc inside namespace lxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7384 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 13:18:55 +00:00
Jean-Marc Lasgouttes
c3e778fedb make menu warnings unconditional
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7337 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 09:15:55 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
Lars Gullik Bjønnes
5dd63a2768 The Paste Recent patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7182 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-17 15:33:49 +00:00
André Pönitz
dbef37d522 non-templated tostr in separate files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6955 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 14:36:24 +00:00
John Levon
84640bc0f2 toolbar4.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6811 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-15 01:06:13 +00:00
John Levon
1423bdb7a7 remove defaults stuff, let Qt handle no toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 18:08:05 +00:00
Lars Gullik Bjønnes
2f71b9d235 ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6333 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 09:27:27 +00:00
André Pönitz
f566e7c604 Alfredo's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-28 09:49:49 +00:00
Jean-Marc Lasgouttes
5d3718cad2 more code in the menu backend == less code in the menu frontends; add support for OptSubmenu (not used yet)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6165 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-15 21:03:40 +00:00
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
Jean-Marc Lasgouttes
dcdbeb3b34 various bits from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5978 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-22 17:36:35 +00:00
Jean-Marc Lasgouttes
aead0b6f91 re-add ... to some menu entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5964 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-16 10:41:14 +00:00
Jean-Marc Lasgouttes
2868b724d5 small bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 09:03:32 +00:00