1 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3 * lyxrc.C: improve help for use_scalable_fonts
5 2002-01-17 Allan Rae <rae@lyx.org>
7 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12 make sure to set their inset_owner to the right value (bug #171)
14 2001-12-12 Ben Stanley <bds02@uow.edu.au>
17 * DepTable.C: Implement mtime checking to reduce time spent doing
20 2002-01-16 Juergen Vigna <jug@sad.it>
22 * tabular.C (GetAdditionalHeight): one of error fixed.
24 * lyxrc.C (output): small fix in writing use_pspell.
26 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
28 * sp_base.h: #include LString.h
30 2002-01-16 Allan Rae <rae@lyx.org>
32 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
33 Can someone check this please?
35 * text.C (drawInset): It was possible that p.row would be removed by
36 breakAgainOneRow upsetting a few other settings. There may be another
37 small tweak possible by setting need_break_row = 0 when p.row has been
38 removed but I don't know enough about the logic here.
40 2002-01-15 Allan Rae <rae@lyx.org>
42 * text.C (insertChar): removed conditional truism.
44 * BufferView2.C (removeAutoInsets): More tweaks.
45 cur_par_prev could be a stray pointer. Check for trailing empty line
46 in case last line was cur_par and only had an error inset on it.
48 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
50 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
53 * vc-backend.C (most methods):
54 * exporter.C (Export):
55 * converter.C (convert):
57 * LyXSendto.C (SendtoApplyCB):
58 * lyxfunc.C (dispatch):
62 * lyx_cb.C (AutoSave):
64 * BufferView_pimpl.C (MenuInsertLyXFile):
65 * buffer.C (runChktex): use Buffer::filePath().
67 * buffer.h: rename filename to filename_; rename filepath to
68 filepath_ and make it private
69 (filePath): new method
71 * buffer.C (writeFile): use fileName()
74 * lyx_main.C (init): fix starting of LyX when the binary is a
75 link from so,ewhere else.
77 * minibuffer.C: include <cctype> for isprint
79 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
81 * buffer.C (parseSingleLyXformat2Token): changes associated with the
82 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
83 name clash with InsetCollapsable's width function.
85 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
87 * lastfiles.C: include <iterator>
89 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
91 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
94 * buffer.C (makeLaTeXFile): ditto.
95 Also make loop operation more transparent.
97 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
99 * ToolbarDefaults.C: remove trailing comma closing namespace.
101 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
103 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
106 * trans.C (Load): comment out unused variable, allowed.
108 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
110 * minibuffer.[Ch] (append_char): new method to recieve input from the
111 drop-down completion browser. If a key was pressed, then recieve this
112 char and append it to the existing string.
113 (peek_event): modify the positioning data passed to the completion
114 browser so that it can be placed above the minibuffer rather than below.
115 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
117 * LyXAction.C (init): alloe error-next for readonly documents.
119 * BufferView2.C (ChangeRefsIfUnique): use standard version of
122 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
124 * bufferlist.C (readFile): create the buffer _after_ checking that
127 * lyxfunc.C (verboseDispatch): fix handling of arguments
129 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
131 * lyxrc.C: use string::erase() instead of initializing to "".
134 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
136 * BufferView_pimpl.h:
137 * BufferView_pimpl.C:
140 * text2.C: tell X when we have made a selection for copying
142 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
144 * BufferView_pimpl.C (MenuInsertLyXFile):
145 * lyxfunc.C (menuNew):
147 (doImport): add shortcuts to directory buttons
149 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
152 * lyxfunc.C (setStatusMessage):
153 (getStatusMessage): new methods
154 (getStatus):use setStatusMessage instead of setErrorMessage
155 (dispatch): when function is disabled, set error message here
156 [instead of in getStatus previously]
158 * BufferView_pimpl.C (workAreaButtonRelease): update
159 toolbar/menubar here too.
161 2002-01-13 Allan Rae <rae@lyx.org>
163 * BufferView2.C (removeAutoInsets): finished off earlier fix.
164 Now seems indestructible. Remaining task is to audit all other
165 code affected by deleteEmptyParagraphMechanism. One small quirk
166 left is that an empty document with an error in the preamble can
167 be made to report an error but no error box appears. I don't know
169 (removeAutoInsets): Improved comments.
171 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
174 * Thesaurus.C: update for Aiksaurus 0.14
176 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * text2.C (firstParagraph): removed member function, all uses
179 replaces with ownerParagraph
180 (redoParagraphs): here
182 (toggleAppendix): here
183 * BufferView2.C (insertErrors): here
184 (setCursorFromRow): here
186 2002-01-13 Allan Rae <rae@lyx.org>
188 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
189 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
190 There is still a way to segfault this although you may have to do this
191 multiple times: Have an InsetERT with an unknown command in it.
192 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
193 <down-arrow>, <Enter> again, View->DVI, BANG!
195 * text2.C (setCursor):
196 (deleteEmptyParagraphMechanism):
197 * lyxtext.h (setCursor):
198 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
199 Making use of the return value may help fix other bugs.
201 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
203 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
205 * LyXView.C (updateMenubar): call MenuBar::update here
206 (updateToolbar): but not here
207 (showState): do not update toolbar/menubar
209 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
210 should need to care about that.
212 * lyxfunc.C (verboseDispatch): simplify a bit
213 (getStatus): have a version which takes a pseudoaction, and
214 another which requires a (kb_action,string).
216 * LyXAction.C (retrieveActionArg): make it work also when action
217 is not a pseudo-action.
218 (getActionName): simplify a bit
221 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
223 * lyxfunc.C (verboseDispatch): new families of methods with
224 several ways to specify a command and a bool to indicate whether
225 the command name and shortcut should be displayed in minibuffer
226 (eventually, we could extend that to a finer bitmask like
227 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
228 (dispatch): the pristine dispatch command which just, well,
229 dispatchs! Note it still sets its result to minibuffer; I'm not
232 * lyxfunc.h: remove setHintMessage
234 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
236 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
238 * BufferView_pimpl.C (specialChar): delete new inset if we have
239 not been able to insert it.
241 * kbmap.C: revert to using int instead of kb_action, since all we
242 are dealing with is pseudo-actions.
244 * LyXAction.C (searchActionArg): change to return int instead of
245 kb_action, since the result is a pseudoaction.
247 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
249 * buffer.C (insertErtContents): Fix (partially) the font bug.
251 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
253 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
254 as the other one is broken on my machine!
256 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
259 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
261 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
263 * lyxrc.[Ch]: change names and descriptions of popup font variables to
264 reflect their actual use. Provide compatibility code for older lyxrc
267 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
269 change names of popup font variables in line with the changes to lyxrc.C
271 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
273 * buffer.C (asciiParagraph): avoid outputing a word twice after
276 * lyxrc.C (getDescription): document that document_path and
277 template_path can be empty.
279 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
281 * LaTeXFeatures.C (getMacros):
282 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
284 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
286 * LaTeXFeatures.C (useFloat): require "float" here instead of in
288 (getPackages): rename feature "floats" to "float". Use an array to
289 iterate over 'simple' features (i.e. just a \usepackage). Add
290 handling of "amsmath" (renamed from "amsstyle").
292 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
294 * LaTeXFeatures.C (require): Prevent duplicate entries in the
297 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
299 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
300 FuncStaus::FuncStatus & FuncStaus::some_method().
302 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
304 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
305 of the func_satus stuff. Edited and massaged in various ways by
308 * lyxfunc.C (getStatus): use FuncStatus
310 2002-01-08 Juergen Vigna <jug@sad.it>
312 * text.C (nextBreakPoint): use function Inset::isChar().
314 * paragraph.C (TeXOnePar): use function
315 Inset::forceDefaultParagraphs.
317 * buffer.C (latexParagraphs): use function
318 Inset::forceDefaultParagraphs.
320 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
322 * lyx_gui.C (init): set the style of the menu popups to
323 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
325 2002-01-07 Juergen Vigna <jug@sad.it>
327 * text.C (setHeightOfRow): small fix
328 (prepareToPrint): don't look at alignment if we don't have the place
331 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
333 * box.C: New file. Move the Box methods and functions out of box.h,
334 following Lars' suggestion.
336 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
338 * box.h: #include "support/LOstream.h", needed for inlined function.
341 * lyxtextclasslist.C: added some using std declarations.
343 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
345 * box.h: make signed dimensions to allow insets wider than
346 the screen (bug #162)
348 * BufferView_pimpl.C: add some insetHit debug
350 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
352 * vc-backend.C: add FIXME
354 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
356 * lyxfunc.C (getStatus): enable code for showing math font status
359 2002-01-07 Juergen Vigna <jug@sad.it>
361 * text.C (nextBreakPoint): removed debug output not needed anymore.
363 2002-01-06 Juergen Vigna <jug@sad.it>
365 * text.C (nextBreakPoint): fixed up this function we had this bug
366 since ever but now hopefully we break row better.
367 (insertChar): we have to check if an inset is the next char as it
368 could now happen that a large inset is causing a break.
370 2002-01-05 Juergen Vigna <jug@sad.it>
372 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
373 if it doesn't like to be drawed.
375 2002-01-04 Juergen Vigna <jug@sad.it>
377 * BufferView2.C (lockInset): forgot to set a cursor.
379 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
381 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
386 * form_maths_panel.C:
387 * form_maths_panel.h:
388 * form_maths_panel.fd: implemented sub- and super- buttons in math
391 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
392 (or ^ space) to be used as in TeX (req'd by André).
394 * lyxfunc.C: Allow ^ and _ again to be used both as
395 super/subscript (mathed) and as themselves (in text).
397 2002-01-03 Allan Rae <rae@lyx.org>
399 * LyXView.C (updateWindowTitle): Setup a short icon title of either
400 "LyX" or the filename of the current buffer if it has one. This is a
401 modified form of John Levon's patch.
403 * XFormsView.C (setWindowTitle): also set icon title.
405 * LyXView.h (setWindowTitle): signature changed.
406 * XFormsView.h (setWindowTitle): ditto.
408 2002-01-02 Juergen Vigna <jug@sad.it>
410 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
412 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
414 * screen.C (topCursorVisible): introduce a temp var for
415 text->cursor.row(), handle the case where this row is null. (kindo
418 * text2.C (setCursor): add a couple of asserts.
420 * paragraph.h (inset_iterator): add -> operator
422 * paragraph.[Ch] (autoDeleteInsets): remove member function
424 * BufferView2.C (removeAutoInsets): rewrite to handle the old
425 cursor pos correctly and handle inset deletion by itself.
426 (insertErrors): move iterator declaration out of for expression
428 * lyxtextclass.C: add <algorithm>
430 * Makefile.am: added the new files to sources, removed layout.C
432 * layout.C: removed file
434 * layout.h: remove LYX_DUMMY_LAYOUT
436 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
441 * lyxtextclasslist.[Ch]: new files
443 * include order changes to a lot of files, also changes because of
446 2001-12-27 Juergen Vigna <jug@sad.it>
448 * buffer.C (asciiParagraph): more fixes.
450 * tabular.C (ascii): make ascii export support export of only the
451 data separated by a column-delimiter.
452 (ascii): better support for ascii export.
454 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
456 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
458 * tabular_funcs.C: use a "using std::getline" instead of the
459 previous fix from Angus (necessary for cxx + lyxstring)
461 2001-12-24 Juergen Vigna <jug@sad.it>
463 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
465 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
466 problems. First check a minipage also if we have some ert-contents
467 (not only on par->size(), second set the right depth of the paragraph
468 on the relink to the root-paragraph-list!
470 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
471 which then did not anymore update the main paragraphs on undo/redo!
473 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
475 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
476 code. Support all font-changing funcs (even those which are not in
477 menu currently). Support for reporting font settings in
478 mathed (disabled until Andre provides a function on mathed's side).
480 * func_status.h (toggle): small helper function to set toggle
483 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
485 * tabular_funcs.C: getline -> std::getline
487 2001-12-21 Juergen Vigna <jug@sad.it>
489 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
490 accessed and could be 0 (I couldn't generate this but it seems
493 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
495 * tabular_funcs.C: add LIstream.h, move write_attribute to..
496 * tabular_funcs.h: here and include iosfwd
498 2001-12-20 Juergen Vigna <jug@sad.it>
500 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
501 inside inset but undo_par was.
503 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
505 * Thesaurus.C: always include <config.h> in sources.
509 * box.h: do not include <config.h> in header files
511 * text.C (paintLastRow): remove unused variable
513 * text.C (transformChar):
515 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
518 * font.C (width): rewrite to use uppercase() instead of
521 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
523 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
525 * lyxfind.C: clean up of find failure position change
527 2001-12-20 Juergen Vigna <jug@sad.it>
529 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
531 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
532 (TeXRow): added to LaTeX a single tabular row.
533 (TeXLongtableHeaderFooter): added to output LT-h/f data.
534 (Latex): simplified and finally good LT-h/f support.
535 (various_functions): just small adaptions for LT-h/f support.
537 * tabular_funcs.[hC]: added and moved here all not classfunctions
540 2001-12-19 Juergen Vigna <jug@sad.it>
542 * tabular.[Ch]: better support for longtabular options (not finished
545 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
547 * text.C (paintLastRow): use the label font instead of the font of
548 the last character to compute the size of *_BOX. This makes more
549 sense and avoids a crash with empty paragraphs.
550 Use Painter::rectangle to draw EMPTY_BOX.
552 2001-12-19 Juergen Vigna <jug@sad.it>
554 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
555 the paragraphs if the replaced paragraph is not the first one!
556 Tried to delete not used paragraphs but does not work yet so for
557 now it's inside #ifdef's and by default off!
559 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
561 * MenuBackend.C: include "lyx_main.h" instead of declaring
562 lastfiles (actually was declared as LastFiles* instead of a
565 2001-12-17 Juergen Vigna <jug@sad.it>
567 * tabular.C (AppendColumn): applied John's fix
569 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
573 * BufferView_pimpl.h:
574 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
577 * box.h: new start of class for above
579 * lyxfunc.C: ignore space-only minibuffer dispatches.
580 Show the command name when it doesn't exist
582 * minibuffer.C: don't add empty lines to the history
584 * minibuffer.C: add a space on dropdown completion
586 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
588 * text.C: fix line above/below drawing in insets
590 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
592 * lyxlength.C (LyXLength): Initialize private variables.
594 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
597 when inserting error insets.
599 2001-12-13 Juergen Vigna <jug@sad.it>
601 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
602 actually sometimes the before-paragraph.
603 (setUndo): don't clear the redostack if we're not actually undoing!
605 2001-12-06 Juergen Vigna <jug@sad.it>
607 * undo_funcs.C (textHandleUndo): well after John's hint I got here
608 and fixed redoing of main paragraph, so we can use it now ;)
610 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
612 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
614 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
617 2001-12-13 André Pönitz <poenitz@gmx.net>
620 * undo_func.C: minor cleanup
622 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
624 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
625 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
626 font in urw-fonts package which is marked as -urw-fontspecific and
627 does not work (incidentally, changing the encoding in the
628 fonts.dir of this package to -adobe-fontspecific fixes the
631 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
632 is a crash when undoing first paragraph (Juergen, please take a
633 look). THis does not mean the undo fix is wrong, just that it
636 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
637 the (Paragraph*) version when needed instead of duplicating the
640 * text.C (workWidth): use Inset::parOwner to find out where the
641 inset has been inserted. This is a huge performance gain for large
642 documents with lots of insets. If Inset::parOwner is not set, fall
643 back on the brute force method
645 * paragraph_pimpl.C (insertInset):
646 * paragraph.C (Paragraph):
647 (cutIntoMinibuffer): set parOwner of insets when
648 inserting/removing them
650 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
652 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
658 * mathed/formulabase.C:
659 * mathed/math_cursor.[Ch]:
660 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
663 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * lyxlength.[Ch] (operator!=): new function
667 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
669 * text.C (workWidth): use Inset::parOwner to find out where the
670 inset has been inserted. This is a huge performance gain for large
671 documents with lots of insets. If Inset::parOwner is not set, fall
672 back on the brute force method
674 * paragraph_pimpl.C (insertInset):
675 * paragraph.C (Paragraph):
676 (cutIntoMinibuffer): set parOwner of insets when
677 inserting/removing them
679 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
681 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
683 * tabular-old.C (getTokenValue):
684 * tabular.C (getTokenValue):
685 (write_attribute): new versions for LyXLength
686 (everywhere): adjust the use of widths
688 * tabular.h: change the type of widths from string to LyXLength
690 2001-12-11 Ben Stanley <bds02@uow.edu.au>
692 * paragraph.C: fixed missing line number count when exporting
693 Environments to LaTeX file
695 * buffer.C: added informational message for checking line numbers.
697 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
699 * text2.C (deleteEmptyParagraphMechanism): if there is only one
700 paragraph, do the 'double space' part, but not the 'empty
703 * text.C (workWidth): small optimization
704 (getLengthMarkerHeight): use minimal size for negative lengths.
706 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
708 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
710 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
712 2001-12-11 André Pönitz <poenitz@gmx.net>
715 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
717 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
719 * text2.C: keep selection on a setFont()
721 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
723 * lyx_cb.C: another bv->text misuse, from insert label
725 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
728 * kbsequence.C: re-instate nmodifier mask
730 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
732 * lyx_main.h: make lyxGUI private.
734 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
736 * lyxfind.C: place the cursor correctly on failed search
738 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
740 * text.C (getLengthMarkerHeight): for small heights, the arrows
741 are not always on top/bottom of the text
742 (drawLengthMarker): smaller arrows; take the left margin in
743 account; draw also vfills.
745 (paintLastRow): remove special code for vfill and standard spaces,
746 since everything is handled in drawLengthMarker now.
748 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
750 * buffer.C (insertErtContents): try to handle font and language
751 interaction a bit better.g
753 * ColorHandler.C (updateColor): change the hash to cover the whole
754 LColor enum, ws cleanup
755 (getGCLinepars): ditto
756 (getGCLinepars): only lookup in the linecache once.
758 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
760 * iterators.C (operator++): Make the iterator more robust
762 * BufferView2.C (removeAutoInsets): Use paragraph iterators
764 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
766 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
769 * text.C: better added space drawing
771 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
774 * BufferView2.C: fix layout combo update on inset unlock
776 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
778 * Makefile.am: don't compile unused files
780 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
784 * LyXAction.C: remove old LFUN_LAYOUTNO
786 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
789 * paragraph_pimpl.C: isTextAt() doesn't need font param
791 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
794 * lyxlex.C: little cleanup
796 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
798 * BufferView_pimpl.C: fix insertAscii for insets
800 2001-12-05 Juergen Vigna <jug@sad.it>
802 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
803 set the right font on the "multi" paragraph paste!
805 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
811 * lyxlength.C: remove out-commented code.
827 * vc-backend.C: change "while(" to "while ("
829 * lyxlength.[Ch]: add zero function to check if length is zero or
831 * lyxgluelength.C: use it
833 2001-12-05 Allan Rae <rae@lyx.org>
835 * lyxlength.C: Attempted a fix for the abs(int) header selection.
836 Works for 2.95.3, from what I understand of Garst's reports this should
837 work for other g++ versions. We're screwed if the abs(int) definition
838 changed between bugfix releases of gcc.
840 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
842 * text.C: fix chapter label offset !
844 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
847 * text.C: fix hfill at end of line, clean up
849 2001-12-04 Juergen Vigna <jug@sad.it>
851 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
852 that we force an update of the inset and it's owners if neccessary.
854 2001-12-03 Juergen Vigna <jug@sad.it>
856 * text.C (rowLast): simplified code
858 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
860 * lyxfunc.C: fix show options on timeout
862 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
864 * screen.C (topCursorVisible): scroll half a page when the cursor
865 reached top of bottom of screen
867 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
869 * minibuffer.C: deactivate on loss of focus
871 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
873 * vspace.[Ch] (operator!=): add operator.
875 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
877 * BufferView_pimpl.C: refuse to open an inset when
880 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
882 * BufferView_pimpl.C: allow to click on RHS of full row insets
884 2001-11-30 Juergen Vigna <jug@sad.it>
886 * tabular.C (LyXTabular): add a same_id to set the same id's in the
887 insets for undo reasons.
889 2001-11-28 André Pönitz <poenitz@gmx.net>
891 * vspace.[Ch]: cosmetical changes
893 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
903 * kbsequence.C: part re-write of old kb code
906 * WorkArea.C: remove Lgb_bug_find_hack
908 2001-11-30 José Matos <jamatos@fep.up.pt>
910 * buffer.C (makeDocBookFile): add a comment to point a hack.
911 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
912 Fixed a double write of labels.
914 2001-11-29 Ben Stanley <bds02@uow.edu.au>
917 * LaTeX.h Fixed bug in LaTeX class where it would not
918 re-run latex if no depfiles were changed, but the .dvi was removed.
920 2001-11-28 André Pönitz <poenitz@gmx.net>
922 * all the files from the change on 2001/11/26:
923 use lyx::layout_type instead of LyXTextClass::size_type
924 use lyx::textclass_type instead of LyXTextClassList::size_type
926 2001-11-29 Juergen Vigna <jug@sad.it>
928 * text.C: added support for paragraph::isFreeSpacing()
930 * buffer.C: same as above
932 * paragraph.h: inserted isFreeSpacing() function to enable
933 FreeSpacing inside InsetERT.
935 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
936 of the paragraph's in the cut/copy buffer to 0!
938 * text2.C (removeRow): remove the assert as it can!
940 * lyxtext.h: added helper function firstRow returning firstrow and
941 made firstrow private again.
943 * BufferView2.C (lockInset): don't relock if we're already locked!
945 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
947 (removeRow): added Assert::(firstrow)
949 * debug.C: forgot to add INSETTEXT here.
951 2001-11-28 Juergen Vigna <jug@sad.it>
953 * sp_spell.C (initialize): changed error text to more general
954 spellchecker command use (not only ispell!)
956 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
958 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
960 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
962 * vspace.C: initialise lyxgluelength on failure
964 2001-11-28 Allan Rae <rae@lyx.org>
966 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
967 declaration & definition that looks like a function declaration.
969 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
971 * BufferView2.C (copy):
972 (copyEnvironment): do not clear the selection when doing a copy.
974 * text.C (paintFirstRow): compilation fix
976 2001-11-27 Ben Stanley <bds02@uow.edu.au>
978 * tabular.C (Latex): correct line count when writing latex.
980 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
983 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
986 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
990 * LColor.C: change vfillline->added_space
992 * text.C: add markers and text for added space
994 * vspace.C: fix comment
996 2001-11-28 André Pönitz <poenitz@gmx.net>
998 * paragraph.C: whitespace changes
999 * all the other files from the change on 2001/11/26:
1000 change *::pos_type into lyx::pos_type
1002 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1004 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1005 language of the document when inserting error insets.
1007 2001-11-26 André Pönitz <poenitz@gmx.net>
1009 * BufferView_pimpl.[Ch]:
1017 * paragraph_pimpl.[Ch]:
1020 * text2.C: reduce header dependencies, introduce type for positions
1022 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1024 * <various>: change to use Alert.h
1026 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1028 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1029 when encountering an unknown token.
1030 (readLyXformat2): Show an error message if there were unknown tokens.
1032 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1035 * BufferView_pimpl.C:
1039 * text2.C: use par->isInset()
1041 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1043 * paragraph_pimpl.h:
1044 * paragraph_pimpl.C: cleanup
1046 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1048 * text2.C (removeRow):
1049 * text.C (setHeightOfRow): remove useless (and costly) call to
1052 2001-11-20 Allan Rae <rae@lyx.org>
1054 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1055 Now need Inset*::checkInsertChar() to return true for appropriate
1056 cases so that the characters in the minibuffer will actually be
1059 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1061 * text.C: change the order of the includes.
1062 (workWidth): initialize it at once.
1063 (workWidth): make maxw unsigned
1064 (setHeightOfRow): remove unused variable (inset)
1065 (selectSelectedWord): remove unused variable (inset)
1066 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1068 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1070 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1071 server is not running.
1073 (closeConnection): add debug info when server is disabled.
1075 * ColorHandler.C (getGCForeground): send debug message to GUI
1078 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1080 * kbmap.C (bind): modify because return conventions of
1081 kb_sequence::parse have changed.
1083 * kbsequence.C (parse): only ignore spaces and not any stupid
1084 control character. This avoids tests like s[i] <= ' ', which are
1085 guaranteed to fail with 8bit characters and signed chars.
1086 Change return code to string::npos when there have been no error
1087 (0 was a bad idea when error is at first character)
1089 2001-11-14 José Matos <jamatos@fep.up.pt>
1092 * buffer.C (simpleDocBookOnePar): removed unused argument.
1094 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1096 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1097 insets which are part of a word. Paragraph::isLetter takes care of
1098 that now. Use Paragraph::isInset to identify insets.
1099 (selectSelectedWord): do not test for hyphenation break.
1101 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1102 that protected spaces are considered as spaces.
1104 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1107 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1110 * lyxserver.C: fix it. and small cleanup.
1112 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1114 * BufferView_pimpl.C: use inline helpers
1117 * LaTeXFeatures.C: fix typos
1120 * Spacing.C: move spacing_string into class
1122 * ToolbarDefaults.C: move stuff into namespace anon
1124 * layout.h: update enum
1126 * lyxfunc.C: use better debug
1128 * minibuffer.h: fix typo
1132 * WorkArea.C: add and use Debug::WORKAREA
1136 * text2.C: code re-organisation, inline helpers
1138 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1140 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1141 std::vector.empty().
1143 2001-11-09 Allan Rae <rae@lyx.org>
1145 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1146 '\n's after tables. Tabular and ERT inset work now makes this no
1149 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1152 * minibuffer.C: fix crash, improve drop-down completion
1154 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1157 * lyxserver.C: invalidate fd's when doing endPipe()
1159 2001-11-08 José Matos <jamatos@fep.up.pt>
1161 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1162 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1165 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1167 2001-11-07 José Matos <jamatos@fep.up.pt>
1170 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1173 * buffer.C (sgmlOpenTag):
1174 * buffer.C (sgmlCloseTag): removed debug info.
1176 * buffer.h (sgmlOpenTag):
1177 * buffer.h (sgmlCloseTag): made public.
1179 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1181 * buffer.C (saveParamsAsDefaults):
1182 * lyx_cb.C (MenuLayoutSave): remove
1184 * LyXAction.C (init):
1186 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1188 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1190 * buffer.C (setPaperStuff): removed from here...
1192 * bufferparams.C (setPaperStuff): ... and moved there.
1194 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1198 * XFormsView.C: add support for drop-down completion
1200 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1202 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1205 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1207 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1210 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1212 * lyx_main.C: change ref to known bugs
1214 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1216 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1217 to work around older babel problems.
1219 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1221 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1223 2001-10-24 Juergen Vigna <jug@sad.it>
1225 * tabular-old.C (ReadOld): below variable changes reflected.
1227 * tabular.[Ch]: added ltType struct for longtable header/footer
1228 defines and changed all instances where they are used. Added
1229 future support for double top/bottom rows.
1231 2001-10-24 José Matos <jamatos@fep.up.pt>
1233 * buffer.h (docbookHandleCaption):
1234 * buffer.C (docbookHandleCaption): removed unused function.
1235 (makeDocBookFile): moved docbook supported version to v4.1.
1237 2001-10-24 José Matos <jamatos@fep.up.pt>
1240 * tabular.C (docbookRow): new function to export docbook code of a row.
1241 (DocBook): now honors the longtable flags.
1243 2001-10-23 José Matos <jamatos@fep.up.pt>
1246 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1247 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1249 * buffer.C (makeLinuxDocFile):
1250 (makeDocBookFile): reworked the preamble, more clean, and with
1251 support for lyx defined entities. Changed the document declaration
1252 to be more XML friendly.
1254 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1255 if we need to output XML that should be done with a filter.
1257 2001-10-22 Juergen Vigna <jug@sad.it>
1259 * sp_pspell.h (class PSpell): add alive function needed in the
1260 controller to see if the spellchecker could be started.
1262 2001-10-22 Juergen Vigna <jug@sad.it>
1264 * buffer.C (insertStringAsLines): modify the font for inserting
1265 chars in certain conditions by calling checkInsertChar(font).
1267 2001-10-19 Juergen Vigna <jug@sad.it>
1269 * text.C (workWidth): use getRow instead of wrong algorithm.
1270 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1272 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1277 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1279 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1281 * text.C (workWidth): do not search for the exact row when
1282 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1283 optimization for big documents.
1285 2001-10-18 Juergen Vigna <jug@sad.it>
1287 * text.C (workWidth): new function with added Inset * parameter.
1289 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1291 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1293 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1294 change return type of getColumnNearX.
1297 * text.C (changeRegionCase): use uppercase/lowercase instead of
1300 (rightMargin): simplify code by factoring out the uses of
1305 (appendParagraph): use Paragraph::size_type
1307 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1309 * vspace.C (asLatexString): add a missing break
1311 2001-10-15 Herbert Voss <voss@perce.de>
1313 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1315 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1317 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1320 2001-10-10 André Pönitz <poenitz@gmx.net>
1322 * lyxfunc.C: removed greek_kb_flag.
1324 2001-10-10 Herbert Voss <voss@perce.de>
1326 * lyx_main.C: delete global string help_lyxdir.
1328 2001-10-09 Herbert Voss <voss@perce.de>
1330 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1332 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1334 * lyx_main.C: added global string help_lyxdir.
1336 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1338 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1340 * lyxrc.C (set_font_norm_type): support iso8859-4
1342 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1344 * LaTeX.C (deplog): add another regex for MikTeX
1346 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1348 * lyxrc.C (set_font_norm_type): support iso8859-3
1350 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1352 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1354 * LaTeXFeatures.C: remove special case of french and index
1356 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1357 before \begin{document}). This solves several incompatibilities.
1359 2001-10-03 Garst Reese <reese@isn.net>
1361 * lyx_cb.C: change CheckTex error msg.
1363 2001-10-03 José Matos <jamatos@fep.up.pt>
1365 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1367 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1369 * .cvsignore: update
1371 * lyx_main.C (commandLineVersionInfo): use new style version info.
1373 * buffer.C (writeFile):
1376 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1378 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1380 * version.h: update to use stuff in version.C
1382 * version.C.in: new file. Contains version information determined
1383 at compile time. This is a merging of version.h and
1386 2001-10-03 Juergen Vigna <jug@sad.it>
1388 * BufferView_pimpl.C (update): don't change "dirty" status in
1391 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
1393 * WorkArea.C (c-tor): re-position version string slightly.
1395 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
1397 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1398 revert to previous code.
1400 WorkArea.[Ch]: (show, destroySplash): methods removed.
1402 WorkArea.C: rework code so that it's an amalgam of the codes before and
1403 after the splash screen was moved to WorkArea.
1405 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1408 * vspace.C (inPixels):
1411 * buffer.C (insertStringAsLines):
1412 (asciiParagraph): fix types to be large enough
1414 * lyxlex_pimpl.h: change member status from short to int
1416 * layout.h: fix type of endlabeltype
1419 * kbsequence.C (parse): change return type to string::size_type
1421 * LaTeX.C (updateBibtexDependencies): comment out unneeded
1424 * Bullet.C (bulletSize):
1425 (bulletEntry): do not use short ints as parameters
1427 * BufferView2.C (insertLyXFile): change a char to an int.
1429 * WorkArea.C (WorkArea): remove unneeded floats in computation
1431 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
1433 * buffer.C (asciiParagraph): Treat '\\' as other chars.
1435 * paragraph.C (asString): Do not ignore newline/hfill chars when
1436 copying to the clipboard.
1438 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
1440 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1441 after a multi-line inset.
1443 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1445 * paragraph.C (validate): Set NeedLyXFootnoteCode
1447 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1449 * lyxfont.C (LyXSizeNames): changed increase-error to increase
1450 and decrease-error to decrease.
1452 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1454 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
1455 it more readable (should be equivalent)
1457 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
1459 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
1461 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1463 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
1464 of a cursor (row, etc.) after a character has been deleted
1465 (deleteEmptyParagraphMechanism): call the method above on _all_
1466 cursors held by the LyXText when a double space has been
1469 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1471 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
1473 (resizeCurrentBuff): remove code to destroy the old splash dialog.
1475 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
1476 background. Use greyOut() and the new show() methods to toggle between
1477 the foreground and background. Add code to remove the splash after
1478 its initial showing.
1480 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
1481 (create_forms): no longer call Dialogs::showSplash.
1483 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1485 * .cvsignore: add version_info.h
1487 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1489 * version_info.h.in: new file
1491 * Makefile.am: add version_info.h.in
1493 * lyx_main.C (commandLineVersionInfo): use version_info defined in
1494 version_info.h instead of VERSION_INFO
1496 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1498 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1499 The ERT inset now returns string().
1501 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1503 * lyxtext.h, text.C (selectNextWord): renamed as
1504 selectNextWordToSpellcheck.
1506 * text.C (selectNextWordToSpellcheck): Modified to not select
1507 words inside an ERT inset.
1509 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1511 * lyx_cb.C (MenuLayoutSave): change a bit the question
1513 * sp_base.h: include <sys/types.h>
1515 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1517 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1519 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
1521 * several files: fix typos in user-visible strings
1523 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1525 * text2.C (pasteSelection): do not set the selection, since it
1526 will be cleared later. Actually, the intent was to fix the way the
1527 selection was set, but I figured rmoving the code was just as good.
1529 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
1531 * FontLoader.C (available): Check if font is available without
1534 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1536 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1538 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1540 * lyxrc.[Ch]: added display_graphics variable and associated code.
1542 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1544 * bufferparams.C (hasClassDefaults): new method. Returns true if
1545 the buffer parameters correspond to known class defaults
1547 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
1549 * XFormsView.C (show): set minimum size to the main window.
1551 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1553 * text2.C (copySelection):
1555 * lyxfind.C (LyXReplace):
1556 * BufferView_pimpl.C (Dispatch): pass the correct flag to
1557 LyXText::selectionAsString.
1559 * paragraph.C (asString): add "label" argument to the second form
1561 * text2.C (selectionAsString): add "label" argument and pass it to
1562 Paragraph::asString.
1564 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1566 * lyx_main.C (commandLineHelp): remove version information
1568 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
1570 * lyx_main.C: add -version commandline option
1572 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1574 * paragraph.h: make the optional constructor arg required instead.
1575 some modifications to other files because of this.
1577 * minibuffer.C (C_MiniBuffer_peek_event): make it static
1579 * lyxserver.C (C_LyXComm_callback): make it static
1581 * lyx_main.C (error_handler): make it static
1583 * lyx_gui.C (LyX_XErrHandler): make it static
1585 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1587 * WorkArea.C: make the extern "C" methods static.
1589 * Makefile.am (lyx_LDADD): simplify
1591 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1593 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1594 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1596 * LyXAction.C (init):
1597 * lyxfunc.C (dispatch): associated code removal.
1599 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1601 * lyxfont.h (isSymbolFont): shut off warning
1603 * text.C (setHeightOfRow):
1604 (getVisibleRow): fix crash with empty paragraphs which have a
1607 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1609 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1612 2001-09-04 José Matos <jamatos@fep.up.pt>
1615 * tabular.C (docbook): rename docBook method to docbook.
1617 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1619 * Makefile.am: add dependencies to main.o.
1621 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
1623 * FontLoader.C (available): Return false if !lyxrc.use_gui
1625 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
1627 * FontInfo.C (query):
1628 * converter.C (view):
1629 * importer.C (Import):
1630 * exporter.C (Export): Can not -> cannot.
1632 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1634 * BufferView_pimpl.C: allow to create index inset even if
1637 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1639 * buffer.C (getLists): replace boost::tie code with an explicit pair
1640 as boost::tie can break some compilers.
1642 * iterators.h: Added a std:: declaration to the return type of
1645 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1647 * lyxrc.C: add help for view_dvi_paper_option, default to safe
1650 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1652 * iterators.[Ch]: New files. Provide paragraph iterators.
1654 * buffer.C (changeLanguage): Use paragraph iterators.
1655 (isMultiLingual): ditto
1657 * BufferView2.C (ChangeInsets): Use paragraph iterators.
1659 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
1661 * FontLoader.C: Support for cmr font.
1663 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
1665 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1666 (available): New method.
1668 * FontInfo.C (getFontname): Use scalable fonts even when
1669 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1672 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1674 * converter.C (Formats::view): reverted! Incorrect fix.
1676 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1678 * converter.C (Formats::view): only output the -paper option
1679 if the dvi viewer is xdvi, thereby fixing bug #233429.
1681 2001-08-23 Herbert Voss <voss@perce>
1683 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1685 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1687 * Spacing.h (Spacing): Set space to Default on in the default
1690 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
1692 * vc-backend.h (RCS::versionString): add RCS to version
1693 (CVS::versionString): add CVS to version
1695 * vc-backend.C (scanMaster): do not add CVS to version.
1696 (scanMaster): do not add RCS to version
1698 * lyxvc.C (versionString): new method
1700 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1702 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1704 * Spacing.C (set): initialize fval
1706 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
1708 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1711 2001-08-16 Juergen Vigna <jug@sad.it>
1713 * lyxfunc.C (dispatch): implemented the new FINISHED states.
1715 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1717 * BufferView_pimpl.C:
1720 * text2.C: setParagraph takes linespacing now
1722 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1724 * LyxAction.C: add internal LFUN_CITATION_INSERT
1726 * LyXView.C: actually apply fix
1728 * bufferlist.C: fix open non-existent file
1730 * lyxfind.C: fix indentation
1732 * lyxfunc.C: remove unneeded assert, fix typo
1734 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1736 * MenuBackend.C: use "Floatname List"
1738 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1740 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1741 when converting LaTeX layout to insetERT.
1742 Generate a non-collapsed float when reading old float
1744 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1746 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1749 2001-08-13 Juergen Vigna <jug@sad.it>
1751 * text.C (fill): return 0 instead of 20 as this seems to be the more
1754 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1756 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1759 2001-08-13 Juergen Vigna <jug@sad.it>
1761 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1763 (SearchBackward): comment out the unlocking of the inset_owner this
1764 should not be needed!
1766 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1768 * Many files: Remove inherit_language, and add latex_language
1770 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1773 2001-08-10 Juergen Vigna <jug@sad.it>
1775 * text.C (prepareToPrint): fixed hfill-width in draw!
1777 * BufferView2.C (selectLastWord): save the selection cursor as this
1778 now is cleared in the function LyXText::clearSelection!
1780 2001-08-08 Juergen Vigna <jug@sad.it>
1782 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1783 BACKSPACE type functions.
1785 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1786 is only cutted from the document but not put in the cut-buffer, where
1787 still the old stuff should be.
1789 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1791 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1793 * tabular.C (SetWidthOfCell): fixed special case where the width
1795 (LeftLine): handle '|' in align_special.
1797 (LeftAlreadyDrawed): ditto
1798 (SetWidthOfCell): ditto
1800 2001-08-07 Juergen Vigna <jug@sad.it>
1802 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1804 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1806 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1807 * lyxlex.[hC]: ditto
1809 2001-08-06 Juergen Vigna <jug@sad.it>
1811 * text.C (getVisibleRow): fix up row clearing a bit.
1813 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1815 * minibuffer.C: make sure the X server sees the changes in the input.
1817 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1819 * paragraph.C (getFont): split into...
1820 (getLabelFont): this
1821 (getLayoutFont): and this
1822 * paragraph_pimpl.C (realizeFont): calling this
1824 * text2.C (getFont): split into...
1825 (getLayoutFont): this
1826 (getLabelFont): and this
1827 (realizeFont): all three calling this
1829 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1832 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1834 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1836 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
1838 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1839 layouts from the Quote inset insertion.
1841 2001-08-03 Juergen Vigna <jug@sad.it>
1843 * BufferView_pimpl.C (update): do the fitCursor only at the end!
1845 * screen.C (drawFromTo): don't call fitcursor here and do the loop
1846 only if status not is already CHANGED_IN_DRAW (second level).
1848 * text.C (draw): don't set the need_break_row when inside an
1851 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1853 * buffer.C (parseSingleLyXformat2Token): handle more latex
1856 * bufferview_funcs.[hC]: change function names to
1857 begin with small char, adjust other files.
1859 2001-08-02 André Pönitz <poenitz@gmx.net>
1862 BufferView_pimpl.C: remove broken special code for math-greek
1864 2001-08-02 Juergen Vigna <jug@sad.it>
1866 * BufferView_pimpl.C (update): redone this function so that we
1867 update the text again if there was a CHANGE_IN_DRAW.
1869 * screen.C (cursorToggle): removed LyXText parameter and recoded.
1870 (drawFromTo): added a new internal bool which is used by draw() and
1872 (general): some cursor drawing problems fixed.
1874 2001-08-01 Juergen Vigna <jug@sad.it>
1876 * lyxfind.C (LyXFind): fixed
1877 (SearchForward): ditto
1878 (SearchBackward): ditto
1880 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1881 spurius drawing of the cursor in the main area.
1883 * text2.C (status): small fix which could lead to a segfault!
1884 (clearSelection): remove unneeded BufferView param.
1886 2001-08-01 André Pönitz <poenitz@gmx.net>
1888 * lyxfunc.C: small change due to changed mathed interface
1890 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1892 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1894 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1896 * lyxfunc.c: fail gracefully if file doesn't exist
1901 * BufferView_pimpl.C: IsDirWriteable() proto changed
1903 * LyXView.C: fix updateWindowTitle() to store the last title
1905 2001-07-31 Juergen Vigna <jug@sad.it>
1907 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1908 the font (wrong since using of Paragraph::highestFontInRange).
1910 * paragraph.C (highestFontInRange): added a default_size parameter.
1912 * text.C (getVisibleRow): minor clear row changes (still not perfect).
1913 (setHeightOfRow): reformat
1915 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1917 * converter.[hC] + affected files: move to (inital-char)lowercase
1920 * ParagraphParameters.C (ParagraphParameters): remove commented code
1922 * PainterBase.[Ch]: remove commented code
1924 * LaTeXFeatures.h: add "bool floats" for float.sty
1926 * LaTeXFeatures.C (LaTeXFeatures): init floats
1927 (require): handle float
1928 (getPackages): do it with floats
1930 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1932 * BufferView_pimpl.C (Dispatch): improve handling of
1933 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1935 * commandtags.h: #include lyxfont.h here temporarily to avoid
1938 * bufferlist.h: include LString.h here.
1940 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1942 * text2.C (getStringToIndex): new method.
1944 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
1946 * *: Reduced header file dependencies all over.
1948 2001-07-30 Baruch Even <baruch@lyx.org>
1950 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1952 2001-07-29 Baruch Even <baruch@lyx.org>
1954 * buffer.C (readInset): Changed GRAPHICS to Graphics.
1956 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1958 * ParameterStruct.h (endif): add a default constructor to make
1959 sure that all variables is initialized.
1961 * ParagraphParameters.C (ParagraphParameters): adjust
1963 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1965 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1966 index; also, check that there is something to index, and that it
1967 does not span over several paragraphs.
1968 (doubleClick): use WHOLE_WORD_STRICT for double click.
1970 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1972 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1975 2001-07-26 Baruch Even <baruch@lyx.org>
1977 * buffer.C (readInset): Changed to call up InsetGraphics when reading
1978 an InsetFig figure, backwards compatible reading of old figure code.
1980 2001-07-27 Juergen Vigna <jug@sad.it>
1982 * text2.C: font.realize function adaption.
1984 * text.C (draw): add a warnings lyxerr text if needed.
1986 * layout.C: font.realize function adaption.
1988 * language.C: add inherit_language and implement it's handlings
1990 * bufferview_funcs.C (StyleReset): remove language parameter from
1991 font creation (should be language_inherit now).
1993 * bufferparams.C (writeFile): handle ignore_language.
1995 * paragraph.C (getFontSettings): the language has to be resolved
1996 otherwise we have problems in LyXFont!
1998 * lyxfont.C (lyxWriteChanges): added document_language parameter
1999 (update): removed unneeded language parameter
2001 * paragraph.C (validate): fixed wrong output of color-package when
2002 using interface colors for certain fonts in certain environments,
2003 which should not seen as that on the final output.
2005 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2007 * BufferView_pimpl.C:
2012 * LyXAction.C: add thesaurus support
2015 * lyxfind.C: add "once" parameter, for thesaurus, to not
2016 move to the next match
2018 2001-07-26 Juergen Vigna <jug@sad.it>
2020 * lyxfont.C (realize): honor ignore_language too!
2023 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2025 * text.C (draw): one place more for ignore_language to not draw
2028 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2030 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2032 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2034 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2035 the minipage conversion problem.
2037 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2039 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2042 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2044 * BufferView.h: don't forward declare WorkArea
2046 * BufferView.C: don't include WorkArea.h
2048 2001-07-25 André Pönitz <poenitz@gmx.net>
2052 * lyxfunc.C: new LFUN 'math-space'
2054 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2056 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2058 * text2.C (toggleInset): call open/close
2060 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2062 * lyxfunc.C (dispatch): add debug for the disabled case
2064 * font.C (buttonText): make similar to rectText
2066 * buffer.C (readInset): comment out parsing of insetlist and
2069 * PainterBase.C (rectText): small correction
2071 * BufferView_pimpl.C: comment out insettheorem and insetlist
2072 * LyXAction.C: ditto
2073 * commandtags.h: ditto
2075 2001-07-24 Juergen Vigna <jug@sad.it>
2077 * text.C (draw): honor the ignore_language.
2079 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2081 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2083 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2086 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2088 * lyxtext.h: remove unused (and unimplemented) methods
2090 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 * text.C (getVisibleRow): honor background color
2095 * Painter.h: remove default color argument for fillRectangle
2097 * text.C (backgroundColor): new method
2099 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2101 * text.C (getVisibleRow): adjust
2103 * font.[Ch] (rectText): new method, metrics
2104 (buttonText): new method, metrics
2106 * PainterBase.[hC]: make rectText and buttonText always draw and take
2109 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * ToolbarDefaults.C (read):
2112 * MenuBackend.C (read): allow escaping in all strings
2114 * BufferView_pimpl.C (insertAndEditInset): new method.
2115 (Dispatch): use insertAndEditInset whenever appropriate.
2117 * BufferView_pimpl.C (insertNote): removed
2119 * BufferView_pimpl.C (smartQuote): new method, moved from
2120 BufferView; if an insetquote cannot be inserted, insert a '"'
2123 * BufferView2.C: remove insertCorrectQuote();
2125 * lyxfunc.C (getStatus): Add support for all remaingin
2128 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2130 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2131 command (necessary to pass " as parameter of self-insert.
2133 * text.C (selectWordWhenUnderCursor):
2134 (selectWord): add word_location parameter
2135 (selectWordWhenUnderCursor): same + remove special code for word
2137 (selectNextWord): use kind() to guess type of insetspecialchar,
2140 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2141 (insertErtContents): create ert insets as collapsed.
2142 (readInset): better compatibility code for Info inset.
2144 2001-07-20 Juergen Vigna <jug@sad.it>
2146 * lyxfunc.C (dispatch): use always LyXFind now!
2148 * text2.C (init): add a reinit flag so that the LyXText can be
2149 reinited instead of deleted and reallocated (used in InsetText).
2151 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2157 2001-07-18 Juergen Vigna <jug@sad.it>
2159 * text.C (selectNextWord): handle insets inside inset by calling
2160 always the bv->text functions so that we can go up the_locking_inset!
2162 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2163 in strange locations when inside an inset!
2165 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2166 handling to include insets.
2168 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2170 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2172 * LyXAction.C (init):
2174 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2175 LIGATURE_BREAK, since the name is so stupid.
2177 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2179 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2182 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2184 * sp_form.[Ch]: remove.
2186 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2188 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2191 * src/buffer.C (readInset): ditto.
2193 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2196 menuSeparator(), endOfSentenceDot(), ldots() and
2197 hyphenationPoint(), which are therefore removed.
2198 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2200 * LyXAction.C (init):
2201 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2203 * paragraph.C (getWord): removed.
2205 * BufferView_pimpl.C (Dispatch): use last word or selection for
2206 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2208 * lyx_main.C (queryUserLyXDir): do not ask before creating
2209 user_dir, except if it has been named explicitely.
2211 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2213 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2214 a document of zero size.
2216 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2218 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2219 approriately in the c-tor and in require().
2220 (getPackages): output the appropriate LaTeX for natbib support.
2222 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2223 variables "use_natbib" and "use_numerical_citations" when reading the
2225 (readInset): read the various natbib cite commands.
2226 (validate): white-space change.
2228 * bufferparams.[Ch]: new variables "bool use_natbib" and
2229 "bool use_numerical_citations".
2230 (writeFile): output them in the LyX file.
2232 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * lyxfunc.C (getStatus): add support for all the inset insertion
2237 * text2.C (insertInset):
2238 * paragraph.C (insetAllowed):
2239 * BufferView_pimpl.C (insertInset): update to take in account the
2240 renaming of insertInsetAllowed
2242 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2244 * text2.C (getInset): new method. returns inset at cursor position.
2246 * BufferView_pimpl.C (Dispatch): changes because of this.
2248 * LyXAction.C (init): rename open-stuff to inset-toggle.
2250 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2252 * text2.C (toggleInset): renamed from openStuff; use
2255 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2257 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2259 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2261 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2263 * buffer.C (readLyXformat2): Add filename to the error dialog
2265 2001-07-18 Juergen Vigna <jug@sad.it>
2267 * tabular.C (GetCellNumber): put an assert here instead of the check!
2269 2001-07-17 Juergen Vigna <jug@sad.it>
2271 * BufferView_pimpl.C (toggleSelection): adapted too.
2273 * text.C (selectNextWord): adapted for use with insets.
2274 (selectSelectedWord): ditto
2276 2001-07-17 Juergen Vigna <jug@sad.it>
2278 * sp_spell.C (PSpell): fix initialitation order.
2280 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2282 * paragraph.C: spacing
2284 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2286 * sp_spell.C: repair language selection for pspell
2288 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2290 * lyxfunc.h: change more methods to begin with lower char.
2292 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2294 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2295 for unknown layouts.
2297 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2299 * buffer.C (readLyXformat2): Generate an error dialog if there are
2302 2001-07-16 Juergen Vigna <jug@sad.it>
2304 * sp_spell.C: always compile ISpell part.
2306 * lyxrc.C: added use_pspell entry and it's handling.
2308 2001-07-13 Juergen Vigna <jug@sad.it>
2310 * sp_spell.C: removed double includes.
2312 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2314 Consistent use of Lsstream.h:
2315 * Lsstream.h: added using std::stringstream for consistencies sake.
2317 * buffer.C: removed using std::stringstream
2319 * lyxfont.C (stateText):
2320 * paragraph.C (asString):
2321 * text.C (selectNextWord, selectSelectedWord):
2322 * text2.C (setCounter):
2323 * vspace.C (asString, asLatexString):
2324 std::ostringstream -> ostringstream.
2326 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2328 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2329 * commandtags.h: add LFUN_HELP_ABOUTLYX
2330 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2332 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2334 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2336 * lyx_gui_misc.C: remove spellchecker
2337 * lyxfunc.C: showSpellchecker
2339 * sp_ispell.h: added
2340 * sp_pspell.h: added
2342 * sp_form.[Ch]: removed
2343 * spellchecker.[Ch]: removed
2345 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2347 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2349 (simpleTeXSpecialChars): Simply print the input character without
2350 any special translation if pass_thru is set.
2352 * layout.h: Added bool pass_thru to layout class for being able to
2353 implement pass through of a paragraph for Literate Programming.
2355 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2356 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2357 * layout.C (Read): add "passthru" to list of layout tags and add
2358 code to set the pass_thru boolean when it is read.
2360 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2362 * trans_decl.h: remove allowed from KmodInfo
2364 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2368 * paragraph_pimpl.C (erase): use boost::prior
2370 * Painter.C (text): use data() instead of c_str() when length is
2372 * WorkArea.C (putClipboard): ditto
2373 * font.h (width): ditto
2375 * BufferView2.C: use it-> instead of (*it). for iterators
2377 * paragraph_pimpl.C: ditto
2378 * paragraph.C: ditto
2379 * minibuffer.C: ditto
2384 * converter.C: ditto
2386 * Variables.C: ditto
2387 * TextCache.C: ditto
2388 * MenuBackend.C: ditto
2389 * LyXAction.C: ditto
2391 * FloatList.C: ditto
2393 * ColorHandler.C (LyXColorHandler): ditto
2395 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2397 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2399 * text2.C (openStuff): reintroduce this method (which had been
2400 nuked in NEW_INSETS frenzy).
2402 * lyxfunc.C (Dispatch): when an action has not been handled, use
2403 its name in the error message, not its number.
2405 * paragraph.C (inInset): change method name to begin with lowercase.
2408 * text2.C: updates because of this.
2410 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2412 * ToolbarDefaults.C (add): add spaces in error message
2414 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2416 * buffer.C (readLyXformat2): initialize the ert comp. variables.
2417 (readLyXformat2): rename return_par to first_par, use lyxlex's
2418 pushToken and remove the manual push handling.
2419 (parseSingleLyXformat2Token): add another ert comp. variable:
2420 in_tabular, rename return_par to first_par. handle newlines better
2422 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2424 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2426 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2428 * text2.C (getParFromID): removed
2430 * buffer.C (getParFromID): new method moved form lyxtext.
2431 * BufferView2.C (insertErrors): adjust
2432 (setCursorFromRow): adjust
2433 * BufferView_pimpl.C (restorePosition): adjust
2434 * lyxfunc.C (Dispatch): adjust
2435 * undo_funcs.C (textUndo): adjust
2437 (textHandleUndo): adjust
2438 (textHandleUndo): adjust
2440 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2442 * buffer.C: up' the LYX_FORMAT
2444 * lyxfont.h: turn NO_LATEX on as default
2446 * buffer.C (insertErtContents): new methods of tex style compability.
2447 (parseSingleLyXformat2Token): use it several places.
2448 * tabular.C (OldFormatRead): and here
2450 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2452 * text2.C: remove some commented code.
2455 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
2456 * trans.C: changes because of the above.
2458 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
2460 * text2.C (setCounter): Fix counters bug with bibliography layout.
2462 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2464 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
2465 own member functions
2466 (simpleTeXSpecialChars): ditto
2468 2001-07-06 Juergen Vigna <jug@sad.it>
2470 * a lot of files: changed the access to LyXText::status and the
2471 call of undo-functions.
2473 * undo.[Ch]: added a inset_id to the undo informations.
2475 * undo_funcs.[Ch]: added and moved here all undo functions.
2477 * lyxtext.h: give the status enum a weight, made status_ a private
2478 variable and made accessor functions for it, removed the whole bunch
2479 of undo-functions as they are now in their own file, make some
2480 functions publically available. Added function ownerParagraph with
2483 * paragraph.[Ch]: added "bool same_ids" to the constructor,
2484 made InInset() a const function, added getParFromID() function.
2486 * buffer.[Ch]: added const version for inset_iterator functions,
2487 added getInsetFromID() function.
2489 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2490 changed undo functions for new version.
2492 2001-07-05 Juergen Vigna <jug@sad.it>
2494 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2495 unknow mechanism does not call the proper constructor but only this
2496 one also if I request the other!?
2498 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2500 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2502 * text2.C (LyXText): use initialization lists.
2504 * lyxtext.h (Selection): initialize set_ and mark_
2505 (init): remove method
2507 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
2509 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2511 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2513 * screen.[Ch]: change method names to begin with lowercase
2515 * BufferView_pimpl.C (updateScrollbar): simplify further and
2516 hopefully make it a bit faster.
2518 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2520 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2521 calling directly xforms functions.
2523 * Painter.C (Painter):
2524 * lyx_cb.C (MenuWrite):
2525 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2528 * lyx_gui.C: remove bogus guiruntime extern declaration.
2530 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2532 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2534 (redoDrawingOfParagraph): ditto
2535 (redoParagraphs): ditto
2536 (cutSelection): don't create a object for CutAndPaste use the
2537 static method directly
2538 (pasteSelection): ditto
2540 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2543 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2545 * modifications to some other files because of this.
2547 * Makefile.am (lyx_SOURCES): add XFormsView
2549 * XFormsView.[Ch]: new files
2551 * LyXView.[Ch]: make LyXView a base class for the gui handling for
2552 the main window. Move the gui dependent stuff to XFormsView
2554 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2556 * tabular.C (GetCellInset): update cur_cell also in the row/col
2557 version of this function.
2559 * lyxfunc.C: no need to include figure_form.h here.
2565 * lyxvc.C: no need to include forms.h here.
2567 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2569 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2571 * lyxfunc.C (Dispatch):
2573 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2574 constructor argument.
2576 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2578 * paragraph.C (Paragraph): dont't clear, and just set layout.
2579 (makeSameLayout): use params's copy contructor.
2581 * ParagraphParameters.[Ch] (makeSame): delete method
2583 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2585 * Variables.[Ch]: fix indentation, rename set to isSet
2587 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2589 * lyxfunc.C (Dispatch): fix typo
2591 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2593 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2596 * bufferlist.C: include assert.h for emergencyWrite().
2598 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2600 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2601 give up at last (bug #425202) !
2603 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
2609 * spellchecker.C: strip spellchecker options and bring up
2610 preferences tab instead
2612 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2614 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2615 the istringstream constructor
2617 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2619 * paragraph.C (getLayout): fix return value
2621 * paragraph.h: do not declare getLayout as inline.
2623 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2625 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2627 * lyxcursor.h (operator<): new func
2628 (operator>): new func
2629 (operator>=): new func
2630 (operator<=): new func
2632 * text.C (changeCase): use selection.start and selection.end
2633 (changeRegionCase): require from to be <= to. Require par to be a
2636 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2638 2001-06-27 Juergen Vigna <jug@sad.it>
2640 * text.C (cursorLeftOneWord): changed to return the cursor and added
2641 overlay with BufferView * parameter which calls this one.
2643 (selectWord): use new getWord function.
2644 (changeCase): renamed from changeWordCase as and extended to work
2647 * lyxtext.h: added enum word_location
2649 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2650 changeCase as this operates now also on selections.
2652 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2654 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2656 * many files: send debug output to Debug::INFO instead of
2659 * converter.C (View):
2661 (Move): send debug output to Debug::FILES instead of console.
2663 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2665 * lyxfunc.C (getStatus): use func_status
2667 * func_status.h: new header, describing the results of
2670 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2673 2001-06-25 The LyX Project <jug@sad.it>
2675 * buffer.C (sgmlOpenTag):
2677 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
2679 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2681 * text2.C: remove some dead code
2683 * tabular.C (GetCellInset): store the last cell checked (gotten)
2685 * tabular.h: add the helper for the speedup
2687 * lyxtext.h: remove some dead code
2689 2001-06-26 The LyX Project <Asger>
2691 * paragraph.C: Change export to LaTeX of alignment to
2692 \begin{center} and family for better roundtrip work with reLyX.
2694 * Tune the math drawing a bit.
2696 2001-06-25 The LyX Project <Asger>
2698 * LColor.C (LColor): New color for math background. New color
2701 2001-06-25 The LyX Project <jug@sad.it>
2703 * lyxfunc.C (MenuNew): remove extra check for .lyx file
2706 * bufferlist.C (newFile): do not restrict to files ending with
2709 * BufferView_pimpl.C (MenuInsertLyXFile):
2711 2001-06-24 The LyX Project <jug@sad.it>
2713 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2716 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2718 * lyxtext.h: rename most methods to begin with a small char.
2719 Lots of changes because of this.
2721 * paragraph.C (Paragraph): do not call fitToSize
2722 (erase): call Pimpl::erase
2723 (insertChar): call Pimpl::insertChar
2724 (insertInset): call Pipl::insertInset
2725 (breakParagraph): do not call fitToSize
2726 (breakParagraphConservative): do not call fitToSize
2727 (fitToSize): remove method
2729 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2731 2001-06-24 The LyX Project <Asger>
2733 * Fix Qt compilation^2
2735 2001-06-24 The LyX Project <jug@sad.it>
2737 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2738 depthHook(getDepth()-1).
2741 * ParagraphParameters.h:
2742 * ParameterStruct.h: change type of depth to unsigned int ==
2743 depth_type. Many adaptations to other files before of that.
2745 2001-06-24 The LyX Project <Asger>
2747 * Fix Qt compilation.
2749 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2751 * paragraph.h: renamed several methods to begin with small letter.
2752 several changes to many parts of the code because of this.
2754 2001-06-23 The LyX Project <jug@sad.it>
2756 * text2.C (InsertStringAsLines): renamed from InsertStringA;
2757 rewritten to discard all double spaces when KeepEmpty is off
2758 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2759 to only handle newlines but not fiddle with spaces and friends.
2761 * lyxfunc.C (MenuNew): when doing 'new from template', use
2762 template_path as default directory
2764 2001-06-23 The LyX Project <Asger>
2766 * Clean-up of header file includes all over
2767 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2769 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2771 * paragraph.h: renamed from lyxparagraph.h
2773 2001-06-23 Asger <lyx@violet.home.sad.it>
2775 * Buffer.h: Removed Buffer::resize
2776 * BufferList.h: Removed BufferList::resize
2777 * LyXView.h: Added LyXView::resize. This way, we will only reflow
2778 the document lazily when we change the width, or the font settings.
2780 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2782 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2784 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2786 * buffer.h: remove out of date comment
2788 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2791 * screen.C: fix "theoretical" GC leak
2793 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2795 * LaTeX.C (scanAuxFile):
2796 (deplog): remove trailing \r when reading stream (useful under
2799 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2801 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2802 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2803 and BufferView::theLockingInset(Inset*), so should use them and not
2804 access bv_->text->the_locking_inset directly.
2806 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2808 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2811 * tex-defs.h: remove old unused file
2813 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
2815 * BufferView_pimpl.C: fix typo, remove minibuffer message
2816 when buffer has loaded
2818 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2820 * lyxfunc.C (Dispatch): use stringstream
2821 (MenuNew): use stringstream
2822 (Open): use stringstream
2824 * importer.C (Import): use stringstream
2826 * bufferview_funcs.C (CurrentState): use stringstream
2828 * LaTeX.C (run): use stringstream
2830 * BufferView_pimpl.C (savePosition): use stringstream
2831 (restorePosition): use stringstream
2832 (MenuInsertLyXFile): use stringstream
2834 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
2847 * vspace.C: removed // -*- C++ -*- as first line.
2850 * version.h: added // -*- C++ -*- as first line.
2852 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2854 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2856 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2859 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2861 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2864 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2866 * gettext.C: include LString.h even when --disable-nls is on.
2868 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2870 * converter.h (Get): changed argument type from int to
2871 FormatList::size_type to avoid unnecessary conversion.
2873 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
2876 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2878 * gettext.h: include LString.h even when --disable-nls is on.
2880 2001-06-07 Juergen Vigna <jug@sad.it>
2882 * text.C (BreakAgain): subst spaces with tabs.
2884 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2885 (resizeInsetsLyXText): set force on resizeLyXText.
2887 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2889 * gettext.h (gettext_init):
2890 (locale_init): use a real definition instead of a macro
2892 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2894 * Bufferview_pimpl.C:
2896 * LColor.C: further lcolor tidies
2898 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2900 * BufferView_pimpl.C (updateScrollbar): simplify.
2902 * BufferView2.C: don't include insets/insetinfo.h, change
2903 prototype for insertInset and call the Pimpl version. let
2904 updateInset call Pimpl version.
2906 * BufferView.h: move inset_slept to BufferView::Pimpl, move
2907 gotoInset to BufferView::Pimpl
2909 2001-06-01 Juergen Vigna <jug@sad.it>
2911 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2912 inside a LockingInset (is the update needed at all?).
2914 2001-05-31 Juergen Vigna <jug@sad.it>
2916 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2917 here not the old one otherwise how should we compare it afterwards
2920 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2925 * FontInfo.C: bring C functions into global namespace when
2928 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2930 * LString.h: make sure config.h has been loaded before LString.h.
2932 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2933 (one for each char read by EatLine!).
2935 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2938 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2940 * paragraph.C (BreakParagraph): set the inset_owner in the new par
2941 to the same as the par we break from
2943 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2945 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2947 * MenuBackend.C (expand): also create menu entries for wide
2948 versions of the floats.
2950 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2952 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2954 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2955 frontends/Makefile.am
2961 * tabular.C (getTokenValue): add std::
2963 * tabular-old.C (getTokenValue): add std::
2964 (getTokenValue): ditto
2965 (getTokenValue): ditto
2967 * screen.C (ToggleSelection): adjust
2969 * lyxtext.h: put selection cursors inside a Selection struct.
2971 * lyxfunc.C (moveCursorUpdate): adjust
2973 * lyxfont.C (latexWriteStartChanges): add std::
2977 * font.h: delete with(char const *, LyXFont const &)
2979 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2981 * FontInfo.C (getFontname): add std::
2983 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2984 (workAreaButtonPress): adjust
2985 (tripleClick): adjust
2987 (moveCursorUpdate): adjust
2990 * BufferView2.C (gotoInset): adjust
2992 2001-05-30 Juergen Vigna <jug@sad.it>
2994 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2995 to check pspell I add this as default as I now have new pspell
2996 libraries and they seem to use this.
2998 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3000 * text2.C (CutSelection): make the cursor valid before the call to
3003 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3005 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3006 relied on 0 terminated strings and other horrors. Bug found due to
3007 the new assert in lyxstring!
3009 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3012 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3014 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3017 * lyxfunc.C (processKeySym): change method of getting to the
3020 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3021 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3022 * BufferView_pimpl.[Ch]: here as private methods.
3024 2001-05-28 Juergen Vigna <jug@sad.it>
3026 * text.C (SetHeightOfRow): added the update() call again as it is
3027 needed to initialize inset dimensions!
3029 2001-05-16 Juergen Vigna <jug@sad.it>
3031 * text2.C (SetCharFont): Add new function with BufferView * and
3032 bool toggleall parameters for setting insets internal fonts.
3033 (SetFont): Freeze the undo as we may change fonts in Insets and
3034 all this change should be inside only one Undo!
3036 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3037 setting font's in insets as for them we have the SetFont function!
3039 2001-05-15 Juergen Vigna <jug@sad.it>
3041 * text2.C (ClearSelection): to be sure we REALLY don't have any
3044 * tabular.C (TeXCellPreamble): fixed the left border problem for
3047 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3049 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3052 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3054 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3055 LFUN_BREAKPARAGRAPH.
3057 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3058 help test to "internal only", similar for LFUN_INSERT_URL
3060 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3061 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3062 auto_region_delete and deadkeys.
3064 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3067 * LColor.C: remove some dead entries, tidy a little
3069 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3071 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3073 (Dispatch): implement LFUN_ESCAPE
3075 * commandtags.h: add LFUN_ESCAPE
3077 * LyXAction.C (init): add entry for LFUN_ESCAPE
3079 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3080 Remove commented code.
3081 (insertNote): moved here
3082 (open_new_inset): moved here
3084 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3087 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3089 * kbmap.C (findbinding): clean it up and make it work correctly.
3091 * lyx_main.C (init): do not pass argc and argv as parameters
3093 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3095 * buffer.C: fix path for OS/2 & Win32
3099 * lyx_main.C: Added os:: class.
3101 * os2_defines.h: update
3103 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3105 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3106 better by trying again with reduced state.
3108 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3110 * lyxrc.C (read): print error about invalid key sequence only when
3111 debugging (because not all latinX keysyms are known to some X
3114 * kbsequence.C (getiso): add a few std:: qualifiers
3115 (getiso): comment out extra return statement.
3117 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3119 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3121 (Dispatch): enhance the accent inset a bit. (not perfect)
3123 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3125 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3127 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3129 * bufferlist.C (emergencyWrite): fix assert() call
3131 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3133 * text.C (InsertChar): Added trivial patch to only send the "you
3134 can not do multiple spaces this way" message once during a
3137 2001-05-08 Baruch Even <baruch@lyx.org>
3139 * Makefile.am: Changed order of libraries to get LyX to link properly
3140 with the gnome frontend.
3142 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3144 * LaTeXFeatures.h: add a std:: qualifier
3146 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3148 * paragraph.C (String): use stringstream
3150 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3152 * paragraph.C (writeFile): remove footflag arg
3154 * buffer.C (makeLaTeXFile): use stringstream
3155 (latexParagraphs): remove footnot gurba
3157 * LaTeXFeatures.C (getPackages): use stringstream
3158 (getMacros): likewise
3159 (getTClassPreamble): likewise
3160 (getFloatDefinitions): new method
3162 * paragraph.C (writeFile): reindent
3165 * WorkArea.h: revert the xpos + etc changes.
3167 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3169 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3171 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3172 (pasteSelection): likewise
3173 * text2.C (CreateUndo): likewise
3175 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3177 * minibuffer.C (peek_event): temporarily reduce the functionality
3178 of the minibuffer (to allow args on lfuns)
3180 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3181 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3183 * buffer.C (readInset): add compability reading of old float
3184 lists, add reading of new style float list.
3185 (readInset): avoid reevaluation of inscmd.getCmdName()
3186 (getLists): reindent
3188 * MenuBackend.C (MenuItem): implement parsing of
3189 md_floatlistinsert and md_floatinsert.
3190 (expand::LastFiles): move initalizaton of iterators out of loop,
3192 (expand::Documents): introduce typdedef vector<string> Strings,
3194 (expand::ExportFormats): introduce typedef vector<Format const *>
3195 Formats, and use it.
3196 (expand): implement FloatListInsert and FloatInsert.
3198 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3199 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3200 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3202 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3204 (Dispatch::LFUN_FLOAT_LIST): implement
3206 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3208 * LaTeX.C (run): Fix problem with --export code.
3210 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3212 * BufferView.[Ch] (workarea): removed.
3213 (getClipboard) new method; wrapper for workarea()->getClipboard()
3215 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3218 * WorkArea.h (width, height, xpos, ypos): These methods all
3219 returned the dimensions of the work_area sub-area of WorkArea,
3220 resulting in a position error if the WorkArea were resized. Now
3221 return the dimensions of the entire WorkArea.
3223 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3225 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3227 * LaTeX.C (deplog): correct the syntax of regex reg1
3229 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3231 * undo.C: remove !NEW_INSETS cruft
3233 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3235 * text2.C: remove !NEW_INSETS cruft
3237 * text.C: remove !NEW_INSETS cruft
3239 * tabular.C: remove !NEW_INSETS cruft
3241 * spellchecker.C: remove !NEW_INSETS cruft
3243 * lyxtext.h: remove !NEW_INSETS cruft
3245 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3247 * lyxfunc.C: remove !NEW_INSETS cruft
3249 * lyxfind.C: remove !NEW_INSETS cruft
3251 * lyx_cb.C: remove !NEW_INSETS cruft
3253 * figureForm.C: remove !NEW_INSETS cruft
3255 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3257 * buffer.[Ch]: remove !NEW_INSETS cruft
3259 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3261 * CutAndPaste.C: remove !NEW_INSETS cruft
3263 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3265 * BufferView2.C: remove !NEW_INSETS cruft
3267 * BufferView.h: remove !NEW_INSETS cruft
3269 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3271 * Lsstream.h: include LString.h before the sstream headers to
3272 fix problem with gcc 2.95.3 and lyxstring
3274 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3276 * lyx_main.C: add using directives when needed for C functions
3277 declared in std:: namespace.
3279 2001-04-27 Juergen Vigna <jug@sad.it>
3281 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3282 (SetHeightOfRow): comment out the update call should not be needed!
3284 2001-04-13 Juergen Vigna <jug@sad.it>
3286 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3287 (LyXTabular): tried to minimize operator= operations (and realized
3288 hopfully Lars wish).
3290 2001-04-27 Juergen Vigna <jug@sad.it>
3292 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3294 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3296 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3298 * buffer.C (readInset): hack to make listof algorithm work
3300 * BufferView_pimpl.C: hack to make listof algorithm work
3302 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3304 * LyXAction.C: removed all !NEW_INSETS cruft
3305 (init): moved lfun_item in method
3307 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3309 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3311 * BufferView2.C (theLockingInset): white space.
3313 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3315 * minibuffer.C: include <iostream>
3317 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3319 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3321 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3323 * text.[Ch] (TransposeChars): new method
3325 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3327 * call message directly through LyXView instead of through LyXFunc
3328 * BufferView2.C: adjust
3329 * BufferView_pimpl.C: adjust
3330 * FontLoader.C: adjust
3332 * bufferview_funcs.C: adjust
3333 * converter.C: adjust
3334 * figureForm.C: adjust
3335 * importer.C: adjust
3337 * lyx_gui_misc.C: adjust
3341 + more files in subdirs
3343 * lyxparagraph.h (size): move up int file
3346 * adjust all uses of Assert to lyx::Assert.
3348 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3349 lyxfunctional in namespace lyx
3350 * layout.C (hasLayout): ditto
3353 (delete_layout): ditto
3354 (NumberOfClass): ditto
3355 * converter.C (GetFormat): ditto
3360 * bufferlist.C (getFileNames): ditto
3361 (emergencyWriteAll): ditto
3364 * MenuBackend.C (hasSubmenu): ditto
3367 * BufferView_pimpl.C (getInsetByCode): ditto
3369 2001-04-18 Juergen Vigna <jug@sad.it>
3371 * vspace.C (asLatexString): fixed the 100% problem.
3373 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3375 * lyxfunc.C (Dispatch):
3377 * minibuffer.h: add a few std:: qualifiers
3379 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3381 * minibuffer.[Ch]: reimplement so that commands is initiated and
3382 run from lyxfunc, simplified som handling, and made the completion
3383 and history code for complete. wip.
3385 * lyxfunc.C (processKeySym): call message
3386 (miniDispatch): new temporary method
3387 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3388 (LFUN_MESSAGE): implement
3389 (LFUN_MESSAGE_PUSH): implement
3390 (LFUN_MESSAGE_POP): implement
3391 (initMiniBuffer): the initial/defualt minibuffer message.
3393 * lyxfont.[Ch]: inline some more getters
3395 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3397 * lyx_gui_misc.[Ch] (WriteStatus): remove method
3399 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3400 (AutoSave): use LFUN_MESSAGE
3401 (Reconfigure): ditto
3403 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3405 * figureForm.C: use LFUN_MESSAGE
3407 * converter.C (runLaTeX): use LFUN_MESSAGE
3409 * bufferview_funcs.C: use LFUN_MESSAGE
3411 (changeDepth): ditto
3413 * bufferparams.h: use boost::
3415 * bufferlist.h: inherit privately from noncopyable
3417 * bufferlist.C (loadLyXFile): remove some commented code.
3419 * buffer.C (runChktex): use LFUN_MESSAGE
3421 * ShareContainer.h: inherit privately from noncopyable
3423 * ParagraphParameters.[hC] (depth): inline it.
3425 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3427 (message): new method
3428 (messagePush): ditto
3430 (show): init minibuffer
3431 (showState): direct call
3433 * LaTeX.[Ch]: inherit privately from noncopyable
3434 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3435 instead of WriteStatus.
3437 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3439 * BufferView_pimpl.C (buffer): don't init minibuffer
3440 (workAreaButtonPress): use LFUN_MESSAGE
3441 (workAreaButtonRelease): ditto
3442 (savePosition): ditto
3443 (restorePosition): ditto
3444 (MenuInsertLyXFile): ditto
3445 (workAreaExpose): don't init minibuffer
3446 (update): remove commented code, simplify
3448 * BufferView2.C (openStuff): use LFUN_MESSAGE
3449 (toggleFloat): ditto
3452 (copyEnvironment): ditto
3453 (pasteEnvironment): ditto
3458 (updateInset): remove some commented code
3460 * lastfiles.h: inherit privately from noncopyable
3465 * lyxlex_pimpl.h: ditto
3467 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
3468 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
3469 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3471 * LyXAction.h: inherit privately from noncopyable, add methods
3472 func_begin, func_end, returning iterators to the func map.
3474 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
3475 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3476 (func_begin): new method
3477 (func_end): new method
3479 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
3481 (copySelection): ditto
3482 (pasteSelection): ditto
3484 * BufferView.C: whitespace change
3485 * BufferView.h: inherit privately from noncopyable
3487 2001-04-16 Allan Rae <rae@lyx.org>
3489 * tabular-old.C (l_getline):
3490 * spellchecker.C (sc_check_word):
3491 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3492 an unrecognised preprocessor directive. So ensure they're wrapped.
3494 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
3496 * src/exporter.C (Export): Give an error message when path to file
3499 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
3501 * LaTeX.C (deplog): Always check that foundfile exists.
3503 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3506 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
3508 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3510 * tabular.[Ch] (getLabelList): implement new method
3512 * minibuffer.h: comment ouf setTiimer
3514 * minibuffer.C (ExecutingCB): constify res
3515 (peek_event): constify s
3516 (Set): constify ntext
3517 (Init): constify nicename
3519 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3521 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3522 (savePosition): use two params to Minibuffer::Set
3523 (restorePosition): ditto
3525 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3527 * lyx_main.C: include language.h
3529 * Makefile.am (lyx_main.o): add language.h
3531 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3537 * CutAndPaste.C: include gettext.h
3539 * lyxfont.h: remove old hack with ON and OFF.
3542 * lyxfont.h: do not include language.h...
3547 * bufferview_funcs.C:
3553 * paragraph.C: ... but do it here instead
3555 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3557 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3559 * tabular.C: small reformat
3561 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3564 (BreakParagraph): ditto
3565 (SetOnlyLayout): ditto
3568 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3571 * lastfiles.C: removed most using decl, add std:: where needed
3573 * buffer.C: ws changes
3575 * MenuBackend.C (class compare_format): put into anon namespace
3576 (expand): constify label, names, action, action2
3579 * text.C (SingleWidth): constify font
3580 (IsBoundary): constify rtl2
3581 (GetVisibleRow): constify ww
3583 * LaTeX.C (deplog): constify logfile
3585 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3587 (workAreaExpose): constify widthChange, heightChange
3589 * lyxrow.C (par): moved
3592 * lyxrow.h: as inlines here
3594 * lyxfont.h (shape): moved from lyxfont.C
3595 (emph): moved from lyxfont.C
3597 * lyxfont.C (LyXFont): use initialization list for all
3599 (shape): move to lyxfont.h as inline
3600 (emph): move to lyxfont.h as inline
3603 2001-04-04 Juergen Vigna <jug@sad.it>
3605 * vspace.C: had to include stdio.h for use of sscanf
3607 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
3610 * BufferView_pimpl.h: remove xforms cruft. Both classes are
3611 independent of xforms.
3613 2001-04-02 Juergen Vigna <jug@sad.it>
3615 * spellchecker.C: fixed namespace placing!
3617 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3619 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3620 the LyXParagraph * is 0.
3622 2001-03-29 Juergen Vigna <jug@sad.it>
3624 * vspace.C: added support for %, c%, p%, l%.
3625 (stringFromUnit): added helper function.
3626 (asLatexString): changed to give right results for the %-values.
3628 * buffer.C: convert the widthp in a width%.
3630 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3632 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3635 * figureForm.[Ch]: stripped the FD_from_figure manipulation
3636 code out of lux_cb.[Ch], ready for its (imminent?) removal.
3638 * lyx_cb.[Ch]: see above.
3640 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3644 * lyx.[Ch]: replaced by figure_form.[Ch].
3648 * lyxfunc.C: changed headers associated with above changes.
3650 2001-03-27 Juergen Vigna <jug@sad.it>
3652 * BufferView_pimpl.C: set the temporary cursor right!
3654 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3656 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3658 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3660 * LString.h: removed "using std::getline"!
3662 * BufferView_pimpl.C (Dispatch): changes due to changes in
3663 InsetInclude::Params.
3665 * buffer.C (tag_name): removed redundant break statements as they were
3666 producing lots of warnings with my compiler.
3668 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3670 * LString.h: add "using std::getline" when using the real <string>.
3672 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3674 * buffer.C: removed bitset usage.
3675 PAR_TAG moved to an anonymous name space.
3676 (tag_name): new funtion, also in the anonymous namespace.
3677 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3678 (makeDocBookFile): clean code. Completed transition from string arrays
3680 (SimpleDocBookOnePar): code clean.
3682 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3684 * tabular.C: add some comments.
3686 2001-03-22 Juergen Vigna <jug@sad.it>
3688 * buffer.C (parseSingleLyXformat2Token): redone the minipage
3689 compatibility read a bit and fixed bug with minipage in different
3692 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
3694 * buffer.C (pop_tag): removed.
3695 (push_tag): removed.
3696 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3697 array replaced with vector. Added support for CDATA sections.
3698 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3700 (makeDocBookFile): XML conformant declaration of CDATA section,
3701 fixed bug related to <emphasis> in the first paragraph char.
3702 (sgmlOpenTag): exclude empty tags.
3703 (sgmlCloseTag): ditto.
3705 * buffer.h (pop_tag): removed.
3706 (push_tag): removed.
3708 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3710 * language.h (Languages): added size_type and size().
3712 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3714 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3715 response on compability reading of minipages. One probliem is that
3716 the old usage of minipages was «flertydig»
3718 * several files here and in subdirs: don't use static at file
3719 scope use anon namespaces instead.
3721 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
3723 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3724 LaTeX output. This is necessary for Literate document
3727 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3729 * buffer.C: insert hfill when needed.
3731 * tabular.C (l_getline): use string::erase, small whitespace change.
3733 * BufferView_pimpl.C: try the anon namespace.
3736 2001-03-16 Juergen Vigna <jug@sad.it>
3738 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3739 otherwise it won't open options-dialogs.
3741 * buffer.C: honor pextraWidth(p) on converting minipages.
3743 * tabular.C (l_getline): changed the functions to strip trailing \r.
3745 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
3747 * BufferView_pimpl.C:
3748 * minibuffer..C: added "using SigC::slot" declaration.
3750 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3752 * lyxlex_pimpl.h: noncopyable is in namespace boost.
3758 * paragraph.C: ditto
3760 * lyxtext.h: NO_PEXTRA
3762 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3764 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3765 * ParameterStruct.h: ditto
3766 * ParagraphParameters.h: ditto
3767 * lyxparagraph.h: ditto
3769 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3771 * buffer.C: add compability for minipage alignment.
3772 (latexParagraphs): remove unwanted pextra check.
3774 * several files: remove CXX_WORKING_NAMESPACES
3776 * buffer.C (pop_tag): tie is in namespace boost
3778 * BufferView.h: noncopyable is in namespace boost
3783 * lastfiles.h: ditto
3784 * bufferlist.h: ditto
3785 * ShareContainer.h: ditto
3787 * LyXAction.h: ditto
3790 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3792 * Merging changes from BRANCH_MVC back into HEAD.
3794 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3796 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
3798 * BufferView_pimpl.C: change from intl.C
3802 * Makefile.am: move combox.*
3808 * intl.C: remove dialog (covered by prefs)
3810 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3812 * lyxfunc.C (Dispatch): removed redundant break statement.
3814 2001-03-14 Juergen Vigna <jug@sad.it>
3816 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3818 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3820 * buffer.C: add hack to fix compability reading of minipages.
3822 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3824 * buffer.C (getLists): Cleanup.
3826 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3828 * lyxfont.C (update): don't honor toggleall on font size.
3830 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
3834 * Makefile.am: moved to frontends/xforms/
3838 * BufferView_pimpl.C: changes for moved mathpanel
3840 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3842 * gettext.h: fix gettext_init() in --disable-nls
3844 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3846 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3848 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3851 * lyx.h: strip external form
3853 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3855 * BufferView_pimpl.C: add comment, destroySplash()
3857 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3859 * BufferView_pimpl.C:
3863 * lyxfunc.C: use re-worked insetinclude
3865 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3867 * buffer.C: add using std::stringstream.
3869 * lyx_cb.C: readd using std::ios.
3871 * buffer.C: add using std::map.
3873 * BufferView_pimpl.C: add using std::vector.
3875 * ShareContainer.h: add std:: to swap.
3877 * buffer.h: add some typedefs
3878 * buffer.C (getLists): use them
3879 (getLists): renamed from getTocList.
3880 add a counter for the different float types and use it in the
3882 (getLists): use the same counter for the NEW_INSETS and the "non"
3885 * lyx_cb.h: remove unused items, includes, using etc.
3887 * ShareContainer.h: remove some commented code, add more comments
3888 and "documentation".
3890 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3892 * buffer.C (getTocList): make the list also when NEW_INSETS is
3895 * buffer.h: remove TocType
3897 * buffer.C (getTocList): change to return a map<string,
3898 vector<TocItem> >, implement for dynamic number of list.
3900 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3901 * text2.C (PasteSelection): adjust
3902 * CutAndPaste.C (pasteSelection): adjust
3904 * FloatList.C (FloatList): update from the new_insets branch.
3905 * Floating.[Ch]: ditto
3906 * LaTeXFeatures.C: ditto
3908 * lyxlex_pimpl.C: ditto
3910 * paragraph.C (Last): remove when NEW_INSETS is defined.
3912 * other file: changes because of the above.
3914 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3916 * lyxparagraph.h: rename next to next_, previous to previous_,
3917 make them private for NEW_INSETS. Rename Next() to next(),
3918 Previous() to previous().
3920 * other files: changes because of the above.
3922 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
3925 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3928 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3930 * main.C (main): pass lyx_localedir to gettext_init().
3932 * gettext.h: remove locale_init and gettext_init macros
3934 * gettext.C (locale_init): new function
3935 (gettext_init): new function
3937 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3940 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
3942 * Moved credits to frontends:
3943 * credits.[Ch]: removed
3944 * credits_form.[Ch]: removed
3945 * lyx_gui_misc.C: remove credits stuff
3948 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3950 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3952 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3953 unneeded destructor.
3955 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3956 a standalone pointer again.
3958 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3960 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3966 * ToolbarDefaults.C:
3975 * BufferView_pimpl.C: use new file dialog in GUII
3978 * lyx_cb.C: remove LayoutsCB to Toolbar
3980 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3982 * ShareContainer.h (get): add std:: qualifier
3984 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3986 * ShareContainer.h: define a proper ShareContainer::value_type
3987 type (and use typename to please compaq cxx)
3989 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3991 * lyxparagraph.h: move serveral local vars to
3992 ParameterStruct/ParagraphParameters., use ShareContainer in
3993 FontTable., make vars in FontTable private and add getter and
3996 * paragraph.C: changes because of the above.
3998 * lyxfont.h: remove copy constructor and copy assignment. (the
3999 default ones is ok), move number inside FontBits. move inlines to
4002 * lyxfont.C: add number to initializaton of statics, move several
4003 inlines here. constify several local vars. some whitespace
4004 cleanup. Dont hide outerscope variables.
4006 * Spacing.h: add two new constructors to match the set methods.
4008 * ShareContainer.h: new file, will perhaps be moved to support
4010 * ParameterStruct.h: new file
4012 * ParagraphParameters.h: new file
4014 * ParagraphParameters.C: new file
4016 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4017 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4019 * BufferView_pimpl.C: ParagraphParameter changes.
4020 * buffer.C: Likewise.
4021 * bufferview_funcs.C: Likewise.
4023 * text2.C: Likewise.
4025 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4027 * lyxfind.C (LyXReplace): do not redefine default argument in
4029 (IsStringInText): ditto
4030 (SearchForward): ditto
4031 (SearchBackward): ditto
4033 2001-03-06 Juergen Vigna <jug@sad.it>
4035 * lyxfind.C (IsStringInText): put parentes around expressions.
4037 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4039 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4041 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4043 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4045 * stl_string_fwd.h: add comment
4047 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4050 * tabular.C: remove unused DocBook methods
4056 killed DO_USE_DEFAULT_LANGUAGE
4058 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4060 * lyx_gui.C: do not include language.h.
4062 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4063 arguments in function implementation.
4065 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4067 * BufferView_pimpl.C: add <ctime>
4069 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4071 * BufferView_pimpl.C: add using std::find_if
4073 2001-02-27 José Matos <jamatos@fep.up.pt>
4075 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4078 2001-02-11 José Matos <jamatos@fep.up.pt>
4080 * buffer.C (makeDocBookFile): command styles now have a parameter as
4083 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4085 * layout_forms.[Ch]: removed
4086 * lyx_cb.[Ch]: out character
4087 * lyx_gui.C: out character
4088 * lyx_gui_misc.C: out character
4089 * bufferview_funcs.C: : out character,
4090 added toggleall as parameter in ToggleAndShow
4092 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4094 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4096 * text2.C (SetCurrentFont): Disable number property at boundary.
4098 2001-02-26 Juergen Vigna <jug@sad.it>
4100 * lyxfunc.C (getStatus): added a string argument override function so
4101 that this is correctly called from LyXFunc::Dispatch if it contains a
4102 do_not_use_argument which is used!
4103 (Dispatch): added check for "custom" export and call appropriate func.
4105 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4107 * lyxrc.C: Add language_command_local, language_use_babel and
4108 language_global_options.
4110 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4112 * buffer.C (makeLaTeXFile): Use language_use_babel and
4113 language_global_options.
4115 2001-02-23 Juergen Vigna <jug@sad.it>
4117 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4118 which works with LyXText and putted it inside BufferView. Here now we
4119 only call for that part the BufferView::Dispatch() function.
4121 * BufferView.C (Dispatch): added.
4123 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4124 functions which needs to use a LyXText over from LyXFunc.
4125 (MenuInsertLyXFile): added
4126 (getInsetByCode): added
4127 (moveCursorUpdate): added
4128 (static TEXT): added
4130 2001-02-22 Juergen Vigna <jug@sad.it>
4132 * BufferView_pimpl.C (update): call a status update to see if LyXText
4135 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4137 * vc-backend.C (revert): implement for CVS
4138 (getLog): implement for CVS
4140 2001-02-20 Juergen Vigna <jug@sad.it>
4142 * text2.C (ClearSelection): added BufferView param for inset_owner call
4144 * lyxfunc.C (TEXT): added this function and use it instead of
4145 directly owner->view()-text of getLyXText().
4147 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4149 * src/layout_forms.C: out preamble
4150 * src/layout_forms.h: out preamble
4151 * src/lyx_cb.C: out preamble
4152 * src/lyx_cb.h: out preamble
4153 * src/lyx_gui.C: out preamble
4154 * src/lyx_gui_misc.C: out preamble
4155 * src/lyxfunc.C: connect with guii preamble
4157 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4159 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4161 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4163 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4164 whether to run bibtex.
4166 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4168 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4170 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4172 * Makefile.am (lyx_SOURCES): removed bibforms.h
4176 * text.C (GetVisibleRow): make several local vars const
4178 * tabular.C: small cleanup.
4180 * lyxserver.C (callback): use compare instead of strncmp
4182 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4183 inlines to after class or to paragraph.C
4185 * lyxfont.h: remove friend operator!=
4187 * converter.h: move friend bool operator< to non friend and after
4190 * combox.h: small cleanup
4192 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4193 to inlines after class def.
4195 * buffer.C (pop_tag): use string operations instead of strcmp
4197 * bmtable.c: doxygen, small cleanup
4199 * LaTeX.h: remove friend operator==
4201 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4213 * BufferView_pimpl.C:
4214 * BufferView.[Ch]: remove cruft
4216 2001-02-14 Juergen Vigna <jug@sad.it>
4218 * lyxfunc.C: removed #if 0 unused code
4220 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4222 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4224 * text2.C (SetSelection): added a BufferView * parameter
4226 2001-02-13 Juergen Vigna <jug@sad.it>
4228 * lyxfunc.C (Dispatch): fixed protected blank problem.
4229 * BufferView2.C (protectedBlank): added LyxText * parameter.
4231 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4232 (AppendColumn): same as above for column_info.
4234 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4235 (moveCursorUpdate): use a LyXText param for support of InsetText.
4237 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4238 (tripleClick): ditto
4240 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4242 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4244 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4246 * text2.C (SetSelection): set correct update status if inset_owner
4249 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4251 * tabular.C: remove some commented code.
4253 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4255 * BufferView_pimpl.C: call hideSplash()
4257 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4260 * bibforms.h: remove
4263 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4264 add LFUN_CHILD_CREATE
4266 * counters.h: fix tiny typo
4271 * lyx.C: move splash to frontends/xforms/
4273 * lyx_gui_misc.C: move Include and Bibform to frontends
4275 * lyxvc.h: clarify comment
4277 * vspace.C: tiny housekeeping
4279 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4281 * text.C (PrepareToPrint): RTL Fix.
4283 * paragraph.C (GetUChar): New method.
4284 (String): Use GetUChar.
4286 * buffer.C (asciiParagraph): Use GetUChar.
4288 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4290 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4292 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4295 * buffer.C: rename to getLogName(), handle
4296 build log / latex log nicely
4298 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4301 * MenuBackend.h: remove support for reference menuitem type.
4303 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4305 * BufferView_pimpl.C: housekeeping
4306 * BufferView_pimpl.h:
4311 * minibuffer.h: move Timeout GUI-I
4313 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4315 * lyxrc.C (read): Update converters data-structures.
4317 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4319 * LaTeX.h (operator!=): add operator != for Aux_Info
4321 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4323 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4325 * LaTeXLog.C: deleted, useful code moved to Buffer
4328 * buffer.C: new function getLatexLogName()
4334 * lyxfunc.C: use frontends for LaTeX and VC logs
4336 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4338 * LaTeX.h: yet another std:: that Allan forgot.
4340 * Variables.C (set): renamed from isset(), because this clashes
4341 with some HP-UX macros (grr).
4343 2001-02-06 Allan Rae <rae@lyx.org>
4345 * LaTeX.h: Another bug fix. Missing std:: this time.
4347 2001-02-04 Allan Rae <rae@lyx.org>
4349 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4350 floats problem. I've left it commented out because it's not quite
4351 correct. It should also test that the current object is a table or
4352 figure inset. But I haven't gotten around to figuring out how to do
4353 that. I *think* it'll be something like: "table" == inset.type()
4355 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4358 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4360 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4361 all the citation/databases/styles in the auxilary file.
4362 (run): Rerun latex if there was a babel language error.
4364 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4366 * text.C (Backspace): Preserve the font when changing newline char
4368 (BreakParagraph): If the cursor is before a space, delete the space.
4370 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4372 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4374 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4375 new argument (code).
4376 (ChangeCitationsIfUnique): New method.
4378 * paragraph.C (GetPositionOfInset): Handle bibkey.
4380 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4382 * BufferView_pimpl.h: change type of Position::par_pos to
4383 LyXParagraph::size_type.
4385 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
4387 * BufferView_pimpl.C (savePosition, restorePosition): Write
4388 messages to minibuffer.
4390 2001-01-28 José Matos <jamatos@fep.up.pt>
4392 * buffer.C (makeDocBookFile): adds support for document language.
4393 A silly restriction on the name of LatexCommand types where removed.
4394 Added support for CDATA sections, allows to chars unescaped, used
4395 among others in code, to avoid escape < and >.
4397 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4399 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
4400 saved positions instrad of a stack. Furthermore, a position is
4401 stored using paragraph id/paragraph position.
4403 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4404 Remove LFUN_REF_BACK.
4406 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4408 * converter.C (dvipdfm_options): New method.
4410 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4412 * vspace.C (isValidLength): Fix for empty input string.
4414 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4416 * LyXAction.C (init): change description of LFUN_FIGURE to
4419 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4421 * LaTeX.C: add using directive
4423 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4425 * MenuBackend.C (expand): Fix the sorting of the formats.
4427 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
4429 * lyx_main.C: tiny error message fix
4431 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4433 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4434 calling fl_initialize(). This fixes the problem with ',' as
4435 decimal separator in text files.
4437 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4439 * trans.C (process): Fix the keymap bug.
4441 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
4443 * LaTeX.C (scanAuxFiles): New method. Provides support for
4444 multiple bibliographies (when using the bibtopic/bibunits pacakges).
4445 (scanLogFile) Scan for "run BibTeX" messages.
4447 * buffer.C (makeLaTeXFile): Do not load the ae package when using
4448 OT1 font encoding. Also, load the aecompl package if the ae
4451 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
4453 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4455 * texrow.C (increasePos): turn two error messages into debug
4458 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
4460 * LaTeX.C (scanAux): Handle the \@input macro.
4461 (runBibTeX): Use scanAux().
4463 * language.C (latex_options_): New field.
4465 * LaTeXFeatures.C (getMacros): Add language macros.
4467 * buffer.C (makeLaTeXFile): Small fix.
4469 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4471 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
4473 * text2.C: add a using directive.
4475 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
4480 * lyxfunc.C: kill LyXBell.
4482 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
4484 * text.C (IsBoundary): Remove the error message
4486 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4488 * lyxrc.C (setDefaults): Correct initialization value for
4491 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
4493 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4496 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4499 * src/LyXAction.C: Added reference-next.
4501 * text.C (InsertChar): Use contains instead of strchr.
4503 * lyx_cb.C (MenuInsertLabel): Enable default value code.
4505 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
4507 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4508 alignment commands (when needed).
4510 * text.C (InsertChar): Add ':' to number separator chars.