1 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4 it more readable (should be equivalent)
6 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13 of a cursor (row, etc.) after a character has been deleted
14 (deleteEmptyParagraphMechanism): call the method above on _all_
15 cursors held by the LyXText when a double space has been
17 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
19 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
21 (resizeCurrentBuff): remove code to destroy the old splash dialog.
23 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
24 background. Use greyOut() and the new show() methods to toggle between
25 the foreground and background. Add code to remove the splash after
28 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
29 (create_forms): no longer call Dialogs::showSplash.
31 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
33 * .cvsignore: add version_info.h
35 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
37 * version_info.h.in: new file
39 * Makefile.am: add version_info.h.in
41 * lyx_main.C (commandLineVersionInfo): use version_info defined in
42 version_info.h instead of VERSION_INFO
44 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
46 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
47 The ERT inset now returns string().
49 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
51 * lyxtext.h, text.C (selectNextWord): renamed as
52 selectNextWordToSpellcheck.
54 * text.C (selectNextWordToSpellcheck): Modified to not select
55 words inside an ERT inset.
57 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * lyx_cb.C (MenuLayoutSave): change a bit the question
61 * sp_base.h: include <sys/types.h>
63 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
65 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
67 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
69 * several files: fix typos in user-visible strings
71 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
73 * text2.C (pasteSelection): do not set the selection, since it
74 will be cleared later. Actually, the intent was to fix the way the
75 selection was set, but I figured rmoving the code was just as good.
77 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
79 * FontLoader.C (available): Check if font is available without
82 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
84 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
86 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
88 * lyxrc.[Ch]: added display_graphics variable and associated code.
90 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
92 * bufferparams.C (hasClassDefaults): new method. Returns true if
93 the buffer parameters correspond to known class defaults
95 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
97 * XFormsView.C (show): set minimum size to the main window.
99 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
101 * text2.C (copySelection):
103 * lyxfind.C (LyXReplace):
104 * BufferView_pimpl.C (Dispatch): pass the correct flag to
105 LyXText::selectionAsString.
107 * paragraph.C (asString): add "label" argument to the second form
109 * text2.C (selectionAsString): add "label" argument and pass it to
112 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
114 * lyx_main.C (commandLineHelp): remove version information
116 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
118 * lyx_main.C: add -version commandline option
120 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * paragraph.h: make the optional constructor arg required instead.
123 some modifications to other files because of this.
125 * minibuffer.C (C_MiniBuffer_peek_event): make it static
127 * lyxserver.C (C_LyXComm_callback): make it static
129 * lyx_main.C (error_handler): make it static
131 * lyx_gui.C (LyX_XErrHandler): make it static
133 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
135 * WorkArea.C: make the extern "C" methods static.
137 * Makefile.am (lyx_LDADD): simplify
139 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
141 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
142 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
144 * LyXAction.C (init):
145 * lyxfunc.C (dispatch): associated code removal.
147 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
149 * lyxfont.h (isSymbolFont): shut off warning
151 * text.C (setHeightOfRow):
152 (getVisibleRow): fix crash with empty paragraphs which have a
155 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
157 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
160 2001-09-04 José Matos <jamatos@fep.up.pt>
163 * tabular.C (docbook): rename docBook method to docbook.
165 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
167 * Makefile.am: add dependencies to main.o.
169 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
171 * FontLoader.C (available): Return false if !lyxrc.use_gui
173 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
175 * FontInfo.C (query):
176 * converter.C (view):
177 * importer.C (Import):
178 * exporter.C (Export): Can not -> cannot.
180 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
182 * BufferView_pimpl.C: allow to create index inset even if
185 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
187 * buffer.C (getLists): replace boost::tie code with an explicit pair
188 as boost::tie can break some compilers.
190 * iterators.h: Added a std:: declaration to the return type of
193 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
195 * lyxrc.C: add help for view_dvi_paper_option, default to safe
198 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
200 * iterators.[Ch]: New files. Provide paragraph iterators.
202 * buffer.C (changeLanguage): Use paragraph iterators.
203 (isMultiLingual): ditto
205 * BufferView2.C (ChangeInsets): Use paragraph iterators.
207 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
209 * FontLoader.C: Support for cmr font.
211 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
213 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
214 (available): New method.
216 * FontInfo.C (getFontname): Use scalable fonts even when
217 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
220 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
222 * converter.C (Formats::view): reverted! Incorrect fix.
224 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
226 * converter.C (Formats::view): only output the -paper option
227 if the dvi viewer is xdvi, thereby fixing bug #233429.
229 2001-08-23 Herbert Voss <voss@perce>
231 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
233 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
235 * Spacing.h (Spacing): Set space to Default on in the default
238 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
240 * vc-backend.h (RCS::versionString): add RCS to version
241 (CVS::versionString): add CVS to version
243 * vc-backend.C (scanMaster): do not add CVS to version.
244 (scanMaster): do not add RCS to version
246 * lyxvc.C (versionString): new method
248 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
250 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
252 * Spacing.C (set): initialize fval
254 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
256 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
259 2001-08-16 Juergen Vigna <jug@sad.it>
261 * lyxfunc.C (dispatch): implemented the new FINISHED states.
263 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
265 * BufferView_pimpl.C:
268 * text2.C: setParagraph takes linespacing now
270 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
272 * LyxAction.C: add internal LFUN_CITATION_INSERT
274 * LyXView.C: actually apply fix
276 * bufferlist.C: fix open non-existent file
278 * lyxfind.C: fix indentation
280 * lyxfunc.C: remove unneeded assert, fix typo
282 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
284 * MenuBackend.C: use "Floatname List"
286 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
288 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
289 when converting LaTeX layout to insetERT.
290 Generate a non-collapsed float when reading old float
292 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
294 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
297 2001-08-13 Juergen Vigna <jug@sad.it>
299 * text.C (fill): return 0 instead of 20 as this seems to be the more
302 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
304 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
307 2001-08-13 Juergen Vigna <jug@sad.it>
309 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
311 (SearchBackward): comment out the unlocking of the inset_owner this
312 should not be needed!
314 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
316 * Many files: Remove inherit_language, and add latex_language
318 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
321 2001-08-10 Juergen Vigna <jug@sad.it>
323 * text.C (prepareToPrint): fixed hfill-width in draw!
325 * BufferView2.C (selectLastWord): save the selection cursor as this
326 now is cleared in the function LyXText::clearSelection!
328 2001-08-08 Juergen Vigna <jug@sad.it>
330 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
331 BACKSPACE type functions.
333 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
334 is only cutted from the document but not put in the cut-buffer, where
335 still the old stuff should be.
337 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
339 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
341 * tabular.C (SetWidthOfCell): fixed special case where the width
343 (LeftLine): handle '|' in align_special.
345 (LeftAlreadyDrawed): ditto
346 (SetWidthOfCell): ditto
348 2001-08-07 Juergen Vigna <jug@sad.it>
350 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
352 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
354 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
357 2001-08-06 Juergen Vigna <jug@sad.it>
359 * text.C (getVisibleRow): fix up row clearing a bit.
361 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
363 * minibuffer.C: make sure the X server sees the changes in the input.
365 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
367 * paragraph.C (getFont): split into...
369 (getLayoutFont): and this
370 * paragraph_pimpl.C (realizeFont): calling this
372 * text2.C (getFont): split into...
373 (getLayoutFont): this
374 (getLabelFont): and this
375 (realizeFont): all three calling this
377 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
380 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
382 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
384 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
386 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
387 layouts from the Quote inset insertion.
389 2001-08-03 Juergen Vigna <jug@sad.it>
391 * BufferView_pimpl.C (update): do the fitCursor only at the end!
393 * screen.C (drawFromTo): don't call fitcursor here and do the loop
394 only if status not is already CHANGED_IN_DRAW (second level).
396 * text.C (draw): don't set the need_break_row when inside an
399 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
401 * buffer.C (parseSingleLyXformat2Token): handle more latex
404 * bufferview_funcs.[hC]: change function names to
405 begin with small char, adjust other files.
407 2001-08-02 André Pönitz <poenitz@gmx.net>
410 BufferView_pimpl.C: remove broken special code for math-greek
412 2001-08-02 Juergen Vigna <jug@sad.it>
414 * BufferView_pimpl.C (update): redone this function so that we
415 update the text again if there was a CHANGE_IN_DRAW.
417 * screen.C (cursorToggle): removed LyXText parameter and recoded.
418 (drawFromTo): added a new internal bool which is used by draw() and
420 (general): some cursor drawing problems fixed.
422 2001-08-01 Juergen Vigna <jug@sad.it>
424 * lyxfind.C (LyXFind): fixed
425 (SearchForward): ditto
426 (SearchBackward): ditto
428 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
429 spurius drawing of the cursor in the main area.
431 * text2.C (status): small fix which could lead to a segfault!
432 (clearSelection): remove unneeded BufferView param.
434 2001-08-01 André Pönitz <poenitz@gmx.net>
436 * lyxfunc.C: small change due to changed mathed interface
438 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
440 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
442 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
444 * lyxfunc.c: fail gracefully if file doesn't exist
449 * BufferView_pimpl.C: IsDirWriteable() proto changed
451 * LyXView.C: fix updateWindowTitle() to store the last title
453 2001-07-31 Juergen Vigna <jug@sad.it>
455 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
456 the font (wrong since using of Paragraph::highestFontInRange).
458 * paragraph.C (highestFontInRange): added a default_size parameter.
460 * text.C (getVisibleRow): minor clear row changes (still not perfect).
461 (setHeightOfRow): reformat
463 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
465 * converter.[hC] + affected files: move to (inital-char)lowercase
468 * ParagraphParameters.C (ParagraphParameters): remove commented code
470 * PainterBase.[Ch]: remove commented code
472 * LaTeXFeatures.h: add "bool floats" for float.sty
474 * LaTeXFeatures.C (LaTeXFeatures): init floats
475 (require): handle float
476 (getPackages): do it with floats
478 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
480 * BufferView_pimpl.C (Dispatch): improve handling of
481 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
483 * commandtags.h: #include lyxfont.h here temporarily to avoid
486 * bufferlist.h: include LString.h here.
488 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
490 * text2.C (getStringToIndex): new method.
492 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
494 * *: Reduced header file dependencies all over.
496 2001-07-30 Baruch Even <baruch@lyx.org>
498 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
500 2001-07-29 Baruch Even <baruch@lyx.org>
502 * buffer.C (readInset): Changed GRAPHICS to Graphics.
504 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
506 * ParameterStruct.h (endif): add a default constructor to make
507 sure that all variables is initialized.
509 * ParagraphParameters.C (ParagraphParameters): adjust
511 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
513 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
514 index; also, check that there is something to index, and that it
515 does not span over several paragraphs.
516 (doubleClick): use WHOLE_WORD_STRICT for double click.
518 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
520 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
523 2001-07-26 Baruch Even <baruch@lyx.org>
525 * buffer.C (readInset): Changed to call up InsetGraphics when reading
526 an InsetFig figure, backwards compatible reading of old figure code.
528 2001-07-27 Juergen Vigna <jug@sad.it>
530 * text2.C: font.realize function adaption.
532 * text.C (draw): add a warnings lyxerr text if needed.
534 * layout.C: font.realize function adaption.
536 * language.C: add inherit_language and implement it's handlings
538 * bufferview_funcs.C (StyleReset): remove language parameter from
539 font creation (should be language_inherit now).
541 * bufferparams.C (writeFile): handle ignore_language.
543 * paragraph.C (getFontSettings): the language has to be resolved
544 otherwise we have problems in LyXFont!
546 * lyxfont.C (lyxWriteChanges): added document_language parameter
547 (update): removed unneeded language parameter
549 * paragraph.C (validate): fixed wrong output of color-package when
550 using interface colors for certain fonts in certain environments,
551 which should not seen as that on the final output.
553 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
555 * BufferView_pimpl.C:
560 * LyXAction.C: add thesaurus support
563 * lyxfind.C: add "once" parameter, for thesaurus, to not
564 move to the next match
566 2001-07-26 Juergen Vigna <jug@sad.it>
568 * lyxfont.C (realize): honor ignore_language too!
571 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
573 * text.C (draw): one place more for ignore_language to not draw
576 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
578 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
580 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
582 * buffer.C (parseSingleLyXformat2Token): a more general fix for
583 the minipage conversion problem.
585 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * buffer.C (parseSingleLyXformat2Token): check minipage if we
590 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
592 * BufferView.h: don't forward declare WorkArea
594 * BufferView.C: don't include WorkArea.h
596 2001-07-25 André Pönitz <poenitz@gmx.net>
600 * lyxfunc.C: new LFUN 'math-space'
602 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
604 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
606 * text2.C (toggleInset): call open/close
608 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
610 * lyxfunc.C (dispatch): add debug for the disabled case
612 * font.C (buttonText): make similar to rectText
614 * buffer.C (readInset): comment out parsing of insetlist and
617 * PainterBase.C (rectText): small correction
619 * BufferView_pimpl.C: comment out insettheorem and insetlist
621 * commandtags.h: ditto
623 2001-07-24 Juergen Vigna <jug@sad.it>
625 * text.C (draw): honor the ignore_language.
627 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
629 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
631 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
634 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyxtext.h: remove unused (and unimplemented) methods
638 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
640 * text.C (getVisibleRow): honor background color
643 * Painter.h: remove default color argument for fillRectangle
645 * text.C (backgroundColor): new method
647 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
649 * text.C (getVisibleRow): adjust
651 * font.[Ch] (rectText): new method, metrics
652 (buttonText): new method, metrics
654 * PainterBase.[hC]: make rectText and buttonText always draw and take
657 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * ToolbarDefaults.C (read):
660 * MenuBackend.C (read): allow escaping in all strings
662 * BufferView_pimpl.C (insertAndEditInset): new method.
663 (Dispatch): use insertAndEditInset whenever appropriate.
665 * BufferView_pimpl.C (insertNote): removed
667 * BufferView_pimpl.C (smartQuote): new method, moved from
668 BufferView; if an insetquote cannot be inserted, insert a '"'
671 * BufferView2.C: remove insertCorrectQuote();
673 * lyxfunc.C (getStatus): Add support for all remaingin
676 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
678 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
679 command (necessary to pass " as parameter of self-insert.
681 * text.C (selectWordWhenUnderCursor):
682 (selectWord): add word_location parameter
683 (selectWordWhenUnderCursor): same + remove special code for word
685 (selectNextWord): use kind() to guess type of insetspecialchar,
688 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
689 (insertErtContents): create ert insets as collapsed.
690 (readInset): better compatibility code for Info inset.
692 2001-07-20 Juergen Vigna <jug@sad.it>
694 * lyxfunc.C (dispatch): use always LyXFind now!
696 * text2.C (init): add a reinit flag so that the LyXText can be
697 reinited instead of deleted and reallocated (used in InsetText).
699 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
705 2001-07-18 Juergen Vigna <jug@sad.it>
707 * text.C (selectNextWord): handle insets inside inset by calling
708 always the bv->text functions so that we can go up the_locking_inset!
710 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
711 in strange locations when inside an inset!
713 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
714 handling to include insets.
716 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
718 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
720 * LyXAction.C (init):
722 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
723 LIGATURE_BREAK, since the name is so stupid.
725 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
727 * buffer.C (readInset): enable reading of new InsetNotes as well as old
730 * FontLoader.C: remove FORMS_H_LOCATION cruft.
732 * sp_form.[Ch]: remove.
734 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
736 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
739 * src/buffer.C (readInset): ditto.
741 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * BufferView_pimpl.C (specialChar): new method. Obsoletes
744 menuSeparator(), endOfSentenceDot(), ldots() and
745 hyphenationPoint(), which are therefore removed.
746 (Dispatch): handle LFUN_HYPHENATION_BREAK.
748 * LyXAction.C (init):
749 * commandtags.h: add LFUN_HYPHENATION_BREAK.
751 * paragraph.C (getWord): removed.
753 * BufferView_pimpl.C (Dispatch): use last word or selection for
754 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
756 * lyx_main.C (queryUserLyXDir): do not ask before creating
757 user_dir, except if it has been named explicitely.
759 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
761 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
762 a document of zero size.
764 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
766 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
767 approriately in the c-tor and in require().
768 (getPackages): output the appropriate LaTeX for natbib support.
770 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
771 variables "use_natbib" and "use_numerical_citations" when reading the
773 (readInset): read the various natbib cite commands.
774 (validate): white-space change.
776 * bufferparams.[Ch]: new variables "bool use_natbib" and
777 "bool use_numerical_citations".
778 (writeFile): output them in the LyX file.
780 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * lyxfunc.C (getStatus): add support for all the inset insertion
785 * text2.C (insertInset):
786 * paragraph.C (insetAllowed):
787 * BufferView_pimpl.C (insertInset): update to take in account the
788 renaming of insertInsetAllowed
790 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
792 * text2.C (getInset): new method. returns inset at cursor position.
794 * BufferView_pimpl.C (Dispatch): changes because of this.
796 * LyXAction.C (init): rename open-stuff to inset-toggle.
798 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
800 * text2.C (toggleInset): renamed from openStuff; use
803 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
805 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
807 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
809 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
811 * buffer.C (readLyXformat2): Add filename to the error dialog
813 2001-07-18 Juergen Vigna <jug@sad.it>
815 * tabular.C (GetCellNumber): put an assert here instead of the check!
817 2001-07-17 Juergen Vigna <jug@sad.it>
819 * BufferView_pimpl.C (toggleSelection): adapted too.
821 * text.C (selectNextWord): adapted for use with insets.
822 (selectSelectedWord): ditto
824 2001-07-17 Juergen Vigna <jug@sad.it>
826 * sp_spell.C (PSpell): fix initialitation order.
828 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
830 * paragraph.C: spacing
832 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
834 * sp_spell.C: repair language selection for pspell
836 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
838 * lyxfunc.h: change more methods to begin with lower char.
840 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
842 * buffer.C (parseSingleLyXformat2Token): Generate error insets
845 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
847 * buffer.C (readLyXformat2): Generate an error dialog if there are
850 2001-07-16 Juergen Vigna <jug@sad.it>
852 * sp_spell.C: always compile ISpell part.
854 * lyxrc.C: added use_pspell entry and it's handling.
856 2001-07-13 Juergen Vigna <jug@sad.it>
858 * sp_spell.C: removed double includes.
860 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
862 Consistent use of Lsstream.h:
863 * Lsstream.h: added using std::stringstream for consistencies sake.
865 * buffer.C: removed using std::stringstream
867 * lyxfont.C (stateText):
868 * paragraph.C (asString):
869 * text.C (selectNextWord, selectSelectedWord):
870 * text2.C (setCounter):
871 * vspace.C (asString, asLatexString):
872 std::ostringstream -> ostringstream.
874 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
876 * LyXAction.C: add LFUN_HELP_ABOUTLYX
877 * commandtags.h: add LFUN_HELP_ABOUTLYX
878 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
880 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
882 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
884 * lyx_gui_misc.C: remove spellchecker
885 * lyxfunc.C: showSpellchecker
890 * sp_form.[Ch]: removed
891 * spellchecker.[Ch]: removed
893 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
895 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
897 (simpleTeXSpecialChars): Simply print the input character without
898 any special translation if pass_thru is set.
900 * layout.h: Added bool pass_thru to layout class for being able to
901 implement pass through of a paragraph for Literate Programming.
903 * layout.C: add LT_PASS_THRU to LayoutTags enum.
904 * layout.C (LyXLayout): set pass_thru to flase in constructor.
905 * layout.C (Read): add "passthru" to list of layout tags and add
906 code to set the pass_thru boolean when it is read.
908 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
910 * trans_decl.h: remove allowed from KmodInfo
912 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
916 * paragraph_pimpl.C (erase): use boost::prior
918 * Painter.C (text): use data() instead of c_str() when length is
920 * WorkArea.C (putClipboard): ditto
921 * font.h (width): ditto
923 * BufferView2.C: use it-> instead of (*it). for iterators
925 * paragraph_pimpl.C: ditto
927 * minibuffer.C: ditto
936 * MenuBackend.C: ditto
941 * ColorHandler.C (LyXColorHandler): ditto
943 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
945 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
947 * text2.C (openStuff): reintroduce this method (which had been
948 nuked in NEW_INSETS frenzy).
950 * lyxfunc.C (Dispatch): when an action has not been handled, use
951 its name in the error message, not its number.
953 * paragraph.C (inInset): change method name to begin with lowercase.
956 * text2.C: updates because of this.
958 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
960 * ToolbarDefaults.C (add): add spaces in error message
962 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
964 * buffer.C (readLyXformat2): initialize the ert comp. variables.
965 (readLyXformat2): rename return_par to first_par, use lyxlex's
966 pushToken and remove the manual push handling.
967 (parseSingleLyXformat2Token): add another ert comp. variable:
968 in_tabular, rename return_par to first_par. handle newlines better
970 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
972 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
974 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
976 * text2.C (getParFromID): removed
978 * buffer.C (getParFromID): new method moved form lyxtext.
979 * BufferView2.C (insertErrors): adjust
980 (setCursorFromRow): adjust
981 * BufferView_pimpl.C (restorePosition): adjust
982 * lyxfunc.C (Dispatch): adjust
983 * undo_funcs.C (textUndo): adjust
985 (textHandleUndo): adjust
986 (textHandleUndo): adjust
988 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
990 * buffer.C: up' the LYX_FORMAT
992 * lyxfont.h: turn NO_LATEX on as default
994 * buffer.C (insertErtContents): new methods of tex style compability.
995 (parseSingleLyXformat2Token): use it several places.
996 * tabular.C (OldFormatRead): and here
998 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1000 * text2.C: remove some commented code.
1003 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1004 * trans.C: changes because of the above.
1006 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
1008 * text2.C (setCounter): Fix counters bug with bibliography layout.
1010 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1012 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1013 own member functions
1014 (simpleTeXSpecialChars): ditto
1016 2001-07-06 Juergen Vigna <jug@sad.it>
1018 * a lot of files: changed the access to LyXText::status and the
1019 call of undo-functions.
1021 * undo.[Ch]: added a inset_id to the undo informations.
1023 * undo_funcs.[Ch]: added and moved here all undo functions.
1025 * lyxtext.h: give the status enum a weight, made status_ a private
1026 variable and made accessor functions for it, removed the whole bunch
1027 of undo-functions as they are now in their own file, make some
1028 functions publically available. Added function ownerParagraph with
1031 * paragraph.[Ch]: added "bool same_ids" to the constructor,
1032 made InInset() a const function, added getParFromID() function.
1034 * buffer.[Ch]: added const version for inset_iterator functions,
1035 added getInsetFromID() function.
1037 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1038 changed undo functions for new version.
1040 2001-07-05 Juergen Vigna <jug@sad.it>
1042 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1043 unknow mechanism does not call the proper constructor but only this
1044 one also if I request the other!?
1046 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1048 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1050 * text2.C (LyXText): use initialization lists.
1052 * lyxtext.h (Selection): initialize set_ and mark_
1053 (init): remove method
1055 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
1057 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1059 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1061 * screen.[Ch]: change method names to begin with lowercase
1063 * BufferView_pimpl.C (updateScrollbar): simplify further and
1064 hopefully make it a bit faster.
1066 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1068 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1069 calling directly xforms functions.
1071 * Painter.C (Painter):
1072 * lyx_cb.C (MenuWrite):
1073 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1076 * lyx_gui.C: remove bogus guiruntime extern declaration.
1078 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1080 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1082 (redoDrawingOfParagraph): ditto
1083 (redoParagraphs): ditto
1084 (cutSelection): don't create a object for CutAndPaste use the
1085 static method directly
1086 (pasteSelection): ditto
1088 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1091 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1093 * modifications to some other files because of this.
1095 * Makefile.am (lyx_SOURCES): add XFormsView
1097 * XFormsView.[Ch]: new files
1099 * LyXView.[Ch]: make LyXView a base class for the gui handling for
1100 the main window. Move the gui dependent stuff to XFormsView
1102 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1104 * tabular.C (GetCellInset): update cur_cell also in the row/col
1105 version of this function.
1107 * lyxfunc.C: no need to include figure_form.h here.
1113 * lyxvc.C: no need to include forms.h here.
1115 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1117 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1119 * lyxfunc.C (Dispatch):
1121 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1122 constructor argument.
1124 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1126 * paragraph.C (Paragraph): dont't clear, and just set layout.
1127 (makeSameLayout): use params's copy contructor.
1129 * ParagraphParameters.[Ch] (makeSame): delete method
1131 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1133 * Variables.[Ch]: fix indentation, rename set to isSet
1135 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1137 * lyxfunc.C (Dispatch): fix typo
1139 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1141 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1144 * bufferlist.C: include assert.h for emergencyWrite().
1146 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1148 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1149 give up at last (bug #425202) !
1151 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1157 * spellchecker.C: strip spellchecker options and bring up
1158 preferences tab instead
1160 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1162 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1163 the istringstream constructor
1165 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1167 * paragraph.C (getLayout): fix return value
1169 * paragraph.h: do not declare getLayout as inline.
1171 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1173 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1175 * lyxcursor.h (operator<): new func
1176 (operator>): new func
1177 (operator>=): new func
1178 (operator<=): new func
1180 * text.C (changeCase): use selection.start and selection.end
1181 (changeRegionCase): require from to be <= to. Require par to be a
1184 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1186 2001-06-27 Juergen Vigna <jug@sad.it>
1188 * text.C (cursorLeftOneWord): changed to return the cursor and added
1189 overlay with BufferView * parameter which calls this one.
1191 (selectWord): use new getWord function.
1192 (changeCase): renamed from changeWordCase as and extended to work
1195 * lyxtext.h: added enum word_location
1197 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1198 changeCase as this operates now also on selections.
1200 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1202 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1204 * many files: send debug output to Debug::INFO instead of
1207 * converter.C (View):
1209 (Move): send debug output to Debug::FILES instead of console.
1211 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1213 * lyxfunc.C (getStatus): use func_status
1215 * func_status.h: new header, describing the results of
1218 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1221 2001-06-25 The LyX Project <jug@sad.it>
1223 * buffer.C (sgmlOpenTag):
1225 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
1227 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1229 * text2.C: remove some dead code
1231 * tabular.C (GetCellInset): store the last cell checked (gotten)
1233 * tabular.h: add the helper for the speedup
1235 * lyxtext.h: remove some dead code
1237 2001-06-26 The LyX Project <Asger>
1239 * paragraph.C: Change export to LaTeX of alignment to
1240 \begin{center} and family for better roundtrip work with reLyX.
1242 * Tune the math drawing a bit.
1244 2001-06-25 The LyX Project <Asger>
1246 * LColor.C (LColor): New color for math background. New color
1249 2001-06-25 The LyX Project <jug@sad.it>
1251 * lyxfunc.C (MenuNew): remove extra check for .lyx file
1254 * bufferlist.C (newFile): do not restrict to files ending with
1257 * BufferView_pimpl.C (MenuInsertLyXFile):
1259 2001-06-24 The LyX Project <jug@sad.it>
1261 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1264 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1266 * lyxtext.h: rename most methods to begin with a small char.
1267 Lots of changes because of this.
1269 * paragraph.C (Paragraph): do not call fitToSize
1270 (erase): call Pimpl::erase
1271 (insertChar): call Pimpl::insertChar
1272 (insertInset): call Pipl::insertInset
1273 (breakParagraph): do not call fitToSize
1274 (breakParagraphConservative): do not call fitToSize
1275 (fitToSize): remove method
1277 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1279 2001-06-24 The LyX Project <Asger>
1281 * Fix Qt compilation^2
1283 2001-06-24 The LyX Project <jug@sad.it>
1285 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1286 depthHook(getDepth()-1).
1289 * ParagraphParameters.h:
1290 * ParameterStruct.h: change type of depth to unsigned int ==
1291 depth_type. Many adaptations to other files before of that.
1293 2001-06-24 The LyX Project <Asger>
1295 * Fix Qt compilation.
1297 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1299 * paragraph.h: renamed several methods to begin with small letter.
1300 several changes to many parts of the code because of this.
1302 2001-06-23 The LyX Project <jug@sad.it>
1304 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1305 rewritten to discard all double spaces when KeepEmpty is off
1306 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1307 to only handle newlines but not fiddle with spaces and friends.
1309 * lyxfunc.C (MenuNew): when doing 'new from template', use
1310 template_path as default directory
1312 2001-06-23 The LyX Project <Asger>
1314 * Clean-up of header file includes all over
1315 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1317 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1319 * paragraph.h: renamed from lyxparagraph.h
1321 2001-06-23 Asger <lyx@violet.home.sad.it>
1323 * Buffer.h: Removed Buffer::resize
1324 * BufferList.h: Removed BufferList::resize
1325 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1326 the document lazily when we change the width, or the font settings.
1328 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1330 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1332 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1334 * buffer.h: remove out of date comment
1336 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1339 * screen.C: fix "theoretical" GC leak
1341 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1343 * LaTeX.C (scanAuxFile):
1344 (deplog): remove trailing \r when reading stream (useful under
1347 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1349 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1350 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1351 and BufferView::theLockingInset(Inset*), so should use them and not
1352 access bv_->text->the_locking_inset directly.
1354 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1356 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1359 * tex-defs.h: remove old unused file
1361 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1363 * BufferView_pimpl.C: fix typo, remove minibuffer message
1364 when buffer has loaded
1366 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1368 * lyxfunc.C (Dispatch): use stringstream
1369 (MenuNew): use stringstream
1370 (Open): use stringstream
1372 * importer.C (Import): use stringstream
1374 * bufferview_funcs.C (CurrentState): use stringstream
1376 * LaTeX.C (run): use stringstream
1378 * BufferView_pimpl.C (savePosition): use stringstream
1379 (restorePosition): use stringstream
1380 (MenuInsertLyXFile): use stringstream
1382 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1395 * vspace.C: removed // -*- C++ -*- as first line.
1398 * version.h: added // -*- C++ -*- as first line.
1400 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1402 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1404 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1407 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1409 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1412 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1414 * gettext.C: include LString.h even when --disable-nls is on.
1416 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1418 * converter.h (Get): changed argument type from int to
1419 FormatList::size_type to avoid unnecessary conversion.
1421 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1424 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1426 * gettext.h: include LString.h even when --disable-nls is on.
1428 2001-06-07 Juergen Vigna <jug@sad.it>
1430 * text.C (BreakAgain): subst spaces with tabs.
1432 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1433 (resizeInsetsLyXText): set force on resizeLyXText.
1435 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1437 * gettext.h (gettext_init):
1438 (locale_init): use a real definition instead of a macro
1440 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1442 * Bufferview_pimpl.C:
1444 * LColor.C: further lcolor tidies
1446 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1448 * BufferView_pimpl.C (updateScrollbar): simplify.
1450 * BufferView2.C: don't include insets/insetinfo.h, change
1451 prototype for insertInset and call the Pimpl version. let
1452 updateInset call Pimpl version.
1454 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1455 gotoInset to BufferView::Pimpl
1457 2001-06-01 Juergen Vigna <jug@sad.it>
1459 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1460 inside a LockingInset (is the update needed at all?).
1462 2001-05-31 Juergen Vigna <jug@sad.it>
1464 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1465 here not the old one otherwise how should we compare it afterwards
1468 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1473 * FontInfo.C: bring C functions into global namespace when
1476 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1478 * LString.h: make sure config.h has been loaded before LString.h.
1480 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1481 (one for each char read by EatLine!).
1483 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1486 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1488 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1489 to the same as the par we break from
1491 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1493 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1495 * MenuBackend.C (expand): also create menu entries for wide
1496 versions of the floats.
1498 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1500 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1502 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1503 frontends/Makefile.am
1509 * tabular.C (getTokenValue): add std::
1511 * tabular-old.C (getTokenValue): add std::
1512 (getTokenValue): ditto
1513 (getTokenValue): ditto
1515 * screen.C (ToggleSelection): adjust
1517 * lyxtext.h: put selection cursors inside a Selection struct.
1519 * lyxfunc.C (moveCursorUpdate): adjust
1521 * lyxfont.C (latexWriteStartChanges): add std::
1525 * font.h: delete with(char const *, LyXFont const &)
1527 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1529 * FontInfo.C (getFontname): add std::
1531 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1532 (workAreaButtonPress): adjust
1533 (tripleClick): adjust
1535 (moveCursorUpdate): adjust
1538 * BufferView2.C (gotoInset): adjust
1540 2001-05-30 Juergen Vigna <jug@sad.it>
1542 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1543 to check pspell I add this as default as I now have new pspell
1544 libraries and they seem to use this.
1546 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1548 * text2.C (CutSelection): make the cursor valid before the call to
1551 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1553 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1554 relied on 0 terminated strings and other horrors. Bug found due to
1555 the new assert in lyxstring!
1557 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1560 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1562 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1565 * lyxfunc.C (processKeySym): change method of getting to the
1568 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1569 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1570 * BufferView_pimpl.[Ch]: here as private methods.
1572 2001-05-28 Juergen Vigna <jug@sad.it>
1574 * text.C (SetHeightOfRow): added the update() call again as it is
1575 needed to initialize inset dimensions!
1577 2001-05-16 Juergen Vigna <jug@sad.it>
1579 * text2.C (SetCharFont): Add new function with BufferView * and
1580 bool toggleall parameters for setting insets internal fonts.
1581 (SetFont): Freeze the undo as we may change fonts in Insets and
1582 all this change should be inside only one Undo!
1584 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1585 setting font's in insets as for them we have the SetFont function!
1587 2001-05-15 Juergen Vigna <jug@sad.it>
1589 * text2.C (ClearSelection): to be sure we REALLY don't have any
1592 * tabular.C (TeXCellPreamble): fixed the left border problem for
1595 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1597 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1600 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1602 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1603 LFUN_BREAKPARAGRAPH.
1605 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1606 help test to "internal only", similar for LFUN_INSERT_URL
1608 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1609 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1610 auto_region_delete and deadkeys.
1612 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1615 * LColor.C: remove some dead entries, tidy a little
1617 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1619 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1621 (Dispatch): implement LFUN_ESCAPE
1623 * commandtags.h: add LFUN_ESCAPE
1625 * LyXAction.C (init): add entry for LFUN_ESCAPE
1627 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1628 Remove commented code.
1629 (insertNote): moved here
1630 (open_new_inset): moved here
1632 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1635 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1637 * kbmap.C (findbinding): clean it up and make it work correctly.
1639 * lyx_main.C (init): do not pass argc and argv as parameters
1641 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1643 * buffer.C: fix path for OS/2 & Win32
1647 * lyx_main.C: Added os:: class.
1649 * os2_defines.h: update
1651 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1653 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1654 better by trying again with reduced state.
1656 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1658 * lyxrc.C (read): print error about invalid key sequence only when
1659 debugging (because not all latinX keysyms are known to some X
1662 * kbsequence.C (getiso): add a few std:: qualifiers
1663 (getiso): comment out extra return statement.
1665 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1667 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1669 (Dispatch): enhance the accent inset a bit. (not perfect)
1671 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1673 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1675 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1677 * bufferlist.C (emergencyWrite): fix assert() call
1679 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1681 * text.C (InsertChar): Added trivial patch to only send the "you
1682 can not do multiple spaces this way" message once during a
1685 2001-05-08 Baruch Even <baruch@lyx.org>
1687 * Makefile.am: Changed order of libraries to get LyX to link properly
1688 with the gnome frontend.
1690 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1692 * LaTeXFeatures.h: add a std:: qualifier
1694 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1696 * paragraph.C (String): use stringstream
1698 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1700 * paragraph.C (writeFile): remove footflag arg
1702 * buffer.C (makeLaTeXFile): use stringstream
1703 (latexParagraphs): remove footnot gurba
1705 * LaTeXFeatures.C (getPackages): use stringstream
1706 (getMacros): likewise
1707 (getTClassPreamble): likewise
1708 (getFloatDefinitions): new method
1710 * paragraph.C (writeFile): reindent
1713 * WorkArea.h: revert the xpos + etc changes.
1715 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1717 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1719 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1720 (pasteSelection): likewise
1721 * text2.C (CreateUndo): likewise
1723 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1725 * minibuffer.C (peek_event): temporarily reduce the functionality
1726 of the minibuffer (to allow args on lfuns)
1728 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1729 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1731 * buffer.C (readInset): add compability reading of old float
1732 lists, add reading of new style float list.
1733 (readInset): avoid reevaluation of inscmd.getCmdName()
1734 (getLists): reindent
1736 * MenuBackend.C (MenuItem): implement parsing of
1737 md_floatlistinsert and md_floatinsert.
1738 (expand::LastFiles): move initalizaton of iterators out of loop,
1740 (expand::Documents): introduce typdedef vector<string> Strings,
1742 (expand::ExportFormats): introduce typedef vector<Format const *>
1743 Formats, and use it.
1744 (expand): implement FloatListInsert and FloatInsert.
1746 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1747 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1748 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1750 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1752 (Dispatch::LFUN_FLOAT_LIST): implement
1754 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1756 * LaTeX.C (run): Fix problem with --export code.
1758 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1760 * BufferView.[Ch] (workarea): removed.
1761 (getClipboard) new method; wrapper for workarea()->getClipboard()
1763 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1766 * WorkArea.h (width, height, xpos, ypos): These methods all
1767 returned the dimensions of the work_area sub-area of WorkArea,
1768 resulting in a position error if the WorkArea were resized. Now
1769 return the dimensions of the entire WorkArea.
1771 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1773 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1775 * LaTeX.C (deplog): correct the syntax of regex reg1
1777 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1779 * undo.C: remove !NEW_INSETS cruft
1781 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1783 * text2.C: remove !NEW_INSETS cruft
1785 * text.C: remove !NEW_INSETS cruft
1787 * tabular.C: remove !NEW_INSETS cruft
1789 * spellchecker.C: remove !NEW_INSETS cruft
1791 * lyxtext.h: remove !NEW_INSETS cruft
1793 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1795 * lyxfunc.C: remove !NEW_INSETS cruft
1797 * lyxfind.C: remove !NEW_INSETS cruft
1799 * lyx_cb.C: remove !NEW_INSETS cruft
1801 * figureForm.C: remove !NEW_INSETS cruft
1803 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1805 * buffer.[Ch]: remove !NEW_INSETS cruft
1807 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1809 * CutAndPaste.C: remove !NEW_INSETS cruft
1811 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1813 * BufferView2.C: remove !NEW_INSETS cruft
1815 * BufferView.h: remove !NEW_INSETS cruft
1817 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1819 * Lsstream.h: include LString.h before the sstream headers to
1820 fix problem with gcc 2.95.3 and lyxstring
1822 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1824 * lyx_main.C: add using directives when needed for C functions
1825 declared in std:: namespace.
1827 2001-04-27 Juergen Vigna <jug@sad.it>
1829 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1830 (SetHeightOfRow): comment out the update call should not be needed!
1832 2001-04-13 Juergen Vigna <jug@sad.it>
1834 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1835 (LyXTabular): tried to minimize operator= operations (and realized
1836 hopfully Lars wish).
1838 2001-04-27 Juergen Vigna <jug@sad.it>
1840 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1842 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1844 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1846 * buffer.C (readInset): hack to make listof algorithm work
1848 * BufferView_pimpl.C: hack to make listof algorithm work
1850 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1852 * LyXAction.C: removed all !NEW_INSETS cruft
1853 (init): moved lfun_item in method
1855 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1857 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1859 * BufferView2.C (theLockingInset): white space.
1861 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1863 * minibuffer.C: include <iostream>
1865 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1867 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1869 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1871 * text.[Ch] (TransposeChars): new method
1873 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1875 * call message directly through LyXView instead of through LyXFunc
1876 * BufferView2.C: adjust
1877 * BufferView_pimpl.C: adjust
1878 * FontLoader.C: adjust
1880 * bufferview_funcs.C: adjust
1881 * converter.C: adjust
1882 * figureForm.C: adjust
1883 * importer.C: adjust
1885 * lyx_gui_misc.C: adjust
1889 + more files in subdirs
1891 * lyxparagraph.h (size): move up int file
1894 * adjust all uses of Assert to lyx::Assert.
1896 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1897 lyxfunctional in namespace lyx
1898 * layout.C (hasLayout): ditto
1901 (delete_layout): ditto
1902 (NumberOfClass): ditto
1903 * converter.C (GetFormat): ditto
1908 * bufferlist.C (getFileNames): ditto
1909 (emergencyWriteAll): ditto
1912 * MenuBackend.C (hasSubmenu): ditto
1915 * BufferView_pimpl.C (getInsetByCode): ditto
1917 2001-04-18 Juergen Vigna <jug@sad.it>
1919 * vspace.C (asLatexString): fixed the 100% problem.
1921 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1923 * lyxfunc.C (Dispatch):
1925 * minibuffer.h: add a few std:: qualifiers
1927 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1929 * minibuffer.[Ch]: reimplement so that commands is initiated and
1930 run from lyxfunc, simplified som handling, and made the completion
1931 and history code for complete. wip.
1933 * lyxfunc.C (processKeySym): call message
1934 (miniDispatch): new temporary method
1935 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1936 (LFUN_MESSAGE): implement
1937 (LFUN_MESSAGE_PUSH): implement
1938 (LFUN_MESSAGE_POP): implement
1939 (initMiniBuffer): the initial/defualt minibuffer message.
1941 * lyxfont.[Ch]: inline some more getters
1943 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1945 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1947 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1948 (AutoSave): use LFUN_MESSAGE
1949 (Reconfigure): ditto
1951 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1953 * figureForm.C: use LFUN_MESSAGE
1955 * converter.C (runLaTeX): use LFUN_MESSAGE
1957 * bufferview_funcs.C: use LFUN_MESSAGE
1959 (changeDepth): ditto
1961 * bufferparams.h: use boost::
1963 * bufferlist.h: inherit privately from noncopyable
1965 * bufferlist.C (loadLyXFile): remove some commented code.
1967 * buffer.C (runChktex): use LFUN_MESSAGE
1969 * ShareContainer.h: inherit privately from noncopyable
1971 * ParagraphParameters.[hC] (depth): inline it.
1973 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1975 (message): new method
1976 (messagePush): ditto
1978 (show): init minibuffer
1979 (showState): direct call
1981 * LaTeX.[Ch]: inherit privately from noncopyable
1982 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1983 instead of WriteStatus.
1985 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1987 * BufferView_pimpl.C (buffer): don't init minibuffer
1988 (workAreaButtonPress): use LFUN_MESSAGE
1989 (workAreaButtonRelease): ditto
1990 (savePosition): ditto
1991 (restorePosition): ditto
1992 (MenuInsertLyXFile): ditto
1993 (workAreaExpose): don't init minibuffer
1994 (update): remove commented code, simplify
1996 * BufferView2.C (openStuff): use LFUN_MESSAGE
1997 (toggleFloat): ditto
2000 (copyEnvironment): ditto
2001 (pasteEnvironment): ditto
2006 (updateInset): remove some commented code
2008 * lastfiles.h: inherit privately from noncopyable
2013 * lyxlex_pimpl.h: ditto
2015 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2016 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2017 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2019 * LyXAction.h: inherit privately from noncopyable, add methods
2020 func_begin, func_end, returning iterators to the func map.
2022 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2023 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2024 (func_begin): new method
2025 (func_end): new method
2027 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2029 (copySelection): ditto
2030 (pasteSelection): ditto
2032 * BufferView.C: whitespace change
2033 * BufferView.h: inherit privately from noncopyable
2035 2001-04-16 Allan Rae <rae@lyx.org>
2037 * tabular-old.C (l_getline):
2038 * spellchecker.C (sc_check_word):
2039 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2040 an unrecognised preprocessor directive. So ensure they're wrapped.
2042 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
2044 * src/exporter.C (Export): Give an error message when path to file
2047 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
2049 * LaTeX.C (deplog): Always check that foundfile exists.
2051 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2054 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
2056 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2058 * tabular.[Ch] (getLabelList): implement new method
2060 * minibuffer.h: comment ouf setTiimer
2062 * minibuffer.C (ExecutingCB): constify res
2063 (peek_event): constify s
2064 (Set): constify ntext
2065 (Init): constify nicename
2067 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2069 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2070 (savePosition): use two params to Minibuffer::Set
2071 (restorePosition): ditto
2073 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2075 * lyx_main.C: include language.h
2077 * Makefile.am (lyx_main.o): add language.h
2079 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2085 * CutAndPaste.C: include gettext.h
2087 * lyxfont.h: remove old hack with ON and OFF.
2090 * lyxfont.h: do not include language.h...
2095 * bufferview_funcs.C:
2101 * paragraph.C: ... but do it here instead
2103 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2105 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2107 * tabular.C: small reformat
2109 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2112 (BreakParagraph): ditto
2113 (SetOnlyLayout): ditto
2116 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2119 * lastfiles.C: removed most using decl, add std:: where needed
2121 * buffer.C: ws changes
2123 * MenuBackend.C (class compare_format): put into anon namespace
2124 (expand): constify label, names, action, action2
2127 * text.C (SingleWidth): constify font
2128 (IsBoundary): constify rtl2
2129 (GetVisibleRow): constify ww
2131 * LaTeX.C (deplog): constify logfile
2133 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2135 (workAreaExpose): constify widthChange, heightChange
2137 * lyxrow.C (par): moved
2140 * lyxrow.h: as inlines here
2142 * lyxfont.h (shape): moved from lyxfont.C
2143 (emph): moved from lyxfont.C
2145 * lyxfont.C (LyXFont): use initialization list for all
2147 (shape): move to lyxfont.h as inline
2148 (emph): move to lyxfont.h as inline
2151 2001-04-04 Juergen Vigna <jug@sad.it>
2153 * vspace.C: had to include stdio.h for use of sscanf
2155 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
2158 * BufferView_pimpl.h: remove xforms cruft. Both classes are
2159 independent of xforms.
2161 2001-04-02 Juergen Vigna <jug@sad.it>
2163 * spellchecker.C: fixed namespace placing!
2165 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2167 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2168 the LyXParagraph * is 0.
2170 2001-03-29 Juergen Vigna <jug@sad.it>
2172 * vspace.C: added support for %, c%, p%, l%.
2173 (stringFromUnit): added helper function.
2174 (asLatexString): changed to give right results for the %-values.
2176 * buffer.C: convert the widthp in a width%.
2178 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2180 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2183 * figureForm.[Ch]: stripped the FD_from_figure manipulation
2184 code out of lux_cb.[Ch], ready for its (imminent?) removal.
2186 * lyx_cb.[Ch]: see above.
2188 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2192 * lyx.[Ch]: replaced by figure_form.[Ch].
2196 * lyxfunc.C: changed headers associated with above changes.
2198 2001-03-27 Juergen Vigna <jug@sad.it>
2200 * BufferView_pimpl.C: set the temporary cursor right!
2202 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2204 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2206 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2208 * LString.h: removed "using std::getline"!
2210 * BufferView_pimpl.C (Dispatch): changes due to changes in
2211 InsetInclude::Params.
2213 * buffer.C (tag_name): removed redundant break statements as they were
2214 producing lots of warnings with my compiler.
2216 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2218 * LString.h: add "using std::getline" when using the real <string>.
2220 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2222 * buffer.C: removed bitset usage.
2223 PAR_TAG moved to an anonymous name space.
2224 (tag_name): new funtion, also in the anonymous namespace.
2225 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2226 (makeDocBookFile): clean code. Completed transition from string arrays
2228 (SimpleDocBookOnePar): code clean.
2230 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2232 * tabular.C: add some comments.
2234 2001-03-22 Juergen Vigna <jug@sad.it>
2236 * buffer.C (parseSingleLyXformat2Token): redone the minipage
2237 compatibility read a bit and fixed bug with minipage in different
2240 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
2242 * buffer.C (pop_tag): removed.
2243 (push_tag): removed.
2244 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2245 array replaced with vector. Added support for CDATA sections.
2246 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2248 (makeDocBookFile): XML conformant declaration of CDATA section,
2249 fixed bug related to <emphasis> in the first paragraph char.
2250 (sgmlOpenTag): exclude empty tags.
2251 (sgmlCloseTag): ditto.
2253 * buffer.h (pop_tag): removed.
2254 (push_tag): removed.
2256 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2258 * language.h (Languages): added size_type and size().
2260 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2262 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2263 response on compability reading of minipages. One probliem is that
2264 the old usage of minipages was «flertydig»
2266 * several files here and in subdirs: don't use static at file
2267 scope use anon namespaces instead.
2269 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
2271 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2272 LaTeX output. This is necessary for Literate document
2275 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2277 * buffer.C: insert hfill when needed.
2279 * tabular.C (l_getline): use string::erase, small whitespace change.
2281 * BufferView_pimpl.C: try the anon namespace.
2284 2001-03-16 Juergen Vigna <jug@sad.it>
2286 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2287 otherwise it won't open options-dialogs.
2289 * buffer.C: honor pextraWidth(p) on converting minipages.
2291 * tabular.C (l_getline): changed the functions to strip trailing \r.
2293 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2295 * BufferView_pimpl.C:
2296 * minibuffer..C: added "using SigC::slot" declaration.
2298 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2300 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2306 * paragraph.C: ditto
2308 * lyxtext.h: NO_PEXTRA
2310 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2312 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2313 * ParameterStruct.h: ditto
2314 * ParagraphParameters.h: ditto
2315 * lyxparagraph.h: ditto
2317 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2319 * buffer.C: add compability for minipage alignment.
2320 (latexParagraphs): remove unwanted pextra check.
2322 * several files: remove CXX_WORKING_NAMESPACES
2324 * buffer.C (pop_tag): tie is in namespace boost
2326 * BufferView.h: noncopyable is in namespace boost
2331 * lastfiles.h: ditto
2332 * bufferlist.h: ditto
2333 * ShareContainer.h: ditto
2335 * LyXAction.h: ditto
2338 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2340 * Merging changes from BRANCH_MVC back into HEAD.
2342 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2344 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2346 * BufferView_pimpl.C: change from intl.C
2350 * Makefile.am: move combox.*
2356 * intl.C: remove dialog (covered by prefs)
2358 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2360 * lyxfunc.C (Dispatch): removed redundant break statement.
2362 2001-03-14 Juergen Vigna <jug@sad.it>
2364 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2366 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2368 * buffer.C: add hack to fix compability reading of minipages.
2370 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2372 * buffer.C (getLists): Cleanup.
2374 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2376 * lyxfont.C (update): don't honor toggleall on font size.
2378 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2382 * Makefile.am: moved to frontends/xforms/
2386 * BufferView_pimpl.C: changes for moved mathpanel
2388 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2390 * gettext.h: fix gettext_init() in --disable-nls
2392 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2394 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2396 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2399 * lyx.h: strip external form
2401 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2403 * BufferView_pimpl.C: add comment, destroySplash()
2405 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2407 * BufferView_pimpl.C:
2411 * lyxfunc.C: use re-worked insetinclude
2413 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2415 * buffer.C: add using std::stringstream.
2417 * lyx_cb.C: readd using std::ios.
2419 * buffer.C: add using std::map.
2421 * BufferView_pimpl.C: add using std::vector.
2423 * ShareContainer.h: add std:: to swap.
2425 * buffer.h: add some typedefs
2426 * buffer.C (getLists): use them
2427 (getLists): renamed from getTocList.
2428 add a counter for the different float types and use it in the
2430 (getLists): use the same counter for the NEW_INSETS and the "non"
2433 * lyx_cb.h: remove unused items, includes, using etc.
2435 * ShareContainer.h: remove some commented code, add more comments
2436 and "documentation".
2438 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2440 * buffer.C (getTocList): make the list also when NEW_INSETS is
2443 * buffer.h: remove TocType
2445 * buffer.C (getTocList): change to return a map<string,
2446 vector<TocItem> >, implement for dynamic number of list.
2448 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2449 * text2.C (PasteSelection): adjust
2450 * CutAndPaste.C (pasteSelection): adjust
2452 * FloatList.C (FloatList): update from the new_insets branch.
2453 * Floating.[Ch]: ditto
2454 * LaTeXFeatures.C: ditto
2456 * lyxlex_pimpl.C: ditto
2458 * paragraph.C (Last): remove when NEW_INSETS is defined.
2460 * other file: changes because of the above.
2462 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2464 * lyxparagraph.h: rename next to next_, previous to previous_,
2465 make them private for NEW_INSETS. Rename Next() to next(),
2466 Previous() to previous().
2468 * other files: changes because of the above.
2470 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2473 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2476 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2478 * main.C (main): pass lyx_localedir to gettext_init().
2480 * gettext.h: remove locale_init and gettext_init macros
2482 * gettext.C (locale_init): new function
2483 (gettext_init): new function
2485 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2488 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2490 * Moved credits to frontends:
2491 * credits.[Ch]: removed
2492 * credits_form.[Ch]: removed
2493 * lyx_gui_misc.C: remove credits stuff
2496 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2498 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2500 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2501 unneeded destructor.
2503 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2504 a standalone pointer again.
2506 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2508 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2514 * ToolbarDefaults.C:
2523 * BufferView_pimpl.C: use new file dialog in GUII
2526 * lyx_cb.C: remove LayoutsCB to Toolbar
2528 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2530 * ShareContainer.h (get): add std:: qualifier
2532 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2534 * ShareContainer.h: define a proper ShareContainer::value_type
2535 type (and use typename to please compaq cxx)
2537 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2539 * lyxparagraph.h: move serveral local vars to
2540 ParameterStruct/ParagraphParameters., use ShareContainer in
2541 FontTable., make vars in FontTable private and add getter and
2544 * paragraph.C: changes because of the above.
2546 * lyxfont.h: remove copy constructor and copy assignment. (the
2547 default ones is ok), move number inside FontBits. move inlines to
2550 * lyxfont.C: add number to initializaton of statics, move several
2551 inlines here. constify several local vars. some whitespace
2552 cleanup. Dont hide outerscope variables.
2554 * Spacing.h: add two new constructors to match the set methods.
2556 * ShareContainer.h: new file, will perhaps be moved to support
2558 * ParameterStruct.h: new file
2560 * ParagraphParameters.h: new file
2562 * ParagraphParameters.C: new file
2564 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2565 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2567 * BufferView_pimpl.C: ParagraphParameter changes.
2568 * buffer.C: Likewise.
2569 * bufferview_funcs.C: Likewise.
2571 * text2.C: Likewise.
2573 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2575 * lyxfind.C (LyXReplace): do not redefine default argument in
2577 (IsStringInText): ditto
2578 (SearchForward): ditto
2579 (SearchBackward): ditto
2581 2001-03-06 Juergen Vigna <jug@sad.it>
2583 * lyxfind.C (IsStringInText): put parentes around expressions.
2585 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2587 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2589 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2591 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2593 * stl_string_fwd.h: add comment
2595 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2598 * tabular.C: remove unused DocBook methods
2604 killed DO_USE_DEFAULT_LANGUAGE
2606 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2608 * lyx_gui.C: do not include language.h.
2610 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2611 arguments in function implementation.
2613 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2615 * BufferView_pimpl.C: add <ctime>
2617 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2619 * BufferView_pimpl.C: add using std::find_if
2621 2001-02-27 José Matos <jamatos@fep.up.pt>
2623 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2626 2001-02-11 José Matos <jamatos@fep.up.pt>
2628 * buffer.C (makeDocBookFile): command styles now have a parameter as
2631 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2633 * layout_forms.[Ch]: removed
2634 * lyx_cb.[Ch]: out character
2635 * lyx_gui.C: out character
2636 * lyx_gui_misc.C: out character
2637 * bufferview_funcs.C: : out character,
2638 added toggleall as parameter in ToggleAndShow
2640 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2642 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2644 * text2.C (SetCurrentFont): Disable number property at boundary.
2646 2001-02-26 Juergen Vigna <jug@sad.it>
2648 * lyxfunc.C (getStatus): added a string argument override function so
2649 that this is correctly called from LyXFunc::Dispatch if it contains a
2650 do_not_use_argument which is used!
2651 (Dispatch): added check for "custom" export and call appropriate func.
2653 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2655 * lyxrc.C: Add language_command_local, language_use_babel and
2656 language_global_options.
2658 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2660 * buffer.C (makeLaTeXFile): Use language_use_babel and
2661 language_global_options.
2663 2001-02-23 Juergen Vigna <jug@sad.it>
2665 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2666 which works with LyXText and putted it inside BufferView. Here now we
2667 only call for that part the BufferView::Dispatch() function.
2669 * BufferView.C (Dispatch): added.
2671 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2672 functions which needs to use a LyXText over from LyXFunc.
2673 (MenuInsertLyXFile): added
2674 (getInsetByCode): added
2675 (moveCursorUpdate): added
2676 (static TEXT): added
2678 2001-02-22 Juergen Vigna <jug@sad.it>
2680 * BufferView_pimpl.C (update): call a status update to see if LyXText
2683 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2685 * vc-backend.C (revert): implement for CVS
2686 (getLog): implement for CVS
2688 2001-02-20 Juergen Vigna <jug@sad.it>
2690 * text2.C (ClearSelection): added BufferView param for inset_owner call
2692 * lyxfunc.C (TEXT): added this function and use it instead of
2693 directly owner->view()-text of getLyXText().
2695 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2697 * src/layout_forms.C: out preamble
2698 * src/layout_forms.h: out preamble
2699 * src/lyx_cb.C: out preamble
2700 * src/lyx_cb.h: out preamble
2701 * src/lyx_gui.C: out preamble
2702 * src/lyx_gui_misc.C: out preamble
2703 * src/lyxfunc.C: connect with guii preamble
2705 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2707 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2709 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2711 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2712 whether to run bibtex.
2714 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2716 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2718 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2720 * Makefile.am (lyx_SOURCES): removed bibforms.h
2724 * text.C (GetVisibleRow): make several local vars const
2726 * tabular.C: small cleanup.
2728 * lyxserver.C (callback): use compare instead of strncmp
2730 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2731 inlines to after class or to paragraph.C
2733 * lyxfont.h: remove friend operator!=
2735 * converter.h: move friend bool operator< to non friend and after
2738 * combox.h: small cleanup
2740 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2741 to inlines after class def.
2743 * buffer.C (pop_tag): use string operations instead of strcmp
2745 * bmtable.c: doxygen, small cleanup
2747 * LaTeX.h: remove friend operator==
2749 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2761 * BufferView_pimpl.C:
2762 * BufferView.[Ch]: remove cruft
2764 2001-02-14 Juergen Vigna <jug@sad.it>
2766 * lyxfunc.C: removed #if 0 unused code
2768 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2770 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2772 * text2.C (SetSelection): added a BufferView * parameter
2774 2001-02-13 Juergen Vigna <jug@sad.it>
2776 * lyxfunc.C (Dispatch): fixed protected blank problem.
2777 * BufferView2.C (protectedBlank): added LyxText * parameter.
2779 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2780 (AppendColumn): same as above for column_info.
2782 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2783 (moveCursorUpdate): use a LyXText param for support of InsetText.
2785 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2786 (tripleClick): ditto
2788 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2790 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2792 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2794 * text2.C (SetSelection): set correct update status if inset_owner
2797 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2799 * tabular.C: remove some commented code.
2801 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2803 * BufferView_pimpl.C: call hideSplash()
2805 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2808 * bibforms.h: remove
2811 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2812 add LFUN_CHILD_CREATE
2814 * counters.h: fix tiny typo
2819 * lyx.C: move splash to frontends/xforms/
2821 * lyx_gui_misc.C: move Include and Bibform to frontends
2823 * lyxvc.h: clarify comment
2825 * vspace.C: tiny housekeeping
2827 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2829 * text.C (PrepareToPrint): RTL Fix.
2831 * paragraph.C (GetUChar): New method.
2832 (String): Use GetUChar.
2834 * buffer.C (asciiParagraph): Use GetUChar.
2836 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2838 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2840 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2843 * buffer.C: rename to getLogName(), handle
2844 build log / latex log nicely
2846 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2849 * MenuBackend.h: remove support for reference menuitem type.
2851 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2853 * BufferView_pimpl.C: housekeeping
2854 * BufferView_pimpl.h:
2859 * minibuffer.h: move Timeout GUI-I
2861 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2863 * lyxrc.C (read): Update converters data-structures.
2865 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2867 * LaTeX.h (operator!=): add operator != for Aux_Info
2869 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2871 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2873 * LaTeXLog.C: deleted, useful code moved to Buffer
2876 * buffer.C: new function getLatexLogName()
2882 * lyxfunc.C: use frontends for LaTeX and VC logs
2884 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2886 * LaTeX.h: yet another std:: that Allan forgot.
2888 * Variables.C (set): renamed from isset(), because this clashes
2889 with some HP-UX macros (grr).
2891 2001-02-06 Allan Rae <rae@lyx.org>
2893 * LaTeX.h: Another bug fix. Missing std:: this time.
2895 2001-02-04 Allan Rae <rae@lyx.org>
2897 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2898 floats problem. I've left it commented out because it's not quite
2899 correct. It should also test that the current object is a table or
2900 figure inset. But I haven't gotten around to figuring out how to do
2901 that. I *think* it'll be something like: "table" == inset.type()
2903 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2906 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2908 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2909 all the citation/databases/styles in the auxilary file.
2910 (run): Rerun latex if there was a babel language error.
2912 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2914 * text.C (Backspace): Preserve the font when changing newline char
2916 (BreakParagraph): If the cursor is before a space, delete the space.
2918 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2920 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2922 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2923 new argument (code).
2924 (ChangeCitationsIfUnique): New method.
2926 * paragraph.C (GetPositionOfInset): Handle bibkey.
2928 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2930 * BufferView_pimpl.h: change type of Position::par_pos to
2931 LyXParagraph::size_type.
2933 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2935 * BufferView_pimpl.C (savePosition, restorePosition): Write
2936 messages to minibuffer.
2938 2001-01-28 José Matos <jamatos@fep.up.pt>
2940 * buffer.C (makeDocBookFile): adds support for document language.
2941 A silly restriction on the name of LatexCommand types where removed.
2942 Added support for CDATA sections, allows to chars unescaped, used
2943 among others in code, to avoid escape < and >.
2945 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2947 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2948 saved positions instrad of a stack. Furthermore, a position is
2949 stored using paragraph id/paragraph position.
2951 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2952 Remove LFUN_REF_BACK.
2954 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2956 * converter.C (dvipdfm_options): New method.
2958 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2960 * vspace.C (isValidLength): Fix for empty input string.
2962 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2964 * LyXAction.C (init): change description of LFUN_FIGURE to
2967 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2969 * LaTeX.C: add using directive
2971 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2973 * MenuBackend.C (expand): Fix the sorting of the formats.
2975 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2977 * lyx_main.C: tiny error message fix
2979 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2981 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2982 calling fl_initialize(). This fixes the problem with ',' as
2983 decimal separator in text files.
2985 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2987 * trans.C (process): Fix the keymap bug.
2989 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2991 * LaTeX.C (scanAuxFiles): New method. Provides support for
2992 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2993 (scanLogFile) Scan for "run BibTeX" messages.
2995 * buffer.C (makeLaTeXFile): Do not load the ae package when using
2996 OT1 font encoding. Also, load the aecompl package if the ae
2999 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3001 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3003 * texrow.C (increasePos): turn two error messages into debug
3006 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
3008 * LaTeX.C (scanAux): Handle the \@input macro.
3009 (runBibTeX): Use scanAux().
3011 * language.C (latex_options_): New field.
3013 * LaTeXFeatures.C (getMacros): Add language macros.
3015 * buffer.C (makeLaTeXFile): Small fix.
3017 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3019 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3021 * text2.C: add a using directive.
3023 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
3028 * lyxfunc.C: kill LyXBell.
3030 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
3032 * text.C (IsBoundary): Remove the error message
3034 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3036 * lyxrc.C (setDefaults): Correct initialization value for
3039 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
3041 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3044 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3047 * src/LyXAction.C: Added reference-next.
3049 * text.C (InsertChar): Use contains instead of strchr.
3051 * lyx_cb.C (MenuInsertLabel): Enable default value code.
3053 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
3055 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3056 alignment commands (when needed).
3058 * text.C (InsertChar): Add ':' to number separator chars.