1 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * paragraph.C (getFont): split into...
5 (getLayoutFont): and this
6 * paragraph_pimpl.C (realizeFont): calling this
8 * text2.C (getFont): split into...
10 (getLabelFont): and this
11 (realizeFont): all three calling this
13 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
20 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
22 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
23 layouts from the Quote inset insertion.
25 2001-08-03 Juergen Vigna <jug@sad.it>
27 * BufferView_pimpl.C (update): do the fitCursor only at the end!
29 * screen.C (drawFromTo): don't call fitcursor here and do the loop
30 only if status not is already CHANGED_IN_DRAW (second level).
32 * text.C (draw): don't set the need_break_row when inside an
35 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
37 * buffer.C (parseSingleLyXformat2Token): handle more latex
40 * bufferview_funcs.[hC]: change function names to
41 begin with small char, adjust other files.
43 2001-08-02 André Pönitz <poenitz@gmx.net>
46 BufferView_pimpl.C: remove broken special code for math-greek
48 2001-08-02 Juergen Vigna <jug@sad.it>
50 * BufferView_pimpl.C (update): redone this function so that we
51 update the text again if there was a CHANGE_IN_DRAW.
53 * screen.C (cursorToggle): removed LyXText parameter and recoded.
54 (drawFromTo): added a new internal bool which is used by draw() and
56 (general): some cursor drawing problems fixed.
58 2001-08-01 Juergen Vigna <jug@sad.it>
60 * lyxfind.C (LyXFind): fixed
61 (SearchForward): ditto
62 (SearchBackward): ditto
64 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
65 spurius drawing of the cursor in the main area.
67 * text2.C (status): small fix which could lead to a segfault!
68 (clearSelection): remove unneeded BufferView param.
70 2001-08-01 André Pönitz <poenitz@gmx.net>
72 * lyxfunc.C: small change due to changed mathed interface
74 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
76 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
78 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
80 * lyxfunc.c: fail gracefully if file doesn't exist
85 * BufferView_pimpl.C: IsDirWriteable() proto changed
87 * LyXView.C: fix updateWindowTitle() to store the last title
89 2001-07-31 Juergen Vigna <jug@sad.it>
91 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
92 the font (wrong since using of Paragraph::highestFontInRange).
94 * paragraph.C (highestFontInRange): added a default_size parameter.
96 * text.C (getVisibleRow): minor clear row changes (still not perfect).
97 (setHeightOfRow): reformat
99 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
101 * converter.[hC] + affected files: move to (inital-char)lowercase
104 * ParagraphParameters.C (ParagraphParameters): remove commented code
106 * PainterBase.[Ch]: remove commented code
108 * LaTeXFeatures.h: add "bool floats" for float.sty
110 * LaTeXFeatures.C (LaTeXFeatures): init floats
111 (require): handle float
112 (getPackages): do it with floats
114 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
116 * BufferView_pimpl.C (Dispatch): improve handling of
117 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
119 * commandtags.h: #include lyxfont.h here temporarily to avoid
122 * bufferlist.h: include LString.h here.
124 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
126 * text2.C (getStringToIndex): new method.
128 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
130 * *: Reduced header file dependencies all over.
132 2001-07-30 Baruch Even <baruch@lyx.org>
134 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
136 2001-07-29 Baruch Even <baruch@lyx.org>
138 * buffer.C (readInset): Changed GRAPHICS to Graphics.
140 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
142 * ParameterStruct.h (endif): add a default constructor to make
143 sure that all variables is initialized.
145 * ParagraphParameters.C (ParagraphParameters): adjust
147 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
149 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
150 index; also, check that there is something to index, and that it
151 does not span over several paragraphs.
152 (doubleClick): use WHOLE_WORD_STRICT for double click.
154 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
156 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
159 2001-07-26 Baruch Even <baruch@lyx.org>
161 * buffer.C (readInset): Changed to call up InsetGraphics when reading
162 an InsetFig figure, backwards compatible reading of old figure code.
164 2001-07-27 Juergen Vigna <jug@sad.it>
166 * text2.C: font.realize function adaption.
168 * text.C (draw): add a warnings lyxerr text if needed.
170 * layout.C: font.realize function adaption.
172 * language.C: add inherit_language and implement it's handlings
174 * bufferview_funcs.C (StyleReset): remove language parameter from
175 font creation (should be language_inherit now).
177 * bufferparams.C (writeFile): handle ignore_language.
179 * paragraph.C (getFontSettings): the language has to be resolved
180 otherwise we have problems in LyXFont!
182 * lyxfont.C (lyxWriteChanges): added document_language parameter
183 (update): removed unneeded language parameter
185 * paragraph.C (validate): fixed wrong output of color-package when
186 using interface colors for certain fonts in certain environments,
187 which should not seen as that on the final output.
189 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
191 * BufferView_pimpl.C:
196 * LyXAction.C: add thesaurus support
199 * lyxfind.C: add "once" parameter, for thesaurus, to not
200 move to the next match
202 2001-07-26 Juergen Vigna <jug@sad.it>
204 * lyxfont.C (realize): honor ignore_language too!
207 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
209 * text.C (draw): one place more for ignore_language to not draw
212 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
214 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
216 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * buffer.C (parseSingleLyXformat2Token): a more general fix for
219 the minipage conversion problem.
221 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
223 * buffer.C (parseSingleLyXformat2Token): check minipage if we
226 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * BufferView.h: don't forward declare WorkArea
230 * BufferView.C: don't include WorkArea.h
232 2001-07-25 André Pönitz <poenitz@gmx.net>
236 * lyxfunc.C: new LFUN 'math-space'
238 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
240 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
242 * text2.C (toggleInset): call open/close
244 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
246 * lyxfunc.C (dispatch): add debug for the disabled case
248 * font.C (buttonText): make similar to rectText
250 * buffer.C (readInset): comment out parsing of insetlist and
253 * PainterBase.C (rectText): small correction
255 * BufferView_pimpl.C: comment out insettheorem and insetlist
257 * commandtags.h: ditto
259 2001-07-24 Juergen Vigna <jug@sad.it>
261 * text.C (draw): honor the ignore_language.
263 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
265 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
267 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
270 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * lyxtext.h: remove unused (and unimplemented) methods
274 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * text.C (getVisibleRow): honor background color
279 * Painter.h: remove default color argument for fillRectangle
281 * text.C (backgroundColor): new method
283 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
285 * text.C (getVisibleRow): adjust
287 * font.[Ch] (rectText): new method, metrics
288 (buttonText): new method, metrics
290 * PainterBase.[hC]: make rectText and buttonText always draw and take
293 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * ToolbarDefaults.C (read):
296 * MenuBackend.C (read): allow escaping in all strings
298 * BufferView_pimpl.C (insertAndEditInset): new method.
299 (Dispatch): use insertAndEditInset whenever appropriate.
301 * BufferView_pimpl.C (insertNote): removed
303 * BufferView_pimpl.C (smartQuote): new method, moved from
304 BufferView; if an insetquote cannot be inserted, insert a '"'
307 * BufferView2.C: remove insertCorrectQuote();
309 * lyxfunc.C (getStatus): Add support for all remaingin
312 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
314 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
315 command (necessary to pass " as parameter of self-insert.
317 * text.C (selectWordWhenUnderCursor):
318 (selectWord): add word_location parameter
319 (selectWordWhenUnderCursor): same + remove special code for word
321 (selectNextWord): use kind() to guess type of insetspecialchar,
324 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
325 (insertErtContents): create ert insets as collapsed.
326 (readInset): better compatibility code for Info inset.
328 2001-07-20 Juergen Vigna <jug@sad.it>
330 * lyxfunc.C (dispatch): use always LyXFind now!
332 * text2.C (init): add a reinit flag so that the LyXText can be
333 reinited instead of deleted and reallocated (used in InsetText).
335 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
341 2001-07-18 Juergen Vigna <jug@sad.it>
343 * text.C (selectNextWord): handle insets inside inset by calling
344 always the bv->text functions so that we can go up the_locking_inset!
346 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
347 in strange locations when inside an inset!
349 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
350 handling to include insets.
352 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
354 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
356 * LyXAction.C (init):
358 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
359 LIGATURE_BREAK, since the name is so stupid.
361 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
363 * buffer.C (readInset): enable reading of new InsetNotes as well as old
366 * FontLoader.C: remove FORMS_H_LOCATION cruft.
368 * sp_form.[Ch]: remove.
370 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
372 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
375 * src/buffer.C (readInset): ditto.
377 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * BufferView_pimpl.C (specialChar): new method. Obsoletes
380 menuSeparator(), endOfSentenceDot(), ldots() and
381 hyphenationPoint(), which are therefore removed.
382 (Dispatch): handle LFUN_HYPHENATION_BREAK.
384 * LyXAction.C (init):
385 * commandtags.h: add LFUN_HYPHENATION_BREAK.
387 * paragraph.C (getWord): removed.
389 * BufferView_pimpl.C (Dispatch): use last word or selection for
390 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
392 * lyx_main.C (queryUserLyXDir): do not ask before creating
393 user_dir, except if it has been named explicitely.
395 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
397 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
398 a document of zero size.
400 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
402 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
403 approriately in the c-tor and in require().
404 (getPackages): output the appropriate LaTeX for natbib support.
406 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
407 variables "use_natbib" and "use_numerical_citations" when reading the
409 (readInset): read the various natbib cite commands.
410 (validate): white-space change.
412 * bufferparams.[Ch]: new variables "bool use_natbib" and
413 "bool use_numerical_citations".
414 (writeFile): output them in the LyX file.
416 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
418 * lyxfunc.C (getStatus): add support for all the inset insertion
421 * text2.C (insertInset):
422 * paragraph.C (insetAllowed):
423 * BufferView_pimpl.C (insertInset): update to take in account the
424 renaming of insertInsetAllowed
426 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
428 * text2.C (getInset): new method. returns inset at cursor position.
430 * BufferView_pimpl.C (Dispatch): changes because of this.
432 * LyXAction.C (init): rename open-stuff to inset-toggle.
434 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
436 * text2.C (toggleInset): renamed from openStuff; use
439 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
441 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
443 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
445 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
447 * buffer.C (readLyXformat2): Add filename to the error dialog
449 2001-07-18 Juergen Vigna <jug@sad.it>
451 * tabular.C (GetCellNumber): put an assert here instead of the check!
453 2001-07-17 Juergen Vigna <jug@sad.it>
455 * BufferView_pimpl.C (toggleSelection): adapted too.
457 * text.C (selectNextWord): adapted for use with insets.
458 (selectSelectedWord): ditto
460 2001-07-17 Juergen Vigna <jug@sad.it>
462 * sp_spell.C (PSpell): fix initialitation order.
464 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
466 * paragraph.C: spacing
468 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
470 * sp_spell.C: repair language selection for pspell
472 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
474 * lyxfunc.h: change more methods to begin with lower char.
476 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
478 * buffer.C (parseSingleLyXformat2Token): Generate error insets
481 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
483 * buffer.C (readLyXformat2): Generate an error dialog if there are
486 2001-07-16 Juergen Vigna <jug@sad.it>
488 * sp_spell.C: always compile ISpell part.
490 * lyxrc.C: added use_pspell entry and it's handling.
492 2001-07-13 Juergen Vigna <jug@sad.it>
494 * sp_spell.C: removed double includes.
496 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
498 Consistent use of Lsstream.h:
499 * Lsstream.h: added using std::stringstream for consistencies sake.
501 * buffer.C: removed using std::stringstream
503 * lyxfont.C (stateText):
504 * paragraph.C (asString):
505 * text.C (selectNextWord, selectSelectedWord):
506 * text2.C (setCounter):
507 * vspace.C (asString, asLatexString):
508 std::ostringstream -> ostringstream.
510 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
512 * LyXAction.C: add LFUN_HELP_ABOUTLYX
513 * commandtags.h: add LFUN_HELP_ABOUTLYX
514 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
516 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
518 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
520 * lyx_gui_misc.C: remove spellchecker
521 * lyxfunc.C: showSpellchecker
526 * sp_form.[Ch]: removed
527 * spellchecker.[Ch]: removed
529 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
531 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
533 (simpleTeXSpecialChars): Simply print the input character without
534 any special translation if pass_thru is set.
536 * layout.h: Added bool pass_thru to layout class for being able to
537 implement pass through of a paragraph for Literate Programming.
539 * layout.C: add LT_PASS_THRU to LayoutTags enum.
540 * layout.C (LyXLayout): set pass_thru to flase in constructor.
541 * layout.C (Read): add "passthru" to list of layout tags and add
542 code to set the pass_thru boolean when it is read.
544 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
546 * trans_decl.h: remove allowed from KmodInfo
548 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
552 * paragraph_pimpl.C (erase): use boost::prior
554 * Painter.C (text): use data() instead of c_str() when length is
556 * WorkArea.C (putClipboard): ditto
557 * font.h (width): ditto
559 * BufferView2.C: use it-> instead of (*it). for iterators
561 * paragraph_pimpl.C: ditto
563 * minibuffer.C: ditto
572 * MenuBackend.C: ditto
577 * ColorHandler.C (LyXColorHandler): ditto
579 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
581 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
583 * text2.C (openStuff): reintroduce this method (which had been
584 nuked in NEW_INSETS frenzy).
586 * lyxfunc.C (Dispatch): when an action has not been handled, use
587 its name in the error message, not its number.
589 * paragraph.C (inInset): change method name to begin with lowercase.
592 * text2.C: updates because of this.
594 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
596 * ToolbarDefaults.C (add): add spaces in error message
598 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
600 * buffer.C (readLyXformat2): initialize the ert comp. variables.
601 (readLyXformat2): rename return_par to first_par, use lyxlex's
602 pushToken and remove the manual push handling.
603 (parseSingleLyXformat2Token): add another ert comp. variable:
604 in_tabular, rename return_par to first_par. handle newlines better
606 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
608 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
610 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
612 * text2.C (getParFromID): removed
614 * buffer.C (getParFromID): new method moved form lyxtext.
615 * BufferView2.C (insertErrors): adjust
616 (setCursorFromRow): adjust
617 * BufferView_pimpl.C (restorePosition): adjust
618 * lyxfunc.C (Dispatch): adjust
619 * undo_funcs.C (textUndo): adjust
621 (textHandleUndo): adjust
622 (textHandleUndo): adjust
624 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
626 * buffer.C: up' the LYX_FORMAT
628 * lyxfont.h: turn NO_LATEX on as default
630 * buffer.C (insertErtContents): new methods of tex style compability.
631 (parseSingleLyXformat2Token): use it several places.
632 * tabular.C (OldFormatRead): and here
634 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
636 * text2.C: remove some commented code.
639 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
640 * trans.C: changes because of the above.
642 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
644 * text2.C (setCounter): Fix counters bug with bibliography layout.
646 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
648 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
650 (simpleTeXSpecialChars): ditto
652 2001-07-06 Juergen Vigna <jug@sad.it>
654 * a lot of files: changed the access to LyXText::status and the
655 call of undo-functions.
657 * undo.[Ch]: added a inset_id to the undo informations.
659 * undo_funcs.[Ch]: added and moved here all undo functions.
661 * lyxtext.h: give the status enum a weight, made status_ a private
662 variable and made accessor functions for it, removed the whole bunch
663 of undo-functions as they are now in their own file, make some
664 functions publically available. Added function ownerParagraph with
667 * paragraph.[Ch]: added "bool same_ids" to the constructor,
668 made InInset() a const function, added getParFromID() function.
670 * buffer.[Ch]: added const version for inset_iterator functions,
671 added getInsetFromID() function.
673 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
674 changed undo functions for new version.
676 2001-07-05 Juergen Vigna <jug@sad.it>
678 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
679 unknow mechanism does not call the proper constructor but only this
680 one also if I request the other!?
682 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
684 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
686 * text2.C (LyXText): use initialization lists.
688 * lyxtext.h (Selection): initialize set_ and mark_
689 (init): remove method
691 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
693 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
695 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
697 * screen.[Ch]: change method names to begin with lowercase
699 * BufferView_pimpl.C (updateScrollbar): simplify further and
700 hopefully make it a bit faster.
702 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
704 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
705 calling directly xforms functions.
707 * Painter.C (Painter):
708 * lyx_cb.C (MenuWrite):
709 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
712 * lyx_gui.C: remove bogus guiruntime extern declaration.
714 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
716 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
718 (redoDrawingOfParagraph): ditto
719 (redoParagraphs): ditto
720 (cutSelection): don't create a object for CutAndPaste use the
721 static method directly
722 (pasteSelection): ditto
724 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
727 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
729 * modifications to some other files because of this.
731 * Makefile.am (lyx_SOURCES): add XFormsView
733 * XFormsView.[Ch]: new files
735 * LyXView.[Ch]: make LyXView a base class for the gui handling for
736 the main window. Move the gui dependent stuff to XFormsView
738 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
740 * tabular.C (GetCellInset): update cur_cell also in the row/col
741 version of this function.
743 * lyxfunc.C: no need to include figure_form.h here.
749 * lyxvc.C: no need to include forms.h here.
751 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
753 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
755 * lyxfunc.C (Dispatch):
757 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
758 constructor argument.
760 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
762 * paragraph.C (Paragraph): dont't clear, and just set layout.
763 (makeSameLayout): use params's copy contructor.
765 * ParagraphParameters.[Ch] (makeSame): delete method
767 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
769 * Variables.[Ch]: fix indentation, rename set to isSet
771 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
773 * lyxfunc.C (Dispatch): fix typo
775 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
777 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
780 * bufferlist.C: include assert.h for emergencyWrite().
782 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
784 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
785 give up at last (bug #425202) !
787 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
793 * spellchecker.C: strip spellchecker options and bring up
794 preferences tab instead
796 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
798 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
799 the istringstream constructor
801 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
803 * paragraph.C (getLayout): fix return value
805 * paragraph.h: do not declare getLayout as inline.
807 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
809 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
811 * lyxcursor.h (operator<): new func
812 (operator>): new func
813 (operator>=): new func
814 (operator<=): new func
816 * text.C (changeCase): use selection.start and selection.end
817 (changeRegionCase): require from to be <= to. Require par to be a
820 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
822 2001-06-27 Juergen Vigna <jug@sad.it>
824 * text.C (cursorLeftOneWord): changed to return the cursor and added
825 overlay with BufferView * parameter which calls this one.
827 (selectWord): use new getWord function.
828 (changeCase): renamed from changeWordCase as and extended to work
831 * lyxtext.h: added enum word_location
833 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
834 changeCase as this operates now also on selections.
836 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
838 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
840 * many files: send debug output to Debug::INFO instead of
843 * converter.C (View):
845 (Move): send debug output to Debug::FILES instead of console.
847 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
849 * lyxfunc.C (getStatus): use func_status
851 * func_status.h: new header, describing the results of
854 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
857 2001-06-25 The LyX Project <jug@sad.it>
859 * buffer.C (sgmlOpenTag):
861 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
863 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
865 * text2.C: remove some dead code
867 * tabular.C (GetCellInset): store the last cell checked (gotten)
869 * tabular.h: add the helper for the speedup
871 * lyxtext.h: remove some dead code
873 2001-06-26 The LyX Project <Asger>
875 * paragraph.C: Change export to LaTeX of alignment to
876 \begin{center} and family for better roundtrip work with reLyX.
878 * Tune the math drawing a bit.
880 2001-06-25 The LyX Project <Asger>
882 * LColor.C (LColor): New color for math background. New color
885 2001-06-25 The LyX Project <jug@sad.it>
887 * lyxfunc.C (MenuNew): remove extra check for .lyx file
890 * bufferlist.C (newFile): do not restrict to files ending with
893 * BufferView_pimpl.C (MenuInsertLyXFile):
895 2001-06-24 The LyX Project <jug@sad.it>
897 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
900 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
902 * lyxtext.h: rename most methods to begin with a small char.
903 Lots of changes because of this.
905 * paragraph.C (Paragraph): do not call fitToSize
906 (erase): call Pimpl::erase
907 (insertChar): call Pimpl::insertChar
908 (insertInset): call Pipl::insertInset
909 (breakParagraph): do not call fitToSize
910 (breakParagraphConservative): do not call fitToSize
911 (fitToSize): remove method
913 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
915 2001-06-24 The LyX Project <Asger>
917 * Fix Qt compilation^2
919 2001-06-24 The LyX Project <jug@sad.it>
921 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
922 depthHook(getDepth()-1).
925 * ParagraphParameters.h:
926 * ParameterStruct.h: change type of depth to unsigned int ==
927 depth_type. Many adaptations to other files before of that.
929 2001-06-24 The LyX Project <Asger>
931 * Fix Qt compilation.
933 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
935 * paragraph.h: renamed several methods to begin with small letter.
936 several changes to many parts of the code because of this.
938 2001-06-23 The LyX Project <jug@sad.it>
940 * text2.C (InsertStringAsLines): renamed from InsertStringA;
941 rewritten to discard all double spaces when KeepEmpty is off
942 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
943 to only handle newlines but not fiddle with spaces and friends.
945 * lyxfunc.C (MenuNew): when doing 'new from template', use
946 template_path as default directory
948 2001-06-23 The LyX Project <Asger>
950 * Clean-up of header file includes all over
951 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
953 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
955 * paragraph.h: renamed from lyxparagraph.h
957 2001-06-23 Asger <lyx@violet.home.sad.it>
959 * Buffer.h: Removed Buffer::resize
960 * BufferList.h: Removed BufferList::resize
961 * LyXView.h: Added LyXView::resize. This way, we will only reflow
962 the document lazily when we change the width, or the font settings.
964 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
966 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
968 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
970 * buffer.h: remove out of date comment
972 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
975 * screen.C: fix "theoretical" GC leak
977 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
979 * LaTeX.C (scanAuxFile):
980 (deplog): remove trailing \r when reading stream (useful under
983 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
985 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
986 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
987 and BufferView::theLockingInset(Inset*), so should use them and not
988 access bv_->text->the_locking_inset directly.
990 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
992 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
995 * tex-defs.h: remove old unused file
997 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
999 * BufferView_pimpl.C: fix typo, remove minibuffer message
1000 when buffer has loaded
1002 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1004 * lyxfunc.C (Dispatch): use stringstream
1005 (MenuNew): use stringstream
1006 (Open): use stringstream
1008 * importer.C (Import): use stringstream
1010 * bufferview_funcs.C (CurrentState): use stringstream
1012 * LaTeX.C (run): use stringstream
1014 * BufferView_pimpl.C (savePosition): use stringstream
1015 (restorePosition): use stringstream
1016 (MenuInsertLyXFile): use stringstream
1018 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1031 * vspace.C: removed // -*- C++ -*- as first line.
1034 * version.h: added // -*- C++ -*- as first line.
1036 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1038 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1040 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1043 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1045 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1048 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1050 * gettext.C: include LString.h even when --disable-nls is on.
1052 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1054 * converter.h (Get): changed argument type from int to
1055 FormatList::size_type to avoid unnecessary conversion.
1057 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1060 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1062 * gettext.h: include LString.h even when --disable-nls is on.
1064 2001-06-07 Juergen Vigna <jug@sad.it>
1066 * text.C (BreakAgain): subst spaces with tabs.
1068 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1069 (resizeInsetsLyXText): set force on resizeLyXText.
1071 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1073 * gettext.h (gettext_init):
1074 (locale_init): use a real definition instead of a macro
1076 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1078 * Bufferview_pimpl.C:
1080 * LColor.C: further lcolor tidies
1082 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1084 * BufferView_pimpl.C (updateScrollbar): simplify.
1086 * BufferView2.C: don't include insets/insetinfo.h, change
1087 prototype for insertInset and call the Pimpl version. let
1088 updateInset call Pimpl version.
1090 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1091 gotoInset to BufferView::Pimpl
1093 2001-06-01 Juergen Vigna <jug@sad.it>
1095 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1096 inside a LockingInset (is the update needed at all?).
1098 2001-05-31 Juergen Vigna <jug@sad.it>
1100 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1101 here not the old one otherwise how should we compare it afterwards
1104 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1109 * FontInfo.C: bring C functions into global namespace when
1112 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1114 * LString.h: make sure config.h has been loaded before LString.h.
1116 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1117 (one for each char read by EatLine!).
1119 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1122 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1124 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1125 to the same as the par we break from
1127 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1129 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1131 * MenuBackend.C (expand): also create menu entries for wide
1132 versions of the floats.
1134 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1136 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1138 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1139 frontends/Makefile.am
1145 * tabular.C (getTokenValue): add std::
1147 * tabular-old.C (getTokenValue): add std::
1148 (getTokenValue): ditto
1149 (getTokenValue): ditto
1151 * screen.C (ToggleSelection): adjust
1153 * lyxtext.h: put selection cursors inside a Selection struct.
1155 * lyxfunc.C (moveCursorUpdate): adjust
1157 * lyxfont.C (latexWriteStartChanges): add std::
1161 * font.h: delete with(char const *, LyXFont const &)
1163 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1165 * FontInfo.C (getFontname): add std::
1167 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1168 (workAreaButtonPress): adjust
1169 (tripleClick): adjust
1171 (moveCursorUpdate): adjust
1174 * BufferView2.C (gotoInset): adjust
1176 2001-05-30 Juergen Vigna <jug@sad.it>
1178 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1179 to check pspell I add this as default as I now have new pspell
1180 libraries and they seem to use this.
1182 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1184 * text2.C (CutSelection): make the cursor valid before the call to
1187 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1189 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1190 relied on 0 terminated strings and other horrors. Bug found due to
1191 the new assert in lyxstring!
1193 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1196 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1198 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1201 * lyxfunc.C (processKeySym): change method of getting to the
1204 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1205 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1206 * BufferView_pimpl.[Ch]: here as private methods.
1208 2001-05-28 Juergen Vigna <jug@sad.it>
1210 * text.C (SetHeightOfRow): added the update() call again as it is
1211 needed to initialize inset dimensions!
1213 2001-05-16 Juergen Vigna <jug@sad.it>
1215 * text2.C (SetCharFont): Add new function with BufferView * and
1216 bool toggleall parameters for setting insets internal fonts.
1217 (SetFont): Freeze the undo as we may change fonts in Insets and
1218 all this change should be inside only one Undo!
1220 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1221 setting font's in insets as for them we have the SetFont function!
1223 2001-05-15 Juergen Vigna <jug@sad.it>
1225 * text2.C (ClearSelection): to be sure we REALLY don't have any
1228 * tabular.C (TeXCellPreamble): fixed the left border problem for
1231 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1233 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1236 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1238 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1239 LFUN_BREAKPARAGRAPH.
1241 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1242 help test to "internal only", similar for LFUN_INSERT_URL
1244 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1245 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1246 auto_region_delete and deadkeys.
1248 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1251 * LColor.C: remove some dead entries, tidy a little
1253 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1255 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1257 (Dispatch): implement LFUN_ESCAPE
1259 * commandtags.h: add LFUN_ESCAPE
1261 * LyXAction.C (init): add entry for LFUN_ESCAPE
1263 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1264 Remove commented code.
1265 (insertNote): moved here
1266 (open_new_inset): moved here
1268 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1271 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1273 * kbmap.C (findbinding): clean it up and make it work correctly.
1275 * lyx_main.C (init): do not pass argc and argv as parameters
1277 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1279 * buffer.C: fix path for OS/2 & Win32
1283 * lyx_main.C: Added os:: class.
1285 * os2_defines.h: update
1287 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1289 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1290 better by trying again with reduced state.
1292 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1294 * lyxrc.C (read): print error about invalid key sequence only when
1295 debugging (because not all latinX keysyms are known to some X
1298 * kbsequence.C (getiso): add a few std:: qualifiers
1299 (getiso): comment out extra return statement.
1301 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1303 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1305 (Dispatch): enhance the accent inset a bit. (not perfect)
1307 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1309 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1311 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1313 * bufferlist.C (emergencyWrite): fix assert() call
1315 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1317 * text.C (InsertChar): Added trivial patch to only send the "you
1318 can not do multiple spaces this way" message once during a
1321 2001-05-08 Baruch Even <baruch@lyx.org>
1323 * Makefile.am: Changed order of libraries to get LyX to link properly
1324 with the gnome frontend.
1326 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1328 * LaTeXFeatures.h: add a std:: qualifier
1330 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1332 * paragraph.C (String): use stringstream
1334 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1336 * paragraph.C (writeFile): remove footflag arg
1338 * buffer.C (makeLaTeXFile): use stringstream
1339 (latexParagraphs): remove footnot gurba
1341 * LaTeXFeatures.C (getPackages): use stringstream
1342 (getMacros): likewise
1343 (getTClassPreamble): likewise
1344 (getFloatDefinitions): new method
1346 * paragraph.C (writeFile): reindent
1349 * WorkArea.h: revert the xpos + etc changes.
1351 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1353 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1355 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1356 (pasteSelection): likewise
1357 * text2.C (CreateUndo): likewise
1359 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1361 * minibuffer.C (peek_event): temporarily reduce the functionality
1362 of the minibuffer (to allow args on lfuns)
1364 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1365 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1367 * buffer.C (readInset): add compability reading of old float
1368 lists, add reading of new style float list.
1369 (readInset): avoid reevaluation of inscmd.getCmdName()
1370 (getLists): reindent
1372 * MenuBackend.C (MenuItem): implement parsing of
1373 md_floatlistinsert and md_floatinsert.
1374 (expand::LastFiles): move initalizaton of iterators out of loop,
1376 (expand::Documents): introduce typdedef vector<string> Strings,
1378 (expand::ExportFormats): introduce typedef vector<Format const *>
1379 Formats, and use it.
1380 (expand): implement FloatListInsert and FloatInsert.
1382 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1383 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1384 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1386 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1388 (Dispatch::LFUN_FLOAT_LIST): implement
1390 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1392 * LaTeX.C (run): Fix problem with --export code.
1394 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1396 * BufferView.[Ch] (workarea): removed.
1397 (getClipboard) new method; wrapper for workarea()->getClipboard()
1399 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1402 * WorkArea.h (width, height, xpos, ypos): These methods all
1403 returned the dimensions of the work_area sub-area of WorkArea,
1404 resulting in a position error if the WorkArea were resized. Now
1405 return the dimensions of the entire WorkArea.
1407 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1409 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1411 * LaTeX.C (deplog): correct the syntax of regex reg1
1413 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1415 * undo.C: remove !NEW_INSETS cruft
1417 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1419 * text2.C: remove !NEW_INSETS cruft
1421 * text.C: remove !NEW_INSETS cruft
1423 * tabular.C: remove !NEW_INSETS cruft
1425 * spellchecker.C: remove !NEW_INSETS cruft
1427 * lyxtext.h: remove !NEW_INSETS cruft
1429 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1431 * lyxfunc.C: remove !NEW_INSETS cruft
1433 * lyxfind.C: remove !NEW_INSETS cruft
1435 * lyx_cb.C: remove !NEW_INSETS cruft
1437 * figureForm.C: remove !NEW_INSETS cruft
1439 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1441 * buffer.[Ch]: remove !NEW_INSETS cruft
1443 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1445 * CutAndPaste.C: remove !NEW_INSETS cruft
1447 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1449 * BufferView2.C: remove !NEW_INSETS cruft
1451 * BufferView.h: remove !NEW_INSETS cruft
1453 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1455 * Lsstream.h: include LString.h before the sstream headers to
1456 fix problem with gcc 2.95.3 and lyxstring
1458 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1460 * lyx_main.C: add using directives when needed for C functions
1461 declared in std:: namespace.
1463 2001-04-27 Juergen Vigna <jug@sad.it>
1465 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1466 (SetHeightOfRow): comment out the update call should not be needed!
1468 2001-04-13 Juergen Vigna <jug@sad.it>
1470 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1471 (LyXTabular): tried to minimize operator= operations (and realized
1472 hopfully Lars wish).
1474 2001-04-27 Juergen Vigna <jug@sad.it>
1476 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1478 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1480 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1482 * buffer.C (readInset): hack to make listof algorithm work
1484 * BufferView_pimpl.C: hack to make listof algorithm work
1486 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1488 * LyXAction.C: removed all !NEW_INSETS cruft
1489 (init): moved lfun_item in method
1491 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1493 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1495 * BufferView2.C (theLockingInset): white space.
1497 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1499 * minibuffer.C: include <iostream>
1501 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1503 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1505 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1507 * text.[Ch] (TransposeChars): new method
1509 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1511 * call message directly through LyXView instead of through LyXFunc
1512 * BufferView2.C: adjust
1513 * BufferView_pimpl.C: adjust
1514 * FontLoader.C: adjust
1516 * bufferview_funcs.C: adjust
1517 * converter.C: adjust
1518 * figureForm.C: adjust
1519 * importer.C: adjust
1521 * lyx_gui_misc.C: adjust
1525 + more files in subdirs
1527 * lyxparagraph.h (size): move up int file
1530 * adjust all uses of Assert to lyx::Assert.
1532 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1533 lyxfunctional in namespace lyx
1534 * layout.C (hasLayout): ditto
1537 (delete_layout): ditto
1538 (NumberOfClass): ditto
1539 * converter.C (GetFormat): ditto
1544 * bufferlist.C (getFileNames): ditto
1545 (emergencyWriteAll): ditto
1548 * MenuBackend.C (hasSubmenu): ditto
1551 * BufferView_pimpl.C (getInsetByCode): ditto
1553 2001-04-18 Juergen Vigna <jug@sad.it>
1555 * vspace.C (asLatexString): fixed the 100% problem.
1557 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1559 * lyxfunc.C (Dispatch):
1561 * minibuffer.h: add a few std:: qualifiers
1563 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1565 * minibuffer.[Ch]: reimplement so that commands is initiated and
1566 run from lyxfunc, simplified som handling, and made the completion
1567 and history code for complete. wip.
1569 * lyxfunc.C (processKeySym): call message
1570 (miniDispatch): new temporary method
1571 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1572 (LFUN_MESSAGE): implement
1573 (LFUN_MESSAGE_PUSH): implement
1574 (LFUN_MESSAGE_POP): implement
1575 (initMiniBuffer): the initial/defualt minibuffer message.
1577 * lyxfont.[Ch]: inline some more getters
1579 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1581 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1583 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1584 (AutoSave): use LFUN_MESSAGE
1585 (Reconfigure): ditto
1587 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1589 * figureForm.C: use LFUN_MESSAGE
1591 * converter.C (runLaTeX): use LFUN_MESSAGE
1593 * bufferview_funcs.C: use LFUN_MESSAGE
1595 (changeDepth): ditto
1597 * bufferparams.h: use boost::
1599 * bufferlist.h: inherit privately from noncopyable
1601 * bufferlist.C (loadLyXFile): remove some commented code.
1603 * buffer.C (runChktex): use LFUN_MESSAGE
1605 * ShareContainer.h: inherit privately from noncopyable
1607 * ParagraphParameters.[hC] (depth): inline it.
1609 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1611 (message): new method
1612 (messagePush): ditto
1614 (show): init minibuffer
1615 (showState): direct call
1617 * LaTeX.[Ch]: inherit privately from noncopyable
1618 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1619 instead of WriteStatus.
1621 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1623 * BufferView_pimpl.C (buffer): don't init minibuffer
1624 (workAreaButtonPress): use LFUN_MESSAGE
1625 (workAreaButtonRelease): ditto
1626 (savePosition): ditto
1627 (restorePosition): ditto
1628 (MenuInsertLyXFile): ditto
1629 (workAreaExpose): don't init minibuffer
1630 (update): remove commented code, simplify
1632 * BufferView2.C (openStuff): use LFUN_MESSAGE
1633 (toggleFloat): ditto
1636 (copyEnvironment): ditto
1637 (pasteEnvironment): ditto
1642 (updateInset): remove some commented code
1644 * lastfiles.h: inherit privately from noncopyable
1649 * lyxlex_pimpl.h: ditto
1651 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1652 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1653 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1655 * LyXAction.h: inherit privately from noncopyable, add methods
1656 func_begin, func_end, returning iterators to the func map.
1658 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1659 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1660 (func_begin): new method
1661 (func_end): new method
1663 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1665 (copySelection): ditto
1666 (pasteSelection): ditto
1668 * BufferView.C: whitespace change
1669 * BufferView.h: inherit privately from noncopyable
1671 2001-04-16 Allan Rae <rae@lyx.org>
1673 * tabular-old.C (l_getline):
1674 * spellchecker.C (sc_check_word):
1675 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1676 an unrecognised preprocessor directive. So ensure they're wrapped.
1678 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1680 * src/exporter.C (Export): Give an error message when path to file
1683 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1685 * LaTeX.C (deplog): Always check that foundfile exists.
1687 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1690 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1692 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1694 * tabular.[Ch] (getLabelList): implement new method
1696 * minibuffer.h: comment ouf setTiimer
1698 * minibuffer.C (ExecutingCB): constify res
1699 (peek_event): constify s
1700 (Set): constify ntext
1701 (Init): constify nicename
1703 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1705 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1706 (savePosition): use two params to Minibuffer::Set
1707 (restorePosition): ditto
1709 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1711 * lyx_main.C: include language.h
1713 * Makefile.am (lyx_main.o): add language.h
1715 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1721 * CutAndPaste.C: include gettext.h
1723 * lyxfont.h: remove old hack with ON and OFF.
1726 * lyxfont.h: do not include language.h...
1731 * bufferview_funcs.C:
1737 * paragraph.C: ... but do it here instead
1739 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1741 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1743 * tabular.C: small reformat
1745 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1748 (BreakParagraph): ditto
1749 (SetOnlyLayout): ditto
1752 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1755 * lastfiles.C: removed most using decl, add std:: where needed
1757 * buffer.C: ws changes
1759 * MenuBackend.C (class compare_format): put into anon namespace
1760 (expand): constify label, names, action, action2
1763 * text.C (SingleWidth): constify font
1764 (IsBoundary): constify rtl2
1765 (GetVisibleRow): constify ww
1767 * LaTeX.C (deplog): constify logfile
1769 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1771 (workAreaExpose): constify widthChange, heightChange
1773 * lyxrow.C (par): moved
1776 * lyxrow.h: as inlines here
1778 * lyxfont.h (shape): moved from lyxfont.C
1779 (emph): moved from lyxfont.C
1781 * lyxfont.C (LyXFont): use initialization list for all
1783 (shape): move to lyxfont.h as inline
1784 (emph): move to lyxfont.h as inline
1787 2001-04-04 Juergen Vigna <jug@sad.it>
1789 * vspace.C: had to include stdio.h for use of sscanf
1791 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1794 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1795 independent of xforms.
1797 2001-04-02 Juergen Vigna <jug@sad.it>
1799 * spellchecker.C: fixed namespace placing!
1801 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1803 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1804 the LyXParagraph * is 0.
1806 2001-03-29 Juergen Vigna <jug@sad.it>
1808 * vspace.C: added support for %, c%, p%, l%.
1809 (stringFromUnit): added helper function.
1810 (asLatexString): changed to give right results for the %-values.
1812 * buffer.C: convert the widthp in a width%.
1814 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1816 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1819 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1820 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1822 * lyx_cb.[Ch]: see above.
1824 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1828 * lyx.[Ch]: replaced by figure_form.[Ch].
1832 * lyxfunc.C: changed headers associated with above changes.
1834 2001-03-27 Juergen Vigna <jug@sad.it>
1836 * BufferView_pimpl.C: set the temporary cursor right!
1838 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1840 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1842 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1844 * LString.h: removed "using std::getline"!
1846 * BufferView_pimpl.C (Dispatch): changes due to changes in
1847 InsetInclude::Params.
1849 * buffer.C (tag_name): removed redundant break statements as they were
1850 producing lots of warnings with my compiler.
1852 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1854 * LString.h: add "using std::getline" when using the real <string>.
1856 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1858 * buffer.C: removed bitset usage.
1859 PAR_TAG moved to an anonymous name space.
1860 (tag_name): new funtion, also in the anonymous namespace.
1861 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1862 (makeDocBookFile): clean code. Completed transition from string arrays
1864 (SimpleDocBookOnePar): code clean.
1866 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1868 * tabular.C: add some comments.
1870 2001-03-22 Juergen Vigna <jug@sad.it>
1872 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1873 compatibility read a bit and fixed bug with minipage in different
1876 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1878 * buffer.C (pop_tag): removed.
1879 (push_tag): removed.
1880 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1881 array replaced with vector. Added support for CDATA sections.
1882 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1884 (makeDocBookFile): XML conformant declaration of CDATA section,
1885 fixed bug related to <emphasis> in the first paragraph char.
1886 (sgmlOpenTag): exclude empty tags.
1887 (sgmlCloseTag): ditto.
1889 * buffer.h (pop_tag): removed.
1890 (push_tag): removed.
1892 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1894 * language.h (Languages): added size_type and size().
1896 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1898 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1899 response on compability reading of minipages. One probliem is that
1900 the old usage of minipages was «flertydig»
1902 * several files here and in subdirs: don't use static at file
1903 scope use anon namespaces instead.
1905 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1907 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1908 LaTeX output. This is necessary for Literate document
1911 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1913 * buffer.C: insert hfill when needed.
1915 * tabular.C (l_getline): use string::erase, small whitespace change.
1917 * BufferView_pimpl.C: try the anon namespace.
1920 2001-03-16 Juergen Vigna <jug@sad.it>
1922 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1923 otherwise it won't open options-dialogs.
1925 * buffer.C: honor pextraWidth(p) on converting minipages.
1927 * tabular.C (l_getline): changed the functions to strip trailing \r.
1929 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1931 * BufferView_pimpl.C:
1932 * minibuffer..C: added "using SigC::slot" declaration.
1934 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1936 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1942 * paragraph.C: ditto
1944 * lyxtext.h: NO_PEXTRA
1946 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1948 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1949 * ParameterStruct.h: ditto
1950 * ParagraphParameters.h: ditto
1951 * lyxparagraph.h: ditto
1953 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1955 * buffer.C: add compability for minipage alignment.
1956 (latexParagraphs): remove unwanted pextra check.
1958 * several files: remove CXX_WORKING_NAMESPACES
1960 * buffer.C (pop_tag): tie is in namespace boost
1962 * BufferView.h: noncopyable is in namespace boost
1967 * lastfiles.h: ditto
1968 * bufferlist.h: ditto
1969 * ShareContainer.h: ditto
1971 * LyXAction.h: ditto
1974 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1976 * Merging changes from BRANCH_MVC back into HEAD.
1978 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1980 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1982 * BufferView_pimpl.C: change from intl.C
1986 * Makefile.am: move combox.*
1992 * intl.C: remove dialog (covered by prefs)
1994 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1996 * lyxfunc.C (Dispatch): removed redundant break statement.
1998 2001-03-14 Juergen Vigna <jug@sad.it>
2000 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2002 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2004 * buffer.C: add hack to fix compability reading of minipages.
2006 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2008 * buffer.C (getLists): Cleanup.
2010 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2012 * lyxfont.C (update): don't honor toggleall on font size.
2014 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2018 * Makefile.am: moved to frontends/xforms/
2022 * BufferView_pimpl.C: changes for moved mathpanel
2024 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2026 * gettext.h: fix gettext_init() in --disable-nls
2028 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2030 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2032 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2035 * lyx.h: strip external form
2037 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2039 * BufferView_pimpl.C: add comment, destroySplash()
2041 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2043 * BufferView_pimpl.C:
2047 * lyxfunc.C: use re-worked insetinclude
2049 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2051 * buffer.C: add using std::stringstream.
2053 * lyx_cb.C: readd using std::ios.
2055 * buffer.C: add using std::map.
2057 * BufferView_pimpl.C: add using std::vector.
2059 * ShareContainer.h: add std:: to swap.
2061 * buffer.h: add some typedefs
2062 * buffer.C (getLists): use them
2063 (getLists): renamed from getTocList.
2064 add a counter for the different float types and use it in the
2066 (getLists): use the same counter for the NEW_INSETS and the "non"
2069 * lyx_cb.h: remove unused items, includes, using etc.
2071 * ShareContainer.h: remove some commented code, add more comments
2072 and "documentation".
2074 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2076 * buffer.C (getTocList): make the list also when NEW_INSETS is
2079 * buffer.h: remove TocType
2081 * buffer.C (getTocList): change to return a map<string,
2082 vector<TocItem> >, implement for dynamic number of list.
2084 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2085 * text2.C (PasteSelection): adjust
2086 * CutAndPaste.C (pasteSelection): adjust
2088 * FloatList.C (FloatList): update from the new_insets branch.
2089 * Floating.[Ch]: ditto
2090 * LaTeXFeatures.C: ditto
2092 * lyxlex_pimpl.C: ditto
2094 * paragraph.C (Last): remove when NEW_INSETS is defined.
2096 * other file: changes because of the above.
2098 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2100 * lyxparagraph.h: rename next to next_, previous to previous_,
2101 make them private for NEW_INSETS. Rename Next() to next(),
2102 Previous() to previous().
2104 * other files: changes because of the above.
2106 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2109 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2112 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2114 * main.C (main): pass lyx_localedir to gettext_init().
2116 * gettext.h: remove locale_init and gettext_init macros
2118 * gettext.C (locale_init): new function
2119 (gettext_init): new function
2121 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2124 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2126 * Moved credits to frontends:
2127 * credits.[Ch]: removed
2128 * credits_form.[Ch]: removed
2129 * lyx_gui_misc.C: remove credits stuff
2132 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2134 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2136 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2137 unneeded destructor.
2139 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2140 a standalone pointer again.
2142 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2144 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2150 * ToolbarDefaults.C:
2159 * BufferView_pimpl.C: use new file dialog in GUII
2162 * lyx_cb.C: remove LayoutsCB to Toolbar
2164 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2166 * ShareContainer.h (get): add std:: qualifier
2168 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2170 * ShareContainer.h: define a proper ShareContainer::value_type
2171 type (and use typename to please compaq cxx)
2173 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2175 * lyxparagraph.h: move serveral local vars to
2176 ParameterStruct/ParagraphParameters., use ShareContainer in
2177 FontTable., make vars in FontTable private and add getter and
2180 * paragraph.C: changes because of the above.
2182 * lyxfont.h: remove copy constructor and copy assignment. (the
2183 default ones is ok), move number inside FontBits. move inlines to
2186 * lyxfont.C: add number to initializaton of statics, move several
2187 inlines here. constify several local vars. some whitespace
2188 cleanup. Dont hide outerscope variables.
2190 * Spacing.h: add two new constructors to match the set methods.
2192 * ShareContainer.h: new file, will perhaps be moved to support
2194 * ParameterStruct.h: new file
2196 * ParagraphParameters.h: new file
2198 * ParagraphParameters.C: new file
2200 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2201 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2203 * BufferView_pimpl.C: ParagraphParameter changes.
2204 * buffer.C: Likewise.
2205 * bufferview_funcs.C: Likewise.
2207 * text2.C: Likewise.
2209 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2211 * lyxfind.C (LyXReplace): do not redefine default argument in
2213 (IsStringInText): ditto
2214 (SearchForward): ditto
2215 (SearchBackward): ditto
2217 2001-03-06 Juergen Vigna <jug@sad.it>
2219 * lyxfind.C (IsStringInText): put parentes around expressions.
2221 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2223 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2225 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2227 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2229 * stl_string_fwd.h: add comment
2231 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2234 * tabular.C: remove unused DocBook methods
2240 killed DO_USE_DEFAULT_LANGUAGE
2242 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2244 * lyx_gui.C: do not include language.h.
2246 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2247 arguments in function implementation.
2249 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2251 * BufferView_pimpl.C: add <ctime>
2253 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2255 * BufferView_pimpl.C: add using std::find_if
2257 2001-02-27 José Matos <jamatos@fep.up.pt>
2259 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2262 2001-02-11 José Matos <jamatos@fep.up.pt>
2264 * buffer.C (makeDocBookFile): command styles now have a parameter as
2267 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2269 * layout_forms.[Ch]: removed
2270 * lyx_cb.[Ch]: out character
2271 * lyx_gui.C: out character
2272 * lyx_gui_misc.C: out character
2273 * bufferview_funcs.C: : out character,
2274 added toggleall as parameter in ToggleAndShow
2276 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2278 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2280 * text2.C (SetCurrentFont): Disable number property at boundary.
2282 2001-02-26 Juergen Vigna <jug@sad.it>
2284 * lyxfunc.C (getStatus): added a string argument override function so
2285 that this is correctly called from LyXFunc::Dispatch if it contains a
2286 do_not_use_argument which is used!
2287 (Dispatch): added check for "custom" export and call appropriate func.
2289 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2291 * lyxrc.C: Add language_command_local, language_use_babel and
2292 language_global_options.
2294 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2296 * buffer.C (makeLaTeXFile): Use language_use_babel and
2297 language_global_options.
2299 2001-02-23 Juergen Vigna <jug@sad.it>
2301 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2302 which works with LyXText and putted it inside BufferView. Here now we
2303 only call for that part the BufferView::Dispatch() function.
2305 * BufferView.C (Dispatch): added.
2307 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2308 functions which needs to use a LyXText over from LyXFunc.
2309 (MenuInsertLyXFile): added
2310 (getInsetByCode): added
2311 (moveCursorUpdate): added
2312 (static TEXT): added
2314 2001-02-22 Juergen Vigna <jug@sad.it>
2316 * BufferView_pimpl.C (update): call a status update to see if LyXText
2319 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2321 * vc-backend.C (revert): implement for CVS
2322 (getLog): implement for CVS
2324 2001-02-20 Juergen Vigna <jug@sad.it>
2326 * text2.C (ClearSelection): added BufferView param for inset_owner call
2328 * lyxfunc.C (TEXT): added this function and use it instead of
2329 directly owner->view()-text of getLyXText().
2331 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2333 * src/layout_forms.C: out preamble
2334 * src/layout_forms.h: out preamble
2335 * src/lyx_cb.C: out preamble
2336 * src/lyx_cb.h: out preamble
2337 * src/lyx_gui.C: out preamble
2338 * src/lyx_gui_misc.C: out preamble
2339 * src/lyxfunc.C: connect with guii preamble
2341 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2343 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2345 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2347 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2348 whether to run bibtex.
2350 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2352 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2354 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2356 * Makefile.am (lyx_SOURCES): removed bibforms.h
2360 * text.C (GetVisibleRow): make several local vars const
2362 * tabular.C: small cleanup.
2364 * lyxserver.C (callback): use compare instead of strncmp
2366 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2367 inlines to after class or to paragraph.C
2369 * lyxfont.h: remove friend operator!=
2371 * converter.h: move friend bool operator< to non friend and after
2374 * combox.h: small cleanup
2376 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2377 to inlines after class def.
2379 * buffer.C (pop_tag): use string operations instead of strcmp
2381 * bmtable.c: doxygen, small cleanup
2383 * LaTeX.h: remove friend operator==
2385 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2397 * BufferView_pimpl.C:
2398 * BufferView.[Ch]: remove cruft
2400 2001-02-14 Juergen Vigna <jug@sad.it>
2402 * lyxfunc.C: removed #if 0 unused code
2404 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2406 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2408 * text2.C (SetSelection): added a BufferView * parameter
2410 2001-02-13 Juergen Vigna <jug@sad.it>
2412 * lyxfunc.C (Dispatch): fixed protected blank problem.
2413 * BufferView2.C (protectedBlank): added LyxText * parameter.
2415 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2416 (AppendColumn): same as above for column_info.
2418 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2419 (moveCursorUpdate): use a LyXText param for support of InsetText.
2421 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2422 (tripleClick): ditto
2424 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2426 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2428 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2430 * text2.C (SetSelection): set correct update status if inset_owner
2433 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2435 * tabular.C: remove some commented code.
2437 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2439 * BufferView_pimpl.C: call hideSplash()
2441 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2444 * bibforms.h: remove
2447 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2448 add LFUN_CHILD_CREATE
2450 * counters.h: fix tiny typo
2455 * lyx.C: move splash to frontends/xforms/
2457 * lyx_gui_misc.C: move Include and Bibform to frontends
2459 * lyxvc.h: clarify comment
2461 * vspace.C: tiny housekeeping
2463 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2465 * text.C (PrepareToPrint): RTL Fix.
2467 * paragraph.C (GetUChar): New method.
2468 (String): Use GetUChar.
2470 * buffer.C (asciiParagraph): Use GetUChar.
2472 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2474 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2476 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2479 * buffer.C: rename to getLogName(), handle
2480 build log / latex log nicely
2482 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2485 * MenuBackend.h: remove support for reference menuitem type.
2487 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2489 * BufferView_pimpl.C: housekeeping
2490 * BufferView_pimpl.h:
2495 * minibuffer.h: move Timeout GUI-I
2497 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2499 * lyxrc.C (read): Update converters data-structures.
2501 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2503 * LaTeX.h (operator!=): add operator != for Aux_Info
2505 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2507 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2509 * LaTeXLog.C: deleted, useful code moved to Buffer
2512 * buffer.C: new function getLatexLogName()
2518 * lyxfunc.C: use frontends for LaTeX and VC logs
2520 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2522 * LaTeX.h: yet another std:: that Allan forgot.
2524 * Variables.C (set): renamed from isset(), because this clashes
2525 with some HP-UX macros (grr).
2527 2001-02-06 Allan Rae <rae@lyx.org>
2529 * LaTeX.h: Another bug fix. Missing std:: this time.
2531 2001-02-04 Allan Rae <rae@lyx.org>
2533 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2534 floats problem. I've left it commented out because it's not quite
2535 correct. It should also test that the current object is a table or
2536 figure inset. But I haven't gotten around to figuring out how to do
2537 that. I *think* it'll be something like: "table" == inset.type()
2539 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2542 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2544 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2545 all the citation/databases/styles in the auxilary file.
2546 (run): Rerun latex if there was a babel language error.
2548 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2550 * text.C (Backspace): Preserve the font when changing newline char
2552 (BreakParagraph): If the cursor is before a space, delete the space.
2554 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2556 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2558 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2559 new argument (code).
2560 (ChangeCitationsIfUnique): New method.
2562 * paragraph.C (GetPositionOfInset): Handle bibkey.
2564 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2566 * BufferView_pimpl.h: change type of Position::par_pos to
2567 LyXParagraph::size_type.
2569 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2571 * BufferView_pimpl.C (savePosition, restorePosition): Write
2572 messages to minibuffer.
2574 2001-01-28 José Matos <jamatos@fep.up.pt>
2576 * buffer.C (makeDocBookFile): adds support for document language.
2577 A silly restriction on the name of LatexCommand types where removed.
2578 Added support for CDATA sections, allows to chars unescaped, used
2579 among others in code, to avoid escape < and >.
2581 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2583 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2584 saved positions instrad of a stack. Furthermore, a position is
2585 stored using paragraph id/paragraph position.
2587 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2588 Remove LFUN_REF_BACK.
2590 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2592 * converter.C (dvipdfm_options): New method.
2594 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2596 * vspace.C (isValidLength): Fix for empty input string.
2598 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2600 * LyXAction.C (init): change description of LFUN_FIGURE to
2603 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2605 * LaTeX.C: add using directive
2607 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2609 * MenuBackend.C (expand): Fix the sorting of the formats.
2611 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2613 * lyx_main.C: tiny error message fix
2615 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2617 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2618 calling fl_initialize(). This fixes the problem with ',' as
2619 decimal separator in text files.
2621 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2623 * trans.C (process): Fix the keymap bug.
2625 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2627 * LaTeX.C (scanAuxFiles): New method. Provides support for
2628 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2629 (scanLogFile) Scan for "run BibTeX" messages.
2631 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2632 OT1 font encoding. Also, load the aecompl package if the ae
2635 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2637 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2639 * texrow.C (increasePos): turn two error messages into debug
2642 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2644 * LaTeX.C (scanAux): Handle the \@input macro.
2645 (runBibTeX): Use scanAux().
2647 * language.C (latex_options_): New field.
2649 * LaTeXFeatures.C (getMacros): Add language macros.
2651 * buffer.C (makeLaTeXFile): Small fix.
2653 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2655 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2657 * text2.C: add a using directive.
2659 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2664 * lyxfunc.C: kill LyXBell.
2666 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2668 * text.C (IsBoundary): Remove the error message
2670 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2672 * lyxrc.C (setDefaults): Correct initialization value for
2675 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2677 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2680 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2683 * src/LyXAction.C: Added reference-next.
2685 * text.C (InsertChar): Use contains instead of strchr.
2687 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2689 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2691 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2692 alignment commands (when needed).
2694 * text.C (InsertChar): Add ':' to number separator chars.