]> git.lyx.org Git - lyx.git/log
lyx.git
16 years agoWhitespace.
Richard Heck [Thu, 20 Sep 2007 07:46:08 +0000 (07:46 +0000)]
Whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20371 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoIndentation fix.
Richard Heck [Thu, 20 Sep 2007 06:22:07 +0000 (06:22 +0000)]
Indentation fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20369 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMake it prettier.
Richard Heck [Thu, 20 Sep 2007 05:05:10 +0000 (05:05 +0000)]
Make it prettier.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20368 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoWhitespace fix.
Richard Heck [Thu, 20 Sep 2007 05:02:53 +0000 (05:02 +0000)]
Whitespace fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20367 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoIntroduce LFUN_MASTER_BUFFER_VIEW and UPDATE. Code by Tommaso Cucinotta.
Richard Heck [Thu, 20 Sep 2007 05:00:23 +0000 (05:00 +0000)]
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

16 years agoSilence a warning.
Richard Heck [Thu, 20 Sep 2007 04:27:16 +0000 (04:27 +0000)]
Silence a warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20365 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoreduce #includes
André Pönitz [Wed, 19 Sep 2007 22:37:22 +0000 (22:37 +0000)]
reduce #includes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20363 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoOne more second..
André Pönitz [Wed, 19 Sep 2007 21:28:11 +0000 (21:28 +0000)]
One more second..

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20362 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoSimpler structure, 2-3s faster compiles. Not that it matters much...
André Pönitz [Wed, 19 Sep 2007 21:10:00 +0000 (21:10 +0000)]
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

16 years agocut down pch.h to more frequently needed headers
André Pönitz [Wed, 19 Sep 2007 20:17:00 +0000 (20:17 +0000)]
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

16 years agooops! fix case
Edwin Leuven [Wed, 19 Sep 2007 14:59:42 +0000 (14:59 +0000)]
oops! fix case

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20359 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoanother small layout tweak
Edwin Leuven [Wed, 19 Sep 2007 12:29:08 +0000 (12:29 +0000)]
another small layout tweak

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20358 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomake sure formats are sorted and converters up-to-date
Edwin Leuven [Wed, 19 Sep 2007 10:16:44 +0000 (10:16 +0000)]
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

16 years agolayout tweaks
Edwin Leuven [Wed, 19 Sep 2007 09:08:07 +0000 (09:08 +0000)]
layout tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20356 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix typo
Martin Vermeer [Wed, 19 Sep 2007 08:32:56 +0000 (08:32 +0000)]
fix typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20355 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoPolish
Martin Vermeer [Tue, 18 Sep 2007 20:48:39 +0000 (20:48 +0000)]
Polish

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20354 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoPick up some stitches dropped by Abdel ;-)
Martin Vermeer [Tue, 18 Sep 2007 20:18:50 +0000 (20:18 +0000)]
Pick up some stitches dropped by Abdel ;-)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20353 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGerman Tutorial.lyx: fix path name
Uwe Stöhr [Tue, 18 Sep 2007 19:56:00 +0000 (19:56 +0000)]
German Tutorial.lyx: fix path name

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20352 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFulfill promise to Andre: TextClass_ptr --> TextClassPtr.
Richard Heck [Tue, 18 Sep 2007 17:46:14 +0000 (17:46 +0000)]
Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20349 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUpdate makefiles from a previous commit.
Richard Heck [Tue, 18 Sep 2007 17:02:15 +0000 (17:02 +0000)]
Update makefiles from a previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20345 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMove logical markup to a module, per Martin.
Richard Heck [Tue, 18 Sep 2007 16:29:38 +0000 (16:29 +0000)]
Move logical markup to a module, per Martin.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20342 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd a note to the theorem module descriptions.
Richard Heck [Tue, 18 Sep 2007 16:27:14 +0000 (16:27 +0000)]
Add a note to the theorem module descriptions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20341 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRemove endnote from stdcustom.inc, as it is now in the endnotes module.
Richard Heck [Tue, 18 Sep 2007 16:24:36 +0000 (16:24 +0000)]
Remove endnote from stdcustom.inc, as it is now in the endnotes module.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20340 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd decoration to endnotes module.
Richard Heck [Tue, 18 Sep 2007 16:23:46 +0000 (16:23 +0000)]
Add decoration to endnotes module.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20339 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoForgot this, suppress debug output
Martin Vermeer [Tue, 18 Sep 2007 15:06:32 +0000 (15:06 +0000)]
Forgot this, suppress debug output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20338 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUnits corrections, all Georg's noticed problems
Martin Vermeer [Tue, 18 Sep 2007 15:04:58 +0000 (15:04 +0000)]
Units corrections, all Georg's noticed problems

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20337 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/LaTeX.cpp (scanLogFile):
Jürgen Spitzmüller [Tue, 18 Sep 2007 13:38:30 +0000 (13:38 +0000)]
* 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

