1 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * converter.[hC] + affected fiels: move to (inital-char)lowercase
6 * ParagraphParameters.C (ParagraphParameters): remove commented code
8 * PainterBase.[Ch]: remove commented code
10 * LaTeXFeatures.h: add "bool floats" for float.sty
12 * LaTeXFeatures.C (LaTeXFeatures): init floats
13 (require): handle float
14 (getPackages): do it with floats
16 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18 * BufferView_pimpl.C (Dispatch): improve handling of
19 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
21 * commandtags.h: #include lyxfont.h here temporarily to avoid
24 * bufferlist.h: include LString.h here.
26 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
28 * text2.C (getStringToIndex): new method.
30 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
32 * *: Reduced header file dependencies all over.
34 2001-07-30 Baruch Even <baruch@lyx.org>
36 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
38 2001-07-29 Baruch Even <baruch@lyx.org>
40 * buffer.C (readInset): Changed GRAPHICS to Graphics.
42 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
44 * ParameterStruct.h (endif): add a default constructor to make
45 sure that all variables is initialized.
47 * ParagraphParameters.C (ParagraphParameters): adjust
49 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
51 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
52 index; also, check that there is something to index, and that it
53 does not span over several paragraphs.
54 (doubleClick): use WHOLE_WORD_STRICT for double click.
56 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
58 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
61 2001-07-26 Baruch Even <baruch@lyx.org>
63 * buffer.C (readInset): Changed to call up InsetGraphics when reading
64 an InsetFig figure, backwards compatible reading of old figure code.
66 2001-07-27 Juergen Vigna <jug@sad.it>
68 * text2.C: font.realize function adaption.
70 * text.C (draw): add a warnings lyxerr text if needed.
72 * layout.C: font.realize function adaption.
74 * language.C: add inherit_language and implement it's handlings
76 * bufferview_funcs.C (StyleReset): remove language parameter from
77 font creation (should be language_inherit now).
79 * bufferparams.C (writeFile): handle ignore_language.
81 * paragraph.C (getFontSettings): the language has to be resolved
82 otherwise we have problems in LyXFont!
84 * lyxfont.C (lyxWriteChanges): added document_language parameter
85 (update): removed unneeded language parameter
87 * paragraph.C (validate): fixed wrong output of color-package when
88 using interface colors for certain fonts in certain environments,
89 which should not seen as that on the final output.
91 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
98 * LyXAction.C: add thesaurus support
101 * lyxfind.C: add "once" parameter, for thesaurus, to not
102 move to the next match
104 2001-07-26 Juergen Vigna <jug@sad.it>
106 * lyxfont.C (realize): honor ignore_language too!
109 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
111 * text.C (draw): one place more for ignore_language to not draw
114 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
116 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
118 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * buffer.C (parseSingleLyXformat2Token): a more general fix for
121 the minipage conversion problem.
123 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * buffer.C (parseSingleLyXformat2Token): check minipage if we
128 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
130 * BufferView.h: don't forward declare WorkArea
132 * BufferView.C: don't include WorkArea.h
134 2001-07-25 André Pönitz <poenitz@gmx.net>
138 * lyxfunc.C: new LFUN 'math-space'
140 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
142 * text2.C (toggleInset): call open/close
144 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
146 * lyxfunc.C (dispatch): add debug for the disabled case
148 * font.C (buttonText): make similar to rectText
150 * buffer.C (readInset): comment out parsing of insetlist and
153 * PainterBase.C (rectText): small correction
155 * BufferView_pimpl.C: comment out insettheorem and insetlist
157 * commandtags.h: ditto
159 2001-07-24 Juergen Vigna <jug@sad.it>
161 * text.C (draw): honor the ignore_language.
163 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
165 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
167 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
170 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * lyxtext.h: remove unused (and unimplemented) methods
174 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * text.C (getVisibleRow): honor background color
179 * Painter.h: remove default color argument for fillRectangle
181 * text.C (backgroundColor): new method
183 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
185 * text.C (getVisibleRow): adjust
187 * font.[Ch] (rectText): new method, metrics
188 (buttonText): new method, metrics
190 * PainterBase.[hC]: make rectText and buttonText always draw and take
193 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * ToolbarDefaults.C (read):
196 * MenuBackend.C (read): allow escaping in all strings
198 * BufferView_pimpl.C (insertAndEditInset): new method.
199 (Dispatch): use insertAndEditInset whenever appropriate.
201 * BufferView_pimpl.C (insertNote): removed
203 * BufferView_pimpl.C (smartQuote): new method, moved from
204 BufferView; if an insetquote cannot be inserted, insert a '"'
207 * BufferView2.C: remove insertCorrectQuote();
209 * lyxfunc.C (getStatus): Add support for all remaingin
212 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
214 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
215 command (necessary to pass " as parameter of self-insert.
217 * text.C (selectWordWhenUnderCursor):
218 (selectWord): add word_location parameter
219 (selectWordWhenUnderCursor): same + remove special code for word
221 (selectNextWord): use kind() to guess type of insetspecialchar,
224 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
225 (insertErtContents): create ert insets as collapsed.
226 (readInset): better compatibility code for Info inset.
228 2001-07-20 Juergen Vigna <jug@sad.it>
230 * lyxfunc.C (dispatch): use always LyXFind now!
232 * text2.C (init): add a reinit flag so that the LyXText can be
233 reinited instead of deleted and reallocated (used in InsetText).
235 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
241 2001-07-18 Juergen Vigna <jug@sad.it>
243 * text.C (selectNextWord): handle insets inside inset by calling
244 always the bv->text functions so that we can go up the_locking_inset!
246 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
247 in strange locations when inside an inset!
249 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
250 handling to include insets.
252 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
254 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
256 * LyXAction.C (init):
258 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
259 LIGATURE_BREAK, since the name is so stupid.
261 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
263 * buffer.C (readInset): enable reading of new InsetNotes as well as old
266 * FontLoader.C: remove FORMS_H_LOCATION cruft.
268 * sp_form.[Ch]: remove.
270 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
272 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
275 * src/buffer.C (readInset): ditto.
277 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * BufferView_pimpl.C (specialChar): new method. Obsoletes
280 menuSeparator(), endOfSentenceDot(), ldots() and
281 hyphenationPoint(), which are therefore removed.
282 (Dispatch): handle LFUN_HYPHENATION_BREAK.
284 * LyXAction.C (init):
285 * commandtags.h: add LFUN_HYPHENATION_BREAK.
287 * paragraph.C (getWord): removed.
289 * BufferView_pimpl.C (Dispatch): use last word or selection for
290 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
292 * lyx_main.C (queryUserLyXDir): do not ask before creating
293 user_dir, except if it has been named explicitely.
295 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
297 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
298 a document of zero size.
300 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
302 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
303 approriately in the c-tor and in require().
304 (getPackages): output the appropriate LaTeX for natbib support.
306 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
307 variables "use_natbib" and "use_numerical_citations" when reading the
309 (readInset): read the various natbib cite commands.
310 (validate): white-space change.
312 * bufferparams.[Ch]: new variables "bool use_natbib" and
313 "bool use_numerical_citations".
314 (writeFile): output them in the LyX file.
316 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * lyxfunc.C (getStatus): add support for all the inset insertion
321 * text2.C (insertInset):
322 * paragraph.C (insetAllowed):
323 * BufferView_pimpl.C (insertInset): update to take in account the
324 renaming of insertInsetAllowed
326 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
328 * text2.C (getInset): new method. returns inset at cursor position.
330 * BufferView_pimpl.C (Dispatch): changes because of this.
332 * LyXAction.C (init): rename open-stuff to inset-toggle.
334 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
336 * text2.C (toggleInset): renamed from openStuff; use
339 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
341 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
343 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
345 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
347 * buffer.C (readLyXformat2): Add filename to the error dialog
349 2001-07-18 Juergen Vigna <jug@sad.it>
351 * tabular.C (GetCellNumber): put an assert here instead of the check!
353 2001-07-17 Juergen Vigna <jug@sad.it>
355 * BufferView_pimpl.C (toggleSelection): adapted too.
357 * text.C (selectNextWord): adapted for use with insets.
358 (selectSelectedWord): ditto
360 2001-07-17 Juergen Vigna <jug@sad.it>
362 * sp_spell.C (PSpell): fix initialitation order.
364 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
366 * paragraph.C: spacing
368 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
370 * sp_spell.C: repair language selection for pspell
372 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
374 * lyxfunc.h: change more methods to begin with lower char.
376 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
378 * buffer.C (parseSingleLyXformat2Token): Generate error insets
381 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
383 * buffer.C (readLyXformat2): Generate an error dialog if there are
386 2001-07-16 Juergen Vigna <jug@sad.it>
388 * sp_spell.C: always compile ISpell part.
390 * lyxrc.C: added use_pspell entry and it's handling.
392 2001-07-13 Juergen Vigna <jug@sad.it>
394 * sp_spell.C: removed double includes.
396 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
398 Consistent use of Lsstream.h:
399 * Lsstream.h: added using std::stringstream for consistencies sake.
401 * buffer.C: removed using std::stringstream
403 * lyxfont.C (stateText):
404 * paragraph.C (asString):
405 * text.C (selectNextWord, selectSelectedWord):
406 * text2.C (setCounter):
407 * vspace.C (asString, asLatexString):
408 std::ostringstream -> ostringstream.
410 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
412 * LyXAction.C: add LFUN_HELP_ABOUTLYX
413 * commandtags.h: add LFUN_HELP_ABOUTLYX
414 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
416 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
418 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
420 * lyx_gui_misc.C: remove spellchecker
421 * lyxfunc.C: showSpellchecker
426 * sp_form.[Ch]: removed
427 * spellchecker.[Ch]: removed
429 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
431 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
433 (simpleTeXSpecialChars): Simply print the input character without
434 any special translation if pass_thru is set.
436 * layout.h: Added bool pass_thru to layout class for being able to
437 implement pass through of a paragraph for Literate Programming.
439 * layout.C: add LT_PASS_THRU to LayoutTags enum.
440 * layout.C (LyXLayout): set pass_thru to flase in constructor.
441 * layout.C (Read): add "passthru" to list of layout tags and add
442 code to set the pass_thru boolean when it is read.
444 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * trans_decl.h: remove allowed from KmodInfo
448 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
452 * paragraph_pimpl.C (erase): use boost::prior
454 * Painter.C (text): use data() instead of c_str() when length is
456 * WorkArea.C (putClipboard): ditto
457 * font.h (width): ditto
459 * BufferView2.C: use it-> instead of (*it). for iterators
461 * paragraph_pimpl.C: ditto
463 * minibuffer.C: ditto
472 * MenuBackend.C: ditto
477 * ColorHandler.C (LyXColorHandler): ditto
479 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
481 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
483 * text2.C (openStuff): reintroduce this method (which had been
484 nuked in NEW_INSETS frenzy).
486 * lyxfunc.C (Dispatch): when an action has not been handled, use
487 its name in the error message, not its number.
489 * paragraph.C (inInset): change method name to begin with lowercase.
492 * text2.C: updates because of this.
494 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
496 * ToolbarDefaults.C (add): add spaces in error message
498 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
500 * buffer.C (readLyXformat2): initialize the ert comp. variables.
501 (readLyXformat2): rename return_par to first_par, use lyxlex's
502 pushToken and remove the manual push handling.
503 (parseSingleLyXformat2Token): add another ert comp. variable:
504 in_tabular, rename return_par to first_par. handle newlines better
506 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
508 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
510 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
512 * text2.C (getParFromID): removed
514 * buffer.C (getParFromID): new method moved form lyxtext.
515 * BufferView2.C (insertErrors): adjust
516 (setCursorFromRow): adjust
517 * BufferView_pimpl.C (restorePosition): adjust
518 * lyxfunc.C (Dispatch): adjust
519 * undo_funcs.C (textUndo): adjust
521 (textHandleUndo): adjust
522 (textHandleUndo): adjust
524 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
526 * buffer.C: up' the LYX_FORMAT
528 * lyxfont.h: turn NO_LATEX on as default
530 * buffer.C (insertErtContents): new methods of tex style compability.
531 (parseSingleLyXformat2Token): use it several places.
532 * tabular.C (OldFormatRead): and here
534 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
536 * text2.C: remove some commented code.
539 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
540 * trans.C: changes because of the above.
542 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
544 * text2.C (setCounter): Fix counters bug with bibliography layout.
546 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
548 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
550 (simpleTeXSpecialChars): ditto
552 2001-07-06 Juergen Vigna <jug@sad.it>
554 * a lot of files: changed the access to LyXText::status and the
555 call of undo-functions.
557 * undo.[Ch]: added a inset_id to the undo informations.
559 * undo_funcs.[Ch]: added and moved here all undo functions.
561 * lyxtext.h: give the status enum a weight, made status_ a private
562 variable and made accessor functions for it, removed the whole bunch
563 of undo-functions as they are now in their own file, make some
564 functions publically available. Added function ownerParagraph with
567 * paragraph.[Ch]: added "bool same_ids" to the constructor,
568 made InInset() a const function, added getParFromID() function.
570 * buffer.[Ch]: added const version for inset_iterator functions,
571 added getInsetFromID() function.
573 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
574 changed undo functions for new version.
576 2001-07-05 Juergen Vigna <jug@sad.it>
578 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
579 unknow mechanism does not call the proper constructor but only this
580 one also if I request the other!?
582 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
584 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
586 * text2.C (LyXText): use initialization lists.
588 * lyxtext.h (Selection): initialize set_ and mark_
589 (init): remove method
591 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
593 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
595 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
597 * screen.[Ch]: change method names to begin with lowercase
599 * BufferView_pimpl.C (updateScrollbar): simplify further and
600 hopefully make it a bit faster.
602 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
604 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
605 calling directly xforms functions.
607 * Painter.C (Painter):
608 * lyx_cb.C (MenuWrite):
609 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
612 * lyx_gui.C: remove bogus guiruntime extern declaration.
614 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
616 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
618 (redoDrawingOfParagraph): ditto
619 (redoParagraphs): ditto
620 (cutSelection): don't create a object for CutAndPaste use the
621 static method directly
622 (pasteSelection): ditto
624 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
627 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * modifications to some other files because of this.
631 * Makefile.am (lyx_SOURCES): add XFormsView
633 * XFormsView.[Ch]: new files
635 * LyXView.[Ch]: make LyXView a base class for the gui handling for
636 the main window. Move the gui dependent stuff to XFormsView
638 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
640 * tabular.C (GetCellInset): update cur_cell also in the row/col
641 version of this function.
643 * lyxfunc.C: no need to include figure_form.h here.
649 * lyxvc.C: no need to include forms.h here.
651 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
653 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
655 * lyxfunc.C (Dispatch):
657 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
658 constructor argument.
660 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
662 * paragraph.C (Paragraph): dont't clear, and just set layout.
663 (makeSameLayout): use params's copy contructor.
665 * ParagraphParameters.[Ch] (makeSame): delete method
667 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
669 * Variables.[Ch]: fix indentation, rename set to isSet
671 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
673 * lyxfunc.C (Dispatch): fix typo
675 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
677 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
680 * bufferlist.C: include assert.h for emergencyWrite().
682 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
684 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
685 give up at last (bug #425202) !
687 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
693 * spellchecker.C: strip spellchecker options and bring up
694 preferences tab instead
696 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
698 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
699 the istringstream constructor
701 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
703 * paragraph.C (getLayout): fix return value
705 * paragraph.h: do not declare getLayout as inline.
707 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
709 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
711 * lyxcursor.h (operator<): new func
712 (operator>): new func
713 (operator>=): new func
714 (operator<=): new func
716 * text.C (changeCase): use selection.start and selection.end
717 (changeRegionCase): require from to be <= to. Require par to be a
720 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
722 2001-06-27 Juergen Vigna <jug@sad.it>
724 * text.C (cursorLeftOneWord): changed to return the cursor and added
725 overlay with BufferView * parameter which calls this one.
727 (selectWord): use new getWord function.
728 (changeCase): renamed from changeWordCase as and extended to work
731 * lyxtext.h: added enum word_location
733 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
734 changeCase as this operates now also on selections.
736 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
738 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
740 * many files: send debug output to Debug::INFO instead of
743 * converter.C (View):
745 (Move): send debug output to Debug::FILES instead of console.
747 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
749 * lyxfunc.C (getStatus): use func_status
751 * func_status.h: new header, describing the results of
754 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
757 2001-06-25 The LyX Project <jug@sad.it>
759 * buffer.C (sgmlOpenTag):
761 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
763 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
765 * text2.C: remove some dead code
767 * tabular.C (GetCellInset): store the last cell checked (gotten)
769 * tabular.h: add the helper for the speedup
771 * lyxtext.h: remove some dead code
773 2001-06-26 The LyX Project <Asger>
775 * paragraph.C: Change export to LaTeX of alignment to
776 \begin{center} and family for better roundtrip work with reLyX.
778 * Tune the math drawing a bit.
780 2001-06-25 The LyX Project <Asger>
782 * LColor.C (LColor): New color for math background. New color
785 2001-06-25 The LyX Project <jug@sad.it>
787 * lyxfunc.C (MenuNew): remove extra check for .lyx file
790 * bufferlist.C (newFile): do not restrict to files ending with
793 * BufferView_pimpl.C (MenuInsertLyXFile):
795 2001-06-24 The LyX Project <jug@sad.it>
797 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
800 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
802 * lyxtext.h: rename most methods to begin with a small char.
803 Lots of changes because of this.
805 * paragraph.C (Paragraph): do not call fitToSize
806 (erase): call Pimpl::erase
807 (insertChar): call Pimpl::insertChar
808 (insertInset): call Pipl::insertInset
809 (breakParagraph): do not call fitToSize
810 (breakParagraphConservative): do not call fitToSize
811 (fitToSize): remove method
813 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
815 2001-06-24 The LyX Project <Asger>
817 * Fix Qt compilation^2
819 2001-06-24 The LyX Project <jug@sad.it>
821 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
822 depthHook(getDepth()-1).
825 * ParagraphParameters.h:
826 * ParameterStruct.h: change type of depth to unsigned int ==
827 depth_type. Many adaptations to other files before of that.
829 2001-06-24 The LyX Project <Asger>
831 * Fix Qt compilation.
833 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
835 * paragraph.h: renamed several methods to begin with small letter.
836 several changes to many parts of the code because of this.
838 2001-06-23 The LyX Project <jug@sad.it>
840 * text2.C (InsertStringAsLines): renamed from InsertStringA;
841 rewritten to discard all double spaces when KeepEmpty is off
842 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
843 to only handle newlines but not fiddle with spaces and friends.
845 * lyxfunc.C (MenuNew): when doing 'new from template', use
846 template_path as default directory
848 2001-06-23 The LyX Project <Asger>
850 * Clean-up of header file includes all over
851 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
853 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
855 * paragraph.h: renamed from lyxparagraph.h
857 2001-06-23 Asger <lyx@violet.home.sad.it>
859 * Buffer.h: Removed Buffer::resize
860 * BufferList.h: Removed BufferList::resize
861 * LyXView.h: Added LyXView::resize. This way, we will only reflow
862 the document lazily when we change the width, or the font settings.
864 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
866 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
868 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
870 * buffer.h: remove out of date comment
872 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
875 * screen.C: fix "theoretical" GC leak
877 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
879 * LaTeX.C (scanAuxFile):
880 (deplog): remove trailing \r when reading stream (useful under
883 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
885 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
886 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
887 and BufferView::theLockingInset(Inset*), so should use them and not
888 access bv_->text->the_locking_inset directly.
890 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
892 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
895 * tex-defs.h: remove old unused file
897 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
899 * BufferView_pimpl.C: fix typo, remove minibuffer message
900 when buffer has loaded
902 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
904 * lyxfunc.C (Dispatch): use stringstream
905 (MenuNew): use stringstream
906 (Open): use stringstream
908 * importer.C (Import): use stringstream
910 * bufferview_funcs.C (CurrentState): use stringstream
912 * LaTeX.C (run): use stringstream
914 * BufferView_pimpl.C (savePosition): use stringstream
915 (restorePosition): use stringstream
916 (MenuInsertLyXFile): use stringstream
918 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
931 * vspace.C: removed // -*- C++ -*- as first line.
934 * version.h: added // -*- C++ -*- as first line.
936 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
938 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
940 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
943 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
945 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
948 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
950 * gettext.C: include LString.h even when --disable-nls is on.
952 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
954 * converter.h (Get): changed argument type from int to
955 FormatList::size_type to avoid unnecessary conversion.
957 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
960 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
962 * gettext.h: include LString.h even when --disable-nls is on.
964 2001-06-07 Juergen Vigna <jug@sad.it>
966 * text.C (BreakAgain): subst spaces with tabs.
968 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
969 (resizeInsetsLyXText): set force on resizeLyXText.
971 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
973 * gettext.h (gettext_init):
974 (locale_init): use a real definition instead of a macro
976 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
978 * Bufferview_pimpl.C:
980 * LColor.C: further lcolor tidies
982 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
984 * BufferView_pimpl.C (updateScrollbar): simplify.
986 * BufferView2.C: don't include insets/insetinfo.h, change
987 prototype for insertInset and call the Pimpl version. let
988 updateInset call Pimpl version.
990 * BufferView.h: move inset_slept to BufferView::Pimpl, move
991 gotoInset to BufferView::Pimpl
993 2001-06-01 Juergen Vigna <jug@sad.it>
995 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
996 inside a LockingInset (is the update needed at all?).
998 2001-05-31 Juergen Vigna <jug@sad.it>
1000 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1001 here not the old one otherwise how should we compare it afterwards
1004 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1009 * FontInfo.C: bring C functions into global namespace when
1012 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1014 * LString.h: make sure config.h has been loaded before LString.h.
1016 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1017 (one for each char read by EatLine!).
1019 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1022 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1024 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1025 to the same as the par we break from
1027 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1029 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1031 * MenuBackend.C (expand): also create menu entries for wide
1032 versions of the floats.
1034 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1036 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1038 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1039 frontends/Makefile.am
1045 * tabular.C (getTokenValue): add std::
1047 * tabular-old.C (getTokenValue): add std::
1048 (getTokenValue): ditto
1049 (getTokenValue): ditto
1051 * screen.C (ToggleSelection): adjust
1053 * lyxtext.h: put selection cursors inside a Selection struct.
1055 * lyxfunc.C (moveCursorUpdate): adjust
1057 * lyxfont.C (latexWriteStartChanges): add std::
1061 * font.h: delete with(char const *, LyXFont const &)
1063 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1065 * FontInfo.C (getFontname): add std::
1067 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1068 (workAreaButtonPress): adjust
1069 (tripleClick): adjust
1071 (moveCursorUpdate): adjust
1074 * BufferView2.C (gotoInset): adjust
1076 2001-05-30 Juergen Vigna <jug@sad.it>
1078 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1079 to check pspell I add this as default as I now have new pspell
1080 libraries and they seem to use this.
1082 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1084 * text2.C (CutSelection): make the cursor valid before the call to
1087 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1089 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1090 relied on 0 terminated strings and other horrors. Bug found due to
1091 the new assert in lyxstring!
1093 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1096 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1098 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1101 * lyxfunc.C (processKeySym): change method of getting to the
1104 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1105 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1106 * BufferView_pimpl.[Ch]: here as private methods.
1108 2001-05-28 Juergen Vigna <jug@sad.it>
1110 * text.C (SetHeightOfRow): added the update() call again as it is
1111 needed to initialize inset dimensions!
1113 2001-05-16 Juergen Vigna <jug@sad.it>
1115 * text2.C (SetCharFont): Add new function with BufferView * and
1116 bool toggleall parameters for setting insets internal fonts.
1117 (SetFont): Freeze the undo as we may change fonts in Insets and
1118 all this change should be inside only one Undo!
1120 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1121 setting font's in insets as for them we have the SetFont function!
1123 2001-05-15 Juergen Vigna <jug@sad.it>
1125 * text2.C (ClearSelection): to be sure we REALLY don't have any
1128 * tabular.C (TeXCellPreamble): fixed the left border problem for
1131 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1133 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1136 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1138 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1139 LFUN_BREAKPARAGRAPH.
1141 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1142 help test to "internal only", similar for LFUN_INSERT_URL
1144 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1145 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1146 auto_region_delete and deadkeys.
1148 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1151 * LColor.C: remove some dead entries, tidy a little
1153 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1155 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1157 (Dispatch): implement LFUN_ESCAPE
1159 * commandtags.h: add LFUN_ESCAPE
1161 * LyXAction.C (init): add entry for LFUN_ESCAPE
1163 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1164 Remove commented code.
1165 (insertNote): moved here
1166 (open_new_inset): moved here
1168 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1171 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1173 * kbmap.C (findbinding): clean it up and make it work correctly.
1175 * lyx_main.C (init): do not pass argc and argv as parameters
1177 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1179 * buffer.C: fix path for OS/2 & Win32
1183 * lyx_main.C: Added os:: class.
1185 * os2_defines.h: update
1187 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1189 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1190 better by trying again with reduced state.
1192 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1194 * lyxrc.C (read): print error about invalid key sequence only when
1195 debugging (because not all latinX keysyms are known to some X
1198 * kbsequence.C (getiso): add a few std:: qualifiers
1199 (getiso): comment out extra return statement.
1201 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1203 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1205 (Dispatch): enhance the accent inset a bit. (not perfect)
1207 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1209 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1211 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1213 * bufferlist.C (emergencyWrite): fix assert() call
1215 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1217 * text.C (InsertChar): Added trivial patch to only send the "you
1218 can not do multiple spaces this way" message once during a
1221 2001-05-08 Baruch Even <baruch@lyx.org>
1223 * Makefile.am: Changed order of libraries to get LyX to link properly
1224 with the gnome frontend.
1226 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1228 * LaTeXFeatures.h: add a std:: qualifier
1230 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1232 * paragraph.C (String): use stringstream
1234 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1236 * paragraph.C (writeFile): remove footflag arg
1238 * buffer.C (makeLaTeXFile): use stringstream
1239 (latexParagraphs): remove footnot gurba
1241 * LaTeXFeatures.C (getPackages): use stringstream
1242 (getMacros): likewise
1243 (getTClassPreamble): likewise
1244 (getFloatDefinitions): new method
1246 * paragraph.C (writeFile): reindent
1249 * WorkArea.h: revert the xpos + etc changes.
1251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1253 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1255 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1256 (pasteSelection): likewise
1257 * text2.C (CreateUndo): likewise
1259 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1261 * minibuffer.C (peek_event): temporarily reduce the functionality
1262 of the minibuffer (to allow args on lfuns)
1264 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1265 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1267 * buffer.C (readInset): add compability reading of old float
1268 lists, add reading of new style float list.
1269 (readInset): avoid reevaluation of inscmd.getCmdName()
1270 (getLists): reindent
1272 * MenuBackend.C (MenuItem): implement parsing of
1273 md_floatlistinsert and md_floatinsert.
1274 (expand::LastFiles): move initalizaton of iterators out of loop,
1276 (expand::Documents): introduce typdedef vector<string> Strings,
1278 (expand::ExportFormats): introduce typedef vector<Format const *>
1279 Formats, and use it.
1280 (expand): implement FloatListInsert and FloatInsert.
1282 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1283 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1284 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1286 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1288 (Dispatch::LFUN_FLOAT_LIST): implement
1290 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1292 * LaTeX.C (run): Fix problem with --export code.
1294 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1296 * BufferView.[Ch] (workarea): removed.
1297 (getClipboard) new method; wrapper for workarea()->getClipboard()
1299 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1302 * WorkArea.h (width, height, xpos, ypos): These methods all
1303 returned the dimensions of the work_area sub-area of WorkArea,
1304 resulting in a position error if the WorkArea were resized. Now
1305 return the dimensions of the entire WorkArea.
1307 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1309 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1311 * LaTeX.C (deplog): correct the syntax of regex reg1
1313 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1315 * undo.C: remove !NEW_INSETS cruft
1317 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1319 * text2.C: remove !NEW_INSETS cruft
1321 * text.C: remove !NEW_INSETS cruft
1323 * tabular.C: remove !NEW_INSETS cruft
1325 * spellchecker.C: remove !NEW_INSETS cruft
1327 * lyxtext.h: remove !NEW_INSETS cruft
1329 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1331 * lyxfunc.C: remove !NEW_INSETS cruft
1333 * lyxfind.C: remove !NEW_INSETS cruft
1335 * lyx_cb.C: remove !NEW_INSETS cruft
1337 * figureForm.C: remove !NEW_INSETS cruft
1339 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1341 * buffer.[Ch]: remove !NEW_INSETS cruft
1343 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1345 * CutAndPaste.C: remove !NEW_INSETS cruft
1347 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1349 * BufferView2.C: remove !NEW_INSETS cruft
1351 * BufferView.h: remove !NEW_INSETS cruft
1353 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1355 * Lsstream.h: include LString.h before the sstream headers to
1356 fix problem with gcc 2.95.3 and lyxstring
1358 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1360 * lyx_main.C: add using directives when needed for C functions
1361 declared in std:: namespace.
1363 2001-04-27 Juergen Vigna <jug@sad.it>
1365 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1366 (SetHeightOfRow): comment out the update call should not be needed!
1368 2001-04-13 Juergen Vigna <jug@sad.it>
1370 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1371 (LyXTabular): tried to minimize operator= operations (and realized
1372 hopfully Lars wish).
1374 2001-04-27 Juergen Vigna <jug@sad.it>
1376 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1378 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1380 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1382 * buffer.C (readInset): hack to make listof algorithm work
1384 * BufferView_pimpl.C: hack to make listof algorithm work
1386 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1388 * LyXAction.C: removed all !NEW_INSETS cruft
1389 (init): moved lfun_item in method
1391 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1393 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1395 * BufferView2.C (theLockingInset): white space.
1397 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1399 * minibuffer.C: include <iostream>
1401 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1403 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1405 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1407 * text.[Ch] (TransposeChars): new method
1409 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1411 * call message directly through LyXView instead of through LyXFunc
1412 * BufferView2.C: adjust
1413 * BufferView_pimpl.C: adjust
1414 * FontLoader.C: adjust
1416 * bufferview_funcs.C: adjust
1417 * converter.C: adjust
1418 * figureForm.C: adjust
1419 * importer.C: adjust
1421 * lyx_gui_misc.C: adjust
1425 + more files in subdirs
1427 * lyxparagraph.h (size): move up int file
1430 * adjust all uses of Assert to lyx::Assert.
1432 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1433 lyxfunctional in namespace lyx
1434 * layout.C (hasLayout): ditto
1437 (delete_layout): ditto
1438 (NumberOfClass): ditto
1439 * converter.C (GetFormat): ditto
1444 * bufferlist.C (getFileNames): ditto
1445 (emergencyWriteAll): ditto
1448 * MenuBackend.C (hasSubmenu): ditto
1451 * BufferView_pimpl.C (getInsetByCode): ditto
1453 2001-04-18 Juergen Vigna <jug@sad.it>
1455 * vspace.C (asLatexString): fixed the 100% problem.
1457 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1459 * lyxfunc.C (Dispatch):
1461 * minibuffer.h: add a few std:: qualifiers
1463 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1465 * minibuffer.[Ch]: reimplement so that commands is initiated and
1466 run from lyxfunc, simplified som handling, and made the completion
1467 and history code for complete. wip.
1469 * lyxfunc.C (processKeySym): call message
1470 (miniDispatch): new temporary method
1471 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1472 (LFUN_MESSAGE): implement
1473 (LFUN_MESSAGE_PUSH): implement
1474 (LFUN_MESSAGE_POP): implement
1475 (initMiniBuffer): the initial/defualt minibuffer message.
1477 * lyxfont.[Ch]: inline some more getters
1479 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1481 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1483 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1484 (AutoSave): use LFUN_MESSAGE
1485 (Reconfigure): ditto
1487 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1489 * figureForm.C: use LFUN_MESSAGE
1491 * converter.C (runLaTeX): use LFUN_MESSAGE
1493 * bufferview_funcs.C: use LFUN_MESSAGE
1495 (changeDepth): ditto
1497 * bufferparams.h: use boost::
1499 * bufferlist.h: inherit privately from noncopyable
1501 * bufferlist.C (loadLyXFile): remove some commented code.
1503 * buffer.C (runChktex): use LFUN_MESSAGE
1505 * ShareContainer.h: inherit privately from noncopyable
1507 * ParagraphParameters.[hC] (depth): inline it.
1509 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1511 (message): new method
1512 (messagePush): ditto
1514 (show): init minibuffer
1515 (showState): direct call
1517 * LaTeX.[Ch]: inherit privately from noncopyable
1518 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1519 instead of WriteStatus.
1521 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1523 * BufferView_pimpl.C (buffer): don't init minibuffer
1524 (workAreaButtonPress): use LFUN_MESSAGE
1525 (workAreaButtonRelease): ditto
1526 (savePosition): ditto
1527 (restorePosition): ditto
1528 (MenuInsertLyXFile): ditto
1529 (workAreaExpose): don't init minibuffer
1530 (update): remove commented code, simplify
1532 * BufferView2.C (openStuff): use LFUN_MESSAGE
1533 (toggleFloat): ditto
1536 (copyEnvironment): ditto
1537 (pasteEnvironment): ditto
1542 (updateInset): remove some commented code
1544 * lastfiles.h: inherit privately from noncopyable
1549 * lyxlex_pimpl.h: ditto
1551 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1552 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1553 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1555 * LyXAction.h: inherit privately from noncopyable, add methods
1556 func_begin, func_end, returning iterators to the func map.
1558 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1559 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1560 (func_begin): new method
1561 (func_end): new method
1563 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1565 (copySelection): ditto
1566 (pasteSelection): ditto
1568 * BufferView.C: whitespace change
1569 * BufferView.h: inherit privately from noncopyable
1571 2001-04-16 Allan Rae <rae@lyx.org>
1573 * tabular-old.C (l_getline):
1574 * spellchecker.C (sc_check_word):
1575 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1576 an unrecognised preprocessor directive. So ensure they're wrapped.
1578 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1580 * src/exporter.C (Export): Give an error message when path to file
1583 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1585 * LaTeX.C (deplog): Always check that foundfile exists.
1587 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1590 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1592 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1594 * tabular.[Ch] (getLabelList): implement new method
1596 * minibuffer.h: comment ouf setTiimer
1598 * minibuffer.C (ExecutingCB): constify res
1599 (peek_event): constify s
1600 (Set): constify ntext
1601 (Init): constify nicename
1603 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1605 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1606 (savePosition): use two params to Minibuffer::Set
1607 (restorePosition): ditto
1609 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1611 * lyx_main.C: include language.h
1613 * Makefile.am (lyx_main.o): add language.h
1615 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1621 * CutAndPaste.C: include gettext.h
1623 * lyxfont.h: remove old hack with ON and OFF.
1626 * lyxfont.h: do not include language.h...
1631 * bufferview_funcs.C:
1637 * paragraph.C: ... but do it here instead
1639 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1641 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1643 * tabular.C: small reformat
1645 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1648 (BreakParagraph): ditto
1649 (SetOnlyLayout): ditto
1652 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1655 * lastfiles.C: removed most using decl, add std:: where needed
1657 * buffer.C: ws changes
1659 * MenuBackend.C (class compare_format): put into anon namespace
1660 (expand): constify label, names, action, action2
1663 * text.C (SingleWidth): constify font
1664 (IsBoundary): constify rtl2
1665 (GetVisibleRow): constify ww
1667 * LaTeX.C (deplog): constify logfile
1669 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1671 (workAreaExpose): constify widthChange, heightChange
1673 * lyxrow.C (par): moved
1676 * lyxrow.h: as inlines here
1678 * lyxfont.h (shape): moved from lyxfont.C
1679 (emph): moved from lyxfont.C
1681 * lyxfont.C (LyXFont): use initialization list for all
1683 (shape): move to lyxfont.h as inline
1684 (emph): move to lyxfont.h as inline
1687 2001-04-04 Juergen Vigna <jug@sad.it>
1689 * vspace.C: had to include stdio.h for use of sscanf
1691 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1694 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1695 independent of xforms.
1697 2001-04-02 Juergen Vigna <jug@sad.it>
1699 * spellchecker.C: fixed namespace placing!
1701 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1703 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1704 the LyXParagraph * is 0.
1706 2001-03-29 Juergen Vigna <jug@sad.it>
1708 * vspace.C: added support for %, c%, p%, l%.
1709 (stringFromUnit): added helper function.
1710 (asLatexString): changed to give right results for the %-values.
1712 * buffer.C: convert the widthp in a width%.
1714 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1716 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1719 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1720 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1722 * lyx_cb.[Ch]: see above.
1724 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1728 * lyx.[Ch]: replaced by figure_form.[Ch].
1732 * lyxfunc.C: changed headers associated with above changes.
1734 2001-03-27 Juergen Vigna <jug@sad.it>
1736 * BufferView_pimpl.C: set the temporary cursor right!
1738 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1740 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1742 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1744 * LString.h: removed "using std::getline"!
1746 * BufferView_pimpl.C (Dispatch): changes due to changes in
1747 InsetInclude::Params.
1749 * buffer.C (tag_name): removed redundant break statements as they were
1750 producing lots of warnings with my compiler.
1752 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1754 * LString.h: add "using std::getline" when using the real <string>.
1756 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1758 * buffer.C: removed bitset usage.
1759 PAR_TAG moved to an anonymous name space.
1760 (tag_name): new funtion, also in the anonymous namespace.
1761 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1762 (makeDocBookFile): clean code. Completed transition from string arrays
1764 (SimpleDocBookOnePar): code clean.
1766 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1768 * tabular.C: add some comments.
1770 2001-03-22 Juergen Vigna <jug@sad.it>
1772 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1773 compatibility read a bit and fixed bug with minipage in different
1776 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1778 * buffer.C (pop_tag): removed.
1779 (push_tag): removed.
1780 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1781 array replaced with vector. Added support for CDATA sections.
1782 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1784 (makeDocBookFile): XML conformant declaration of CDATA section,
1785 fixed bug related to <emphasis> in the first paragraph char.
1786 (sgmlOpenTag): exclude empty tags.
1787 (sgmlCloseTag): ditto.
1789 * buffer.h (pop_tag): removed.
1790 (push_tag): removed.
1792 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1794 * language.h (Languages): added size_type and size().
1796 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1798 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1799 response on compability reading of minipages. One probliem is that
1800 the old usage of minipages was «flertydig»
1802 * several files here and in subdirs: don't use static at file
1803 scope use anon namespaces instead.
1805 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1807 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1808 LaTeX output. This is necessary for Literate document
1811 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1813 * buffer.C: insert hfill when needed.
1815 * tabular.C (l_getline): use string::erase, small whitespace change.
1817 * BufferView_pimpl.C: try the anon namespace.
1820 2001-03-16 Juergen Vigna <jug@sad.it>
1822 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1823 otherwise it won't open options-dialogs.
1825 * buffer.C: honor pextraWidth(p) on converting minipages.
1827 * tabular.C (l_getline): changed the functions to strip trailing \r.
1829 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1831 * BufferView_pimpl.C:
1832 * minibuffer..C: added "using SigC::slot" declaration.
1834 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1836 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1842 * paragraph.C: ditto
1844 * lyxtext.h: NO_PEXTRA
1846 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1848 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1849 * ParameterStruct.h: ditto
1850 * ParagraphParameters.h: ditto
1851 * lyxparagraph.h: ditto
1853 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1855 * buffer.C: add compability for minipage alignment.
1856 (latexParagraphs): remove unwanted pextra check.
1858 * several files: remove CXX_WORKING_NAMESPACES
1860 * buffer.C (pop_tag): tie is in namespace boost
1862 * BufferView.h: noncopyable is in namespace boost
1867 * lastfiles.h: ditto
1868 * bufferlist.h: ditto
1869 * ShareContainer.h: ditto
1871 * LyXAction.h: ditto
1874 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1876 * Merging changes from BRANCH_MVC back into HEAD.
1878 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1880 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1882 * BufferView_pimpl.C: change from intl.C
1886 * Makefile.am: move combox.*
1892 * intl.C: remove dialog (covered by prefs)
1894 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1896 * lyxfunc.C (Dispatch): removed redundant break statement.
1898 2001-03-14 Juergen Vigna <jug@sad.it>
1900 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1902 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1904 * buffer.C: add hack to fix compability reading of minipages.
1906 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1908 * buffer.C (getLists): Cleanup.
1910 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1912 * lyxfont.C (update): don't honor toggleall on font size.
1914 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1918 * Makefile.am: moved to frontends/xforms/
1922 * BufferView_pimpl.C: changes for moved mathpanel
1924 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1926 * gettext.h: fix gettext_init() in --disable-nls
1928 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1930 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1932 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1935 * lyx.h: strip external form
1937 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1939 * BufferView_pimpl.C: add comment, destroySplash()
1941 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1943 * BufferView_pimpl.C:
1947 * lyxfunc.C: use re-worked insetinclude
1949 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1951 * buffer.C: add using std::stringstream.
1953 * lyx_cb.C: readd using std::ios.
1955 * buffer.C: add using std::map.
1957 * BufferView_pimpl.C: add using std::vector.
1959 * ShareContainer.h: add std:: to swap.
1961 * buffer.h: add some typedefs
1962 * buffer.C (getLists): use them
1963 (getLists): renamed from getTocList.
1964 add a counter for the different float types and use it in the
1966 (getLists): use the same counter for the NEW_INSETS and the "non"
1969 * lyx_cb.h: remove unused items, includes, using etc.
1971 * ShareContainer.h: remove some commented code, add more comments
1972 and "documentation".
1974 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1976 * buffer.C (getTocList): make the list also when NEW_INSETS is
1979 * buffer.h: remove TocType
1981 * buffer.C (getTocList): change to return a map<string,
1982 vector<TocItem> >, implement for dynamic number of list.
1984 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1985 * text2.C (PasteSelection): adjust
1986 * CutAndPaste.C (pasteSelection): adjust
1988 * FloatList.C (FloatList): update from the new_insets branch.
1989 * Floating.[Ch]: ditto
1990 * LaTeXFeatures.C: ditto
1992 * lyxlex_pimpl.C: ditto
1994 * paragraph.C (Last): remove when NEW_INSETS is defined.
1996 * other file: changes because of the above.
1998 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2000 * lyxparagraph.h: rename next to next_, previous to previous_,
2001 make them private for NEW_INSETS. Rename Next() to next(),
2002 Previous() to previous().
2004 * other files: changes because of the above.
2006 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2009 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2012 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2014 * main.C (main): pass lyx_localedir to gettext_init().
2016 * gettext.h: remove locale_init and gettext_init macros
2018 * gettext.C (locale_init): new function
2019 (gettext_init): new function
2021 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2024 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2026 * Moved credits to frontends:
2027 * credits.[Ch]: removed
2028 * credits_form.[Ch]: removed
2029 * lyx_gui_misc.C: remove credits stuff
2032 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2034 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2036 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2037 unneeded destructor.
2039 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2040 a standalone pointer again.
2042 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2044 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2050 * ToolbarDefaults.C:
2059 * BufferView_pimpl.C: use new file dialog in GUII
2062 * lyx_cb.C: remove LayoutsCB to Toolbar
2064 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2066 * ShareContainer.h (get): add std:: qualifier
2068 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2070 * ShareContainer.h: define a proper ShareContainer::value_type
2071 type (and use typename to please compaq cxx)
2073 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2075 * lyxparagraph.h: move serveral local vars to
2076 ParameterStruct/ParagraphParameters., use ShareContainer in
2077 FontTable., make vars in FontTable private and add getter and
2080 * paragraph.C: changes because of the above.
2082 * lyxfont.h: remove copy constructor and copy assignment. (the
2083 default ones is ok), move number inside FontBits. move inlines to
2086 * lyxfont.C: add number to initializaton of statics, move several
2087 inlines here. constify several local vars. some whitespace
2088 cleanup. Dont hide outerscope variables.
2090 * Spacing.h: add two new constructors to match the set methods.
2092 * ShareContainer.h: new file, will perhaps be moved to support
2094 * ParameterStruct.h: new file
2096 * ParagraphParameters.h: new file
2098 * ParagraphParameters.C: new file
2100 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2101 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2103 * BufferView_pimpl.C: ParagraphParameter changes.
2104 * buffer.C: Likewise.
2105 * bufferview_funcs.C: Likewise.
2107 * text2.C: Likewise.
2109 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2111 * lyxfind.C (LyXReplace): do not redefine default argument in
2113 (IsStringInText): ditto
2114 (SearchForward): ditto
2115 (SearchBackward): ditto
2117 2001-03-06 Juergen Vigna <jug@sad.it>
2119 * lyxfind.C (IsStringInText): put parentes around expressions.
2121 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2123 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2125 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2127 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2129 * stl_string_fwd.h: add comment
2131 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2134 * tabular.C: remove unused DocBook methods
2140 killed DO_USE_DEFAULT_LANGUAGE
2142 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2144 * lyx_gui.C: do not include language.h.
2146 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2147 arguments in function implementation.
2149 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2151 * BufferView_pimpl.C: add <ctime>
2153 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2155 * BufferView_pimpl.C: add using std::find_if
2157 2001-02-27 José Matos <jamatos@fep.up.pt>
2159 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2162 2001-02-11 José Matos <jamatos@fep.up.pt>
2164 * buffer.C (makeDocBookFile): command styles now have a parameter as
2167 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2169 * layout_forms.[Ch]: removed
2170 * lyx_cb.[Ch]: out character
2171 * lyx_gui.C: out character
2172 * lyx_gui_misc.C: out character
2173 * bufferview_funcs.C: : out character,
2174 added toggleall as parameter in ToggleAndShow
2176 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2178 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2180 * text2.C (SetCurrentFont): Disable number property at boundary.
2182 2001-02-26 Juergen Vigna <jug@sad.it>
2184 * lyxfunc.C (getStatus): added a string argument override function so
2185 that this is correctly called from LyXFunc::Dispatch if it contains a
2186 do_not_use_argument which is used!
2187 (Dispatch): added check for "custom" export and call appropriate func.
2189 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2191 * lyxrc.C: Add language_command_local, language_use_babel and
2192 language_global_options.
2194 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2196 * buffer.C (makeLaTeXFile): Use language_use_babel and
2197 language_global_options.
2199 2001-02-23 Juergen Vigna <jug@sad.it>
2201 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2202 which works with LyXText and putted it inside BufferView. Here now we
2203 only call for that part the BufferView::Dispatch() function.
2205 * BufferView.C (Dispatch): added.
2207 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2208 functions which needs to use a LyXText over from LyXFunc.
2209 (MenuInsertLyXFile): added
2210 (getInsetByCode): added
2211 (moveCursorUpdate): added
2212 (static TEXT): added
2214 2001-02-22 Juergen Vigna <jug@sad.it>
2216 * BufferView_pimpl.C (update): call a status update to see if LyXText
2219 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2221 * vc-backend.C (revert): implement for CVS
2222 (getLog): implement for CVS
2224 2001-02-20 Juergen Vigna <jug@sad.it>
2226 * text2.C (ClearSelection): added BufferView param for inset_owner call
2228 * lyxfunc.C (TEXT): added this function and use it instead of
2229 directly owner->view()-text of getLyXText().
2231 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2233 * src/layout_forms.C: out preamble
2234 * src/layout_forms.h: out preamble
2235 * src/lyx_cb.C: out preamble
2236 * src/lyx_cb.h: out preamble
2237 * src/lyx_gui.C: out preamble
2238 * src/lyx_gui_misc.C: out preamble
2239 * src/lyxfunc.C: connect with guii preamble
2241 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2243 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2245 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2247 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2248 whether to run bibtex.
2250 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2252 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2254 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2256 * Makefile.am (lyx_SOURCES): removed bibforms.h
2260 * text.C (GetVisibleRow): make several local vars const
2262 * tabular.C: small cleanup.
2264 * lyxserver.C (callback): use compare instead of strncmp
2266 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2267 inlines to after class or to paragraph.C
2269 * lyxfont.h: remove friend operator!=
2271 * converter.h: move friend bool operator< to non friend and after
2274 * combox.h: small cleanup
2276 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2277 to inlines after class def.
2279 * buffer.C (pop_tag): use string operations instead of strcmp
2281 * bmtable.c: doxygen, small cleanup
2283 * LaTeX.h: remove friend operator==
2285 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2297 * BufferView_pimpl.C:
2298 * BufferView.[Ch]: remove cruft
2300 2001-02-14 Juergen Vigna <jug@sad.it>
2302 * lyxfunc.C: removed #if 0 unused code
2304 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2306 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2308 * text2.C (SetSelection): added a BufferView * parameter
2310 2001-02-13 Juergen Vigna <jug@sad.it>
2312 * lyxfunc.C (Dispatch): fixed protected blank problem.
2313 * BufferView2.C (protectedBlank): added LyxText * parameter.
2315 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2316 (AppendColumn): same as above for column_info.
2318 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2319 (moveCursorUpdate): use a LyXText param for support of InsetText.
2321 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2322 (tripleClick): ditto
2324 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2326 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2328 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2330 * text2.C (SetSelection): set correct update status if inset_owner
2333 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2335 * tabular.C: remove some commented code.
2337 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2339 * BufferView_pimpl.C: call hideSplash()
2341 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2344 * bibforms.h: remove
2347 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2348 add LFUN_CHILD_CREATE
2350 * counters.h: fix tiny typo
2355 * lyx.C: move splash to frontends/xforms/
2357 * lyx_gui_misc.C: move Include and Bibform to frontends
2359 * lyxvc.h: clarify comment
2361 * vspace.C: tiny housekeeping
2363 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2365 * text.C (PrepareToPrint): RTL Fix.
2367 * paragraph.C (GetUChar): New method.
2368 (String): Use GetUChar.
2370 * buffer.C (asciiParagraph): Use GetUChar.
2372 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2374 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2376 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2379 * buffer.C: rename to getLogName(), handle
2380 build log / latex log nicely
2382 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2385 * MenuBackend.h: remove support for reference menuitem type.
2387 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2389 * BufferView_pimpl.C: housekeeping
2390 * BufferView_pimpl.h:
2395 * minibuffer.h: move Timeout GUI-I
2397 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2399 * lyxrc.C (read): Update converters data-structures.
2401 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2403 * LaTeX.h (operator!=): add operator != for Aux_Info
2405 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2407 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2409 * LaTeXLog.C: deleted, useful code moved to Buffer
2412 * buffer.C: new function getLatexLogName()
2418 * lyxfunc.C: use frontends for LaTeX and VC logs
2420 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2422 * LaTeX.h: yet another std:: that Allan forgot.
2424 * Variables.C (set): renamed from isset(), because this clashes
2425 with some HP-UX macros (grr).
2427 2001-02-06 Allan Rae <rae@lyx.org>
2429 * LaTeX.h: Another bug fix. Missing std:: this time.
2431 2001-02-04 Allan Rae <rae@lyx.org>
2433 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2434 floats problem. I've left it commented out because it's not quite
2435 correct. It should also test that the current object is a table or
2436 figure inset. But I haven't gotten around to figuring out how to do
2437 that. I *think* it'll be something like: "table" == inset.type()
2439 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2442 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2444 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2445 all the citation/databases/styles in the auxilary file.
2446 (run): Rerun latex if there was a babel language error.
2448 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2450 * text.C (Backspace): Preserve the font when changing newline char
2452 (BreakParagraph): If the cursor is before a space, delete the space.
2454 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2456 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2458 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2459 new argument (code).
2460 (ChangeCitationsIfUnique): New method.
2462 * paragraph.C (GetPositionOfInset): Handle bibkey.
2464 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2466 * BufferView_pimpl.h: change type of Position::par_pos to
2467 LyXParagraph::size_type.
2469 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2471 * BufferView_pimpl.C (savePosition, restorePosition): Write
2472 messages to minibuffer.
2474 2001-01-28 José Matos <jamatos@fep.up.pt>
2476 * buffer.C (makeDocBookFile): adds support for document language.
2477 A silly restriction on the name of LatexCommand types where removed.
2478 Added support for CDATA sections, allows to chars unescaped, used
2479 among others in code, to avoid escape < and >.
2481 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2483 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2484 saved positions instrad of a stack. Furthermore, a position is
2485 stored using paragraph id/paragraph position.
2487 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2488 Remove LFUN_REF_BACK.
2490 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2492 * converter.C (dvipdfm_options): New method.
2494 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2496 * vspace.C (isValidLength): Fix for empty input string.
2498 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2500 * LyXAction.C (init): change description of LFUN_FIGURE to
2503 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2505 * LaTeX.C: add using directive
2507 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2509 * MenuBackend.C (expand): Fix the sorting of the formats.
2511 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2513 * lyx_main.C: tiny error message fix
2515 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2517 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2518 calling fl_initialize(). This fixes the problem with ',' as
2519 decimal separator in text files.
2521 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2523 * trans.C (process): Fix the keymap bug.
2525 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2527 * LaTeX.C (scanAuxFiles): New method. Provides support for
2528 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2529 (scanLogFile) Scan for "run BibTeX" messages.
2531 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2532 OT1 font encoding. Also, load the aecompl package if the ae
2535 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2537 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2539 * texrow.C (increasePos): turn two error messages into debug
2542 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2544 * LaTeX.C (scanAux): Handle the \@input macro.
2545 (runBibTeX): Use scanAux().
2547 * language.C (latex_options_): New field.
2549 * LaTeXFeatures.C (getMacros): Add language macros.
2551 * buffer.C (makeLaTeXFile): Small fix.
2553 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2555 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2557 * text2.C: add a using directive.
2559 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2564 * lyxfunc.C: kill LyXBell.
2566 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2568 * text.C (IsBoundary): Remove the error message
2570 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2572 * lyxrc.C (setDefaults): Correct initialization value for
2575 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2577 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2580 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2583 * src/LyXAction.C: Added reference-next.
2585 * text.C (InsertChar): Use contains instead of strchr.
2587 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2589 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2591 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2592 alignment commands (when needed).
2594 * text.C (InsertChar): Add ':' to number separator chars.