Commit Graph

13542 Commits

Author SHA1 Message Date
Uwe Stöhr
d4355c552b tex2lyx/preamble.cpp: fix the import of paragraph settings, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4773
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24404 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 23:22:36 +00:00
Uwe Stöhr
b6eed01602 - tex2lyx/preamble.cpp, text.cpp: add support for \textcolor fixes http://bugzilla.lyx.org/show_bug.cgi?id=2457
- box-color.tex: testfile for tex2lyx to check if colors and boxes are correctly imported

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 23:16:55 +00:00
Uwe Stöhr
fd56ba9b44 fix the makefile after r24396
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24402 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 22:53:43 +00:00
Pavel Sanda
5c501a64dd One more doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24400 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 22:36:07 +00:00
André Pönitz
8abc77f860 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24398 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 21:27:42 +00:00
André Pönitz
a657380659 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24397 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 21:05:35 +00:00
André Pönitz
1e4f4fcd91 move the string conversion functions out-of-line to minimize #includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24396 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 20:32:00 +00:00
André Pönitz
aff97fe9b5 move the filefilter stuff closer to the only place where it is used
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24395 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 19:56:01 +00:00
Richard Heck
2d9a818f37 Fix bug 4772, which was revealed by the removal of the embedding stuff. But the bug itself traces to r22188.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 17:59:14 +00:00
Richard Heck
1626b6e60c Fix bug 4754. The old missing negation problem....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24392 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 17:02:00 +00:00
Richard Heck
d2576eb003 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24390 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 16:34:30 +00:00
André Pönitz
2e11d3ca91 use cheaper includes in ui files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24389 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 16:32:40 +00:00
Pavel Sanda
08c6355a94 * Doxy, lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24388 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 15:43:17 +00:00
Jürgen Spitzmüller
5445b04a9b * src/tex2lyx/tex2lyx.man:
- make the man page a bit less outdated (bug 2770).

note that the page isn't really up to date yet. I didn't check anything thoroughly (especially the "what's supported" and "what's not supported" part). Uwe, maybe a job for you, as you are most familiar with it nowadays.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24386 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 15:22:17 +00:00
André Pönitz
b35b731fbf move citation enums into header of their own
remove biblio:: namespace


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24385 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 15:00:11 +00:00
Jürgen Spitzmüller
4d88adcde5 Fix bug 4750
* src/frontends/qt4/GuiView.{cpp,h}:
	- (closeBuffer): only add buffer to list of last opened files
	  if close buffer is called from within GuiView::closeEvent

