Richard Heck
b9f48eb945
Fix bug #8666 . Parts should have toclevel -1.
...
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.
2013-05-10 13:19:38 -04:00
Uwe Stöhr
6cfa7feb6d
PageLayoutUi.ui: use a more sensible option name
2013-05-10 18:34:05 +02:00
Uwe Stöhr
c962e1ca1d
Math.lyx: fix a typo
2013-05-10 16:24:11 +02:00
Uwe Stöhr
1112a17372
GuiMathMatrix.cpp: fix a compiler warning
2013-05-10 13:13:20 +02:00
Jean-Marc Lasgouttes
cc00530743
Remove cruft
2013-05-08 15:12:42 +02:00
Jean-Marc Lasgouttes
151960440e
Another try at making the source view dock arrange itself.
...
The idea is to minimize the size of the form that contains the buttons.
Since I do not really know what I am doing, I will revert if problems occur.
2013-05-07 11:30:46 +02:00
Jean-Marc Lasgouttes
249d96ed94
Small clanup (just move functions around)
2013-05-06 22:50:26 +02:00
Jean-Marc Lasgouttes
68202fdf44
Fix bug 6055: change-next does not work in tables
...
The problem was just the faulty use of CursorSlice::at_begin/end(), which does not look for end of cell, but end of inset.
2013-05-06 12:29:27 +02:00
Uwe Stöhr
1b32a0502e
Revert "tex2lyx/text.cpp: fix a typo spotted by clang"
...
This reverts commit 055b425b64
.
This requires much more work and i don't have time to do this now
2013-05-06 01:54:17 +02:00
Uwe Stöhr
055b425b64
tex2lyx/text.cpp: fix a typo spotted by clang
2013-05-06 01:35:38 +02:00
Uwe Stöhr
72b2c54fae
GuiBox.cpp: fix a dialog initialization issue
...
thanks Jean-Marc for the hint
2013-05-06 01:31:04 +02:00
Tommaso Cucinotta
bd9e8fecd3
Automatic horiz/vert switch also for Advanced Tab (completing e3677975
).
2013-05-05 15:09:53 +01:00
Tommaso Cucinotta
e36779755e
Automatic horiz/vert switch of layout when docking Advanced F&R pane top-bottom/left-right (copying 49c2450f
).
2013-05-05 14:08:40 +01:00
Pavel Sanda
49c2450f3f
Add layout intelligence to View Source pane (bug #8653 ).
...
View Source pane layout now automatically switches between horizontal
and vertical design when docked in vertical or horizontal way.
Original idea and patch from Edwin.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg178801.html
Note: the long standing-fight with too bulky minimal QTextEdit size
is now solved via ViewSourceUi.sizePolicy=Ignored.
2013-05-04 23:05:51 -07:00
Richard Heck
030326466f
Set "dryrun" to true for XHTML copying routine. This suppresses
...
the production of images, etc, making copying even the entire
User's Guide and almost instantaneous operation.
2013-05-04 08:30:56 -04:00
Pavel Sanda
dae6ca73df
ViewSourceUi.ui layout was broken
2013-05-04 01:09:07 -07:00
Pavel Sanda
9d478d5587
Comment.
2013-05-03 21:45:59 -07:00
Uwe Stöhr
4b53c0d6c1
UserGuide.lyx: next revision step
...
- revised sec. 6 - 6.6
- describe longest label feature for bibliography environment
2013-05-04 02:48:54 +02:00
Richard Heck
5636646134
Don't consider unnumbered sections for tocdepth.
2013-05-03 17:49:19 -04:00
Scott Kostyshak
33b0cff2f3
header_check.sh: allow exclusion of common headers
...
Continuing to address #6305
2013-05-03 01:59:57 -04:00
Richard Heck
8e23cfdbdc
Minor cleanup.
2013-05-02 21:23:11 -04:00
Richard Heck
b4e2a65d50
The update here needs doing no matter what.
...
This fixes a bug introduced in db358a4315
.
2013-05-02 21:21:24 -04:00
Uwe Stöhr
81539ec435
installer: fix an issue
...
- also take care of emergency releases when updating LyX
- add some prerequisites for a new feature
2013-05-03 01:11:32 +02:00
Richard Heck
9c749331a0
Re-rename. The last renaming broke monolithic compilation.
2013-05-02 15:21:19 -04:00
Richard Heck
edd127f993
Make strings used in various assertions non-static.
2013-05-02 15:21:19 -04:00
Jean-Marc Lasgouttes
ea6240b785
Even more llvm/clang warnings
...
Remove lyxview_ member of lyx::Action, fix a prototype in TexStream and comment out a Cursor function.
2013-05-02 19:22:10 +02:00
Jean-Marc Lasgouttes
623d2f9530
More llvm/clang warnings
...
This is mostly unused private class members.
There are also a few unused functions that got #if'ed out. I never know in this case whether the code should be nuked.
2013-05-02 18:27:32 +02:00
Jean-Marc Lasgouttes
bd2e7480b1
A first batch of potential bugs spotted by llvm/clang
...
There are more warnings left, but these are the easiest to fix. And some of them are real bugs (assignments with == instead of =).
2013-05-02 16:38:25 +02:00
Pavel Sanda
154319d063
Remove some header leftovers based on Scott's script hints.
...
False positive rate of hints is quite high. Although the includes can be
technically removed (due to other includes) they logically belong to the
header.
2013-05-02 00:30:16 -07:00
Scott Kostyshak
6adae69810
Script for finding unneeded headers
...
The script does the following:
All .cpp and .h files in the current directory and subdirectories
are checked to see which include statements could be omitted without
causing a build error.
Many of these omissions would not be desired. For example, currently
if you don't include Undo.h in Undo.cpp, there is no error because
Undo.h is included in Cursor.h which is included in Undo.cpp. But
clearly we do want to include Undo.h in Undo.cpp.
See #6305 .
2013-05-02 02:40:48 -04:00
Uwe Stöhr
4997d66f38
installer: fix a typo
2013-05-02 00:59:44 +02:00
Georg Baum
5c63944ec2
Don't ask for creating branches on copying
...
As discussed on the list. This gets rid of the unwanted message boxes when
copying the complete Userguide.
2013-05-01 13:51:39 +02:00
Jean-Marc Lasgouttes
fb0827f8bb
Small changes to Poor man's profiler
...
* report results in milliseconds instead of microseconds
* report total time spent in block, additionally to mean time
* cause compilation error with --enable-stdlib-debug
2013-04-30 16:43:29 +02:00
Jean-Marc Lasgouttes
21c5bbec71
Fix bug #8627 : Command line switches to change branch do not appear to work
...
Move the handling of branch-(de)activate(master) to Buffer. This code was moved to Bufferview in [3a03e71c/lyxgit] because a cursor was necessary to call Undo::recordUndoFullDocument(). However, it turns out that the undo code is already prepared to handle an empty cursor (and do nothing in this case).
Therefore we do that and move the branch code to Buffer where it belongs.
Note that there was a bug in the previous code that broke undo support: recordUndo should always be called _before_ doing any change.
2013-04-29 17:24:28 +02:00
Tommaso Cucinotta
712e1871ca
Added regression test for simple use-case documented in Advanced F&R manual.
...
findadv-re-05 with ignore format fails, whilst findadv-re-06 not ignoring format succeeds, as of now.
2013-04-29 00:48:43 +01:00
Uwe Stöhr
52ce610a26
UserGuide.lyx: fix an issue reported on the docs list
2013-04-29 00:52:45 +02:00
Uwe Stöhr
1a38c40cd2
UserGuide.lyx: next revision step (chap. C) for master
2013-04-29 00:42:02 +02:00
Vincent van Ravesteijn
3619954590
Fix assertion for InsetInfos of icon types
...
InsetInfo inserted insets in its text without specifying a font. This
caused the fonlist to be incomplete and firing the assertion.
2013-04-28 21:47:37 +02:00
Vincent van Ravesteijn
88eae06611
Fix FontIterator to not access pos >= par.size()
...
An iterator is typicall incremented passed the valid data into the 'end'
state. However, if this means that other functions are called with invalid
parameter, we should fix this.
This explains why fontSpan was called with pos==size() while this was not
expected to happen.
This patch reverts partly f5ad0c128a
(Jean-Marc Lasgouttes; Get rid of
annoying warning message).
2013-04-28 19:12:16 +02:00
Vincent van Ravesteijn
e115b006e6
Make sure MarkAsExporting is deleted before buffer
...
This fixes a crash when cutting something.
2013-04-28 18:51:21 +02:00
Vincent van Ravesteijn
ea118f2da5
Make staticbuffer static again
...
Otherwise the number of internal buffers in incremented on each cut
action.
2013-04-28 18:51:20 +02:00
Richard Heck
68408556c7
Clean up comments a bit.
2013-04-28 12:08:30 -04:00
Uwe Stöhr
ea96d0531c
installer: updated for dictionaries
...
- support thesaurus for Icelandic and Ukrainian
- update for other dictionaries
2013-04-28 06:03:13 +02:00
Uwe Stöhr
80fe665406
UserGuide.lyx: port recent changes from branch
2013-04-28 05:45:21 +02:00
Richard Heck
76c96c22ac
Another assertion that got changed wrongly.
...
I've read back through that patch, and everything else looks good.
2013-04-27 18:12:27 -04:00
Richard Heck
d79225ae98
Remove all messages to user related to assertions. We'll just use
...
a basic message which is defined in lassert.cpp now.
2013-04-27 17:52:55 -04:00
Kornel Benko
06d72d6ca0
Use doctring as LBUFFER() etc parameters
2013-04-27 21:38:01 +02:00
Kornel Benko
07ca50d905
Strings as parameters to LASSERT should not be translatable.
...
But empty strings are even worse.
2013-04-27 21:13:32 +02:00
Jean-Marc Lasgouttes
d243e53f54
Another assertion that got transformed in 1b1f8dd2
2013-04-27 20:14:43 +02:00
Jean-Marc Lasgouttes
f5ad0c128a
Get rid of annoying warning message
2013-04-27 20:01:02 +02:00