1 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4 * Thesaurus.C: update for Aiksaurus 0.14
6 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * text2.C (firstParagraph): removed member function, all uses
9 replaces with ownerParagraph
10 (redoParagraphs): here
12 (toggleAppendix): here
13 * BufferView2.C (insertErrors): here
14 (setCursorFromRow): here
16 2002-01-13 Allan Rae <rae@lyx.org>
18 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
19 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
20 There is still a way to segfault this although you may have to do this
21 multiple times: Have an InsetERT with an unknown command in it.
22 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
23 <down-arrow>, <Enter> again, View->DVI, BANG!
25 * text2.C (setCursor):
26 (deleteEmptyParagraphMechanism):
27 * lyxtext.h (setCursor):
28 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
29 Making use of the return value may help fix other bugs.
31 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
33 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
34 should need to care about that.
36 * lyxfunc.C (verboseDispatch): simplify a bit
37 (getStatus): have a version which takes a pseudoaction, and
38 another which requires a (kb_action,string).
40 * LyXAction.C (retrieveActionArg): make it work also when action
41 is not a pseudo-action.
42 (getActionName): simplify a bit
45 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
47 * lyxfunc.C (verboseDispatch): new families of methods with
48 several ways to specify a command and a bool to indicate whether
49 the command name and shortcut should be displayed in minibuffer
50 (eventually, we could extend that to a finer bitmask like
51 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
52 (dispatch): the pristine dispatch command which just, well,
53 dispatchs! Note it still sets its result to minibuffer; I'm not
56 * lyxfunc.h: remove setHintMessage
58 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
60 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
62 * BufferView_pimpl.C (specialChar): delete new inset if we have
63 not been able to insert it.
65 * kbmap.C: revert to using int instead of kb_action, since all we
66 are dealing with is pseudo-actions.
68 * LyXAction.C (searchActionArg): change to return int instead of
69 kb_action, since the result is a pseudoaction.
71 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
73 * buffer.C (insertErtContents): Fix (partially) the font bug.
75 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
77 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
78 as the other one is broken on my machine!
80 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
83 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
85 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
87 * lyxrc.[Ch]: change names and descriptions of popup font variables to
88 reflect their actual use. Provide compatibility code for older lyxrc
91 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
93 change names of popup font variables in line with the changes to lyxrc.C
95 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
97 * buffer.C (asciiParagraph): avoid outputing a word twice after
100 * lyxrc.C (getDescription): document that document_path and
101 template_path can be empty.
103 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
105 * LaTeXFeatures.C (getMacros):
106 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
108 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
110 * LaTeXFeatures.C (useFloat): require "float" here instead of in
112 (getPackages): rename feature "floats" to "float". Use an array to
113 iterate over 'simple' features (i.e. just a \usepackage). Add
114 handling of "amsmath" (renamed from "amsstyle").
116 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
118 * LaTeXFeatures.C (require): Prevent duplicate entries in the
121 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
123 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
124 FuncStaus::FuncStatus & FuncStaus::some_method().
126 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
128 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
129 of the func_satus stuff. Edited and massaged in various ways by
132 * lyxfunc.C (getStatus): use FuncStatus
134 2002-01-08 Juergen Vigna <jug@sad.it>
136 * text.C (nextBreakPoint): use function Inset::isChar().
138 * paragraph.C (TeXOnePar): use function
139 Inset::forceDefaultParagraphs.
141 * buffer.C (latexParagraphs): use function
142 Inset::forceDefaultParagraphs.
144 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
146 * lyx_gui.C (init): set the style of the menu popups to
147 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
149 2002-01-07 Juergen Vigna <jug@sad.it>
151 * text.C (setHeightOfRow): small fix
152 (prepareToPrint): don't look at alignment if we don't have the place
155 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
157 * box.C: New file. Move the Box methods and functions out of box.h,
158 following Lars' suggestion.
160 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
162 * box.h: #include "support/LOstream.h", needed for inlined function.
165 * lyxtextclasslist.C: added some using std declarations.
167 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
169 * box.h: make signed dimensions to allow insets wider than
170 the screen (bug #162)
172 * BufferView_pimpl.C: add some insetHit debug
174 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
176 * vc-backend.C: add FIXME
178 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
180 * lyxfunc.C (getStatus): enable code for showing math font status
183 2002-01-07 Juergen Vigna <jug@sad.it>
185 * text.C (nextBreakPoint): removed debug output not needed anymore.
187 2002-01-06 Juergen Vigna <jug@sad.it>
189 * text.C (nextBreakPoint): fixed up this function we had this bug
190 since ever but now hopefully we break row better.
191 (insertChar): we have to check if an inset is the next char as it
192 could now happen that a large inset is causing a break.
194 2002-01-05 Juergen Vigna <jug@sad.it>
196 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
197 if it doesn't like to be drawed.
199 2002-01-04 Juergen Vigna <jug@sad.it>
201 * BufferView2.C (lockInset): forgot to set a cursor.
203 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
205 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
210 * form_maths_panel.C:
211 * form_maths_panel.h:
212 * form_maths_panel.fd: implemented sub- and super- buttons in math
215 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
216 (or ^ space) to be used as in TeX (req'd by André).
218 * lyxfunc.C: Allow ^ and _ again to be used both as
219 super/subscript (mathed) and as themselves (in text).
221 2002-01-03 Allan Rae <rae@lyx.org>
223 * LyXView.C (updateWindowTitle): Setup a short icon title of either
224 "LyX" or the filename of the current buffer if it has one. This is a
225 modified form of John Levon's patch.
227 * XFormsView.C (setWindowTitle): also set icon title.
229 * LyXView.h (setWindowTitle): signature changed.
230 * XFormsView.h (setWindowTitle): ditto.
232 2002-01-02 Juergen Vigna <jug@sad.it>
234 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
236 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
238 * screen.C (topCursorVisible): introduce a temp var for
239 text->cursor.row(), handle the case where this row is null. (kindo
242 * text2.C (setCursor): add a couple of asserts.
244 * paragraph.h (inset_iterator): add -> operator
246 * paragraph.[Ch] (autoDeleteInsets): remove member function
248 * BufferView2.C (removeAutoInsets): rewrite to handle the old
249 cursor pos correctly and handle inset deletion by itself.
250 (insertErrors): move iterator declaration out of for expression
252 * lyxtextclass.C: add <algorithm>
254 * Makefile.am: added the new files to sources, removed layout.C
256 * layout.C: removed file
258 * layout.h: remove LYX_DUMMY_LAYOUT
260 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
265 * lyxtextclasslist.[Ch]: new files
267 * include order changes to a lot of files, also changes because of
270 2001-12-27 Juergen Vigna <jug@sad.it>
272 * buffer.C (asciiParagraph): more fixes.
274 * tabular.C (ascii): make ascii export support export of only the
275 data separated by a column-delimiter.
276 (ascii): better support for ascii export.
278 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
280 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
282 * tabular_funcs.C: use a "using std::getline" instead of the
283 previous fix from Angus (necessary for cxx + lyxstring)
285 2001-12-24 Juergen Vigna <jug@sad.it>
287 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
289 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
290 problems. First check a minipage also if we have some ert-contents
291 (not only on par->size(), second set the right depth of the paragraph
292 on the relink to the root-paragraph-list!
294 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
295 which then did not anymore update the main paragraphs on undo/redo!
297 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
299 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
300 code. Support all font-changing funcs (even those which are not in
301 menu currently). Support for reporting font settings in
302 mathed (disabled until Andre provides a function on mathed's side).
304 * func_status.h (toggle): small helper function to set toggle
307 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
309 * tabular_funcs.C: getline -> std::getline
311 2001-12-21 Juergen Vigna <jug@sad.it>
313 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
314 accessed and could be 0 (I couldn't generate this but it seems
317 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
319 * tabular_funcs.C: add LIstream.h, move write_attribute to..
320 * tabular_funcs.h: here and include iosfwd
322 2001-12-20 Juergen Vigna <jug@sad.it>
324 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
325 inside inset but undo_par was.
327 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
329 * Thesaurus.C: always include <config.h> in sources.
333 * box.h: do not include <config.h> in header files
335 * text.C (paintLastRow): remove unused variable
337 * text.C (transformChar):
339 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
342 * font.C (width): rewrite to use uppercase() instead of
345 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
347 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
349 * lyxfind.C: clean up of find failure position change
351 2001-12-20 Juergen Vigna <jug@sad.it>
353 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
355 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
356 (TeXRow): added to LaTeX a single tabular row.
357 (TeXLongtableHeaderFooter): added to output LT-h/f data.
358 (Latex): simplified and finally good LT-h/f support.
359 (various_functions): just small adaptions for LT-h/f support.
361 * tabular_funcs.[hC]: added and moved here all not classfunctions
364 2001-12-19 Juergen Vigna <jug@sad.it>
366 * tabular.[Ch]: better support for longtabular options (not finished
369 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
371 * text.C (paintLastRow): use the label font instead of the font of
372 the last character to compute the size of *_BOX. This makes more
373 sense and avoids a crash with empty paragraphs.
374 Use Painter::rectangle to draw EMPTY_BOX.
376 2001-12-19 Juergen Vigna <jug@sad.it>
378 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
379 the paragraphs if the replaced paragraph is not the first one!
380 Tried to delete not used paragraphs but does not work yet so for
381 now it's inside #ifdef's and by default off!
383 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
385 * MenuBackend.C: include "lyx_main.h" instead of declaring
386 lastfiles (actually was declared as LastFiles* instead of a
389 2001-12-17 Juergen Vigna <jug@sad.it>
391 * tabular.C (AppendColumn): applied John's fix
393 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
397 * BufferView_pimpl.h:
398 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
401 * box.h: new start of class for above
403 * lyxfunc.C: ignore space-only minibuffer dispatches.
404 Show the command name when it doesn't exist
406 * minibuffer.C: don't add empty lines to the history
408 * minibuffer.C: add a space on dropdown completion
410 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
412 * text.C: fix line above/below drawing in insets
414 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
416 * lyxlength.C (LyXLength): Initialize private variables.
418 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
420 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
421 when inserting error insets.
423 2001-12-13 Juergen Vigna <jug@sad.it>
425 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
426 actually sometimes the before-paragraph.
427 (setUndo): don't clear the redostack if we're not actually undoing!
429 2001-12-06 Juergen Vigna <jug@sad.it>
431 * undo_funcs.C (textHandleUndo): well after John's hint I got here
432 and fixed redoing of main paragraph, so we can use it now ;)
434 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
436 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
438 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
441 2001-12-13 André Pönitz <poenitz@gmx.net>
444 * undo_func.C: minor cleanup
446 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
448 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
449 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
450 font in urw-fonts package which is marked as -urw-fontspecific and
451 does not work (incidentally, changing the encoding in the
452 fonts.dir of this package to -adobe-fontspecific fixes the
455 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
456 is a crash when undoing first paragraph (Juergen, please take a
457 look). THis does not mean the undo fix is wrong, just that it
460 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
461 the (Paragraph*) version when needed instead of duplicating the
464 * text.C (workWidth): use Inset::parOwner to find out where the
465 inset has been inserted. This is a huge performance gain for large
466 documents with lots of insets. If Inset::parOwner is not set, fall
467 back on the brute force method
469 * paragraph_pimpl.C (insertInset):
470 * paragraph.C (Paragraph):
471 (cutIntoMinibuffer): set parOwner of insets when
472 inserting/removing them
474 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
476 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
482 * mathed/formulabase.C:
483 * mathed/math_cursor.[Ch]:
484 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
487 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
489 * lyxlength.[Ch] (operator!=): new function
491 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
493 * text.C (workWidth): use Inset::parOwner to find out where the
494 inset has been inserted. This is a huge performance gain for large
495 documents with lots of insets. If Inset::parOwner is not set, fall
496 back on the brute force method
498 * paragraph_pimpl.C (insertInset):
499 * paragraph.C (Paragraph):
500 (cutIntoMinibuffer): set parOwner of insets when
501 inserting/removing them
503 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
505 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
507 * tabular-old.C (getTokenValue):
508 * tabular.C (getTokenValue):
509 (write_attribute): new versions for LyXLength
510 (everywhere): adjust the use of widths
512 * tabular.h: change the type of widths from string to LyXLength
514 2001-12-11 Ben Stanley <bds02@uow.edu.au>
516 * paragraph.C: fixed missing line number count when exporting
517 Environments to LaTeX file
519 * buffer.C: added informational message for checking line numbers.
521 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
523 * text2.C (deleteEmptyParagraphMechanism): if there is only one
524 paragraph, do the 'double space' part, but not the 'empty
527 * text.C (workWidth): small optimization
528 (getLengthMarkerHeight): use minimal size for negative lengths.
530 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
532 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
534 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
536 2001-12-11 André Pönitz <poenitz@gmx.net>
539 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
541 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
543 * text2.C: keep selection on a setFont()
545 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
547 * lyx_cb.C: another bv->text misuse, from insert label
549 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
552 * kbsequence.C: re-instate nmodifier mask
554 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
556 * lyx_main.h: make lyxGUI private.
558 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
560 * lyxfind.C: place the cursor correctly on failed search
562 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
564 * text.C (getLengthMarkerHeight): for small heights, the arrows
565 are not always on top/bottom of the text
566 (drawLengthMarker): smaller arrows; take the left margin in
567 account; draw also vfills.
569 (paintLastRow): remove special code for vfill and standard spaces,
570 since everything is handled in drawLengthMarker now.
572 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
574 * buffer.C (insertErtContents): try to handle font and language
575 interaction a bit better.g
577 * ColorHandler.C (updateColor): change the hash to cover the whole
578 LColor enum, ws cleanup
579 (getGCLinepars): ditto
580 (getGCLinepars): only lookup in the linecache once.
582 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
584 * iterators.C (operator++): Make the iterator more robust
586 * BufferView2.C (removeAutoInsets): Use paragraph iterators
588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
593 * text.C: better added space drawing
595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
598 * BufferView2.C: fix layout combo update on inset unlock
600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
602 * Makefile.am: don't compile unused files
604 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
608 * LyXAction.C: remove old LFUN_LAYOUTNO
610 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
613 * paragraph_pimpl.C: isTextAt() doesn't need font param
615 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
618 * lyxlex.C: little cleanup
620 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
622 * BufferView_pimpl.C: fix insertAscii for insets
624 2001-12-05 Juergen Vigna <jug@sad.it>
626 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
627 set the right font on the "multi" paragraph paste!
629 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
635 * lyxlength.C: remove out-commented code.
651 * vc-backend.C: change "while(" to "while ("
653 * lyxlength.[Ch]: add zero function to check if length is zero or
655 * lyxgluelength.C: use it
657 2001-12-05 Allan Rae <rae@lyx.org>
659 * lyxlength.C: Attempted a fix for the abs(int) header selection.
660 Works for 2.95.3, from what I understand of Garst's reports this should
661 work for other g++ versions. We're screwed if the abs(int) definition
662 changed between bugfix releases of gcc.
664 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
666 * text.C: fix chapter label offset !
668 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
671 * text.C: fix hfill at end of line, clean up
673 2001-12-04 Juergen Vigna <jug@sad.it>
675 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
676 that we force an update of the inset and it's owners if neccessary.
678 2001-12-03 Juergen Vigna <jug@sad.it>
680 * text.C (rowLast): simplified code
682 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
684 * lyxfunc.C: fix show options on timeout
686 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
688 * screen.C (topCursorVisible): scroll half a page when the cursor
689 reached top of bottom of screen
691 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
693 * minibuffer.C: deactivate on loss of focus
695 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
697 * vspace.[Ch] (operator!=): add operator.
699 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
701 * BufferView_pimpl.C: refuse to open an inset when
704 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
706 * BufferView_pimpl.C: allow to click on RHS of full row insets
708 2001-11-30 Juergen Vigna <jug@sad.it>
710 * tabular.C (LyXTabular): add a same_id to set the same id's in the
711 insets for undo reasons.
713 2001-11-28 André Pönitz <poenitz@gmx.net>
715 * vspace.[Ch]: cosmetical changes
717 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
727 * kbsequence.C: part re-write of old kb code
730 * WorkArea.C: remove Lgb_bug_find_hack
732 2001-11-30 José Matos <jamatos@fep.up.pt>
734 * buffer.C (makeDocBookFile): add a comment to point a hack.
735 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
736 Fixed a double write of labels.
738 2001-11-28 André Pönitz <poenitz@gmx.net>
740 * all the files from the change on 2001/11/26:
741 use lyx::layout_type instead of LyXTextClass::size_type
742 use lyx::textclass_type instead of LyXTextClassList::size_type
744 2001-11-29 Juergen Vigna <jug@sad.it>
746 * text.C: added support for paragraph::isFreeSpacing()
748 * buffer.C: same as above
750 * paragraph.h: inserted isFreeSpacing() function to enable
751 FreeSpacing inside InsetERT.
753 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
754 of the paragraph's in the cut/copy buffer to 0!
756 * text2.C (removeRow): remove the assert as it can!
758 * lyxtext.h: added helper function firstRow returning firstrow and
759 made firstrow private again.
761 * BufferView2.C (lockInset): don't relock if we're already locked!
763 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
765 (removeRow): added Assert::(firstrow)
767 * debug.C: forgot to add INSETTEXT here.
769 2001-11-28 Juergen Vigna <jug@sad.it>
771 * sp_spell.C (initialize): changed error text to more general
772 spellchecker command use (not only ispell!)
774 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
776 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
778 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
780 * vspace.C: initialise lyxgluelength on failure
782 2001-11-28 Allan Rae <rae@lyx.org>
784 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
785 declaration & definition that looks like a function declaration.
787 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
789 * BufferView2.C (copy):
790 (copyEnvironment): do not clear the selection when doing a copy.
792 * text.C (paintFirstRow): compilation fix
794 2001-11-27 Ben Stanley <bds02@uow.edu.au>
796 * tabular.C (Latex): correct line count when writing latex.
798 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
801 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
804 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
808 * LColor.C: change vfillline->added_space
810 * text.C: add markers and text for added space
812 * vspace.C: fix comment
814 2001-11-28 André Pönitz <poenitz@gmx.net>
816 * paragraph.C: whitespace changes
817 * all the other files from the change on 2001/11/26:
818 change *::pos_type into lyx::pos_type
820 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
822 * buffer.C (parseSingleLyXformat2Token): Set the language to the
823 language of the document when inserting error insets.
825 2001-11-26 André Pönitz <poenitz@gmx.net>
827 * BufferView_pimpl.[Ch]:
835 * paragraph_pimpl.[Ch]:
838 * text2.C: reduce header dependencies, introduce type for positions
840 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
842 * <various>: change to use Alert.h
844 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
846 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
847 when encountering an unknown token.
848 (readLyXformat2): Show an error message if there were unknown tokens.
850 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
853 * BufferView_pimpl.C:
857 * text2.C: use par->isInset()
859 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
862 * paragraph_pimpl.C: cleanup
864 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
866 * text2.C (removeRow):
867 * text.C (setHeightOfRow): remove useless (and costly) call to
870 2001-11-20 Allan Rae <rae@lyx.org>
872 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
873 Now need Inset*::checkInsertChar() to return true for appropriate
874 cases so that the characters in the minibuffer will actually be
877 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
879 * text.C: change the order of the includes.
880 (workWidth): initialize it at once.
881 (workWidth): make maxw unsigned
882 (setHeightOfRow): remove unused variable (inset)
883 (selectSelectedWord): remove unused variable (inset)
884 (paintRowText): fix drawing of hfill characters, and clean up a bit.
886 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
888 * lyxserver.C (emergencyCleanup): do not try to close pipes if
889 server is not running.
891 (closeConnection): add debug info when server is disabled.
893 * ColorHandler.C (getGCForeground): send debug message to GUI
896 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
898 * kbmap.C (bind): modify because return conventions of
899 kb_sequence::parse have changed.
901 * kbsequence.C (parse): only ignore spaces and not any stupid
902 control character. This avoids tests like s[i] <= ' ', which are
903 guaranteed to fail with 8bit characters and signed chars.
904 Change return code to string::npos when there have been no error
905 (0 was a bad idea when error is at first character)
907 2001-11-14 José Matos <jamatos@fep.up.pt>
910 * buffer.C (simpleDocBookOnePar): removed unused argument.
912 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
914 * text.C (selectNextWordToSpellcheck): do not test explicitely for
915 insets which are part of a word. Paragraph::isLetter takes care of
916 that now. Use Paragraph::isInset to identify insets.
917 (selectSelectedWord): do not test for hyphenation break.
919 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
920 that protected spaces are considered as spaces.
922 * paragraph.C (isLetter): cleanup the code for ispell extras; use
925 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
928 * lyxserver.C: fix it. and small cleanup.
930 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
932 * BufferView_pimpl.C: use inline helpers
935 * LaTeXFeatures.C: fix typos
938 * Spacing.C: move spacing_string into class
940 * ToolbarDefaults.C: move stuff into namespace anon
942 * layout.h: update enum
944 * lyxfunc.C: use better debug
946 * minibuffer.h: fix typo
950 * WorkArea.C: add and use Debug::WORKAREA
954 * text2.C: code re-organisation, inline helpers
956 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
958 * Layout.C: replaced a few cases of std::vector.size() == 0 with
961 2001-11-09 Allan Rae <rae@lyx.org>
963 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
964 '\n's after tables. Tabular and ERT inset work now makes this no
967 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
970 * minibuffer.C: fix crash, improve drop-down completion
972 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
975 * lyxserver.C: invalidate fd's when doing endPipe()
977 2001-11-08 José Matos <jamatos@fep.up.pt>
979 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
980 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
983 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
985 2001-11-07 José Matos <jamatos@fep.up.pt>
988 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
991 * buffer.C (sgmlOpenTag):
992 * buffer.C (sgmlCloseTag): removed debug info.
994 * buffer.h (sgmlOpenTag):
995 * buffer.h (sgmlCloseTag): made public.
997 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
999 * buffer.C (saveParamsAsDefaults):
1000 * lyx_cb.C (MenuLayoutSave): remove
1002 * LyXAction.C (init):
1004 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1006 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1008 * buffer.C (setPaperStuff): removed from here...
1010 * bufferparams.C (setPaperStuff): ... and moved there.
1012 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1016 * XFormsView.C: add support for drop-down completion
1018 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1020 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1023 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1025 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1028 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1030 * lyx_main.C: change ref to known bugs
1032 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1034 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1035 to work around older babel problems.
1037 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1039 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1041 2001-10-24 Juergen Vigna <jug@sad.it>
1043 * tabular-old.C (ReadOld): below variable changes reflected.
1045 * tabular.[Ch]: added ltType struct for longtable header/footer
1046 defines and changed all instances where they are used. Added
1047 future support for double top/bottom rows.
1049 2001-10-24 José Matos <jamatos@fep.up.pt>
1051 * buffer.h (docbookHandleCaption):
1052 * buffer.C (docbookHandleCaption): removed unused function.
1053 (makeDocBookFile): moved docbook supported version to v4.1.
1055 2001-10-24 José Matos <jamatos@fep.up.pt>
1058 * tabular.C (docbookRow): new function to export docbook code of a row.
1059 (DocBook): now honors the longtable flags.
1061 2001-10-23 José Matos <jamatos@fep.up.pt>
1064 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1065 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1067 * buffer.C (makeLinuxDocFile):
1068 (makeDocBookFile): reworked the preamble, more clean, and with
1069 support for lyx defined entities. Changed the document declaration
1070 to be more XML friendly.
1072 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1073 if we need to output XML that should be done with a filter.
1075 2001-10-22 Juergen Vigna <jug@sad.it>
1077 * sp_pspell.h (class PSpell): add alive function needed in the
1078 controller to see if the spellchecker could be started.
1080 2001-10-22 Juergen Vigna <jug@sad.it>
1082 * buffer.C (insertStringAsLines): modify the font for inserting
1083 chars in certain conditions by calling checkInsertChar(font).
1085 2001-10-19 Juergen Vigna <jug@sad.it>
1087 * text.C (workWidth): use getRow instead of wrong algorithm.
1088 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1090 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1095 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1097 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1099 * text.C (workWidth): do not search for the exact row when
1100 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1101 optimization for big documents.
1103 2001-10-18 Juergen Vigna <jug@sad.it>
1105 * text.C (workWidth): new function with added Inset * parameter.
1107 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1109 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1111 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1112 change return type of getColumnNearX.
1115 * text.C (changeRegionCase): use uppercase/lowercase instead of
1118 (rightMargin): simplify code by factoring out the uses of
1123 (appendParagraph): use Paragraph::size_type
1125 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1127 * vspace.C (asLatexString): add a missing break
1129 2001-10-15 Herbert Voss <voss@perce.de>
1131 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1133 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1135 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1138 2001-10-10 André Pönitz <poenitz@gmx.net>
1140 * lyxfunc.C: removed greek_kb_flag.
1142 2001-10-10 Herbert Voss <voss@perce.de>
1144 * lyx_main.C: delete global string help_lyxdir.
1146 2001-10-09 Herbert Voss <voss@perce.de>
1148 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1150 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1152 * lyx_main.C: added global string help_lyxdir.
1154 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1156 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1158 * lyxrc.C (set_font_norm_type): support iso8859-4
1160 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1162 * LaTeX.C (deplog): add another regex for MikTeX
1164 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1166 * lyxrc.C (set_font_norm_type): support iso8859-3
1168 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1170 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1172 * LaTeXFeatures.C: remove special case of french and index
1174 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1175 before \begin{document}). This solves several incompatibilities.
1177 2001-10-03 Garst Reese <reese@isn.net>
1179 * lyx_cb.C: change CheckTex error msg.
1181 2001-10-03 José Matos <jamatos@fep.up.pt>
1183 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1185 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1187 * .cvsignore: update
1189 * lyx_main.C (commandLineVersionInfo): use new style version info.
1191 * buffer.C (writeFile):
1194 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1196 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1198 * version.h: update to use stuff in version.C
1200 * version.C.in: new file. Contains version information determined
1201 at compile time. This is a merging of version.h and
1204 2001-10-03 Juergen Vigna <jug@sad.it>
1206 * BufferView_pimpl.C (update): don't change "dirty" status in
1209 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
1211 * WorkArea.C (c-tor): re-position version string slightly.
1213 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
1215 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1216 revert to previous code.
1218 WorkArea.[Ch]: (show, destroySplash): methods removed.
1220 WorkArea.C: rework code so that it's an amalgam of the codes before and
1221 after the splash screen was moved to WorkArea.
1223 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1226 * vspace.C (inPixels):
1229 * buffer.C (insertStringAsLines):
1230 (asciiParagraph): fix types to be large enough
1232 * lyxlex_pimpl.h: change member status from short to int
1234 * layout.h: fix type of endlabeltype
1237 * kbsequence.C (parse): change return type to string::size_type
1239 * LaTeX.C (updateBibtexDependencies): comment out unneeded
1242 * Bullet.C (bulletSize):
1243 (bulletEntry): do not use short ints as parameters
1245 * BufferView2.C (insertLyXFile): change a char to an int.
1247 * WorkArea.C (WorkArea): remove unneeded floats in computation
1249 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
1251 * buffer.C (asciiParagraph): Treat '\\' as other chars.
1253 * paragraph.C (asString): Do not ignore newline/hfill chars when
1254 copying to the clipboard.
1256 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
1258 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1259 after a multi-line inset.
1261 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1263 * paragraph.C (validate): Set NeedLyXFootnoteCode
1265 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1267 * lyxfont.C (LyXSizeNames): changed increase-error to increase
1268 and decrease-error to decrease.
1270 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1272 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
1273 it more readable (should be equivalent)
1275 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
1277 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
1279 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1281 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
1282 of a cursor (row, etc.) after a character has been deleted
1283 (deleteEmptyParagraphMechanism): call the method above on _all_
1284 cursors held by the LyXText when a double space has been
1287 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1289 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
1291 (resizeCurrentBuff): remove code to destroy the old splash dialog.
1293 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
1294 background. Use greyOut() and the new show() methods to toggle between
1295 the foreground and background. Add code to remove the splash after
1296 its initial showing.
1298 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
1299 (create_forms): no longer call Dialogs::showSplash.
1301 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1303 * .cvsignore: add version_info.h
1305 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1307 * version_info.h.in: new file
1309 * Makefile.am: add version_info.h.in
1311 * lyx_main.C (commandLineVersionInfo): use version_info defined in
1312 version_info.h instead of VERSION_INFO
1314 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1316 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1317 The ERT inset now returns string().
1319 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1321 * lyxtext.h, text.C (selectNextWord): renamed as
1322 selectNextWordToSpellcheck.
1324 * text.C (selectNextWordToSpellcheck): Modified to not select
1325 words inside an ERT inset.
1327 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1329 * lyx_cb.C (MenuLayoutSave): change a bit the question
1331 * sp_base.h: include <sys/types.h>
1333 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1335 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1337 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
1339 * several files: fix typos in user-visible strings
1341 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1343 * text2.C (pasteSelection): do not set the selection, since it
1344 will be cleared later. Actually, the intent was to fix the way the
1345 selection was set, but I figured rmoving the code was just as good.
1347 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
1349 * FontLoader.C (available): Check if font is available without
1352 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1354 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1356 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1358 * lyxrc.[Ch]: added display_graphics variable and associated code.
1360 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1362 * bufferparams.C (hasClassDefaults): new method. Returns true if
1363 the buffer parameters correspond to known class defaults
1365 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
1367 * XFormsView.C (show): set minimum size to the main window.
1369 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1371 * text2.C (copySelection):
1373 * lyxfind.C (LyXReplace):
1374 * BufferView_pimpl.C (Dispatch): pass the correct flag to
1375 LyXText::selectionAsString.
1377 * paragraph.C (asString): add "label" argument to the second form
1379 * text2.C (selectionAsString): add "label" argument and pass it to
1380 Paragraph::asString.
1382 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1384 * lyx_main.C (commandLineHelp): remove version information
1386 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
1388 * lyx_main.C: add -version commandline option
1390 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1392 * paragraph.h: make the optional constructor arg required instead.
1393 some modifications to other files because of this.
1395 * minibuffer.C (C_MiniBuffer_peek_event): make it static
1397 * lyxserver.C (C_LyXComm_callback): make it static
1399 * lyx_main.C (error_handler): make it static
1401 * lyx_gui.C (LyX_XErrHandler): make it static
1403 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1405 * WorkArea.C: make the extern "C" methods static.
1407 * Makefile.am (lyx_LDADD): simplify
1409 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1411 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1412 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1414 * LyXAction.C (init):
1415 * lyxfunc.C (dispatch): associated code removal.
1417 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1419 * lyxfont.h (isSymbolFont): shut off warning
1421 * text.C (setHeightOfRow):
1422 (getVisibleRow): fix crash with empty paragraphs which have a
1425 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1427 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1430 2001-09-04 José Matos <jamatos@fep.up.pt>
1433 * tabular.C (docbook): rename docBook method to docbook.
1435 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1437 * Makefile.am: add dependencies to main.o.
1439 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
1441 * FontLoader.C (available): Return false if !lyxrc.use_gui
1443 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
1445 * FontInfo.C (query):
1446 * converter.C (view):
1447 * importer.C (Import):
1448 * exporter.C (Export): Can not -> cannot.
1450 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1452 * BufferView_pimpl.C: allow to create index inset even if
1455 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1457 * buffer.C (getLists): replace boost::tie code with an explicit pair
1458 as boost::tie can break some compilers.
1460 * iterators.h: Added a std:: declaration to the return type of
1463 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1465 * lyxrc.C: add help for view_dvi_paper_option, default to safe
1468 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1470 * iterators.[Ch]: New files. Provide paragraph iterators.
1472 * buffer.C (changeLanguage): Use paragraph iterators.
1473 (isMultiLingual): ditto
1475 * BufferView2.C (ChangeInsets): Use paragraph iterators.
1477 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
1479 * FontLoader.C: Support for cmr font.
1481 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
1483 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1484 (available): New method.
1486 * FontInfo.C (getFontname): Use scalable fonts even when
1487 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1490 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1492 * converter.C (Formats::view): reverted! Incorrect fix.
1494 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1496 * converter.C (Formats::view): only output the -paper option
1497 if the dvi viewer is xdvi, thereby fixing bug #233429.
1499 2001-08-23 Herbert Voss <voss@perce>
1501 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1503 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1505 * Spacing.h (Spacing): Set space to Default on in the default
1508 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
1510 * vc-backend.h (RCS::versionString): add RCS to version
1511 (CVS::versionString): add CVS to version
1513 * vc-backend.C (scanMaster): do not add CVS to version.
1514 (scanMaster): do not add RCS to version
1516 * lyxvc.C (versionString): new method
1518 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1520 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1522 * Spacing.C (set): initialize fval
1524 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
1526 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1529 2001-08-16 Juergen Vigna <jug@sad.it>
1531 * lyxfunc.C (dispatch): implemented the new FINISHED states.
1533 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1535 * BufferView_pimpl.C:
1538 * text2.C: setParagraph takes linespacing now
1540 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1542 * LyxAction.C: add internal LFUN_CITATION_INSERT
1544 * LyXView.C: actually apply fix
1546 * bufferlist.C: fix open non-existent file
1548 * lyxfind.C: fix indentation
1550 * lyxfunc.C: remove unneeded assert, fix typo
1552 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1554 * MenuBackend.C: use "Floatname List"
1556 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1558 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1559 when converting LaTeX layout to insetERT.
1560 Generate a non-collapsed float when reading old float
1562 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1564 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1567 2001-08-13 Juergen Vigna <jug@sad.it>
1569 * text.C (fill): return 0 instead of 20 as this seems to be the more
1572 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1574 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1577 2001-08-13 Juergen Vigna <jug@sad.it>
1579 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1581 (SearchBackward): comment out the unlocking of the inset_owner this
1582 should not be needed!
1584 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1586 * Many files: Remove inherit_language, and add latex_language
1588 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1591 2001-08-10 Juergen Vigna <jug@sad.it>
1593 * text.C (prepareToPrint): fixed hfill-width in draw!
1595 * BufferView2.C (selectLastWord): save the selection cursor as this
1596 now is cleared in the function LyXText::clearSelection!
1598 2001-08-08 Juergen Vigna <jug@sad.it>
1600 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1601 BACKSPACE type functions.
1603 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1604 is only cutted from the document but not put in the cut-buffer, where
1605 still the old stuff should be.
1607 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1609 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1611 * tabular.C (SetWidthOfCell): fixed special case where the width
1613 (LeftLine): handle '|' in align_special.
1615 (LeftAlreadyDrawed): ditto
1616 (SetWidthOfCell): ditto
1618 2001-08-07 Juergen Vigna <jug@sad.it>
1620 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1622 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1624 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1625 * lyxlex.[hC]: ditto
1627 2001-08-06 Juergen Vigna <jug@sad.it>
1629 * text.C (getVisibleRow): fix up row clearing a bit.
1631 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1633 * minibuffer.C: make sure the X server sees the changes in the input.
1635 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1637 * paragraph.C (getFont): split into...
1638 (getLabelFont): this
1639 (getLayoutFont): and this
1640 * paragraph_pimpl.C (realizeFont): calling this
1642 * text2.C (getFont): split into...
1643 (getLayoutFont): this
1644 (getLabelFont): and this
1645 (realizeFont): all three calling this
1647 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1650 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1652 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1654 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
1656 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1657 layouts from the Quote inset insertion.
1659 2001-08-03 Juergen Vigna <jug@sad.it>
1661 * BufferView_pimpl.C (update): do the fitCursor only at the end!
1663 * screen.C (drawFromTo): don't call fitcursor here and do the loop
1664 only if status not is already CHANGED_IN_DRAW (second level).
1666 * text.C (draw): don't set the need_break_row when inside an
1669 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1671 * buffer.C (parseSingleLyXformat2Token): handle more latex
1674 * bufferview_funcs.[hC]: change function names to
1675 begin with small char, adjust other files.
1677 2001-08-02 André Pönitz <poenitz@gmx.net>
1680 BufferView_pimpl.C: remove broken special code for math-greek
1682 2001-08-02 Juergen Vigna <jug@sad.it>
1684 * BufferView_pimpl.C (update): redone this function so that we
1685 update the text again if there was a CHANGE_IN_DRAW.
1687 * screen.C (cursorToggle): removed LyXText parameter and recoded.
1688 (drawFromTo): added a new internal bool which is used by draw() and
1690 (general): some cursor drawing problems fixed.
1692 2001-08-01 Juergen Vigna <jug@sad.it>
1694 * lyxfind.C (LyXFind): fixed
1695 (SearchForward): ditto
1696 (SearchBackward): ditto
1698 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1699 spurius drawing of the cursor in the main area.
1701 * text2.C (status): small fix which could lead to a segfault!
1702 (clearSelection): remove unneeded BufferView param.
1704 2001-08-01 André Pönitz <poenitz@gmx.net>
1706 * lyxfunc.C: small change due to changed mathed interface
1708 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1710 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1712 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1714 * lyxfunc.c: fail gracefully if file doesn't exist
1719 * BufferView_pimpl.C: IsDirWriteable() proto changed
1721 * LyXView.C: fix updateWindowTitle() to store the last title
1723 2001-07-31 Juergen Vigna <jug@sad.it>
1725 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1726 the font (wrong since using of Paragraph::highestFontInRange).
1728 * paragraph.C (highestFontInRange): added a default_size parameter.
1730 * text.C (getVisibleRow): minor clear row changes (still not perfect).
1731 (setHeightOfRow): reformat
1733 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1735 * converter.[hC] + affected files: move to (inital-char)lowercase
1738 * ParagraphParameters.C (ParagraphParameters): remove commented code
1740 * PainterBase.[Ch]: remove commented code
1742 * LaTeXFeatures.h: add "bool floats" for float.sty
1744 * LaTeXFeatures.C (LaTeXFeatures): init floats
1745 (require): handle float
1746 (getPackages): do it with floats
1748 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1750 * BufferView_pimpl.C (Dispatch): improve handling of
1751 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1753 * commandtags.h: #include lyxfont.h here temporarily to avoid
1756 * bufferlist.h: include LString.h here.
1758 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1760 * text2.C (getStringToIndex): new method.
1762 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
1764 * *: Reduced header file dependencies all over.
1766 2001-07-30 Baruch Even <baruch@lyx.org>
1768 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1770 2001-07-29 Baruch Even <baruch@lyx.org>
1772 * buffer.C (readInset): Changed GRAPHICS to Graphics.
1774 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1776 * ParameterStruct.h (endif): add a default constructor to make
1777 sure that all variables is initialized.
1779 * ParagraphParameters.C (ParagraphParameters): adjust
1781 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1783 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1784 index; also, check that there is something to index, and that it
1785 does not span over several paragraphs.
1786 (doubleClick): use WHOLE_WORD_STRICT for double click.
1788 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1790 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1793 2001-07-26 Baruch Even <baruch@lyx.org>
1795 * buffer.C (readInset): Changed to call up InsetGraphics when reading
1796 an InsetFig figure, backwards compatible reading of old figure code.
1798 2001-07-27 Juergen Vigna <jug@sad.it>
1800 * text2.C: font.realize function adaption.
1802 * text.C (draw): add a warnings lyxerr text if needed.
1804 * layout.C: font.realize function adaption.
1806 * language.C: add inherit_language and implement it's handlings
1808 * bufferview_funcs.C (StyleReset): remove language parameter from
1809 font creation (should be language_inherit now).
1811 * bufferparams.C (writeFile): handle ignore_language.
1813 * paragraph.C (getFontSettings): the language has to be resolved
1814 otherwise we have problems in LyXFont!
1816 * lyxfont.C (lyxWriteChanges): added document_language parameter
1817 (update): removed unneeded language parameter
1819 * paragraph.C (validate): fixed wrong output of color-package when
1820 using interface colors for certain fonts in certain environments,
1821 which should not seen as that on the final output.
1823 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1825 * BufferView_pimpl.C:
1830 * LyXAction.C: add thesaurus support
1833 * lyxfind.C: add "once" parameter, for thesaurus, to not
1834 move to the next match
1836 2001-07-26 Juergen Vigna <jug@sad.it>
1838 * lyxfont.C (realize): honor ignore_language too!
1841 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
1843 * text.C (draw): one place more for ignore_language to not draw
1846 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
1848 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
1850 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1852 * buffer.C (parseSingleLyXformat2Token): a more general fix for
1853 the minipage conversion problem.
1855 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1857 * buffer.C (parseSingleLyXformat2Token): check minipage if we
1860 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1862 * BufferView.h: don't forward declare WorkArea
1864 * BufferView.C: don't include WorkArea.h
1866 2001-07-25 André Pönitz <poenitz@gmx.net>
1870 * lyxfunc.C: new LFUN 'math-space'
1872 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
1874 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1876 * text2.C (toggleInset): call open/close
1878 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1880 * lyxfunc.C (dispatch): add debug for the disabled case
1882 * font.C (buttonText): make similar to rectText
1884 * buffer.C (readInset): comment out parsing of insetlist and
1887 * PainterBase.C (rectText): small correction
1889 * BufferView_pimpl.C: comment out insettheorem and insetlist
1890 * LyXAction.C: ditto
1891 * commandtags.h: ditto
1893 2001-07-24 Juergen Vigna <jug@sad.it>
1895 * text.C (draw): honor the ignore_language.
1897 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
1899 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1901 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
1904 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * lyxtext.h: remove unused (and unimplemented) methods
1908 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * text.C (getVisibleRow): honor background color
1913 * Painter.h: remove default color argument for fillRectangle
1915 * text.C (backgroundColor): new method
1917 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1919 * text.C (getVisibleRow): adjust
1921 * font.[Ch] (rectText): new method, metrics
1922 (buttonText): new method, metrics
1924 * PainterBase.[hC]: make rectText and buttonText always draw and take
1927 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * ToolbarDefaults.C (read):
1930 * MenuBackend.C (read): allow escaping in all strings
1932 * BufferView_pimpl.C (insertAndEditInset): new method.
1933 (Dispatch): use insertAndEditInset whenever appropriate.
1935 * BufferView_pimpl.C (insertNote): removed
1937 * BufferView_pimpl.C (smartQuote): new method, moved from
1938 BufferView; if an insetquote cannot be inserted, insert a '"'
1941 * BufferView2.C: remove insertCorrectQuote();
1943 * lyxfunc.C (getStatus): Add support for all remaingin
1946 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
1948 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
1949 command (necessary to pass " as parameter of self-insert.
1951 * text.C (selectWordWhenUnderCursor):
1952 (selectWord): add word_location parameter
1953 (selectWordWhenUnderCursor): same + remove special code for word
1955 (selectNextWord): use kind() to guess type of insetspecialchar,
1958 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
1959 (insertErtContents): create ert insets as collapsed.
1960 (readInset): better compatibility code for Info inset.
1962 2001-07-20 Juergen Vigna <jug@sad.it>
1964 * lyxfunc.C (dispatch): use always LyXFind now!
1966 * text2.C (init): add a reinit flag so that the LyXText can be
1967 reinited instead of deleted and reallocated (used in InsetText).
1969 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
1975 2001-07-18 Juergen Vigna <jug@sad.it>
1977 * text.C (selectNextWord): handle insets inside inset by calling
1978 always the bv->text functions so that we can go up the_locking_inset!
1980 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
1981 in strange locations when inside an inset!
1983 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
1984 handling to include insets.
1986 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
1988 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1990 * LyXAction.C (init):
1992 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
1993 LIGATURE_BREAK, since the name is so stupid.
1995 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1997 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2000 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2002 * sp_form.[Ch]: remove.
2004 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2006 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2009 * src/buffer.C (readInset): ditto.
2011 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2013 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2014 menuSeparator(), endOfSentenceDot(), ldots() and
2015 hyphenationPoint(), which are therefore removed.
2016 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2018 * LyXAction.C (init):
2019 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2021 * paragraph.C (getWord): removed.
2023 * BufferView_pimpl.C (Dispatch): use last word or selection for
2024 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2026 * lyx_main.C (queryUserLyXDir): do not ask before creating
2027 user_dir, except if it has been named explicitely.
2029 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2031 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2032 a document of zero size.
2034 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2036 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2037 approriately in the c-tor and in require().
2038 (getPackages): output the appropriate LaTeX for natbib support.
2040 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2041 variables "use_natbib" and "use_numerical_citations" when reading the
2043 (readInset): read the various natbib cite commands.
2044 (validate): white-space change.
2046 * bufferparams.[Ch]: new variables "bool use_natbib" and
2047 "bool use_numerical_citations".
2048 (writeFile): output them in the LyX file.
2050 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * lyxfunc.C (getStatus): add support for all the inset insertion
2055 * text2.C (insertInset):
2056 * paragraph.C (insetAllowed):
2057 * BufferView_pimpl.C (insertInset): update to take in account the
2058 renaming of insertInsetAllowed
2060 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2062 * text2.C (getInset): new method. returns inset at cursor position.
2064 * BufferView_pimpl.C (Dispatch): changes because of this.
2066 * LyXAction.C (init): rename open-stuff to inset-toggle.
2068 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2070 * text2.C (toggleInset): renamed from openStuff; use
2073 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2075 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2077 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2079 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2081 * buffer.C (readLyXformat2): Add filename to the error dialog
2083 2001-07-18 Juergen Vigna <jug@sad.it>
2085 * tabular.C (GetCellNumber): put an assert here instead of the check!
2087 2001-07-17 Juergen Vigna <jug@sad.it>
2089 * BufferView_pimpl.C (toggleSelection): adapted too.
2091 * text.C (selectNextWord): adapted for use with insets.
2092 (selectSelectedWord): ditto
2094 2001-07-17 Juergen Vigna <jug@sad.it>
2096 * sp_spell.C (PSpell): fix initialitation order.
2098 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2100 * paragraph.C: spacing
2102 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2104 * sp_spell.C: repair language selection for pspell
2106 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2108 * lyxfunc.h: change more methods to begin with lower char.
2110 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2112 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2113 for unknown layouts.
2115 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2117 * buffer.C (readLyXformat2): Generate an error dialog if there are
2120 2001-07-16 Juergen Vigna <jug@sad.it>
2122 * sp_spell.C: always compile ISpell part.
2124 * lyxrc.C: added use_pspell entry and it's handling.
2126 2001-07-13 Juergen Vigna <jug@sad.it>
2128 * sp_spell.C: removed double includes.
2130 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2132 Consistent use of Lsstream.h:
2133 * Lsstream.h: added using std::stringstream for consistencies sake.
2135 * buffer.C: removed using std::stringstream
2137 * lyxfont.C (stateText):
2138 * paragraph.C (asString):
2139 * text.C (selectNextWord, selectSelectedWord):
2140 * text2.C (setCounter):
2141 * vspace.C (asString, asLatexString):
2142 std::ostringstream -> ostringstream.
2144 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2146 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2147 * commandtags.h: add LFUN_HELP_ABOUTLYX
2148 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2150 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2152 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2154 * lyx_gui_misc.C: remove spellchecker
2155 * lyxfunc.C: showSpellchecker
2157 * sp_ispell.h: added
2158 * sp_pspell.h: added
2160 * sp_form.[Ch]: removed
2161 * spellchecker.[Ch]: removed
2163 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2165 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2167 (simpleTeXSpecialChars): Simply print the input character without
2168 any special translation if pass_thru is set.
2170 * layout.h: Added bool pass_thru to layout class for being able to
2171 implement pass through of a paragraph for Literate Programming.
2173 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2174 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2175 * layout.C (Read): add "passthru" to list of layout tags and add
2176 code to set the pass_thru boolean when it is read.
2178 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2180 * trans_decl.h: remove allowed from KmodInfo
2182 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2186 * paragraph_pimpl.C (erase): use boost::prior
2188 * Painter.C (text): use data() instead of c_str() when length is
2190 * WorkArea.C (putClipboard): ditto
2191 * font.h (width): ditto
2193 * BufferView2.C: use it-> instead of (*it). for iterators
2195 * paragraph_pimpl.C: ditto
2196 * paragraph.C: ditto
2197 * minibuffer.C: ditto
2202 * converter.C: ditto
2204 * Variables.C: ditto
2205 * TextCache.C: ditto
2206 * MenuBackend.C: ditto
2207 * LyXAction.C: ditto
2209 * FloatList.C: ditto
2211 * ColorHandler.C (LyXColorHandler): ditto
2213 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2215 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2217 * text2.C (openStuff): reintroduce this method (which had been
2218 nuked in NEW_INSETS frenzy).
2220 * lyxfunc.C (Dispatch): when an action has not been handled, use
2221 its name in the error message, not its number.
2223 * paragraph.C (inInset): change method name to begin with lowercase.
2226 * text2.C: updates because of this.
2228 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2230 * ToolbarDefaults.C (add): add spaces in error message
2232 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2234 * buffer.C (readLyXformat2): initialize the ert comp. variables.
2235 (readLyXformat2): rename return_par to first_par, use lyxlex's
2236 pushToken and remove the manual push handling.
2237 (parseSingleLyXformat2Token): add another ert comp. variable:
2238 in_tabular, rename return_par to first_par. handle newlines better
2240 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2242 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2244 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2246 * text2.C (getParFromID): removed
2248 * buffer.C (getParFromID): new method moved form lyxtext.
2249 * BufferView2.C (insertErrors): adjust
2250 (setCursorFromRow): adjust
2251 * BufferView_pimpl.C (restorePosition): adjust
2252 * lyxfunc.C (Dispatch): adjust
2253 * undo_funcs.C (textUndo): adjust
2255 (textHandleUndo): adjust
2256 (textHandleUndo): adjust
2258 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2260 * buffer.C: up' the LYX_FORMAT
2262 * lyxfont.h: turn NO_LATEX on as default
2264 * buffer.C (insertErtContents): new methods of tex style compability.
2265 (parseSingleLyXformat2Token): use it several places.
2266 * tabular.C (OldFormatRead): and here
2268 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2270 * text2.C: remove some commented code.
2273 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
2274 * trans.C: changes because of the above.
2276 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
2278 * text2.C (setCounter): Fix counters bug with bibliography layout.
2280 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2282 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
2283 own member functions
2284 (simpleTeXSpecialChars): ditto
2286 2001-07-06 Juergen Vigna <jug@sad.it>
2288 * a lot of files: changed the access to LyXText::status and the
2289 call of undo-functions.
2291 * undo.[Ch]: added a inset_id to the undo informations.
2293 * undo_funcs.[Ch]: added and moved here all undo functions.
2295 * lyxtext.h: give the status enum a weight, made status_ a private
2296 variable and made accessor functions for it, removed the whole bunch
2297 of undo-functions as they are now in their own file, make some
2298 functions publically available. Added function ownerParagraph with
2301 * paragraph.[Ch]: added "bool same_ids" to the constructor,
2302 made InInset() a const function, added getParFromID() function.
2304 * buffer.[Ch]: added const version for inset_iterator functions,
2305 added getInsetFromID() function.
2307 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2308 changed undo functions for new version.
2310 2001-07-05 Juergen Vigna <jug@sad.it>
2312 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2313 unknow mechanism does not call the proper constructor but only this
2314 one also if I request the other!?
2316 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2318 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2320 * text2.C (LyXText): use initialization lists.
2322 * lyxtext.h (Selection): initialize set_ and mark_
2323 (init): remove method
2325 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
2327 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2329 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2331 * screen.[Ch]: change method names to begin with lowercase
2333 * BufferView_pimpl.C (updateScrollbar): simplify further and
2334 hopefully make it a bit faster.
2336 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2338 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2339 calling directly xforms functions.
2341 * Painter.C (Painter):
2342 * lyx_cb.C (MenuWrite):
2343 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2346 * lyx_gui.C: remove bogus guiruntime extern declaration.
2348 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2350 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2352 (redoDrawingOfParagraph): ditto
2353 (redoParagraphs): ditto
2354 (cutSelection): don't create a object for CutAndPaste use the
2355 static method directly
2356 (pasteSelection): ditto
2358 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2361 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2363 * modifications to some other files because of this.
2365 * Makefile.am (lyx_SOURCES): add XFormsView
2367 * XFormsView.[Ch]: new files
2369 * LyXView.[Ch]: make LyXView a base class for the gui handling for
2370 the main window. Move the gui dependent stuff to XFormsView
2372 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2374 * tabular.C (GetCellInset): update cur_cell also in the row/col
2375 version of this function.
2377 * lyxfunc.C: no need to include figure_form.h here.
2383 * lyxvc.C: no need to include forms.h here.
2385 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2387 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2389 * lyxfunc.C (Dispatch):
2391 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2392 constructor argument.
2394 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2396 * paragraph.C (Paragraph): dont't clear, and just set layout.
2397 (makeSameLayout): use params's copy contructor.
2399 * ParagraphParameters.[Ch] (makeSame): delete method
2401 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2403 * Variables.[Ch]: fix indentation, rename set to isSet
2405 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2407 * lyxfunc.C (Dispatch): fix typo
2409 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2411 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2414 * bufferlist.C: include assert.h for emergencyWrite().
2416 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2418 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2419 give up at last (bug #425202) !
2421 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
2427 * spellchecker.C: strip spellchecker options and bring up
2428 preferences tab instead
2430 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2432 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2433 the istringstream constructor
2435 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2437 * paragraph.C (getLayout): fix return value
2439 * paragraph.h: do not declare getLayout as inline.
2441 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2443 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2445 * lyxcursor.h (operator<): new func
2446 (operator>): new func
2447 (operator>=): new func
2448 (operator<=): new func
2450 * text.C (changeCase): use selection.start and selection.end
2451 (changeRegionCase): require from to be <= to. Require par to be a
2454 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2456 2001-06-27 Juergen Vigna <jug@sad.it>
2458 * text.C (cursorLeftOneWord): changed to return the cursor and added
2459 overlay with BufferView * parameter which calls this one.
2461 (selectWord): use new getWord function.
2462 (changeCase): renamed from changeWordCase as and extended to work
2465 * lyxtext.h: added enum word_location
2467 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2468 changeCase as this operates now also on selections.
2470 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2472 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2474 * many files: send debug output to Debug::INFO instead of
2477 * converter.C (View):
2479 (Move): send debug output to Debug::FILES instead of console.
2481 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2483 * lyxfunc.C (getStatus): use func_status
2485 * func_status.h: new header, describing the results of
2488 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2491 2001-06-25 The LyX Project <jug@sad.it>
2493 * buffer.C (sgmlOpenTag):
2495 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
2497 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2499 * text2.C: remove some dead code
2501 * tabular.C (GetCellInset): store the last cell checked (gotten)
2503 * tabular.h: add the helper for the speedup
2505 * lyxtext.h: remove some dead code
2507 2001-06-26 The LyX Project <Asger>
2509 * paragraph.C: Change export to LaTeX of alignment to
2510 \begin{center} and family for better roundtrip work with reLyX.
2512 * Tune the math drawing a bit.
2514 2001-06-25 The LyX Project <Asger>
2516 * LColor.C (LColor): New color for math background. New color
2519 2001-06-25 The LyX Project <jug@sad.it>
2521 * lyxfunc.C (MenuNew): remove extra check for .lyx file
2524 * bufferlist.C (newFile): do not restrict to files ending with
2527 * BufferView_pimpl.C (MenuInsertLyXFile):
2529 2001-06-24 The LyX Project <jug@sad.it>
2531 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2534 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2536 * lyxtext.h: rename most methods to begin with a small char.
2537 Lots of changes because of this.
2539 * paragraph.C (Paragraph): do not call fitToSize
2540 (erase): call Pimpl::erase
2541 (insertChar): call Pimpl::insertChar
2542 (insertInset): call Pipl::insertInset
2543 (breakParagraph): do not call fitToSize
2544 (breakParagraphConservative): do not call fitToSize
2545 (fitToSize): remove method
2547 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2549 2001-06-24 The LyX Project <Asger>
2551 * Fix Qt compilation^2
2553 2001-06-24 The LyX Project <jug@sad.it>
2555 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2556 depthHook(getDepth()-1).
2559 * ParagraphParameters.h:
2560 * ParameterStruct.h: change type of depth to unsigned int ==
2561 depth_type. Many adaptations to other files before of that.
2563 2001-06-24 The LyX Project <Asger>
2565 * Fix Qt compilation.
2567 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2569 * paragraph.h: renamed several methods to begin with small letter.
2570 several changes to many parts of the code because of this.
2572 2001-06-23 The LyX Project <jug@sad.it>
2574 * text2.C (InsertStringAsLines): renamed from InsertStringA;
2575 rewritten to discard all double spaces when KeepEmpty is off
2576 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2577 to only handle newlines but not fiddle with spaces and friends.
2579 * lyxfunc.C (MenuNew): when doing 'new from template', use
2580 template_path as default directory
2582 2001-06-23 The LyX Project <Asger>
2584 * Clean-up of header file includes all over
2585 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2587 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2589 * paragraph.h: renamed from lyxparagraph.h
2591 2001-06-23 Asger <lyx@violet.home.sad.it>
2593 * Buffer.h: Removed Buffer::resize
2594 * BufferList.h: Removed BufferList::resize
2595 * LyXView.h: Added LyXView::resize. This way, we will only reflow
2596 the document lazily when we change the width, or the font settings.
2598 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2600 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2602 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2604 * buffer.h: remove out of date comment
2606 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2609 * screen.C: fix "theoretical" GC leak
2611 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2613 * LaTeX.C (scanAuxFile):
2614 (deplog): remove trailing \r when reading stream (useful under
2617 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2619 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2620 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2621 and BufferView::theLockingInset(Inset*), so should use them and not
2622 access bv_->text->the_locking_inset directly.
2624 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2626 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2629 * tex-defs.h: remove old unused file
2631 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
2633 * BufferView_pimpl.C: fix typo, remove minibuffer message
2634 when buffer has loaded
2636 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2638 * lyxfunc.C (Dispatch): use stringstream
2639 (MenuNew): use stringstream
2640 (Open): use stringstream
2642 * importer.C (Import): use stringstream
2644 * bufferview_funcs.C (CurrentState): use stringstream
2646 * LaTeX.C (run): use stringstream
2648 * BufferView_pimpl.C (savePosition): use stringstream
2649 (restorePosition): use stringstream
2650 (MenuInsertLyXFile): use stringstream
2652 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
2665 * vspace.C: removed // -*- C++ -*- as first line.
2668 * version.h: added // -*- C++ -*- as first line.
2670 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2672 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2674 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2677 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2679 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2682 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2684 * gettext.C: include LString.h even when --disable-nls is on.
2686 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2688 * converter.h (Get): changed argument type from int to
2689 FormatList::size_type to avoid unnecessary conversion.
2691 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
2694 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2696 * gettext.h: include LString.h even when --disable-nls is on.
2698 2001-06-07 Juergen Vigna <jug@sad.it>
2700 * text.C (BreakAgain): subst spaces with tabs.
2702 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2703 (resizeInsetsLyXText): set force on resizeLyXText.
2705 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2707 * gettext.h (gettext_init):
2708 (locale_init): use a real definition instead of a macro
2710 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2712 * Bufferview_pimpl.C:
2714 * LColor.C: further lcolor tidies
2716 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2718 * BufferView_pimpl.C (updateScrollbar): simplify.
2720 * BufferView2.C: don't include insets/insetinfo.h, change
2721 prototype for insertInset and call the Pimpl version. let
2722 updateInset call Pimpl version.
2724 * BufferView.h: move inset_slept to BufferView::Pimpl, move
2725 gotoInset to BufferView::Pimpl
2727 2001-06-01 Juergen Vigna <jug@sad.it>
2729 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2730 inside a LockingInset (is the update needed at all?).
2732 2001-05-31 Juergen Vigna <jug@sad.it>
2734 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2735 here not the old one otherwise how should we compare it afterwards
2738 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2743 * FontInfo.C: bring C functions into global namespace when
2746 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2748 * LString.h: make sure config.h has been loaded before LString.h.
2750 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2751 (one for each char read by EatLine!).
2753 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2756 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2758 * paragraph.C (BreakParagraph): set the inset_owner in the new par
2759 to the same as the par we break from
2761 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2763 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2765 * MenuBackend.C (expand): also create menu entries for wide
2766 versions of the floats.
2768 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2770 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2772 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2773 frontends/Makefile.am
2779 * tabular.C (getTokenValue): add std::
2781 * tabular-old.C (getTokenValue): add std::
2782 (getTokenValue): ditto
2783 (getTokenValue): ditto
2785 * screen.C (ToggleSelection): adjust
2787 * lyxtext.h: put selection cursors inside a Selection struct.
2789 * lyxfunc.C (moveCursorUpdate): adjust
2791 * lyxfont.C (latexWriteStartChanges): add std::
2795 * font.h: delete with(char const *, LyXFont const &)
2797 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2799 * FontInfo.C (getFontname): add std::
2801 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2802 (workAreaButtonPress): adjust
2803 (tripleClick): adjust
2805 (moveCursorUpdate): adjust
2808 * BufferView2.C (gotoInset): adjust
2810 2001-05-30 Juergen Vigna <jug@sad.it>
2812 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2813 to check pspell I add this as default as I now have new pspell
2814 libraries and they seem to use this.
2816 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2818 * text2.C (CutSelection): make the cursor valid before the call to
2821 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2823 * kbsequence.C (parse): de-uglify a bit the parsing code, which
2824 relied on 0 terminated strings and other horrors. Bug found due to
2825 the new assert in lyxstring!
2827 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
2830 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2832 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
2835 * lyxfunc.C (processKeySym): change method of getting to the
2838 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
2839 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
2840 * BufferView_pimpl.[Ch]: here as private methods.
2842 2001-05-28 Juergen Vigna <jug@sad.it>
2844 * text.C (SetHeightOfRow): added the update() call again as it is
2845 needed to initialize inset dimensions!
2847 2001-05-16 Juergen Vigna <jug@sad.it>
2849 * text2.C (SetCharFont): Add new function with BufferView * and
2850 bool toggleall parameters for setting insets internal fonts.
2851 (SetFont): Freeze the undo as we may change fonts in Insets and
2852 all this change should be inside only one Undo!
2854 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
2855 setting font's in insets as for them we have the SetFont function!
2857 2001-05-15 Juergen Vigna <jug@sad.it>
2859 * text2.C (ClearSelection): to be sure we REALLY don't have any
2862 * tabular.C (TeXCellPreamble): fixed the left border problem for
2865 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2867 * LaTeX.C (deplog): Make sure that the main .tex file is in the
2870 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2872 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
2873 LFUN_BREAKPARAGRAPH.
2875 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
2876 help test to "internal only", similar for LFUN_INSERT_URL
2878 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
2879 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
2880 auto_region_delete and deadkeys.
2882 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
2885 * LColor.C: remove some dead entries, tidy a little
2887 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2889 * lyxfunc.C (processKeySym): comment the Escape handling, remove
2891 (Dispatch): implement LFUN_ESCAPE
2893 * commandtags.h: add LFUN_ESCAPE
2895 * LyXAction.C (init): add entry for LFUN_ESCAPE
2897 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
2898 Remove commented code.
2899 (insertNote): moved here
2900 (open_new_inset): moved here
2902 * BufferView[2].[Ch]: move insertNote and open_new_inset to
2905 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2907 * kbmap.C (findbinding): clean it up and make it work correctly.
2909 * lyx_main.C (init): do not pass argc and argv as parameters
2911 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2913 * buffer.C: fix path for OS/2 & Win32
2917 * lyx_main.C: Added os:: class.
2919 * os2_defines.h: update
2921 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2923 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
2924 better by trying again with reduced state.
2926 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2928 * lyxrc.C (read): print error about invalid key sequence only when
2929 debugging (because not all latinX keysyms are known to some X
2932 * kbsequence.C (getiso): add a few std:: qualifiers
2933 (getiso): comment out extra return statement.
2935 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
2937 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
2939 (Dispatch): enhance the accent inset a bit. (not perfect)
2941 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2943 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
2945 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2947 * bufferlist.C (emergencyWrite): fix assert() call
2949 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
2951 * text.C (InsertChar): Added trivial patch to only send the "you
2952 can not do multiple spaces this way" message once during a
2955 2001-05-08 Baruch Even <baruch@lyx.org>
2957 * Makefile.am: Changed order of libraries to get LyX to link properly
2958 with the gnome frontend.
2960 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2962 * LaTeXFeatures.h: add a std:: qualifier
2964 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2966 * paragraph.C (String): use stringstream
2968 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2970 * paragraph.C (writeFile): remove footflag arg
2972 * buffer.C (makeLaTeXFile): use stringstream
2973 (latexParagraphs): remove footnot gurba
2975 * LaTeXFeatures.C (getPackages): use stringstream
2976 (getMacros): likewise
2977 (getTClassPreamble): likewise
2978 (getFloatDefinitions): new method
2980 * paragraph.C (writeFile): reindent
2983 * WorkArea.h: revert the xpos + etc changes.
2985 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
2987 * lyxparagraph.[Ch]: add copy constructor, remove Clone
2989 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
2990 (pasteSelection): likewise
2991 * text2.C (CreateUndo): likewise
2993 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2995 * minibuffer.C (peek_event): temporarily reduce the functionality
2996 of the minibuffer (to allow args on lfuns)
2998 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
2999 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3001 * buffer.C (readInset): add compability reading of old float
3002 lists, add reading of new style float list.
3003 (readInset): avoid reevaluation of inscmd.getCmdName()
3004 (getLists): reindent
3006 * MenuBackend.C (MenuItem): implement parsing of
3007 md_floatlistinsert and md_floatinsert.
3008 (expand::LastFiles): move initalizaton of iterators out of loop,
3010 (expand::Documents): introduce typdedef vector<string> Strings,
3012 (expand::ExportFormats): introduce typedef vector<Format const *>
3013 Formats, and use it.
3014 (expand): implement FloatListInsert and FloatInsert.
3016 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3017 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3018 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3020 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3022 (Dispatch::LFUN_FLOAT_LIST): implement
3024 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3026 * LaTeX.C (run): Fix problem with --export code.
3028 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3030 * BufferView.[Ch] (workarea): removed.
3031 (getClipboard) new method; wrapper for workarea()->getClipboard()
3033 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3036 * WorkArea.h (width, height, xpos, ypos): These methods all
3037 returned the dimensions of the work_area sub-area of WorkArea,
3038 resulting in a position error if the WorkArea were resized. Now
3039 return the dimensions of the entire WorkArea.
3041 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3043 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3045 * LaTeX.C (deplog): correct the syntax of regex reg1
3047 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3049 * undo.C: remove !NEW_INSETS cruft
3051 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3053 * text2.C: remove !NEW_INSETS cruft
3055 * text.C: remove !NEW_INSETS cruft
3057 * tabular.C: remove !NEW_INSETS cruft
3059 * spellchecker.C: remove !NEW_INSETS cruft
3061 * lyxtext.h: remove !NEW_INSETS cruft
3063 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3065 * lyxfunc.C: remove !NEW_INSETS cruft
3067 * lyxfind.C: remove !NEW_INSETS cruft
3069 * lyx_cb.C: remove !NEW_INSETS cruft
3071 * figureForm.C: remove !NEW_INSETS cruft
3073 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3075 * buffer.[Ch]: remove !NEW_INSETS cruft
3077 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3079 * CutAndPaste.C: remove !NEW_INSETS cruft
3081 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3083 * BufferView2.C: remove !NEW_INSETS cruft
3085 * BufferView.h: remove !NEW_INSETS cruft
3087 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3089 * Lsstream.h: include LString.h before the sstream headers to
3090 fix problem with gcc 2.95.3 and lyxstring
3092 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3094 * lyx_main.C: add using directives when needed for C functions
3095 declared in std:: namespace.
3097 2001-04-27 Juergen Vigna <jug@sad.it>
3099 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3100 (SetHeightOfRow): comment out the update call should not be needed!
3102 2001-04-13 Juergen Vigna <jug@sad.it>
3104 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3105 (LyXTabular): tried to minimize operator= operations (and realized
3106 hopfully Lars wish).
3108 2001-04-27 Juergen Vigna <jug@sad.it>
3110 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3112 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3114 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3116 * buffer.C (readInset): hack to make listof algorithm work
3118 * BufferView_pimpl.C: hack to make listof algorithm work
3120 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3122 * LyXAction.C: removed all !NEW_INSETS cruft
3123 (init): moved lfun_item in method
3125 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3127 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3129 * BufferView2.C (theLockingInset): white space.
3131 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3133 * minibuffer.C: include <iostream>
3135 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3137 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3139 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3141 * text.[Ch] (TransposeChars): new method
3143 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3145 * call message directly through LyXView instead of through LyXFunc
3146 * BufferView2.C: adjust
3147 * BufferView_pimpl.C: adjust
3148 * FontLoader.C: adjust
3150 * bufferview_funcs.C: adjust
3151 * converter.C: adjust
3152 * figureForm.C: adjust
3153 * importer.C: adjust
3155 * lyx_gui_misc.C: adjust
3159 + more files in subdirs
3161 * lyxparagraph.h (size): move up int file
3164 * adjust all uses of Assert to lyx::Assert.
3166 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3167 lyxfunctional in namespace lyx
3168 * layout.C (hasLayout): ditto
3171 (delete_layout): ditto
3172 (NumberOfClass): ditto
3173 * converter.C (GetFormat): ditto
3178 * bufferlist.C (getFileNames): ditto
3179 (emergencyWriteAll): ditto
3182 * MenuBackend.C (hasSubmenu): ditto
3185 * BufferView_pimpl.C (getInsetByCode): ditto
3187 2001-04-18 Juergen Vigna <jug@sad.it>
3189 * vspace.C (asLatexString): fixed the 100% problem.
3191 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3193 * lyxfunc.C (Dispatch):
3195 * minibuffer.h: add a few std:: qualifiers
3197 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3199 * minibuffer.[Ch]: reimplement so that commands is initiated and
3200 run from lyxfunc, simplified som handling, and made the completion
3201 and history code for complete. wip.
3203 * lyxfunc.C (processKeySym): call message
3204 (miniDispatch): new temporary method
3205 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3206 (LFUN_MESSAGE): implement
3207 (LFUN_MESSAGE_PUSH): implement
3208 (LFUN_MESSAGE_POP): implement
3209 (initMiniBuffer): the initial/defualt minibuffer message.
3211 * lyxfont.[Ch]: inline some more getters
3213 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3215 * lyx_gui_misc.[Ch] (WriteStatus): remove method
3217 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3218 (AutoSave): use LFUN_MESSAGE
3219 (Reconfigure): ditto
3221 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3223 * figureForm.C: use LFUN_MESSAGE
3225 * converter.C (runLaTeX): use LFUN_MESSAGE
3227 * bufferview_funcs.C: use LFUN_MESSAGE
3229 (changeDepth): ditto
3231 * bufferparams.h: use boost::
3233 * bufferlist.h: inherit privately from noncopyable
3235 * bufferlist.C (loadLyXFile): remove some commented code.
3237 * buffer.C (runChktex): use LFUN_MESSAGE
3239 * ShareContainer.h: inherit privately from noncopyable
3241 * ParagraphParameters.[hC] (depth): inline it.
3243 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3245 (message): new method
3246 (messagePush): ditto
3248 (show): init minibuffer
3249 (showState): direct call
3251 * LaTeX.[Ch]: inherit privately from noncopyable
3252 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3253 instead of WriteStatus.
3255 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3257 * BufferView_pimpl.C (buffer): don't init minibuffer
3258 (workAreaButtonPress): use LFUN_MESSAGE
3259 (workAreaButtonRelease): ditto
3260 (savePosition): ditto
3261 (restorePosition): ditto
3262 (MenuInsertLyXFile): ditto
3263 (workAreaExpose): don't init minibuffer
3264 (update): remove commented code, simplify
3266 * BufferView2.C (openStuff): use LFUN_MESSAGE
3267 (toggleFloat): ditto
3270 (copyEnvironment): ditto
3271 (pasteEnvironment): ditto
3276 (updateInset): remove some commented code
3278 * lastfiles.h: inherit privately from noncopyable
3283 * lyxlex_pimpl.h: ditto
3285 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
3286 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
3287 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3289 * LyXAction.h: inherit privately from noncopyable, add methods
3290 func_begin, func_end, returning iterators to the func map.
3292 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
3293 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3294 (func_begin): new method
3295 (func_end): new method
3297 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
3299 (copySelection): ditto
3300 (pasteSelection): ditto
3302 * BufferView.C: whitespace change
3303 * BufferView.h: inherit privately from noncopyable
3305 2001-04-16 Allan Rae <rae@lyx.org>
3307 * tabular-old.C (l_getline):
3308 * spellchecker.C (sc_check_word):
3309 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3310 an unrecognised preprocessor directive. So ensure they're wrapped.
3312 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
3314 * src/exporter.C (Export): Give an error message when path to file
3317 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
3319 * LaTeX.C (deplog): Always check that foundfile exists.
3321 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3324 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
3326 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3328 * tabular.[Ch] (getLabelList): implement new method
3330 * minibuffer.h: comment ouf setTiimer
3332 * minibuffer.C (ExecutingCB): constify res
3333 (peek_event): constify s
3334 (Set): constify ntext
3335 (Init): constify nicename
3337 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3339 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3340 (savePosition): use two params to Minibuffer::Set
3341 (restorePosition): ditto
3343 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3345 * lyx_main.C: include language.h
3347 * Makefile.am (lyx_main.o): add language.h
3349 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3355 * CutAndPaste.C: include gettext.h
3357 * lyxfont.h: remove old hack with ON and OFF.
3360 * lyxfont.h: do not include language.h...
3365 * bufferview_funcs.C:
3371 * paragraph.C: ... but do it here instead
3373 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3375 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3377 * tabular.C: small reformat
3379 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3382 (BreakParagraph): ditto
3383 (SetOnlyLayout): ditto
3386 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3389 * lastfiles.C: removed most using decl, add std:: where needed
3391 * buffer.C: ws changes
3393 * MenuBackend.C (class compare_format): put into anon namespace
3394 (expand): constify label, names, action, action2
3397 * text.C (SingleWidth): constify font
3398 (IsBoundary): constify rtl2
3399 (GetVisibleRow): constify ww
3401 * LaTeX.C (deplog): constify logfile
3403 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3405 (workAreaExpose): constify widthChange, heightChange
3407 * lyxrow.C (par): moved
3410 * lyxrow.h: as inlines here
3412 * lyxfont.h (shape): moved from lyxfont.C
3413 (emph): moved from lyxfont.C
3415 * lyxfont.C (LyXFont): use initialization list for all
3417 (shape): move to lyxfont.h as inline
3418 (emph): move to lyxfont.h as inline
3421 2001-04-04 Juergen Vigna <jug@sad.it>
3423 * vspace.C: had to include stdio.h for use of sscanf
3425 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
3428 * BufferView_pimpl.h: remove xforms cruft. Both classes are
3429 independent of xforms.
3431 2001-04-02 Juergen Vigna <jug@sad.it>
3433 * spellchecker.C: fixed namespace placing!
3435 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3437 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3438 the LyXParagraph * is 0.
3440 2001-03-29 Juergen Vigna <jug@sad.it>
3442 * vspace.C: added support for %, c%, p%, l%.
3443 (stringFromUnit): added helper function.
3444 (asLatexString): changed to give right results for the %-values.
3446 * buffer.C: convert the widthp in a width%.
3448 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3450 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3453 * figureForm.[Ch]: stripped the FD_from_figure manipulation
3454 code out of lux_cb.[Ch], ready for its (imminent?) removal.
3456 * lyx_cb.[Ch]: see above.
3458 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3462 * lyx.[Ch]: replaced by figure_form.[Ch].
3466 * lyxfunc.C: changed headers associated with above changes.
3468 2001-03-27 Juergen Vigna <jug@sad.it>
3470 * BufferView_pimpl.C: set the temporary cursor right!
3472 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3474 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3476 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3478 * LString.h: removed "using std::getline"!
3480 * BufferView_pimpl.C (Dispatch): changes due to changes in
3481 InsetInclude::Params.
3483 * buffer.C (tag_name): removed redundant break statements as they were
3484 producing lots of warnings with my compiler.
3486 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3488 * LString.h: add "using std::getline" when using the real <string>.
3490 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3492 * buffer.C: removed bitset usage.
3493 PAR_TAG moved to an anonymous name space.
3494 (tag_name): new funtion, also in the anonymous namespace.
3495 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3496 (makeDocBookFile): clean code. Completed transition from string arrays
3498 (SimpleDocBookOnePar): code clean.
3500 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3502 * tabular.C: add some comments.
3504 2001-03-22 Juergen Vigna <jug@sad.it>
3506 * buffer.C (parseSingleLyXformat2Token): redone the minipage
3507 compatibility read a bit and fixed bug with minipage in different
3510 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
3512 * buffer.C (pop_tag): removed.
3513 (push_tag): removed.
3514 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3515 array replaced with vector. Added support for CDATA sections.
3516 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3518 (makeDocBookFile): XML conformant declaration of CDATA section,
3519 fixed bug related to <emphasis> in the first paragraph char.
3520 (sgmlOpenTag): exclude empty tags.
3521 (sgmlCloseTag): ditto.
3523 * buffer.h (pop_tag): removed.
3524 (push_tag): removed.
3526 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3528 * language.h (Languages): added size_type and size().
3530 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3532 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3533 response on compability reading of minipages. One probliem is that
3534 the old usage of minipages was «flertydig»
3536 * several files here and in subdirs: don't use static at file
3537 scope use anon namespaces instead.
3539 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
3541 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3542 LaTeX output. This is necessary for Literate document
3545 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3547 * buffer.C: insert hfill when needed.
3549 * tabular.C (l_getline): use string::erase, small whitespace change.
3551 * BufferView_pimpl.C: try the anon namespace.
3554 2001-03-16 Juergen Vigna <jug@sad.it>
3556 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3557 otherwise it won't open options-dialogs.
3559 * buffer.C: honor pextraWidth(p) on converting minipages.
3561 * tabular.C (l_getline): changed the functions to strip trailing \r.
3563 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
3565 * BufferView_pimpl.C:
3566 * minibuffer..C: added "using SigC::slot" declaration.
3568 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3570 * lyxlex_pimpl.h: noncopyable is in namespace boost.
3576 * paragraph.C: ditto
3578 * lyxtext.h: NO_PEXTRA
3580 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3582 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3583 * ParameterStruct.h: ditto
3584 * ParagraphParameters.h: ditto
3585 * lyxparagraph.h: ditto
3587 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3589 * buffer.C: add compability for minipage alignment.
3590 (latexParagraphs): remove unwanted pextra check.
3592 * several files: remove CXX_WORKING_NAMESPACES
3594 * buffer.C (pop_tag): tie is in namespace boost
3596 * BufferView.h: noncopyable is in namespace boost
3601 * lastfiles.h: ditto
3602 * bufferlist.h: ditto
3603 * ShareContainer.h: ditto
3605 * LyXAction.h: ditto
3608 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3610 * Merging changes from BRANCH_MVC back into HEAD.
3612 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3614 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
3616 * BufferView_pimpl.C: change from intl.C
3620 * Makefile.am: move combox.*
3626 * intl.C: remove dialog (covered by prefs)
3628 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3630 * lyxfunc.C (Dispatch): removed redundant break statement.
3632 2001-03-14 Juergen Vigna <jug@sad.it>
3634 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3636 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3638 * buffer.C: add hack to fix compability reading of minipages.
3640 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3642 * buffer.C (getLists): Cleanup.
3644 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3646 * lyxfont.C (update): don't honor toggleall on font size.
3648 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
3652 * Makefile.am: moved to frontends/xforms/
3656 * BufferView_pimpl.C: changes for moved mathpanel
3658 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3660 * gettext.h: fix gettext_init() in --disable-nls
3662 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3664 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3666 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3669 * lyx.h: strip external form
3671 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3673 * BufferView_pimpl.C: add comment, destroySplash()
3675 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3677 * BufferView_pimpl.C:
3681 * lyxfunc.C: use re-worked insetinclude
3683 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3685 * buffer.C: add using std::stringstream.
3687 * lyx_cb.C: readd using std::ios.
3689 * buffer.C: add using std::map.
3691 * BufferView_pimpl.C: add using std::vector.
3693 * ShareContainer.h: add std:: to swap.
3695 * buffer.h: add some typedefs
3696 * buffer.C (getLists): use them
3697 (getLists): renamed from getTocList.
3698 add a counter for the different float types and use it in the
3700 (getLists): use the same counter for the NEW_INSETS and the "non"
3703 * lyx_cb.h: remove unused items, includes, using etc.
3705 * ShareContainer.h: remove some commented code, add more comments
3706 and "documentation".
3708 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3710 * buffer.C (getTocList): make the list also when NEW_INSETS is
3713 * buffer.h: remove TocType
3715 * buffer.C (getTocList): change to return a map<string,
3716 vector<TocItem> >, implement for dynamic number of list.
3718 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3719 * text2.C (PasteSelection): adjust
3720 * CutAndPaste.C (pasteSelection): adjust
3722 * FloatList.C (FloatList): update from the new_insets branch.
3723 * Floating.[Ch]: ditto
3724 * LaTeXFeatures.C: ditto
3726 * lyxlex_pimpl.C: ditto
3728 * paragraph.C (Last): remove when NEW_INSETS is defined.
3730 * other file: changes because of the above.
3732 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3734 * lyxparagraph.h: rename next to next_, previous to previous_,
3735 make them private for NEW_INSETS. Rename Next() to next(),
3736 Previous() to previous().
3738 * other files: changes because of the above.
3740 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
3743 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3746 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3748 * main.C (main): pass lyx_localedir to gettext_init().
3750 * gettext.h: remove locale_init and gettext_init macros
3752 * gettext.C (locale_init): new function
3753 (gettext_init): new function
3755 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3758 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
3760 * Moved credits to frontends:
3761 * credits.[Ch]: removed
3762 * credits_form.[Ch]: removed
3763 * lyx_gui_misc.C: remove credits stuff
3766 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3768 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3770 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3771 unneeded destructor.
3773 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3774 a standalone pointer again.
3776 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3778 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3784 * ToolbarDefaults.C:
3793 * BufferView_pimpl.C: use new file dialog in GUII
3796 * lyx_cb.C: remove LayoutsCB to Toolbar
3798 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3800 * ShareContainer.h (get): add std:: qualifier
3802 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3804 * ShareContainer.h: define a proper ShareContainer::value_type
3805 type (and use typename to please compaq cxx)
3807 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3809 * lyxparagraph.h: move serveral local vars to
3810 ParameterStruct/ParagraphParameters., use ShareContainer in
3811 FontTable., make vars in FontTable private and add getter and
3814 * paragraph.C: changes because of the above.
3816 * lyxfont.h: remove copy constructor and copy assignment. (the
3817 default ones is ok), move number inside FontBits. move inlines to
3820 * lyxfont.C: add number to initializaton of statics, move several
3821 inlines here. constify several local vars. some whitespace
3822 cleanup. Dont hide outerscope variables.
3824 * Spacing.h: add two new constructors to match the set methods.
3826 * ShareContainer.h: new file, will perhaps be moved to support
3828 * ParameterStruct.h: new file
3830 * ParagraphParameters.h: new file
3832 * ParagraphParameters.C: new file
3834 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
3835 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
3837 * BufferView_pimpl.C: ParagraphParameter changes.
3838 * buffer.C: Likewise.
3839 * bufferview_funcs.C: Likewise.
3841 * text2.C: Likewise.
3843 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3845 * lyxfind.C (LyXReplace): do not redefine default argument in
3847 (IsStringInText): ditto
3848 (SearchForward): ditto
3849 (SearchBackward): ditto
3851 2001-03-06 Juergen Vigna <jug@sad.it>
3853 * lyxfind.C (IsStringInText): put parentes around expressions.
3855 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
3857 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
3859 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
3861 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
3863 * stl_string_fwd.h: add comment
3865 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
3868 * tabular.C: remove unused DocBook methods
3874 killed DO_USE_DEFAULT_LANGUAGE
3876 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3878 * lyx_gui.C: do not include language.h.
3880 * bufferview_funcs.C (ToggleAndShow): do not provide optional
3881 arguments in function implementation.
3883 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3885 * BufferView_pimpl.C: add <ctime>
3887 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3889 * BufferView_pimpl.C: add using std::find_if
3891 2001-02-27 José Matos <jamatos@fep.up.pt>
3893 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
3896 2001-02-11 José Matos <jamatos@fep.up.pt>
3898 * buffer.C (makeDocBookFile): command styles now have a parameter as
3901 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
3903 * layout_forms.[Ch]: removed
3904 * lyx_cb.[Ch]: out character
3905 * lyx_gui.C: out character
3906 * lyx_gui_misc.C: out character
3907 * bufferview_funcs.C: : out character,
3908 added toggleall as parameter in ToggleAndShow
3910 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
3912 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
3914 * text2.C (SetCurrentFont): Disable number property at boundary.
3916 2001-02-26 Juergen Vigna <jug@sad.it>
3918 * lyxfunc.C (getStatus): added a string argument override function so
3919 that this is correctly called from LyXFunc::Dispatch if it contains a
3920 do_not_use_argument which is used!
3921 (Dispatch): added check for "custom" export and call appropriate func.
3923 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
3925 * lyxrc.C: Add language_command_local, language_use_babel and
3926 language_global_options.
3928 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
3930 * buffer.C (makeLaTeXFile): Use language_use_babel and
3931 language_global_options.
3933 2001-02-23 Juergen Vigna <jug@sad.it>
3935 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
3936 which works with LyXText and putted it inside BufferView. Here now we
3937 only call for that part the BufferView::Dispatch() function.
3939 * BufferView.C (Dispatch): added.
3941 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
3942 functions which needs to use a LyXText over from LyXFunc.
3943 (MenuInsertLyXFile): added
3944 (getInsetByCode): added
3945 (moveCursorUpdate): added
3946 (static TEXT): added
3948 2001-02-22 Juergen Vigna <jug@sad.it>
3950 * BufferView_pimpl.C (update): call a status update to see if LyXText
3953 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3955 * vc-backend.C (revert): implement for CVS
3956 (getLog): implement for CVS
3958 2001-02-20 Juergen Vigna <jug@sad.it>
3960 * text2.C (ClearSelection): added BufferView param for inset_owner call
3962 * lyxfunc.C (TEXT): added this function and use it instead of
3963 directly owner->view()-text of getLyXText().
3965 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
3967 * src/layout_forms.C: out preamble
3968 * src/layout_forms.h: out preamble
3969 * src/lyx_cb.C: out preamble
3970 * src/lyx_cb.h: out preamble
3971 * src/lyx_gui.C: out preamble
3972 * src/lyx_gui_misc.C: out preamble
3973 * src/lyxfunc.C: connect with guii preamble
3975 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3977 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
3979 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
3981 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
3982 whether to run bibtex.
3984 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
3986 * Makefile.am (lyx_SOURCES): Remove BackStack.h
3988 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3990 * Makefile.am (lyx_SOURCES): removed bibforms.h
3994 * text.C (GetVisibleRow): make several local vars const
3996 * tabular.C: small cleanup.
3998 * lyxserver.C (callback): use compare instead of strncmp
4000 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4001 inlines to after class or to paragraph.C
4003 * lyxfont.h: remove friend operator!=
4005 * converter.h: move friend bool operator< to non friend and after
4008 * combox.h: small cleanup
4010 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4011 to inlines after class def.
4013 * buffer.C (pop_tag): use string operations instead of strcmp
4015 * bmtable.c: doxygen, small cleanup
4017 * LaTeX.h: remove friend operator==
4019 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4031 * BufferView_pimpl.C:
4032 * BufferView.[Ch]: remove cruft
4034 2001-02-14 Juergen Vigna <jug@sad.it>
4036 * lyxfunc.C: removed #if 0 unused code
4038 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4040 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4042 * text2.C (SetSelection): added a BufferView * parameter
4044 2001-02-13 Juergen Vigna <jug@sad.it>
4046 * lyxfunc.C (Dispatch): fixed protected blank problem.
4047 * BufferView2.C (protectedBlank): added LyxText * parameter.
4049 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4050 (AppendColumn): same as above for column_info.
4052 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4053 (moveCursorUpdate): use a LyXText param for support of InsetText.
4055 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4056 (tripleClick): ditto
4058 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4060 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4062 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4064 * text2.C (SetSelection): set correct update status if inset_owner
4067 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4069 * tabular.C: remove some commented code.
4071 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4073 * BufferView_pimpl.C: call hideSplash()
4075 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4078 * bibforms.h: remove
4081 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4082 add LFUN_CHILD_CREATE
4084 * counters.h: fix tiny typo
4089 * lyx.C: move splash to frontends/xforms/
4091 * lyx_gui_misc.C: move Include and Bibform to frontends
4093 * lyxvc.h: clarify comment
4095 * vspace.C: tiny housekeeping
4097 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4099 * text.C (PrepareToPrint): RTL Fix.
4101 * paragraph.C (GetUChar): New method.
4102 (String): Use GetUChar.
4104 * buffer.C (asciiParagraph): Use GetUChar.
4106 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4108 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4110 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4113 * buffer.C: rename to getLogName(), handle
4114 build log / latex log nicely
4116 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4119 * MenuBackend.h: remove support for reference menuitem type.
4121 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4123 * BufferView_pimpl.C: housekeeping
4124 * BufferView_pimpl.h:
4129 * minibuffer.h: move Timeout GUI-I
4131 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4133 * lyxrc.C (read): Update converters data-structures.
4135 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4137 * LaTeX.h (operator!=): add operator != for Aux_Info
4139 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4141 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4143 * LaTeXLog.C: deleted, useful code moved to Buffer
4146 * buffer.C: new function getLatexLogName()
4152 * lyxfunc.C: use frontends for LaTeX and VC logs
4154 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4156 * LaTeX.h: yet another std:: that Allan forgot.
4158 * Variables.C (set): renamed from isset(), because this clashes
4159 with some HP-UX macros (grr).
4161 2001-02-06 Allan Rae <rae@lyx.org>
4163 * LaTeX.h: Another bug fix. Missing std:: this time.
4165 2001-02-04 Allan Rae <rae@lyx.org>
4167 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4168 floats problem. I've left it commented out because it's not quite
4169 correct. It should also test that the current object is a table or
4170 figure inset. But I haven't gotten around to figuring out how to do
4171 that. I *think* it'll be something like: "table" == inset.type()
4173 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4176 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4178 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4179 all the citation/databases/styles in the auxilary file.
4180 (run): Rerun latex if there was a babel language error.
4182 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4184 * text.C (Backspace): Preserve the font when changing newline char
4186 (BreakParagraph): If the cursor is before a space, delete the space.
4188 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4190 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4192 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4193 new argument (code).
4194 (ChangeCitationsIfUnique): New method.
4196 * paragraph.C (GetPositionOfInset): Handle bibkey.
4198 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4200 * BufferView_pimpl.h: change type of Position::par_pos to
4201 LyXParagraph::size_type.
4203 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
4205 * BufferView_pimpl.C (savePosition, restorePosition): Write
4206 messages to minibuffer.
4208 2001-01-28 José Matos <jamatos@fep.up.pt>
4210 * buffer.C (makeDocBookFile): adds support for document language.
4211 A silly restriction on the name of LatexCommand types where removed.
4212 Added support for CDATA sections, allows to chars unescaped, used
4213 among others in code, to avoid escape < and >.
4215 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4217 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
4218 saved positions instrad of a stack. Furthermore, a position is
4219 stored using paragraph id/paragraph position.
4221 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4222 Remove LFUN_REF_BACK.
4224 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4226 * converter.C (dvipdfm_options): New method.
4228 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4230 * vspace.C (isValidLength): Fix for empty input string.
4232 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4234 * LyXAction.C (init): change description of LFUN_FIGURE to
4237 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4239 * LaTeX.C: add using directive
4241 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4243 * MenuBackend.C (expand): Fix the sorting of the formats.
4245 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
4247 * lyx_main.C: tiny error message fix
4249 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4251 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4252 calling fl_initialize(). This fixes the problem with ',' as
4253 decimal separator in text files.
4255 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4257 * trans.C (process): Fix the keymap bug.
4259 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
4261 * LaTeX.C (scanAuxFiles): New method. Provides support for
4262 multiple bibliographies (when using the bibtopic/bibunits pacakges).
4263 (scanLogFile) Scan for "run BibTeX" messages.
4265 * buffer.C (makeLaTeXFile): Do not load the ae package when using
4266 OT1 font encoding. Also, load the aecompl package if the ae
4269 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
4271 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4273 * texrow.C (increasePos): turn two error messages into debug
4276 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
4278 * LaTeX.C (scanAux): Handle the \@input macro.
4279 (runBibTeX): Use scanAux().
4281 * language.C (latex_options_): New field.
4283 * LaTeXFeatures.C (getMacros): Add language macros.
4285 * buffer.C (makeLaTeXFile): Small fix.
4287 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4289 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
4291 * text2.C: add a using directive.
4293 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
4298 * lyxfunc.C: kill LyXBell.
4300 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
4302 * text.C (IsBoundary): Remove the error message
4304 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4306 * lyxrc.C (setDefaults): Correct initialization value for
4309 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
4311 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4314 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4317 * src/LyXAction.C: Added reference-next.
4319 * text.C (InsertChar): Use contains instead of strchr.
4321 * lyx_cb.C (MenuInsertLabel): Enable default value code.
4323 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
4325 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4326 alignment commands (when needed).
4328 * text.C (InsertChar): Add ':' to number separator chars.