Abdelrazak Younes
9991539819
* MenuItem::submenu_: it seems that boost::shared_ptr() was necessary for std::vector purpose
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23570 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 17:34:54 +00:00
Richard Heck
999d69709f
Whoops. Wrong place.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23569 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:47:47 +00:00
Richard Heck
ee56712fc8
Per J"urgen.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23568 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:46:56 +00:00
Abdelrazak Younes
fe4b7f4b12
some more cleanups.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23567 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:45:51 +00:00
Jürgen Spitzmüller
2d697fb88f
* lib/configure.py:
...
- add support for gnuhtml2latex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23566 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:17:15 +00:00
Abdelrazak Younes
84622bc642
various cleanup and simplifications
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23565 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:15:34 +00:00
André Pönitz
69bfaf01a2
make Ctrl+mousewheel change the display font sizes (pretty similar to
...
what firefox does)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23564 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:15:10 +00:00
Pavel Sanda
300977b597
Add unrtf to configure.py.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23563 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 15:44:49 +00:00
Abdelrazak Younes
a718f53382
update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 15:40:26 +00:00
André Pönitz
ff91347e1f
seems the temporary copy is needed neverthelesse. it's a 'shallow' one,
...
though...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23561 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 15:36:29 +00:00
Abdelrazak Younes
f7f67fa95e
Encapsulate all menu related stuff inside Menu.cpp and simplify a few things.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23560 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 15:33:52 +00:00
Bernhard Roider
5a7724d89c
config for bm.sty
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 13:06:09 +00:00
André Pönitz
621e1b50a9
shorter code..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 13:02:52 +00:00
Abdelrazak Younes
6e807d67ec
* Inset::buffer(): assert when buffer_ is not set.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23557 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 11:56:20 +00:00
Abdelrazak Younes
9398a1495a
* Menu:
...
* general cleanup.
* convert free standing function to private methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 10:08:10 +00:00
Edwin Leuven
d1aff33dd5
more fixes (correct filename, and repair view file)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 09:54:48 +00:00
Abdelrazak Younes
8675175492
declaration cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 09:01:41 +00:00
André Pönitz
8be59017cf
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23553 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 08:20:36 +00:00
André Pönitz
be624b3de0
less string conversions as long as we stay in the frontend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23552 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 07:59:47 +00:00
Richard Heck
9337d73f1f
Comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23551 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 03:00:13 +00:00
Pavel Sanda
6a3cdc8420
Add doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23550 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 02:34:00 +00:00
Richard Heck
c7a0329a87
Fix crash.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23549 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 00:08:03 +00:00
Edwin Leuven
ac20e8e694
fix broken dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23548 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 23:37:55 +00:00
André Pönitz
1847d3f3e5
add a convienient foreach implementation
...
code is stolen from Qt, slightly adapted to
avoid a container copy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23547 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 23:05:33 +00:00
Uwe Stöhr
351134d91e
update SCons according to r23527
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23546 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 20:58:52 +00:00
Richard Heck
d76e4b2311
Be more careful.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23545 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 20:57:40 +00:00
Richard Heck
3ce4518e19
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 20:57:18 +00:00
Abdelrazak Younes
49c45006ae
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23543 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 20:51:56 +00:00
Abdelrazak Younes
095fc3a2a1
Buffer::getLabelList(): Bug fix; only level 0 items are labels.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23542 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 19:52:44 +00:00
Abdelrazak Younes
5da55588f2
* Buffer::getLabelList(): Speed up and simplify by using the tocBackend.
...
* Inset and derived class: get rid of getLabelList()
* BufferView::gotoLabel(): Speed up and simplify by using the tocBackend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23541 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 19:46:04 +00:00
Abdelrazak Younes
f0771cecc2
MSVC Compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 19:43:17 +00:00
Richard Heck
c19b310d25
Starred --> Unnumbered, per Edwin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23539 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 17:42:08 +00:00
Abdelrazak Younes
01d218fd0f
* Buffer::changeRefsIfUnique(): Only used for CITE_CODE now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 13:45:48 +00:00
Abdelrazak Younes
af3852b12c
fix memory leak
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23537 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 13:36:39 +00:00
Abdelrazak Younes
8998dac1a7
InsetInclude: use InsetLabel instead of handling "label" parameter manually.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 13:33:33 +00:00
Abdelrazak Younes
fd16c64b35
add comment about std::vector<bool>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23535 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 13:05:04 +00:00
Abdelrazak Younes
cab2fe4cce
MSVC compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23533 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 07:21:13 +00:00
Richard Heck
6edb3984bf
BaseClassList --> LayoutFileList
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 03:53:21 +00:00
Richard Heck
6fee306f2f
Remove comment. This issue no longer seems to exist.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 03:42:39 +00:00
Richard Heck
ac6e5b871c
Get rid of the boost::shared_ptr's in TextClass.{h,cpp}. It's not clear what these were really doing here now, and they will cause bugs now that DocumentClass objects are more dynamic.
...
Abdel suggested it might be worth pimpl'ing the FloatList and Counter objects, to get the header dependencies back down.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 03:41:12 +00:00
Richard Heck
2222b3f367
Did not need to change this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23529 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 01:21:03 +00:00
André Pönitz
6e9980f149
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 00:29:12 +00:00
André Pönitz
4b12782854
merge MenuBackend into frontend/Menus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23527 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 00:21:23 +00:00
Richard Heck
6f1cb456cf
Improve performance of TextClass type objects by making BaseClassList and DocumentClassBundle containers of pointers rather than of objects, thus reducing the need to copy. Since these classes are singletons that live the life of the process, there's not much need to worry about memory leaks.
...
We take the opportunity to make TextClass objects noncopyable, nonassignable, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23526 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 23:31:40 +00:00
Richard Heck
5166d49d2d
Abdel is right.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 22:06:24 +00:00
Richard Heck
926ad3d183
Get rid of LayoutPtr.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 21:55:33 +00:00
André Pönitz
e13cc7e90d
start moving MenuBackend to the frontend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23523 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 21:50:27 +00:00
Richard Heck
a01cb111a0
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now privately, and make a Layout const & available to clients.
...
The need for a LayoutPtr arises from the fact that (a) we do not want to give our clients a Layout &, since we do not want them to be able to change our Layout; but (b) we also need to be able to change which layout is ours. So we cannot store a Layout const &. Or so it seems to the compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 21:31:27 +00:00
Abdelrazak Younes
258cca4b3b
Delete child buffer at InsetInclude destruction.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23521 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 20:58:59 +00:00
Bernhard Roider
a99c5828f8
Add support for \bm from bm.sty
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23520 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 20:49:59 +00:00