* src/Session.cpp: typo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24384 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 12:20:40 +00:00
Jürgen Spitzmüller
b33f1b11e6 spelling fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24380 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 10:26:57 +00:00
André Pönitz
5158ef3ee9 merge GuiCommand into its users.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24376 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 09:24:14 +00:00
André Pönitz
c621ec9843 move GuiCommand into hedar of its own. InsetCommandParams.h is expensive
nowadays ;-|


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24375 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 08:19:26 +00:00
Richard Heck
8a69ffd3bf Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got everything, but this does compile, and it seems to work at least reasonably well. Any problems should of course be reported to the list.
For the record, this developer is sorry that the problems with this code were not noticed much earlier. It's not fun to do so much work and then have it all reverted.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 03:08:11 +00:00
André Pönitz
c206a3953e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24370 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 20:39:48 +00:00
Jürgen Spitzmüller
6790221b2b Fix bug 4656 (OK and Cancel buttons for Paragraph dialog).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24364 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 16:56:40 +00:00
Richard Heck
2208b5c264 Remove embedding stuff from Document>Settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24358 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 15:57:17 +00:00
Richard Heck
5cadecf3f6 Remove embedding stuff from InsetBibtex.
There might be some header cleanup that can be done here, or some uses of forward declarations and such. This was pretty quick and dirty, just to get it done.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24357 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 15:52:35 +00:00
Peter Kümmel
25c08b9345 use auto_ptr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24347 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 10:37:08 +00:00
Peter Kümmel
1609246e19 MinGW fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24345 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 09:40:09 +00:00
Peter Kümmel
1833d310af fix memory leak, using boost::shared_ptr because std::auto_ptr as no value semantic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24344 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 09:36:19 +00:00
André Pönitz
eee0ebdff2 pimpl ButtonController
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24342 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 09:12:34 +00:00
Edwin Leuven
d0eeff3726 this we don't need anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24340 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 08:55:50 +00:00
Edwin Leuven
228582a75e - make line-lovers happy (fix bug 4677)
- don't break multicol cells when appending a column
- disable multicol when selection spans >1 row


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24339 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 08:53:24 +00:00
André Pönitz
8c3e90ef67 pimply buttonpolicy data
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24337 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 08:42:56 +00:00
André Pönitz
ca33681577 forward decalaration is sufficient
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24336 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 07:58:50 +00:00
André Pönitz
f4137a058e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24335 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 20:45:21 +00:00
André Pönitz
4e8bc3adf1 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24334 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 20:14:20 +00:00
André Pönitz
acd3ef6cae cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24333 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 19:52:16 +00:00
André Pönitz
64a3f6d443 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24332 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 19:39:15 +00:00
André Pönitz
05f321db17 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24331 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 19:17:11 +00:00
André Pönitz
d307a338da cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24330 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 18:53:43 +00:00
Pavel Sanda
e0a972486a * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 17:26:11 +00:00
Bo Peng
76d272da30 Embedding: revert embedding options and extra_embedded_files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24328 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 17:06:03 +00:00
Bo Peng
b56a40d7eb InsetInfo: tidy up error messages, fix an obvious bug in menus.cpp that breaks "info-insert menu name"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24327 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 16:26:24 +00:00
Bo Peng
491f30920e InsetInfo: fix an update bug when inserting InsetInfo from minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24326 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 15:54:05 +00:00
Pavel Sanda
f9067526e3 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24325 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 13:18:47 +00:00
Jean-Marc Lasgouttes
a77cd8c0c6 cleanup parser code at least
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24323 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 12:26:21 +00:00
Abdelrazak Younes
108bac9798 Fix recursive repaint. QSlider::setRange() didn't used to trigger valueChanged() signal before to Qt4.4.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24322 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 11:38:02 +00:00
Bo Peng
f8c19c365d Embedding: clean up InsetInclude (hopefully)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24321 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 03:11:06 +00:00
André Pönitz
2c73b5af3c move assert function to a separate file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24318 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 21:11:41 +00:00
Bo Peng
2fd9be2143 Embedding: disinfect GuiInclude.cpp, GuiExternal.cpp, and GuiGraphics.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24317 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 18:19:17 +00:00
Bo Peng
4c92b15528 Embedding: remove embedding checkbox from Graphics, Include and External dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24316 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 18:09:44 +00:00
Edwin Leuven
398d9fdfbb fix http://bugzilla.lyx.org/show_bug.cgi?id=4756
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24315 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 15:07:04 +00:00
Richard Heck
36b99d0420 Add an assertion so we don't see that bug again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24314 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 13:15:27 +00:00
Richard Heck
ffa42cb236 Give us some useful tooltips for modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24312 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 03:27:20 +00:00
Richard Heck
0246d95423 Fix a bug noticed by Stefan: that the module UI was broken. The problem was introduced at r23981. The data() and setData() methods must be kept in sync.
There's also a little cleanup here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24311 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 02:43:57 +00:00
Uwe Stöhr
7ba6ed2654 tex2lyx/Parser.cpp: rename a function since it returns a mandatory argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24310 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 00:22:16 +00:00
André Pönitz
fa804db4ab fix leak in the undo stack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24308 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 22:02:26 +00:00
André Pönitz
b8c086b363 a leak in DocumentClassBundle.
However, I am not really sure we should care about these. It's not much
difference, except that application shutdown in slower after 'fixing'
them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24305 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 21:23:45 +00:00
André Pönitz
f227ebb021 style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24303 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 20:43:30 +00:00
Peter Kümmel
6beb9f973c replace with simpler fix, thx Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24301 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 20:42:33 +00:00
André Pönitz
8d4b7cf4ff squash another valgrind warning. the code was safe, though...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24300 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 20:37:23 +00:00
Peter Kümmel
c72634f95e fix some memory leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24299 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 19:43:06 +00:00
André Pönitz
bdc6d56cc7 initialize scrollbar parameters to some sensible dummy values.
valgrind reported conditional jumps on uninitialized values
in BufferView.cpp:1920


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24298 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 18:18:12 +00:00
Peter Kümmel
2988537f7f there is no trunk/src/intl folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24297 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 16:51:29 +00:00
Peter Kümmel
ca1d4445b1 cleanup namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24296 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 16:48:12 +00:00
Uwe Stöhr
7fa7e2a9d9 languages: support for Mexican Spanish as discussed in http://bugzilla.lyx.org/show_bug.cgi?id=4736
fileformat change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24288 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 00:25:08 +00:00
Uwe Stöhr
82fca3a08d InsetMathNest.cpp: fix bug 4720 for trunk as well
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24287 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 23:44:23 +00:00
Pavel Sanda
1735130e8b * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24278 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 20:17:06 +00:00
André Pönitz
b66c1499be well... use the liberty we now have
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24277 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 18:04:49 +00:00
Abdelrazak Younes
8098065d59 Release compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24275 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 17:26:19 +00:00
Jürgen Spitzmüller
92b646c4d9 * TocUI: adapt tooltip to new situation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 17:17:36 +00:00
André Pönitz
22de2326e9 fix crash on application desctruction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24273 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 17:00:53 +00:00
Richard Heck
61354cd3b2 Fix comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24267 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:32:46 +00:00
Richard Heck
c4f8a516bd This string cannot be translated here, because it is a layout identifier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:32:02 +00:00
Jean-Marc Lasgouttes
ba5c6d5127 add support for a check box in menu for inset-toggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24262 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 14:25:57 +00:00
Jürgen Spitzmüller
642e28fc61 * src/insets/InsetExternal.cpp (validate):
- bug fix: if no specific PDFLaTeX out format is defined, we have to use
	  the LaTeX requirement tag in pdflatex output

* lib/external_templates:
	- remove unneeded PDFLaTeX format specification.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-13 12:50:35 +00:00
