1 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
3 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6 2001-08-13 Juergen Vigna <jug@sad.it>
8 * text.C (fill): return 0 instead of 20 as this seems to be the more
11 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16 2001-08-13 Juergen Vigna <jug@sad.it>
18 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
20 (SearchBackward): comment out the unlocking of the inset_owner this
23 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
25 * Many files: Remove inherit_language, and add latex_language
27 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
30 2001-08-10 Juergen Vigna <jug@sad.it>
32 * text.C (prepareToPrint): fixed hfill-width in draw!
34 * BufferView2.C (selectLastWord): save the selection cursor as this
35 now is cleared in the function LyXText::clearSelection!
37 2001-08-08 Juergen Vigna <jug@sad.it>
39 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
40 BACKSPACE type functions.
42 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
43 is only cutted from the document but not put in the cut-buffer, where
44 still the old stuff should be.
46 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
48 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
50 * tabular.C (SetWidthOfCell): fixed special case where the width
52 (LeftLine): handle '|' in align_special.
54 (LeftAlreadyDrawed): ditto
55 (SetWidthOfCell): ditto
57 2001-08-07 Juergen Vigna <jug@sad.it>
59 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
61 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
63 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
66 2001-08-06 Juergen Vigna <jug@sad.it>
68 * text.C (getVisibleRow): fix up row clearing a bit.
70 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * minibuffer.C: make sure the X server sees the changes in the input.
74 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * paragraph.C (getFont): split into...
78 (getLayoutFont): and this
79 * paragraph_pimpl.C (realizeFont): calling this
81 * text2.C (getFont): split into...
83 (getLabelFont): and this
84 (realizeFont): all three calling this
86 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
89 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
91 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
93 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
95 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
96 layouts from the Quote inset insertion.
98 2001-08-03 Juergen Vigna <jug@sad.it>
100 * BufferView_pimpl.C (update): do the fitCursor only at the end!
102 * screen.C (drawFromTo): don't call fitcursor here and do the loop
103 only if status not is already CHANGED_IN_DRAW (second level).
105 * text.C (draw): don't set the need_break_row when inside an
108 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
110 * buffer.C (parseSingleLyXformat2Token): handle more latex
113 * bufferview_funcs.[hC]: change function names to
114 begin with small char, adjust other files.
116 2001-08-02 André Pönitz <poenitz@gmx.net>
119 BufferView_pimpl.C: remove broken special code for math-greek
121 2001-08-02 Juergen Vigna <jug@sad.it>
123 * BufferView_pimpl.C (update): redone this function so that we
124 update the text again if there was a CHANGE_IN_DRAW.
126 * screen.C (cursorToggle): removed LyXText parameter and recoded.
127 (drawFromTo): added a new internal bool which is used by draw() and
129 (general): some cursor drawing problems fixed.
131 2001-08-01 Juergen Vigna <jug@sad.it>
133 * lyxfind.C (LyXFind): fixed
134 (SearchForward): ditto
135 (SearchBackward): ditto
137 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
138 spurius drawing of the cursor in the main area.
140 * text2.C (status): small fix which could lead to a segfault!
141 (clearSelection): remove unneeded BufferView param.
143 2001-08-01 André Pönitz <poenitz@gmx.net>
145 * lyxfunc.C: small change due to changed mathed interface
147 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
149 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
151 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
153 * lyxfunc.c: fail gracefully if file doesn't exist
158 * BufferView_pimpl.C: IsDirWriteable() proto changed
160 * LyXView.C: fix updateWindowTitle() to store the last title
162 2001-07-31 Juergen Vigna <jug@sad.it>
164 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
165 the font (wrong since using of Paragraph::highestFontInRange).
167 * paragraph.C (highestFontInRange): added a default_size parameter.
169 * text.C (getVisibleRow): minor clear row changes (still not perfect).
170 (setHeightOfRow): reformat
172 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
174 * converter.[hC] + affected files: move to (inital-char)lowercase
177 * ParagraphParameters.C (ParagraphParameters): remove commented code
179 * PainterBase.[Ch]: remove commented code
181 * LaTeXFeatures.h: add "bool floats" for float.sty
183 * LaTeXFeatures.C (LaTeXFeatures): init floats
184 (require): handle float
185 (getPackages): do it with floats
187 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
189 * BufferView_pimpl.C (Dispatch): improve handling of
190 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
192 * commandtags.h: #include lyxfont.h here temporarily to avoid
195 * bufferlist.h: include LString.h here.
197 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
199 * text2.C (getStringToIndex): new method.
201 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
203 * *: Reduced header file dependencies all over.
205 2001-07-30 Baruch Even <baruch@lyx.org>
207 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
209 2001-07-29 Baruch Even <baruch@lyx.org>
211 * buffer.C (readInset): Changed GRAPHICS to Graphics.
213 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
215 * ParameterStruct.h (endif): add a default constructor to make
216 sure that all variables is initialized.
218 * ParagraphParameters.C (ParagraphParameters): adjust
220 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
222 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
223 index; also, check that there is something to index, and that it
224 does not span over several paragraphs.
225 (doubleClick): use WHOLE_WORD_STRICT for double click.
227 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
229 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
232 2001-07-26 Baruch Even <baruch@lyx.org>
234 * buffer.C (readInset): Changed to call up InsetGraphics when reading
235 an InsetFig figure, backwards compatible reading of old figure code.
237 2001-07-27 Juergen Vigna <jug@sad.it>
239 * text2.C: font.realize function adaption.
241 * text.C (draw): add a warnings lyxerr text if needed.
243 * layout.C: font.realize function adaption.
245 * language.C: add inherit_language and implement it's handlings
247 * bufferview_funcs.C (StyleReset): remove language parameter from
248 font creation (should be language_inherit now).
250 * bufferparams.C (writeFile): handle ignore_language.
252 * paragraph.C (getFontSettings): the language has to be resolved
253 otherwise we have problems in LyXFont!
255 * lyxfont.C (lyxWriteChanges): added document_language parameter
256 (update): removed unneeded language parameter
258 * paragraph.C (validate): fixed wrong output of color-package when
259 using interface colors for certain fonts in certain environments,
260 which should not seen as that on the final output.
262 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
264 * BufferView_pimpl.C:
269 * LyXAction.C: add thesaurus support
272 * lyxfind.C: add "once" parameter, for thesaurus, to not
273 move to the next match
275 2001-07-26 Juergen Vigna <jug@sad.it>
277 * lyxfont.C (realize): honor ignore_language too!
280 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
282 * text.C (draw): one place more for ignore_language to not draw
285 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
287 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
289 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
291 * buffer.C (parseSingleLyXformat2Token): a more general fix for
292 the minipage conversion problem.
294 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
296 * buffer.C (parseSingleLyXformat2Token): check minipage if we
299 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
301 * BufferView.h: don't forward declare WorkArea
303 * BufferView.C: don't include WorkArea.h
305 2001-07-25 André Pönitz <poenitz@gmx.net>
309 * lyxfunc.C: new LFUN 'math-space'
311 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
313 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
315 * text2.C (toggleInset): call open/close
317 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
319 * lyxfunc.C (dispatch): add debug for the disabled case
321 * font.C (buttonText): make similar to rectText
323 * buffer.C (readInset): comment out parsing of insetlist and
326 * PainterBase.C (rectText): small correction
328 * BufferView_pimpl.C: comment out insettheorem and insetlist
330 * commandtags.h: ditto
332 2001-07-24 Juergen Vigna <jug@sad.it>
334 * text.C (draw): honor the ignore_language.
336 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
338 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
340 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
343 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * lyxtext.h: remove unused (and unimplemented) methods
347 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * text.C (getVisibleRow): honor background color
352 * Painter.h: remove default color argument for fillRectangle
354 * text.C (backgroundColor): new method
356 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
358 * text.C (getVisibleRow): adjust
360 * font.[Ch] (rectText): new method, metrics
361 (buttonText): new method, metrics
363 * PainterBase.[hC]: make rectText and buttonText always draw and take
366 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
368 * ToolbarDefaults.C (read):
369 * MenuBackend.C (read): allow escaping in all strings
371 * BufferView_pimpl.C (insertAndEditInset): new method.
372 (Dispatch): use insertAndEditInset whenever appropriate.
374 * BufferView_pimpl.C (insertNote): removed
376 * BufferView_pimpl.C (smartQuote): new method, moved from
377 BufferView; if an insetquote cannot be inserted, insert a '"'
380 * BufferView2.C: remove insertCorrectQuote();
382 * lyxfunc.C (getStatus): Add support for all remaingin
385 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
387 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
388 command (necessary to pass " as parameter of self-insert.
390 * text.C (selectWordWhenUnderCursor):
391 (selectWord): add word_location parameter
392 (selectWordWhenUnderCursor): same + remove special code for word
394 (selectNextWord): use kind() to guess type of insetspecialchar,
397 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
398 (insertErtContents): create ert insets as collapsed.
399 (readInset): better compatibility code for Info inset.
401 2001-07-20 Juergen Vigna <jug@sad.it>
403 * lyxfunc.C (dispatch): use always LyXFind now!
405 * text2.C (init): add a reinit flag so that the LyXText can be
406 reinited instead of deleted and reallocated (used in InsetText).
408 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
414 2001-07-18 Juergen Vigna <jug@sad.it>
416 * text.C (selectNextWord): handle insets inside inset by calling
417 always the bv->text functions so that we can go up the_locking_inset!
419 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
420 in strange locations when inside an inset!
422 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
423 handling to include insets.
425 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
427 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
429 * LyXAction.C (init):
431 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
432 LIGATURE_BREAK, since the name is so stupid.
434 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
436 * buffer.C (readInset): enable reading of new InsetNotes as well as old
439 * FontLoader.C: remove FORMS_H_LOCATION cruft.
441 * sp_form.[Ch]: remove.
443 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
445 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
448 * src/buffer.C (readInset): ditto.
450 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
452 * BufferView_pimpl.C (specialChar): new method. Obsoletes
453 menuSeparator(), endOfSentenceDot(), ldots() and
454 hyphenationPoint(), which are therefore removed.
455 (Dispatch): handle LFUN_HYPHENATION_BREAK.
457 * LyXAction.C (init):
458 * commandtags.h: add LFUN_HYPHENATION_BREAK.
460 * paragraph.C (getWord): removed.
462 * BufferView_pimpl.C (Dispatch): use last word or selection for
463 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
465 * lyx_main.C (queryUserLyXDir): do not ask before creating
466 user_dir, except if it has been named explicitely.
468 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
470 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
471 a document of zero size.
473 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
475 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
476 approriately in the c-tor and in require().
477 (getPackages): output the appropriate LaTeX for natbib support.
479 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
480 variables "use_natbib" and "use_numerical_citations" when reading the
482 (readInset): read the various natbib cite commands.
483 (validate): white-space change.
485 * bufferparams.[Ch]: new variables "bool use_natbib" and
486 "bool use_numerical_citations".
487 (writeFile): output them in the LyX file.
489 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * lyxfunc.C (getStatus): add support for all the inset insertion
494 * text2.C (insertInset):
495 * paragraph.C (insetAllowed):
496 * BufferView_pimpl.C (insertInset): update to take in account the
497 renaming of insertInsetAllowed
499 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
501 * text2.C (getInset): new method. returns inset at cursor position.
503 * BufferView_pimpl.C (Dispatch): changes because of this.
505 * LyXAction.C (init): rename open-stuff to inset-toggle.
507 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
509 * text2.C (toggleInset): renamed from openStuff; use
512 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
514 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
516 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
518 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
520 * buffer.C (readLyXformat2): Add filename to the error dialog
522 2001-07-18 Juergen Vigna <jug@sad.it>
524 * tabular.C (GetCellNumber): put an assert here instead of the check!
526 2001-07-17 Juergen Vigna <jug@sad.it>
528 * BufferView_pimpl.C (toggleSelection): adapted too.
530 * text.C (selectNextWord): adapted for use with insets.
531 (selectSelectedWord): ditto
533 2001-07-17 Juergen Vigna <jug@sad.it>
535 * sp_spell.C (PSpell): fix initialitation order.
537 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
539 * paragraph.C: spacing
541 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
543 * sp_spell.C: repair language selection for pspell
545 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
547 * lyxfunc.h: change more methods to begin with lower char.
549 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
551 * buffer.C (parseSingleLyXformat2Token): Generate error insets
554 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
556 * buffer.C (readLyXformat2): Generate an error dialog if there are
559 2001-07-16 Juergen Vigna <jug@sad.it>
561 * sp_spell.C: always compile ISpell part.
563 * lyxrc.C: added use_pspell entry and it's handling.
565 2001-07-13 Juergen Vigna <jug@sad.it>
567 * sp_spell.C: removed double includes.
569 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
571 Consistent use of Lsstream.h:
572 * Lsstream.h: added using std::stringstream for consistencies sake.
574 * buffer.C: removed using std::stringstream
576 * lyxfont.C (stateText):
577 * paragraph.C (asString):
578 * text.C (selectNextWord, selectSelectedWord):
579 * text2.C (setCounter):
580 * vspace.C (asString, asLatexString):
581 std::ostringstream -> ostringstream.
583 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
585 * LyXAction.C: add LFUN_HELP_ABOUTLYX
586 * commandtags.h: add LFUN_HELP_ABOUTLYX
587 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
589 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
591 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
593 * lyx_gui_misc.C: remove spellchecker
594 * lyxfunc.C: showSpellchecker
599 * sp_form.[Ch]: removed
600 * spellchecker.[Ch]: removed
602 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
604 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
606 (simpleTeXSpecialChars): Simply print the input character without
607 any special translation if pass_thru is set.
609 * layout.h: Added bool pass_thru to layout class for being able to
610 implement pass through of a paragraph for Literate Programming.
612 * layout.C: add LT_PASS_THRU to LayoutTags enum.
613 * layout.C (LyXLayout): set pass_thru to flase in constructor.
614 * layout.C (Read): add "passthru" to list of layout tags and add
615 code to set the pass_thru boolean when it is read.
617 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * trans_decl.h: remove allowed from KmodInfo
621 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
625 * paragraph_pimpl.C (erase): use boost::prior
627 * Painter.C (text): use data() instead of c_str() when length is
629 * WorkArea.C (putClipboard): ditto
630 * font.h (width): ditto
632 * BufferView2.C: use it-> instead of (*it). for iterators
634 * paragraph_pimpl.C: ditto
636 * minibuffer.C: ditto
645 * MenuBackend.C: ditto
650 * ColorHandler.C (LyXColorHandler): ditto
652 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
654 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
656 * text2.C (openStuff): reintroduce this method (which had been
657 nuked in NEW_INSETS frenzy).
659 * lyxfunc.C (Dispatch): when an action has not been handled, use
660 its name in the error message, not its number.
662 * paragraph.C (inInset): change method name to begin with lowercase.
665 * text2.C: updates because of this.
667 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
669 * ToolbarDefaults.C (add): add spaces in error message
671 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
673 * buffer.C (readLyXformat2): initialize the ert comp. variables.
674 (readLyXformat2): rename return_par to first_par, use lyxlex's
675 pushToken and remove the manual push handling.
676 (parseSingleLyXformat2Token): add another ert comp. variable:
677 in_tabular, rename return_par to first_par. handle newlines better
679 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
681 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
683 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
685 * text2.C (getParFromID): removed
687 * buffer.C (getParFromID): new method moved form lyxtext.
688 * BufferView2.C (insertErrors): adjust
689 (setCursorFromRow): adjust
690 * BufferView_pimpl.C (restorePosition): adjust
691 * lyxfunc.C (Dispatch): adjust
692 * undo_funcs.C (textUndo): adjust
694 (textHandleUndo): adjust
695 (textHandleUndo): adjust
697 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
699 * buffer.C: up' the LYX_FORMAT
701 * lyxfont.h: turn NO_LATEX on as default
703 * buffer.C (insertErtContents): new methods of tex style compability.
704 (parseSingleLyXformat2Token): use it several places.
705 * tabular.C (OldFormatRead): and here
707 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
709 * text2.C: remove some commented code.
712 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
713 * trans.C: changes because of the above.
715 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
717 * text2.C (setCounter): Fix counters bug with bibliography layout.
719 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
721 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
723 (simpleTeXSpecialChars): ditto
725 2001-07-06 Juergen Vigna <jug@sad.it>
727 * a lot of files: changed the access to LyXText::status and the
728 call of undo-functions.
730 * undo.[Ch]: added a inset_id to the undo informations.
732 * undo_funcs.[Ch]: added and moved here all undo functions.
734 * lyxtext.h: give the status enum a weight, made status_ a private
735 variable and made accessor functions for it, removed the whole bunch
736 of undo-functions as they are now in their own file, make some
737 functions publically available. Added function ownerParagraph with
740 * paragraph.[Ch]: added "bool same_ids" to the constructor,
741 made InInset() a const function, added getParFromID() function.
743 * buffer.[Ch]: added const version for inset_iterator functions,
744 added getInsetFromID() function.
746 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
747 changed undo functions for new version.
749 2001-07-05 Juergen Vigna <jug@sad.it>
751 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
752 unknow mechanism does not call the proper constructor but only this
753 one also if I request the other!?
755 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
757 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
759 * text2.C (LyXText): use initialization lists.
761 * lyxtext.h (Selection): initialize set_ and mark_
762 (init): remove method
764 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
766 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
768 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
770 * screen.[Ch]: change method names to begin with lowercase
772 * BufferView_pimpl.C (updateScrollbar): simplify further and
773 hopefully make it a bit faster.
775 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
777 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
778 calling directly xforms functions.
780 * Painter.C (Painter):
781 * lyx_cb.C (MenuWrite):
782 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
785 * lyx_gui.C: remove bogus guiruntime extern declaration.
787 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
789 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
791 (redoDrawingOfParagraph): ditto
792 (redoParagraphs): ditto
793 (cutSelection): don't create a object for CutAndPaste use the
794 static method directly
795 (pasteSelection): ditto
797 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
800 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
802 * modifications to some other files because of this.
804 * Makefile.am (lyx_SOURCES): add XFormsView
806 * XFormsView.[Ch]: new files
808 * LyXView.[Ch]: make LyXView a base class for the gui handling for
809 the main window. Move the gui dependent stuff to XFormsView
811 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
813 * tabular.C (GetCellInset): update cur_cell also in the row/col
814 version of this function.
816 * lyxfunc.C: no need to include figure_form.h here.
822 * lyxvc.C: no need to include forms.h here.
824 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
826 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
828 * lyxfunc.C (Dispatch):
830 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
831 constructor argument.
833 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
835 * paragraph.C (Paragraph): dont't clear, and just set layout.
836 (makeSameLayout): use params's copy contructor.
838 * ParagraphParameters.[Ch] (makeSame): delete method
840 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
842 * Variables.[Ch]: fix indentation, rename set to isSet
844 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
846 * lyxfunc.C (Dispatch): fix typo
848 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
850 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
853 * bufferlist.C: include assert.h for emergencyWrite().
855 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
857 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
858 give up at last (bug #425202) !
860 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
866 * spellchecker.C: strip spellchecker options and bring up
867 preferences tab instead
869 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
871 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
872 the istringstream constructor
874 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
876 * paragraph.C (getLayout): fix return value
878 * paragraph.h: do not declare getLayout as inline.
880 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
882 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
884 * lyxcursor.h (operator<): new func
885 (operator>): new func
886 (operator>=): new func
887 (operator<=): new func
889 * text.C (changeCase): use selection.start and selection.end
890 (changeRegionCase): require from to be <= to. Require par to be a
893 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
895 2001-06-27 Juergen Vigna <jug@sad.it>
897 * text.C (cursorLeftOneWord): changed to return the cursor and added
898 overlay with BufferView * parameter which calls this one.
900 (selectWord): use new getWord function.
901 (changeCase): renamed from changeWordCase as and extended to work
904 * lyxtext.h: added enum word_location
906 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
907 changeCase as this operates now also on selections.
909 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
911 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
913 * many files: send debug output to Debug::INFO instead of
916 * converter.C (View):
918 (Move): send debug output to Debug::FILES instead of console.
920 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
922 * lyxfunc.C (getStatus): use func_status
924 * func_status.h: new header, describing the results of
927 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
930 2001-06-25 The LyX Project <jug@sad.it>
932 * buffer.C (sgmlOpenTag):
934 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
936 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
938 * text2.C: remove some dead code
940 * tabular.C (GetCellInset): store the last cell checked (gotten)
942 * tabular.h: add the helper for the speedup
944 * lyxtext.h: remove some dead code
946 2001-06-26 The LyX Project <Asger>
948 * paragraph.C: Change export to LaTeX of alignment to
949 \begin{center} and family for better roundtrip work with reLyX.
951 * Tune the math drawing a bit.
953 2001-06-25 The LyX Project <Asger>
955 * LColor.C (LColor): New color for math background. New color
958 2001-06-25 The LyX Project <jug@sad.it>
960 * lyxfunc.C (MenuNew): remove extra check for .lyx file
963 * bufferlist.C (newFile): do not restrict to files ending with
966 * BufferView_pimpl.C (MenuInsertLyXFile):
968 2001-06-24 The LyX Project <jug@sad.it>
970 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
973 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
975 * lyxtext.h: rename most methods to begin with a small char.
976 Lots of changes because of this.
978 * paragraph.C (Paragraph): do not call fitToSize
979 (erase): call Pimpl::erase
980 (insertChar): call Pimpl::insertChar
981 (insertInset): call Pipl::insertInset
982 (breakParagraph): do not call fitToSize
983 (breakParagraphConservative): do not call fitToSize
984 (fitToSize): remove method
986 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
988 2001-06-24 The LyX Project <Asger>
990 * Fix Qt compilation^2
992 2001-06-24 The LyX Project <jug@sad.it>
994 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
995 depthHook(getDepth()-1).
998 * ParagraphParameters.h:
999 * ParameterStruct.h: change type of depth to unsigned int ==
1000 depth_type. Many adaptations to other files before of that.
1002 2001-06-24 The LyX Project <Asger>
1004 * Fix Qt compilation.
1006 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1008 * paragraph.h: renamed several methods to begin with small letter.
1009 several changes to many parts of the code because of this.
1011 2001-06-23 The LyX Project <jug@sad.it>
1013 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1014 rewritten to discard all double spaces when KeepEmpty is off
1015 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1016 to only handle newlines but not fiddle with spaces and friends.
1018 * lyxfunc.C (MenuNew): when doing 'new from template', use
1019 template_path as default directory
1021 2001-06-23 The LyX Project <Asger>
1023 * Clean-up of header file includes all over
1024 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1026 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1028 * paragraph.h: renamed from lyxparagraph.h
1030 2001-06-23 Asger <lyx@violet.home.sad.it>
1032 * Buffer.h: Removed Buffer::resize
1033 * BufferList.h: Removed BufferList::resize
1034 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1035 the document lazily when we change the width, or the font settings.
1037 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1039 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1041 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1043 * buffer.h: remove out of date comment
1045 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1048 * screen.C: fix "theoretical" GC leak
1050 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1052 * LaTeX.C (scanAuxFile):
1053 (deplog): remove trailing \r when reading stream (useful under
1056 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1058 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1059 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1060 and BufferView::theLockingInset(Inset*), so should use them and not
1061 access bv_->text->the_locking_inset directly.
1063 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1065 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1068 * tex-defs.h: remove old unused file
1070 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1072 * BufferView_pimpl.C: fix typo, remove minibuffer message
1073 when buffer has loaded
1075 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1077 * lyxfunc.C (Dispatch): use stringstream
1078 (MenuNew): use stringstream
1079 (Open): use stringstream
1081 * importer.C (Import): use stringstream
1083 * bufferview_funcs.C (CurrentState): use stringstream
1085 * LaTeX.C (run): use stringstream
1087 * BufferView_pimpl.C (savePosition): use stringstream
1088 (restorePosition): use stringstream
1089 (MenuInsertLyXFile): use stringstream
1091 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1104 * vspace.C: removed // -*- C++ -*- as first line.
1107 * version.h: added // -*- C++ -*- as first line.
1109 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1111 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1113 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1116 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1118 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1121 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1123 * gettext.C: include LString.h even when --disable-nls is on.
1125 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1127 * converter.h (Get): changed argument type from int to
1128 FormatList::size_type to avoid unnecessary conversion.
1130 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1133 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1135 * gettext.h: include LString.h even when --disable-nls is on.
1137 2001-06-07 Juergen Vigna <jug@sad.it>
1139 * text.C (BreakAgain): subst spaces with tabs.
1141 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1142 (resizeInsetsLyXText): set force on resizeLyXText.
1144 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1146 * gettext.h (gettext_init):
1147 (locale_init): use a real definition instead of a macro
1149 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1151 * Bufferview_pimpl.C:
1153 * LColor.C: further lcolor tidies
1155 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1157 * BufferView_pimpl.C (updateScrollbar): simplify.
1159 * BufferView2.C: don't include insets/insetinfo.h, change
1160 prototype for insertInset and call the Pimpl version. let
1161 updateInset call Pimpl version.
1163 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1164 gotoInset to BufferView::Pimpl
1166 2001-06-01 Juergen Vigna <jug@sad.it>
1168 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1169 inside a LockingInset (is the update needed at all?).
1171 2001-05-31 Juergen Vigna <jug@sad.it>
1173 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1174 here not the old one otherwise how should we compare it afterwards
1177 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1182 * FontInfo.C: bring C functions into global namespace when
1185 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1187 * LString.h: make sure config.h has been loaded before LString.h.
1189 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1190 (one for each char read by EatLine!).
1192 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1195 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1197 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1198 to the same as the par we break from
1200 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1202 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1204 * MenuBackend.C (expand): also create menu entries for wide
1205 versions of the floats.
1207 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1209 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1211 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1212 frontends/Makefile.am
1218 * tabular.C (getTokenValue): add std::
1220 * tabular-old.C (getTokenValue): add std::
1221 (getTokenValue): ditto
1222 (getTokenValue): ditto
1224 * screen.C (ToggleSelection): adjust
1226 * lyxtext.h: put selection cursors inside a Selection struct.
1228 * lyxfunc.C (moveCursorUpdate): adjust
1230 * lyxfont.C (latexWriteStartChanges): add std::
1234 * font.h: delete with(char const *, LyXFont const &)
1236 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1238 * FontInfo.C (getFontname): add std::
1240 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1241 (workAreaButtonPress): adjust
1242 (tripleClick): adjust
1244 (moveCursorUpdate): adjust
1247 * BufferView2.C (gotoInset): adjust
1249 2001-05-30 Juergen Vigna <jug@sad.it>
1251 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1252 to check pspell I add this as default as I now have new pspell
1253 libraries and they seem to use this.
1255 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1257 * text2.C (CutSelection): make the cursor valid before the call to
1260 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1262 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1263 relied on 0 terminated strings and other horrors. Bug found due to
1264 the new assert in lyxstring!
1266 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1269 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1274 * lyxfunc.C (processKeySym): change method of getting to the
1277 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1278 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1279 * BufferView_pimpl.[Ch]: here as private methods.
1281 2001-05-28 Juergen Vigna <jug@sad.it>
1283 * text.C (SetHeightOfRow): added the update() call again as it is
1284 needed to initialize inset dimensions!
1286 2001-05-16 Juergen Vigna <jug@sad.it>
1288 * text2.C (SetCharFont): Add new function with BufferView * and
1289 bool toggleall parameters for setting insets internal fonts.
1290 (SetFont): Freeze the undo as we may change fonts in Insets and
1291 all this change should be inside only one Undo!
1293 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1294 setting font's in insets as for them we have the SetFont function!
1296 2001-05-15 Juergen Vigna <jug@sad.it>
1298 * text2.C (ClearSelection): to be sure we REALLY don't have any
1301 * tabular.C (TeXCellPreamble): fixed the left border problem for
1304 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1306 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1309 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1311 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1312 LFUN_BREAKPARAGRAPH.
1314 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1315 help test to "internal only", similar for LFUN_INSERT_URL
1317 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1318 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1319 auto_region_delete and deadkeys.
1321 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1324 * LColor.C: remove some dead entries, tidy a little
1326 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1328 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1330 (Dispatch): implement LFUN_ESCAPE
1332 * commandtags.h: add LFUN_ESCAPE
1334 * LyXAction.C (init): add entry for LFUN_ESCAPE
1336 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1337 Remove commented code.
1338 (insertNote): moved here
1339 (open_new_inset): moved here
1341 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1344 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1346 * kbmap.C (findbinding): clean it up and make it work correctly.
1348 * lyx_main.C (init): do not pass argc and argv as parameters
1350 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1352 * buffer.C: fix path for OS/2 & Win32
1356 * lyx_main.C: Added os:: class.
1358 * os2_defines.h: update
1360 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1362 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1363 better by trying again with reduced state.
1365 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1367 * lyxrc.C (read): print error about invalid key sequence only when
1368 debugging (because not all latinX keysyms are known to some X
1371 * kbsequence.C (getiso): add a few std:: qualifiers
1372 (getiso): comment out extra return statement.
1374 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1376 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1378 (Dispatch): enhance the accent inset a bit. (not perfect)
1380 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1382 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1384 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1386 * bufferlist.C (emergencyWrite): fix assert() call
1388 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1390 * text.C (InsertChar): Added trivial patch to only send the "you
1391 can not do multiple spaces this way" message once during a
1394 2001-05-08 Baruch Even <baruch@lyx.org>
1396 * Makefile.am: Changed order of libraries to get LyX to link properly
1397 with the gnome frontend.
1399 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1401 * LaTeXFeatures.h: add a std:: qualifier
1403 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1405 * paragraph.C (String): use stringstream
1407 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1409 * paragraph.C (writeFile): remove footflag arg
1411 * buffer.C (makeLaTeXFile): use stringstream
1412 (latexParagraphs): remove footnot gurba
1414 * LaTeXFeatures.C (getPackages): use stringstream
1415 (getMacros): likewise
1416 (getTClassPreamble): likewise
1417 (getFloatDefinitions): new method
1419 * paragraph.C (writeFile): reindent
1422 * WorkArea.h: revert the xpos + etc changes.
1424 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1426 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1428 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1429 (pasteSelection): likewise
1430 * text2.C (CreateUndo): likewise
1432 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1434 * minibuffer.C (peek_event): temporarily reduce the functionality
1435 of the minibuffer (to allow args on lfuns)
1437 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1438 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1440 * buffer.C (readInset): add compability reading of old float
1441 lists, add reading of new style float list.
1442 (readInset): avoid reevaluation of inscmd.getCmdName()
1443 (getLists): reindent
1445 * MenuBackend.C (MenuItem): implement parsing of
1446 md_floatlistinsert and md_floatinsert.
1447 (expand::LastFiles): move initalizaton of iterators out of loop,
1449 (expand::Documents): introduce typdedef vector<string> Strings,
1451 (expand::ExportFormats): introduce typedef vector<Format const *>
1452 Formats, and use it.
1453 (expand): implement FloatListInsert and FloatInsert.
1455 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1456 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1457 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1459 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1461 (Dispatch::LFUN_FLOAT_LIST): implement
1463 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1465 * LaTeX.C (run): Fix problem with --export code.
1467 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1469 * BufferView.[Ch] (workarea): removed.
1470 (getClipboard) new method; wrapper for workarea()->getClipboard()
1472 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1475 * WorkArea.h (width, height, xpos, ypos): These methods all
1476 returned the dimensions of the work_area sub-area of WorkArea,
1477 resulting in a position error if the WorkArea were resized. Now
1478 return the dimensions of the entire WorkArea.
1480 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1482 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1484 * LaTeX.C (deplog): correct the syntax of regex reg1
1486 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1488 * undo.C: remove !NEW_INSETS cruft
1490 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1492 * text2.C: remove !NEW_INSETS cruft
1494 * text.C: remove !NEW_INSETS cruft
1496 * tabular.C: remove !NEW_INSETS cruft
1498 * spellchecker.C: remove !NEW_INSETS cruft
1500 * lyxtext.h: remove !NEW_INSETS cruft
1502 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1504 * lyxfunc.C: remove !NEW_INSETS cruft
1506 * lyxfind.C: remove !NEW_INSETS cruft
1508 * lyx_cb.C: remove !NEW_INSETS cruft
1510 * figureForm.C: remove !NEW_INSETS cruft
1512 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1514 * buffer.[Ch]: remove !NEW_INSETS cruft
1516 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1518 * CutAndPaste.C: remove !NEW_INSETS cruft
1520 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1522 * BufferView2.C: remove !NEW_INSETS cruft
1524 * BufferView.h: remove !NEW_INSETS cruft
1526 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1528 * Lsstream.h: include LString.h before the sstream headers to
1529 fix problem with gcc 2.95.3 and lyxstring
1531 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1533 * lyx_main.C: add using directives when needed for C functions
1534 declared in std:: namespace.
1536 2001-04-27 Juergen Vigna <jug@sad.it>
1538 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1539 (SetHeightOfRow): comment out the update call should not be needed!
1541 2001-04-13 Juergen Vigna <jug@sad.it>
1543 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1544 (LyXTabular): tried to minimize operator= operations (and realized
1545 hopfully Lars wish).
1547 2001-04-27 Juergen Vigna <jug@sad.it>
1549 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1551 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1553 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1555 * buffer.C (readInset): hack to make listof algorithm work
1557 * BufferView_pimpl.C: hack to make listof algorithm work
1559 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1561 * LyXAction.C: removed all !NEW_INSETS cruft
1562 (init): moved lfun_item in method
1564 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1566 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1568 * BufferView2.C (theLockingInset): white space.
1570 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1572 * minibuffer.C: include <iostream>
1574 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1576 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1578 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1580 * text.[Ch] (TransposeChars): new method
1582 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1584 * call message directly through LyXView instead of through LyXFunc
1585 * BufferView2.C: adjust
1586 * BufferView_pimpl.C: adjust
1587 * FontLoader.C: adjust
1589 * bufferview_funcs.C: adjust
1590 * converter.C: adjust
1591 * figureForm.C: adjust
1592 * importer.C: adjust
1594 * lyx_gui_misc.C: adjust
1598 + more files in subdirs
1600 * lyxparagraph.h (size): move up int file
1603 * adjust all uses of Assert to lyx::Assert.
1605 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1606 lyxfunctional in namespace lyx
1607 * layout.C (hasLayout): ditto
1610 (delete_layout): ditto
1611 (NumberOfClass): ditto
1612 * converter.C (GetFormat): ditto
1617 * bufferlist.C (getFileNames): ditto
1618 (emergencyWriteAll): ditto
1621 * MenuBackend.C (hasSubmenu): ditto
1624 * BufferView_pimpl.C (getInsetByCode): ditto
1626 2001-04-18 Juergen Vigna <jug@sad.it>
1628 * vspace.C (asLatexString): fixed the 100% problem.
1630 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1632 * lyxfunc.C (Dispatch):
1634 * minibuffer.h: add a few std:: qualifiers
1636 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1638 * minibuffer.[Ch]: reimplement so that commands is initiated and
1639 run from lyxfunc, simplified som handling, and made the completion
1640 and history code for complete. wip.
1642 * lyxfunc.C (processKeySym): call message
1643 (miniDispatch): new temporary method
1644 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1645 (LFUN_MESSAGE): implement
1646 (LFUN_MESSAGE_PUSH): implement
1647 (LFUN_MESSAGE_POP): implement
1648 (initMiniBuffer): the initial/defualt minibuffer message.
1650 * lyxfont.[Ch]: inline some more getters
1652 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1654 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1656 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1657 (AutoSave): use LFUN_MESSAGE
1658 (Reconfigure): ditto
1660 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1662 * figureForm.C: use LFUN_MESSAGE
1664 * converter.C (runLaTeX): use LFUN_MESSAGE
1666 * bufferview_funcs.C: use LFUN_MESSAGE
1668 (changeDepth): ditto
1670 * bufferparams.h: use boost::
1672 * bufferlist.h: inherit privately from noncopyable
1674 * bufferlist.C (loadLyXFile): remove some commented code.
1676 * buffer.C (runChktex): use LFUN_MESSAGE
1678 * ShareContainer.h: inherit privately from noncopyable
1680 * ParagraphParameters.[hC] (depth): inline it.
1682 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1684 (message): new method
1685 (messagePush): ditto
1687 (show): init minibuffer
1688 (showState): direct call
1690 * LaTeX.[Ch]: inherit privately from noncopyable
1691 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1692 instead of WriteStatus.
1694 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1696 * BufferView_pimpl.C (buffer): don't init minibuffer
1697 (workAreaButtonPress): use LFUN_MESSAGE
1698 (workAreaButtonRelease): ditto
1699 (savePosition): ditto
1700 (restorePosition): ditto
1701 (MenuInsertLyXFile): ditto
1702 (workAreaExpose): don't init minibuffer
1703 (update): remove commented code, simplify
1705 * BufferView2.C (openStuff): use LFUN_MESSAGE
1706 (toggleFloat): ditto
1709 (copyEnvironment): ditto
1710 (pasteEnvironment): ditto
1715 (updateInset): remove some commented code
1717 * lastfiles.h: inherit privately from noncopyable
1722 * lyxlex_pimpl.h: ditto
1724 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1725 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1726 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1728 * LyXAction.h: inherit privately from noncopyable, add methods
1729 func_begin, func_end, returning iterators to the func map.
1731 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1732 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1733 (func_begin): new method
1734 (func_end): new method
1736 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1738 (copySelection): ditto
1739 (pasteSelection): ditto
1741 * BufferView.C: whitespace change
1742 * BufferView.h: inherit privately from noncopyable
1744 2001-04-16 Allan Rae <rae@lyx.org>
1746 * tabular-old.C (l_getline):
1747 * spellchecker.C (sc_check_word):
1748 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1749 an unrecognised preprocessor directive. So ensure they're wrapped.
1751 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1753 * src/exporter.C (Export): Give an error message when path to file
1756 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1758 * LaTeX.C (deplog): Always check that foundfile exists.
1760 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1763 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1765 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1767 * tabular.[Ch] (getLabelList): implement new method
1769 * minibuffer.h: comment ouf setTiimer
1771 * minibuffer.C (ExecutingCB): constify res
1772 (peek_event): constify s
1773 (Set): constify ntext
1774 (Init): constify nicename
1776 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1778 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1779 (savePosition): use two params to Minibuffer::Set
1780 (restorePosition): ditto
1782 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1784 * lyx_main.C: include language.h
1786 * Makefile.am (lyx_main.o): add language.h
1788 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1794 * CutAndPaste.C: include gettext.h
1796 * lyxfont.h: remove old hack with ON and OFF.
1799 * lyxfont.h: do not include language.h...
1804 * bufferview_funcs.C:
1810 * paragraph.C: ... but do it here instead
1812 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1814 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1816 * tabular.C: small reformat
1818 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1821 (BreakParagraph): ditto
1822 (SetOnlyLayout): ditto
1825 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1828 * lastfiles.C: removed most using decl, add std:: where needed
1830 * buffer.C: ws changes
1832 * MenuBackend.C (class compare_format): put into anon namespace
1833 (expand): constify label, names, action, action2
1836 * text.C (SingleWidth): constify font
1837 (IsBoundary): constify rtl2
1838 (GetVisibleRow): constify ww
1840 * LaTeX.C (deplog): constify logfile
1842 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1844 (workAreaExpose): constify widthChange, heightChange
1846 * lyxrow.C (par): moved
1849 * lyxrow.h: as inlines here
1851 * lyxfont.h (shape): moved from lyxfont.C
1852 (emph): moved from lyxfont.C
1854 * lyxfont.C (LyXFont): use initialization list for all
1856 (shape): move to lyxfont.h as inline
1857 (emph): move to lyxfont.h as inline
1860 2001-04-04 Juergen Vigna <jug@sad.it>
1862 * vspace.C: had to include stdio.h for use of sscanf
1864 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1867 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1868 independent of xforms.
1870 2001-04-02 Juergen Vigna <jug@sad.it>
1872 * spellchecker.C: fixed namespace placing!
1874 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1876 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1877 the LyXParagraph * is 0.
1879 2001-03-29 Juergen Vigna <jug@sad.it>
1881 * vspace.C: added support for %, c%, p%, l%.
1882 (stringFromUnit): added helper function.
1883 (asLatexString): changed to give right results for the %-values.
1885 * buffer.C: convert the widthp in a width%.
1887 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1889 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1892 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1893 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1895 * lyx_cb.[Ch]: see above.
1897 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1901 * lyx.[Ch]: replaced by figure_form.[Ch].
1905 * lyxfunc.C: changed headers associated with above changes.
1907 2001-03-27 Juergen Vigna <jug@sad.it>
1909 * BufferView_pimpl.C: set the temporary cursor right!
1911 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1913 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1915 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1917 * LString.h: removed "using std::getline"!
1919 * BufferView_pimpl.C (Dispatch): changes due to changes in
1920 InsetInclude::Params.
1922 * buffer.C (tag_name): removed redundant break statements as they were
1923 producing lots of warnings with my compiler.
1925 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1927 * LString.h: add "using std::getline" when using the real <string>.
1929 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1931 * buffer.C: removed bitset usage.
1932 PAR_TAG moved to an anonymous name space.
1933 (tag_name): new funtion, also in the anonymous namespace.
1934 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1935 (makeDocBookFile): clean code. Completed transition from string arrays
1937 (SimpleDocBookOnePar): code clean.
1939 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1941 * tabular.C: add some comments.
1943 2001-03-22 Juergen Vigna <jug@sad.it>
1945 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1946 compatibility read a bit and fixed bug with minipage in different
1949 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1951 * buffer.C (pop_tag): removed.
1952 (push_tag): removed.
1953 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1954 array replaced with vector. Added support for CDATA sections.
1955 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1957 (makeDocBookFile): XML conformant declaration of CDATA section,
1958 fixed bug related to <emphasis> in the first paragraph char.
1959 (sgmlOpenTag): exclude empty tags.
1960 (sgmlCloseTag): ditto.
1962 * buffer.h (pop_tag): removed.
1963 (push_tag): removed.
1965 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1967 * language.h (Languages): added size_type and size().
1969 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1971 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1972 response on compability reading of minipages. One probliem is that
1973 the old usage of minipages was «flertydig»
1975 * several files here and in subdirs: don't use static at file
1976 scope use anon namespaces instead.
1978 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1980 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1981 LaTeX output. This is necessary for Literate document
1984 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1986 * buffer.C: insert hfill when needed.
1988 * tabular.C (l_getline): use string::erase, small whitespace change.
1990 * BufferView_pimpl.C: try the anon namespace.
1993 2001-03-16 Juergen Vigna <jug@sad.it>
1995 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1996 otherwise it won't open options-dialogs.
1998 * buffer.C: honor pextraWidth(p) on converting minipages.
2000 * tabular.C (l_getline): changed the functions to strip trailing \r.
2002 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2004 * BufferView_pimpl.C:
2005 * minibuffer..C: added "using SigC::slot" declaration.
2007 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2009 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2015 * paragraph.C: ditto
2017 * lyxtext.h: NO_PEXTRA
2019 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2021 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2022 * ParameterStruct.h: ditto
2023 * ParagraphParameters.h: ditto
2024 * lyxparagraph.h: ditto
2026 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2028 * buffer.C: add compability for minipage alignment.
2029 (latexParagraphs): remove unwanted pextra check.
2031 * several files: remove CXX_WORKING_NAMESPACES
2033 * buffer.C (pop_tag): tie is in namespace boost
2035 * BufferView.h: noncopyable is in namespace boost
2040 * lastfiles.h: ditto
2041 * bufferlist.h: ditto
2042 * ShareContainer.h: ditto
2044 * LyXAction.h: ditto
2047 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2049 * Merging changes from BRANCH_MVC back into HEAD.
2051 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2053 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2055 * BufferView_pimpl.C: change from intl.C
2059 * Makefile.am: move combox.*
2065 * intl.C: remove dialog (covered by prefs)
2067 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2069 * lyxfunc.C (Dispatch): removed redundant break statement.
2071 2001-03-14 Juergen Vigna <jug@sad.it>
2073 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2075 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2077 * buffer.C: add hack to fix compability reading of minipages.
2079 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2081 * buffer.C (getLists): Cleanup.
2083 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2085 * lyxfont.C (update): don't honor toggleall on font size.
2087 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2091 * Makefile.am: moved to frontends/xforms/
2095 * BufferView_pimpl.C: changes for moved mathpanel
2097 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2099 * gettext.h: fix gettext_init() in --disable-nls
2101 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2103 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2105 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2108 * lyx.h: strip external form
2110 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2112 * BufferView_pimpl.C: add comment, destroySplash()
2114 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2116 * BufferView_pimpl.C:
2120 * lyxfunc.C: use re-worked insetinclude
2122 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2124 * buffer.C: add using std::stringstream.
2126 * lyx_cb.C: readd using std::ios.
2128 * buffer.C: add using std::map.
2130 * BufferView_pimpl.C: add using std::vector.
2132 * ShareContainer.h: add std:: to swap.
2134 * buffer.h: add some typedefs
2135 * buffer.C (getLists): use them
2136 (getLists): renamed from getTocList.
2137 add a counter for the different float types and use it in the
2139 (getLists): use the same counter for the NEW_INSETS and the "non"
2142 * lyx_cb.h: remove unused items, includes, using etc.
2144 * ShareContainer.h: remove some commented code, add more comments
2145 and "documentation".
2147 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2149 * buffer.C (getTocList): make the list also when NEW_INSETS is
2152 * buffer.h: remove TocType
2154 * buffer.C (getTocList): change to return a map<string,
2155 vector<TocItem> >, implement for dynamic number of list.
2157 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2158 * text2.C (PasteSelection): adjust
2159 * CutAndPaste.C (pasteSelection): adjust
2161 * FloatList.C (FloatList): update from the new_insets branch.
2162 * Floating.[Ch]: ditto
2163 * LaTeXFeatures.C: ditto
2165 * lyxlex_pimpl.C: ditto
2167 * paragraph.C (Last): remove when NEW_INSETS is defined.
2169 * other file: changes because of the above.
2171 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2173 * lyxparagraph.h: rename next to next_, previous to previous_,
2174 make them private for NEW_INSETS. Rename Next() to next(),
2175 Previous() to previous().
2177 * other files: changes because of the above.
2179 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2182 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2185 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2187 * main.C (main): pass lyx_localedir to gettext_init().
2189 * gettext.h: remove locale_init and gettext_init macros
2191 * gettext.C (locale_init): new function
2192 (gettext_init): new function
2194 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2197 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2199 * Moved credits to frontends:
2200 * credits.[Ch]: removed
2201 * credits_form.[Ch]: removed
2202 * lyx_gui_misc.C: remove credits stuff
2205 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2207 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2209 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2210 unneeded destructor.
2212 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2213 a standalone pointer again.
2215 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2217 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2223 * ToolbarDefaults.C:
2232 * BufferView_pimpl.C: use new file dialog in GUII
2235 * lyx_cb.C: remove LayoutsCB to Toolbar
2237 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2239 * ShareContainer.h (get): add std:: qualifier
2241 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2243 * ShareContainer.h: define a proper ShareContainer::value_type
2244 type (and use typename to please compaq cxx)
2246 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2248 * lyxparagraph.h: move serveral local vars to
2249 ParameterStruct/ParagraphParameters., use ShareContainer in
2250 FontTable., make vars in FontTable private and add getter and
2253 * paragraph.C: changes because of the above.
2255 * lyxfont.h: remove copy constructor and copy assignment. (the
2256 default ones is ok), move number inside FontBits. move inlines to
2259 * lyxfont.C: add number to initializaton of statics, move several
2260 inlines here. constify several local vars. some whitespace
2261 cleanup. Dont hide outerscope variables.
2263 * Spacing.h: add two new constructors to match the set methods.
2265 * ShareContainer.h: new file, will perhaps be moved to support
2267 * ParameterStruct.h: new file
2269 * ParagraphParameters.h: new file
2271 * ParagraphParameters.C: new file
2273 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2274 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2276 * BufferView_pimpl.C: ParagraphParameter changes.
2277 * buffer.C: Likewise.
2278 * bufferview_funcs.C: Likewise.
2280 * text2.C: Likewise.
2282 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2284 * lyxfind.C (LyXReplace): do not redefine default argument in
2286 (IsStringInText): ditto
2287 (SearchForward): ditto
2288 (SearchBackward): ditto
2290 2001-03-06 Juergen Vigna <jug@sad.it>
2292 * lyxfind.C (IsStringInText): put parentes around expressions.
2294 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2296 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2298 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2300 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2302 * stl_string_fwd.h: add comment
2304 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2307 * tabular.C: remove unused DocBook methods
2313 killed DO_USE_DEFAULT_LANGUAGE
2315 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2317 * lyx_gui.C: do not include language.h.
2319 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2320 arguments in function implementation.
2322 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2324 * BufferView_pimpl.C: add <ctime>
2326 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2328 * BufferView_pimpl.C: add using std::find_if
2330 2001-02-27 José Matos <jamatos@fep.up.pt>
2332 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2335 2001-02-11 José Matos <jamatos@fep.up.pt>
2337 * buffer.C (makeDocBookFile): command styles now have a parameter as
2340 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2342 * layout_forms.[Ch]: removed
2343 * lyx_cb.[Ch]: out character
2344 * lyx_gui.C: out character
2345 * lyx_gui_misc.C: out character
2346 * bufferview_funcs.C: : out character,
2347 added toggleall as parameter in ToggleAndShow
2349 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2351 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2353 * text2.C (SetCurrentFont): Disable number property at boundary.
2355 2001-02-26 Juergen Vigna <jug@sad.it>
2357 * lyxfunc.C (getStatus): added a string argument override function so
2358 that this is correctly called from LyXFunc::Dispatch if it contains a
2359 do_not_use_argument which is used!
2360 (Dispatch): added check for "custom" export and call appropriate func.
2362 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2364 * lyxrc.C: Add language_command_local, language_use_babel and
2365 language_global_options.
2367 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2369 * buffer.C (makeLaTeXFile): Use language_use_babel and
2370 language_global_options.
2372 2001-02-23 Juergen Vigna <jug@sad.it>
2374 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2375 which works with LyXText and putted it inside BufferView. Here now we
2376 only call for that part the BufferView::Dispatch() function.
2378 * BufferView.C (Dispatch): added.
2380 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2381 functions which needs to use a LyXText over from LyXFunc.
2382 (MenuInsertLyXFile): added
2383 (getInsetByCode): added
2384 (moveCursorUpdate): added
2385 (static TEXT): added
2387 2001-02-22 Juergen Vigna <jug@sad.it>
2389 * BufferView_pimpl.C (update): call a status update to see if LyXText
2392 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2394 * vc-backend.C (revert): implement for CVS
2395 (getLog): implement for CVS
2397 2001-02-20 Juergen Vigna <jug@sad.it>
2399 * text2.C (ClearSelection): added BufferView param for inset_owner call
2401 * lyxfunc.C (TEXT): added this function and use it instead of
2402 directly owner->view()-text of getLyXText().
2404 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2406 * src/layout_forms.C: out preamble
2407 * src/layout_forms.h: out preamble
2408 * src/lyx_cb.C: out preamble
2409 * src/lyx_cb.h: out preamble
2410 * src/lyx_gui.C: out preamble
2411 * src/lyx_gui_misc.C: out preamble
2412 * src/lyxfunc.C: connect with guii preamble
2414 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2416 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2418 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2420 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2421 whether to run bibtex.
2423 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2425 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2427 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2429 * Makefile.am (lyx_SOURCES): removed bibforms.h
2433 * text.C (GetVisibleRow): make several local vars const
2435 * tabular.C: small cleanup.
2437 * lyxserver.C (callback): use compare instead of strncmp
2439 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2440 inlines to after class or to paragraph.C
2442 * lyxfont.h: remove friend operator!=
2444 * converter.h: move friend bool operator< to non friend and after
2447 * combox.h: small cleanup
2449 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2450 to inlines after class def.
2452 * buffer.C (pop_tag): use string operations instead of strcmp
2454 * bmtable.c: doxygen, small cleanup
2456 * LaTeX.h: remove friend operator==
2458 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2470 * BufferView_pimpl.C:
2471 * BufferView.[Ch]: remove cruft
2473 2001-02-14 Juergen Vigna <jug@sad.it>
2475 * lyxfunc.C: removed #if 0 unused code
2477 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2479 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2481 * text2.C (SetSelection): added a BufferView * parameter
2483 2001-02-13 Juergen Vigna <jug@sad.it>
2485 * lyxfunc.C (Dispatch): fixed protected blank problem.
2486 * BufferView2.C (protectedBlank): added LyxText * parameter.
2488 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2489 (AppendColumn): same as above for column_info.
2491 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2492 (moveCursorUpdate): use a LyXText param for support of InsetText.
2494 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2495 (tripleClick): ditto
2497 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2499 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2501 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2503 * text2.C (SetSelection): set correct update status if inset_owner
2506 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2508 * tabular.C: remove some commented code.
2510 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2512 * BufferView_pimpl.C: call hideSplash()
2514 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2517 * bibforms.h: remove
2520 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2521 add LFUN_CHILD_CREATE
2523 * counters.h: fix tiny typo
2528 * lyx.C: move splash to frontends/xforms/
2530 * lyx_gui_misc.C: move Include and Bibform to frontends
2532 * lyxvc.h: clarify comment
2534 * vspace.C: tiny housekeeping
2536 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2538 * text.C (PrepareToPrint): RTL Fix.
2540 * paragraph.C (GetUChar): New method.
2541 (String): Use GetUChar.
2543 * buffer.C (asciiParagraph): Use GetUChar.
2545 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2547 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2549 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2552 * buffer.C: rename to getLogName(), handle
2553 build log / latex log nicely
2555 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2558 * MenuBackend.h: remove support for reference menuitem type.
2560 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2562 * BufferView_pimpl.C: housekeeping
2563 * BufferView_pimpl.h:
2568 * minibuffer.h: move Timeout GUI-I
2570 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2572 * lyxrc.C (read): Update converters data-structures.
2574 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2576 * LaTeX.h (operator!=): add operator != for Aux_Info
2578 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2580 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2582 * LaTeXLog.C: deleted, useful code moved to Buffer
2585 * buffer.C: new function getLatexLogName()
2591 * lyxfunc.C: use frontends for LaTeX and VC logs
2593 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2595 * LaTeX.h: yet another std:: that Allan forgot.
2597 * Variables.C (set): renamed from isset(), because this clashes
2598 with some HP-UX macros (grr).
2600 2001-02-06 Allan Rae <rae@lyx.org>
2602 * LaTeX.h: Another bug fix. Missing std:: this time.
2604 2001-02-04 Allan Rae <rae@lyx.org>
2606 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2607 floats problem. I've left it commented out because it's not quite
2608 correct. It should also test that the current object is a table or
2609 figure inset. But I haven't gotten around to figuring out how to do
2610 that. I *think* it'll be something like: "table" == inset.type()
2612 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2615 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2617 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2618 all the citation/databases/styles in the auxilary file.
2619 (run): Rerun latex if there was a babel language error.
2621 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2623 * text.C (Backspace): Preserve the font when changing newline char
2625 (BreakParagraph): If the cursor is before a space, delete the space.
2627 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2629 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2631 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2632 new argument (code).
2633 (ChangeCitationsIfUnique): New method.
2635 * paragraph.C (GetPositionOfInset): Handle bibkey.
2637 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2639 * BufferView_pimpl.h: change type of Position::par_pos to
2640 LyXParagraph::size_type.
2642 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2644 * BufferView_pimpl.C (savePosition, restorePosition): Write
2645 messages to minibuffer.
2647 2001-01-28 José Matos <jamatos@fep.up.pt>
2649 * buffer.C (makeDocBookFile): adds support for document language.
2650 A silly restriction on the name of LatexCommand types where removed.
2651 Added support for CDATA sections, allows to chars unescaped, used
2652 among others in code, to avoid escape < and >.
2654 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2656 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2657 saved positions instrad of a stack. Furthermore, a position is
2658 stored using paragraph id/paragraph position.
2660 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2661 Remove LFUN_REF_BACK.
2663 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2665 * converter.C (dvipdfm_options): New method.
2667 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2669 * vspace.C (isValidLength): Fix for empty input string.
2671 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2673 * LyXAction.C (init): change description of LFUN_FIGURE to
2676 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2678 * LaTeX.C: add using directive
2680 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2682 * MenuBackend.C (expand): Fix the sorting of the formats.
2684 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2686 * lyx_main.C: tiny error message fix
2688 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2690 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2691 calling fl_initialize(). This fixes the problem with ',' as
2692 decimal separator in text files.
2694 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2696 * trans.C (process): Fix the keymap bug.
2698 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2700 * LaTeX.C (scanAuxFiles): New method. Provides support for
2701 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2702 (scanLogFile) Scan for "run BibTeX" messages.
2704 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2705 OT1 font encoding. Also, load the aecompl package if the ae
2708 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2710 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2712 * texrow.C (increasePos): turn two error messages into debug
2715 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2717 * LaTeX.C (scanAux): Handle the \@input macro.
2718 (runBibTeX): Use scanAux().
2720 * language.C (latex_options_): New field.
2722 * LaTeXFeatures.C (getMacros): Add language macros.
2724 * buffer.C (makeLaTeXFile): Small fix.
2726 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2728 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2730 * text2.C: add a using directive.
2732 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2737 * lyxfunc.C: kill LyXBell.
2739 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2741 * text.C (IsBoundary): Remove the error message
2743 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2745 * lyxrc.C (setDefaults): Correct initialization value for
2748 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2750 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2753 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2756 * src/LyXAction.C: Added reference-next.
2758 * text.C (InsertChar): Use contains instead of strchr.
2760 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2762 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2764 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2765 alignment commands (when needed).
2767 * text.C (InsertChar): Add ':' to number separator chars.