1 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5 * lyx_main.C (commandLineVersionInfo): use new style version info.
7 * buffer.C (writeFile):
10 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14 * version.h: update to use stuff in version.C
16 * version.C.in: new file. Contains version information determined
17 at compile time. This is a merging of version.h and
20 2001-10-03 Juergen Vigna <jug@sad.it>
22 * BufferView_pimpl.C (update): don't change "dirty" status in
25 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
27 * WorkArea.C (c-tor): re-position version string slightly.
29 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
31 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
32 revert to previous code.
34 WorkArea.[Ch]: (show, destroySplash): methods removed.
36 WorkArea.C: rework code so that it's an amalgam of the codes before and
37 after the splash screen was moved to WorkArea.
39 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
42 * vspace.C (inPixels):
45 * buffer.C (insertStringAsLines):
46 (asciiParagraph): fix types to be large enough
48 * lyxlex_pimpl.h: change member status from short to int
50 * layout.h: fix type of endlabeltype
53 * kbsequence.C (parse): change return type to string::size_type
55 * LaTeX.C (updateBibtexDependencies): comment out unneeded
58 * Bullet.C (bulletSize):
59 (bulletEntry): do not use short ints as parameters
61 * BufferView2.C (insertLyXFile): change a char to an int.
63 * WorkArea.C (WorkArea): remove unneeded floats in computation
65 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
67 * buffer.C (asciiParagraph): Treat '\\' as other chars.
69 * paragraph.C (asString): Do not ignore newline/hfill chars when
70 copying to the clipboard.
72 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
74 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
75 after a multi-line inset.
77 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
79 * paragraph.C (validate): Set NeedLyXFootnoteCode
81 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
83 * lyxfont.C (LyXSizeNames): changed increase-error to increase
84 and decrease-error to decrease.
86 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
88 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
89 it more readable (should be equivalent)
91 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
93 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
95 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
97 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
98 of a cursor (row, etc.) after a character has been deleted
99 (deleteEmptyParagraphMechanism): call the method above on _all_
100 cursors held by the LyXText when a double space has been
102 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
104 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
106 (resizeCurrentBuff): remove code to destroy the old splash dialog.
108 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
109 background. Use greyOut() and the new show() methods to toggle between
110 the foreground and background. Add code to remove the splash after
113 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
114 (create_forms): no longer call Dialogs::showSplash.
116 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
118 * .cvsignore: add version_info.h
120 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
122 * version_info.h.in: new file
124 * Makefile.am: add version_info.h.in
126 * lyx_main.C (commandLineVersionInfo): use version_info defined in
127 version_info.h instead of VERSION_INFO
129 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
131 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
132 The ERT inset now returns string().
134 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
136 * lyxtext.h, text.C (selectNextWord): renamed as
137 selectNextWordToSpellcheck.
139 * text.C (selectNextWordToSpellcheck): Modified to not select
140 words inside an ERT inset.
142 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
144 * lyx_cb.C (MenuLayoutSave): change a bit the question
146 * sp_base.h: include <sys/types.h>
148 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
150 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
152 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
154 * several files: fix typos in user-visible strings
156 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
158 * text2.C (pasteSelection): do not set the selection, since it
159 will be cleared later. Actually, the intent was to fix the way the
160 selection was set, but I figured rmoving the code was just as good.
162 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
164 * FontLoader.C (available): Check if font is available without
167 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
169 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
171 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
173 * lyxrc.[Ch]: added display_graphics variable and associated code.
175 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
177 * bufferparams.C (hasClassDefaults): new method. Returns true if
178 the buffer parameters correspond to known class defaults
180 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
182 * XFormsView.C (show): set minimum size to the main window.
184 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
186 * text2.C (copySelection):
188 * lyxfind.C (LyXReplace):
189 * BufferView_pimpl.C (Dispatch): pass the correct flag to
190 LyXText::selectionAsString.
192 * paragraph.C (asString): add "label" argument to the second form
194 * text2.C (selectionAsString): add "label" argument and pass it to
197 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
199 * lyx_main.C (commandLineHelp): remove version information
201 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
203 * lyx_main.C: add -version commandline option
205 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * paragraph.h: make the optional constructor arg required instead.
208 some modifications to other files because of this.
210 * minibuffer.C (C_MiniBuffer_peek_event): make it static
212 * lyxserver.C (C_LyXComm_callback): make it static
214 * lyx_main.C (error_handler): make it static
216 * lyx_gui.C (LyX_XErrHandler): make it static
218 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
220 * WorkArea.C: make the extern "C" methods static.
222 * Makefile.am (lyx_LDADD): simplify
224 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
226 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
227 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
229 * LyXAction.C (init):
230 * lyxfunc.C (dispatch): associated code removal.
232 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
234 * lyxfont.h (isSymbolFont): shut off warning
236 * text.C (setHeightOfRow):
237 (getVisibleRow): fix crash with empty paragraphs which have a
240 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
242 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
245 2001-09-04 José Matos <jamatos@fep.up.pt>
248 * tabular.C (docbook): rename docBook method to docbook.
250 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
252 * Makefile.am: add dependencies to main.o.
254 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
256 * FontLoader.C (available): Return false if !lyxrc.use_gui
258 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
260 * FontInfo.C (query):
261 * converter.C (view):
262 * importer.C (Import):
263 * exporter.C (Export): Can not -> cannot.
265 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
267 * BufferView_pimpl.C: allow to create index inset even if
270 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
272 * buffer.C (getLists): replace boost::tie code with an explicit pair
273 as boost::tie can break some compilers.
275 * iterators.h: Added a std:: declaration to the return type of
278 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
280 * lyxrc.C: add help for view_dvi_paper_option, default to safe
283 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
285 * iterators.[Ch]: New files. Provide paragraph iterators.
287 * buffer.C (changeLanguage): Use paragraph iterators.
288 (isMultiLingual): ditto
290 * BufferView2.C (ChangeInsets): Use paragraph iterators.
292 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
294 * FontLoader.C: Support for cmr font.
296 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
298 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
299 (available): New method.
301 * FontInfo.C (getFontname): Use scalable fonts even when
302 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
305 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
307 * converter.C (Formats::view): reverted! Incorrect fix.
309 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
311 * converter.C (Formats::view): only output the -paper option
312 if the dvi viewer is xdvi, thereby fixing bug #233429.
314 2001-08-23 Herbert Voss <voss@perce>
316 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
318 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
320 * Spacing.h (Spacing): Set space to Default on in the default
323 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
325 * vc-backend.h (RCS::versionString): add RCS to version
326 (CVS::versionString): add CVS to version
328 * vc-backend.C (scanMaster): do not add CVS to version.
329 (scanMaster): do not add RCS to version
331 * lyxvc.C (versionString): new method
333 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
335 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
337 * Spacing.C (set): initialize fval
339 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
341 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
344 2001-08-16 Juergen Vigna <jug@sad.it>
346 * lyxfunc.C (dispatch): implemented the new FINISHED states.
348 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
350 * BufferView_pimpl.C:
353 * text2.C: setParagraph takes linespacing now
355 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
357 * LyxAction.C: add internal LFUN_CITATION_INSERT
359 * LyXView.C: actually apply fix
361 * bufferlist.C: fix open non-existent file
363 * lyxfind.C: fix indentation
365 * lyxfunc.C: remove unneeded assert, fix typo
367 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
369 * MenuBackend.C: use "Floatname List"
371 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
373 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
374 when converting LaTeX layout to insetERT.
375 Generate a non-collapsed float when reading old float
377 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
379 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
382 2001-08-13 Juergen Vigna <jug@sad.it>
384 * text.C (fill): return 0 instead of 20 as this seems to be the more
387 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
389 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
392 2001-08-13 Juergen Vigna <jug@sad.it>
394 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
396 (SearchBackward): comment out the unlocking of the inset_owner this
397 should not be needed!
399 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
401 * Many files: Remove inherit_language, and add latex_language
403 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
406 2001-08-10 Juergen Vigna <jug@sad.it>
408 * text.C (prepareToPrint): fixed hfill-width in draw!
410 * BufferView2.C (selectLastWord): save the selection cursor as this
411 now is cleared in the function LyXText::clearSelection!
413 2001-08-08 Juergen Vigna <jug@sad.it>
415 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
416 BACKSPACE type functions.
418 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
419 is only cutted from the document but not put in the cut-buffer, where
420 still the old stuff should be.
422 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
424 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
426 * tabular.C (SetWidthOfCell): fixed special case where the width
428 (LeftLine): handle '|' in align_special.
430 (LeftAlreadyDrawed): ditto
431 (SetWidthOfCell): ditto
433 2001-08-07 Juergen Vigna <jug@sad.it>
435 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
437 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
439 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
442 2001-08-06 Juergen Vigna <jug@sad.it>
444 * text.C (getVisibleRow): fix up row clearing a bit.
446 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * minibuffer.C: make sure the X server sees the changes in the input.
450 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
452 * paragraph.C (getFont): split into...
454 (getLayoutFont): and this
455 * paragraph_pimpl.C (realizeFont): calling this
457 * text2.C (getFont): split into...
458 (getLayoutFont): this
459 (getLabelFont): and this
460 (realizeFont): all three calling this
462 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
465 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
467 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
469 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
471 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
472 layouts from the Quote inset insertion.
474 2001-08-03 Juergen Vigna <jug@sad.it>
476 * BufferView_pimpl.C (update): do the fitCursor only at the end!
478 * screen.C (drawFromTo): don't call fitcursor here and do the loop
479 only if status not is already CHANGED_IN_DRAW (second level).
481 * text.C (draw): don't set the need_break_row when inside an
484 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
486 * buffer.C (parseSingleLyXformat2Token): handle more latex
489 * bufferview_funcs.[hC]: change function names to
490 begin with small char, adjust other files.
492 2001-08-02 André Pönitz <poenitz@gmx.net>
495 BufferView_pimpl.C: remove broken special code for math-greek
497 2001-08-02 Juergen Vigna <jug@sad.it>
499 * BufferView_pimpl.C (update): redone this function so that we
500 update the text again if there was a CHANGE_IN_DRAW.
502 * screen.C (cursorToggle): removed LyXText parameter and recoded.
503 (drawFromTo): added a new internal bool which is used by draw() and
505 (general): some cursor drawing problems fixed.
507 2001-08-01 Juergen Vigna <jug@sad.it>
509 * lyxfind.C (LyXFind): fixed
510 (SearchForward): ditto
511 (SearchBackward): ditto
513 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
514 spurius drawing of the cursor in the main area.
516 * text2.C (status): small fix which could lead to a segfault!
517 (clearSelection): remove unneeded BufferView param.
519 2001-08-01 André Pönitz <poenitz@gmx.net>
521 * lyxfunc.C: small change due to changed mathed interface
523 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
525 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
527 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
529 * lyxfunc.c: fail gracefully if file doesn't exist
534 * BufferView_pimpl.C: IsDirWriteable() proto changed
536 * LyXView.C: fix updateWindowTitle() to store the last title
538 2001-07-31 Juergen Vigna <jug@sad.it>
540 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
541 the font (wrong since using of Paragraph::highestFontInRange).
543 * paragraph.C (highestFontInRange): added a default_size parameter.
545 * text.C (getVisibleRow): minor clear row changes (still not perfect).
546 (setHeightOfRow): reformat
548 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
550 * converter.[hC] + affected files: move to (inital-char)lowercase
553 * ParagraphParameters.C (ParagraphParameters): remove commented code
555 * PainterBase.[Ch]: remove commented code
557 * LaTeXFeatures.h: add "bool floats" for float.sty
559 * LaTeXFeatures.C (LaTeXFeatures): init floats
560 (require): handle float
561 (getPackages): do it with floats
563 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
565 * BufferView_pimpl.C (Dispatch): improve handling of
566 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
568 * commandtags.h: #include lyxfont.h here temporarily to avoid
571 * bufferlist.h: include LString.h here.
573 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
575 * text2.C (getStringToIndex): new method.
577 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
579 * *: Reduced header file dependencies all over.
581 2001-07-30 Baruch Even <baruch@lyx.org>
583 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
585 2001-07-29 Baruch Even <baruch@lyx.org>
587 * buffer.C (readInset): Changed GRAPHICS to Graphics.
589 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
591 * ParameterStruct.h (endif): add a default constructor to make
592 sure that all variables is initialized.
594 * ParagraphParameters.C (ParagraphParameters): adjust
596 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
598 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
599 index; also, check that there is something to index, and that it
600 does not span over several paragraphs.
601 (doubleClick): use WHOLE_WORD_STRICT for double click.
603 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
605 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
608 2001-07-26 Baruch Even <baruch@lyx.org>
610 * buffer.C (readInset): Changed to call up InsetGraphics when reading
611 an InsetFig figure, backwards compatible reading of old figure code.
613 2001-07-27 Juergen Vigna <jug@sad.it>
615 * text2.C: font.realize function adaption.
617 * text.C (draw): add a warnings lyxerr text if needed.
619 * layout.C: font.realize function adaption.
621 * language.C: add inherit_language and implement it's handlings
623 * bufferview_funcs.C (StyleReset): remove language parameter from
624 font creation (should be language_inherit now).
626 * bufferparams.C (writeFile): handle ignore_language.
628 * paragraph.C (getFontSettings): the language has to be resolved
629 otherwise we have problems in LyXFont!
631 * lyxfont.C (lyxWriteChanges): added document_language parameter
632 (update): removed unneeded language parameter
634 * paragraph.C (validate): fixed wrong output of color-package when
635 using interface colors for certain fonts in certain environments,
636 which should not seen as that on the final output.
638 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
640 * BufferView_pimpl.C:
645 * LyXAction.C: add thesaurus support
648 * lyxfind.C: add "once" parameter, for thesaurus, to not
649 move to the next match
651 2001-07-26 Juergen Vigna <jug@sad.it>
653 * lyxfont.C (realize): honor ignore_language too!
656 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
658 * text.C (draw): one place more for ignore_language to not draw
661 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
663 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
665 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
667 * buffer.C (parseSingleLyXformat2Token): a more general fix for
668 the minipage conversion problem.
670 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
672 * buffer.C (parseSingleLyXformat2Token): check minipage if we
675 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
677 * BufferView.h: don't forward declare WorkArea
679 * BufferView.C: don't include WorkArea.h
681 2001-07-25 André Pönitz <poenitz@gmx.net>
685 * lyxfunc.C: new LFUN 'math-space'
687 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
689 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
691 * text2.C (toggleInset): call open/close
693 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
695 * lyxfunc.C (dispatch): add debug for the disabled case
697 * font.C (buttonText): make similar to rectText
699 * buffer.C (readInset): comment out parsing of insetlist and
702 * PainterBase.C (rectText): small correction
704 * BufferView_pimpl.C: comment out insettheorem and insetlist
706 * commandtags.h: ditto
708 2001-07-24 Juergen Vigna <jug@sad.it>
710 * text.C (draw): honor the ignore_language.
712 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
714 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
716 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
719 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
721 * lyxtext.h: remove unused (and unimplemented) methods
723 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * text.C (getVisibleRow): honor background color
728 * Painter.h: remove default color argument for fillRectangle
730 * text.C (backgroundColor): new method
732 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
734 * text.C (getVisibleRow): adjust
736 * font.[Ch] (rectText): new method, metrics
737 (buttonText): new method, metrics
739 * PainterBase.[hC]: make rectText and buttonText always draw and take
742 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
744 * ToolbarDefaults.C (read):
745 * MenuBackend.C (read): allow escaping in all strings
747 * BufferView_pimpl.C (insertAndEditInset): new method.
748 (Dispatch): use insertAndEditInset whenever appropriate.
750 * BufferView_pimpl.C (insertNote): removed
752 * BufferView_pimpl.C (smartQuote): new method, moved from
753 BufferView; if an insetquote cannot be inserted, insert a '"'
756 * BufferView2.C: remove insertCorrectQuote();
758 * lyxfunc.C (getStatus): Add support for all remaingin
761 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
763 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
764 command (necessary to pass " as parameter of self-insert.
766 * text.C (selectWordWhenUnderCursor):
767 (selectWord): add word_location parameter
768 (selectWordWhenUnderCursor): same + remove special code for word
770 (selectNextWord): use kind() to guess type of insetspecialchar,
773 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
774 (insertErtContents): create ert insets as collapsed.
775 (readInset): better compatibility code for Info inset.
777 2001-07-20 Juergen Vigna <jug@sad.it>
779 * lyxfunc.C (dispatch): use always LyXFind now!
781 * text2.C (init): add a reinit flag so that the LyXText can be
782 reinited instead of deleted and reallocated (used in InsetText).
784 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
790 2001-07-18 Juergen Vigna <jug@sad.it>
792 * text.C (selectNextWord): handle insets inside inset by calling
793 always the bv->text functions so that we can go up the_locking_inset!
795 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
796 in strange locations when inside an inset!
798 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
799 handling to include insets.
801 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
803 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
805 * LyXAction.C (init):
807 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
808 LIGATURE_BREAK, since the name is so stupid.
810 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
812 * buffer.C (readInset): enable reading of new InsetNotes as well as old
815 * FontLoader.C: remove FORMS_H_LOCATION cruft.
817 * sp_form.[Ch]: remove.
819 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
821 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
824 * src/buffer.C (readInset): ditto.
826 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * BufferView_pimpl.C (specialChar): new method. Obsoletes
829 menuSeparator(), endOfSentenceDot(), ldots() and
830 hyphenationPoint(), which are therefore removed.
831 (Dispatch): handle LFUN_HYPHENATION_BREAK.
833 * LyXAction.C (init):
834 * commandtags.h: add LFUN_HYPHENATION_BREAK.
836 * paragraph.C (getWord): removed.
838 * BufferView_pimpl.C (Dispatch): use last word or selection for
839 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
841 * lyx_main.C (queryUserLyXDir): do not ask before creating
842 user_dir, except if it has been named explicitely.
844 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
846 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
847 a document of zero size.
849 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
851 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
852 approriately in the c-tor and in require().
853 (getPackages): output the appropriate LaTeX for natbib support.
855 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
856 variables "use_natbib" and "use_numerical_citations" when reading the
858 (readInset): read the various natbib cite commands.
859 (validate): white-space change.
861 * bufferparams.[Ch]: new variables "bool use_natbib" and
862 "bool use_numerical_citations".
863 (writeFile): output them in the LyX file.
865 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
867 * lyxfunc.C (getStatus): add support for all the inset insertion
870 * text2.C (insertInset):
871 * paragraph.C (insetAllowed):
872 * BufferView_pimpl.C (insertInset): update to take in account the
873 renaming of insertInsetAllowed
875 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
877 * text2.C (getInset): new method. returns inset at cursor position.
879 * BufferView_pimpl.C (Dispatch): changes because of this.
881 * LyXAction.C (init): rename open-stuff to inset-toggle.
883 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
885 * text2.C (toggleInset): renamed from openStuff; use
888 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
890 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
892 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
894 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
896 * buffer.C (readLyXformat2): Add filename to the error dialog
898 2001-07-18 Juergen Vigna <jug@sad.it>
900 * tabular.C (GetCellNumber): put an assert here instead of the check!
902 2001-07-17 Juergen Vigna <jug@sad.it>
904 * BufferView_pimpl.C (toggleSelection): adapted too.
906 * text.C (selectNextWord): adapted for use with insets.
907 (selectSelectedWord): ditto
909 2001-07-17 Juergen Vigna <jug@sad.it>
911 * sp_spell.C (PSpell): fix initialitation order.
913 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
915 * paragraph.C: spacing
917 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
919 * sp_spell.C: repair language selection for pspell
921 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
923 * lyxfunc.h: change more methods to begin with lower char.
925 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
927 * buffer.C (parseSingleLyXformat2Token): Generate error insets
930 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
932 * buffer.C (readLyXformat2): Generate an error dialog if there are
935 2001-07-16 Juergen Vigna <jug@sad.it>
937 * sp_spell.C: always compile ISpell part.
939 * lyxrc.C: added use_pspell entry and it's handling.
941 2001-07-13 Juergen Vigna <jug@sad.it>
943 * sp_spell.C: removed double includes.
945 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
947 Consistent use of Lsstream.h:
948 * Lsstream.h: added using std::stringstream for consistencies sake.
950 * buffer.C: removed using std::stringstream
952 * lyxfont.C (stateText):
953 * paragraph.C (asString):
954 * text.C (selectNextWord, selectSelectedWord):
955 * text2.C (setCounter):
956 * vspace.C (asString, asLatexString):
957 std::ostringstream -> ostringstream.
959 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
961 * LyXAction.C: add LFUN_HELP_ABOUTLYX
962 * commandtags.h: add LFUN_HELP_ABOUTLYX
963 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
965 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
967 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
969 * lyx_gui_misc.C: remove spellchecker
970 * lyxfunc.C: showSpellchecker
975 * sp_form.[Ch]: removed
976 * spellchecker.[Ch]: removed
978 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
980 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
982 (simpleTeXSpecialChars): Simply print the input character without
983 any special translation if pass_thru is set.
985 * layout.h: Added bool pass_thru to layout class for being able to
986 implement pass through of a paragraph for Literate Programming.
988 * layout.C: add LT_PASS_THRU to LayoutTags enum.
989 * layout.C (LyXLayout): set pass_thru to flase in constructor.
990 * layout.C (Read): add "passthru" to list of layout tags and add
991 code to set the pass_thru boolean when it is read.
993 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
995 * trans_decl.h: remove allowed from KmodInfo
997 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
1001 * paragraph_pimpl.C (erase): use boost::prior
1003 * Painter.C (text): use data() instead of c_str() when length is
1005 * WorkArea.C (putClipboard): ditto
1006 * font.h (width): ditto
1008 * BufferView2.C: use it-> instead of (*it). for iterators
1010 * paragraph_pimpl.C: ditto
1011 * paragraph.C: ditto
1012 * minibuffer.C: ditto
1017 * converter.C: ditto
1019 * Variables.C: ditto
1020 * TextCache.C: ditto
1021 * MenuBackend.C: ditto
1022 * LyXAction.C: ditto
1024 * FloatList.C: ditto
1026 * ColorHandler.C (LyXColorHandler): ditto
1028 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1030 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
1032 * text2.C (openStuff): reintroduce this method (which had been
1033 nuked in NEW_INSETS frenzy).
1035 * lyxfunc.C (Dispatch): when an action has not been handled, use
1036 its name in the error message, not its number.
1038 * paragraph.C (inInset): change method name to begin with lowercase.
1041 * text2.C: updates because of this.
1043 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1045 * ToolbarDefaults.C (add): add spaces in error message
1047 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1049 * buffer.C (readLyXformat2): initialize the ert comp. variables.
1050 (readLyXformat2): rename return_par to first_par, use lyxlex's
1051 pushToken and remove the manual push handling.
1052 (parseSingleLyXformat2Token): add another ert comp. variable:
1053 in_tabular, rename return_par to first_par. handle newlines better
1055 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1057 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
1059 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1061 * text2.C (getParFromID): removed
1063 * buffer.C (getParFromID): new method moved form lyxtext.
1064 * BufferView2.C (insertErrors): adjust
1065 (setCursorFromRow): adjust
1066 * BufferView_pimpl.C (restorePosition): adjust
1067 * lyxfunc.C (Dispatch): adjust
1068 * undo_funcs.C (textUndo): adjust
1070 (textHandleUndo): adjust
1071 (textHandleUndo): adjust
1073 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1075 * buffer.C: up' the LYX_FORMAT
1077 * lyxfont.h: turn NO_LATEX on as default
1079 * buffer.C (insertErtContents): new methods of tex style compability.
1080 (parseSingleLyXformat2Token): use it several places.
1081 * tabular.C (OldFormatRead): and here
1083 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1085 * text2.C: remove some commented code.
1088 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1089 * trans.C: changes because of the above.
1091 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
1093 * text2.C (setCounter): Fix counters bug with bibliography layout.
1095 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1097 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1098 own member functions
1099 (simpleTeXSpecialChars): ditto
1101 2001-07-06 Juergen Vigna <jug@sad.it>
1103 * a lot of files: changed the access to LyXText::status and the
1104 call of undo-functions.
1106 * undo.[Ch]: added a inset_id to the undo informations.
1108 * undo_funcs.[Ch]: added and moved here all undo functions.
1110 * lyxtext.h: give the status enum a weight, made status_ a private
1111 variable and made accessor functions for it, removed the whole bunch
1112 of undo-functions as they are now in their own file, make some
1113 functions publically available. Added function ownerParagraph with
1116 * paragraph.[Ch]: added "bool same_ids" to the constructor,
1117 made InInset() a const function, added getParFromID() function.
1119 * buffer.[Ch]: added const version for inset_iterator functions,
1120 added getInsetFromID() function.
1122 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1123 changed undo functions for new version.
1125 2001-07-05 Juergen Vigna <jug@sad.it>
1127 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1128 unknow mechanism does not call the proper constructor but only this
1129 one also if I request the other!?
1131 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1133 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1135 * text2.C (LyXText): use initialization lists.
1137 * lyxtext.h (Selection): initialize set_ and mark_
1138 (init): remove method
1140 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
1142 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1144 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1146 * screen.[Ch]: change method names to begin with lowercase
1148 * BufferView_pimpl.C (updateScrollbar): simplify further and
1149 hopefully make it a bit faster.
1151 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1153 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1154 calling directly xforms functions.
1156 * Painter.C (Painter):
1157 * lyx_cb.C (MenuWrite):
1158 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1161 * lyx_gui.C: remove bogus guiruntime extern declaration.
1163 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1165 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1167 (redoDrawingOfParagraph): ditto
1168 (redoParagraphs): ditto
1169 (cutSelection): don't create a object for CutAndPaste use the
1170 static method directly
1171 (pasteSelection): ditto
1173 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1176 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1178 * modifications to some other files because of this.
1180 * Makefile.am (lyx_SOURCES): add XFormsView
1182 * XFormsView.[Ch]: new files
1184 * LyXView.[Ch]: make LyXView a base class for the gui handling for
1185 the main window. Move the gui dependent stuff to XFormsView
1187 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1189 * tabular.C (GetCellInset): update cur_cell also in the row/col
1190 version of this function.
1192 * lyxfunc.C: no need to include figure_form.h here.
1198 * lyxvc.C: no need to include forms.h here.
1200 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1202 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1204 * lyxfunc.C (Dispatch):
1206 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1207 constructor argument.
1209 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1211 * paragraph.C (Paragraph): dont't clear, and just set layout.
1212 (makeSameLayout): use params's copy contructor.
1214 * ParagraphParameters.[Ch] (makeSame): delete method
1216 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1218 * Variables.[Ch]: fix indentation, rename set to isSet
1220 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1222 * lyxfunc.C (Dispatch): fix typo
1224 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1226 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1229 * bufferlist.C: include assert.h for emergencyWrite().
1231 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1233 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1234 give up at last (bug #425202) !
1236 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1242 * spellchecker.C: strip spellchecker options and bring up
1243 preferences tab instead
1245 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1247 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1248 the istringstream constructor
1250 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1252 * paragraph.C (getLayout): fix return value
1254 * paragraph.h: do not declare getLayout as inline.
1256 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1258 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1260 * lyxcursor.h (operator<): new func
1261 (operator>): new func
1262 (operator>=): new func
1263 (operator<=): new func
1265 * text.C (changeCase): use selection.start and selection.end
1266 (changeRegionCase): require from to be <= to. Require par to be a
1269 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1271 2001-06-27 Juergen Vigna <jug@sad.it>
1273 * text.C (cursorLeftOneWord): changed to return the cursor and added
1274 overlay with BufferView * parameter which calls this one.
1276 (selectWord): use new getWord function.
1277 (changeCase): renamed from changeWordCase as and extended to work
1280 * lyxtext.h: added enum word_location
1282 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1283 changeCase as this operates now also on selections.
1285 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1287 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1289 * many files: send debug output to Debug::INFO instead of
1292 * converter.C (View):
1294 (Move): send debug output to Debug::FILES instead of console.
1296 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1298 * lyxfunc.C (getStatus): use func_status
1300 * func_status.h: new header, describing the results of
1303 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1306 2001-06-25 The LyX Project <jug@sad.it>
1308 * buffer.C (sgmlOpenTag):
1310 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
1312 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1314 * text2.C: remove some dead code
1316 * tabular.C (GetCellInset): store the last cell checked (gotten)
1318 * tabular.h: add the helper for the speedup
1320 * lyxtext.h: remove some dead code
1322 2001-06-26 The LyX Project <Asger>
1324 * paragraph.C: Change export to LaTeX of alignment to
1325 \begin{center} and family for better roundtrip work with reLyX.
1327 * Tune the math drawing a bit.
1329 2001-06-25 The LyX Project <Asger>
1331 * LColor.C (LColor): New color for math background. New color
1334 2001-06-25 The LyX Project <jug@sad.it>
1336 * lyxfunc.C (MenuNew): remove extra check for .lyx file
1339 * bufferlist.C (newFile): do not restrict to files ending with
1342 * BufferView_pimpl.C (MenuInsertLyXFile):
1344 2001-06-24 The LyX Project <jug@sad.it>
1346 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1349 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1351 * lyxtext.h: rename most methods to begin with a small char.
1352 Lots of changes because of this.
1354 * paragraph.C (Paragraph): do not call fitToSize
1355 (erase): call Pimpl::erase
1356 (insertChar): call Pimpl::insertChar
1357 (insertInset): call Pipl::insertInset
1358 (breakParagraph): do not call fitToSize
1359 (breakParagraphConservative): do not call fitToSize
1360 (fitToSize): remove method
1362 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1364 2001-06-24 The LyX Project <Asger>
1366 * Fix Qt compilation^2
1368 2001-06-24 The LyX Project <jug@sad.it>
1370 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1371 depthHook(getDepth()-1).
1374 * ParagraphParameters.h:
1375 * ParameterStruct.h: change type of depth to unsigned int ==
1376 depth_type. Many adaptations to other files before of that.
1378 2001-06-24 The LyX Project <Asger>
1380 * Fix Qt compilation.
1382 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1384 * paragraph.h: renamed several methods to begin with small letter.
1385 several changes to many parts of the code because of this.
1387 2001-06-23 The LyX Project <jug@sad.it>
1389 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1390 rewritten to discard all double spaces when KeepEmpty is off
1391 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1392 to only handle newlines but not fiddle with spaces and friends.
1394 * lyxfunc.C (MenuNew): when doing 'new from template', use
1395 template_path as default directory
1397 2001-06-23 The LyX Project <Asger>
1399 * Clean-up of header file includes all over
1400 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1402 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1404 * paragraph.h: renamed from lyxparagraph.h
1406 2001-06-23 Asger <lyx@violet.home.sad.it>
1408 * Buffer.h: Removed Buffer::resize
1409 * BufferList.h: Removed BufferList::resize
1410 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1411 the document lazily when we change the width, or the font settings.
1413 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1415 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1417 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1419 * buffer.h: remove out of date comment
1421 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1424 * screen.C: fix "theoretical" GC leak
1426 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1428 * LaTeX.C (scanAuxFile):
1429 (deplog): remove trailing \r when reading stream (useful under
1432 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1434 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1435 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1436 and BufferView::theLockingInset(Inset*), so should use them and not
1437 access bv_->text->the_locking_inset directly.
1439 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1441 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1444 * tex-defs.h: remove old unused file
1446 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1448 * BufferView_pimpl.C: fix typo, remove minibuffer message
1449 when buffer has loaded
1451 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1453 * lyxfunc.C (Dispatch): use stringstream
1454 (MenuNew): use stringstream
1455 (Open): use stringstream
1457 * importer.C (Import): use stringstream
1459 * bufferview_funcs.C (CurrentState): use stringstream
1461 * LaTeX.C (run): use stringstream
1463 * BufferView_pimpl.C (savePosition): use stringstream
1464 (restorePosition): use stringstream
1465 (MenuInsertLyXFile): use stringstream
1467 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1480 * vspace.C: removed // -*- C++ -*- as first line.
1483 * version.h: added // -*- C++ -*- as first line.
1485 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1487 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1489 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1492 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1494 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1497 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1499 * gettext.C: include LString.h even when --disable-nls is on.
1501 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1503 * converter.h (Get): changed argument type from int to
1504 FormatList::size_type to avoid unnecessary conversion.
1506 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1509 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1511 * gettext.h: include LString.h even when --disable-nls is on.
1513 2001-06-07 Juergen Vigna <jug@sad.it>
1515 * text.C (BreakAgain): subst spaces with tabs.
1517 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1518 (resizeInsetsLyXText): set force on resizeLyXText.
1520 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1522 * gettext.h (gettext_init):
1523 (locale_init): use a real definition instead of a macro
1525 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1527 * Bufferview_pimpl.C:
1529 * LColor.C: further lcolor tidies
1531 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1533 * BufferView_pimpl.C (updateScrollbar): simplify.
1535 * BufferView2.C: don't include insets/insetinfo.h, change
1536 prototype for insertInset and call the Pimpl version. let
1537 updateInset call Pimpl version.
1539 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1540 gotoInset to BufferView::Pimpl
1542 2001-06-01 Juergen Vigna <jug@sad.it>
1544 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1545 inside a LockingInset (is the update needed at all?).
1547 2001-05-31 Juergen Vigna <jug@sad.it>
1549 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1550 here not the old one otherwise how should we compare it afterwards
1553 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1558 * FontInfo.C: bring C functions into global namespace when
1561 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1563 * LString.h: make sure config.h has been loaded before LString.h.
1565 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1566 (one for each char read by EatLine!).
1568 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1571 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1573 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1574 to the same as the par we break from
1576 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1578 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
1580 * MenuBackend.C (expand): also create menu entries for wide
1581 versions of the floats.
1583 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
1585 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
1587 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
1588 frontends/Makefile.am
1594 * tabular.C (getTokenValue): add std::
1596 * tabular-old.C (getTokenValue): add std::
1597 (getTokenValue): ditto
1598 (getTokenValue): ditto
1600 * screen.C (ToggleSelection): adjust
1602 * lyxtext.h: put selection cursors inside a Selection struct.
1604 * lyxfunc.C (moveCursorUpdate): adjust
1606 * lyxfont.C (latexWriteStartChanges): add std::
1610 * font.h: delete with(char const *, LyXFont const &)
1612 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
1614 * FontInfo.C (getFontname): add std::
1616 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1617 (workAreaButtonPress): adjust
1618 (tripleClick): adjust
1620 (moveCursorUpdate): adjust
1623 * BufferView2.C (gotoInset): adjust
1625 2001-05-30 Juergen Vigna <jug@sad.it>
1627 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
1628 to check pspell I add this as default as I now have new pspell
1629 libraries and they seem to use this.
1631 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1633 * text2.C (CutSelection): make the cursor valid before the call to
1636 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1638 * kbsequence.C (parse): de-uglify a bit the parsing code, which
1639 relied on 0 terminated strings and other horrors. Bug found due to
1640 the new assert in lyxstring!
1642 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
1645 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1647 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
1650 * lyxfunc.C (processKeySym): change method of getting to the
1653 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
1654 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
1655 * BufferView_pimpl.[Ch]: here as private methods.
1657 2001-05-28 Juergen Vigna <jug@sad.it>
1659 * text.C (SetHeightOfRow): added the update() call again as it is
1660 needed to initialize inset dimensions!
1662 2001-05-16 Juergen Vigna <jug@sad.it>
1664 * text2.C (SetCharFont): Add new function with BufferView * and
1665 bool toggleall parameters for setting insets internal fonts.
1666 (SetFont): Freeze the undo as we may change fonts in Insets and
1667 all this change should be inside only one Undo!
1669 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
1670 setting font's in insets as for them we have the SetFont function!
1672 2001-05-15 Juergen Vigna <jug@sad.it>
1674 * text2.C (ClearSelection): to be sure we REALLY don't have any
1677 * tabular.C (TeXCellPreamble): fixed the left border problem for
1680 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1682 * LaTeX.C (deplog): Make sure that the main .tex file is in the
1685 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1687 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1688 LFUN_BREAKPARAGRAPH.
1690 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1691 help test to "internal only", similar for LFUN_INSERT_URL
1693 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1694 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1695 auto_region_delete and deadkeys.
1697 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
1700 * LColor.C: remove some dead entries, tidy a little
1702 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1704 * lyxfunc.C (processKeySym): comment the Escape handling, remove
1706 (Dispatch): implement LFUN_ESCAPE
1708 * commandtags.h: add LFUN_ESCAPE
1710 * LyXAction.C (init): add entry for LFUN_ESCAPE
1712 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1713 Remove commented code.
1714 (insertNote): moved here
1715 (open_new_inset): moved here
1717 * BufferView[2].[Ch]: move insertNote and open_new_inset to
1720 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1722 * kbmap.C (findbinding): clean it up and make it work correctly.
1724 * lyx_main.C (init): do not pass argc and argv as parameters
1726 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1728 * buffer.C: fix path for OS/2 & Win32
1732 * lyx_main.C: Added os:: class.
1734 * os2_defines.h: update
1736 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1738 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1739 better by trying again with reduced state.
1741 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1743 * lyxrc.C (read): print error about invalid key sequence only when
1744 debugging (because not all latinX keysyms are known to some X
1747 * kbsequence.C (getiso): add a few std:: qualifiers
1748 (getiso): comment out extra return statement.
1750 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1752 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1754 (Dispatch): enhance the accent inset a bit. (not perfect)
1756 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1758 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1760 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1762 * bufferlist.C (emergencyWrite): fix assert() call
1764 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
1766 * text.C (InsertChar): Added trivial patch to only send the "you
1767 can not do multiple spaces this way" message once during a
1770 2001-05-08 Baruch Even <baruch@lyx.org>
1772 * Makefile.am: Changed order of libraries to get LyX to link properly
1773 with the gnome frontend.
1775 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1777 * LaTeXFeatures.h: add a std:: qualifier
1779 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1781 * paragraph.C (String): use stringstream
1783 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1785 * paragraph.C (writeFile): remove footflag arg
1787 * buffer.C (makeLaTeXFile): use stringstream
1788 (latexParagraphs): remove footnot gurba
1790 * LaTeXFeatures.C (getPackages): use stringstream
1791 (getMacros): likewise
1792 (getTClassPreamble): likewise
1793 (getFloatDefinitions): new method
1795 * paragraph.C (writeFile): reindent
1798 * WorkArea.h: revert the xpos + etc changes.
1800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1802 * lyxparagraph.[Ch]: add copy constructor, remove Clone
1804 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1805 (pasteSelection): likewise
1806 * text2.C (CreateUndo): likewise
1808 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1810 * minibuffer.C (peek_event): temporarily reduce the functionality
1811 of the minibuffer (to allow args on lfuns)
1813 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1814 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1816 * buffer.C (readInset): add compability reading of old float
1817 lists, add reading of new style float list.
1818 (readInset): avoid reevaluation of inscmd.getCmdName()
1819 (getLists): reindent
1821 * MenuBackend.C (MenuItem): implement parsing of
1822 md_floatlistinsert and md_floatinsert.
1823 (expand::LastFiles): move initalizaton of iterators out of loop,
1825 (expand::Documents): introduce typdedef vector<string> Strings,
1827 (expand::ExportFormats): introduce typedef vector<Format const *>
1828 Formats, and use it.
1829 (expand): implement FloatListInsert and FloatInsert.
1831 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1832 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1833 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1835 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1837 (Dispatch::LFUN_FLOAT_LIST): implement
1839 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1841 * LaTeX.C (run): Fix problem with --export code.
1843 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1845 * BufferView.[Ch] (workarea): removed.
1846 (getClipboard) new method; wrapper for workarea()->getClipboard()
1848 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1851 * WorkArea.h (width, height, xpos, ypos): These methods all
1852 returned the dimensions of the work_area sub-area of WorkArea,
1853 resulting in a position error if the WorkArea were resized. Now
1854 return the dimensions of the entire WorkArea.
1856 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1858 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1860 * LaTeX.C (deplog): correct the syntax of regex reg1
1862 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1864 * undo.C: remove !NEW_INSETS cruft
1866 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1868 * text2.C: remove !NEW_INSETS cruft
1870 * text.C: remove !NEW_INSETS cruft
1872 * tabular.C: remove !NEW_INSETS cruft
1874 * spellchecker.C: remove !NEW_INSETS cruft
1876 * lyxtext.h: remove !NEW_INSETS cruft
1878 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1880 * lyxfunc.C: remove !NEW_INSETS cruft
1882 * lyxfind.C: remove !NEW_INSETS cruft
1884 * lyx_cb.C: remove !NEW_INSETS cruft
1886 * figureForm.C: remove !NEW_INSETS cruft
1888 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1890 * buffer.[Ch]: remove !NEW_INSETS cruft
1892 * ToolbarDefaults.C: remove !NEW_INSETS cruft
1894 * CutAndPaste.C: remove !NEW_INSETS cruft
1896 * BufferView_pimpl.C: remove !NEW_INSETS cruft
1898 * BufferView2.C: remove !NEW_INSETS cruft
1900 * BufferView.h: remove !NEW_INSETS cruft
1902 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1904 * Lsstream.h: include LString.h before the sstream headers to
1905 fix problem with gcc 2.95.3 and lyxstring
1907 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1909 * lyx_main.C: add using directives when needed for C functions
1910 declared in std:: namespace.
1912 2001-04-27 Juergen Vigna <jug@sad.it>
1914 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1915 (SetHeightOfRow): comment out the update call should not be needed!
1917 2001-04-13 Juergen Vigna <jug@sad.it>
1919 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1920 (LyXTabular): tried to minimize operator= operations (and realized
1921 hopfully Lars wish).
1923 2001-04-27 Juergen Vigna <jug@sad.it>
1925 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1927 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1929 * lyxfunc.C (Dispatch): hack to make listof algorithm work
1931 * buffer.C (readInset): hack to make listof algorithm work
1933 * BufferView_pimpl.C: hack to make listof algorithm work
1935 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1937 * LyXAction.C: removed all !NEW_INSETS cruft
1938 (init): moved lfun_item in method
1940 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1942 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
1944 * BufferView2.C (theLockingInset): white space.
1946 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1948 * minibuffer.C: include <iostream>
1950 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1952 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1954 * commandtags.h: add LFUN_TRANSPOSE_CHARS
1956 * text.[Ch] (TransposeChars): new method
1958 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1960 * call message directly through LyXView instead of through LyXFunc
1961 * BufferView2.C: adjust
1962 * BufferView_pimpl.C: adjust
1963 * FontLoader.C: adjust
1965 * bufferview_funcs.C: adjust
1966 * converter.C: adjust
1967 * figureForm.C: adjust
1968 * importer.C: adjust
1970 * lyx_gui_misc.C: adjust
1974 + more files in subdirs
1976 * lyxparagraph.h (size): move up int file
1979 * adjust all uses of Assert to lyx::Assert.
1981 * BufferView2.C (ChangeCitationsIfUnique): adjust for
1982 lyxfunctional in namespace lyx
1983 * layout.C (hasLayout): ditto
1986 (delete_layout): ditto
1987 (NumberOfClass): ditto
1988 * converter.C (GetFormat): ditto
1993 * bufferlist.C (getFileNames): ditto
1994 (emergencyWriteAll): ditto
1997 * MenuBackend.C (hasSubmenu): ditto
2000 * BufferView_pimpl.C (getInsetByCode): ditto
2002 2001-04-18 Juergen Vigna <jug@sad.it>
2004 * vspace.C (asLatexString): fixed the 100% problem.
2006 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2008 * lyxfunc.C (Dispatch):
2010 * minibuffer.h: add a few std:: qualifiers
2012 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2014 * minibuffer.[Ch]: reimplement so that commands is initiated and
2015 run from lyxfunc, simplified som handling, and made the completion
2016 and history code for complete. wip.
2018 * lyxfunc.C (processKeySym): call message
2019 (miniDispatch): new temporary method
2020 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
2021 (LFUN_MESSAGE): implement
2022 (LFUN_MESSAGE_PUSH): implement
2023 (LFUN_MESSAGE_POP): implement
2024 (initMiniBuffer): the initial/defualt minibuffer message.
2026 * lyxfont.[Ch]: inline some more getters
2028 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
2030 * lyx_gui_misc.[Ch] (WriteStatus): remove method
2032 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
2033 (AutoSave): use LFUN_MESSAGE
2034 (Reconfigure): ditto
2036 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
2038 * figureForm.C: use LFUN_MESSAGE
2040 * converter.C (runLaTeX): use LFUN_MESSAGE
2042 * bufferview_funcs.C: use LFUN_MESSAGE
2044 (changeDepth): ditto
2046 * bufferparams.h: use boost::
2048 * bufferlist.h: inherit privately from noncopyable
2050 * bufferlist.C (loadLyXFile): remove some commented code.
2052 * buffer.C (runChktex): use LFUN_MESSAGE
2054 * ShareContainer.h: inherit privately from noncopyable
2056 * ParagraphParameters.[hC] (depth): inline it.
2058 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
2060 (message): new method
2061 (messagePush): ditto
2063 (show): init minibuffer
2064 (showState): direct call
2066 * LaTeX.[Ch]: inherit privately from noncopyable
2067 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
2068 instead of WriteStatus.
2070 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
2072 * BufferView_pimpl.C (buffer): don't init minibuffer
2073 (workAreaButtonPress): use LFUN_MESSAGE
2074 (workAreaButtonRelease): ditto
2075 (savePosition): ditto
2076 (restorePosition): ditto
2077 (MenuInsertLyXFile): ditto
2078 (workAreaExpose): don't init minibuffer
2079 (update): remove commented code, simplify
2081 * BufferView2.C (openStuff): use LFUN_MESSAGE
2082 (toggleFloat): ditto
2085 (copyEnvironment): ditto
2086 (pasteEnvironment): ditto
2091 (updateInset): remove some commented code
2093 * lastfiles.h: inherit privately from noncopyable
2098 * lyxlex_pimpl.h: ditto
2100 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2101 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2102 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2104 * LyXAction.h: inherit privately from noncopyable, add methods
2105 func_begin, func_end, returning iterators to the func map.
2107 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2108 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2109 (func_begin): new method
2110 (func_end): new method
2112 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2114 (copySelection): ditto
2115 (pasteSelection): ditto
2117 * BufferView.C: whitespace change
2118 * BufferView.h: inherit privately from noncopyable
2120 2001-04-16 Allan Rae <rae@lyx.org>
2122 * tabular-old.C (l_getline):
2123 * spellchecker.C (sc_check_word):
2124 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2125 an unrecognised preprocessor directive. So ensure they're wrapped.
2127 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
2129 * src/exporter.C (Export): Give an error message when path to file
2132 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
2134 * LaTeX.C (deplog): Always check that foundfile exists.
2136 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2139 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
2141 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2143 * tabular.[Ch] (getLabelList): implement new method
2145 * minibuffer.h: comment ouf setTiimer
2147 * minibuffer.C (ExecutingCB): constify res
2148 (peek_event): constify s
2149 (Set): constify ntext
2150 (Init): constify nicename
2152 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2154 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2155 (savePosition): use two params to Minibuffer::Set
2156 (restorePosition): ditto
2158 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2160 * lyx_main.C: include language.h
2162 * Makefile.am (lyx_main.o): add language.h
2164 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2170 * CutAndPaste.C: include gettext.h
2172 * lyxfont.h: remove old hack with ON and OFF.
2175 * lyxfont.h: do not include language.h...
2180 * bufferview_funcs.C:
2186 * paragraph.C: ... but do it here instead
2188 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2190 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2192 * tabular.C: small reformat
2194 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2197 (BreakParagraph): ditto
2198 (SetOnlyLayout): ditto
2201 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2204 * lastfiles.C: removed most using decl, add std:: where needed
2206 * buffer.C: ws changes
2208 * MenuBackend.C (class compare_format): put into anon namespace
2209 (expand): constify label, names, action, action2
2212 * text.C (SingleWidth): constify font
2213 (IsBoundary): constify rtl2
2214 (GetVisibleRow): constify ww
2216 * LaTeX.C (deplog): constify logfile
2218 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2220 (workAreaExpose): constify widthChange, heightChange
2222 * lyxrow.C (par): moved
2225 * lyxrow.h: as inlines here
2227 * lyxfont.h (shape): moved from lyxfont.C
2228 (emph): moved from lyxfont.C
2230 * lyxfont.C (LyXFont): use initialization list for all
2232 (shape): move to lyxfont.h as inline
2233 (emph): move to lyxfont.h as inline
2236 2001-04-04 Juergen Vigna <jug@sad.it>
2238 * vspace.C: had to include stdio.h for use of sscanf
2240 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
2243 * BufferView_pimpl.h: remove xforms cruft. Both classes are
2244 independent of xforms.
2246 2001-04-02 Juergen Vigna <jug@sad.it>
2248 * spellchecker.C: fixed namespace placing!
2250 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2252 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2253 the LyXParagraph * is 0.
2255 2001-03-29 Juergen Vigna <jug@sad.it>
2257 * vspace.C: added support for %, c%, p%, l%.
2258 (stringFromUnit): added helper function.
2259 (asLatexString): changed to give right results for the %-values.
2261 * buffer.C: convert the widthp in a width%.
2263 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2265 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2268 * figureForm.[Ch]: stripped the FD_from_figure manipulation
2269 code out of lux_cb.[Ch], ready for its (imminent?) removal.
2271 * lyx_cb.[Ch]: see above.
2273 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2277 * lyx.[Ch]: replaced by figure_form.[Ch].
2281 * lyxfunc.C: changed headers associated with above changes.
2283 2001-03-27 Juergen Vigna <jug@sad.it>
2285 * BufferView_pimpl.C: set the temporary cursor right!
2287 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2289 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2291 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2293 * LString.h: removed "using std::getline"!
2295 * BufferView_pimpl.C (Dispatch): changes due to changes in
2296 InsetInclude::Params.
2298 * buffer.C (tag_name): removed redundant break statements as they were
2299 producing lots of warnings with my compiler.
2301 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2303 * LString.h: add "using std::getline" when using the real <string>.
2305 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2307 * buffer.C: removed bitset usage.
2308 PAR_TAG moved to an anonymous name space.
2309 (tag_name): new funtion, also in the anonymous namespace.
2310 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2311 (makeDocBookFile): clean code. Completed transition from string arrays
2313 (SimpleDocBookOnePar): code clean.
2315 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2317 * tabular.C: add some comments.
2319 2001-03-22 Juergen Vigna <jug@sad.it>
2321 * buffer.C (parseSingleLyXformat2Token): redone the minipage
2322 compatibility read a bit and fixed bug with minipage in different
2325 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
2327 * buffer.C (pop_tag): removed.
2328 (push_tag): removed.
2329 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2330 array replaced with vector. Added support for CDATA sections.
2331 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2333 (makeDocBookFile): XML conformant declaration of CDATA section,
2334 fixed bug related to <emphasis> in the first paragraph char.
2335 (sgmlOpenTag): exclude empty tags.
2336 (sgmlCloseTag): ditto.
2338 * buffer.h (pop_tag): removed.
2339 (push_tag): removed.
2341 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2343 * language.h (Languages): added size_type and size().
2345 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2347 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2348 response on compability reading of minipages. One probliem is that
2349 the old usage of minipages was «flertydig»
2351 * several files here and in subdirs: don't use static at file
2352 scope use anon namespaces instead.
2354 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
2356 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2357 LaTeX output. This is necessary for Literate document
2360 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2362 * buffer.C: insert hfill when needed.
2364 * tabular.C (l_getline): use string::erase, small whitespace change.
2366 * BufferView_pimpl.C: try the anon namespace.
2369 2001-03-16 Juergen Vigna <jug@sad.it>
2371 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2372 otherwise it won't open options-dialogs.
2374 * buffer.C: honor pextraWidth(p) on converting minipages.
2376 * tabular.C (l_getline): changed the functions to strip trailing \r.
2378 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2380 * BufferView_pimpl.C:
2381 * minibuffer..C: added "using SigC::slot" declaration.
2383 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2385 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2391 * paragraph.C: ditto
2393 * lyxtext.h: NO_PEXTRA
2395 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2397 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2398 * ParameterStruct.h: ditto
2399 * ParagraphParameters.h: ditto
2400 * lyxparagraph.h: ditto
2402 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2404 * buffer.C: add compability for minipage alignment.
2405 (latexParagraphs): remove unwanted pextra check.
2407 * several files: remove CXX_WORKING_NAMESPACES
2409 * buffer.C (pop_tag): tie is in namespace boost
2411 * BufferView.h: noncopyable is in namespace boost
2416 * lastfiles.h: ditto
2417 * bufferlist.h: ditto
2418 * ShareContainer.h: ditto
2420 * LyXAction.h: ditto
2423 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2425 * Merging changes from BRANCH_MVC back into HEAD.
2427 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2429 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2431 * BufferView_pimpl.C: change from intl.C
2435 * Makefile.am: move combox.*
2441 * intl.C: remove dialog (covered by prefs)
2443 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2445 * lyxfunc.C (Dispatch): removed redundant break statement.
2447 2001-03-14 Juergen Vigna <jug@sad.it>
2449 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2451 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2453 * buffer.C: add hack to fix compability reading of minipages.
2455 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2457 * buffer.C (getLists): Cleanup.
2459 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2461 * lyxfont.C (update): don't honor toggleall on font size.
2463 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2467 * Makefile.am: moved to frontends/xforms/
2471 * BufferView_pimpl.C: changes for moved mathpanel
2473 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2475 * gettext.h: fix gettext_init() in --disable-nls
2477 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2479 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2481 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2484 * lyx.h: strip external form
2486 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2488 * BufferView_pimpl.C: add comment, destroySplash()
2490 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2492 * BufferView_pimpl.C:
2496 * lyxfunc.C: use re-worked insetinclude
2498 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2500 * buffer.C: add using std::stringstream.
2502 * lyx_cb.C: readd using std::ios.
2504 * buffer.C: add using std::map.
2506 * BufferView_pimpl.C: add using std::vector.
2508 * ShareContainer.h: add std:: to swap.
2510 * buffer.h: add some typedefs
2511 * buffer.C (getLists): use them
2512 (getLists): renamed from getTocList.
2513 add a counter for the different float types and use it in the
2515 (getLists): use the same counter for the NEW_INSETS and the "non"
2518 * lyx_cb.h: remove unused items, includes, using etc.
2520 * ShareContainer.h: remove some commented code, add more comments
2521 and "documentation".
2523 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2525 * buffer.C (getTocList): make the list also when NEW_INSETS is
2528 * buffer.h: remove TocType
2530 * buffer.C (getTocList): change to return a map<string,
2531 vector<TocItem> >, implement for dynamic number of list.
2533 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2534 * text2.C (PasteSelection): adjust
2535 * CutAndPaste.C (pasteSelection): adjust
2537 * FloatList.C (FloatList): update from the new_insets branch.
2538 * Floating.[Ch]: ditto
2539 * LaTeXFeatures.C: ditto
2541 * lyxlex_pimpl.C: ditto
2543 * paragraph.C (Last): remove when NEW_INSETS is defined.
2545 * other file: changes because of the above.
2547 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2549 * lyxparagraph.h: rename next to next_, previous to previous_,
2550 make them private for NEW_INSETS. Rename Next() to next(),
2551 Previous() to previous().
2553 * other files: changes because of the above.
2555 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2558 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2561 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2563 * main.C (main): pass lyx_localedir to gettext_init().
2565 * gettext.h: remove locale_init and gettext_init macros
2567 * gettext.C (locale_init): new function
2568 (gettext_init): new function
2570 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2573 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2575 * Moved credits to frontends:
2576 * credits.[Ch]: removed
2577 * credits_form.[Ch]: removed
2578 * lyx_gui_misc.C: remove credits stuff
2581 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2583 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
2585 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
2586 unneeded destructor.
2588 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
2589 a standalone pointer again.
2591 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2593 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2599 * ToolbarDefaults.C:
2608 * BufferView_pimpl.C: use new file dialog in GUII
2611 * lyx_cb.C: remove LayoutsCB to Toolbar
2613 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2615 * ShareContainer.h (get): add std:: qualifier
2617 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2619 * ShareContainer.h: define a proper ShareContainer::value_type
2620 type (and use typename to please compaq cxx)
2622 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2624 * lyxparagraph.h: move serveral local vars to
2625 ParameterStruct/ParagraphParameters., use ShareContainer in
2626 FontTable., make vars in FontTable private and add getter and
2629 * paragraph.C: changes because of the above.
2631 * lyxfont.h: remove copy constructor and copy assignment. (the
2632 default ones is ok), move number inside FontBits. move inlines to
2635 * lyxfont.C: add number to initializaton of statics, move several
2636 inlines here. constify several local vars. some whitespace
2637 cleanup. Dont hide outerscope variables.
2639 * Spacing.h: add two new constructors to match the set methods.
2641 * ShareContainer.h: new file, will perhaps be moved to support
2643 * ParameterStruct.h: new file
2645 * ParagraphParameters.h: new file
2647 * ParagraphParameters.C: new file
2649 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
2650 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
2652 * BufferView_pimpl.C: ParagraphParameter changes.
2653 * buffer.C: Likewise.
2654 * bufferview_funcs.C: Likewise.
2656 * text2.C: Likewise.
2658 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2660 * lyxfind.C (LyXReplace): do not redefine default argument in
2662 (IsStringInText): ditto
2663 (SearchForward): ditto
2664 (SearchBackward): ditto
2666 2001-03-06 Juergen Vigna <jug@sad.it>
2668 * lyxfind.C (IsStringInText): put parentes around expressions.
2670 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
2672 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2674 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
2676 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
2678 * stl_string_fwd.h: add comment
2680 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
2683 * tabular.C: remove unused DocBook methods
2689 killed DO_USE_DEFAULT_LANGUAGE
2691 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2693 * lyx_gui.C: do not include language.h.
2695 * bufferview_funcs.C (ToggleAndShow): do not provide optional
2696 arguments in function implementation.
2698 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2700 * BufferView_pimpl.C: add <ctime>
2702 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2704 * BufferView_pimpl.C: add using std::find_if
2706 2001-02-27 José Matos <jamatos@fep.up.pt>
2708 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2711 2001-02-11 José Matos <jamatos@fep.up.pt>
2713 * buffer.C (makeDocBookFile): command styles now have a parameter as
2716 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
2718 * layout_forms.[Ch]: removed
2719 * lyx_cb.[Ch]: out character
2720 * lyx_gui.C: out character
2721 * lyx_gui_misc.C: out character
2722 * bufferview_funcs.C: : out character,
2723 added toggleall as parameter in ToggleAndShow
2725 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
2727 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2729 * text2.C (SetCurrentFont): Disable number property at boundary.
2731 2001-02-26 Juergen Vigna <jug@sad.it>
2733 * lyxfunc.C (getStatus): added a string argument override function so
2734 that this is correctly called from LyXFunc::Dispatch if it contains a
2735 do_not_use_argument which is used!
2736 (Dispatch): added check for "custom" export and call appropriate func.
2738 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
2740 * lyxrc.C: Add language_command_local, language_use_babel and
2741 language_global_options.
2743 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2745 * buffer.C (makeLaTeXFile): Use language_use_babel and
2746 language_global_options.
2748 2001-02-23 Juergen Vigna <jug@sad.it>
2750 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2751 which works with LyXText and putted it inside BufferView. Here now we
2752 only call for that part the BufferView::Dispatch() function.
2754 * BufferView.C (Dispatch): added.
2756 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2757 functions which needs to use a LyXText over from LyXFunc.
2758 (MenuInsertLyXFile): added
2759 (getInsetByCode): added
2760 (moveCursorUpdate): added
2761 (static TEXT): added
2763 2001-02-22 Juergen Vigna <jug@sad.it>
2765 * BufferView_pimpl.C (update): call a status update to see if LyXText
2768 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2770 * vc-backend.C (revert): implement for CVS
2771 (getLog): implement for CVS
2773 2001-02-20 Juergen Vigna <jug@sad.it>
2775 * text2.C (ClearSelection): added BufferView param for inset_owner call
2777 * lyxfunc.C (TEXT): added this function and use it instead of
2778 directly owner->view()-text of getLyXText().
2780 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
2782 * src/layout_forms.C: out preamble
2783 * src/layout_forms.h: out preamble
2784 * src/lyx_cb.C: out preamble
2785 * src/lyx_cb.h: out preamble
2786 * src/lyx_gui.C: out preamble
2787 * src/lyx_gui_misc.C: out preamble
2788 * src/lyxfunc.C: connect with guii preamble
2790 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2792 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2794 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
2796 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2797 whether to run bibtex.
2799 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
2801 * Makefile.am (lyx_SOURCES): Remove BackStack.h
2803 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2805 * Makefile.am (lyx_SOURCES): removed bibforms.h
2809 * text.C (GetVisibleRow): make several local vars const
2811 * tabular.C: small cleanup.
2813 * lyxserver.C (callback): use compare instead of strncmp
2815 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2816 inlines to after class or to paragraph.C
2818 * lyxfont.h: remove friend operator!=
2820 * converter.h: move friend bool operator< to non friend and after
2823 * combox.h: small cleanup
2825 * buffer.h: doxygen, remove unused constructor, move inclas inlies
2826 to inlines after class def.
2828 * buffer.C (pop_tag): use string operations instead of strcmp
2830 * bmtable.c: doxygen, small cleanup
2832 * LaTeX.h: remove friend operator==
2834 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2846 * BufferView_pimpl.C:
2847 * BufferView.[Ch]: remove cruft
2849 2001-02-14 Juergen Vigna <jug@sad.it>
2851 * lyxfunc.C: removed #if 0 unused code
2853 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2855 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2857 * text2.C (SetSelection): added a BufferView * parameter
2859 2001-02-13 Juergen Vigna <jug@sad.it>
2861 * lyxfunc.C (Dispatch): fixed protected blank problem.
2862 * BufferView2.C (protectedBlank): added LyxText * parameter.
2864 * tabular.C (AppendRow): forgot to set row_info of newly added row.
2865 (AppendColumn): same as above for column_info.
2867 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2868 (moveCursorUpdate): use a LyXText param for support of InsetText.
2870 * BufferView_pimpl.C (doubleClick): added support for InsetText.
2871 (tripleClick): ditto
2873 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2875 * BufferView_pimpl.C (update): added LyXText param to honor insets.
2877 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2879 * text2.C (SetSelection): set correct update status if inset_owner
2882 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
2884 * tabular.C: remove some commented code.
2886 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2888 * BufferView_pimpl.C: call hideSplash()
2890 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2893 * bibforms.h: remove
2896 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2897 add LFUN_CHILD_CREATE
2899 * counters.h: fix tiny typo
2904 * lyx.C: move splash to frontends/xforms/
2906 * lyx_gui_misc.C: move Include and Bibform to frontends
2908 * lyxvc.h: clarify comment
2910 * vspace.C: tiny housekeeping
2912 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2914 * text.C (PrepareToPrint): RTL Fix.
2916 * paragraph.C (GetUChar): New method.
2917 (String): Use GetUChar.
2919 * buffer.C (asciiParagraph): Use GetUChar.
2921 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2923 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2925 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
2928 * buffer.C: rename to getLogName(), handle
2929 build log / latex log nicely
2931 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2934 * MenuBackend.h: remove support for reference menuitem type.
2936 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
2938 * BufferView_pimpl.C: housekeeping
2939 * BufferView_pimpl.h:
2944 * minibuffer.h: move Timeout GUI-I
2946 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
2948 * lyxrc.C (read): Update converters data-structures.
2950 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
2952 * LaTeX.h (operator!=): add operator != for Aux_Info
2954 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
2956 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2958 * LaTeXLog.C: deleted, useful code moved to Buffer
2961 * buffer.C: new function getLatexLogName()
2967 * lyxfunc.C: use frontends for LaTeX and VC logs
2969 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2971 * LaTeX.h: yet another std:: that Allan forgot.
2973 * Variables.C (set): renamed from isset(), because this clashes
2974 with some HP-UX macros (grr).
2976 2001-02-06 Allan Rae <rae@lyx.org>
2978 * LaTeX.h: Another bug fix. Missing std:: this time.
2980 2001-02-04 Allan Rae <rae@lyx.org>
2982 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2983 floats problem. I've left it commented out because it's not quite
2984 correct. It should also test that the current object is a table or
2985 figure inset. But I haven't gotten around to figuring out how to do
2986 that. I *think* it'll be something like: "table" == inset.type()
2988 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2991 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
2993 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2994 all the citation/databases/styles in the auxilary file.
2995 (run): Rerun latex if there was a babel language error.
2997 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
2999 * text.C (Backspace): Preserve the font when changing newline char
3001 (BreakParagraph): If the cursor is before a space, delete the space.
3003 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
3005 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3007 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
3008 new argument (code).
3009 (ChangeCitationsIfUnique): New method.
3011 * paragraph.C (GetPositionOfInset): Handle bibkey.
3013 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3015 * BufferView_pimpl.h: change type of Position::par_pos to
3016 LyXParagraph::size_type.
3018 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
3020 * BufferView_pimpl.C (savePosition, restorePosition): Write
3021 messages to minibuffer.
3023 2001-01-28 José Matos <jamatos@fep.up.pt>
3025 * buffer.C (makeDocBookFile): adds support for document language.
3026 A silly restriction on the name of LatexCommand types where removed.
3027 Added support for CDATA sections, allows to chars unescaped, used
3028 among others in code, to avoid escape < and >.
3030 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3032 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
3033 saved positions instrad of a stack. Furthermore, a position is
3034 stored using paragraph id/paragraph position.
3036 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
3037 Remove LFUN_REF_BACK.
3039 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3041 * converter.C (dvipdfm_options): New method.
3043 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3045 * vspace.C (isValidLength): Fix for empty input string.
3047 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3049 * LyXAction.C (init): change description of LFUN_FIGURE to
3052 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3054 * LaTeX.C: add using directive
3056 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3058 * MenuBackend.C (expand): Fix the sorting of the formats.
3060 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
3062 * lyx_main.C: tiny error message fix
3064 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3066 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
3067 calling fl_initialize(). This fixes the problem with ',' as
3068 decimal separator in text files.
3070 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3072 * trans.C (process): Fix the keymap bug.
3074 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
3076 * LaTeX.C (scanAuxFiles): New method. Provides support for
3077 multiple bibliographies (when using the bibtopic/bibunits pacakges).
3078 (scanLogFile) Scan for "run BibTeX" messages.
3080 * buffer.C (makeLaTeXFile): Do not load the ae package when using
3081 OT1 font encoding. Also, load the aecompl package if the ae
3084 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3086 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3088 * texrow.C (increasePos): turn two error messages into debug
3091 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
3093 * LaTeX.C (scanAux): Handle the \@input macro.
3094 (runBibTeX): Use scanAux().
3096 * language.C (latex_options_): New field.
3098 * LaTeXFeatures.C (getMacros): Add language macros.
3100 * buffer.C (makeLaTeXFile): Small fix.
3102 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3104 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3106 * text2.C: add a using directive.
3108 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
3113 * lyxfunc.C: kill LyXBell.
3115 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
3117 * text.C (IsBoundary): Remove the error message
3119 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3121 * lyxrc.C (setDefaults): Correct initialization value for
3124 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
3126 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3129 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3132 * src/LyXAction.C: Added reference-next.
3134 * text.C (InsertChar): Use contains instead of strchr.
3136 * lyx_cb.C (MenuInsertLabel): Enable default value code.
3138 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
3140 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3141 alignment commands (when needed).
3143 * text.C (InsertChar): Add ':' to number separator chars.