Commit Graph

30051 Commits

Author SHA1 Message Date
Uwe Stöhr
32cf81058d installer: install a Perl interpreter to MiKTeX to fix bug #8181 2012-06-02 20:40:13 +02:00
Uwe Stöhr
09f91910e6 - UserGuide.lyx: 3 small fixes
- German UserGuide.lyx: translation again
2012-06-02 03:18:44 +02:00
Uwe Stöhr
ee2c9d3631 installer: a new MiKTeX installer version is out 2012-06-02 02:10:24 +02:00
Uwe Stöhr
d90bcd1f5a - UserGuide.lyx: adapt style of description of split indexes (the feature is btw. currently broken)
- German UserGuide.lyx: some further translations
- Japanese UserGuide.lyx: add missing section about split indexes
2012-06-02 02:09:36 +02:00
Uwe Stöhr
fc74599e87 - UserGuide.lyx: fix some typos and an unclear description
- German UserGuide.lyx: more translations and corrections
2012-06-01 02:27:36 +02:00
Uwe Stöhr
e489adea5f UserGuide.lyx:
- decline today's change because the text states "is explained in the chapter Tables of the Embedded Objects manual" So no need to describe LaTEX special again
- revert fileformat change; please keep the fileformat is possible unless you describe a new feature of LyX 2.1
2012-06-01 00:54:24 +02:00
Richard Heck
ead697d4b6 Deal with memory issue reported some time ago in connection with DocumentClass
objects. The problem that led to the leak is that these objects can be held in
memory long after the Buffer that created them is gone, mostly due to their
use in the CutStack. So they were previously held in a storage facility, the
DocumentClassBundle. Unfortunately, they were now being created too often,
especially by cloning. It's not really a leak, because they're accessible, but
we weren't ever destroying them.

This new approach uses a shared_ptr instead.

Thanks to Vincent for pointing out const_pointer_cast.
2012-05-31 12:34:29 -04:00
Richard Heck
03da96e0f7 Minor cleanup: We should use the usual conventions for
InsetLayout names.
2012-05-31 12:24:08 -04:00
Richard Heck
be89d37bd4 Properly initialize variable. This should fix the problem
reported here:
	http://marc.info/?l=lyx-devel&m=133775786222603&w=2
by Scott.
2012-05-31 12:04:09 -04:00
Pavel Sanda
262c2e95a9 Tabular.ui: Moving Latex argument field to column section.
Forgotten patch from John Tapsell.

Documentation moved from UI to User Guide.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173987.html