André Pönitz
8705679ac8 forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 15:11:59 +00:00
Uwe Stöhr
d3b2f94388 tex2lyx: text.cpp, Parser.h, Parser.cpp:
fix the import of \makebox, fixes http://bugzilla.lyx.org/show_bug.cgi?id=2504

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24244 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 12:50:04 +00:00
Jürgen Spitzmüller
c1e8355205 * src/insets/InsetCollapsable.cpp:
* src/insets/InsetFoot.cpp:
	- make button labels translatable

PLEASE, people, do not forget i18n !!!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24238 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 15:11:27 +00:00
Jürgen Spitzmüller
5997d41b38 ** support pdfpages via external inset **
* development/FORMAT:
* src/Buffer.cpp:
	- format incremented to 326

* src/LaTeXFeatures.cpp:
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- support pdfpages

* lib/external_templates:
	- add template for pdfpages

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add reversion routine.

* lib/configure.py:
	- fix call to "pdftops --eps"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 14:07:25 +00:00
José Matox
456e922dc1 Add missing include, due to André LASSERT change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 12:12:57 +00:00
Dov Feldstern
5dfa0c0381 visual mode for bidi cursor movement --- in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24235 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 12:02:10 +00:00
Jean-Marc Lasgouttes
7912b3af38 a dummy file while we wait for andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 11:04:11 +00:00
André Pönitz
7f461f4392 infrastructure for 'graceful asserts'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 21:49:34 +00:00
André Pönitz
ca0711969b fix #4667
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24204 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 19:53:50 +00:00
Jürgen Spitzmüller
9ad1a3af4f Extended tooltips for footnotes/marginpars:
* src/insets/InsetFoot.{cpp,h}:
* src/insets/InsetMarginal.{cpp,h}:
	- implement tooltip

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24202 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 10:05:00 +00:00
Pavel Sanda
64cfc12f39 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24201 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 09:36:02 +00:00
Jürgen Spitzmüller
1c33b77bec Extended tooltips for floats:
* src/insets/InsetCaption.{cpp,h}:
	- new member getCaptionText that returns formatted plain text content
* src/insets/InsetFloat.{cpp,h}:
* src/insets/InsetWrap.{cpp,h}:
	- implement tooltip

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24200 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 09:22:49 +00:00
Uwe Stöhr
8d6583e9ce tex2lyx/preamble.cpp: change encoding from ascii to auto when importing TeX files, fixes
http://bugzilla.lyx.org/show_bug.cgi?id=4719

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-09 20:19:47 +00:00
Pavel Sanda
322899e0fc * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24191 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-09 15:55:56 +00:00
Jean-Marc Lasgouttes
b7dfae478e headers cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24190 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-09 09:36:08 +00:00
André Pönitz
668e38191c canonical clone() also for InsetHyperlink
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24182 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 20:19:23 +00:00
André Pönitz
b254178702 fix #4717
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24181 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 20:05:26 +00:00
Jürgen Spitzmüller
e624a4176e * GuiToolbar.cpp (sorted_ong_map):
- sort (and prevent assertion).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24177 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 15:59:23 +00:00
Edwin Leuven
24130fa0c2 resuscitate Vert.png as vert2.png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24175 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 14:57:06 +00:00
Pavel Sanda
687306fd0f * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24173 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 13:51:35 +00:00
Jürgen Spitzmüller
c0529a3f0a * src/support/filetools.cpp (unzippedFileName):
- Fix an assertion with compressed image files 
	   that do not have a zip-extension.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 09:28:15 +00:00
André Pönitz
aac50f83e5 cosmetics, maily s/NULL/0/g as hinted by Joost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24160 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 20:43:02 +00:00
Edwin Leuven
a597483545 more cleanup and fix a crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24159 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 20:00:23 +00:00
André Pönitz
1d022b19ba fix #4713
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24158 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 19:19:03 +00:00
Jürgen Spitzmüller
ab3ffd3a59 * src/frontends/qt4/GuiView.cpp:
- make version string in the banner at least partially translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 15:51:35 +00:00
Edwin Leuven
e60e0a0932 clean-up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24150 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 15:07:30 +00:00
Joost Verburg
e332dbe7fa the last parameter is a null pointer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24149 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 14:13:45 +00:00
Joost Verburg
26763681bb new logo graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 12:50:54 +00:00
Pavel Sanda
86f2ce2124 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 12:15:55 +00:00
Enrico Forestieri
40535cb302 Compile fix for cygwin and shut up gcc warning about NULL
used for non-pointer type.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 11:37:50 +00:00
Edwin Leuven
753aa0451d with joost: support for pasting metafiles under windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 07:28:03 +00:00
Dov Feldstern
7412bd1fb1 allow extending a selection to outside a math inset (broken since r22930)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 20:11:05 +00:00
Pavel Sanda
3683371d85 * Another doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24142 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 18:07:44 +00:00
Pavel Sanda
60ef4c5bd9 Add comment for InsetLayout::lyxtype_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 16:17:03 +00:00
Pavel Sanda
54c930ca2f Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24139 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 14:43:28 +00:00
André Pönitz
8d52dfee32 A hack to prevents an additional redraw when the scrollbar pops up
when creating/loading a document.
This regularily happens on documents with more than one page.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 11:52:11 +00:00
Pavel Sanda
726fd69fb9 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24137 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-06 11:19:42 +00:00
André Pönitz
3b7b39b614 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24135 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 21:36:26 +00:00
André Pönitz
e1453ef687 lexer cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24134 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 21:24:57 +00:00
Pavel Sanda
f4c398c2b5 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 20:53:38 +00:00
André Pönitz
efe09aeb50 if we have a buffer we don't need to pass part of it separately...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24132 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 20:24:05 +00:00
André Pönitz
383490dde8 code duplication is fun...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24131 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 19:27:02 +00:00
André Pönitz
835d051ae3 more Lexer;
also move tex2lyx specific code to tex2lyx


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24129 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 19:01:43 +00:00
André Pönitz
37e0c52f1d more compact code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 12:56:43 +00:00
André Pönitz
0e5945667a reorganinze language reading a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24125 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 12:23:27 +00:00
Jürgen Spitzmüller
2704fa5466 * src/frontends/qt4/GuiPrefs.cpp:
* src/frontends/qt4/ui/PrefShortcutsUi.ui:
	- add/disambiguate key accelerators.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24123 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:46:48 +00:00