16 years agoFix InsetBox drawing and remove remnant of the wide() hack.
Abdelrazak Younes [Tue, 18 Sep 2007 08:52:38 +0000 (08:52 +0000)]
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

16 years agocompile fix
André Pönitz [Mon, 17 Sep 2007 23:00:53 +0000 (23:00 +0000)]
compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20333 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosmall simplification
André Pönitz [Mon, 17 Sep 2007 22:51:03 +0000 (22:51 +0000)]
small simplification

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20332 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* InsetCollapsable::draw(): replace use of dim_ with InsetText::dimension().
Abdelrazak Younes [Mon, 17 Sep 2007 22:18:07 +0000 (22:18 +0000)]
* 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

16 years agotemporarily disabling mouse hover feature as it is causing painting problems.
Abdelrazak Younes [Mon, 17 Sep 2007 22:11:13 +0000 (22:11 +0000)]
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

16 years agolittle simplification
André Pönitz [Mon, 17 Sep 2007 22:04:17 +0000 (22:04 +0000)]
little simplification

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20329 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoremove InsetCaption::drawSelection(): this was not used.
Abdelrazak Younes [Mon, 17 Sep 2007 21:51:32 +0000 (21:51 +0000)]
remove InsetCaption::drawSelection(): this was not used.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20328 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoremove InsetCollapsable::drawSelection(): this was not used.
Abdelrazak Younes [Mon, 17 Sep 2007 21:48:25 +0000 (21:48 +0000)]
remove InsetCollapsable::drawSelection(): this was not used.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20327 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCleanup the TEXT_TO_INSET_OFFSET mess. This correction is done now once in InsetText...
Abdelrazak Younes [Mon, 17 Sep 2007 21:45:14 +0000 (21:45 +0000)]
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

16 years agoUserGuide.lyx: correct description of date format
Uwe Stöhr [Mon, 17 Sep 2007 21:32:36 +0000 (21:32 +0000)]
UserGuide.lyx: correct description of date format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20325 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMSVC compil fix.
Abdelrazak Younes [Mon, 17 Sep 2007 20:27:38 +0000 (20:27 +0000)]
MSVC compil fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20323 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosimplify KeySymbol stuff. which hopefully works...
André Pönitz [Mon, 17 Sep 2007 18:41:03 +0000 (18:41 +0000)]
simplify KeySymbol stuff. which hopefully works...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20322 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* lib/ui/stdmenus.inc:
Jürgen Spitzmüller [Mon, 17 Sep 2007 14:19:23 +0000 (14:19 +0000)]
* lib/ui/stdmenus.inc:
- tag "Box" entry with [[Menu]] (bug 4196)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20321 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics.
André Pönitz [Sun, 16 Sep 2007 20:58:22 +0000 (20:58 +0000)]
cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20319 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomake index label translatable
Bo Peng [Sun, 16 Sep 2007 14:43:10 +0000 (14:43 +0000)]
make index label translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20318 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdjust scons_manifest.py for the removal of SocketCallback.h|cpp
Bo Peng [Sun, 16 Sep 2007 14:17:54 +0000 (14:17 +0000)]
Adjust scons_manifest.py for the removal of SocketCallback.h|cpp

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20314 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDisplay index name in InsetIndex label
Bo Peng [Sun, 16 Sep 2007 14:08:16 +0000 (14:08 +0000)]
Display index name in InsetIndex label

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20313 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbeddedObjects.lyx: new section about scaled and rotated material
Uwe Stöhr [Sun, 16 Sep 2007 12:46:50 +0000 (12:46 +0000)]
EmbeddedObjects.lyx: new section about scaled and rotated material

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20312 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* Ambigous else
Lars Gullik Bjønnes [Sun, 16 Sep 2007 10:41:33 +0000 (10:41 +0000)]
* Ambigous else
* Missing header file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20309 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAmbigous else
Lars Gullik Bjønnes [Sun, 16 Sep 2007 10:40:29 +0000 (10:40 +0000)]
Ambigous else

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20308 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoComment out unused parameter
Lars Gullik Bjønnes [Sun, 16 Sep 2007 10:39:44 +0000 (10:39 +0000)]
Comment out unused parameter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20307 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMove encode into anon namespace.
Lars Gullik Bjønnes [Sun, 16 Sep 2007 10:38:59 +0000 (10:38 +0000)]
Move encode into anon namespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20306 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoWhitespace changes only
Lars Gullik Bjønnes [Sun, 16 Sep 2007 10:38:25 +0000 (10:38 +0000)]
Whitespace changes only

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20305 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRemove warnings reported with gcc 4.3:
Lars Gullik Bjønnes [Sun, 16 Sep 2007 10:36:57 +0000 (10:36 +0000)]
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

