1 2001-08-02 André Pönitz <poenitz@gmx.net>
4 BufferView_pimpl.C: remove broken special code for math-greek
6 2001-08-02 Juergen Vigna <jug@sad.it>
8 * BufferView_pimpl.C (update): redone this function so that we
9 update the text again if there was a CHANGE_IN_DRAW.
11 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12 (drawFromTo): added a new internal bool which is used by draw() and
14 (general): some cursor drawing problems fixed.
16 2001-08-01 Juergen Vigna <jug@sad.it>
18 * lyxfind.C (LyXFind): fixed
19 (SearchForward): ditto
20 (SearchBackward): ditto
22 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
23 spurius drawing of the cursor in the main area.
25 * text2.C (status): small fix which could lead to a segfault!
26 (clearSelection): remove unneeded BufferView param.
28 2001-08-01 André Pönitz <poenitz@gmx.net>
30 * lyxfunc.C: small change due to changed mathed interface
32 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
34 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
36 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
38 * lyxfunc.c: fail gracefully if file doesn't exist
43 * BufferView_pimpl.C: IsDirWriteable() proto changed
45 * LyXView.C: fix updateWindowTitle() to store the last title
47 2001-07-31 Juergen Vigna <jug@sad.it>
49 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
50 the font (wrong since using of Paragraph::highestFontInRange).
52 * paragraph.C (highestFontInRange): added a default_size parameter.
54 * text.C (getVisibleRow): minor clear row changes (still not perfect).
55 (setHeightOfRow): reformat
57 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * converter.[hC] + affected files: move to (inital-char)lowercase
62 * ParagraphParameters.C (ParagraphParameters): remove commented code
64 * PainterBase.[Ch]: remove commented code
66 * LaTeXFeatures.h: add "bool floats" for float.sty
68 * LaTeXFeatures.C (LaTeXFeatures): init floats
69 (require): handle float
70 (getPackages): do it with floats
72 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
74 * BufferView_pimpl.C (Dispatch): improve handling of
75 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
77 * commandtags.h: #include lyxfont.h here temporarily to avoid
80 * bufferlist.h: include LString.h here.
82 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
84 * text2.C (getStringToIndex): new method.
86 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
88 * *: Reduced header file dependencies all over.
90 2001-07-30 Baruch Even <baruch@lyx.org>
92 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
94 2001-07-29 Baruch Even <baruch@lyx.org>
96 * buffer.C (readInset): Changed GRAPHICS to Graphics.
98 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
100 * ParameterStruct.h (endif): add a default constructor to make
101 sure that all variables is initialized.
103 * ParagraphParameters.C (ParagraphParameters): adjust
105 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
107 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
108 index; also, check that there is something to index, and that it
109 does not span over several paragraphs.
110 (doubleClick): use WHOLE_WORD_STRICT for double click.
112 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
114 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
117 2001-07-26 Baruch Even <baruch@lyx.org>
119 * buffer.C (readInset): Changed to call up InsetGraphics when reading
120 an InsetFig figure, backwards compatible reading of old figure code.
122 2001-07-27 Juergen Vigna <jug@sad.it>
124 * text2.C: font.realize function adaption.
126 * text.C (draw): add a warnings lyxerr text if needed.
128 * layout.C: font.realize function adaption.
130 * language.C: add inherit_language and implement it's handlings
132 * bufferview_funcs.C (StyleReset): remove language parameter from
133 font creation (should be language_inherit now).
135 * bufferparams.C (writeFile): handle ignore_language.
137 * paragraph.C (getFontSettings): the language has to be resolved
138 otherwise we have problems in LyXFont!
140 * lyxfont.C (lyxWriteChanges): added document_language parameter
141 (update): removed unneeded language parameter
143 * paragraph.C (validate): fixed wrong output of color-package when
144 using interface colors for certain fonts in certain environments,
145 which should not seen as that on the final output.
147 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
149 * BufferView_pimpl.C:
154 * LyXAction.C: add thesaurus support
157 * lyxfind.C: add "once" parameter, for thesaurus, to not
158 move to the next match
160 2001-07-26 Juergen Vigna <jug@sad.it>
162 * lyxfont.C (realize): honor ignore_language too!
165 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
167 * text.C (draw): one place more for ignore_language to not draw
170 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
172 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
174 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
176 * buffer.C (parseSingleLyXformat2Token): a more general fix for
177 the minipage conversion problem.
179 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
181 * buffer.C (parseSingleLyXformat2Token): check minipage if we
184 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * BufferView.h: don't forward declare WorkArea
188 * BufferView.C: don't include WorkArea.h
190 2001-07-25 André Pönitz <poenitz@gmx.net>
194 * lyxfunc.C: new LFUN 'math-space'
196 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
198 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
200 * text2.C (toggleInset): call open/close
202 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
204 * lyxfunc.C (dispatch): add debug for the disabled case
206 * font.C (buttonText): make similar to rectText
208 * buffer.C (readInset): comment out parsing of insetlist and
211 * PainterBase.C (rectText): small correction
213 * BufferView_pimpl.C: comment out insettheorem and insetlist
215 * commandtags.h: ditto
217 2001-07-24 Juergen Vigna <jug@sad.it>
219 * text.C (draw): honor the ignore_language.
221 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
223 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
225 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
228 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * lyxtext.h: remove unused (and unimplemented) methods
232 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * text.C (getVisibleRow): honor background color
237 * Painter.h: remove default color argument for fillRectangle
239 * text.C (backgroundColor): new method
241 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
243 * text.C (getVisibleRow): adjust
245 * font.[Ch] (rectText): new method, metrics
246 (buttonText): new method, metrics
248 * PainterBase.[hC]: make rectText and buttonText always draw and take
251 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * ToolbarDefaults.C (read):
254 * MenuBackend.C (read): allow escaping in all strings
256 * BufferView_pimpl.C (insertAndEditInset): new method.
257 (Dispatch): use insertAndEditInset whenever appropriate.
259 * BufferView_pimpl.C (insertNote): removed
261 * BufferView_pimpl.C (smartQuote): new method, moved from
262 BufferView; if an insetquote cannot be inserted, insert a '"'
265 * BufferView2.C: remove insertCorrectQuote();
267 * lyxfunc.C (getStatus): Add support for all remaingin
270 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
272 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
273 command (necessary to pass " as parameter of self-insert.
275 * text.C (selectWordWhenUnderCursor):
276 (selectWord): add word_location parameter
277 (selectWordWhenUnderCursor): same + remove special code for word
279 (selectNextWord): use kind() to guess type of insetspecialchar,
282 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
283 (insertErtContents): create ert insets as collapsed.
284 (readInset): better compatibility code for Info inset.
286 2001-07-20 Juergen Vigna <jug@sad.it>
288 * lyxfunc.C (dispatch): use always LyXFind now!
290 * text2.C (init): add a reinit flag so that the LyXText can be
291 reinited instead of deleted and reallocated (used in InsetText).
293 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
299 2001-07-18 Juergen Vigna <jug@sad.it>
301 * text.C (selectNextWord): handle insets inside inset by calling
302 always the bv->text functions so that we can go up the_locking_inset!
304 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
305 in strange locations when inside an inset!
307 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
308 handling to include insets.
310 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
312 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
314 * LyXAction.C (init):
316 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
317 LIGATURE_BREAK, since the name is so stupid.
319 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
321 * buffer.C (readInset): enable reading of new InsetNotes as well as old
324 * FontLoader.C: remove FORMS_H_LOCATION cruft.
326 * sp_form.[Ch]: remove.
328 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
330 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
333 * src/buffer.C (readInset): ditto.
335 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * BufferView_pimpl.C (specialChar): new method. Obsoletes
338 menuSeparator(), endOfSentenceDot(), ldots() and
339 hyphenationPoint(), which are therefore removed.
340 (Dispatch): handle LFUN_HYPHENATION_BREAK.
342 * LyXAction.C (init):
343 * commandtags.h: add LFUN_HYPHENATION_BREAK.
345 * paragraph.C (getWord): removed.
347 * BufferView_pimpl.C (Dispatch): use last word or selection for
348 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
350 * lyx_main.C (queryUserLyXDir): do not ask before creating
351 user_dir, except if it has been named explicitely.
353 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
355 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
356 a document of zero size.
358 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
360 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
361 approriately in the c-tor and in require().
362 (getPackages): output the appropriate LaTeX for natbib support.
364 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
365 variables "use_natbib" and "use_numerical_citations" when reading the
367 (readInset): read the various natbib cite commands.
368 (validate): white-space change.
370 * bufferparams.[Ch]: new variables "bool use_natbib" and
371 "bool use_numerical_citations".
372 (writeFile): output them in the LyX file.
374 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * lyxfunc.C (getStatus): add support for all the inset insertion
379 * text2.C (insertInset):
380 * paragraph.C (insetAllowed):
381 * BufferView_pimpl.C (insertInset): update to take in account the
382 renaming of insertInsetAllowed
384 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
386 * text2.C (getInset): new method. returns inset at cursor position.
388 * BufferView_pimpl.C (Dispatch): changes because of this.
390 * LyXAction.C (init): rename open-stuff to inset-toggle.
392 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
394 * text2.C (toggleInset): renamed from openStuff; use
397 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
399 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
401 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
403 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
405 * buffer.C (readLyXformat2): Add filename to the error dialog
407 2001-07-18 Juergen Vigna <jug@sad.it>
409 * tabular.C (GetCellNumber): put an assert here instead of the check!
411 2001-07-17 Juergen Vigna <jug@sad.it>
413 * BufferView_pimpl.C (toggleSelection): adapted too.
415 * text.C (selectNextWord): adapted for use with insets.
416 (selectSelectedWord): ditto
418 2001-07-17 Juergen Vigna <jug@sad.it>
420 * sp_spell.C (PSpell): fix initialitation order.
422 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
424 * paragraph.C: spacing
426 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
428 * sp_spell.C: repair language selection for pspell
430 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
432 * lyxfunc.h: change more methods to begin with lower char.
434 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
436 * buffer.C (parseSingleLyXformat2Token): Generate error insets
439 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
441 * buffer.C (readLyXformat2): Generate an error dialog if there are
444 2001-07-16 Juergen Vigna <jug@sad.it>
446 * sp_spell.C: always compile ISpell part.
448 * lyxrc.C: added use_pspell entry and it's handling.
450 2001-07-13 Juergen Vigna <jug@sad.it>
452 * sp_spell.C: removed double includes.
454 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
456 Consistent use of Lsstream.h:
457 * Lsstream.h: added using std::stringstream for consistencies sake.
459 * buffer.C: removed using std::stringstream
461 * lyxfont.C (stateText):
462 * paragraph.C (asString):
463 * text.C (selectNextWord, selectSelectedWord):
464 * text2.C (setCounter):
465 * vspace.C (asString, asLatexString):
466 std::ostringstream -> ostringstream.
468 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
470 * LyXAction.C: add LFUN_HELP_ABOUTLYX
471 * commandtags.h: add LFUN_HELP_ABOUTLYX
472 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
474 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
476 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
478 * lyx_gui_misc.C: remove spellchecker
479 * lyxfunc.C: showSpellchecker
484 * sp_form.[Ch]: removed
485 * spellchecker.[Ch]: removed
487 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
489 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
491 (simpleTeXSpecialChars): Simply print the input character without
492 any special translation if pass_thru is set.
494 * layout.h: Added bool pass_thru to layout class for being able to
495 implement pass through of a paragraph for Literate Programming.
497 * layout.C: add LT_PASS_THRU to LayoutTags enum.
498 * layout.C (LyXLayout): set pass_thru to flase in constructor.
499 * layout.C (Read): add "passthru" to list of layout tags and add
500 code to set the pass_thru boolean when it is read.
502 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
504 * trans_decl.h: remove allowed from KmodInfo
506 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
510 * paragraph_pimpl.C (erase): use boost::prior
512 * Painter.C (text): use data() instead of c_str() when length is
514 * WorkArea.C (putClipboard): ditto
515 * font.h (width): ditto
517 * BufferView2.C: use it-> instead of (*it). for iterators
519 * paragraph_pimpl.C: ditto
521 * minibuffer.C: ditto
530 * MenuBackend.C: ditto
535 * ColorHandler.C (LyXColorHandler): ditto
537 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
539 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
541 * text2.C (openStuff): reintroduce this method (which had been
542 nuked in NEW_INSETS frenzy).
544 * lyxfunc.C (Dispatch): when an action has not been handled, use
545 its name in the error message, not its number.
547 * paragraph.C (inInset): change method name to begin with lowercase.
550 * text2.C: updates because of this.
552 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
554 * ToolbarDefaults.C (add): add spaces in error message
556 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
558 * buffer.C (readLyXformat2): initialize the ert comp. variables.
559 (readLyXformat2): rename return_par to first_par, use lyxlex's
560 pushToken and remove the manual push handling.
561 (parseSingleLyXformat2Token): add another ert comp. variable:
562 in_tabular, rename return_par to first_par. handle newlines better
564 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
566 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
568 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
570 * text2.C (getParFromID): removed
572 * buffer.C (getParFromID): new method moved form lyxtext.
573 * BufferView2.C (insertErrors): adjust
574 (setCursorFromRow): adjust
575 * BufferView_pimpl.C (restorePosition): adjust
576 * lyxfunc.C (Dispatch): adjust
577 * undo_funcs.C (textUndo): adjust
579 (textHandleUndo): adjust
580 (textHandleUndo): adjust
582 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
584 * buffer.C: up' the LYX_FORMAT
586 * lyxfont.h: turn NO_LATEX on as default
588 * buffer.C (insertErtContents): new methods of tex style compability.
589 (parseSingleLyXformat2Token): use it several places.
590 * tabular.C (OldFormatRead): and here
592 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * text2.C: remove some commented code.
597 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
598 * trans.C: changes because of the above.
600 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
602 * text2.C (setCounter): Fix counters bug with bibliography layout.
604 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
606 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
608 (simpleTeXSpecialChars): ditto
610 2001-07-06 Juergen Vigna <jug@sad.it>
612 * a lot of files: changed the access to LyXText::status and the
613 call of undo-functions.
615 * undo.[Ch]: added a inset_id to the undo informations.
617 * undo_funcs.[Ch]: added and moved here all undo functions.
619 * lyxtext.h: give the status enum a weight, made status_ a private
620 variable and made accessor functions for it, removed the whole bunch
621 of undo-functions as they are now in their own file, make some
622 functions publically available. Added function ownerParagraph with
625 * paragraph.[Ch]: added "bool same_ids" to the constructor,
626 made InInset() a const function, added getParFromID() function.
628 * buffer.[Ch]: added const version for inset_iterator functions,
629 added getInsetFromID() function.
631 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
632 changed undo functions for new version.
634 2001-07-05 Juergen Vigna <jug@sad.it>
636 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
637 unknow mechanism does not call the proper constructor but only this
638 one also if I request the other!?
640 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
642 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
644 * text2.C (LyXText): use initialization lists.
646 * lyxtext.h (Selection): initialize set_ and mark_
647 (init): remove method
649 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
651 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
653 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
655 * screen.[Ch]: change method names to begin with lowercase
657 * BufferView_pimpl.C (updateScrollbar): simplify further and
658 hopefully make it a bit faster.
660 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
662 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
663 calling directly xforms functions.
665 * Painter.C (Painter):
666 * lyx_cb.C (MenuWrite):
667 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
670 * lyx_gui.C: remove bogus guiruntime extern declaration.
672 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
674 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
676 (redoDrawingOfParagraph): ditto
677 (redoParagraphs): ditto
678 (cutSelection): don't create a object for CutAndPaste use the
679 static method directly
680 (pasteSelection): ditto
682 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
685 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
687 * modifications to some other files because of this.
689 * Makefile.am (lyx_SOURCES): add XFormsView
691 * XFormsView.[Ch]: new files
693 * LyXView.[Ch]: make LyXView a base class for the gui handling for
694 the main window. Move the gui dependent stuff to XFormsView
696 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
698 * tabular.C (GetCellInset): update cur_cell also in the row/col
699 version of this function.
701 * lyxfunc.C: no need to include figure_form.h here.
707 * lyxvc.C: no need to include forms.h here.
709 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
711 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
713 * lyxfunc.C (Dispatch):
715 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
716 constructor argument.
718 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
720 * paragraph.C (Paragraph): dont't clear, and just set layout.
721 (makeSameLayout): use params's copy contructor.
723 * ParagraphParameters.[Ch] (makeSame): delete method
725 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
727 * Variables.[Ch]: fix indentation, rename set to isSet
729 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
731 * lyxfunc.C (Dispatch): fix typo
733 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
735 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
738 * bufferlist.C: include assert.h for emergencyWrite().
740 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
742 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
743 give up at last (bug #425202) !
745 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
751 * spellchecker.C: strip spellchecker options and bring up
752 preferences tab instead
754 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
756 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
757 the istringstream constructor
759 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
761 * paragraph.C (getLayout): fix return value
763 * paragraph.h: do not declare getLayout as inline.
765 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
767 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
769 * lyxcursor.h (operator<): new func
770 (operator>): new func
771 (operator>=): new func
772 (operator<=): new func
774 * text.C (changeCase): use selection.start and selection.end
775 (changeRegionCase): require from to be <= to. Require par to be a
778 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
780 2001-06-27 Juergen Vigna <jug@sad.it>
782 * text.C (cursorLeftOneWord): changed to return the cursor and added
783 overlay with BufferView * parameter which calls this one.
785 (selectWord): use new getWord function.
786 (changeCase): renamed from changeWordCase as and extended to work
789 * lyxtext.h: added enum word_location
791 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
792 changeCase as this operates now also on selections.
794 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
796 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
798 * many files: send debug output to Debug::INFO instead of
801 * converter.C (View):
803 (Move): send debug output to Debug::FILES instead of console.
805 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
807 * lyxfunc.C (getStatus): use func_status
809 * func_status.h: new header, describing the results of
812 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
815 2001-06-25 The LyX Project <jug@sad.it>
817 * buffer.C (sgmlOpenTag):
819 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
821 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
823 * text2.C: remove some dead code
825 * tabular.C (GetCellInset): store the last cell checked (gotten)
827 * tabular.h: add the helper for the speedup
829 * lyxtext.h: remove some dead code
831 2001-06-26 The LyX Project <Asger>
833 * paragraph.C: Change export to LaTeX of alignment to
834 \begin{center} and family for better roundtrip work with reLyX.
836 * Tune the math drawing a bit.
838 2001-06-25 The LyX Project <Asger>
840 * LColor.C (LColor): New color for math background. New color
843 2001-06-25 The LyX Project <jug@sad.it>
845 * lyxfunc.C (MenuNew): remove extra check for .lyx file
848 * bufferlist.C (newFile): do not restrict to files ending with
851 * BufferView_pimpl.C (MenuInsertLyXFile):
853 2001-06-24 The LyX Project <jug@sad.it>
855 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
858 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
860 * lyxtext.h: rename most methods to begin with a small char.
861 Lots of changes because of this.
863 * paragraph.C (Paragraph): do not call fitToSize
864 (erase): call Pimpl::erase
865 (insertChar): call Pimpl::insertChar
866 (insertInset): call Pipl::insertInset
867 (breakParagraph): do not call fitToSize
868 (breakParagraphConservative): do not call fitToSize
869 (fitToSize): remove method
871 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
873 2001-06-24 The LyX Project <Asger>
875 * Fix Qt compilation^2
877 2001-06-24 The LyX Project <jug@sad.it>
879 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
880 depthHook(getDepth()-1).
883 * ParagraphParameters.h:
884 * ParameterStruct.h: change type of depth to unsigned int ==
885 depth_type. Many adaptations to other files before of that.
887 2001-06-24 The LyX Project <Asger>
889 * Fix Qt compilation.
891 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
893 * paragraph.h: renamed several methods to begin with small letter.
894 several changes to many parts of the code because of this.
896 2001-06-23 The LyX Project <jug@sad.it>
898 * text2.C (InsertStringAsLines): renamed from InsertStringA;
899 rewritten to discard all double spaces when KeepEmpty is off
900 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
901 to only handle newlines but not fiddle with spaces and friends.
903 * lyxfunc.C (MenuNew): when doing 'new from template', use
904 template_path as default directory
906 2001-06-23 The LyX Project <Asger>
908 * Clean-up of header file includes all over
909 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
911 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
913 * paragraph.h: renamed from lyxparagraph.h
915 2001-06-23 Asger <lyx@violet.home.sad.it>
917 * Buffer.h: Removed Buffer::resize
918 * BufferList.h: Removed BufferList::resize
919 * LyXView.h: Added LyXView::resize. This way, we will only reflow
920 the document lazily when we change the width, or the font settings.
922 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
924 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
926 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
928 * buffer.h: remove out of date comment
930 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
933 * screen.C: fix "theoretical" GC leak
935 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
937 * LaTeX.C (scanAuxFile):
938 (deplog): remove trailing \r when reading stream (useful under
941 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
943 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
944 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
945 and BufferView::theLockingInset(Inset*), so should use them and not
946 access bv_->text->the_locking_inset directly.
948 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
950 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
953 * tex-defs.h: remove old unused file
955 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
957 * BufferView_pimpl.C: fix typo, remove minibuffer message
958 when buffer has loaded
960 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
962 * lyxfunc.C (Dispatch): use stringstream
963 (MenuNew): use stringstream
964 (Open): use stringstream
966 * importer.C (Import): use stringstream
968 * bufferview_funcs.C (CurrentState): use stringstream
970 * LaTeX.C (run): use stringstream
972 * BufferView_pimpl.C (savePosition): use stringstream
973 (restorePosition): use stringstream
974 (MenuInsertLyXFile): use stringstream
976 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
989 * vspace.C: removed // -*- C++ -*- as first line.
992 * version.h: added // -*- C++ -*- as first line.
994 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
996 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
998 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1001 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1003 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1006 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1008 * gettext.C: include LString.h even when --disable-nls is on.
1010 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1012 * converter.h (Get): changed argument type from int to
1013 FormatList::size_type to avoid unnecessary conversion.
1015 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1018 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1020 * gettext.h: include LString.h even when --disable-nls is on.
1022 2001-06-07 Juergen Vigna <jug@sad.it>
1024 * text.C (BreakAgain): subst spaces with tabs.
1026 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1027 (resizeInsetsLyXText): set force on resizeLyXText.
1029 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1031 * gettext.h (gettext_init):
1032 (locale_init): use a real definition instead of a macro
1034 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1036 * Bufferview_pimpl.C:
1038 * LColor.C: further lcolor tidies
1040 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1042 * BufferView_pimpl.C (updateScrollbar): simplify.
1044 * BufferView2.C: don't include insets/insetinfo.h, change
1045 prototype for insertInset and call the Pimpl version. let
1046 updateInset call Pimpl version.
1048 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1049 gotoInset to BufferView::Pimpl
1051 2001-06-01 Juergen Vigna <jug@sad.it>
1053 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1054 inside a LockingInset (is the update needed at all?).
1056 2001-05-31 Juergen Vigna <jug@sad.it>
1058 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1059 here not the old one otherwise how should we compare it afterwards
1062 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1067 * FontInfo.C: bring C functions into global namespace when
1070 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1072 * LString.h: make sure config.h has been loaded before LString.h.
1074 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1075 (one for each char read by EatLine!).
1077 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1080 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1082 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1083 to the same as the par we break from
1085 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1087 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1089 * MenuBackend.C (expand): also create menu entries for wide
1090 versions of the floats.
1092 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1094 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1096 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1097 frontends/Makefile.am
1103 * tabular.C (getTokenValue): add std::
1105 * tabular-old.C (getTokenValue): add std::
1106 (getTokenValue): ditto
1107 (getTokenValue): ditto
1109 * screen.C (ToggleSelection): adjust
1111 * lyxtext.h: put selection cursors inside a Selection struct.
1113 * lyxfunc.C (moveCursorUpdate): adjust
1115 * lyxfont.C (latexWriteStartChanges): add std::
1119 * font.h: delete with(char const *, LyXFont const &)
1121 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1123 * FontInfo.C (getFontname): add std::
1125 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1126 (workAreaButtonPress): adjust
1127 (tripleClick): adjust
1129 (moveCursorUpdate): adjust
1132 * BufferView2.C (gotoInset): adjust
1134 2001-05-30 Juergen Vigna <jug@sad.it>
1136 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1137 to check pspell I add this as default as I now have new pspell
1138 libraries and they seem to use this.
1140 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1142 * text2.C (CutSelection): make the cursor valid before the call to
1145 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1147 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1148 relied on 0 terminated strings and other horrors. Bug found due to
1149 the new assert in lyxstring!
1151 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1154 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1156 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1159 * lyxfunc.C (processKeySym): change method of getting to the
1162 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1163 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1164 * BufferView_pimpl.[Ch]: here as private methods.
1166 2001-05-28 Juergen Vigna <jug@sad.it>
1168 * text.C (SetHeightOfRow): added the update() call again as it is
1169 needed to initialize inset dimensions!
1171 2001-05-16 Juergen Vigna <jug@sad.it>
1173 * text2.C (SetCharFont): Add new function with BufferView * and
1174 bool toggleall parameters for setting insets internal fonts.
1175 (SetFont): Freeze the undo as we may change fonts in Insets and
1176 all this change should be inside only one Undo!
1178 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1179 setting font's in insets as for them we have the SetFont function!
1181 2001-05-15 Juergen Vigna <jug@sad.it>
1183 * text2.C (ClearSelection): to be sure we REALLY don't have any
1186 * tabular.C (TeXCellPreamble): fixed the left border problem for
1189 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1191 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1194 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1196 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1197 LFUN_BREAKPARAGRAPH.
1199 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1200 help test to "internal only", similar for LFUN_INSERT_URL
1202 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1203 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1204 auto_region_delete and deadkeys.
1206 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1209 * LColor.C: remove some dead entries, tidy a little
1211 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1213 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1215 (Dispatch): implement LFUN_ESCAPE
1217 * commandtags.h: add LFUN_ESCAPE
1219 * LyXAction.C (init): add entry for LFUN_ESCAPE
1221 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1222 Remove commented code.
1223 (insertNote): moved here
1224 (open_new_inset): moved here
1226 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1229 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1231 * kbmap.C (findbinding): clean it up and make it work correctly.
1233 * lyx_main.C (init): do not pass argc and argv as parameters
1235 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1237 * buffer.C: fix path for OS/2 & Win32
1241 * lyx_main.C: Added os:: class.
1243 * os2_defines.h: update
1245 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1247 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1248 better by trying again with reduced state.
1250 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1252 * lyxrc.C (read): print error about invalid key sequence only when
1253 debugging (because not all latinX keysyms are known to some X
1256 * kbsequence.C (getiso): add a few std:: qualifiers
1257 (getiso): comment out extra return statement.
1259 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1261 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1263 (Dispatch): enhance the accent inset a bit. (not perfect)
1265 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1267 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1269 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1271 * bufferlist.C (emergencyWrite): fix assert() call
1273 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1275 * text.C (InsertChar): Added trivial patch to only send the "you
1276 can not do multiple spaces this way" message once during a
1279 2001-05-08 Baruch Even <baruch@lyx.org>
1281 * Makefile.am: Changed order of libraries to get LyX to link properly
1282 with the gnome frontend.
1284 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1286 * LaTeXFeatures.h: add a std:: qualifier
1288 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1290 * paragraph.C (String): use stringstream
1292 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1294 * paragraph.C (writeFile): remove footflag arg
1296 * buffer.C (makeLaTeXFile): use stringstream
1297 (latexParagraphs): remove footnot gurba
1299 * LaTeXFeatures.C (getPackages): use stringstream
1300 (getMacros): likewise
1301 (getTClassPreamble): likewise
1302 (getFloatDefinitions): new method
1304 * paragraph.C (writeFile): reindent
1307 * WorkArea.h: revert the xpos + etc changes.
1309 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1311 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1313 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1314 (pasteSelection): likewise
1315 * text2.C (CreateUndo): likewise
1317 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1319 * minibuffer.C (peek_event): temporarily reduce the functionality
1320 of the minibuffer (to allow args on lfuns)
1322 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1323 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1325 * buffer.C (readInset): add compability reading of old float
1326 lists, add reading of new style float list.
1327 (readInset): avoid reevaluation of inscmd.getCmdName()
1328 (getLists): reindent
1330 * MenuBackend.C (MenuItem): implement parsing of
1331 md_floatlistinsert and md_floatinsert.
1332 (expand::LastFiles): move initalizaton of iterators out of loop,
1334 (expand::Documents): introduce typdedef vector<string> Strings,
1336 (expand::ExportFormats): introduce typedef vector<Format const *>
1337 Formats, and use it.
1338 (expand): implement FloatListInsert and FloatInsert.
1340 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1341 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1342 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1344 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1346 (Dispatch::LFUN_FLOAT_LIST): implement
1348 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1350 * LaTeX.C (run): Fix problem with --export code.
1352 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1354 * BufferView.[Ch] (workarea): removed.
1355 (getClipboard) new method; wrapper for workarea()->getClipboard()
1357 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1360 * WorkArea.h (width, height, xpos, ypos): These methods all
1361 returned the dimensions of the work_area sub-area of WorkArea,
1362 resulting in a position error if the WorkArea were resized. Now
1363 return the dimensions of the entire WorkArea.
1365 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1367 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1369 * LaTeX.C (deplog): correct the syntax of regex reg1
1371 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1373 * undo.C: remove !NEW_INSETS cruft
1375 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1377 * text2.C: remove !NEW_INSETS cruft
1379 * text.C: remove !NEW_INSETS cruft
1381 * tabular.C: remove !NEW_INSETS cruft
1383 * spellchecker.C: remove !NEW_INSETS cruft
1385 * lyxtext.h: remove !NEW_INSETS cruft
1387 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1389 * lyxfunc.C: remove !NEW_INSETS cruft
1391 * lyxfind.C: remove !NEW_INSETS cruft
1393 * lyx_cb.C: remove !NEW_INSETS cruft
1395 * figureForm.C: remove !NEW_INSETS cruft
1397 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1399 * buffer.[Ch]: remove !NEW_INSETS cruft
1401 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1403 * CutAndPaste.C: remove !NEW_INSETS cruft
1405 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1407 * BufferView2.C: remove !NEW_INSETS cruft
1409 * BufferView.h: remove !NEW_INSETS cruft
1411 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1413 * Lsstream.h: include LString.h before the sstream headers to
1414 fix problem with gcc 2.95.3 and lyxstring
1416 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1418 * lyx_main.C: add using directives when needed for C functions
1419 declared in std:: namespace.
1421 2001-04-27 Juergen Vigna <jug@sad.it>
1423 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1424 (SetHeightOfRow): comment out the update call should not be needed!
1426 2001-04-13 Juergen Vigna <jug@sad.it>
1428 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1429 (LyXTabular): tried to minimize operator= operations (and realized
1430 hopfully Lars wish).
1432 2001-04-27 Juergen Vigna <jug@sad.it>
1434 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1436 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1438 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1440 * buffer.C (readInset): hack to make listof algorithm work
1442 * BufferView_pimpl.C: hack to make listof algorithm work
1444 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1446 * LyXAction.C: removed all !NEW_INSETS cruft
1447 (init): moved lfun_item in method
1449 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1451 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1453 * BufferView2.C (theLockingInset): white space.
1455 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1457 * minibuffer.C: include <iostream>
1459 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1461 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1463 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1465 * text.[Ch] (TransposeChars): new method
1467 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1469 * call message directly through LyXView instead of through LyXFunc
1470 * BufferView2.C: adjust
1471 * BufferView_pimpl.C: adjust
1472 * FontLoader.C: adjust
1474 * bufferview_funcs.C: adjust
1475 * converter.C: adjust
1476 * figureForm.C: adjust
1477 * importer.C: adjust
1479 * lyx_gui_misc.C: adjust
1483 + more files in subdirs
1485 * lyxparagraph.h (size): move up int file
1488 * adjust all uses of Assert to lyx::Assert.
1490 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1491 lyxfunctional in namespace lyx
1492 * layout.C (hasLayout): ditto
1495 (delete_layout): ditto
1496 (NumberOfClass): ditto
1497 * converter.C (GetFormat): ditto
1502 * bufferlist.C (getFileNames): ditto
1503 (emergencyWriteAll): ditto
1506 * MenuBackend.C (hasSubmenu): ditto
1509 * BufferView_pimpl.C (getInsetByCode): ditto
1511 2001-04-18 Juergen Vigna <jug@sad.it>
1513 * vspace.C (asLatexString): fixed the 100% problem.
1515 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1517 * lyxfunc.C (Dispatch):
1519 * minibuffer.h: add a few std:: qualifiers
1521 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1523 * minibuffer.[Ch]: reimplement so that commands is initiated and
1524 run from lyxfunc, simplified som handling, and made the completion
1525 and history code for complete. wip.
1527 * lyxfunc.C (processKeySym): call message
1528 (miniDispatch): new temporary method
1529 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1530 (LFUN_MESSAGE): implement
1531 (LFUN_MESSAGE_PUSH): implement
1532 (LFUN_MESSAGE_POP): implement
1533 (initMiniBuffer): the initial/defualt minibuffer message.
1535 * lyxfont.[Ch]: inline some more getters
1537 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1539 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1541 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1542 (AutoSave): use LFUN_MESSAGE
1543 (Reconfigure): ditto
1545 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1547 * figureForm.C: use LFUN_MESSAGE
1549 * converter.C (runLaTeX): use LFUN_MESSAGE
1551 * bufferview_funcs.C: use LFUN_MESSAGE
1553 (changeDepth): ditto
1555 * bufferparams.h: use boost::
1557 * bufferlist.h: inherit privately from noncopyable
1559 * bufferlist.C (loadLyXFile): remove some commented code.
1561 * buffer.C (runChktex): use LFUN_MESSAGE
1563 * ShareContainer.h: inherit privately from noncopyable
1565 * ParagraphParameters.[hC] (depth): inline it.
1567 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1569 (message): new method
1570 (messagePush): ditto
1572 (show): init minibuffer
1573 (showState): direct call
1575 * LaTeX.[Ch]: inherit privately from noncopyable
1576 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1577 instead of WriteStatus.
1579 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1581 * BufferView_pimpl.C (buffer): don't init minibuffer
1582 (workAreaButtonPress): use LFUN_MESSAGE
1583 (workAreaButtonRelease): ditto
1584 (savePosition): ditto
1585 (restorePosition): ditto
1586 (MenuInsertLyXFile): ditto
1587 (workAreaExpose): don't init minibuffer
1588 (update): remove commented code, simplify
1590 * BufferView2.C (openStuff): use LFUN_MESSAGE
1591 (toggleFloat): ditto
1594 (copyEnvironment): ditto
1595 (pasteEnvironment): ditto
1600 (updateInset): remove some commented code
1602 * lastfiles.h: inherit privately from noncopyable
1607 * lyxlex_pimpl.h: ditto
1609 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1610 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1611 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1613 * LyXAction.h: inherit privately from noncopyable, add methods
1614 func_begin, func_end, returning iterators to the func map.
1616 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1617 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1618 (func_begin): new method
1619 (func_end): new method
1621 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1623 (copySelection): ditto
1624 (pasteSelection): ditto
1626 * BufferView.C: whitespace change
1627 * BufferView.h: inherit privately from noncopyable
1629 2001-04-16 Allan Rae <rae@lyx.org>
1631 * tabular-old.C (l_getline):
1632 * spellchecker.C (sc_check_word):
1633 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1634 an unrecognised preprocessor directive. So ensure they're wrapped.
1636 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1638 * src/exporter.C (Export): Give an error message when path to file
1641 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1643 * LaTeX.C (deplog): Always check that foundfile exists.
1645 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1648 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1650 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1652 * tabular.[Ch] (getLabelList): implement new method
1654 * minibuffer.h: comment ouf setTiimer
1656 * minibuffer.C (ExecutingCB): constify res
1657 (peek_event): constify s
1658 (Set): constify ntext
1659 (Init): constify nicename
1661 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1663 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1664 (savePosition): use two params to Minibuffer::Set
1665 (restorePosition): ditto
1667 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1669 * lyx_main.C: include language.h
1671 * Makefile.am (lyx_main.o): add language.h
1673 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1679 * CutAndPaste.C: include gettext.h
1681 * lyxfont.h: remove old hack with ON and OFF.
1684 * lyxfont.h: do not include language.h...
1689 * bufferview_funcs.C:
1695 * paragraph.C: ... but do it here instead
1697 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1699 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1701 * tabular.C: small reformat
1703 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1706 (BreakParagraph): ditto
1707 (SetOnlyLayout): ditto
1710 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1713 * lastfiles.C: removed most using decl, add std:: where needed
1715 * buffer.C: ws changes
1717 * MenuBackend.C (class compare_format): put into anon namespace
1718 (expand): constify label, names, action, action2
1721 * text.C (SingleWidth): constify font
1722 (IsBoundary): constify rtl2
1723 (GetVisibleRow): constify ww
1725 * LaTeX.C (deplog): constify logfile
1727 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1729 (workAreaExpose): constify widthChange, heightChange
1731 * lyxrow.C (par): moved
1734 * lyxrow.h: as inlines here
1736 * lyxfont.h (shape): moved from lyxfont.C
1737 (emph): moved from lyxfont.C
1739 * lyxfont.C (LyXFont): use initialization list for all
1741 (shape): move to lyxfont.h as inline
1742 (emph): move to lyxfont.h as inline
1745 2001-04-04 Juergen Vigna <jug@sad.it>
1747 * vspace.C: had to include stdio.h for use of sscanf
1749 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1752 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1753 independent of xforms.
1755 2001-04-02 Juergen Vigna <jug@sad.it>
1757 * spellchecker.C: fixed namespace placing!
1759 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1761 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1762 the LyXParagraph * is 0.
1764 2001-03-29 Juergen Vigna <jug@sad.it>
1766 * vspace.C: added support for %, c%, p%, l%.
1767 (stringFromUnit): added helper function.
1768 (asLatexString): changed to give right results for the %-values.
1770 * buffer.C: convert the widthp in a width%.
1772 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1774 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1777 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1778 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1780 * lyx_cb.[Ch]: see above.
1782 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1786 * lyx.[Ch]: replaced by figure_form.[Ch].
1790 * lyxfunc.C: changed headers associated with above changes.
1792 2001-03-27 Juergen Vigna <jug@sad.it>
1794 * BufferView_pimpl.C: set the temporary cursor right!
1796 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1798 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1800 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1802 * LString.h: removed "using std::getline"!
1804 * BufferView_pimpl.C (Dispatch): changes due to changes in
1805 InsetInclude::Params.
1807 * buffer.C (tag_name): removed redundant break statements as they were
1808 producing lots of warnings with my compiler.
1810 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1812 * LString.h: add "using std::getline" when using the real <string>.
1814 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1816 * buffer.C: removed bitset usage.
1817 PAR_TAG moved to an anonymous name space.
1818 (tag_name): new funtion, also in the anonymous namespace.
1819 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1820 (makeDocBookFile): clean code. Completed transition from string arrays
1822 (SimpleDocBookOnePar): code clean.
1824 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1826 * tabular.C: add some comments.
1828 2001-03-22 Juergen Vigna <jug@sad.it>
1830 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1831 compatibility read a bit and fixed bug with minipage in different
1834 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1836 * buffer.C (pop_tag): removed.
1837 (push_tag): removed.
1838 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1839 array replaced with vector. Added support for CDATA sections.
1840 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1842 (makeDocBookFile): XML conformant declaration of CDATA section,
1843 fixed bug related to <emphasis> in the first paragraph char.
1844 (sgmlOpenTag): exclude empty tags.
1845 (sgmlCloseTag): ditto.
1847 * buffer.h (pop_tag): removed.
1848 (push_tag): removed.
1850 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1852 * language.h (Languages): added size_type and size().
1854 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1856 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1857 response on compability reading of minipages. One probliem is that
1858 the old usage of minipages was «flertydig»
1860 * several files here and in subdirs: don't use static at file
1861 scope use anon namespaces instead.
1863 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1865 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1866 LaTeX output. This is necessary for Literate document
1869 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1871 * buffer.C: insert hfill when needed.
1873 * tabular.C (l_getline): use string::erase, small whitespace change.
1875 * BufferView_pimpl.C: try the anon namespace.
1878 2001-03-16 Juergen Vigna <jug@sad.it>
1880 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1881 otherwise it won't open options-dialogs.
1883 * buffer.C: honor pextraWidth(p) on converting minipages.
1885 * tabular.C (l_getline): changed the functions to strip trailing \r.
1887 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1889 * BufferView_pimpl.C:
1890 * minibuffer..C: added "using SigC::slot" declaration.
1892 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1894 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1900 * paragraph.C: ditto
1902 * lyxtext.h: NO_PEXTRA
1904 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1906 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1907 * ParameterStruct.h: ditto
1908 * ParagraphParameters.h: ditto
1909 * lyxparagraph.h: ditto
1911 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1913 * buffer.C: add compability for minipage alignment.
1914 (latexParagraphs): remove unwanted pextra check.
1916 * several files: remove CXX_WORKING_NAMESPACES
1918 * buffer.C (pop_tag): tie is in namespace boost
1920 * BufferView.h: noncopyable is in namespace boost
1925 * lastfiles.h: ditto
1926 * bufferlist.h: ditto
1927 * ShareContainer.h: ditto
1929 * LyXAction.h: ditto
1932 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1934 * Merging changes from BRANCH_MVC back into HEAD.
1936 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1938 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1940 * BufferView_pimpl.C: change from intl.C
1944 * Makefile.am: move combox.*
1950 * intl.C: remove dialog (covered by prefs)
1952 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1954 * lyxfunc.C (Dispatch): removed redundant break statement.
1956 2001-03-14 Juergen Vigna <jug@sad.it>
1958 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1960 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1962 * buffer.C: add hack to fix compability reading of minipages.
1964 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1966 * buffer.C (getLists): Cleanup.
1968 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1970 * lyxfont.C (update): don't honor toggleall on font size.
1972 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1976 * Makefile.am: moved to frontends/xforms/
1980 * BufferView_pimpl.C: changes for moved mathpanel
1982 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1984 * gettext.h: fix gettext_init() in --disable-nls
1986 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1988 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1990 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1993 * lyx.h: strip external form
1995 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1997 * BufferView_pimpl.C: add comment, destroySplash()
1999 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2001 * BufferView_pimpl.C:
2005 * lyxfunc.C: use re-worked insetinclude
2007 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2009 * buffer.C: add using std::stringstream.
2011 * lyx_cb.C: readd using std::ios.
2013 * buffer.C: add using std::map.
2015 * BufferView_pimpl.C: add using std::vector.
2017 * ShareContainer.h: add std:: to swap.
2019 * buffer.h: add some typedefs
2020 * buffer.C (getLists): use them
2021 (getLists): renamed from getTocList.
2022 add a counter for the different float types and use it in the
2024 (getLists): use the same counter for the NEW_INSETS and the "non"
2027 * lyx_cb.h: remove unused items, includes, using etc.
2029 * ShareContainer.h: remove some commented code, add more comments
2030 and "documentation".
2032 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2034 * buffer.C (getTocList): make the list also when NEW_INSETS is
2037 * buffer.h: remove TocType
2039 * buffer.C (getTocList): change to return a map<string,
2040 vector<TocItem> >, implement for dynamic number of list.
2042 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2043 * text2.C (PasteSelection): adjust
2044 * CutAndPaste.C (pasteSelection): adjust
2046 * FloatList.C (FloatList): update from the new_insets branch.
2047 * Floating.[Ch]: ditto
2048 * LaTeXFeatures.C: ditto
2050 * lyxlex_pimpl.C: ditto
2052 * paragraph.C (Last): remove when NEW_INSETS is defined.
2054 * other file: changes because of the above.
2056 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2058 * lyxparagraph.h: rename next to next_, previous to previous_,
2059 make them private for NEW_INSETS. Rename Next() to next(),
2060 Previous() to previous().
2062 * other files: changes because of the above.
2064 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2067 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2070 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2072 * main.C (main): pass lyx_localedir to gettext_init().
2074 * gettext.h: remove locale_init and gettext_init macros
2076 * gettext.C (locale_init): new function
2077 (gettext_init): new function
2079 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2082 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2084 * Moved credits to frontends:
2085 * credits.[Ch]: removed
2086 * credits_form.[Ch]: removed
2087 * lyx_gui_misc.C: remove credits stuff
2090 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2092 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2094 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2095 unneeded destructor.
2097 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2098 a standalone pointer again.
2100 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2102 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2108 * ToolbarDefaults.C:
2117 * BufferView_pimpl.C: use new file dialog in GUII
2120 * lyx_cb.C: remove LayoutsCB to Toolbar
2122 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2124 * ShareContainer.h (get): add std:: qualifier
2126 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2128 * ShareContainer.h: define a proper ShareContainer::value_type
2129 type (and use typename to please compaq cxx)
2131 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2133 * lyxparagraph.h: move serveral local vars to
2134 ParameterStruct/ParagraphParameters., use ShareContainer in
2135 FontTable., make vars in FontTable private and add getter and
2138 * paragraph.C: changes because of the above.
2140 * lyxfont.h: remove copy constructor and copy assignment. (the
2141 default ones is ok), move number inside FontBits. move inlines to
2144 * lyxfont.C: add number to initializaton of statics, move several
2145 inlines here. constify several local vars. some whitespace
2146 cleanup. Dont hide outerscope variables.
2148 * Spacing.h: add two new constructors to match the set methods.
2150 * ShareContainer.h: new file, will perhaps be moved to support
2152 * ParameterStruct.h: new file
2154 * ParagraphParameters.h: new file
2156 * ParagraphParameters.C: new file
2158 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2159 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2161 * BufferView_pimpl.C: ParagraphParameter changes.
2162 * buffer.C: Likewise.
2163 * bufferview_funcs.C: Likewise.
2165 * text2.C: Likewise.
2167 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2169 * lyxfind.C (LyXReplace): do not redefine default argument in
2171 (IsStringInText): ditto
2172 (SearchForward): ditto
2173 (SearchBackward): ditto
2175 2001-03-06 Juergen Vigna <jug@sad.it>
2177 * lyxfind.C (IsStringInText): put parentes around expressions.
2179 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2181 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2183 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2185 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2187 * stl_string_fwd.h: add comment
2189 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2192 * tabular.C: remove unused DocBook methods
2198 killed DO_USE_DEFAULT_LANGUAGE
2200 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2202 * lyx_gui.C: do not include language.h.
2204 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2205 arguments in function implementation.
2207 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2209 * BufferView_pimpl.C: add <ctime>
2211 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2213 * BufferView_pimpl.C: add using std::find_if
2215 2001-02-27 José Matos <jamatos@fep.up.pt>
2217 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2220 2001-02-11 José Matos <jamatos@fep.up.pt>
2222 * buffer.C (makeDocBookFile): command styles now have a parameter as
2225 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2227 * layout_forms.[Ch]: removed
2228 * lyx_cb.[Ch]: out character
2229 * lyx_gui.C: out character
2230 * lyx_gui_misc.C: out character
2231 * bufferview_funcs.C: : out character,
2232 added toggleall as parameter in ToggleAndShow
2234 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2236 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2238 * text2.C (SetCurrentFont): Disable number property at boundary.
2240 2001-02-26 Juergen Vigna <jug@sad.it>
2242 * lyxfunc.C (getStatus): added a string argument override function so
2243 that this is correctly called from LyXFunc::Dispatch if it contains a
2244 do_not_use_argument which is used!
2245 (Dispatch): added check for "custom" export and call appropriate func.
2247 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2249 * lyxrc.C: Add language_command_local, language_use_babel and
2250 language_global_options.
2252 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2254 * buffer.C (makeLaTeXFile): Use language_use_babel and
2255 language_global_options.
2257 2001-02-23 Juergen Vigna <jug@sad.it>
2259 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2260 which works with LyXText and putted it inside BufferView. Here now we
2261 only call for that part the BufferView::Dispatch() function.
2263 * BufferView.C (Dispatch): added.
2265 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2266 functions which needs to use a LyXText over from LyXFunc.
2267 (MenuInsertLyXFile): added
2268 (getInsetByCode): added
2269 (moveCursorUpdate): added
2270 (static TEXT): added
2272 2001-02-22 Juergen Vigna <jug@sad.it>
2274 * BufferView_pimpl.C (update): call a status update to see if LyXText
2277 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2279 * vc-backend.C (revert): implement for CVS
2280 (getLog): implement for CVS
2282 2001-02-20 Juergen Vigna <jug@sad.it>
2284 * text2.C (ClearSelection): added BufferView param for inset_owner call
2286 * lyxfunc.C (TEXT): added this function and use it instead of
2287 directly owner->view()-text of getLyXText().
2289 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2291 * src/layout_forms.C: out preamble
2292 * src/layout_forms.h: out preamble
2293 * src/lyx_cb.C: out preamble
2294 * src/lyx_cb.h: out preamble
2295 * src/lyx_gui.C: out preamble
2296 * src/lyx_gui_misc.C: out preamble
2297 * src/lyxfunc.C: connect with guii preamble
2299 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2301 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2303 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2305 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2306 whether to run bibtex.
2308 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2310 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2312 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2314 * Makefile.am (lyx_SOURCES): removed bibforms.h
2318 * text.C (GetVisibleRow): make several local vars const
2320 * tabular.C: small cleanup.
2322 * lyxserver.C (callback): use compare instead of strncmp
2324 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2325 inlines to after class or to paragraph.C
2327 * lyxfont.h: remove friend operator!=
2329 * converter.h: move friend bool operator< to non friend and after
2332 * combox.h: small cleanup
2334 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2335 to inlines after class def.
2337 * buffer.C (pop_tag): use string operations instead of strcmp
2339 * bmtable.c: doxygen, small cleanup
2341 * LaTeX.h: remove friend operator==
2343 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2355 * BufferView_pimpl.C:
2356 * BufferView.[Ch]: remove cruft
2358 2001-02-14 Juergen Vigna <jug@sad.it>
2360 * lyxfunc.C: removed #if 0 unused code
2362 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2364 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2366 * text2.C (SetSelection): added a BufferView * parameter
2368 2001-02-13 Juergen Vigna <jug@sad.it>
2370 * lyxfunc.C (Dispatch): fixed protected blank problem.
2371 * BufferView2.C (protectedBlank): added LyxText * parameter.
2373 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2374 (AppendColumn): same as above for column_info.
2376 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2377 (moveCursorUpdate): use a LyXText param for support of InsetText.
2379 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2380 (tripleClick): ditto
2382 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2384 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2386 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2388 * text2.C (SetSelection): set correct update status if inset_owner
2391 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2393 * tabular.C: remove some commented code.
2395 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2397 * BufferView_pimpl.C: call hideSplash()
2399 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2402 * bibforms.h: remove
2405 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2406 add LFUN_CHILD_CREATE
2408 * counters.h: fix tiny typo
2413 * lyx.C: move splash to frontends/xforms/
2415 * lyx_gui_misc.C: move Include and Bibform to frontends
2417 * lyxvc.h: clarify comment
2419 * vspace.C: tiny housekeeping
2421 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2423 * text.C (PrepareToPrint): RTL Fix.
2425 * paragraph.C (GetUChar): New method.
2426 (String): Use GetUChar.
2428 * buffer.C (asciiParagraph): Use GetUChar.
2430 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2432 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2434 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2437 * buffer.C: rename to getLogName(), handle
2438 build log / latex log nicely
2440 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2443 * MenuBackend.h: remove support for reference menuitem type.
2445 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2447 * BufferView_pimpl.C: housekeeping
2448 * BufferView_pimpl.h:
2453 * minibuffer.h: move Timeout GUI-I
2455 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2457 * lyxrc.C (read): Update converters data-structures.
2459 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2461 * LaTeX.h (operator!=): add operator != for Aux_Info
2463 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2465 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2467 * LaTeXLog.C: deleted, useful code moved to Buffer
2470 * buffer.C: new function getLatexLogName()
2476 * lyxfunc.C: use frontends for LaTeX and VC logs
2478 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2480 * LaTeX.h: yet another std:: that Allan forgot.
2482 * Variables.C (set): renamed from isset(), because this clashes
2483 with some HP-UX macros (grr).
2485 2001-02-06 Allan Rae <rae@lyx.org>
2487 * LaTeX.h: Another bug fix. Missing std:: this time.
2489 2001-02-04 Allan Rae <rae@lyx.org>
2491 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2492 floats problem. I've left it commented out because it's not quite
2493 correct. It should also test that the current object is a table or
2494 figure inset. But I haven't gotten around to figuring out how to do
2495 that. I *think* it'll be something like: "table" == inset.type()
2497 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2500 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2502 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2503 all the citation/databases/styles in the auxilary file.
2504 (run): Rerun latex if there was a babel language error.
2506 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2508 * text.C (Backspace): Preserve the font when changing newline char
2510 (BreakParagraph): If the cursor is before a space, delete the space.
2512 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2514 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2516 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2517 new argument (code).
2518 (ChangeCitationsIfUnique): New method.
2520 * paragraph.C (GetPositionOfInset): Handle bibkey.
2522 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2524 * BufferView_pimpl.h: change type of Position::par_pos to
2525 LyXParagraph::size_type.
2527 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2529 * BufferView_pimpl.C (savePosition, restorePosition): Write
2530 messages to minibuffer.
2532 2001-01-28 José Matos <jamatos@fep.up.pt>
2534 * buffer.C (makeDocBookFile): adds support for document language.
2535 A silly restriction on the name of LatexCommand types where removed.
2536 Added support for CDATA sections, allows to chars unescaped, used
2537 among others in code, to avoid escape < and >.
2539 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2541 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2542 saved positions instrad of a stack. Furthermore, a position is
2543 stored using paragraph id/paragraph position.
2545 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2546 Remove LFUN_REF_BACK.
2548 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2550 * converter.C (dvipdfm_options): New method.
2552 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2554 * vspace.C (isValidLength): Fix for empty input string.
2556 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2558 * LyXAction.C (init): change description of LFUN_FIGURE to
2561 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2563 * LaTeX.C: add using directive
2565 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2567 * MenuBackend.C (expand): Fix the sorting of the formats.
2569 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2571 * lyx_main.C: tiny error message fix
2573 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2575 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2576 calling fl_initialize(). This fixes the problem with ',' as
2577 decimal separator in text files.
2579 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2581 * trans.C (process): Fix the keymap bug.
2583 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2585 * LaTeX.C (scanAuxFiles): New method. Provides support for
2586 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2587 (scanLogFile) Scan for "run BibTeX" messages.
2589 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2590 OT1 font encoding. Also, load the aecompl package if the ae
2593 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2595 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2597 * texrow.C (increasePos): turn two error messages into debug
2600 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2602 * LaTeX.C (scanAux): Handle the \@input macro.
2603 (runBibTeX): Use scanAux().
2605 * language.C (latex_options_): New field.
2607 * LaTeXFeatures.C (getMacros): Add language macros.
2609 * buffer.C (makeLaTeXFile): Small fix.
2611 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2613 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2615 * text2.C: add a using directive.
2617 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2622 * lyxfunc.C: kill LyXBell.
2624 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2626 * text.C (IsBoundary): Remove the error message
2628 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2630 * lyxrc.C (setDefaults): Correct initialization value for
2633 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2635 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2638 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2641 * src/LyXAction.C: Added reference-next.
2643 * text.C (InsertChar): Use contains instead of strchr.
2645 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2647 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2649 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2650 alignment commands (when needed).
2652 * text.C (InsertChar): Add ':' to number separator chars.