1 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * lyxlength.C (asLatexString): change PW to output as percent of
6 * lengthcommon.C: change '%' to 't%'
8 * lyxfunc.C (dispatch): a few comments from Martin
10 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
15 * BufferView_pimpl.C: clear our selection when X tells us we've lost
18 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
20 * vspace.C (inPixels): fix compiler warning
22 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
24 * lyxfunc.C (getStatus): fix status message for disabled commands.
26 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
28 * BufferView_pimpl.C: fix crash on close buffer
29 during selection (#227)
31 2002-01-27 Herbert Voss <voss@lyx.org>
33 * buffer.C: link old Figure to new graphic inset
35 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
37 * FontLoader.C (getFontinfo): Change the latex font names in order
38 to match the names of type1inst.
40 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
42 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
44 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
47 (remove_files_with_extension): ditto
51 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
52 document is smaller than the work area height. Do not initialize
53 static variables to 0.
55 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
57 * lyx_gui.C (init): give the toolbar tooltips a normal font.
59 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
60 LFUN_LAYOUT_PARAGRAPHS.
62 * tabular.C (GetCellFromInset): new method. Finds an inset in a
63 tabular. It is possible to provide a possible cell, which will
64 typically be the actcell from the corresponding insettabular
66 * lyxfunc.C (getStatus): small cleanup; disable
67 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
70 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
72 * tabular.C (Validate): remove broken optimization (fixes bug #201)
74 * paragraph.C (startTeXParParams):
75 (endTeXParParams): new methods. The LaTeX code to
76 start/end paragraph formatting
77 (simpleTeXOnePar): call startTeXParParams also when paragraph is
78 empty (fixes bug #200)
80 * vspace.C (inPixels): adapt to the change below
81 (inPixels): [later] more cleanups (remove unused variables)
83 * lyxlength.C (inPixels): change to use a width and a height as
86 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
88 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
89 Replaced with \paperwidth
91 * DepTable.C (insert): add std:: qualifier
93 2002-01-18 Allan Rae <rae@lyx.org>
95 * text2.C (removeRow): add comment. Should other refresh_?? vars be
98 * text.C (drawInset): Turned out I didn't know enough about how
99 rebreaking worked. This fixes most of the redraw problems. I see
100 an occasional cursor trail when a line is broken now and the cursor
101 placement can seem out by a few pixels also after a rebreak.
103 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
105 * buffer.C (parseSingleLyXformat2Token): update because minipage
106 width is now a LyXLength
108 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
110 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
113 2002-01-17 Juergen Vigna <jug@sad.it>
115 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
117 * BufferView2.C (lockInset): call edit() so that theLockingInset()
118 is set correctly and the inset is updated correctly.
120 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
122 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
123 the beginning of the loop.
125 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
127 * lyxrc.C: improve help for use_scalable_fonts
129 2002-01-17 Allan Rae <rae@lyx.org>
131 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
133 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
135 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
136 make sure to set their inset_owner to the right value (bug #171)
138 2001-12-12 Ben Stanley <bds02@uow.edu.au>
141 * DepTable.C: Implement mtime checking to reduce time spent doing
144 2002-01-16 Juergen Vigna <jug@sad.it>
146 * tabular.C (GetAdditionalHeight): one of error fixed.
148 * lyxrc.C (output): small fix in writing use_pspell.
150 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
152 * sp_base.h: #include LString.h
154 2002-01-16 Allan Rae <rae@lyx.org>
156 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
157 Can someone check this please?
159 * text.C (drawInset): It was possible that p.row would be removed by
160 breakAgainOneRow upsetting a few other settings. There may be another
161 small tweak possible by setting need_break_row = 0 when p.row has been
162 removed but I don't know enough about the logic here.
164 2002-01-15 Allan Rae <rae@lyx.org>
166 * text.C (insertChar): removed conditional truism.
168 * BufferView2.C (removeAutoInsets): More tweaks.
169 cur_par_prev could be a stray pointer. Check for trailing empty line
170 in case last line was cur_par and only had an error inset on it.
172 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
174 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
177 * vc-backend.C (most methods):
178 * exporter.C (Export):
179 * converter.C (convert):
181 * LyXSendto.C (SendtoApplyCB):
182 * lyxfunc.C (dispatch):
186 * lyx_cb.C (AutoSave):
188 * BufferView_pimpl.C (MenuInsertLyXFile):
189 * buffer.C (runChktex): use Buffer::filePath().
191 * buffer.h: rename filename to filename_; rename filepath to
192 filepath_ and make it private
193 (filePath): new method
195 * buffer.C (writeFile): use fileName()
198 * lyx_main.C (init): fix starting of LyX when the binary is a
199 link from so,ewhere else.
201 * minibuffer.C: include <cctype> for isprint
203 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
205 * buffer.C (parseSingleLyXformat2Token): changes associated with the
206 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
207 name clash with InsetCollapsable's width function.
209 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
211 * lastfiles.C: include <iterator>
213 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
215 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
218 * buffer.C (makeLaTeXFile): ditto.
219 Also make loop operation more transparent.
221 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
223 * ToolbarDefaults.C: remove trailing comma closing namespace.
225 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
227 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
230 * trans.C (Load): comment out unused variable, allowed.
232 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
234 * minibuffer.[Ch] (append_char): new method to recieve input from the
235 drop-down completion browser. If a key was pressed, then recieve this
236 char and append it to the existing string.
237 (peek_event): modify the positioning data passed to the completion
238 browser so that it can be placed above the minibuffer rather than below.
239 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
241 * LyXAction.C (init): alloe error-next for readonly documents.
243 * BufferView2.C (ChangeRefsIfUnique): use standard version of
246 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
248 * bufferlist.C (readFile): create the buffer _after_ checking that
251 * lyxfunc.C (verboseDispatch): fix handling of arguments
253 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
255 * lyxrc.C: use string::erase() instead of initializing to "".
258 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
260 * BufferView_pimpl.h:
261 * BufferView_pimpl.C:
264 * text2.C: tell X when we have made a selection for copying
266 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
268 * BufferView_pimpl.C (MenuInsertLyXFile):
269 * lyxfunc.C (menuNew):
271 (doImport): add shortcuts to directory buttons
273 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
276 * lyxfunc.C (setStatusMessage):
277 (getStatusMessage): new methods
278 (getStatus):use setStatusMessage instead of setErrorMessage
279 (dispatch): when function is disabled, set error message here
280 [instead of in getStatus previously]
282 * BufferView_pimpl.C (workAreaButtonRelease): update
283 toolbar/menubar here too.
285 2002-01-13 Allan Rae <rae@lyx.org>
287 * BufferView2.C (removeAutoInsets): finished off earlier fix.
288 Now seems indestructible. Remaining task is to audit all other
289 code affected by deleteEmptyParagraphMechanism. One small quirk
290 left is that an empty document with an error in the preamble can
291 be made to report an error but no error box appears. I don't know
293 (removeAutoInsets): Improved comments.
295 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
298 * Thesaurus.C: update for Aiksaurus 0.14
300 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
302 * text2.C (firstParagraph): removed member function, all uses
303 replaces with ownerParagraph
304 (redoParagraphs): here
306 (toggleAppendix): here
307 * BufferView2.C (insertErrors): here
308 (setCursorFromRow): here
310 2002-01-13 Allan Rae <rae@lyx.org>
312 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
313 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
314 There is still a way to segfault this although you may have to do this
315 multiple times: Have an InsetERT with an unknown command in it.
316 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
317 <down-arrow>, <Enter> again, View->DVI, BANG!
319 * text2.C (setCursor):
320 (deleteEmptyParagraphMechanism):
321 * lyxtext.h (setCursor):
322 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
323 Making use of the return value may help fix other bugs.
325 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
327 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
329 * LyXView.C (updateMenubar): call MenuBar::update here
330 (updateToolbar): but not here
331 (showState): do not update toolbar/menubar
333 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
334 should need to care about that.
336 * lyxfunc.C (verboseDispatch): simplify a bit
337 (getStatus): have a version which takes a pseudoaction, and
338 another which requires a (kb_action,string).
340 * LyXAction.C (retrieveActionArg): make it work also when action
341 is not a pseudo-action.
342 (getActionName): simplify a bit
345 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
347 * lyxfunc.C (verboseDispatch): new families of methods with
348 several ways to specify a command and a bool to indicate whether
349 the command name and shortcut should be displayed in minibuffer
350 (eventually, we could extend that to a finer bitmask like
351 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
352 (dispatch): the pristine dispatch command which just, well,
353 dispatchs! Note it still sets its result to minibuffer; I'm not
356 * lyxfunc.h: remove setHintMessage
358 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
360 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
362 * BufferView_pimpl.C (specialChar): delete new inset if we have
363 not been able to insert it.
365 * kbmap.C: revert to using int instead of kb_action, since all we
366 are dealing with is pseudo-actions.
368 * LyXAction.C (searchActionArg): change to return int instead of
369 kb_action, since the result is a pseudoaction.
371 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
373 * buffer.C (insertErtContents): Fix (partially) the font bug.
375 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
377 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
378 as the other one is broken on my machine!
380 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
383 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
385 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
387 * lyxrc.[Ch]: change names and descriptions of popup font variables to
388 reflect their actual use. Provide compatibility code for older lyxrc
391 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
393 change names of popup font variables in line with the changes to lyxrc.C
395 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
397 * buffer.C (asciiParagraph): avoid outputing a word twice after
400 * lyxrc.C (getDescription): document that document_path and
401 template_path can be empty.
403 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
405 * LaTeXFeatures.C (getMacros):
406 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
408 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
410 * LaTeXFeatures.C (useFloat): require "float" here instead of in
412 (getPackages): rename feature "floats" to "float". Use an array to
413 iterate over 'simple' features (i.e. just a \usepackage). Add
414 handling of "amsmath" (renamed from "amsstyle").
416 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
418 * LaTeXFeatures.C (require): Prevent duplicate entries in the
421 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
423 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
424 FuncStaus::FuncStatus & FuncStaus::some_method().
426 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
428 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
429 of the func_satus stuff. Edited and massaged in various ways by
432 * lyxfunc.C (getStatus): use FuncStatus
434 2002-01-08 Juergen Vigna <jug@sad.it>
436 * text.C (nextBreakPoint): use function Inset::isChar().
438 * paragraph.C (TeXOnePar): use function
439 Inset::forceDefaultParagraphs.
441 * buffer.C (latexParagraphs): use function
442 Inset::forceDefaultParagraphs.
444 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
446 * lyx_gui.C (init): set the style of the menu popups to
447 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
449 2002-01-07 Juergen Vigna <jug@sad.it>
451 * text.C (setHeightOfRow): small fix
452 (prepareToPrint): don't look at alignment if we don't have the place
455 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
457 * box.C: New file. Move the Box methods and functions out of box.h,
458 following Lars' suggestion.
460 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
462 * box.h: #include "support/LOstream.h", needed for inlined function.
465 * lyxtextclasslist.C: added some using std declarations.
467 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
469 * box.h: make signed dimensions to allow insets wider than
470 the screen (bug #162)
472 * BufferView_pimpl.C: add some insetHit debug
474 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
476 * vc-backend.C: add FIXME
478 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
480 * lyxfunc.C (getStatus): enable code for showing math font status
483 2002-01-07 Juergen Vigna <jug@sad.it>
485 * text.C (nextBreakPoint): removed debug output not needed anymore.
487 2002-01-06 Juergen Vigna <jug@sad.it>
489 * text.C (nextBreakPoint): fixed up this function we had this bug
490 since ever but now hopefully we break row better.
491 (insertChar): we have to check if an inset is the next char as it
492 could now happen that a large inset is causing a break.
494 2002-01-05 Juergen Vigna <jug@sad.it>
496 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
497 if it doesn't like to be drawed.
499 2002-01-04 Juergen Vigna <jug@sad.it>
501 * BufferView2.C (lockInset): forgot to set a cursor.
503 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
505 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
510 * form_maths_panel.C:
511 * form_maths_panel.h:
512 * form_maths_panel.fd: implemented sub- and super- buttons in math
515 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
516 (or ^ space) to be used as in TeX (req'd by André).
518 * lyxfunc.C: Allow ^ and _ again to be used both as
519 super/subscript (mathed) and as themselves (in text).
521 2002-01-03 Allan Rae <rae@lyx.org>
523 * LyXView.C (updateWindowTitle): Setup a short icon title of either
524 "LyX" or the filename of the current buffer if it has one. This is a
525 modified form of John Levon's patch.
527 * XFormsView.C (setWindowTitle): also set icon title.
529 * LyXView.h (setWindowTitle): signature changed.
530 * XFormsView.h (setWindowTitle): ditto.
532 2002-01-02 Juergen Vigna <jug@sad.it>
534 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
536 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
538 * screen.C (topCursorVisible): introduce a temp var for
539 text->cursor.row(), handle the case where this row is null. (kindo
542 * text2.C (setCursor): add a couple of asserts.
544 * paragraph.h (inset_iterator): add -> operator
546 * paragraph.[Ch] (autoDeleteInsets): remove member function
548 * BufferView2.C (removeAutoInsets): rewrite to handle the old
549 cursor pos correctly and handle inset deletion by itself.
550 (insertErrors): move iterator declaration out of for expression
552 * lyxtextclass.C: add <algorithm>
554 * Makefile.am: added the new files to sources, removed layout.C
556 * layout.C: removed file
558 * layout.h: remove LYX_DUMMY_LAYOUT
560 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
565 * lyxtextclasslist.[Ch]: new files
567 * include order changes to a lot of files, also changes because of
570 2001-12-27 Juergen Vigna <jug@sad.it>
572 * buffer.C (asciiParagraph): more fixes.
574 * tabular.C (ascii): make ascii export support export of only the
575 data separated by a column-delimiter.
576 (ascii): better support for ascii export.
578 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
580 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
582 * tabular_funcs.C: use a "using std::getline" instead of the
583 previous fix from Angus (necessary for cxx + lyxstring)
585 2001-12-24 Juergen Vigna <jug@sad.it>
587 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
589 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
590 problems. First check a minipage also if we have some ert-contents
591 (not only on par->size(), second set the right depth of the paragraph
592 on the relink to the root-paragraph-list!
594 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
595 which then did not anymore update the main paragraphs on undo/redo!
597 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
599 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
600 code. Support all font-changing funcs (even those which are not in
601 menu currently). Support for reporting font settings in
602 mathed (disabled until Andre provides a function on mathed's side).
604 * func_status.h (toggle): small helper function to set toggle
607 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
609 * tabular_funcs.C: getline -> std::getline
611 2001-12-21 Juergen Vigna <jug@sad.it>
613 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
614 accessed and could be 0 (I couldn't generate this but it seems
617 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * tabular_funcs.C: add LIstream.h, move write_attribute to..
620 * tabular_funcs.h: here and include iosfwd
622 2001-12-20 Juergen Vigna <jug@sad.it>
624 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
625 inside inset but undo_par was.
627 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
629 * Thesaurus.C: always include <config.h> in sources.
633 * box.h: do not include <config.h> in header files
635 * text.C (paintLastRow): remove unused variable
637 * text.C (transformChar):
639 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
642 * font.C (width): rewrite to use uppercase() instead of
645 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
647 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
649 * lyxfind.C: clean up of find failure position change
651 2001-12-20 Juergen Vigna <jug@sad.it>
653 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
655 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
656 (TeXRow): added to LaTeX a single tabular row.
657 (TeXLongtableHeaderFooter): added to output LT-h/f data.
658 (Latex): simplified and finally good LT-h/f support.
659 (various_functions): just small adaptions for LT-h/f support.
661 * tabular_funcs.[hC]: added and moved here all not classfunctions
664 2001-12-19 Juergen Vigna <jug@sad.it>
666 * tabular.[Ch]: better support for longtabular options (not finished
669 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
671 * text.C (paintLastRow): use the label font instead of the font of
672 the last character to compute the size of *_BOX. This makes more
673 sense and avoids a crash with empty paragraphs.
674 Use Painter::rectangle to draw EMPTY_BOX.
676 2001-12-19 Juergen Vigna <jug@sad.it>
678 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
679 the paragraphs if the replaced paragraph is not the first one!
680 Tried to delete not used paragraphs but does not work yet so for
681 now it's inside #ifdef's and by default off!
683 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
685 * MenuBackend.C: include "lyx_main.h" instead of declaring
686 lastfiles (actually was declared as LastFiles* instead of a
689 2001-12-17 Juergen Vigna <jug@sad.it>
691 * tabular.C (AppendColumn): applied John's fix
693 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
697 * BufferView_pimpl.h:
698 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
701 * box.h: new start of class for above
703 * lyxfunc.C: ignore space-only minibuffer dispatches.
704 Show the command name when it doesn't exist
706 * minibuffer.C: don't add empty lines to the history
708 * minibuffer.C: add a space on dropdown completion
710 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
712 * text.C: fix line above/below drawing in insets
714 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
716 * lyxlength.C (LyXLength): Initialize private variables.
718 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
721 when inserting error insets.
723 2001-12-13 Juergen Vigna <jug@sad.it>
725 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
726 actually sometimes the before-paragraph.
727 (setUndo): don't clear the redostack if we're not actually undoing!
729 2001-12-06 Juergen Vigna <jug@sad.it>
731 * undo_funcs.C (textHandleUndo): well after John's hint I got here
732 and fixed redoing of main paragraph, so we can use it now ;)
734 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
736 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
738 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
741 2001-12-13 André Pönitz <poenitz@gmx.net>
744 * undo_func.C: minor cleanup
746 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
748 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
749 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
750 font in urw-fonts package which is marked as -urw-fontspecific and
751 does not work (incidentally, changing the encoding in the
752 fonts.dir of this package to -adobe-fontspecific fixes the
755 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
756 is a crash when undoing first paragraph (Juergen, please take a
757 look). THis does not mean the undo fix is wrong, just that it
760 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
761 the (Paragraph*) version when needed instead of duplicating the
764 * text.C (workWidth): use Inset::parOwner to find out where the
765 inset has been inserted. This is a huge performance gain for large
766 documents with lots of insets. If Inset::parOwner is not set, fall
767 back on the brute force method
769 * paragraph_pimpl.C (insertInset):
770 * paragraph.C (Paragraph):
771 (cutIntoMinibuffer): set parOwner of insets when
772 inserting/removing them
774 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
776 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
782 * mathed/formulabase.C:
783 * mathed/math_cursor.[Ch]:
784 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
787 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
789 * lyxlength.[Ch] (operator!=): new function
791 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
793 * text.C (workWidth): use Inset::parOwner to find out where the
794 inset has been inserted. This is a huge performance gain for large
795 documents with lots of insets. If Inset::parOwner is not set, fall
796 back on the brute force method
798 * paragraph_pimpl.C (insertInset):
799 * paragraph.C (Paragraph):
800 (cutIntoMinibuffer): set parOwner of insets when
801 inserting/removing them
803 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
805 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
807 * tabular-old.C (getTokenValue):
808 * tabular.C (getTokenValue):
809 (write_attribute): new versions for LyXLength
810 (everywhere): adjust the use of widths
812 * tabular.h: change the type of widths from string to LyXLength
814 2001-12-11 Ben Stanley <bds02@uow.edu.au>
816 * paragraph.C: fixed missing line number count when exporting
817 Environments to LaTeX file
819 * buffer.C: added informational message for checking line numbers.
821 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
823 * text2.C (deleteEmptyParagraphMechanism): if there is only one
824 paragraph, do the 'double space' part, but not the 'empty
827 * text.C (workWidth): small optimization
828 (getLengthMarkerHeight): use minimal size for negative lengths.
830 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
832 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
834 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
836 2001-12-11 André Pönitz <poenitz@gmx.net>
839 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
841 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
843 * text2.C: keep selection on a setFont()
845 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
847 * lyx_cb.C: another bv->text misuse, from insert label
849 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
852 * kbsequence.C: re-instate nmodifier mask
854 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
856 * lyx_main.h: make lyxGUI private.
858 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
860 * lyxfind.C: place the cursor correctly on failed search
862 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
864 * text.C (getLengthMarkerHeight): for small heights, the arrows
865 are not always on top/bottom of the text
866 (drawLengthMarker): smaller arrows; take the left margin in
867 account; draw also vfills.
869 (paintLastRow): remove special code for vfill and standard spaces,
870 since everything is handled in drawLengthMarker now.
872 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
874 * buffer.C (insertErtContents): try to handle font and language
875 interaction a bit better.g
877 * ColorHandler.C (updateColor): change the hash to cover the whole
878 LColor enum, ws cleanup
879 (getGCLinepars): ditto
880 (getGCLinepars): only lookup in the linecache once.
882 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
884 * iterators.C (operator++): Make the iterator more robust
886 * BufferView2.C (removeAutoInsets): Use paragraph iterators
888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
890 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
893 * text.C: better added space drawing
895 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
898 * BufferView2.C: fix layout combo update on inset unlock
900 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
902 * Makefile.am: don't compile unused files
904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
908 * LyXAction.C: remove old LFUN_LAYOUTNO
910 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
913 * paragraph_pimpl.C: isTextAt() doesn't need font param
915 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
918 * lyxlex.C: little cleanup
920 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
922 * BufferView_pimpl.C: fix insertAscii for insets
924 2001-12-05 Juergen Vigna <jug@sad.it>
926 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
927 set the right font on the "multi" paragraph paste!
929 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
935 * lyxlength.C: remove out-commented code.
951 * vc-backend.C: change "while(" to "while ("
953 * lyxlength.[Ch]: add zero function to check if length is zero or
955 * lyxgluelength.C: use it
957 2001-12-05 Allan Rae <rae@lyx.org>
959 * lyxlength.C: Attempted a fix for the abs(int) header selection.
960 Works for 2.95.3, from what I understand of Garst's reports this should
961 work for other g++ versions. We're screwed if the abs(int) definition
962 changed between bugfix releases of gcc.
964 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
966 * text.C: fix chapter label offset !
968 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
971 * text.C: fix hfill at end of line, clean up
973 2001-12-04 Juergen Vigna <jug@sad.it>
975 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
976 that we force an update of the inset and it's owners if neccessary.
978 2001-12-03 Juergen Vigna <jug@sad.it>
980 * text.C (rowLast): simplified code
982 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
984 * lyxfunc.C: fix show options on timeout
986 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
988 * screen.C (topCursorVisible): scroll half a page when the cursor
989 reached top of bottom of screen
991 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
993 * minibuffer.C: deactivate on loss of focus
995 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
997 * vspace.[Ch] (operator!=): add operator.
999 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1001 * BufferView_pimpl.C: refuse to open an inset when
1002 there's a selection.
1004 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1006 * BufferView_pimpl.C: allow to click on RHS of full row insets
1008 2001-11-30 Juergen Vigna <jug@sad.it>
1010 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1011 insets for undo reasons.
1013 2001-11-28 André Pönitz <poenitz@gmx.net>
1015 * vspace.[Ch]: cosmetical changes
1017 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1027 * kbsequence.C: part re-write of old kb code
1030 * WorkArea.C: remove Lgb_bug_find_hack
1032 2001-11-30 José Matos <jamatos@fep.up.pt>
1034 * buffer.C (makeDocBookFile): add a comment to point a hack.
1035 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1036 Fixed a double write of labels.
1038 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1041 * LaTeX.h Fixed bug in LaTeX class where it would not
1042 re-run latex if no depfiles were changed, but the .dvi was removed.
1044 2001-11-28 André Pönitz <poenitz@gmx.net>
1046 * all the files from the change on 2001/11/26:
1047 use lyx::layout_type instead of LyXTextClass::size_type
1048 use lyx::textclass_type instead of LyXTextClassList::size_type
1050 2001-11-29 Juergen Vigna <jug@sad.it>
1052 * text.C: added support for paragraph::isFreeSpacing()
1054 * buffer.C: same as above
1056 * paragraph.h: inserted isFreeSpacing() function to enable
1057 FreeSpacing inside InsetERT.
1059 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1060 of the paragraph's in the cut/copy buffer to 0!
1062 * text2.C (removeRow): remove the assert as it can!
1064 * lyxtext.h: added helper function firstRow returning firstrow and
1065 made firstrow private again.
1067 * BufferView2.C (lockInset): don't relock if we're already locked!
1069 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1071 (removeRow): added Assert::(firstrow)
1073 * debug.C: forgot to add INSETTEXT here.
1075 2001-11-28 Juergen Vigna <jug@sad.it>
1077 * sp_spell.C (initialize): changed error text to more general
1078 spellchecker command use (not only ispell!)
1080 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1082 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1084 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1086 * vspace.C: initialise lyxgluelength on failure
1088 2001-11-28 Allan Rae <rae@lyx.org>
1090 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1091 declaration & definition that looks like a function declaration.
1093 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1095 * BufferView2.C (copy):
1096 (copyEnvironment): do not clear the selection when doing a copy.
1098 * text.C (paintFirstRow): compilation fix
1100 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1102 * tabular.C (Latex): correct line count when writing latex.
1104 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1106 * paragraph_pimpl.h:
1107 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1110 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1114 * LColor.C: change vfillline->added_space
1116 * text.C: add markers and text for added space
1118 * vspace.C: fix comment
1120 2001-11-28 André Pönitz <poenitz@gmx.net>
1122 * paragraph.C: whitespace changes
1123 * all the other files from the change on 2001/11/26:
1124 change *::pos_type into lyx::pos_type
1126 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1128 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1129 language of the document when inserting error insets.
1131 2001-11-26 André Pönitz <poenitz@gmx.net>
1133 * BufferView_pimpl.[Ch]:
1141 * paragraph_pimpl.[Ch]:
1144 * text2.C: reduce header dependencies, introduce type for positions
1146 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1148 * <various>: change to use Alert.h
1150 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1152 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1153 when encountering an unknown token.
1154 (readLyXformat2): Show an error message if there were unknown tokens.
1156 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1159 * BufferView_pimpl.C:
1163 * text2.C: use par->isInset()
1165 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1167 * paragraph_pimpl.h:
1168 * paragraph_pimpl.C: cleanup
1170 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1172 * text2.C (removeRow):
1173 * text.C (setHeightOfRow): remove useless (and costly) call to
1176 2001-11-20 Allan Rae <rae@lyx.org>
1178 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1179 Now need Inset*::checkInsertChar() to return true for appropriate
1180 cases so that the characters in the minibuffer will actually be
1183 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1185 * text.C: change the order of the includes.
1186 (workWidth): initialize it at once.
1187 (workWidth): make maxw unsigned
1188 (setHeightOfRow): remove unused variable (inset)
1189 (selectSelectedWord): remove unused variable (inset)
1190 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1192 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1194 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1195 server is not running.
1197 (closeConnection): add debug info when server is disabled.
1199 * ColorHandler.C (getGCForeground): send debug message to GUI
1202 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1204 * kbmap.C (bind): modify because return conventions of
1205 kb_sequence::parse have changed.
1207 * kbsequence.C (parse): only ignore spaces and not any stupid
1208 control character. This avoids tests like s[i] <= ' ', which are
1209 guaranteed to fail with 8bit characters and signed chars.
1210 Change return code to string::npos when there have been no error
1211 (0 was a bad idea when error is at first character)
1213 2001-11-14 José Matos <jamatos@fep.up.pt>
1216 * buffer.C (simpleDocBookOnePar): removed unused argument.
1218 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1220 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1221 insets which are part of a word. Paragraph::isLetter takes care of
1222 that now. Use Paragraph::isInset to identify insets.
1223 (selectSelectedWord): do not test for hyphenation break.
1225 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1226 that protected spaces are considered as spaces.
1228 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1231 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1234 * lyxserver.C: fix it. and small cleanup.
1236 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1238 * BufferView_pimpl.C: use inline helpers
1241 * LaTeXFeatures.C: fix typos
1244 * Spacing.C: move spacing_string into class
1246 * ToolbarDefaults.C: move stuff into namespace anon
1248 * layout.h: update enum
1250 * lyxfunc.C: use better debug
1252 * minibuffer.h: fix typo
1256 * WorkArea.C: add and use Debug::WORKAREA
1260 * text2.C: code re-organisation, inline helpers
1262 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1264 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1265 std::vector.empty().
1267 2001-11-09 Allan Rae <rae@lyx.org>
1269 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1270 '\n's after tables. Tabular and ERT inset work now makes this no
1273 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1276 * minibuffer.C: fix crash, improve drop-down completion
1278 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1281 * lyxserver.C: invalidate fd's when doing endPipe()
1283 2001-11-08 José Matos <jamatos@fep.up.pt>
1285 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1286 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1289 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1291 2001-11-07 José Matos <jamatos@fep.up.pt>
1294 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1297 * buffer.C (sgmlOpenTag):
1298 * buffer.C (sgmlCloseTag): removed debug info.
1300 * buffer.h (sgmlOpenTag):
1301 * buffer.h (sgmlCloseTag): made public.
1303 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1305 * buffer.C (saveParamsAsDefaults):
1306 * lyx_cb.C (MenuLayoutSave): remove
1308 * LyXAction.C (init):
1310 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1312 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1314 * buffer.C (setPaperStuff): removed from here...
1316 * bufferparams.C (setPaperStuff): ... and moved there.
1318 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1322 * XFormsView.C: add support for drop-down completion
1324 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1326 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1329 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1331 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1334 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1336 * lyx_main.C: change ref to known bugs
1338 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1340 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1341 to work around older babel problems.
1343 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1345 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1347 2001-10-24 Juergen Vigna <jug@sad.it>
1349 * tabular-old.C (ReadOld): below variable changes reflected.
1351 * tabular.[Ch]: added ltType struct for longtable header/footer
1352 defines and changed all instances where they are used. Added
1353 future support for double top/bottom rows.
1355 2001-10-24 José Matos <jamatos@fep.up.pt>
1357 * buffer.h (docbookHandleCaption):
1358 * buffer.C (docbookHandleCaption): removed unused function.
1359 (makeDocBookFile): moved docbook supported version to v4.1.
1361 2001-10-24 José Matos <jamatos@fep.up.pt>
1364 * tabular.C (docbookRow): new function to export docbook code of a row.
1365 (DocBook): now honors the longtable flags.
1367 2001-10-23 José Matos <jamatos@fep.up.pt>
1370 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1371 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1373 * buffer.C (makeLinuxDocFile):
1374 (makeDocBookFile): reworked the preamble, more clean, and with
1375 support for lyx defined entities. Changed the document declaration
1376 to be more XML friendly.
1378 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1379 if we need to output XML that should be done with a filter.
1381 2001-10-22 Juergen Vigna <jug@sad.it>
1383 * sp_pspell.h (class PSpell): add alive function needed in the
1384 controller to see if the spellchecker could be started.
1386 2001-10-22 Juergen Vigna <jug@sad.it>
1388 * buffer.C (insertStringAsLines): modify the font for inserting
1389 chars in certain conditions by calling checkInsertChar(font).
1391 2001-10-19 Juergen Vigna <jug@sad.it>
1393 * text.C (workWidth): use getRow instead of wrong algorithm.
1394 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1396 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1401 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1403 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1405 * text.C (workWidth): do not search for the exact row when
1406 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1407 optimization for big documents.
1409 2001-10-18 Juergen Vigna <jug@sad.it>
1411 * text.C (workWidth): new function with added Inset * parameter.
1413 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1415 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1417 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1418 change return type of getColumnNearX.
1421 * text.C (changeRegionCase): use uppercase/lowercase instead of
1424 (rightMargin): simplify code by factoring out the uses of
1429 (appendParagraph): use Paragraph::size_type
1431 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1433 * vspace.C (asLatexString): add a missing break
1435 2001-10-15 Herbert Voss <voss@perce.de>
1437 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1439 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1441 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1444 2001-10-10 André Pönitz <poenitz@gmx.net>
1446 * lyxfunc.C: removed greek_kb_flag.
1448 2001-10-10 Herbert Voss <voss@perce.de>
1450 * lyx_main.C: delete global string help_lyxdir.
1452 2001-10-09 Herbert Voss <voss@perce.de>
1454 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1456 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1458 * lyx_main.C: added global string help_lyxdir.
1460 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1462 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1464 * lyxrc.C (set_font_norm_type): support iso8859-4
1466 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1468 * LaTeX.C (deplog): add another regex for MikTeX
1470 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1472 * lyxrc.C (set_font_norm_type): support iso8859-3
1474 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1476 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1478 * LaTeXFeatures.C: remove special case of french and index
1480 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1481 before \begin{document}). This solves several incompatibilities.
1483 2001-10-03 Garst Reese <reese@isn.net>
1485 * lyx_cb.C: change CheckTex error msg.
1487 2001-10-03 José Matos <jamatos@fep.up.pt>
1489 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1491 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1493 * .cvsignore: update
1495 * lyx_main.C (commandLineVersionInfo): use new style version info.
1497 * buffer.C (writeFile):
1500 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1502 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1504 * version.h: update to use stuff in version.C
1506 * version.C.in: new file. Contains version information determined
1507 at compile time. This is a merging of version.h and
1510 2001-10-03 Juergen Vigna <jug@sad.it>
1512 * BufferView_pimpl.C (update): don't change "dirty" status in
1515 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
1517 * WorkArea.C (c-tor): re-position version string slightly.
1519 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
1521 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1522 revert to previous code.
1524 WorkArea.[Ch]: (show, destroySplash): methods removed.
1526 WorkArea.C: rework code so that it's an amalgam of the codes before and
1527 after the splash screen was moved to WorkArea.
1529 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1532 * vspace.C (inPixels):
1535 * buffer.C (insertStringAsLines):
1536 (asciiParagraph): fix types to be large enough
1538 * lyxlex_pimpl.h: change member status from short to int
1540 * layout.h: fix type of endlabeltype
1543 * kbsequence.C (parse): change return type to string::size_type
1545 * LaTeX.C (updateBibtexDependencies): comment out unneeded
1548 * Bullet.C (bulletSize):
1549 (bulletEntry): do not use short ints as parameters
1551 * BufferView2.C (insertLyXFile): change a char to an int.
1553 * WorkArea.C (WorkArea): remove unneeded floats in computation
1555 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
1557 * buffer.C (asciiParagraph): Treat '\\' as other chars.
1559 * paragraph.C (asString): Do not ignore newline/hfill chars when
1560 copying to the clipboard.
1562 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
1564 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1565 after a multi-line inset.
1567 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1569 * paragraph.C (validate): Set NeedLyXFootnoteCode
1571 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1573 * lyxfont.C (LyXSizeNames): changed increase-error to increase
1574 and decrease-error to decrease.
1576 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1578 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
1579 it more readable (should be equivalent)
1581 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
1583 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
1585 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1587 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
1588 of a cursor (row, etc.) after a character has been deleted
1589 (deleteEmptyParagraphMechanism): call the method above on _all_
1590 cursors held by the LyXText when a double space has been
1593 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1595 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
1597 (resizeCurrentBuff): remove code to destroy the old splash dialog.
1599 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
1600 background. Use greyOut() and the new show() methods to toggle between
1601 the foreground and background. Add code to remove the splash after
1602 its initial showing.
1604 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
1605 (create_forms): no longer call Dialogs::showSplash.
1607 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1609 * .cvsignore: add version_info.h
1611 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1613 * version_info.h.in: new file
1615 * Makefile.am: add version_info.h.in
1617 * lyx_main.C (commandLineVersionInfo): use version_info defined in
1618 version_info.h instead of VERSION_INFO
1620 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1622 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1623 The ERT inset now returns string().
1625 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1627 * lyxtext.h, text.C (selectNextWord): renamed as
1628 selectNextWordToSpellcheck.
1630 * text.C (selectNextWordToSpellcheck): Modified to not select
1631 words inside an ERT inset.
1633 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1635 * lyx_cb.C (MenuLayoutSave): change a bit the question
1637 * sp_base.h: include <sys/types.h>
1639 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1641 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1643 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
1645 * several files: fix typos in user-visible strings
1647 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1649 * text2.C (pasteSelection): do not set the selection, since it
1650 will be cleared later. Actually, the intent was to fix the way the
1651 selection was set, but I figured rmoving the code was just as good.
1653 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
1655 * FontLoader.C (available): Check if font is available without
1658 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1660 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1662 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1664 * lyxrc.[Ch]: added display_graphics variable and associated code.
1666 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1668 * bufferparams.C (hasClassDefaults): new method. Returns true if
1669 the buffer parameters correspond to known class defaults
1671 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
1673 * XFormsView.C (show): set minimum size to the main window.
1675 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1677 * text2.C (copySelection):
1679 * lyxfind.C (LyXReplace):
1680 * BufferView_pimpl.C (Dispatch): pass the correct flag to
1681 LyXText::selectionAsString.
1683 * paragraph.C (asString): add "label" argument to the second form
1685 * text2.C (selectionAsString): add "label" argument and pass it to
1686 Paragraph::asString.
1688 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1690 * lyx_main.C (commandLineHelp): remove version information
1692 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
1694 * lyx_main.C: add -version commandline option
1696 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1698 * paragraph.h: make the optional constructor arg required instead.
1699 some modifications to other files because of this.
1701 * minibuffer.C (C_MiniBuffer_peek_event): make it static
1703 * lyxserver.C (C_LyXComm_callback): make it static
1705 * lyx_main.C (error_handler): make it static
1707 * lyx_gui.C (LyX_XErrHandler): make it static
1709 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1711 * WorkArea.C: make the extern "C" methods static.
1713 * Makefile.am (lyx_LDADD): simplify
1715 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1717 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1718 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1720 * LyXAction.C (init):
1721 * lyxfunc.C (dispatch): associated code removal.
1723 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1725 * lyxfont.h (isSymbolFont): shut off warning
1727 * text.C (setHeightOfRow):
1728 (getVisibleRow): fix crash with empty paragraphs which have a
1731 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1733 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1736 2001-09-04 José Matos <jamatos@fep.up.pt>
1739 * tabular.C (docbook): rename docBook method to docbook.
1741 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1743 * Makefile.am: add dependencies to main.o.
1745 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
1747 * FontLoader.C (available): Return false if !lyxrc.use_gui
1749 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
1751 * FontInfo.C (query):
1752 * converter.C (view):
1753 * importer.C (Import):
1754 * exporter.C (Export): Can not -> cannot.
1756 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1758 * BufferView_pimpl.C: allow to create index inset even if
1761 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1763 * buffer.C (getLists): replace boost::tie code with an explicit pair
1764 as boost::tie can break some compilers.
1766 * iterators.h: Added a std:: declaration to the return type of
1769 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1771 * lyxrc.C: add help for view_dvi_paper_option, default to safe
1774 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1776 * iterators.[Ch]: New files. Provide paragraph iterators.
1778 * buffer.C (changeLanguage): Use paragraph iterators.
1779 (isMultiLingual): ditto
1781 * BufferView2.C (ChangeInsets): Use paragraph iterators.
1783 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
1785 * FontLoader.C: Support for cmr font.
1787 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
1789 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1790 (available): New method.
1792 * FontInfo.C (getFontname): Use scalable fonts even when
1793 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1796 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1798 * converter.C (Formats::view): reverted! Incorrect fix.
1800 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1802 * converter.C (Formats::view): only output the -paper option
1803 if the dvi viewer is xdvi, thereby fixing bug #233429.
1805 2001-08-23 Herbert Voss <voss@perce>
1807 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1809 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1811 * Spacing.h (Spacing): Set space to Default on in the default
1814 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
1816 * vc-backend.h (RCS::versionString): add RCS to version
1817 (CVS::versionString): add CVS to version
1819 * vc-backend.C (scanMaster): do not add CVS to version.
1820 (scanMaster): do not add RCS to version
1822 * lyxvc.C (versionString): new method
1824 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1826 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1828 * Spacing.C (set): initialize fval
1830 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
1832 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1835 2001-08-16 Juergen Vigna <jug@sad.it>
1837 * lyxfunc.C (dispatch): implemented the new FINISHED states.
1839 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1841 * BufferView_pimpl.C:
1844 * text2.C: setParagraph takes linespacing now
1846 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1848 * LyxAction.C: add internal LFUN_CITATION_INSERT
1850 * LyXView.C: actually apply fix
1852 * bufferlist.C: fix open non-existent file
1854 * lyxfind.C: fix indentation
1856 * lyxfunc.C: remove unneeded assert, fix typo
1858 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1860 * MenuBackend.C: use "Floatname List"
1862 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1864 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1865 when converting LaTeX layout to insetERT.
1866 Generate a non-collapsed float when reading old float
1868 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1870 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1873 2001-08-13 Juergen Vigna <jug@sad.it>
1875 * text.C (fill): return 0 instead of 20 as this seems to be the more
1878 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1880 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1883 2001-08-13 Juergen Vigna <jug@sad.it>
1885 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1887 (SearchBackward): comment out the unlocking of the inset_owner this
1888 should not be needed!
1890 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1892 * Many files: Remove inherit_language, and add latex_language
1894 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1897 2001-08-10 Juergen Vigna <jug@sad.it>
1899 * text.C (prepareToPrint): fixed hfill-width in draw!
1901 * BufferView2.C (selectLastWord): save the selection cursor as this
1902 now is cleared in the function LyXText::clearSelection!
1904 2001-08-08 Juergen Vigna <jug@sad.it>
1906 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1907 BACKSPACE type functions.
1909 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1910 is only cutted from the document but not put in the cut-buffer, where
1911 still the old stuff should be.
1913 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1915 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1917 * tabular.C (SetWidthOfCell): fixed special case where the width
1919 (LeftLine): handle '|' in align_special.
1921 (LeftAlreadyDrawed): ditto
1922 (SetWidthOfCell): ditto
1924 2001-08-07 Juergen Vigna <jug@sad.it>
1926 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1928 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1930 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1931 * lyxlex.[hC]: ditto
1933 2001-08-06 Juergen Vigna <jug@sad.it>
1935 * text.C (getVisibleRow): fix up row clearing a bit.
1937 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1939 * minibuffer.C: make sure the X server sees the changes in the input.
1941 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1943 * paragraph.C (getFont): split into...
1944 (getLabelFont): this
1945 (getLayoutFont): and this
1946 * paragraph_pimpl.C (realizeFont): calling this
1948 * text2.C (getFont): split into...
1949 (getLayoutFont): this
1950 (getLabelFont): and this
1951 (realizeFont): all three calling this
1953 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1956 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1958 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1960 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
1962 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1963 layouts from the Quote inset insertion.
1965 2001-08-03 Juergen Vigna <jug@sad.it>
1967 * BufferView_pimpl.C (update): do the fitCursor only at the end!
1969 * screen.C (drawFromTo): don't call fitcursor here and do the loop
1970 only if status not is already CHANGED_IN_DRAW (second level).
1972 * text.C (draw): don't set the need_break_row when inside an
1975 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1977 * buffer.C (parseSingleLyXformat2Token): handle more latex
1980 * bufferview_funcs.[hC]: change function names to
1981 begin with small char, adjust other files.
1983 2001-08-02 André Pönitz <poenitz@gmx.net>
1986 BufferView_pimpl.C: remove broken special code for math-greek
1988 2001-08-02 Juergen Vigna <jug@sad.it>
1990 * BufferView_pimpl.C (update): redone this function so that we
1991 update the text again if there was a CHANGE_IN_DRAW.
1993 * screen.C (cursorToggle): removed LyXText parameter and recoded.
1994 (drawFromTo): added a new internal bool which is used by draw() and
1996 (general): some cursor drawing problems fixed.
1998 2001-08-01 Juergen Vigna <jug@sad.it>
2000 * lyxfind.C (LyXFind): fixed
2001 (SearchForward): ditto
2002 (SearchBackward): ditto
2004 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2005 spurius drawing of the cursor in the main area.
2007 * text2.C (status): small fix which could lead to a segfault!
2008 (clearSelection): remove unneeded BufferView param.
2010 2001-08-01 André Pönitz <poenitz@gmx.net>
2012 * lyxfunc.C: small change due to changed mathed interface
2014 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2016 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2018 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
2020 * lyxfunc.c: fail gracefully if file doesn't exist
2025 * BufferView_pimpl.C: IsDirWriteable() proto changed
2027 * LyXView.C: fix updateWindowTitle() to store the last title
2029 2001-07-31 Juergen Vigna <jug@sad.it>
2031 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2032 the font (wrong since using of Paragraph::highestFontInRange).
2034 * paragraph.C (highestFontInRange): added a default_size parameter.
2036 * text.C (getVisibleRow): minor clear row changes (still not perfect).
2037 (setHeightOfRow): reformat
2039 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2041 * converter.[hC] + affected files: move to (inital-char)lowercase
2044 * ParagraphParameters.C (ParagraphParameters): remove commented code
2046 * PainterBase.[Ch]: remove commented code
2048 * LaTeXFeatures.h: add "bool floats" for float.sty
2050 * LaTeXFeatures.C (LaTeXFeatures): init floats
2051 (require): handle float
2052 (getPackages): do it with floats
2054 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2056 * BufferView_pimpl.C (Dispatch): improve handling of
2057 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2059 * commandtags.h: #include lyxfont.h here temporarily to avoid
2062 * bufferlist.h: include LString.h here.
2064 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2066 * text2.C (getStringToIndex): new method.
2068 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2070 * *: Reduced header file dependencies all over.
2072 2001-07-30 Baruch Even <baruch@lyx.org>
2074 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2076 2001-07-29 Baruch Even <baruch@lyx.org>
2078 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2080 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2082 * ParameterStruct.h (endif): add a default constructor to make
2083 sure that all variables is initialized.
2085 * ParagraphParameters.C (ParagraphParameters): adjust
2087 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2089 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2090 index; also, check that there is something to index, and that it
2091 does not span over several paragraphs.
2092 (doubleClick): use WHOLE_WORD_STRICT for double click.
2094 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2096 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2099 2001-07-26 Baruch Even <baruch@lyx.org>
2101 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2102 an InsetFig figure, backwards compatible reading of old figure code.
2104 2001-07-27 Juergen Vigna <jug@sad.it>
2106 * text2.C: font.realize function adaption.
2108 * text.C (draw): add a warnings lyxerr text if needed.
2110 * layout.C: font.realize function adaption.
2112 * language.C: add inherit_language and implement it's handlings
2114 * bufferview_funcs.C (StyleReset): remove language parameter from
2115 font creation (should be language_inherit now).
2117 * bufferparams.C (writeFile): handle ignore_language.
2119 * paragraph.C (getFontSettings): the language has to be resolved
2120 otherwise we have problems in LyXFont!
2122 * lyxfont.C (lyxWriteChanges): added document_language parameter
2123 (update): removed unneeded language parameter
2125 * paragraph.C (validate): fixed wrong output of color-package when
2126 using interface colors for certain fonts in certain environments,
2127 which should not seen as that on the final output.
2129 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2131 * BufferView_pimpl.C:
2136 * LyXAction.C: add thesaurus support
2139 * lyxfind.C: add "once" parameter, for thesaurus, to not
2140 move to the next match
2142 2001-07-26 Juergen Vigna <jug@sad.it>
2144 * lyxfont.C (realize): honor ignore_language too!
2147 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2149 * text.C (draw): one place more for ignore_language to not draw
2152 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2154 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2156 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2158 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2159 the minipage conversion problem.
2161 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2163 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2166 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2168 * BufferView.h: don't forward declare WorkArea
2170 * BufferView.C: don't include WorkArea.h
2172 2001-07-25 André Pönitz <poenitz@gmx.net>
2176 * lyxfunc.C: new LFUN 'math-space'
2178 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2180 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2182 * text2.C (toggleInset): call open/close
2184 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2186 * lyxfunc.C (dispatch): add debug for the disabled case
2188 * font.C (buttonText): make similar to rectText
2190 * buffer.C (readInset): comment out parsing of insetlist and
2193 * PainterBase.C (rectText): small correction
2195 * BufferView_pimpl.C: comment out insettheorem and insetlist
2196 * LyXAction.C: ditto
2197 * commandtags.h: ditto
2199 2001-07-24 Juergen Vigna <jug@sad.it>
2201 * text.C (draw): honor the ignore_language.
2203 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2205 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2207 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2210 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2212 * lyxtext.h: remove unused (and unimplemented) methods
2214 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2216 * text.C (getVisibleRow): honor background color
2219 * Painter.h: remove default color argument for fillRectangle
2221 * text.C (backgroundColor): new method
2223 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2225 * text.C (getVisibleRow): adjust
2227 * font.[Ch] (rectText): new method, metrics
2228 (buttonText): new method, metrics
2230 * PainterBase.[hC]: make rectText and buttonText always draw and take
2233 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2235 * ToolbarDefaults.C (read):
2236 * MenuBackend.C (read): allow escaping in all strings
2238 * BufferView_pimpl.C (insertAndEditInset): new method.
2239 (Dispatch): use insertAndEditInset whenever appropriate.
2241 * BufferView_pimpl.C (insertNote): removed
2243 * BufferView_pimpl.C (smartQuote): new method, moved from
2244 BufferView; if an insetquote cannot be inserted, insert a '"'
2247 * BufferView2.C: remove insertCorrectQuote();
2249 * lyxfunc.C (getStatus): Add support for all remaingin
2252 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2254 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2255 command (necessary to pass " as parameter of self-insert.
2257 * text.C (selectWordWhenUnderCursor):
2258 (selectWord): add word_location parameter
2259 (selectWordWhenUnderCursor): same + remove special code for word
2261 (selectNextWord): use kind() to guess type of insetspecialchar,
2264 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2265 (insertErtContents): create ert insets as collapsed.
2266 (readInset): better compatibility code for Info inset.
2268 2001-07-20 Juergen Vigna <jug@sad.it>
2270 * lyxfunc.C (dispatch): use always LyXFind now!
2272 * text2.C (init): add a reinit flag so that the LyXText can be
2273 reinited instead of deleted and reallocated (used in InsetText).
2275 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2281 2001-07-18 Juergen Vigna <jug@sad.it>
2283 * text.C (selectNextWord): handle insets inside inset by calling
2284 always the bv->text functions so that we can go up the_locking_inset!
2286 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2287 in strange locations when inside an inset!
2289 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2290 handling to include insets.
2292 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2294 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2296 * LyXAction.C (init):
2298 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2299 LIGATURE_BREAK, since the name is so stupid.
2301 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2303 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2306 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2308 * sp_form.[Ch]: remove.
2310 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2312 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2315 * src/buffer.C (readInset): ditto.
2317 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2320 menuSeparator(), endOfSentenceDot(), ldots() and
2321 hyphenationPoint(), which are therefore removed.
2322 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2324 * LyXAction.C (init):
2325 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2327 * paragraph.C (getWord): removed.
2329 * BufferView_pimpl.C (Dispatch): use last word or selection for
2330 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2332 * lyx_main.C (queryUserLyXDir): do not ask before creating
2333 user_dir, except if it has been named explicitely.
2335 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2337 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2338 a document of zero size.
2340 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2342 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2343 approriately in the c-tor and in require().
2344 (getPackages): output the appropriate LaTeX for natbib support.
2346 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2347 variables "use_natbib" and "use_numerical_citations" when reading the
2349 (readInset): read the various natbib cite commands.
2350 (validate): white-space change.
2352 * bufferparams.[Ch]: new variables "bool use_natbib" and
2353 "bool use_numerical_citations".
2354 (writeFile): output them in the LyX file.
2356 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2358 * lyxfunc.C (getStatus): add support for all the inset insertion
2361 * text2.C (insertInset):
2362 * paragraph.C (insetAllowed):
2363 * BufferView_pimpl.C (insertInset): update to take in account the
2364 renaming of insertInsetAllowed
2366 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2368 * text2.C (getInset): new method. returns inset at cursor position.
2370 * BufferView_pimpl.C (Dispatch): changes because of this.
2372 * LyXAction.C (init): rename open-stuff to inset-toggle.
2374 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2376 * text2.C (toggleInset): renamed from openStuff; use
2379 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2381 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2383 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2385 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2387 * buffer.C (readLyXformat2): Add filename to the error dialog
2389 2001-07-18 Juergen Vigna <jug@sad.it>
2391 * tabular.C (GetCellNumber): put an assert here instead of the check!
2393 2001-07-17 Juergen Vigna <jug@sad.it>
2395 * BufferView_pimpl.C (toggleSelection): adapted too.
2397 * text.C (selectNextWord): adapted for use with insets.
2398 (selectSelectedWord): ditto
2400 2001-07-17 Juergen Vigna <jug@sad.it>
2402 * sp_spell.C (PSpell): fix initialitation order.
2404 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2406 * paragraph.C: spacing
2408 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2410 * sp_spell.C: repair language selection for pspell
2412 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2414 * lyxfunc.h: change more methods to begin with lower char.
2416 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2418 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2419 for unknown layouts.
2421 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2423 * buffer.C (readLyXformat2): Generate an error dialog if there are
2426 2001-07-16 Juergen Vigna <jug@sad.it>
2428 * sp_spell.C: always compile ISpell part.
2430 * lyxrc.C: added use_pspell entry and it's handling.
2432 2001-07-13 Juergen Vigna <jug@sad.it>
2434 * sp_spell.C: removed double includes.
2436 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2438 Consistent use of Lsstream.h:
2439 * Lsstream.h: added using std::stringstream for consistencies sake.
2441 * buffer.C: removed using std::stringstream
2443 * lyxfont.C (stateText):
2444 * paragraph.C (asString):
2445 * text.C (selectNextWord, selectSelectedWord):
2446 * text2.C (setCounter):
2447 * vspace.C (asString, asLatexString):
2448 std::ostringstream -> ostringstream.
2450 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2452 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2453 * commandtags.h: add LFUN_HELP_ABOUTLYX
2454 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2456 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2458 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2460 * lyx_gui_misc.C: remove spellchecker
2461 * lyxfunc.C: showSpellchecker
2463 * sp_ispell.h: added
2464 * sp_pspell.h: added
2466 * sp_form.[Ch]: removed
2467 * spellchecker.[Ch]: removed
2469 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2471 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2473 (simpleTeXSpecialChars): Simply print the input character without
2474 any special translation if pass_thru is set.
2476 * layout.h: Added bool pass_thru to layout class for being able to
2477 implement pass through of a paragraph for Literate Programming.
2479 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2480 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2481 * layout.C (Read): add "passthru" to list of layout tags and add
2482 code to set the pass_thru boolean when it is read.
2484 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2486 * trans_decl.h: remove allowed from KmodInfo
2488 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2492 * paragraph_pimpl.C (erase): use boost::prior
2494 * Painter.C (text): use data() instead of c_str() when length is
2496 * WorkArea.C (putClipboard): ditto
2497 * font.h (width): ditto
2499 * BufferView2.C: use it-> instead of (*it). for iterators
2501 * paragraph_pimpl.C: ditto
2502 * paragraph.C: ditto
2503 * minibuffer.C: ditto
2508 * converter.C: ditto
2510 * Variables.C: ditto
2511 * TextCache.C: ditto
2512 * MenuBackend.C: ditto
2513 * LyXAction.C: ditto
2515 * FloatList.C: ditto
2517 * ColorHandler.C (LyXColorHandler): ditto
2519 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2521 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2523 * text2.C (openStuff): reintroduce this method (which had been
2524 nuked in NEW_INSETS frenzy).
2526 * lyxfunc.C (Dispatch): when an action has not been handled, use
2527 its name in the error message, not its number.
2529 * paragraph.C (inInset): change method name to begin with lowercase.
2532 * text2.C: updates because of this.
2534 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2536 * ToolbarDefaults.C (add): add spaces in error message
2538 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2540 * buffer.C (readLyXformat2): initialize the ert comp. variables.
2541 (readLyXformat2): rename return_par to first_par, use lyxlex's
2542 pushToken and remove the manual push handling.
2543 (parseSingleLyXformat2Token): add another ert comp. variable:
2544 in_tabular, rename return_par to first_par. handle newlines better
2546 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2548 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2550 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2552 * text2.C (getParFromID): removed
2554 * buffer.C (getParFromID): new method moved form lyxtext.
2555 * BufferView2.C (insertErrors): adjust
2556 (setCursorFromRow): adjust
2557 * BufferView_pimpl.C (restorePosition): adjust
2558 * lyxfunc.C (Dispatch): adjust
2559 * undo_funcs.C (textUndo): adjust
2561 (textHandleUndo): adjust
2562 (textHandleUndo): adjust
2564 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2566 * buffer.C: up' the LYX_FORMAT
2568 * lyxfont.h: turn NO_LATEX on as default
2570 * buffer.C (insertErtContents): new methods of tex style compability.
2571 (parseSingleLyXformat2Token): use it several places.
2572 * tabular.C (OldFormatRead): and here
2574 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2576 * text2.C: remove some commented code.
2579 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
2580 * trans.C: changes because of the above.
2582 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
2584 * text2.C (setCounter): Fix counters bug with bibliography layout.
2586 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2588 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
2589 own member functions
2590 (simpleTeXSpecialChars): ditto
2592 2001-07-06 Juergen Vigna <jug@sad.it>
2594 * a lot of files: changed the access to LyXText::status and the
2595 call of undo-functions.
2597 * undo.[Ch]: added a inset_id to the undo informations.
2599 * undo_funcs.[Ch]: added and moved here all undo functions.
2601 * lyxtext.h: give the status enum a weight, made status_ a private
2602 variable and made accessor functions for it, removed the whole bunch
2603 of undo-functions as they are now in their own file, make some
2604 functions publically available. Added function ownerParagraph with
2607 * paragraph.[Ch]: added "bool same_ids" to the constructor,
2608 made InInset() a const function, added getParFromID() function.
2610 * buffer.[Ch]: added const version for inset_iterator functions,
2611 added getInsetFromID() function.
2613 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2614 changed undo functions for new version.
2616 2001-07-05 Juergen Vigna <jug@sad.it>
2618 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2619 unknow mechanism does not call the proper constructor but only this
2620 one also if I request the other!?
2622 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2624 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2626 * text2.C (LyXText): use initialization lists.
2628 * lyxtext.h (Selection): initialize set_ and mark_
2629 (init): remove method
2631 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
2633 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2635 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2637 * screen.[Ch]: change method names to begin with lowercase
2639 * BufferView_pimpl.C (updateScrollbar): simplify further and
2640 hopefully make it a bit faster.
2642 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2644 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2645 calling directly xforms functions.
2647 * Painter.C (Painter):
2648 * lyx_cb.C (MenuWrite):
2649 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2652 * lyx_gui.C: remove bogus guiruntime extern declaration.
2654 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2656 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2658 (redoDrawingOfParagraph): ditto
2659 (redoParagraphs): ditto
2660 (cutSelection): don't create a object for CutAndPaste use the
2661 static method directly
2662 (pasteSelection): ditto
2664 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2667 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2669 * modifications to some other files because of this.
2671 * Makefile.am (lyx_SOURCES): add XFormsView
2673 * XFormsView.[Ch]: new files
2675 * LyXView.[Ch]: make LyXView a base class for the gui handling for
2676 the main window. Move the gui dependent stuff to XFormsView
2678 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2680 * tabular.C (GetCellInset): update cur_cell also in the row/col
2681 version of this function.
2683 * lyxfunc.C: no need to include figure_form.h here.
2689 * lyxvc.C: no need to include forms.h here.
2691 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2693 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2695 * lyxfunc.C (Dispatch):
2697 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2698 constructor argument.
2700 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2702 * paragraph.C (Paragraph): dont't clear, and just set layout.
2703 (makeSameLayout): use params's copy contructor.
2705 * ParagraphParameters.[Ch] (makeSame): delete method
2707 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2709 * Variables.[Ch]: fix indentation, rename set to isSet
2711 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2713 * lyxfunc.C (Dispatch): fix typo
2715 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2717 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2720 * bufferlist.C: include assert.h for emergencyWrite().
2722 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2724 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2725 give up at last (bug #425202) !
2727 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
2733 * spellchecker.C: strip spellchecker options and bring up
2734 preferences tab instead
2736 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2738 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2739 the istringstream constructor
2741 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2743 * paragraph.C (getLayout): fix return value
2745 * paragraph.h: do not declare getLayout as inline.
2747 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2749 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2751 * lyxcursor.h (operator<): new func
2752 (operator>): new func
2753 (operator>=): new func
2754 (operator<=): new func
2756 * text.C (changeCase): use selection.start and selection.end
2757 (changeRegionCase): require from to be <= to. Require par to be a
2760 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2762 2001-06-27 Juergen Vigna <jug@sad.it>
2764 * text.C (cursorLeftOneWord): changed to return the cursor and added
2765 overlay with BufferView * parameter which calls this one.
2767 (selectWord): use new getWord function.
2768 (changeCase): renamed from changeWordCase as and extended to work
2771 * lyxtext.h: added enum word_location
2773 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2774 changeCase as this operates now also on selections.
2776 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2778 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2780 * many files: send debug output to Debug::INFO instead of
2783 * converter.C (View):
2785 (Move): send debug output to Debug::FILES instead of console.
2787 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2789 * lyxfunc.C (getStatus): use func_status
2791 * func_status.h: new header, describing the results of
2794 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2797 2001-06-25 The LyX Project <jug@sad.it>
2799 * buffer.C (sgmlOpenTag):
2801 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
2803 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2805 * text2.C: remove some dead code
2807 * tabular.C (GetCellInset): store the last cell checked (gotten)
2809 * tabular.h: add the helper for the speedup
2811 * lyxtext.h: remove some dead code
2813 2001-06-26 The LyX Project <Asger>
2815 * paragraph.C: Change export to LaTeX of alignment to
2816 \begin{center} and family for better roundtrip work with reLyX.
2818 * Tune the math drawing a bit.
2820 2001-06-25 The LyX Project <Asger>
2822 * LColor.C (LColor): New color for math background. New color
2825 2001-06-25 The LyX Project <jug@sad.it>
2827 * lyxfunc.C (MenuNew): remove extra check for .lyx file
2830 * bufferlist.C (newFile): do not restrict to files ending with
2833 * BufferView_pimpl.C (MenuInsertLyXFile):
2835 2001-06-24 The LyX Project <jug@sad.it>
2837 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2840 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2842 * lyxtext.h: rename most methods to begin with a small char.
2843 Lots of changes because of this.
2845 * paragraph.C (Paragraph): do not call fitToSize
2846 (erase): call Pimpl::erase
2847 (insertChar): call Pimpl::insertChar
2848 (insertInset): call Pipl::insertInset
2849 (breakParagraph): do not call fitToSize
2850 (breakParagraphConservative): do not call fitToSize
2851 (fitToSize): remove method
2853 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2855 2001-06-24 The LyX Project <Asger>
2857 * Fix Qt compilation^2
2859 2001-06-24 The LyX Project <jug@sad.it>
2861 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2862 depthHook(getDepth()-1).
2865 * ParagraphParameters.h:
2866 * ParameterStruct.h: change type of depth to unsigned int ==
2867 depth_type. Many adaptations to other files before of that.
2869 2001-06-24 The LyX Project <Asger>
2871 * Fix Qt compilation.
2873 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2875 * paragraph.h: renamed several methods to begin with small letter.
2876 several changes to many parts of the code because of this.
2878 2001-06-23 The LyX Project <jug@sad.it>
2880 * text2.C (InsertStringAsLines): renamed from InsertStringA;
2881 rewritten to discard all double spaces when KeepEmpty is off
2882 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2883 to only handle newlines but not fiddle with spaces and friends.
2885 * lyxfunc.C (MenuNew): when doing 'new from template', use
2886 template_path as default directory
2888 2001-06-23 The LyX Project <Asger>
2890 * Clean-up of header file includes all over
2891 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2893 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2895 * paragraph.h: renamed from lyxparagraph.h
2897 2001-06-23 Asger <lyx@violet.home.sad.it>
2899 * Buffer.h: Removed Buffer::resize
2900 * BufferList.h: Removed BufferList::resize
2901 * LyXView.h: Added LyXView::resize. This way, we will only reflow
2902 the document lazily when we change the width, or the font settings.
2904 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2906 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2908 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2910 * buffer.h: remove out of date comment
2912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2915 * screen.C: fix "theoretical" GC leak
2917 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2919 * LaTeX.C (scanAuxFile):
2920 (deplog): remove trailing \r when reading stream (useful under
2923 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2925 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2926 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2927 and BufferView::theLockingInset(Inset*), so should use them and not
2928 access bv_->text->the_locking_inset directly.
2930 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2932 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2935 * tex-defs.h: remove old unused file
2937 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
2939 * BufferView_pimpl.C: fix typo, remove minibuffer message
2940 when buffer has loaded
2942 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2944 * lyxfunc.C (Dispatch): use stringstream
2945 (MenuNew): use stringstream
2946 (Open): use stringstream
2948 * importer.C (Import): use stringstream
2950 * bufferview_funcs.C (CurrentState): use stringstream
2952 * LaTeX.C (run): use stringstream
2954 * BufferView_pimpl.C (savePosition): use stringstream
2955 (restorePosition): use stringstream
2956 (MenuInsertLyXFile): use stringstream
2958 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
2971 * vspace.C: removed // -*- C++ -*- as first line.
2974 * version.h: added // -*- C++ -*- as first line.
2976 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2978 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2980 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2983 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2985 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2988 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2990 * gettext.C: include LString.h even when --disable-nls is on.
2992 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2994 * converter.h (Get): changed argument type from int to
2995 FormatList::size_type to avoid unnecessary conversion.
2997 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3000 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3002 * gettext.h: include LString.h even when --disable-nls is on.
3004 2001-06-07 Juergen Vigna <jug@sad.it>
3006 * text.C (BreakAgain): subst spaces with tabs.
3008 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3009 (resizeInsetsLyXText): set force on resizeLyXText.
3011 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3013 * gettext.h (gettext_init):
3014 (locale_init): use a real definition instead of a macro
3016 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3018 * Bufferview_pimpl.C:
3020 * LColor.C: further lcolor tidies
3022 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3024 * BufferView_pimpl.C (updateScrollbar): simplify.
3026 * BufferView2.C: don't include insets/insetinfo.h, change
3027 prototype for insertInset and call the Pimpl version. let
3028 updateInset call Pimpl version.
3030 * BufferView.h: move inset_slept to BufferView::Pimpl, move
3031 gotoInset to BufferView::Pimpl
3033 2001-06-01 Juergen Vigna <jug@sad.it>
3035 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3036 inside a LockingInset (is the update needed at all?).
3038 2001-05-31 Juergen Vigna <jug@sad.it>
3040 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3041 here not the old one otherwise how should we compare it afterwards
3044 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3049 * FontInfo.C: bring C functions into global namespace when
3052 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3054 * LString.h: make sure config.h has been loaded before LString.h.
3056 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3057 (one for each char read by EatLine!).
3059 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3062 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3064 * paragraph.C (BreakParagraph): set the inset_owner in the new par
3065 to the same as the par we break from
3067 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3069 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3071 * MenuBackend.C (expand): also create menu entries for wide
3072 versions of the floats.
3074 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3076 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3078 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3079 frontends/Makefile.am
3085 * tabular.C (getTokenValue): add std::
3087 * tabular-old.C (getTokenValue): add std::
3088 (getTokenValue): ditto
3089 (getTokenValue): ditto
3091 * screen.C (ToggleSelection): adjust
3093 * lyxtext.h: put selection cursors inside a Selection struct.
3095 * lyxfunc.C (moveCursorUpdate): adjust
3097 * lyxfont.C (latexWriteStartChanges): add std::
3101 * font.h: delete with(char const *, LyXFont const &)
3103 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3105 * FontInfo.C (getFontname): add std::
3107 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3108 (workAreaButtonPress): adjust
3109 (tripleClick): adjust
3111 (moveCursorUpdate): adjust
3114 * BufferView2.C (gotoInset): adjust
3116 2001-05-30 Juergen Vigna <jug@sad.it>
3118 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3119 to check pspell I add this as default as I now have new pspell
3120 libraries and they seem to use this.
3122 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3124 * text2.C (CutSelection): make the cursor valid before the call to
3127 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3129 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3130 relied on 0 terminated strings and other horrors. Bug found due to
3131 the new assert in lyxstring!
3133 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3136 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3138 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3141 * lyxfunc.C (processKeySym): change method of getting to the
3144 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3145 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3146 * BufferView_pimpl.[Ch]: here as private methods.
3148 2001-05-28 Juergen Vigna <jug@sad.it>
3150 * text.C (SetHeightOfRow): added the update() call again as it is
3151 needed to initialize inset dimensions!
3153 2001-05-16 Juergen Vigna <jug@sad.it>
3155 * text2.C (SetCharFont): Add new function with BufferView * and
3156 bool toggleall parameters for setting insets internal fonts.
3157 (SetFont): Freeze the undo as we may change fonts in Insets and
3158 all this change should be inside only one Undo!
3160 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3161 setting font's in insets as for them we have the SetFont function!
3163 2001-05-15 Juergen Vigna <jug@sad.it>
3165 * text2.C (ClearSelection): to be sure we REALLY don't have any
3168 * tabular.C (TeXCellPreamble): fixed the left border problem for
3171 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3173 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3176 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3178 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3179 LFUN_BREAKPARAGRAPH.
3181 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3182 help test to "internal only", similar for LFUN_INSERT_URL
3184 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3185 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3186 auto_region_delete and deadkeys.
3188 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3191 * LColor.C: remove some dead entries, tidy a little
3193 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3195 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3197 (Dispatch): implement LFUN_ESCAPE
3199 * commandtags.h: add LFUN_ESCAPE
3201 * LyXAction.C (init): add entry for LFUN_ESCAPE
3203 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3204 Remove commented code.
3205 (insertNote): moved here
3206 (open_new_inset): moved here
3208 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3211 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3213 * kbmap.C (findbinding): clean it up and make it work correctly.
3215 * lyx_main.C (init): do not pass argc and argv as parameters
3217 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3219 * buffer.C: fix path for OS/2 & Win32
3223 * lyx_main.C: Added os:: class.
3225 * os2_defines.h: update
3227 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3229 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3230 better by trying again with reduced state.
3232 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3234 * lyxrc.C (read): print error about invalid key sequence only when
3235 debugging (because not all latinX keysyms are known to some X
3238 * kbsequence.C (getiso): add a few std:: qualifiers
3239 (getiso): comment out extra return statement.
3241 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3243 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3245 (Dispatch): enhance the accent inset a bit. (not perfect)
3247 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3249 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3251 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3253 * bufferlist.C (emergencyWrite): fix assert() call
3255 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3257 * text.C (InsertChar): Added trivial patch to only send the "you
3258 can not do multiple spaces this way" message once during a
3261 2001-05-08 Baruch Even <baruch@lyx.org>
3263 * Makefile.am: Changed order of libraries to get LyX to link properly
3264 with the gnome frontend.
3266 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3268 * LaTeXFeatures.h: add a std:: qualifier
3270 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3272 * paragraph.C (String): use stringstream
3274 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3276 * paragraph.C (writeFile): remove footflag arg
3278 * buffer.C (makeLaTeXFile): use stringstream
3279 (latexParagraphs): remove footnot gurba
3281 * LaTeXFeatures.C (getPackages): use stringstream
3282 (getMacros): likewise
3283 (getTClassPreamble): likewise
3284 (getFloatDefinitions): new method
3286 * paragraph.C (writeFile): reindent
3289 * WorkArea.h: revert the xpos + etc changes.
3291 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3293 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3295 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3296 (pasteSelection): likewise
3297 * text2.C (CreateUndo): likewise
3299 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3301 * minibuffer.C (peek_event): temporarily reduce the functionality
3302 of the minibuffer (to allow args on lfuns)
3304 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3305 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3307 * buffer.C (readInset): add compability reading of old float
3308 lists, add reading of new style float list.
3309 (readInset): avoid reevaluation of inscmd.getCmdName()
3310 (getLists): reindent
3312 * MenuBackend.C (MenuItem): implement parsing of
3313 md_floatlistinsert and md_floatinsert.
3314 (expand::LastFiles): move initalizaton of iterators out of loop,
3316 (expand::Documents): introduce typdedef vector<string> Strings,
3318 (expand::ExportFormats): introduce typedef vector<Format const *>
3319 Formats, and use it.
3320 (expand): implement FloatListInsert and FloatInsert.
3322 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3323 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3324 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3326 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3328 (Dispatch::LFUN_FLOAT_LIST): implement
3330 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3332 * LaTeX.C (run): Fix problem with --export code.
3334 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3336 * BufferView.[Ch] (workarea): removed.
3337 (getClipboard) new method; wrapper for workarea()->getClipboard()
3339 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3342 * WorkArea.h (width, height, xpos, ypos): These methods all
3343 returned the dimensions of the work_area sub-area of WorkArea,
3344 resulting in a position error if the WorkArea were resized. Now
3345 return the dimensions of the entire WorkArea.
3347 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3349 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3351 * LaTeX.C (deplog): correct the syntax of regex reg1
3353 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3355 * undo.C: remove !NEW_INSETS cruft
3357 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3359 * text2.C: remove !NEW_INSETS cruft
3361 * text.C: remove !NEW_INSETS cruft
3363 * tabular.C: remove !NEW_INSETS cruft
3365 * spellchecker.C: remove !NEW_INSETS cruft
3367 * lyxtext.h: remove !NEW_INSETS cruft
3369 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3371 * lyxfunc.C: remove !NEW_INSETS cruft
3373 * lyxfind.C: remove !NEW_INSETS cruft
3375 * lyx_cb.C: remove !NEW_INSETS cruft
3377 * figureForm.C: remove !NEW_INSETS cruft
3379 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3381 * buffer.[Ch]: remove !NEW_INSETS cruft
3383 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3385 * CutAndPaste.C: remove !NEW_INSETS cruft
3387 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3389 * BufferView2.C: remove !NEW_INSETS cruft
3391 * BufferView.h: remove !NEW_INSETS cruft
3393 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3395 * Lsstream.h: include LString.h before the sstream headers to
3396 fix problem with gcc 2.95.3 and lyxstring
3398 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3400 * lyx_main.C: add using directives when needed for C functions
3401 declared in std:: namespace.
3403 2001-04-27 Juergen Vigna <jug@sad.it>
3405 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3406 (SetHeightOfRow): comment out the update call should not be needed!
3408 2001-04-13 Juergen Vigna <jug@sad.it>
3410 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3411 (LyXTabular): tried to minimize operator= operations (and realized
3412 hopfully Lars wish).
3414 2001-04-27 Juergen Vigna <jug@sad.it>
3416 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3418 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3420 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3422 * buffer.C (readInset): hack to make listof algorithm work
3424 * BufferView_pimpl.C: hack to make listof algorithm work
3426 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3428 * LyXAction.C: removed all !NEW_INSETS cruft
3429 (init): moved lfun_item in method
3431 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3433 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3435 * BufferView2.C (theLockingInset): white space.
3437 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3439 * minibuffer.C: include <iostream>
3441 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3443 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3445 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3447 * text.[Ch] (TransposeChars): new method
3449 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3451 * call message directly through LyXView instead of through LyXFunc
3452 * BufferView2.C: adjust
3453 * BufferView_pimpl.C: adjust
3454 * FontLoader.C: adjust
3456 * bufferview_funcs.C: adjust
3457 * converter.C: adjust
3458 * figureForm.C: adjust
3459 * importer.C: adjust
3461 * lyx_gui_misc.C: adjust
3465 + more files in subdirs
3467 * lyxparagraph.h (size): move up int file
3470 * adjust all uses of Assert to lyx::Assert.
3472 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3473 lyxfunctional in namespace lyx
3474 * layout.C (hasLayout): ditto
3477 (delete_layout): ditto
3478 (NumberOfClass): ditto
3479 * converter.C (GetFormat): ditto
3484 * bufferlist.C (getFileNames): ditto
3485 (emergencyWriteAll): ditto
3488 * MenuBackend.C (hasSubmenu): ditto
3491 * BufferView_pimpl.C (getInsetByCode): ditto
3493 2001-04-18 Juergen Vigna <jug@sad.it>
3495 * vspace.C (asLatexString): fixed the 100% problem.
3497 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3499 * lyxfunc.C (Dispatch):
3501 * minibuffer.h: add a few std:: qualifiers
3503 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3505 * minibuffer.[Ch]: reimplement so that commands is initiated and
3506 run from lyxfunc, simplified som handling, and made the completion
3507 and history code for complete. wip.
3509 * lyxfunc.C (processKeySym): call message
3510 (miniDispatch): new temporary method
3511 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3512 (LFUN_MESSAGE): implement
3513 (LFUN_MESSAGE_PUSH): implement
3514 (LFUN_MESSAGE_POP): implement
3515 (initMiniBuffer): the initial/defualt minibuffer message.
3517 * lyxfont.[Ch]: inline some more getters
3519 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3521 * lyx_gui_misc.[Ch] (WriteStatus): remove method
3523 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3524 (AutoSave): use LFUN_MESSAGE
3525 (Reconfigure): ditto
3527 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3529 * figureForm.C: use LFUN_MESSAGE
3531 * converter.C (runLaTeX): use LFUN_MESSAGE
3533 * bufferview_funcs.C: use LFUN_MESSAGE
3535 (changeDepth): ditto
3537 * bufferparams.h: use boost::
3539 * bufferlist.h: inherit privately from noncopyable
3541 * bufferlist.C (loadLyXFile): remove some commented code.
3543 * buffer.C (runChktex): use LFUN_MESSAGE
3545 * ShareContainer.h: inherit privately from noncopyable
3547 * ParagraphParameters.[hC] (depth): inline it.
3549 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3551 (message): new method
3552 (messagePush): ditto
3554 (show): init minibuffer
3555 (showState): direct call
3557 * LaTeX.[Ch]: inherit privately from noncopyable
3558 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3559 instead of WriteStatus.
3561 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3563 * BufferView_pimpl.C (buffer): don't init minibuffer
3564 (workAreaButtonPress): use LFUN_MESSAGE
3565 (workAreaButtonRelease): ditto
3566 (savePosition): ditto
3567 (restorePosition): ditto
3568 (MenuInsertLyXFile): ditto
3569 (workAreaExpose): don't init minibuffer
3570 (update): remove commented code, simplify
3572 * BufferView2.C (openStuff): use LFUN_MESSAGE
3573 (toggleFloat): ditto
3576 (copyEnvironment): ditto
3577 (pasteEnvironment): ditto
3582 (updateInset): remove some commented code
3584 * lastfiles.h: inherit privately from noncopyable
3589 * lyxlex_pimpl.h: ditto
3591 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
3592 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
3593 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3595 * LyXAction.h: inherit privately from noncopyable, add methods
3596 func_begin, func_end, returning iterators to the func map.
3598 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
3599 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3600 (func_begin): new method
3601 (func_end): new method
3603 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
3605 (copySelection): ditto
3606 (pasteSelection): ditto
3608 * BufferView.C: whitespace change
3609 * BufferView.h: inherit privately from noncopyable
3611 2001-04-16 Allan Rae <rae@lyx.org>
3613 * tabular-old.C (l_getline):
3614 * spellchecker.C (sc_check_word):
3615 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3616 an unrecognised preprocessor directive. So ensure they're wrapped.
3618 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
3620 * src/exporter.C (Export): Give an error message when path to file
3623 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
3625 * LaTeX.C (deplog): Always check that foundfile exists.
3627 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3630 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
3632 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3634 * tabular.[Ch] (getLabelList): implement new method
3636 * minibuffer.h: comment ouf setTiimer
3638 * minibuffer.C (ExecutingCB): constify res
3639 (peek_event): constify s
3640 (Set): constify ntext
3641 (Init): constify nicename
3643 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3645 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3646 (savePosition): use two params to Minibuffer::Set
3647 (restorePosition): ditto
3649 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3651 * lyx_main.C: include language.h
3653 * Makefile.am (lyx_main.o): add language.h
3655 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3661 * CutAndPaste.C: include gettext.h
3663 * lyxfont.h: remove old hack with ON and OFF.
3666 * lyxfont.h: do not include language.h...
3671 * bufferview_funcs.C:
3677 * paragraph.C: ... but do it here instead
3679 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3681 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3683 * tabular.C: small reformat
3685 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3688 (BreakParagraph): ditto
3689 (SetOnlyLayout): ditto
3692 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3695 * lastfiles.C: removed most using decl, add std:: where needed
3697 * buffer.C: ws changes
3699 * MenuBackend.C (class compare_format): put into anon namespace
3700 (expand): constify label, names, action, action2
3703 * text.C (SingleWidth): constify font
3704 (IsBoundary): constify rtl2
3705 (GetVisibleRow): constify ww
3707 * LaTeX.C (deplog): constify logfile
3709 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3711 (workAreaExpose): constify widthChange, heightChange
3713 * lyxrow.C (par): moved
3716 * lyxrow.h: as inlines here
3718 * lyxfont.h (shape): moved from lyxfont.C
3719 (emph): moved from lyxfont.C
3721 * lyxfont.C (LyXFont): use initialization list for all
3723 (shape): move to lyxfont.h as inline
3724 (emph): move to lyxfont.h as inline
3727 2001-04-04 Juergen Vigna <jug@sad.it>
3729 * vspace.C: had to include stdio.h for use of sscanf
3731 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
3734 * BufferView_pimpl.h: remove xforms cruft. Both classes are
3735 independent of xforms.
3737 2001-04-02 Juergen Vigna <jug@sad.it>
3739 * spellchecker.C: fixed namespace placing!
3741 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3743 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3744 the LyXParagraph * is 0.
3746 2001-03-29 Juergen Vigna <jug@sad.it>
3748 * vspace.C: added support for %, c%, p%, l%.
3749 (stringFromUnit): added helper function.
3750 (asLatexString): changed to give right results for the %-values.
3752 * buffer.C: convert the widthp in a width%.
3754 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3756 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3759 * figureForm.[Ch]: stripped the FD_from_figure manipulation
3760 code out of lux_cb.[Ch], ready for its (imminent?) removal.
3762 * lyx_cb.[Ch]: see above.
3764 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3768 * lyx.[Ch]: replaced by figure_form.[Ch].
3772 * lyxfunc.C: changed headers associated with above changes.
3774 2001-03-27 Juergen Vigna <jug@sad.it>
3776 * BufferView_pimpl.C: set the temporary cursor right!
3778 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3780 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3782 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3784 * LString.h: removed "using std::getline"!
3786 * BufferView_pimpl.C (Dispatch): changes due to changes in
3787 InsetInclude::Params.
3789 * buffer.C (tag_name): removed redundant break statements as they were
3790 producing lots of warnings with my compiler.
3792 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3794 * LString.h: add "using std::getline" when using the real <string>.
3796 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3798 * buffer.C: removed bitset usage.
3799 PAR_TAG moved to an anonymous name space.
3800 (tag_name): new funtion, also in the anonymous namespace.
3801 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3802 (makeDocBookFile): clean code. Completed transition from string arrays
3804 (SimpleDocBookOnePar): code clean.
3806 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3808 * tabular.C: add some comments.
3810 2001-03-22 Juergen Vigna <jug@sad.it>
3812 * buffer.C (parseSingleLyXformat2Token): redone the minipage
3813 compatibility read a bit and fixed bug with minipage in different
3816 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
3818 * buffer.C (pop_tag): removed.
3819 (push_tag): removed.
3820 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3821 array replaced with vector. Added support for CDATA sections.
3822 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3824 (makeDocBookFile): XML conformant declaration of CDATA section,
3825 fixed bug related to <emphasis> in the first paragraph char.
3826 (sgmlOpenTag): exclude empty tags.
3827 (sgmlCloseTag): ditto.
3829 * buffer.h (pop_tag): removed.
3830 (push_tag): removed.
3832 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3834 * language.h (Languages): added size_type and size().
3836 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3838 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3839 response on compability reading of minipages. One probliem is that
3840 the old usage of minipages was «flertydig»
3842 * several files here and in subdirs: don't use static at file
3843 scope use anon namespaces instead.
3845 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
3847 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3848 LaTeX output. This is necessary for Literate document
3851 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3853 * buffer.C: insert hfill when needed.
3855 * tabular.C (l_getline): use string::erase, small whitespace change.
3857 * BufferView_pimpl.C: try the anon namespace.
3860 2001-03-16 Juergen Vigna <jug@sad.it>
3862 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3863 otherwise it won't open options-dialogs.
3865 * buffer.C: honor pextraWidth(p) on converting minipages.
3867 * tabular.C (l_getline): changed the functions to strip trailing \r.
3869 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
3871 * BufferView_pimpl.C:
3872 * minibuffer..C: added "using SigC::slot" declaration.
3874 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3876 * lyxlex_pimpl.h: noncopyable is in namespace boost.
3882 * paragraph.C: ditto
3884 * lyxtext.h: NO_PEXTRA
3886 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3888 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3889 * ParameterStruct.h: ditto
3890 * ParagraphParameters.h: ditto
3891 * lyxparagraph.h: ditto
3893 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3895 * buffer.C: add compability for minipage alignment.
3896 (latexParagraphs): remove unwanted pextra check.
3898 * several files: remove CXX_WORKING_NAMESPACES
3900 * buffer.C (pop_tag): tie is in namespace boost
3902 * BufferView.h: noncopyable is in namespace boost
3907 * lastfiles.h: ditto
3908 * bufferlist.h: ditto
3909 * ShareContainer.h: ditto
3911 * LyXAction.h: ditto
3914 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3916 * Merging changes from BRANCH_MVC back into HEAD.
3918 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3920 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
3922 * BufferView_pimpl.C: change from intl.C
3926 * Makefile.am: move combox.*
3932 * intl.C: remove dialog (covered by prefs)
3934 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3936 * lyxfunc.C (Dispatch): removed redundant break statement.
3938 2001-03-14 Juergen Vigna <jug@sad.it>
3940 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3942 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3944 * buffer.C: add hack to fix compability reading of minipages.
3946 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3948 * buffer.C (getLists): Cleanup.
3950 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3952 * lyxfont.C (update): don't honor toggleall on font size.
3954 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
3958 * Makefile.am: moved to frontends/xforms/
3962 * BufferView_pimpl.C: changes for moved mathpanel
3964 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3966 * gettext.h: fix gettext_init() in --disable-nls
3968 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3970 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3972 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3975 * lyx.h: strip external form
3977 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3979 * BufferView_pimpl.C: add comment, destroySplash()
3981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3983 * BufferView_pimpl.C:
3987 * lyxfunc.C: use re-worked insetinclude
3989 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3991 * buffer.C: add using std::stringstream.
3993 * lyx_cb.C: readd using std::ios.
3995 * buffer.C: add using std::map.
3997 * BufferView_pimpl.C: add using std::vector.
3999 * ShareContainer.h: add std:: to swap.
4001 * buffer.h: add some typedefs
4002 * buffer.C (getLists): use them
4003 (getLists): renamed from getTocList.
4004 add a counter for the different float types and use it in the
4006 (getLists): use the same counter for the NEW_INSETS and the "non"
4009 * lyx_cb.h: remove unused items, includes, using etc.
4011 * ShareContainer.h: remove some commented code, add more comments
4012 and "documentation".
4014 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4016 * buffer.C (getTocList): make the list also when NEW_INSETS is
4019 * buffer.h: remove TocType
4021 * buffer.C (getTocList): change to return a map<string,
4022 vector<TocItem> >, implement for dynamic number of list.
4024 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4025 * text2.C (PasteSelection): adjust
4026 * CutAndPaste.C (pasteSelection): adjust
4028 * FloatList.C (FloatList): update from the new_insets branch.
4029 * Floating.[Ch]: ditto
4030 * LaTeXFeatures.C: ditto
4032 * lyxlex_pimpl.C: ditto
4034 * paragraph.C (Last): remove when NEW_INSETS is defined.
4036 * other file: changes because of the above.
4038 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4040 * lyxparagraph.h: rename next to next_, previous to previous_,
4041 make them private for NEW_INSETS. Rename Next() to next(),
4042 Previous() to previous().
4044 * other files: changes because of the above.
4046 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
4049 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4052 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4054 * main.C (main): pass lyx_localedir to gettext_init().
4056 * gettext.h: remove locale_init and gettext_init macros
4058 * gettext.C (locale_init): new function
4059 (gettext_init): new function
4061 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4064 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
4066 * Moved credits to frontends:
4067 * credits.[Ch]: removed
4068 * credits_form.[Ch]: removed
4069 * lyx_gui_misc.C: remove credits stuff
4072 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4074 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4076 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4077 unneeded destructor.
4079 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4080 a standalone pointer again.
4082 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4084 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4090 * ToolbarDefaults.C:
4099 * BufferView_pimpl.C: use new file dialog in GUII
4102 * lyx_cb.C: remove LayoutsCB to Toolbar
4104 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4106 * ShareContainer.h (get): add std:: qualifier
4108 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4110 * ShareContainer.h: define a proper ShareContainer::value_type
4111 type (and use typename to please compaq cxx)
4113 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4115 * lyxparagraph.h: move serveral local vars to
4116 ParameterStruct/ParagraphParameters., use ShareContainer in
4117 FontTable., make vars in FontTable private and add getter and
4120 * paragraph.C: changes because of the above.
4122 * lyxfont.h: remove copy constructor and copy assignment. (the
4123 default ones is ok), move number inside FontBits. move inlines to
4126 * lyxfont.C: add number to initializaton of statics, move several
4127 inlines here. constify several local vars. some whitespace
4128 cleanup. Dont hide outerscope variables.
4130 * Spacing.h: add two new constructors to match the set methods.
4132 * ShareContainer.h: new file, will perhaps be moved to support
4134 * ParameterStruct.h: new file
4136 * ParagraphParameters.h: new file
4138 * ParagraphParameters.C: new file
4140 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4141 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4143 * BufferView_pimpl.C: ParagraphParameter changes.
4144 * buffer.C: Likewise.
4145 * bufferview_funcs.C: Likewise.
4147 * text2.C: Likewise.
4149 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4151 * lyxfind.C (LyXReplace): do not redefine default argument in
4153 (IsStringInText): ditto
4154 (SearchForward): ditto
4155 (SearchBackward): ditto
4157 2001-03-06 Juergen Vigna <jug@sad.it>
4159 * lyxfind.C (IsStringInText): put parentes around expressions.
4161 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4163 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4165 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4167 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4169 * stl_string_fwd.h: add comment
4171 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4174 * tabular.C: remove unused DocBook methods
4180 killed DO_USE_DEFAULT_LANGUAGE
4182 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4184 * lyx_gui.C: do not include language.h.
4186 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4187 arguments in function implementation.
4189 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4191 * BufferView_pimpl.C: add <ctime>
4193 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4195 * BufferView_pimpl.C: add using std::find_if
4197 2001-02-27 José Matos <jamatos@fep.up.pt>
4199 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4202 2001-02-11 José Matos <jamatos@fep.up.pt>
4204 * buffer.C (makeDocBookFile): command styles now have a parameter as
4207 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4209 * layout_forms.[Ch]: removed
4210 * lyx_cb.[Ch]: out character
4211 * lyx_gui.C: out character
4212 * lyx_gui_misc.C: out character
4213 * bufferview_funcs.C: : out character,
4214 added toggleall as parameter in ToggleAndShow
4216 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4218 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4220 * text2.C (SetCurrentFont): Disable number property at boundary.
4222 2001-02-26 Juergen Vigna <jug@sad.it>
4224 * lyxfunc.C (getStatus): added a string argument override function so
4225 that this is correctly called from LyXFunc::Dispatch if it contains a
4226 do_not_use_argument which is used!
4227 (Dispatch): added check for "custom" export and call appropriate func.
4229 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4231 * lyxrc.C: Add language_command_local, language_use_babel and
4232 language_global_options.
4234 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4236 * buffer.C (makeLaTeXFile): Use language_use_babel and
4237 language_global_options.
4239 2001-02-23 Juergen Vigna <jug@sad.it>
4241 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4242 which works with LyXText and putted it inside BufferView. Here now we
4243 only call for that part the BufferView::Dispatch() function.
4245 * BufferView.C (Dispatch): added.
4247 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4248 functions which needs to use a LyXText over from LyXFunc.
4249 (MenuInsertLyXFile): added
4250 (getInsetByCode): added
4251 (moveCursorUpdate): added
4252 (static TEXT): added
4254 2001-02-22 Juergen Vigna <jug@sad.it>
4256 * BufferView_pimpl.C (update): call a status update to see if LyXText
4259 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4261 * vc-backend.C (revert): implement for CVS
4262 (getLog): implement for CVS
4264 2001-02-20 Juergen Vigna <jug@sad.it>
4266 * text2.C (ClearSelection): added BufferView param for inset_owner call
4268 * lyxfunc.C (TEXT): added this function and use it instead of
4269 directly owner->view()-text of getLyXText().
4271 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4273 * src/layout_forms.C: out preamble
4274 * src/layout_forms.h: out preamble
4275 * src/lyx_cb.C: out preamble
4276 * src/lyx_cb.h: out preamble
4277 * src/lyx_gui.C: out preamble
4278 * src/lyx_gui_misc.C: out preamble
4279 * src/lyxfunc.C: connect with guii preamble
4281 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4283 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4285 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4287 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4288 whether to run bibtex.
4290 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4292 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4294 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4296 * Makefile.am (lyx_SOURCES): removed bibforms.h
4300 * text.C (GetVisibleRow): make several local vars const
4302 * tabular.C: small cleanup.
4304 * lyxserver.C (callback): use compare instead of strncmp
4306 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4307 inlines to after class or to paragraph.C
4309 * lyxfont.h: remove friend operator!=
4311 * converter.h: move friend bool operator< to non friend and after
4314 * combox.h: small cleanup
4316 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4317 to inlines after class def.
4319 * buffer.C (pop_tag): use string operations instead of strcmp
4321 * bmtable.c: doxygen, small cleanup
4323 * LaTeX.h: remove friend operator==
4325 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4337 * BufferView_pimpl.C:
4338 * BufferView.[Ch]: remove cruft
4340 2001-02-14 Juergen Vigna <jug@sad.it>
4342 * lyxfunc.C: removed #if 0 unused code
4344 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4346 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4348 * text2.C (SetSelection): added a BufferView * parameter
4350 2001-02-13 Juergen Vigna <jug@sad.it>
4352 * lyxfunc.C (Dispatch): fixed protected blank problem.
4353 * BufferView2.C (protectedBlank): added LyxText * parameter.
4355 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4356 (AppendColumn): same as above for column_info.
4358 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4359 (moveCursorUpdate): use a LyXText param for support of InsetText.
4361 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4362 (tripleClick): ditto
4364 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4366 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4368 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4370 * text2.C (SetSelection): set correct update status if inset_owner
4373 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4375 * tabular.C: remove some commented code.
4377 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4379 * BufferView_pimpl.C: call hideSplash()
4381 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4384 * bibforms.h: remove
4387 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4388 add LFUN_CHILD_CREATE
4390 * counters.h: fix tiny typo
4395 * lyx.C: move splash to frontends/xforms/
4397 * lyx_gui_misc.C: move Include and Bibform to frontends
4399 * lyxvc.h: clarify comment
4401 * vspace.C: tiny housekeeping
4403 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4405 * text.C (PrepareToPrint): RTL Fix.
4407 * paragraph.C (GetUChar): New method.
4408 (String): Use GetUChar.
4410 * buffer.C (asciiParagraph): Use GetUChar.
4412 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4414 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4416 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4419 * buffer.C: rename to getLogName(), handle
4420 build log / latex log nicely
4422 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4425 * MenuBackend.h: remove support for reference menuitem type.
4427 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4429 * BufferView_pimpl.C: housekeeping
4430 * BufferView_pimpl.h:
4435 * minibuffer.h: move Timeout GUI-I
4437 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4439 * lyxrc.C (read): Update converters data-structures.
4441 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4443 * LaTeX.h (operator!=): add operator != for Aux_Info
4445 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4447 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4449 * LaTeXLog.C: deleted, useful code moved to Buffer
4452 * buffer.C: new function getLatexLogName()
4458 * lyxfunc.C: use frontends for LaTeX and VC logs
4460 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4462 * LaTeX.h: yet another std:: that Allan forgot.
4464 * Variables.C (set): renamed from isset(), because this clashes
4465 with some HP-UX macros (grr).
4467 2001-02-06 Allan Rae <rae@lyx.org>
4469 * LaTeX.h: Another bug fix. Missing std:: this time.
4471 2001-02-04 Allan Rae <rae@lyx.org>
4473 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4474 floats problem. I've left it commented out because it's not quite
4475 correct. It should also test that the current object is a table or
4476 figure inset. But I haven't gotten around to figuring out how to do
4477 that. I *think* it'll be something like: "table" == inset.type()
4479 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4482 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4484 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4485 all the citation/databases/styles in the auxilary file.
4486 (run): Rerun latex if there was a babel language error.
4488 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4490 * text.C (Backspace): Preserve the font when changing newline char
4492 (BreakParagraph): If the cursor is before a space, delete the space.
4494 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4496 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4498 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4499 new argument (code).
4500 (ChangeCitationsIfUnique): New method.
4502 * paragraph.C (GetPositionOfInset): Handle bibkey.
4504 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4506 * BufferView_pimpl.h: change type of Position::par_pos to
4507 LyXParagraph::size_type.
4509 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
4511 * BufferView_pimpl.C (savePosition, restorePosition): Write
4512 messages to minibuffer.
4514 2001-01-28 José Matos <jamatos@fep.up.pt>
4516 * buffer.C (makeDocBookFile): adds support for document language.
4517 A silly restriction on the name of LatexCommand types where removed.
4518 Added support for CDATA sections, allows to chars unescaped, used
4519 among others in code, to avoid escape < and >.
4521 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4523 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
4524 saved positions instrad of a stack. Furthermore, a position is
4525 stored using paragraph id/paragraph position.
4527 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4528 Remove LFUN_REF_BACK.
4530 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4532 * converter.C (dvipdfm_options): New method.
4534 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4536 * vspace.C (isValidLength): Fix for empty input string.
4538 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4540 * LyXAction.C (init): change description of LFUN_FIGURE to
4543 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4545 * LaTeX.C: add using directive
4547 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4549 * MenuBackend.C (expand): Fix the sorting of the formats.
4551 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
4553 * lyx_main.C: tiny error message fix
4555 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4557 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4558 calling fl_initialize(). This fixes the problem with ',' as
4559 decimal separator in text files.
4561 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4563 * trans.C (process): Fix the keymap bug.
4565 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
4567 * LaTeX.C (scanAuxFiles): New method. Provides support for
4568 multiple bibliographies (when using the bibtopic/bibunits pacakges).
4569 (scanLogFile) Scan for "run BibTeX" messages.
4571 * buffer.C (makeLaTeXFile): Do not load the ae package when using
4572 OT1 font encoding. Also, load the aecompl package if the ae
4575 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
4577 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4579 * texrow.C (increasePos): turn two error messages into debug
4582 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
4584 * LaTeX.C (scanAux): Handle the \@input macro.
4585 (runBibTeX): Use scanAux().
4587 * language.C (latex_options_): New field.
4589 * LaTeXFeatures.C (getMacros): Add language macros.
4591 * buffer.C (makeLaTeXFile): Small fix.
4593 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4595 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
4597 * text2.C: add a using directive.
4599 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
4604 * lyxfunc.C: kill LyXBell.
4606 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
4608 * text.C (IsBoundary): Remove the error message
4610 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4612 * lyxrc.C (setDefaults): Correct initialization value for
4615 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
4617 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4620 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4623 * src/LyXAction.C: Added reference-next.
4625 * text.C (InsertChar): Use contains instead of strchr.
4627 * lyx_cb.C (MenuInsertLabel): Enable default value code.
4629 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
4631 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4632 alignment commands (when needed).
4634 * text.C (InsertChar): Add ':' to number separator chars.