1 2001-08-10 Juergen Vigna <jug@sad.it>
3 * text.C (prepareToPrint): fixed hfill-width in draw!
5 * BufferView2.C (selectLastWord): save the selection cursor as this
6 now is cleared in the function LyXText::clearSelection!
8 2001-08-08 Juergen Vigna <jug@sad.it>
10 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11 BACKSPACE type functions.
13 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14 is only cutted from the document but not put in the cut-buffer, where
15 still the old stuff should be.
17 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
19 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
21 * tabular.C (SetWidthOfCell): fixed special case where the width
23 (LeftLine): handle '|' in align_special.
25 (LeftAlreadyDrawed): ditto
26 (SetWidthOfCell): ditto
28 2001-08-07 Juergen Vigna <jug@sad.it>
30 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
32 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
34 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
37 2001-08-06 Juergen Vigna <jug@sad.it>
39 * text.C (getVisibleRow): fix up row clearing a bit.
41 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * minibuffer.C: make sure the X server sees the changes in the input.
45 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * paragraph.C (getFont): split into...
49 (getLayoutFont): and this
50 * paragraph_pimpl.C (realizeFont): calling this
52 * text2.C (getFont): split into...
54 (getLabelFont): and this
55 (realizeFont): all three calling this
57 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
60 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
62 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
64 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
66 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
67 layouts from the Quote inset insertion.
69 2001-08-03 Juergen Vigna <jug@sad.it>
71 * BufferView_pimpl.C (update): do the fitCursor only at the end!
73 * screen.C (drawFromTo): don't call fitcursor here and do the loop
74 only if status not is already CHANGED_IN_DRAW (second level).
76 * text.C (draw): don't set the need_break_row when inside an
79 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * buffer.C (parseSingleLyXformat2Token): handle more latex
84 * bufferview_funcs.[hC]: change function names to
85 begin with small char, adjust other files.
87 2001-08-02 André Pönitz <poenitz@gmx.net>
90 BufferView_pimpl.C: remove broken special code for math-greek
92 2001-08-02 Juergen Vigna <jug@sad.it>
94 * BufferView_pimpl.C (update): redone this function so that we
95 update the text again if there was a CHANGE_IN_DRAW.
97 * screen.C (cursorToggle): removed LyXText parameter and recoded.
98 (drawFromTo): added a new internal bool which is used by draw() and
100 (general): some cursor drawing problems fixed.
102 2001-08-01 Juergen Vigna <jug@sad.it>
104 * lyxfind.C (LyXFind): fixed
105 (SearchForward): ditto
106 (SearchBackward): ditto
108 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
109 spurius drawing of the cursor in the main area.
111 * text2.C (status): small fix which could lead to a segfault!
112 (clearSelection): remove unneeded BufferView param.
114 2001-08-01 André Pönitz <poenitz@gmx.net>
116 * lyxfunc.C: small change due to changed mathed interface
118 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
120 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
122 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
124 * lyxfunc.c: fail gracefully if file doesn't exist
129 * BufferView_pimpl.C: IsDirWriteable() proto changed
131 * LyXView.C: fix updateWindowTitle() to store the last title
133 2001-07-31 Juergen Vigna <jug@sad.it>
135 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
136 the font (wrong since using of Paragraph::highestFontInRange).
138 * paragraph.C (highestFontInRange): added a default_size parameter.
140 * text.C (getVisibleRow): minor clear row changes (still not perfect).
141 (setHeightOfRow): reformat
143 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
145 * converter.[hC] + affected files: move to (inital-char)lowercase
148 * ParagraphParameters.C (ParagraphParameters): remove commented code
150 * PainterBase.[Ch]: remove commented code
152 * LaTeXFeatures.h: add "bool floats" for float.sty
154 * LaTeXFeatures.C (LaTeXFeatures): init floats
155 (require): handle float
156 (getPackages): do it with floats
158 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
160 * BufferView_pimpl.C (Dispatch): improve handling of
161 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
163 * commandtags.h: #include lyxfont.h here temporarily to avoid
166 * bufferlist.h: include LString.h here.
168 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
170 * text2.C (getStringToIndex): new method.
172 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
174 * *: Reduced header file dependencies all over.
176 2001-07-30 Baruch Even <baruch@lyx.org>
178 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
180 2001-07-29 Baruch Even <baruch@lyx.org>
182 * buffer.C (readInset): Changed GRAPHICS to Graphics.
184 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * ParameterStruct.h (endif): add a default constructor to make
187 sure that all variables is initialized.
189 * ParagraphParameters.C (ParagraphParameters): adjust
191 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
193 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
194 index; also, check that there is something to index, and that it
195 does not span over several paragraphs.
196 (doubleClick): use WHOLE_WORD_STRICT for double click.
198 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
200 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
203 2001-07-26 Baruch Even <baruch@lyx.org>
205 * buffer.C (readInset): Changed to call up InsetGraphics when reading
206 an InsetFig figure, backwards compatible reading of old figure code.
208 2001-07-27 Juergen Vigna <jug@sad.it>
210 * text2.C: font.realize function adaption.
212 * text.C (draw): add a warnings lyxerr text if needed.
214 * layout.C: font.realize function adaption.
216 * language.C: add inherit_language and implement it's handlings
218 * bufferview_funcs.C (StyleReset): remove language parameter from
219 font creation (should be language_inherit now).
221 * bufferparams.C (writeFile): handle ignore_language.
223 * paragraph.C (getFontSettings): the language has to be resolved
224 otherwise we have problems in LyXFont!
226 * lyxfont.C (lyxWriteChanges): added document_language parameter
227 (update): removed unneeded language parameter
229 * paragraph.C (validate): fixed wrong output of color-package when
230 using interface colors for certain fonts in certain environments,
231 which should not seen as that on the final output.
233 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
235 * BufferView_pimpl.C:
240 * LyXAction.C: add thesaurus support
243 * lyxfind.C: add "once" parameter, for thesaurus, to not
244 move to the next match
246 2001-07-26 Juergen Vigna <jug@sad.it>
248 * lyxfont.C (realize): honor ignore_language too!
251 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
253 * text.C (draw): one place more for ignore_language to not draw
256 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
258 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
260 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
262 * buffer.C (parseSingleLyXformat2Token): a more general fix for
263 the minipage conversion problem.
265 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
267 * buffer.C (parseSingleLyXformat2Token): check minipage if we
270 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
272 * BufferView.h: don't forward declare WorkArea
274 * BufferView.C: don't include WorkArea.h
276 2001-07-25 André Pönitz <poenitz@gmx.net>
280 * lyxfunc.C: new LFUN 'math-space'
282 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
284 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
286 * text2.C (toggleInset): call open/close
288 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
290 * lyxfunc.C (dispatch): add debug for the disabled case
292 * font.C (buttonText): make similar to rectText
294 * buffer.C (readInset): comment out parsing of insetlist and
297 * PainterBase.C (rectText): small correction
299 * BufferView_pimpl.C: comment out insettheorem and insetlist
301 * commandtags.h: ditto
303 2001-07-24 Juergen Vigna <jug@sad.it>
305 * text.C (draw): honor the ignore_language.
307 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
309 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
311 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
314 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * lyxtext.h: remove unused (and unimplemented) methods
318 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * text.C (getVisibleRow): honor background color
323 * Painter.h: remove default color argument for fillRectangle
325 * text.C (backgroundColor): new method
327 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * text.C (getVisibleRow): adjust
331 * font.[Ch] (rectText): new method, metrics
332 (buttonText): new method, metrics
334 * PainterBase.[hC]: make rectText and buttonText always draw and take
337 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * ToolbarDefaults.C (read):
340 * MenuBackend.C (read): allow escaping in all strings
342 * BufferView_pimpl.C (insertAndEditInset): new method.
343 (Dispatch): use insertAndEditInset whenever appropriate.
345 * BufferView_pimpl.C (insertNote): removed
347 * BufferView_pimpl.C (smartQuote): new method, moved from
348 BufferView; if an insetquote cannot be inserted, insert a '"'
351 * BufferView2.C: remove insertCorrectQuote();
353 * lyxfunc.C (getStatus): Add support for all remaingin
356 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
358 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
359 command (necessary to pass " as parameter of self-insert.
361 * text.C (selectWordWhenUnderCursor):
362 (selectWord): add word_location parameter
363 (selectWordWhenUnderCursor): same + remove special code for word
365 (selectNextWord): use kind() to guess type of insetspecialchar,
368 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
369 (insertErtContents): create ert insets as collapsed.
370 (readInset): better compatibility code for Info inset.
372 2001-07-20 Juergen Vigna <jug@sad.it>
374 * lyxfunc.C (dispatch): use always LyXFind now!
376 * text2.C (init): add a reinit flag so that the LyXText can be
377 reinited instead of deleted and reallocated (used in InsetText).
379 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
385 2001-07-18 Juergen Vigna <jug@sad.it>
387 * text.C (selectNextWord): handle insets inside inset by calling
388 always the bv->text functions so that we can go up the_locking_inset!
390 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
391 in strange locations when inside an inset!
393 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
394 handling to include insets.
396 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
398 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
400 * LyXAction.C (init):
402 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
403 LIGATURE_BREAK, since the name is so stupid.
405 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
407 * buffer.C (readInset): enable reading of new InsetNotes as well as old
410 * FontLoader.C: remove FORMS_H_LOCATION cruft.
412 * sp_form.[Ch]: remove.
414 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
416 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
419 * src/buffer.C (readInset): ditto.
421 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * BufferView_pimpl.C (specialChar): new method. Obsoletes
424 menuSeparator(), endOfSentenceDot(), ldots() and
425 hyphenationPoint(), which are therefore removed.
426 (Dispatch): handle LFUN_HYPHENATION_BREAK.
428 * LyXAction.C (init):
429 * commandtags.h: add LFUN_HYPHENATION_BREAK.
431 * paragraph.C (getWord): removed.
433 * BufferView_pimpl.C (Dispatch): use last word or selection for
434 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
436 * lyx_main.C (queryUserLyXDir): do not ask before creating
437 user_dir, except if it has been named explicitely.
439 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
441 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
442 a document of zero size.
444 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
446 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
447 approriately in the c-tor and in require().
448 (getPackages): output the appropriate LaTeX for natbib support.
450 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
451 variables "use_natbib" and "use_numerical_citations" when reading the
453 (readInset): read the various natbib cite commands.
454 (validate): white-space change.
456 * bufferparams.[Ch]: new variables "bool use_natbib" and
457 "bool use_numerical_citations".
458 (writeFile): output them in the LyX file.
460 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * lyxfunc.C (getStatus): add support for all the inset insertion
465 * text2.C (insertInset):
466 * paragraph.C (insetAllowed):
467 * BufferView_pimpl.C (insertInset): update to take in account the
468 renaming of insertInsetAllowed
470 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
472 * text2.C (getInset): new method. returns inset at cursor position.
474 * BufferView_pimpl.C (Dispatch): changes because of this.
476 * LyXAction.C (init): rename open-stuff to inset-toggle.
478 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
480 * text2.C (toggleInset): renamed from openStuff; use
483 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
485 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
487 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
489 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
491 * buffer.C (readLyXformat2): Add filename to the error dialog
493 2001-07-18 Juergen Vigna <jug@sad.it>
495 * tabular.C (GetCellNumber): put an assert here instead of the check!
497 2001-07-17 Juergen Vigna <jug@sad.it>
499 * BufferView_pimpl.C (toggleSelection): adapted too.
501 * text.C (selectNextWord): adapted for use with insets.
502 (selectSelectedWord): ditto
504 2001-07-17 Juergen Vigna <jug@sad.it>
506 * sp_spell.C (PSpell): fix initialitation order.
508 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
510 * paragraph.C: spacing
512 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
514 * sp_spell.C: repair language selection for pspell
516 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
518 * lyxfunc.h: change more methods to begin with lower char.
520 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
522 * buffer.C (parseSingleLyXformat2Token): Generate error insets
525 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
527 * buffer.C (readLyXformat2): Generate an error dialog if there are
530 2001-07-16 Juergen Vigna <jug@sad.it>
532 * sp_spell.C: always compile ISpell part.
534 * lyxrc.C: added use_pspell entry and it's handling.
536 2001-07-13 Juergen Vigna <jug@sad.it>
538 * sp_spell.C: removed double includes.
540 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
542 Consistent use of Lsstream.h:
543 * Lsstream.h: added using std::stringstream for consistencies sake.
545 * buffer.C: removed using std::stringstream
547 * lyxfont.C (stateText):
548 * paragraph.C (asString):
549 * text.C (selectNextWord, selectSelectedWord):
550 * text2.C (setCounter):
551 * vspace.C (asString, asLatexString):
552 std::ostringstream -> ostringstream.
554 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
556 * LyXAction.C: add LFUN_HELP_ABOUTLYX
557 * commandtags.h: add LFUN_HELP_ABOUTLYX
558 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
560 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
562 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
564 * lyx_gui_misc.C: remove spellchecker
565 * lyxfunc.C: showSpellchecker
570 * sp_form.[Ch]: removed
571 * spellchecker.[Ch]: removed
573 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
575 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
577 (simpleTeXSpecialChars): Simply print the input character without
578 any special translation if pass_thru is set.
580 * layout.h: Added bool pass_thru to layout class for being able to
581 implement pass through of a paragraph for Literate Programming.
583 * layout.C: add LT_PASS_THRU to LayoutTags enum.
584 * layout.C (LyXLayout): set pass_thru to flase in constructor.
585 * layout.C (Read): add "passthru" to list of layout tags and add
586 code to set the pass_thru boolean when it is read.
588 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
590 * trans_decl.h: remove allowed from KmodInfo
592 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
596 * paragraph_pimpl.C (erase): use boost::prior
598 * Painter.C (text): use data() instead of c_str() when length is
600 * WorkArea.C (putClipboard): ditto
601 * font.h (width): ditto
603 * BufferView2.C: use it-> instead of (*it). for iterators
605 * paragraph_pimpl.C: ditto
607 * minibuffer.C: ditto
616 * MenuBackend.C: ditto
621 * ColorHandler.C (LyXColorHandler): ditto
623 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
625 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
627 * text2.C (openStuff): reintroduce this method (which had been
628 nuked in NEW_INSETS frenzy).
630 * lyxfunc.C (Dispatch): when an action has not been handled, use
631 its name in the error message, not its number.
633 * paragraph.C (inInset): change method name to begin with lowercase.
636 * text2.C: updates because of this.
638 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
640 * ToolbarDefaults.C (add): add spaces in error message
642 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
644 * buffer.C (readLyXformat2): initialize the ert comp. variables.
645 (readLyXformat2): rename return_par to first_par, use lyxlex's
646 pushToken and remove the manual push handling.
647 (parseSingleLyXformat2Token): add another ert comp. variable:
648 in_tabular, rename return_par to first_par. handle newlines better
650 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
652 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
654 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
656 * text2.C (getParFromID): removed
658 * buffer.C (getParFromID): new method moved form lyxtext.
659 * BufferView2.C (insertErrors): adjust
660 (setCursorFromRow): adjust
661 * BufferView_pimpl.C (restorePosition): adjust
662 * lyxfunc.C (Dispatch): adjust
663 * undo_funcs.C (textUndo): adjust
665 (textHandleUndo): adjust
666 (textHandleUndo): adjust
668 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
670 * buffer.C: up' the LYX_FORMAT
672 * lyxfont.h: turn NO_LATEX on as default
674 * buffer.C (insertErtContents): new methods of tex style compability.
675 (parseSingleLyXformat2Token): use it several places.
676 * tabular.C (OldFormatRead): and here
678 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
680 * text2.C: remove some commented code.
683 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
684 * trans.C: changes because of the above.
686 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
688 * text2.C (setCounter): Fix counters bug with bibliography layout.
690 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
692 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
694 (simpleTeXSpecialChars): ditto
696 2001-07-06 Juergen Vigna <jug@sad.it>
698 * a lot of files: changed the access to LyXText::status and the
699 call of undo-functions.
701 * undo.[Ch]: added a inset_id to the undo informations.
703 * undo_funcs.[Ch]: added and moved here all undo functions.
705 * lyxtext.h: give the status enum a weight, made status_ a private
706 variable and made accessor functions for it, removed the whole bunch
707 of undo-functions as they are now in their own file, make some
708 functions publically available. Added function ownerParagraph with
711 * paragraph.[Ch]: added "bool same_ids" to the constructor,
712 made InInset() a const function, added getParFromID() function.
714 * buffer.[Ch]: added const version for inset_iterator functions,
715 added getInsetFromID() function.
717 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
718 changed undo functions for new version.
720 2001-07-05 Juergen Vigna <jug@sad.it>
722 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
723 unknow mechanism does not call the proper constructor but only this
724 one also if I request the other!?
726 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
728 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
730 * text2.C (LyXText): use initialization lists.
732 * lyxtext.h (Selection): initialize set_ and mark_
733 (init): remove method
735 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
737 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
739 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
741 * screen.[Ch]: change method names to begin with lowercase
743 * BufferView_pimpl.C (updateScrollbar): simplify further and
744 hopefully make it a bit faster.
746 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
748 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
749 calling directly xforms functions.
751 * Painter.C (Painter):
752 * lyx_cb.C (MenuWrite):
753 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
756 * lyx_gui.C: remove bogus guiruntime extern declaration.
758 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
760 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
762 (redoDrawingOfParagraph): ditto
763 (redoParagraphs): ditto
764 (cutSelection): don't create a object for CutAndPaste use the
765 static method directly
766 (pasteSelection): ditto
768 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
771 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
773 * modifications to some other files because of this.
775 * Makefile.am (lyx_SOURCES): add XFormsView
777 * XFormsView.[Ch]: new files
779 * LyXView.[Ch]: make LyXView a base class for the gui handling for
780 the main window. Move the gui dependent stuff to XFormsView
782 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
784 * tabular.C (GetCellInset): update cur_cell also in the row/col
785 version of this function.
787 * lyxfunc.C: no need to include figure_form.h here.
793 * lyxvc.C: no need to include forms.h here.
795 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
797 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
799 * lyxfunc.C (Dispatch):
801 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
802 constructor argument.
804 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
806 * paragraph.C (Paragraph): dont't clear, and just set layout.
807 (makeSameLayout): use params's copy contructor.
809 * ParagraphParameters.[Ch] (makeSame): delete method
811 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
813 * Variables.[Ch]: fix indentation, rename set to isSet
815 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
817 * lyxfunc.C (Dispatch): fix typo
819 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
821 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
824 * bufferlist.C: include assert.h for emergencyWrite().
826 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
828 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
829 give up at last (bug #425202) !
831 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
837 * spellchecker.C: strip spellchecker options and bring up
838 preferences tab instead
840 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
842 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
843 the istringstream constructor
845 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
847 * paragraph.C (getLayout): fix return value
849 * paragraph.h: do not declare getLayout as inline.
851 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
853 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
855 * lyxcursor.h (operator<): new func
856 (operator>): new func
857 (operator>=): new func
858 (operator<=): new func
860 * text.C (changeCase): use selection.start and selection.end
861 (changeRegionCase): require from to be <= to. Require par to be a
864 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
866 2001-06-27 Juergen Vigna <jug@sad.it>
868 * text.C (cursorLeftOneWord): changed to return the cursor and added
869 overlay with BufferView * parameter which calls this one.
871 (selectWord): use new getWord function.
872 (changeCase): renamed from changeWordCase as and extended to work
875 * lyxtext.h: added enum word_location
877 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
878 changeCase as this operates now also on selections.
880 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
882 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
884 * many files: send debug output to Debug::INFO instead of
887 * converter.C (View):
889 (Move): send debug output to Debug::FILES instead of console.
891 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
893 * lyxfunc.C (getStatus): use func_status
895 * func_status.h: new header, describing the results of
898 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
901 2001-06-25 The LyX Project <jug@sad.it>
903 * buffer.C (sgmlOpenTag):
905 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
907 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
909 * text2.C: remove some dead code
911 * tabular.C (GetCellInset): store the last cell checked (gotten)
913 * tabular.h: add the helper for the speedup
915 * lyxtext.h: remove some dead code
917 2001-06-26 The LyX Project <Asger>
919 * paragraph.C: Change export to LaTeX of alignment to
920 \begin{center} and family for better roundtrip work with reLyX.
922 * Tune the math drawing a bit.
924 2001-06-25 The LyX Project <Asger>
926 * LColor.C (LColor): New color for math background. New color
929 2001-06-25 The LyX Project <jug@sad.it>
931 * lyxfunc.C (MenuNew): remove extra check for .lyx file
934 * bufferlist.C (newFile): do not restrict to files ending with
937 * BufferView_pimpl.C (MenuInsertLyXFile):
939 2001-06-24 The LyX Project <jug@sad.it>
941 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
944 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
946 * lyxtext.h: rename most methods to begin with a small char.
947 Lots of changes because of this.
949 * paragraph.C (Paragraph): do not call fitToSize
950 (erase): call Pimpl::erase
951 (insertChar): call Pimpl::insertChar
952 (insertInset): call Pipl::insertInset
953 (breakParagraph): do not call fitToSize
954 (breakParagraphConservative): do not call fitToSize
955 (fitToSize): remove method
957 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
959 2001-06-24 The LyX Project <Asger>
961 * Fix Qt compilation^2
963 2001-06-24 The LyX Project <jug@sad.it>
965 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
966 depthHook(getDepth()-1).
969 * ParagraphParameters.h:
970 * ParameterStruct.h: change type of depth to unsigned int ==
971 depth_type. Many adaptations to other files before of that.
973 2001-06-24 The LyX Project <Asger>
975 * Fix Qt compilation.
977 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
979 * paragraph.h: renamed several methods to begin with small letter.
980 several changes to many parts of the code because of this.
982 2001-06-23 The LyX Project <jug@sad.it>
984 * text2.C (InsertStringAsLines): renamed from InsertStringA;
985 rewritten to discard all double spaces when KeepEmpty is off
986 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
987 to only handle newlines but not fiddle with spaces and friends.
989 * lyxfunc.C (MenuNew): when doing 'new from template', use
990 template_path as default directory
992 2001-06-23 The LyX Project <Asger>
994 * Clean-up of header file includes all over
995 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
997 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
999 * paragraph.h: renamed from lyxparagraph.h
1001 2001-06-23 Asger <lyx@violet.home.sad.it>
1003 * Buffer.h: Removed Buffer::resize
1004 * BufferList.h: Removed BufferList::resize
1005 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1006 the document lazily when we change the width, or the font settings.
1008 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1010 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1012 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1014 * buffer.h: remove out of date comment
1016 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1019 * screen.C: fix "theoretical" GC leak
1021 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1023 * LaTeX.C (scanAuxFile):
1024 (deplog): remove trailing \r when reading stream (useful under
1027 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1029 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1030 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1031 and BufferView::theLockingInset(Inset*), so should use them and not
1032 access bv_->text->the_locking_inset directly.
1034 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1036 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1039 * tex-defs.h: remove old unused file
1041 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1043 * BufferView_pimpl.C: fix typo, remove minibuffer message
1044 when buffer has loaded
1046 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1048 * lyxfunc.C (Dispatch): use stringstream
1049 (MenuNew): use stringstream
1050 (Open): use stringstream
1052 * importer.C (Import): use stringstream
1054 * bufferview_funcs.C (CurrentState): use stringstream
1056 * LaTeX.C (run): use stringstream
1058 * BufferView_pimpl.C (savePosition): use stringstream
1059 (restorePosition): use stringstream
1060 (MenuInsertLyXFile): use stringstream
1062 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1075 * vspace.C: removed // -*- C++ -*- as first line.
1078 * version.h: added // -*- C++ -*- as first line.
1080 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1082 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1084 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1087 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1089 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1092 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1094 * gettext.C: include LString.h even when --disable-nls is on.
1096 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1098 * converter.h (Get): changed argument type from int to
1099 FormatList::size_type to avoid unnecessary conversion.
1101 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1104 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1106 * gettext.h: include LString.h even when --disable-nls is on.
1108 2001-06-07 Juergen Vigna <jug@sad.it>
1110 * text.C (BreakAgain): subst spaces with tabs.
1112 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1113 (resizeInsetsLyXText): set force on resizeLyXText.
1115 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1117 * gettext.h (gettext_init):
1118 (locale_init): use a real definition instead of a macro
1120 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1122 * Bufferview_pimpl.C:
1124 * LColor.C: further lcolor tidies
1126 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1128 * BufferView_pimpl.C (updateScrollbar): simplify.
1130 * BufferView2.C: don't include insets/insetinfo.h, change
1131 prototype for insertInset and call the Pimpl version. let
1132 updateInset call Pimpl version.
1134 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1135 gotoInset to BufferView::Pimpl
1137 2001-06-01 Juergen Vigna <jug@sad.it>
1139 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1140 inside a LockingInset (is the update needed at all?).
1142 2001-05-31 Juergen Vigna <jug@sad.it>
1144 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1145 here not the old one otherwise how should we compare it afterwards
1148 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1153 * FontInfo.C: bring C functions into global namespace when
1156 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1158 * LString.h: make sure config.h has been loaded before LString.h.
1160 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1161 (one for each char read by EatLine!).
1163 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1166 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1168 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1169 to the same as the par we break from
1171 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1173 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1175 * MenuBackend.C (expand): also create menu entries for wide
1176 versions of the floats.
1178 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1180 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1182 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1183 frontends/Makefile.am
1189 * tabular.C (getTokenValue): add std::
1191 * tabular-old.C (getTokenValue): add std::
1192 (getTokenValue): ditto
1193 (getTokenValue): ditto
1195 * screen.C (ToggleSelection): adjust
1197 * lyxtext.h: put selection cursors inside a Selection struct.
1199 * lyxfunc.C (moveCursorUpdate): adjust
1201 * lyxfont.C (latexWriteStartChanges): add std::
1205 * font.h: delete with(char const *, LyXFont const &)
1207 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1209 * FontInfo.C (getFontname): add std::
1211 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1212 (workAreaButtonPress): adjust
1213 (tripleClick): adjust
1215 (moveCursorUpdate): adjust
1218 * BufferView2.C (gotoInset): adjust
1220 2001-05-30 Juergen Vigna <jug@sad.it>
1222 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1223 to check pspell I add this as default as I now have new pspell
1224 libraries and they seem to use this.
1226 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1228 * text2.C (CutSelection): make the cursor valid before the call to
1231 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1233 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1234 relied on 0 terminated strings and other horrors. Bug found due to
1235 the new assert in lyxstring!
1237 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1240 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1242 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1245 * lyxfunc.C (processKeySym): change method of getting to the
1248 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1249 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1250 * BufferView_pimpl.[Ch]: here as private methods.
1252 2001-05-28 Juergen Vigna <jug@sad.it>
1254 * text.C (SetHeightOfRow): added the update() call again as it is
1255 needed to initialize inset dimensions!
1257 2001-05-16 Juergen Vigna <jug@sad.it>
1259 * text2.C (SetCharFont): Add new function with BufferView * and
1260 bool toggleall parameters for setting insets internal fonts.
1261 (SetFont): Freeze the undo as we may change fonts in Insets and
1262 all this change should be inside only one Undo!
1264 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1265 setting font's in insets as for them we have the SetFont function!
1267 2001-05-15 Juergen Vigna <jug@sad.it>
1269 * text2.C (ClearSelection): to be sure we REALLY don't have any
1272 * tabular.C (TeXCellPreamble): fixed the left border problem for
1275 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1277 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1280 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1282 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1283 LFUN_BREAKPARAGRAPH.
1285 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1286 help test to "internal only", similar for LFUN_INSERT_URL
1288 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1289 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1290 auto_region_delete and deadkeys.
1292 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1295 * LColor.C: remove some dead entries, tidy a little
1297 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1299 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1301 (Dispatch): implement LFUN_ESCAPE
1303 * commandtags.h: add LFUN_ESCAPE
1305 * LyXAction.C (init): add entry for LFUN_ESCAPE
1307 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1308 Remove commented code.
1309 (insertNote): moved here
1310 (open_new_inset): moved here
1312 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1315 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1317 * kbmap.C (findbinding): clean it up and make it work correctly.
1319 * lyx_main.C (init): do not pass argc and argv as parameters
1321 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1323 * buffer.C: fix path for OS/2 & Win32
1327 * lyx_main.C: Added os:: class.
1329 * os2_defines.h: update
1331 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1334 better by trying again with reduced state.
1336 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1338 * lyxrc.C (read): print error about invalid key sequence only when
1339 debugging (because not all latinX keysyms are known to some X
1342 * kbsequence.C (getiso): add a few std:: qualifiers
1343 (getiso): comment out extra return statement.
1345 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1347 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1349 (Dispatch): enhance the accent inset a bit. (not perfect)
1351 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1353 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1355 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1357 * bufferlist.C (emergencyWrite): fix assert() call
1359 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1361 * text.C (InsertChar): Added trivial patch to only send the "you
1362 can not do multiple spaces this way" message once during a
1365 2001-05-08 Baruch Even <baruch@lyx.org>
1367 * Makefile.am: Changed order of libraries to get LyX to link properly
1368 with the gnome frontend.
1370 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1372 * LaTeXFeatures.h: add a std:: qualifier
1374 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1376 * paragraph.C (String): use stringstream
1378 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1380 * paragraph.C (writeFile): remove footflag arg
1382 * buffer.C (makeLaTeXFile): use stringstream
1383 (latexParagraphs): remove footnot gurba
1385 * LaTeXFeatures.C (getPackages): use stringstream
1386 (getMacros): likewise
1387 (getTClassPreamble): likewise
1388 (getFloatDefinitions): new method
1390 * paragraph.C (writeFile): reindent
1393 * WorkArea.h: revert the xpos + etc changes.
1395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1397 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1399 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1400 (pasteSelection): likewise
1401 * text2.C (CreateUndo): likewise
1403 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1405 * minibuffer.C (peek_event): temporarily reduce the functionality
1406 of the minibuffer (to allow args on lfuns)
1408 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1409 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1411 * buffer.C (readInset): add compability reading of old float
1412 lists, add reading of new style float list.
1413 (readInset): avoid reevaluation of inscmd.getCmdName()
1414 (getLists): reindent
1416 * MenuBackend.C (MenuItem): implement parsing of
1417 md_floatlistinsert and md_floatinsert.
1418 (expand::LastFiles): move initalizaton of iterators out of loop,
1420 (expand::Documents): introduce typdedef vector<string> Strings,
1422 (expand::ExportFormats): introduce typedef vector<Format const *>
1423 Formats, and use it.
1424 (expand): implement FloatListInsert and FloatInsert.
1426 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1427 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1428 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1430 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1432 (Dispatch::LFUN_FLOAT_LIST): implement
1434 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1436 * LaTeX.C (run): Fix problem with --export code.
1438 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1440 * BufferView.[Ch] (workarea): removed.
1441 (getClipboard) new method; wrapper for workarea()->getClipboard()
1443 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1446 * WorkArea.h (width, height, xpos, ypos): These methods all
1447 returned the dimensions of the work_area sub-area of WorkArea,
1448 resulting in a position error if the WorkArea were resized. Now
1449 return the dimensions of the entire WorkArea.
1451 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1453 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1455 * LaTeX.C (deplog): correct the syntax of regex reg1
1457 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1459 * undo.C: remove !NEW_INSETS cruft
1461 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1463 * text2.C: remove !NEW_INSETS cruft
1465 * text.C: remove !NEW_INSETS cruft
1467 * tabular.C: remove !NEW_INSETS cruft
1469 * spellchecker.C: remove !NEW_INSETS cruft
1471 * lyxtext.h: remove !NEW_INSETS cruft
1473 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1475 * lyxfunc.C: remove !NEW_INSETS cruft
1477 * lyxfind.C: remove !NEW_INSETS cruft
1479 * lyx_cb.C: remove !NEW_INSETS cruft
1481 * figureForm.C: remove !NEW_INSETS cruft
1483 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1485 * buffer.[Ch]: remove !NEW_INSETS cruft
1487 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1489 * CutAndPaste.C: remove !NEW_INSETS cruft
1491 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1493 * BufferView2.C: remove !NEW_INSETS cruft
1495 * BufferView.h: remove !NEW_INSETS cruft
1497 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1499 * Lsstream.h: include LString.h before the sstream headers to
1500 fix problem with gcc 2.95.3 and lyxstring
1502 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1504 * lyx_main.C: add using directives when needed for C functions
1505 declared in std:: namespace.
1507 2001-04-27 Juergen Vigna <jug@sad.it>
1509 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1510 (SetHeightOfRow): comment out the update call should not be needed!
1512 2001-04-13 Juergen Vigna <jug@sad.it>
1514 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1515 (LyXTabular): tried to minimize operator= operations (and realized
1516 hopfully Lars wish).
1518 2001-04-27 Juergen Vigna <jug@sad.it>
1520 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1522 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1524 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1526 * buffer.C (readInset): hack to make listof algorithm work
1528 * BufferView_pimpl.C: hack to make listof algorithm work
1530 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1532 * LyXAction.C: removed all !NEW_INSETS cruft
1533 (init): moved lfun_item in method
1535 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1537 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1539 * BufferView2.C (theLockingInset): white space.
1541 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1543 * minibuffer.C: include <iostream>
1545 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1547 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1549 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1551 * text.[Ch] (TransposeChars): new method
1553 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1555 * call message directly through LyXView instead of through LyXFunc
1556 * BufferView2.C: adjust
1557 * BufferView_pimpl.C: adjust
1558 * FontLoader.C: adjust
1560 * bufferview_funcs.C: adjust
1561 * converter.C: adjust
1562 * figureForm.C: adjust
1563 * importer.C: adjust
1565 * lyx_gui_misc.C: adjust
1569 + more files in subdirs
1571 * lyxparagraph.h (size): move up int file
1574 * adjust all uses of Assert to lyx::Assert.
1576 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1577 lyxfunctional in namespace lyx
1578 * layout.C (hasLayout): ditto
1581 (delete_layout): ditto
1582 (NumberOfClass): ditto
1583 * converter.C (GetFormat): ditto
1588 * bufferlist.C (getFileNames): ditto
1589 (emergencyWriteAll): ditto
1592 * MenuBackend.C (hasSubmenu): ditto
1595 * BufferView_pimpl.C (getInsetByCode): ditto
1597 2001-04-18 Juergen Vigna <jug@sad.it>
1599 * vspace.C (asLatexString): fixed the 100% problem.
1601 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1603 * lyxfunc.C (Dispatch):
1605 * minibuffer.h: add a few std:: qualifiers
1607 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1609 * minibuffer.[Ch]: reimplement so that commands is initiated and
1610 run from lyxfunc, simplified som handling, and made the completion
1611 and history code for complete. wip.
1613 * lyxfunc.C (processKeySym): call message
1614 (miniDispatch): new temporary method
1615 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1616 (LFUN_MESSAGE): implement
1617 (LFUN_MESSAGE_PUSH): implement
1618 (LFUN_MESSAGE_POP): implement
1619 (initMiniBuffer): the initial/defualt minibuffer message.
1621 * lyxfont.[Ch]: inline some more getters
1623 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1625 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1627 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1628 (AutoSave): use LFUN_MESSAGE
1629 (Reconfigure): ditto
1631 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1633 * figureForm.C: use LFUN_MESSAGE
1635 * converter.C (runLaTeX): use LFUN_MESSAGE
1637 * bufferview_funcs.C: use LFUN_MESSAGE
1639 (changeDepth): ditto
1641 * bufferparams.h: use boost::
1643 * bufferlist.h: inherit privately from noncopyable
1645 * bufferlist.C (loadLyXFile): remove some commented code.
1647 * buffer.C (runChktex): use LFUN_MESSAGE
1649 * ShareContainer.h: inherit privately from noncopyable
1651 * ParagraphParameters.[hC] (depth): inline it.
1653 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1655 (message): new method
1656 (messagePush): ditto
1658 (show): init minibuffer
1659 (showState): direct call
1661 * LaTeX.[Ch]: inherit privately from noncopyable
1662 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1663 instead of WriteStatus.
1665 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1667 * BufferView_pimpl.C (buffer): don't init minibuffer
1668 (workAreaButtonPress): use LFUN_MESSAGE
1669 (workAreaButtonRelease): ditto
1670 (savePosition): ditto
1671 (restorePosition): ditto
1672 (MenuInsertLyXFile): ditto
1673 (workAreaExpose): don't init minibuffer
1674 (update): remove commented code, simplify
1676 * BufferView2.C (openStuff): use LFUN_MESSAGE
1677 (toggleFloat): ditto
1680 (copyEnvironment): ditto
1681 (pasteEnvironment): ditto
1686 (updateInset): remove some commented code
1688 * lastfiles.h: inherit privately from noncopyable
1693 * lyxlex_pimpl.h: ditto
1695 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1696 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1697 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1699 * LyXAction.h: inherit privately from noncopyable, add methods
1700 func_begin, func_end, returning iterators to the func map.
1702 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1703 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1704 (func_begin): new method
1705 (func_end): new method
1707 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1709 (copySelection): ditto
1710 (pasteSelection): ditto
1712 * BufferView.C: whitespace change
1713 * BufferView.h: inherit privately from noncopyable
1715 2001-04-16 Allan Rae <rae@lyx.org>
1717 * tabular-old.C (l_getline):
1718 * spellchecker.C (sc_check_word):
1719 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1720 an unrecognised preprocessor directive. So ensure they're wrapped.
1722 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1724 * src/exporter.C (Export): Give an error message when path to file
1727 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1729 * LaTeX.C (deplog): Always check that foundfile exists.
1731 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1734 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1736 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1738 * tabular.[Ch] (getLabelList): implement new method
1740 * minibuffer.h: comment ouf setTiimer
1742 * minibuffer.C (ExecutingCB): constify res
1743 (peek_event): constify s
1744 (Set): constify ntext
1745 (Init): constify nicename
1747 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1749 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1750 (savePosition): use two params to Minibuffer::Set
1751 (restorePosition): ditto
1753 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1755 * lyx_main.C: include language.h
1757 * Makefile.am (lyx_main.o): add language.h
1759 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1765 * CutAndPaste.C: include gettext.h
1767 * lyxfont.h: remove old hack with ON and OFF.
1770 * lyxfont.h: do not include language.h...
1775 * bufferview_funcs.C:
1781 * paragraph.C: ... but do it here instead
1783 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1785 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1787 * tabular.C: small reformat
1789 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1792 (BreakParagraph): ditto
1793 (SetOnlyLayout): ditto
1796 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1799 * lastfiles.C: removed most using decl, add std:: where needed
1801 * buffer.C: ws changes
1803 * MenuBackend.C (class compare_format): put into anon namespace
1804 (expand): constify label, names, action, action2
1807 * text.C (SingleWidth): constify font
1808 (IsBoundary): constify rtl2
1809 (GetVisibleRow): constify ww
1811 * LaTeX.C (deplog): constify logfile
1813 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1815 (workAreaExpose): constify widthChange, heightChange
1817 * lyxrow.C (par): moved
1820 * lyxrow.h: as inlines here
1822 * lyxfont.h (shape): moved from lyxfont.C
1823 (emph): moved from lyxfont.C
1825 * lyxfont.C (LyXFont): use initialization list for all
1827 (shape): move to lyxfont.h as inline
1828 (emph): move to lyxfont.h as inline
1831 2001-04-04 Juergen Vigna <jug@sad.it>
1833 * vspace.C: had to include stdio.h for use of sscanf
1835 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1838 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1839 independent of xforms.
1841 2001-04-02 Juergen Vigna <jug@sad.it>
1843 * spellchecker.C: fixed namespace placing!
1845 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1847 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1848 the LyXParagraph * is 0.
1850 2001-03-29 Juergen Vigna <jug@sad.it>
1852 * vspace.C: added support for %, c%, p%, l%.
1853 (stringFromUnit): added helper function.
1854 (asLatexString): changed to give right results for the %-values.
1856 * buffer.C: convert the widthp in a width%.
1858 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1860 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1863 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1864 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1866 * lyx_cb.[Ch]: see above.
1868 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1872 * lyx.[Ch]: replaced by figure_form.[Ch].
1876 * lyxfunc.C: changed headers associated with above changes.
1878 2001-03-27 Juergen Vigna <jug@sad.it>
1880 * BufferView_pimpl.C: set the temporary cursor right!
1882 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1884 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1886 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1888 * LString.h: removed "using std::getline"!
1890 * BufferView_pimpl.C (Dispatch): changes due to changes in
1891 InsetInclude::Params.
1893 * buffer.C (tag_name): removed redundant break statements as they were
1894 producing lots of warnings with my compiler.
1896 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1898 * LString.h: add "using std::getline" when using the real <string>.
1900 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1902 * buffer.C: removed bitset usage.
1903 PAR_TAG moved to an anonymous name space.
1904 (tag_name): new funtion, also in the anonymous namespace.
1905 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1906 (makeDocBookFile): clean code. Completed transition from string arrays
1908 (SimpleDocBookOnePar): code clean.
1910 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1912 * tabular.C: add some comments.
1914 2001-03-22 Juergen Vigna <jug@sad.it>
1916 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1917 compatibility read a bit and fixed bug with minipage in different
1920 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1922 * buffer.C (pop_tag): removed.
1923 (push_tag): removed.
1924 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1925 array replaced with vector. Added support for CDATA sections.
1926 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1928 (makeDocBookFile): XML conformant declaration of CDATA section,
1929 fixed bug related to <emphasis> in the first paragraph char.
1930 (sgmlOpenTag): exclude empty tags.
1931 (sgmlCloseTag): ditto.
1933 * buffer.h (pop_tag): removed.
1934 (push_tag): removed.
1936 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1938 * language.h (Languages): added size_type and size().
1940 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1942 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1943 response on compability reading of minipages. One probliem is that
1944 the old usage of minipages was «flertydig»
1946 * several files here and in subdirs: don't use static at file
1947 scope use anon namespaces instead.
1949 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1951 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1952 LaTeX output. This is necessary for Literate document
1955 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1957 * buffer.C: insert hfill when needed.
1959 * tabular.C (l_getline): use string::erase, small whitespace change.
1961 * BufferView_pimpl.C: try the anon namespace.
1964 2001-03-16 Juergen Vigna <jug@sad.it>
1966 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1967 otherwise it won't open options-dialogs.
1969 * buffer.C: honor pextraWidth(p) on converting minipages.
1971 * tabular.C (l_getline): changed the functions to strip trailing \r.
1973 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1975 * BufferView_pimpl.C:
1976 * minibuffer..C: added "using SigC::slot" declaration.
1978 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1980 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1986 * paragraph.C: ditto
1988 * lyxtext.h: NO_PEXTRA
1990 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1992 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1993 * ParameterStruct.h: ditto
1994 * ParagraphParameters.h: ditto
1995 * lyxparagraph.h: ditto
1997 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1999 * buffer.C: add compability for minipage alignment.
2000 (latexParagraphs): remove unwanted pextra check.
2002 * several files: remove CXX_WORKING_NAMESPACES
2004 * buffer.C (pop_tag): tie is in namespace boost
2006 * BufferView.h: noncopyable is in namespace boost
2011 * lastfiles.h: ditto
2012 * bufferlist.h: ditto
2013 * ShareContainer.h: ditto
2015 * LyXAction.h: ditto
2018 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2020 * Merging changes from BRANCH_MVC back into HEAD.
2022 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2024 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2026 * BufferView_pimpl.C: change from intl.C
2030 * Makefile.am: move combox.*
2036 * intl.C: remove dialog (covered by prefs)
2038 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2040 * lyxfunc.C (Dispatch): removed redundant break statement.
2042 2001-03-14 Juergen Vigna <jug@sad.it>
2044 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2046 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2048 * buffer.C: add hack to fix compability reading of minipages.
2050 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2052 * buffer.C (getLists): Cleanup.
2054 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2056 * lyxfont.C (update): don't honor toggleall on font size.
2058 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2062 * Makefile.am: moved to frontends/xforms/
2066 * BufferView_pimpl.C: changes for moved mathpanel
2068 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2070 * gettext.h: fix gettext_init() in --disable-nls
2072 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2074 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2076 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2079 * lyx.h: strip external form
2081 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2083 * BufferView_pimpl.C: add comment, destroySplash()
2085 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2087 * BufferView_pimpl.C:
2091 * lyxfunc.C: use re-worked insetinclude
2093 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2095 * buffer.C: add using std::stringstream.
2097 * lyx_cb.C: readd using std::ios.
2099 * buffer.C: add using std::map.
2101 * BufferView_pimpl.C: add using std::vector.
2103 * ShareContainer.h: add std:: to swap.
2105 * buffer.h: add some typedefs
2106 * buffer.C (getLists): use them
2107 (getLists): renamed from getTocList.
2108 add a counter for the different float types and use it in the
2110 (getLists): use the same counter for the NEW_INSETS and the "non"
2113 * lyx_cb.h: remove unused items, includes, using etc.
2115 * ShareContainer.h: remove some commented code, add more comments
2116 and "documentation".
2118 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2120 * buffer.C (getTocList): make the list also when NEW_INSETS is
2123 * buffer.h: remove TocType
2125 * buffer.C (getTocList): change to return a map<string,
2126 vector<TocItem> >, implement for dynamic number of list.
2128 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2129 * text2.C (PasteSelection): adjust
2130 * CutAndPaste.C (pasteSelection): adjust
2132 * FloatList.C (FloatList): update from the new_insets branch.
2133 * Floating.[Ch]: ditto
2134 * LaTeXFeatures.C: ditto
2136 * lyxlex_pimpl.C: ditto
2138 * paragraph.C (Last): remove when NEW_INSETS is defined.
2140 * other file: changes because of the above.
2142 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2144 * lyxparagraph.h: rename next to next_, previous to previous_,
2145 make them private for NEW_INSETS. Rename Next() to next(),
2146 Previous() to previous().
2148 * other files: changes because of the above.
2150 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2153 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2156 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2158 * main.C (main): pass lyx_localedir to gettext_init().
2160 * gettext.h: remove locale_init and gettext_init macros
2162 * gettext.C (locale_init): new function
2163 (gettext_init): new function
2165 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2168 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2170 * Moved credits to frontends:
2171 * credits.[Ch]: removed
2172 * credits_form.[Ch]: removed
2173 * lyx_gui_misc.C: remove credits stuff
2176 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2178 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2180 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2181 unneeded destructor.
2183 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2184 a standalone pointer again.
2186 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2188 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2194 * ToolbarDefaults.C:
2203 * BufferView_pimpl.C: use new file dialog in GUII
2206 * lyx_cb.C: remove LayoutsCB to Toolbar
2208 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2210 * ShareContainer.h (get): add std:: qualifier
2212 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2214 * ShareContainer.h: define a proper ShareContainer::value_type
2215 type (and use typename to please compaq cxx)
2217 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2219 * lyxparagraph.h: move serveral local vars to
2220 ParameterStruct/ParagraphParameters., use ShareContainer in
2221 FontTable., make vars in FontTable private and add getter and
2224 * paragraph.C: changes because of the above.
2226 * lyxfont.h: remove copy constructor and copy assignment. (the
2227 default ones is ok), move number inside FontBits. move inlines to
2230 * lyxfont.C: add number to initializaton of statics, move several
2231 inlines here. constify several local vars. some whitespace
2232 cleanup. Dont hide outerscope variables.
2234 * Spacing.h: add two new constructors to match the set methods.
2236 * ShareContainer.h: new file, will perhaps be moved to support
2238 * ParameterStruct.h: new file
2240 * ParagraphParameters.h: new file
2242 * ParagraphParameters.C: new file
2244 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2245 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2247 * BufferView_pimpl.C: ParagraphParameter changes.
2248 * buffer.C: Likewise.
2249 * bufferview_funcs.C: Likewise.
2251 * text2.C: Likewise.
2253 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2255 * lyxfind.C (LyXReplace): do not redefine default argument in
2257 (IsStringInText): ditto
2258 (SearchForward): ditto
2259 (SearchBackward): ditto
2261 2001-03-06 Juergen Vigna <jug@sad.it>
2263 * lyxfind.C (IsStringInText): put parentes around expressions.
2265 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2267 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2269 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2271 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2273 * stl_string_fwd.h: add comment
2275 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2278 * tabular.C: remove unused DocBook methods
2284 killed DO_USE_DEFAULT_LANGUAGE
2286 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2288 * lyx_gui.C: do not include language.h.
2290 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2291 arguments in function implementation.
2293 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2295 * BufferView_pimpl.C: add <ctime>
2297 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2299 * BufferView_pimpl.C: add using std::find_if
2301 2001-02-27 José Matos <jamatos@fep.up.pt>
2303 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2306 2001-02-11 José Matos <jamatos@fep.up.pt>
2308 * buffer.C (makeDocBookFile): command styles now have a parameter as
2311 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2313 * layout_forms.[Ch]: removed
2314 * lyx_cb.[Ch]: out character
2315 * lyx_gui.C: out character
2316 * lyx_gui_misc.C: out character
2317 * bufferview_funcs.C: : out character,
2318 added toggleall as parameter in ToggleAndShow
2320 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2322 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2324 * text2.C (SetCurrentFont): Disable number property at boundary.
2326 2001-02-26 Juergen Vigna <jug@sad.it>
2328 * lyxfunc.C (getStatus): added a string argument override function so
2329 that this is correctly called from LyXFunc::Dispatch if it contains a
2330 do_not_use_argument which is used!
2331 (Dispatch): added check for "custom" export and call appropriate func.
2333 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2335 * lyxrc.C: Add language_command_local, language_use_babel and
2336 language_global_options.
2338 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2340 * buffer.C (makeLaTeXFile): Use language_use_babel and
2341 language_global_options.
2343 2001-02-23 Juergen Vigna <jug@sad.it>
2345 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2346 which works with LyXText and putted it inside BufferView. Here now we
2347 only call for that part the BufferView::Dispatch() function.
2349 * BufferView.C (Dispatch): added.
2351 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2352 functions which needs to use a LyXText over from LyXFunc.
2353 (MenuInsertLyXFile): added
2354 (getInsetByCode): added
2355 (moveCursorUpdate): added
2356 (static TEXT): added
2358 2001-02-22 Juergen Vigna <jug@sad.it>
2360 * BufferView_pimpl.C (update): call a status update to see if LyXText
2363 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2365 * vc-backend.C (revert): implement for CVS
2366 (getLog): implement for CVS
2368 2001-02-20 Juergen Vigna <jug@sad.it>
2370 * text2.C (ClearSelection): added BufferView param for inset_owner call
2372 * lyxfunc.C (TEXT): added this function and use it instead of
2373 directly owner->view()-text of getLyXText().
2375 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2377 * src/layout_forms.C: out preamble
2378 * src/layout_forms.h: out preamble
2379 * src/lyx_cb.C: out preamble
2380 * src/lyx_cb.h: out preamble
2381 * src/lyx_gui.C: out preamble
2382 * src/lyx_gui_misc.C: out preamble
2383 * src/lyxfunc.C: connect with guii preamble
2385 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2387 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2389 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2391 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2392 whether to run bibtex.
2394 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2396 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2398 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2400 * Makefile.am (lyx_SOURCES): removed bibforms.h
2404 * text.C (GetVisibleRow): make several local vars const
2406 * tabular.C: small cleanup.
2408 * lyxserver.C (callback): use compare instead of strncmp
2410 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2411 inlines to after class or to paragraph.C
2413 * lyxfont.h: remove friend operator!=
2415 * converter.h: move friend bool operator< to non friend and after
2418 * combox.h: small cleanup
2420 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2421 to inlines after class def.
2423 * buffer.C (pop_tag): use string operations instead of strcmp
2425 * bmtable.c: doxygen, small cleanup
2427 * LaTeX.h: remove friend operator==
2429 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2441 * BufferView_pimpl.C:
2442 * BufferView.[Ch]: remove cruft
2444 2001-02-14 Juergen Vigna <jug@sad.it>
2446 * lyxfunc.C: removed #if 0 unused code
2448 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2450 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2452 * text2.C (SetSelection): added a BufferView * parameter
2454 2001-02-13 Juergen Vigna <jug@sad.it>
2456 * lyxfunc.C (Dispatch): fixed protected blank problem.
2457 * BufferView2.C (protectedBlank): added LyxText * parameter.
2459 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2460 (AppendColumn): same as above for column_info.
2462 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2463 (moveCursorUpdate): use a LyXText param for support of InsetText.
2465 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2466 (tripleClick): ditto
2468 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2470 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2472 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2474 * text2.C (SetSelection): set correct update status if inset_owner
2477 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2479 * tabular.C: remove some commented code.
2481 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2483 * BufferView_pimpl.C: call hideSplash()
2485 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2488 * bibforms.h: remove
2491 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2492 add LFUN_CHILD_CREATE
2494 * counters.h: fix tiny typo
2499 * lyx.C: move splash to frontends/xforms/
2501 * lyx_gui_misc.C: move Include and Bibform to frontends
2503 * lyxvc.h: clarify comment
2505 * vspace.C: tiny housekeeping
2507 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2509 * text.C (PrepareToPrint): RTL Fix.
2511 * paragraph.C (GetUChar): New method.
2512 (String): Use GetUChar.
2514 * buffer.C (asciiParagraph): Use GetUChar.
2516 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2518 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2520 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2523 * buffer.C: rename to getLogName(), handle
2524 build log / latex log nicely
2526 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2529 * MenuBackend.h: remove support for reference menuitem type.
2531 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2533 * BufferView_pimpl.C: housekeeping
2534 * BufferView_pimpl.h:
2539 * minibuffer.h: move Timeout GUI-I
2541 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2543 * lyxrc.C (read): Update converters data-structures.
2545 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2547 * LaTeX.h (operator!=): add operator != for Aux_Info
2549 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2551 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2553 * LaTeXLog.C: deleted, useful code moved to Buffer
2556 * buffer.C: new function getLatexLogName()
2562 * lyxfunc.C: use frontends for LaTeX and VC logs
2564 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2566 * LaTeX.h: yet another std:: that Allan forgot.
2568 * Variables.C (set): renamed from isset(), because this clashes
2569 with some HP-UX macros (grr).
2571 2001-02-06 Allan Rae <rae@lyx.org>
2573 * LaTeX.h: Another bug fix. Missing std:: this time.
2575 2001-02-04 Allan Rae <rae@lyx.org>
2577 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2578 floats problem. I've left it commented out because it's not quite
2579 correct. It should also test that the current object is a table or
2580 figure inset. But I haven't gotten around to figuring out how to do
2581 that. I *think* it'll be something like: "table" == inset.type()
2583 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2586 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2588 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2589 all the citation/databases/styles in the auxilary file.
2590 (run): Rerun latex if there was a babel language error.
2592 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2594 * text.C (Backspace): Preserve the font when changing newline char
2596 (BreakParagraph): If the cursor is before a space, delete the space.
2598 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2600 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2602 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2603 new argument (code).
2604 (ChangeCitationsIfUnique): New method.
2606 * paragraph.C (GetPositionOfInset): Handle bibkey.
2608 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2610 * BufferView_pimpl.h: change type of Position::par_pos to
2611 LyXParagraph::size_type.
2613 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2615 * BufferView_pimpl.C (savePosition, restorePosition): Write
2616 messages to minibuffer.
2618 2001-01-28 José Matos <jamatos@fep.up.pt>
2620 * buffer.C (makeDocBookFile): adds support for document language.
2621 A silly restriction on the name of LatexCommand types where removed.
2622 Added support for CDATA sections, allows to chars unescaped, used
2623 among others in code, to avoid escape < and >.
2625 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2627 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2628 saved positions instrad of a stack. Furthermore, a position is
2629 stored using paragraph id/paragraph position.
2631 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2632 Remove LFUN_REF_BACK.
2634 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2636 * converter.C (dvipdfm_options): New method.
2638 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2640 * vspace.C (isValidLength): Fix for empty input string.
2642 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2644 * LyXAction.C (init): change description of LFUN_FIGURE to
2647 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2649 * LaTeX.C: add using directive
2651 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2653 * MenuBackend.C (expand): Fix the sorting of the formats.
2655 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2657 * lyx_main.C: tiny error message fix
2659 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2661 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2662 calling fl_initialize(). This fixes the problem with ',' as
2663 decimal separator in text files.
2665 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2667 * trans.C (process): Fix the keymap bug.
2669 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2671 * LaTeX.C (scanAuxFiles): New method. Provides support for
2672 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2673 (scanLogFile) Scan for "run BibTeX" messages.
2675 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2676 OT1 font encoding. Also, load the aecompl package if the ae
2679 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2681 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2683 * texrow.C (increasePos): turn two error messages into debug
2686 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2688 * LaTeX.C (scanAux): Handle the \@input macro.
2689 (runBibTeX): Use scanAux().
2691 * language.C (latex_options_): New field.
2693 * LaTeXFeatures.C (getMacros): Add language macros.
2695 * buffer.C (makeLaTeXFile): Small fix.
2697 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2699 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2701 * text2.C: add a using directive.
2703 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2708 * lyxfunc.C: kill LyXBell.
2710 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2712 * text.C (IsBoundary): Remove the error message
2714 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2716 * lyxrc.C (setDefaults): Correct initialization value for
2719 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2721 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2724 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2727 * src/LyXAction.C: Added reference-next.
2729 * text.C (InsertChar): Use contains instead of strchr.
2731 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2733 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2735 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2736 alignment commands (when needed).
2738 * text.C (InsertChar): Add ':' to number separator chars.