1 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5 remove #include "support/syscall.h" as it's redundant. Always has been.
13 change Systemcalls::System to Systemcalls::Wait and
14 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
15 No change of functionality, just reflects the stripped down Systemcalls
18 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
20 * debug.[Ch]: add a GRAPHICS type to the enum.
22 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
24 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
26 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
29 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
31 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
32 match the changes below.
34 * text2.C (toggleInset): if there is not editable inset at cursor
35 position, try to see if cursor is _inside_ a collapsable inset
38 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
40 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
41 document menu has a nice checkbox
43 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
45 * lyxlength.C (asLatexString): change PW to output as percent of
48 * lengthcommon.C: change '%' to 't%'
50 * lyxfunc.C (dispatch): a few comments from Martin
52 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
57 * BufferView_pimpl.C: clear our selection when X tells us we've lost
60 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
62 * vspace.C (inPixels): fix compiler warning
64 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
66 * lyxfunc.C (getStatus): fix status message for disabled commands.
68 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
70 * BufferView_pimpl.C: fix crash on close buffer
71 during selection (#227)
73 2002-01-27 Herbert Voss <voss@lyx.org>
75 * buffer.C: link old Figure to new graphic inset
77 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
79 * FontLoader.C (getFontinfo): Change the latex font names in order
80 to match the names of type1inst.
82 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
84 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
86 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
89 (remove_files_with_extension): ditto
93 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
94 document is smaller than the work area height. Do not initialize
95 static variables to 0.
97 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
99 * lyx_gui.C (init): give the toolbar tooltips a normal font.
101 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
102 LFUN_LAYOUT_PARAGRAPHS.
104 * tabular.C (GetCellFromInset): new method. Finds an inset in a
105 tabular. It is possible to provide a possible cell, which will
106 typically be the actcell from the corresponding insettabular
108 * lyxfunc.C (getStatus): small cleanup; disable
109 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
112 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
114 * tabular.C (Validate): remove broken optimization (fixes bug #201)
116 * paragraph.C (startTeXParParams):
117 (endTeXParParams): new methods. The LaTeX code to
118 start/end paragraph formatting
119 (simpleTeXOnePar): call startTeXParParams also when paragraph is
120 empty (fixes bug #200)
122 * vspace.C (inPixels): adapt to the change below
123 (inPixels): [later] more cleanups (remove unused variables)
125 * lyxlength.C (inPixels): change to use a width and a height as
128 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
130 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
131 Replaced with \paperwidth
133 * DepTable.C (insert): add std:: qualifier
135 2002-01-18 Allan Rae <rae@lyx.org>
137 * text2.C (removeRow): add comment. Should other refresh_?? vars be
140 * text.C (drawInset): Turned out I didn't know enough about how
141 rebreaking worked. This fixes most of the redraw problems. I see
142 an occasional cursor trail when a line is broken now and the cursor
143 placement can seem out by a few pixels also after a rebreak.
145 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
147 * buffer.C (parseSingleLyXformat2Token): update because minipage
148 width is now a LyXLength
150 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
152 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
155 2002-01-17 Juergen Vigna <jug@sad.it>
157 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
159 * BufferView2.C (lockInset): call edit() so that theLockingInset()
160 is set correctly and the inset is updated correctly.
162 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
164 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
165 the beginning of the loop.
167 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
169 * lyxrc.C: improve help for use_scalable_fonts
171 2002-01-17 Allan Rae <rae@lyx.org>
173 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
175 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
177 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
178 make sure to set their inset_owner to the right value (bug #171)
180 2001-12-12 Ben Stanley <bds02@uow.edu.au>
183 * DepTable.C: Implement mtime checking to reduce time spent doing
186 2002-01-16 Juergen Vigna <jug@sad.it>
188 * tabular.C (GetAdditionalHeight): one of error fixed.
190 * lyxrc.C (output): small fix in writing use_pspell.
192 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
194 * sp_base.h: #include LString.h
196 2002-01-16 Allan Rae <rae@lyx.org>
198 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
199 Can someone check this please?
201 * text.C (drawInset): It was possible that p.row would be removed by
202 breakAgainOneRow upsetting a few other settings. There may be another
203 small tweak possible by setting need_break_row = 0 when p.row has been
204 removed but I don't know enough about the logic here.
206 2002-01-15 Allan Rae <rae@lyx.org>
208 * text.C (insertChar): removed conditional truism.
210 * BufferView2.C (removeAutoInsets): More tweaks.
211 cur_par_prev could be a stray pointer. Check for trailing empty line
212 in case last line was cur_par and only had an error inset on it.
214 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
216 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
219 * vc-backend.C (most methods):
220 * exporter.C (Export):
221 * converter.C (convert):
223 * LyXSendto.C (SendtoApplyCB):
224 * lyxfunc.C (dispatch):
228 * lyx_cb.C (AutoSave):
230 * BufferView_pimpl.C (MenuInsertLyXFile):
231 * buffer.C (runChktex): use Buffer::filePath().
233 * buffer.h: rename filename to filename_; rename filepath to
234 filepath_ and make it private
235 (filePath): new method
237 * buffer.C (writeFile): use fileName()
240 * lyx_main.C (init): fix starting of LyX when the binary is a
241 link from so,ewhere else.
243 * minibuffer.C: include <cctype> for isprint
245 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
247 * buffer.C (parseSingleLyXformat2Token): changes associated with the
248 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
249 name clash with InsetCollapsable's width function.
251 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
253 * lastfiles.C: include <iterator>
255 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
257 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
260 * buffer.C (makeLaTeXFile): ditto.
261 Also make loop operation more transparent.
263 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
265 * ToolbarDefaults.C: remove trailing comma closing namespace.
267 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
269 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
272 * trans.C (Load): comment out unused variable, allowed.
274 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
276 * minibuffer.[Ch] (append_char): new method to recieve input from the
277 drop-down completion browser. If a key was pressed, then recieve this
278 char and append it to the existing string.
279 (peek_event): modify the positioning data passed to the completion
280 browser so that it can be placed above the minibuffer rather than below.
281 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
283 * LyXAction.C (init): alloe error-next for readonly documents.
285 * BufferView2.C (ChangeRefsIfUnique): use standard version of
288 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
290 * bufferlist.C (readFile): create the buffer _after_ checking that
293 * lyxfunc.C (verboseDispatch): fix handling of arguments
295 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
297 * lyxrc.C: use string::erase() instead of initializing to "".
300 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
302 * BufferView_pimpl.h:
303 * BufferView_pimpl.C:
306 * text2.C: tell X when we have made a selection for copying
308 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
310 * BufferView_pimpl.C (MenuInsertLyXFile):
311 * lyxfunc.C (menuNew):
313 (doImport): add shortcuts to directory buttons
315 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
318 * lyxfunc.C (setStatusMessage):
319 (getStatusMessage): new methods
320 (getStatus):use setStatusMessage instead of setErrorMessage
321 (dispatch): when function is disabled, set error message here
322 [instead of in getStatus previously]
324 * BufferView_pimpl.C (workAreaButtonRelease): update
325 toolbar/menubar here too.
327 2002-01-13 Allan Rae <rae@lyx.org>
329 * BufferView2.C (removeAutoInsets): finished off earlier fix.
330 Now seems indestructible. Remaining task is to audit all other
331 code affected by deleteEmptyParagraphMechanism. One small quirk
332 left is that an empty document with an error in the preamble can
333 be made to report an error but no error box appears. I don't know
335 (removeAutoInsets): Improved comments.
337 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
340 * Thesaurus.C: update for Aiksaurus 0.14
342 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
344 * text2.C (firstParagraph): removed member function, all uses
345 replaces with ownerParagraph
346 (redoParagraphs): here
348 (toggleAppendix): here
349 * BufferView2.C (insertErrors): here
350 (setCursorFromRow): here
352 2002-01-13 Allan Rae <rae@lyx.org>
354 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
355 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
356 There is still a way to segfault this although you may have to do this
357 multiple times: Have an InsetERT with an unknown command in it.
358 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
359 <down-arrow>, <Enter> again, View->DVI, BANG!
361 * text2.C (setCursor):
362 (deleteEmptyParagraphMechanism):
363 * lyxtext.h (setCursor):
364 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
365 Making use of the return value may help fix other bugs.
367 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
369 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
371 * LyXView.C (updateMenubar): call MenuBar::update here
372 (updateToolbar): but not here
373 (showState): do not update toolbar/menubar
375 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
376 should need to care about that.
378 * lyxfunc.C (verboseDispatch): simplify a bit
379 (getStatus): have a version which takes a pseudoaction, and
380 another which requires a (kb_action,string).
382 * LyXAction.C (retrieveActionArg): make it work also when action
383 is not a pseudo-action.
384 (getActionName): simplify a bit
387 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
389 * lyxfunc.C (verboseDispatch): new families of methods with
390 several ways to specify a command and a bool to indicate whether
391 the command name and shortcut should be displayed in minibuffer
392 (eventually, we could extend that to a finer bitmask like
393 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
394 (dispatch): the pristine dispatch command which just, well,
395 dispatchs! Note it still sets its result to minibuffer; I'm not
398 * lyxfunc.h: remove setHintMessage
400 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
402 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
404 * BufferView_pimpl.C (specialChar): delete new inset if we have
405 not been able to insert it.
407 * kbmap.C: revert to using int instead of kb_action, since all we
408 are dealing with is pseudo-actions.
410 * LyXAction.C (searchActionArg): change to return int instead of
411 kb_action, since the result is a pseudoaction.
413 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
415 * buffer.C (insertErtContents): Fix (partially) the font bug.
417 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
419 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
420 as the other one is broken on my machine!
422 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
425 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
427 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
429 * lyxrc.[Ch]: change names and descriptions of popup font variables to
430 reflect their actual use. Provide compatibility code for older lyxrc
433 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
435 change names of popup font variables in line with the changes to lyxrc.C
437 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
439 * buffer.C (asciiParagraph): avoid outputing a word twice after
442 * lyxrc.C (getDescription): document that document_path and
443 template_path can be empty.
445 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
447 * LaTeXFeatures.C (getMacros):
448 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
450 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
452 * LaTeXFeatures.C (useFloat): require "float" here instead of in
454 (getPackages): rename feature "floats" to "float". Use an array to
455 iterate over 'simple' features (i.e. just a \usepackage). Add
456 handling of "amsmath" (renamed from "amsstyle").
458 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
460 * LaTeXFeatures.C (require): Prevent duplicate entries in the
463 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
465 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
466 FuncStaus::FuncStatus & FuncStaus::some_method().
468 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
470 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
471 of the func_satus stuff. Edited and massaged in various ways by
474 * lyxfunc.C (getStatus): use FuncStatus
476 2002-01-08 Juergen Vigna <jug@sad.it>
478 * text.C (nextBreakPoint): use function Inset::isChar().
480 * paragraph.C (TeXOnePar): use function
481 Inset::forceDefaultParagraphs.
483 * buffer.C (latexParagraphs): use function
484 Inset::forceDefaultParagraphs.
486 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
488 * lyx_gui.C (init): set the style of the menu popups to
489 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
491 2002-01-07 Juergen Vigna <jug@sad.it>
493 * text.C (setHeightOfRow): small fix
494 (prepareToPrint): don't look at alignment if we don't have the place
497 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
499 * box.C: New file. Move the Box methods and functions out of box.h,
500 following Lars' suggestion.
502 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
504 * box.h: #include "support/LOstream.h", needed for inlined function.
507 * lyxtextclasslist.C: added some using std declarations.
509 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
511 * box.h: make signed dimensions to allow insets wider than
512 the screen (bug #162)
514 * BufferView_pimpl.C: add some insetHit debug
516 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
518 * vc-backend.C: add FIXME
520 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
522 * lyxfunc.C (getStatus): enable code for showing math font status
525 2002-01-07 Juergen Vigna <jug@sad.it>
527 * text.C (nextBreakPoint): removed debug output not needed anymore.
529 2002-01-06 Juergen Vigna <jug@sad.it>
531 * text.C (nextBreakPoint): fixed up this function we had this bug
532 since ever but now hopefully we break row better.
533 (insertChar): we have to check if an inset is the next char as it
534 could now happen that a large inset is causing a break.
536 2002-01-05 Juergen Vigna <jug@sad.it>
538 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
539 if it doesn't like to be drawed.
541 2002-01-04 Juergen Vigna <jug@sad.it>
543 * BufferView2.C (lockInset): forgot to set a cursor.
545 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
547 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
552 * form_maths_panel.C:
553 * form_maths_panel.h:
554 * form_maths_panel.fd: implemented sub- and super- buttons in math
557 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
558 (or ^ space) to be used as in TeX (req'd by André).
560 * lyxfunc.C: Allow ^ and _ again to be used both as
561 super/subscript (mathed) and as themselves (in text).
563 2002-01-03 Allan Rae <rae@lyx.org>
565 * LyXView.C (updateWindowTitle): Setup a short icon title of either
566 "LyX" or the filename of the current buffer if it has one. This is a
567 modified form of John Levon's patch.
569 * XFormsView.C (setWindowTitle): also set icon title.
571 * LyXView.h (setWindowTitle): signature changed.
572 * XFormsView.h (setWindowTitle): ditto.
574 2002-01-02 Juergen Vigna <jug@sad.it>
576 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
578 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
580 * screen.C (topCursorVisible): introduce a temp var for
581 text->cursor.row(), handle the case where this row is null. (kindo
584 * text2.C (setCursor): add a couple of asserts.
586 * paragraph.h (inset_iterator): add -> operator
588 * paragraph.[Ch] (autoDeleteInsets): remove member function
590 * BufferView2.C (removeAutoInsets): rewrite to handle the old
591 cursor pos correctly and handle inset deletion by itself.
592 (insertErrors): move iterator declaration out of for expression
594 * lyxtextclass.C: add <algorithm>
596 * Makefile.am: added the new files to sources, removed layout.C
598 * layout.C: removed file
600 * layout.h: remove LYX_DUMMY_LAYOUT
602 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
607 * lyxtextclasslist.[Ch]: new files
609 * include order changes to a lot of files, also changes because of
612 2001-12-27 Juergen Vigna <jug@sad.it>
614 * buffer.C (asciiParagraph): more fixes.
616 * tabular.C (ascii): make ascii export support export of only the
617 data separated by a column-delimiter.
618 (ascii): better support for ascii export.
620 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
622 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
624 * tabular_funcs.C: use a "using std::getline" instead of the
625 previous fix from Angus (necessary for cxx + lyxstring)
627 2001-12-24 Juergen Vigna <jug@sad.it>
629 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
631 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
632 problems. First check a minipage also if we have some ert-contents
633 (not only on par->size(), second set the right depth of the paragraph
634 on the relink to the root-paragraph-list!
636 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
637 which then did not anymore update the main paragraphs on undo/redo!
639 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
641 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
642 code. Support all font-changing funcs (even those which are not in
643 menu currently). Support for reporting font settings in
644 mathed (disabled until Andre provides a function on mathed's side).
646 * func_status.h (toggle): small helper function to set toggle
649 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
651 * tabular_funcs.C: getline -> std::getline
653 2001-12-21 Juergen Vigna <jug@sad.it>
655 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
656 accessed and could be 0 (I couldn't generate this but it seems
659 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
661 * tabular_funcs.C: add LIstream.h, move write_attribute to..
662 * tabular_funcs.h: here and include iosfwd
664 2001-12-20 Juergen Vigna <jug@sad.it>
666 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
667 inside inset but undo_par was.
669 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
671 * Thesaurus.C: always include <config.h> in sources.
675 * box.h: do not include <config.h> in header files
677 * text.C (paintLastRow): remove unused variable
679 * text.C (transformChar):
681 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
684 * font.C (width): rewrite to use uppercase() instead of
687 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
689 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
691 * lyxfind.C: clean up of find failure position change
693 2001-12-20 Juergen Vigna <jug@sad.it>
695 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
697 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
698 (TeXRow): added to LaTeX a single tabular row.
699 (TeXLongtableHeaderFooter): added to output LT-h/f data.
700 (Latex): simplified and finally good LT-h/f support.
701 (various_functions): just small adaptions for LT-h/f support.
703 * tabular_funcs.[hC]: added and moved here all not classfunctions
706 2001-12-19 Juergen Vigna <jug@sad.it>
708 * tabular.[Ch]: better support for longtabular options (not finished
711 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
713 * text.C (paintLastRow): use the label font instead of the font of
714 the last character to compute the size of *_BOX. This makes more
715 sense and avoids a crash with empty paragraphs.
716 Use Painter::rectangle to draw EMPTY_BOX.
718 2001-12-19 Juergen Vigna <jug@sad.it>
720 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
721 the paragraphs if the replaced paragraph is not the first one!
722 Tried to delete not used paragraphs but does not work yet so for
723 now it's inside #ifdef's and by default off!
725 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
727 * MenuBackend.C: include "lyx_main.h" instead of declaring
728 lastfiles (actually was declared as LastFiles* instead of a
731 2001-12-17 Juergen Vigna <jug@sad.it>
733 * tabular.C (AppendColumn): applied John's fix
735 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
739 * BufferView_pimpl.h:
740 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
743 * box.h: new start of class for above
745 * lyxfunc.C: ignore space-only minibuffer dispatches.
746 Show the command name when it doesn't exist
748 * minibuffer.C: don't add empty lines to the history
750 * minibuffer.C: add a space on dropdown completion
752 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
754 * text.C: fix line above/below drawing in insets
756 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
758 * lyxlength.C (LyXLength): Initialize private variables.
760 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
763 when inserting error insets.
765 2001-12-13 Juergen Vigna <jug@sad.it>
767 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
768 actually sometimes the before-paragraph.
769 (setUndo): don't clear the redostack if we're not actually undoing!
771 2001-12-06 Juergen Vigna <jug@sad.it>
773 * undo_funcs.C (textHandleUndo): well after John's hint I got here
774 and fixed redoing of main paragraph, so we can use it now ;)
776 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
778 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
780 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
783 2001-12-13 André Pönitz <poenitz@gmx.net>
786 * undo_func.C: minor cleanup
788 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
790 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
791 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
792 font in urw-fonts package which is marked as -urw-fontspecific and
793 does not work (incidentally, changing the encoding in the
794 fonts.dir of this package to -adobe-fontspecific fixes the
797 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
798 is a crash when undoing first paragraph (Juergen, please take a
799 look). THis does not mean the undo fix is wrong, just that it
802 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
803 the (Paragraph*) version when needed instead of duplicating the
806 * text.C (workWidth): use Inset::parOwner to find out where the
807 inset has been inserted. This is a huge performance gain for large
808 documents with lots of insets. If Inset::parOwner is not set, fall
809 back on the brute force method
811 * paragraph_pimpl.C (insertInset):
812 * paragraph.C (Paragraph):
813 (cutIntoMinibuffer): set parOwner of insets when
814 inserting/removing them
816 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
818 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
824 * mathed/formulabase.C:
825 * mathed/math_cursor.[Ch]:
826 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
829 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
831 * lyxlength.[Ch] (operator!=): new function
833 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
835 * text.C (workWidth): use Inset::parOwner to find out where the
836 inset has been inserted. This is a huge performance gain for large
837 documents with lots of insets. If Inset::parOwner is not set, fall
838 back on the brute force method
840 * paragraph_pimpl.C (insertInset):
841 * paragraph.C (Paragraph):
842 (cutIntoMinibuffer): set parOwner of insets when
843 inserting/removing them
845 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
847 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
849 * tabular-old.C (getTokenValue):
850 * tabular.C (getTokenValue):
851 (write_attribute): new versions for LyXLength
852 (everywhere): adjust the use of widths
854 * tabular.h: change the type of widths from string to LyXLength
856 2001-12-11 Ben Stanley <bds02@uow.edu.au>
858 * paragraph.C: fixed missing line number count when exporting
859 Environments to LaTeX file
861 * buffer.C: added informational message for checking line numbers.
863 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
865 * text2.C (deleteEmptyParagraphMechanism): if there is only one
866 paragraph, do the 'double space' part, but not the 'empty
869 * text.C (workWidth): small optimization
870 (getLengthMarkerHeight): use minimal size for negative lengths.
872 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
874 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
876 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
878 2001-12-11 André Pönitz <poenitz@gmx.net>
881 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
883 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
885 * text2.C: keep selection on a setFont()
887 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
889 * lyx_cb.C: another bv->text misuse, from insert label
891 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
894 * kbsequence.C: re-instate nmodifier mask
896 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
898 * lyx_main.h: make lyxGUI private.
900 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
902 * lyxfind.C: place the cursor correctly on failed search
904 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
906 * text.C (getLengthMarkerHeight): for small heights, the arrows
907 are not always on top/bottom of the text
908 (drawLengthMarker): smaller arrows; take the left margin in
909 account; draw also vfills.
911 (paintLastRow): remove special code for vfill and standard spaces,
912 since everything is handled in drawLengthMarker now.
914 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
916 * buffer.C (insertErtContents): try to handle font and language
917 interaction a bit better.g
919 * ColorHandler.C (updateColor): change the hash to cover the whole
920 LColor enum, ws cleanup
921 (getGCLinepars): ditto
922 (getGCLinepars): only lookup in the linecache once.
924 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
926 * iterators.C (operator++): Make the iterator more robust
928 * BufferView2.C (removeAutoInsets): Use paragraph iterators
930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
932 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
935 * text.C: better added space drawing
937 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
940 * BufferView2.C: fix layout combo update on inset unlock
942 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
944 * Makefile.am: don't compile unused files
946 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
950 * LyXAction.C: remove old LFUN_LAYOUTNO
952 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
955 * paragraph_pimpl.C: isTextAt() doesn't need font param
957 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
960 * lyxlex.C: little cleanup
962 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
964 * BufferView_pimpl.C: fix insertAscii for insets
966 2001-12-05 Juergen Vigna <jug@sad.it>
968 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
969 set the right font on the "multi" paragraph paste!
971 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
977 * lyxlength.C: remove out-commented code.
993 * vc-backend.C: change "while(" to "while ("
995 * lyxlength.[Ch]: add zero function to check if length is zero or
997 * lyxgluelength.C: use it
999 2001-12-05 Allan Rae <rae@lyx.org>
1001 * lyxlength.C: Attempted a fix for the abs(int) header selection.
1002 Works for 2.95.3, from what I understand of Garst's reports this should
1003 work for other g++ versions. We're screwed if the abs(int) definition
1004 changed between bugfix releases of gcc.
1006 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1008 * text.C: fix chapter label offset !
1010 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
1013 * text.C: fix hfill at end of line, clean up
1015 2001-12-04 Juergen Vigna <jug@sad.it>
1017 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
1018 that we force an update of the inset and it's owners if neccessary.
1020 2001-12-03 Juergen Vigna <jug@sad.it>
1022 * text.C (rowLast): simplified code
1024 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
1026 * lyxfunc.C: fix show options on timeout
1028 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1030 * screen.C (topCursorVisible): scroll half a page when the cursor
1031 reached top of bottom of screen
1033 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
1035 * minibuffer.C: deactivate on loss of focus
1037 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1039 * vspace.[Ch] (operator!=): add operator.
1041 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1043 * BufferView_pimpl.C: refuse to open an inset when
1044 there's a selection.
1046 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
1048 * BufferView_pimpl.C: allow to click on RHS of full row insets
1050 2001-11-30 Juergen Vigna <jug@sad.it>
1052 * tabular.C (LyXTabular): add a same_id to set the same id's in the
1053 insets for undo reasons.
1055 2001-11-28 André Pönitz <poenitz@gmx.net>
1057 * vspace.[Ch]: cosmetical changes
1059 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1069 * kbsequence.C: part re-write of old kb code
1072 * WorkArea.C: remove Lgb_bug_find_hack
1074 2001-11-30 José Matos <jamatos@fep.up.pt>
1076 * buffer.C (makeDocBookFile): add a comment to point a hack.
1077 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
1078 Fixed a double write of labels.
1080 2001-11-29 Ben Stanley <bds02@uow.edu.au>
1083 * LaTeX.h Fixed bug in LaTeX class where it would not
1084 re-run latex if no depfiles were changed, but the .dvi was removed.
1086 2001-11-28 André Pönitz <poenitz@gmx.net>
1088 * all the files from the change on 2001/11/26:
1089 use lyx::layout_type instead of LyXTextClass::size_type
1090 use lyx::textclass_type instead of LyXTextClassList::size_type
1092 2001-11-29 Juergen Vigna <jug@sad.it>
1094 * text.C: added support for paragraph::isFreeSpacing()
1096 * buffer.C: same as above
1098 * paragraph.h: inserted isFreeSpacing() function to enable
1099 FreeSpacing inside InsetERT.
1101 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
1102 of the paragraph's in the cut/copy buffer to 0!
1104 * text2.C (removeRow): remove the assert as it can!
1106 * lyxtext.h: added helper function firstRow returning firstrow and
1107 made firstrow private again.
1109 * BufferView2.C (lockInset): don't relock if we're already locked!
1111 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
1113 (removeRow): added Assert::(firstrow)
1115 * debug.C: forgot to add INSETTEXT here.
1117 2001-11-28 Juergen Vigna <jug@sad.it>
1119 * sp_spell.C (initialize): changed error text to more general
1120 spellchecker command use (not only ispell!)
1122 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
1124 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
1126 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1128 * vspace.C: initialise lyxgluelength on failure
1130 2001-11-28 Allan Rae <rae@lyx.org>
1132 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
1133 declaration & definition that looks like a function declaration.
1135 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1137 * BufferView2.C (copy):
1138 (copyEnvironment): do not clear the selection when doing a copy.
1140 * text.C (paintFirstRow): compilation fix
1142 2001-11-27 Ben Stanley <bds02@uow.edu.au>
1144 * tabular.C (Latex): correct line count when writing latex.
1146 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
1148 * paragraph_pimpl.h:
1149 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
1152 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
1156 * LColor.C: change vfillline->added_space
1158 * text.C: add markers and text for added space
1160 * vspace.C: fix comment
1162 2001-11-28 André Pönitz <poenitz@gmx.net>
1164 * paragraph.C: whitespace changes
1165 * all the other files from the change on 2001/11/26:
1166 change *::pos_type into lyx::pos_type
1168 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
1170 * buffer.C (parseSingleLyXformat2Token): Set the language to the
1171 language of the document when inserting error insets.
1173 2001-11-26 André Pönitz <poenitz@gmx.net>
1175 * BufferView_pimpl.[Ch]:
1183 * paragraph_pimpl.[Ch]:
1186 * text2.C: reduce header dependencies, introduce type for positions
1188 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1190 * <various>: change to use Alert.h
1192 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1194 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1195 when encountering an unknown token.
1196 (readLyXformat2): Show an error message if there were unknown tokens.
1198 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1201 * BufferView_pimpl.C:
1205 * text2.C: use par->isInset()
1207 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1209 * paragraph_pimpl.h:
1210 * paragraph_pimpl.C: cleanup
1212 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1214 * text2.C (removeRow):
1215 * text.C (setHeightOfRow): remove useless (and costly) call to
1218 2001-11-20 Allan Rae <rae@lyx.org>
1220 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1221 Now need Inset*::checkInsertChar() to return true for appropriate
1222 cases so that the characters in the minibuffer will actually be
1225 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1227 * text.C: change the order of the includes.
1228 (workWidth): initialize it at once.
1229 (workWidth): make maxw unsigned
1230 (setHeightOfRow): remove unused variable (inset)
1231 (selectSelectedWord): remove unused variable (inset)
1232 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1234 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1236 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1237 server is not running.
1239 (closeConnection): add debug info when server is disabled.
1241 * ColorHandler.C (getGCForeground): send debug message to GUI
1244 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1246 * kbmap.C (bind): modify because return conventions of
1247 kb_sequence::parse have changed.
1249 * kbsequence.C (parse): only ignore spaces and not any stupid
1250 control character. This avoids tests like s[i] <= ' ', which are
1251 guaranteed to fail with 8bit characters and signed chars.
1252 Change return code to string::npos when there have been no error
1253 (0 was a bad idea when error is at first character)
1255 2001-11-14 José Matos <jamatos@fep.up.pt>
1258 * buffer.C (simpleDocBookOnePar): removed unused argument.
1260 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1262 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1263 insets which are part of a word. Paragraph::isLetter takes care of
1264 that now. Use Paragraph::isInset to identify insets.
1265 (selectSelectedWord): do not test for hyphenation break.
1267 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1268 that protected spaces are considered as spaces.
1270 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1273 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1276 * lyxserver.C: fix it. and small cleanup.
1278 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1280 * BufferView_pimpl.C: use inline helpers
1283 * LaTeXFeatures.C: fix typos
1286 * Spacing.C: move spacing_string into class
1288 * ToolbarDefaults.C: move stuff into namespace anon
1290 * layout.h: update enum
1292 * lyxfunc.C: use better debug
1294 * minibuffer.h: fix typo
1298 * WorkArea.C: add and use Debug::WORKAREA
1302 * text2.C: code re-organisation, inline helpers
1304 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1306 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1307 std::vector.empty().
1309 2001-11-09 Allan Rae <rae@lyx.org>
1311 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1312 '\n's after tables. Tabular and ERT inset work now makes this no
1315 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1318 * minibuffer.C: fix crash, improve drop-down completion
1320 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1323 * lyxserver.C: invalidate fd's when doing endPipe()
1325 2001-11-08 José Matos <jamatos@fep.up.pt>
1327 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1328 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1331 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1333 2001-11-07 José Matos <jamatos@fep.up.pt>
1336 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1339 * buffer.C (sgmlOpenTag):
1340 * buffer.C (sgmlCloseTag): removed debug info.
1342 * buffer.h (sgmlOpenTag):
1343 * buffer.h (sgmlCloseTag): made public.
1345 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1347 * buffer.C (saveParamsAsDefaults):
1348 * lyx_cb.C (MenuLayoutSave): remove
1350 * LyXAction.C (init):
1352 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1354 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1356 * buffer.C (setPaperStuff): removed from here...
1358 * bufferparams.C (setPaperStuff): ... and moved there.
1360 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1364 * XFormsView.C: add support for drop-down completion
1366 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1368 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1371 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1373 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1376 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1378 * lyx_main.C: change ref to known bugs
1380 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1382 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1383 to work around older babel problems.
1385 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1387 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1389 2001-10-24 Juergen Vigna <jug@sad.it>
1391 * tabular-old.C (ReadOld): below variable changes reflected.
1393 * tabular.[Ch]: added ltType struct for longtable header/footer
1394 defines and changed all instances where they are used. Added
1395 future support for double top/bottom rows.
1397 2001-10-24 José Matos <jamatos@fep.up.pt>
1399 * buffer.h (docbookHandleCaption):
1400 * buffer.C (docbookHandleCaption): removed unused function.
1401 (makeDocBookFile): moved docbook supported version to v4.1.
1403 2001-10-24 José Matos <jamatos@fep.up.pt>
1406 * tabular.C (docbookRow): new function to export docbook code of a row.
1407 (DocBook): now honors the longtable flags.
1409 2001-10-23 José Matos <jamatos@fep.up.pt>
1412 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1413 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1415 * buffer.C (makeLinuxDocFile):
1416 (makeDocBookFile): reworked the preamble, more clean, and with
1417 support for lyx defined entities. Changed the document declaration
1418 to be more XML friendly.
1420 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1421 if we need to output XML that should be done with a filter.
1423 2001-10-22 Juergen Vigna <jug@sad.it>
1425 * sp_pspell.h (class PSpell): add alive function needed in the
1426 controller to see if the spellchecker could be started.
1428 2001-10-22 Juergen Vigna <jug@sad.it>
1430 * buffer.C (insertStringAsLines): modify the font for inserting
1431 chars in certain conditions by calling checkInsertChar(font).
1433 2001-10-19 Juergen Vigna <jug@sad.it>
1435 * text.C (workWidth): use getRow instead of wrong algorithm.
1436 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1438 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1443 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1445 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1447 * text.C (workWidth): do not search for the exact row when
1448 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1449 optimization for big documents.
1451 2001-10-18 Juergen Vigna <jug@sad.it>
1453 * text.C (workWidth): new function with added Inset * parameter.
1455 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1457 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1459 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1460 change return type of getColumnNearX.
1463 * text.C (changeRegionCase): use uppercase/lowercase instead of
1466 (rightMargin): simplify code by factoring out the uses of
1471 (appendParagraph): use Paragraph::size_type
1473 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1475 * vspace.C (asLatexString): add a missing break
1477 2001-10-15 Herbert Voss <voss@perce.de>
1479 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1481 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1483 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1486 2001-10-10 André Pönitz <poenitz@gmx.net>
1488 * lyxfunc.C: removed greek_kb_flag.
1490 2001-10-10 Herbert Voss <voss@perce.de>
1492 * lyx_main.C: delete global string help_lyxdir.
1494 2001-10-09 Herbert Voss <voss@perce.de>
1496 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1498 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1500 * lyx_main.C: added global string help_lyxdir.
1502 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1504 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1506 * lyxrc.C (set_font_norm_type): support iso8859-4
1508 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1510 * LaTeX.C (deplog): add another regex for MikTeX
1512 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1514 * lyxrc.C (set_font_norm_type): support iso8859-3
1516 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1518 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1520 * LaTeXFeatures.C: remove special case of french and index
1522 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1523 before \begin{document}). This solves several incompatibilities.
1525 2001-10-03 Garst Reese <reese@isn.net>
1527 * lyx_cb.C: change CheckTex error msg.
1529 2001-10-03 José Matos <jamatos@fep.up.pt>
1531 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1533 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1535 * .cvsignore: update
1537 * lyx_main.C (commandLineVersionInfo): use new style version info.
1539 * buffer.C (writeFile):
1542 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1544 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1546 * version.h: update to use stuff in version.C
1548 * version.C.in: new file. Contains version information determined
1549 at compile time. This is a merging of version.h and
1552 2001-10-03 Juergen Vigna <jug@sad.it>
1554 * BufferView_pimpl.C (update): don't change "dirty" status in
1557 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
1559 * WorkArea.C (c-tor): re-position version string slightly.
1561 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
1563 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1564 revert to previous code.
1566 WorkArea.[Ch]: (show, destroySplash): methods removed.
1568 WorkArea.C: rework code so that it's an amalgam of the codes before and
1569 after the splash screen was moved to WorkArea.
1571 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1574 * vspace.C (inPixels):
1577 * buffer.C (insertStringAsLines):
1578 (asciiParagraph): fix types to be large enough
1580 * lyxlex_pimpl.h: change member status from short to int
1582 * layout.h: fix type of endlabeltype
1585 * kbsequence.C (parse): change return type to string::size_type
1587 * LaTeX.C (updateBibtexDependencies): comment out unneeded
1590 * Bullet.C (bulletSize):
1591 (bulletEntry): do not use short ints as parameters
1593 * BufferView2.C (insertLyXFile): change a char to an int.
1595 * WorkArea.C (WorkArea): remove unneeded floats in computation
1597 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
1599 * buffer.C (asciiParagraph): Treat '\\' as other chars.
1601 * paragraph.C (asString): Do not ignore newline/hfill chars when
1602 copying to the clipboard.
1604 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
1606 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1607 after a multi-line inset.
1609 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1611 * paragraph.C (validate): Set NeedLyXFootnoteCode
1613 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1615 * lyxfont.C (LyXSizeNames): changed increase-error to increase
1616 and decrease-error to decrease.
1618 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1620 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
1621 it more readable (should be equivalent)
1623 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
1625 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
1627 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1629 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
1630 of a cursor (row, etc.) after a character has been deleted
1631 (deleteEmptyParagraphMechanism): call the method above on _all_
1632 cursors held by the LyXText when a double space has been
1635 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1637 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
1639 (resizeCurrentBuff): remove code to destroy the old splash dialog.
1641 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
1642 background. Use greyOut() and the new show() methods to toggle between
1643 the foreground and background. Add code to remove the splash after
1644 its initial showing.
1646 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
1647 (create_forms): no longer call Dialogs::showSplash.
1649 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1651 * .cvsignore: add version_info.h
1653 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1655 * version_info.h.in: new file
1657 * Makefile.am: add version_info.h.in
1659 * lyx_main.C (commandLineVersionInfo): use version_info defined in
1660 version_info.h instead of VERSION_INFO
1662 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1664 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1665 The ERT inset now returns string().
1667 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1669 * lyxtext.h, text.C (selectNextWord): renamed as
1670 selectNextWordToSpellcheck.
1672 * text.C (selectNextWordToSpellcheck): Modified to not select
1673 words inside an ERT inset.
1675 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1677 * lyx_cb.C (MenuLayoutSave): change a bit the question
1679 * sp_base.h: include <sys/types.h>
1681 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1683 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1685 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
1687 * several files: fix typos in user-visible strings
1689 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1691 * text2.C (pasteSelection): do not set the selection, since it
1692 will be cleared later. Actually, the intent was to fix the way the
1693 selection was set, but I figured rmoving the code was just as good.
1695 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
1697 * FontLoader.C (available): Check if font is available without
1700 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1702 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1704 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1706 * lyxrc.[Ch]: added display_graphics variable and associated code.
1708 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1710 * bufferparams.C (hasClassDefaults): new method. Returns true if
1711 the buffer parameters correspond to known class defaults
1713 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
1715 * XFormsView.C (show): set minimum size to the main window.
1717 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1719 * text2.C (copySelection):
1721 * lyxfind.C (LyXReplace):
1722 * BufferView_pimpl.C (Dispatch): pass the correct flag to
1723 LyXText::selectionAsString.
1725 * paragraph.C (asString): add "label" argument to the second form
1727 * text2.C (selectionAsString): add "label" argument and pass it to
1728 Paragraph::asString.
1730 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1732 * lyx_main.C (commandLineHelp): remove version information
1734 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
1736 * lyx_main.C: add -version commandline option
1738 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1740 * paragraph.h: make the optional constructor arg required instead.
1741 some modifications to other files because of this.
1743 * minibuffer.C (C_MiniBuffer_peek_event): make it static
1745 * lyxserver.C (C_LyXComm_callback): make it static
1747 * lyx_main.C (error_handler): make it static
1749 * lyx_gui.C (LyX_XErrHandler): make it static
1751 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1753 * WorkArea.C: make the extern "C" methods static.
1755 * Makefile.am (lyx_LDADD): simplify
1757 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1759 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1760 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1762 * LyXAction.C (init):
1763 * lyxfunc.C (dispatch): associated code removal.
1765 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1767 * lyxfont.h (isSymbolFont): shut off warning
1769 * text.C (setHeightOfRow):
1770 (getVisibleRow): fix crash with empty paragraphs which have a
1773 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1775 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1778 2001-09-04 José Matos <jamatos@fep.up.pt>
1781 * tabular.C (docbook): rename docBook method to docbook.
1783 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1785 * Makefile.am: add dependencies to main.o.
1787 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
1789 * FontLoader.C (available): Return false if !lyxrc.use_gui
1791 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
1793 * FontInfo.C (query):
1794 * converter.C (view):
1795 * importer.C (Import):
1796 * exporter.C (Export): Can not -> cannot.
1798 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1800 * BufferView_pimpl.C: allow to create index inset even if
1803 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1805 * buffer.C (getLists): replace boost::tie code with an explicit pair
1806 as boost::tie can break some compilers.
1808 * iterators.h: Added a std:: declaration to the return type of
1811 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1813 * lyxrc.C: add help for view_dvi_paper_option, default to safe
1816 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1818 * iterators.[Ch]: New files. Provide paragraph iterators.
1820 * buffer.C (changeLanguage): Use paragraph iterators.
1821 (isMultiLingual): ditto
1823 * BufferView2.C (ChangeInsets): Use paragraph iterators.
1825 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
1827 * FontLoader.C: Support for cmr font.
1829 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
1831 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1832 (available): New method.
1834 * FontInfo.C (getFontname): Use scalable fonts even when
1835 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1838 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1840 * converter.C (Formats::view): reverted! Incorrect fix.
1842 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1844 * converter.C (Formats::view): only output the -paper option
1845 if the dvi viewer is xdvi, thereby fixing bug #233429.
1847 2001-08-23 Herbert Voss <voss@perce>
1849 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1851 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1853 * Spacing.h (Spacing): Set space to Default on in the default
1856 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
1858 * vc-backend.h (RCS::versionString): add RCS to version
1859 (CVS::versionString): add CVS to version
1861 * vc-backend.C (scanMaster): do not add CVS to version.
1862 (scanMaster): do not add RCS to version
1864 * lyxvc.C (versionString): new method
1866 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1868 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1870 * Spacing.C (set): initialize fval
1872 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
1874 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1877 2001-08-16 Juergen Vigna <jug@sad.it>
1879 * lyxfunc.C (dispatch): implemented the new FINISHED states.
1881 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1883 * BufferView_pimpl.C:
1886 * text2.C: setParagraph takes linespacing now
1888 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1890 * LyxAction.C: add internal LFUN_CITATION_INSERT
1892 * LyXView.C: actually apply fix
1894 * bufferlist.C: fix open non-existent file
1896 * lyxfind.C: fix indentation
1898 * lyxfunc.C: remove unneeded assert, fix typo
1900 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1902 * MenuBackend.C: use "Floatname List"
1904 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1906 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1907 when converting LaTeX layout to insetERT.
1908 Generate a non-collapsed float when reading old float
1910 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1912 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1915 2001-08-13 Juergen Vigna <jug@sad.it>
1917 * text.C (fill): return 0 instead of 20 as this seems to be the more
1920 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1922 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1925 2001-08-13 Juergen Vigna <jug@sad.it>
1927 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1929 (SearchBackward): comment out the unlocking of the inset_owner this
1930 should not be needed!
1932 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1934 * Many files: Remove inherit_language, and add latex_language
1936 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1939 2001-08-10 Juergen Vigna <jug@sad.it>
1941 * text.C (prepareToPrint): fixed hfill-width in draw!
1943 * BufferView2.C (selectLastWord): save the selection cursor as this
1944 now is cleared in the function LyXText::clearSelection!
1946 2001-08-08 Juergen Vigna <jug@sad.it>
1948 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1949 BACKSPACE type functions.
1951 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1952 is only cutted from the document but not put in the cut-buffer, where
1953 still the old stuff should be.
1955 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1957 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1959 * tabular.C (SetWidthOfCell): fixed special case where the width
1961 (LeftLine): handle '|' in align_special.
1963 (LeftAlreadyDrawed): ditto
1964 (SetWidthOfCell): ditto
1966 2001-08-07 Juergen Vigna <jug@sad.it>
1968 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1970 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1972 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1973 * lyxlex.[hC]: ditto
1975 2001-08-06 Juergen Vigna <jug@sad.it>
1977 * text.C (getVisibleRow): fix up row clearing a bit.
1979 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1981 * minibuffer.C: make sure the X server sees the changes in the input.
1983 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1985 * paragraph.C (getFont): split into...
1986 (getLabelFont): this
1987 (getLayoutFont): and this
1988 * paragraph_pimpl.C (realizeFont): calling this
1990 * text2.C (getFont): split into...
1991 (getLayoutFont): this
1992 (getLabelFont): and this
1993 (realizeFont): all three calling this
1995 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1998 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2000 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2002 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
2004 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
2005 layouts from the Quote inset insertion.
2007 2001-08-03 Juergen Vigna <jug@sad.it>
2009 * BufferView_pimpl.C (update): do the fitCursor only at the end!
2011 * screen.C (drawFromTo): don't call fitcursor here and do the loop
2012 only if status not is already CHANGED_IN_DRAW (second level).
2014 * text.C (draw): don't set the need_break_row when inside an
2017 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2019 * buffer.C (parseSingleLyXformat2Token): handle more latex
2022 * bufferview_funcs.[hC]: change function names to
2023 begin with small char, adjust other files.
2025 2001-08-02 André Pönitz <poenitz@gmx.net>
2028 BufferView_pimpl.C: remove broken special code for math-greek
2030 2001-08-02 Juergen Vigna <jug@sad.it>
2032 * BufferView_pimpl.C (update): redone this function so that we
2033 update the text again if there was a CHANGE_IN_DRAW.
2035 * screen.C (cursorToggle): removed LyXText parameter and recoded.
2036 (drawFromTo): added a new internal bool which is used by draw() and
2038 (general): some cursor drawing problems fixed.
2040 2001-08-01 Juergen Vigna <jug@sad.it>
2042 * lyxfind.C (LyXFind): fixed
2043 (SearchForward): ditto
2044 (SearchBackward): ditto
2046 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
2047 spurius drawing of the cursor in the main area.
2049 * text2.C (status): small fix which could lead to a segfault!
2050 (clearSelection): remove unneeded BufferView param.
2052 2001-08-01 André Pönitz <poenitz@gmx.net>
2054 * lyxfunc.C: small change due to changed mathed interface
2056 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2058 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2060 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
2062 * lyxfunc.c: fail gracefully if file doesn't exist
2067 * BufferView_pimpl.C: IsDirWriteable() proto changed
2069 * LyXView.C: fix updateWindowTitle() to store the last title
2071 2001-07-31 Juergen Vigna <jug@sad.it>
2073 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
2074 the font (wrong since using of Paragraph::highestFontInRange).
2076 * paragraph.C (highestFontInRange): added a default_size parameter.
2078 * text.C (getVisibleRow): minor clear row changes (still not perfect).
2079 (setHeightOfRow): reformat
2081 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2083 * converter.[hC] + affected files: move to (inital-char)lowercase
2086 * ParagraphParameters.C (ParagraphParameters): remove commented code
2088 * PainterBase.[Ch]: remove commented code
2090 * LaTeXFeatures.h: add "bool floats" for float.sty
2092 * LaTeXFeatures.C (LaTeXFeatures): init floats
2093 (require): handle float
2094 (getPackages): do it with floats
2096 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2098 * BufferView_pimpl.C (Dispatch): improve handling of
2099 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
2101 * commandtags.h: #include lyxfont.h here temporarily to avoid
2104 * bufferlist.h: include LString.h here.
2106 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2108 * text2.C (getStringToIndex): new method.
2110 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
2112 * *: Reduced header file dependencies all over.
2114 2001-07-30 Baruch Even <baruch@lyx.org>
2116 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2118 2001-07-29 Baruch Even <baruch@lyx.org>
2120 * buffer.C (readInset): Changed GRAPHICS to Graphics.
2122 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2124 * ParameterStruct.h (endif): add a default constructor to make
2125 sure that all variables is initialized.
2127 * ParagraphParameters.C (ParagraphParameters): adjust
2129 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2131 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
2132 index; also, check that there is something to index, and that it
2133 does not span over several paragraphs.
2134 (doubleClick): use WHOLE_WORD_STRICT for double click.
2136 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
2138 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
2141 2001-07-26 Baruch Even <baruch@lyx.org>
2143 * buffer.C (readInset): Changed to call up InsetGraphics when reading
2144 an InsetFig figure, backwards compatible reading of old figure code.
2146 2001-07-27 Juergen Vigna <jug@sad.it>
2148 * text2.C: font.realize function adaption.
2150 * text.C (draw): add a warnings lyxerr text if needed.
2152 * layout.C: font.realize function adaption.
2154 * language.C: add inherit_language and implement it's handlings
2156 * bufferview_funcs.C (StyleReset): remove language parameter from
2157 font creation (should be language_inherit now).
2159 * bufferparams.C (writeFile): handle ignore_language.
2161 * paragraph.C (getFontSettings): the language has to be resolved
2162 otherwise we have problems in LyXFont!
2164 * lyxfont.C (lyxWriteChanges): added document_language parameter
2165 (update): removed unneeded language parameter
2167 * paragraph.C (validate): fixed wrong output of color-package when
2168 using interface colors for certain fonts in certain environments,
2169 which should not seen as that on the final output.
2171 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
2173 * BufferView_pimpl.C:
2178 * LyXAction.C: add thesaurus support
2181 * lyxfind.C: add "once" parameter, for thesaurus, to not
2182 move to the next match
2184 2001-07-26 Juergen Vigna <jug@sad.it>
2186 * lyxfont.C (realize): honor ignore_language too!
2189 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2191 * text.C (draw): one place more for ignore_language to not draw
2194 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2196 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2198 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2200 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2201 the minipage conversion problem.
2203 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2205 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2208 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2210 * BufferView.h: don't forward declare WorkArea
2212 * BufferView.C: don't include WorkArea.h
2214 2001-07-25 André Pönitz <poenitz@gmx.net>
2218 * lyxfunc.C: new LFUN 'math-space'
2220 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2222 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2224 * text2.C (toggleInset): call open/close
2226 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2228 * lyxfunc.C (dispatch): add debug for the disabled case
2230 * font.C (buttonText): make similar to rectText
2232 * buffer.C (readInset): comment out parsing of insetlist and
2235 * PainterBase.C (rectText): small correction
2237 * BufferView_pimpl.C: comment out insettheorem and insetlist
2238 * LyXAction.C: ditto
2239 * commandtags.h: ditto
2241 2001-07-24 Juergen Vigna <jug@sad.it>
2243 * text.C (draw): honor the ignore_language.
2245 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2247 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2249 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2252 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2254 * lyxtext.h: remove unused (and unimplemented) methods
2256 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2258 * text.C (getVisibleRow): honor background color
2261 * Painter.h: remove default color argument for fillRectangle
2263 * text.C (backgroundColor): new method
2265 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2267 * text.C (getVisibleRow): adjust
2269 * font.[Ch] (rectText): new method, metrics
2270 (buttonText): new method, metrics
2272 * PainterBase.[hC]: make rectText and buttonText always draw and take
2275 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2277 * ToolbarDefaults.C (read):
2278 * MenuBackend.C (read): allow escaping in all strings
2280 * BufferView_pimpl.C (insertAndEditInset): new method.
2281 (Dispatch): use insertAndEditInset whenever appropriate.
2283 * BufferView_pimpl.C (insertNote): removed
2285 * BufferView_pimpl.C (smartQuote): new method, moved from
2286 BufferView; if an insetquote cannot be inserted, insert a '"'
2289 * BufferView2.C: remove insertCorrectQuote();
2291 * lyxfunc.C (getStatus): Add support for all remaingin
2294 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2296 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2297 command (necessary to pass " as parameter of self-insert.
2299 * text.C (selectWordWhenUnderCursor):
2300 (selectWord): add word_location parameter
2301 (selectWordWhenUnderCursor): same + remove special code for word
2303 (selectNextWord): use kind() to guess type of insetspecialchar,
2306 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2307 (insertErtContents): create ert insets as collapsed.
2308 (readInset): better compatibility code for Info inset.
2310 2001-07-20 Juergen Vigna <jug@sad.it>
2312 * lyxfunc.C (dispatch): use always LyXFind now!
2314 * text2.C (init): add a reinit flag so that the LyXText can be
2315 reinited instead of deleted and reallocated (used in InsetText).
2317 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2323 2001-07-18 Juergen Vigna <jug@sad.it>
2325 * text.C (selectNextWord): handle insets inside inset by calling
2326 always the bv->text functions so that we can go up the_locking_inset!
2328 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2329 in strange locations when inside an inset!
2331 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2332 handling to include insets.
2334 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2336 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2338 * LyXAction.C (init):
2340 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2341 LIGATURE_BREAK, since the name is so stupid.
2343 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2345 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2348 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2350 * sp_form.[Ch]: remove.
2352 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2354 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2357 * src/buffer.C (readInset): ditto.
2359 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2361 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2362 menuSeparator(), endOfSentenceDot(), ldots() and
2363 hyphenationPoint(), which are therefore removed.
2364 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2366 * LyXAction.C (init):
2367 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2369 * paragraph.C (getWord): removed.
2371 * BufferView_pimpl.C (Dispatch): use last word or selection for
2372 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2374 * lyx_main.C (queryUserLyXDir): do not ask before creating
2375 user_dir, except if it has been named explicitely.
2377 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2379 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2380 a document of zero size.
2382 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2384 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2385 approriately in the c-tor and in require().
2386 (getPackages): output the appropriate LaTeX for natbib support.
2388 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2389 variables "use_natbib" and "use_numerical_citations" when reading the
2391 (readInset): read the various natbib cite commands.
2392 (validate): white-space change.
2394 * bufferparams.[Ch]: new variables "bool use_natbib" and
2395 "bool use_numerical_citations".
2396 (writeFile): output them in the LyX file.
2398 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2400 * lyxfunc.C (getStatus): add support for all the inset insertion
2403 * text2.C (insertInset):
2404 * paragraph.C (insetAllowed):
2405 * BufferView_pimpl.C (insertInset): update to take in account the
2406 renaming of insertInsetAllowed
2408 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2410 * text2.C (getInset): new method. returns inset at cursor position.
2412 * BufferView_pimpl.C (Dispatch): changes because of this.
2414 * LyXAction.C (init): rename open-stuff to inset-toggle.
2416 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2418 * text2.C (toggleInset): renamed from openStuff; use
2421 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2423 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2425 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2427 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2429 * buffer.C (readLyXformat2): Add filename to the error dialog
2431 2001-07-18 Juergen Vigna <jug@sad.it>
2433 * tabular.C (GetCellNumber): put an assert here instead of the check!
2435 2001-07-17 Juergen Vigna <jug@sad.it>
2437 * BufferView_pimpl.C (toggleSelection): adapted too.
2439 * text.C (selectNextWord): adapted for use with insets.
2440 (selectSelectedWord): ditto
2442 2001-07-17 Juergen Vigna <jug@sad.it>
2444 * sp_spell.C (PSpell): fix initialitation order.
2446 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2448 * paragraph.C: spacing
2450 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2452 * sp_spell.C: repair language selection for pspell
2454 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2456 * lyxfunc.h: change more methods to begin with lower char.
2458 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2460 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2461 for unknown layouts.
2463 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2465 * buffer.C (readLyXformat2): Generate an error dialog if there are
2468 2001-07-16 Juergen Vigna <jug@sad.it>
2470 * sp_spell.C: always compile ISpell part.
2472 * lyxrc.C: added use_pspell entry and it's handling.
2474 2001-07-13 Juergen Vigna <jug@sad.it>
2476 * sp_spell.C: removed double includes.
2478 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2480 Consistent use of Lsstream.h:
2481 * Lsstream.h: added using std::stringstream for consistencies sake.
2483 * buffer.C: removed using std::stringstream
2485 * lyxfont.C (stateText):
2486 * paragraph.C (asString):
2487 * text.C (selectNextWord, selectSelectedWord):
2488 * text2.C (setCounter):
2489 * vspace.C (asString, asLatexString):
2490 std::ostringstream -> ostringstream.
2492 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2494 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2495 * commandtags.h: add LFUN_HELP_ABOUTLYX
2496 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2498 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2500 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2502 * lyx_gui_misc.C: remove spellchecker
2503 * lyxfunc.C: showSpellchecker
2505 * sp_ispell.h: added
2506 * sp_pspell.h: added
2508 * sp_form.[Ch]: removed
2509 * spellchecker.[Ch]: removed
2511 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2513 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2515 (simpleTeXSpecialChars): Simply print the input character without
2516 any special translation if pass_thru is set.
2518 * layout.h: Added bool pass_thru to layout class for being able to
2519 implement pass through of a paragraph for Literate Programming.
2521 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2522 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2523 * layout.C (Read): add "passthru" to list of layout tags and add
2524 code to set the pass_thru boolean when it is read.
2526 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2528 * trans_decl.h: remove allowed from KmodInfo
2530 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2534 * paragraph_pimpl.C (erase): use boost::prior
2536 * Painter.C (text): use data() instead of c_str() when length is
2538 * WorkArea.C (putClipboard): ditto
2539 * font.h (width): ditto
2541 * BufferView2.C: use it-> instead of (*it). for iterators
2543 * paragraph_pimpl.C: ditto
2544 * paragraph.C: ditto
2545 * minibuffer.C: ditto
2550 * converter.C: ditto
2552 * Variables.C: ditto
2553 * TextCache.C: ditto
2554 * MenuBackend.C: ditto
2555 * LyXAction.C: ditto
2557 * FloatList.C: ditto
2559 * ColorHandler.C (LyXColorHandler): ditto
2561 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2563 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2565 * text2.C (openStuff): reintroduce this method (which had been
2566 nuked in NEW_INSETS frenzy).
2568 * lyxfunc.C (Dispatch): when an action has not been handled, use
2569 its name in the error message, not its number.
2571 * paragraph.C (inInset): change method name to begin with lowercase.
2574 * text2.C: updates because of this.
2576 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2578 * ToolbarDefaults.C (add): add spaces in error message
2580 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2582 * buffer.C (readLyXformat2): initialize the ert comp. variables.
2583 (readLyXformat2): rename return_par to first_par, use lyxlex's
2584 pushToken and remove the manual push handling.
2585 (parseSingleLyXformat2Token): add another ert comp. variable:
2586 in_tabular, rename return_par to first_par. handle newlines better
2588 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2590 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2592 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2594 * text2.C (getParFromID): removed
2596 * buffer.C (getParFromID): new method moved form lyxtext.
2597 * BufferView2.C (insertErrors): adjust
2598 (setCursorFromRow): adjust
2599 * BufferView_pimpl.C (restorePosition): adjust
2600 * lyxfunc.C (Dispatch): adjust
2601 * undo_funcs.C (textUndo): adjust
2603 (textHandleUndo): adjust
2604 (textHandleUndo): adjust
2606 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2608 * buffer.C: up' the LYX_FORMAT
2610 * lyxfont.h: turn NO_LATEX on as default
2612 * buffer.C (insertErtContents): new methods of tex style compability.
2613 (parseSingleLyXformat2Token): use it several places.
2614 * tabular.C (OldFormatRead): and here
2616 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2618 * text2.C: remove some commented code.
2621 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
2622 * trans.C: changes because of the above.
2624 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
2626 * text2.C (setCounter): Fix counters bug with bibliography layout.
2628 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2630 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
2631 own member functions
2632 (simpleTeXSpecialChars): ditto
2634 2001-07-06 Juergen Vigna <jug@sad.it>
2636 * a lot of files: changed the access to LyXText::status and the
2637 call of undo-functions.
2639 * undo.[Ch]: added a inset_id to the undo informations.
2641 * undo_funcs.[Ch]: added and moved here all undo functions.
2643 * lyxtext.h: give the status enum a weight, made status_ a private
2644 variable and made accessor functions for it, removed the whole bunch
2645 of undo-functions as they are now in their own file, make some
2646 functions publically available. Added function ownerParagraph with
2649 * paragraph.[Ch]: added "bool same_ids" to the constructor,
2650 made InInset() a const function, added getParFromID() function.
2652 * buffer.[Ch]: added const version for inset_iterator functions,
2653 added getInsetFromID() function.
2655 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2656 changed undo functions for new version.
2658 2001-07-05 Juergen Vigna <jug@sad.it>
2660 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2661 unknow mechanism does not call the proper constructor but only this
2662 one also if I request the other!?
2664 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2666 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2668 * text2.C (LyXText): use initialization lists.
2670 * lyxtext.h (Selection): initialize set_ and mark_
2671 (init): remove method
2673 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
2675 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2677 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2679 * screen.[Ch]: change method names to begin with lowercase
2681 * BufferView_pimpl.C (updateScrollbar): simplify further and
2682 hopefully make it a bit faster.
2684 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2686 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2687 calling directly xforms functions.
2689 * Painter.C (Painter):
2690 * lyx_cb.C (MenuWrite):
2691 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2694 * lyx_gui.C: remove bogus guiruntime extern declaration.
2696 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2698 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2700 (redoDrawingOfParagraph): ditto
2701 (redoParagraphs): ditto
2702 (cutSelection): don't create a object for CutAndPaste use the
2703 static method directly
2704 (pasteSelection): ditto
2706 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2709 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2711 * modifications to some other files because of this.
2713 * Makefile.am (lyx_SOURCES): add XFormsView
2715 * XFormsView.[Ch]: new files
2717 * LyXView.[Ch]: make LyXView a base class for the gui handling for
2718 the main window. Move the gui dependent stuff to XFormsView
2720 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2722 * tabular.C (GetCellInset): update cur_cell also in the row/col
2723 version of this function.
2725 * lyxfunc.C: no need to include figure_form.h here.
2731 * lyxvc.C: no need to include forms.h here.
2733 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2735 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2737 * lyxfunc.C (Dispatch):
2739 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2740 constructor argument.
2742 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2744 * paragraph.C (Paragraph): dont't clear, and just set layout.
2745 (makeSameLayout): use params's copy contructor.
2747 * ParagraphParameters.[Ch] (makeSame): delete method
2749 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2751 * Variables.[Ch]: fix indentation, rename set to isSet
2753 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2755 * lyxfunc.C (Dispatch): fix typo
2757 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2759 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2762 * bufferlist.C: include assert.h for emergencyWrite().
2764 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2766 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2767 give up at last (bug #425202) !
2769 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
2775 * spellchecker.C: strip spellchecker options and bring up
2776 preferences tab instead
2778 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2780 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2781 the istringstream constructor
2783 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2785 * paragraph.C (getLayout): fix return value
2787 * paragraph.h: do not declare getLayout as inline.
2789 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2791 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2793 * lyxcursor.h (operator<): new func
2794 (operator>): new func
2795 (operator>=): new func
2796 (operator<=): new func
2798 * text.C (changeCase): use selection.start and selection.end
2799 (changeRegionCase): require from to be <= to. Require par to be a
2802 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2804 2001-06-27 Juergen Vigna <jug@sad.it>
2806 * text.C (cursorLeftOneWord): changed to return the cursor and added
2807 overlay with BufferView * parameter which calls this one.
2809 (selectWord): use new getWord function.
2810 (changeCase): renamed from changeWordCase as and extended to work
2813 * lyxtext.h: added enum word_location
2815 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2816 changeCase as this operates now also on selections.
2818 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2820 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2822 * many files: send debug output to Debug::INFO instead of
2825 * converter.C (View):
2827 (Move): send debug output to Debug::FILES instead of console.
2829 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2831 * lyxfunc.C (getStatus): use func_status
2833 * func_status.h: new header, describing the results of
2836 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2839 2001-06-25 The LyX Project <jug@sad.it>
2841 * buffer.C (sgmlOpenTag):
2843 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
2845 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2847 * text2.C: remove some dead code
2849 * tabular.C (GetCellInset): store the last cell checked (gotten)
2851 * tabular.h: add the helper for the speedup
2853 * lyxtext.h: remove some dead code
2855 2001-06-26 The LyX Project <Asger>
2857 * paragraph.C: Change export to LaTeX of alignment to
2858 \begin{center} and family for better roundtrip work with reLyX.
2860 * Tune the math drawing a bit.
2862 2001-06-25 The LyX Project <Asger>
2864 * LColor.C (LColor): New color for math background. New color
2867 2001-06-25 The LyX Project <jug@sad.it>
2869 * lyxfunc.C (MenuNew): remove extra check for .lyx file
2872 * bufferlist.C (newFile): do not restrict to files ending with
2875 * BufferView_pimpl.C (MenuInsertLyXFile):
2877 2001-06-24 The LyX Project <jug@sad.it>
2879 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2882 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2884 * lyxtext.h: rename most methods to begin with a small char.
2885 Lots of changes because of this.
2887 * paragraph.C (Paragraph): do not call fitToSize
2888 (erase): call Pimpl::erase
2889 (insertChar): call Pimpl::insertChar
2890 (insertInset): call Pipl::insertInset
2891 (breakParagraph): do not call fitToSize
2892 (breakParagraphConservative): do not call fitToSize
2893 (fitToSize): remove method
2895 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2897 2001-06-24 The LyX Project <Asger>
2899 * Fix Qt compilation^2
2901 2001-06-24 The LyX Project <jug@sad.it>
2903 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2904 depthHook(getDepth()-1).
2907 * ParagraphParameters.h:
2908 * ParameterStruct.h: change type of depth to unsigned int ==
2909 depth_type. Many adaptations to other files before of that.
2911 2001-06-24 The LyX Project <Asger>
2913 * Fix Qt compilation.
2915 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2917 * paragraph.h: renamed several methods to begin with small letter.
2918 several changes to many parts of the code because of this.
2920 2001-06-23 The LyX Project <jug@sad.it>
2922 * text2.C (InsertStringAsLines): renamed from InsertStringA;
2923 rewritten to discard all double spaces when KeepEmpty is off
2924 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2925 to only handle newlines but not fiddle with spaces and friends.
2927 * lyxfunc.C (MenuNew): when doing 'new from template', use
2928 template_path as default directory
2930 2001-06-23 The LyX Project <Asger>
2932 * Clean-up of header file includes all over
2933 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2935 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2937 * paragraph.h: renamed from lyxparagraph.h
2939 2001-06-23 Asger <lyx@violet.home.sad.it>
2941 * Buffer.h: Removed Buffer::resize
2942 * BufferList.h: Removed BufferList::resize
2943 * LyXView.h: Added LyXView::resize. This way, we will only reflow
2944 the document lazily when we change the width, or the font settings.
2946 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2948 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2950 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2952 * buffer.h: remove out of date comment
2954 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2957 * screen.C: fix "theoretical" GC leak
2959 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2961 * LaTeX.C (scanAuxFile):
2962 (deplog): remove trailing \r when reading stream (useful under
2965 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2967 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2968 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2969 and BufferView::theLockingInset(Inset*), so should use them and not
2970 access bv_->text->the_locking_inset directly.
2972 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2974 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2977 * tex-defs.h: remove old unused file
2979 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
2981 * BufferView_pimpl.C: fix typo, remove minibuffer message
2982 when buffer has loaded
2984 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2986 * lyxfunc.C (Dispatch): use stringstream
2987 (MenuNew): use stringstream
2988 (Open): use stringstream
2990 * importer.C (Import): use stringstream
2992 * bufferview_funcs.C (CurrentState): use stringstream
2994 * LaTeX.C (run): use stringstream
2996 * BufferView_pimpl.C (savePosition): use stringstream
2997 (restorePosition): use stringstream
2998 (MenuInsertLyXFile): use stringstream
3000 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
3013 * vspace.C: removed // -*- C++ -*- as first line.
3016 * version.h: added // -*- C++ -*- as first line.
3018 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3020 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
3022 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
3025 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3027 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
3030 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3032 * gettext.C: include LString.h even when --disable-nls is on.
3034 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
3036 * converter.h (Get): changed argument type from int to
3037 FormatList::size_type to avoid unnecessary conversion.
3039 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
3042 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3044 * gettext.h: include LString.h even when --disable-nls is on.
3046 2001-06-07 Juergen Vigna <jug@sad.it>
3048 * text.C (BreakAgain): subst spaces with tabs.
3050 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
3051 (resizeInsetsLyXText): set force on resizeLyXText.
3053 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3055 * gettext.h (gettext_init):
3056 (locale_init): use a real definition instead of a macro
3058 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
3060 * Bufferview_pimpl.C:
3062 * LColor.C: further lcolor tidies
3064 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3066 * BufferView_pimpl.C (updateScrollbar): simplify.
3068 * BufferView2.C: don't include insets/insetinfo.h, change
3069 prototype for insertInset and call the Pimpl version. let
3070 updateInset call Pimpl version.
3072 * BufferView.h: move inset_slept to BufferView::Pimpl, move
3073 gotoInset to BufferView::Pimpl
3075 2001-06-01 Juergen Vigna <jug@sad.it>
3077 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
3078 inside a LockingInset (is the update needed at all?).
3080 2001-05-31 Juergen Vigna <jug@sad.it>
3082 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
3083 here not the old one otherwise how should we compare it afterwards
3086 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3091 * FontInfo.C: bring C functions into global namespace when
3094 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3096 * LString.h: make sure config.h has been loaded before LString.h.
3098 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
3099 (one for each char read by EatLine!).
3101 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
3104 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3106 * paragraph.C (BreakParagraph): set the inset_owner in the new par
3107 to the same as the par we break from
3109 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3111 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
3113 * MenuBackend.C (expand): also create menu entries for wide
3114 versions of the floats.
3116 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
3118 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
3120 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
3121 frontends/Makefile.am
3127 * tabular.C (getTokenValue): add std::
3129 * tabular-old.C (getTokenValue): add std::
3130 (getTokenValue): ditto
3131 (getTokenValue): ditto
3133 * screen.C (ToggleSelection): adjust
3135 * lyxtext.h: put selection cursors inside a Selection struct.
3137 * lyxfunc.C (moveCursorUpdate): adjust
3139 * lyxfont.C (latexWriteStartChanges): add std::
3143 * font.h: delete with(char const *, LyXFont const &)
3145 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
3147 * FontInfo.C (getFontname): add std::
3149 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3150 (workAreaButtonPress): adjust
3151 (tripleClick): adjust
3153 (moveCursorUpdate): adjust
3156 * BufferView2.C (gotoInset): adjust
3158 2001-05-30 Juergen Vigna <jug@sad.it>
3160 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
3161 to check pspell I add this as default as I now have new pspell
3162 libraries and they seem to use this.
3164 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3166 * text2.C (CutSelection): make the cursor valid before the call to
3169 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3171 * kbsequence.C (parse): de-uglify a bit the parsing code, which
3172 relied on 0 terminated strings and other horrors. Bug found due to
3173 the new assert in lyxstring!
3175 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3178 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3180 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3183 * lyxfunc.C (processKeySym): change method of getting to the
3186 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3187 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3188 * BufferView_pimpl.[Ch]: here as private methods.
3190 2001-05-28 Juergen Vigna <jug@sad.it>
3192 * text.C (SetHeightOfRow): added the update() call again as it is
3193 needed to initialize inset dimensions!
3195 2001-05-16 Juergen Vigna <jug@sad.it>
3197 * text2.C (SetCharFont): Add new function with BufferView * and
3198 bool toggleall parameters for setting insets internal fonts.
3199 (SetFont): Freeze the undo as we may change fonts in Insets and
3200 all this change should be inside only one Undo!
3202 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3203 setting font's in insets as for them we have the SetFont function!
3205 2001-05-15 Juergen Vigna <jug@sad.it>
3207 * text2.C (ClearSelection): to be sure we REALLY don't have any
3210 * tabular.C (TeXCellPreamble): fixed the left border problem for
3213 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3215 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3218 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3220 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3221 LFUN_BREAKPARAGRAPH.
3223 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3224 help test to "internal only", similar for LFUN_INSERT_URL
3226 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3227 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3228 auto_region_delete and deadkeys.
3230 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3233 * LColor.C: remove some dead entries, tidy a little
3235 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3237 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3239 (Dispatch): implement LFUN_ESCAPE
3241 * commandtags.h: add LFUN_ESCAPE
3243 * LyXAction.C (init): add entry for LFUN_ESCAPE
3245 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3246 Remove commented code.
3247 (insertNote): moved here
3248 (open_new_inset): moved here
3250 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3253 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3255 * kbmap.C (findbinding): clean it up and make it work correctly.
3257 * lyx_main.C (init): do not pass argc and argv as parameters
3259 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3261 * buffer.C: fix path for OS/2 & Win32
3265 * lyx_main.C: Added os:: class.
3267 * os2_defines.h: update
3269 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3271 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3272 better by trying again with reduced state.
3274 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3276 * lyxrc.C (read): print error about invalid key sequence only when
3277 debugging (because not all latinX keysyms are known to some X
3280 * kbsequence.C (getiso): add a few std:: qualifiers
3281 (getiso): comment out extra return statement.
3283 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3285 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3287 (Dispatch): enhance the accent inset a bit. (not perfect)
3289 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3291 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3293 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3295 * bufferlist.C (emergencyWrite): fix assert() call
3297 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3299 * text.C (InsertChar): Added trivial patch to only send the "you
3300 can not do multiple spaces this way" message once during a
3303 2001-05-08 Baruch Even <baruch@lyx.org>
3305 * Makefile.am: Changed order of libraries to get LyX to link properly
3306 with the gnome frontend.
3308 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3310 * LaTeXFeatures.h: add a std:: qualifier
3312 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3314 * paragraph.C (String): use stringstream
3316 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3318 * paragraph.C (writeFile): remove footflag arg
3320 * buffer.C (makeLaTeXFile): use stringstream
3321 (latexParagraphs): remove footnot gurba
3323 * LaTeXFeatures.C (getPackages): use stringstream
3324 (getMacros): likewise
3325 (getTClassPreamble): likewise
3326 (getFloatDefinitions): new method
3328 * paragraph.C (writeFile): reindent
3331 * WorkArea.h: revert the xpos + etc changes.
3333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3335 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3337 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3338 (pasteSelection): likewise
3339 * text2.C (CreateUndo): likewise
3341 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3343 * minibuffer.C (peek_event): temporarily reduce the functionality
3344 of the minibuffer (to allow args on lfuns)
3346 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3347 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3349 * buffer.C (readInset): add compability reading of old float
3350 lists, add reading of new style float list.
3351 (readInset): avoid reevaluation of inscmd.getCmdName()
3352 (getLists): reindent
3354 * MenuBackend.C (MenuItem): implement parsing of
3355 md_floatlistinsert and md_floatinsert.
3356 (expand::LastFiles): move initalizaton of iterators out of loop,
3358 (expand::Documents): introduce typdedef vector<string> Strings,
3360 (expand::ExportFormats): introduce typedef vector<Format const *>
3361 Formats, and use it.
3362 (expand): implement FloatListInsert and FloatInsert.
3364 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3365 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3366 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3368 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3370 (Dispatch::LFUN_FLOAT_LIST): implement
3372 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3374 * LaTeX.C (run): Fix problem with --export code.
3376 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3378 * BufferView.[Ch] (workarea): removed.
3379 (getClipboard) new method; wrapper for workarea()->getClipboard()
3381 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3384 * WorkArea.h (width, height, xpos, ypos): These methods all
3385 returned the dimensions of the work_area sub-area of WorkArea,
3386 resulting in a position error if the WorkArea were resized. Now
3387 return the dimensions of the entire WorkArea.
3389 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3391 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3393 * LaTeX.C (deplog): correct the syntax of regex reg1
3395 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3397 * undo.C: remove !NEW_INSETS cruft
3399 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3401 * text2.C: remove !NEW_INSETS cruft
3403 * text.C: remove !NEW_INSETS cruft
3405 * tabular.C: remove !NEW_INSETS cruft
3407 * spellchecker.C: remove !NEW_INSETS cruft
3409 * lyxtext.h: remove !NEW_INSETS cruft
3411 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3413 * lyxfunc.C: remove !NEW_INSETS cruft
3415 * lyxfind.C: remove !NEW_INSETS cruft
3417 * lyx_cb.C: remove !NEW_INSETS cruft
3419 * figureForm.C: remove !NEW_INSETS cruft
3421 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3423 * buffer.[Ch]: remove !NEW_INSETS cruft
3425 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3427 * CutAndPaste.C: remove !NEW_INSETS cruft
3429 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3431 * BufferView2.C: remove !NEW_INSETS cruft
3433 * BufferView.h: remove !NEW_INSETS cruft
3435 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3437 * Lsstream.h: include LString.h before the sstream headers to
3438 fix problem with gcc 2.95.3 and lyxstring
3440 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3442 * lyx_main.C: add using directives when needed for C functions
3443 declared in std:: namespace.
3445 2001-04-27 Juergen Vigna <jug@sad.it>
3447 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3448 (SetHeightOfRow): comment out the update call should not be needed!
3450 2001-04-13 Juergen Vigna <jug@sad.it>
3452 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3453 (LyXTabular): tried to minimize operator= operations (and realized
3454 hopfully Lars wish).
3456 2001-04-27 Juergen Vigna <jug@sad.it>
3458 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3460 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3462 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3464 * buffer.C (readInset): hack to make listof algorithm work
3466 * BufferView_pimpl.C: hack to make listof algorithm work
3468 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3470 * LyXAction.C: removed all !NEW_INSETS cruft
3471 (init): moved lfun_item in method
3473 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3475 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3477 * BufferView2.C (theLockingInset): white space.
3479 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3481 * minibuffer.C: include <iostream>
3483 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3485 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3487 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3489 * text.[Ch] (TransposeChars): new method
3491 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3493 * call message directly through LyXView instead of through LyXFunc
3494 * BufferView2.C: adjust
3495 * BufferView_pimpl.C: adjust
3496 * FontLoader.C: adjust
3498 * bufferview_funcs.C: adjust
3499 * converter.C: adjust
3500 * figureForm.C: adjust
3501 * importer.C: adjust
3503 * lyx_gui_misc.C: adjust
3507 + more files in subdirs
3509 * lyxparagraph.h (size): move up int file
3512 * adjust all uses of Assert to lyx::Assert.
3514 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3515 lyxfunctional in namespace lyx
3516 * layout.C (hasLayout): ditto
3519 (delete_layout): ditto
3520 (NumberOfClass): ditto
3521 * converter.C (GetFormat): ditto
3526 * bufferlist.C (getFileNames): ditto
3527 (emergencyWriteAll): ditto
3530 * MenuBackend.C (hasSubmenu): ditto
3533 * BufferView_pimpl.C (getInsetByCode): ditto
3535 2001-04-18 Juergen Vigna <jug@sad.it>
3537 * vspace.C (asLatexString): fixed the 100% problem.
3539 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3541 * lyxfunc.C (Dispatch):
3543 * minibuffer.h: add a few std:: qualifiers
3545 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3547 * minibuffer.[Ch]: reimplement so that commands is initiated and
3548 run from lyxfunc, simplified som handling, and made the completion
3549 and history code for complete. wip.
3551 * lyxfunc.C (processKeySym): call message
3552 (miniDispatch): new temporary method
3553 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3554 (LFUN_MESSAGE): implement
3555 (LFUN_MESSAGE_PUSH): implement
3556 (LFUN_MESSAGE_POP): implement
3557 (initMiniBuffer): the initial/defualt minibuffer message.
3559 * lyxfont.[Ch]: inline some more getters
3561 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3563 * lyx_gui_misc.[Ch] (WriteStatus): remove method
3565 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3566 (AutoSave): use LFUN_MESSAGE
3567 (Reconfigure): ditto
3569 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3571 * figureForm.C: use LFUN_MESSAGE
3573 * converter.C (runLaTeX): use LFUN_MESSAGE
3575 * bufferview_funcs.C: use LFUN_MESSAGE
3577 (changeDepth): ditto
3579 * bufferparams.h: use boost::
3581 * bufferlist.h: inherit privately from noncopyable
3583 * bufferlist.C (loadLyXFile): remove some commented code.
3585 * buffer.C (runChktex): use LFUN_MESSAGE
3587 * ShareContainer.h: inherit privately from noncopyable
3589 * ParagraphParameters.[hC] (depth): inline it.
3591 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3593 (message): new method
3594 (messagePush): ditto
3596 (show): init minibuffer
3597 (showState): direct call
3599 * LaTeX.[Ch]: inherit privately from noncopyable
3600 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3601 instead of WriteStatus.
3603 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3605 * BufferView_pimpl.C (buffer): don't init minibuffer
3606 (workAreaButtonPress): use LFUN_MESSAGE
3607 (workAreaButtonRelease): ditto
3608 (savePosition): ditto
3609 (restorePosition): ditto
3610 (MenuInsertLyXFile): ditto
3611 (workAreaExpose): don't init minibuffer
3612 (update): remove commented code, simplify
3614 * BufferView2.C (openStuff): use LFUN_MESSAGE
3615 (toggleFloat): ditto
3618 (copyEnvironment): ditto
3619 (pasteEnvironment): ditto
3624 (updateInset): remove some commented code
3626 * lastfiles.h: inherit privately from noncopyable
3631 * lyxlex_pimpl.h: ditto
3633 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
3634 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
3635 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3637 * LyXAction.h: inherit privately from noncopyable, add methods
3638 func_begin, func_end, returning iterators to the func map.
3640 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
3641 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3642 (func_begin): new method
3643 (func_end): new method
3645 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
3647 (copySelection): ditto
3648 (pasteSelection): ditto
3650 * BufferView.C: whitespace change
3651 * BufferView.h: inherit privately from noncopyable
3653 2001-04-16 Allan Rae <rae@lyx.org>
3655 * tabular-old.C (l_getline):
3656 * spellchecker.C (sc_check_word):
3657 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3658 an unrecognised preprocessor directive. So ensure they're wrapped.
3660 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
3662 * src/exporter.C (Export): Give an error message when path to file
3665 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
3667 * LaTeX.C (deplog): Always check that foundfile exists.
3669 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3672 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
3674 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3676 * tabular.[Ch] (getLabelList): implement new method
3678 * minibuffer.h: comment ouf setTiimer
3680 * minibuffer.C (ExecutingCB): constify res
3681 (peek_event): constify s
3682 (Set): constify ntext
3683 (Init): constify nicename
3685 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3687 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3688 (savePosition): use two params to Minibuffer::Set
3689 (restorePosition): ditto
3691 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3693 * lyx_main.C: include language.h
3695 * Makefile.am (lyx_main.o): add language.h
3697 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3703 * CutAndPaste.C: include gettext.h
3705 * lyxfont.h: remove old hack with ON and OFF.
3708 * lyxfont.h: do not include language.h...
3713 * bufferview_funcs.C:
3719 * paragraph.C: ... but do it here instead
3721 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3723 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3725 * tabular.C: small reformat
3727 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3730 (BreakParagraph): ditto
3731 (SetOnlyLayout): ditto
3734 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3737 * lastfiles.C: removed most using decl, add std:: where needed
3739 * buffer.C: ws changes
3741 * MenuBackend.C (class compare_format): put into anon namespace
3742 (expand): constify label, names, action, action2
3745 * text.C (SingleWidth): constify font
3746 (IsBoundary): constify rtl2
3747 (GetVisibleRow): constify ww
3749 * LaTeX.C (deplog): constify logfile
3751 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3753 (workAreaExpose): constify widthChange, heightChange
3755 * lyxrow.C (par): moved
3758 * lyxrow.h: as inlines here
3760 * lyxfont.h (shape): moved from lyxfont.C
3761 (emph): moved from lyxfont.C
3763 * lyxfont.C (LyXFont): use initialization list for all
3765 (shape): move to lyxfont.h as inline
3766 (emph): move to lyxfont.h as inline
3769 2001-04-04 Juergen Vigna <jug@sad.it>
3771 * vspace.C: had to include stdio.h for use of sscanf
3773 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
3776 * BufferView_pimpl.h: remove xforms cruft. Both classes are
3777 independent of xforms.
3779 2001-04-02 Juergen Vigna <jug@sad.it>
3781 * spellchecker.C: fixed namespace placing!
3783 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3785 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3786 the LyXParagraph * is 0.
3788 2001-03-29 Juergen Vigna <jug@sad.it>
3790 * vspace.C: added support for %, c%, p%, l%.
3791 (stringFromUnit): added helper function.
3792 (asLatexString): changed to give right results for the %-values.
3794 * buffer.C: convert the widthp in a width%.
3796 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3798 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3801 * figureForm.[Ch]: stripped the FD_from_figure manipulation
3802 code out of lux_cb.[Ch], ready for its (imminent?) removal.
3804 * lyx_cb.[Ch]: see above.
3806 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3810 * lyx.[Ch]: replaced by figure_form.[Ch].
3814 * lyxfunc.C: changed headers associated with above changes.
3816 2001-03-27 Juergen Vigna <jug@sad.it>
3818 * BufferView_pimpl.C: set the temporary cursor right!
3820 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3822 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3824 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3826 * LString.h: removed "using std::getline"!
3828 * BufferView_pimpl.C (Dispatch): changes due to changes in
3829 InsetInclude::Params.
3831 * buffer.C (tag_name): removed redundant break statements as they were
3832 producing lots of warnings with my compiler.
3834 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3836 * LString.h: add "using std::getline" when using the real <string>.
3838 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3840 * buffer.C: removed bitset usage.
3841 PAR_TAG moved to an anonymous name space.
3842 (tag_name): new funtion, also in the anonymous namespace.
3843 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3844 (makeDocBookFile): clean code. Completed transition from string arrays
3846 (SimpleDocBookOnePar): code clean.
3848 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3850 * tabular.C: add some comments.
3852 2001-03-22 Juergen Vigna <jug@sad.it>
3854 * buffer.C (parseSingleLyXformat2Token): redone the minipage
3855 compatibility read a bit and fixed bug with minipage in different
3858 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
3860 * buffer.C (pop_tag): removed.
3861 (push_tag): removed.
3862 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3863 array replaced with vector. Added support for CDATA sections.
3864 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3866 (makeDocBookFile): XML conformant declaration of CDATA section,
3867 fixed bug related to <emphasis> in the first paragraph char.
3868 (sgmlOpenTag): exclude empty tags.
3869 (sgmlCloseTag): ditto.
3871 * buffer.h (pop_tag): removed.
3872 (push_tag): removed.
3874 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3876 * language.h (Languages): added size_type and size().
3878 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3880 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3881 response on compability reading of minipages. One probliem is that
3882 the old usage of minipages was «flertydig»
3884 * several files here and in subdirs: don't use static at file
3885 scope use anon namespaces instead.
3887 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
3889 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3890 LaTeX output. This is necessary for Literate document
3893 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3895 * buffer.C: insert hfill when needed.
3897 * tabular.C (l_getline): use string::erase, small whitespace change.
3899 * BufferView_pimpl.C: try the anon namespace.
3902 2001-03-16 Juergen Vigna <jug@sad.it>
3904 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3905 otherwise it won't open options-dialogs.
3907 * buffer.C: honor pextraWidth(p) on converting minipages.
3909 * tabular.C (l_getline): changed the functions to strip trailing \r.
3911 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
3913 * BufferView_pimpl.C:
3914 * minibuffer..C: added "using SigC::slot" declaration.
3916 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3918 * lyxlex_pimpl.h: noncopyable is in namespace boost.
3924 * paragraph.C: ditto
3926 * lyxtext.h: NO_PEXTRA
3928 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3930 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3931 * ParameterStruct.h: ditto
3932 * ParagraphParameters.h: ditto
3933 * lyxparagraph.h: ditto
3935 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3937 * buffer.C: add compability for minipage alignment.
3938 (latexParagraphs): remove unwanted pextra check.
3940 * several files: remove CXX_WORKING_NAMESPACES
3942 * buffer.C (pop_tag): tie is in namespace boost
3944 * BufferView.h: noncopyable is in namespace boost
3949 * lastfiles.h: ditto
3950 * bufferlist.h: ditto
3951 * ShareContainer.h: ditto
3953 * LyXAction.h: ditto
3956 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3958 * Merging changes from BRANCH_MVC back into HEAD.
3960 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3962 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
3964 * BufferView_pimpl.C: change from intl.C
3968 * Makefile.am: move combox.*
3974 * intl.C: remove dialog (covered by prefs)
3976 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3978 * lyxfunc.C (Dispatch): removed redundant break statement.
3980 2001-03-14 Juergen Vigna <jug@sad.it>
3982 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3984 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3986 * buffer.C: add hack to fix compability reading of minipages.
3988 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3990 * buffer.C (getLists): Cleanup.
3992 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3994 * lyxfont.C (update): don't honor toggleall on font size.
3996 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
4000 * Makefile.am: moved to frontends/xforms/
4004 * BufferView_pimpl.C: changes for moved mathpanel
4006 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4008 * gettext.h: fix gettext_init() in --disable-nls
4010 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4012 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
4014 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4017 * lyx.h: strip external form
4019 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4021 * BufferView_pimpl.C: add comment, destroySplash()
4023 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4025 * BufferView_pimpl.C:
4029 * lyxfunc.C: use re-worked insetinclude
4031 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4033 * buffer.C: add using std::stringstream.
4035 * lyx_cb.C: readd using std::ios.
4037 * buffer.C: add using std::map.
4039 * BufferView_pimpl.C: add using std::vector.
4041 * ShareContainer.h: add std:: to swap.
4043 * buffer.h: add some typedefs
4044 * buffer.C (getLists): use them
4045 (getLists): renamed from getTocList.
4046 add a counter for the different float types and use it in the
4048 (getLists): use the same counter for the NEW_INSETS and the "non"
4051 * lyx_cb.h: remove unused items, includes, using etc.
4053 * ShareContainer.h: remove some commented code, add more comments
4054 and "documentation".
4056 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4058 * buffer.C (getTocList): make the list also when NEW_INSETS is
4061 * buffer.h: remove TocType
4063 * buffer.C (getTocList): change to return a map<string,
4064 vector<TocItem> >, implement for dynamic number of list.
4066 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
4067 * text2.C (PasteSelection): adjust
4068 * CutAndPaste.C (pasteSelection): adjust
4070 * FloatList.C (FloatList): update from the new_insets branch.
4071 * Floating.[Ch]: ditto
4072 * LaTeXFeatures.C: ditto
4074 * lyxlex_pimpl.C: ditto
4076 * paragraph.C (Last): remove when NEW_INSETS is defined.
4078 * other file: changes because of the above.
4080 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4082 * lyxparagraph.h: rename next to next_, previous to previous_,
4083 make them private for NEW_INSETS. Rename Next() to next(),
4084 Previous() to previous().
4086 * other files: changes because of the above.
4088 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
4091 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
4094 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4096 * main.C (main): pass lyx_localedir to gettext_init().
4098 * gettext.h: remove locale_init and gettext_init macros
4100 * gettext.C (locale_init): new function
4101 (gettext_init): new function
4103 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
4106 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
4108 * Moved credits to frontends:
4109 * credits.[Ch]: removed
4110 * credits_form.[Ch]: removed
4111 * lyx_gui_misc.C: remove credits stuff
4114 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4116 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
4118 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
4119 unneeded destructor.
4121 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
4122 a standalone pointer again.
4124 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
4126 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4132 * ToolbarDefaults.C:
4141 * BufferView_pimpl.C: use new file dialog in GUII
4144 * lyx_cb.C: remove LayoutsCB to Toolbar
4146 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4148 * ShareContainer.h (get): add std:: qualifier
4150 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4152 * ShareContainer.h: define a proper ShareContainer::value_type
4153 type (and use typename to please compaq cxx)
4155 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4157 * lyxparagraph.h: move serveral local vars to
4158 ParameterStruct/ParagraphParameters., use ShareContainer in
4159 FontTable., make vars in FontTable private and add getter and
4162 * paragraph.C: changes because of the above.
4164 * lyxfont.h: remove copy constructor and copy assignment. (the
4165 default ones is ok), move number inside FontBits. move inlines to
4168 * lyxfont.C: add number to initializaton of statics, move several
4169 inlines here. constify several local vars. some whitespace
4170 cleanup. Dont hide outerscope variables.
4172 * Spacing.h: add two new constructors to match the set methods.
4174 * ShareContainer.h: new file, will perhaps be moved to support
4176 * ParameterStruct.h: new file
4178 * ParagraphParameters.h: new file
4180 * ParagraphParameters.C: new file
4182 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4183 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4185 * BufferView_pimpl.C: ParagraphParameter changes.
4186 * buffer.C: Likewise.
4187 * bufferview_funcs.C: Likewise.
4189 * text2.C: Likewise.
4191 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4193 * lyxfind.C (LyXReplace): do not redefine default argument in
4195 (IsStringInText): ditto
4196 (SearchForward): ditto
4197 (SearchBackward): ditto
4199 2001-03-06 Juergen Vigna <jug@sad.it>
4201 * lyxfind.C (IsStringInText): put parentes around expressions.
4203 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4205 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4207 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4209 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4211 * stl_string_fwd.h: add comment
4213 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4216 * tabular.C: remove unused DocBook methods
4222 killed DO_USE_DEFAULT_LANGUAGE
4224 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4226 * lyx_gui.C: do not include language.h.
4228 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4229 arguments in function implementation.
4231 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4233 * BufferView_pimpl.C: add <ctime>
4235 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4237 * BufferView_pimpl.C: add using std::find_if
4239 2001-02-27 José Matos <jamatos@fep.up.pt>
4241 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4244 2001-02-11 José Matos <jamatos@fep.up.pt>
4246 * buffer.C (makeDocBookFile): command styles now have a parameter as
4249 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4251 * layout_forms.[Ch]: removed
4252 * lyx_cb.[Ch]: out character
4253 * lyx_gui.C: out character
4254 * lyx_gui_misc.C: out character
4255 * bufferview_funcs.C: : out character,
4256 added toggleall as parameter in ToggleAndShow
4258 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4260 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4262 * text2.C (SetCurrentFont): Disable number property at boundary.
4264 2001-02-26 Juergen Vigna <jug@sad.it>
4266 * lyxfunc.C (getStatus): added a string argument override function so
4267 that this is correctly called from LyXFunc::Dispatch if it contains a
4268 do_not_use_argument which is used!
4269 (Dispatch): added check for "custom" export and call appropriate func.
4271 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4273 * lyxrc.C: Add language_command_local, language_use_babel and
4274 language_global_options.
4276 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4278 * buffer.C (makeLaTeXFile): Use language_use_babel and
4279 language_global_options.
4281 2001-02-23 Juergen Vigna <jug@sad.it>
4283 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4284 which works with LyXText and putted it inside BufferView. Here now we
4285 only call for that part the BufferView::Dispatch() function.
4287 * BufferView.C (Dispatch): added.
4289 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4290 functions which needs to use a LyXText over from LyXFunc.
4291 (MenuInsertLyXFile): added
4292 (getInsetByCode): added
4293 (moveCursorUpdate): added
4294 (static TEXT): added
4296 2001-02-22 Juergen Vigna <jug@sad.it>
4298 * BufferView_pimpl.C (update): call a status update to see if LyXText
4301 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4303 * vc-backend.C (revert): implement for CVS
4304 (getLog): implement for CVS
4306 2001-02-20 Juergen Vigna <jug@sad.it>
4308 * text2.C (ClearSelection): added BufferView param for inset_owner call
4310 * lyxfunc.C (TEXT): added this function and use it instead of
4311 directly owner->view()-text of getLyXText().
4313 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4315 * src/layout_forms.C: out preamble
4316 * src/layout_forms.h: out preamble
4317 * src/lyx_cb.C: out preamble
4318 * src/lyx_cb.h: out preamble
4319 * src/lyx_gui.C: out preamble
4320 * src/lyx_gui_misc.C: out preamble
4321 * src/lyxfunc.C: connect with guii preamble
4323 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4325 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4327 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4329 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4330 whether to run bibtex.
4332 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4334 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4336 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4338 * Makefile.am (lyx_SOURCES): removed bibforms.h
4342 * text.C (GetVisibleRow): make several local vars const
4344 * tabular.C: small cleanup.
4346 * lyxserver.C (callback): use compare instead of strncmp
4348 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4349 inlines to after class or to paragraph.C
4351 * lyxfont.h: remove friend operator!=
4353 * converter.h: move friend bool operator< to non friend and after
4356 * combox.h: small cleanup
4358 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4359 to inlines after class def.
4361 * buffer.C (pop_tag): use string operations instead of strcmp
4363 * bmtable.c: doxygen, small cleanup
4365 * LaTeX.h: remove friend operator==
4367 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4379 * BufferView_pimpl.C:
4380 * BufferView.[Ch]: remove cruft
4382 2001-02-14 Juergen Vigna <jug@sad.it>
4384 * lyxfunc.C: removed #if 0 unused code
4386 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4388 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4390 * text2.C (SetSelection): added a BufferView * parameter
4392 2001-02-13 Juergen Vigna <jug@sad.it>
4394 * lyxfunc.C (Dispatch): fixed protected blank problem.
4395 * BufferView2.C (protectedBlank): added LyxText * parameter.
4397 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4398 (AppendColumn): same as above for column_info.
4400 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4401 (moveCursorUpdate): use a LyXText param for support of InsetText.
4403 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4404 (tripleClick): ditto
4406 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4408 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4410 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4412 * text2.C (SetSelection): set correct update status if inset_owner
4415 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4417 * tabular.C: remove some commented code.
4419 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4421 * BufferView_pimpl.C: call hideSplash()
4423 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4426 * bibforms.h: remove
4429 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4430 add LFUN_CHILD_CREATE
4432 * counters.h: fix tiny typo
4437 * lyx.C: move splash to frontends/xforms/
4439 * lyx_gui_misc.C: move Include and Bibform to frontends
4441 * lyxvc.h: clarify comment
4443 * vspace.C: tiny housekeeping
4445 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4447 * text.C (PrepareToPrint): RTL Fix.
4449 * paragraph.C (GetUChar): New method.
4450 (String): Use GetUChar.
4452 * buffer.C (asciiParagraph): Use GetUChar.
4454 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4456 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4458 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4461 * buffer.C: rename to getLogName(), handle
4462 build log / latex log nicely
4464 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4467 * MenuBackend.h: remove support for reference menuitem type.
4469 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4471 * BufferView_pimpl.C: housekeeping
4472 * BufferView_pimpl.h:
4477 * minibuffer.h: move Timeout GUI-I
4479 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4481 * lyxrc.C (read): Update converters data-structures.
4483 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4485 * LaTeX.h (operator!=): add operator != for Aux_Info
4487 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4489 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4491 * LaTeXLog.C: deleted, useful code moved to Buffer
4494 * buffer.C: new function getLatexLogName()
4500 * lyxfunc.C: use frontends for LaTeX and VC logs
4502 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4504 * LaTeX.h: yet another std:: that Allan forgot.
4506 * Variables.C (set): renamed from isset(), because this clashes
4507 with some HP-UX macros (grr).
4509 2001-02-06 Allan Rae <rae@lyx.org>
4511 * LaTeX.h: Another bug fix. Missing std:: this time.
4513 2001-02-04 Allan Rae <rae@lyx.org>
4515 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4516 floats problem. I've left it commented out because it's not quite
4517 correct. It should also test that the current object is a table or
4518 figure inset. But I haven't gotten around to figuring out how to do
4519 that. I *think* it'll be something like: "table" == inset.type()
4521 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4524 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4526 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4527 all the citation/databases/styles in the auxilary file.
4528 (run): Rerun latex if there was a babel language error.
4530 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4532 * text.C (Backspace): Preserve the font when changing newline char
4534 (BreakParagraph): If the cursor is before a space, delete the space.
4536 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4538 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4540 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4541 new argument (code).
4542 (ChangeCitationsIfUnique): New method.
4544 * paragraph.C (GetPositionOfInset): Handle bibkey.
4546 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4548 * BufferView_pimpl.h: change type of Position::par_pos to
4549 LyXParagraph::size_type.
4551 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
4553 * BufferView_pimpl.C (savePosition, restorePosition): Write
4554 messages to minibuffer.
4556 2001-01-28 José Matos <jamatos@fep.up.pt>
4558 * buffer.C (makeDocBookFile): adds support for document language.
4559 A silly restriction on the name of LatexCommand types where removed.
4560 Added support for CDATA sections, allows to chars unescaped, used
4561 among others in code, to avoid escape < and >.
4563 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4565 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
4566 saved positions instrad of a stack. Furthermore, a position is
4567 stored using paragraph id/paragraph position.
4569 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4570 Remove LFUN_REF_BACK.
4572 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4574 * converter.C (dvipdfm_options): New method.
4576 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4578 * vspace.C (isValidLength): Fix for empty input string.
4580 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4582 * LyXAction.C (init): change description of LFUN_FIGURE to
4585 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4587 * LaTeX.C: add using directive
4589 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4591 * MenuBackend.C (expand): Fix the sorting of the formats.
4593 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
4595 * lyx_main.C: tiny error message fix
4597 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4599 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4600 calling fl_initialize(). This fixes the problem with ',' as
4601 decimal separator in text files.
4603 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4605 * trans.C (process): Fix the keymap bug.
4607 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
4609 * LaTeX.C (scanAuxFiles): New method. Provides support for
4610 multiple bibliographies (when using the bibtopic/bibunits pacakges).
4611 (scanLogFile) Scan for "run BibTeX" messages.
4613 * buffer.C (makeLaTeXFile): Do not load the ae package when using
4614 OT1 font encoding. Also, load the aecompl package if the ae
4617 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
4619 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4621 * texrow.C (increasePos): turn two error messages into debug
4624 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
4626 * LaTeX.C (scanAux): Handle the \@input macro.
4627 (runBibTeX): Use scanAux().
4629 * language.C (latex_options_): New field.
4631 * LaTeXFeatures.C (getMacros): Add language macros.
4633 * buffer.C (makeLaTeXFile): Small fix.
4635 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4637 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
4639 * text2.C: add a using directive.
4641 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
4646 * lyxfunc.C: kill LyXBell.
4648 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
4650 * text.C (IsBoundary): Remove the error message
4652 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4654 * lyxrc.C (setDefaults): Correct initialization value for
4657 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
4659 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4662 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4665 * src/LyXAction.C: Added reference-next.
4667 * text.C (InsertChar): Use contains instead of strchr.
4669 * lyx_cb.C (MenuInsertLabel): Enable default value code.
4671 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
4673 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4674 alignment commands (when needed).
4676 * text.C (InsertChar): Add ':' to number separator chars.