16 years agoWhy would boost::array<Bullet, 4> be better than Bullet[4]?
André Pönitz [Sat, 15 Sep 2007 23:04:28 +0000 (23:04 +0000)]
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

16 years agoconsmetics
André Pönitz [Sat, 15 Sep 2007 22:56:09 +0000 (22:56 +0000)]
consmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20300 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoforgot these
André Pönitz [Sat, 15 Sep 2007 20:32:38 +0000 (20:32 +0000)]
forgot these

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20299 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosome remnaming
André Pönitz [Sat, 15 Sep 2007 20:31:50 +0000 (20:31 +0000)]
some remnaming

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20298 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbedding: add a check box to InsetGraphic and show/change embedding status
Bo Peng [Sat, 15 Sep 2007 18:31:32 +0000 (18:31 +0000)]
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

16 years agoRename class socket_callback into SocketCallback; adjust buidl systems;
André Pönitz [Sat, 15 Sep 2007 17:47:35 +0000 (17:47 +0000)]
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

16 years agosmall layout tweaks
Edwin Leuven [Sat, 15 Sep 2007 17:32:15 +0000 (17:32 +0000)]
small layout tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20295 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agorevert rev 20291, a better fix was found in rev 20293
Abdelrazak Younes [Sat, 15 Sep 2007 17:32:11 +0000 (17:32 +0000)]
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

16 years agoClear out selection and cut stack buffers on exit.
Abdelrazak Younes [Sat, 15 Sep 2007 17:24:08 +0000 (17:24 +0000)]
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

16 years ago* new file formats panel that includes copier
Edwin Leuven [Sat, 15 Sep 2007 17:09:57 +0000 (17:09 +0000)]
* new file formats panel that includes copier

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20292 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix bug 4178:
Abdelrazak Younes [Sat, 15 Sep 2007 16:50:14 +0000 (16:50 +0000)]
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

16 years agoSupport for units and fractional units with values
Martin Vermeer [Sat, 15 Sep 2007 16:39:51 +0000 (16:39 +0000)]
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

16 years agoshuffle stuff around; minor coding style issues
André Pönitz [Sat, 15 Sep 2007 15:42:22 +0000 (15:42 +0000)]
shuffle stuff around; minor coding style issues

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20289 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoLFUN_SCREEN_UP/DOWN: Take into account the off-screen cursor case.
Abdelrazak Younes [Sat, 15 Sep 2007 14:33:37 +0000 (14:33 +0000)]
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

16 years agoGive a sane behaviour to page up/down scrolling when clicking in the page scroll...
Abdelrazak Younes [Sat, 15 Sep 2007 13:59:26 +0000 (13:59 +0000)]
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

