1 2001-08-16 Juergen Vigna <jug@sad.it>
3 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8 when converting LaTeX layout to insetERT.
9 Generate a non-collapsed float when reading old float
11 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16 2001-08-13 Juergen Vigna <jug@sad.it>
18 * text.C (fill): return 0 instead of 20 as this seems to be the more
21 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
23 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
26 2001-08-13 Juergen Vigna <jug@sad.it>
28 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
30 (SearchBackward): comment out the unlocking of the inset_owner this
33 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
35 * Many files: Remove inherit_language, and add latex_language
37 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
40 2001-08-10 Juergen Vigna <jug@sad.it>
42 * text.C (prepareToPrint): fixed hfill-width in draw!
44 * BufferView2.C (selectLastWord): save the selection cursor as this
45 now is cleared in the function LyXText::clearSelection!
47 2001-08-08 Juergen Vigna <jug@sad.it>
49 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
50 BACKSPACE type functions.
52 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
53 is only cutted from the document but not put in the cut-buffer, where
54 still the old stuff should be.
56 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
58 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
60 * tabular.C (SetWidthOfCell): fixed special case where the width
62 (LeftLine): handle '|' in align_special.
64 (LeftAlreadyDrawed): ditto
65 (SetWidthOfCell): ditto
67 2001-08-07 Juergen Vigna <jug@sad.it>
69 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
71 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
73 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
76 2001-08-06 Juergen Vigna <jug@sad.it>
78 * text.C (getVisibleRow): fix up row clearing a bit.
80 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
82 * minibuffer.C: make sure the X server sees the changes in the input.
84 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * paragraph.C (getFont): split into...
88 (getLayoutFont): and this
89 * paragraph_pimpl.C (realizeFont): calling this
91 * text2.C (getFont): split into...
93 (getLabelFont): and this
94 (realizeFont): all three calling this
96 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
99 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
101 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
103 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
105 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
106 layouts from the Quote inset insertion.
108 2001-08-03 Juergen Vigna <jug@sad.it>
110 * BufferView_pimpl.C (update): do the fitCursor only at the end!
112 * screen.C (drawFromTo): don't call fitcursor here and do the loop
113 only if status not is already CHANGED_IN_DRAW (second level).
115 * text.C (draw): don't set the need_break_row when inside an
118 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * buffer.C (parseSingleLyXformat2Token): handle more latex
123 * bufferview_funcs.[hC]: change function names to
124 begin with small char, adjust other files.
126 2001-08-02 André Pönitz <poenitz@gmx.net>
129 BufferView_pimpl.C: remove broken special code for math-greek
131 2001-08-02 Juergen Vigna <jug@sad.it>
133 * BufferView_pimpl.C (update): redone this function so that we
134 update the text again if there was a CHANGE_IN_DRAW.
136 * screen.C (cursorToggle): removed LyXText parameter and recoded.
137 (drawFromTo): added a new internal bool which is used by draw() and
139 (general): some cursor drawing problems fixed.
141 2001-08-01 Juergen Vigna <jug@sad.it>
143 * lyxfind.C (LyXFind): fixed
144 (SearchForward): ditto
145 (SearchBackward): ditto
147 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
148 spurius drawing of the cursor in the main area.
150 * text2.C (status): small fix which could lead to a segfault!
151 (clearSelection): remove unneeded BufferView param.
153 2001-08-01 André Pönitz <poenitz@gmx.net>
155 * lyxfunc.C: small change due to changed mathed interface
157 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
159 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
161 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
163 * lyxfunc.c: fail gracefully if file doesn't exist
168 * BufferView_pimpl.C: IsDirWriteable() proto changed
170 * LyXView.C: fix updateWindowTitle() to store the last title
172 2001-07-31 Juergen Vigna <jug@sad.it>
174 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
175 the font (wrong since using of Paragraph::highestFontInRange).
177 * paragraph.C (highestFontInRange): added a default_size parameter.
179 * text.C (getVisibleRow): minor clear row changes (still not perfect).
180 (setHeightOfRow): reformat
182 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
184 * converter.[hC] + affected files: move to (inital-char)lowercase
187 * ParagraphParameters.C (ParagraphParameters): remove commented code
189 * PainterBase.[Ch]: remove commented code
191 * LaTeXFeatures.h: add "bool floats" for float.sty
193 * LaTeXFeatures.C (LaTeXFeatures): init floats
194 (require): handle float
195 (getPackages): do it with floats
197 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
199 * BufferView_pimpl.C (Dispatch): improve handling of
200 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
202 * commandtags.h: #include lyxfont.h here temporarily to avoid
205 * bufferlist.h: include LString.h here.
207 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
209 * text2.C (getStringToIndex): new method.
211 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
213 * *: Reduced header file dependencies all over.
215 2001-07-30 Baruch Even <baruch@lyx.org>
217 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
219 2001-07-29 Baruch Even <baruch@lyx.org>
221 * buffer.C (readInset): Changed GRAPHICS to Graphics.
223 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
225 * ParameterStruct.h (endif): add a default constructor to make
226 sure that all variables is initialized.
228 * ParagraphParameters.C (ParagraphParameters): adjust
230 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
232 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
233 index; also, check that there is something to index, and that it
234 does not span over several paragraphs.
235 (doubleClick): use WHOLE_WORD_STRICT for double click.
237 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
239 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
242 2001-07-26 Baruch Even <baruch@lyx.org>
244 * buffer.C (readInset): Changed to call up InsetGraphics when reading
245 an InsetFig figure, backwards compatible reading of old figure code.
247 2001-07-27 Juergen Vigna <jug@sad.it>
249 * text2.C: font.realize function adaption.
251 * text.C (draw): add a warnings lyxerr text if needed.
253 * layout.C: font.realize function adaption.
255 * language.C: add inherit_language and implement it's handlings
257 * bufferview_funcs.C (StyleReset): remove language parameter from
258 font creation (should be language_inherit now).
260 * bufferparams.C (writeFile): handle ignore_language.
262 * paragraph.C (getFontSettings): the language has to be resolved
263 otherwise we have problems in LyXFont!
265 * lyxfont.C (lyxWriteChanges): added document_language parameter
266 (update): removed unneeded language parameter
268 * paragraph.C (validate): fixed wrong output of color-package when
269 using interface colors for certain fonts in certain environments,
270 which should not seen as that on the final output.
272 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
274 * BufferView_pimpl.C:
279 * LyXAction.C: add thesaurus support
282 * lyxfind.C: add "once" parameter, for thesaurus, to not
283 move to the next match
285 2001-07-26 Juergen Vigna <jug@sad.it>
287 * lyxfont.C (realize): honor ignore_language too!
290 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
292 * text.C (draw): one place more for ignore_language to not draw
295 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
297 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
299 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
301 * buffer.C (parseSingleLyXformat2Token): a more general fix for
302 the minipage conversion problem.
304 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
306 * buffer.C (parseSingleLyXformat2Token): check minipage if we
309 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
311 * BufferView.h: don't forward declare WorkArea
313 * BufferView.C: don't include WorkArea.h
315 2001-07-25 André Pönitz <poenitz@gmx.net>
319 * lyxfunc.C: new LFUN 'math-space'
321 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
323 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
325 * text2.C (toggleInset): call open/close
327 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * lyxfunc.C (dispatch): add debug for the disabled case
331 * font.C (buttonText): make similar to rectText
333 * buffer.C (readInset): comment out parsing of insetlist and
336 * PainterBase.C (rectText): small correction
338 * BufferView_pimpl.C: comment out insettheorem and insetlist
340 * commandtags.h: ditto
342 2001-07-24 Juergen Vigna <jug@sad.it>
344 * text.C (draw): honor the ignore_language.
346 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
348 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
350 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
353 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
355 * lyxtext.h: remove unused (and unimplemented) methods
357 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * text.C (getVisibleRow): honor background color
362 * Painter.h: remove default color argument for fillRectangle
364 * text.C (backgroundColor): new method
366 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
368 * text.C (getVisibleRow): adjust
370 * font.[Ch] (rectText): new method, metrics
371 (buttonText): new method, metrics
373 * PainterBase.[hC]: make rectText and buttonText always draw and take
376 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * ToolbarDefaults.C (read):
379 * MenuBackend.C (read): allow escaping in all strings
381 * BufferView_pimpl.C (insertAndEditInset): new method.
382 (Dispatch): use insertAndEditInset whenever appropriate.
384 * BufferView_pimpl.C (insertNote): removed
386 * BufferView_pimpl.C (smartQuote): new method, moved from
387 BufferView; if an insetquote cannot be inserted, insert a '"'
390 * BufferView2.C: remove insertCorrectQuote();
392 * lyxfunc.C (getStatus): Add support for all remaingin
395 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
397 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
398 command (necessary to pass " as parameter of self-insert.
400 * text.C (selectWordWhenUnderCursor):
401 (selectWord): add word_location parameter
402 (selectWordWhenUnderCursor): same + remove special code for word
404 (selectNextWord): use kind() to guess type of insetspecialchar,
407 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
408 (insertErtContents): create ert insets as collapsed.
409 (readInset): better compatibility code for Info inset.
411 2001-07-20 Juergen Vigna <jug@sad.it>
413 * lyxfunc.C (dispatch): use always LyXFind now!
415 * text2.C (init): add a reinit flag so that the LyXText can be
416 reinited instead of deleted and reallocated (used in InsetText).
418 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
424 2001-07-18 Juergen Vigna <jug@sad.it>
426 * text.C (selectNextWord): handle insets inside inset by calling
427 always the bv->text functions so that we can go up the_locking_inset!
429 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
430 in strange locations when inside an inset!
432 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
433 handling to include insets.
435 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
437 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
439 * LyXAction.C (init):
441 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
442 LIGATURE_BREAK, since the name is so stupid.
444 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
446 * buffer.C (readInset): enable reading of new InsetNotes as well as old
449 * FontLoader.C: remove FORMS_H_LOCATION cruft.
451 * sp_form.[Ch]: remove.
453 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
455 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
458 * src/buffer.C (readInset): ditto.
460 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * BufferView_pimpl.C (specialChar): new method. Obsoletes
463 menuSeparator(), endOfSentenceDot(), ldots() and
464 hyphenationPoint(), which are therefore removed.
465 (Dispatch): handle LFUN_HYPHENATION_BREAK.
467 * LyXAction.C (init):
468 * commandtags.h: add LFUN_HYPHENATION_BREAK.
470 * paragraph.C (getWord): removed.
472 * BufferView_pimpl.C (Dispatch): use last word or selection for
473 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
475 * lyx_main.C (queryUserLyXDir): do not ask before creating
476 user_dir, except if it has been named explicitely.
478 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
480 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
481 a document of zero size.
483 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
485 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
486 approriately in the c-tor and in require().
487 (getPackages): output the appropriate LaTeX for natbib support.
489 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
490 variables "use_natbib" and "use_numerical_citations" when reading the
492 (readInset): read the various natbib cite commands.
493 (validate): white-space change.
495 * bufferparams.[Ch]: new variables "bool use_natbib" and
496 "bool use_numerical_citations".
497 (writeFile): output them in the LyX file.
499 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * lyxfunc.C (getStatus): add support for all the inset insertion
504 * text2.C (insertInset):
505 * paragraph.C (insetAllowed):
506 * BufferView_pimpl.C (insertInset): update to take in account the
507 renaming of insertInsetAllowed
509 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
511 * text2.C (getInset): new method. returns inset at cursor position.
513 * BufferView_pimpl.C (Dispatch): changes because of this.
515 * LyXAction.C (init): rename open-stuff to inset-toggle.
517 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
519 * text2.C (toggleInset): renamed from openStuff; use
522 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
524 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
526 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
528 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
530 * buffer.C (readLyXformat2): Add filename to the error dialog
532 2001-07-18 Juergen Vigna <jug@sad.it>
534 * tabular.C (GetCellNumber): put an assert here instead of the check!
536 2001-07-17 Juergen Vigna <jug@sad.it>
538 * BufferView_pimpl.C (toggleSelection): adapted too.
540 * text.C (selectNextWord): adapted for use with insets.
541 (selectSelectedWord): ditto
543 2001-07-17 Juergen Vigna <jug@sad.it>
545 * sp_spell.C (PSpell): fix initialitation order.
547 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
549 * paragraph.C: spacing
551 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
553 * sp_spell.C: repair language selection for pspell
555 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
557 * lyxfunc.h: change more methods to begin with lower char.
559 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
561 * buffer.C (parseSingleLyXformat2Token): Generate error insets
564 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
566 * buffer.C (readLyXformat2): Generate an error dialog if there are
569 2001-07-16 Juergen Vigna <jug@sad.it>
571 * sp_spell.C: always compile ISpell part.
573 * lyxrc.C: added use_pspell entry and it's handling.
575 2001-07-13 Juergen Vigna <jug@sad.it>
577 * sp_spell.C: removed double includes.
579 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
581 Consistent use of Lsstream.h:
582 * Lsstream.h: added using std::stringstream for consistencies sake.
584 * buffer.C: removed using std::stringstream
586 * lyxfont.C (stateText):
587 * paragraph.C (asString):
588 * text.C (selectNextWord, selectSelectedWord):
589 * text2.C (setCounter):
590 * vspace.C (asString, asLatexString):
591 std::ostringstream -> ostringstream.
593 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
595 * LyXAction.C: add LFUN_HELP_ABOUTLYX
596 * commandtags.h: add LFUN_HELP_ABOUTLYX
597 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
599 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
601 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
603 * lyx_gui_misc.C: remove spellchecker
604 * lyxfunc.C: showSpellchecker
609 * sp_form.[Ch]: removed
610 * spellchecker.[Ch]: removed
612 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
614 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
616 (simpleTeXSpecialChars): Simply print the input character without
617 any special translation if pass_thru is set.
619 * layout.h: Added bool pass_thru to layout class for being able to
620 implement pass through of a paragraph for Literate Programming.
622 * layout.C: add LT_PASS_THRU to LayoutTags enum.
623 * layout.C (LyXLayout): set pass_thru to flase in constructor.
624 * layout.C (Read): add "passthru" to list of layout tags and add
625 code to set the pass_thru boolean when it is read.
627 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * trans_decl.h: remove allowed from KmodInfo
631 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
635 * paragraph_pimpl.C (erase): use boost::prior
637 * Painter.C (text): use data() instead of c_str() when length is
639 * WorkArea.C (putClipboard): ditto
640 * font.h (width): ditto
642 * BufferView2.C: use it-> instead of (*it). for iterators
644 * paragraph_pimpl.C: ditto
646 * minibuffer.C: ditto
655 * MenuBackend.C: ditto
660 * ColorHandler.C (LyXColorHandler): ditto
662 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
664 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
666 * text2.C (openStuff): reintroduce this method (which had been
667 nuked in NEW_INSETS frenzy).
669 * lyxfunc.C (Dispatch): when an action has not been handled, use
670 its name in the error message, not its number.
672 * paragraph.C (inInset): change method name to begin with lowercase.
675 * text2.C: updates because of this.
677 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
679 * ToolbarDefaults.C (add): add spaces in error message
681 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
683 * buffer.C (readLyXformat2): initialize the ert comp. variables.
684 (readLyXformat2): rename return_par to first_par, use lyxlex's
685 pushToken and remove the manual push handling.
686 (parseSingleLyXformat2Token): add another ert comp. variable:
687 in_tabular, rename return_par to first_par. handle newlines better
689 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
691 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
693 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
695 * text2.C (getParFromID): removed
697 * buffer.C (getParFromID): new method moved form lyxtext.
698 * BufferView2.C (insertErrors): adjust
699 (setCursorFromRow): adjust
700 * BufferView_pimpl.C (restorePosition): adjust
701 * lyxfunc.C (Dispatch): adjust
702 * undo_funcs.C (textUndo): adjust
704 (textHandleUndo): adjust
705 (textHandleUndo): adjust
707 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
709 * buffer.C: up' the LYX_FORMAT
711 * lyxfont.h: turn NO_LATEX on as default
713 * buffer.C (insertErtContents): new methods of tex style compability.
714 (parseSingleLyXformat2Token): use it several places.
715 * tabular.C (OldFormatRead): and here
717 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
719 * text2.C: remove some commented code.
722 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
723 * trans.C: changes because of the above.
725 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
727 * text2.C (setCounter): Fix counters bug with bibliography layout.
729 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
731 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
733 (simpleTeXSpecialChars): ditto
735 2001-07-06 Juergen Vigna <jug@sad.it>
737 * a lot of files: changed the access to LyXText::status and the
738 call of undo-functions.
740 * undo.[Ch]: added a inset_id to the undo informations.
742 * undo_funcs.[Ch]: added and moved here all undo functions.
744 * lyxtext.h: give the status enum a weight, made status_ a private
745 variable and made accessor functions for it, removed the whole bunch
746 of undo-functions as they are now in their own file, make some
747 functions publically available. Added function ownerParagraph with
750 * paragraph.[Ch]: added "bool same_ids" to the constructor,
751 made InInset() a const function, added getParFromID() function.
753 * buffer.[Ch]: added const version for inset_iterator functions,
754 added getInsetFromID() function.
756 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
757 changed undo functions for new version.
759 2001-07-05 Juergen Vigna <jug@sad.it>
761 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
762 unknow mechanism does not call the proper constructor but only this
763 one also if I request the other!?
765 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
767 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
769 * text2.C (LyXText): use initialization lists.
771 * lyxtext.h (Selection): initialize set_ and mark_
772 (init): remove method
774 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
776 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
778 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
780 * screen.[Ch]: change method names to begin with lowercase
782 * BufferView_pimpl.C (updateScrollbar): simplify further and
783 hopefully make it a bit faster.
785 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
787 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
788 calling directly xforms functions.
790 * Painter.C (Painter):
791 * lyx_cb.C (MenuWrite):
792 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
795 * lyx_gui.C: remove bogus guiruntime extern declaration.
797 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
799 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
801 (redoDrawingOfParagraph): ditto
802 (redoParagraphs): ditto
803 (cutSelection): don't create a object for CutAndPaste use the
804 static method directly
805 (pasteSelection): ditto
807 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
810 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
812 * modifications to some other files because of this.
814 * Makefile.am (lyx_SOURCES): add XFormsView
816 * XFormsView.[Ch]: new files
818 * LyXView.[Ch]: make LyXView a base class for the gui handling for
819 the main window. Move the gui dependent stuff to XFormsView
821 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
823 * tabular.C (GetCellInset): update cur_cell also in the row/col
824 version of this function.
826 * lyxfunc.C: no need to include figure_form.h here.
832 * lyxvc.C: no need to include forms.h here.
834 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
836 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
838 * lyxfunc.C (Dispatch):
840 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
841 constructor argument.
843 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
845 * paragraph.C (Paragraph): dont't clear, and just set layout.
846 (makeSameLayout): use params's copy contructor.
848 * ParagraphParameters.[Ch] (makeSame): delete method
850 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
852 * Variables.[Ch]: fix indentation, rename set to isSet
854 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
856 * lyxfunc.C (Dispatch): fix typo
858 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
863 * bufferlist.C: include assert.h for emergencyWrite().
865 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
867 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
868 give up at last (bug #425202) !
870 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
876 * spellchecker.C: strip spellchecker options and bring up
877 preferences tab instead
879 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
881 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
882 the istringstream constructor
884 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
886 * paragraph.C (getLayout): fix return value
888 * paragraph.h: do not declare getLayout as inline.
890 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
892 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
894 * lyxcursor.h (operator<): new func
895 (operator>): new func
896 (operator>=): new func
897 (operator<=): new func
899 * text.C (changeCase): use selection.start and selection.end
900 (changeRegionCase): require from to be <= to. Require par to be a
903 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
905 2001-06-27 Juergen Vigna <jug@sad.it>
907 * text.C (cursorLeftOneWord): changed to return the cursor and added
908 overlay with BufferView * parameter which calls this one.
910 (selectWord): use new getWord function.
911 (changeCase): renamed from changeWordCase as and extended to work
914 * lyxtext.h: added enum word_location
916 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
917 changeCase as this operates now also on selections.
919 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
921 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
923 * many files: send debug output to Debug::INFO instead of
926 * converter.C (View):
928 (Move): send debug output to Debug::FILES instead of console.
930 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
932 * lyxfunc.C (getStatus): use func_status
934 * func_status.h: new header, describing the results of
937 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
940 2001-06-25 The LyX Project <jug@sad.it>
942 * buffer.C (sgmlOpenTag):
944 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
946 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
948 * text2.C: remove some dead code
950 * tabular.C (GetCellInset): store the last cell checked (gotten)
952 * tabular.h: add the helper for the speedup
954 * lyxtext.h: remove some dead code
956 2001-06-26 The LyX Project <Asger>
958 * paragraph.C: Change export to LaTeX of alignment to
959 \begin{center} and family for better roundtrip work with reLyX.
961 * Tune the math drawing a bit.
963 2001-06-25 The LyX Project <Asger>
965 * LColor.C (LColor): New color for math background. New color
968 2001-06-25 The LyX Project <jug@sad.it>
970 * lyxfunc.C (MenuNew): remove extra check for .lyx file
973 * bufferlist.C (newFile): do not restrict to files ending with
976 * BufferView_pimpl.C (MenuInsertLyXFile):
978 2001-06-24 The LyX Project <jug@sad.it>
980 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
983 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
985 * lyxtext.h: rename most methods to begin with a small char.
986 Lots of changes because of this.
988 * paragraph.C (Paragraph): do not call fitToSize
989 (erase): call Pimpl::erase
990 (insertChar): call Pimpl::insertChar
991 (insertInset): call Pipl::insertInset
992 (breakParagraph): do not call fitToSize
993 (breakParagraphConservative): do not call fitToSize
994 (fitToSize): remove method
996 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
998 2001-06-24 The LyX Project <Asger>
1000 * Fix Qt compilation^2
1002 2001-06-24 The LyX Project <jug@sad.it>
1004 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1005 depthHook(getDepth()-1).
1008 * ParagraphParameters.h:
1009 * ParameterStruct.h: change type of depth to unsigned int ==
1010 depth_type. Many adaptations to other files before of that.
1012 2001-06-24 The LyX Project <Asger>
1014 * Fix Qt compilation.
1016 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1018 * paragraph.h: renamed several methods to begin with small letter.
1019 several changes to many parts of the code because of this.
1021 2001-06-23 The LyX Project <jug@sad.it>
1023 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1024 rewritten to discard all double spaces when KeepEmpty is off
1025 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1026 to only handle newlines but not fiddle with spaces and friends.
1028 * lyxfunc.C (MenuNew): when doing 'new from template', use
1029 template_path as default directory
1031 2001-06-23 The LyX Project <Asger>
1033 * Clean-up of header file includes all over
1034 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1036 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1038 * paragraph.h: renamed from lyxparagraph.h
1040 2001-06-23 Asger <lyx@violet.home.sad.it>
1042 * Buffer.h: Removed Buffer::resize
1043 * BufferList.h: Removed BufferList::resize
1044 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1045 the document lazily when we change the width, or the font settings.
1047 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1049 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1051 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1053 * buffer.h: remove out of date comment
1055 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1058 * screen.C: fix "theoretical" GC leak
1060 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1062 * LaTeX.C (scanAuxFile):
1063 (deplog): remove trailing \r when reading stream (useful under
1066 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1068 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1069 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1070 and BufferView::theLockingInset(Inset*), so should use them and not
1071 access bv_->text->the_locking_inset directly.
1073 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1075 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1078 * tex-defs.h: remove old unused file
1080 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1082 * BufferView_pimpl.C: fix typo, remove minibuffer message
1083 when buffer has loaded
1085 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1087 * lyxfunc.C (Dispatch): use stringstream
1088 (MenuNew): use stringstream
1089 (Open): use stringstream
1091 * importer.C (Import): use stringstream
1093 * bufferview_funcs.C (CurrentState): use stringstream
1095 * LaTeX.C (run): use stringstream
1097 * BufferView_pimpl.C (savePosition): use stringstream
1098 (restorePosition): use stringstream
1099 (MenuInsertLyXFile): use stringstream
1101 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1114 * vspace.C: removed // -*- C++ -*- as first line.
1117 * version.h: added // -*- C++ -*- as first line.
1119 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1121 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1123 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1126 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1128 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1131 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1133 * gettext.C: include LString.h even when --disable-nls is on.
1135 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1137 * converter.h (Get): changed argument type from int to
1138 FormatList::size_type to avoid unnecessary conversion.
1140 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1143 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1145 * gettext.h: include LString.h even when --disable-nls is on.
1147 2001-06-07 Juergen Vigna <jug@sad.it>
1149 * text.C (BreakAgain): subst spaces with tabs.
1151 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1152 (resizeInsetsLyXText): set force on resizeLyXText.
1154 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1156 * gettext.h (gettext_init):
1157 (locale_init): use a real definition instead of a macro
1159 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1161 * Bufferview_pimpl.C:
1163 * LColor.C: further lcolor tidies
1165 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1167 * BufferView_pimpl.C (updateScrollbar): simplify.
1169 * BufferView2.C: don't include insets/insetinfo.h, change
1170 prototype for insertInset and call the Pimpl version. let
1171 updateInset call Pimpl version.
1173 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1174 gotoInset to BufferView::Pimpl
1176 2001-06-01 Juergen Vigna <jug@sad.it>
1178 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1179 inside a LockingInset (is the update needed at all?).
1181 2001-05-31 Juergen Vigna <jug@sad.it>
1183 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1184 here not the old one otherwise how should we compare it afterwards
1187 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1192 * FontInfo.C: bring C functions into global namespace when
1195 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1197 * LString.h: make sure config.h has been loaded before LString.h.
1199 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1200 (one for each char read by EatLine!).
1202 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1205 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1207 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1208 to the same as the par we break from
1210 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1212 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1214 * MenuBackend.C (expand): also create menu entries for wide
1215 versions of the floats.
1217 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1219 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1221 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1222 frontends/Makefile.am
1228 * tabular.C (getTokenValue): add std::
1230 * tabular-old.C (getTokenValue): add std::
1231 (getTokenValue): ditto
1232 (getTokenValue): ditto
1234 * screen.C (ToggleSelection): adjust
1236 * lyxtext.h: put selection cursors inside a Selection struct.
1238 * lyxfunc.C (moveCursorUpdate): adjust
1240 * lyxfont.C (latexWriteStartChanges): add std::
1244 * font.h: delete with(char const *, LyXFont const &)
1246 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1248 * FontInfo.C (getFontname): add std::
1250 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1251 (workAreaButtonPress): adjust
1252 (tripleClick): adjust
1254 (moveCursorUpdate): adjust
1257 * BufferView2.C (gotoInset): adjust
1259 2001-05-30 Juergen Vigna <jug@sad.it>
1261 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1262 to check pspell I add this as default as I now have new pspell
1263 libraries and they seem to use this.
1265 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1267 * text2.C (CutSelection): make the cursor valid before the call to
1270 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1272 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1273 relied on 0 terminated strings and other horrors. Bug found due to
1274 the new assert in lyxstring!
1276 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1279 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1281 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1284 * lyxfunc.C (processKeySym): change method of getting to the
1287 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1288 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1289 * BufferView_pimpl.[Ch]: here as private methods.
1291 2001-05-28 Juergen Vigna <jug@sad.it>
1293 * text.C (SetHeightOfRow): added the update() call again as it is
1294 needed to initialize inset dimensions!
1296 2001-05-16 Juergen Vigna <jug@sad.it>
1298 * text2.C (SetCharFont): Add new function with BufferView * and
1299 bool toggleall parameters for setting insets internal fonts.
1300 (SetFont): Freeze the undo as we may change fonts in Insets and
1301 all this change should be inside only one Undo!
1303 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1304 setting font's in insets as for them we have the SetFont function!
1306 2001-05-15 Juergen Vigna <jug@sad.it>
1308 * text2.C (ClearSelection): to be sure we REALLY don't have any
1311 * tabular.C (TeXCellPreamble): fixed the left border problem for
1314 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1316 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1319 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1321 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1322 LFUN_BREAKPARAGRAPH.
1324 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1325 help test to "internal only", similar for LFUN_INSERT_URL
1327 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1328 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1329 auto_region_delete and deadkeys.
1331 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1334 * LColor.C: remove some dead entries, tidy a little
1336 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1338 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1340 (Dispatch): implement LFUN_ESCAPE
1342 * commandtags.h: add LFUN_ESCAPE
1344 * LyXAction.C (init): add entry for LFUN_ESCAPE
1346 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1347 Remove commented code.
1348 (insertNote): moved here
1349 (open_new_inset): moved here
1351 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1354 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1356 * kbmap.C (findbinding): clean it up and make it work correctly.
1358 * lyx_main.C (init): do not pass argc and argv as parameters
1360 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1362 * buffer.C: fix path for OS/2 & Win32
1366 * lyx_main.C: Added os:: class.
1368 * os2_defines.h: update
1370 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1372 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1373 better by trying again with reduced state.
1375 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1377 * lyxrc.C (read): print error about invalid key sequence only when
1378 debugging (because not all latinX keysyms are known to some X
1381 * kbsequence.C (getiso): add a few std:: qualifiers
1382 (getiso): comment out extra return statement.
1384 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1386 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1388 (Dispatch): enhance the accent inset a bit. (not perfect)
1390 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1392 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1394 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1396 * bufferlist.C (emergencyWrite): fix assert() call
1398 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1400 * text.C (InsertChar): Added trivial patch to only send the "you
1401 can not do multiple spaces this way" message once during a
1404 2001-05-08 Baruch Even <baruch@lyx.org>
1406 * Makefile.am: Changed order of libraries to get LyX to link properly
1407 with the gnome frontend.
1409 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1411 * LaTeXFeatures.h: add a std:: qualifier
1413 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1415 * paragraph.C (String): use stringstream
1417 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1419 * paragraph.C (writeFile): remove footflag arg
1421 * buffer.C (makeLaTeXFile): use stringstream
1422 (latexParagraphs): remove footnot gurba
1424 * LaTeXFeatures.C (getPackages): use stringstream
1425 (getMacros): likewise
1426 (getTClassPreamble): likewise
1427 (getFloatDefinitions): new method
1429 * paragraph.C (writeFile): reindent
1432 * WorkArea.h: revert the xpos + etc changes.
1434 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1436 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1438 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1439 (pasteSelection): likewise
1440 * text2.C (CreateUndo): likewise
1442 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1444 * minibuffer.C (peek_event): temporarily reduce the functionality
1445 of the minibuffer (to allow args on lfuns)
1447 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1448 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1450 * buffer.C (readInset): add compability reading of old float
1451 lists, add reading of new style float list.
1452 (readInset): avoid reevaluation of inscmd.getCmdName()
1453 (getLists): reindent
1455 * MenuBackend.C (MenuItem): implement parsing of
1456 md_floatlistinsert and md_floatinsert.
1457 (expand::LastFiles): move initalizaton of iterators out of loop,
1459 (expand::Documents): introduce typdedef vector<string> Strings,
1461 (expand::ExportFormats): introduce typedef vector<Format const *>
1462 Formats, and use it.
1463 (expand): implement FloatListInsert and FloatInsert.
1465 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1466 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1467 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1469 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1471 (Dispatch::LFUN_FLOAT_LIST): implement
1473 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1475 * LaTeX.C (run): Fix problem with --export code.
1477 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1479 * BufferView.[Ch] (workarea): removed.
1480 (getClipboard) new method; wrapper for workarea()->getClipboard()
1482 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1485 * WorkArea.h (width, height, xpos, ypos): These methods all
1486 returned the dimensions of the work_area sub-area of WorkArea,
1487 resulting in a position error if the WorkArea were resized. Now
1488 return the dimensions of the entire WorkArea.
1490 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1492 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1494 * LaTeX.C (deplog): correct the syntax of regex reg1
1496 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1498 * undo.C: remove !NEW_INSETS cruft
1500 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1502 * text2.C: remove !NEW_INSETS cruft
1504 * text.C: remove !NEW_INSETS cruft
1506 * tabular.C: remove !NEW_INSETS cruft
1508 * spellchecker.C: remove !NEW_INSETS cruft
1510 * lyxtext.h: remove !NEW_INSETS cruft
1512 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1514 * lyxfunc.C: remove !NEW_INSETS cruft
1516 * lyxfind.C: remove !NEW_INSETS cruft
1518 * lyx_cb.C: remove !NEW_INSETS cruft
1520 * figureForm.C: remove !NEW_INSETS cruft
1522 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1524 * buffer.[Ch]: remove !NEW_INSETS cruft
1526 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1528 * CutAndPaste.C: remove !NEW_INSETS cruft
1530 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1532 * BufferView2.C: remove !NEW_INSETS cruft
1534 * BufferView.h: remove !NEW_INSETS cruft
1536 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1538 * Lsstream.h: include LString.h before the sstream headers to
1539 fix problem with gcc 2.95.3 and lyxstring
1541 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1543 * lyx_main.C: add using directives when needed for C functions
1544 declared in std:: namespace.
1546 2001-04-27 Juergen Vigna <jug@sad.it>
1548 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1549 (SetHeightOfRow): comment out the update call should not be needed!
1551 2001-04-13 Juergen Vigna <jug@sad.it>
1553 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1554 (LyXTabular): tried to minimize operator= operations (and realized
1555 hopfully Lars wish).
1557 2001-04-27 Juergen Vigna <jug@sad.it>
1559 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1561 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1563 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1565 * buffer.C (readInset): hack to make listof algorithm work
1567 * BufferView_pimpl.C: hack to make listof algorithm work
1569 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1571 * LyXAction.C: removed all !NEW_INSETS cruft
1572 (init): moved lfun_item in method
1574 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1576 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1578 * BufferView2.C (theLockingInset): white space.
1580 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1582 * minibuffer.C: include <iostream>
1584 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1586 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1588 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1590 * text.[Ch] (TransposeChars): new method
1592 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1594 * call message directly through LyXView instead of through LyXFunc
1595 * BufferView2.C: adjust
1596 * BufferView_pimpl.C: adjust
1597 * FontLoader.C: adjust
1599 * bufferview_funcs.C: adjust
1600 * converter.C: adjust
1601 * figureForm.C: adjust
1602 * importer.C: adjust
1604 * lyx_gui_misc.C: adjust
1608 + more files in subdirs
1610 * lyxparagraph.h (size): move up int file
1613 * adjust all uses of Assert to lyx::Assert.
1615 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1616 lyxfunctional in namespace lyx
1617 * layout.C (hasLayout): ditto
1620 (delete_layout): ditto
1621 (NumberOfClass): ditto
1622 * converter.C (GetFormat): ditto
1627 * bufferlist.C (getFileNames): ditto
1628 (emergencyWriteAll): ditto
1631 * MenuBackend.C (hasSubmenu): ditto
1634 * BufferView_pimpl.C (getInsetByCode): ditto
1636 2001-04-18 Juergen Vigna <jug@sad.it>
1638 * vspace.C (asLatexString): fixed the 100% problem.
1640 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1642 * lyxfunc.C (Dispatch):
1644 * minibuffer.h: add a few std:: qualifiers
1646 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1648 * minibuffer.[Ch]: reimplement so that commands is initiated and
1649 run from lyxfunc, simplified som handling, and made the completion
1650 and history code for complete. wip.
1652 * lyxfunc.C (processKeySym): call message
1653 (miniDispatch): new temporary method
1654 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1655 (LFUN_MESSAGE): implement
1656 (LFUN_MESSAGE_PUSH): implement
1657 (LFUN_MESSAGE_POP): implement
1658 (initMiniBuffer): the initial/defualt minibuffer message.
1660 * lyxfont.[Ch]: inline some more getters
1662 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1664 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1666 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1667 (AutoSave): use LFUN_MESSAGE
1668 (Reconfigure): ditto
1670 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1672 * figureForm.C: use LFUN_MESSAGE
1674 * converter.C (runLaTeX): use LFUN_MESSAGE
1676 * bufferview_funcs.C: use LFUN_MESSAGE
1678 (changeDepth): ditto
1680 * bufferparams.h: use boost::
1682 * bufferlist.h: inherit privately from noncopyable
1684 * bufferlist.C (loadLyXFile): remove some commented code.
1686 * buffer.C (runChktex): use LFUN_MESSAGE
1688 * ShareContainer.h: inherit privately from noncopyable
1690 * ParagraphParameters.[hC] (depth): inline it.
1692 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1694 (message): new method
1695 (messagePush): ditto
1697 (show): init minibuffer
1698 (showState): direct call
1700 * LaTeX.[Ch]: inherit privately from noncopyable
1701 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1702 instead of WriteStatus.
1704 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1706 * BufferView_pimpl.C (buffer): don't init minibuffer
1707 (workAreaButtonPress): use LFUN_MESSAGE
1708 (workAreaButtonRelease): ditto
1709 (savePosition): ditto
1710 (restorePosition): ditto
1711 (MenuInsertLyXFile): ditto
1712 (workAreaExpose): don't init minibuffer
1713 (update): remove commented code, simplify
1715 * BufferView2.C (openStuff): use LFUN_MESSAGE
1716 (toggleFloat): ditto
1719 (copyEnvironment): ditto
1720 (pasteEnvironment): ditto
1725 (updateInset): remove some commented code
1727 * lastfiles.h: inherit privately from noncopyable
1732 * lyxlex_pimpl.h: ditto
1734 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1735 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1736 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1738 * LyXAction.h: inherit privately from noncopyable, add methods
1739 func_begin, func_end, returning iterators to the func map.
1741 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1742 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1743 (func_begin): new method
1744 (func_end): new method
1746 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1748 (copySelection): ditto
1749 (pasteSelection): ditto
1751 * BufferView.C: whitespace change
1752 * BufferView.h: inherit privately from noncopyable
1754 2001-04-16 Allan Rae <rae@lyx.org>
1756 * tabular-old.C (l_getline):
1757 * spellchecker.C (sc_check_word):
1758 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1759 an unrecognised preprocessor directive. So ensure they're wrapped.
1761 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1763 * src/exporter.C (Export): Give an error message when path to file
1766 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1768 * LaTeX.C (deplog): Always check that foundfile exists.
1770 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1773 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1775 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1777 * tabular.[Ch] (getLabelList): implement new method
1779 * minibuffer.h: comment ouf setTiimer
1781 * minibuffer.C (ExecutingCB): constify res
1782 (peek_event): constify s
1783 (Set): constify ntext
1784 (Init): constify nicename
1786 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1788 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1789 (savePosition): use two params to Minibuffer::Set
1790 (restorePosition): ditto
1792 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1794 * lyx_main.C: include language.h
1796 * Makefile.am (lyx_main.o): add language.h
1798 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1804 * CutAndPaste.C: include gettext.h
1806 * lyxfont.h: remove old hack with ON and OFF.
1809 * lyxfont.h: do not include language.h...
1814 * bufferview_funcs.C:
1820 * paragraph.C: ... but do it here instead
1822 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1824 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1826 * tabular.C: small reformat
1828 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1831 (BreakParagraph): ditto
1832 (SetOnlyLayout): ditto
1835 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1838 * lastfiles.C: removed most using decl, add std:: where needed
1840 * buffer.C: ws changes
1842 * MenuBackend.C (class compare_format): put into anon namespace
1843 (expand): constify label, names, action, action2
1846 * text.C (SingleWidth): constify font
1847 (IsBoundary): constify rtl2
1848 (GetVisibleRow): constify ww
1850 * LaTeX.C (deplog): constify logfile
1852 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1854 (workAreaExpose): constify widthChange, heightChange
1856 * lyxrow.C (par): moved
1859 * lyxrow.h: as inlines here
1861 * lyxfont.h (shape): moved from lyxfont.C
1862 (emph): moved from lyxfont.C
1864 * lyxfont.C (LyXFont): use initialization list for all
1866 (shape): move to lyxfont.h as inline
1867 (emph): move to lyxfont.h as inline
1870 2001-04-04 Juergen Vigna <jug@sad.it>
1872 * vspace.C: had to include stdio.h for use of sscanf
1874 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1877 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1878 independent of xforms.
1880 2001-04-02 Juergen Vigna <jug@sad.it>
1882 * spellchecker.C: fixed namespace placing!
1884 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1886 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1887 the LyXParagraph * is 0.
1889 2001-03-29 Juergen Vigna <jug@sad.it>
1891 * vspace.C: added support for %, c%, p%, l%.
1892 (stringFromUnit): added helper function.
1893 (asLatexString): changed to give right results for the %-values.
1895 * buffer.C: convert the widthp in a width%.
1897 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1899 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1902 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1903 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1905 * lyx_cb.[Ch]: see above.
1907 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1911 * lyx.[Ch]: replaced by figure_form.[Ch].
1915 * lyxfunc.C: changed headers associated with above changes.
1917 2001-03-27 Juergen Vigna <jug@sad.it>
1919 * BufferView_pimpl.C: set the temporary cursor right!
1921 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1923 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1925 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1927 * LString.h: removed "using std::getline"!
1929 * BufferView_pimpl.C (Dispatch): changes due to changes in
1930 InsetInclude::Params.
1932 * buffer.C (tag_name): removed redundant break statements as they were
1933 producing lots of warnings with my compiler.
1935 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1937 * LString.h: add "using std::getline" when using the real <string>.
1939 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1941 * buffer.C: removed bitset usage.
1942 PAR_TAG moved to an anonymous name space.
1943 (tag_name): new funtion, also in the anonymous namespace.
1944 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1945 (makeDocBookFile): clean code. Completed transition from string arrays
1947 (SimpleDocBookOnePar): code clean.
1949 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1951 * tabular.C: add some comments.
1953 2001-03-22 Juergen Vigna <jug@sad.it>
1955 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1956 compatibility read a bit and fixed bug with minipage in different
1959 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1961 * buffer.C (pop_tag): removed.
1962 (push_tag): removed.
1963 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1964 array replaced with vector. Added support for CDATA sections.
1965 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1967 (makeDocBookFile): XML conformant declaration of CDATA section,
1968 fixed bug related to <emphasis> in the first paragraph char.
1969 (sgmlOpenTag): exclude empty tags.
1970 (sgmlCloseTag): ditto.
1972 * buffer.h (pop_tag): removed.
1973 (push_tag): removed.
1975 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1977 * language.h (Languages): added size_type and size().
1979 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1981 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1982 response on compability reading of minipages. One probliem is that
1983 the old usage of minipages was «flertydig»
1985 * several files here and in subdirs: don't use static at file
1986 scope use anon namespaces instead.
1988 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1990 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1991 LaTeX output. This is necessary for Literate document
1994 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1996 * buffer.C: insert hfill when needed.
1998 * tabular.C (l_getline): use string::erase, small whitespace change.
2000 * BufferView_pimpl.C: try the anon namespace.
2003 2001-03-16 Juergen Vigna <jug@sad.it>
2005 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2006 otherwise it won't open options-dialogs.
2008 * buffer.C: honor pextraWidth(p) on converting minipages.
2010 * tabular.C (l_getline): changed the functions to strip trailing \r.
2012 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2014 * BufferView_pimpl.C:
2015 * minibuffer..C: added "using SigC::slot" declaration.
2017 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2019 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2025 * paragraph.C: ditto
2027 * lyxtext.h: NO_PEXTRA
2029 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2031 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2032 * ParameterStruct.h: ditto
2033 * ParagraphParameters.h: ditto
2034 * lyxparagraph.h: ditto
2036 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2038 * buffer.C: add compability for minipage alignment.
2039 (latexParagraphs): remove unwanted pextra check.
2041 * several files: remove CXX_WORKING_NAMESPACES
2043 * buffer.C (pop_tag): tie is in namespace boost
2045 * BufferView.h: noncopyable is in namespace boost
2050 * lastfiles.h: ditto
2051 * bufferlist.h: ditto
2052 * ShareContainer.h: ditto
2054 * LyXAction.h: ditto
2057 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2059 * Merging changes from BRANCH_MVC back into HEAD.
2061 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2063 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2065 * BufferView_pimpl.C: change from intl.C
2069 * Makefile.am: move combox.*
2075 * intl.C: remove dialog (covered by prefs)
2077 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2079 * lyxfunc.C (Dispatch): removed redundant break statement.
2081 2001-03-14 Juergen Vigna <jug@sad.it>
2083 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2085 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2087 * buffer.C: add hack to fix compability reading of minipages.
2089 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2091 * buffer.C (getLists): Cleanup.
2093 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2095 * lyxfont.C (update): don't honor toggleall on font size.
2097 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2101 * Makefile.am: moved to frontends/xforms/
2105 * BufferView_pimpl.C: changes for moved mathpanel
2107 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2109 * gettext.h: fix gettext_init() in --disable-nls
2111 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2113 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2115 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2118 * lyx.h: strip external form
2120 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2122 * BufferView_pimpl.C: add comment, destroySplash()
2124 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2126 * BufferView_pimpl.C:
2130 * lyxfunc.C: use re-worked insetinclude
2132 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2134 * buffer.C: add using std::stringstream.
2136 * lyx_cb.C: readd using std::ios.
2138 * buffer.C: add using std::map.
2140 * BufferView_pimpl.C: add using std::vector.
2142 * ShareContainer.h: add std:: to swap.
2144 * buffer.h: add some typedefs
2145 * buffer.C (getLists): use them
2146 (getLists): renamed from getTocList.
2147 add a counter for the different float types and use it in the
2149 (getLists): use the same counter for the NEW_INSETS and the "non"
2152 * lyx_cb.h: remove unused items, includes, using etc.
2154 * ShareContainer.h: remove some commented code, add more comments
2155 and "documentation".
2157 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2159 * buffer.C (getTocList): make the list also when NEW_INSETS is
2162 * buffer.h: remove TocType
2164 * buffer.C (getTocList): change to return a map<string,
2165 vector<TocItem> >, implement for dynamic number of list.
2167 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2168 * text2.C (PasteSelection): adjust
2169 * CutAndPaste.C (pasteSelection): adjust
2171 * FloatList.C (FloatList): update from the new_insets branch.
2172 * Floating.[Ch]: ditto
2173 * LaTeXFeatures.C: ditto
2175 * lyxlex_pimpl.C: ditto
2177 * paragraph.C (Last): remove when NEW_INSETS is defined.
2179 * other file: changes because of the above.
2181 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2183 * lyxparagraph.h: rename next to next_, previous to previous_,
2184 make them private for NEW_INSETS. Rename Next() to next(),
2185 Previous() to previous().
2187 * other files: changes because of the above.
2189 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2192 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2195 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2197 * main.C (main): pass lyx_localedir to gettext_init().
2199 * gettext.h: remove locale_init and gettext_init macros
2201 * gettext.C (locale_init): new function
2202 (gettext_init): new function
2204 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2207 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2209 * Moved credits to frontends:
2210 * credits.[Ch]: removed
2211 * credits_form.[Ch]: removed
2212 * lyx_gui_misc.C: remove credits stuff
2215 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2217 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2219 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2220 unneeded destructor.
2222 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2223 a standalone pointer again.
2225 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2227 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2233 * ToolbarDefaults.C:
2242 * BufferView_pimpl.C: use new file dialog in GUII
2245 * lyx_cb.C: remove LayoutsCB to Toolbar
2247 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2249 * ShareContainer.h (get): add std:: qualifier
2251 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2253 * ShareContainer.h: define a proper ShareContainer::value_type
2254 type (and use typename to please compaq cxx)
2256 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2258 * lyxparagraph.h: move serveral local vars to
2259 ParameterStruct/ParagraphParameters., use ShareContainer in
2260 FontTable., make vars in FontTable private and add getter and
2263 * paragraph.C: changes because of the above.
2265 * lyxfont.h: remove copy constructor and copy assignment. (the
2266 default ones is ok), move number inside FontBits. move inlines to
2269 * lyxfont.C: add number to initializaton of statics, move several
2270 inlines here. constify several local vars. some whitespace
2271 cleanup. Dont hide outerscope variables.
2273 * Spacing.h: add two new constructors to match the set methods.
2275 * ShareContainer.h: new file, will perhaps be moved to support
2277 * ParameterStruct.h: new file
2279 * ParagraphParameters.h: new file
2281 * ParagraphParameters.C: new file
2283 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2284 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2286 * BufferView_pimpl.C: ParagraphParameter changes.
2287 * buffer.C: Likewise.
2288 * bufferview_funcs.C: Likewise.
2290 * text2.C: Likewise.
2292 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2294 * lyxfind.C (LyXReplace): do not redefine default argument in
2296 (IsStringInText): ditto
2297 (SearchForward): ditto
2298 (SearchBackward): ditto
2300 2001-03-06 Juergen Vigna <jug@sad.it>
2302 * lyxfind.C (IsStringInText): put parentes around expressions.
2304 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2306 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2308 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2310 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2312 * stl_string_fwd.h: add comment
2314 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2317 * tabular.C: remove unused DocBook methods
2323 killed DO_USE_DEFAULT_LANGUAGE
2325 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2327 * lyx_gui.C: do not include language.h.
2329 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2330 arguments in function implementation.
2332 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2334 * BufferView_pimpl.C: add <ctime>
2336 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2338 * BufferView_pimpl.C: add using std::find_if
2340 2001-02-27 José Matos <jamatos@fep.up.pt>
2342 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2345 2001-02-11 José Matos <jamatos@fep.up.pt>
2347 * buffer.C (makeDocBookFile): command styles now have a parameter as
2350 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2352 * layout_forms.[Ch]: removed
2353 * lyx_cb.[Ch]: out character
2354 * lyx_gui.C: out character
2355 * lyx_gui_misc.C: out character
2356 * bufferview_funcs.C: : out character,
2357 added toggleall as parameter in ToggleAndShow
2359 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2361 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2363 * text2.C (SetCurrentFont): Disable number property at boundary.
2365 2001-02-26 Juergen Vigna <jug@sad.it>
2367 * lyxfunc.C (getStatus): added a string argument override function so
2368 that this is correctly called from LyXFunc::Dispatch if it contains a
2369 do_not_use_argument which is used!
2370 (Dispatch): added check for "custom" export and call appropriate func.
2372 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2374 * lyxrc.C: Add language_command_local, language_use_babel and
2375 language_global_options.
2377 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2379 * buffer.C (makeLaTeXFile): Use language_use_babel and
2380 language_global_options.
2382 2001-02-23 Juergen Vigna <jug@sad.it>
2384 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2385 which works with LyXText and putted it inside BufferView. Here now we
2386 only call for that part the BufferView::Dispatch() function.
2388 * BufferView.C (Dispatch): added.
2390 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2391 functions which needs to use a LyXText over from LyXFunc.
2392 (MenuInsertLyXFile): added
2393 (getInsetByCode): added
2394 (moveCursorUpdate): added
2395 (static TEXT): added
2397 2001-02-22 Juergen Vigna <jug@sad.it>
2399 * BufferView_pimpl.C (update): call a status update to see if LyXText
2402 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2404 * vc-backend.C (revert): implement for CVS
2405 (getLog): implement for CVS
2407 2001-02-20 Juergen Vigna <jug@sad.it>
2409 * text2.C (ClearSelection): added BufferView param for inset_owner call
2411 * lyxfunc.C (TEXT): added this function and use it instead of
2412 directly owner->view()-text of getLyXText().
2414 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2416 * src/layout_forms.C: out preamble
2417 * src/layout_forms.h: out preamble
2418 * src/lyx_cb.C: out preamble
2419 * src/lyx_cb.h: out preamble
2420 * src/lyx_gui.C: out preamble
2421 * src/lyx_gui_misc.C: out preamble
2422 * src/lyxfunc.C: connect with guii preamble
2424 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2426 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2428 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2430 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2431 whether to run bibtex.
2433 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2435 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2437 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2439 * Makefile.am (lyx_SOURCES): removed bibforms.h
2443 * text.C (GetVisibleRow): make several local vars const
2445 * tabular.C: small cleanup.
2447 * lyxserver.C (callback): use compare instead of strncmp
2449 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2450 inlines to after class or to paragraph.C
2452 * lyxfont.h: remove friend operator!=
2454 * converter.h: move friend bool operator< to non friend and after
2457 * combox.h: small cleanup
2459 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2460 to inlines after class def.
2462 * buffer.C (pop_tag): use string operations instead of strcmp
2464 * bmtable.c: doxygen, small cleanup
2466 * LaTeX.h: remove friend operator==
2468 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2480 * BufferView_pimpl.C:
2481 * BufferView.[Ch]: remove cruft
2483 2001-02-14 Juergen Vigna <jug@sad.it>
2485 * lyxfunc.C: removed #if 0 unused code
2487 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2489 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2491 * text2.C (SetSelection): added a BufferView * parameter
2493 2001-02-13 Juergen Vigna <jug@sad.it>
2495 * lyxfunc.C (Dispatch): fixed protected blank problem.
2496 * BufferView2.C (protectedBlank): added LyxText * parameter.
2498 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2499 (AppendColumn): same as above for column_info.
2501 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2502 (moveCursorUpdate): use a LyXText param for support of InsetText.
2504 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2505 (tripleClick): ditto
2507 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2509 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2511 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2513 * text2.C (SetSelection): set correct update status if inset_owner
2516 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2518 * tabular.C: remove some commented code.
2520 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2522 * BufferView_pimpl.C: call hideSplash()
2524 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2527 * bibforms.h: remove
2530 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2531 add LFUN_CHILD_CREATE
2533 * counters.h: fix tiny typo
2538 * lyx.C: move splash to frontends/xforms/
2540 * lyx_gui_misc.C: move Include and Bibform to frontends
2542 * lyxvc.h: clarify comment
2544 * vspace.C: tiny housekeeping
2546 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2548 * text.C (PrepareToPrint): RTL Fix.
2550 * paragraph.C (GetUChar): New method.
2551 (String): Use GetUChar.
2553 * buffer.C (asciiParagraph): Use GetUChar.
2555 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2557 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2559 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2562 * buffer.C: rename to getLogName(), handle
2563 build log / latex log nicely
2565 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2568 * MenuBackend.h: remove support for reference menuitem type.
2570 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2572 * BufferView_pimpl.C: housekeeping
2573 * BufferView_pimpl.h:
2578 * minibuffer.h: move Timeout GUI-I
2580 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2582 * lyxrc.C (read): Update converters data-structures.
2584 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2586 * LaTeX.h (operator!=): add operator != for Aux_Info
2588 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2590 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2592 * LaTeXLog.C: deleted, useful code moved to Buffer
2595 * buffer.C: new function getLatexLogName()
2601 * lyxfunc.C: use frontends for LaTeX and VC logs
2603 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2605 * LaTeX.h: yet another std:: that Allan forgot.
2607 * Variables.C (set): renamed from isset(), because this clashes
2608 with some HP-UX macros (grr).
2610 2001-02-06 Allan Rae <rae@lyx.org>
2612 * LaTeX.h: Another bug fix. Missing std:: this time.
2614 2001-02-04 Allan Rae <rae@lyx.org>
2616 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2617 floats problem. I've left it commented out because it's not quite
2618 correct. It should also test that the current object is a table or
2619 figure inset. But I haven't gotten around to figuring out how to do
2620 that. I *think* it'll be something like: "table" == inset.type()
2622 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2625 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2627 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2628 all the citation/databases/styles in the auxilary file.
2629 (run): Rerun latex if there was a babel language error.
2631 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2633 * text.C (Backspace): Preserve the font when changing newline char
2635 (BreakParagraph): If the cursor is before a space, delete the space.
2637 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2639 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2641 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2642 new argument (code).
2643 (ChangeCitationsIfUnique): New method.
2645 * paragraph.C (GetPositionOfInset): Handle bibkey.
2647 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2649 * BufferView_pimpl.h: change type of Position::par_pos to
2650 LyXParagraph::size_type.
2652 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2654 * BufferView_pimpl.C (savePosition, restorePosition): Write
2655 messages to minibuffer.
2657 2001-01-28 José Matos <jamatos@fep.up.pt>
2659 * buffer.C (makeDocBookFile): adds support for document language.
2660 A silly restriction on the name of LatexCommand types where removed.
2661 Added support for CDATA sections, allows to chars unescaped, used
2662 among others in code, to avoid escape < and >.
2664 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2666 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2667 saved positions instrad of a stack. Furthermore, a position is
2668 stored using paragraph id/paragraph position.
2670 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2671 Remove LFUN_REF_BACK.
2673 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2675 * converter.C (dvipdfm_options): New method.
2677 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2679 * vspace.C (isValidLength): Fix for empty input string.
2681 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2683 * LyXAction.C (init): change description of LFUN_FIGURE to
2686 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2688 * LaTeX.C: add using directive
2690 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2692 * MenuBackend.C (expand): Fix the sorting of the formats.
2694 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2696 * lyx_main.C: tiny error message fix
2698 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2700 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2701 calling fl_initialize(). This fixes the problem with ',' as
2702 decimal separator in text files.
2704 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2706 * trans.C (process): Fix the keymap bug.
2708 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2710 * LaTeX.C (scanAuxFiles): New method. Provides support for
2711 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2712 (scanLogFile) Scan for "run BibTeX" messages.
2714 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2715 OT1 font encoding. Also, load the aecompl package if the ae
2718 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2720 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2722 * texrow.C (increasePos): turn two error messages into debug
2725 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2727 * LaTeX.C (scanAux): Handle the \@input macro.
2728 (runBibTeX): Use scanAux().
2730 * language.C (latex_options_): New field.
2732 * LaTeXFeatures.C (getMacros): Add language macros.
2734 * buffer.C (makeLaTeXFile): Small fix.
2736 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2738 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2740 * text2.C: add a using directive.
2742 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2747 * lyxfunc.C: kill LyXBell.
2749 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2751 * text.C (IsBoundary): Remove the error message
2753 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2755 * lyxrc.C (setDefaults): Correct initialization value for
2758 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2760 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2763 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2766 * src/LyXAction.C: Added reference-next.
2768 * text.C (InsertChar): Use contains instead of strchr.
2770 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2772 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2774 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2775 alignment commands (when needed).
2777 * text.C (InsertChar): Add ':' to number separator chars.