Commit Graph

2239 Commits

Author SHA1 Message Date
Enrico Forestieri
1fa1e7c66b Avoid a crash on exit (Mac and Windows).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24566 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 18:23:46 +00:00
Jean-Marc Lasgouttes
9b4a26a252 rename assert.h to lassert.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 08:26:40 +00:00
Stefan Schimanski
06f9763b45 * only use path to decide whether a path segment "helped" to make the
string unique in the tabbar. Otherwise the "..." give strange
  behaviour because foo/.../bla.lyx is different from foo/bla.lyx.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-29 15:45:06 +00:00
Stefan Schimanski
48999ee671 * Some more clever elide mode for the LyX buffer tabs. In trunk
currently the whole path is (possibly with some unmotivated ... in
  the middle) used which is usually far too long.

  The algorithm implemented here will start with absolute paths. From
  left to right path segments are added to the display string if they
  help to make the display strings more unique. Otherwise nothing is
  added, or if some middle path segments are omitted otherwise, three
  dots ... are used.

  The result is that we get just the base filename without extension if
  they are unique in the tabbar.

  The patch is open for discussion. If there is demand we can create
  yet another preference option to get back the old behaviour.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-29 15:44:07 +00:00
Edwin Leuven
6226f89571 fix leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24553 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-29 13:57:07 +00:00
Jürgen Spitzmüller
764b5cf859 support for default master document.
file format change.

This is the last feature for today. Promised.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 16:38:56 +00:00
Jürgen Spitzmüller
4f81d0eff7 * Menus.cpp:
- make it work with multiple keys.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24539 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 16:25:54 +00:00
Jürgen Spitzmüller
99f2abf59f dynamic context menu for InsetCitation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 15:21:55 +00:00
Jürgen Spitzmüller
b66a83ca8e * GuiBibtex.cpp:
- fix problem with preceeding comma in bibtotoc mode that broke LaTeX output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24534 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 12:57:41 +00:00
Jürgen Spitzmüller
7578832919 Improvements to the External dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 06:19:25 +00:00
Jürgen Spitzmüller
c778f093ea basic context menu for InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 05:12:28 +00:00
Jürgen Spitzmüller
74d1f2cb2f * GuiView.{cpp, h}:
- fix compilation (gcc didn't like the string arguments in the header file)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 04:57:31 +00:00
Abdelrazak Younes
bf27334cfa Some dialog consistency work:
* Dialog::updateData(): try to reset the dialog even if there's no Buffer.
* GuiView::updateBufferDependent():
- renamed to updateDialogs()
- don't hide when there's no current work area, try to disable instead.
- now also take care of toolbars and other elements. 
* TocWidget: delay item selection to avoid unwanted node collapsing after setting a new model.

Expect crash and/or assertions for dialogs that are not ready for this non-hiding change. I will fix them iteratively.
There are still too many dialogs updates going on...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24529 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 22:24:20 +00:00
Jürgen Spitzmüller
1458cd52b7 * implement "inset-edit" in InsetInclude.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 18:03:21 +00:00
Jürgen Spitzmüller
fa2f8d159b * merge LFUN_EDIT_EXTERNAL and LFUN_EDIT_GRAPHICS to one LFUN_EDIT_INSET (bug 3975)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24526 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 16:20:12 +00:00
Jürgen Spitzmüller
37aefe13ff improvements to the Citation UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24507 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-26 08:07:46 +00:00
Richard Heck
2193a50605 Implement a cache for BibTeX data. There was a cache of sorts already in InsetCitation, but that was being used only to cache the labels. So that has been moved to Buffer, and everything else that needs access to BibTeX data should call either Buffer::localBibInfo(), which gives you the BiblioInfo for this Buffer, or Buffer::masterBibInfo(), which gives you the BiblioInfo for the Buffer's master, if it has one, or for it, otherwise. Normally, what you want is masterBibInfo().
Thanks to Andre for help with linking problems.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 20:03:03 +00:00
Richard Heck
45eee3cbbb Add "Search as You Type" option to citation dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 19:38:31 +00:00
Abdelrazak Younes
f1d25c23f8 Don't hide dialogs upon buffer switch. I've been wanting to do this for a looonnng time...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24502 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 12:45:39 +00:00
Richard Heck
022ea0feb6 Fix part of bug 4775. We need to search here only when the user requests it, and not try to do "search as you go". This is too slow, even on fast machines, if you have more than a handful of entries.
I've also added some tooltips to direct people to the keyboard shortcuts.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 18:30:31 +00:00
Richard Heck
696f745f63 Some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24494 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 18:19:40 +00:00
Richard Heck
7a24384e6d Some improvements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 18:18:43 +00:00
Richard Heck
d0d6796931 One more, noted by Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24463 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 22:08:35 +00:00
Enrico Forestieri
7090e9d776 Compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24438 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 00:54:56 +00:00
Pavel Sanda
5cbf181f1e Compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24427 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 22:42:26 +00:00
Pavel Sanda
1a8a650fa3 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24423 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 22:19:31 +00:00
André Pönitz
5d61ceb81d fix #4758
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24416 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 19:12:15 +00:00
Abdelrazak Younes
60cb88d2ef Tabular de-spaghettization, step 2: move functions to where they are used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 13:47:01 +00:00
Abdelrazak Younes
884bb0c4bc Tabular de-spaghettization, step 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24413 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 13:33:39 +00:00
Jürgen Spitzmüller
5084d54f41 improvements to the Shortcuts UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 10:10:12 +00:00
André Pönitz
3e729d8743 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24407 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 06:53:00 +00:00
André Pönitz
b271b9f0f6 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24406 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 06:36:06 +00:00
André Pönitz
0d47ef086c compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24405 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 06:30:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Bo Peng
51ac7d895c Move editing, shortcuts, keyboard/mouse and completion to a separate category in the preference dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 14:32:40 +00:00
Pavel Sanda
e204871d35 Add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 13:28:47 +00:00
Jürgen Spitzmüller
6fac185d81 * src/frontends/qt4/GuiPrefs.{cpp,h}:
* src/frontends/qt4/PanelStack.cpp:
	- reintroduce panel categorization (bug 4153).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 13:11:14 +00:00
Pavel Sanda
a0f4be8515 Enlarge symbols combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23822 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 09:00:12 +00:00
Edwin Leuven
e01e14872d Free line setting in tabulars. FILE FORMAT CHANGE.
- gets rid of the M_TOGGLE_LINE_... functions
- allows arbitrary clines without multicol
- sets arbitrary vertical lines through multicol 
- drop row/col line properties, everything is now stored at the cell level

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 18:08:32 +00:00
Jürgen Spitzmüller
2a2c2d8986 Move completion to a pane of its own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23811 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 17:31:17 +00:00