1 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
3 * paragraph.C (asString): Do not ignore newline/hfill chars when
4 copying to the clipboard.
6 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9 after a multi-line inset.
11 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13 * paragraph.C (validate): Set NeedLyXFootnoteCode
15 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
17 * lyxfont.C (LyXSizeNames): changed increase-error to increase
18 and decrease-error to decrease.
20 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
22 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
23 it more readable (should be equivalent)
25 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
27 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
29 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
31 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
32 of a cursor (row, etc.) after a character has been deleted
33 (deleteEmptyParagraphMechanism): call the method above on _all_
34 cursors held by the LyXText when a double space has been
36 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
38 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
40 (resizeCurrentBuff): remove code to destroy the old splash dialog.
42 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
43 background. Use greyOut() and the new show() methods to toggle between
44 the foreground and background. Add code to remove the splash after
47 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
48 (create_forms): no longer call Dialogs::showSplash.
50 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
52 * .cvsignore: add version_info.h
54 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
56 * version_info.h.in: new file
58 * Makefile.am: add version_info.h.in
60 * lyx_main.C (commandLineVersionInfo): use version_info defined in
61 version_info.h instead of VERSION_INFO
63 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
65 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
66 The ERT inset now returns string().
68 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
70 * lyxtext.h, text.C (selectNextWord): renamed as
71 selectNextWordToSpellcheck.
73 * text.C (selectNextWordToSpellcheck): Modified to not select
74 words inside an ERT inset.
76 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
78 * lyx_cb.C (MenuLayoutSave): change a bit the question
80 * sp_base.h: include <sys/types.h>
82 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
84 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
86 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
88 * several files: fix typos in user-visible strings
90 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
92 * text2.C (pasteSelection): do not set the selection, since it
93 will be cleared later. Actually, the intent was to fix the way the
94 selection was set, but I figured rmoving the code was just as good.
96 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
98 * FontLoader.C (available): Check if font is available without
101 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
103 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
105 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
107 * lyxrc.[Ch]: added display_graphics variable and associated code.
109 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
111 * bufferparams.C (hasClassDefaults): new method. Returns true if
112 the buffer parameters correspond to known class defaults
114 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
116 * XFormsView.C (show): set minimum size to the main window.
118 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
120 * text2.C (copySelection):
122 * lyxfind.C (LyXReplace):
123 * BufferView_pimpl.C (Dispatch): pass the correct flag to
124 LyXText::selectionAsString.
126 * paragraph.C (asString): add "label" argument to the second form
128 * text2.C (selectionAsString): add "label" argument and pass it to
131 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
133 * lyx_main.C (commandLineHelp): remove version information
135 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
137 * lyx_main.C: add -version commandline option
139 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
141 * paragraph.h: make the optional constructor arg required instead.
142 some modifications to other files because of this.
144 * minibuffer.C (C_MiniBuffer_peek_event): make it static
146 * lyxserver.C (C_LyXComm_callback): make it static
148 * lyx_main.C (error_handler): make it static
150 * lyx_gui.C (LyX_XErrHandler): make it static
152 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
154 * WorkArea.C: make the extern "C" methods static.
156 * Makefile.am (lyx_LDADD): simplify
158 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
160 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
161 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
163 * LyXAction.C (init):
164 * lyxfunc.C (dispatch): associated code removal.
166 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
168 * lyxfont.h (isSymbolFont): shut off warning
170 * text.C (setHeightOfRow):
171 (getVisibleRow): fix crash with empty paragraphs which have a
174 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
176 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
179 2001-09-04 José Matos <jamatos@fep.up.pt>
182 * tabular.C (docbook): rename docBook method to docbook.
184 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
186 * Makefile.am: add dependencies to main.o.
188 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
190 * FontLoader.C (available): Return false if !lyxrc.use_gui
192 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
194 * FontInfo.C (query):
195 * converter.C (view):
196 * importer.C (Import):
197 * exporter.C (Export): Can not -> cannot.
199 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
201 * BufferView_pimpl.C: allow to create index inset even if
204 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
206 * buffer.C (getLists): replace boost::tie code with an explicit pair
207 as boost::tie can break some compilers.
209 * iterators.h: Added a std:: declaration to the return type of
212 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
214 * lyxrc.C: add help for view_dvi_paper_option, default to safe
217 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
219 * iterators.[Ch]: New files. Provide paragraph iterators.
221 * buffer.C (changeLanguage): Use paragraph iterators.
222 (isMultiLingual): ditto
224 * BufferView2.C (ChangeInsets): Use paragraph iterators.
226 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
228 * FontLoader.C: Support for cmr font.
230 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
232 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
233 (available): New method.
235 * FontInfo.C (getFontname): Use scalable fonts even when
236 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
239 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
241 * converter.C (Formats::view): reverted! Incorrect fix.
243 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
245 * converter.C (Formats::view): only output the -paper option
246 if the dvi viewer is xdvi, thereby fixing bug #233429.
248 2001-08-23 Herbert Voss <voss@perce>
250 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
252 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
254 * Spacing.h (Spacing): Set space to Default on in the default
257 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
259 * vc-backend.h (RCS::versionString): add RCS to version
260 (CVS::versionString): add CVS to version
262 * vc-backend.C (scanMaster): do not add CVS to version.
263 (scanMaster): do not add RCS to version
265 * lyxvc.C (versionString): new method
267 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
269 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
271 * Spacing.C (set): initialize fval
273 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
275 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
278 2001-08-16 Juergen Vigna <jug@sad.it>
280 * lyxfunc.C (dispatch): implemented the new FINISHED states.
282 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
284 * BufferView_pimpl.C:
287 * text2.C: setParagraph takes linespacing now
289 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
291 * LyxAction.C: add internal LFUN_CITATION_INSERT
293 * LyXView.C: actually apply fix
295 * bufferlist.C: fix open non-existent file
297 * lyxfind.C: fix indentation
299 * lyxfunc.C: remove unneeded assert, fix typo
301 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
303 * MenuBackend.C: use "Floatname List"
305 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
307 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
308 when converting LaTeX layout to insetERT.
309 Generate a non-collapsed float when reading old float
311 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
313 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
316 2001-08-13 Juergen Vigna <jug@sad.it>
318 * text.C (fill): return 0 instead of 20 as this seems to be the more
321 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
323 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
326 2001-08-13 Juergen Vigna <jug@sad.it>
328 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
330 (SearchBackward): comment out the unlocking of the inset_owner this
331 should not be needed!
333 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
335 * Many files: Remove inherit_language, and add latex_language
337 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
340 2001-08-10 Juergen Vigna <jug@sad.it>
342 * text.C (prepareToPrint): fixed hfill-width in draw!
344 * BufferView2.C (selectLastWord): save the selection cursor as this
345 now is cleared in the function LyXText::clearSelection!
347 2001-08-08 Juergen Vigna <jug@sad.it>
349 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
350 BACKSPACE type functions.
352 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
353 is only cutted from the document but not put in the cut-buffer, where
354 still the old stuff should be.
356 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
358 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
360 * tabular.C (SetWidthOfCell): fixed special case where the width
362 (LeftLine): handle '|' in align_special.
364 (LeftAlreadyDrawed): ditto
365 (SetWidthOfCell): ditto
367 2001-08-07 Juergen Vigna <jug@sad.it>
369 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
371 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
373 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
376 2001-08-06 Juergen Vigna <jug@sad.it>
378 * text.C (getVisibleRow): fix up row clearing a bit.
380 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
382 * minibuffer.C: make sure the X server sees the changes in the input.
384 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
386 * paragraph.C (getFont): split into...
388 (getLayoutFont): and this
389 * paragraph_pimpl.C (realizeFont): calling this
391 * text2.C (getFont): split into...
392 (getLayoutFont): this
393 (getLabelFont): and this
394 (realizeFont): all three calling this
396 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
399 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
401 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
403 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
405 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
406 layouts from the Quote inset insertion.
408 2001-08-03 Juergen Vigna <jug@sad.it>
410 * BufferView_pimpl.C (update): do the fitCursor only at the end!
412 * screen.C (drawFromTo): don't call fitcursor here and do the loop
413 only if status not is already CHANGED_IN_DRAW (second level).
415 * text.C (draw): don't set the need_break_row when inside an
418 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
420 * buffer.C (parseSingleLyXformat2Token): handle more latex
423 * bufferview_funcs.[hC]: change function names to
424 begin with small char, adjust other files.
426 2001-08-02 André Pönitz <poenitz@gmx.net>
429 BufferView_pimpl.C: remove broken special code for math-greek
431 2001-08-02 Juergen Vigna <jug@sad.it>
433 * BufferView_pimpl.C (update): redone this function so that we
434 update the text again if there was a CHANGE_IN_DRAW.
436 * screen.C (cursorToggle): removed LyXText parameter and recoded.
437 (drawFromTo): added a new internal bool which is used by draw() and
439 (general): some cursor drawing problems fixed.
441 2001-08-01 Juergen Vigna <jug@sad.it>
443 * lyxfind.C (LyXFind): fixed
444 (SearchForward): ditto
445 (SearchBackward): ditto
447 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
448 spurius drawing of the cursor in the main area.
450 * text2.C (status): small fix which could lead to a segfault!
451 (clearSelection): remove unneeded BufferView param.
453 2001-08-01 André Pönitz <poenitz@gmx.net>
455 * lyxfunc.C: small change due to changed mathed interface
457 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
459 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
461 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
463 * lyxfunc.c: fail gracefully if file doesn't exist
468 * BufferView_pimpl.C: IsDirWriteable() proto changed
470 * LyXView.C: fix updateWindowTitle() to store the last title
472 2001-07-31 Juergen Vigna <jug@sad.it>
474 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
475 the font (wrong since using of Paragraph::highestFontInRange).
477 * paragraph.C (highestFontInRange): added a default_size parameter.
479 * text.C (getVisibleRow): minor clear row changes (still not perfect).
480 (setHeightOfRow): reformat
482 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * converter.[hC] + affected files: move to (inital-char)lowercase
487 * ParagraphParameters.C (ParagraphParameters): remove commented code
489 * PainterBase.[Ch]: remove commented code
491 * LaTeXFeatures.h: add "bool floats" for float.sty
493 * LaTeXFeatures.C (LaTeXFeatures): init floats
494 (require): handle float
495 (getPackages): do it with floats
497 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
499 * BufferView_pimpl.C (Dispatch): improve handling of
500 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
502 * commandtags.h: #include lyxfont.h here temporarily to avoid
505 * bufferlist.h: include LString.h here.
507 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
509 * text2.C (getStringToIndex): new method.
511 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
513 * *: Reduced header file dependencies all over.
515 2001-07-30 Baruch Even <baruch@lyx.org>
517 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
519 2001-07-29 Baruch Even <baruch@lyx.org>
521 * buffer.C (readInset): Changed GRAPHICS to Graphics.
523 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
525 * ParameterStruct.h (endif): add a default constructor to make
526 sure that all variables is initialized.
528 * ParagraphParameters.C (ParagraphParameters): adjust
530 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
532 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
533 index; also, check that there is something to index, and that it
534 does not span over several paragraphs.
535 (doubleClick): use WHOLE_WORD_STRICT for double click.
537 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
539 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
542 2001-07-26 Baruch Even <baruch@lyx.org>
544 * buffer.C (readInset): Changed to call up InsetGraphics when reading
545 an InsetFig figure, backwards compatible reading of old figure code.
547 2001-07-27 Juergen Vigna <jug@sad.it>
549 * text2.C: font.realize function adaption.
551 * text.C (draw): add a warnings lyxerr text if needed.
553 * layout.C: font.realize function adaption.
555 * language.C: add inherit_language and implement it's handlings
557 * bufferview_funcs.C (StyleReset): remove language parameter from
558 font creation (should be language_inherit now).
560 * bufferparams.C (writeFile): handle ignore_language.
562 * paragraph.C (getFontSettings): the language has to be resolved
563 otherwise we have problems in LyXFont!
565 * lyxfont.C (lyxWriteChanges): added document_language parameter
566 (update): removed unneeded language parameter
568 * paragraph.C (validate): fixed wrong output of color-package when
569 using interface colors for certain fonts in certain environments,
570 which should not seen as that on the final output.
572 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
574 * BufferView_pimpl.C:
579 * LyXAction.C: add thesaurus support
582 * lyxfind.C: add "once" parameter, for thesaurus, to not
583 move to the next match
585 2001-07-26 Juergen Vigna <jug@sad.it>
587 * lyxfont.C (realize): honor ignore_language too!
590 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
592 * text.C (draw): one place more for ignore_language to not draw
595 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
597 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
599 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
601 * buffer.C (parseSingleLyXformat2Token): a more general fix for
602 the minipage conversion problem.
604 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
606 * buffer.C (parseSingleLyXformat2Token): check minipage if we
609 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * BufferView.h: don't forward declare WorkArea
613 * BufferView.C: don't include WorkArea.h
615 2001-07-25 André Pönitz <poenitz@gmx.net>
619 * lyxfunc.C: new LFUN 'math-space'
621 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
623 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
625 * text2.C (toggleInset): call open/close
627 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * lyxfunc.C (dispatch): add debug for the disabled case
631 * font.C (buttonText): make similar to rectText
633 * buffer.C (readInset): comment out parsing of insetlist and
636 * PainterBase.C (rectText): small correction
638 * BufferView_pimpl.C: comment out insettheorem and insetlist
640 * commandtags.h: ditto
642 2001-07-24 Juergen Vigna <jug@sad.it>
644 * text.C (draw): honor the ignore_language.
646 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
648 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
650 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
653 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * lyxtext.h: remove unused (and unimplemented) methods
657 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * text.C (getVisibleRow): honor background color
662 * Painter.h: remove default color argument for fillRectangle
664 * text.C (backgroundColor): new method
666 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
668 * text.C (getVisibleRow): adjust
670 * font.[Ch] (rectText): new method, metrics
671 (buttonText): new method, metrics
673 * PainterBase.[hC]: make rectText and buttonText always draw and take
676 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * ToolbarDefaults.C (read):
679 * MenuBackend.C (read): allow escaping in all strings
681 * BufferView_pimpl.C (insertAndEditInset): new method.
682 (Dispatch): use insertAndEditInset whenever appropriate.
684 * BufferView_pimpl.C (insertNote): removed
686 * BufferView_pimpl.C (smartQuote): new method, moved from
687 BufferView; if an insetquote cannot be inserted, insert a '"'
690 * BufferView2.C: remove insertCorrectQuote();
692 * lyxfunc.C (getStatus): Add support for all remaingin
695 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
697 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
698 command (necessary to pass " as parameter of self-insert.
700 * text.C (selectWordWhenUnderCursor):
701 (selectWord): add word_location parameter
702 (selectWordWhenUnderCursor): same + remove special code for word
704 (selectNextWord): use kind() to guess type of insetspecialchar,
707 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
708 (insertErtContents): create ert insets as collapsed.
709 (readInset): better compatibility code for Info inset.
711 2001-07-20 Juergen Vigna <jug@sad.it>
713 * lyxfunc.C (dispatch): use always LyXFind now!
715 * text2.C (init): add a reinit flag so that the LyXText can be
716 reinited instead of deleted and reallocated (used in InsetText).
718 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
724 2001-07-18 Juergen Vigna <jug@sad.it>
726 * text.C (selectNextWord): handle insets inside inset by calling
727 always the bv->text functions so that we can go up the_locking_inset!
729 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
730 in strange locations when inside an inset!
732 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
733 handling to include insets.
735 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
737 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
739 * LyXAction.C (init):
741 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
742 LIGATURE_BREAK, since the name is so stupid.
744 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
746 * buffer.C (readInset): enable reading of new InsetNotes as well as old
749 * FontLoader.C: remove FORMS_H_LOCATION cruft.
751 * sp_form.[Ch]: remove.
753 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
755 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
758 * src/buffer.C (readInset): ditto.
760 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * BufferView_pimpl.C (specialChar): new method. Obsoletes
763 menuSeparator(), endOfSentenceDot(), ldots() and
764 hyphenationPoint(), which are therefore removed.
765 (Dispatch): handle LFUN_HYPHENATION_BREAK.
767 * LyXAction.C (init):
768 * commandtags.h: add LFUN_HYPHENATION_BREAK.
770 * paragraph.C (getWord): removed.
772 * BufferView_pimpl.C (Dispatch): use last word or selection for
773 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
775 * lyx_main.C (queryUserLyXDir): do not ask before creating
776 user_dir, except if it has been named explicitely.
778 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
780 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
781 a document of zero size.
783 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
785 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
786 approriately in the c-tor and in require().
787 (getPackages): output the appropriate LaTeX for natbib support.
789 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
790 variables "use_natbib" and "use_numerical_citations" when reading the
792 (readInset): read the various natbib cite commands.
793 (validate): white-space change.
795 * bufferparams.[Ch]: new variables "bool use_natbib" and
796 "bool use_numerical_citations".
797 (writeFile): output them in the LyX file.
799 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
801 * lyxfunc.C (getStatus): add support for all the inset insertion
804 * text2.C (insertInset):
805 * paragraph.C (insetAllowed):
806 * BufferView_pimpl.C (insertInset): update to take in account the
807 renaming of insertInsetAllowed
809 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
811 * text2.C (getInset): new method. returns inset at cursor position.
813 * BufferView_pimpl.C (Dispatch): changes because of this.
815 * LyXAction.C (init): rename open-stuff to inset-toggle.
817 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
819 * text2.C (toggleInset): renamed from openStuff; use
822 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
824 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
826 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
828 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
830 * buffer.C (readLyXformat2): Add filename to the error dialog
832 2001-07-18 Juergen Vigna <jug@sad.it>
834 * tabular.C (GetCellNumber): put an assert here instead of the check!
836 2001-07-17 Juergen Vigna <jug@sad.it>
838 * BufferView_pimpl.C (toggleSelection): adapted too.
840 * text.C (selectNextWord): adapted for use with insets.
841 (selectSelectedWord): ditto
843 2001-07-17 Juergen Vigna <jug@sad.it>
845 * sp_spell.C (PSpell): fix initialitation order.
847 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
849 * paragraph.C: spacing
851 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
853 * sp_spell.C: repair language selection for pspell
855 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
857 * lyxfunc.h: change more methods to begin with lower char.
859 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
861 * buffer.C (parseSingleLyXformat2Token): Generate error insets
864 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
866 * buffer.C (readLyXformat2): Generate an error dialog if there are
869 2001-07-16 Juergen Vigna <jug@sad.it>
871 * sp_spell.C: always compile ISpell part.
873 * lyxrc.C: added use_pspell entry and it's handling.
875 2001-07-13 Juergen Vigna <jug@sad.it>
877 * sp_spell.C: removed double includes.
879 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
881 Consistent use of Lsstream.h:
882 * Lsstream.h: added using std::stringstream for consistencies sake.
884 * buffer.C: removed using std::stringstream
886 * lyxfont.C (stateText):
887 * paragraph.C (asString):
888 * text.C (selectNextWord, selectSelectedWord):
889 * text2.C (setCounter):
890 * vspace.C (asString, asLatexString):
891 std::ostringstream -> ostringstream.
893 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
895 * LyXAction.C: add LFUN_HELP_ABOUTLYX
896 * commandtags.h: add LFUN_HELP_ABOUTLYX
897 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
899 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
901 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
903 * lyx_gui_misc.C: remove spellchecker
904 * lyxfunc.C: showSpellchecker
909 * sp_form.[Ch]: removed
910 * spellchecker.[Ch]: removed
912 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
914 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
916 (simpleTeXSpecialChars): Simply print the input character without
917 any special translation if pass_thru is set.
919 * layout.h: Added bool pass_thru to layout class for being able to
920 implement pass through of a paragraph for Literate Programming.
922 * layout.C: add LT_PASS_THRU to LayoutTags enum.
923 * layout.C (LyXLayout): set pass_thru to flase in constructor.
924 * layout.C (Read): add "passthru" to list of layout tags and add
925 code to set the pass_thru boolean when it is read.
927 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
929 * trans_decl.h: remove allowed from KmodInfo
931 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
935 * paragraph_pimpl.C (erase): use boost::prior
937 * Painter.C (text): use data() instead of c_str() when length is
939 * WorkArea.C (putClipboard): ditto
940 * font.h (width): ditto
942 * BufferView2.C: use it-> instead of (*it). for iterators
944 * paragraph_pimpl.C: ditto
946 * minibuffer.C: ditto
955 * MenuBackend.C: ditto
960 * ColorHandler.C (LyXColorHandler): ditto
962 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
964 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
966 * text2.C (openStuff): reintroduce this method (which had been
967 nuked in NEW_INSETS frenzy).
969 * lyxfunc.C (Dispatch): when an action has not been handled, use
970 its name in the error message, not its number.
972 * paragraph.C (inInset): change method name to begin with lowercase.
975 * text2.C: updates because of this.
977 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
979 * ToolbarDefaults.C (add): add spaces in error message
981 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
983 * buffer.C (readLyXformat2): initialize the ert comp. variables.
984 (readLyXformat2): rename return_par to first_par, use lyxlex's
985 pushToken and remove the manual push handling.
986 (parseSingleLyXformat2Token): add another ert comp. variable:
987 in_tabular, rename return_par to first_par. handle newlines better
989 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
991 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
993 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
995 * text2.C (getParFromID): removed
997 * buffer.C (getParFromID): new method moved form lyxtext.
998 * BufferView2.C (insertErrors): adjust
999 (setCursorFromRow): adjust
1000 * BufferView_pimpl.C (restorePosition): adjust
1001 * lyxfunc.C (Dispatch): adjust
1002 * undo_funcs.C (textUndo): adjust
1004 (textHandleUndo): adjust
1005 (textHandleUndo): adjust
1007 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1009 * buffer.C: up' the LYX_FORMAT
1011 * lyxfont.h: turn NO_LATEX on as default
1013 * buffer.C (insertErtContents): new methods of tex style compability.
1014 (parseSingleLyXformat2Token): use it several places.
1015 * tabular.C (OldFormatRead): and here
1017 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1019 * text2.C: remove some commented code.
1022 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1023 * trans.C: changes because of the above.
1025 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
1027 * text2.C (setCounter): Fix counters bug with bibliography layout.
1029 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1031 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1032 own member functions
1033 (simpleTeXSpecialChars): ditto
1035 2001-07-06 Juergen Vigna <jug@sad.it>
1037 * a lot of files: changed the access to LyXText::status and the
1038 call of undo-functions.
1040 * undo.[Ch]: added a inset_id to the undo informations.
1042 * undo_funcs.[Ch]: added and moved here all undo functions.
1044 * lyxtext.h: give the status enum a weight, made status_ a private
1045 variable and made accessor functions for it, removed the whole bunch
1046 of undo-functions as they are now in their own file, make some
1047 functions publically available. Added function ownerParagraph with
1050 * paragraph.[Ch]: added "bool same_ids" to the constructor,
1051 made InInset() a const function, added getParFromID() function.
1053 * buffer.[Ch]: added const version for inset_iterator functions,
1054 added getInsetFromID() function.
1056 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1057 changed undo functions for new version.
1059 2001-07-05 Juergen Vigna <jug@sad.it>
1061 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1062 unknow mechanism does not call the proper constructor but only this
1063 one also if I request the other!?
1065 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1067 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1069 * text2.C (LyXText): use initialization lists.
1071 * lyxtext.h (Selection): initialize set_ and mark_
1072 (init): remove method
1074 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
1076 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1078 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1080 * screen.[Ch]: change method names to begin with lowercase
1082 * BufferView_pimpl.C (updateScrollbar): simplify further and
1083 hopefully make it a bit faster.
1085 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1087 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1088 calling directly xforms functions.
1090 * Painter.C (Painter):
1091 * lyx_cb.C (MenuWrite):
1092 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1095 * lyx_gui.C: remove bogus guiruntime extern declaration.
1097 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1099 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1101 (redoDrawingOfParagraph): ditto
1102 (redoParagraphs): ditto
1103 (cutSelection): don't create a object for CutAndPaste use the
1104 static method directly
1105 (pasteSelection): ditto
1107 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1110 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1112 * modifications to some other files because of this.
1114 * Makefile.am (lyx_SOURCES): add XFormsView
1116 * XFormsView.[Ch]: new files
1118 * LyXView.[Ch]: make LyXView a base class for the gui handling for
1119 the main window. Move the gui dependent stuff to XFormsView
1121 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1123 * tabular.C (GetCellInset): update cur_cell also in the row/col
1124 version of this function.
1126 * lyxfunc.C: no need to include figure_form.h here.
1132 * lyxvc.C: no need to include forms.h here.
1134 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1136 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1138 * lyxfunc.C (Dispatch):
1140 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1141 constructor argument.
1143 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1145 * paragraph.C (Paragraph): dont't clear, and just set layout.
1146 (makeSameLayout): use params's copy contructor.
1148 * ParagraphParameters.[Ch] (makeSame): delete method
1150 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1152 * Variables.[Ch]: fix indentation, rename set to isSet
1154 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1156 * lyxfunc.C (Dispatch): fix typo
1158 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1160 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1163 * bufferlist.C: include assert.h for emergencyWrite().
1165 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1167 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1168 give up at last (bug #425202) !
1170 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1176 * spellchecker.C: strip spellchecker options and bring up
1177 preferences tab instead
1179 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1181 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1182 the istringstream constructor
1184 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1186 * paragraph.C (getLayout): fix return value
1188 * paragraph.h: do not declare getLayout as inline.
1190 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1192 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1194 * lyxcursor.h (operator<): new func
1195 (operator>): new func
1196 (operator>=): new func
1197 (operator<=): new func
1199 * text.C (changeCase): use selection.start and selection.end
1200 (changeRegionCase): require from to be <= to. Require par to be a
1203 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1205 2001-06-27 Juergen Vigna <jug@sad.it>
1207 * text.C (cursorLeftOneWord): changed to return the cursor and added
1208 overlay with BufferView * parameter which calls this one.
1210 (selectWord): use new getWord function.
1211 (changeCase): renamed from changeWordCase as and extended to work
1214 * lyxtext.h: added enum word_location
1216 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1217 changeCase as this operates now also on selections.
1219 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1221 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1223 * many files: send debug output to Debug::INFO instead of
1226 * converter.C (View):
1228 (Move): send debug output to Debug::FILES instead of console.
1230 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1232 * lyxfunc.C (getStatus): use func_status
1234 * func_status.h: new header, describing the results of
1237 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1240 2001-06-25 The LyX Project <jug@sad.it>
1242 * buffer.C (sgmlOpenTag):
1244 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
1246 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1248 * text2.C: remove some dead code
1250 * tabular.C (GetCellInset): store the last cell checked (gotten)
1252 * tabular.h: add the helper for the speedup
1254 * lyxtext.h: remove some dead code
1256 2001-06-26 The LyX Project <Asger>
1258 * paragraph.C: Change export to LaTeX of alignment to
1259 \begin{center} and family for better roundtrip work with reLyX.
1261 * Tune the math drawing a bit.
1263 2001-06-25 The LyX Project <Asger>
1265 * LColor.C (LColor): New color for math background. New color
1268 2001-06-25 The LyX Project <jug@sad.it>
1270 * lyxfunc.C (MenuNew): remove extra check for .lyx file
1273 * bufferlist.C (newFile): do not restrict to files ending with
1276 * BufferView_pimpl.C (MenuInsertLyXFile):
1278 2001-06-24 The LyX Project <jug@sad.it>
1280 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1283 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1285 * lyxtext.h: rename most methods to begin with a small char.
1286 Lots of changes because of this.
1288 * paragraph.C (Paragraph): do not call fitToSize
1289 (erase): call Pimpl::erase
1290 (insertChar): call Pimpl::insertChar
1291 (insertInset): call Pipl::insertInset
1292 (breakParagraph): do not call fitToSize
1293 (breakParagraphConservative): do not call fitToSize
1294 (fitToSize): remove method
1296 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1298 2001-06-24 The LyX Project <Asger>
1300 * Fix Qt compilation^2
1302 2001-06-24 The LyX Project <jug@sad.it>
1304 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1305 depthHook(getDepth()-1).
1308 * ParagraphParameters.h:
1309 * ParameterStruct.h: change type of depth to unsigned int ==
1310 depth_type. Many adaptations to other files before of that.
1312 2001-06-24 The LyX Project <Asger>
1314 * Fix Qt compilation.
1316 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1318 * paragraph.h: renamed several methods to begin with small letter.
1319 several changes to many parts of the code because of this.
1321 2001-06-23 The LyX Project <jug@sad.it>
1323 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1324 rewritten to discard all double spaces when KeepEmpty is off
1325 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1326 to only handle newlines but not fiddle with spaces and friends.
1328 * lyxfunc.C (MenuNew): when doing 'new from template', use
1329 template_path as default directory
1331 2001-06-23 The LyX Project <Asger>
1333 * Clean-up of header file includes all over
1334 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1336 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1338 * paragraph.h: renamed from lyxparagraph.h
1340 2001-06-23 Asger <lyx@violet.home.sad.it>
1342 * Buffer.h: Removed Buffer::resize
1343 * BufferList.h: Removed BufferList::resize
1344 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1345 the document lazily when we change the width, or the font settings.
1347 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1349 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1351 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1353 * buffer.h: remove out of date comment
1355 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1358 * screen.C: fix "theoretical" GC leak
1360 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1362 * LaTeX.C (scanAuxFile):
1363 (deplog): remove trailing \r when reading stream (useful under
1366 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1368 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1369 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1370 and BufferView::theLockingInset(Inset*), so should use them and not
1371 access bv_->text->the_locking_inset directly.
1373 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1375 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1378 * tex-defs.h: remove old unused file
1380 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1382 * BufferView_pimpl.C: fix typo, remove minibuffer message
1383 when buffer has loaded
1385 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1387 * lyxfunc.C (Dispatch): use stringstream
1388 (MenuNew): use stringstream
1389 (Open): use stringstream
1391 * importer.C (Import): use stringstream
1393 * bufferview_funcs.C (CurrentState): use stringstream
1395 * LaTeX.C (run): use stringstream
1397 * BufferView_pimpl.C (savePosition): use stringstream
1398 (restorePosition): use stringstream
1399 (MenuInsertLyXFile): use stringstream
1401 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1414 * vspace.C: removed // -*- C++ -*- as first line.
1417 * version.h: added // -*- C++ -*- as first line.
1419 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1421 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1423 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1426 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1428 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1431 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1433 * gettext.C: include LString.h even when --disable-nls is on.
1435 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1437 * converter.h (Get): changed argument type from int to
1438 FormatList::size_type to avoid unnecessary conversion.
1440 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1443 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1445 * gettext.h: include LString.h even when --disable-nls is on.
1447 2001-06-07 Juergen Vigna <jug@sad.it>
1449 * text.C (BreakAgain): subst spaces with tabs.
1451 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1452 (resizeInsetsLyXText): set force on resizeLyXText.
1454 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1456 * gettext.h (gettext_init):
1457 (locale_init): use a real definition instead of a macro
1459 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1461 * Bufferview_pimpl.C:
1463 * LColor.C: further lcolor tidies
1465 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1467 * BufferView_pimpl.C (updateScrollbar): simplify.
1469 * BufferView2.C: don't include insets/insetinfo.h, change
1470 prototype for insertInset and call the Pimpl version. let
1471 updateInset call Pimpl version.
1473 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1474 gotoInset to BufferView::Pimpl
1476 2001-06-01 Juergen Vigna <jug@sad.it>
1478 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1479 inside a LockingInset (is the update needed at all?).
1481 2001-05-31 Juergen Vigna <jug@sad.it>
1483 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1484 here not the old one otherwise how should we compare it afterwards
1487 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1492 * FontInfo.C: bring C functions into global namespace when
1495 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1497 * LString.h: make sure config.h has been loaded before LString.h.
1499 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1500 (one for each char read by EatLine!).
1502 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1505 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1507 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1508 to the same as the par we break from
1510 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1512 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1514 * MenuBackend.C (expand): also create menu entries for wide
1515 versions of the floats.
1517 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1519 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1521 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1522 frontends/Makefile.am
1528 * tabular.C (getTokenValue): add std::
1530 * tabular-old.C (getTokenValue): add std::
1531 (getTokenValue): ditto
1532 (getTokenValue): ditto
1534 * screen.C (ToggleSelection): adjust
1536 * lyxtext.h: put selection cursors inside a Selection struct.
1538 * lyxfunc.C (moveCursorUpdate): adjust
1540 * lyxfont.C (latexWriteStartChanges): add std::
1544 * font.h: delete with(char const *, LyXFont const &)
1546 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1548 * FontInfo.C (getFontname): add std::
1550 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1551 (workAreaButtonPress): adjust
1552 (tripleClick): adjust
1554 (moveCursorUpdate): adjust
1557 * BufferView2.C (gotoInset): adjust
1559 2001-05-30 Juergen Vigna <jug@sad.it>
1561 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1562 to check pspell I add this as default as I now have new pspell
1563 libraries and they seem to use this.
1565 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1567 * text2.C (CutSelection): make the cursor valid before the call to
1570 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1572 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1573 relied on 0 terminated strings and other horrors. Bug found due to
1574 the new assert in lyxstring!
1576 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1579 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1581 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1584 * lyxfunc.C (processKeySym): change method of getting to the
1587 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1588 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1589 * BufferView_pimpl.[Ch]: here as private methods.
1591 2001-05-28 Juergen Vigna <jug@sad.it>
1593 * text.C (SetHeightOfRow): added the update() call again as it is
1594 needed to initialize inset dimensions!
1596 2001-05-16 Juergen Vigna <jug@sad.it>
1598 * text2.C (SetCharFont): Add new function with BufferView * and
1599 bool toggleall parameters for setting insets internal fonts.
1600 (SetFont): Freeze the undo as we may change fonts in Insets and
1601 all this change should be inside only one Undo!
1603 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1604 setting font's in insets as for them we have the SetFont function!
1606 2001-05-15 Juergen Vigna <jug@sad.it>
1608 * text2.C (ClearSelection): to be sure we REALLY don't have any
1611 * tabular.C (TeXCellPreamble): fixed the left border problem for
1614 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1616 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1619 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1621 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1622 LFUN_BREAKPARAGRAPH.
1624 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1625 help test to "internal only", similar for LFUN_INSERT_URL
1627 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1628 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1629 auto_region_delete and deadkeys.
1631 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1634 * LColor.C: remove some dead entries, tidy a little
1636 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1638 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1640 (Dispatch): implement LFUN_ESCAPE
1642 * commandtags.h: add LFUN_ESCAPE
1644 * LyXAction.C (init): add entry for LFUN_ESCAPE
1646 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1647 Remove commented code.
1648 (insertNote): moved here
1649 (open_new_inset): moved here
1651 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1654 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1656 * kbmap.C (findbinding): clean it up and make it work correctly.
1658 * lyx_main.C (init): do not pass argc and argv as parameters
1660 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1662 * buffer.C: fix path for OS/2 & Win32
1666 * lyx_main.C: Added os:: class.
1668 * os2_defines.h: update
1670 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1672 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1673 better by trying again with reduced state.
1675 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1677 * lyxrc.C (read): print error about invalid key sequence only when
1678 debugging (because not all latinX keysyms are known to some X
1681 * kbsequence.C (getiso): add a few std:: qualifiers
1682 (getiso): comment out extra return statement.
1684 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1686 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1688 (Dispatch): enhance the accent inset a bit. (not perfect)
1690 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1692 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1694 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1696 * bufferlist.C (emergencyWrite): fix assert() call
1698 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1700 * text.C (InsertChar): Added trivial patch to only send the "you
1701 can not do multiple spaces this way" message once during a
1704 2001-05-08 Baruch Even <baruch@lyx.org>
1706 * Makefile.am: Changed order of libraries to get LyX to link properly
1707 with the gnome frontend.
1709 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1711 * LaTeXFeatures.h: add a std:: qualifier
1713 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1715 * paragraph.C (String): use stringstream
1717 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1719 * paragraph.C (writeFile): remove footflag arg
1721 * buffer.C (makeLaTeXFile): use stringstream
1722 (latexParagraphs): remove footnot gurba
1724 * LaTeXFeatures.C (getPackages): use stringstream
1725 (getMacros): likewise
1726 (getTClassPreamble): likewise
1727 (getFloatDefinitions): new method
1729 * paragraph.C (writeFile): reindent
1732 * WorkArea.h: revert the xpos + etc changes.
1734 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1736 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1738 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1739 (pasteSelection): likewise
1740 * text2.C (CreateUndo): likewise
1742 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1744 * minibuffer.C (peek_event): temporarily reduce the functionality
1745 of the minibuffer (to allow args on lfuns)
1747 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1748 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1750 * buffer.C (readInset): add compability reading of old float
1751 lists, add reading of new style float list.
1752 (readInset): avoid reevaluation of inscmd.getCmdName()
1753 (getLists): reindent
1755 * MenuBackend.C (MenuItem): implement parsing of
1756 md_floatlistinsert and md_floatinsert.
1757 (expand::LastFiles): move initalizaton of iterators out of loop,
1759 (expand::Documents): introduce typdedef vector<string> Strings,
1761 (expand::ExportFormats): introduce typedef vector<Format const *>
1762 Formats, and use it.
1763 (expand): implement FloatListInsert and FloatInsert.
1765 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1766 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1767 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1769 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1771 (Dispatch::LFUN_FLOAT_LIST): implement
1773 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1775 * LaTeX.C (run): Fix problem with --export code.
1777 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1779 * BufferView.[Ch] (workarea): removed.
1780 (getClipboard) new method; wrapper for workarea()->getClipboard()
1782 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1785 * WorkArea.h (width, height, xpos, ypos): These methods all
1786 returned the dimensions of the work_area sub-area of WorkArea,
1787 resulting in a position error if the WorkArea were resized. Now
1788 return the dimensions of the entire WorkArea.
1790 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1792 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1794 * LaTeX.C (deplog): correct the syntax of regex reg1
1796 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1798 * undo.C: remove !NEW_INSETS cruft
1800 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1802 * text2.C: remove !NEW_INSETS cruft
1804 * text.C: remove !NEW_INSETS cruft
1806 * tabular.C: remove !NEW_INSETS cruft
1808 * spellchecker.C: remove !NEW_INSETS cruft
1810 * lyxtext.h: remove !NEW_INSETS cruft
1812 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1814 * lyxfunc.C: remove !NEW_INSETS cruft
1816 * lyxfind.C: remove !NEW_INSETS cruft
1818 * lyx_cb.C: remove !NEW_INSETS cruft
1820 * figureForm.C: remove !NEW_INSETS cruft
1822 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1824 * buffer.[Ch]: remove !NEW_INSETS cruft
1826 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1828 * CutAndPaste.C: remove !NEW_INSETS cruft
1830 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1832 * BufferView2.C: remove !NEW_INSETS cruft
1834 * BufferView.h: remove !NEW_INSETS cruft
1836 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1838 * Lsstream.h: include LString.h before the sstream headers to
1839 fix problem with gcc 2.95.3 and lyxstring
1841 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1843 * lyx_main.C: add using directives when needed for C functions
1844 declared in std:: namespace.
1846 2001-04-27 Juergen Vigna <jug@sad.it>
1848 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1849 (SetHeightOfRow): comment out the update call should not be needed!
1851 2001-04-13 Juergen Vigna <jug@sad.it>
1853 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1854 (LyXTabular): tried to minimize operator= operations (and realized
1855 hopfully Lars wish).
1857 2001-04-27 Juergen Vigna <jug@sad.it>
1859 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1861 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1863 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1865 * buffer.C (readInset): hack to make listof algorithm work
1867 * BufferView_pimpl.C: hack to make listof algorithm work
1869 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1871 * LyXAction.C: removed all !NEW_INSETS cruft
1872 (init): moved lfun_item in method
1874 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1876 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1878 * BufferView2.C (theLockingInset): white space.
1880 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1882 * minibuffer.C: include <iostream>
1884 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1886 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1888 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1890 * text.[Ch] (TransposeChars): new method
1892 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1894 * call message directly through LyXView instead of through LyXFunc
1895 * BufferView2.C: adjust
1896 * BufferView_pimpl.C: adjust
1897 * FontLoader.C: adjust
1899 * bufferview_funcs.C: adjust
1900 * converter.C: adjust
1901 * figureForm.C: adjust
1902 * importer.C: adjust
1904 * lyx_gui_misc.C: adjust
1908 + more files in subdirs
1910 * lyxparagraph.h (size): move up int file
1913 * adjust all uses of Assert to lyx::Assert.
1915 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1916 lyxfunctional in namespace lyx
1917 * layout.C (hasLayout): ditto
1920 (delete_layout): ditto
1921 (NumberOfClass): ditto
1922 * converter.C (GetFormat): ditto
1927 * bufferlist.C (getFileNames): ditto
1928 (emergencyWriteAll): ditto
1931 * MenuBackend.C (hasSubmenu): ditto
1934 * BufferView_pimpl.C (getInsetByCode): ditto
1936 2001-04-18 Juergen Vigna <jug@sad.it>
1938 * vspace.C (asLatexString): fixed the 100% problem.
1940 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1942 * lyxfunc.C (Dispatch):
1944 * minibuffer.h: add a few std:: qualifiers
1946 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1948 * minibuffer.[Ch]: reimplement so that commands is initiated and
1949 run from lyxfunc, simplified som handling, and made the completion
1950 and history code for complete. wip.
1952 * lyxfunc.C (processKeySym): call message
1953 (miniDispatch): new temporary method
1954 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1955 (LFUN_MESSAGE): implement
1956 (LFUN_MESSAGE_PUSH): implement
1957 (LFUN_MESSAGE_POP): implement
1958 (initMiniBuffer): the initial/defualt minibuffer message.
1960 * lyxfont.[Ch]: inline some more getters
1962 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1964 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1966 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1967 (AutoSave): use LFUN_MESSAGE
1968 (Reconfigure): ditto
1970 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1972 * figureForm.C: use LFUN_MESSAGE
1974 * converter.C (runLaTeX): use LFUN_MESSAGE
1976 * bufferview_funcs.C: use LFUN_MESSAGE
1978 (changeDepth): ditto
1980 * bufferparams.h: use boost::
1982 * bufferlist.h: inherit privately from noncopyable
1984 * bufferlist.C (loadLyXFile): remove some commented code.
1986 * buffer.C (runChktex): use LFUN_MESSAGE
1988 * ShareContainer.h: inherit privately from noncopyable
1990 * ParagraphParameters.[hC] (depth): inline it.
1992 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1994 (message): new method
1995 (messagePush): ditto
1997 (show): init minibuffer
1998 (showState): direct call
2000 * LaTeX.[Ch]: inherit privately from noncopyable
2001 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
2002 instead of WriteStatus.
2004 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
2006 * BufferView_pimpl.C (buffer): don't init minibuffer
2007 (workAreaButtonPress): use LFUN_MESSAGE
2008 (workAreaButtonRelease): ditto
2009 (savePosition): ditto
2010 (restorePosition): ditto
2011 (MenuInsertLyXFile): ditto
2012 (workAreaExpose): don't init minibuffer
2013 (update): remove commented code, simplify
2015 * BufferView2.C (openStuff): use LFUN_MESSAGE
2016 (toggleFloat): ditto
2019 (copyEnvironment): ditto
2020 (pasteEnvironment): ditto
2025 (updateInset): remove some commented code
2027 * lastfiles.h: inherit privately from noncopyable
2032 * lyxlex_pimpl.h: ditto
2034 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2035 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2036 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2038 * LyXAction.h: inherit privately from noncopyable, add methods
2039 func_begin, func_end, returning iterators to the func map.
2041 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2042 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2043 (func_begin): new method
2044 (func_end): new method
2046 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2048 (copySelection): ditto
2049 (pasteSelection): ditto
2051 * BufferView.C: whitespace change
2052 * BufferView.h: inherit privately from noncopyable
2054 2001-04-16 Allan Rae <rae@lyx.org>
2056 * tabular-old.C (l_getline):
2057 * spellchecker.C (sc_check_word):
2058 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2059 an unrecognised preprocessor directive. So ensure they're wrapped.
2061 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
2063 * src/exporter.C (Export): Give an error message when path to file
2066 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
2068 * LaTeX.C (deplog): Always check that foundfile exists.
2070 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2073 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
2075 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2077 * tabular.[Ch] (getLabelList): implement new method
2079 * minibuffer.h: comment ouf setTiimer
2081 * minibuffer.C (ExecutingCB): constify res
2082 (peek_event): constify s
2083 (Set): constify ntext
2084 (Init): constify nicename
2086 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2088 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2089 (savePosition): use two params to Minibuffer::Set
2090 (restorePosition): ditto
2092 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2094 * lyx_main.C: include language.h
2096 * Makefile.am (lyx_main.o): add language.h
2098 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2104 * CutAndPaste.C: include gettext.h
2106 * lyxfont.h: remove old hack with ON and OFF.
2109 * lyxfont.h: do not include language.h...
2114 * bufferview_funcs.C:
2120 * paragraph.C: ... but do it here instead
2122 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2124 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2126 * tabular.C: small reformat
2128 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2131 (BreakParagraph): ditto
2132 (SetOnlyLayout): ditto
2135 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2138 * lastfiles.C: removed most using decl, add std:: where needed
2140 * buffer.C: ws changes
2142 * MenuBackend.C (class compare_format): put into anon namespace
2143 (expand): constify label, names, action, action2
2146 * text.C (SingleWidth): constify font
2147 (IsBoundary): constify rtl2
2148 (GetVisibleRow): constify ww
2150 * LaTeX.C (deplog): constify logfile
2152 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2154 (workAreaExpose): constify widthChange, heightChange
2156 * lyxrow.C (par): moved
2159 * lyxrow.h: as inlines here
2161 * lyxfont.h (shape): moved from lyxfont.C
2162 (emph): moved from lyxfont.C
2164 * lyxfont.C (LyXFont): use initialization list for all
2166 (shape): move to lyxfont.h as inline
2167 (emph): move to lyxfont.h as inline
2170 2001-04-04 Juergen Vigna <jug@sad.it>
2172 * vspace.C: had to include stdio.h for use of sscanf
2174 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
2177 * BufferView_pimpl.h: remove xforms cruft. Both classes are
2178 independent of xforms.
2180 2001-04-02 Juergen Vigna <jug@sad.it>
2182 * spellchecker.C: fixed namespace placing!
2184 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2186 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2187 the LyXParagraph * is 0.
2189 2001-03-29 Juergen Vigna <jug@sad.it>
2191 * vspace.C: added support for %, c%, p%, l%.
2192 (stringFromUnit): added helper function.
2193 (asLatexString): changed to give right results for the %-values.
2195 * buffer.C: convert the widthp in a width%.
2197 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2199 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2202 * figureForm.[Ch]: stripped the FD_from_figure manipulation
2203 code out of lux_cb.[Ch], ready for its (imminent?) removal.
2205 * lyx_cb.[Ch]: see above.
2207 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2211 * lyx.[Ch]: replaced by figure_form.[Ch].
2215 * lyxfunc.C: changed headers associated with above changes.
2217 2001-03-27 Juergen Vigna <jug@sad.it>
2219 * BufferView_pimpl.C: set the temporary cursor right!
2221 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2223 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2225 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2227 * LString.h: removed "using std::getline"!
2229 * BufferView_pimpl.C (Dispatch): changes due to changes in
2230 InsetInclude::Params.
2232 * buffer.C (tag_name): removed redundant break statements as they were
2233 producing lots of warnings with my compiler.
2235 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2237 * LString.h: add "using std::getline" when using the real <string>.
2239 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2241 * buffer.C: removed bitset usage.
2242 PAR_TAG moved to an anonymous name space.
2243 (tag_name): new funtion, also in the anonymous namespace.
2244 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2245 (makeDocBookFile): clean code. Completed transition from string arrays
2247 (SimpleDocBookOnePar): code clean.
2249 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2251 * tabular.C: add some comments.
2253 2001-03-22 Juergen Vigna <jug@sad.it>
2255 * buffer.C (parseSingleLyXformat2Token): redone the minipage
2256 compatibility read a bit and fixed bug with minipage in different
2259 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
2261 * buffer.C (pop_tag): removed.
2262 (push_tag): removed.
2263 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2264 array replaced with vector. Added support for CDATA sections.
2265 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2267 (makeDocBookFile): XML conformant declaration of CDATA section,
2268 fixed bug related to <emphasis> in the first paragraph char.
2269 (sgmlOpenTag): exclude empty tags.
2270 (sgmlCloseTag): ditto.
2272 * buffer.h (pop_tag): removed.
2273 (push_tag): removed.
2275 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2277 * language.h (Languages): added size_type and size().
2279 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2281 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2282 response on compability reading of minipages. One probliem is that
2283 the old usage of minipages was «flertydig»
2285 * several files here and in subdirs: don't use static at file
2286 scope use anon namespaces instead.
2288 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
2290 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2291 LaTeX output. This is necessary for Literate document
2294 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2296 * buffer.C: insert hfill when needed.
2298 * tabular.C (l_getline): use string::erase, small whitespace change.
2300 * BufferView_pimpl.C: try the anon namespace.
2303 2001-03-16 Juergen Vigna <jug@sad.it>
2305 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2306 otherwise it won't open options-dialogs.
2308 * buffer.C: honor pextraWidth(p) on converting minipages.
2310 * tabular.C (l_getline): changed the functions to strip trailing \r.
2312 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2314 * BufferView_pimpl.C:
2315 * minibuffer..C: added "using SigC::slot" declaration.
2317 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2319 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2325 * paragraph.C: ditto
2327 * lyxtext.h: NO_PEXTRA
2329 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2331 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2332 * ParameterStruct.h: ditto
2333 * ParagraphParameters.h: ditto
2334 * lyxparagraph.h: ditto
2336 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2338 * buffer.C: add compability for minipage alignment.
2339 (latexParagraphs): remove unwanted pextra check.
2341 * several files: remove CXX_WORKING_NAMESPACES
2343 * buffer.C (pop_tag): tie is in namespace boost
2345 * BufferView.h: noncopyable is in namespace boost
2350 * lastfiles.h: ditto
2351 * bufferlist.h: ditto
2352 * ShareContainer.h: ditto
2354 * LyXAction.h: ditto
2357 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2359 * Merging changes from BRANCH_MVC back into HEAD.
2361 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2363 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2365 * BufferView_pimpl.C: change from intl.C
2369 * Makefile.am: move combox.*
2375 * intl.C: remove dialog (covered by prefs)
2377 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2379 * lyxfunc.C (Dispatch): removed redundant break statement.
2381 2001-03-14 Juergen Vigna <jug@sad.it>
2383 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2385 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2387 * buffer.C: add hack to fix compability reading of minipages.
2389 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2391 * buffer.C (getLists): Cleanup.
2393 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2395 * lyxfont.C (update): don't honor toggleall on font size.
2397 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2401 * Makefile.am: moved to frontends/xforms/
2405 * BufferView_pimpl.C: changes for moved mathpanel
2407 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2409 * gettext.h: fix gettext_init() in --disable-nls
2411 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2413 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2415 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2418 * lyx.h: strip external form
2420 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2422 * BufferView_pimpl.C: add comment, destroySplash()
2424 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2426 * BufferView_pimpl.C:
2430 * lyxfunc.C: use re-worked insetinclude
2432 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2434 * buffer.C: add using std::stringstream.
2436 * lyx_cb.C: readd using std::ios.
2438 * buffer.C: add using std::map.
2440 * BufferView_pimpl.C: add using std::vector.
2442 * ShareContainer.h: add std:: to swap.
2444 * buffer.h: add some typedefs
2445 * buffer.C (getLists): use them
2446 (getLists): renamed from getTocList.
2447 add a counter for the different float types and use it in the
2449 (getLists): use the same counter for the NEW_INSETS and the "non"
2452 * lyx_cb.h: remove unused items, includes, using etc.
2454 * ShareContainer.h: remove some commented code, add more comments
2455 and "documentation".
2457 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2459 * buffer.C (getTocList): make the list also when NEW_INSETS is
2462 * buffer.h: remove TocType
2464 * buffer.C (getTocList): change to return a map<string,
2465 vector<TocItem> >, implement for dynamic number of list.
2467 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2468 * text2.C (PasteSelection): adjust
2469 * CutAndPaste.C (pasteSelection): adjust
2471 * FloatList.C (FloatList): update from the new_insets branch.
2472 * Floating.[Ch]: ditto
2473 * LaTeXFeatures.C: ditto
2475 * lyxlex_pimpl.C: ditto
2477 * paragraph.C (Last): remove when NEW_INSETS is defined.
2479 * other file: changes because of the above.
2481 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2483 * lyxparagraph.h: rename next to next_, previous to previous_,
2484 make them private for NEW_INSETS. Rename Next() to next(),
2485 Previous() to previous().
2487 * other files: changes because of the above.
2489 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2492 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2495 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2497 * main.C (main): pass lyx_localedir to gettext_init().
2499 * gettext.h: remove locale_init and gettext_init macros
2501 * gettext.C (locale_init): new function
2502 (gettext_init): new function
2504 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2507 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2509 * Moved credits to frontends:
2510 * credits.[Ch]: removed
2511 * credits_form.[Ch]: removed
2512 * lyx_gui_misc.C: remove credits stuff
2515 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2517 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2519 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2520 unneeded destructor.
2522 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2523 a standalone pointer again.
2525 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2527 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2533 * ToolbarDefaults.C:
2542 * BufferView_pimpl.C: use new file dialog in GUII
2545 * lyx_cb.C: remove LayoutsCB to Toolbar
2547 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2549 * ShareContainer.h (get): add std:: qualifier
2551 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2553 * ShareContainer.h: define a proper ShareContainer::value_type
2554 type (and use typename to please compaq cxx)
2556 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2558 * lyxparagraph.h: move serveral local vars to
2559 ParameterStruct/ParagraphParameters., use ShareContainer in
2560 FontTable., make vars in FontTable private and add getter and
2563 * paragraph.C: changes because of the above.
2565 * lyxfont.h: remove copy constructor and copy assignment. (the
2566 default ones is ok), move number inside FontBits. move inlines to
2569 * lyxfont.C: add number to initializaton of statics, move several
2570 inlines here. constify several local vars. some whitespace
2571 cleanup. Dont hide outerscope variables.
2573 * Spacing.h: add two new constructors to match the set methods.
2575 * ShareContainer.h: new file, will perhaps be moved to support
2577 * ParameterStruct.h: new file
2579 * ParagraphParameters.h: new file
2581 * ParagraphParameters.C: new file
2583 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2584 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2586 * BufferView_pimpl.C: ParagraphParameter changes.
2587 * buffer.C: Likewise.
2588 * bufferview_funcs.C: Likewise.
2590 * text2.C: Likewise.
2592 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2594 * lyxfind.C (LyXReplace): do not redefine default argument in
2596 (IsStringInText): ditto
2597 (SearchForward): ditto
2598 (SearchBackward): ditto
2600 2001-03-06 Juergen Vigna <jug@sad.it>
2602 * lyxfind.C (IsStringInText): put parentes around expressions.
2604 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2606 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2608 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2610 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2612 * stl_string_fwd.h: add comment
2614 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2617 * tabular.C: remove unused DocBook methods
2623 killed DO_USE_DEFAULT_LANGUAGE
2625 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2627 * lyx_gui.C: do not include language.h.
2629 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2630 arguments in function implementation.
2632 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2634 * BufferView_pimpl.C: add <ctime>
2636 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2638 * BufferView_pimpl.C: add using std::find_if
2640 2001-02-27 José Matos <jamatos@fep.up.pt>
2642 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2645 2001-02-11 José Matos <jamatos@fep.up.pt>
2647 * buffer.C (makeDocBookFile): command styles now have a parameter as
2650 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2652 * layout_forms.[Ch]: removed
2653 * lyx_cb.[Ch]: out character
2654 * lyx_gui.C: out character
2655 * lyx_gui_misc.C: out character
2656 * bufferview_funcs.C: : out character,
2657 added toggleall as parameter in ToggleAndShow
2659 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2661 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2663 * text2.C (SetCurrentFont): Disable number property at boundary.
2665 2001-02-26 Juergen Vigna <jug@sad.it>
2667 * lyxfunc.C (getStatus): added a string argument override function so
2668 that this is correctly called from LyXFunc::Dispatch if it contains a
2669 do_not_use_argument which is used!
2670 (Dispatch): added check for "custom" export and call appropriate func.
2672 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2674 * lyxrc.C: Add language_command_local, language_use_babel and
2675 language_global_options.
2677 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2679 * buffer.C (makeLaTeXFile): Use language_use_babel and
2680 language_global_options.
2682 2001-02-23 Juergen Vigna <jug@sad.it>
2684 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2685 which works with LyXText and putted it inside BufferView. Here now we
2686 only call for that part the BufferView::Dispatch() function.
2688 * BufferView.C (Dispatch): added.
2690 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2691 functions which needs to use a LyXText over from LyXFunc.
2692 (MenuInsertLyXFile): added
2693 (getInsetByCode): added
2694 (moveCursorUpdate): added
2695 (static TEXT): added
2697 2001-02-22 Juergen Vigna <jug@sad.it>
2699 * BufferView_pimpl.C (update): call a status update to see if LyXText
2702 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2704 * vc-backend.C (revert): implement for CVS
2705 (getLog): implement for CVS
2707 2001-02-20 Juergen Vigna <jug@sad.it>
2709 * text2.C (ClearSelection): added BufferView param for inset_owner call
2711 * lyxfunc.C (TEXT): added this function and use it instead of
2712 directly owner->view()-text of getLyXText().
2714 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2716 * src/layout_forms.C: out preamble
2717 * src/layout_forms.h: out preamble
2718 * src/lyx_cb.C: out preamble
2719 * src/lyx_cb.h: out preamble
2720 * src/lyx_gui.C: out preamble
2721 * src/lyx_gui_misc.C: out preamble
2722 * src/lyxfunc.C: connect with guii preamble
2724 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2726 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2728 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2730 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2731 whether to run bibtex.
2733 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2735 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2737 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2739 * Makefile.am (lyx_SOURCES): removed bibforms.h
2743 * text.C (GetVisibleRow): make several local vars const
2745 * tabular.C: small cleanup.
2747 * lyxserver.C (callback): use compare instead of strncmp
2749 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2750 inlines to after class or to paragraph.C
2752 * lyxfont.h: remove friend operator!=
2754 * converter.h: move friend bool operator< to non friend and after
2757 * combox.h: small cleanup
2759 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2760 to inlines after class def.
2762 * buffer.C (pop_tag): use string operations instead of strcmp
2764 * bmtable.c: doxygen, small cleanup
2766 * LaTeX.h: remove friend operator==
2768 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2780 * BufferView_pimpl.C:
2781 * BufferView.[Ch]: remove cruft
2783 2001-02-14 Juergen Vigna <jug@sad.it>
2785 * lyxfunc.C: removed #if 0 unused code
2787 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2789 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2791 * text2.C (SetSelection): added a BufferView * parameter
2793 2001-02-13 Juergen Vigna <jug@sad.it>
2795 * lyxfunc.C (Dispatch): fixed protected blank problem.
2796 * BufferView2.C (protectedBlank): added LyxText * parameter.
2798 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2799 (AppendColumn): same as above for column_info.
2801 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2802 (moveCursorUpdate): use a LyXText param for support of InsetText.
2804 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2805 (tripleClick): ditto
2807 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2809 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2811 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2813 * text2.C (SetSelection): set correct update status if inset_owner
2816 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2818 * tabular.C: remove some commented code.
2820 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2822 * BufferView_pimpl.C: call hideSplash()
2824 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2827 * bibforms.h: remove
2830 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2831 add LFUN_CHILD_CREATE
2833 * counters.h: fix tiny typo
2838 * lyx.C: move splash to frontends/xforms/
2840 * lyx_gui_misc.C: move Include and Bibform to frontends
2842 * lyxvc.h: clarify comment
2844 * vspace.C: tiny housekeeping
2846 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2848 * text.C (PrepareToPrint): RTL Fix.
2850 * paragraph.C (GetUChar): New method.
2851 (String): Use GetUChar.
2853 * buffer.C (asciiParagraph): Use GetUChar.
2855 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2857 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2859 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2862 * buffer.C: rename to getLogName(), handle
2863 build log / latex log nicely
2865 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2868 * MenuBackend.h: remove support for reference menuitem type.
2870 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2872 * BufferView_pimpl.C: housekeeping
2873 * BufferView_pimpl.h:
2878 * minibuffer.h: move Timeout GUI-I
2880 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2882 * lyxrc.C (read): Update converters data-structures.
2884 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2886 * LaTeX.h (operator!=): add operator != for Aux_Info
2888 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2890 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2892 * LaTeXLog.C: deleted, useful code moved to Buffer
2895 * buffer.C: new function getLatexLogName()
2901 * lyxfunc.C: use frontends for LaTeX and VC logs
2903 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2905 * LaTeX.h: yet another std:: that Allan forgot.
2907 * Variables.C (set): renamed from isset(), because this clashes
2908 with some HP-UX macros (grr).
2910 2001-02-06 Allan Rae <rae@lyx.org>
2912 * LaTeX.h: Another bug fix. Missing std:: this time.
2914 2001-02-04 Allan Rae <rae@lyx.org>
2916 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2917 floats problem. I've left it commented out because it's not quite
2918 correct. It should also test that the current object is a table or
2919 figure inset. But I haven't gotten around to figuring out how to do
2920 that. I *think* it'll be something like: "table" == inset.type()
2922 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2925 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2927 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2928 all the citation/databases/styles in the auxilary file.
2929 (run): Rerun latex if there was a babel language error.
2931 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2933 * text.C (Backspace): Preserve the font when changing newline char
2935 (BreakParagraph): If the cursor is before a space, delete the space.
2937 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2939 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2941 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2942 new argument (code).
2943 (ChangeCitationsIfUnique): New method.
2945 * paragraph.C (GetPositionOfInset): Handle bibkey.
2947 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2949 * BufferView_pimpl.h: change type of Position::par_pos to
2950 LyXParagraph::size_type.
2952 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2954 * BufferView_pimpl.C (savePosition, restorePosition): Write
2955 messages to minibuffer.
2957 2001-01-28 José Matos <jamatos@fep.up.pt>
2959 * buffer.C (makeDocBookFile): adds support for document language.
2960 A silly restriction on the name of LatexCommand types where removed.
2961 Added support for CDATA sections, allows to chars unescaped, used
2962 among others in code, to avoid escape < and >.
2964 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2966 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2967 saved positions instrad of a stack. Furthermore, a position is
2968 stored using paragraph id/paragraph position.
2970 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2971 Remove LFUN_REF_BACK.
2973 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2975 * converter.C (dvipdfm_options): New method.
2977 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2979 * vspace.C (isValidLength): Fix for empty input string.
2981 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2983 * LyXAction.C (init): change description of LFUN_FIGURE to
2986 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2988 * LaTeX.C: add using directive
2990 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2992 * MenuBackend.C (expand): Fix the sorting of the formats.
2994 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2996 * lyx_main.C: tiny error message fix
2998 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3000 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
3001 calling fl_initialize(). This fixes the problem with ',' as
3002 decimal separator in text files.
3004 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3006 * trans.C (process): Fix the keymap bug.
3008 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
3010 * LaTeX.C (scanAuxFiles): New method. Provides support for
3011 multiple bibliographies (when using the bibtopic/bibunits pacakges).
3012 (scanLogFile) Scan for "run BibTeX" messages.
3014 * buffer.C (makeLaTeXFile): Do not load the ae package when using
3015 OT1 font encoding. Also, load the aecompl package if the ae
3018 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3020 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3022 * texrow.C (increasePos): turn two error messages into debug
3025 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
3027 * LaTeX.C (scanAux): Handle the \@input macro.
3028 (runBibTeX): Use scanAux().
3030 * language.C (latex_options_): New field.
3032 * LaTeXFeatures.C (getMacros): Add language macros.
3034 * buffer.C (makeLaTeXFile): Small fix.
3036 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3038 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3040 * text2.C: add a using directive.
3042 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
3047 * lyxfunc.C: kill LyXBell.
3049 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
3051 * text.C (IsBoundary): Remove the error message
3053 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3055 * lyxrc.C (setDefaults): Correct initialization value for
3058 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
3060 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3063 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3066 * src/LyXAction.C: Added reference-next.
3068 * text.C (InsertChar): Use contains instead of strchr.
3070 * lyx_cb.C (MenuInsertLabel): Enable default value code.
3072 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
3074 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3075 alignment commands (when needed).
3077 * text.C (InsertChar): Add ':' to number separator chars.