Commit Graph

28233 Commits

Author SHA1 Message Date
Tommaso Cucinotta
492d837e62 Use the main document's buffer(), when scanning for citations from within the citation dialog.
This allows to pick and search for citations present in the main document.

This was started to be discussed in a relatively unrelated bug #7581, then the patch
was proposed here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169277.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38847 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 17:33:36 +00:00
Tommaso Cucinotta
f1965e9ff1 Bugfix in how the search buffer was exported for the Advanced Find & Replace.
For example, before this footnotes were not correctly found.
Added also accompanying regression test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38846 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 17:08:48 +00:00
Richard Heck
6432010065 Fix bug #7576 as suggested there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38844 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 16:01:16 +00:00
Richard Heck
176123afcf Fix tab order for crossref dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38843 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 15:50:12 +00:00
Richard Heck
3883cca61b Fix bug reported on user list. Children included more than once in
the same document could not be rendered.

Problem was that we were using children_positions to deal with the
included documents. That structure only includes each child once.
We need to use position_to_children, instead.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38842 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 14:16:52 +00:00
Tommaso Cucinotta
c92c9057e1 Now advanced find and replace doesn't ignore white spaces while matching with ignore format.
This fixes #7584.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38839 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 13:44:44 +00:00
Richard Heck
b51df2761b We were already using it here. Why wasn't I warned?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38838 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 13:36:05 +00:00
Richard Heck
2d6173d810 Fix problem first reported by Diego: If you try to view a child document,
the macros declared in the parent do not work. This is because we were
cloning only the child, which then didn't have a parent.

