1 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4 script if it is newer than the lyxrc.defaults in user directory
6 2002-10-07 André Pönitz <poenitz@gmx.net>
8 * text.C: Vitaly Lipatov's small i18n fix
10 2002-09-25 Angus Leeming <leeming@lyx.org>
12 * ispell.h: doxygen fix.
14 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
16 * buffer.h (readFile): Add a new argument to the method, to allow
17 reading of old-format templates.
19 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
21 * toc.C (getTocList): Get TOC from InsetWrap.
23 2002-09-16 John Levon <levon@movementarian.org>
25 * lyxfunc.C: check tabular for cut/copy too
27 2002-09-12 John Levon <levon@movementarian.org>
32 * factory.C: add header
35 * paragraph_funcs.C: cleanup
37 2002-09-11 John Levon <levon@movementarian.org>
39 * PrinterParams.h: odd/even default to true
41 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
43 * PrinterParams.h: update printer parameters for new xforms dialog
45 2002-09-11 Angus Leeming <leeming@lyx.org>
47 * lyxserver.C (read_ready): re-write to make it more transparent
48 and to make it work in coherent fashion under Tru64 Unix.
50 2002-09-11 André Pönitz <poenitz@gmx.net>
54 * text3.C: implement LFUN_WORDSEL
56 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
58 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
59 make floatlist_ a boost::shared_ptr<FloatList>
61 * lyxtextclass.C: include FloatList.h
62 (LyXTextClass): initialize floatlist_
63 (TextClassTags): add TC_NOFLOAT
64 (Read): match "nofloat" to TC_NOFLOAT and use it.
65 (readFloat): modify call to floatlist_
69 * FloatList.[Ch] (FloatList): remove commented out float
73 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
75 * MenuBackend.C (expandToc): fix crash when there is no document
78 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
80 * many files: Add insetwrap.
82 2002-09-09 John Levon <levon@movementarian.org>
84 * text2.C: remove confusing and awkward depth wraparound
86 2002-09-09 John Levon <levon@movementarian.org>
88 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
91 * buffer.C: remove getIncludeonlyList()
94 * lyxfunc.C: remove headers
96 2002-09-09 Juergen Vigna <jug@sad.it>
98 * text.C (getColumnNearX): fix form Michael this is most
99 probably a cut&paste bug.
101 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
103 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
105 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
106 references, ws changes.
108 * text2.C (init): update counters after init
109 (insertParagraph): no need to set counter on idividual paragraphs.
110 (setCounter): access the counters object in the textclass object
111 on in the buffer object.
112 (updateCounters): ditto
114 * lyxtextclass.C: include counters.h, add variable ctrs_ as
115 shared_ptr<Counters> to avoid loading counters.h in all
117 (LyXTextClass): initialize ctrs_
118 (TextClassTags): add TC_COUNTER, and ...
120 (CounterTags): new tags
121 (readCounter): new function
122 (counters): new funtion
123 (defaultLayoutName): return a const reference
125 * counters.C (Counters): remove contructor
126 (newCounter): remove a couple of unneeded statements.
127 (newCounter): simplify a bit.
128 (numberLabel): some small formatting changes.
130 * buffer.[Ch]: remove all traces of counters, move the Counters
131 object to the LyXTextClass.
133 2002-09-06 Alain Castera <castera@in2p3.fr>
135 * tabular.C: uses \tabularnewline; uses >{...} construct from array
136 package to set the horizontal alignment on fixed width columns.
139 * lyx_sty.h: added tabularnewline macro def.
141 * LaTeXFeatures.C: added NeedTabularnewline macro feature
143 2002-09-06 John Levon <levon@movementarian.org>
145 * LyXAction.C: tooltips for sub/superscript
147 * MenuBackend.C: a bit more verbose
149 * lyxfunc.C: tiny clean
151 * undo_funcs.C: document undo_frozen
153 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * counters.C (Counters): add missing algorithm counter.
157 * text2.C (setCounter): lookup the counter with layouts latexname
158 instead of by section number.
159 (setCounter): use a hackish way to lookup the correct enum
161 a float name->type change
162 reset enum couners with counter name directly instead of depth value.
164 * counters.C (Counters): remove the push_backs, change to use the
165 float type not the float name.
166 (labelItem): remove unused string, float name->type change
168 * counters.h: don't include vector, loose the enums and sects vectors
170 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
172 * lyxtextclass.C (TextClassTags): add TC_FLOAT
173 (Read): add float->TC_FLOAT to textclassTags
174 (Read): and handle it in the switch
175 (readFloat): new function
177 * FloatList.C (FloatList): comment out the hardcoded float
180 * lyxlayout.h: ws change.
182 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
184 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
186 2002-09-03 Angus Leeming <leeming@lyx.org>
188 * BufferView_pimpl.h: qualified name is not allowed in member
189 declaration: WorkArea & Pimpl::workarea() const;
191 * factory.C: added using std::endl directive.
193 * text3.C: added using std::find and std::vector directives.
195 2002-08-29 André Pönitz <poenitz@gmx.net>
198 * text2.C: remove unused member number_of_rows
201 * BufferView2.C: remove file, move contents to...
202 * BufferView.C: ... here
204 * BufferView_pimpl.C:
205 * factory.C: move more inset creation to factory
207 * vspace.C: avoid direct usage of LyXText, ws changes
210 don't provide direct access to WorkArea, use two simple
211 acessors haveSelction() and workHeight() instead
214 2002-08-29 John Levon <levon@movementarian.org>
216 * BufferView_pimpl.C (dispatch): do not continue when
219 2002-08-28 André Pönitz <poenitz@gmx.net>
221 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
224 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
226 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
228 * buffer.C: increment LYX_FORMAT to 221
230 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
231 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
233 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
235 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
237 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
239 * factory.C (createInset): use LyXTextClass::floats
241 * MenuBackend.C (expandFloatListInsert):
245 * text2.C (setCounter):
247 * LaTeXFeatures.C (useFloat):
248 (getFloatDefinitions):
250 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
252 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
253 floatlist_, with accessor floats().
255 * FloatList.h: remove global FloatList
257 2002-08-26 André Pönitz <poenitz@gmx.net>
259 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
263 * BufferView_pimpl.C:
264 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
266 2002-08-25 John Levon <levon@movementarian.org>
268 * LyXAction.C: fix margin note description
270 2002-08-24 John Levon <levon@movementarian.org>
274 * bufferview_funcs.C:
276 * undo_funcs.C: cleanups
278 * lyxfunc.C: disable CUT/COPY when no selection
280 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
282 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
283 in "enum UNIT"; e.g. PTW for Percent of TextWidth
285 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
286 Add backward compatibility to "mono", "gray" and "no".
288 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
290 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
291 (and file_format >= 200).
293 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
295 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
297 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
299 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
301 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
303 * BufferView_pimpl.C:
310 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
311 inset and code to make it work with the paragraph code. The inset
312 can be anywhere in the paragraph, but will only do the expected
313 thing in LaTeX if the layout file contains the parameter line
315 (or more generally, a nonzero value) for that layout.
317 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
319 * paragraph.h: remove the declaration of undefined counters class
322 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
324 * text2.C (setCounter): fixed enumeration mis-count as reported by
327 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * paragraph_funcs.h: remove some unneeded includes
331 * text.C (backspace): pasteParagraph now in global scipe
333 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
334 (pasteSelection): ditto
336 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
337 * paragraph_funcs.C (pasteParagraph): ... here
339 2002-08-20 André Pönitz <poenitz@gmx.net>
341 * commandtags.h: new LFUNs for swapping/copying table row/colums
344 * lyxfunc.C: support for new lfuns
346 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
349 * buffer.[Ch]: remove NO_COMPABILITY stuff
351 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
353 * boost.C (throw_exception): new file, with helper function for
354 boost compiled without exceptions.
360 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
362 * bufferlist.C (emergencyWriteAll): use boost bind
364 * BufferView_pimpl.C (moveCursorUpdate): remove inline
366 * text.C: include paragraph_funcs.h
367 (breakParagraph): breakParagraph is now in global scope
369 * paragraph_funcs.[Ch]: new files
371 * paragraph.C (breakParagraph,breakParagraphConservative): move to
374 * buffer.C: include paragraph_funcs.h
375 (insertStringAsLines): breakParagraph is now in global scope
377 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
380 * CutAndPaste.C: include paragraph_funcs.h
381 (cutSelection): breakParagraphConservative is now in global scope
382 (pasteSelection): ditto
384 * buffer.h: declare oprator== and operator!= for
385 Buffer::inset_iterator
387 * bufferlist.C (emergencyWrite): don't use fmt(...)
389 * text3.C: add using std::endl
391 * BufferView.C (moveCursorUpdate): remove default arg
393 2002-08-20 André Pönitz <poenitz@gmx.net>
395 * buffer.[Ch]: move inline functions to .C
398 * BufferView_pimpl.C:
400 * buffer.[Ch]: use improved inset_iterator
403 * paragraph.[Ch]: write one paragraph at a time
405 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
407 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
408 style if style is not specified.
410 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
412 * text2.C (setCounter): when searching for right label for a
413 caption, make sure to recurse to parent insets (so that a caption
414 in a minipage in a figure float works) (bug #568)
416 2002-08-20 André Pönitz <poenitz@gmx.net>
418 * text3.C: new file for LyXText::dispatch() and helpers
420 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
422 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
424 2002-08-19 André Pönitz <poenitz@gmx.net>
427 * text.C: new LyXText::dispatch()
429 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
431 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
433 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
435 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
438 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
440 * Makefile.am: use $(variables) instead of @substitutions@
442 2002-08-15 André Pönitz <poenitz@gmx.net>
445 * BufferView_pimpl.C: streamlining mathed <-> outer world
449 * LyXAction.C: remove unused LFUN_MATH
451 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
453 * paragraph.[Ch]: add some NO_NEXT ifdefs.
455 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
457 * paragraph.C (Paragraph): reformat a bit
458 (cutIntoMinibuffer): use builtin InsetList function instad of
462 * buffer.C: include boost/bind.hpp, add using std::for_each
463 (writeFileAscii): use ParagraphList iterators
464 (validate): use for_each for validate traversal of paragraphs
465 (getBibkeyList): use ParagraphList iterators
466 (resizeInsets): use for_each to resizeInsetsLyXText for all
468 (getParFromID): use ParagraphList iterators
470 * BufferView2.C (lockInset): use paragraph list and iterators
472 2002-08-14 John Levon <levon@movementarian.org>
474 * lyxserver.C: remove spurious xforms include
476 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
478 * lyxfunc.C (getStatus): disable math-extern outside of math mode
480 2002-08-13 André Pönitz <poenitz@gmx.net>
483 * lyxfunc.C: further cleaning
485 2002-08-13 André Pönitz <poenitz@gmx.net>
487 * funcrequest.h: new constructor
489 * funcrequest.C: move stuff here from .h
492 * BufferView_pimpl.C:
495 * lyxfunc.C: subsequent changes
497 * lyxfunc.h: new view() member function
499 * lyxfunc.C: subsequent changes
501 2002-08-13 Angus Leeming <leeming@lyx.org>
504 * BufferView_pimpl.C:
512 changes due to the changed LyXView interface that now returns references
513 to member variables not pointers.
515 2002-08-13 Angus Leeming <leeming@lyx.org>
517 * WordLangTuple (word, lang_code): return references to strings,
522 * lyxtext.h: forward-declare WordLangTuple.
527 * text.C: #include "WordLangTuple.h".
530 * text.C: (selectNextWordToSpellcheck): constify return type.
532 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
541 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
543 Made updateCounter always count from start of buffer, and removed
544 second argument (par).
545 Reverted floats number display to '#'. Perhaps I'll try again when the
546 code base is sanitized a bit.
548 2002-08-12 Angus Leeming <leeming@lyx.org>
550 * buffer.[Ch] (getLabelList): constify.
552 2002-08-07 André Pönitz <poenitz@gmx.net>
554 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
556 * funcrequest.h: extension to keep mouse (x,y) position
558 2002-08-12 Juergen Vigna <jug@sad.it>
560 * BufferView2.C (insertErrors): forbid undo when inserting error
563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
565 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
567 * ParagraphList.[Ch]: new files
569 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
571 * BufferView2.C (lockInset): ParagraphList changes
574 * bufferlist.C: ditto
578 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
581 unused class variable counter_,
583 * paragraph.[Ch] (getFirstCounter): delete unused function
585 * counters.C: include LAssert.h
586 (reset): add a new function with no arg, change other version to
587 not have def. arg and to not allow empty arg.
589 * text2.C (setCounter): remove empty arg from call to Counters::reset
591 2002-08-11 John Levon <levon@movementarian.org>
593 * Makefile.am: add WordLangTuple.h
595 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
598 lyxfunc.C lyxlex_pimpl.C: ws changes only.
600 * insets/insettext.C: InsetList changes
602 * graphics/GraphicsSupport.C (operator()): InsetList changes
604 * toc.C (getTocList): InsetList changes
606 * paragraph_pimpl.[Ch]: InsetList changes
608 * paragraph.[Ch]: InsetList changes
610 * buffer.C (inset_iterator): InsetList changes
611 (setParagraph): ditto
612 * buffer.h (inset_iterator): ditto
613 * iterators.C (operator++): ditto
616 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
618 * InsetList.[Ch]: new files, most InsetList handling moved out of
621 * BufferView2.C (removeAutoInsets): InsetList changes
623 (ChangeInsets): ditto
625 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
627 * paragraph_pimpl.h (empty): new function
629 * paragraph.[Ch] (empty): new function
631 * other files: use the new Paragraph::empty function
633 2002-08-09 John Levon <levon@movementarian.org>
635 * lyxtext.h: remove unused refresh_height
637 2002-08-09 John Levon <levon@movementarian.org>
644 * paragraph.C: move sgml char escaping out of paragraph
647 * paragraph.C: remove id setter
651 * paragraph_pimpl.C: remove dead tex_code_break_column
653 * bufferview_funcs.C: small cleanup
655 * lyxfunc.C: remove dead proto
657 * lyxtext.h: make some stuff private. Remove some dead stuff.
659 * lyxgluelength.C: make as[LyX]String() readable
661 2002-08-08 John Levon <levon@movementarian.org>
669 * toc.C: lyxaction cleanup
671 2002-08-08 John Levon <levon@movementarian.org>
673 * BufferView2.C: small cleanup
676 * lyxfind.C: move unnecessary header into the .C
678 2002-08-08 John Levon <levon@movementarian.org>
680 * funcrequest.h: just tedious nonsense
683 * lyx_main.C: cleanups
686 * vspace.C: remove dead header lyx_main.h
688 2002-08-07 Angus Leeming <leeming@lyx.org>
692 Forward declare class Counters in paragraph.h by moving the ctrs member
693 variable into Paragraph::Pimpl.
694 (counters): new method, returning a reference to pimpl_->ctrs.
696 * text2.C: ensuing changes.
698 2002-08-07 John Levon <levon@movementarian.org>
700 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
702 * BufferView_pimpl.C: announce X selection on double/triple
705 * lyx_main.C: use correct bool in batch dispatch
707 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
709 2002-08-07 André Pönitz <poenitz@gmx.net>
711 * funcrequest.h: new class to wrap a kb_action and its argument
714 * BufferView_pimpl[Ch]:
718 * lyxrc.C: subsequent changes
721 2002-08-07 John Levon <levon@movementarian.org>
723 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
724 document options change.
726 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
731 * makefile.am: move counters functionality over from
732 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
734 2002-08-06 John Levon <levon@movementarian.org>
736 * WordLangTuple.h: new file for word + language code tuple
747 * BufferView2.C: use WordLangTuple
750 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
752 2002-08-06 John Levon <levon@movementarian.org>
754 * lyx_main.C: fix cmdline batch handling
756 2002-08-06 André Pönitz <poenitz@gmx.net>
758 * lyxrc.C: set default for show_banner to true
760 2002-08-06 John Levon <levon@movementarian.org>
762 * pspell.C: fix a crash, and allow new aspell to work
764 2002-08-06 John Levon <levon@movementarian.org>
767 * kbmap.C: small cleanup
770 * vspace.C: add const
772 2002-08-05 John Levon <levon@movementarian.org>
774 * LyXAction.C: back to tabular-insert
776 2002-08-04 John Levon <levon@movementarian.org>
779 * BufferView.C: cosmetic change
781 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
791 * BufferView2.C: purge all "Lyx" not "LyX" strings
794 * lyxcursor.C: attempt to add some documentation
800 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
801 merge with LFUN_TABULAR_INSERT
808 * pspell.C: split up i/pspell implementations into separate
811 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
813 * text2.C: some cleanup
815 * lyxfunc.C: don't check for isp_command == "none" any more, it
816 didn't make any sense
818 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
823 * makefile.am: move counters functionality over
824 from text2.C/paragraph.[Ch] to counters.[Ch], and
826 2002-08-02 John Levon <levon@movementarian.org>
828 * buffer.C: s/lyxconvert/lyx2lyx/
830 2002-08-02 Angus Leeming <leeming@lyx.org>
832 * lyxlex.C: revert John's change as it breaks reading of the user
835 2002-08-02 Angus Leeming <leeming@lyx.org>
837 * importer.C (Import):
838 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
839 changes due to LyXView::view() now returning a boost::shared_ptr.
841 2002-08-02 John Levon <levon@movementarian.org>
843 * lyxlex.C: small cleanup
845 2002-08-02 John Levon <levon@movementarian.org>
847 * text2.C (status): small cleanup, no logic change
849 2002-08-01 John Levon <levon@movementarian.org>
852 * buffer.C (writeFile): don't output alerts, caller
856 * lyx_cb.C: from above
858 * lyxfunc.C: allow to open non-existent files
860 2002-07-31 John Levon <levon@movementarian.org>
862 * lyxserver.C: don't let incidental errors get
865 2002-07-30 John Levon <levon@movementarian.org>
867 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
869 2002-07-30 John Levon <levon@movementarian.org>
872 * lyxserver.C: remove I/O callback too
874 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
876 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
879 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
881 * many files: strip,frontStrip -> trim,ltrim,rtrim
883 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
885 * PrinterParams.h: remove extern containsOnly, and include
886 support/lstrings.h instead.
888 * LaTeX.C (scanAuxFile): modify because of strip changes
890 * buffer.C (makeLaTeXFile): ditto
891 * bufferparams.C (writeFile): ditt
892 * lyxfont.C (stateText): ditto
893 * lyxserver.C (read_ready): ditto
894 * vc-backend.C (scanMaster): ditto
896 * BufferView_pimpl.h: ws changes
898 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
900 2002-07-26 André Pönitz <poenitz@gmx.net>
902 * kb_sequence.C: remove unnedred usings
904 2002-07-26 Juergen Vigna <jug@sad.it>
906 * lyxfind.C (LyXReplace): we have to check better if the returned
907 text is not of theLockingInset()->getLockingInset().
909 2002-07-25 Juergen Vigna <jug@sad.it>
911 * lyxfind.C (LyXReplace): don't replace if we don't get the
914 * undo_funcs.C (createUndo): remove debugging code.
916 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
918 * buffer.C (parseSingleLyXformat2Token): Use default placement
919 when reading old floats.
921 * FloatList.C (FloatList): Change the default placement of figure
924 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
926 * MenuBackend.C: using std::max
928 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
930 * MenuBackend.C (expandToc):
931 (expandToc2): code moved from xforms menu frontend. It is now
932 generic and TOCs are transparent to menu frontends.
934 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
936 * toc.C (getTocList): protect against buf=0
938 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
939 Menu as first parameter. Now, this calls itself recursively to
940 expand a whole tree (this will be useful for TOC handling)
941 (expandFloatInsert): remove 'wide' version of floats
943 * MenuBackend.h (submenuname): returns the name of the submenu.
944 (submenu): returns the submenu itself, provided it has been
945 created by MenuBackend::expand
947 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
949 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
950 insets which have noFontChange == true. (bug #172)
952 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
954 * BufferView_pimpl.C: add connection objects and use them...
957 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
959 * MenuBackend.C (expandLastfiles):
962 (expandFloatListInsert):
964 (expand): split expand in parts
966 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
968 * lyx_gui.C: use lyx_gui::exit()
970 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
972 * LyXAction.C: show the failing pseudo action
974 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
976 * buffer.C (readFile): Run the lyxconvert script in order to read
979 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
983 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
985 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
989 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
991 2002-07-22 Herbert Voss <voss@lyx.org>
994 * lyxlength.[Ch]: add support for the vertical lengths
996 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
998 * toc.[Ch]: std:: fixes
1000 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1002 * lyxrc.C: do not include lyx_main.h
1004 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1010 * BufferView2.C: include "lyxlex.h"
1013 * bufferparams.h: do not #include "lyxlex.h"
1015 * lyxtextclasslist.C (Add): remove method
1016 (classlist): renamed to classlist_
1018 * paragraph_pimpl.C:
1022 * bufferview_funcs.C:
1027 * toc.C (getTocList): use BufferParams::getLyXTextClass
1029 * toc.C (getTocList): use InsetFloat::addToToc
1031 * toc.[Ch]: new files, containing helper functions to handle table
1034 * lyxfunc.C (dispatch): no need to remove spaces around command
1036 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1037 first command of the sequence; it is not very clever, but I do not
1038 have a better idea, actually
1040 * LyXAction.C (LookupFunc): make sure to remove space at the
1041 beginning and end of the command
1043 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1045 * MenuBackend.C (getMenubar): new method: return the menubar of
1047 (read): treat differently reading of menu and menubar (in
1048 particular, the menubar has no name now)
1049 (Menu::menubar): remove
1051 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1054 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1056 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1057 a bibitem inset in a RTL paragraph.
1059 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1061 * paragraph_pimpl.C: constify
1063 * BufferView_pimpl.C:
1065 * lyxfunc.C: fix dispatch in a nicer way
1067 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1069 * lyxfunc.C (dispatch):
1070 * BufferView_pimpl.C:
1071 * BufferView_pimpl.h:
1073 * BufferView.h: rename Dispatch() to dispatch()
1075 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1077 * lyxlayout.C (Read): honor DependsOn tag
1079 * lyxlayout.[Ch] (depends_on): new method
1081 * version.C.in: update lyx_docversion
1083 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1085 * paragraph.C (validate): remove from here...
1086 * paragraph_pimpl.C (validate): ... and move here
1087 (isTextAt): make it const
1089 * buffer.C (getLists): ws cleanup
1091 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1093 * language.C (read): Use iso8859-1 encoding in latex_lang
1094 (this prevents LyX from crashing when using iso10646-1 encoding).
1096 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1098 * text2.C (toggleInset): if cursor is inside an inset, close the
1099 inset and leave cursor _after_ it
1101 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1103 * lyxfunc.C: move minibuffer completion handling out of here
1105 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1107 * BufferView_pimpl.C:
1108 * LaTeX.C: fix dispatch calls
1110 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1112 * text.C (drawChars): Fix Arabic text rendering.
1114 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1118 * lyxfunc.C: remove message-push/pop
1122 * lyxfunc.C: rationalise some code by removing verboseDispatch
1123 in favour of a bool argument to dispatch()
1125 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1127 * lyx_main.C (init): make sure to read symlinks as absolute paths
1129 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1132 * lyxfunc.C: no need for commandshortcut to be a member
1134 2002-07-15 André Pönitz <poenitz@gmx.net>
1136 * converter.C: add support for $$s (scripts from lib/scripts dir)
1137 * lyx_main.C: white space
1140 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1144 * lyxrc.C: remove second exit confirmation
1146 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1151 * BufferView_pimpl.h:
1152 * BufferView_pimpl.C:
1153 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1155 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1157 * MenuBackend.C (expand): add numeric shortcuts to document menu
1159 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1161 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1163 * lyxfont.C (setLyXFamily):
1170 * buffer.C (asciiParagraph): use ascii_lowercase
1172 2002-07-15 Mike Fabian <mfabian@suse.de>
1174 * lyxlex_pimpl.C (search_kw):
1175 * lyxlex.C (getLongString):
1176 * converter.h (operator<):
1177 * converter.C (operator<):
1178 * buffer.C (parseSingleLyXformat2Token):
1180 * ToolbarDefaults.C (read):
1181 * MenuBackend.C (checkShortcuts):
1183 * LColor.C (getFromGUIName):
1184 (getFromLyXName): use the compare_ascii_no_case instead of
1185 compare_no_case, because in turkish, 'i' is not the lowercase
1186 version of 'I', and thus turkish locale breaks parsing of tags.
1188 2002-07-16 Angus Leeming <leeming@lyx.org>
1190 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1191 now takes a Buffer const & argument.
1193 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1195 * BufferView.C (resize): check there's a buffer to resize
1197 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1199 * lyxfunc.C: remove dead code
1202 * lyxserver.C: use lyx_guii::set_read_callback
1204 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1206 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1207 an inset in a RTL paragraph.
1209 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1211 * lyxfunc.C: repaint after a font size update
1213 2002-07-15 André Pönitz <poenitz@gmx.net>
1215 * lyxlength.C: inBP should be able to return negative values
1217 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1219 * lyxfunc.C: use lyx_gui::update_fonts()
1221 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1223 * lyxfunc.C: use lyx_gui::update_color()
1225 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1231 * lyxrc.C: remove file->new asks for name option, and let
1232 buffer-new take an argument
1234 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1236 * BufferView_pimpl.C: remove unneeded extra repaint()
1238 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1240 * LyXAction.C: allow command-sequence with NoBuffer
1242 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1244 2002-07-10 Angus Leeming <leeming@lyx.org>
1246 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1248 2002-07-09 Angus Leeming <leeming@lyx.org>
1250 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1252 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1254 * lengthcommon.h: whitespace
1256 * lyxfunc.C: update scrollbar after goto paragraph
1258 * lyxtext.h: factor out page break drawing, and fix it so
1259 page break/added space paints as selected nicely
1261 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1263 * BufferView_pimpl.C: add FIXMEs, clean up a little
1265 2002-07-09 André Pönitz <poenitz@gmx.net>
1267 * lyxfont.[Ch]: support for wasy symbols
1269 2002-07-08 André Pönitz <poenitz@gmx.net>
1271 * BufferView_pimpl.C: apply John's patch for #93.
1273 2002-07-05 Angus Leeming <leeming@lyx.org>
1275 * BufferView_pimpl.C (buffer): generate previews if desired.
1277 * LColor.h: add "preview" to the color enum.
1279 * LColor.C (LColor): add a corresponding entry to the items array.
1281 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1284 2002-07-05 Angus Leeming <leeming@lyx.org>
1286 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1287 The body of the code is now in the method that is passed an ostream &
1288 rather than a file name.
1289 Pass an additional only_preamble parameter, useful for the forthcoming
1292 2002-07-03 André Pönitz <poenitz@gmx.net>
1294 * lyxfunc.C: simplify getStatus() a bit for math stuff
1296 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1298 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1300 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1302 * text.C (changeRegionCase): do not change case of all the
1303 document when region ends at paragraph end (bug #461)
1305 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1307 * paragraph.C (startTeXParParams):
1308 (endTeXParParams): add \protect when necessary
1310 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1312 * BufferView_pimpl.C (workAreaExpose): remove warning
1314 2002-06-27 Angus Leeming <leeming@lyx.org>
1316 * Makefile.am: add lyxlayout_ptr_fwd.h.
1318 2002-06-26 André Pönitz <poenitz@gmx.net>
1320 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1322 2002-06-25 Angus Leeming <leeming@lyx.org>
1324 * lyxfunc.C (dispatch): Comment out the call to
1325 grfx::GCache::changeDisplay. The method no longer exists now that the
1326 pixmap generation part of the graphics loader has been moved into
1329 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1331 * text2.C: layout as layout
1333 * text.C: layout as layout
1335 * tabular.C (OldFormatRead): layout as layout
1337 * paragraph_pimpl.C (TeXDeeper): layout as layout
1338 (realizeFont): layout as layout
1340 * paragraph.C (writeFile): layout as layout
1341 (validate): layout as layout
1342 (getFont): layout as layout
1343 (getLabelFont): layout as layout
1344 (getLayoutFont): layout as layout
1345 (breakParagraph): layout as layout
1346 (stripLeadingSpaces): layout as layout
1347 (getEndLabel): layout as layout
1348 (getMaxDepthAfter): layout as layout
1349 (applyLayout): layout as layout
1350 (TeXOnePar): layout as layout
1351 (simpleTeXOnePar): layout as layout
1352 (TeXEnvironment): layout as layout
1353 (layout): layout as layout
1354 (layout): layout as layout
1356 * lyxtextclass.C (compare_name): new functor to work with
1357 shared_ptr, layout as layout
1358 (Read): layout as layout
1359 (hasLayout): layout as layout
1360 (operator): layout as layout
1361 (delete_layout): layout as layout
1362 (defaultLayout): layout as layout
1364 * lyxlayout_ptr_fwd.h: new file
1366 * lyxlayout.C (Read): layout as layout
1368 * lyx_cb.C (MenuInsertLabel): layout as layout
1370 * bufferlist.C (newFile): layout as layout
1372 * buffer.C (readLyXformat2): layout as layout
1373 (parseSingleLyXformat2Token): layout as layout
1374 (insertStringAsLines): layout as layout
1375 (asciiParagraph): layout as layout
1376 (latexParagraphs): layout as layout
1377 (makeLinuxDocFile): layout as layout
1378 (simpleLinuxDocOnePar): layout as layout
1379 (makeDocBookFile): layout as layout
1380 (simpleDocBookOnePar): layout as layout
1381 (getLists): layout as layout
1383 * LaTeXFeatures.C (getTClassPreamble): layout as layout
1385 * CutAndPaste.C (cutSelection): layout as layout
1386 (pasteSelection): layout as layout
1387 (SwitchLayoutsBetweenClasses): layout as layout
1389 * BufferView_pimpl.C (Dispatch): layout as layout
1390 (smartQuote): layout as layout
1392 * BufferView2.C (unlockInset): layout as layout
1394 2002-06-24 André Pönitz <poenitz@gmx.net>
1396 * lyxfunc.C: fix #487
1398 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1402 * lyxfunc.C: remove display_shortcuts, show_banner
1404 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1406 * Buffer_pimpl.C: oops, update on resize
1408 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1415 * BufferView.C: use repaint()
1417 * BufferView_pimpl.h:
1418 * BufferView_pimpl.C: s/updateScreen()/repaint()/
1419 as it's a clearer description. Remove superfluous
1422 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1424 * text.C: fix bug 488. Not ideal, but getting
1425 getWord() to work properly for the insets that
1426 matter is more difficult ...
1428 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1430 * BufferView_pimpl.C:
1433 * lyxfunc.C: remove the six million index lyxfuncs to just
1434 one, and DTRT (bug 458)
1436 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1440 * BufferView_pimpl.h:
1441 * BufferView_pimpl.C: clean up resize() stuff,
1442 and unnecessary updateScreen()s
1444 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1448 * BufferView_pimpl.h:
1449 * BufferView_pimpl.C:
1452 * minibuffer.C: remove focus management of workarea,
1453 not needed. Use screen's greyOut()
1455 2002-06-17 Herbert Voss <voss@lyx.org>
1457 * converter.C: (convert) do not post a message, when converting
1458 fails, let the calling function decide what to do in this case
1460 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1462 * lyxfunc.C: tidy up a little
1464 2002-06-16 <alstrup@diku.dk>
1466 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1467 Got rid of FORMS_H_LOCATION include. Now we are
1470 2002-06-15 LyX Development team <lyx@rilke>
1472 * buffer.[Ch] (sgmlOpenTag):
1473 (sgmlCloseTag): Added support for avoiding pernicious mixed
1474 content. Return number of lines written.
1477 (makeDocBookFile): Fixed calls to sgml*Tag.
1478 Simple white space clean.
1480 (simpleDocBookOnePar): Simple white space clean.
1482 * tabular.[Ch] (docBook): Renamed to docbook and got another
1483 argument to related with the pernicious mixed content.
1485 (docbookRow): Fixed calls for docbook inset method.
1487 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1489 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1490 so it's X11 independent.
1494 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1496 2002-06-15 Lyx Development team <lyx@electronia>
1498 * intl.h: Renamed getTrans to getTransManager.
1500 2002-06-14 Angus Leeming <leeming@lyx.org>
1502 * Makefile.am: nuke forgotten stl_string_fwd.h.
1504 2002-06-12 Angus Leeming <leeming@lyx.org>
1506 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1508 2002-06-13 Angus Leeming <leeming@lyx.org>
1511 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1513 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
1515 * kbmap.C (getiso): add support for cyrillic and greek
1517 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1521 * BufferView_pimpl.h:
1522 * BufferView_pimpl.C: move bogus scrolling logic
1525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1528 * BufferView_pimpl.C: view->resize() change
1530 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1532 * BufferView_pimpl.C: topCursorVisible
1535 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1539 * lyx_gui.C: move to frontends/
1543 * lyx_main.C: changes from above
1545 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1552 * lyx_main.C: minor tidy
1554 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1556 * BufferView_pimpl.h:
1557 * BufferView_pimpl.C:
1559 * BufferView.C: make painter() const,
1562 * BufferView2.C: use screen() accessor
1565 * lyx_main.C: some minor cleanup
1567 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1569 * BufferView_pimpl.h:
1570 * BufferView_pimpl.C: remove enter/leaveView,
1573 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1578 * BufferView_pimpl.h:
1579 * BufferView_pimpl.C: only construct screen once,
1582 * lyxrc.C: remove pointless comment
1584 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1587 * BufferView.C: remove active() and belowMouse()
1589 * BufferView_pimpl.h:
1590 * BufferView_pimpl.C: use workarea() not workarea_,
1591 and make it use a scoped_ptr instead
1593 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1595 * lyx_gui.C: add debug message on BadWindow
1597 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1599 * sp_spell.C: fdopen is not part of the C++ standard.
1601 * paragraph.C (InsetIterator): use >= instead of ==
1603 2002-06-07 Angus Leeming <leeming@lyx.org>
1605 Fixes needed to compile with Compaq cxx 6.5.
1606 * BufferView_pimpl.C:
1613 * lyxtextclasslist.C:
1618 all c-library variables have been moved into namespace std. Wrap
1619 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1624 Add a using std::abs declaration.
1626 * kbmap.h (modifier_pair):
1627 * paragraph.h (InsetTable, InsetList):
1628 * lyxfont.h (FontBits):
1629 type definition made public.
1631 * bufferlist.C (emergencyWriteAll): the compiler complains that
1632 there is more than one possible lyx::class_fun template to choose from.
1633 I re-named the void specialisation as lyx::void_class_fun.
1635 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1637 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1638 the compiler is is unable to find tostr in write_attribute.
1640 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1642 * buffer.C (sgmlError): hide #warning
1644 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1646 * xtl/*: get rid of xtl, which is not in use anyway
1648 * LyXAction.C (init):
1649 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
1650 were unimplemented xtl experimentation
1652 2002-06-04 André Pönitz <poenitz@gmx.net>
1654 * lyxfunc.C: disable array operation on simple formulae
1656 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
1658 * converter.C: constify a bit
1660 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
1662 * lyx_gui.C: check xforms version correctly
1664 2002-04-30 Herbert Voss <voss@lyx.org>
1666 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
1669 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
1671 * lyxvc.C: fix bug 416 (make sure buffer is saved before
1672 attempt to register it with a VCS)
1674 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1676 * lyx_main.C (init): honor variables LYX_DIR_13x and
1679 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1683 * lyx_main.C: fix a crash on bad command line,
1684 and give a useful exit status on error
1686 * lyxfunc.C (doImport): allow -i lyx to work
1688 2002-03-30 André Pönitz <poenitz@gmx.net>
1690 * lyxfunc.C: mathed font changes
1692 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1707 * trans_mgr.h: srcdocs, and some minor cleanups
1709 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1711 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
1712 call getFont all the time)
1714 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1716 * switch from SigC signals to boost::signals
1718 2002-05-29 André Pönitz <poenitz@gmx.net>
1720 * paragraph_pimpl.C (getChar): don't call size() too often...
1722 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1724 * paragraph_pimpl.C (insertChar): do not try to update tables when
1725 appending (pos == size())
1727 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
1728 in order to reduce drastically the number of comparisons needed to
1729 parse a large document
1731 2002-05-29 André Pönitz <poenitz@gmx.net>
1737 * textclasslist.[Ch]:
1738 * sp_ispell.h: whitespace change
1740 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1742 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
1743 lyxaction directly now.
1745 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
1749 * lyxvc.C: remove unused headers
1751 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1758 * undo_funcs.C: some cleanups. Use shared_ptr
1759 and a template for the undo stacks.
1761 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1763 * BufferView_pimpl.h:
1764 * BufferView_pimpl.C:
1771 * text2.C: use key_state/mouse_state
1773 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1775 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
1778 * chset.C: change include order
1779 (loadFile): use boost regex and get rid of LRegex and LSubstring
1781 * Makefile.am (BOOST_LIBS): new variable
1784 * LaTeX.C: change include order.
1785 (scanAuxFile): use boost regex and get rid of LRegex and
1789 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1794 * FontInfo.C: moved to frontends/xforms/
1797 * FontLoader.C: moved into frontends for GUIIzation
1802 * lyxfunc.C: changes from above
1804 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1806 * LColor.C: remove spurious X include
1808 * BufferView_pimpl.C:
1813 * text2.C: move font metrics to frontends/
1815 2002-05-24 Juergen Vigna <jug@sad.it>
1817 * undo_funcs.C (textHandleUndo): fix the cursor selection after
1818 setting the undo_cursor.
1820 * ParagraphParameters.h: include local includes first.
1822 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1824 * BufferView_pimpl.C:
1825 * BufferView_pimpl.h:
1829 * screen.C: move WorkArea into frontends/
1835 * BufferView2.C: move LyXScreen into frontends/
1839 * lyx_gui.C: move lyxlookup into frontends/xforms/
1841 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1844 * BufferView_pimpl.C:
1854 * bufferview_funcs.C:
1867 * vc-backend.C: move LyX/XFormsView into frontends/
1869 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1881 * text2.C: move Painter to frontends/
1883 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1885 * buffer.C: comment out some some code that depend upon lyx_format
1888 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
1889 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
1891 * buffer.h (NO_COMPABILITY): turn off compability
1893 * ColorHandler.C: include scoped_array.hpp
1895 * font.C: Use more specific smart_ptr header.
1898 * ShareContainer.h: ditto
1902 * BufferView_pimpl.h: ditto
1903 * ColorHandler.h: ditto
1905 * kbmap.C (defkey): change call to shared_ptr::reset
1907 2002-05-21 Juergen Vigna <jug@sad.it>
1909 * buffer.C (insertErtContents): fix to insert ert asis if it is
1910 non empty. Skip it completely if it contains only whitespaces.
1912 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1914 * BufferView_pimpl.C:
1915 * BufferView2.C: clear selection on paste (bug 393)
1917 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1919 * DepTable.C: include ctime
1921 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1923 * buffer.C (latexParagraphs): Add new argument (moving_arg).
1925 2002-05-14 Juergen Vigna <jug@sad.it>
1927 * text.C (breakParagraph): fixed function to honor the keepempty
1928 layout in the right maner and also to permit the right breaking
1929 algorithm on empty or non empyt keepempty paragraphs.
1931 * paragraph.C (breakParagraph): we have to check also if the par
1932 is really empty (!size()) for isempty otherwise we do the wrong
1935 2002-05-10 Juergen Vigna <jug@sad.it>
1937 * buffer.[Ch] : The following are only changes to the ert
1938 compatibility read reading old LaTeX layout and font stuff and
1939 convert it to ERTInsets.
1941 * buffer.h: added isErtInset().
1943 * buffer.C (struct ErtComp): add a fromlayout bool to check
1944 if we're inside a LaTeX layout.
1945 (isErtInset): new helper function.
1946 (insertErtContents): look for other ert insets before this one
1947 and insert the contents there, so that we don't have subsequent
1948 ERT insets with nothing between them. This way we create only one
1949 inset with multiple paragraphs. Also check if we don't insert only
1950 spaces ' ' as they are ignored anyway afterwards in the .tex file
1951 so if we have only spaces we will ignore this latex part in the
1953 (parseSingleLyXformat2Token \\layout): better compatibility when
1954 reading layout-latex stuff.
1955 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
1957 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
1958 stuff after reading the inset only get the information back from
1961 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
1963 * buffer.C (makeLaTeXFile): Put language options after loading babel.
1965 * LaTeXFeatures.C (getBabelOptions): New method.
1967 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1969 * BufferView_pimpl.C (Dispatch): work around missing argument for
1972 2002-05-08 Juergen Vigna <jug@sad.it>
1974 * text.C (leftMargin): handle paragraph leftindent.
1976 * paragraph.C (writeFile): write the new \\leftindent tag.
1977 (validate): handle leftindent code.
1978 (TeXEnvironment): handle paragraphleftindent code again.
1980 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
1982 * buffer.C (parseSingleLyXformat2Token): added compatibility code
1983 for paragrap_extra indent code and new token \\leftindent.
1984 (latexParagraphs): handle the leftindent as environment.
1986 * ParameterStruct.h: added leftindent support.
1988 * ParagraphParameters.C (leftIndent): added support functions for
1989 the paragraph left indent.
1991 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
1994 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1996 * paragraph.C (isRightToLeftPar): Return false for a paragraph
1999 * text.C (computeBidiTables): No bidi in insetERT.
2001 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2004 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2006 * version.C.in: pre 5
2008 2002-05-02 José Matos <jamatos@fep.up.pt>
2009 * buffer.C (makeDocBookFile): white space changes, add newline to
2011 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2013 * tabular.C (docBook): fix typo.
2015 2002-05-03 Juergen Vigna <jug@sad.it>
2017 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2018 change in LyXText as we can not be sure it was not freed.
2019 (drawOneRow): remove unused code.
2021 * text.C (drawInset): redo the calculation of the need_break_row as
2022 it could have a row which was already freed.
2023 (draw): look at the return value of drawInset and return false if
2024 it also returned false.
2025 (paintRowText): look at the return value of draw and return false if
2026 it also returned false.
2028 * lyxtext.h: added bool return type to drawInset() and draw() so that
2029 if we have a change in the row so that the rowbreak has to be redone
2030 we abort drawing as it will be called again.
2032 2002-05-02 Juergen Vigna <jug@sad.it>
2034 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2035 a change in the maintext also if we're inside an inset.
2036 (Dispatch): set the cursor again after a break line and after the
2037 screen has been updated as it could be we're in a different row.
2039 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2040 to set the cursor behind the pargraph with > size().
2041 (setCursor): check also for the same paragraph when checking where
2042 to put the cursor if we have a NFR inset.
2044 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2045 parts of layout read further up as it still was in the wrong
2048 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2050 * screen.C (drawFromTo): change sine fullRebreak always return
2053 * buffer.C (parseSingleLyXformat2Token): reindent some
2055 * BufferView_pimpl.C (update): change since fullRebreak always
2057 (Dispatch): git rid of the last hardcoded "Standard"s.
2059 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2061 * text2.[Ch] (fullRebreak): make it return void now that we always
2064 2002-04-30 Juergen Vigna <jug@sad.it>
2066 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2067 ert compatibility check for "latex" layout.
2069 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2071 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2072 minipages: use col% instead of p%, and also use the current font.
2073 (makeLaTeXFile): Fix use babel condition.
2074 (parseSingleLyXformat2Token): Correct font when reading old floats.
2076 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2078 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2079 inserting list of floats.
2081 2002-04-25 Herbert Voss <voss@lyx.org>
2083 * MenuBackend.C (expand): don't add the graphics extensions to the
2086 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2089 non-existing layout, do not complain if it was the default layout
2090 of the original class (bug #342)
2092 2002-04-24 Juergen Vigna <jug@sad.it>
2094 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2095 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2097 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2099 * buffer.C (getBibkeyList): If using \bibliography, return the
2100 option field with the reference itself. Enables us to provide natbib
2101 support when using \bibliography.
2103 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2105 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2107 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2108 natbib is provided by the LaTeX class.
2110 2002-04-23 Juergen Vigna <jug@sad.it>
2112 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2115 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2117 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2119 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2121 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2122 ensuremath around textordmasculine, textordfeminine and
2125 2002-04-19 Juergen Vigna <jug@sad.it>
2127 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2128 reinitializing the buffer otherwise row-dimensions may be wrong.
2129 (update): reset also the selection cursors if they do exits otherwise
2130 their x/y positions may be wrong.
2132 * text2.C (cursorDown): don't enter the inset if we came from a row
2133 above and are one row over the inset.
2135 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2136 really leaving an inset.
2138 2002-04-18 Juergen Vigna <jug@sad.it>
2140 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2141 of the selected paragraph does not have the selected layout also if
2144 * text2.C (setLayout): fixed bug which did not change last selected
2147 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2148 changed the read and substituted \\end_float with \\end_inset!
2150 * BufferView_pimpl.C (cursorPrevious):
2151 (cursorNext): fixed to make it work with rows heigher than the work
2152 area without moving the cursor only the draw of the row.
2153 (workAreaMotionNotify): fix jumping over high rows.
2155 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2157 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2160 2002-04-16 Juergen Vigna <jug@sad.it>
2162 * text2.C (setCursor): set also the irow().
2163 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2165 (cursorDown): support for locking an inset if the x_fix value goes
2166 inside it. That way I can transverse insets too with cursor up/down.
2168 * lyxrow.h: added irow helper function same as other (i) functions.
2170 * BufferView_pimpl.C (cursorPrevious):
2171 (cursorNext): fixed for insets!
2173 2002-04-15 Juergen Vigna <jug@sad.it>
2175 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2176 position otherwise it is wrong in some cases.
2178 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2179 inside the inset before the call.
2181 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2183 * buffer.[Ch] (getBibkeyList): make it const.
2185 2002-04-12 Juergen Vigna <jug@sad.it>
2187 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2189 * text2.C (getCursorX): new helper function
2190 (setCursor): compute also ix_
2191 (setCursorFromCoordinates): set also ix.
2193 * lyxcursor.h: added ix_ and helper functions.
2195 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2197 * buffer.C (insertStringAsLines): dont break paragraph if the this
2198 paragraph is inside an inset which does not permit it!
2200 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2201 also with no chars on this paragraph.
2202 (paintRowText): only paint stuff if it's inside the workarea!
2204 * paragraph.C (breakParagraph): honor keepempty flag and break the
2205 paragraph always below not above.
2207 * BufferView2.C (unlockInset): update the paragraph layout on inset
2208 unlock as we changed paragraph in such a case.
2210 * lyxfind.C (LyXFind): clear the former selection if not found!
2212 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2213 again called in insertChar().
2215 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2216 an inset which uses the whole row!
2217 (rightMargin): ditto.
2218 (insertChar): force a rebreak if we inserted an inset!
2220 2002-03-28 Herbert Voss <voss@lyx.org>
2222 * lyxlength.[Ch]: add inBP() to get the right PS-point
2223 units (BigPoint). With inPixels we have rounding errors
2225 2002-04-11 Juergen Vigna <jug@sad.it>
2227 * text2.C (setCursorFromCoordinates): set iy to the right value.
2228 (setCursor): add check if row->previous exists!
2230 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2231 an old float_type as this was the case in the old code!
2233 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2235 * BufferView2.C (showLockedInsetCursor): use iy
2236 (fitLockedInsetCursor): ditto
2238 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2239 locked insets as there we have the right value now.
2241 * lyxcursor.C: added iy_ variable and iy functions to set to the
2242 baseline of cursor-y of the locked inset.
2244 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2245 (setCursor): fixed for insets which need a full row.
2247 * text.C (rowLastPrintable): don't ignore the last space when before
2248 an inset which needs a full row.
2249 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2250 as last character of a row when before a inset which needs a full row.
2252 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2254 * version.C.in: update date
2256 * text2.C (fullRebreak): try to always return true and see what
2259 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2261 * MenuBackend.C (expand): use Floating::listName
2263 * FloatList.C (FloatList): add listName argument to the built-in
2266 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2267 text associated with the float.
2269 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2271 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2273 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2275 * ShareContainer.h: add a couple of missing typenames.
2277 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2279 * lyxrc.C (getDescription): use _() correctly rather than N_().
2281 2002-03-28 Herbert Voss <voss@lyx.org>
2283 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2284 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2286 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2288 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2289 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2291 2002-03-29 Juergen Vigna <jug@sad.it>
2293 * lyxfunc.C (dispatch): add a missing fitCursor call.
2295 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2296 it was scrolled by a cursor move, so return the bool status.
2298 * BufferView.C (fitCursor): return the bool flag also to the outside
2299 world as this is needed.
2301 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2303 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2304 call the edit() as it is not needed (and wrong) IMO.
2305 (workAreaButtonPress): set the screen_first variable before evt.
2306 unlock the inset as this may change screen_first and then we have
2307 a wrong y position for the click!
2309 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2311 * MenuBackend.C (expand): another translation that I missed
2313 2002-03-28 Juergen Vigna <jug@sad.it>
2315 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2317 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2319 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2321 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2323 * MenuBackend.C (expand): fix export/view/update when there is no
2326 2002-03-27 Herbert Voss <voss@lyx.org>
2328 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2331 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2333 * bufferview_funcs.C (currentState): only show paragraph number
2334 for is DEVEL_VERSION is set.
2336 * lyxfunc.C (dispatch): put warning in INFO channel
2338 * MenuBackend.C (expand): translate the name of floats
2340 * FloatList.C (FloatList): mark the float names for translation
2342 * converter.C (convert): use LibScriptSearch
2344 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2346 * MenuBackend.C (defaults): fix default menu (we might as well get
2349 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2351 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2354 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2356 * lyxvc.C: reorder includes.
2358 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2360 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2363 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2365 * CutAndPaste.C: change layouts earlier on paste
2366 to avoid crashing when calling getFont()
2368 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2370 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2373 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2375 * WorkArea.C: remove 'Pending' debug message.
2377 * most files: ws cleanup
2379 * buffer.[Ch]: ws changes
2381 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2383 2002-03-21 Juergen Vigna <jug@sad.it>
2385 * tabular.C (SetMultiColumn): collapse also the contents of the
2386 cells and set the last border right. Added a Buffer const * param.
2388 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2390 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2393 2002-03-19 Juergen Vigna <jug@sad.it>
2395 * text2.C (clearSelection): reset also xsel_cache.
2397 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2398 where it needs to be called (John tells us to do so too :)
2399 (selectionLost): reset sel_cache.
2401 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2403 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2405 * text2.C (setCursorIntern): put debuging code in INSETS channel
2407 2002-03-19 André Pönitz <poenitz@gmx.net>
2409 * lyxfunc.C: tiny whitespace change
2411 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2413 * ToolbarDefaults.C (init):
2414 * LyXAction.C (init):
2416 * BufferView_pimpl.C (Dispatch):
2417 * lyxfunc.C (dispatch): remove LFUN_DEPTH
2419 2002-03-19 Allan Rae <rae@lyx.org>
2421 * exporter.C (Export): removeAutoInsets before doing anything else.
2422 While I've just introduced a dependency on BufferView this really is
2423 the best place to clean the buffer otherwise you need to cleanup in
2424 a dozen places before calling export or cleanup in a dozen functions
2427 * converter.C (runLaTeX):
2428 (scanLog): Better handling of removeAutoInsets and screen updates.
2430 * lyxfunc.C (dispatch): small whitespace changes
2432 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2434 * WorkArea.C (C_WorkAreaEvent): return a value.
2435 (event_cb): return 1 if we handled the event, 0 otherwise.
2437 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2439 2002-03-18 Juergen Vigna <jug@sad.it>
2441 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2442 (GetAdditionalWidth): ditto.
2446 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2447 inset if we're there actually (probably not used right now but this
2448 is the direction to go for unifying code).
2449 (paste): disable code to clear the selection.
2451 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2452 inside an InsetText and move the check further up as it is in the
2455 * text2.C (pasteSelection): set a selection over the pasted text.
2457 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2459 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2460 and libgraphics to build on Cygwin.
2462 2002-03-15 Juergen Vigna <jug@sad.it>
2464 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2465 inserting an Inset into the paragraph. I know this is not the best
2466 fix but we already use current_view in CutAndPaste so we will remove
2467 all of it's using at the same time.
2469 * buffer.C (sgmlError): deactivated function till it is rewritten in
2470 the right mode, now it can create problems.
2472 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2473 before accessing it.
2475 2002-03-14 Juergen Vigna <jug@sad.it>
2477 * undo_funcs.C (textHandleUndo): do the right thing when updating
2478 the inset after the undo/redo.
2480 * text2.C (setCursor): just some testcode for #44 not ready yet.
2482 * undo_funcs.C (textHandleUndo): set the next() and previous()
2483 pointers of the paragraph to 0 before deleting otherwise we have
2484 problems with the Paragraph::[destructor].
2486 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2487 on a paragraph insertion.
2489 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2491 * buffer.C (asciiParagraph): use += operator for char append to
2494 * paragraph.C (getFontSettings): compare >= not just >
2495 (highestFontInRange): ditto
2498 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2500 * paragraph.C: change several algorithm to be more appripriate for
2501 the problem domain. This is lookip in FontList and in the InsetList.
2503 2002-03-13 André Pönitz <poenitz@gmx.net>
2506 * LyXAction.C: remove unused LFUN_MATH_MACROARG
2508 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
2513 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2515 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2517 * Painter.C (display): anon helper function, adjust code for this
2519 (pixmap): remove function.
2521 * Painter.h: remove private display variable.
2523 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2525 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
2527 * WorkArea.[Ch]: remove figinset_canvas cruft.
2529 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2531 * lyxtextclass.C (operator): add one item cache optimization.
2533 * bufferlist.h: doxy changes
2535 * bufferlist.C: ws changes
2537 * DepTable.[Ch] (ext_exist): place const in the right spot.
2539 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2541 (workAreaExpose): call resizeInsets when the with BufferView changes.
2542 (Dispatch): adjust for protectedBlank removal
2543 (specialChar): call updateInset if the insert went ok.
2545 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2546 specialChar instead.
2548 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2550 * BufferView.h: doxy change
2552 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2554 * lyxtextclass.C (operator[]): remove non-const version
2555 (defaultLayout): remove non-const version
2557 2002-03-12 Juergen Vigna <jug@sad.it>
2559 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2560 did resize the LyXText too.
2562 * buffer.C (readLyXformat2): set layout information on newly allocated
2565 * tabular.C (OldFormatRead): set layout information on the paragraph.
2567 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2569 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
2571 2002-03-11 Juergen Vigna <jug@sad.it>
2573 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
2575 (resizeCurrentBuffer): force also the insets to resize themselfes.
2576 (moveCursorUpdate): fixed up for InsetText.
2578 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
2581 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2582 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2583 value of Dialogs::tooltipsEnabled().
2584 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2586 2002-03-08 Juergen Vigna <jug@sad.it>
2588 * BufferView_pimpl.C (updateInset): update inset inside inset also
2589 if it isn't inside theLockingInset().
2591 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2593 * buffer.C (asciiParagraph): redo some of the word and line length
2595 (getLists): look for Caption instead of caption.
2597 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2599 * buffer.C (Buffer): initialize niceFile to true
2602 (makeDocBookFile): make sure niceFile is true on exit
2604 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2606 * buffer.C (makeLaTeXFile): escape ~ in \input@path
2608 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2610 * LyXSendto.C: remove.
2611 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2612 * lyx_gui.C: remove now-redundant comment.
2613 * ColorHandler.h: remove forward declaration of class WorkArea.
2614 * lyxfunc.C: remove #include "WorkArea.h".
2616 2002-03-07 Juergen Vigna <jug@sad.it>
2618 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2619 got moved away with the DEPM and also set the inset_owner always
2620 right which before could have been omitted.
2622 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2624 * buffer.C (parseSingleLyXformat2Token): use default layout is the
2625 wanted layout is not found.
2627 2002-03-07 Juergen Vigna <jug@sad.it>
2629 * CutAndPaste.C (cutSelection): another layout settings forgotten.
2631 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2633 * paragraph.C (breakParagraph): use default layout not layout of
2635 (Paragraph): clear ParagraphParameters.
2637 2002-03-06 Juergen Vigna <jug@sad.it>
2639 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
2640 otherwise it would not be a valid lenght. Fixed a special case in
2641 the minipage compatibility read where we end the document with a
2644 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
2645 was set as it could be 0 for InsetTexts first entry.
2647 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2649 * paragraph.C (writeFile): if layout is empty write out
2650 defaultLayoutName().
2652 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
2653 file without named layout we set layout to defaultLayoutName().
2655 2002-03-06 Juergen Vigna <jug@sad.it>
2657 * CutAndPaste.C (copySelection): set layout for new paragraph.
2659 * text.C (prepareToPrint): leave ERT inset left aligned
2660 (leftMargin): don't indent paragraphs inside ERT insets
2662 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2664 * paragraph.C (breakParagraph): dont call clear do the work manually
2666 * paragraph.[Ch] (clear): remove function
2668 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2670 * paragraph.C (Paragraph): dont call clear, the work has already
2673 * lyxtextclass.C (operator): assert if n is empty
2675 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
2676 work manually instead.
2678 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2680 * BufferView_pimpl.C: protect selectionLost against text == 0
2682 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2684 * text.C (breakParagraph): fix a setting layout to '0' problem.
2686 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2688 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
2689 final location of file, for the included files, and graphics.
2691 2002-03-05 Juergen Vigna <jug@sad.it>
2693 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
2695 2002-03-04 Juergen Vigna <jug@sad.it>
2697 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
2699 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
2700 last column of multicolumn cells.
2701 (SetWidthOfMulticolCell): recalculate NMC and real columns.
2703 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2705 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
2706 file if it doesn't go to a temporary file.
2708 * buffer.C (sgmlOpenTag):
2709 (sgmlCloseTag): remove extra newline insertion.
2711 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2713 * text.C (getRowNearY): comment out debug msg
2715 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2717 * text2.C: first -> first_y
2719 * text.C (getRowNearY): add some attemts at a possible
2720 optimization, not working.
2722 * tabular.[Ch]: add BufferParams to several function so that newly
2723 created paragraph can be initialized to he default layotu for the
2726 * tabular-old.C (ReadOld): add buf->params to call of Init
2728 * screen.C: rename text->first to text->first_y
2730 * paragraph.C (breakParagraph): always set layout in the broken
2733 * lyxtextclass.C (Read): remove lowercase
2736 (delete_layout): ditto
2738 * lyxtext.h: rename first -> first_y
2740 * lyxlayout.C (Read): remove lowercase
2743 (obsoleted_by): ditto
2745 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
2747 * buffer.C (insertErtContents): add params are to InsetERT
2748 (parseSingleLyXformat2Token): add code to check if a paragraphs
2749 layout really exist.
2750 (parseSingleLyXformat2Token): add params to several inset
2752 (asciiParagraph): remove lowercase, do the layout comparisons with
2755 * BufferView_pimpl.C (cursorNext): first -> first_y
2756 (resizeCurrentBuffer): first -> first_y
2757 (updateScrollbar): first -> first_y
2758 (scrollCB): first -> first_y
2759 (workAreaMotionNotify): first -> first_y
2760 (workAreaButtonPress): first -> first_y
2761 (checkInsetHit): first -> first_y
2762 (cursorPrevious): first -> first_y
2763 (cursorNext): first -> first_y
2764 (Dispatch): add buffer_->params to severl inset contructors
2766 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2768 * lyxlayout.C (Read): remove some debug info that I forgot.
2770 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
2771 clean up the code slightly.
2772 (makeLinuxDocFile): ditto
2773 (makeDocBookFile): ditto
2775 * text2.C: layout as string
2777 * text.C: layout as string
2779 * paragraph_pimpl.C: layout as string
2781 * paragraph.[Ch]: layout as string
2783 * lyxtextclasslist.[Ch]: layout as string
2785 * lyxtextclass.[Ch]: layout as string
2787 * lyxtext.h: layout as string
2789 * lyxlayout.[Ch]: layout as string
2791 * lyx_cb.C: layout as string
2793 * bufferview_funcs.C: layout as string
2795 * bufferparams.C: layout as string
2797 * buffer.C: layout as string
2799 * LyXView.[Ch]: layout as string
2801 * LaTeXFeatures.[Ch]: layout as string
2803 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
2805 * BufferView_pimpl.C: change current_layout to string, remove
2810 (workAreaButtonRelease): layout as string
2812 * BufferView2.C (unlockInset): adjust
2814 * vspace.C (asLatexCommand): use an explict temp variable.
2816 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2818 * Makefile.am: use FRONTEND_*
2820 2002-03-01 Juergen Vigna <jug@sad.it>
2822 * tabular.C (SetWidthOfMulticolCell): changed to something better
2823 I hope but still work in progress.
2824 (recalculateMulticolumnsOfColumn): renamed function from
2825 recalculateMulticolCells as it is more appropriate now.
2826 (SetWidthOfCell): calculate multicols better.
2828 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2830 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
2832 * lyxfunc.C (processKeySym): print sequence also if it is
2833 `deleted' (complete)
2835 * kbsequence.C (print): print sequence even if it is deleted
2836 (complete would be a better word, actually).
2838 * lyxfunc.C (dispatch): print complete options after a prefix key
2840 * vspace.C (asLatexCommand): rewrite in a slightly different form.
2842 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
2844 * text2.C (setCharFont): eliminate setCharFont code duplication.
2846 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2848 * BufferView_pimpl.C (Dispatch): remove bogus handling of
2849 LFUN_TABULAR_FEATURE (bug #177)
2851 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
2853 * Makefile.am: remove figure.h
2855 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2857 * Bufferview_pimpl.C:
2869 * text2.C: remove #include "lyx_gui_misc.h".
2871 * LaTeX.C: added #include <cstdio>
2873 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2875 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
2876 that the paragraph following this one can have.
2878 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
2880 * vspace.C (asLatexCommand): fix bogus gcc warning
2882 * Makefile.am (lyx_SOURCES): remove vms_defines.h
2884 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
2886 * text2.C (setLayout): get rid of redundant code
2888 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
2890 * text2.C (incDepth): make sure depth cannot be increased beyond
2893 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
2895 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
2896 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
2898 * PainterBase.h (image):
2899 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
2902 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2906 * BufferView_pimpl.C:
2907 * BufferView_pimpl.h:
2927 * sp_spell.C: remove fig inset, and the crap house of
2928 cards that follows it
2930 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2936 * nt_defines.h: move .h into support/
2938 * vms_defines.h: remove
2940 * WorkArea.C: add space in debug output
2944 * buffer.C: add WITH_WARNINGS
2948 * bufferlist.C: s/retrive/retrieve/, add docs
2959 * lyxgui.C: add ID to X error handler
2961 * lyxtestclass.c: fix typo
2963 2002-02-26 Juergen Vigna <jug@sad.it>
2965 * tabular_funcs.C (write_attribute): changed so that some default
2966 attributes are not written at all.
2967 (getTokenValue): set default values before trying to read the
2968 value so we have the return value always set as default if we don't
2969 find the token we search for.
2971 * tabular.C (Write): write bools as bools not as strings!
2973 2002-02-22 Juergen Vigna <jug@sad.it>
2975 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
2976 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
2978 * text.C (leftMargin): don't add an indent for paragraphs inside
2979 tabular cells (fix #208).
2981 2002-02-21 José Matos <jamatos@fep.up.pt>
2983 * tabular.C (docBook): fixed support for long tables.
2985 2002-02-20 Juergen Vigna <jug@sad.it>
2987 * text2.C (getFont): get the drawing font of the Inset if this
2988 paragraph is inside an inset (only important for InsetERT for now).
2990 * buffer.C (insertErtContents): use new lanugage params in ERT
2993 * CutAndPaste.C: commenting out seemingly uneeded code.
2995 2002-02-19 Allan Rae <rae@lyx.org>
2997 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
2998 Iterators might be simple to use but they also get invalidated.
2999 (removeAutoInsets): renamed saved cursor tracking variables and added
3000 some comments to clarify what everything does.
3002 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3009 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3010 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3013 * vc-backend.h: remove #include "support/syscall.h"
3017 * converter.C: rearrange #includes in Lars' approved fashion.
3019 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3020 forward declare class Timeout in the header file.
3022 * XFormsView.C: changes due to the above.
3024 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3027 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3028 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3030 2002-02-18 José Matos <jamatos@fep.up.pt>
3032 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3035 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3037 * a lot of small ws changes
3038 * add a lot of using std::XXX
3039 * use std construcs some places where approp.
3040 * use some exisint stuff from lyxfunctional where approp.
3041 * Make file changes to use partial linking (lets test this now...)
3043 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3047 remove #include "support/syscontr.h" as it's redundant. Always has been.
3055 change Systemcalls::System to Systemcalls::Wait and
3056 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3057 No change of functionality, just reflects the stripped down Systemcalls
3060 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3062 * debug.[Ch]: add a GRAPHICS type to the enum.
3064 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3066 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3068 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3071 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3073 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3074 match the changes below.
3076 * text2.C (toggleInset): if there is not editable inset at cursor
3077 position, try to see if cursor is _inside_ a collapsable inset
3080 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3082 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3083 document menu has a nice checkbox
3085 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3087 * lyxlength.C (asLatexString): change PW to output as percent of
3090 * lengthcommon.C: change '%' to 't%'
3092 * lyxfunc.C (dispatch): a few comments from Martin
3094 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3098 * BufferView_pimpl.h:
3099 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3102 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3104 * vspace.C (inPixels): fix compiler warning
3106 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3108 * lyxfunc.C (getStatus): fix status message for disabled commands.
3110 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3112 * BufferView_pimpl.C: fix crash on close buffer
3113 during selection (#227)
3115 2002-01-27 Herbert Voss <voss@lyx.org>
3117 * buffer.C: link old Figure to new graphic inset
3119 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3121 * FontLoader.C (getFontinfo): Change the latex font names in order
3122 to match the names of type1inst.
3124 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3126 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3128 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3131 (remove_files_with_extension): ditto
3132 (remove_file): ditto
3135 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3136 document is smaller than the work area height. Do not initialize
3137 static variables to 0.
3139 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3141 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3143 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3144 LFUN_LAYOUT_PARAGRAPHS.
3146 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3147 tabular. It is possible to provide a possible cell, which will
3148 typically be the actcell from the corresponding insettabular
3150 * lyxfunc.C (getStatus): small cleanup; disable
3151 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3154 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3156 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3158 * paragraph.C (startTeXParParams):
3159 (endTeXParParams): new methods. The LaTeX code to
3160 start/end paragraph formatting
3161 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3162 empty (fixes bug #200)
3164 * vspace.C (inPixels): adapt to the change below
3165 (inPixels): [later] more cleanups (remove unused variables)
3167 * lyxlength.C (inPixels): change to use a width and a height as
3170 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3172 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3173 Replaced with \paperwidth
3175 * DepTable.C (insert): add std:: qualifier
3177 2002-01-18 Allan Rae <rae@lyx.org>
3179 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3182 * text.C (drawInset): Turned out I didn't know enough about how
3183 rebreaking worked. This fixes most of the redraw problems. I see
3184 an occasional cursor trail when a line is broken now and the cursor
3185 placement can seem out by a few pixels also after a rebreak.
3187 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3189 * buffer.C (parseSingleLyXformat2Token): update because minipage
3190 width is now a LyXLength
3192 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3194 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3197 2002-01-17 Juergen Vigna <jug@sad.it>
3199 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3201 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3202 is set correctly and the inset is updated correctly.
3204 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3206 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3207 the beginning of the loop.
3209 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3211 * lyxrc.C: improve help for use_scalable_fonts
3213 2002-01-17 Allan Rae <rae@lyx.org>
3215 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3217 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3219 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3220 make sure to set their inset_owner to the right value (bug #171)
3222 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3225 * DepTable.C: Implement mtime checking to reduce time spent doing
3228 2002-01-16 Juergen Vigna <jug@sad.it>
3230 * tabular.C (GetAdditionalHeight): one of error fixed.
3232 * lyxrc.C (output): small fix in writing use_pspell.
3234 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3236 * sp_base.h: #include LString.h
3238 2002-01-16 Allan Rae <rae@lyx.org>
3240 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3241 Can someone check this please?
3243 * text.C (drawInset): It was possible that p.row would be removed by
3244 breakAgainOneRow upsetting a few other settings. There may be another
3245 small tweak possible by setting need_break_row = 0 when p.row has been
3246 removed but I don't know enough about the logic here.
3248 2002-01-15 Allan Rae <rae@lyx.org>
3250 * text.C (insertChar): removed conditional truism.
3252 * BufferView2.C (removeAutoInsets): More tweaks.
3253 cur_par_prev could be a stray pointer. Check for trailing empty line
3254 in case last line was cur_par and only had an error inset on it.
3256 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3258 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3261 * vc-backend.C (most methods):
3262 * exporter.C (Export):
3263 * converter.C (convert):
3265 * LyXSendto.C (SendtoApplyCB):
3266 * lyxfunc.C (dispatch):
3270 * lyx_cb.C (AutoSave):
3272 * BufferView_pimpl.C (MenuInsertLyXFile):
3273 * buffer.C (runChktex): use Buffer::filePath().
3275 * buffer.h: rename filename to filename_; rename filepath to
3276 filepath_ and make it private
3277 (filePath): new method
3279 * buffer.C (writeFile): use fileName()
3282 * lyx_main.C (init): fix starting of LyX when the binary is a
3283 link from so,ewhere else.
3285 * minibuffer.C: include <cctype> for isprint
3287 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3289 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3290 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3291 name clash with InsetCollapsable's width function.
3293 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3295 * lastfiles.C: include <iterator>
3297 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3299 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3302 * buffer.C (makeLaTeXFile): ditto.
3303 Also make loop operation more transparent.
3305 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3307 * ToolbarDefaults.C: remove trailing comma closing namespace.
3309 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3311 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3314 * trans.C (Load): comment out unused variable, allowed.
3316 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3318 * minibuffer.[Ch] (append_char): new method to recieve input from the
3319 drop-down completion browser. If a key was pressed, then recieve this
3320 char and append it to the existing string.
3321 (peek_event): modify the positioning data passed to the completion
3322 browser so that it can be placed above the minibuffer rather than below.
3323 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3325 * LyXAction.C (init): alloe error-next for readonly documents.
3327 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3330 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3332 * bufferlist.C (readFile): create the buffer _after_ checking that
3335 * lyxfunc.C (verboseDispatch): fix handling of arguments
3337 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3339 * lyxrc.C: use string::erase() instead of initializing to "".
3342 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3344 * BufferView_pimpl.h:
3345 * BufferView_pimpl.C:
3348 * text2.C: tell X when we have made a selection for copying
3350 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3352 * BufferView_pimpl.C (MenuInsertLyXFile):
3353 * lyxfunc.C (menuNew):
3355 (doImport): add shortcuts to directory buttons
3357 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3360 * lyxfunc.C (setStatusMessage):
3361 (getStatusMessage): new methods
3362 (getStatus):use setStatusMessage instead of setErrorMessage
3363 (dispatch): when function is disabled, set error message here
3364 [instead of in getStatus previously]
3366 * BufferView_pimpl.C (workAreaButtonRelease): update
3367 toolbar/menubar here too.
3369 2002-01-13 Allan Rae <rae@lyx.org>
3371 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3372 Now seems indestructible. Remaining task is to audit all other
3373 code affected by deleteEmptyParagraphMechanism. One small quirk
3374 left is that an empty document with an error in the preamble can
3375 be made to report an error but no error box appears. I don't know
3377 (removeAutoInsets): Improved comments.
3379 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
3382 * Thesaurus.C: update for Aiksaurus 0.14
3384 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3386 * text2.C (firstParagraph): removed member function, all uses
3387 replaces with ownerParagraph
3388 (redoParagraphs): here
3390 (toggleAppendix): here
3391 * BufferView2.C (insertErrors): here
3392 (setCursorFromRow): here
3394 2002-01-13 Allan Rae <rae@lyx.org>
3396 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3397 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3398 There is still a way to segfault this although you may have to do this
3399 multiple times: Have an InsetERT with an unknown command in it.
3400 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3401 <down-arrow>, <Enter> again, View->DVI, BANG!
3403 * text2.C (setCursor):
3404 (deleteEmptyParagraphMechanism):
3405 * lyxtext.h (setCursor):
3406 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3407 Making use of the return value may help fix other bugs.
3409 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3411 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3413 * LyXView.C (updateMenubar): call MenuBar::update here
3414 (updateToolbar): but not here
3415 (showState): do not update toolbar/menubar
3417 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3418 should need to care about that.
3420 * lyxfunc.C (verboseDispatch): simplify a bit
3421 (getStatus): have a version which takes a pseudoaction, and
3422 another which requires a (kb_action,string).
3424 * LyXAction.C (retrieveActionArg): make it work also when action
3425 is not a pseudo-action.
3426 (getActionName): simplify a bit
3429 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3431 * lyxfunc.C (verboseDispatch): new families of methods with
3432 several ways to specify a command and a bool to indicate whether
3433 the command name and shortcut should be displayed in minibuffer
3434 (eventually, we could extend that to a finer bitmask like
3435 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3436 (dispatch): the pristine dispatch command which just, well,
3437 dispatchs! Note it still sets its result to minibuffer; I'm not
3440 * lyxfunc.h: remove setHintMessage
3442 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3444 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3446 * BufferView_pimpl.C (specialChar): delete new inset if we have
3447 not been able to insert it.
3449 * kbmap.C: revert to using int instead of kb_action, since all we
3450 are dealing with is pseudo-actions.
3452 * LyXAction.C (searchActionArg): change to return int instead of
3453 kb_action, since the result is a pseudoaction.
3455 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3457 * buffer.C (insertErtContents): Fix (partially) the font bug.
3459 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3461 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3462 as the other one is broken on my machine!
3464 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3467 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3469 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3471 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3472 reflect their actual use. Provide compatibility code for older lyxrc
3475 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3477 change names of popup font variables in line with the changes to lyxrc.C
3479 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3481 * buffer.C (asciiParagraph): avoid outputing a word twice after
3484 * lyxrc.C (getDescription): document that document_path and
3485 template_path can be empty.
3487 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3489 * LaTeXFeatures.C (getMacros):
3490 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3492 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3494 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3496 (getPackages): rename feature "floats" to "float". Use an array to
3497 iterate over 'simple' features (i.e. just a \usepackage). Add
3498 handling of "amsmath" (renamed from "amsstyle").
3500 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
3502 * LaTeXFeatures.C (require): Prevent duplicate entries in the
3505 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
3507 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3508 FuncStaus::FuncStatus & FuncStaus::some_method().
3510 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3512 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3513 of the func_satus stuff. Edited and massaged in various ways by
3516 * lyxfunc.C (getStatus): use FuncStatus
3518 2002-01-08 Juergen Vigna <jug@sad.it>
3520 * text.C (nextBreakPoint): use function Inset::isChar().
3522 * paragraph.C (TeXOnePar): use function
3523 Inset::forceDefaultParagraphs.
3525 * buffer.C (latexParagraphs): use function
3526 Inset::forceDefaultParagraphs.
3528 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3530 * lyx_gui.C (init): set the style of the menu popups to
3531 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3533 2002-01-07 Juergen Vigna <jug@sad.it>
3535 * text.C (setHeightOfRow): small fix
3536 (prepareToPrint): don't look at alignment if we don't have the place
3539 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3541 * box.C: New file. Move the Box methods and functions out of box.h,
3542 following Lars' suggestion.
3544 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3546 * box.h: #include "support/LOstream.h", needed for inlined function.
3549 * lyxtextclasslist.C: added some using std declarations.
3551 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
3553 * box.h: make signed dimensions to allow insets wider than
3554 the screen (bug #162)
3556 * BufferView_pimpl.C: add some insetHit debug
3558 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3560 * vc-backend.C: add FIXME
3562 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3564 * lyxfunc.C (getStatus): enable code for showing math font status
3567 2002-01-07 Juergen Vigna <jug@sad.it>
3569 * text.C (nextBreakPoint): removed debug output not needed anymore.
3571 2002-01-06 Juergen Vigna <jug@sad.it>
3573 * text.C (nextBreakPoint): fixed up this function we had this bug
3574 since ever but now hopefully we break row better.
3575 (insertChar): we have to check if an inset is the next char as it
3576 could now happen that a large inset is causing a break.
3578 2002-01-05 Juergen Vigna <jug@sad.it>
3580 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3581 if it doesn't like to be drawed.
3583 2002-01-04 Juergen Vigna <jug@sad.it>
3585 * BufferView2.C (lockInset): forgot to set a cursor.
3587 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3589 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
3594 * form_maths_panel.C:
3595 * form_maths_panel.h:
3596 * form_maths_panel.fd: implemented sub- and super- buttons in math
3599 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3600 (or ^ space) to be used as in TeX (req'd by André).
3602 * lyxfunc.C: Allow ^ and _ again to be used both as
3603 super/subscript (mathed) and as themselves (in text).
3605 2002-01-03 Allan Rae <rae@lyx.org>
3607 * LyXView.C (updateWindowTitle): Setup a short icon title of either
3608 "LyX" or the filename of the current buffer if it has one. This is a
3609 modified form of John Levon's patch.
3611 * XFormsView.C (setWindowTitle): also set icon title.
3613 * LyXView.h (setWindowTitle): signature changed.
3614 * XFormsView.h (setWindowTitle): ditto.
3616 2002-01-02 Juergen Vigna <jug@sad.it>
3618 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3620 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3622 * screen.C (topCursorVisible): introduce a temp var for
3623 text->cursor.row(), handle the case where this row is null. (kindo
3626 * text2.C (setCursor): add a couple of asserts.
3628 * paragraph.h (inset_iterator): add -> operator
3630 * paragraph.[Ch] (autoDeleteInsets): remove member function
3632 * BufferView2.C (removeAutoInsets): rewrite to handle the old
3633 cursor pos correctly and handle inset deletion by itself.
3634 (insertErrors): move iterator declaration out of for expression
3636 * lyxtextclass.C: add <algorithm>
3638 * Makefile.am: added the new files to sources, removed layout.C
3640 * layout.C: removed file
3642 * layout.h: remove LYX_DUMMY_LAYOUT
3644 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
3648 * lyxtextclass.[Ch]:
3649 * lyxtextclasslist.[Ch]: new files
3651 * include order changes to a lot of files, also changes because of
3654 2001-12-27 Juergen Vigna <jug@sad.it>
3656 * buffer.C (asciiParagraph): more fixes.
3658 * tabular.C (ascii): make ascii export support export of only the
3659 data separated by a column-delimiter.
3660 (ascii): better support for ascii export.
3662 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
3664 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3666 * tabular_funcs.C: use a "using std::getline" instead of the
3667 previous fix from Angus (necessary for cxx + lyxstring)
3669 2001-12-24 Juergen Vigna <jug@sad.it>
3671 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
3673 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
3674 problems. First check a minipage also if we have some ert-contents
3675 (not only on par->size(), second set the right depth of the paragraph
3676 on the relink to the root-paragraph-list!
3678 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
3679 which then did not anymore update the main paragraphs on undo/redo!
3681 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3683 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
3684 code. Support all font-changing funcs (even those which are not in
3685 menu currently). Support for reporting font settings in
3686 mathed (disabled until Andre provides a function on mathed's side).
3688 * func_status.h (toggle): small helper function to set toggle
3691 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
3693 * tabular_funcs.C: getline -> std::getline
3695 2001-12-21 Juergen Vigna <jug@sad.it>
3697 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
3698 accessed and could be 0 (I couldn't generate this but it seems
3701 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3703 * tabular_funcs.C: add LIstream.h, move write_attribute to..
3704 * tabular_funcs.h: here and include iosfwd
3706 2001-12-20 Juergen Vigna <jug@sad.it>
3708 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
3709 inside inset but undo_par was.
3711 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3713 * Thesaurus.C: always include <config.h> in sources.
3717 * box.h: do not include <config.h> in header files
3719 * text.C (paintLastRow): remove unused variable
3721 * text.C (transformChar):
3723 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
3726 * font.C (width): rewrite to use uppercase() instead of
3729 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
3731 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
3733 * lyxfind.C: clean up of find failure position change
3735 2001-12-20 Juergen Vigna <jug@sad.it>
3737 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
3739 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
3740 (TeXRow): added to LaTeX a single tabular row.
3741 (TeXLongtableHeaderFooter): added to output LT-h/f data.
3742 (Latex): simplified and finally good LT-h/f support.
3743 (various_functions): just small adaptions for LT-h/f support.
3745 * tabular_funcs.[hC]: added and moved here all not classfunctions
3748 2001-12-19 Juergen Vigna <jug@sad.it>
3750 * tabular.[Ch]: better support for longtabular options (not finished
3753 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3755 * text.C (paintLastRow): use the label font instead of the font of
3756 the last character to compute the size of *_BOX. This makes more
3757 sense and avoids a crash with empty paragraphs.
3758 Use Painter::rectangle to draw EMPTY_BOX.
3760 2001-12-19 Juergen Vigna <jug@sad.it>
3762 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
3763 the paragraphs if the replaced paragraph is not the first one!
3764 Tried to delete not used paragraphs but does not work yet so for
3765 now it's inside #ifdef's and by default off!
3767 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3769 * MenuBackend.C: include "lyx_main.h" instead of declaring
3770 lastfiles (actually was declared as LastFiles* instead of a
3773 2001-12-17 Juergen Vigna <jug@sad.it>
3775 * tabular.C (AppendColumn): applied John's fix
3777 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
3781 * BufferView_pimpl.h:
3782 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
3785 * box.h: new start of class for above
3787 * lyxfunc.C: ignore space-only minibuffer dispatches.
3788 Show the command name when it doesn't exist
3790 * minibuffer.C: don't add empty lines to the history
3792 * minibuffer.C: add a space on dropdown completion
3794 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
3796 * text.C: fix line above/below drawing in insets
3798 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
3800 * lyxlength.C (LyXLength): Initialize private variables.
3802 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
3804 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
3805 when inserting error insets.
3807 2001-12-13 Juergen Vigna <jug@sad.it>
3809 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
3810 actually sometimes the before-paragraph.
3811 (setUndo): don't clear the redostack if we're not actually undoing!
3813 2001-12-06 Juergen Vigna <jug@sad.it>
3815 * undo_funcs.C (textHandleUndo): well after John's hint I got here
3816 and fixed redoing of main paragraph, so we can use it now ;)
3818 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
3820 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3822 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
3825 2001-12-13 André Pönitz <poenitz@gmx.net>
3828 * undo_func.C: minor cleanup
3830 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3832 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
3833 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
3834 font in urw-fonts package which is marked as -urw-fontspecific and
3835 does not work (incidentally, changing the encoding in the
3836 fonts.dir of this package to -adobe-fontspecific fixes the
3839 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
3840 is a crash when undoing first paragraph (Juergen, please take a
3841 look). THis does not mean the undo fix is wrong, just that it
3844 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
3845 the (Paragraph*) version when needed instead of duplicating the
3848 * text.C (workWidth): use Inset::parOwner to find out where the
3849 inset has been inserted. This is a huge performance gain for large
3850 documents with lots of insets. If Inset::parOwner is not set, fall
3851 back on the brute force method
3853 * paragraph_pimpl.C (insertInset):
3854 * paragraph.C (Paragraph):
3855 (cutIntoMinibuffer): set parOwner of insets when
3856 inserting/removing them
3858 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3860 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
3866 * mathed/formulabase.C:
3867 * mathed/math_cursor.[Ch]:
3868 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
3871 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3873 * lyxlength.[Ch] (operator!=): new function
3875 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3877 * text.C (workWidth): use Inset::parOwner to find out where the
3878 inset has been inserted. This is a huge performance gain for large
3879 documents with lots of insets. If Inset::parOwner is not set, fall
3880 back on the brute force method
3882 * paragraph_pimpl.C (insertInset):
3883 * paragraph.C (Paragraph):
3884 (cutIntoMinibuffer): set parOwner of insets when
3885 inserting/removing them
3887 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3889 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3891 * tabular-old.C (getTokenValue):
3892 * tabular.C (getTokenValue):
3893 (write_attribute): new versions for LyXLength
3894 (everywhere): adjust the use of widths
3896 * tabular.h: change the type of widths from string to LyXLength
3898 2001-12-11 Ben Stanley <bds02@uow.edu.au>
3900 * paragraph.C: fixed missing line number count when exporting
3901 Environments to LaTeX file
3903 * buffer.C: added informational message for checking line numbers.
3905 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3907 * text2.C (deleteEmptyParagraphMechanism): if there is only one
3908 paragraph, do the 'double space' part, but not the 'empty
3911 * text.C (workWidth): small optimization
3912 (getLengthMarkerHeight): use minimal size for negative lengths.
3914 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
3916 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
3918 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
3920 2001-12-11 André Pönitz <poenitz@gmx.net>
3923 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
3925 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3927 * text2.C: keep selection on a setFont()
3929 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3931 * lyx_cb.C: another bv->text misuse, from insert label
3933 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
3936 * kbsequence.C: re-instate nmodifier mask
3938 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
3940 * lyx_main.h: make lyxGUI private.
3942 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3944 * lyxfind.C: place the cursor correctly on failed search
3946 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3948 * text.C (getLengthMarkerHeight): for small heights, the arrows
3949 are not always on top/bottom of the text
3950 (drawLengthMarker): smaller arrows; take the left margin in
3951 account; draw also vfills.
3953 (paintLastRow): remove special code for vfill and standard spaces,
3954 since everything is handled in drawLengthMarker now.
3956 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3958 * buffer.C (insertErtContents): try to handle font and language
3959 interaction a bit better.g
3961 * ColorHandler.C (updateColor): change the hash to cover the whole
3962 LColor enum, ws cleanup
3963 (getGCLinepars): ditto
3964 (getGCLinepars): only lookup in the linecache once.
3966 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
3968 * iterators.C (operator++): Make the iterator more robust
3970 * BufferView2.C (removeAutoInsets): Use paragraph iterators
3972 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
3974 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3977 * text.C: better added space drawing
3979 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3982 * BufferView2.C: fix layout combo update on inset unlock
3984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3986 * Makefile.am: don't compile unused files
3988 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3992 * LyXAction.C: remove old LFUN_LAYOUTNO
3994 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3996 * paragraph_pimpl.h:
3997 * paragraph_pimpl.C: isTextAt() doesn't need font param
3999 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4002 * lyxlex.C: little cleanup
4004 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4006 * BufferView_pimpl.C: fix insertAscii for insets
4008 2001-12-05 Juergen Vigna <jug@sad.it>
4010 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4011 set the right font on the "multi" paragraph paste!
4013 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4019 * lyxlength.C: remove out-commented code.
4035 * vc-backend.C: change "while(" to "while ("
4037 * lyxlength.[Ch]: add zero function to check if length is zero or
4039 * lyxgluelength.C: use it
4041 2001-12-05 Allan Rae <rae@lyx.org>
4043 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4044 Works for 2.95.3, from what I understand of Garst's reports this should
4045 work for other g++ versions. We're screwed if the abs(int) definition
4046 changed between bugfix releases of gcc.
4048 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4050 * text.C: fix chapter label offset !
4052 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4055 * text.C: fix hfill at end of line, clean up
4057 2001-12-04 Juergen Vigna <jug@sad.it>
4059 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4060 that we force an update of the inset and it's owners if neccessary.
4062 2001-12-03 Juergen Vigna <jug@sad.it>
4064 * text.C (rowLast): simplified code
4066 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4068 * lyxfunc.C: fix show options on timeout
4070 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4072 * screen.C (topCursorVisible): scroll half a page when the cursor
4073 reached top of bottom of screen
4075 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4077 * minibuffer.C: deactivate on loss of focus
4079 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4081 * vspace.[Ch] (operator!=): add operator.
4083 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4085 * BufferView_pimpl.C: refuse to open an inset when
4086 there's a selection.
4088 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4090 * BufferView_pimpl.C: allow to click on RHS of full row insets
4092 2001-11-30 Juergen Vigna <jug@sad.it>
4094 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4095 insets for undo reasons.
4097 2001-11-28 André Pönitz <poenitz@gmx.net>
4099 * vspace.[Ch]: cosmetical changes
4101 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4111 * kbsequence.C: part re-write of old kb code
4114 * WorkArea.C: remove Lgb_bug_find_hack
4116 2001-11-30 José Matos <jamatos@fep.up.pt>
4118 * buffer.C (makeDocBookFile): add a comment to point a hack.
4119 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4120 Fixed a double write of labels.
4122 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4125 * LaTeX.h Fixed bug in LaTeX class where it would not
4126 re-run latex if no depfiles were changed, but the .dvi was removed.
4128 2001-11-28 André Pönitz <poenitz@gmx.net>
4130 * all the files from the change on 2001/11/26:
4131 use lyx::layout_type instead of LyXTextClass::size_type
4132 use lyx::textclass_type instead of LyXTextClassList::size_type
4134 2001-11-29 Juergen Vigna <jug@sad.it>
4136 * text.C: added support for paragraph::isFreeSpacing()
4138 * buffer.C: same as above
4140 * paragraph.h: inserted isFreeSpacing() function to enable
4141 FreeSpacing inside InsetERT.
4143 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4144 of the paragraph's in the cut/copy buffer to 0!
4146 * text2.C (removeRow): remove the assert as it can!
4148 * lyxtext.h: added helper function firstRow returning firstrow and
4149 made firstrow private again.
4151 * BufferView2.C (lockInset): don't relock if we're already locked!
4153 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4155 (removeRow): added Assert::(firstrow)
4157 * debug.C: forgot to add INSETTEXT here.
4159 2001-11-28 Juergen Vigna <jug@sad.it>
4161 * sp_spell.C (initialize): changed error text to more general
4162 spellchecker command use (not only ispell!)
4164 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4166 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4168 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4170 * vspace.C: initialise lyxgluelength on failure
4172 2001-11-28 Allan Rae <rae@lyx.org>
4174 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4175 declaration & definition that looks like a function declaration.
4177 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4179 * BufferView2.C (copy):
4180 (copyEnvironment): do not clear the selection when doing a copy.
4182 * text.C (paintFirstRow): compilation fix
4184 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4186 * tabular.C (Latex): correct line count when writing latex.
4188 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4190 * paragraph_pimpl.h:
4191 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4194 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4198 * LColor.C: change vfillline->added_space
4200 * text.C: add markers and text for added space
4202 * vspace.C: fix comment
4204 2001-11-28 André Pönitz <poenitz@gmx.net>
4206 * paragraph.C: whitespace changes
4207 * all the other files from the change on 2001/11/26:
4208 change *::pos_type into lyx::pos_type
4210 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4212 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4213 language of the document when inserting error insets.
4215 2001-11-26 André Pönitz <poenitz@gmx.net>
4217 * BufferView_pimpl.[Ch]:
4225 * paragraph_pimpl.[Ch]:
4228 * text2.C: reduce header dependencies, introduce type for positions
4230 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4232 * <various>: change to use Alert.h
4234 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4236 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4237 when encountering an unknown token.
4238 (readLyXformat2): Show an error message if there were unknown tokens.
4240 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4243 * BufferView_pimpl.C:
4247 * text2.C: use par->isInset()
4249 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4251 * paragraph_pimpl.h:
4252 * paragraph_pimpl.C: cleanup
4254 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4256 * text2.C (removeRow):
4257 * text.C (setHeightOfRow): remove useless (and costly) call to
4260 2001-11-20 Allan Rae <rae@lyx.org>
4262 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4263 Now need Inset*::checkInsertChar() to return true for appropriate
4264 cases so that the characters in the minibuffer will actually be
4267 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4269 * text.C: change the order of the includes.
4270 (workWidth): initialize it at once.
4271 (workWidth): make maxw unsigned
4272 (setHeightOfRow): remove unused variable (inset)
4273 (selectSelectedWord): remove unused variable (inset)
4274 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4276 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4278 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4279 server is not running.
4281 (closeConnection): add debug info when server is disabled.
4283 * ColorHandler.C (getGCForeground): send debug message to GUI
4286 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4288 * kbmap.C (bind): modify because return conventions of
4289 kb_sequence::parse have changed.
4291 * kbsequence.C (parse): only ignore spaces and not any stupid
4292 control character. This avoids tests like s[i] <= ' ', which are
4293 guaranteed to fail with 8bit characters and signed chars.
4294 Change return code to string::npos when there have been no error
4295 (0 was a bad idea when error is at first character)
4297 2001-11-14 José Matos <jamatos@fep.up.pt>
4300 * buffer.C (simpleDocBookOnePar): removed unused argument.
4302 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4304 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4305 insets which are part of a word. Paragraph::isLetter takes care of
4306 that now. Use Paragraph::isInset to identify insets.
4307 (selectSelectedWord): do not test for hyphenation break.
4309 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4310 that protected spaces are considered as spaces.
4312 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4315 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4318 * lyxserver.C: fix it. and small cleanup.
4320 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4322 * BufferView_pimpl.C: use inline helpers
4325 * LaTeXFeatures.C: fix typos
4328 * Spacing.C: move spacing_string into class
4330 * ToolbarDefaults.C: move stuff into namespace anon
4332 * layout.h: update enum
4334 * lyxfunc.C: use better debug
4336 * minibuffer.h: fix typo
4340 * WorkArea.C: add and use Debug::WORKAREA
4344 * text2.C: code re-organisation, inline helpers
4346 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4348 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4349 std::vector.empty().
4351 2001-11-09 Allan Rae <rae@lyx.org>
4353 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4354 '\n's after tables. Tabular and ERT inset work now makes this no
4357 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4360 * minibuffer.C: fix crash, improve drop-down completion
4362 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4365 * lyxserver.C: invalidate fd's when doing endPipe()
4367 2001-11-08 José Matos <jamatos@fep.up.pt>
4369 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4370 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4373 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4375 2001-11-07 José Matos <jamatos@fep.up.pt>
4378 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4381 * buffer.C (sgmlOpenTag):
4382 * buffer.C (sgmlCloseTag): removed debug info.
4384 * buffer.h (sgmlOpenTag):
4385 * buffer.h (sgmlCloseTag): made public.
4387 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4389 * buffer.C (saveParamsAsDefaults):
4390 * lyx_cb.C (MenuLayoutSave): remove
4392 * LyXAction.C (init):
4394 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4396 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4398 * buffer.C (setPaperStuff): removed from here...
4400 * bufferparams.C (setPaperStuff): ... and moved there.
4402 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
4406 * XFormsView.C: add support for drop-down completion
4408 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
4410 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4413 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4415 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4418 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4420 * lyx_main.C: change ref to known bugs
4422 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4424 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4425 to work around older babel problems.
4427 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4429 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4431 2001-10-24 Juergen Vigna <jug@sad.it>
4433 * tabular-old.C (ReadOld): below variable changes reflected.
4435 * tabular.[Ch]: added ltType struct for longtable header/footer
4436 defines and changed all instances where they are used. Added
4437 future support for double top/bottom rows.
4439 2001-10-24 José Matos <jamatos@fep.up.pt>
4441 * buffer.h (docbookHandleCaption):
4442 * buffer.C (docbookHandleCaption): removed unused function.
4443 (makeDocBookFile): moved docbook supported version to v4.1.
4445 2001-10-24 José Matos <jamatos@fep.up.pt>
4448 * tabular.C (docbookRow): new function to export docbook code of a row.
4449 (DocBook): now honors the longtable flags.
4451 2001-10-23 José Matos <jamatos@fep.up.pt>
4454 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4455 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4457 * buffer.C (makeLinuxDocFile):
4458 (makeDocBookFile): reworked the preamble, more clean, and with
4459 support for lyx defined entities. Changed the document declaration
4460 to be more XML friendly.
4462 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4463 if we need to output XML that should be done with a filter.
4465 2001-10-22 Juergen Vigna <jug@sad.it>
4467 * sp_pspell.h (class PSpell): add alive function needed in the
4468 controller to see if the spellchecker could be started.
4470 2001-10-22 Juergen Vigna <jug@sad.it>
4472 * buffer.C (insertStringAsLines): modify the font for inserting
4473 chars in certain conditions by calling checkInsertChar(font).
4475 2001-10-19 Juergen Vigna <jug@sad.it>
4477 * text.C (workWidth): use getRow instead of wrong algorithm.
4478 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4480 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4485 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4487 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4489 * text.C (workWidth): do not search for the exact row when
4490 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4491 optimization for big documents.
4493 2001-10-18 Juergen Vigna <jug@sad.it>
4495 * text.C (workWidth): new function with added Inset * parameter.
4497 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4499 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4501 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4502 change return type of getColumnNearX.
4505 * text.C (changeRegionCase): use uppercase/lowercase instead of
4508 (rightMargin): simplify code by factoring out the uses of
4513 (appendParagraph): use Paragraph::size_type
4515 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4517 * vspace.C (asLatexString): add a missing break
4519 2001-10-15 Herbert Voss <voss@perce.de>
4521 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4523 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4525 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4528 2001-10-10 André Pönitz <poenitz@gmx.net>
4530 * lyxfunc.C: removed greek_kb_flag.
4532 2001-10-10 Herbert Voss <voss@perce.de>
4534 * lyx_main.C: delete global string help_lyxdir.
4536 2001-10-09 Herbert Voss <voss@perce.de>
4538 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4540 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4542 * lyx_main.C: added global string help_lyxdir.
4544 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4546 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4548 * lyxrc.C (set_font_norm_type): support iso8859-4
4550 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
4552 * LaTeX.C (deplog): add another regex for MikTeX
4554 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
4556 * lyxrc.C (set_font_norm_type): support iso8859-3
4558 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4560 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4562 * LaTeXFeatures.C: remove special case of french and index
4564 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4565 before \begin{document}). This solves several incompatibilities.
4567 2001-10-03 Garst Reese <reese@isn.net>
4569 * lyx_cb.C: change CheckTex error msg.
4571 2001-10-03 José Matos <jamatos@fep.up.pt>
4573 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
4575 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4577 * .cvsignore: update
4579 * lyx_main.C (commandLineVersionInfo): use new style version info.
4581 * buffer.C (writeFile):
4584 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4586 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4588 * version.h: update to use stuff in version.C
4590 * version.C.in: new file. Contains version information determined
4591 at compile time. This is a merging of version.h and
4594 2001-10-03 Juergen Vigna <jug@sad.it>
4596 * BufferView_pimpl.C (update): don't change "dirty" status in
4599 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
4601 * WorkArea.C (c-tor): re-position version string slightly.
4603 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
4605 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4606 revert to previous code.
4608 WorkArea.[Ch]: (show, destroySplash): methods removed.
4610 WorkArea.C: rework code so that it's an amalgam of the codes before and
4611 after the splash screen was moved to WorkArea.
4613 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4616 * vspace.C (inPixels):
4619 * buffer.C (insertStringAsLines):
4620 (asciiParagraph): fix types to be large enough
4622 * lyxlex_pimpl.h: change member status from short to int
4624 * layout.h: fix type of endlabeltype
4627 * kbsequence.C (parse): change return type to string::size_type
4629 * LaTeX.C (updateBibtexDependencies): comment out unneeded
4632 * Bullet.C (bulletSize):
4633 (bulletEntry): do not use short ints as parameters
4635 * BufferView2.C (insertLyXFile): change a char to an int.
4637 * WorkArea.C (WorkArea): remove unneeded floats in computation
4639 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
4641 * buffer.C (asciiParagraph): Treat '\\' as other chars.
4643 * paragraph.C (asString): Do not ignore newline/hfill chars when
4644 copying to the clipboard.
4646 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
4648 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
4649 after a multi-line inset.
4651 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4653 * paragraph.C (validate): Set NeedLyXFootnoteCode
4655 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4657 * lyxfont.C (LyXSizeNames): changed increase-error to increase
4658 and decrease-error to decrease.
4660 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4662 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4663 it more readable (should be equivalent)
4665 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
4667 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
4669 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4671 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
4672 of a cursor (row, etc.) after a character has been deleted
4673 (deleteEmptyParagraphMechanism): call the method above on _all_
4674 cursors held by the LyXText when a double space has been
4677 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4679 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
4681 (resizeCurrentBuff): remove code to destroy the old splash dialog.
4683 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
4684 background. Use greyOut() and the new show() methods to toggle between
4685 the foreground and background. Add code to remove the splash after
4686 its initial showing.
4688 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
4689 (create_forms): no longer call Dialogs::showSplash.
4691 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4693 * .cvsignore: add version_info.h
4695 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4697 * version_info.h.in: new file
4699 * Makefile.am: add version_info.h.in
4701 * lyx_main.C (commandLineVersionInfo): use version_info defined in
4702 version_info.h instead of VERSION_INFO
4704 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4706 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
4707 The ERT inset now returns string().
4709 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4711 * lyxtext.h, text.C (selectNextWord): renamed as
4712 selectNextWordToSpellcheck.
4714 * text.C (selectNextWordToSpellcheck): Modified to not select
4715 words inside an ERT inset.
4717 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4719 * lyx_cb.C (MenuLayoutSave): change a bit the question
4721 * sp_base.h: include <sys/types.h>
4723 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4725 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
4727 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
4729 * several files: fix typos in user-visible strings
4731 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4733 * text2.C (pasteSelection): do not set the selection, since it
4734 will be cleared later. Actually, the intent was to fix the way the
4735 selection was set, but I figured rmoving the code was just as good.
4737 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
4739 * FontLoader.C (available): Check if font is available without
4742 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4744 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
4746 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
4748 * lyxrc.[Ch]: added display_graphics variable and associated code.
4750 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4752 * bufferparams.C (hasClassDefaults): new method. Returns true if
4753 the buffer parameters correspond to known class defaults
4755 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
4757 * XFormsView.C (show): set minimum size to the main window.
4759 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4761 * text2.C (copySelection):
4763 * lyxfind.C (LyXReplace):
4764 * BufferView_pimpl.C (Dispatch): pass the correct flag to
4765 LyXText::selectionAsString.
4767 * paragraph.C (asString): add "label" argument to the second form
4769 * text2.C (selectionAsString): add "label" argument and pass it to
4770 Paragraph::asString.
4772 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4774 * lyx_main.C (commandLineHelp): remove version information
4776 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
4778 * lyx_main.C: add -version commandline option
4780 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4782 * paragraph.h: make the optional constructor arg required instead.
4783 some modifications to other files because of this.
4785 * minibuffer.C (C_MiniBuffer_peek_event): make it static
4787 * lyxserver.C (C_LyXComm_callback): make it static
4789 * lyx_main.C (error_handler): make it static
4791 * lyx_gui.C (LyX_XErrHandler): make it static
4793 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
4795 * WorkArea.C: make the extern "C" methods static.
4797 * Makefile.am (lyx_LDADD): simplify
4799 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4801 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
4802 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
4804 * LyXAction.C (init):
4805 * lyxfunc.C (dispatch): associated code removal.
4807 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4809 * lyxfont.h (isSymbolFont): shut off warning
4811 * text.C (setHeightOfRow):
4812 (getVisibleRow): fix crash with empty paragraphs which have a
4815 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
4817 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
4820 2001-09-04 José Matos <jamatos@fep.up.pt>
4823 * tabular.C (docbook): rename docBook method to docbook.
4825 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4827 * Makefile.am: add dependencies to main.o.
4829 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
4831 * FontLoader.C (available): Return false if !lyxrc.use_gui
4833 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
4835 * FontInfo.C (query):
4836 * converter.C (view):
4837 * importer.C (Import):
4838 * exporter.C (Export): Can not -> cannot.
4840 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
4842 * BufferView_pimpl.C: allow to create index inset even if
4845 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4847 * buffer.C (getLists): replace boost::tie code with an explicit pair
4848 as boost::tie can break some compilers.
4850 * iterators.h: Added a std:: declaration to the return type of
4853 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
4855 * lyxrc.C: add help for view_dvi_paper_option, default to safe
4858 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4860 * iterators.[Ch]: New files. Provide paragraph iterators.
4862 * buffer.C (changeLanguage): Use paragraph iterators.
4863 (isMultiLingual): ditto
4865 * BufferView2.C (ChangeInsets): Use paragraph iterators.
4867 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
4869 * FontLoader.C: Support for cmr font.
4871 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
4873 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
4874 (available): New method.
4876 * FontInfo.C (getFontname): Use scalable fonts even when
4877 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
4880 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
4882 * converter.C (Formats::view): reverted! Incorrect fix.
4884 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
4886 * converter.C (Formats::view): only output the -paper option
4887 if the dvi viewer is xdvi, thereby fixing bug #233429.
4889 2001-08-23 Herbert Voss <voss@perce>
4891 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
4893 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
4895 * Spacing.h (Spacing): Set space to Default on in the default
4898 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
4900 * vc-backend.h (RCS::versionString): add RCS to version
4901 (CVS::versionString): add CVS to version
4903 * vc-backend.C (scanMaster): do not add CVS to version.
4904 (scanMaster): do not add RCS to version
4906 * lyxvc.C (versionString): new method
4908 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
4910 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4912 * Spacing.C (set): initialize fval
4914 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
4916 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
4919 2001-08-16 Juergen Vigna <jug@sad.it>
4921 * lyxfunc.C (dispatch): implemented the new FINISHED states.
4923 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4925 * BufferView_pimpl.C:
4928 * text2.C: setParagraph takes linespacing now
4930 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
4932 * LyxAction.C: add internal LFUN_CITATION_INSERT
4934 * LyXView.C: actually apply fix
4936 * bufferlist.C: fix open non-existent file
4938 * lyxfind.C: fix indentation
4940 * lyxfunc.C: remove unneeded assert, fix typo
4942 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4944 * MenuBackend.C: use "Floatname List"
4946 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4948 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
4949 when converting LaTeX layout to insetERT.
4950 Generate a non-collapsed float when reading old float
4952 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
4954 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
4957 2001-08-13 Juergen Vigna <jug@sad.it>
4959 * text.C (fill): return 0 instead of 20 as this seems to be the more
4962 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
4964 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
4967 2001-08-13 Juergen Vigna <jug@sad.it>
4969 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
4971 (SearchBackward): comment out the unlocking of the inset_owner this
4972 should not be needed!
4974 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4976 * Many files: Remove inherit_language, and add latex_language
4978 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
4981 2001-08-10 Juergen Vigna <jug@sad.it>
4983 * text.C (prepareToPrint): fixed hfill-width in draw!
4985 * BufferView2.C (selectLastWord): save the selection cursor as this
4986 now is cleared in the function LyXText::clearSelection!
4988 2001-08-08 Juergen Vigna <jug@sad.it>
4990 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
4991 BACKSPACE type functions.
4993 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
4994 is only cutted from the document but not put in the cut-buffer, where
4995 still the old stuff should be.
4997 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
4999 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5001 * tabular.C (SetWidthOfCell): fixed special case where the width
5003 (LeftLine): handle '|' in align_special.
5005 (LeftAlreadyDrawed): ditto
5006 (SetWidthOfCell): ditto
5008 2001-08-07 Juergen Vigna <jug@sad.it>
5010 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5012 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5014 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5015 * lyxlex.[hC]: ditto
5017 2001-08-06 Juergen Vigna <jug@sad.it>
5019 * text.C (getVisibleRow): fix up row clearing a bit.
5021 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5023 * minibuffer.C: make sure the X server sees the changes in the input.
5025 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5027 * paragraph.C (getFont): split into...
5028 (getLabelFont): this
5029 (getLayoutFont): and this
5030 * paragraph_pimpl.C (realizeFont): calling this
5032 * text2.C (getFont): split into...
5033 (getLayoutFont): this
5034 (getLabelFont): and this
5035 (realizeFont): all three calling this
5037 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5040 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5042 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5044 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5046 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5047 layouts from the Quote inset insertion.
5049 2001-08-03 Juergen Vigna <jug@sad.it>
5051 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5053 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5054 only if status not is already CHANGED_IN_DRAW (second level).
5056 * text.C (draw): don't set the need_break_row when inside an
5059 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5061 * buffer.C (parseSingleLyXformat2Token): handle more latex
5064 * bufferview_funcs.[hC]: change function names to
5065 begin with small char, adjust other files.
5067 2001-08-02 André Pönitz <poenitz@gmx.net>
5070 BufferView_pimpl.C: remove broken special code for math-greek
5072 2001-08-02 Juergen Vigna <jug@sad.it>
5074 * BufferView_pimpl.C (update): redone this function so that we
5075 update the text again if there was a CHANGE_IN_DRAW.
5077 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5078 (drawFromTo): added a new internal bool which is used by draw() and
5080 (general): some cursor drawing problems fixed.
5082 2001-08-01 Juergen Vigna <jug@sad.it>
5084 * lyxfind.C (LyXFind): fixed
5085 (SearchForward): ditto
5086 (SearchBackward): ditto
5088 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5089 spurius drawing of the cursor in the main area.
5091 * text2.C (status): small fix which could lead to a segfault!
5092 (clearSelection): remove unneeded BufferView param.
5094 2001-08-01 André Pönitz <poenitz@gmx.net>
5096 * lyxfunc.C: small change due to changed mathed interface
5098 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5100 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5102 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5104 * lyxfunc.c: fail gracefully if file doesn't exist
5109 * BufferView_pimpl.C: IsDirWriteable() proto changed
5111 * LyXView.C: fix updateWindowTitle() to store the last title
5113 2001-07-31 Juergen Vigna <jug@sad.it>
5115 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5116 the font (wrong since using of Paragraph::highestFontInRange).
5118 * paragraph.C (highestFontInRange): added a default_size parameter.
5120 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5121 (setHeightOfRow): reformat
5123 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5125 * converter.[hC] + affected files: move to (inital-char)lowercase
5128 * ParagraphParameters.C (ParagraphParameters): remove commented code
5130 * PainterBase.[Ch]: remove commented code
5132 * LaTeXFeatures.h: add "bool floats" for float.sty
5134 * LaTeXFeatures.C (LaTeXFeatures): init floats
5135 (require): handle float
5136 (getPackages): do it with floats
5138 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5140 * BufferView_pimpl.C (Dispatch): improve handling of
5141 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5143 * commandtags.h: #include lyxfont.h here temporarily to avoid
5146 * bufferlist.h: include LString.h here.
5148 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5150 * text2.C (getStringToIndex): new method.
5152 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5154 * *: Reduced header file dependencies all over.
5156 2001-07-30 Baruch Even <baruch@lyx.org>
5158 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5160 2001-07-29 Baruch Even <baruch@lyx.org>
5162 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5164 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5166 * ParameterStruct.h (endif): add a default constructor to make
5167 sure that all variables is initialized.
5169 * ParagraphParameters.C (ParagraphParameters): adjust
5171 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5173 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5174 index; also, check that there is something to index, and that it
5175 does not span over several paragraphs.
5176 (doubleClick): use WHOLE_WORD_STRICT for double click.
5178 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5180 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5183 2001-07-26 Baruch Even <baruch@lyx.org>
5185 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5186 an InsetFig figure, backwards compatible reading of old figure code.
5188 2001-07-27 Juergen Vigna <jug@sad.it>
5190 * text2.C: font.realize function adaption.
5192 * text.C (draw): add a warnings lyxerr text if needed.
5194 * layout.C: font.realize function adaption.
5196 * language.C: add inherit_language and implement it's handlings
5198 * bufferview_funcs.C (StyleReset): remove language parameter from
5199 font creation (should be language_inherit now).
5201 * bufferparams.C (writeFile): handle ignore_language.
5203 * paragraph.C (getFontSettings): the language has to be resolved
5204 otherwise we have problems in LyXFont!
5206 * lyxfont.C (lyxWriteChanges): added document_language parameter
5207 (update): removed unneeded language parameter
5209 * paragraph.C (validate): fixed wrong output of color-package when
5210 using interface colors for certain fonts in certain environments,
5211 which should not seen as that on the final output.
5213 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5215 * BufferView_pimpl.C:
5220 * LyXAction.C: add thesaurus support
5223 * lyxfind.C: add "once" parameter, for thesaurus, to not
5224 move to the next match
5226 2001-07-26 Juergen Vigna <jug@sad.it>
5228 * lyxfont.C (realize): honor ignore_language too!
5231 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5233 * text.C (draw): one place more for ignore_language to not draw
5236 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5238 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5240 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5242 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5243 the minipage conversion problem.
5245 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5247 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5250 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5252 * BufferView.h: don't forward declare WorkArea
5254 * BufferView.C: don't include WorkArea.h
5256 2001-07-25 André Pönitz <poenitz@gmx.net>
5260 * lyxfunc.C: new LFUN 'math-space'
5262 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5264 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5266 * text2.C (toggleInset): call open/close
5268 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5270 * lyxfunc.C (dispatch): add debug for the disabled case
5272 * font.C (buttonText): make similar to rectText
5274 * buffer.C (readInset): comment out parsing of insetlist and
5277 * PainterBase.C (rectText): small correction
5279 * BufferView_pimpl.C: comment out insettheorem and insetlist
5280 * LyXAction.C: ditto
5281 * commandtags.h: ditto
5283 2001-07-24 Juergen Vigna <jug@sad.it>
5285 * text.C (draw): honor the ignore_language.
5287 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5289 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5291 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5294 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5296 * lyxtext.h: remove unused (and unimplemented) methods
5298 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5300 * text.C (getVisibleRow): honor background color
5303 * Painter.h: remove default color argument for fillRectangle
5305 * text.C (backgroundColor): new method
5307 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5309 * text.C (getVisibleRow): adjust
5311 * font.[Ch] (rectText): new method, metrics
5312 (buttonText): new method, metrics
5314 * PainterBase.[hC]: make rectText and buttonText always draw and take
5317 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5319 * ToolbarDefaults.C (read):
5320 * MenuBackend.C (read): allow escaping in all strings
5322 * BufferView_pimpl.C (insertAndEditInset): new method.
5323 (Dispatch): use insertAndEditInset whenever appropriate.
5325 * BufferView_pimpl.C (insertNote): removed
5327 * BufferView_pimpl.C (smartQuote): new method, moved from
5328 BufferView; if an insetquote cannot be inserted, insert a '"'
5331 * BufferView2.C: remove insertCorrectQuote();
5333 * lyxfunc.C (getStatus): Add support for all remaingin
5336 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5338 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5339 command (necessary to pass " as parameter of self-insert.
5341 * text.C (selectWordWhenUnderCursor):
5342 (selectWord): add word_location parameter
5343 (selectWordWhenUnderCursor): same + remove special code for word
5345 (selectNextWord): use kind() to guess type of insetspecialchar,
5348 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5349 (insertErtContents): create ert insets as collapsed.
5350 (readInset): better compatibility code for Info inset.
5352 2001-07-20 Juergen Vigna <jug@sad.it>
5354 * lyxfunc.C (dispatch): use always LyXFind now!
5356 * text2.C (init): add a reinit flag so that the LyXText can be
5357 reinited instead of deleted and reallocated (used in InsetText).
5359 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5365 2001-07-18 Juergen Vigna <jug@sad.it>
5367 * text.C (selectNextWord): handle insets inside inset by calling
5368 always the bv->text functions so that we can go up the_locking_inset!
5370 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5371 in strange locations when inside an inset!
5373 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5374 handling to include insets.
5376 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5378 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5380 * LyXAction.C (init):
5382 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5383 LIGATURE_BREAK, since the name is so stupid.
5385 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5387 * buffer.C (readInset): enable reading of new InsetNotes as well as old
5390 * FontLoader.C: remove FORMS_H_LOCATION cruft.
5392 * sp_form.[Ch]: remove.
5394 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5396 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5399 * src/buffer.C (readInset): ditto.
5401 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5403 * BufferView_pimpl.C (specialChar): new method. Obsoletes
5404 menuSeparator(), endOfSentenceDot(), ldots() and
5405 hyphenationPoint(), which are therefore removed.
5406 (Dispatch): handle LFUN_HYPHENATION_BREAK.
5408 * LyXAction.C (init):
5409 * commandtags.h: add LFUN_HYPHENATION_BREAK.
5411 * paragraph.C (getWord): removed.
5413 * BufferView_pimpl.C (Dispatch): use last word or selection for
5414 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5416 * lyx_main.C (queryUserLyXDir): do not ask before creating
5417 user_dir, except if it has been named explicitely.
5419 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5421 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5422 a document of zero size.
5424 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5426 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5427 approriately in the c-tor and in require().
5428 (getPackages): output the appropriate LaTeX for natbib support.
5430 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5431 variables "use_natbib" and "use_numerical_citations" when reading the
5433 (readInset): read the various natbib cite commands.
5434 (validate): white-space change.
5436 * bufferparams.[Ch]: new variables "bool use_natbib" and
5437 "bool use_numerical_citations".
5438 (writeFile): output them in the LyX file.
5440 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5442 * lyxfunc.C (getStatus): add support for all the inset insertion
5445 * text2.C (insertInset):
5446 * paragraph.C (insetAllowed):
5447 * BufferView_pimpl.C (insertInset): update to take in account the
5448 renaming of insertInsetAllowed
5450 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5452 * text2.C (getInset): new method. returns inset at cursor position.
5454 * BufferView_pimpl.C (Dispatch): changes because of this.
5456 * LyXAction.C (init): rename open-stuff to inset-toggle.
5458 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5460 * text2.C (toggleInset): renamed from openStuff; use
5463 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5465 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5467 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5469 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5471 * buffer.C (readLyXformat2): Add filename to the error dialog
5473 2001-07-18 Juergen Vigna <jug@sad.it>
5475 * tabular.C (GetCellNumber): put an assert here instead of the check!
5477 2001-07-17 Juergen Vigna <jug@sad.it>
5479 * BufferView_pimpl.C (toggleSelection): adapted too.
5481 * text.C (selectNextWord): adapted for use with insets.
5482 (selectSelectedWord): ditto
5484 2001-07-17 Juergen Vigna <jug@sad.it>
5486 * sp_spell.C (PSpell): fix initialitation order.
5488 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5490 * paragraph.C: spacing
5492 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5494 * sp_spell.C: repair language selection for pspell
5496 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5498 * lyxfunc.h: change more methods to begin with lower char.
5500 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
5502 * buffer.C (parseSingleLyXformat2Token): Generate error insets
5503 for unknown layouts.
5505 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
5507 * buffer.C (readLyXformat2): Generate an error dialog if there are
5510 2001-07-16 Juergen Vigna <jug@sad.it>
5512 * sp_spell.C: always compile ISpell part.
5514 * lyxrc.C: added use_pspell entry and it's handling.
5516 2001-07-13 Juergen Vigna <jug@sad.it>
5518 * sp_spell.C: removed double includes.
5520 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5522 Consistent use of Lsstream.h:
5523 * Lsstream.h: added using std::stringstream for consistencies sake.
5525 * buffer.C: removed using std::stringstream
5527 * lyxfont.C (stateText):
5528 * paragraph.C (asString):
5529 * text.C (selectNextWord, selectSelectedWord):
5530 * text2.C (setCounter):
5531 * vspace.C (asString, asLatexString):
5532 std::ostringstream -> ostringstream.
5534 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5536 * LyXAction.C: add LFUN_HELP_ABOUTLYX
5537 * commandtags.h: add LFUN_HELP_ABOUTLYX
5538 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5540 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5542 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5544 * lyx_gui_misc.C: remove spellchecker
5545 * lyxfunc.C: showSpellchecker
5547 * sp_ispell.h: added
5548 * sp_pspell.h: added
5550 * sp_form.[Ch]: removed
5551 * spellchecker.[Ch]: removed
5553 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
5555 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5557 (simpleTeXSpecialChars): Simply print the input character without
5558 any special translation if pass_thru is set.
5560 * layout.h: Added bool pass_thru to layout class for being able to
5561 implement pass through of a paragraph for Literate Programming.
5563 * layout.C: add LT_PASS_THRU to LayoutTags enum.
5564 * layout.C (LyXLayout): set pass_thru to flase in constructor.
5565 * layout.C (Read): add "passthru" to list of layout tags and add
5566 code to set the pass_thru boolean when it is read.
5568 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5570 * trans_decl.h: remove allowed from KmodInfo
5572 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
5576 * paragraph_pimpl.C (erase): use boost::prior
5578 * Painter.C (text): use data() instead of c_str() when length is
5580 * WorkArea.C (putClipboard): ditto
5581 * font.h (width): ditto
5583 * BufferView2.C: use it-> instead of (*it). for iterators
5585 * paragraph_pimpl.C: ditto
5586 * paragraph.C: ditto
5587 * minibuffer.C: ditto
5592 * converter.C: ditto
5594 * Variables.C: ditto
5595 * TextCache.C: ditto
5596 * MenuBackend.C: ditto
5597 * LyXAction.C: ditto
5599 * FloatList.C: ditto
5601 * ColorHandler.C (LyXColorHandler): ditto
5603 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5605 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5607 * text2.C (openStuff): reintroduce this method (which had been
5608 nuked in NEW_INSETS frenzy).
5610 * lyxfunc.C (Dispatch): when an action has not been handled, use
5611 its name in the error message, not its number.
5613 * paragraph.C (inInset): change method name to begin with lowercase.
5616 * text2.C: updates because of this.
5618 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5620 * ToolbarDefaults.C (add): add spaces in error message
5622 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5624 * buffer.C (readLyXformat2): initialize the ert comp. variables.
5625 (readLyXformat2): rename return_par to first_par, use lyxlex's
5626 pushToken and remove the manual push handling.
5627 (parseSingleLyXformat2Token): add another ert comp. variable:
5628 in_tabular, rename return_par to first_par. handle newlines better
5630 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5632 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5634 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5636 * text2.C (getParFromID): removed
5638 * buffer.C (getParFromID): new method moved form lyxtext.
5639 * BufferView2.C (insertErrors): adjust
5640 (setCursorFromRow): adjust
5641 * BufferView_pimpl.C (restorePosition): adjust
5642 * lyxfunc.C (Dispatch): adjust
5643 * undo_funcs.C (textUndo): adjust
5645 (textHandleUndo): adjust
5646 (textHandleUndo): adjust
5648 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5650 * buffer.C: up' the LYX_FORMAT
5652 * lyxfont.h: turn NO_LATEX on as default
5654 * buffer.C (insertErtContents): new methods of tex style compability.
5655 (parseSingleLyXformat2Token): use it several places.
5656 * tabular.C (OldFormatRead): and here
5658 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5660 * text2.C: remove some commented code.
5663 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
5664 * trans.C: changes because of the above.
5666 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
5668 * text2.C (setCounter): Fix counters bug with bibliography layout.
5670 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5672 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
5673 own member functions
5674 (simpleTeXSpecialChars): ditto
5676 2001-07-06 Juergen Vigna <jug@sad.it>
5678 * a lot of files: changed the access to LyXText::status and the
5679 call of undo-functions.
5681 * undo.[Ch]: added a inset_id to the undo informations.
5683 * undo_funcs.[Ch]: added and moved here all undo functions.
5685 * lyxtext.h: give the status enum a weight, made status_ a private
5686 variable and made accessor functions for it, removed the whole bunch
5687 of undo-functions as they are now in their own file, make some
5688 functions publically available. Added function ownerParagraph with
5691 * paragraph.[Ch]: added "bool same_ids" to the constructor,
5692 made InInset() a const function, added getParFromID() function.
5694 * buffer.[Ch]: added const version for inset_iterator functions,
5695 added getInsetFromID() function.
5697 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
5698 changed undo functions for new version.
5700 2001-07-05 Juergen Vigna <jug@sad.it>
5702 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
5703 unknow mechanism does not call the proper constructor but only this
5704 one also if I request the other!?
5706 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5708 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
5710 * text2.C (LyXText): use initialization lists.
5712 * lyxtext.h (Selection): initialize set_ and mark_
5713 (init): remove method
5715 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
5717 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
5719 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5721 * screen.[Ch]: change method names to begin with lowercase
5723 * BufferView_pimpl.C (updateScrollbar): simplify further and
5724 hopefully make it a bit faster.
5726 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5728 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
5729 calling directly xforms functions.
5731 * Painter.C (Painter):
5732 * lyx_cb.C (MenuWrite):
5733 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
5736 * lyx_gui.C: remove bogus guiruntime extern declaration.
5738 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5740 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
5742 (redoDrawingOfParagraph): ditto
5743 (redoParagraphs): ditto
5744 (cutSelection): don't create a object for CutAndPaste use the
5745 static method directly
5746 (pasteSelection): ditto
5748 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
5751 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5753 * modifications to some other files because of this.
5755 * Makefile.am (lyx_SOURCES): add XFormsView
5757 * XFormsView.[Ch]: new files
5759 * LyXView.[Ch]: make LyXView a base class for the gui handling for
5760 the main window. Move the gui dependent stuff to XFormsView
5762 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5764 * tabular.C (GetCellInset): update cur_cell also in the row/col
5765 version of this function.
5767 * lyxfunc.C: no need to include figure_form.h here.
5773 * lyxvc.C: no need to include forms.h here.
5775 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5777 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
5779 * lyxfunc.C (Dispatch):
5781 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
5782 constructor argument.
5784 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5786 * paragraph.C (Paragraph): dont't clear, and just set layout.
5787 (makeSameLayout): use params's copy contructor.
5789 * ParagraphParameters.[Ch] (makeSame): delete method
5791 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5793 * Variables.[Ch]: fix indentation, rename set to isSet
5795 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5797 * lyxfunc.C (Dispatch): fix typo
5799 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5801 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
5804 * bufferlist.C: include assert.h for emergencyWrite().
5806 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5808 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
5809 give up at last (bug #425202) !
5811 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
5817 * spellchecker.C: strip spellchecker options and bring up
5818 preferences tab instead
5820 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5822 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
5823 the istringstream constructor
5825 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5827 * paragraph.C (getLayout): fix return value
5829 * paragraph.h: do not declare getLayout as inline.
5831 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
5833 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5835 * lyxcursor.h (operator<): new func
5836 (operator>): new func
5837 (operator>=): new func
5838 (operator<=): new func
5840 * text.C (changeCase): use selection.start and selection.end
5841 (changeRegionCase): require from to be <= to. Require par to be a
5844 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
5846 2001-06-27 Juergen Vigna <jug@sad.it>
5848 * text.C (cursorLeftOneWord): changed to return the cursor and added
5849 overlay with BufferView * parameter which calls this one.
5851 (selectWord): use new getWord function.
5852 (changeCase): renamed from changeWordCase as and extended to work
5855 * lyxtext.h: added enum word_location
5857 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
5858 changeCase as this operates now also on selections.
5860 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5862 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
5864 * many files: send debug output to Debug::INFO instead of
5867 * converter.C (View):
5869 (Move): send debug output to Debug::FILES instead of console.
5871 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5873 * lyxfunc.C (getStatus): use func_status
5875 * func_status.h: new header, describing the results of
5878 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
5881 2001-06-25 The LyX Project <jug@sad.it>
5883 * buffer.C (sgmlOpenTag):
5885 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
5887 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5889 * text2.C: remove some dead code
5891 * tabular.C (GetCellInset): store the last cell checked (gotten)
5893 * tabular.h: add the helper for the speedup
5895 * lyxtext.h: remove some dead code
5897 2001-06-26 The LyX Project <Asger>
5899 * paragraph.C: Change export to LaTeX of alignment to
5900 \begin{center} and family for better roundtrip work with reLyX.
5902 * Tune the math drawing a bit.
5904 2001-06-25 The LyX Project <Asger>
5906 * LColor.C (LColor): New color for math background. New color
5909 2001-06-25 The LyX Project <jug@sad.it>
5911 * lyxfunc.C (MenuNew): remove extra check for .lyx file
5914 * bufferlist.C (newFile): do not restrict to files ending with
5917 * BufferView_pimpl.C (MenuInsertLyXFile):
5919 2001-06-24 The LyX Project <jug@sad.it>
5921 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
5924 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5926 * lyxtext.h: rename most methods to begin with a small char.
5927 Lots of changes because of this.
5929 * paragraph.C (Paragraph): do not call fitToSize
5930 (erase): call Pimpl::erase
5931 (insertChar): call Pimpl::insertChar
5932 (insertInset): call Pipl::insertInset
5933 (breakParagraph): do not call fitToSize
5934 (breakParagraphConservative): do not call fitToSize
5935 (fitToSize): remove method
5937 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
5939 2001-06-24 The LyX Project <Asger>
5941 * Fix Qt compilation^2
5943 2001-06-24 The LyX Project <jug@sad.it>
5945 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
5946 depthHook(getDepth()-1).
5949 * ParagraphParameters.h:
5950 * ParameterStruct.h: change type of depth to unsigned int ==
5951 depth_type. Many adaptations to other files before of that.
5953 2001-06-24 The LyX Project <Asger>
5955 * Fix Qt compilation.
5957 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5959 * paragraph.h: renamed several methods to begin with small letter.
5960 several changes to many parts of the code because of this.
5962 2001-06-23 The LyX Project <jug@sad.it>
5964 * text2.C (InsertStringAsLines): renamed from InsertStringA;
5965 rewritten to discard all double spaces when KeepEmpty is off
5966 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
5967 to only handle newlines but not fiddle with spaces and friends.
5969 * lyxfunc.C (MenuNew): when doing 'new from template', use
5970 template_path as default directory
5972 2001-06-23 The LyX Project <Asger>
5974 * Clean-up of header file includes all over
5975 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
5977 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5979 * paragraph.h: renamed from lyxparagraph.h
5981 2001-06-23 Asger <lyx@violet.home.sad.it>
5983 * Buffer.h: Removed Buffer::resize
5984 * BufferList.h: Removed BufferList::resize
5985 * LyXView.h: Added LyXView::resize. This way, we will only reflow
5986 the document lazily when we change the width, or the font settings.
5988 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5990 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
5992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5994 * buffer.h: remove out of date comment
5996 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5999 * screen.C: fix "theoretical" GC leak
6001 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * LaTeX.C (scanAuxFile):
6004 (deplog): remove trailing \r when reading stream (useful under
6007 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6009 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6010 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6011 and BufferView::theLockingInset(Inset*), so should use them and not
6012 access bv_->text->the_locking_inset directly.
6014 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6016 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6019 * tex-defs.h: remove old unused file
6021 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6023 * BufferView_pimpl.C: fix typo, remove minibuffer message
6024 when buffer has loaded
6026 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6028 * lyxfunc.C (Dispatch): use stringstream
6029 (MenuNew): use stringstream
6030 (Open): use stringstream
6032 * importer.C (Import): use stringstream
6034 * bufferview_funcs.C (CurrentState): use stringstream
6036 * LaTeX.C (run): use stringstream
6038 * BufferView_pimpl.C (savePosition): use stringstream
6039 (restorePosition): use stringstream
6040 (MenuInsertLyXFile): use stringstream
6042 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6055 * vspace.C: removed // -*- C++ -*- as first line.
6058 * version.h: added // -*- C++ -*- as first line.
6060 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6062 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6064 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6067 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6069 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6072 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6074 * gettext.C: include LString.h even when --disable-nls is on.
6076 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6078 * converter.h (Get): changed argument type from int to
6079 FormatList::size_type to avoid unnecessary conversion.
6081 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6084 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6086 * gettext.h: include LString.h even when --disable-nls is on.
6088 2001-06-07 Juergen Vigna <jug@sad.it>
6090 * text.C (BreakAgain): subst spaces with tabs.
6092 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6093 (resizeInsetsLyXText): set force on resizeLyXText.
6095 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6097 * gettext.h (gettext_init):
6098 (locale_init): use a real definition instead of a macro
6100 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6102 * Bufferview_pimpl.C:
6104 * LColor.C: further lcolor tidies
6106 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6108 * BufferView_pimpl.C (updateScrollbar): simplify.
6110 * BufferView2.C: don't include insets/insetinfo.h, change
6111 prototype for insertInset and call the Pimpl version. let
6112 updateInset call Pimpl version.
6114 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6115 gotoInset to BufferView::Pimpl
6117 2001-06-01 Juergen Vigna <jug@sad.it>
6119 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6120 inside a LockingInset (is the update needed at all?).
6122 2001-05-31 Juergen Vigna <jug@sad.it>
6124 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6125 here not the old one otherwise how should we compare it afterwards
6128 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6133 * FontInfo.C: bring C functions into global namespace when
6136 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6138 * LString.h: make sure config.h has been loaded before LString.h.
6140 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6141 (one for each char read by EatLine!).
6143 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6146 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6148 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6149 to the same as the par we break from
6151 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6153 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6155 * MenuBackend.C (expand): also create menu entries for wide
6156 versions of the floats.
6158 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6160 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6162 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6163 frontends/Makefile.am
6169 * tabular.C (getTokenValue): add std::
6171 * tabular-old.C (getTokenValue): add std::
6172 (getTokenValue): ditto
6173 (getTokenValue): ditto
6175 * screen.C (ToggleSelection): adjust
6177 * lyxtext.h: put selection cursors inside a Selection struct.
6179 * lyxfunc.C (moveCursorUpdate): adjust
6181 * lyxfont.C (latexWriteStartChanges): add std::
6185 * font.h: delete with(char const *, LyXFont const &)
6187 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6189 * FontInfo.C (getFontname): add std::
6191 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6192 (workAreaButtonPress): adjust
6193 (tripleClick): adjust
6195 (moveCursorUpdate): adjust
6198 * BufferView2.C (gotoInset): adjust
6200 2001-05-30 Juergen Vigna <jug@sad.it>
6202 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6203 to check pspell I add this as default as I now have new pspell
6204 libraries and they seem to use this.
6206 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6208 * text2.C (CutSelection): make the cursor valid before the call to
6211 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6213 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6214 relied on 0 terminated strings and other horrors. Bug found due to
6215 the new assert in lyxstring!
6217 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6220 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6222 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6225 * lyxfunc.C (processKeySym): change method of getting to the
6228 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6229 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6230 * BufferView_pimpl.[Ch]: here as private methods.
6232 2001-05-28 Juergen Vigna <jug@sad.it>
6234 * text.C (SetHeightOfRow): added the update() call again as it is
6235 needed to initialize inset dimensions!
6237 2001-05-16 Juergen Vigna <jug@sad.it>
6239 * text2.C (SetCharFont): Add new function with BufferView * and
6240 bool toggleall parameters for setting insets internal fonts.
6241 (SetFont): Freeze the undo as we may change fonts in Insets and
6242 all this change should be inside only one Undo!
6244 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6245 setting font's in insets as for them we have the SetFont function!
6247 2001-05-15 Juergen Vigna <jug@sad.it>
6249 * text2.C (ClearSelection): to be sure we REALLY don't have any
6252 * tabular.C (TeXCellPreamble): fixed the left border problem for
6255 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6257 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6260 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6262 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6263 LFUN_BREAKPARAGRAPH.
6265 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6266 help test to "internal only", similar for LFUN_INSERT_URL
6268 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6269 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6270 auto_region_delete and deadkeys.
6272 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6275 * LColor.C: remove some dead entries, tidy a little
6277 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6279 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6281 (Dispatch): implement LFUN_ESCAPE
6283 * commandtags.h: add LFUN_ESCAPE
6285 * LyXAction.C (init): add entry for LFUN_ESCAPE
6287 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6288 Remove commented code.
6289 (insertNote): moved here
6290 (open_new_inset): moved here
6292 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6295 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6297 * kbmap.C (findbinding): clean it up and make it work correctly.
6299 * lyx_main.C (init): do not pass argc and argv as parameters
6301 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6303 * buffer.C: fix path for OS/2 & Win32
6307 * lyx_main.C: Added os:: class.
6309 * os2_defines.h: update
6311 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6313 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6314 better by trying again with reduced state.
6316 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6318 * lyxrc.C (read): print error about invalid key sequence only when
6319 debugging (because not all latinX keysyms are known to some X
6322 * kbsequence.C (getiso): add a few std:: qualifiers
6323 (getiso): comment out extra return statement.
6325 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6327 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6329 (Dispatch): enhance the accent inset a bit. (not perfect)
6331 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6333 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6335 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6337 * bufferlist.C (emergencyWrite): fix assert() call
6339 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6341 * text.C (InsertChar): Added trivial patch to only send the "you
6342 can not do multiple spaces this way" message once during a
6345 2001-05-08 Baruch Even <baruch@lyx.org>
6347 * Makefile.am: Changed order of libraries to get LyX to link properly
6348 with the gnome frontend.
6350 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6352 * LaTeXFeatures.h: add a std:: qualifier
6354 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6356 * paragraph.C (String): use stringstream
6358 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6360 * paragraph.C (writeFile): remove footflag arg
6362 * buffer.C (makeLaTeXFile): use stringstream
6363 (latexParagraphs): remove footnot gurba
6365 * LaTeXFeatures.C (getPackages): use stringstream
6366 (getMacros): likewise
6367 (getTClassPreamble): likewise
6368 (getFloatDefinitions): new method
6370 * paragraph.C (writeFile): reindent
6373 * WorkArea.h: revert the xpos + etc changes.
6375 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6377 * lyxparagraph.[Ch]: add copy constructor, remove Clone
6379 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6380 (pasteSelection): likewise
6381 * text2.C (CreateUndo): likewise
6383 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6385 * minibuffer.C (peek_event): temporarily reduce the functionality
6386 of the minibuffer (to allow args on lfuns)
6388 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6389 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6391 * buffer.C (readInset): add compability reading of old float
6392 lists, add reading of new style float list.
6393 (readInset): avoid reevaluation of inscmd.getCmdName()
6394 (getLists): reindent
6396 * MenuBackend.C (MenuItem): implement parsing of
6397 md_floatlistinsert and md_floatinsert.
6398 (expand::LastFiles): move initalizaton of iterators out of loop,
6400 (expand::Documents): introduce typdedef vector<string> Strings,
6402 (expand::ExportFormats): introduce typedef vector<Format const *>
6403 Formats, and use it.
6404 (expand): implement FloatListInsert and FloatInsert.
6406 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6407 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6408 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6410 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6412 (Dispatch::LFUN_FLOAT_LIST): implement
6414 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6416 * LaTeX.C (run): Fix problem with --export code.
6418 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6420 * BufferView.[Ch] (workarea): removed.
6421 (getClipboard) new method; wrapper for workarea()->getClipboard()
6423 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6426 * WorkArea.h (width, height, xpos, ypos): These methods all
6427 returned the dimensions of the work_area sub-area of WorkArea,
6428 resulting in a position error if the WorkArea were resized. Now
6429 return the dimensions of the entire WorkArea.
6431 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6433 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6435 * LaTeX.C (deplog): correct the syntax of regex reg1
6437 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6439 * undo.C: remove !NEW_INSETS cruft
6441 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6443 * text2.C: remove !NEW_INSETS cruft
6445 * text.C: remove !NEW_INSETS cruft
6447 * tabular.C: remove !NEW_INSETS cruft
6449 * spellchecker.C: remove !NEW_INSETS cruft
6451 * lyxtext.h: remove !NEW_INSETS cruft
6453 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6455 * lyxfunc.C: remove !NEW_INSETS cruft
6457 * lyxfind.C: remove !NEW_INSETS cruft
6459 * lyx_cb.C: remove !NEW_INSETS cruft
6461 * figureForm.C: remove !NEW_INSETS cruft
6463 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6465 * buffer.[Ch]: remove !NEW_INSETS cruft
6467 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6469 * CutAndPaste.C: remove !NEW_INSETS cruft
6471 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6473 * BufferView2.C: remove !NEW_INSETS cruft
6475 * BufferView.h: remove !NEW_INSETS cruft
6477 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6479 * Lsstream.h: include LString.h before the sstream headers to
6480 fix problem with gcc 2.95.3 and lyxstring
6482 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6484 * lyx_main.C: add using directives when needed for C functions
6485 declared in std:: namespace.
6487 2001-04-27 Juergen Vigna <jug@sad.it>
6489 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6490 (SetHeightOfRow): comment out the update call should not be needed!
6492 2001-04-13 Juergen Vigna <jug@sad.it>
6494 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6495 (LyXTabular): tried to minimize operator= operations (and realized
6496 hopfully Lars wish).
6498 2001-04-27 Juergen Vigna <jug@sad.it>
6500 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6502 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6504 * lyxfunc.C (Dispatch): hack to make listof algorithm work
6506 * buffer.C (readInset): hack to make listof algorithm work
6508 * BufferView_pimpl.C: hack to make listof algorithm work
6510 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6512 * LyXAction.C: removed all !NEW_INSETS cruft
6513 (init): moved lfun_item in method
6515 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6517 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6519 * BufferView2.C (theLockingInset): white space.
6521 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * minibuffer.C: include <iostream>
6525 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6527 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6529 * commandtags.h: add LFUN_TRANSPOSE_CHARS
6531 * text.[Ch] (TransposeChars): new method
6533 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6535 * call message directly through LyXView instead of through LyXFunc
6536 * BufferView2.C: adjust
6537 * BufferView_pimpl.C: adjust
6538 * FontLoader.C: adjust
6540 * bufferview_funcs.C: adjust
6541 * converter.C: adjust
6542 * figureForm.C: adjust
6543 * importer.C: adjust
6545 * lyx_gui_misc.C: adjust
6549 + more files in subdirs
6551 * lyxparagraph.h (size): move up int file
6554 * adjust all uses of Assert to lyx::Assert.
6556 * BufferView2.C (ChangeCitationsIfUnique): adjust for
6557 lyxfunctional in namespace lyx
6558 * layout.C (hasLayout): ditto
6561 (delete_layout): ditto
6562 (NumberOfClass): ditto
6563 * converter.C (GetFormat): ditto
6568 * bufferlist.C (getFileNames): ditto
6569 (emergencyWriteAll): ditto
6572 * MenuBackend.C (hasSubmenu): ditto
6575 * BufferView_pimpl.C (getInsetByCode): ditto
6577 2001-04-18 Juergen Vigna <jug@sad.it>
6579 * vspace.C (asLatexString): fixed the 100% problem.
6581 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6583 * lyxfunc.C (Dispatch):
6585 * minibuffer.h: add a few std:: qualifiers
6587 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6589 * minibuffer.[Ch]: reimplement so that commands is initiated and
6590 run from lyxfunc, simplified som handling, and made the completion
6591 and history code for complete. wip.
6593 * lyxfunc.C (processKeySym): call message
6594 (miniDispatch): new temporary method
6595 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6596 (LFUN_MESSAGE): implement
6597 (LFUN_MESSAGE_PUSH): implement
6598 (LFUN_MESSAGE_POP): implement
6599 (initMiniBuffer): the initial/defualt minibuffer message.
6601 * lyxfont.[Ch]: inline some more getters
6603 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6605 * lyx_gui_misc.[Ch] (WriteStatus): remove method
6607 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6608 (AutoSave): use LFUN_MESSAGE
6609 (Reconfigure): ditto
6611 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6613 * figureForm.C: use LFUN_MESSAGE
6615 * converter.C (runLaTeX): use LFUN_MESSAGE
6617 * bufferview_funcs.C: use LFUN_MESSAGE
6619 (changeDepth): ditto
6621 * bufferparams.h: use boost::
6623 * bufferlist.h: inherit privately from noncopyable
6625 * bufferlist.C (loadLyXFile): remove some commented code.
6627 * buffer.C (runChktex): use LFUN_MESSAGE
6629 * ShareContainer.h: inherit privately from noncopyable
6631 * ParagraphParameters.[hC] (depth): inline it.
6633 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6635 (message): new method
6636 (messagePush): ditto
6638 (show): init minibuffer
6639 (showState): direct call
6641 * LaTeX.[Ch]: inherit privately from noncopyable
6642 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
6643 instead of WriteStatus.
6645 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
6647 * BufferView_pimpl.C (buffer): don't init minibuffer
6648 (workAreaButtonPress): use LFUN_MESSAGE
6649 (workAreaButtonRelease): ditto
6650 (savePosition): ditto
6651 (restorePosition): ditto
6652 (MenuInsertLyXFile): ditto
6653 (workAreaExpose): don't init minibuffer
6654 (update): remove commented code, simplify
6656 * BufferView2.C (openStuff): use LFUN_MESSAGE
6657 (toggleFloat): ditto
6660 (copyEnvironment): ditto
6661 (pasteEnvironment): ditto
6666 (updateInset): remove some commented code
6668 * lastfiles.h: inherit privately from noncopyable
6673 * lyxlex_pimpl.h: ditto
6675 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
6676 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
6677 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6679 * LyXAction.h: inherit privately from noncopyable, add methods
6680 func_begin, func_end, returning iterators to the func map.
6682 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
6683 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6684 (func_begin): new method
6685 (func_end): new method
6687 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
6689 (copySelection): ditto
6690 (pasteSelection): ditto
6692 * BufferView.C: whitespace change
6693 * BufferView.h: inherit privately from noncopyable
6695 2001-04-16 Allan Rae <rae@lyx.org>
6697 * tabular-old.C (l_getline):
6698 * spellchecker.C (sc_check_word):
6699 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
6700 an unrecognised preprocessor directive. So ensure they're wrapped.
6702 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
6704 * src/exporter.C (Export): Give an error message when path to file
6707 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
6709 * LaTeX.C (deplog): Always check that foundfile exists.
6711 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6714 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
6716 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6718 * tabular.[Ch] (getLabelList): implement new method
6720 * minibuffer.h: comment ouf setTiimer
6722 * minibuffer.C (ExecutingCB): constify res
6723 (peek_event): constify s
6724 (Set): constify ntext
6725 (Init): constify nicename
6727 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
6729 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
6730 (savePosition): use two params to Minibuffer::Set
6731 (restorePosition): ditto
6733 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6735 * lyx_main.C: include language.h
6737 * Makefile.am (lyx_main.o): add language.h
6739 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6745 * CutAndPaste.C: include gettext.h
6747 * lyxfont.h: remove old hack with ON and OFF.
6750 * lyxfont.h: do not include language.h...
6755 * bufferview_funcs.C:
6761 * paragraph.C: ... but do it here instead
6763 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6765 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
6767 * tabular.C: small reformat
6769 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
6772 (BreakParagraph): ditto
6773 (SetOnlyLayout): ditto
6776 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
6779 * lastfiles.C: removed most using decl, add std:: where needed
6781 * buffer.C: ws changes
6783 * MenuBackend.C (class compare_format): put into anon namespace
6784 (expand): constify label, names, action, action2
6787 * text.C (SingleWidth): constify font
6788 (IsBoundary): constify rtl2
6789 (GetVisibleRow): constify ww
6791 * LaTeX.C (deplog): constify logfile
6793 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
6795 (workAreaExpose): constify widthChange, heightChange
6797 * lyxrow.C (par): moved
6800 * lyxrow.h: as inlines here
6802 * lyxfont.h (shape): moved from lyxfont.C
6803 (emph): moved from lyxfont.C
6805 * lyxfont.C (LyXFont): use initialization list for all
6807 (shape): move to lyxfont.h as inline
6808 (emph): move to lyxfont.h as inline
6811 2001-04-04 Juergen Vigna <jug@sad.it>
6813 * vspace.C: had to include stdio.h for use of sscanf
6815 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
6818 * BufferView_pimpl.h: remove xforms cruft. Both classes are
6819 independent of xforms.
6821 2001-04-02 Juergen Vigna <jug@sad.it>
6823 * spellchecker.C: fixed namespace placing!
6825 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
6827 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
6828 the LyXParagraph * is 0.
6830 2001-03-29 Juergen Vigna <jug@sad.it>
6832 * vspace.C: added support for %, c%, p%, l%.
6833 (stringFromUnit): added helper function.
6834 (asLatexString): changed to give right results for the %-values.
6836 * buffer.C: convert the widthp in a width%.
6838 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6840 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
6843 * figureForm.[Ch]: stripped the FD_from_figure manipulation
6844 code out of lux_cb.[Ch], ready for its (imminent?) removal.
6846 * lyx_cb.[Ch]: see above.
6848 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
6852 * lyx.[Ch]: replaced by figure_form.[Ch].
6856 * lyxfunc.C: changed headers associated with above changes.
6858 2001-03-27 Juergen Vigna <jug@sad.it>
6860 * BufferView_pimpl.C: set the temporary cursor right!
6862 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6864 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
6866 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6868 * LString.h: removed "using std::getline"!
6870 * BufferView_pimpl.C (Dispatch): changes due to changes in
6871 InsetInclude::Params.
6873 * buffer.C (tag_name): removed redundant break statements as they were
6874 producing lots of warnings with my compiler.
6876 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6878 * LString.h: add "using std::getline" when using the real <string>.
6880 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6882 * buffer.C: removed bitset usage.
6883 PAR_TAG moved to an anonymous name space.
6884 (tag_name): new funtion, also in the anonymous namespace.
6885 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
6886 (makeDocBookFile): clean code. Completed transition from string arrays
6888 (SimpleDocBookOnePar): code clean.
6890 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6892 * tabular.C: add some comments.
6894 2001-03-22 Juergen Vigna <jug@sad.it>
6896 * buffer.C (parseSingleLyXformat2Token): redone the minipage
6897 compatibility read a bit and fixed bug with minipage in different
6900 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
6902 * buffer.C (pop_tag): removed.
6903 (push_tag): removed.
6904 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
6905 array replaced with vector. Added support for CDATA sections.
6906 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
6908 (makeDocBookFile): XML conformant declaration of CDATA section,
6909 fixed bug related to <emphasis> in the first paragraph char.
6910 (sgmlOpenTag): exclude empty tags.
6911 (sgmlCloseTag): ditto.
6913 * buffer.h (pop_tag): removed.
6914 (push_tag): removed.
6916 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6918 * language.h (Languages): added size_type and size().
6920 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6922 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
6923 response on compability reading of minipages. One probliem is that
6924 the old usage of minipages was «flertydig»
6926 * several files here and in subdirs: don't use static at file
6927 scope use anon namespaces instead.
6929 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
6931 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
6932 LaTeX output. This is necessary for Literate document
6935 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6937 * buffer.C: insert hfill when needed.
6939 * tabular.C (l_getline): use string::erase, small whitespace change.
6941 * BufferView_pimpl.C: try the anon namespace.
6944 2001-03-16 Juergen Vigna <jug@sad.it>
6946 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
6947 otherwise it won't open options-dialogs.
6949 * buffer.C: honor pextraWidth(p) on converting minipages.
6951 * tabular.C (l_getline): changed the functions to strip trailing \r.
6953 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
6955 * BufferView_pimpl.C:
6956 * minibuffer..C: added "using SigC::slot" declaration.
6958 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6960 * lyxlex_pimpl.h: noncopyable is in namespace boost.
6966 * paragraph.C: ditto
6968 * lyxtext.h: NO_PEXTRA
6970 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
6972 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
6973 * ParameterStruct.h: ditto
6974 * ParagraphParameters.h: ditto
6975 * lyxparagraph.h: ditto
6977 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6979 * buffer.C: add compability for minipage alignment.
6980 (latexParagraphs): remove unwanted pextra check.
6982 * several files: remove CXX_WORKING_NAMESPACES
6984 * buffer.C (pop_tag): tie is in namespace boost
6986 * BufferView.h: noncopyable is in namespace boost
6991 * lastfiles.h: ditto
6992 * bufferlist.h: ditto
6993 * ShareContainer.h: ditto
6995 * LyXAction.h: ditto
6998 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7000 * Merging changes from BRANCH_MVC back into HEAD.
7002 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7004 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7006 * BufferView_pimpl.C: change from intl.C
7010 * Makefile.am: move combox.*
7016 * intl.C: remove dialog (covered by prefs)
7018 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7020 * lyxfunc.C (Dispatch): removed redundant break statement.
7022 2001-03-14 Juergen Vigna <jug@sad.it>
7024 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7026 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7028 * buffer.C: add hack to fix compability reading of minipages.
7030 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7032 * buffer.C (getLists): Cleanup.
7034 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7036 * lyxfont.C (update): don't honor toggleall on font size.
7038 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7042 * Makefile.am: moved to frontends/xforms/
7046 * BufferView_pimpl.C: changes for moved mathpanel
7048 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7050 * gettext.h: fix gettext_init() in --disable-nls
7052 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7054 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7056 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7059 * lyx.h: strip external form
7061 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7063 * BufferView_pimpl.C: add comment, destroySplash()
7065 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7067 * BufferView_pimpl.C:
7071 * lyxfunc.C: use re-worked insetinclude
7073 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7075 * buffer.C: add using std::stringstream.
7077 * lyx_cb.C: readd using std::ios.
7079 * buffer.C: add using std::map.
7081 * BufferView_pimpl.C: add using std::vector.
7083 * ShareContainer.h: add std:: to swap.
7085 * buffer.h: add some typedefs
7086 * buffer.C (getLists): use them
7087 (getLists): renamed from getTocList.
7088 add a counter for the different float types and use it in the
7090 (getLists): use the same counter for the NEW_INSETS and the "non"
7093 * lyx_cb.h: remove unused items, includes, using etc.
7095 * ShareContainer.h: remove some commented code, add more comments
7096 and "documentation".
7098 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7100 * buffer.C (getTocList): make the list also when NEW_INSETS is
7103 * buffer.h: remove TocType
7105 * buffer.C (getTocList): change to return a map<string,
7106 vector<TocItem> >, implement for dynamic number of list.
7108 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7109 * text2.C (PasteSelection): adjust
7110 * CutAndPaste.C (pasteSelection): adjust
7112 * FloatList.C (FloatList): update from the new_insets branch.
7113 * Floating.[Ch]: ditto
7114 * LaTeXFeatures.C: ditto
7116 * lyxlex_pimpl.C: ditto
7118 * paragraph.C (Last): remove when NEW_INSETS is defined.
7120 * other file: changes because of the above.
7122 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7124 * lyxparagraph.h: rename next to next_, previous to previous_,
7125 make them private for NEW_INSETS. Rename Next() to next(),
7126 Previous() to previous().
7128 * other files: changes because of the above.
7130 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7133 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7136 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7138 * main.C (main): pass lyx_localedir to gettext_init().
7140 * gettext.h: remove locale_init and gettext_init macros
7142 * gettext.C (locale_init): new function
7143 (gettext_init): new function
7145 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7148 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7150 * Moved credits to frontends:
7151 * credits.[Ch]: removed
7152 * credits_form.[Ch]: removed
7153 * lyx_gui_misc.C: remove credits stuff
7156 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7158 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7160 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7161 unneeded destructor.
7163 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7164 a standalone pointer again.
7166 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7168 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7174 * ToolbarDefaults.C:
7183 * BufferView_pimpl.C: use new file dialog in GUII
7186 * lyx_cb.C: remove LayoutsCB to Toolbar
7188 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7190 * ShareContainer.h (get): add std:: qualifier
7192 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7194 * ShareContainer.h: define a proper ShareContainer::value_type
7195 type (and use typename to please compaq cxx)
7197 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7199 * lyxparagraph.h: move serveral local vars to
7200 ParameterStruct/ParagraphParameters., use ShareContainer in
7201 FontTable., make vars in FontTable private and add getter and
7204 * paragraph.C: changes because of the above.
7206 * lyxfont.h: remove copy constructor and copy assignment. (the
7207 default ones is ok), move number inside FontBits. move inlines to
7210 * lyxfont.C: add number to initializaton of statics, move several
7211 inlines here. constify several local vars. some whitespace
7212 cleanup. Dont hide outerscope variables.
7214 * Spacing.h: add two new constructors to match the set methods.
7216 * ShareContainer.h: new file, will perhaps be moved to support
7218 * ParameterStruct.h: new file
7220 * ParagraphParameters.h: new file
7222 * ParagraphParameters.C: new file
7224 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7225 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7227 * BufferView_pimpl.C: ParagraphParameter changes.
7228 * buffer.C: Likewise.
7229 * bufferview_funcs.C: Likewise.
7231 * text2.C: Likewise.
7233 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7235 * lyxfind.C (LyXReplace): do not redefine default argument in
7237 (IsStringInText): ditto
7238 (SearchForward): ditto
7239 (SearchBackward): ditto
7241 2001-03-06 Juergen Vigna <jug@sad.it>
7243 * lyxfind.C (IsStringInText): put parentes around expressions.
7245 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7247 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7249 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7251 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7253 * stl_string_fwd.h: add comment
7255 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7258 * tabular.C: remove unused DocBook methods
7264 killed DO_USE_DEFAULT_LANGUAGE
7266 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7268 * lyx_gui.C: do not include language.h.
7270 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7271 arguments in function implementation.
7273 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7275 * BufferView_pimpl.C: add <ctime>
7277 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7279 * BufferView_pimpl.C: add using std::find_if
7281 2001-02-27 José Matos <jamatos@fep.up.pt>
7283 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7286 2001-02-11 José Matos <jamatos@fep.up.pt>
7288 * buffer.C (makeDocBookFile): command styles now have a parameter as
7291 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7293 * layout_forms.[Ch]: removed
7294 * lyx_cb.[Ch]: out character
7295 * lyx_gui.C: out character
7296 * lyx_gui_misc.C: out character
7297 * bufferview_funcs.C: : out character,
7298 added toggleall as parameter in ToggleAndShow
7300 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7302 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7304 * text2.C (SetCurrentFont): Disable number property at boundary.
7306 2001-02-26 Juergen Vigna <jug@sad.it>
7308 * lyxfunc.C (getStatus): added a string argument override function so
7309 that this is correctly called from LyXFunc::Dispatch if it contains a
7310 do_not_use_argument which is used!
7311 (Dispatch): added check for "custom" export and call appropriate func.
7313 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7315 * lyxrc.C: Add language_command_local, language_use_babel and
7316 language_global_options.
7318 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7320 * buffer.C (makeLaTeXFile): Use language_use_babel and
7321 language_global_options.
7323 2001-02-23 Juergen Vigna <jug@sad.it>
7325 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7326 which works with LyXText and putted it inside BufferView. Here now we
7327 only call for that part the BufferView::Dispatch() function.
7329 * BufferView.C (Dispatch): added.
7331 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7332 functions which needs to use a LyXText over from LyXFunc.
7333 (MenuInsertLyXFile): added
7334 (getInsetByCode): added
7335 (moveCursorUpdate): added
7336 (static TEXT): added
7338 2001-02-22 Juergen Vigna <jug@sad.it>
7340 * BufferView_pimpl.C (update): call a status update to see if LyXText
7343 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7345 * vc-backend.C (revert): implement for CVS
7346 (getLog): implement for CVS
7348 2001-02-20 Juergen Vigna <jug@sad.it>
7350 * text2.C (ClearSelection): added BufferView param for inset_owner call
7352 * lyxfunc.C (TEXT): added this function and use it instead of
7353 directly owner->view()-text of getLyXText().
7355 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7357 * src/layout_forms.C: out preamble
7358 * src/layout_forms.h: out preamble
7359 * src/lyx_cb.C: out preamble
7360 * src/lyx_cb.h: out preamble
7361 * src/lyx_gui.C: out preamble
7362 * src/lyx_gui_misc.C: out preamble
7363 * src/lyxfunc.C: connect with guii preamble
7365 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7367 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7369 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7371 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7372 whether to run bibtex.
7374 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
7376 * Makefile.am (lyx_SOURCES): Remove BackStack.h
7378 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7380 * Makefile.am (lyx_SOURCES): removed bibforms.h
7384 * text.C (GetVisibleRow): make several local vars const
7386 * tabular.C: small cleanup.
7388 * lyxserver.C (callback): use compare instead of strncmp
7390 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7391 inlines to after class or to paragraph.C
7393 * lyxfont.h: remove friend operator!=
7395 * converter.h: move friend bool operator< to non friend and after
7398 * combox.h: small cleanup
7400 * buffer.h: doxygen, remove unused constructor, move inclas inlies
7401 to inlines after class def.
7403 * buffer.C (pop_tag): use string operations instead of strcmp
7405 * bmtable.c: doxygen, small cleanup
7407 * LaTeX.h: remove friend operator==
7409 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7421 * BufferView_pimpl.C:
7422 * BufferView.[Ch]: remove cruft
7424 2001-02-14 Juergen Vigna <jug@sad.it>
7426 * lyxfunc.C: removed #if 0 unused code
7428 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7430 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7432 * text2.C (SetSelection): added a BufferView * parameter
7434 2001-02-13 Juergen Vigna <jug@sad.it>
7436 * lyxfunc.C (Dispatch): fixed protected blank problem.
7437 * BufferView2.C (protectedBlank): added LyxText * parameter.
7439 * tabular.C (AppendRow): forgot to set row_info of newly added row.
7440 (AppendColumn): same as above for column_info.
7442 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7443 (moveCursorUpdate): use a LyXText param for support of InsetText.
7445 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7446 (tripleClick): ditto
7448 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7450 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7452 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7454 * text2.C (SetSelection): set correct update status if inset_owner
7457 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7459 * tabular.C: remove some commented code.
7461 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7463 * BufferView_pimpl.C: call hideSplash()
7465 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7468 * bibforms.h: remove
7471 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7472 add LFUN_CHILD_CREATE
7474 * counters.h: fix tiny typo
7479 * lyx.C: move splash to frontends/xforms/
7481 * lyx_gui_misc.C: move Include and Bibform to frontends
7483 * lyxvc.h: clarify comment
7485 * vspace.C: tiny housekeeping
7487 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7489 * text.C (PrepareToPrint): RTL Fix.
7491 * paragraph.C (GetUChar): New method.
7492 (String): Use GetUChar.
7494 * buffer.C (asciiParagraph): Use GetUChar.
7496 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7498 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7500 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
7503 * buffer.C: rename to getLogName(), handle
7504 build log / latex log nicely
7506 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7509 * MenuBackend.h: remove support for reference menuitem type.
7511 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
7513 * BufferView_pimpl.C: housekeeping
7514 * BufferView_pimpl.h:
7519 * minibuffer.h: move Timeout GUI-I
7521 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
7523 * lyxrc.C (read): Update converters data-structures.
7525 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
7527 * LaTeX.h (operator!=): add operator != for Aux_Info
7529 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
7531 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7533 * LaTeXLog.C: deleted, useful code moved to Buffer
7536 * buffer.C: new function getLatexLogName()
7542 * lyxfunc.C: use frontends for LaTeX and VC logs
7544 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7546 * LaTeX.h: yet another std:: that Allan forgot.
7548 * Variables.C (set): renamed from isset(), because this clashes
7549 with some HP-UX macros (grr).
7551 2001-02-06 Allan Rae <rae@lyx.org>
7553 * LaTeX.h: Another bug fix. Missing std:: this time.
7555 2001-02-04 Allan Rae <rae@lyx.org>
7557 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7558 floats problem. I've left it commented out because it's not quite
7559 correct. It should also test that the current object is a table or
7560 figure inset. But I haven't gotten around to figuring out how to do
7561 that. I *think* it'll be something like: "table" == inset.type()
7563 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7566 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
7568 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
7569 all the citation/databases/styles in the auxilary file.
7570 (run): Rerun latex if there was a babel language error.
7572 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
7574 * text.C (Backspace): Preserve the font when changing newline char
7576 (BreakParagraph): If the cursor is before a space, delete the space.
7578 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7580 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7582 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7583 new argument (code).
7584 (ChangeCitationsIfUnique): New method.
7586 * paragraph.C (GetPositionOfInset): Handle bibkey.
7588 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7590 * BufferView_pimpl.h: change type of Position::par_pos to
7591 LyXParagraph::size_type.
7593 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
7595 * BufferView_pimpl.C (savePosition, restorePosition): Write
7596 messages to minibuffer.
7598 2001-01-28 José Matos <jamatos@fep.up.pt>
7600 * buffer.C (makeDocBookFile): adds support for document language.
7601 A silly restriction on the name of LatexCommand types where removed.
7602 Added support for CDATA sections, allows to chars unescaped, used
7603 among others in code, to avoid escape < and >.
7605 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7607 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7608 saved positions instrad of a stack. Furthermore, a position is
7609 stored using paragraph id/paragraph position.
7611 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7612 Remove LFUN_REF_BACK.
7614 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7616 * converter.C (dvipdfm_options): New method.
7618 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7620 * vspace.C (isValidLength): Fix for empty input string.
7622 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7624 * LyXAction.C (init): change description of LFUN_FIGURE to
7627 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7629 * LaTeX.C: add using directive
7631 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7633 * MenuBackend.C (expand): Fix the sorting of the formats.
7635 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
7637 * lyx_main.C: tiny error message fix
7639 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
7642 calling fl_initialize(). This fixes the problem with ',' as
7643 decimal separator in text files.
7645 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7647 * trans.C (process): Fix the keymap bug.
7649 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
7651 * LaTeX.C (scanAuxFiles): New method. Provides support for
7652 multiple bibliographies (when using the bibtopic/bibunits pacakges).
7653 (scanLogFile) Scan for "run BibTeX" messages.
7655 * buffer.C (makeLaTeXFile): Do not load the ae package when using
7656 OT1 font encoding. Also, load the aecompl package if the ae
7659 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
7661 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7663 * texrow.C (increasePos): turn two error messages into debug
7666 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
7668 * LaTeX.C (scanAux): Handle the \@input macro.
7669 (runBibTeX): Use scanAux().
7671 * language.C (latex_options_): New field.
7673 * LaTeXFeatures.C (getMacros): Add language macros.
7675 * buffer.C (makeLaTeXFile): Small fix.
7677 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7679 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
7681 * text2.C: add a using directive.
7683 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
7688 * lyxfunc.C: kill LyXBell.
7690 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
7692 * text.C (IsBoundary): Remove the error message
7694 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
7696 * lyxrc.C (setDefaults): Correct initialization value for
7699 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
7701 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
7704 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
7707 * src/LyXAction.C: Added reference-next.
7709 * text.C (InsertChar): Use contains instead of strchr.
7711 * lyx_cb.C (MenuInsertLabel): Enable default value code.
7713 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
7715 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
7716 alignment commands (when needed).
7718 * text.C (InsertChar): Add ':' to number separator chars.