Commit Graph

10909 Commits

Author SHA1 Message Date
Uwe Stöhr
011459ce46 - increase fileformat to 286: this has been forgotten in Pavel's PDF-support patch
(besides this, note that the fileformat change to 285 is not yet documented in FORMAT)

- lyx2lyx/lyx_1_6.py: fix routine to revert the PDF-support stuff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20448 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 12:39:31 +00:00
Abdelrazak Younes
0dc4a1fa97 Fix Cut&Paste bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20445 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 08:59:50 +00:00
Abdelrazak Younes
731ae937ea reverting r20422 until I know more about this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20444 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 08:00:19 +00:00
Uwe Stöhr
bf57381fb4 GuiDocument.cpp: - replace bookmarkslevel edit field by a spinbox (by Pavel)
- fix the pagemode handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20442 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 22:20:15 +00:00
Uwe Stöhr
65a9b1a683 PDFOptions: replace bookmarkslevel edit field by a spinbox (by Pavel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 22:18:44 +00:00
Richard Heck
9eb79dcfe5 Silence a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20434 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 15:56:26 +00:00
Uwe Stöhr
39de8e95a4 BufferParams.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20432 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 12:55:12 +00:00
Uwe Stöhr
9c59de3c67 PDFOptions.cpp: clean up the appearance of the parameters in the LaTeX-output
BufferParams.cpp: move the hyperref call to the right position

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20431 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 12:53:22 +00:00
Uwe Stöhr
1f83c98eb4 LaTeXFeatures.cpp: "wrapfig" has to be loaded after "float"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20430 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 12:51:33 +00:00
Uwe Stöhr
f675f011be PDF-support patches by Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20429 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 11:39:19 +00:00
Uwe Stöhr
77f4172bb2 PDFSupportUi.ui: set styles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20426 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 00:34:18 +00:00
Uwe Stöhr
020af57832 PDFOptions.cpp: fix two bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20424 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 23:55:24 +00:00
Abdelrazak Younes
4734433a3c RTL bugfix: inside texted, use ParagraphMetrics::insetDimension() instead of Inset::dimension().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20422 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 21:11:05 +00:00
Abdelrazak Younes
f75e4d3c4b Revert unintentionally committed change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20421 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:57:00 +00:00
Abdelrazak Younes
237c132c1e * Inset:
- get rid of the cached Dimension. Text inset dimensions are saved in ParagraphMetrics and mathed maintain their own dimension where needed.
- width(), ascent(), descent(): deleted.
- dimension(): now needs a valid BufferView.
- metrics(): now void.

* BufferView::getCoveringInset(): simplify.

* ParagraphMetrics(): now cache inset dimensions.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:39:47 +00:00
Abdelrazak Younes
24a74bdb53 * GuiApplication::notify():
- don't crash with abort() but exit gracefully when an exception is caught.
- try to catch LyX specific exceptions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20419 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:27:07 +00:00
Jean-Marc Lasgouttes
a9ff81ed29 fix uninitialized variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20412 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 13:32:49 +00:00
André Pönitz
9e879d112b some code wstyle issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20408 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 09:49:50 +00:00
José Matox
309c75046e Make --without-include-boost compile (autotools)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20407 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 07:18:21 +00:00
Richard Heck
6881ac8c4c Fix from Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20406 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 02:10:50 +00:00
Richard Heck
51179197c6 Whitespace issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20405 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 02:01:30 +00:00
Richard Heck
d26f4eacea Compilation and linking fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20404 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 01:51:08 +00:00
Richard Heck
2539f2e5eb Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20403 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 01:17:41 +00:00
Richard Heck
9997fdda53 Fix some typos that were preventing compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20402 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 01:00:31 +00:00
Richard Heck
067c8f2ae9 Fix naming problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20401 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 00:05:08 +00:00
Richard Heck
d71a15c593 Fix comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20400 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 00:03:47 +00:00
Uwe Stöhr
4826b931b5 add the missing PDFSupportUi.ui
but the PDF stuff still doesn't compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:45:29 +00:00
Uwe Stöhr
49a321fc84 add missing PDFoptions.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20397 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:29:20 +00:00
Uwe Stöhr
06b5c55102 PDFOptions.h: forgot and endif this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20396 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:19:37 +00:00
Uwe Stöhr
cfa00f8342 add missing file PDFOptions.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:16:59 +00:00
André Pönitz
1b79e53ffe cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20392 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:42:16 +00:00
André Pönitz
3ff14b8300 Pavel Sanda's "PDFOptions" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20389 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:31:18 +00:00
André Pönitz
82309f0c2d Remove a few includes from Text.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20386 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 20:44:08 +00:00
Richard Heck
aa01777060 Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move to character-style-based font changes, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 18:02:39 +00:00
Martin Vermeer
417c25c91b Robustify this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20379 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 14:11:37 +00:00
Abdelrazak Younes
4c82dd1fc8 Inset coords shall not be recorded in Inset::draw() because this can create problems with inheritance (which often modify the coords but not the Inset pointer itself). Right now there three kind of inset containers: paragraphs, tables and math arrays. The coords caching is fixed in the first two.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20376 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 10:58:38 +00:00
Abdelrazak Younes
c3fefae326 shut down conversion warning and unicode fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20374 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 09:15:43 +00:00
Abdelrazak Younes
7fca730b3b Remove TextMetrics.h header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20373 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 08:51:58 +00:00
Abdelrazak Younes
ae7c588552 * TextMetrics:
- first() and last(): change return type because std::pair of reference didn't work (i.e. bug)

* BufferView::workAreaDispatch(): re-enable and fix 'mouse hover' feature.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 08:48:28 +00:00
Richard Heck
9df31de303 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20371 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 07:46:08 +00:00
Richard Heck
0917ffc697 Indentation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20369 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 06:22:07 +00:00
Richard Heck
acec7296f5 Make it prettier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20368 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 05:05:10 +00:00
Richard Heck
e8da1771f2 Introduce LFUN_MASTER_BUFFER_VIEW and UPDATE. Code by Tommaso Cucinotta.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 05:00:23 +00:00
Richard Heck
c18108d92b Silence a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 04:27:16 +00:00
André Pönitz
978f65391e reduce #includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20363 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 22:37:22 +00:00
André Pönitz
72fe3d9fc1 One more second..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 21:28:11 +00:00
André Pönitz
b6a33822e5 Simpler structure, 2-3s faster compiles. Not that it matters much...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 21:10:00 +00:00
André Pönitz
1f0f9f75fe cut down pch.h to more frequently needed headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 20:17:00 +00:00
Edwin Leuven
cf4679b1da oops! fix case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 14:59:42 +00:00
Edwin Leuven
a229ecb226 another small layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 12:29:08 +00:00
Edwin Leuven
cc9e364d83 make sure formats are sorted and converters up-to-date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20357 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 10:16:44 +00:00
Edwin Leuven
95169237dc layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 09:08:07 +00:00
Martin Vermeer
4cc0355468 Polish
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 20:48:39 +00:00
Martin Vermeer
dc23701244 Pick up some stitches dropped by Abdel ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20353 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 20:18:50 +00:00
Richard Heck
e020bc1806 Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 17:46:14 +00:00
Martin Vermeer
6a70aac9e2 Forgot this, suppress debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 15:06:32 +00:00
Martin Vermeer
f390780a35 Units corrections, all Georg's noticed problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20337 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 15:04:58 +00:00
Jürgen Spitzmüller
d7af145e72 * src/LaTeX.cpp (scanLogFile):
- parse file:line:error style messages (bug 4222)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20335 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 13:38:30 +00:00
Abdelrazak Younes
516ff470d8 Fix InsetBox drawing and remove remnant of the wide() hack.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 08:52:38 +00:00
André Pönitz
a81782869e compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 23:00:53 +00:00
André Pönitz
7afa73a0b3 small simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 22:51:03 +00:00
Abdelrazak Younes
745d9ac46e * InsetCollapsable::draw(): replace use of dim_ with InsetText::dimension().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20331 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 22:18:07 +00:00
Abdelrazak Younes
df6dca574e temporarily disabling mouse hover feature as it is causing painting problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 22:11:13 +00:00
André Pönitz
4b5026c2e2 little simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 22:04:17 +00:00
Abdelrazak Younes
85fa1e9efd remove InsetCaption::drawSelection(): this was not used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20328 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 21:51:32 +00:00
Abdelrazak Younes
2dc0945bda remove InsetCollapsable::drawSelection(): this was not used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 21:48:25 +00:00
Abdelrazak Younes
74acf6b528 Cleanup the TEXT_TO_INSET_OFFSET mess. This correction is done now once in InsetText. Various other cleanup resulting from this change. In particular, pave the way to the removal of Dimension Inset::dim_ member by registering the inset dimension in RowPainter::paintInset() instead of InsetXXX::draw().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 21:45:14 +00:00
Abdelrazak Younes
c3e1c597ab MSVC compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20323 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 20:27:38 +00:00
André Pönitz
f86525fc2e simplify KeySymbol stuff. which hopefully works...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 18:41:03 +00:00
André Pönitz
1e62913610 cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20319 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 20:58:22 +00:00
Bo Peng
6258199fe8 make index label translatable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20318 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 14:43:10 +00:00
Bo Peng
18d587cb7e Display index name in InsetIndex label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 14:08:16 +00:00
Lars Gullik Bjønnes
45c0f1bbd8 Ambigous else
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:40:29 +00:00
Lars Gullik Bjønnes
ed8520086b Comment out unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:39:44 +00:00
Lars Gullik Bjønnes
7d6269a440 Move encode into anon namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20306 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:38:59 +00:00
Lars Gullik Bjønnes
9e770f6e53 Whitespace changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20305 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:38:25 +00:00
Lars Gullik Bjønnes
26f336769a Remove warnings reported with gcc 4.3:
- Modifier on return type ignored
	- Ambigous else
	- Ambigous logical operators
	- Semi-colon instead of empty block
	- Missing header files
	- Missing using std::XX
	- Initialization out of order


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:36:57 +00:00
André Pönitz
150b11e953 Why would boost::array<Bullet, 4> be better than Bullet[4]?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 23:04:28 +00:00
André Pönitz
fe2085b0e1 consmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 22:56:09 +00:00
André Pönitz
8e44e482c4 forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 20:32:38 +00:00
André Pönitz
50de85396c some remnaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20298 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 20:31:50 +00:00
Bo Peng
93196b1f73 Embedding: add a check box to InsetGraphic and show/change embedding status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 18:31:32 +00:00
André Pönitz
d348b0183b Rename class socket_callback into SocketCallback; adjust buidl systems;
prevent double deletion of socket notifier


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:47:35 +00:00
Edwin Leuven
ea0e5ee1d8 small layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20295 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:32:15 +00:00
Abdelrazak Younes
3772f193cc revert rev 20291, a better fix was found in rev 20293
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20294 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:32:11 +00:00
Abdelrazak Younes
7efb007296 Clear out selection and cut stack buffers on exit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:24:08 +00:00
Edwin Leuven
76e3fbcf7a * new file formats panel that includes copier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20292 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:09:57 +00:00
Abdelrazak Younes
75ce500989 Fix bug 4178:
http://bugzilla.lyx.org/show_bug.cgi?id=4178

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 16:50:14 +00:00
Martin Vermeer
0ea6f2c7f1 Support for units and fractional units with values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 16:39:51 +00:00
André Pönitz
6c26624d39 shuffle stuff around; minor coding style issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20289 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 15:42:22 +00:00
Abdelrazak Younes
f53592dd60 LFUN_SCREEN_UP/DOWN: Take into account the off-screen cursor case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20288 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 14:33:37 +00:00
Abdelrazak Younes
78b78ec6e1 Give a sane behaviour to page up/down scrolling when clicking in the page scroll area of the scrollbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 13:59:26 +00:00
Edwin Leuven
e99d97c127 extract code that sets color of widget from ButtonController and move to qt_helpers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 13:06:48 +00:00
Abdelrazak Younes
5afe768b67 Fix crash with math inset with empty string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 12:34:21 +00:00
Abdelrazak Younes
8d52aa5638 Give PageDown/Up scrolling a sane behaviour. Does not work with selection yet...
* BufferView:
- new scroll(), scrollDown() and scrollUp() method for pixel scrolling.
- new LFUN_SCREEN_UP/DOWN handling.
 
* TextMetrics: new helper and access methods.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 12:28:41 +00:00
Richard Heck
2499fdf7f5 This is the last of a series of patches that merges the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This patch adds the GUI for managing modules.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 01:55:09 +00:00
Richard Heck
6f0703e707 Repair behavior of citation dialog after all the recent changes in src/frontends/. Previously, there had been a virtual initialiseParams() method in QCitation which overrode the corresponding method in ControlCitation. But now there is no "local" controller, and so intialiseParams() overrode nothing and so never got called.
I've also made some minor changes here to GuiSelectionManager, changing updateView(), which is now used as a commonly overridden method of GuiDialog, back to update(). The method does not serve the same purpose here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20281 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 01:53:26 +00:00
Abdelrazak Younes
97811b4116 Fix Cursor::setCurrentFont() within mathed.
* DocIterator::innerTextSlice(): new method.
* Cursor::setCurrentFont(): use that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20277 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 12:52:39 +00:00
Jean-Marc Lasgouttes
5031a8eb64 make valgrind happy (although I have no evidence this caused problems)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20276 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 08:11:41 +00:00
Jean-Marc Lasgouttes
a546691ca3 * src/Encoding.cpp (read): silence a compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20275 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 08:05:19 +00:00