]>
git.lyx.org Git - lyx.git/log
Michael Schmitt [Sat, 21 Oct 2006 10:22:41 +0000 (10:22 +0000)]
change tracking:
* paragraph.h: remove setChar(...); all text changes
must be expressed as erase and insert operations in
order to support change tracking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15440
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 21 Oct 2006 09:50:33 +0000 (09:50 +0000)]
revert faulty changes in last revision...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15439
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 21 Oct 2006 09:45:11 +0000 (09:45 +0000)]
My six month cleanup crusade is now paying off: LyX has now multiple windows support!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15438
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 21 Oct 2006 09:31:21 +0000 (09:31 +0000)]
Some updates, but not enough to get it compiling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15437
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 21 Oct 2006 09:17:58 +0000 (09:17 +0000)]
* scons/SConstruct: fix scons error (remainder of qt3 frontend removal)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15436
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 21 Oct 2006 09:08:27 +0000 (09:08 +0000)]
* GMathDelim.C: don't mention qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15435
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 21 Oct 2006 08:57:32 +0000 (08:57 +0000)]
* lyxinclude.m4: qt3 isn't a valid frontend any longer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15434
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 21 Oct 2006 08:55:17 +0000 (08:55 +0000)]
* lyx.rpm.README: remove mentioning of qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15433
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 21 Oct 2006 08:35:47 +0000 (08:35 +0000)]
remove qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 21 Oct 2006 08:30:58 +0000 (08:30 +0000)]
put back the :: global namespace identifiers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15431
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sat, 21 Oct 2006 08:25:29 +0000 (08:25 +0000)]
fix some problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15430
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 21 Oct 2006 08:18:29 +0000 (08:18 +0000)]
* paragraph.h:
* paragraph.C: code reformatting only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15429
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 21 Oct 2006 08:00:11 +0000 (08:00 +0000)]
moves lyx namespace out of general declaration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15428
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 21 Oct 2006 07:55:42 +0000 (07:55 +0000)]
MSVC linking error fix:
support.lib(tempname.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl lyx::_open(char const *,int,int)" (__imp_?_open@lyx@@YAHPBDHH@Z) referenced in function "int __cdecl lyx::`anonymous namespace'::make_tempfile(char *)" (?make_tempfile@?A0xcf85a5f4@lyx@@YAHPAD@Z)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15427
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 21 Oct 2006 07:31:57 +0000 (07:31 +0000)]
tmeporary link fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15426
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 21 Oct 2006 07:26:07 +0000 (07:26 +0000)]
MSVC compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15425
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 21 Oct 2006 07:24:11 +0000 (07:24 +0000)]
move the only remaining function in lyxrow_func to paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15424
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 21 Oct 2006 07:05:52 +0000 (07:05 +0000)]
some scripts I fouind usefule when working on LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15423
a592a061 -630c-0410-9148-
cb99ea01b6c8
André Pönitz [Sat, 21 Oct 2006 00:16:43 +0000 (00:16 +0000)]
move everything into namespace lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 20 Oct 2006 22:17:16 +0000 (22:17 +0000)]
More unicode, this time some focus on layouts and textclasses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15421
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 20 Oct 2006 21:42:29 +0000 (21:42 +0000)]
Stuff!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15420
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Fri, 20 Oct 2006 20:57:21 +0000 (20:57 +0000)]
- Dump parpos cache if you use -dbg workarea on command line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15419
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 20 Oct 2006 20:30:00 +0000 (20:30 +0000)]
Move counters toward unicode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15418
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Fri, 20 Oct 2006 19:40:02 +0000 (19:40 +0000)]
- Comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15417
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 20 Oct 2006 19:26:23 +0000 (19:26 +0000)]
Change (and fix) the bullets in itemize to be more unicode friendly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15416
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 20 Oct 2006 16:33:41 +0000 (16:33 +0000)]
This commit re-enable the table adjustment with screen whenever the table is bigger than the screen. Here is some explanation form Georg about the setPos() method:
I believe that it is for horizontal
"scrolling": If you have a table that is wider than the screen and you go
to a cell that is at the right edge then, if you are lucky, the table is
shifted to the left so that you can edit the cell and even go further
right. This does however not work reliably.
If I am right then the variable name scx_ would make some sense: sc for
scrolling. The ChangeLog comments also seem to point in this direction. And
most of them were done by Jürgen Vigna who is AFAIK in Denmark.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15414
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 20 Oct 2006 16:12:49 +0000 (16:12 +0000)]
Use the new InsetCommandParams interface (inset part), from Ugras and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15413
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 20 Oct 2006 16:11:30 +0000 (16:11 +0000)]
Fix multiple tabular crashes. This needs some more work by someone who knows what insettabular::resetPos() is for. At least navigating and editing tables seems "normal".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15412
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 15:27:11 +0000 (15:27 +0000)]
change tracking:
* src/changes.h:
* src/changes.C: remove constructor, destructor,
copy constructor, reset(), and field empty_type_
* src/paragraph_pimpl.C: comment out unwanted code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15411
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 14:31:54 +0000 (14:31 +0000)]
change tracking:
* src/changes.h: remove Changes::Range::contained(),
remove Changes::Range::containsOrPrecedes(),
remove Change::set(...) methods that expect a change type parameter
remove Change::check(...)
simplify Change::intersects(...)
* src/changes.C:
* src/paragraph_pimpl.C: adjust properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15410
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 14:06:18 +0000 (14:06 +0000)]
change tracking:
* insets/insettext.C: comment on prior warning
(and express my helplessness)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15409
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 20 Oct 2006 13:53:43 +0000 (13:53 +0000)]
Use the new InsetCommandParams interface (frontend part), from Ugras and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15408
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 13:32:27 +0000 (13:32 +0000)]
change tracking:
ui/stdtoolbars.ui: revert removal of "insert-note" in "Extra" toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15407
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 13:29:26 +0000 (13:29 +0000)]
change tracking:
src/text2.C: invoke insertInset with correct
Change parameter; only check for change _type_
(DELETED) for DEPM purposes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15406
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 13:16:15 +0000 (13:16 +0000)]
change tracking:
src/lyxfind.C: some source code reformatting;
pass trackChange parameter to Paragraph::erase(..)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15405
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 13:00:49 +0000 (13:00 +0000)]
change tracking:
* src/rowpainter.C: check for change type equality, not
for equality of the compete Change objects
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15404
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 20 Oct 2006 12:46:30 +0000 (12:46 +0000)]
cmake: don't forget command line options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 12:44:37 +0000 (12:44 +0000)]
change tracking:
* src/bufferparams.C: output authors no matter whether
we are in CT mode or not
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15402
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 20 Oct 2006 12:38:26 +0000 (12:38 +0000)]
revert change in revision 15375. It had bad side effect on buffer-end and buffer-begin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15401
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 12:26:27 +0000 (12:26 +0000)]
change tracking:
* lib/ui/default.ui:
* lib/ui/stdtoolbars.ui: add review toolbar;
move "Insert note" from "Extra" to "Review" toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15400
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 11:44:58 +0000 (11:44 +0000)]
change tracking:
* src/paragraph.h: insertXXX(...) requires either
boolean parameter 'trackChanges' or a Change
* src/insets/insettext.h: add trackChanges parameter
to setText(...)
* src/insets/*.C:
* src/*.C: adjust properly & remove a couple of FIXMEs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15399
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 20 Oct 2006 11:28:45 +0000 (11:28 +0000)]
fix wrong line endings of generated Qt4 ui files on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15398
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 20 Oct 2006 10:43:53 +0000 (10:43 +0000)]
Fix some glitches with fixed size delimiters
* src/mathed/MathParser.C
(parse1): behave correctly when a wrong delimiter is specified.
* src/mathed/InsetMathBig.C
(write): don't write a space before delimiter.
* src/frontends/qt4/QDelimiterDialog.C
(QDelimiterDialog): make translatable the string "Variable size".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15397
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 20 Oct 2006 10:38:33 +0000 (10:38 +0000)]
cmake files:
- mathed: remove InsetMathMox.C fro the build process
- config: enable assertions by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15396
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 20 Oct 2006 10:35:07 +0000 (10:35 +0000)]
Get rid of warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15395
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 20 Oct 2006 09:56:28 +0000 (09:56 +0000)]
- fix formatting (tab vs space)
- Move lyx_server_ and lyx_socket destruction out of prepareExit() because those are only available when lyx::use_gui is true.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Fri, 20 Oct 2006 09:41:11 +0000 (09:41 +0000)]
Abdels fix for pure virtual method called
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15393
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Fri, 20 Oct 2006 09:29:19 +0000 (09:29 +0000)]
change tracking:
* src/insets/insetbase.h: replace markErased(...) by
setChange(...)
* src/insets/insettext.h: replace markErased(...) and
markNew(...) by setChange(...)
* src/insets/insettabular.h: replace markErased(...) by
setChange(...)
* src/insets/insettabular.C:
* src/insets/insetbase.C:
* src/insets/insettext.C:
* src/paragraph_pimpl.C:
* src/tabular.C: adjust properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15392
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Fri, 20 Oct 2006 08:42:16 +0000 (08:42 +0000)]
- Fix crash on closing a document where for instance the PDF is still open (temp directory can not be removed when another program has an open file there)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15391
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Fri, 20 Oct 2006 08:06:14 +0000 (08:06 +0000)]
- Fix a few unicode bugs
- Fix LaTeX export of User guide (the utf8 conversion buffer was too small)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15390
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Thu, 19 Oct 2006 21:42:28 +0000 (21:42 +0000)]
cmake: use src/support/package.C.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15389
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Thu, 19 Oct 2006 21:35:44 +0000 (21:35 +0000)]
- use version.C.in file instead of a simple copy
- generate lyx2lyx_version.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15388
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Thu, 19 Oct 2006 21:00:33 +0000 (21:00 +0000)]
Output docbook as utf8. Probably quite a bit more work needed, but then help form a docbook person is needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15387
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Thu, 19 Oct 2006 20:01:02 +0000 (20:01 +0000)]
- Fix export of single characters - use put rather than <<
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Thu, 19 Oct 2006 19:28:27 +0000 (19:28 +0000)]
- UTF-8 works on Windows as well
- We even spit out the right usepackage chant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15385
a592a061 -630c-0410-9148-
cb99ea01b6c8
Martin Vermeer [Thu, 19 Oct 2006 19:26:43 +0000 (19:26 +0000)]
Fix for 2550.
* insettext.[Ch]
(InsetText::covers): added to allow the click-sensitive area to grow
with the Wide() condition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15384
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 19 Oct 2006 19:16:33 +0000 (19:16 +0000)]
make it compile again (hopefully)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15383
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 19 Oct 2006 18:56:16 +0000 (18:56 +0000)]
Avoid an implicit character set conversion in cur.insert() in InsertChar
by changing the argument type to lyx::char_type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15382
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 19 Oct 2006 18:18:10 +0000 (18:18 +0000)]
change tracking:
src/paragraph_funcs.C: add FIXME (and check later)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15381
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 19 Oct 2006 17:46:50 +0000 (17:46 +0000)]
change tracking:
* src/paragraph.h: remove eraseIntern(); pass trackChanges to
erase(...) (2 methods)
* src/paragraph_pimpl.h: rename eraseIntern() to erase();
pass trackChanges to other erase(...) (2 methods)
* src/insets/insettext.C:
* src/*.C: adjust properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15380
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 19 Oct 2006 17:09:59 +0000 (17:09 +0000)]
Fix \hfill output which was broken by the InsetCommand changes.
getCommand does not include the {} anymore, because \hfill has no arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15379
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 19 Oct 2006 16:51:30 +0000 (16:51 +0000)]
Use UTF8 for LaTeX export.
Known problems:
- No space is output after a \hfill. I probably broke this with the
InsetCommand patch. I'll have a look later.
- Although the encoding is now UTF8 the arguments of the inputenc package
are still the old ones, so LaTeX will not run.
- Labels and references with non-ASCII characters are broken. This needs to
be fixed in lyx::support::escape(), but this is a file format change.
- Something seems to be wrong with index entries, but this is probably also
due to the InsetCommand changes.
Have fun!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15378
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Thu, 19 Oct 2006 16:38:13 +0000 (16:38 +0000)]
- Fix math editing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15377
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 19 Oct 2006 16:36:30 +0000 (16:36 +0000)]
Adjust InsetFloatList to the new InsetCommand syntax.
I forgot this with when I changed InsetCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15376
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 19 Oct 2006 16:02:12 +0000 (16:02 +0000)]
Hopefully temporary fix for the Tabular crash problem. Of course, this is not the right fix but I spend hours debugging through this code without success. So unless someone knows that code better...
* BufferView::updateMetrics(): add a big FIXME and don't clear out the coord_cache_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15375
a592a061 -630c-0410-9148-
cb99ea01b6c8
Asger Ottar Alstrup [Thu, 19 Oct 2006 15:30:18 +0000 (15:30 +0000)]
- Boring promote and demote instead of the sexy in and out
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15374
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 19 Oct 2006 14:35:06 +0000 (14:35 +0000)]
- Fix a crash when IN is clicked multiple time in a single line document.
- Polish the behavior when the TOC is empty (clearing the button and the TOC tree)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15373
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 19 Oct 2006 13:40:15 +0000 (13:40 +0000)]
Change tracking:
src/paragraph.h:
src/paragraph_pimpl.C:
src/paragraph_pimpl.h:
src/paragraph.C: remove setChangeType(...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15372
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 19 Oct 2006 12:49:11 +0000 (12:49 +0000)]
Change tracking:
src/paragraph.h: remove obsolete isChangeEdited(...);
remove obsolete isInsertedText(...); turn
isDeletedText(...) into Paragraph::isDeleted(...)
src/paragraph_pimpl.h: remove obsolete isChangeEdited(...)
src/changes.h: remove obsolete isChangeEdited(...)
src/insets/insetert.C:
src/paragraph_pimpl.C:
src/frontends/controllers/ControlSpellchecker.C:
src/rowpainter.C:
src/changes.C:
src/paragraph.C:
src/buffer_funcs.C: adjust properly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15371
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 19 Oct 2006 10:32:38 +0000 (10:32 +0000)]
Just cosmetics and remove a FIXME.
Now, lyx is really ready for multiple LyXView. Just need to create an LFUN for it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15370
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 19 Oct 2006 07:53:03 +0000 (07:53 +0000)]
small readability fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15369
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 19 Oct 2006 07:28:35 +0000 (07:28 +0000)]
* LyXFunc::owner renamed to lyx_view_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15368
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 19 Oct 2006 07:20:32 +0000 (07:20 +0000)]
This commit transfers the singletons defined in the Application class to the private LyX::Singletons implementation. It also put the session_ member and top_level_keymap global variable into this Singleton structure.
This commit also modifies the LyXFunc class. A LyXView is not needed any more at construction. Neither is the top level keymap. The LyXFunc key sequences are initialized only if we are in GUI mode (lyx::use_gui = true).
The next step is to rename LyXFunc::owner to LyXFunc::lyx_view_ and to put some BOOST_ASSERT. A classification between Gui and Kernel oriented LFUNs would also be welcome.
*LyX/lyx_main.[Ch]:
- LyX::Singletons: new private structure containing all the singletons (except the main LyX one of course).
- buffer_list_, top_level_keymap, session_: transfered to the LyX::Singletons structure.
* LyXFunc:
- LyXFunc: default constructor does not need any arguments.
- setupLocalKeymap(): deleted (was not used anywhere).
- initKeySequences(): new public method called from lyx_main.C, useful only in lyx::use_gui mode.
- new private member accessor methods
* Application:
- Application_pimpl: deleted (transfered to LyX)
- global singleton accessors: transfered to lyx_main.C
- start(): code transfered to LyX::priv_exec()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15367
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 19 Oct 2006 07:12:48 +0000 (07:12 +0000)]
Change tracking:
src/paragraph.h:
src/paragraph.C:
src/paragraph_pimpl.h:
src/paragraph_pimpl.C: setChange(...) replaces markErased(...);
pass Change parameters as const reference
src/insets/insettext.C: adjust accordingly
src/changes.h:
src/changes.C: pass Change parameters as const reference
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15366
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 18 Oct 2006 20:51:16 +0000 (20:51 +0000)]
convert tooltips to unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15365
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 18 Oct 2006 20:35:06 +0000 (20:35 +0000)]
It compiles again. I must be crazy. At least it does not run but segfaults
on startup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15364
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 18 Oct 2006 20:19:55 +0000 (20:19 +0000)]
fontloader for gtk, probably not efficient
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15363
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 18 Oct 2006 12:06:04 +0000 (12:06 +0000)]
add some sanity checks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15362
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 18 Oct 2006 09:44:08 +0000 (09:44 +0000)]
fix indentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15361
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 18 Oct 2006 09:33:34 +0000 (09:33 +0000)]
fix crash on emergencyCleanup() when lyx::use_gui is false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15360
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Wed, 18 Oct 2006 08:44:44 +0000 (08:44 +0000)]
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15359
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 17 Oct 2006 21:15:07 +0000 (21:15 +0000)]
more compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15358
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 17 Oct 2006 21:07:16 +0000 (21:07 +0000)]
Rework InsetCommandParams interface and file storage
* src/insets/insetcommandparams.[Ch]:
(operator[]): New, access a parameter
(clear): New, clear all parameters
(info_): New, stire info about this command
(cmdname): Rename to name_
(contents, options, sec_options): Replace with params_. Parameters
are now stored as docstring.
(findInfo): New factor for command info for all commands
(read, write): Use new syntax
(parameter set and get methods): reimplemenmt for new parameter storage
* src/insets/insetcommand.h
(getParam): New, get a parameter
(setParam): New, set a parameter
(parameter set and get methods): Adjust to InsetCommandParams changes
* src/insets/insetbibitem.[Ch]
(write): Remove, not needed anymore
(directWrite): ditto
* src/insets/insetbibitem.C
(InsetBibitem::read): Use InsetCommand::read
* src/insets/insetref.C
(InsetRef::latex): Use new InsetCommandParams interface
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): ditto
* src/text3.C
(LyXText::dispatch): ditto
* src/factory.C
(createInset): Create InsetCommandParams with command name
(readInset): ditto
(readInset): Remove error message for bibitem, since bibitem is
now a normal command inset
* src/buffer.C: Bump file format number
* src/frontends/controllers/ControlCommand.[Ch]
(ControlCommand): take an additional command name parameter
* src/text.C
(readParToken): Remove code for \bibitem
* lib/lyx2lyx/LyX.py: Bump latest file format number
* lib/lyx2lyx/lyx_1_5.py
(convert_bibitem, convert_commandparams): new, convert to new format
(revert_commandparams): new, convert to old format
* development/FORMAT: document new format
* many other files: Adjust to the changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15357
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 17 Oct 2006 16:23:27 +0000 (16:23 +0000)]
This commit fixes a crash when accessing a math inset. This was due to an invalid CursorSlice::text() null pointer accessed in InsetMathNest::cursorPos():
CoordCache & coord_cache = sl.text()->bv()->coordCache();
As you can see, I used this indirection to access the BufferView::CoordCache(). Bad luck, the passed CursorSlice was not completely valid inside a mathed inset, hence the crash. My solution is to pass BufferView to InsetBase::cursorPos() and all its derivative.
* InsetBase::cursorPos(): pass BufferView const &
* bufferview_funcs::coordOffset(): ditto.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15356
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 17 Oct 2006 14:46:45 +0000 (14:46 +0000)]
More unicode conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15355
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 17 Oct 2006 11:58:21 +0000 (11:58 +0000)]
MacOSX compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15354
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 17 Oct 2006 08:36:04 +0000 (08:36 +0000)]
This commits cuts down LyX::exec2 into two new methods (execBatchCommands() and restoreGuiSession()) and introduce a number of helper private function to sanitize the initialization and exit process; quitLyx() is replaced with LyX::quit(). The Application starting and reset is done directly in priv_exec().
* lyx_cb.[Ch]: delete quitLyX()
* lyx_main.[Ch]
- lyx_exit(): moved to LyX::earlyExit()
- prepareExit(), quit(), earlyExit(), execBatchCommands(), initGuiFont(): new LyX methods.
- LyX::priv_exec(): restructured with above helper methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15353
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 16 Oct 2006 16:21:52 +0000 (16:21 +0000)]
fix bug 2910:
* src/frontends/qt3/QDocumentDialog.C (updateNumbering): don't include headings
that have no counter in their label.
* src/frontends/qt3/ui/NumberingModuleBase.ui: show scrollbar when appropriate.
* src/frontends/qt4/QDocumentDialog.C (updateNumbering): don't include headings
that have no counter in their label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15352
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 16 Oct 2006 11:41:57 +0000 (11:41 +0000)]
* lib/lyx2lyx/lyx_1_5.py: correct indendation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15349
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 16 Oct 2006 09:53:30 +0000 (09:53 +0000)]
partial compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15348
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 16 Oct 2006 09:08:05 +0000 (09:08 +0000)]
Adjust the FIXME texts and Delete commented out setXY() call following Andre comments about it:
The coordcahce is for up/down navigation and vconverting mouseclicks to text positions. It is not for pure display/export which
is what drawT is about. It was a simple oversight not to remove it after some copying from the 'real' draw() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15347
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 16 Oct 2006 08:51:55 +0000 (08:51 +0000)]
Fix Toc dialog crash when TOC is empty.
* QToc::update(): return early if no TOC type.
* QTocDialog::updateGui(): return early of the Type model is empty and disable the outline buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15346
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 16 Oct 2006 07:06:41 +0000 (07:06 +0000)]
Remember the char style label state and make it globally switchable.
* src/buffer:
file format incrementation to 251
* src/insets/insetcharstyle.[Ch]:
- make show_label a param and save its state
- let all-insets-toggle togle the label in charstyles
* development/FORMAT:
document file format change
* lib/lyx2lyx/LyX.py:
add new file format
* lib/lyx2lyx/lyx_1_5.py:
remove char style label param on reversion to 250.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15345
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 16 Oct 2006 03:26:14 +0000 (03:26 +0000)]
Scons: remove fast_start feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15343
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Mon, 16 Oct 2006 02:55:04 +0000 (02:55 +0000)]
Scons: fix a config.h generation bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15341
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 15 Oct 2006 22:32:56 +0000 (22:32 +0000)]
MacOSX compile fix: The class Point conflicted with a struct defined in MacTypes.h.
* coordcache.[Ch]: put everything in the LyX namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15340
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 15 Oct 2006 21:47:29 +0000 (21:47 +0000)]
This commit saves the need to check for lyx::use_gui in a number of places.
* lyx_main.h: define "extern bool lyx::use_gui" here.
* NoGuiFontMetrics.h: new class for command-line LyX
* NoGuiFontLoader.h: new class for command-line LyX
* Application.C:
- theFontMetrics(): returns the above dummy FontMetrics when use_gui is false.
- theFontLoader(): returns the above dummy FontLoader when use_gui is false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15339
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 15 Oct 2006 14:37:06 +0000 (14:37 +0000)]
Update to latest from boost 1.34 cvs release branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15337
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 15 Oct 2006 09:20:25 +0000 (09:20 +0000)]
fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15336
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 15 Oct 2006 08:32:37 +0000 (08:32 +0000)]
* src/factory.C
(readInset): Add comment about citation commands
* src/tex2lyx/text.C
(known_jurabib_commands): remove fullcite since LyX does not know it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15335
a592a061 -630c-0410-9148-
cb99ea01b6c8