1 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
3 * lyxfont.C (LyXSizeNames): changed increase-error to increase
4 and decrease-error to decrease.
6 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9 it more readable (should be equivalent)
11 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
18 of a cursor (row, etc.) after a character has been deleted
19 (deleteEmptyParagraphMechanism): call the method above on _all_
20 cursors held by the LyXText when a double space has been
22 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
24 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
26 (resizeCurrentBuff): remove code to destroy the old splash dialog.
28 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
29 background. Use greyOut() and the new show() methods to toggle between
30 the foreground and background. Add code to remove the splash after
33 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
34 (create_forms): no longer call Dialogs::showSplash.
36 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
38 * .cvsignore: add version_info.h
40 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
42 * version_info.h.in: new file
44 * Makefile.am: add version_info.h.in
46 * lyx_main.C (commandLineVersionInfo): use version_info defined in
47 version_info.h instead of VERSION_INFO
49 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
51 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
52 The ERT inset now returns string().
54 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
56 * lyxtext.h, text.C (selectNextWord): renamed as
57 selectNextWordToSpellcheck.
59 * text.C (selectNextWordToSpellcheck): Modified to not select
60 words inside an ERT inset.
62 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
64 * lyx_cb.C (MenuLayoutSave): change a bit the question
66 * sp_base.h: include <sys/types.h>
68 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
70 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
72 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
74 * several files: fix typos in user-visible strings
76 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
78 * text2.C (pasteSelection): do not set the selection, since it
79 will be cleared later. Actually, the intent was to fix the way the
80 selection was set, but I figured rmoving the code was just as good.
82 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
84 * FontLoader.C (available): Check if font is available without
87 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
91 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
93 * lyxrc.[Ch]: added display_graphics variable and associated code.
95 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
97 * bufferparams.C (hasClassDefaults): new method. Returns true if
98 the buffer parameters correspond to known class defaults
100 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
102 * XFormsView.C (show): set minimum size to the main window.
104 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
106 * text2.C (copySelection):
108 * lyxfind.C (LyXReplace):
109 * BufferView_pimpl.C (Dispatch): pass the correct flag to
110 LyXText::selectionAsString.
112 * paragraph.C (asString): add "label" argument to the second form
114 * text2.C (selectionAsString): add "label" argument and pass it to
117 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
119 * lyx_main.C (commandLineHelp): remove version information
121 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
123 * lyx_main.C: add -version commandline option
125 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
127 * paragraph.h: make the optional constructor arg required instead.
128 some modifications to other files because of this.
130 * minibuffer.C (C_MiniBuffer_peek_event): make it static
132 * lyxserver.C (C_LyXComm_callback): make it static
134 * lyx_main.C (error_handler): make it static
136 * lyx_gui.C (LyX_XErrHandler): make it static
138 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
140 * WorkArea.C: make the extern "C" methods static.
142 * Makefile.am (lyx_LDADD): simplify
144 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
146 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
147 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
149 * LyXAction.C (init):
150 * lyxfunc.C (dispatch): associated code removal.
152 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
154 * lyxfont.h (isSymbolFont): shut off warning
156 * text.C (setHeightOfRow):
157 (getVisibleRow): fix crash with empty paragraphs which have a
160 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
162 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
165 2001-09-04 José Matos <jamatos@fep.up.pt>
168 * tabular.C (docbook): rename docBook method to docbook.
170 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
172 * Makefile.am: add dependencies to main.o.
174 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
176 * FontLoader.C (available): Return false if !lyxrc.use_gui
178 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
180 * FontInfo.C (query):
181 * converter.C (view):
182 * importer.C (Import):
183 * exporter.C (Export): Can not -> cannot.
185 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
187 * BufferView_pimpl.C: allow to create index inset even if
190 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
192 * buffer.C (getLists): replace boost::tie code with an explicit pair
193 as boost::tie can break some compilers.
195 * iterators.h: Added a std:: declaration to the return type of
198 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
200 * lyxrc.C: add help for view_dvi_paper_option, default to safe
203 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
205 * iterators.[Ch]: New files. Provide paragraph iterators.
207 * buffer.C (changeLanguage): Use paragraph iterators.
208 (isMultiLingual): ditto
210 * BufferView2.C (ChangeInsets): Use paragraph iterators.
212 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
214 * FontLoader.C: Support for cmr font.
216 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
218 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
219 (available): New method.
221 * FontInfo.C (getFontname): Use scalable fonts even when
222 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
225 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
227 * converter.C (Formats::view): reverted! Incorrect fix.
229 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
231 * converter.C (Formats::view): only output the -paper option
232 if the dvi viewer is xdvi, thereby fixing bug #233429.
234 2001-08-23 Herbert Voss <voss@perce>
236 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
238 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
240 * Spacing.h (Spacing): Set space to Default on in the default
243 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
245 * vc-backend.h (RCS::versionString): add RCS to version
246 (CVS::versionString): add CVS to version
248 * vc-backend.C (scanMaster): do not add CVS to version.
249 (scanMaster): do not add RCS to version
251 * lyxvc.C (versionString): new method
253 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
255 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
257 * Spacing.C (set): initialize fval
259 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
261 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
264 2001-08-16 Juergen Vigna <jug@sad.it>
266 * lyxfunc.C (dispatch): implemented the new FINISHED states.
268 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
270 * BufferView_pimpl.C:
273 * text2.C: setParagraph takes linespacing now
275 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
277 * LyxAction.C: add internal LFUN_CITATION_INSERT
279 * LyXView.C: actually apply fix
281 * bufferlist.C: fix open non-existent file
283 * lyxfind.C: fix indentation
285 * lyxfunc.C: remove unneeded assert, fix typo
287 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
289 * MenuBackend.C: use "Floatname List"
291 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
293 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
294 when converting LaTeX layout to insetERT.
295 Generate a non-collapsed float when reading old float
297 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
299 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
302 2001-08-13 Juergen Vigna <jug@sad.it>
304 * text.C (fill): return 0 instead of 20 as this seems to be the more
307 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
309 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
312 2001-08-13 Juergen Vigna <jug@sad.it>
314 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
316 (SearchBackward): comment out the unlocking of the inset_owner this
317 should not be needed!
319 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
321 * Many files: Remove inherit_language, and add latex_language
323 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
326 2001-08-10 Juergen Vigna <jug@sad.it>
328 * text.C (prepareToPrint): fixed hfill-width in draw!
330 * BufferView2.C (selectLastWord): save the selection cursor as this
331 now is cleared in the function LyXText::clearSelection!
333 2001-08-08 Juergen Vigna <jug@sad.it>
335 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
336 BACKSPACE type functions.
338 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
339 is only cutted from the document but not put in the cut-buffer, where
340 still the old stuff should be.
342 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
344 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
346 * tabular.C (SetWidthOfCell): fixed special case where the width
348 (LeftLine): handle '|' in align_special.
350 (LeftAlreadyDrawed): ditto
351 (SetWidthOfCell): ditto
353 2001-08-07 Juergen Vigna <jug@sad.it>
355 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
357 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
359 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
362 2001-08-06 Juergen Vigna <jug@sad.it>
364 * text.C (getVisibleRow): fix up row clearing a bit.
366 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
368 * minibuffer.C: make sure the X server sees the changes in the input.
370 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
372 * paragraph.C (getFont): split into...
374 (getLayoutFont): and this
375 * paragraph_pimpl.C (realizeFont): calling this
377 * text2.C (getFont): split into...
378 (getLayoutFont): this
379 (getLabelFont): and this
380 (realizeFont): all three calling this
382 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
385 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
387 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
389 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
391 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
392 layouts from the Quote inset insertion.
394 2001-08-03 Juergen Vigna <jug@sad.it>
396 * BufferView_pimpl.C (update): do the fitCursor only at the end!
398 * screen.C (drawFromTo): don't call fitcursor here and do the loop
399 only if status not is already CHANGED_IN_DRAW (second level).
401 * text.C (draw): don't set the need_break_row when inside an
404 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
406 * buffer.C (parseSingleLyXformat2Token): handle more latex
409 * bufferview_funcs.[hC]: change function names to
410 begin with small char, adjust other files.
412 2001-08-02 André Pönitz <poenitz@gmx.net>
415 BufferView_pimpl.C: remove broken special code for math-greek
417 2001-08-02 Juergen Vigna <jug@sad.it>
419 * BufferView_pimpl.C (update): redone this function so that we
420 update the text again if there was a CHANGE_IN_DRAW.
422 * screen.C (cursorToggle): removed LyXText parameter and recoded.
423 (drawFromTo): added a new internal bool which is used by draw() and
425 (general): some cursor drawing problems fixed.
427 2001-08-01 Juergen Vigna <jug@sad.it>
429 * lyxfind.C (LyXFind): fixed
430 (SearchForward): ditto
431 (SearchBackward): ditto
433 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
434 spurius drawing of the cursor in the main area.
436 * text2.C (status): small fix which could lead to a segfault!
437 (clearSelection): remove unneeded BufferView param.
439 2001-08-01 André Pönitz <poenitz@gmx.net>
441 * lyxfunc.C: small change due to changed mathed interface
443 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
445 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
447 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
449 * lyxfunc.c: fail gracefully if file doesn't exist
454 * BufferView_pimpl.C: IsDirWriteable() proto changed
456 * LyXView.C: fix updateWindowTitle() to store the last title
458 2001-07-31 Juergen Vigna <jug@sad.it>
460 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
461 the font (wrong since using of Paragraph::highestFontInRange).
463 * paragraph.C (highestFontInRange): added a default_size parameter.
465 * text.C (getVisibleRow): minor clear row changes (still not perfect).
466 (setHeightOfRow): reformat
468 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
470 * converter.[hC] + affected files: move to (inital-char)lowercase
473 * ParagraphParameters.C (ParagraphParameters): remove commented code
475 * PainterBase.[Ch]: remove commented code
477 * LaTeXFeatures.h: add "bool floats" for float.sty
479 * LaTeXFeatures.C (LaTeXFeatures): init floats
480 (require): handle float
481 (getPackages): do it with floats
483 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
485 * BufferView_pimpl.C (Dispatch): improve handling of
486 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
488 * commandtags.h: #include lyxfont.h here temporarily to avoid
491 * bufferlist.h: include LString.h here.
493 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
495 * text2.C (getStringToIndex): new method.
497 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
499 * *: Reduced header file dependencies all over.
501 2001-07-30 Baruch Even <baruch@lyx.org>
503 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
505 2001-07-29 Baruch Even <baruch@lyx.org>
507 * buffer.C (readInset): Changed GRAPHICS to Graphics.
509 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
511 * ParameterStruct.h (endif): add a default constructor to make
512 sure that all variables is initialized.
514 * ParagraphParameters.C (ParagraphParameters): adjust
516 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
518 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
519 index; also, check that there is something to index, and that it
520 does not span over several paragraphs.
521 (doubleClick): use WHOLE_WORD_STRICT for double click.
523 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
525 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
528 2001-07-26 Baruch Even <baruch@lyx.org>
530 * buffer.C (readInset): Changed to call up InsetGraphics when reading
531 an InsetFig figure, backwards compatible reading of old figure code.
533 2001-07-27 Juergen Vigna <jug@sad.it>
535 * text2.C: font.realize function adaption.
537 * text.C (draw): add a warnings lyxerr text if needed.
539 * layout.C: font.realize function adaption.
541 * language.C: add inherit_language and implement it's handlings
543 * bufferview_funcs.C (StyleReset): remove language parameter from
544 font creation (should be language_inherit now).
546 * bufferparams.C (writeFile): handle ignore_language.
548 * paragraph.C (getFontSettings): the language has to be resolved
549 otherwise we have problems in LyXFont!
551 * lyxfont.C (lyxWriteChanges): added document_language parameter
552 (update): removed unneeded language parameter
554 * paragraph.C (validate): fixed wrong output of color-package when
555 using interface colors for certain fonts in certain environments,
556 which should not seen as that on the final output.
558 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
560 * BufferView_pimpl.C:
565 * LyXAction.C: add thesaurus support
568 * lyxfind.C: add "once" parameter, for thesaurus, to not
569 move to the next match
571 2001-07-26 Juergen Vigna <jug@sad.it>
573 * lyxfont.C (realize): honor ignore_language too!
576 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
578 * text.C (draw): one place more for ignore_language to not draw
581 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
583 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
585 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * buffer.C (parseSingleLyXformat2Token): a more general fix for
588 the minipage conversion problem.
590 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
592 * buffer.C (parseSingleLyXformat2Token): check minipage if we
595 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
597 * BufferView.h: don't forward declare WorkArea
599 * BufferView.C: don't include WorkArea.h
601 2001-07-25 André Pönitz <poenitz@gmx.net>
605 * lyxfunc.C: new LFUN 'math-space'
607 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
609 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * text2.C (toggleInset): call open/close
613 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
615 * lyxfunc.C (dispatch): add debug for the disabled case
617 * font.C (buttonText): make similar to rectText
619 * buffer.C (readInset): comment out parsing of insetlist and
622 * PainterBase.C (rectText): small correction
624 * BufferView_pimpl.C: comment out insettheorem and insetlist
626 * commandtags.h: ditto
628 2001-07-24 Juergen Vigna <jug@sad.it>
630 * text.C (draw): honor the ignore_language.
632 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
634 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
636 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
639 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * lyxtext.h: remove unused (and unimplemented) methods
643 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * text.C (getVisibleRow): honor background color
648 * Painter.h: remove default color argument for fillRectangle
650 * text.C (backgroundColor): new method
652 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
654 * text.C (getVisibleRow): adjust
656 * font.[Ch] (rectText): new method, metrics
657 (buttonText): new method, metrics
659 * PainterBase.[hC]: make rectText and buttonText always draw and take
662 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
664 * ToolbarDefaults.C (read):
665 * MenuBackend.C (read): allow escaping in all strings
667 * BufferView_pimpl.C (insertAndEditInset): new method.
668 (Dispatch): use insertAndEditInset whenever appropriate.
670 * BufferView_pimpl.C (insertNote): removed
672 * BufferView_pimpl.C (smartQuote): new method, moved from
673 BufferView; if an insetquote cannot be inserted, insert a '"'
676 * BufferView2.C: remove insertCorrectQuote();
678 * lyxfunc.C (getStatus): Add support for all remaingin
681 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
683 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
684 command (necessary to pass " as parameter of self-insert.
686 * text.C (selectWordWhenUnderCursor):
687 (selectWord): add word_location parameter
688 (selectWordWhenUnderCursor): same + remove special code for word
690 (selectNextWord): use kind() to guess type of insetspecialchar,
693 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
694 (insertErtContents): create ert insets as collapsed.
695 (readInset): better compatibility code for Info inset.
697 2001-07-20 Juergen Vigna <jug@sad.it>
699 * lyxfunc.C (dispatch): use always LyXFind now!
701 * text2.C (init): add a reinit flag so that the LyXText can be
702 reinited instead of deleted and reallocated (used in InsetText).
704 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
710 2001-07-18 Juergen Vigna <jug@sad.it>
712 * text.C (selectNextWord): handle insets inside inset by calling
713 always the bv->text functions so that we can go up the_locking_inset!
715 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
716 in strange locations when inside an inset!
718 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
719 handling to include insets.
721 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
723 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
725 * LyXAction.C (init):
727 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
728 LIGATURE_BREAK, since the name is so stupid.
730 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
732 * buffer.C (readInset): enable reading of new InsetNotes as well as old
735 * FontLoader.C: remove FORMS_H_LOCATION cruft.
737 * sp_form.[Ch]: remove.
739 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
741 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
744 * src/buffer.C (readInset): ditto.
746 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * BufferView_pimpl.C (specialChar): new method. Obsoletes
749 menuSeparator(), endOfSentenceDot(), ldots() and
750 hyphenationPoint(), which are therefore removed.
751 (Dispatch): handle LFUN_HYPHENATION_BREAK.
753 * LyXAction.C (init):
754 * commandtags.h: add LFUN_HYPHENATION_BREAK.
756 * paragraph.C (getWord): removed.
758 * BufferView_pimpl.C (Dispatch): use last word or selection for
759 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
761 * lyx_main.C (queryUserLyXDir): do not ask before creating
762 user_dir, except if it has been named explicitely.
764 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
766 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
767 a document of zero size.
769 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
771 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
772 approriately in the c-tor and in require().
773 (getPackages): output the appropriate LaTeX for natbib support.
775 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
776 variables "use_natbib" and "use_numerical_citations" when reading the
778 (readInset): read the various natbib cite commands.
779 (validate): white-space change.
781 * bufferparams.[Ch]: new variables "bool use_natbib" and
782 "bool use_numerical_citations".
783 (writeFile): output them in the LyX file.
785 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * lyxfunc.C (getStatus): add support for all the inset insertion
790 * text2.C (insertInset):
791 * paragraph.C (insetAllowed):
792 * BufferView_pimpl.C (insertInset): update to take in account the
793 renaming of insertInsetAllowed
795 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
797 * text2.C (getInset): new method. returns inset at cursor position.
799 * BufferView_pimpl.C (Dispatch): changes because of this.
801 * LyXAction.C (init): rename open-stuff to inset-toggle.
803 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
805 * text2.C (toggleInset): renamed from openStuff; use
808 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
810 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
812 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
814 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
816 * buffer.C (readLyXformat2): Add filename to the error dialog
818 2001-07-18 Juergen Vigna <jug@sad.it>
820 * tabular.C (GetCellNumber): put an assert here instead of the check!
822 2001-07-17 Juergen Vigna <jug@sad.it>
824 * BufferView_pimpl.C (toggleSelection): adapted too.
826 * text.C (selectNextWord): adapted for use with insets.
827 (selectSelectedWord): ditto
829 2001-07-17 Juergen Vigna <jug@sad.it>
831 * sp_spell.C (PSpell): fix initialitation order.
833 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
835 * paragraph.C: spacing
837 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
839 * sp_spell.C: repair language selection for pspell
841 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
843 * lyxfunc.h: change more methods to begin with lower char.
845 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
847 * buffer.C (parseSingleLyXformat2Token): Generate error insets
850 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
852 * buffer.C (readLyXformat2): Generate an error dialog if there are
855 2001-07-16 Juergen Vigna <jug@sad.it>
857 * sp_spell.C: always compile ISpell part.
859 * lyxrc.C: added use_pspell entry and it's handling.
861 2001-07-13 Juergen Vigna <jug@sad.it>
863 * sp_spell.C: removed double includes.
865 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
867 Consistent use of Lsstream.h:
868 * Lsstream.h: added using std::stringstream for consistencies sake.
870 * buffer.C: removed using std::stringstream
872 * lyxfont.C (stateText):
873 * paragraph.C (asString):
874 * text.C (selectNextWord, selectSelectedWord):
875 * text2.C (setCounter):
876 * vspace.C (asString, asLatexString):
877 std::ostringstream -> ostringstream.
879 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
881 * LyXAction.C: add LFUN_HELP_ABOUTLYX
882 * commandtags.h: add LFUN_HELP_ABOUTLYX
883 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
885 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
887 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
889 * lyx_gui_misc.C: remove spellchecker
890 * lyxfunc.C: showSpellchecker
895 * sp_form.[Ch]: removed
896 * spellchecker.[Ch]: removed
898 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
900 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
902 (simpleTeXSpecialChars): Simply print the input character without
903 any special translation if pass_thru is set.
905 * layout.h: Added bool pass_thru to layout class for being able to
906 implement pass through of a paragraph for Literate Programming.
908 * layout.C: add LT_PASS_THRU to LayoutTags enum.
909 * layout.C (LyXLayout): set pass_thru to flase in constructor.
910 * layout.C (Read): add "passthru" to list of layout tags and add
911 code to set the pass_thru boolean when it is read.
913 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
915 * trans_decl.h: remove allowed from KmodInfo
917 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
921 * paragraph_pimpl.C (erase): use boost::prior
923 * Painter.C (text): use data() instead of c_str() when length is
925 * WorkArea.C (putClipboard): ditto
926 * font.h (width): ditto
928 * BufferView2.C: use it-> instead of (*it). for iterators
930 * paragraph_pimpl.C: ditto
932 * minibuffer.C: ditto
941 * MenuBackend.C: ditto
946 * ColorHandler.C (LyXColorHandler): ditto
948 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
950 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
952 * text2.C (openStuff): reintroduce this method (which had been
953 nuked in NEW_INSETS frenzy).
955 * lyxfunc.C (Dispatch): when an action has not been handled, use
956 its name in the error message, not its number.
958 * paragraph.C (inInset): change method name to begin with lowercase.
961 * text2.C: updates because of this.
963 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
965 * ToolbarDefaults.C (add): add spaces in error message
967 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
969 * buffer.C (readLyXformat2): initialize the ert comp. variables.
970 (readLyXformat2): rename return_par to first_par, use lyxlex's
971 pushToken and remove the manual push handling.
972 (parseSingleLyXformat2Token): add another ert comp. variable:
973 in_tabular, rename return_par to first_par. handle newlines better
975 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
977 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
979 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
981 * text2.C (getParFromID): removed
983 * buffer.C (getParFromID): new method moved form lyxtext.
984 * BufferView2.C (insertErrors): adjust
985 (setCursorFromRow): adjust
986 * BufferView_pimpl.C (restorePosition): adjust
987 * lyxfunc.C (Dispatch): adjust
988 * undo_funcs.C (textUndo): adjust
990 (textHandleUndo): adjust
991 (textHandleUndo): adjust
993 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
995 * buffer.C: up' the LYX_FORMAT
997 * lyxfont.h: turn NO_LATEX on as default
999 * buffer.C (insertErtContents): new methods of tex style compability.
1000 (parseSingleLyXformat2Token): use it several places.
1001 * tabular.C (OldFormatRead): and here
1003 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1005 * text2.C: remove some commented code.
1008 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1009 * trans.C: changes because of the above.
1011 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
1013 * text2.C (setCounter): Fix counters bug with bibliography layout.
1015 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1017 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1018 own member functions
1019 (simpleTeXSpecialChars): ditto
1021 2001-07-06 Juergen Vigna <jug@sad.it>
1023 * a lot of files: changed the access to LyXText::status and the
1024 call of undo-functions.
1026 * undo.[Ch]: added a inset_id to the undo informations.
1028 * undo_funcs.[Ch]: added and moved here all undo functions.
1030 * lyxtext.h: give the status enum a weight, made status_ a private
1031 variable and made accessor functions for it, removed the whole bunch
1032 of undo-functions as they are now in their own file, make some
1033 functions publically available. Added function ownerParagraph with
1036 * paragraph.[Ch]: added "bool same_ids" to the constructor,
1037 made InInset() a const function, added getParFromID() function.
1039 * buffer.[Ch]: added const version for inset_iterator functions,
1040 added getInsetFromID() function.
1042 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1043 changed undo functions for new version.
1045 2001-07-05 Juergen Vigna <jug@sad.it>
1047 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1048 unknow mechanism does not call the proper constructor but only this
1049 one also if I request the other!?
1051 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1053 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1055 * text2.C (LyXText): use initialization lists.
1057 * lyxtext.h (Selection): initialize set_ and mark_
1058 (init): remove method
1060 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
1062 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1064 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1066 * screen.[Ch]: change method names to begin with lowercase
1068 * BufferView_pimpl.C (updateScrollbar): simplify further and
1069 hopefully make it a bit faster.
1071 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1073 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1074 calling directly xforms functions.
1076 * Painter.C (Painter):
1077 * lyx_cb.C (MenuWrite):
1078 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1081 * lyx_gui.C: remove bogus guiruntime extern declaration.
1083 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1085 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1087 (redoDrawingOfParagraph): ditto
1088 (redoParagraphs): ditto
1089 (cutSelection): don't create a object for CutAndPaste use the
1090 static method directly
1091 (pasteSelection): ditto
1093 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1096 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1098 * modifications to some other files because of this.
1100 * Makefile.am (lyx_SOURCES): add XFormsView
1102 * XFormsView.[Ch]: new files
1104 * LyXView.[Ch]: make LyXView a base class for the gui handling for
1105 the main window. Move the gui dependent stuff to XFormsView
1107 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1109 * tabular.C (GetCellInset): update cur_cell also in the row/col
1110 version of this function.
1112 * lyxfunc.C: no need to include figure_form.h here.
1118 * lyxvc.C: no need to include forms.h here.
1120 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1122 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1124 * lyxfunc.C (Dispatch):
1126 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1127 constructor argument.
1129 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1131 * paragraph.C (Paragraph): dont't clear, and just set layout.
1132 (makeSameLayout): use params's copy contructor.
1134 * ParagraphParameters.[Ch] (makeSame): delete method
1136 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1138 * Variables.[Ch]: fix indentation, rename set to isSet
1140 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1142 * lyxfunc.C (Dispatch): fix typo
1144 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1146 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1149 * bufferlist.C: include assert.h for emergencyWrite().
1151 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1153 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1154 give up at last (bug #425202) !
1156 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1162 * spellchecker.C: strip spellchecker options and bring up
1163 preferences tab instead
1165 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1167 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1168 the istringstream constructor
1170 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1172 * paragraph.C (getLayout): fix return value
1174 * paragraph.h: do not declare getLayout as inline.
1176 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1178 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1180 * lyxcursor.h (operator<): new func
1181 (operator>): new func
1182 (operator>=): new func
1183 (operator<=): new func
1185 * text.C (changeCase): use selection.start and selection.end
1186 (changeRegionCase): require from to be <= to. Require par to be a
1189 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1191 2001-06-27 Juergen Vigna <jug@sad.it>
1193 * text.C (cursorLeftOneWord): changed to return the cursor and added
1194 overlay with BufferView * parameter which calls this one.
1196 (selectWord): use new getWord function.
1197 (changeCase): renamed from changeWordCase as and extended to work
1200 * lyxtext.h: added enum word_location
1202 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1203 changeCase as this operates now also on selections.
1205 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1207 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1209 * many files: send debug output to Debug::INFO instead of
1212 * converter.C (View):
1214 (Move): send debug output to Debug::FILES instead of console.
1216 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1218 * lyxfunc.C (getStatus): use func_status
1220 * func_status.h: new header, describing the results of
1223 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1226 2001-06-25 The LyX Project <jug@sad.it>
1228 * buffer.C (sgmlOpenTag):
1230 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
1232 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1234 * text2.C: remove some dead code
1236 * tabular.C (GetCellInset): store the last cell checked (gotten)
1238 * tabular.h: add the helper for the speedup
1240 * lyxtext.h: remove some dead code
1242 2001-06-26 The LyX Project <Asger>
1244 * paragraph.C: Change export to LaTeX of alignment to
1245 \begin{center} and family for better roundtrip work with reLyX.
1247 * Tune the math drawing a bit.
1249 2001-06-25 The LyX Project <Asger>
1251 * LColor.C (LColor): New color for math background. New color
1254 2001-06-25 The LyX Project <jug@sad.it>
1256 * lyxfunc.C (MenuNew): remove extra check for .lyx file
1259 * bufferlist.C (newFile): do not restrict to files ending with
1262 * BufferView_pimpl.C (MenuInsertLyXFile):
1264 2001-06-24 The LyX Project <jug@sad.it>
1266 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1269 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * lyxtext.h: rename most methods to begin with a small char.
1272 Lots of changes because of this.
1274 * paragraph.C (Paragraph): do not call fitToSize
1275 (erase): call Pimpl::erase
1276 (insertChar): call Pimpl::insertChar
1277 (insertInset): call Pipl::insertInset
1278 (breakParagraph): do not call fitToSize
1279 (breakParagraphConservative): do not call fitToSize
1280 (fitToSize): remove method
1282 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1284 2001-06-24 The LyX Project <Asger>
1286 * Fix Qt compilation^2
1288 2001-06-24 The LyX Project <jug@sad.it>
1290 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1291 depthHook(getDepth()-1).
1294 * ParagraphParameters.h:
1295 * ParameterStruct.h: change type of depth to unsigned int ==
1296 depth_type. Many adaptations to other files before of that.
1298 2001-06-24 The LyX Project <Asger>
1300 * Fix Qt compilation.
1302 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1304 * paragraph.h: renamed several methods to begin with small letter.
1305 several changes to many parts of the code because of this.
1307 2001-06-23 The LyX Project <jug@sad.it>
1309 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1310 rewritten to discard all double spaces when KeepEmpty is off
1311 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1312 to only handle newlines but not fiddle with spaces and friends.
1314 * lyxfunc.C (MenuNew): when doing 'new from template', use
1315 template_path as default directory
1317 2001-06-23 The LyX Project <Asger>
1319 * Clean-up of header file includes all over
1320 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1322 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1324 * paragraph.h: renamed from lyxparagraph.h
1326 2001-06-23 Asger <lyx@violet.home.sad.it>
1328 * Buffer.h: Removed Buffer::resize
1329 * BufferList.h: Removed BufferList::resize
1330 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1331 the document lazily when we change the width, or the font settings.
1333 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1335 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1337 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1339 * buffer.h: remove out of date comment
1341 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1344 * screen.C: fix "theoretical" GC leak
1346 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1348 * LaTeX.C (scanAuxFile):
1349 (deplog): remove trailing \r when reading stream (useful under
1352 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1354 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1355 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1356 and BufferView::theLockingInset(Inset*), so should use them and not
1357 access bv_->text->the_locking_inset directly.
1359 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1361 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1364 * tex-defs.h: remove old unused file
1366 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1368 * BufferView_pimpl.C: fix typo, remove minibuffer message
1369 when buffer has loaded
1371 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1373 * lyxfunc.C (Dispatch): use stringstream
1374 (MenuNew): use stringstream
1375 (Open): use stringstream
1377 * importer.C (Import): use stringstream
1379 * bufferview_funcs.C (CurrentState): use stringstream
1381 * LaTeX.C (run): use stringstream
1383 * BufferView_pimpl.C (savePosition): use stringstream
1384 (restorePosition): use stringstream
1385 (MenuInsertLyXFile): use stringstream
1387 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1400 * vspace.C: removed // -*- C++ -*- as first line.
1403 * version.h: added // -*- C++ -*- as first line.
1405 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1407 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1409 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1412 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1414 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1417 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1419 * gettext.C: include LString.h even when --disable-nls is on.
1421 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1423 * converter.h (Get): changed argument type from int to
1424 FormatList::size_type to avoid unnecessary conversion.
1426 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1429 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1431 * gettext.h: include LString.h even when --disable-nls is on.
1433 2001-06-07 Juergen Vigna <jug@sad.it>
1435 * text.C (BreakAgain): subst spaces with tabs.
1437 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1438 (resizeInsetsLyXText): set force on resizeLyXText.
1440 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1442 * gettext.h (gettext_init):
1443 (locale_init): use a real definition instead of a macro
1445 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1447 * Bufferview_pimpl.C:
1449 * LColor.C: further lcolor tidies
1451 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1453 * BufferView_pimpl.C (updateScrollbar): simplify.
1455 * BufferView2.C: don't include insets/insetinfo.h, change
1456 prototype for insertInset and call the Pimpl version. let
1457 updateInset call Pimpl version.
1459 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1460 gotoInset to BufferView::Pimpl
1462 2001-06-01 Juergen Vigna <jug@sad.it>
1464 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1465 inside a LockingInset (is the update needed at all?).
1467 2001-05-31 Juergen Vigna <jug@sad.it>
1469 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1470 here not the old one otherwise how should we compare it afterwards
1473 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1478 * FontInfo.C: bring C functions into global namespace when
1481 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1483 * LString.h: make sure config.h has been loaded before LString.h.
1485 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1486 (one for each char read by EatLine!).
1488 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1491 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1493 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1494 to the same as the par we break from
1496 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1498 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1500 * MenuBackend.C (expand): also create menu entries for wide
1501 versions of the floats.
1503 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1505 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1507 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1508 frontends/Makefile.am
1514 * tabular.C (getTokenValue): add std::
1516 * tabular-old.C (getTokenValue): add std::
1517 (getTokenValue): ditto
1518 (getTokenValue): ditto
1520 * screen.C (ToggleSelection): adjust
1522 * lyxtext.h: put selection cursors inside a Selection struct.
1524 * lyxfunc.C (moveCursorUpdate): adjust
1526 * lyxfont.C (latexWriteStartChanges): add std::
1530 * font.h: delete with(char const *, LyXFont const &)
1532 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1534 * FontInfo.C (getFontname): add std::
1536 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1537 (workAreaButtonPress): adjust
1538 (tripleClick): adjust
1540 (moveCursorUpdate): adjust
1543 * BufferView2.C (gotoInset): adjust
1545 2001-05-30 Juergen Vigna <jug@sad.it>
1547 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1548 to check pspell I add this as default as I now have new pspell
1549 libraries and they seem to use this.
1551 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1553 * text2.C (CutSelection): make the cursor valid before the call to
1556 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1558 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1559 relied on 0 terminated strings and other horrors. Bug found due to
1560 the new assert in lyxstring!
1562 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1565 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1567 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1570 * lyxfunc.C (processKeySym): change method of getting to the
1573 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1574 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1575 * BufferView_pimpl.[Ch]: here as private methods.
1577 2001-05-28 Juergen Vigna <jug@sad.it>
1579 * text.C (SetHeightOfRow): added the update() call again as it is
1580 needed to initialize inset dimensions!
1582 2001-05-16 Juergen Vigna <jug@sad.it>
1584 * text2.C (SetCharFont): Add new function with BufferView * and
1585 bool toggleall parameters for setting insets internal fonts.
1586 (SetFont): Freeze the undo as we may change fonts in Insets and
1587 all this change should be inside only one Undo!
1589 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1590 setting font's in insets as for them we have the SetFont function!
1592 2001-05-15 Juergen Vigna <jug@sad.it>
1594 * text2.C (ClearSelection): to be sure we REALLY don't have any
1597 * tabular.C (TeXCellPreamble): fixed the left border problem for
1600 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1602 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1605 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1607 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1608 LFUN_BREAKPARAGRAPH.
1610 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1611 help test to "internal only", similar for LFUN_INSERT_URL
1613 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1614 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1615 auto_region_delete and deadkeys.
1617 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1620 * LColor.C: remove some dead entries, tidy a little
1622 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1624 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1626 (Dispatch): implement LFUN_ESCAPE
1628 * commandtags.h: add LFUN_ESCAPE
1630 * LyXAction.C (init): add entry for LFUN_ESCAPE
1632 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1633 Remove commented code.
1634 (insertNote): moved here
1635 (open_new_inset): moved here
1637 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1640 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1642 * kbmap.C (findbinding): clean it up and make it work correctly.
1644 * lyx_main.C (init): do not pass argc and argv as parameters
1646 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1648 * buffer.C: fix path for OS/2 & Win32
1652 * lyx_main.C: Added os:: class.
1654 * os2_defines.h: update
1656 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1658 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1659 better by trying again with reduced state.
1661 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1663 * lyxrc.C (read): print error about invalid key sequence only when
1664 debugging (because not all latinX keysyms are known to some X
1667 * kbsequence.C (getiso): add a few std:: qualifiers
1668 (getiso): comment out extra return statement.
1670 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1672 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1674 (Dispatch): enhance the accent inset a bit. (not perfect)
1676 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1678 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1680 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1682 * bufferlist.C (emergencyWrite): fix assert() call
1684 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1686 * text.C (InsertChar): Added trivial patch to only send the "you
1687 can not do multiple spaces this way" message once during a
1690 2001-05-08 Baruch Even <baruch@lyx.org>
1692 * Makefile.am: Changed order of libraries to get LyX to link properly
1693 with the gnome frontend.
1695 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1697 * LaTeXFeatures.h: add a std:: qualifier
1699 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1701 * paragraph.C (String): use stringstream
1703 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1705 * paragraph.C (writeFile): remove footflag arg
1707 * buffer.C (makeLaTeXFile): use stringstream
1708 (latexParagraphs): remove footnot gurba
1710 * LaTeXFeatures.C (getPackages): use stringstream
1711 (getMacros): likewise
1712 (getTClassPreamble): likewise
1713 (getFloatDefinitions): new method
1715 * paragraph.C (writeFile): reindent
1718 * WorkArea.h: revert the xpos + etc changes.
1720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1722 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1724 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1725 (pasteSelection): likewise
1726 * text2.C (CreateUndo): likewise
1728 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1730 * minibuffer.C (peek_event): temporarily reduce the functionality
1731 of the minibuffer (to allow args on lfuns)
1733 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1734 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1736 * buffer.C (readInset): add compability reading of old float
1737 lists, add reading of new style float list.
1738 (readInset): avoid reevaluation of inscmd.getCmdName()
1739 (getLists): reindent
1741 * MenuBackend.C (MenuItem): implement parsing of
1742 md_floatlistinsert and md_floatinsert.
1743 (expand::LastFiles): move initalizaton of iterators out of loop,
1745 (expand::Documents): introduce typdedef vector<string> Strings,
1747 (expand::ExportFormats): introduce typedef vector<Format const *>
1748 Formats, and use it.
1749 (expand): implement FloatListInsert and FloatInsert.
1751 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1752 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1753 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1755 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1757 (Dispatch::LFUN_FLOAT_LIST): implement
1759 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1761 * LaTeX.C (run): Fix problem with --export code.
1763 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1765 * BufferView.[Ch] (workarea): removed.
1766 (getClipboard) new method; wrapper for workarea()->getClipboard()
1768 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1771 * WorkArea.h (width, height, xpos, ypos): These methods all
1772 returned the dimensions of the work_area sub-area of WorkArea,
1773 resulting in a position error if the WorkArea were resized. Now
1774 return the dimensions of the entire WorkArea.
1776 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1778 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1780 * LaTeX.C (deplog): correct the syntax of regex reg1
1782 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1784 * undo.C: remove !NEW_INSETS cruft
1786 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1788 * text2.C: remove !NEW_INSETS cruft
1790 * text.C: remove !NEW_INSETS cruft
1792 * tabular.C: remove !NEW_INSETS cruft
1794 * spellchecker.C: remove !NEW_INSETS cruft
1796 * lyxtext.h: remove !NEW_INSETS cruft
1798 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1800 * lyxfunc.C: remove !NEW_INSETS cruft
1802 * lyxfind.C: remove !NEW_INSETS cruft
1804 * lyx_cb.C: remove !NEW_INSETS cruft
1806 * figureForm.C: remove !NEW_INSETS cruft
1808 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1810 * buffer.[Ch]: remove !NEW_INSETS cruft
1812 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1814 * CutAndPaste.C: remove !NEW_INSETS cruft
1816 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1818 * BufferView2.C: remove !NEW_INSETS cruft
1820 * BufferView.h: remove !NEW_INSETS cruft
1822 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1824 * Lsstream.h: include LString.h before the sstream headers to
1825 fix problem with gcc 2.95.3 and lyxstring
1827 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1829 * lyx_main.C: add using directives when needed for C functions
1830 declared in std:: namespace.
1832 2001-04-27 Juergen Vigna <jug@sad.it>
1834 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1835 (SetHeightOfRow): comment out the update call should not be needed!
1837 2001-04-13 Juergen Vigna <jug@sad.it>
1839 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1840 (LyXTabular): tried to minimize operator= operations (and realized
1841 hopfully Lars wish).
1843 2001-04-27 Juergen Vigna <jug@sad.it>
1845 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1847 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1849 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1851 * buffer.C (readInset): hack to make listof algorithm work
1853 * BufferView_pimpl.C: hack to make listof algorithm work
1855 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1857 * LyXAction.C: removed all !NEW_INSETS cruft
1858 (init): moved lfun_item in method
1860 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1862 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1864 * BufferView2.C (theLockingInset): white space.
1866 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1868 * minibuffer.C: include <iostream>
1870 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1872 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1874 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1876 * text.[Ch] (TransposeChars): new method
1878 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1880 * call message directly through LyXView instead of through LyXFunc
1881 * BufferView2.C: adjust
1882 * BufferView_pimpl.C: adjust
1883 * FontLoader.C: adjust
1885 * bufferview_funcs.C: adjust
1886 * converter.C: adjust
1887 * figureForm.C: adjust
1888 * importer.C: adjust
1890 * lyx_gui_misc.C: adjust
1894 + more files in subdirs
1896 * lyxparagraph.h (size): move up int file
1899 * adjust all uses of Assert to lyx::Assert.
1901 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1902 lyxfunctional in namespace lyx
1903 * layout.C (hasLayout): ditto
1906 (delete_layout): ditto
1907 (NumberOfClass): ditto
1908 * converter.C (GetFormat): ditto
1913 * bufferlist.C (getFileNames): ditto
1914 (emergencyWriteAll): ditto
1917 * MenuBackend.C (hasSubmenu): ditto
1920 * BufferView_pimpl.C (getInsetByCode): ditto
1922 2001-04-18 Juergen Vigna <jug@sad.it>
1924 * vspace.C (asLatexString): fixed the 100% problem.
1926 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1928 * lyxfunc.C (Dispatch):
1930 * minibuffer.h: add a few std:: qualifiers
1932 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1934 * minibuffer.[Ch]: reimplement so that commands is initiated and
1935 run from lyxfunc, simplified som handling, and made the completion
1936 and history code for complete. wip.
1938 * lyxfunc.C (processKeySym): call message
1939 (miniDispatch): new temporary method
1940 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1941 (LFUN_MESSAGE): implement
1942 (LFUN_MESSAGE_PUSH): implement
1943 (LFUN_MESSAGE_POP): implement
1944 (initMiniBuffer): the initial/defualt minibuffer message.
1946 * lyxfont.[Ch]: inline some more getters
1948 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1950 * lyx_gui_misc.[Ch] (WriteStatus): remove method
1952 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1953 (AutoSave): use LFUN_MESSAGE
1954 (Reconfigure): ditto
1956 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1958 * figureForm.C: use LFUN_MESSAGE
1960 * converter.C (runLaTeX): use LFUN_MESSAGE
1962 * bufferview_funcs.C: use LFUN_MESSAGE
1964 (changeDepth): ditto
1966 * bufferparams.h: use boost::
1968 * bufferlist.h: inherit privately from noncopyable
1970 * bufferlist.C (loadLyXFile): remove some commented code.
1972 * buffer.C (runChktex): use LFUN_MESSAGE
1974 * ShareContainer.h: inherit privately from noncopyable
1976 * ParagraphParameters.[hC] (depth): inline it.
1978 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1980 (message): new method
1981 (messagePush): ditto
1983 (show): init minibuffer
1984 (showState): direct call
1986 * LaTeX.[Ch]: inherit privately from noncopyable
1987 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1988 instead of WriteStatus.
1990 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1992 * BufferView_pimpl.C (buffer): don't init minibuffer
1993 (workAreaButtonPress): use LFUN_MESSAGE
1994 (workAreaButtonRelease): ditto
1995 (savePosition): ditto
1996 (restorePosition): ditto
1997 (MenuInsertLyXFile): ditto
1998 (workAreaExpose): don't init minibuffer
1999 (update): remove commented code, simplify
2001 * BufferView2.C (openStuff): use LFUN_MESSAGE
2002 (toggleFloat): ditto
2005 (copyEnvironment): ditto
2006 (pasteEnvironment): ditto
2011 (updateInset): remove some commented code
2013 * lastfiles.h: inherit privately from noncopyable
2018 * lyxlex_pimpl.h: ditto
2020 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2021 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2022 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2024 * LyXAction.h: inherit privately from noncopyable, add methods
2025 func_begin, func_end, returning iterators to the func map.
2027 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2028 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2029 (func_begin): new method
2030 (func_end): new method
2032 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2034 (copySelection): ditto
2035 (pasteSelection): ditto
2037 * BufferView.C: whitespace change
2038 * BufferView.h: inherit privately from noncopyable
2040 2001-04-16 Allan Rae <rae@lyx.org>
2042 * tabular-old.C (l_getline):
2043 * spellchecker.C (sc_check_word):
2044 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2045 an unrecognised preprocessor directive. So ensure they're wrapped.
2047 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
2049 * src/exporter.C (Export): Give an error message when path to file
2052 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
2054 * LaTeX.C (deplog): Always check that foundfile exists.
2056 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2059 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
2061 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2063 * tabular.[Ch] (getLabelList): implement new method
2065 * minibuffer.h: comment ouf setTiimer
2067 * minibuffer.C (ExecutingCB): constify res
2068 (peek_event): constify s
2069 (Set): constify ntext
2070 (Init): constify nicename
2072 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2074 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2075 (savePosition): use two params to Minibuffer::Set
2076 (restorePosition): ditto
2078 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2080 * lyx_main.C: include language.h
2082 * Makefile.am (lyx_main.o): add language.h
2084 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2090 * CutAndPaste.C: include gettext.h
2092 * lyxfont.h: remove old hack with ON and OFF.
2095 * lyxfont.h: do not include language.h...
2100 * bufferview_funcs.C:
2106 * paragraph.C: ... but do it here instead
2108 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2110 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2112 * tabular.C: small reformat
2114 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2117 (BreakParagraph): ditto
2118 (SetOnlyLayout): ditto
2121 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2124 * lastfiles.C: removed most using decl, add std:: where needed
2126 * buffer.C: ws changes
2128 * MenuBackend.C (class compare_format): put into anon namespace
2129 (expand): constify label, names, action, action2
2132 * text.C (SingleWidth): constify font
2133 (IsBoundary): constify rtl2
2134 (GetVisibleRow): constify ww
2136 * LaTeX.C (deplog): constify logfile
2138 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2140 (workAreaExpose): constify widthChange, heightChange
2142 * lyxrow.C (par): moved
2145 * lyxrow.h: as inlines here
2147 * lyxfont.h (shape): moved from lyxfont.C
2148 (emph): moved from lyxfont.C
2150 * lyxfont.C (LyXFont): use initialization list for all
2152 (shape): move to lyxfont.h as inline
2153 (emph): move to lyxfont.h as inline
2156 2001-04-04 Juergen Vigna <jug@sad.it>
2158 * vspace.C: had to include stdio.h for use of sscanf
2160 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
2163 * BufferView_pimpl.h: remove xforms cruft. Both classes are
2164 independent of xforms.
2166 2001-04-02 Juergen Vigna <jug@sad.it>
2168 * spellchecker.C: fixed namespace placing!
2170 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2172 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2173 the LyXParagraph * is 0.
2175 2001-03-29 Juergen Vigna <jug@sad.it>
2177 * vspace.C: added support for %, c%, p%, l%.
2178 (stringFromUnit): added helper function.
2179 (asLatexString): changed to give right results for the %-values.
2181 * buffer.C: convert the widthp in a width%.
2183 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2185 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2188 * figureForm.[Ch]: stripped the FD_from_figure manipulation
2189 code out of lux_cb.[Ch], ready for its (imminent?) removal.
2191 * lyx_cb.[Ch]: see above.
2193 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2197 * lyx.[Ch]: replaced by figure_form.[Ch].
2201 * lyxfunc.C: changed headers associated with above changes.
2203 2001-03-27 Juergen Vigna <jug@sad.it>
2205 * BufferView_pimpl.C: set the temporary cursor right!
2207 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2209 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2211 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2213 * LString.h: removed "using std::getline"!
2215 * BufferView_pimpl.C (Dispatch): changes due to changes in
2216 InsetInclude::Params.
2218 * buffer.C (tag_name): removed redundant break statements as they were
2219 producing lots of warnings with my compiler.
2221 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2223 * LString.h: add "using std::getline" when using the real <string>.
2225 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2227 * buffer.C: removed bitset usage.
2228 PAR_TAG moved to an anonymous name space.
2229 (tag_name): new funtion, also in the anonymous namespace.
2230 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2231 (makeDocBookFile): clean code. Completed transition from string arrays
2233 (SimpleDocBookOnePar): code clean.
2235 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2237 * tabular.C: add some comments.
2239 2001-03-22 Juergen Vigna <jug@sad.it>
2241 * buffer.C (parseSingleLyXformat2Token): redone the minipage
2242 compatibility read a bit and fixed bug with minipage in different
2245 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
2247 * buffer.C (pop_tag): removed.
2248 (push_tag): removed.
2249 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2250 array replaced with vector. Added support for CDATA sections.
2251 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2253 (makeDocBookFile): XML conformant declaration of CDATA section,
2254 fixed bug related to <emphasis> in the first paragraph char.
2255 (sgmlOpenTag): exclude empty tags.
2256 (sgmlCloseTag): ditto.
2258 * buffer.h (pop_tag): removed.
2259 (push_tag): removed.
2261 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2263 * language.h (Languages): added size_type and size().
2265 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2267 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2268 response on compability reading of minipages. One probliem is that
2269 the old usage of minipages was «flertydig»
2271 * several files here and in subdirs: don't use static at file
2272 scope use anon namespaces instead.
2274 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
2276 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2277 LaTeX output. This is necessary for Literate document
2280 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2282 * buffer.C: insert hfill when needed.
2284 * tabular.C (l_getline): use string::erase, small whitespace change.
2286 * BufferView_pimpl.C: try the anon namespace.
2289 2001-03-16 Juergen Vigna <jug@sad.it>
2291 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2292 otherwise it won't open options-dialogs.
2294 * buffer.C: honor pextraWidth(p) on converting minipages.
2296 * tabular.C (l_getline): changed the functions to strip trailing \r.
2298 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2300 * BufferView_pimpl.C:
2301 * minibuffer..C: added "using SigC::slot" declaration.
2303 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2305 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2311 * paragraph.C: ditto
2313 * lyxtext.h: NO_PEXTRA
2315 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2317 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2318 * ParameterStruct.h: ditto
2319 * ParagraphParameters.h: ditto
2320 * lyxparagraph.h: ditto
2322 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2324 * buffer.C: add compability for minipage alignment.
2325 (latexParagraphs): remove unwanted pextra check.
2327 * several files: remove CXX_WORKING_NAMESPACES
2329 * buffer.C (pop_tag): tie is in namespace boost
2331 * BufferView.h: noncopyable is in namespace boost
2336 * lastfiles.h: ditto
2337 * bufferlist.h: ditto
2338 * ShareContainer.h: ditto
2340 * LyXAction.h: ditto
2343 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2345 * Merging changes from BRANCH_MVC back into HEAD.
2347 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2349 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2351 * BufferView_pimpl.C: change from intl.C
2355 * Makefile.am: move combox.*
2361 * intl.C: remove dialog (covered by prefs)
2363 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2365 * lyxfunc.C (Dispatch): removed redundant break statement.
2367 2001-03-14 Juergen Vigna <jug@sad.it>
2369 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2371 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2373 * buffer.C: add hack to fix compability reading of minipages.
2375 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2377 * buffer.C (getLists): Cleanup.
2379 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2381 * lyxfont.C (update): don't honor toggleall on font size.
2383 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2387 * Makefile.am: moved to frontends/xforms/
2391 * BufferView_pimpl.C: changes for moved mathpanel
2393 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2395 * gettext.h: fix gettext_init() in --disable-nls
2397 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2399 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2401 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2404 * lyx.h: strip external form
2406 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2408 * BufferView_pimpl.C: add comment, destroySplash()
2410 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2412 * BufferView_pimpl.C:
2416 * lyxfunc.C: use re-worked insetinclude
2418 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2420 * buffer.C: add using std::stringstream.
2422 * lyx_cb.C: readd using std::ios.
2424 * buffer.C: add using std::map.
2426 * BufferView_pimpl.C: add using std::vector.
2428 * ShareContainer.h: add std:: to swap.
2430 * buffer.h: add some typedefs
2431 * buffer.C (getLists): use them
2432 (getLists): renamed from getTocList.
2433 add a counter for the different float types and use it in the
2435 (getLists): use the same counter for the NEW_INSETS and the "non"
2438 * lyx_cb.h: remove unused items, includes, using etc.
2440 * ShareContainer.h: remove some commented code, add more comments
2441 and "documentation".
2443 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2445 * buffer.C (getTocList): make the list also when NEW_INSETS is
2448 * buffer.h: remove TocType
2450 * buffer.C (getTocList): change to return a map<string,
2451 vector<TocItem> >, implement for dynamic number of list.
2453 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2454 * text2.C (PasteSelection): adjust
2455 * CutAndPaste.C (pasteSelection): adjust
2457 * FloatList.C (FloatList): update from the new_insets branch.
2458 * Floating.[Ch]: ditto
2459 * LaTeXFeatures.C: ditto
2461 * lyxlex_pimpl.C: ditto
2463 * paragraph.C (Last): remove when NEW_INSETS is defined.
2465 * other file: changes because of the above.
2467 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2469 * lyxparagraph.h: rename next to next_, previous to previous_,
2470 make them private for NEW_INSETS. Rename Next() to next(),
2471 Previous() to previous().
2473 * other files: changes because of the above.
2475 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2478 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2481 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2483 * main.C (main): pass lyx_localedir to gettext_init().
2485 * gettext.h: remove locale_init and gettext_init macros
2487 * gettext.C (locale_init): new function
2488 (gettext_init): new function
2490 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2493 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2495 * Moved credits to frontends:
2496 * credits.[Ch]: removed
2497 * credits_form.[Ch]: removed
2498 * lyx_gui_misc.C: remove credits stuff
2501 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2503 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2505 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2506 unneeded destructor.
2508 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2509 a standalone pointer again.
2511 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2513 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2519 * ToolbarDefaults.C:
2528 * BufferView_pimpl.C: use new file dialog in GUII
2531 * lyx_cb.C: remove LayoutsCB to Toolbar
2533 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2535 * ShareContainer.h (get): add std:: qualifier
2537 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2539 * ShareContainer.h: define a proper ShareContainer::value_type
2540 type (and use typename to please compaq cxx)
2542 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2544 * lyxparagraph.h: move serveral local vars to
2545 ParameterStruct/ParagraphParameters., use ShareContainer in
2546 FontTable., make vars in FontTable private and add getter and
2549 * paragraph.C: changes because of the above.
2551 * lyxfont.h: remove copy constructor and copy assignment. (the
2552 default ones is ok), move number inside FontBits. move inlines to
2555 * lyxfont.C: add number to initializaton of statics, move several
2556 inlines here. constify several local vars. some whitespace
2557 cleanup. Dont hide outerscope variables.
2559 * Spacing.h: add two new constructors to match the set methods.
2561 * ShareContainer.h: new file, will perhaps be moved to support
2563 * ParameterStruct.h: new file
2565 * ParagraphParameters.h: new file
2567 * ParagraphParameters.C: new file
2569 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2570 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2572 * BufferView_pimpl.C: ParagraphParameter changes.
2573 * buffer.C: Likewise.
2574 * bufferview_funcs.C: Likewise.
2576 * text2.C: Likewise.
2578 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2580 * lyxfind.C (LyXReplace): do not redefine default argument in
2582 (IsStringInText): ditto
2583 (SearchForward): ditto
2584 (SearchBackward): ditto
2586 2001-03-06 Juergen Vigna <jug@sad.it>
2588 * lyxfind.C (IsStringInText): put parentes around expressions.
2590 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2592 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2594 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2596 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2598 * stl_string_fwd.h: add comment
2600 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2603 * tabular.C: remove unused DocBook methods
2609 killed DO_USE_DEFAULT_LANGUAGE
2611 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2613 * lyx_gui.C: do not include language.h.
2615 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2616 arguments in function implementation.
2618 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2620 * BufferView_pimpl.C: add <ctime>
2622 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2624 * BufferView_pimpl.C: add using std::find_if
2626 2001-02-27 José Matos <jamatos@fep.up.pt>
2628 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2631 2001-02-11 José Matos <jamatos@fep.up.pt>
2633 * buffer.C (makeDocBookFile): command styles now have a parameter as
2636 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2638 * layout_forms.[Ch]: removed
2639 * lyx_cb.[Ch]: out character
2640 * lyx_gui.C: out character
2641 * lyx_gui_misc.C: out character
2642 * bufferview_funcs.C: : out character,
2643 added toggleall as parameter in ToggleAndShow
2645 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2647 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2649 * text2.C (SetCurrentFont): Disable number property at boundary.
2651 2001-02-26 Juergen Vigna <jug@sad.it>
2653 * lyxfunc.C (getStatus): added a string argument override function so
2654 that this is correctly called from LyXFunc::Dispatch if it contains a
2655 do_not_use_argument which is used!
2656 (Dispatch): added check for "custom" export and call appropriate func.
2658 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2660 * lyxrc.C: Add language_command_local, language_use_babel and
2661 language_global_options.
2663 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2665 * buffer.C (makeLaTeXFile): Use language_use_babel and
2666 language_global_options.
2668 2001-02-23 Juergen Vigna <jug@sad.it>
2670 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2671 which works with LyXText and putted it inside BufferView. Here now we
2672 only call for that part the BufferView::Dispatch() function.
2674 * BufferView.C (Dispatch): added.
2676 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2677 functions which needs to use a LyXText over from LyXFunc.
2678 (MenuInsertLyXFile): added
2679 (getInsetByCode): added
2680 (moveCursorUpdate): added
2681 (static TEXT): added
2683 2001-02-22 Juergen Vigna <jug@sad.it>
2685 * BufferView_pimpl.C (update): call a status update to see if LyXText
2688 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2690 * vc-backend.C (revert): implement for CVS
2691 (getLog): implement for CVS
2693 2001-02-20 Juergen Vigna <jug@sad.it>
2695 * text2.C (ClearSelection): added BufferView param for inset_owner call
2697 * lyxfunc.C (TEXT): added this function and use it instead of
2698 directly owner->view()-text of getLyXText().
2700 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2702 * src/layout_forms.C: out preamble
2703 * src/layout_forms.h: out preamble
2704 * src/lyx_cb.C: out preamble
2705 * src/lyx_cb.h: out preamble
2706 * src/lyx_gui.C: out preamble
2707 * src/lyx_gui_misc.C: out preamble
2708 * src/lyxfunc.C: connect with guii preamble
2710 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2712 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2714 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2716 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2717 whether to run bibtex.
2719 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2721 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2723 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2725 * Makefile.am (lyx_SOURCES): removed bibforms.h
2729 * text.C (GetVisibleRow): make several local vars const
2731 * tabular.C: small cleanup.
2733 * lyxserver.C (callback): use compare instead of strncmp
2735 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2736 inlines to after class or to paragraph.C
2738 * lyxfont.h: remove friend operator!=
2740 * converter.h: move friend bool operator< to non friend and after
2743 * combox.h: small cleanup
2745 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2746 to inlines after class def.
2748 * buffer.C (pop_tag): use string operations instead of strcmp
2750 * bmtable.c: doxygen, small cleanup
2752 * LaTeX.h: remove friend operator==
2754 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2766 * BufferView_pimpl.C:
2767 * BufferView.[Ch]: remove cruft
2769 2001-02-14 Juergen Vigna <jug@sad.it>
2771 * lyxfunc.C: removed #if 0 unused code
2773 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2775 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2777 * text2.C (SetSelection): added a BufferView * parameter
2779 2001-02-13 Juergen Vigna <jug@sad.it>
2781 * lyxfunc.C (Dispatch): fixed protected blank problem.
2782 * BufferView2.C (protectedBlank): added LyxText * parameter.
2784 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2785 (AppendColumn): same as above for column_info.
2787 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2788 (moveCursorUpdate): use a LyXText param for support of InsetText.
2790 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2791 (tripleClick): ditto
2793 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2795 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2797 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2799 * text2.C (SetSelection): set correct update status if inset_owner
2802 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2804 * tabular.C: remove some commented code.
2806 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2808 * BufferView_pimpl.C: call hideSplash()
2810 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2813 * bibforms.h: remove
2816 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2817 add LFUN_CHILD_CREATE
2819 * counters.h: fix tiny typo
2824 * lyx.C: move splash to frontends/xforms/
2826 * lyx_gui_misc.C: move Include and Bibform to frontends
2828 * lyxvc.h: clarify comment
2830 * vspace.C: tiny housekeeping
2832 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2834 * text.C (PrepareToPrint): RTL Fix.
2836 * paragraph.C (GetUChar): New method.
2837 (String): Use GetUChar.
2839 * buffer.C (asciiParagraph): Use GetUChar.
2841 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2843 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2845 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2848 * buffer.C: rename to getLogName(), handle
2849 build log / latex log nicely
2851 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2854 * MenuBackend.h: remove support for reference menuitem type.
2856 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2858 * BufferView_pimpl.C: housekeeping
2859 * BufferView_pimpl.h:
2864 * minibuffer.h: move Timeout GUI-I
2866 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2868 * lyxrc.C (read): Update converters data-structures.
2870 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2872 * LaTeX.h (operator!=): add operator != for Aux_Info
2874 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2876 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2878 * LaTeXLog.C: deleted, useful code moved to Buffer
2881 * buffer.C: new function getLatexLogName()
2887 * lyxfunc.C: use frontends for LaTeX and VC logs
2889 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2891 * LaTeX.h: yet another std:: that Allan forgot.
2893 * Variables.C (set): renamed from isset(), because this clashes
2894 with some HP-UX macros (grr).
2896 2001-02-06 Allan Rae <rae@lyx.org>
2898 * LaTeX.h: Another bug fix. Missing std:: this time.
2900 2001-02-04 Allan Rae <rae@lyx.org>
2902 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2903 floats problem. I've left it commented out because it's not quite
2904 correct. It should also test that the current object is a table or
2905 figure inset. But I haven't gotten around to figuring out how to do
2906 that. I *think* it'll be something like: "table" == inset.type()
2908 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2911 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2913 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2914 all the citation/databases/styles in the auxilary file.
2915 (run): Rerun latex if there was a babel language error.
2917 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2919 * text.C (Backspace): Preserve the font when changing newline char
2921 (BreakParagraph): If the cursor is before a space, delete the space.
2923 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2925 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2927 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2928 new argument (code).
2929 (ChangeCitationsIfUnique): New method.
2931 * paragraph.C (GetPositionOfInset): Handle bibkey.
2933 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2935 * BufferView_pimpl.h: change type of Position::par_pos to
2936 LyXParagraph::size_type.
2938 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
2940 * BufferView_pimpl.C (savePosition, restorePosition): Write
2941 messages to minibuffer.
2943 2001-01-28 José Matos <jamatos@fep.up.pt>
2945 * buffer.C (makeDocBookFile): adds support for document language.
2946 A silly restriction on the name of LatexCommand types where removed.
2947 Added support for CDATA sections, allows to chars unescaped, used
2948 among others in code, to avoid escape < and >.
2950 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2952 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
2953 saved positions instrad of a stack. Furthermore, a position is
2954 stored using paragraph id/paragraph position.
2956 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2957 Remove LFUN_REF_BACK.
2959 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
2961 * converter.C (dvipdfm_options): New method.
2963 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2965 * vspace.C (isValidLength): Fix for empty input string.
2967 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2969 * LyXAction.C (init): change description of LFUN_FIGURE to
2972 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2974 * LaTeX.C: add using directive
2976 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2978 * MenuBackend.C (expand): Fix the sorting of the formats.
2980 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2982 * lyx_main.C: tiny error message fix
2984 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2986 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2987 calling fl_initialize(). This fixes the problem with ',' as
2988 decimal separator in text files.
2990 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
2992 * trans.C (process): Fix the keymap bug.
2994 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2996 * LaTeX.C (scanAuxFiles): New method. Provides support for
2997 multiple bibliographies (when using the bibtopic/bibunits pacakges).
2998 (scanLogFile) Scan for "run BibTeX" messages.
3000 * buffer.C (makeLaTeXFile): Do not load the ae package when using
3001 OT1 font encoding. Also, load the aecompl package if the ae
3004 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3006 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3008 * texrow.C (increasePos): turn two error messages into debug
3011 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
3013 * LaTeX.C (scanAux): Handle the \@input macro.
3014 (runBibTeX): Use scanAux().
3016 * language.C (latex_options_): New field.
3018 * LaTeXFeatures.C (getMacros): Add language macros.
3020 * buffer.C (makeLaTeXFile): Small fix.
3022 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3024 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3026 * text2.C: add a using directive.
3028 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
3033 * lyxfunc.C: kill LyXBell.
3035 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
3037 * text.C (IsBoundary): Remove the error message
3039 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3041 * lyxrc.C (setDefaults): Correct initialization value for
3044 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
3046 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3049 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3052 * src/LyXAction.C: Added reference-next.
3054 * text.C (InsertChar): Use contains instead of strchr.
3056 * lyx_cb.C (MenuInsertLabel): Enable default value code.
3058 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
3060 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3061 alignment commands (when needed).
3063 * text.C (InsertChar): Add ':' to number separator chars.