André Pönitz
e7645f2439 use simpler parser interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:34:29 +00:00
Jürgen Spitzmüller
4846ee98ad * src/frontends/qt4/GuiPrefs.cpp:
- make buttons and items in the Shortcut pane translatable (bug 4710).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24121 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:33:31 +00:00
Jürgen Spitzmüller
981dedfe6b * src/insets/InsetBox.cpp:
- allow paragraph breaks in Framed boxes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24117 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-04 15:01:56 +00:00
Jürgen Spitzmüller
a210f17a19 * src/frontends/qt4/GuiBox.cpp:
* src/insets/InsetBox.cpp:
	- assure that framed boxes do not contain an inner box.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-04 13:33:52 +00:00
Pavel Sanda
8baed10ce1 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24115 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-04 10:50:24 +00:00
Pavel Sanda
9288841931 * Add doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24110 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 22:48:40 +00:00
André Pönitz
209bbab00b use "new" Lexer interface...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24109 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 22:39:06 +00:00
André Pönitz
193c25946b make Lexer interface a bit more friendly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24108 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 22:38:14 +00:00
André Pönitz
cda83b2a62 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24107 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 21:36:57 +00:00
André Pönitz
c88e7a7ef6 simplify Lexer handling a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24106 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 20:55:09 +00:00
André Pönitz
13b5a9e3ce remove 50 lines of duplicated code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24105 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 20:00:04 +00:00
André Pönitz
bd5b4ebd32 make InsetRef parser more robust. I wonder, however, how "empty"
reference insets could have been created to begin with...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 18:40:46 +00:00
André Pönitz
11a0458d3f next try...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 23:06:22 +00:00
André Pönitz
2012beb58e revert last patch. there's something wrong, possibly unrelated to this
patch, but as this was rather largish...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:44:33 +00:00
André Pönitz
7677e9487c simplify Lexer use a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:14:45 +00:00
André Pönitz
e9293e28ac remove unused code; also code cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24097 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 19:12:47 +00:00
Jean-Marc Lasgouttes
680a2f39b6 restore line removed by mistake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 17:08:48 +00:00
Joost Verburg
75896240e4 Use *.* to select all files in the file selection dialog on Windows. Using shortcuts for navigation is now possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 12:03:47 +00:00
Pavel Sanda
53efaaee73 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24091 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 00:33:10 +00:00
Edwin Leuven
94699b5865 don't draw selection too wide (esp visible in full screen mode)
there is still one issue which is related (or so i think) to the pit is not being updated when extending a selection to a new row with cursor right/left. i left a FIXME in the code

