Commit Graph

17999 Commits

Author SHA1 Message Date
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
Uwe Stöhr
f7ac332808 German Extended.lyx, UserGuide.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 22:09:02 +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
abefc3a7ad Fix bug 4701.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 16:32:28 +00:00
Richard Heck
5846be6af9 Revert 24482.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 16:25:08 +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
Joost Verburg
2e28b6e57b fix lock on tmpbuf directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24485 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 10:51:56 +00:00
Jean-Marc Lasgouttes
25b9bc9a38 fix on-screen counter for Section in article (AMS)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24484 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 07:32:51 +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
Uwe Stöhr
6363dce008 Shortcuts.lyx: remove the file because it was never more than a stub and also outdated. It's not needed any longer due to the new shortcuts dialog. Fixes http://bugzilla.lyx.org/show_bug.cgi?id=4774
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 01:43:45 +00:00
Uwe Stöhr
5f799621b9 installer: final preparation prepare for the alpha 2 release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24480 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 01:34:33 +00:00
Joost Verburg
72c31a4e73 quit when PDF file no longer exists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24478 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 20:40:46 +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
Jean-Marc Lasgouttes
e68789e372 update japanese l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24473 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 08:30:20 +00:00
Uwe Stöhr
2b6abdef36 installer:
- prepare for the upcoming release
 - use Joost's pdfview program
 - don't always delete the file extension when uninstalling

pdfview: add the needed DLLs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24471 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 01:33:21 +00:00
Enrico Forestieri
48aae811fa Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24470 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 01:13:32 +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
Uwe Stöhr
bcc95ca8c8 fr.po: more updates by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 22:59:24 +00:00
Uwe Stöhr
73b2d12d5b - Makefile.depend: some fixes for r24434
- doc_toc.py: translation by Koji

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24466 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 22:51:01 +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
Uwe Stöhr
e40550aaa3 Math.lyx: description of the new supported commands \brace and \brack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24458 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 19:50:08 +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
Joost Verburg
209e083b19 fix user privileges check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 18:27:25 +00:00
Joost Verburg
ba420624c2 define filename for bundled installer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24451 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 17:55:12 +00:00
Richard Heck
a8f13b250d Endnote is multi paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24450 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 17:52:49 +00:00
Richard Heck
fea52846bb Release note for last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24449 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 17:46:01 +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
José Matox
5b6699bfe9 Back to svn and set course for beta1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24447 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 15:34:58 +00:00
José Matox
b407bba1e9 Clear the stage for lyx-1.6.0 (Alpha 2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24445 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 15:31:59 +00:00
José Matox
2aaf7db7e7 Update translations for 1.6.0 (alpha 2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 14:01:13 +00:00