1 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5 * paragraph.C (startTeXParParams):
6 (endTeXParParams): new methods. The LaTeX code to
7 start/end paragraph formatting
8 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11 * vspace.C (inPixels): adapt to the change below
12 (inPixels): [later] more cleanups (remove unused variables)
14 * lyxlength.C (inPixels): change to use a width and a height as
17 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
19 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
20 Replaced with \paperwidth
22 * DepTable.C (insert): add std:: qualifier
24 2002-01-18 Allan Rae <rae@lyx.org>
26 * text2.C (removeRow): add comment. Should other refresh_?? vars be
29 * text.C (drawInset): Turned out I didn't know enough about how
30 rebreaking worked. This fixes most of the redraw problems. I see
31 an occasional cursor trail when a line is broken now and the cursor
32 placement can seem out by a few pixels also after a rebreak.
34 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
36 * buffer.C (parseSingleLyXformat2Token): update because minipage
37 width is now a LyXLength
39 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
41 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
44 2002-01-17 Juergen Vigna <jug@sad.it>
46 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
48 * BufferView2.C (lockInset): call edit() so that theLockingInset()
49 is set correctly and the inset is updated correctly.
51 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
53 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
54 the beginning of the loop.
56 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
58 * lyxrc.C: improve help for use_scalable_fonts
60 2002-01-17 Allan Rae <rae@lyx.org>
62 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
64 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
66 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
67 make sure to set their inset_owner to the right value (bug #171)
69 2001-12-12 Ben Stanley <bds02@uow.edu.au>
72 * DepTable.C: Implement mtime checking to reduce time spent doing
75 2002-01-16 Juergen Vigna <jug@sad.it>
77 * tabular.C (GetAdditionalHeight): one of error fixed.
79 * lyxrc.C (output): small fix in writing use_pspell.
81 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
83 * sp_base.h: #include LString.h
85 2002-01-16 Allan Rae <rae@lyx.org>
87 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
88 Can someone check this please?
90 * text.C (drawInset): It was possible that p.row would be removed by
91 breakAgainOneRow upsetting a few other settings. There may be another
92 small tweak possible by setting need_break_row = 0 when p.row has been
93 removed but I don't know enough about the logic here.
95 2002-01-15 Allan Rae <rae@lyx.org>
97 * text.C (insertChar): removed conditional truism.
99 * BufferView2.C (removeAutoInsets): More tweaks.
100 cur_par_prev could be a stray pointer. Check for trailing empty line
101 in case last line was cur_par and only had an error inset on it.
103 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
105 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
108 * vc-backend.C (most methods):
109 * exporter.C (Export):
110 * converter.C (convert):
112 * LyXSendto.C (SendtoApplyCB):
113 * lyxfunc.C (dispatch):
117 * lyx_cb.C (AutoSave):
119 * BufferView_pimpl.C (MenuInsertLyXFile):
120 * buffer.C (runChktex): use Buffer::filePath().
122 * buffer.h: rename filename to filename_; rename filepath to
123 filepath_ and make it private
124 (filePath): new method
126 * buffer.C (writeFile): use fileName()
129 * lyx_main.C (init): fix starting of LyX when the binary is a
130 link from so,ewhere else.
132 * minibuffer.C: include <cctype> for isprint
134 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
136 * buffer.C (parseSingleLyXformat2Token): changes associated with the
137 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
138 name clash with InsetCollapsable's width function.
140 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
142 * lastfiles.C: include <iterator>
144 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
146 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
149 * buffer.C (makeLaTeXFile): ditto.
150 Also make loop operation more transparent.
152 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
154 * ToolbarDefaults.C: remove trailing comma closing namespace.
156 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
158 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
161 * trans.C (Load): comment out unused variable, allowed.
163 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
165 * minibuffer.[Ch] (append_char): new method to recieve input from the
166 drop-down completion browser. If a key was pressed, then recieve this
167 char and append it to the existing string.
168 (peek_event): modify the positioning data passed to the completion
169 browser so that it can be placed above the minibuffer rather than below.
170 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
172 * LyXAction.C (init): alloe error-next for readonly documents.
174 * BufferView2.C (ChangeRefsIfUnique): use standard version of
177 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
179 * bufferlist.C (readFile): create the buffer _after_ checking that
182 * lyxfunc.C (verboseDispatch): fix handling of arguments
184 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
186 * lyxrc.C: use string::erase() instead of initializing to "".
189 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
191 * BufferView_pimpl.h:
192 * BufferView_pimpl.C:
195 * text2.C: tell X when we have made a selection for copying
197 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
199 * BufferView_pimpl.C (MenuInsertLyXFile):
200 * lyxfunc.C (menuNew):
202 (doImport): add shortcuts to directory buttons
204 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
207 * lyxfunc.C (setStatusMessage):
208 (getStatusMessage): new methods
209 (getStatus):use setStatusMessage instead of setErrorMessage
210 (dispatch): when function is disabled, set error message here
211 [instead of in getStatus previously]
213 * BufferView_pimpl.C (workAreaButtonRelease): update
214 toolbar/menubar here too.
216 2002-01-13 Allan Rae <rae@lyx.org>
218 * BufferView2.C (removeAutoInsets): finished off earlier fix.
219 Now seems indestructible. Remaining task is to audit all other
220 code affected by deleteEmptyParagraphMechanism. One small quirk
221 left is that an empty document with an error in the preamble can
222 be made to report an error but no error box appears. I don't know
224 (removeAutoInsets): Improved comments.
226 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
229 * Thesaurus.C: update for Aiksaurus 0.14
231 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
233 * text2.C (firstParagraph): removed member function, all uses
234 replaces with ownerParagraph
235 (redoParagraphs): here
237 (toggleAppendix): here
238 * BufferView2.C (insertErrors): here
239 (setCursorFromRow): here
241 2002-01-13 Allan Rae <rae@lyx.org>
243 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
244 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
245 There is still a way to segfault this although you may have to do this
246 multiple times: Have an InsetERT with an unknown command in it.
247 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
248 <down-arrow>, <Enter> again, View->DVI, BANG!
250 * text2.C (setCursor):
251 (deleteEmptyParagraphMechanism):
252 * lyxtext.h (setCursor):
253 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
254 Making use of the return value may help fix other bugs.
256 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
258 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
260 * LyXView.C (updateMenubar): call MenuBar::update here
261 (updateToolbar): but not here
262 (showState): do not update toolbar/menubar
264 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
265 should need to care about that.
267 * lyxfunc.C (verboseDispatch): simplify a bit
268 (getStatus): have a version which takes a pseudoaction, and
269 another which requires a (kb_action,string).
271 * LyXAction.C (retrieveActionArg): make it work also when action
272 is not a pseudo-action.
273 (getActionName): simplify a bit
276 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
278 * lyxfunc.C (verboseDispatch): new families of methods with
279 several ways to specify a command and a bool to indicate whether
280 the command name and shortcut should be displayed in minibuffer
281 (eventually, we could extend that to a finer bitmask like
282 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
283 (dispatch): the pristine dispatch command which just, well,
284 dispatchs! Note it still sets its result to minibuffer; I'm not
287 * lyxfunc.h: remove setHintMessage
289 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
291 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
293 * BufferView_pimpl.C (specialChar): delete new inset if we have
294 not been able to insert it.
296 * kbmap.C: revert to using int instead of kb_action, since all we
297 are dealing with is pseudo-actions.
299 * LyXAction.C (searchActionArg): change to return int instead of
300 kb_action, since the result is a pseudoaction.
302 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
304 * buffer.C (insertErtContents): Fix (partially) the font bug.
306 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
308 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
309 as the other one is broken on my machine!
311 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
314 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
316 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
318 * lyxrc.[Ch]: change names and descriptions of popup font variables to
319 reflect their actual use. Provide compatibility code for older lyxrc
322 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
324 change names of popup font variables in line with the changes to lyxrc.C
326 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
328 * buffer.C (asciiParagraph): avoid outputing a word twice after
331 * lyxrc.C (getDescription): document that document_path and
332 template_path can be empty.
334 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
336 * LaTeXFeatures.C (getMacros):
337 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
339 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
341 * LaTeXFeatures.C (useFloat): require "float" here instead of in
343 (getPackages): rename feature "floats" to "float". Use an array to
344 iterate over 'simple' features (i.e. just a \usepackage). Add
345 handling of "amsmath" (renamed from "amsstyle").
347 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
349 * LaTeXFeatures.C (require): Prevent duplicate entries in the
352 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
354 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
355 FuncStaus::FuncStatus & FuncStaus::some_method().
357 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
359 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
360 of the func_satus stuff. Edited and massaged in various ways by
363 * lyxfunc.C (getStatus): use FuncStatus
365 2002-01-08 Juergen Vigna <jug@sad.it>
367 * text.C (nextBreakPoint): use function Inset::isChar().
369 * paragraph.C (TeXOnePar): use function
370 Inset::forceDefaultParagraphs.
372 * buffer.C (latexParagraphs): use function
373 Inset::forceDefaultParagraphs.
375 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
377 * lyx_gui.C (init): set the style of the menu popups to
378 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
380 2002-01-07 Juergen Vigna <jug@sad.it>
382 * text.C (setHeightOfRow): small fix
383 (prepareToPrint): don't look at alignment if we don't have the place
386 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
388 * box.C: New file. Move the Box methods and functions out of box.h,
389 following Lars' suggestion.
391 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
393 * box.h: #include "support/LOstream.h", needed for inlined function.
396 * lyxtextclasslist.C: added some using std declarations.
398 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
400 * box.h: make signed dimensions to allow insets wider than
401 the screen (bug #162)
403 * BufferView_pimpl.C: add some insetHit debug
405 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
407 * vc-backend.C: add FIXME
409 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
411 * lyxfunc.C (getStatus): enable code for showing math font status
414 2002-01-07 Juergen Vigna <jug@sad.it>
416 * text.C (nextBreakPoint): removed debug output not needed anymore.
418 2002-01-06 Juergen Vigna <jug@sad.it>
420 * text.C (nextBreakPoint): fixed up this function we had this bug
421 since ever but now hopefully we break row better.
422 (insertChar): we have to check if an inset is the next char as it
423 could now happen that a large inset is causing a break.
425 2002-01-05 Juergen Vigna <jug@sad.it>
427 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
428 if it doesn't like to be drawed.
430 2002-01-04 Juergen Vigna <jug@sad.it>
432 * BufferView2.C (lockInset): forgot to set a cursor.
434 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
436 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
441 * form_maths_panel.C:
442 * form_maths_panel.h:
443 * form_maths_panel.fd: implemented sub- and super- buttons in math
446 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
447 (or ^ space) to be used as in TeX (req'd by André).
449 * lyxfunc.C: Allow ^ and _ again to be used both as
450 super/subscript (mathed) and as themselves (in text).
452 2002-01-03 Allan Rae <rae@lyx.org>
454 * LyXView.C (updateWindowTitle): Setup a short icon title of either
455 "LyX" or the filename of the current buffer if it has one. This is a
456 modified form of John Levon's patch.
458 * XFormsView.C (setWindowTitle): also set icon title.
460 * LyXView.h (setWindowTitle): signature changed.
461 * XFormsView.h (setWindowTitle): ditto.
463 2002-01-02 Juergen Vigna <jug@sad.it>
465 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
467 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
469 * screen.C (topCursorVisible): introduce a temp var for
470 text->cursor.row(), handle the case where this row is null. (kindo
473 * text2.C (setCursor): add a couple of asserts.
475 * paragraph.h (inset_iterator): add -> operator
477 * paragraph.[Ch] (autoDeleteInsets): remove member function
479 * BufferView2.C (removeAutoInsets): rewrite to handle the old
480 cursor pos correctly and handle inset deletion by itself.
481 (insertErrors): move iterator declaration out of for expression
483 * lyxtextclass.C: add <algorithm>
485 * Makefile.am: added the new files to sources, removed layout.C
487 * layout.C: removed file
489 * layout.h: remove LYX_DUMMY_LAYOUT
491 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
496 * lyxtextclasslist.[Ch]: new files
498 * include order changes to a lot of files, also changes because of
501 2001-12-27 Juergen Vigna <jug@sad.it>
503 * buffer.C (asciiParagraph): more fixes.
505 * tabular.C (ascii): make ascii export support export of only the
506 data separated by a column-delimiter.
507 (ascii): better support for ascii export.
509 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
511 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
513 * tabular_funcs.C: use a "using std::getline" instead of the
514 previous fix from Angus (necessary for cxx + lyxstring)
516 2001-12-24 Juergen Vigna <jug@sad.it>
518 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
520 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
521 problems. First check a minipage also if we have some ert-contents
522 (not only on par->size(), second set the right depth of the paragraph
523 on the relink to the root-paragraph-list!
525 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
526 which then did not anymore update the main paragraphs on undo/redo!
528 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
530 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
531 code. Support all font-changing funcs (even those which are not in
532 menu currently). Support for reporting font settings in
533 mathed (disabled until Andre provides a function on mathed's side).
535 * func_status.h (toggle): small helper function to set toggle
538 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
540 * tabular_funcs.C: getline -> std::getline
542 2001-12-21 Juergen Vigna <jug@sad.it>
544 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
545 accessed and could be 0 (I couldn't generate this but it seems
548 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
550 * tabular_funcs.C: add LIstream.h, move write_attribute to..
551 * tabular_funcs.h: here and include iosfwd
553 2001-12-20 Juergen Vigna <jug@sad.it>
555 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
556 inside inset but undo_par was.
558 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
560 * Thesaurus.C: always include <config.h> in sources.
564 * box.h: do not include <config.h> in header files
566 * text.C (paintLastRow): remove unused variable
568 * text.C (transformChar):
570 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
573 * font.C (width): rewrite to use uppercase() instead of
576 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
578 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
580 * lyxfind.C: clean up of find failure position change
582 2001-12-20 Juergen Vigna <jug@sad.it>
584 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
586 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
587 (TeXRow): added to LaTeX a single tabular row.
588 (TeXLongtableHeaderFooter): added to output LT-h/f data.
589 (Latex): simplified and finally good LT-h/f support.
590 (various_functions): just small adaptions for LT-h/f support.
592 * tabular_funcs.[hC]: added and moved here all not classfunctions
595 2001-12-19 Juergen Vigna <jug@sad.it>
597 * tabular.[Ch]: better support for longtabular options (not finished
600 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
602 * text.C (paintLastRow): use the label font instead of the font of
603 the last character to compute the size of *_BOX. This makes more
604 sense and avoids a crash with empty paragraphs.
605 Use Painter::rectangle to draw EMPTY_BOX.
607 2001-12-19 Juergen Vigna <jug@sad.it>
609 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
610 the paragraphs if the replaced paragraph is not the first one!
611 Tried to delete not used paragraphs but does not work yet so for
612 now it's inside #ifdef's and by default off!
614 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
616 * MenuBackend.C: include "lyx_main.h" instead of declaring
617 lastfiles (actually was declared as LastFiles* instead of a
620 2001-12-17 Juergen Vigna <jug@sad.it>
622 * tabular.C (AppendColumn): applied John's fix
624 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
628 * BufferView_pimpl.h:
629 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
632 * box.h: new start of class for above
634 * lyxfunc.C: ignore space-only minibuffer dispatches.
635 Show the command name when it doesn't exist
637 * minibuffer.C: don't add empty lines to the history
639 * minibuffer.C: add a space on dropdown completion
641 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
643 * text.C: fix line above/below drawing in insets
645 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * lyxlength.C (LyXLength): Initialize private variables.
649 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
652 when inserting error insets.
654 2001-12-13 Juergen Vigna <jug@sad.it>
656 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
657 actually sometimes the before-paragraph.
658 (setUndo): don't clear the redostack if we're not actually undoing!
660 2001-12-06 Juergen Vigna <jug@sad.it>
662 * undo_funcs.C (textHandleUndo): well after John's hint I got here
663 and fixed redoing of main paragraph, so we can use it now ;)
665 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
667 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
669 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
672 2001-12-13 André Pönitz <poenitz@gmx.net>
675 * undo_func.C: minor cleanup
677 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
679 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
680 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
681 font in urw-fonts package which is marked as -urw-fontspecific and
682 does not work (incidentally, changing the encoding in the
683 fonts.dir of this package to -adobe-fontspecific fixes the
686 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
687 is a crash when undoing first paragraph (Juergen, please take a
688 look). THis does not mean the undo fix is wrong, just that it
691 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
692 the (Paragraph*) version when needed instead of duplicating the
695 * text.C (workWidth): use Inset::parOwner to find out where the
696 inset has been inserted. This is a huge performance gain for large
697 documents with lots of insets. If Inset::parOwner is not set, fall
698 back on the brute force method
700 * paragraph_pimpl.C (insertInset):
701 * paragraph.C (Paragraph):
702 (cutIntoMinibuffer): set parOwner of insets when
703 inserting/removing them
705 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
707 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
713 * mathed/formulabase.C:
714 * mathed/math_cursor.[Ch]:
715 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
718 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
720 * lyxlength.[Ch] (operator!=): new function
722 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
724 * text.C (workWidth): use Inset::parOwner to find out where the
725 inset has been inserted. This is a huge performance gain for large
726 documents with lots of insets. If Inset::parOwner is not set, fall
727 back on the brute force method
729 * paragraph_pimpl.C (insertInset):
730 * paragraph.C (Paragraph):
731 (cutIntoMinibuffer): set parOwner of insets when
732 inserting/removing them
734 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
736 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
738 * tabular-old.C (getTokenValue):
739 * tabular.C (getTokenValue):
740 (write_attribute): new versions for LyXLength
741 (everywhere): adjust the use of widths
743 * tabular.h: change the type of widths from string to LyXLength
745 2001-12-11 Ben Stanley <bds02@uow.edu.au>
747 * paragraph.C: fixed missing line number count when exporting
748 Environments to LaTeX file
750 * buffer.C: added informational message for checking line numbers.
752 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
754 * text2.C (deleteEmptyParagraphMechanism): if there is only one
755 paragraph, do the 'double space' part, but not the 'empty
758 * text.C (workWidth): small optimization
759 (getLengthMarkerHeight): use minimal size for negative lengths.
761 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
763 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
765 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
767 2001-12-11 André Pönitz <poenitz@gmx.net>
770 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
772 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
774 * text2.C: keep selection on a setFont()
776 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
778 * lyx_cb.C: another bv->text misuse, from insert label
780 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
783 * kbsequence.C: re-instate nmodifier mask
785 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
787 * lyx_main.h: make lyxGUI private.
789 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
791 * lyxfind.C: place the cursor correctly on failed search
793 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
795 * text.C (getLengthMarkerHeight): for small heights, the arrows
796 are not always on top/bottom of the text
797 (drawLengthMarker): smaller arrows; take the left margin in
798 account; draw also vfills.
800 (paintLastRow): remove special code for vfill and standard spaces,
801 since everything is handled in drawLengthMarker now.
803 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
805 * buffer.C (insertErtContents): try to handle font and language
806 interaction a bit better.g
808 * ColorHandler.C (updateColor): change the hash to cover the whole
809 LColor enum, ws cleanup
810 (getGCLinepars): ditto
811 (getGCLinepars): only lookup in the linecache once.
813 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
815 * iterators.C (operator++): Make the iterator more robust
817 * BufferView2.C (removeAutoInsets): Use paragraph iterators
819 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
821 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
824 * text.C: better added space drawing
826 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
829 * BufferView2.C: fix layout combo update on inset unlock
831 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
833 * Makefile.am: don't compile unused files
835 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
839 * LyXAction.C: remove old LFUN_LAYOUTNO
841 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
844 * paragraph_pimpl.C: isTextAt() doesn't need font param
846 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
849 * lyxlex.C: little cleanup
851 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
853 * BufferView_pimpl.C: fix insertAscii for insets
855 2001-12-05 Juergen Vigna <jug@sad.it>
857 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
858 set the right font on the "multi" paragraph paste!
860 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
866 * lyxlength.C: remove out-commented code.
882 * vc-backend.C: change "while(" to "while ("
884 * lyxlength.[Ch]: add zero function to check if length is zero or
886 * lyxgluelength.C: use it
888 2001-12-05 Allan Rae <rae@lyx.org>
890 * lyxlength.C: Attempted a fix for the abs(int) header selection.
891 Works for 2.95.3, from what I understand of Garst's reports this should
892 work for other g++ versions. We're screwed if the abs(int) definition
893 changed between bugfix releases of gcc.
895 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
897 * text.C: fix chapter label offset !
899 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
902 * text.C: fix hfill at end of line, clean up
904 2001-12-04 Juergen Vigna <jug@sad.it>
906 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
907 that we force an update of the inset and it's owners if neccessary.
909 2001-12-03 Juergen Vigna <jug@sad.it>
911 * text.C (rowLast): simplified code
913 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
915 * lyxfunc.C: fix show options on timeout
917 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
919 * screen.C (topCursorVisible): scroll half a page when the cursor
920 reached top of bottom of screen
922 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
924 * minibuffer.C: deactivate on loss of focus
926 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
928 * vspace.[Ch] (operator!=): add operator.
930 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
932 * BufferView_pimpl.C: refuse to open an inset when
935 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
937 * BufferView_pimpl.C: allow to click on RHS of full row insets
939 2001-11-30 Juergen Vigna <jug@sad.it>
941 * tabular.C (LyXTabular): add a same_id to set the same id's in the
942 insets for undo reasons.
944 2001-11-28 André Pönitz <poenitz@gmx.net>
946 * vspace.[Ch]: cosmetical changes
948 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
958 * kbsequence.C: part re-write of old kb code
961 * WorkArea.C: remove Lgb_bug_find_hack
963 2001-11-30 José Matos <jamatos@fep.up.pt>
965 * buffer.C (makeDocBookFile): add a comment to point a hack.
966 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
967 Fixed a double write of labels.
969 2001-11-29 Ben Stanley <bds02@uow.edu.au>
972 * LaTeX.h Fixed bug in LaTeX class where it would not
973 re-run latex if no depfiles were changed, but the .dvi was removed.
975 2001-11-28 André Pönitz <poenitz@gmx.net>
977 * all the files from the change on 2001/11/26:
978 use lyx::layout_type instead of LyXTextClass::size_type
979 use lyx::textclass_type instead of LyXTextClassList::size_type
981 2001-11-29 Juergen Vigna <jug@sad.it>
983 * text.C: added support for paragraph::isFreeSpacing()
985 * buffer.C: same as above
987 * paragraph.h: inserted isFreeSpacing() function to enable
988 FreeSpacing inside InsetERT.
990 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
991 of the paragraph's in the cut/copy buffer to 0!
993 * text2.C (removeRow): remove the assert as it can!
995 * lyxtext.h: added helper function firstRow returning firstrow and
996 made firstrow private again.
998 * BufferView2.C (lockInset): don't relock if we're already locked!
1000 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1002 (removeRow): added Assert::(firstrow)
1004 * debug.C: forgot to add INSETTEXT here.
1006 2001-11-28 Juergen Vigna <jug@sad.it>
1008 * sp_spell.C (initialize): changed error text to more general
1009 spellchecker command use (not only ispell!)
1011 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1013 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1015 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1017 * vspace.C: initialise lyxgluelength on failure
1019 2001-11-28 Allan Rae <rae@lyx.org>
1021 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1022 declaration & definition that looks like a function declaration.
1024 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1026 * BufferView2.C (copy):
1027 (copyEnvironment): do not clear the selection when doing a copy.
1029 * text.C (paintFirstRow): compilation fix
1031 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1033 * tabular.C (Latex): correct line count when writing latex.
1035 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1037 * paragraph_pimpl.h:
1038 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1041 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1045 * LColor.C: change vfillline->added_space
1047 * text.C: add markers and text for added space
1049 * vspace.C: fix comment
1051 2001-11-28 André Pönitz <poenitz@gmx.net>
1053 * paragraph.C: whitespace changes
1054 * all the other files from the change on 2001/11/26:
1055 change *::pos_type into lyx::pos_type
1057 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1059 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1060 language of the document when inserting error insets.
1062 2001-11-26 André Pönitz <poenitz@gmx.net>
1064 * BufferView_pimpl.[Ch]:
1072 * paragraph_pimpl.[Ch]:
1075 * text2.C: reduce header dependencies, introduce type for positions
1077 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1079 * <various>: change to use Alert.h
1081 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1083 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1084 when encountering an unknown token.
1085 (readLyXformat2): Show an error message if there were unknown tokens.
1087 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1090 * BufferView_pimpl.C:
1094 * text2.C: use par->isInset()
1096 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1098 * paragraph_pimpl.h:
1099 * paragraph_pimpl.C: cleanup
1101 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1103 * text2.C (removeRow):
1104 * text.C (setHeightOfRow): remove useless (and costly) call to
1107 2001-11-20 Allan Rae <rae@lyx.org>
1109 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1110 Now need Inset*::checkInsertChar() to return true for appropriate
1111 cases so that the characters in the minibuffer will actually be
1114 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1116 * text.C: change the order of the includes.
1117 (workWidth): initialize it at once.
1118 (workWidth): make maxw unsigned
1119 (setHeightOfRow): remove unused variable (inset)
1120 (selectSelectedWord): remove unused variable (inset)
1121 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1123 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1125 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1126 server is not running.
1128 (closeConnection): add debug info when server is disabled.
1130 * ColorHandler.C (getGCForeground): send debug message to GUI
1133 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1135 * kbmap.C (bind): modify because return conventions of
1136 kb_sequence::parse have changed.
1138 * kbsequence.C (parse): only ignore spaces and not any stupid
1139 control character. This avoids tests like s[i] <= ' ', which are
1140 guaranteed to fail with 8bit characters and signed chars.
1141 Change return code to string::npos when there have been no error
1142 (0 was a bad idea when error is at first character)
1144 2001-11-14 José Matos <jamatos@fep.up.pt>
1147 * buffer.C (simpleDocBookOnePar): removed unused argument.
1149 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1151 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1152 insets which are part of a word. Paragraph::isLetter takes care of
1153 that now. Use Paragraph::isInset to identify insets.
1154 (selectSelectedWord): do not test for hyphenation break.
1156 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1157 that protected spaces are considered as spaces.
1159 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1162 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1165 * lyxserver.C: fix it. and small cleanup.
1167 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1169 * BufferView_pimpl.C: use inline helpers
1172 * LaTeXFeatures.C: fix typos
1175 * Spacing.C: move spacing_string into class
1177 * ToolbarDefaults.C: move stuff into namespace anon
1179 * layout.h: update enum
1181 * lyxfunc.C: use better debug
1183 * minibuffer.h: fix typo
1187 * WorkArea.C: add and use Debug::WORKAREA
1191 * text2.C: code re-organisation, inline helpers
1193 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1195 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1196 std::vector.empty().
1198 2001-11-09 Allan Rae <rae@lyx.org>
1200 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1201 '\n's after tables. Tabular and ERT inset work now makes this no
1204 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1207 * minibuffer.C: fix crash, improve drop-down completion
1209 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1212 * lyxserver.C: invalidate fd's when doing endPipe()
1214 2001-11-08 José Matos <jamatos@fep.up.pt>
1216 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1217 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1220 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1222 2001-11-07 José Matos <jamatos@fep.up.pt>
1225 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1228 * buffer.C (sgmlOpenTag):
1229 * buffer.C (sgmlCloseTag): removed debug info.
1231 * buffer.h (sgmlOpenTag):
1232 * buffer.h (sgmlCloseTag): made public.
1234 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1236 * buffer.C (saveParamsAsDefaults):
1237 * lyx_cb.C (MenuLayoutSave): remove
1239 * LyXAction.C (init):
1241 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1243 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1245 * buffer.C (setPaperStuff): removed from here...
1247 * bufferparams.C (setPaperStuff): ... and moved there.
1249 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1253 * XFormsView.C: add support for drop-down completion
1255 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1257 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1260 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1262 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1265 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1267 * lyx_main.C: change ref to known bugs
1269 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1271 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1272 to work around older babel problems.
1274 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1276 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1278 2001-10-24 Juergen Vigna <jug@sad.it>
1280 * tabular-old.C (ReadOld): below variable changes reflected.
1282 * tabular.[Ch]: added ltType struct for longtable header/footer
1283 defines and changed all instances where they are used. Added
1284 future support for double top/bottom rows.
1286 2001-10-24 José Matos <jamatos@fep.up.pt>
1288 * buffer.h (docbookHandleCaption):
1289 * buffer.C (docbookHandleCaption): removed unused function.
1290 (makeDocBookFile): moved docbook supported version to v4.1.
1292 2001-10-24 José Matos <jamatos@fep.up.pt>
1295 * tabular.C (docbookRow): new function to export docbook code of a row.
1296 (DocBook): now honors the longtable flags.
1298 2001-10-23 José Matos <jamatos@fep.up.pt>
1301 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1302 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1304 * buffer.C (makeLinuxDocFile):
1305 (makeDocBookFile): reworked the preamble, more clean, and with
1306 support for lyx defined entities. Changed the document declaration
1307 to be more XML friendly.
1309 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1310 if we need to output XML that should be done with a filter.
1312 2001-10-22 Juergen Vigna <jug@sad.it>
1314 * sp_pspell.h (class PSpell): add alive function needed in the
1315 controller to see if the spellchecker could be started.
1317 2001-10-22 Juergen Vigna <jug@sad.it>
1319 * buffer.C (insertStringAsLines): modify the font for inserting
1320 chars in certain conditions by calling checkInsertChar(font).
1322 2001-10-19 Juergen Vigna <jug@sad.it>
1324 * text.C (workWidth): use getRow instead of wrong algorithm.
1325 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1327 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1332 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1334 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1336 * text.C (workWidth): do not search for the exact row when
1337 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1338 optimization for big documents.
1340 2001-10-18 Juergen Vigna <jug@sad.it>
1342 * text.C (workWidth): new function with added Inset * parameter.
1344 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1346 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1348 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1349 change return type of getColumnNearX.
1352 * text.C (changeRegionCase): use uppercase/lowercase instead of
1355 (rightMargin): simplify code by factoring out the uses of
1360 (appendParagraph): use Paragraph::size_type
1362 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1364 * vspace.C (asLatexString): add a missing break
1366 2001-10-15 Herbert Voss <voss@perce.de>
1368 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1370 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1372 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1375 2001-10-10 André Pönitz <poenitz@gmx.net>
1377 * lyxfunc.C: removed greek_kb_flag.
1379 2001-10-10 Herbert Voss <voss@perce.de>
1381 * lyx_main.C: delete global string help_lyxdir.
1383 2001-10-09 Herbert Voss <voss@perce.de>
1385 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1387 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1389 * lyx_main.C: added global string help_lyxdir.
1391 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1393 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1395 * lyxrc.C (set_font_norm_type): support iso8859-4
1397 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1399 * LaTeX.C (deplog): add another regex for MikTeX
1401 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1403 * lyxrc.C (set_font_norm_type): support iso8859-3
1405 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1407 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1409 * LaTeXFeatures.C: remove special case of french and index
1411 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1412 before \begin{document}). This solves several incompatibilities.
1414 2001-10-03 Garst Reese <reese@isn.net>
1416 * lyx_cb.C: change CheckTex error msg.
1418 2001-10-03 José Matos <jamatos@fep.up.pt>
1420 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1422 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1424 * .cvsignore: update
1426 * lyx_main.C (commandLineVersionInfo): use new style version info.
1428 * buffer.C (writeFile):
1431 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1433 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1435 * version.h: update to use stuff in version.C
1437 * version.C.in: new file. Contains version information determined
1438 at compile time. This is a merging of version.h and
1441 2001-10-03 Juergen Vigna <jug@sad.it>
1443 * BufferView_pimpl.C (update): don't change "dirty" status in
1446 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
1448 * WorkArea.C (c-tor): re-position version string slightly.
1450 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
1452 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1453 revert to previous code.
1455 WorkArea.[Ch]: (show, destroySplash): methods removed.
1457 WorkArea.C: rework code so that it's an amalgam of the codes before and
1458 after the splash screen was moved to WorkArea.
1460 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1463 * vspace.C (inPixels):
1466 * buffer.C (insertStringAsLines):
1467 (asciiParagraph): fix types to be large enough
1469 * lyxlex_pimpl.h: change member status from short to int
1471 * layout.h: fix type of endlabeltype
1474 * kbsequence.C (parse): change return type to string::size_type
1476 * LaTeX.C (updateBibtexDependencies): comment out unneeded
1479 * Bullet.C (bulletSize):
1480 (bulletEntry): do not use short ints as parameters
1482 * BufferView2.C (insertLyXFile): change a char to an int.
1484 * WorkArea.C (WorkArea): remove unneeded floats in computation
1486 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
1488 * buffer.C (asciiParagraph): Treat '\\' as other chars.
1490 * paragraph.C (asString): Do not ignore newline/hfill chars when
1491 copying to the clipboard.
1493 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
1495 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1496 after a multi-line inset.
1498 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1500 * paragraph.C (validate): Set NeedLyXFootnoteCode
1502 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1504 * lyxfont.C (LyXSizeNames): changed increase-error to increase
1505 and decrease-error to decrease.
1507 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1509 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
1510 it more readable (should be equivalent)
1512 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
1514 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
1516 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1518 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
1519 of a cursor (row, etc.) after a character has been deleted
1520 (deleteEmptyParagraphMechanism): call the method above on _all_
1521 cursors held by the LyXText when a double space has been
1524 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1526 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
1528 (resizeCurrentBuff): remove code to destroy the old splash dialog.
1530 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
1531 background. Use greyOut() and the new show() methods to toggle between
1532 the foreground and background. Add code to remove the splash after
1533 its initial showing.
1535 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
1536 (create_forms): no longer call Dialogs::showSplash.
1538 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1540 * .cvsignore: add version_info.h
1542 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1544 * version_info.h.in: new file
1546 * Makefile.am: add version_info.h.in
1548 * lyx_main.C (commandLineVersionInfo): use version_info defined in
1549 version_info.h instead of VERSION_INFO
1551 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1553 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1554 The ERT inset now returns string().
1556 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1558 * lyxtext.h, text.C (selectNextWord): renamed as
1559 selectNextWordToSpellcheck.
1561 * text.C (selectNextWordToSpellcheck): Modified to not select
1562 words inside an ERT inset.
1564 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1566 * lyx_cb.C (MenuLayoutSave): change a bit the question
1568 * sp_base.h: include <sys/types.h>
1570 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1572 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1574 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
1576 * several files: fix typos in user-visible strings
1578 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1580 * text2.C (pasteSelection): do not set the selection, since it
1581 will be cleared later. Actually, the intent was to fix the way the
1582 selection was set, but I figured rmoving the code was just as good.
1584 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
1586 * FontLoader.C (available): Check if font is available without
1589 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1591 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1593 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1595 * lyxrc.[Ch]: added display_graphics variable and associated code.
1597 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1599 * bufferparams.C (hasClassDefaults): new method. Returns true if
1600 the buffer parameters correspond to known class defaults
1602 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
1604 * XFormsView.C (show): set minimum size to the main window.
1606 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1608 * text2.C (copySelection):
1610 * lyxfind.C (LyXReplace):
1611 * BufferView_pimpl.C (Dispatch): pass the correct flag to
1612 LyXText::selectionAsString.
1614 * paragraph.C (asString): add "label" argument to the second form
1616 * text2.C (selectionAsString): add "label" argument and pass it to
1617 Paragraph::asString.
1619 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1621 * lyx_main.C (commandLineHelp): remove version information
1623 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
1625 * lyx_main.C: add -version commandline option
1627 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1629 * paragraph.h: make the optional constructor arg required instead.
1630 some modifications to other files because of this.
1632 * minibuffer.C (C_MiniBuffer_peek_event): make it static
1634 * lyxserver.C (C_LyXComm_callback): make it static
1636 * lyx_main.C (error_handler): make it static
1638 * lyx_gui.C (LyX_XErrHandler): make it static
1640 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1642 * WorkArea.C: make the extern "C" methods static.
1644 * Makefile.am (lyx_LDADD): simplify
1646 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1648 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1649 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1651 * LyXAction.C (init):
1652 * lyxfunc.C (dispatch): associated code removal.
1654 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1656 * lyxfont.h (isSymbolFont): shut off warning
1658 * text.C (setHeightOfRow):
1659 (getVisibleRow): fix crash with empty paragraphs which have a
1662 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1664 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1667 2001-09-04 José Matos <jamatos@fep.up.pt>
1670 * tabular.C (docbook): rename docBook method to docbook.
1672 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1674 * Makefile.am: add dependencies to main.o.
1676 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
1678 * FontLoader.C (available): Return false if !lyxrc.use_gui
1680 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
1682 * FontInfo.C (query):
1683 * converter.C (view):
1684 * importer.C (Import):
1685 * exporter.C (Export): Can not -> cannot.
1687 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1689 * BufferView_pimpl.C: allow to create index inset even if
1692 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1694 * buffer.C (getLists): replace boost::tie code with an explicit pair
1695 as boost::tie can break some compilers.
1697 * iterators.h: Added a std:: declaration to the return type of
1700 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1702 * lyxrc.C: add help for view_dvi_paper_option, default to safe
1705 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1707 * iterators.[Ch]: New files. Provide paragraph iterators.
1709 * buffer.C (changeLanguage): Use paragraph iterators.
1710 (isMultiLingual): ditto
1712 * BufferView2.C (ChangeInsets): Use paragraph iterators.
1714 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
1716 * FontLoader.C: Support for cmr font.
1718 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
1720 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1721 (available): New method.
1723 * FontInfo.C (getFontname): Use scalable fonts even when
1724 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1727 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1729 * converter.C (Formats::view): reverted! Incorrect fix.
1731 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1733 * converter.C (Formats::view): only output the -paper option
1734 if the dvi viewer is xdvi, thereby fixing bug #233429.
1736 2001-08-23 Herbert Voss <voss@perce>
1738 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1740 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1742 * Spacing.h (Spacing): Set space to Default on in the default
1745 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
1747 * vc-backend.h (RCS::versionString): add RCS to version
1748 (CVS::versionString): add CVS to version
1750 * vc-backend.C (scanMaster): do not add CVS to version.
1751 (scanMaster): do not add RCS to version
1753 * lyxvc.C (versionString): new method
1755 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1757 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1759 * Spacing.C (set): initialize fval
1761 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
1763 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1766 2001-08-16 Juergen Vigna <jug@sad.it>
1768 * lyxfunc.C (dispatch): implemented the new FINISHED states.
1770 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1772 * BufferView_pimpl.C:
1775 * text2.C: setParagraph takes linespacing now
1777 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1779 * LyxAction.C: add internal LFUN_CITATION_INSERT
1781 * LyXView.C: actually apply fix
1783 * bufferlist.C: fix open non-existent file
1785 * lyxfind.C: fix indentation
1787 * lyxfunc.C: remove unneeded assert, fix typo
1789 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1791 * MenuBackend.C: use "Floatname List"
1793 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1795 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1796 when converting LaTeX layout to insetERT.
1797 Generate a non-collapsed float when reading old float
1799 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1801 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1804 2001-08-13 Juergen Vigna <jug@sad.it>
1806 * text.C (fill): return 0 instead of 20 as this seems to be the more
1809 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1811 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1814 2001-08-13 Juergen Vigna <jug@sad.it>
1816 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1818 (SearchBackward): comment out the unlocking of the inset_owner this
1819 should not be needed!
1821 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1823 * Many files: Remove inherit_language, and add latex_language
1825 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1828 2001-08-10 Juergen Vigna <jug@sad.it>
1830 * text.C (prepareToPrint): fixed hfill-width in draw!
1832 * BufferView2.C (selectLastWord): save the selection cursor as this
1833 now is cleared in the function LyXText::clearSelection!
1835 2001-08-08 Juergen Vigna <jug@sad.it>
1837 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1838 BACKSPACE type functions.
1840 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1841 is only cutted from the document but not put in the cut-buffer, where
1842 still the old stuff should be.
1844 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1846 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1848 * tabular.C (SetWidthOfCell): fixed special case where the width
1850 (LeftLine): handle '|' in align_special.
1852 (LeftAlreadyDrawed): ditto
1853 (SetWidthOfCell): ditto
1855 2001-08-07 Juergen Vigna <jug@sad.it>
1857 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1859 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1861 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1862 * lyxlex.[hC]: ditto
1864 2001-08-06 Juergen Vigna <jug@sad.it>
1866 * text.C (getVisibleRow): fix up row clearing a bit.
1868 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1870 * minibuffer.C: make sure the X server sees the changes in the input.
1872 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1874 * paragraph.C (getFont): split into...
1875 (getLabelFont): this
1876 (getLayoutFont): and this
1877 * paragraph_pimpl.C (realizeFont): calling this
1879 * text2.C (getFont): split into...
1880 (getLayoutFont): this
1881 (getLabelFont): and this
1882 (realizeFont): all three calling this
1884 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1887 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1889 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1891 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
1893 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1894 layouts from the Quote inset insertion.
1896 2001-08-03 Juergen Vigna <jug@sad.it>
1898 * BufferView_pimpl.C (update): do the fitCursor only at the end!
1900 * screen.C (drawFromTo): don't call fitcursor here and do the loop
1901 only if status not is already CHANGED_IN_DRAW (second level).
1903 * text.C (draw): don't set the need_break_row when inside an
1906 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1908 * buffer.C (parseSingleLyXformat2Token): handle more latex
1911 * bufferview_funcs.[hC]: change function names to
1912 begin with small char, adjust other files.
1914 2001-08-02 André Pönitz <poenitz@gmx.net>
1917 BufferView_pimpl.C: remove broken special code for math-greek
1919 2001-08-02 Juergen Vigna <jug@sad.it>
1921 * BufferView_pimpl.C (update): redone this function so that we
1922 update the text again if there was a CHANGE_IN_DRAW.
1924 * screen.C (cursorToggle): removed LyXText parameter and recoded.
1925 (drawFromTo): added a new internal bool which is used by draw() and
1927 (general): some cursor drawing problems fixed.
1929 2001-08-01 Juergen Vigna <jug@sad.it>
1931 * lyxfind.C (LyXFind): fixed
1932 (SearchForward): ditto
1933 (SearchBackward): ditto
1935 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1936 spurius drawing of the cursor in the main area.
1938 * text2.C (status): small fix which could lead to a segfault!
1939 (clearSelection): remove unneeded BufferView param.
1941 2001-08-01 André Pönitz <poenitz@gmx.net>
1943 * lyxfunc.C: small change due to changed mathed interface
1945 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1947 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1949 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1951 * lyxfunc.c: fail gracefully if file doesn't exist
1956 * BufferView_pimpl.C: IsDirWriteable() proto changed
1958 * LyXView.C: fix updateWindowTitle() to store the last title
1960 2001-07-31 Juergen Vigna <jug@sad.it>
1962 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1963 the font (wrong since using of Paragraph::highestFontInRange).
1965 * paragraph.C (highestFontInRange): added a default_size parameter.
1967 * text.C (getVisibleRow): minor clear row changes (still not perfect).
1968 (setHeightOfRow): reformat
1970 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1972 * converter.[hC] + affected files: move to (inital-char)lowercase
1975 * ParagraphParameters.C (ParagraphParameters): remove commented code
1977 * PainterBase.[Ch]: remove commented code
1979 * LaTeXFeatures.h: add "bool floats" for float.sty
1981 * LaTeXFeatures.C (LaTeXFeatures): init floats
1982 (require): handle float
1983 (getPackages): do it with floats
1985 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1987 * BufferView_pimpl.C (Dispatch): improve handling of
1988 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1990 * commandtags.h: #include lyxfont.h here temporarily to avoid
1993 * bufferlist.h: include LString.h here.
1995 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1997 * text2.C (getStringToIndex): new method.
1999 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2001 * *: Reduced header file dependencies all over.
2003 2001-07-30 Baruch Even <baruch@lyx.org>
2005 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2007 2001-07-29 Baruch Even <baruch@lyx.org>
2009 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2011 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2013 * ParameterStruct.h (endif): add a default constructor to make
2014 sure that all variables is initialized.
2016 * ParagraphParameters.C (ParagraphParameters): adjust
2018 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2020 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2021 index; also, check that there is something to index, and that it
2022 does not span over several paragraphs.
2023 (doubleClick): use WHOLE_WORD_STRICT for double click.
2025 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2027 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2030 2001-07-26 Baruch Even <baruch@lyx.org>
2032 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2033 an InsetFig figure, backwards compatible reading of old figure code.
2035 2001-07-27 Juergen Vigna <jug@sad.it>
2037 * text2.C: font.realize function adaption.
2039 * text.C (draw): add a warnings lyxerr text if needed.
2041 * layout.C: font.realize function adaption.
2043 * language.C: add inherit_language and implement it's handlings
2045 * bufferview_funcs.C (StyleReset): remove language parameter from
2046 font creation (should be language_inherit now).
2048 * bufferparams.C (writeFile): handle ignore_language.
2050 * paragraph.C (getFontSettings): the language has to be resolved
2051 otherwise we have problems in LyXFont!
2053 * lyxfont.C (lyxWriteChanges): added document_language parameter
2054 (update): removed unneeded language parameter
2056 * paragraph.C (validate): fixed wrong output of color-package when
2057 using interface colors for certain fonts in certain environments,
2058 which should not seen as that on the final output.
2060 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2062 * BufferView_pimpl.C:
2067 * LyXAction.C: add thesaurus support
2070 * lyxfind.C: add "once" parameter, for thesaurus, to not
2071 move to the next match
2073 2001-07-26 Juergen Vigna <jug@sad.it>
2075 * lyxfont.C (realize): honor ignore_language too!
2078 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2080 * text.C (draw): one place more for ignore_language to not draw
2083 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2085 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2087 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2089 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2090 the minipage conversion problem.
2092 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2094 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2097 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2099 * BufferView.h: don't forward declare WorkArea
2101 * BufferView.C: don't include WorkArea.h
2103 2001-07-25 André Pönitz <poenitz@gmx.net>
2107 * lyxfunc.C: new LFUN 'math-space'
2109 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2111 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2113 * text2.C (toggleInset): call open/close
2115 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2117 * lyxfunc.C (dispatch): add debug for the disabled case
2119 * font.C (buttonText): make similar to rectText
2121 * buffer.C (readInset): comment out parsing of insetlist and
2124 * PainterBase.C (rectText): small correction
2126 * BufferView_pimpl.C: comment out insettheorem and insetlist
2127 * LyXAction.C: ditto
2128 * commandtags.h: ditto
2130 2001-07-24 Juergen Vigna <jug@sad.it>
2132 * text.C (draw): honor the ignore_language.
2134 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2136 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2138 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2141 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * lyxtext.h: remove unused (and unimplemented) methods
2145 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2147 * text.C (getVisibleRow): honor background color
2150 * Painter.h: remove default color argument for fillRectangle
2152 * text.C (backgroundColor): new method
2154 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2156 * text.C (getVisibleRow): adjust
2158 * font.[Ch] (rectText): new method, metrics
2159 (buttonText): new method, metrics
2161 * PainterBase.[hC]: make rectText and buttonText always draw and take
2164 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2166 * ToolbarDefaults.C (read):
2167 * MenuBackend.C (read): allow escaping in all strings
2169 * BufferView_pimpl.C (insertAndEditInset): new method.
2170 (Dispatch): use insertAndEditInset whenever appropriate.
2172 * BufferView_pimpl.C (insertNote): removed
2174 * BufferView_pimpl.C (smartQuote): new method, moved from
2175 BufferView; if an insetquote cannot be inserted, insert a '"'
2178 * BufferView2.C: remove insertCorrectQuote();
2180 * lyxfunc.C (getStatus): Add support for all remaingin
2183 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2185 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2186 command (necessary to pass " as parameter of self-insert.
2188 * text.C (selectWordWhenUnderCursor):
2189 (selectWord): add word_location parameter
2190 (selectWordWhenUnderCursor): same + remove special code for word
2192 (selectNextWord): use kind() to guess type of insetspecialchar,
2195 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2196 (insertErtContents): create ert insets as collapsed.
2197 (readInset): better compatibility code for Info inset.
2199 2001-07-20 Juergen Vigna <jug@sad.it>
2201 * lyxfunc.C (dispatch): use always LyXFind now!
2203 * text2.C (init): add a reinit flag so that the LyXText can be
2204 reinited instead of deleted and reallocated (used in InsetText).
2206 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2212 2001-07-18 Juergen Vigna <jug@sad.it>
2214 * text.C (selectNextWord): handle insets inside inset by calling
2215 always the bv->text functions so that we can go up the_locking_inset!
2217 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2218 in strange locations when inside an inset!
2220 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2221 handling to include insets.
2223 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2225 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2227 * LyXAction.C (init):
2229 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2230 LIGATURE_BREAK, since the name is so stupid.
2232 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2234 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2237 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2239 * sp_form.[Ch]: remove.
2241 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2243 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2246 * src/buffer.C (readInset): ditto.
2248 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2251 menuSeparator(), endOfSentenceDot(), ldots() and
2252 hyphenationPoint(), which are therefore removed.
2253 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2255 * LyXAction.C (init):
2256 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2258 * paragraph.C (getWord): removed.
2260 * BufferView_pimpl.C (Dispatch): use last word or selection for
2261 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2263 * lyx_main.C (queryUserLyXDir): do not ask before creating
2264 user_dir, except if it has been named explicitely.
2266 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2268 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2269 a document of zero size.
2271 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2273 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2274 approriately in the c-tor and in require().
2275 (getPackages): output the appropriate LaTeX for natbib support.
2277 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2278 variables "use_natbib" and "use_numerical_citations" when reading the
2280 (readInset): read the various natbib cite commands.
2281 (validate): white-space change.
2283 * bufferparams.[Ch]: new variables "bool use_natbib" and
2284 "bool use_numerical_citations".
2285 (writeFile): output them in the LyX file.
2287 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2289 * lyxfunc.C (getStatus): add support for all the inset insertion
2292 * text2.C (insertInset):
2293 * paragraph.C (insetAllowed):
2294 * BufferView_pimpl.C (insertInset): update to take in account the
2295 renaming of insertInsetAllowed
2297 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2299 * text2.C (getInset): new method. returns inset at cursor position.
2301 * BufferView_pimpl.C (Dispatch): changes because of this.
2303 * LyXAction.C (init): rename open-stuff to inset-toggle.
2305 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2307 * text2.C (toggleInset): renamed from openStuff; use
2310 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2312 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2314 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2316 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2318 * buffer.C (readLyXformat2): Add filename to the error dialog
2320 2001-07-18 Juergen Vigna <jug@sad.it>
2322 * tabular.C (GetCellNumber): put an assert here instead of the check!
2324 2001-07-17 Juergen Vigna <jug@sad.it>
2326 * BufferView_pimpl.C (toggleSelection): adapted too.
2328 * text.C (selectNextWord): adapted for use with insets.
2329 (selectSelectedWord): ditto
2331 2001-07-17 Juergen Vigna <jug@sad.it>
2333 * sp_spell.C (PSpell): fix initialitation order.
2335 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2337 * paragraph.C: spacing
2339 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2341 * sp_spell.C: repair language selection for pspell
2343 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2345 * lyxfunc.h: change more methods to begin with lower char.
2347 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2349 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2350 for unknown layouts.
2352 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2354 * buffer.C (readLyXformat2): Generate an error dialog if there are
2357 2001-07-16 Juergen Vigna <jug@sad.it>
2359 * sp_spell.C: always compile ISpell part.
2361 * lyxrc.C: added use_pspell entry and it's handling.
2363 2001-07-13 Juergen Vigna <jug@sad.it>
2365 * sp_spell.C: removed double includes.
2367 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2369 Consistent use of Lsstream.h:
2370 * Lsstream.h: added using std::stringstream for consistencies sake.
2372 * buffer.C: removed using std::stringstream
2374 * lyxfont.C (stateText):
2375 * paragraph.C (asString):
2376 * text.C (selectNextWord, selectSelectedWord):
2377 * text2.C (setCounter):
2378 * vspace.C (asString, asLatexString):
2379 std::ostringstream -> ostringstream.
2381 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2383 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2384 * commandtags.h: add LFUN_HELP_ABOUTLYX
2385 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2387 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2389 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2391 * lyx_gui_misc.C: remove spellchecker
2392 * lyxfunc.C: showSpellchecker
2394 * sp_ispell.h: added
2395 * sp_pspell.h: added
2397 * sp_form.[Ch]: removed
2398 * spellchecker.[Ch]: removed
2400 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2402 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2404 (simpleTeXSpecialChars): Simply print the input character without
2405 any special translation if pass_thru is set.
2407 * layout.h: Added bool pass_thru to layout class for being able to
2408 implement pass through of a paragraph for Literate Programming.
2410 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2411 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2412 * layout.C (Read): add "passthru" to list of layout tags and add
2413 code to set the pass_thru boolean when it is read.
2415 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2417 * trans_decl.h: remove allowed from KmodInfo
2419 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2423 * paragraph_pimpl.C (erase): use boost::prior
2425 * Painter.C (text): use data() instead of c_str() when length is
2427 * WorkArea.C (putClipboard): ditto
2428 * font.h (width): ditto
2430 * BufferView2.C: use it-> instead of (*it). for iterators
2432 * paragraph_pimpl.C: ditto
2433 * paragraph.C: ditto
2434 * minibuffer.C: ditto
2439 * converter.C: ditto
2441 * Variables.C: ditto
2442 * TextCache.C: ditto
2443 * MenuBackend.C: ditto
2444 * LyXAction.C: ditto
2446 * FloatList.C: ditto
2448 * ColorHandler.C (LyXColorHandler): ditto
2450 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2452 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2454 * text2.C (openStuff): reintroduce this method (which had been
2455 nuked in NEW_INSETS frenzy).
2457 * lyxfunc.C (Dispatch): when an action has not been handled, use
2458 its name in the error message, not its number.
2460 * paragraph.C (inInset): change method name to begin with lowercase.
2463 * text2.C: updates because of this.
2465 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2467 * ToolbarDefaults.C (add): add spaces in error message
2469 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2471 * buffer.C (readLyXformat2): initialize the ert comp. variables.
2472 (readLyXformat2): rename return_par to first_par, use lyxlex's
2473 pushToken and remove the manual push handling.
2474 (parseSingleLyXformat2Token): add another ert comp. variable:
2475 in_tabular, rename return_par to first_par. handle newlines better
2477 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2479 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2481 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2483 * text2.C (getParFromID): removed
2485 * buffer.C (getParFromID): new method moved form lyxtext.
2486 * BufferView2.C (insertErrors): adjust
2487 (setCursorFromRow): adjust
2488 * BufferView_pimpl.C (restorePosition): adjust
2489 * lyxfunc.C (Dispatch): adjust
2490 * undo_funcs.C (textUndo): adjust
2492 (textHandleUndo): adjust
2493 (textHandleUndo): adjust
2495 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2497 * buffer.C: up' the LYX_FORMAT
2499 * lyxfont.h: turn NO_LATEX on as default
2501 * buffer.C (insertErtContents): new methods of tex style compability.
2502 (parseSingleLyXformat2Token): use it several places.
2503 * tabular.C (OldFormatRead): and here
2505 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2507 * text2.C: remove some commented code.
2510 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
2511 * trans.C: changes because of the above.
2513 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
2515 * text2.C (setCounter): Fix counters bug with bibliography layout.
2517 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2519 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
2520 own member functions
2521 (simpleTeXSpecialChars): ditto
2523 2001-07-06 Juergen Vigna <jug@sad.it>
2525 * a lot of files: changed the access to LyXText::status and the
2526 call of undo-functions.
2528 * undo.[Ch]: added a inset_id to the undo informations.
2530 * undo_funcs.[Ch]: added and moved here all undo functions.
2532 * lyxtext.h: give the status enum a weight, made status_ a private
2533 variable and made accessor functions for it, removed the whole bunch
2534 of undo-functions as they are now in their own file, make some
2535 functions publically available. Added function ownerParagraph with
2538 * paragraph.[Ch]: added "bool same_ids" to the constructor,
2539 made InInset() a const function, added getParFromID() function.
2541 * buffer.[Ch]: added const version for inset_iterator functions,
2542 added getInsetFromID() function.
2544 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2545 changed undo functions for new version.
2547 2001-07-05 Juergen Vigna <jug@sad.it>
2549 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2550 unknow mechanism does not call the proper constructor but only this
2551 one also if I request the other!?
2553 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2555 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2557 * text2.C (LyXText): use initialization lists.
2559 * lyxtext.h (Selection): initialize set_ and mark_
2560 (init): remove method
2562 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
2564 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2566 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2568 * screen.[Ch]: change method names to begin with lowercase
2570 * BufferView_pimpl.C (updateScrollbar): simplify further and
2571 hopefully make it a bit faster.
2573 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2575 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2576 calling directly xforms functions.
2578 * Painter.C (Painter):
2579 * lyx_cb.C (MenuWrite):
2580 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2583 * lyx_gui.C: remove bogus guiruntime extern declaration.
2585 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2587 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2589 (redoDrawingOfParagraph): ditto
2590 (redoParagraphs): ditto
2591 (cutSelection): don't create a object for CutAndPaste use the
2592 static method directly
2593 (pasteSelection): ditto
2595 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2598 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2600 * modifications to some other files because of this.
2602 * Makefile.am (lyx_SOURCES): add XFormsView
2604 * XFormsView.[Ch]: new files
2606 * LyXView.[Ch]: make LyXView a base class for the gui handling for
2607 the main window. Move the gui dependent stuff to XFormsView
2609 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2611 * tabular.C (GetCellInset): update cur_cell also in the row/col
2612 version of this function.
2614 * lyxfunc.C: no need to include figure_form.h here.
2620 * lyxvc.C: no need to include forms.h here.
2622 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2624 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2626 * lyxfunc.C (Dispatch):
2628 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2629 constructor argument.
2631 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2633 * paragraph.C (Paragraph): dont't clear, and just set layout.
2634 (makeSameLayout): use params's copy contructor.
2636 * ParagraphParameters.[Ch] (makeSame): delete method
2638 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2640 * Variables.[Ch]: fix indentation, rename set to isSet
2642 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2644 * lyxfunc.C (Dispatch): fix typo
2646 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2648 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2651 * bufferlist.C: include assert.h for emergencyWrite().
2653 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2655 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2656 give up at last (bug #425202) !
2658 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
2664 * spellchecker.C: strip spellchecker options and bring up
2665 preferences tab instead
2667 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2669 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2670 the istringstream constructor
2672 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2674 * paragraph.C (getLayout): fix return value
2676 * paragraph.h: do not declare getLayout as inline.
2678 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2680 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2682 * lyxcursor.h (operator<): new func
2683 (operator>): new func
2684 (operator>=): new func
2685 (operator<=): new func
2687 * text.C (changeCase): use selection.start and selection.end
2688 (changeRegionCase): require from to be <= to. Require par to be a
2691 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2693 2001-06-27 Juergen Vigna <jug@sad.it>
2695 * text.C (cursorLeftOneWord): changed to return the cursor and added
2696 overlay with BufferView * parameter which calls this one.
2698 (selectWord): use new getWord function.
2699 (changeCase): renamed from changeWordCase as and extended to work
2702 * lyxtext.h: added enum word_location
2704 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2705 changeCase as this operates now also on selections.
2707 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2709 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2711 * many files: send debug output to Debug::INFO instead of
2714 * converter.C (View):
2716 (Move): send debug output to Debug::FILES instead of console.
2718 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2720 * lyxfunc.C (getStatus): use func_status
2722 * func_status.h: new header, describing the results of
2725 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2728 2001-06-25 The LyX Project <jug@sad.it>
2730 * buffer.C (sgmlOpenTag):
2732 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
2734 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2736 * text2.C: remove some dead code
2738 * tabular.C (GetCellInset): store the last cell checked (gotten)
2740 * tabular.h: add the helper for the speedup
2742 * lyxtext.h: remove some dead code
2744 2001-06-26 The LyX Project <Asger>
2746 * paragraph.C: Change export to LaTeX of alignment to
2747 \begin{center} and family for better roundtrip work with reLyX.
2749 * Tune the math drawing a bit.
2751 2001-06-25 The LyX Project <Asger>
2753 * LColor.C (LColor): New color for math background. New color
2756 2001-06-25 The LyX Project <jug@sad.it>
2758 * lyxfunc.C (MenuNew): remove extra check for .lyx file
2761 * bufferlist.C (newFile): do not restrict to files ending with
2764 * BufferView_pimpl.C (MenuInsertLyXFile):
2766 2001-06-24 The LyX Project <jug@sad.it>
2768 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2771 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2773 * lyxtext.h: rename most methods to begin with a small char.
2774 Lots of changes because of this.
2776 * paragraph.C (Paragraph): do not call fitToSize
2777 (erase): call Pimpl::erase
2778 (insertChar): call Pimpl::insertChar
2779 (insertInset): call Pipl::insertInset
2780 (breakParagraph): do not call fitToSize
2781 (breakParagraphConservative): do not call fitToSize
2782 (fitToSize): remove method
2784 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2786 2001-06-24 The LyX Project <Asger>
2788 * Fix Qt compilation^2
2790 2001-06-24 The LyX Project <jug@sad.it>
2792 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2793 depthHook(getDepth()-1).
2796 * ParagraphParameters.h:
2797 * ParameterStruct.h: change type of depth to unsigned int ==
2798 depth_type. Many adaptations to other files before of that.
2800 2001-06-24 The LyX Project <Asger>
2802 * Fix Qt compilation.
2804 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2806 * paragraph.h: renamed several methods to begin with small letter.
2807 several changes to many parts of the code because of this.
2809 2001-06-23 The LyX Project <jug@sad.it>
2811 * text2.C (InsertStringAsLines): renamed from InsertStringA;
2812 rewritten to discard all double spaces when KeepEmpty is off
2813 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2814 to only handle newlines but not fiddle with spaces and friends.
2816 * lyxfunc.C (MenuNew): when doing 'new from template', use
2817 template_path as default directory
2819 2001-06-23 The LyX Project <Asger>
2821 * Clean-up of header file includes all over
2822 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2824 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2826 * paragraph.h: renamed from lyxparagraph.h
2828 2001-06-23 Asger <lyx@violet.home.sad.it>
2830 * Buffer.h: Removed Buffer::resize
2831 * BufferList.h: Removed BufferList::resize
2832 * LyXView.h: Added LyXView::resize. This way, we will only reflow
2833 the document lazily when we change the width, or the font settings.
2835 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2837 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2839 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2841 * buffer.h: remove out of date comment
2843 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2846 * screen.C: fix "theoretical" GC leak
2848 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2850 * LaTeX.C (scanAuxFile):
2851 (deplog): remove trailing \r when reading stream (useful under
2854 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2856 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2857 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2858 and BufferView::theLockingInset(Inset*), so should use them and not
2859 access bv_->text->the_locking_inset directly.
2861 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2863 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2866 * tex-defs.h: remove old unused file
2868 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
2870 * BufferView_pimpl.C: fix typo, remove minibuffer message
2871 when buffer has loaded
2873 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2875 * lyxfunc.C (Dispatch): use stringstream
2876 (MenuNew): use stringstream
2877 (Open): use stringstream
2879 * importer.C (Import): use stringstream
2881 * bufferview_funcs.C (CurrentState): use stringstream
2883 * LaTeX.C (run): use stringstream
2885 * BufferView_pimpl.C (savePosition): use stringstream
2886 (restorePosition): use stringstream
2887 (MenuInsertLyXFile): use stringstream
2889 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
2902 * vspace.C: removed // -*- C++ -*- as first line.
2905 * version.h: added // -*- C++ -*- as first line.
2907 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2909 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2911 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2914 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2916 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2919 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2921 * gettext.C: include LString.h even when --disable-nls is on.
2923 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2925 * converter.h (Get): changed argument type from int to
2926 FormatList::size_type to avoid unnecessary conversion.
2928 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
2931 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2933 * gettext.h: include LString.h even when --disable-nls is on.
2935 2001-06-07 Juergen Vigna <jug@sad.it>
2937 * text.C (BreakAgain): subst spaces with tabs.
2939 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2940 (resizeInsetsLyXText): set force on resizeLyXText.
2942 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2944 * gettext.h (gettext_init):
2945 (locale_init): use a real definition instead of a macro
2947 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2949 * Bufferview_pimpl.C:
2951 * LColor.C: further lcolor tidies
2953 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2955 * BufferView_pimpl.C (updateScrollbar): simplify.
2957 * BufferView2.C: don't include insets/insetinfo.h, change
2958 prototype for insertInset and call the Pimpl version. let
2959 updateInset call Pimpl version.
2961 * BufferView.h: move inset_slept to BufferView::Pimpl, move
2962 gotoInset to BufferView::Pimpl
2964 2001-06-01 Juergen Vigna <jug@sad.it>
2966 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2967 inside a LockingInset (is the update needed at all?).
2969 2001-05-31 Juergen Vigna <jug@sad.it>
2971 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2972 here not the old one otherwise how should we compare it afterwards
2975 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2980 * FontInfo.C: bring C functions into global namespace when
2983 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2985 * LString.h: make sure config.h has been loaded before LString.h.
2987 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2988 (one for each char read by EatLine!).
2990 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2993 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2995 * paragraph.C (BreakParagraph): set the inset_owner in the new par
2996 to the same as the par we break from
2998 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3000 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3002 * MenuBackend.C (expand): also create menu entries for wide
3003 versions of the floats.
3005 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3007 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3009 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3010 frontends/Makefile.am
3016 * tabular.C (getTokenValue): add std::
3018 * tabular-old.C (getTokenValue): add std::
3019 (getTokenValue): ditto
3020 (getTokenValue): ditto
3022 * screen.C (ToggleSelection): adjust
3024 * lyxtext.h: put selection cursors inside a Selection struct.
3026 * lyxfunc.C (moveCursorUpdate): adjust
3028 * lyxfont.C (latexWriteStartChanges): add std::
3032 * font.h: delete with(char const *, LyXFont const &)
3034 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3036 * FontInfo.C (getFontname): add std::
3038 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3039 (workAreaButtonPress): adjust
3040 (tripleClick): adjust
3042 (moveCursorUpdate): adjust
3045 * BufferView2.C (gotoInset): adjust
3047 2001-05-30 Juergen Vigna <jug@sad.it>
3049 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3050 to check pspell I add this as default as I now have new pspell
3051 libraries and they seem to use this.
3053 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3055 * text2.C (CutSelection): make the cursor valid before the call to
3058 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3060 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3061 relied on 0 terminated strings and other horrors. Bug found due to
3062 the new assert in lyxstring!
3064 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3067 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3069 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3072 * lyxfunc.C (processKeySym): change method of getting to the
3075 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3076 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3077 * BufferView_pimpl.[Ch]: here as private methods.
3079 2001-05-28 Juergen Vigna <jug@sad.it>
3081 * text.C (SetHeightOfRow): added the update() call again as it is
3082 needed to initialize inset dimensions!
3084 2001-05-16 Juergen Vigna <jug@sad.it>
3086 * text2.C (SetCharFont): Add new function with BufferView * and
3087 bool toggleall parameters for setting insets internal fonts.
3088 (SetFont): Freeze the undo as we may change fonts in Insets and
3089 all this change should be inside only one Undo!
3091 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3092 setting font's in insets as for them we have the SetFont function!
3094 2001-05-15 Juergen Vigna <jug@sad.it>
3096 * text2.C (ClearSelection): to be sure we REALLY don't have any
3099 * tabular.C (TeXCellPreamble): fixed the left border problem for
3102 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3104 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3107 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3109 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3110 LFUN_BREAKPARAGRAPH.
3112 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3113 help test to "internal only", similar for LFUN_INSERT_URL
3115 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3116 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3117 auto_region_delete and deadkeys.
3119 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3122 * LColor.C: remove some dead entries, tidy a little
3124 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3126 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3128 (Dispatch): implement LFUN_ESCAPE
3130 * commandtags.h: add LFUN_ESCAPE
3132 * LyXAction.C (init): add entry for LFUN_ESCAPE
3134 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3135 Remove commented code.
3136 (insertNote): moved here
3137 (open_new_inset): moved here
3139 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3142 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3144 * kbmap.C (findbinding): clean it up and make it work correctly.
3146 * lyx_main.C (init): do not pass argc and argv as parameters
3148 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3150 * buffer.C: fix path for OS/2 & Win32
3154 * lyx_main.C: Added os:: class.
3156 * os2_defines.h: update
3158 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3160 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3161 better by trying again with reduced state.
3163 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3165 * lyxrc.C (read): print error about invalid key sequence only when
3166 debugging (because not all latinX keysyms are known to some X
3169 * kbsequence.C (getiso): add a few std:: qualifiers
3170 (getiso): comment out extra return statement.
3172 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3174 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3176 (Dispatch): enhance the accent inset a bit. (not perfect)
3178 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3180 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3182 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3184 * bufferlist.C (emergencyWrite): fix assert() call
3186 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3188 * text.C (InsertChar): Added trivial patch to only send the "you
3189 can not do multiple spaces this way" message once during a
3192 2001-05-08 Baruch Even <baruch@lyx.org>
3194 * Makefile.am: Changed order of libraries to get LyX to link properly
3195 with the gnome frontend.
3197 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3199 * LaTeXFeatures.h: add a std:: qualifier
3201 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3203 * paragraph.C (String): use stringstream
3205 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3207 * paragraph.C (writeFile): remove footflag arg
3209 * buffer.C (makeLaTeXFile): use stringstream
3210 (latexParagraphs): remove footnot gurba
3212 * LaTeXFeatures.C (getPackages): use stringstream
3213 (getMacros): likewise
3214 (getTClassPreamble): likewise
3215 (getFloatDefinitions): new method
3217 * paragraph.C (writeFile): reindent
3220 * WorkArea.h: revert the xpos + etc changes.
3222 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3224 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3226 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3227 (pasteSelection): likewise
3228 * text2.C (CreateUndo): likewise
3230 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3232 * minibuffer.C (peek_event): temporarily reduce the functionality
3233 of the minibuffer (to allow args on lfuns)
3235 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3236 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3238 * buffer.C (readInset): add compability reading of old float
3239 lists, add reading of new style float list.
3240 (readInset): avoid reevaluation of inscmd.getCmdName()
3241 (getLists): reindent
3243 * MenuBackend.C (MenuItem): implement parsing of
3244 md_floatlistinsert and md_floatinsert.
3245 (expand::LastFiles): move initalizaton of iterators out of loop,
3247 (expand::Documents): introduce typdedef vector<string> Strings,
3249 (expand::ExportFormats): introduce typedef vector<Format const *>
3250 Formats, and use it.
3251 (expand): implement FloatListInsert and FloatInsert.
3253 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3254 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3255 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3257 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3259 (Dispatch::LFUN_FLOAT_LIST): implement
3261 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3263 * LaTeX.C (run): Fix problem with --export code.
3265 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3267 * BufferView.[Ch] (workarea): removed.
3268 (getClipboard) new method; wrapper for workarea()->getClipboard()
3270 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3273 * WorkArea.h (width, height, xpos, ypos): These methods all
3274 returned the dimensions of the work_area sub-area of WorkArea,
3275 resulting in a position error if the WorkArea were resized. Now
3276 return the dimensions of the entire WorkArea.
3278 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3280 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3282 * LaTeX.C (deplog): correct the syntax of regex reg1
3284 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3286 * undo.C: remove !NEW_INSETS cruft
3288 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3290 * text2.C: remove !NEW_INSETS cruft
3292 * text.C: remove !NEW_INSETS cruft
3294 * tabular.C: remove !NEW_INSETS cruft
3296 * spellchecker.C: remove !NEW_INSETS cruft
3298 * lyxtext.h: remove !NEW_INSETS cruft
3300 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3302 * lyxfunc.C: remove !NEW_INSETS cruft
3304 * lyxfind.C: remove !NEW_INSETS cruft
3306 * lyx_cb.C: remove !NEW_INSETS cruft
3308 * figureForm.C: remove !NEW_INSETS cruft
3310 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3312 * buffer.[Ch]: remove !NEW_INSETS cruft
3314 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3316 * CutAndPaste.C: remove !NEW_INSETS cruft
3318 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3320 * BufferView2.C: remove !NEW_INSETS cruft
3322 * BufferView.h: remove !NEW_INSETS cruft
3324 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3326 * Lsstream.h: include LString.h before the sstream headers to
3327 fix problem with gcc 2.95.3 and lyxstring
3329 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3331 * lyx_main.C: add using directives when needed for C functions
3332 declared in std:: namespace.
3334 2001-04-27 Juergen Vigna <jug@sad.it>
3336 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3337 (SetHeightOfRow): comment out the update call should not be needed!
3339 2001-04-13 Juergen Vigna <jug@sad.it>
3341 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3342 (LyXTabular): tried to minimize operator= operations (and realized
3343 hopfully Lars wish).
3345 2001-04-27 Juergen Vigna <jug@sad.it>
3347 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3349 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3351 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3353 * buffer.C (readInset): hack to make listof algorithm work
3355 * BufferView_pimpl.C: hack to make listof algorithm work
3357 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3359 * LyXAction.C: removed all !NEW_INSETS cruft
3360 (init): moved lfun_item in method
3362 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3364 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3366 * BufferView2.C (theLockingInset): white space.
3368 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3370 * minibuffer.C: include <iostream>
3372 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3374 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3376 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3378 * text.[Ch] (TransposeChars): new method
3380 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3382 * call message directly through LyXView instead of through LyXFunc
3383 * BufferView2.C: adjust
3384 * BufferView_pimpl.C: adjust
3385 * FontLoader.C: adjust
3387 * bufferview_funcs.C: adjust
3388 * converter.C: adjust
3389 * figureForm.C: adjust
3390 * importer.C: adjust
3392 * lyx_gui_misc.C: adjust
3396 + more files in subdirs
3398 * lyxparagraph.h (size): move up int file
3401 * adjust all uses of Assert to lyx::Assert.
3403 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3404 lyxfunctional in namespace lyx
3405 * layout.C (hasLayout): ditto
3408 (delete_layout): ditto
3409 (NumberOfClass): ditto
3410 * converter.C (GetFormat): ditto
3415 * bufferlist.C (getFileNames): ditto
3416 (emergencyWriteAll): ditto
3419 * MenuBackend.C (hasSubmenu): ditto
3422 * BufferView_pimpl.C (getInsetByCode): ditto
3424 2001-04-18 Juergen Vigna <jug@sad.it>
3426 * vspace.C (asLatexString): fixed the 100% problem.
3428 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3430 * lyxfunc.C (Dispatch):
3432 * minibuffer.h: add a few std:: qualifiers
3434 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3436 * minibuffer.[Ch]: reimplement so that commands is initiated and
3437 run from lyxfunc, simplified som handling, and made the completion
3438 and history code for complete. wip.
3440 * lyxfunc.C (processKeySym): call message
3441 (miniDispatch): new temporary method
3442 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3443 (LFUN_MESSAGE): implement
3444 (LFUN_MESSAGE_PUSH): implement
3445 (LFUN_MESSAGE_POP): implement
3446 (initMiniBuffer): the initial/defualt minibuffer message.
3448 * lyxfont.[Ch]: inline some more getters
3450 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3452 * lyx_gui_misc.[Ch] (WriteStatus): remove method
3454 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3455 (AutoSave): use LFUN_MESSAGE
3456 (Reconfigure): ditto
3458 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3460 * figureForm.C: use LFUN_MESSAGE
3462 * converter.C (runLaTeX): use LFUN_MESSAGE
3464 * bufferview_funcs.C: use LFUN_MESSAGE
3466 (changeDepth): ditto
3468 * bufferparams.h: use boost::
3470 * bufferlist.h: inherit privately from noncopyable
3472 * bufferlist.C (loadLyXFile): remove some commented code.
3474 * buffer.C (runChktex): use LFUN_MESSAGE
3476 * ShareContainer.h: inherit privately from noncopyable
3478 * ParagraphParameters.[hC] (depth): inline it.
3480 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3482 (message): new method
3483 (messagePush): ditto
3485 (show): init minibuffer
3486 (showState): direct call
3488 * LaTeX.[Ch]: inherit privately from noncopyable
3489 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3490 instead of WriteStatus.
3492 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3494 * BufferView_pimpl.C (buffer): don't init minibuffer
3495 (workAreaButtonPress): use LFUN_MESSAGE
3496 (workAreaButtonRelease): ditto
3497 (savePosition): ditto
3498 (restorePosition): ditto
3499 (MenuInsertLyXFile): ditto
3500 (workAreaExpose): don't init minibuffer
3501 (update): remove commented code, simplify
3503 * BufferView2.C (openStuff): use LFUN_MESSAGE
3504 (toggleFloat): ditto
3507 (copyEnvironment): ditto
3508 (pasteEnvironment): ditto
3513 (updateInset): remove some commented code
3515 * lastfiles.h: inherit privately from noncopyable
3520 * lyxlex_pimpl.h: ditto
3522 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
3523 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
3524 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3526 * LyXAction.h: inherit privately from noncopyable, add methods
3527 func_begin, func_end, returning iterators to the func map.
3529 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
3530 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3531 (func_begin): new method
3532 (func_end): new method
3534 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
3536 (copySelection): ditto
3537 (pasteSelection): ditto
3539 * BufferView.C: whitespace change
3540 * BufferView.h: inherit privately from noncopyable
3542 2001-04-16 Allan Rae <rae@lyx.org>
3544 * tabular-old.C (l_getline):
3545 * spellchecker.C (sc_check_word):
3546 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3547 an unrecognised preprocessor directive. So ensure they're wrapped.
3549 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
3551 * src/exporter.C (Export): Give an error message when path to file
3554 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
3556 * LaTeX.C (deplog): Always check that foundfile exists.
3558 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3561 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
3563 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3565 * tabular.[Ch] (getLabelList): implement new method
3567 * minibuffer.h: comment ouf setTiimer
3569 * minibuffer.C (ExecutingCB): constify res
3570 (peek_event): constify s
3571 (Set): constify ntext
3572 (Init): constify nicename
3574 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3576 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3577 (savePosition): use two params to Minibuffer::Set
3578 (restorePosition): ditto
3580 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3582 * lyx_main.C: include language.h
3584 * Makefile.am (lyx_main.o): add language.h
3586 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3592 * CutAndPaste.C: include gettext.h
3594 * lyxfont.h: remove old hack with ON and OFF.
3597 * lyxfont.h: do not include language.h...
3602 * bufferview_funcs.C:
3608 * paragraph.C: ... but do it here instead
3610 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3612 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3614 * tabular.C: small reformat
3616 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3619 (BreakParagraph): ditto
3620 (SetOnlyLayout): ditto
3623 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3626 * lastfiles.C: removed most using decl, add std:: where needed
3628 * buffer.C: ws changes
3630 * MenuBackend.C (class compare_format): put into anon namespace
3631 (expand): constify label, names, action, action2
3634 * text.C (SingleWidth): constify font
3635 (IsBoundary): constify rtl2
3636 (GetVisibleRow): constify ww
3638 * LaTeX.C (deplog): constify logfile
3640 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3642 (workAreaExpose): constify widthChange, heightChange
3644 * lyxrow.C (par): moved
3647 * lyxrow.h: as inlines here
3649 * lyxfont.h (shape): moved from lyxfont.C
3650 (emph): moved from lyxfont.C
3652 * lyxfont.C (LyXFont): use initialization list for all
3654 (shape): move to lyxfont.h as inline
3655 (emph): move to lyxfont.h as inline
3658 2001-04-04 Juergen Vigna <jug@sad.it>
3660 * vspace.C: had to include stdio.h for use of sscanf
3662 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
3665 * BufferView_pimpl.h: remove xforms cruft. Both classes are
3666 independent of xforms.
3668 2001-04-02 Juergen Vigna <jug@sad.it>
3670 * spellchecker.C: fixed namespace placing!
3672 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3674 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3675 the LyXParagraph * is 0.
3677 2001-03-29 Juergen Vigna <jug@sad.it>
3679 * vspace.C: added support for %, c%, p%, l%.
3680 (stringFromUnit): added helper function.
3681 (asLatexString): changed to give right results for the %-values.
3683 * buffer.C: convert the widthp in a width%.
3685 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3687 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3690 * figureForm.[Ch]: stripped the FD_from_figure manipulation
3691 code out of lux_cb.[Ch], ready for its (imminent?) removal.
3693 * lyx_cb.[Ch]: see above.
3695 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3699 * lyx.[Ch]: replaced by figure_form.[Ch].
3703 * lyxfunc.C: changed headers associated with above changes.
3705 2001-03-27 Juergen Vigna <jug@sad.it>
3707 * BufferView_pimpl.C: set the temporary cursor right!
3709 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3711 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3713 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3715 * LString.h: removed "using std::getline"!
3717 * BufferView_pimpl.C (Dispatch): changes due to changes in
3718 InsetInclude::Params.
3720 * buffer.C (tag_name): removed redundant break statements as they were
3721 producing lots of warnings with my compiler.
3723 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3725 * LString.h: add "using std::getline" when using the real <string>.
3727 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3729 * buffer.C: removed bitset usage.
3730 PAR_TAG moved to an anonymous name space.
3731 (tag_name): new funtion, also in the anonymous namespace.
3732 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3733 (makeDocBookFile): clean code. Completed transition from string arrays
3735 (SimpleDocBookOnePar): code clean.
3737 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3739 * tabular.C: add some comments.
3741 2001-03-22 Juergen Vigna <jug@sad.it>
3743 * buffer.C (parseSingleLyXformat2Token): redone the minipage
3744 compatibility read a bit and fixed bug with minipage in different
3747 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
3749 * buffer.C (pop_tag): removed.
3750 (push_tag): removed.
3751 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3752 array replaced with vector. Added support for CDATA sections.
3753 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3755 (makeDocBookFile): XML conformant declaration of CDATA section,
3756 fixed bug related to <emphasis> in the first paragraph char.
3757 (sgmlOpenTag): exclude empty tags.
3758 (sgmlCloseTag): ditto.
3760 * buffer.h (pop_tag): removed.
3761 (push_tag): removed.
3763 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3765 * language.h (Languages): added size_type and size().
3767 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3769 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3770 response on compability reading of minipages. One probliem is that
3771 the old usage of minipages was «flertydig»
3773 * several files here and in subdirs: don't use static at file
3774 scope use anon namespaces instead.
3776 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
3778 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3779 LaTeX output. This is necessary for Literate document
3782 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3784 * buffer.C: insert hfill when needed.
3786 * tabular.C (l_getline): use string::erase, small whitespace change.
3788 * BufferView_pimpl.C: try the anon namespace.
3791 2001-03-16 Juergen Vigna <jug@sad.it>
3793 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3794 otherwise it won't open options-dialogs.
3796 * buffer.C: honor pextraWidth(p) on converting minipages.
3798 * tabular.C (l_getline): changed the functions to strip trailing \r.
3800 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
3802 * BufferView_pimpl.C:
3803 * minibuffer..C: added "using SigC::slot" declaration.
3805 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3807 * lyxlex_pimpl.h: noncopyable is in namespace boost.
3813 * paragraph.C: ditto
3815 * lyxtext.h: NO_PEXTRA
3817 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3819 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3820 * ParameterStruct.h: ditto
3821 * ParagraphParameters.h: ditto
3822 * lyxparagraph.h: ditto
3824 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3826 * buffer.C: add compability for minipage alignment.
3827 (latexParagraphs): remove unwanted pextra check.
3829 * several files: remove CXX_WORKING_NAMESPACES
3831 * buffer.C (pop_tag): tie is in namespace boost
3833 * BufferView.h: noncopyable is in namespace boost
3838 * lastfiles.h: ditto
3839 * bufferlist.h: ditto
3840 * ShareContainer.h: ditto
3842 * LyXAction.h: ditto
3845 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3847 * Merging changes from BRANCH_MVC back into HEAD.
3849 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3851 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
3853 * BufferView_pimpl.C: change from intl.C
3857 * Makefile.am: move combox.*
3863 * intl.C: remove dialog (covered by prefs)
3865 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3867 * lyxfunc.C (Dispatch): removed redundant break statement.
3869 2001-03-14 Juergen Vigna <jug@sad.it>
3871 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3873 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3875 * buffer.C: add hack to fix compability reading of minipages.
3877 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3879 * buffer.C (getLists): Cleanup.
3881 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3883 * lyxfont.C (update): don't honor toggleall on font size.
3885 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
3889 * Makefile.am: moved to frontends/xforms/
3893 * BufferView_pimpl.C: changes for moved mathpanel
3895 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3897 * gettext.h: fix gettext_init() in --disable-nls
3899 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3901 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3903 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3906 * lyx.h: strip external form
3908 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3910 * BufferView_pimpl.C: add comment, destroySplash()
3912 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3914 * BufferView_pimpl.C:
3918 * lyxfunc.C: use re-worked insetinclude
3920 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3922 * buffer.C: add using std::stringstream.
3924 * lyx_cb.C: readd using std::ios.
3926 * buffer.C: add using std::map.
3928 * BufferView_pimpl.C: add using std::vector.
3930 * ShareContainer.h: add std:: to swap.
3932 * buffer.h: add some typedefs
3933 * buffer.C (getLists): use them
3934 (getLists): renamed from getTocList.
3935 add a counter for the different float types and use it in the
3937 (getLists): use the same counter for the NEW_INSETS and the "non"
3940 * lyx_cb.h: remove unused items, includes, using etc.
3942 * ShareContainer.h: remove some commented code, add more comments
3943 and "documentation".
3945 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3947 * buffer.C (getTocList): make the list also when NEW_INSETS is
3950 * buffer.h: remove TocType
3952 * buffer.C (getTocList): change to return a map<string,
3953 vector<TocItem> >, implement for dynamic number of list.
3955 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3956 * text2.C (PasteSelection): adjust
3957 * CutAndPaste.C (pasteSelection): adjust
3959 * FloatList.C (FloatList): update from the new_insets branch.
3960 * Floating.[Ch]: ditto
3961 * LaTeXFeatures.C: ditto
3963 * lyxlex_pimpl.C: ditto
3965 * paragraph.C (Last): remove when NEW_INSETS is defined.
3967 * other file: changes because of the above.
3969 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3971 * lyxparagraph.h: rename next to next_, previous to previous_,
3972 make them private for NEW_INSETS. Rename Next() to next(),
3973 Previous() to previous().
3975 * other files: changes because of the above.
3977 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
3980 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3983 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3985 * main.C (main): pass lyx_localedir to gettext_init().
3987 * gettext.h: remove locale_init and gettext_init macros
3989 * gettext.C (locale_init): new function
3990 (gettext_init): new function
3992 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3995 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
3997 * Moved credits to frontends:
3998 * credits.[Ch]: removed
3999 * credits_form.[Ch]: removed
4000 * lyx_gui_misc.C: remove credits stuff
4003 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4005 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4007 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4008 unneeded destructor.
4010 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4011 a standalone pointer again.
4013 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4015 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4021 * ToolbarDefaults.C:
4030 * BufferView_pimpl.C: use new file dialog in GUII
4033 * lyx_cb.C: remove LayoutsCB to Toolbar
4035 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4037 * ShareContainer.h (get): add std:: qualifier
4039 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4041 * ShareContainer.h: define a proper ShareContainer::value_type
4042 type (and use typename to please compaq cxx)
4044 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4046 * lyxparagraph.h: move serveral local vars to
4047 ParameterStruct/ParagraphParameters., use ShareContainer in
4048 FontTable., make vars in FontTable private and add getter and
4051 * paragraph.C: changes because of the above.
4053 * lyxfont.h: remove copy constructor and copy assignment. (the
4054 default ones is ok), move number inside FontBits. move inlines to
4057 * lyxfont.C: add number to initializaton of statics, move several
4058 inlines here. constify several local vars. some whitespace
4059 cleanup. Dont hide outerscope variables.
4061 * Spacing.h: add two new constructors to match the set methods.
4063 * ShareContainer.h: new file, will perhaps be moved to support
4065 * ParameterStruct.h: new file
4067 * ParagraphParameters.h: new file
4069 * ParagraphParameters.C: new file
4071 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4072 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4074 * BufferView_pimpl.C: ParagraphParameter changes.
4075 * buffer.C: Likewise.
4076 * bufferview_funcs.C: Likewise.
4078 * text2.C: Likewise.
4080 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4082 * lyxfind.C (LyXReplace): do not redefine default argument in
4084 (IsStringInText): ditto
4085 (SearchForward): ditto
4086 (SearchBackward): ditto
4088 2001-03-06 Juergen Vigna <jug@sad.it>
4090 * lyxfind.C (IsStringInText): put parentes around expressions.
4092 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4094 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4096 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4098 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4100 * stl_string_fwd.h: add comment
4102 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4105 * tabular.C: remove unused DocBook methods
4111 killed DO_USE_DEFAULT_LANGUAGE
4113 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4115 * lyx_gui.C: do not include language.h.
4117 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4118 arguments in function implementation.
4120 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4122 * BufferView_pimpl.C: add <ctime>
4124 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4126 * BufferView_pimpl.C: add using std::find_if
4128 2001-02-27 José Matos <jamatos@fep.up.pt>
4130 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4133 2001-02-11 José Matos <jamatos@fep.up.pt>
4135 * buffer.C (makeDocBookFile): command styles now have a parameter as
4138 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4140 * layout_forms.[Ch]: removed
4141 * lyx_cb.[Ch]: out character
4142 * lyx_gui.C: out character
4143 * lyx_gui_misc.C: out character
4144 * bufferview_funcs.C: : out character,
4145 added toggleall as parameter in ToggleAndShow
4147 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4149 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4151 * text2.C (SetCurrentFont): Disable number property at boundary.
4153 2001-02-26 Juergen Vigna <jug@sad.it>
4155 * lyxfunc.C (getStatus): added a string argument override function so
4156 that this is correctly called from LyXFunc::Dispatch if it contains a
4157 do_not_use_argument which is used!
4158 (Dispatch): added check for "custom" export and call appropriate func.
4160 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4162 * lyxrc.C: Add language_command_local, language_use_babel and
4163 language_global_options.
4165 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4167 * buffer.C (makeLaTeXFile): Use language_use_babel and
4168 language_global_options.
4170 2001-02-23 Juergen Vigna <jug@sad.it>
4172 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4173 which works with LyXText and putted it inside BufferView. Here now we
4174 only call for that part the BufferView::Dispatch() function.
4176 * BufferView.C (Dispatch): added.
4178 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4179 functions which needs to use a LyXText over from LyXFunc.
4180 (MenuInsertLyXFile): added
4181 (getInsetByCode): added
4182 (moveCursorUpdate): added
4183 (static TEXT): added
4185 2001-02-22 Juergen Vigna <jug@sad.it>
4187 * BufferView_pimpl.C (update): call a status update to see if LyXText
4190 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4192 * vc-backend.C (revert): implement for CVS
4193 (getLog): implement for CVS
4195 2001-02-20 Juergen Vigna <jug@sad.it>
4197 * text2.C (ClearSelection): added BufferView param for inset_owner call
4199 * lyxfunc.C (TEXT): added this function and use it instead of
4200 directly owner->view()-text of getLyXText().
4202 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4204 * src/layout_forms.C: out preamble
4205 * src/layout_forms.h: out preamble
4206 * src/lyx_cb.C: out preamble
4207 * src/lyx_cb.h: out preamble
4208 * src/lyx_gui.C: out preamble
4209 * src/lyx_gui_misc.C: out preamble
4210 * src/lyxfunc.C: connect with guii preamble
4212 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4214 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4216 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4218 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4219 whether to run bibtex.
4221 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4223 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4225 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4227 * Makefile.am (lyx_SOURCES): removed bibforms.h
4231 * text.C (GetVisibleRow): make several local vars const
4233 * tabular.C: small cleanup.
4235 * lyxserver.C (callback): use compare instead of strncmp
4237 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4238 inlines to after class or to paragraph.C
4240 * lyxfont.h: remove friend operator!=
4242 * converter.h: move friend bool operator< to non friend and after
4245 * combox.h: small cleanup
4247 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4248 to inlines after class def.
4250 * buffer.C (pop_tag): use string operations instead of strcmp
4252 * bmtable.c: doxygen, small cleanup
4254 * LaTeX.h: remove friend operator==
4256 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4268 * BufferView_pimpl.C:
4269 * BufferView.[Ch]: remove cruft
4271 2001-02-14 Juergen Vigna <jug@sad.it>
4273 * lyxfunc.C: removed #if 0 unused code
4275 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4277 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4279 * text2.C (SetSelection): added a BufferView * parameter
4281 2001-02-13 Juergen Vigna <jug@sad.it>
4283 * lyxfunc.C (Dispatch): fixed protected blank problem.
4284 * BufferView2.C (protectedBlank): added LyxText * parameter.
4286 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4287 (AppendColumn): same as above for column_info.
4289 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4290 (moveCursorUpdate): use a LyXText param for support of InsetText.
4292 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4293 (tripleClick): ditto
4295 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4297 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4299 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4301 * text2.C (SetSelection): set correct update status if inset_owner
4304 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4306 * tabular.C: remove some commented code.
4308 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4310 * BufferView_pimpl.C: call hideSplash()
4312 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4315 * bibforms.h: remove
4318 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4319 add LFUN_CHILD_CREATE
4321 * counters.h: fix tiny typo
4326 * lyx.C: move splash to frontends/xforms/
4328 * lyx_gui_misc.C: move Include and Bibform to frontends
4330 * lyxvc.h: clarify comment
4332 * vspace.C: tiny housekeeping
4334 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4336 * text.C (PrepareToPrint): RTL Fix.
4338 * paragraph.C (GetUChar): New method.
4339 (String): Use GetUChar.
4341 * buffer.C (asciiParagraph): Use GetUChar.
4343 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4345 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4347 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4350 * buffer.C: rename to getLogName(), handle
4351 build log / latex log nicely
4353 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4356 * MenuBackend.h: remove support for reference menuitem type.
4358 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4360 * BufferView_pimpl.C: housekeeping
4361 * BufferView_pimpl.h:
4366 * minibuffer.h: move Timeout GUI-I
4368 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4370 * lyxrc.C (read): Update converters data-structures.
4372 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4374 * LaTeX.h (operator!=): add operator != for Aux_Info
4376 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4378 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4380 * LaTeXLog.C: deleted, useful code moved to Buffer
4383 * buffer.C: new function getLatexLogName()
4389 * lyxfunc.C: use frontends for LaTeX and VC logs
4391 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4393 * LaTeX.h: yet another std:: that Allan forgot.
4395 * Variables.C (set): renamed from isset(), because this clashes
4396 with some HP-UX macros (grr).
4398 2001-02-06 Allan Rae <rae@lyx.org>
4400 * LaTeX.h: Another bug fix. Missing std:: this time.
4402 2001-02-04 Allan Rae <rae@lyx.org>
4404 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4405 floats problem. I've left it commented out because it's not quite
4406 correct. It should also test that the current object is a table or
4407 figure inset. But I haven't gotten around to figuring out how to do
4408 that. I *think* it'll be something like: "table" == inset.type()
4410 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4413 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4415 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4416 all the citation/databases/styles in the auxilary file.
4417 (run): Rerun latex if there was a babel language error.
4419 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4421 * text.C (Backspace): Preserve the font when changing newline char
4423 (BreakParagraph): If the cursor is before a space, delete the space.
4425 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4427 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4429 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4430 new argument (code).
4431 (ChangeCitationsIfUnique): New method.
4433 * paragraph.C (GetPositionOfInset): Handle bibkey.
4435 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4437 * BufferView_pimpl.h: change type of Position::par_pos to
4438 LyXParagraph::size_type.
4440 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
4442 * BufferView_pimpl.C (savePosition, restorePosition): Write
4443 messages to minibuffer.
4445 2001-01-28 José Matos <jamatos@fep.up.pt>
4447 * buffer.C (makeDocBookFile): adds support for document language.
4448 A silly restriction on the name of LatexCommand types where removed.
4449 Added support for CDATA sections, allows to chars unescaped, used
4450 among others in code, to avoid escape < and >.
4452 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4454 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
4455 saved positions instrad of a stack. Furthermore, a position is
4456 stored using paragraph id/paragraph position.
4458 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4459 Remove LFUN_REF_BACK.
4461 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4463 * converter.C (dvipdfm_options): New method.
4465 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4467 * vspace.C (isValidLength): Fix for empty input string.
4469 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4471 * LyXAction.C (init): change description of LFUN_FIGURE to
4474 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4476 * LaTeX.C: add using directive
4478 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4480 * MenuBackend.C (expand): Fix the sorting of the formats.
4482 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
4484 * lyx_main.C: tiny error message fix
4486 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4488 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4489 calling fl_initialize(). This fixes the problem with ',' as
4490 decimal separator in text files.
4492 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4494 * trans.C (process): Fix the keymap bug.
4496 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
4498 * LaTeX.C (scanAuxFiles): New method. Provides support for
4499 multiple bibliographies (when using the bibtopic/bibunits pacakges).
4500 (scanLogFile) Scan for "run BibTeX" messages.
4502 * buffer.C (makeLaTeXFile): Do not load the ae package when using
4503 OT1 font encoding. Also, load the aecompl package if the ae
4506 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
4508 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4510 * texrow.C (increasePos): turn two error messages into debug
4513 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
4515 * LaTeX.C (scanAux): Handle the \@input macro.
4516 (runBibTeX): Use scanAux().
4518 * language.C (latex_options_): New field.
4520 * LaTeXFeatures.C (getMacros): Add language macros.
4522 * buffer.C (makeLaTeXFile): Small fix.
4524 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4526 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
4528 * text2.C: add a using directive.
4530 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
4535 * lyxfunc.C: kill LyXBell.
4537 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
4539 * text.C (IsBoundary): Remove the error message
4541 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4543 * lyxrc.C (setDefaults): Correct initialization value for
4546 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
4548 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4551 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4554 * src/LyXAction.C: Added reference-next.
4556 * text.C (InsertChar): Use contains instead of strchr.
4558 * lyx_cb.C (MenuInsertLabel): Enable default value code.
4560 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
4562 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4563 alignment commands (when needed).
4565 * text.C (InsertChar): Add ':' to number separator chars.