This was here for ages, no need to rush into branch.
2012-05-31 15:36:33 +02:00
Pavel Sanda
f692181917 Fix #8180: Page break on current row can't be unchecked.
Patch from John Tapsell
2012-05-31 13:56:07 +02:00
Pavel Sanda
eb4a1074bf Forgotten permissions 2012-05-31 13:01:39 +02:00
Pavel Sanda
83f493d8ac Port suggestion to trunk 2012-05-31 12:47:08 +02:00
Pavel Sanda
b5edeac1e8 Forgotten patch from Scott Kostyshak. 2012-05-31 12:33:13 +02:00
Uwe Stöhr
e60a139d3f ported from branch:
- German UserGuide.lyx: many translations
- English UserGuide.lyx: some grammar and some style fixes
2012-05-31 00:45:26 +02:00
Uwe Stöhr
52db81fa22 - German UserGuide.lyx: some translations
- German Additional.lyx: some ports from branch
- English UserGuide.lyx: a grammar fix
2012-05-30 01:24:03 +02:00
Juergen Spitzmueller
ab3491adef Fix crash when removing last converter (bug 8178) 2012-05-29 14:21:29 +02:00
Juergen Spitzmueller
9fc92f783c Load bibtopic after hyperref (bug #8005) 2012-05-29 13:25:30 +02:00
Uwe Stöhr
158b398d28 German userGuide: port some changes from branch 2012-05-29 00:49:57 +02:00
Richard Heck
c1e3d795f6 A few more small optimizations noted along the way. 2012-05-28 18:21:22 -04:00
Jean-Marc Lasgouttes
a756403301 "Performance" fixes suggested by cppcheck
While cppcheck did not turn out any suspicious error messages, using
the "performance" flag highlighted several nitpicks in three categories
 * do not use it++ for iterators, ++it is better
 * do not use size() to test for emptyness, empty() is here
 * do not use "const T" as a function parameter, "const & T" is better

I doubt that any of these is a real performance problem, but the code is cleaner anyway.
2012-05-28 22:42:44 +02:00
Juergen Spitzmueller
56118ce4b1 apostrophe must nt be terminated 2012-05-27 13:10:54 +02:00
Uwe Stöhr
ac6da262f1 installer:
- install also Qt's image plugins for faster image loading
- update some versions and paths
2012-05-27 02:16:57 +02:00
Uwe Stöhr
3b6bf1ee06 cmake/build.bat: correct a path proposal 2012-05-27 02:15:18 +02:00
Uwe Stöhr
5463389ec9 lyx2lyx/lyx_2_1.py: remove 2 warnings I accidentally just committed 2012-05-26 19:02:32 +02:00
Uwe Stöhr
7b68005875 lyx2lyx/lyx_2_1.py: fix #8172 2012-05-26 19:00:03 +02:00
Juergen Spitzmueller
25556fe4d9 add missing IPA glyph 2012-05-26 16:51:37 +02:00
Juergen Spitzmueller
6ddcfb87e4 Fix macro termination in IPA inset if next character uses a TIPA shortcut 2012-05-26 16:36:24 +02:00
Pavel Sanda
1b1f9d05d9 compile fix 2012-05-26 10:16:20 +02:00
Vincent van Ravesteijn
655a4f5515 Fix painting of hidden tabbar on gtk
When there is a single document open, the tabbar gets hidden. The only and selected tab is still visible though as a break in the line delining the tabwidget. To fix this we paint the tabwidget ourselves and remove the presence of the hidden tab.
2012-05-25 19:17:48 +02:00
Vincent van Ravesteijn
4c3a97d96e Fix bug #8170: Crash when client disconnects unexpectedly
When the socket does not exist anymore, we should not try to access it. In
trying to do so, std::map will create a new shared_ptr but this pointer
doesn't point at anything. To prevent this, we explicitly check whether
the socket is available.
2012-05-24 13:55:41 +02:00
Pavel Sanda
3476a6f1d4 * cs/Tutorial.lyx typos 2012-05-23 22:00:33 +02:00
Pavel Sanda
1a45c99a7d Trac browse SVN -> GIT 2012-05-23 17:35:08 +02:00
Richard Heck
9d983562fe Style. 2012-05-23 08:53:14 -04:00
Vincent van Ravesteijn
d20cb73b87 Fix bug #8166: Crash on clicking away from empty last paragraph
This reverts the previous fix in [0a33374c/lyxgit] and fixes it
differently.

We always have to call 'notifyCursorLeaves', but we only have to make sure
that we call the 'fixIfBroken()' functions first.
2012-05-23 08:02:40 +02:00
Vincent van Ravesteijn
0a33374c0d Fix bug #8166: Crash on clicking away from empty paragraph
We rely on the 'or' operator to prevent us from calling
'notifyCursorLeaves' if one of the two cursors is broken. This doesn't
work when using the '|' operator. The compiler 'optimizes' the code in
such a way that we always call notifyCursorLeaves anyway. Using the '||'
operator fixes this.
2012-05-23 01:31:43 +02:00
Jean-Marc Lasgouttes
e3854bb59b Tentative fix to #8159: Undo doesn't restore environment depth correctly
The undo range is extended to encompass all the paragraph after the end that
are a non-zero depth. The reason is that these paragraphs may see their depth
reduced if the last paragraph sees its depth reduced.

Note that there is a memory cost, since we store paragraphs than may not be
modified in practice. This may matter for some pathological files (people
putting all their document at depth 1 for a weird reason?)

I tried to be careful, but this can introduce new bugs. Please test.
2012-05-22 22:18:34 +02:00
Pavel Sanda
255b218ce3 Just comment 2012-05-22 15:54:26 +02:00
Richard Heck
2693b911b7 Update customization manual with "nice" info. 2012-05-22 09:26:52 -04:00
Richard Heck
c9d2794d93 Prettify the prefs2prefs file a bit. 2012-05-22 09:02:12 -04:00
Richard Heck
aeca5e6f0d Typo. 2012-05-22 08:58:55 -04:00
Richard Heck
cd05753107 Forgot to change format in LyXRC.cpp. 2012-05-22 08:58:40 -04:00
Richard Heck
abbc07026b Add commit to prefs2prefs. 2012-05-22 08:57:25 -04:00
Richard Heck
288c1e0faa Add "nice" flag for converters, addressing final problem with bug #4624. 2012-05-22 08:56:05 -04:00
Richard Heck
a7c3567452 Fix typo. 2012-05-22 08:14:33 -04:00
Enrico Forestieri
56bb54cf9f Update it.po 2012-05-20 23:35:42 +02:00
Enrico Forestieri
fbcf2486d8 Fix bug #8164: lyxpak.py fails to include filenames with spaces
People love embedding spaces in filenames, so account for that.
2012-05-20 16:32:47 +02:00
Lars Gullik Bjønnes
fb3ecca01c TextMetrics.cpp: comment out addressBreakPoint function
Only user of this function is code that has been commented out, comment
out this function as well.

Signed-off-by: Lars Gullik Bjønnes <larsbj@gullik.org>
2012-05-20 11:08:20 +02:00
Juergen Spitzmueller
e3ccd64f2e de.po: update 2012-05-19 13:49:19 +02:00
Kornel Benko
e8bfe85ea3 * sk.po 2012-05-19 11:10:54 +02:00