i put this in since it is a uniform improvement on the current situation...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24089 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 17:53:26 +00:00
Jürgen Spitzmüller
c2ebb0b952 * some UI clarification on \enspace vs. \enskip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 14:53:29 +00:00
Jean-Marc Lasgouttes
73ad1dd688 fix compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24084 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 10:29:48 +00:00
Jean-Marc Lasgouttes
6e74e240ff do not use #ifdef in main code; use the lyxrc.dist mechanism to provide defaults for mac osx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24083 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 09:18:03 +00:00
Enrico Forestieri
2ad48f204b Fix bug 4668
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24080 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 02:29:41 +00:00
Pavel Sanda
bdcb56dc62 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24079 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 00:59:59 +00:00
Richard Heck
eeb3efd5c5 Don't subclass std::vector.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24078 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-31 22:22:34 +00:00
Edwin Leuven
f1cec322f1 fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4688
nest sideways in multicolumn instead of other way around

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24071 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-31 12:09:24 +00:00
Enrico Forestieri
fd0e789dea Only add \makeatletter and \makeatother to the preamble when actually needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24068 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-31 01:26:57 +00:00
Enrico Forestieri
b5acd03891 Allow using \binom without amsmath and add support for \brace and \brack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24067 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-31 01:23:25 +00:00
Pavel Sanda
8a20f27f6e Fullscreen: correct restoring of window state.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-30 22:27:17 +00:00
Pavel Sanda
84f49dd34d * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24058 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-30 01:35:40 +00:00
Richard Heck
66a94937c3 EmbeddedFile::enable() should take a reference instead of a pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24055 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:32:52 +00:00
Bo Peng
534b81a5c1 Return the right params[embed] from GuiBibtex.cpp, for safety reasons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24054 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:28:49 +00:00
Uwe Stöhr
30663a8019 Fileformat change.
Provide only one Japanese language that is encoding independent, patch partly by Koji Yokata.
This fixes http://bugzilla.lyx.org/show_bug.cgi?id=4597

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:25:40 +00:00
Richard Heck
749cbb30ad Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24052 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:13:32 +00:00
Uwe Stöhr
bd0301699a Silent a console warning, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4667
Patch initially by Richard.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24051 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:12:24 +00:00
Richard Heck
16784c49aa I seem to have missed this crucial line before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24049 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 22:13:30 +00:00
Richard Heck
5b90d7a7d5 s/createBibFiles/updateBibFiles/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24048 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 21:53:25 +00:00
Bo Peng
94a347350c Revert the addition of a static calcInzipName function, polish createBibFiles function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24047 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 20:24:49 +00:00
Richard Heck
8555235f68 Cosmetics, and simplify updateEmbeddedFile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24043 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 16:17:30 +00:00
Richard Heck
b9c79778d7 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24042 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 16:12:38 +00:00
Richard Heck
5287622cfa Enabling should not be done here, and no longer needs to be.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 15:39:19 +00:00
Richard Heck
c811c3a2ad Add calcInzipName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24040 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 15:37:22 +00:00
Richard Heck
54a7f725db Improve createBibFiles so it does not recreate the whole list each time. Adapt other things to new findFile() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24039 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 15:32:36 +00:00
Richard Heck
f4c88d4f34 Improve these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24038 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 15:22:58 +00:00
Richard Heck
eae4e41141 Introduce findFile() and simplify registerFile().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24037 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 15:01:12 +00:00
Richard Heck
2ce335e013 A couple cosmetic changes. Move the unicode problem where it belongs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24036 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 14:49:13 +00:00
Richard Heck
891a62a984 Mostly cosmetic changes., but getBibFilesCache should be done on any parameter change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24035 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 14:41:29 +00:00
Richard Heck
3fd0f8e7fd Mostly cosmetic changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24034 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 14:38:38 +00:00
Edwin Leuven
fdaf744c4a implement separate color for text in selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24033 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 11:21:36 +00:00
Pavel Sanda
ecc19ca1a8 Fix compilation problems on Mac OSX 10.5.2 Leopard.
( http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg137757.html )


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24024 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 01:45:24 +00:00
André Pönitz
0e09045e08 small simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24023 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 23:46:47 +00:00
André Pönitz
444dc60b23 one more mistake...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24020 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 20:05:33 +00:00
Abdelrazak Younes
53daaabef4 Add tabular context menu. Feel free to enhance/modify Edwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24018 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 18:50:33 +00:00
André Pönitz
ad4171e679 fix yesterday's bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24017 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 18:48:01 +00:00
Edwin Leuven
71487ff1ff fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4677
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24016 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 12:00:53 +00:00
Abdelrazak Younes
99a6fbfbe7 MSVC warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24015 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 09:04:48 +00:00
Abdelrazak Younes
2530fdb9ab FontIterator is only used in TextMetrics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24013 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 08:45:33 +00:00
André Pönitz
640ac2650b this feels more natural...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24008 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 23:37:59 +00:00
André Pönitz
f9b81e51e9 remove remaining MailInsets.
please check your favourite insets, I am sure I broke _something_...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24006 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 22:26:24 +00:00
Edwin Leuven
0ae4b20a28 clean-up after andré ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24004 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 11:14:17 +00:00
André Pönitz
3069acd6de remove InsetBoxMailer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24001 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 07:26:37 +00:00
Richard Heck
09b189e74c Cosmetics. And avoid conversion of EmbeddedFile to FileName. That seems suspicious.
This may change shortly, anyway, though.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23999 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 05:05:21 +00:00
Richard Heck
49ddf294a6 Actually, let's use the immediate parent's buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23998 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 04:35:26 +00:00
Richard Heck
55910b346a Use the method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23997 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 04:34:19 +00:00
Richard Heck
c769ac08f2 Do not overwrite the parameters, just set the ones we need to set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23996 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 04:06:38 +00:00
André Pönitz
241575ed86 remove InsetVSpaceMailer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23992 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 00:21:35 +00:00
André Pönitz
209b04eaa9 remove InsetWrapMailer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23991 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 00:07:54 +00:00
André Pönitz
ba348ede83 this feels good...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23990 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 23:41:35 +00:00
Enrico Forestieri
958b6b7069 Fix bug 4665:
http://bugzilla.lyx.org/show_bug.cgi?id=4665


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23989 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 22:38:41 +00:00
André Pönitz
d9a3ca2033 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23988 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 22:25:43 +00:00
André Pönitz
b305d4c386 Fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23986 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 19:50:20 +00:00
Pavel Sanda
1d41399375 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23984 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 19:30:46 +00:00
Pavel Sanda
89a58051e1 Make Richard happy (Find Next via LFUN_WORD_FIND).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23983 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 19:20:17 +00:00
Edwin Leuven
2886b49360 use whole with of the dialog to show symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:58:33 +00:00
Edwin Leuven
4faa1fe330 * clean-up layout document class settings
* enable tooltips in document class combobox

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23981 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:57:42 +00:00
André Pönitz
beed264f23 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23980 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:53:57 +00:00
André Pönitz
22fa3ab061 fix compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23979 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 18:53:18 +00:00
Richard Heck
c743f16b7a Revert inadvertent commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23978 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 17:12:24 +00:00
Richard Heck
a9302220c2 Fix my fixme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23977 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 17:11:49 +00:00
Richard Heck
40f58da65a Another buffer pointer fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23976 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 17:02:24 +00:00
Richard Heck
e13589ef99 Revert last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23975 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 16:55:57 +00:00
Richard Heck
5ddb79e2a0 Fix for bug 4670, by JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23974 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 16:43:29 +00:00
Stefan Schimanski
ffaab7d150 * use the buffer's path as the base path when computing the filename of an
include command (like it is done in InsetBibtex).
  This fixes master/child latex output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23973 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 16:02:32 +00:00