16 years agoextract code that sets color of widget from ButtonController and move to qt_helpers
Edwin Leuven [Sat, 15 Sep 2007 13:06:48 +0000 (13:06 +0000)]
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

16 years agoFix crash with math inset with empty string.
Abdelrazak Younes [Sat, 15 Sep 2007 12:34:21 +0000 (12:34 +0000)]
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

16 years agoGive PageDown/Up scrolling a sane behaviour. Does not work with selection yet...
Abdelrazak Younes [Sat, 15 Sep 2007 12:28:41 +0000 (12:28 +0000)]
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

16 years agoThis is the last of a series of patches that merges the layout modules development...
Richard Heck [Sat, 15 Sep 2007 01:55:09 +0000 (01:55 +0000)]
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

16 years agoRepair behavior of citation dialog after all the recent changes in src/frontends...
Richard Heck [Sat, 15 Sep 2007 01:53:26 +0000 (01:53 +0000)]
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

16 years agolyx2lyx: use parseopt instead of getopt (the documentation of options
José Matox [Fri, 14 Sep 2007 14:37:14 +0000 (14:37 +0000)]
lyx2lyx: use parseopt instead of getopt (the documentation of options
         is kept in sync with its usage)

LyX.py:  make source more readable, place whitespaces, break long
         lines, add documentation strings, etc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20279 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix Cursor::setCurrentFont() within mathed.
Abdelrazak Younes [Fri, 14 Sep 2007 12:52:39 +0000 (12:52 +0000)]
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

16 years agomake valgrind happy (although I have no evidence this caused problems)
Jean-Marc Lasgouttes [Fri, 14 Sep 2007 08:11:41 +0000 (08:11 +0000)]
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

16 years ago * src/Encoding.cpp (read): silence a compiler warning.
Jean-Marc Lasgouttes [Fri, 14 Sep 2007 08:05:19 +0000 (08:05 +0000)]
* 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

16 years agoText::breakParagraph wants a bool as second parameter, not an int
Jean-Marc Lasgouttes [Fri, 14 Sep 2007 08:00:12 +0000 (08:00 +0000)]
Text::breakParagraph wants a bool as second parameter, not an int

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20274 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoSurely we do not need to see this every time either.
Richard Heck [Fri, 14 Sep 2007 06:35:59 +0000 (06:35 +0000)]
Surely we do not need to see this every time either.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20271 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoSurely we do not need to see this every time.
Richard Heck [Fri, 14 Sep 2007 06:33:53 +0000 (06:33 +0000)]
Surely we do not need to see this every time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20270 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoBad encoding in previous commit.
Richard Heck [Fri, 14 Sep 2007 01:07:37 +0000 (01:07 +0000)]
Bad encoding in previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20269 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUpdate info on me.
Richard Heck [Fri, 14 Sep 2007 01:05:32 +0000 (01:05 +0000)]
Update info on me.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20268 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoSomehow this got missed when (partially) fixing the recursive include problem.
Richard Heck [Fri, 14 Sep 2007 01:03:55 +0000 (01:03 +0000)]
Somehow this got missed when (partially) fixing the recursive include problem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20267 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoWhitespace.
Richard Heck [Thu, 13 Sep 2007 22:25:37 +0000 (22:25 +0000)]
Whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20266 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoamsmaths.inc: fix copy and paste bug spotted by Georg, see http://www.lyx.org/trac...
Uwe Stöhr [Thu, 13 Sep 2007 18:33:06 +0000 (18:33 +0000)]
amsmaths.inc: fix copy and paste bug spotted by Georg, see http://www.lyx.org/trac/changeset/20257

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20264 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbedding: handle readOnly files correctly.
Bo Peng [Thu, 13 Sep 2007 15:09:56 +0000 (15:09 +0000)]
Embedding: handle readOnly files correctly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20262 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoForce current font to red typewriter in ERT
Martin Vermeer [Thu, 13 Sep 2007 14:29:44 +0000 (14:29 +0000)]
Force current font to red typewriter in ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20261 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDarken vertical stroke on + sign as it disappears on some graphic cards.
Enrico Forestieri [Thu, 13 Sep 2007 13:08:07 +0000 (13:08 +0000)]
Darken vertical stroke on + sign as it disappears on some graphic cards.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20260 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbedding: fix the add file feature (update dialog, mark buffer dirty, copy embedded...
Bo Peng [Thu, 13 Sep 2007 05:30:44 +0000 (05:30 +0000)]
Embedding: fix the add file feature (update dialog, mark buffer dirty, copy embedded file ...)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20256 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbedding: initialize enableCB checkbox correctly
Bo Peng [Thu, 13 Sep 2007 05:04:05 +0000 (05:04 +0000)]
Embedding: initialize enableCB checkbox correctly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20255 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbedding: mark buffer dirty after enable/disable bundling
Bo Peng [Thu, 13 Sep 2007 04:56:46 +0000 (04:56 +0000)]
Embedding: mark buffer dirty after enable/disable bundling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20254 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbedding: mark buffer dirty after changing embedding status
Bo Peng [Thu, 13 Sep 2007 04:45:49 +0000 (04:45 +0000)]
Embedding: mark buffer dirty after changing embedding status

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20253 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCustomization.lyx: revise Converters, Copiers and Formats section
Uwe Stöhr [Thu, 13 Sep 2007 01:14:55 +0000 (01:14 +0000)]
Customization.lyx: revise Converters, Copiers and Formats section

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20252 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago- UserGuide.lyx: finish the beast!
Uwe Stöhr [Thu, 13 Sep 2007 01:12:56 +0000 (01:12 +0000)]
- UserGuide.lyx: finish the beast!
   Only this issue is open, help needed!:
   http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg127198.html

- German UserGuide.lyx: fix typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20250 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd tests/regfiles/biblio to EXTRA_DIST
André Pönitz [Wed, 12 Sep 2007 20:36:08 +0000 (20:36 +0000)]
Add tests/regfiles/biblio to EXTRA_DIST

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20248 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix crash with old versions (earlier than 2.2.92) of fontconfig.
Enrico Forestieri [Wed, 12 Sep 2007 19:07:22 +0000 (19:07 +0000)]
Fix crash with old versions (earlier than 2.2.92) of fontconfig.

* src/frontends/qt4/GuiFontLoader.{cpp,h}
(GuiFontLoader::GuiFontLoader): don't store font IDs anymore,
as we are not going to clean up after ourselves.
(GuiFontLoader::~GuiFontLoader): make it virtual again and
do nothing (avoids a crash with fontconfig < 2.2.92).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20246 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agorevert my last accidental Customization.lyx commit
Uwe Stöhr [Wed, 12 Sep 2007 18:50:26 +0000 (18:50 +0000)]
revert my last accidental Customization.lyx commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20245 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoUserGuide.lyx: more work on Appendix B
Uwe Stöhr [Wed, 12 Sep 2007 18:42:58 +0000 (18:42 +0000)]
UserGuide.lyx: more work on Appendix B
Customization.lyx: revise converters section

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20244 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoEmbedding: update related insets when the embedding status of a fileitem is changed
Bo Peng [Wed, 12 Sep 2007 14:27:47 +0000 (14:27 +0000)]
Embedding: update related insets when the embedding status of a fileitem is changed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20240 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* bufferview_funcs.cpp:status(): use new TextMetrics::parPosition().
Abdelrazak Younes [Wed, 12 Sep 2007 12:07:45 +0000 (12:07 +0000)]
* bufferview_funcs.cpp:status(): use new TextMetrics::parPosition().

* TextMetrics::cursorNext(): compil fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20239 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agouse mkdir -p directly since (1) we know darwin supports it and (2) we do not know...
Jean-Marc Lasgouttes [Wed, 12 Sep 2007 10:30:25 +0000 (10:30 +0000)]
use mkdir -p directly since (1) we know darwin supports it and (2) we do not know whether to use $(mkdir_p) (automake 1.10) or $(MKDIR_P) (automake 1.9) (bug 4216)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20238 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix PageDown/Up temporarily.
Abdelrazak Younes [Wed, 12 Sep 2007 08:15:56 +0000 (08:15 +0000)]
Fix PageDown/Up temporarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20237 a592a061-630c-0410-9148-cb99ea01b6c8