The solution is to clone the whole structure, starting with the master
document. As a side effect, we only clone each child once.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38837 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-26 13:20:11 +00:00
Kornel Benko
12cecb196d Some more patterns for files which should not be included in source tar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38836 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-25 15:22:00 +00:00
Enrico Forestieri
ce655c25c2 The time_t type seems to be an unsigned type when compiling with MSVC.
Thus, we can't rely on the returned timestamp being -1 if a pdf doesn't exist.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38835 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-25 13:06:33 +00:00
Kornel Benko
9a1d2080ef Changed 'správa' to 'hlásenie' for sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38834 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-25 10:14:25 +00:00
Kornel Benko
f2e437f6b8 Prepare cmake-build for debian multiarch implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38830 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-24 06:58:40 +00:00
Julien Rioux
b18e8e7a02 Fix bug #7543: Default Output Format in Preferences
does not contain all the possible options.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38828 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-24 01:26:41 +00:00
Jürgen Spitzmüller
5cbd9cf8d9 * BufferParams.cpp: font name can be non-ASCII! (bug #7569).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38826 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 17:14:29 +00:00
Kornel Benko
91a5a3360b Zlib search adapted for ubuntu 11.4, 64 bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38825 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 16:51:58 +00:00
Kornel Benko
4e67cdb038 Typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38824 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 10:40:50 +00:00
Kornel Benko
4ed0b6cd53 Creat source package with 'make package_source' from inside the build directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38823 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 08:44:32 +00:00
Uwe Stöhr
ba19877fb9 installer: fix 2 things that went in my accidentally in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38821 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 04:21:10 +00:00
Uwe Stöhr
d964457d9a installer: merge LyXWinInstaller with the new one, see my mail
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38820 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 04:12:10 +00:00
Tommaso Cucinotta
466af97c39 Addressing #7581: now I'm copying the document class as well
from the main document WA to the find/replace WAs (in addition
to the language, as required for addressing #6560).
I'm not cloning the whole BufferParams because we learned
from

  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg168175.html

that, for example, if we inherit the default master by mistake,
then we may run into problems.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38819 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 21:09:57 +00:00
Enrico Forestieri
2c6719f6d9 Tweak it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38818 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 18:53:53 +00:00
Enrico Forestieri
b7598f01e7 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38817 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 18:48:46 +00:00
Peter Kümmel
aa2f9c541b vld: less output.
status: (maybe there are false alarms)
  - open then close -> 39 leaks
  - open, load tutorial, close -> 3004 leaks
  - open, load user guide, close -> 9059 leaks

     

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38815 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 14:58:25 +00:00
Peter Kümmel
ea7102624c cmake: add vld config and output file to project
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38814 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 14:36:17 +00:00
Kornel Benko
fb31e271e3 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38813 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 13:45:38 +00:00
Kornel Benko
6551ff4a39 Creation of LFUNs.lyx added
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38812 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 12:45:12 +00:00
Peter Kümmel
82741b94a0 cmake: integrate vld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38811 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 11:38:10 +00:00
Peter Kümmel
69a049a0d4 vld: remove msvc2005 project file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38810 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 11:29:48 +00:00
Peter Kümmel
16bf5dabb7 visual leak detector: update add patch for msvc10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38809 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 11:26:44 +00:00
Kornel Benko
b0716b0f13 Cpack variables and package creation transfered to LyxPackaging.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38808 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 09:33:53 +00:00
Kornel Benko
4fb3e19aa7 Hold cpack-variables together
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38807 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 08:38:31 +00:00
Peter Kümmel
1924463981 cmake: update TODO list, move svnrvison code, remove duplicated code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38806 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 08:18:54 +00:00
Kornel Benko
e307b60811 Revert the not needed part for 'Run in place', as it was already done
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38805 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 14:15:55 +00:00
Kornel Benko
9190519e98 1.) Run in place feature: If everything fails, try with source path
2.) Read the PATCH_VERSION from configure.ac too
3.) Ident-text in script


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38804 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 13:48:45 +00:00
Peter Kümmel
883c7d7be9 master cmakefile "What a mess!"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38803 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 12:26:05 +00:00
Peter Kümmel
8759fb5f7f cmake: better cmake messages, don't overwrite CPacks default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38802 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 12:17:05 +00:00
Vincent van Ravesteijn
a522dd5035 Whitespace: correct whitespace after r38779 and r38789.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38799 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 10:44:27 +00:00
Peter Kümmel
a6a612b325 cmake: also support binary releases on Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38797 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 10:29:41 +00:00
Peter Kümmel
a80188fec4 cmake: generate ready-to-use nsis files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38796 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 09:50:41 +00:00
Peter Kümmel
1f25841d59 cmake: prepage ready-to-use nsis files generation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38795 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 08:57:52 +00:00
Peter Kümmel
282c245c20 cmake: also fixup on win32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38794 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-20 22:26:46 +00:00
Kornel Benko
2cc59e8f60 Corected docs for use LYX_USERDIR_VER
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38792 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-20 06:42:00 +00:00
Kornel Benko
cf52bab933 Remove the need for perl if creating doc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38791 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-20 06:40:04 +00:00
Richard Heck
ddc585317c Revert r38779. I guess even the most innocent seeming of these will need more work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38789 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 11:56:36 +00:00
Kornel Benko
b5828f9df4 Gracefuly omit doc creation if no perl detected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38787 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 07:44:04 +00:00
Stephan Witt
46d1f8a03c #7564 move the text cursor to the end of the word after replace of the misspelled with suggested text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38786 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 05:54:47 +00:00
Stephan Witt
56960daa7c #7564 add new argument to the documentation of LFUN_WORD_REPLACE, make the default of the new argument backward compatible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38785 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 05:50:55 +00:00
Uwe Stöhr
50ac0bf872 installer/lyx.nsi: reversion of the conversion to utf8 (was not a clever idea in r38783)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38784 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 02:37:36 +00:00
Uwe Stöhr
2c8f77f33e installer:
- lyx.nsi: transform to Unicode
- settings.nsh: update to latest MiKTeX version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38783 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 00:51:40 +00:00
Uwe Stöhr
8cd8785630 installer: whitespace only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38782 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 00:49:34 +00:00