Pavel Sanda
1c115ba7cb * doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23972 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 15:43:47 +00:00
Stefan Schimanski
98787bbec6 * corrected handling of validation of math macros. The macro instances
will require the needed LaTeXFeatures of their definition and their
  paramenters.
* Require the "xargs" package when there is a macro with optional
  parameters which is prepended to a child document which is rendered alone.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23971 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 12:55:36 +00:00
Edwin Leuven
b98a650fa1 don't call cellIndex with invalid columns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23969 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 10:34:48 +00:00
Stefan Schimanski
72068adf9c * infinite loops are not good
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23968 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 10:32:20 +00:00
Jürgen Spitzmüller
c876a2e7c7 Merge the two linebreak insets into one.
* src/Buffer.cpp:
	- file format change to 324
* development/FORMAT:
	- document file format change

* src/insets/InsetNewline.{cpp,h}:
	- the former two separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the two kinds.

* src/Text3.cpp:
	- The newline insets are now being generated with 
	   newline-insert [newline|linebreak]

* src/factory.cpp:
* src/Text.cpp:
	- Newline inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
	- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
	  add LFUN_NEWLINE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newline insets.

* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
	- adapt menu and add context menu to switch between newpage variants.

* lib/bind/*.bind:
	- adapt to new lfuns.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
Richard Heck
30c7f6f019 Revert last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23965 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 04:08:20 +00:00
Richard Heck
0922e29029 Make InsetText store a Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23964 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 03:54:44 +00:00
Pavel Sanda
024c973d74 Add doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23963 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 01:59:46 +00:00
Abdelrazak Younes
8946ff512d Fix some issues with cursor settings with mouse button3 (text3:LFUN_MOUSE_RELEASE), simplify and correct InsetCollapsable mouse events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23957 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 21:44:30 +00:00
Edwin Leuven
cc786534d8 don't know what i am doing here, but removing this doesn't seem to have any side effects
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23956 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 21:36:54 +00:00
Edwin Leuven
998787c78b make selecting several rows/col more convenient
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23955 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 21:26:03 +00:00
Edwin Leuven
30a290743d more border tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 20:48:48 +00:00
Richard Heck
2df6a6a378 Require a buffer on construction of InsetGraphics and InsetExternal. Eventually, this idea should probably be extended to all Insets, one or two at a time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23950 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 16:08:39 +00:00
Edwin Leuven
4806c3f4cc rename some methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23947 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 13:32:38 +00:00
Edwin Leuven
0d8b67e2b7 small layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23946 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 13:26:32 +00:00
Edwin Leuven
5e6343c9d1 take care of overlooked contingency
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23945 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 11:40:16 +00:00
Abdelrazak Younes
fb25ff1819 Cleanup mouse/selection/context-menu interactions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23944 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 10:54:38 +00:00
Jürgen Spitzmüller
d2a4c97ab8 Merge the diverse newpage insets into one.
* src/Buffer.cpp:
	- file format change to 323
* development/FORMAT:
	- document file format change

* src/insets/InsetNewpage.cpp:
	- the former four separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the various kinds.

* factory.cpp:
	- The newpage insets are now being generated with 
	   newpage-insert [newpage|pagebreak|clearpage|cleardoublepage]

* src/Text.cpp:
	- Newpage inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
	- remove LFUN_PAGEBREAK_INSERT, LFUN_CLEARPAGE_INSERT
	  and LFUN_CLEARDOUBLEPAGE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newpage insets.

* lib/ui/stdmenus.inc:
	- adapt menu and add context menu to switch between newpage variants.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 09:26:03 +00:00
Jürgen Spitzmüller
4b1cfb9852 * stdmenus.inc:
* src/insets/InsetCollapsable.inc:
	- specific context menu for conglomerate insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23940 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 06:17:18 +00:00
Jürgen Spitzmüller
e7e67bb9e9 * src/insets/InsetCaption.cpp:
- better fix for the inset-toggle crash resovled in rev. 23929.
	  Now, collapsing works again as in 1.5.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23939 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 05:33:39 +00:00
Richard Heck
7460abc627 Fix bug 4651. Bo, if you read this: Is there a cleaner way to do this, so that we can set parameters the way we used to? i.e., via setParam(p) here? rather than having to go through these hoops in updateParam()?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23938 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 05:13:38 +00:00
Pavel Sanda
5183c380b7 PlainLayout -> Plain Layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23934 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 21:08:51 +00:00
Richard Heck
0894f32bc6 Fix buffer pointer crash. (Another.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23932 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 20:32:52 +00:00
Richard Heck
82a738b853 Fix branch insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23931 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 19:18:18 +00:00
Richard Heck
7d57b49746 Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23930 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 18:56:12 +00:00
Jürgen Spitzmüller
499d2a991d * src/BufferView.cpp:
- reintroduce check for dispatch state

* src/insets/InsetCaption.cpp:
	- disable LFUN_INSET_TOGGLE

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23929 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 18:22:54 +00:00
Jürgen Spitzmüller
241a8442d7 fix the general collapsable context-menu:
* src/InsetCollapsable.cpp (getStatus):
	- fix the logic

* src/BufferView.cpp:
	- fix next-inset-toggle
	- don't require argument for inset-settings

* lib/stdmenus.inc (context-collapsable):
	- use next-inset-toggle instead of inset-toggle
	- add (optional) inset-settings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 16:33:56 +00:00
Jürgen Spitzmüller
56a974ac55 * LyXAction.cpp: doxy correction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23927 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 15:30:37 +00:00
Jürgen Spitzmüller
37824d1c5e * LyXAction.cpp: doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23926 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 15:26:37 +00:00
Jürgen Spitzmüller
4128d441d9 * LyXAction.cpp: doxy correction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23925 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 15:02:44 +00:00
Jürgen Spitzmüller
bb51488435 * src/BufferView.cpp:
* src/Text3.cpp:
	- fix LFUN_INSET_SETTINGS so that it also works at cursor position.

* LyXAction.cpp:
	- doxy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23923 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 14:12:19 +00:00
Edwin Leuven
8aae2dcd3b remove cruft (simplify code)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23922 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 14:03:00 +00:00
Jürgen Spitzmüller
e1ac6d4118 Some context menu work:
* src/BufferView.cpp:
* src/FuncCode.h:
* src/LyXAction.cpp:
	- new LFUN_NEXT_INSET_MODIFY

* src/insets/InsetBox.{cpp, h}:
* src/insets/InsetCommand.{cpp,h}:
* src/insets/InsetNote.{cpp,h}:
* src/insets/InsetSpace.{cpp,h}:
* src/insets/InsetVSpace.{cpp,h}:
	- implement context menu and access to some changes

* lib/ui/stdmenus.ui:
	- new context menus for Box, Space, VSpace, Note.
	- extend the context menu for InsetRef.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:33:48 +00:00
Jürgen Spitzmüller
39cf72b803 * src/Text3.cpp:
- disallow comments and greyedout notes inside commands (sections etc.)
	  This fixes bug 4180 partially (the change is still possible via the dialog).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23917 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:20:06 +00:00
Richard Heck
d252730dff New AddToPreamble tag for layout files. This tag will ADD some information to the document premable rather than completely over-write it, as the Preamble tag does.
Increment layout format to 7.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:11:16 +00:00
Richard Heck
700af7e701 Add support for document-local layout information. GUI is to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 12:31:07 +00:00
André Pönitz
bcf91dd85c unneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23912 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 10:28:35 +00:00
Jürgen Spitzmüller
c6007086b1 * src/frontends/qt4/GuiGraphics.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
	- now that we have a context menu to edit graphics, remove the Edit button
	  from the dialog, as discussed in this thread:
	  http://marc.info/?l=lyx-devel&m=118344997913166&w=2

The same should be done for other insets that have an edit function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23911 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 09:32:34 +00:00
Bo Peng
057dd755f5 Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 04:27:43 +00:00
Pavel Sanda
136182e4e8 Add doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23908 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 23:02:52 +00:00
Jürgen Spitzmüller
48778460a0 * src/insets/InsetSpace.{cpp, h}:
- this inset is now editable. Mark as such and add an editable method (allows for opening the inset dialog with
	  "next-inset-toggle".
	- implement context menu (no actual menu yet).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23907 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 15:19:01 +00:00
Richard Heck
4219c529c2 Help us out here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23906 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 14:40:29 +00:00
Richard Heck
6fc256105e Similar fix to last commit for InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23905 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 14:27:31 +00:00
Richard Heck
ec5ac0486a Revert 23899 and introduce the correct fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23904 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 14:26:13 +00:00
André Pönitz
d8ab0622c5 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23903 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 13:59:51 +00:00
Edwin Leuven
41a01648a7 simplify logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23901 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 11:35:46 +00:00
Bo Peng
46f37cfd3a Fix GRAPHICS_EDIT of InsetGraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23899 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 04:02:33 +00:00
Jürgen Spitzmüller
fb1f95ff00 * src/frontends/GuiSymbols.cpp:
- make categories translatable. This might slow down the dialog again a bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-22 14:49:03 +00:00
André Pönitz
8a14d5380a cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23897 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-22 09:32:38 +00:00
André Pönitz
821e276407 remove unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23896 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-22 09:05:09 +00:00
Pavel Sanda
b271e3e06d Change string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23894 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-22 02:19:07 +00:00
André Pönitz
62d5a54ae7 small optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23893 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 22:51:36 +00:00
André Pönitz
a7f29a35ee cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23892 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 22:31:57 +00:00
André Pönitz
6b28f08ff2 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23891 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 21:47:37 +00:00
André Pönitz
f8afb49165 forgot this part...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23890 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 21:08:57 +00:00
André Pönitz
f182333311 improved position caching
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23889 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 20:47:29 +00:00
Richard Heck
6a2921d119 Needless comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23888 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 19:38:02 +00:00
André Pönitz
0011f47885 speed up symbol panel population
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:55:26 +00:00
Richard Heck
94e0c24753 Make decoration default to, uh, Default. Flex insets will then default to conglomerate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23886 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:49:23 +00:00
Richard Heck
9cdb718aa5 Fix crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23885 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:45:22 +00:00
Abdelrazak Younes
2e9d0f7524 rev 23880: forgot this!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:40:27 +00:00
André Pönitz
0d5e1782f0 Use a custom model + QListView instead of QListWidget in the Symbols
dialog. Functionality is unchanged. 
Populating the 'All Symbols' panel for utf8 files is around 5s.
Not nice, but bearable. There's still room for improvement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23883 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:32:06 +00:00
Abdelrazak Younes
7f02beb990 temporary fix for http://bugzilla.lyx.org/show_bug.cgi?id=4613
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:18:46 +00:00
Abdelrazak Younes
de6f93296f Context menu for collapsing minimalistic insets such as ERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23880 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:02:47 +00:00
Richard Heck
b922cfd3b3 Another attempt at 2178. This is a "minimal" patch designed to fix the bug with the minimum amount of new code. A better fix, suggested by Andre, would merge InsetTableCell and CellData into one class, in which case InsetTableCell::cell_data_ can be removed. A definite plus. I'll do that later if this works. But let's get it right first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 17:45:14 +00:00
Pavel Sanda
d5ad3f6d7a Next make dist shot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23878 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 17:31:14 +00:00
André Pönitz
b9bee4dd86 small step towards s/QListWidget/QListView/g
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23877 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:53:15 +00:00
André Pönitz
f23773c8c5 small refactoring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23876 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:45:01 +00:00
André Pönitz
1f2cee9589 some un-intrusie changes first...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:33:23 +00:00
André Pönitz
2b91a5acbe cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:16:43 +00:00
Pavel Sanda
027563eec2 Add doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:11:27 +00:00
Pavel Sanda
5e768ab842 Next attempt to sanitize make dist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 14:05:41 +00:00
José Matox
45d42022f7 Add headers necessary to compile with g++ 4.3 (I am not sure about the typeinfo, the others are clearly correct).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23862 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 11:26:20 +00:00
Edwin Leuven
ed58c7dcd9 remove unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23860 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 09:53:25 +00:00
André Pönitz
f333b5da5f cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23859 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 09:30:19 +00:00
Richard Heck
e995e8556b Prepare for InsetTableCell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23858 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 06:16:05 +00:00
Pavel Sanda
da99ef82e5 Sanitize make dist in trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 23:40:18 +00:00
André Pönitz
6c97761563 even example code should follow the style conventions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23855 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 20:36:30 +00:00
André Pönitz
42fb18c6f8 look up LANGUAGE and LC_ALL only once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23854 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 19:35:53 +00:00
Bo Peng
8753847055 Listings: Move \label{} outside of caption={}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23853 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 16:04:22 +00:00
José Matox
7ef2816cd0 remove lengthcommon.cpp and use it as a link from the upper dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23849 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 13:20:18 +00:00
José Matox
6180809e9e revert last changes to client Makefile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23848 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 12:42:26 +00:00
Jean-Marc Lasgouttes
8aa1bf1f5c fix the make check machinery. The support/filetools check fails, but the problem is in the test itself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23847 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 10:04:55 +00:00
Edwin Leuven
b7406da7f0 * new function to set border around selection
* add to toolbar + icon
* update border icons to match in size

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23846 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 08:45:40 +00:00
Pavel Sanda
01bd0aa6d7 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23845 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 02:10:21 +00:00
André Pönitz
6a64982eb5 cleanup/compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23843 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 00:19:10 +00:00
André Pönitz
de17493932 simpliofy {Gui}FontLoader architecture a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23842 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 00:00:53 +00:00
André Pönitz
bef955a971 save a few more cycles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23841 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:28:28 +00:00
André Pönitz
64de7857b4 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23839 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:18:00 +00:00
André Pönitz
1fe1450af9 remove a few conversions.
maybe moving the stringtable into a fuynction makes sens to prevent
initialization on startup...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23838 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:17:36 +00:00
André Pönitz
16fa6c5f0f slight speed improvement...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23837 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 22:05:54 +00:00
José Matox
2b1859e8f0 Fighting with autotools to have a building system :-(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23836 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 19:37:35 +00:00
Jürgen Spitzmüller
7c7bfce40d revert accidental commit. Sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23835 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:20:18 +00:00
Jürgen Spitzmüller
ce09085156 * src/frontends/qt4/PanelStack.{cpp, h}:
- fix issues with clicking and keyboard movement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23834 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 18:15:16 +00:00
Pavel Sanda
42eb8a373a Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23830 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 17:31:09 +00:00
Richard Heck
f2cd36e8ad Change the signature of forceEmptyLayout(), so that we can pass a cell index with it. We'll need this to get tables right.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23829 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 16:21:33 +00:00