Juergen Spitzmueller
49b738bdfd
Some documentation
2012-11-19 18:44:59 +01:00
Juergen Spitzmueller
fffc46a4f7
Workaround to let tex2lyx handle the new argument syntax. This needs to be implemented properly (proper argument number)
2012-11-19 15:50:43 +01:00
Juergen Spitzmueller
2e69c66195
InsetArgument revision, first working version
2012-11-19 14:21:02 +01:00
Uwe Stöhr
63295f9dc5
Font.cpp: fix bug #8424
...
We must group the content which should be changed in size wit a pair of braces because the LaTeX size commands are otherwise switches. We already do so for many case, but not for the case that a size command is inside another command. This patch adds now always a brace pair around the selected text which is the safest method.
2012-11-19 01:13:37 +01:00
Pavel Sanda
4375b44dd6
Comment some headers before I ditch them again.
2012-11-18 17:42:32 +01:00
Georg Baum
9d99d3dbea
Implement extractFromVC() for CVS and SVN.
...
Both cvs and svn are able to retrieve non-existing files from repository,
but this was only implemented for rcs. This is a prerequisite for the
planned move and copy VCV operations. I also improved error schecking and
used extractFromVC() also for files specified on the command line if they
do not exist (in GUI mode, it was already the case in non-GUI mode).
2012-11-15 22:01:19 +01:00
Georg Baum
b07383b026
improve documentation
2012-11-13 21:53:13 +01:00
Georg Baum
393e7924bd
Add missing VCS updates after filename changes
2012-11-13 21:52:38 +01:00
Georg Baum
56e3d2153f
Get rid of redundant CVS/SVN file_ member
...
It did always point to the buffer's file name, so it is not needed and it was
not used in most cases anyway. Instead, ensure that owner_ is always set and
cannot be changed later.
2012-11-13 21:44:36 +01:00
Uwe Stöhr
b53243295a
unicode.cpp: make it compile again
...
the removal of this header in [ea1d9cb3/lyxgit] was too much
2012-11-13 00:27:46 +01:00
Pavel Sanda
8d135a9819
Typeinfo needed in Ubuntu.
2012-11-12 13:06:22 +01:00
Enrico Forestieri
cabf8e86b5
Make it compile again on systems that don't USE_WCHAR_T
2012-11-12 12:11:42 +01:00
Pavel Sanda
ea1d9cb39f
Less headers in unicode.
...
Now lets wait for the scream from people on other compilers.
2012-11-12 03:20:50 +01:00
Pavel Sanda
d692d6f27e
Less headers in docstring.
2012-11-12 03:05:30 +01:00
Pavel Sanda
2257040be4
More headers from lstrings.
2012-11-12 03:02:28 +01:00
Pavel Sanda
7cda6b9d57
Header no more needed.
2012-11-12 02:45:29 +01:00
Jean-Marc Lasgouttes
2e25a65c25
Revert "Correctly clean lyxclient.cpp in monolithic build."
...
Sanda has been faster than me... See 39e23a.
This reverts commit 1b74d3e729
.
2012-11-06 20:48:51 +01:00
Jean-Marc Lasgouttes
1b74d3e729
Correctly clean lyxclient.cpp in monolithic build.
2012-11-05 14:28:26 +01:00
Pavel Sanda
d7ed0ba7e4
Autosaving is now always threaded.
2012-11-04 16:51:18 +01:00
Pavel Sanda
4f24d123b2
Next leftover.
2012-11-04 01:38:34 +01:00
Pavel Sanda
eb9151c599
Close tab button started with 4.5.
2012-11-04 01:37:54 +01:00
Pavel Sanda
38c836f65d
Leftover.
2012-11-04 01:29:08 +01:00
Pavel Sanda
4a0911f25e
Header sorting.
2012-11-04 01:26:11 +01:00
Pavel Sanda
0a9735c5f7
LyX 2.1 will support only Qt>=4.5.
...
(http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg175737.html )
Now start with simple cases.
2012-11-04 01:22:32 +01:00
Pavel Sanda
39e23a8c5c
Let lyxclient.cpp be cleaned by make clean.
...
I would wait with backporting for 2.0.6.
2012-11-03 23:58:33 +01:00
Pavel Sanda
f47215c5e7
* doxy
2012-11-03 19:08:37 +01:00
Kornel Benko
d91d6e3343
Cmake build:
...
Cleanup the use of path-variables
2012-11-02 13:33:22 +01:00
Kornel Benko
854b168d17
Cmake build:
...
Correct dependencies for version-info also at build-time
(not only at configure time)
2012-11-01 13:00:19 +01:00
Lars Gullik Bjønnes
6b2232a29c
src/*.cpp: reformatting to increase consistency
2012-10-28 17:42:07 +01:00
Lars Gullik Bjønnes
76a5f726a7
InsetLine.cpp: add <cstdlib>
...
This fixes a problem introduced in bc51243587
2012-10-28 09:20:59 +01:00
Lars Gullik Bjønnes
bc51243587
insets/InsetLine.cpp: use std::abs
...
Use std::abs in stead of std::max(v, -v).
2012-10-27 01:25:39 +02:00
Lars Gullik Bjønnes
d52c9fda34
Use new T not new T()
2012-10-27 01:25:38 +02:00
Lars Gullik Bjønnes
43f6b1672b
Use empty() to check empty and non-empty'ness not size()
...
Also add FormatList::empty().
2012-10-27 01:25:38 +02:00
Lars Gullik Bjønnes
62394258da
WS cleanup, remove extraeneous spaces
2012-10-27 01:25:38 +02:00
Lars Gullik Bjønnes
b6a626d8d9
Buffer.cpp: drop unused <stack>
2012-10-27 01:25:38 +02:00
Georg Baum
78a7743166
Import theorems correctly (bugs #5702 , #5776 )
...
Actually tex2lyx can handle modules since some time (#5702 ), but not
theorems (#5776 ). Now the following issues are fixed:
- Modules that depend on other modules can be loaded, since the dependencies
are loaded first
- Default moduls of the text class are loaded correctly
- \newtheorem is recognized as a command that defines new environments and
treated similar to \newenvironment
2012-10-26 22:23:16 +02:00
Lars Gullik Bjønnes
dd2189656b
More idiomatic way of checking if a shared_ptr has an associated managed object
2012-10-25 12:12:49 +02:00
Kornel Benko
1b65a03c13
Cmake build: cleanup
2012-10-25 11:19:09 +02:00
Kornel Benko
d1ca207e94
Cmake build:
...
Next try to create Resources.qrc on the fly.
This time using a cmake-script instead of trying to rebuild the cache
2012-10-25 10:45:28 +02:00
Juergen Spitzmueller
7c6ae4d740
Update tex2lyx test files
2012-10-25 07:47:42 +02:00
Lars Gullik Bjønnes
46a5f60d3d
Merge branch 'enable-cxx11'
2012-10-25 00:45:20 +02:00
Lars Gullik Bjønnes
54d1cb1880
support/Messages.cpp: add space to not be taken as user defined literal
...
In C++11 you are not allowed to have non-literal specifiers right
after a string literal.
2012-10-24 23:46:42 +02:00
Georg Baum
02b1c4aa51
Fix test targets for some build trees
...
The old targets only worked if the build tree was below the source tree.
2012-10-24 22:11:05 +02:00
Juergen Spitzmueller
08375b191c
update TODO
2012-10-24 20:21:09 +02:00
Lars Gullik Bjønnes
abc81db388
src/lyxfind.cpp: use local typedef to simplify
...
Use a local typedef pair<string, string> P to avoid having to repeat
that multiple times.
2012-10-23 23:48:35 +02:00
Lars Gullik Bjønnes
48bba7fb74
src/lyxfind.cpp: use make_pair
...
Use make_pair(...) instead of pair<T, U>(...).
2012-10-23 23:48:25 +02:00
Lars Gullik Bjønnes
cf193344d0
src/lyxfind.cpp: cleanup formatting
...
Remove some eol space
re-indent where required
make some ?: constructs a bit easier to read.
2012-10-23 23:48:25 +02:00
Lars Gullik Bjønnes
435fad1463
src/Format.cpp: use make_pair
...
Use make_pair(...) instead of pair<T, U>(...).
2012-10-23 23:48:25 +02:00
Georg Baum
ecf24f1cb5
Add xfig import test
2012-10-23 22:09:26 +02:00
Georg Baum
b8648dea16
Implement tex2lyx -m switch (bug #8393 )
...
With this new command line switch a list of modules can be loaded
unconditionally. This seems to be needed for the literate programming formats,
and it is useful to work around bug #5702 as well.
2012-10-23 20:45:21 +02:00