Commit Graph

13357 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
951dfe70a7 * InsetBibtex.cpp:
- some more tooltip information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24535 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 13:13:42 +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
ebf295a245 * InsetBibtex.{cpp,h}:
- add tooltip.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24533 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 12:48:04 +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
878b3ce315 Implement basic context menu for include insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 15:49:15 +00:00
Jürgen Spitzmüller
fa568e12f0 * move extended tooltips support to InsetCollapsable (fixes bug 3778).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24524 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 14:47:07 +00:00
Uwe Stöhr
0d7fe3346f - tex2lyx/test-insets.tex: make it compilable, update the document, and add some testcases
- tex2lyx/box-color-sizes-spacings-alignments.tex: update the document
- tex2lyx/text.cpp: correct some typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24521 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 13:32:20 +00:00
Uwe Stöhr
1396dc00a5 tex2lyx/text.cpp: remove support for \centering and the like as first step to fix the broken paragraph alignment import, see bug 4806
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24520 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 12:44:09 +00:00
Uwe Stöhr
04911c0462 tex2lyx/text.cpp:
- fix an off by one error in the font size handling, fixes bug 4803
- support \lyxline, fixes bug 4795

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24518 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 10:54:06 +00:00
Edwin Leuven
b802c68fe1 more line fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 09:12:53 +00:00
Jürgen Spitzmüller
0c59c26b08 some index fixes:
* src/insets/InsetIndex.{cpp,h} (latex):
	- a more general method to get the index sorting of
	  formatted strings and macros right (bug 4800).

Please test, everybody. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24515 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 08:52:43 +00:00
Jürgen Spitzmüller
3742ece3ec * InsetIndex.h:
- fix bug 4801.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24514 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-26 15:03:52 +00:00
Jürgen Spitzmüller
96b0466c49 some index fixes:
* src/insets/InsetIndex.{cpp,h} reimplement ::latex in order to:
	- un-\protect the index entry (fixes bug 4600).
	- handle formatted index entries (bug 4800). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24513 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-26 14:24:28 +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
Jürgen Spitzmüller
0dafe24d16 * src/insets/InsetListingsParams.cpp:
- prevent invalid pointer (bug 4780).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 12:40:27 +00:00
Edwin Leuven
133d84c42b fix http://bugzilla.lyx.org/show_bug.cgi?id=4792
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 11:56:21 +00:00
Abdelrazak Younes
ec148ab77f Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4791
error out if the sysdir argument is erroneous.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 08:34:09 +00:00
Uwe Stöhr
329461c700 tex2lyx/text.cpp: take care of the brace pair after comment environments that are there when the TeX file was created by LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24498 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 00:38:59 +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
Edwin Leuven
26e958bac7 smarter line setting in latex tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24492 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 17:26:17 +00:00
Richard Heck
27f2bdf4e3 Fix bug 4782.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 16:08:11 +00:00
Edwin Leuven
d95201096e this we don't use anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24488 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 15:54:04 +00:00
Bo Peng
a095d0d785 Remove remaining embedding bits and minizip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 14:33:16 +00:00
Richard Heck
d63fe2bb8f A leftover. Removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24483 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 02:36:45 +00:00
Richard Heck
8a74c33df1 Make the logic a bit clearer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 18:49:55 +00:00
Jean-Marc Lasgouttes
7cb13055f3 one less use of inset codes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24476 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 13:00:57 +00:00
Jean-Marc Lasgouttes
92e71f01ee * Inset.h (producesOutput): new mvirtual method, returning true by
default
	* InsetNote.h (producesOutput): always return false.
	* InsetBranch.h (producesOutput):  returns true if the branch is 
	selected.

	* InsetBranch.cpp (updateLabels):
	* InsetNote.cpp (updateLabels): remove

	* InsetText.cpp (updateLabels): honor producesOutput().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24475 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 10:55:51 +00:00
Jean-Marc Lasgouttes
69500a4eb3 Fix bug 4779 (printing not possible)
http://bugzilla.lyx.org/show_bug.cgi?id=4779

This was a collateral damage of the 'lyxlex simplification'.`


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24474 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 10:25:34 +00:00
Richard Heck
f514c2f1ee Fix an old typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24469 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 23:12:36 +00:00
Uwe Stöhr
8488930e7f InsetBibtex.cpp: compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 23:09:20 +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
Richard Heck
10cb37247f Just a little cosmetic thing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 21:55:33 +00:00
Richard Heck
57a75dc9cf This doesn't return a reference any more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24460 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 20:55:44 +00:00
Richard Heck
d0a44283fd Fix comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24459 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 20:21:55 +00:00
Richard Heck
2b77c5d4af Now fix the cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24455 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 18:33:07 +00:00
Richard Heck
4b33a37c97 Whoops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24454 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 18:32:00 +00:00
Richard Heck
8c99d7227e Fix bug 4576. Bug was mixed up with Empty Layout stuff. It was not always easy for me to know then which test I needed to do, but if there are more of these, they'll be similar. Anyway, the right test here would have been:
if (!par->forceEmptyLayout())
but in fact things can be simplified more.

Cosmetics will follow. This patch makes the action more obvious.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24453 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 18:30:43 +00:00
Richard Heck
42a5a56e29 Fix bug 1781 by removing server-get-font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24448 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 17:45:22 +00:00
Peter Kümmel
9f9d9500c0 on include is enought
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24443 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 13:59:59 +00:00
Peter Kümmel
84d52469ec * lstring.cpp: parts already implemented in qstring_helpers.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 13:59:26 +00:00