]>
git.lyx.org Git - features.git/log
Richard Heck [Mon, 8 Nov 2010 17:50:02 +0000 (17:50 +0000)]
Fix bug in fallback reference output with refstyle. Based on idea by
Jean-Pierre Chretien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36211
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 8 Nov 2010 15:15:42 +0000 (15:15 +0000)]
Refstyle info for UPGRADING.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36210
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 8 Nov 2010 08:40:12 +0000 (08:40 +0000)]
don't eat a CPU core when using Qt < 4.4 or EXPORT_in_THREAD == 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36208
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 8 Nov 2010 04:36:11 +0000 (04:36 +0000)]
GuiTabular.cpp: workaround fix for #7022
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36207
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 8 Nov 2010 01:58:36 +0000 (01:58 +0000)]
* ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36206
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Mon, 8 Nov 2010 00:37:58 +0000 (00:37 +0000)]
fix linker errors when using Qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36205
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 7 Nov 2010 22:46:41 +0000 (22:46 +0000)]
Typos and cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36204
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 7 Nov 2010 22:43:08 +0000 (22:43 +0000)]
Common formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36203
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 7 Nov 2010 21:26:02 +0000 (21:26 +0000)]
Move the buffer related part from GuiView::renameBuffer to Buffer::saveAs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36202
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 7 Nov 2010 21:15:01 +0000 (21:15 +0000)]
Missing format info for 406. Also, add revision information to recent changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36201
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Sun, 7 Nov 2010 21:08:23 +0000 (21:08 +0000)]
we now require gettext version 0.18 at least
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36200
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 19:43:04 +0000 (19:43 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36199
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 19:09:26 +0000 (19:09 +0000)]
Release notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36198
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 18:50:51 +0000 (18:50 +0000)]
* Additional.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36197
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 18:46:07 +0000 (18:46 +0000)]
typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36196
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 18:45:26 +0000 (18:45 +0000)]
Squash warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36195
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 7 Nov 2010 17:38:39 +0000 (17:38 +0000)]
Fix assert in all InsetParamsWidget's for unicode characters (bug #7017)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36194
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 7 Nov 2010 16:58:56 +0000 (16:58 +0000)]
NEWS: typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36193
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 7 Nov 2010 16:45:59 +0000 (16:45 +0000)]
FeynmanDiagrams.lyx: fix 2 typos spotted by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36192
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 7 Nov 2010 15:51:09 +0000 (15:51 +0000)]
sr.po: "translations" of proverbs, math operators etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36190
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 7 Nov 2010 15:31:05 +0000 (15:31 +0000)]
stdinsets.inc, InsetERT.cpp: change "ERT" to "TeX" to be consistent - the documentation and all other menus use consequently since LyX 1.6.0 "TeX-code" because it turned out that ERT is a meaningless abbreviation for new users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36189
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 7 Nov 2010 15:28:21 +0000 (15:28 +0000)]
sr.po:
- add missing EOL style
- update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36188
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Sun, 7 Nov 2010 12:29:00 +0000 (12:29 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36186
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 7 Nov 2010 11:12:09 +0000 (11:12 +0000)]
* sr.po: new po file (for Serbian) by Zoran T. Filipovic. Not in LINGUAS since it's still rudimentary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36184
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 7 Nov 2010 05:32:28 +0000 (05:32 +0000)]
GuiTabular: support for multirow offset; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36182
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 7 Nov 2010 04:49:29 +0000 (04:49 +0000)]
FORMAT: add missing entry from r36163 - JMarc, Richard?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36181
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 7 Nov 2010 03:01:26 +0000 (03:01 +0000)]
GuiTabular.cpp:
- apply our naming scheme to unit comboboxes
- set default units
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36180
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 01:54:47 +0000 (01:54 +0000)]
New gettext, new habits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36179
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 01:49:53 +0000 (01:49 +0000)]
Next rescues from r33594, r29337
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36178
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 01:49:48 +0000 (01:49 +0000)]
Rescue proper value from r29337
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36177
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 01:49:44 +0000 (01:49 +0000)]
Rescue proper value for bg.po from r33594
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36176
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 01:49:30 +0000 (01:49 +0000)]
Remerge files which are currently denied by LINGUAS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36175
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 00:55:26 +0000 (00:55 +0000)]
Remerge strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36174
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 00:33:54 +0000 (00:33 +0000)]
Movement of .po files which were newer in branch,
more comments on dev-list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36173
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 7 Nov 2010 00:25:06 +0000 (00:25 +0000)]
Reported by BH
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36172
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 23:27:01 +0000 (23:27 +0000)]
* UPGRADING
Richard, there is probably one paragraph about
refstyle changes and our intensions in future to
be added at the end of this file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36171
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 23:24:50 +0000 (23:24 +0000)]
Update docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36170
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 23:07:19 +0000 (23:07 +0000)]
Feel free to add items if you miss something
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36169
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 22:55:00 +0000 (22:55 +0000)]
Aiksaurus has been killed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36168
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 22:53:12 +0000 (22:53 +0000)]
From what I read Qt 4.2 is dead because of new threads code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36167
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 6 Nov 2010 18:42:19 +0000 (18:42 +0000)]
Remove one FIXME.
Remove "added by lyx2lyx"-type comment. This is now added automatically
by add_to_preamble (and insert_to_preamble, too).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36166
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 6 Nov 2010 17:42:26 +0000 (17:42 +0000)]
lyx_2_0.py:
- remove 2 fixmes; we can be sure that there is space between the table entries
- add comment for the preamble that got lost the last days
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36165
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Sat, 6 Nov 2010 15:06:19 +0000 (15:06 +0000)]
This patch implements proper ERT behaviour for normal layouts.
In particular, it makes paragraph breaks generate single \n in latex output
when ParbreakIsNewline is true
This means that it is not necessary anymore to use newlines to break lines.
Plain paragraph breaks can be used instead, like is done now in ERT/Listings.
This is mainly aimed at sweave support.
lyx2lyx support courtesy of Richard Heck
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36163
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 12:32:47 +0000 (12:32 +0000)]
Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36162
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Sat, 6 Nov 2010 12:18:09 +0000 (12:18 +0000)]
implementation for "Compare with older revision" for CVS, correct return value of SVN::prepareFileRevision for failure to create tmp file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36161
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Sat, 6 Nov 2010 11:54:08 +0000 (11:54 +0000)]
check for user cancel or errors on vcs revert before reload of buffer in LFUN_VC_REVERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36160
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 6 Nov 2010 03:17:23 +0000 (03:17 +0000)]
Squash warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36159
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 6 Nov 2010 03:08:02 +0000 (03:08 +0000)]
Move the lyx2lyx guide to coding/.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36158
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 6 Nov 2010 03:07:34 +0000 (03:07 +0000)]
More lyx2lyx documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36157
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 6 Nov 2010 02:53:29 +0000 (02:53 +0000)]
Fix bug #7019 (Math labels should not be escaped on saving)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36156
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 02:38:35 +0000 (02:38 +0000)]
Quickfix closing #6396.
sleep sleep
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36154
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 02:21:04 +0000 (02:21 +0000)]
Fix RCS part of #6396. Btw revert is slightly broken now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36153
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 6 Nov 2010 00:48:00 +0000 (00:48 +0000)]
The beginnings of a "Programming lyx2lyx" manual, probably to be
extended to prefs2prefs, once that's working.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36152
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 6 Nov 2010 00:39:06 +0000 (00:39 +0000)]
Readd the conversion/reversion for format 405.
This was accidentally removed in r36136.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36151
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 00:34:03 +0000 (00:34 +0000)]
Compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36150
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 6 Nov 2010 00:22:47 +0000 (00:22 +0000)]
src/support/debug.h/cpp:
- rename the private member dt to dt_,
- rename second_ and second_used_ to second_stream and second_enabled_ to have the same terminology as the stream_ and enabled_ member,
- remove FIXME because now we have a Qt pane showing the messages,
- adjust some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36149
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Sat, 6 Nov 2010 00:20:42 +0000 (00:20 +0000)]
CVS implementation for buffer-info vcs-author, cvs-date and cvs-time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36148
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 6 Nov 2010 00:04:21 +0000 (00:04 +0000)]
Compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36147
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 21:23:26 +0000 (21:23 +0000)]
Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36146
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 21:21:01 +0000 (21:21 +0000)]
Remove the FileName parameter of Buffer::loadLyXFile and friends. Now, getAutosaveFileNameFor and getEmergencyFileNamefor can be removed too. Last, the call to lyxvc.file_found_hook can now be centralized and can be given the correct parameter (d->filename instead of the name of the emergency/autosave file).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36145
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 21:14:49 +0000 (21:14 +0000)]
A couple more comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36144
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 21:13:33 +0000 (21:13 +0000)]
Comment out some unused code to save a little load time. It also helps
readers of the class to know what's used and what's not.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36143
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 21:12:44 +0000 (21:12 +0000)]
Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36142
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 20:24:58 +0000 (20:24 +0000)]
Allow for nested setBusy calls.
Before, LyX could crash when calling setBusy(false) while LyX is still in a busy state due to a surrounding setBusy(true)/setBusy(false) construction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36140
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 20:13:58 +0000 (20:13 +0000)]
Make sure we delete this line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36139
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 20:11:51 +0000 (20:11 +0000)]
Find the end of this layout, not the first end_layout tag we see!
Math manual now exports right.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36138
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 20:11:19 +0000 (20:11 +0000)]
Make sure we extend with a list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36137
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 19:59:24 +0000 (19:59 +0000)]
Use find_token_exact so that we do not also find hspace*.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36136
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 19:51:06 +0000 (19:51 +0000)]
Remove use_makebox option from other boxes, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36135
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 18:25:29 +0000 (18:25 +0000)]
Fix bug #6058: Change tracking and versioning.
Computes a hash value for the authors when using change tracking.
Text.cpp, BufferParams.h, Author.h:
Change unsigned int to int because the hash values can be negative.
lyx2lyx:
Allow to convert negative author_ids.
See also: r30756.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36134
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:54:57 +0000 (17:54 +0000)]
Improve how add_to_preamble and insert_to_preamble work, and audit the
various calls to each.
This should more or less complete the lyx2lyx orgy. Some things probably
will have been broken by accident. Hopefully not too many, and more
things that were broken got fixed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36133
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:39:21 +0000 (17:39 +0000)]
insert_to_preamble likes lists of lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36132
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:35:53 +0000 (17:35 +0000)]
These commands should just take some lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36131
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:27:28 +0000 (17:27 +0000)]
Some documentation for lyx2lyx_tools.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36130
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:09:43 +0000 (17:09 +0000)]
So I now understand why find_token_exact is called what it is, but it
does not do what it is supposed to do, in general. Still, I guess it is
best left as it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36129
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 17:02:26 +0000 (17:02 +0000)]
At least rename this argument to something that makes sense.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36128
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:59:27 +0000 (16:59 +0000)]
More documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36127
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 16:51:09 +0000 (16:51 +0000)]
Add a static assert to prevent compilation on platforms where int/usigned int are not 32-bits/4-bytes.
This is added to be sure that the to-be-added author hash is always 32-bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36126
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:43:30 +0000 (16:43 +0000)]
Just a bit of safety here.
This 0 default for end is wrong. You should be able to do:
find_token(lines, token, 0, 0)
and have that return -1. As it is, this is equivalent to:
find_token(lines, token, 0, len(lines))
But I am afraid to change the default, in case something in lyx_1.2.py
relies upon it somehow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36125
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:33:29 +0000 (16:33 +0000)]
Use del_token where it makes sense to do so.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36124
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:22:26 +0000 (16:22 +0000)]
This is the del_token that would be helpful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36123
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:20:32 +0000 (16:20 +0000)]
Move del_token into the files where it is used. We could use such a
thing, but not one that returns what this does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36122
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:18:20 +0000 (16:18 +0000)]
Begin a bunch of comments on the parser tools. You can look through the
file, but it is more helpful to have them summarized here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36121
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 16:04:17 +0000 (16:04 +0000)]
Add two new routines to parser_tools. Somewhere along the way, I wished
I had these. I'm not going to go back and change more code, but these
will be worth having later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36120
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:48:45 +0000 (15:48 +0000)]
Remove FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36119
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:18:47 +0000 (15:18 +0000)]
Rename and restructure get_containing_inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36117
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:13:42 +0000 (15:13 +0000)]
Simplify this complicated routine of mine now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36116
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 5 Nov 2010 15:12:04 +0000 (15:12 +0000)]
Fix bug #7016: Cannot read theorems-ams-bytype.inc.
The old format tag was never deleted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36115
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:11:46 +0000 (15:11 +0000)]
Use get_quoted_value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36114
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:11:37 +0000 (15:11 +0000)]
New routine: get_quoted_value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36113
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:07:32 +0000 (15:07 +0000)]
Move get_value_string to lyx_1_6, since it is only used there. A more
suitable replacement is forthcoming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36112
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 15:01:42 +0000 (15:01 +0000)]
Use str2bool.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36111
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:59:11 +0000 (14:59 +0000)]
Improve the add_to_preamble routine. Now we really check all the lines.
This is crucial, because people often do put the same sort of comment as
the first line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36110
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:58:32 +0000 (14:58 +0000)]
Minor fixups for revert_splitindex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36109
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:50:27 +0000 (14:50 +0000)]
I forgot that the single line case is really OK.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36108
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:48:45 +0000 (14:48 +0000)]
Reminders.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36107
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:44:19 +0000 (14:44 +0000)]
Clean up revert_xetex. So that wasn't the last one.
Minor changes after this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36106
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:39:58 +0000 (14:39 +0000)]
Fix up convert_bibtex_clearpage. The last one!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36105
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:27:30 +0000 (14:27 +0000)]
New str2bool() utility. Python's own bool() returns True for any but an
empty string....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36104
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 5 Nov 2010 14:26:14 +0000 (14:26 +0000)]
Simplify the get_value routines a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36103
a592a061 -630c-0410-9148-
cb99ea01b6c8