1 2003-02-08 John Levon <levon@movementarian.org>
3 * LaTeX.C: consolidate code into showRunMessage() helper
5 2003-02-08 John Levon <levon@movementarian.org>
10 * BufferView.C: change setSelectionOverString() to setSelectionRange()
11 and pass the size in explicitly
16 * BufferView.C: add getCurrentChange()
19 * BufferView_pimpl.C: handle change lfuns
21 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
22 for changes. Mark pasted paragraphs as new.
26 * DepTable.C: abstract time_t as lyx::time_type
29 * LColor.C: add colours for new text, deleted text, changebars
31 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
32 package use "usenames" option.
36 * LyXAction.C: add change lfuns
40 * author.C: author handling
43 * buffer.C: add a per-buffer author list, with first entry as
44 current author. Handle new .lyx tokens for change tracking. Output
45 author list to .lyx file. Output dvipost stuff to .tex preamble.
46 Bump lyx format to 222.
49 * bufferlist.C: add setCurrentAuthor() to reset current author details
53 * bufferparams.C: add param for tracking
55 * bufferview_funcs.C: output change info in minibuffer
59 * changes.C: add change-tracking structure
62 * debug.C: add CHANGES debug flag
65 * lyxfind.C: add code for finding the next change piece
68 * lyxrc.C: add user_name and user_email
71 * lyxrow.C: add a metric for the top of the text line
74 * text.C: implement accept/rejectChange()
77 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
78 Strike through deleted text.
83 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
84 to the insert functions. Rework erase to mark text as deleted, adding
85 an eraseIntern() and a range-based erase(). Implement
86 per-paragraph change lookup and accept/reject.
88 * paragraph_funcs.C: Fixup paste for change tracking.
90 * tabular.C: mark added row/columns as new.
92 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
93 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
95 * text2.C: leave cursor at end of selection after a cut.
97 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
99 * text.C (getLengthMarkerHeight):
100 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
101 visible on screen too.
103 2003-02-07 John Levon <levon@movementarian.org>
105 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
107 2003-02-05 Angus Leeming <leeming@lyx.org>
109 * lyxserver.C (read_ready): revert my patch of 11 September last year
110 as it sends PC cpu through the roof. Presumably this means that
111 the lyxserver will no longer run on an Alpha...
113 2003-01-30 Angus Leeming <leeming@lyx.org>
115 * factory.C (createInset): create an InsetCommandParam of type "index"
116 and use it to 'do the right thing'.
118 * text2.C (getStringToIndex): ensure that cursor position is always
119 reset to the reset_cursor position.
121 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
123 * lyxfunc.C (getStatus): "buffer-export custom" should never be
126 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
130 * lyxfunc.C: Output messages with identical spelling, punctuation,
133 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
135 * MenuBackend.C (expandFormats): List only viewable export formats
138 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
141 * lyxfunc.C (getStatus): Make sure that formats other than
142 "fax" can also be disabled
144 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
146 * text3.C (dispatch): put the lfuns that insert insets in 3
147 groups, and call doInsertInset with appropriate arguments.
148 (doInsertInset): new function, that creates an inset and inserts
149 it according to some boolean parameters.
151 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
153 * buffer.C (readFile): remember to pass on 'par' when calling
154 readFile recursively.
156 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
158 * MenuBackend.C (expandFormats): add "..." to import formats.
160 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
162 * paragraph.C (asString): Remove XForms RTL hacks.
164 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
167 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
169 * Makefile.am (LIBS): delete var
170 (lyx_LDADD): add @LIBS@ here instead.
172 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
174 * Clarify the meaning of "wheel mouse jump"
176 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
178 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
181 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
183 * importer.C (Loaders): do not preallocate 3 elements in the
184 vector, since one ends up with 6 elements otherwise
186 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
188 * DepTable.C (write): write the file name as last element of the
189 .dep file (because it may contain spaces)
190 (read): read info in the right order
192 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
194 * paragraph_pimpl.C (simpleTeXBlanks):
195 (simpleTeXSpecialChars):
196 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
198 * tabular.C (latex): add some missing case statements. Reindent.
200 * MenuBackend.C (expandToc): remove unused variable.
202 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
211 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
214 2003-01-05 John Levon <levon@movementarian.org>
217 * BufferView.C: add getEncoding()
220 * kbsequence.C: do not store last keypress
223 * lyxfunc.C: store last keypress here instead. Pass encoding
226 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
228 * lyx_main.C (init): remove annoying error message when following
229 symbolic links (bug #780)
231 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
233 * text.C (insertChar):
234 * lyxrc.C (getDescription): remove extra spaces
236 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
238 * lyxrc.C (getDescription): remove extra spaces
240 2002-12-20 John Levon <levon@movementarian.org>
242 * text3.C: hack fix for page up/down across tall rows
244 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
246 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
249 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
251 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
252 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
253 thesaurus is not compiled in
255 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
257 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
259 2002-12-16 Angus Leeming <leeming@lyx.org>
262 * lyx_main.C (init): remove override_x_deadkeys stuff.
264 2002-12-12 John Levon <levon@movementarian.org>
266 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
267 insert. Only remove shift modifier under strict
270 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * MenuBackend.C (expandToc): fix crash.
274 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
276 * MenuBackend.C (expandToc): gettext on float names.
278 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
280 * lyxlength.[Ch]: set default unit to UNIT_NONE,
281 implement bool empty() [bug 490]
283 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
285 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
287 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
289 * several files: ws changes
291 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
293 * text2.C (setCounter): clean up a bit, use boost.format.
294 (updateCounters): initialize par upon declaration.
296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
297 if the layout exists. We do not just store the layout any more.
298 (SwitchLayoutsBetweenClasses): use boost.format
300 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
302 * converter.C (convert): if from and to files are the same, use a
303 temporary files as intermediary
305 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
308 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
310 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
312 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
314 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
316 * tabular.C (asciiPrintCell): use string(size, char) instead of
319 * sgml.C (openTag): fix order of arguments to string constructor
322 * lyxfunc.C (dispatch): use boost.format
324 * lots of files: change "c" -> 'c'
326 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
328 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
330 2002-11-25 Angus Leeming <leeming@lyx.org>
332 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
334 * lyx_main.C (init): compile fix.
336 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
338 * lyx_cb.C (start): boost.formatify
339 do not include <iostream>
341 * lengthcommon.C: ws only
343 * boost-inst.C,BoostFormat.h: add more explict instantations
345 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * lots of files: handle USE_BOOST_FORMAT
349 2002-11-21 John Levon <levon@movementarian.org>
351 * pspell.C: fix compile
353 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * lyxfunc.C (dispatch): use boost::format
359 * lyxfont.C (stateText): use boost::format
361 * lyx_main.C (LyX): use boost::format
363 (queryUserLyXDir): ditto
366 (typedef boost::function): use the recommened syntax.
368 * importer.C (Import): use boost::format
370 * debug.C (showLevel): use boost::format
372 * converter.C (view): use boost::format
377 * bufferview_funcs.C (currentState): use boost::format
379 * bufferlist.C (emergencyWrite): use boost::format
381 * buffer.C (readLyXformat2): use boost::format
382 (parseSingleLyXformat2Token): ditto
384 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
386 * LaTeX.C (run): use boost::format
388 * Chktex.C (scanLogFile): use boost::format
390 * BufferView_pimpl.C (savePosition): use boost::format
391 (restorePosition): ditto
392 (MenuInsertLyXFile): ditto
394 * BoostFormat.h: help file for explicit instation.
396 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
398 * tabular.C (latex): Support for block alignment in fixed width
401 2002-11-17 John Levon <levon@movementarian.org>
403 * BufferView_pimpl.C:
405 * lyxfunc.C: split filedialog into open/save
407 2002-11-08 Juergen Vigna <jug@sad.it>
409 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
410 by my last patch (hopefully).
412 2002-11-08 John Levon <levon@movementarian.org>
421 * toc.C: ParConstIterator, and use it (from Lars)
423 2002-11-07 Ben Stanley <bds02@uow.edu.au>
425 * lyxtextclass.[Ch]: revise and add doxygen comments
427 2002-11-07 John Levon <levon@movementarian.org>
429 * text.C: fix progress value for spellchecker
431 * toc.C: fix navigate menu for insetwrap inside minipage
433 * paragraph_funcs.C: added FIXME for suspect code
435 2002-11-07 John Levon <levon@movementarian.org>
437 * BufferView_pimpl.C: fix redrawing of insets
440 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
442 * text2.C (updateCounters): fix bug 668
444 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
446 * text3.C (dispatch): Do not make the buffer dirty when moving the
449 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * vc-backend.C: STRCONV
454 * text2.C (setCounter): STRCONV
456 * paragraph.C (asString): STRCONV
458 * lyxlength.C (asString): STRCONV
459 (asLatexString): ditto
461 * lyxgluelength.C (asString): STRCONV
462 (asLatexString): ditto
464 * lyxfunc.C (dispatch): STRCONV
467 * lyxfont.C (stateText): STRCONV
469 * importer.C (Import): STRCONV
471 * counters.C (labelItem): STRCONV
473 (numberLabel): remove unused ostringstream o
478 * bufferview_funcs.C (currentState): STRCONV
480 * buffer.C (readFile): STRCONV
481 (asciiParagraph): ditto
482 (makeLaTeXFile): ditto
484 * Spacing.C (writeEnvirBegin): STRCONV
486 * LaTeXFeatures.C (getLanguages): STRCONV
489 (getBabelOptions): ditto
490 (getTClassPreamble): ditto
491 (getLyXSGMLEntities): ditto
492 (getIncludedFiles): ditto
499 * LString.h: add the STRCONV macros
501 * BufferView_pimpl.C (savePosition): STRCONV
502 (restorePosition): ditto
503 (MenuInsertLyXFile): ditto
505 * vc-backend.C (scanMaster): change from submatch[...] to
508 * funcrequest.C: include config.h
510 * factory.C: include config.h
512 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
514 * box.C: include config.h
516 * LaTeX.C (scanAuxFile): change from submatch[...] to
520 2002-10-25 Angus Leeming <leeming@lyx.org>
522 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
524 * ispell.[Ch] (setError): new method.
525 * ispell.C (c-tor): move out child process into new class LaunchIspell.
526 Use setError() insetead of goto END.
528 * lyx_cb.C (AutoSave): move out child process into new class
531 2002-10-30 John Levon <levon@movementarian.org>
533 * text3.C: make start appendix undoable
535 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
537 * lyxlength.C (inPixels): Fix returned value.
539 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
542 2002-10-24 Angus Leeming <leeming@lyx.org>
544 * lyxgluelength.h: no need to forward declare BufferParams
545 or BufferView, so don't.
547 2002-10-21 John Levon <levon@movementarian.org>
549 * BufferView.C: menuUndo ->undo, redo
551 * BufferView.h: document, remove dead, make some methods private
555 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
560 * sgml.C: move sgml open/close tag into sgml.C
562 * bufferview_funcs.h: unused prototype
565 * lyxfunc.C: remove unused
568 * text.C: remove unused
570 2002-10-21 John Levon <levon@movementarian.org>
574 * BufferView_pimpl.h:
575 * BufferView_pimpl.C: fix mouse wheel handling based on
576 patch from Darren Freeman
578 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
580 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
582 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
584 * lyxlength.C (inPixels): Fix hanfling of negative length.
585 Fix LyXLength::MU case.
587 2002-10-16 John Levon <levon@movementarian.org>
589 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
591 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
593 * converter.C (view): add support for $$i (file name) and $$p
594 (file path) for the viewer command. If $$i is not specified, then
595 it is appended to the command (for compatibility with old syntax)
597 2002-10-14 Juergen Vigna <jug@sad.it>
599 * undo_funcs.C (textHandleUndo): alter the order in which the
600 new undopar is added to the LyXText, as we have to set first
601 the right prev/next and then add it as otherwise the rebuild of
602 LyXText is not correct. Also reset the cursor to the right paragraph,
603 with this IMO we could remove the hack in "redoParagraphs()".
605 2002-10-09 Angus Leeming <leeming@lyx.org>
607 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
608 to turn off an optimisation if a new inset is to be inserted.
610 2002-10-11 André Pönitz <poenitz@gmx.net>
612 * lytext.h: make some functions public to allow access
613 from inset/lyxtext for handling LFUN_PRIOR/NEXT
615 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
617 * text3.C (dispatch): when changing layout, avoid an infinite loop
620 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
622 * lyxrc.C (read): treat a viewer or converter command of "none" as
625 * MenuBackend.C (expandFormats): for an update, also allow the
626 formats that are not viewable
628 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
629 script if it is newer than the lyxrc.defaults in user directory
631 2002-10-07 André Pönitz <poenitz@gmx.net>
633 * text.C: Vitaly Lipatov's small i18n fix
635 2002-09-25 Angus Leeming <leeming@lyx.org>
637 * ispell.h: doxygen fix.
639 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
641 * buffer.h (readFile): Add a new argument to the method, to allow
642 reading of old-format templates.
644 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
646 * toc.C (getTocList): Get TOC from InsetWrap.
648 2002-09-16 John Levon <levon@movementarian.org>
650 * lyxfunc.C: check tabular for cut/copy too
652 2002-09-12 John Levon <levon@movementarian.org>
657 * factory.C: add header
660 * paragraph_funcs.C: cleanup
662 2002-09-11 John Levon <levon@movementarian.org>
664 * PrinterParams.h: odd/even default to true
666 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
668 * PrinterParams.h: update printer parameters for new xforms dialog
670 2002-09-11 Angus Leeming <leeming@lyx.org>
672 * lyxserver.C (read_ready): re-write to make it more transparent
673 and to make it work in coherent fashion under Tru64 Unix.
675 2002-09-11 André Pönitz <poenitz@gmx.net>
679 * text3.C: implement LFUN_WORDSEL
681 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
683 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
684 make floatlist_ a boost::shared_ptr<FloatList>
686 * lyxtextclass.C: include FloatList.h
687 (LyXTextClass): initialize floatlist_
688 (TextClassTags): add TC_NOFLOAT
689 (Read): match "nofloat" to TC_NOFLOAT and use it.
690 (readFloat): modify call to floatlist_
694 * FloatList.[Ch] (FloatList): remove commented out float
696 (erase): new function
698 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
700 * MenuBackend.C (expandToc): fix crash when there is no document
703 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
705 * many files: Add insetwrap.
707 2002-09-09 John Levon <levon@movementarian.org>
709 * text2.C: remove confusing and awkward depth wraparound
711 2002-09-09 John Levon <levon@movementarian.org>
713 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
716 * buffer.C: remove getIncludeonlyList()
719 * lyxfunc.C: remove headers
721 2002-09-09 Juergen Vigna <jug@sad.it>
723 * text.C (getColumnNearX): fix form Michael this is most
724 probably a cut&paste bug.
726 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
730 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
731 references, ws changes.
733 * text2.C (init): update counters after init
734 (insertParagraph): no need to set counter on idividual paragraphs.
735 (setCounter): access the counters object in the textclass object
736 on in the buffer object.
737 (updateCounters): ditto
739 * lyxtextclass.C: include counters.h, add variable ctrs_ as
740 shared_ptr<Counters> to avoid loading counters.h in all
742 (LyXTextClass): initialize ctrs_
743 (TextClassTags): add TC_COUNTER, and ...
745 (CounterTags): new tags
746 (readCounter): new function
747 (counters): new funtion
748 (defaultLayoutName): return a const reference
750 * counters.C (Counters): remove contructor
751 (newCounter): remove a couple of unneeded statements.
752 (newCounter): simplify a bit.
753 (numberLabel): some small formatting changes.
755 * buffer.[Ch]: remove all traces of counters, move the Counters
756 object to the LyXTextClass.
758 2002-09-06 Alain Castera <castera@in2p3.fr>
760 * tabular.C: uses \tabularnewline; uses >{...} construct from array
761 package to set the horizontal alignment on fixed width columns.
764 * lyx_sty.h: added tabularnewline macro def.
766 * LaTeXFeatures.C: added NeedTabularnewline macro feature
768 2002-09-06 John Levon <levon@movementarian.org>
770 * LyXAction.C: tooltips for sub/superscript
772 * MenuBackend.C: a bit more verbose
774 * lyxfunc.C: tiny clean
776 * undo_funcs.C: document undo_frozen
778 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * counters.C (Counters): add missing algorithm counter.
782 * text2.C (setCounter): lookup the counter with layouts latexname
783 instead of by section number.
784 (setCounter): use a hackish way to lookup the correct enum
786 a float name->type change
787 reset enum couners with counter name directly instead of depth value.
789 * counters.C (Counters): remove the push_backs, change to use the
790 float type not the float name.
791 (labelItem): remove unused string, float name->type change
793 * counters.h: don't include vector, loose the enums and sects vectors
795 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * lyxtextclass.C (TextClassTags): add TC_FLOAT
798 (Read): add float->TC_FLOAT to textclassTags
799 (Read): and handle it in the switch
800 (readFloat): new function
802 * FloatList.C (FloatList): comment out the hardcoded float
805 * lyxlayout.h: ws change.
807 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
809 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
811 2002-09-03 Angus Leeming <leeming@lyx.org>
813 * BufferView_pimpl.h: qualified name is not allowed in member
814 declaration: WorkArea & Pimpl::workarea() const;
816 * factory.C: added using std::endl directive.
818 * text3.C: added using std::find and std::vector directives.
820 2002-08-29 André Pönitz <poenitz@gmx.net>
823 * text2.C: remove unused member number_of_rows
826 * BufferView2.C: remove file, move contents to...
827 * BufferView.C: ... here
829 * BufferView_pimpl.C:
830 * factory.C: move more inset creation to factory
832 * vspace.C: avoid direct usage of LyXText, ws changes
835 don't provide direct access to WorkArea, use two simple
836 acessors haveSelction() and workHeight() instead
839 2002-08-29 John Levon <levon@movementarian.org>
841 * BufferView_pimpl.C (dispatch): do not continue when
844 2002-08-28 André Pönitz <poenitz@gmx.net>
846 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
849 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
851 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
853 * buffer.C: increment LYX_FORMAT to 221
855 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
856 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
858 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
860 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
862 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
864 * factory.C (createInset): use LyXTextClass::floats
866 * MenuBackend.C (expandFloatListInsert):
870 * text2.C (setCounter):
872 * LaTeXFeatures.C (useFloat):
873 (getFloatDefinitions):
875 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
877 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
878 floatlist_, with accessor floats().
880 * FloatList.h: remove global FloatList
882 2002-08-26 André Pönitz <poenitz@gmx.net>
884 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
888 * BufferView_pimpl.C:
889 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
891 2002-08-25 John Levon <levon@movementarian.org>
893 * LyXAction.C: fix margin note description
895 2002-08-24 John Levon <levon@movementarian.org>
899 * bufferview_funcs.C:
901 * undo_funcs.C: cleanups
903 * lyxfunc.C: disable CUT/COPY when no selection
905 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
907 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
908 in "enum UNIT"; e.g. PTW for Percent of TextWidth
910 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
911 Add backward compatibility to "mono", "gray" and "no".
913 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
915 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
916 (and file_format >= 200).
918 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
920 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
922 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
924 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
926 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
928 * BufferView_pimpl.C:
935 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
936 inset and code to make it work with the paragraph code. The inset
937 can be anywhere in the paragraph, but will only do the expected
938 thing in LaTeX if the layout file contains the parameter line
940 (or more generally, a nonzero value) for that layout.
942 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
944 * paragraph.h: remove the declaration of undefined counters class
947 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
949 * text2.C (setCounter): fixed enumeration mis-count as reported by
952 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
954 * paragraph_funcs.h: remove some unneeded includes
956 * text.C (backspace): pasteParagraph now in global scipe
958 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
959 (pasteSelection): ditto
961 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
962 * paragraph_funcs.C (pasteParagraph): ... here
964 2002-08-20 André Pönitz <poenitz@gmx.net>
966 * commandtags.h: new LFUNs for swapping/copying table row/colums
969 * lyxfunc.C: support for new lfuns
971 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
974 * buffer.[Ch]: remove NO_COMPABILITY stuff
976 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
978 * boost.C (throw_exception): new file, with helper function for
979 boost compiled without exceptions.
985 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
987 * bufferlist.C (emergencyWriteAll): use boost bind
989 * BufferView_pimpl.C (moveCursorUpdate): remove inline
991 * text.C: include paragraph_funcs.h
992 (breakParagraph): breakParagraph is now in global scope
994 * paragraph_funcs.[Ch]: new files
996 * paragraph.C (breakParagraph,breakParagraphConservative): move to
999 * buffer.C: include paragraph_funcs.h
1000 (insertStringAsLines): breakParagraph is now in global scope
1002 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1005 * CutAndPaste.C: include paragraph_funcs.h
1006 (cutSelection): breakParagraphConservative is now in global scope
1007 (pasteSelection): ditto
1009 * buffer.h: declare oprator== and operator!= for
1010 Buffer::inset_iterator
1012 * bufferlist.C (emergencyWrite): don't use fmt(...)
1014 * text3.C: add using std::endl
1016 * BufferView.C (moveCursorUpdate): remove default arg
1018 2002-08-20 André Pönitz <poenitz@gmx.net>
1020 * buffer.[Ch]: move inline functions to .C
1023 * BufferView_pimpl.C:
1025 * buffer.[Ch]: use improved inset_iterator
1028 * paragraph.[Ch]: write one paragraph at a time
1030 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1032 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1033 style if style is not specified.
1035 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1037 * text2.C (setCounter): when searching for right label for a
1038 caption, make sure to recurse to parent insets (so that a caption
1039 in a minipage in a figure float works) (bug #568)
1041 2002-08-20 André Pönitz <poenitz@gmx.net>
1043 * text3.C: new file for LyXText::dispatch() and helpers
1045 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1047 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1049 2002-08-19 André Pönitz <poenitz@gmx.net>
1052 * text.C: new LyXText::dispatch()
1054 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1056 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1058 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1060 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1063 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1065 * Makefile.am: use $(variables) instead of @substitutions@
1067 2002-08-15 André Pönitz <poenitz@gmx.net>
1070 * BufferView_pimpl.C: streamlining mathed <-> outer world
1074 * LyXAction.C: remove unused LFUN_MATH
1076 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1080 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * paragraph.C (Paragraph): reformat a bit
1083 (cutIntoMinibuffer): use builtin InsetList function instad of
1087 * buffer.C: include boost/bind.hpp, add using std::for_each
1088 (writeFileAscii): use ParagraphList iterators
1089 (validate): use for_each for validate traversal of paragraphs
1090 (getBibkeyList): use ParagraphList iterators
1091 (resizeInsets): use for_each to resizeInsetsLyXText for all
1093 (getParFromID): use ParagraphList iterators
1095 * BufferView2.C (lockInset): use paragraph list and iterators
1097 2002-08-14 John Levon <levon@movementarian.org>
1099 * lyxserver.C: remove spurious xforms include
1101 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1103 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1105 2002-08-13 André Pönitz <poenitz@gmx.net>
1108 * lyxfunc.C: further cleaning
1110 2002-08-13 André Pönitz <poenitz@gmx.net>
1112 * funcrequest.h: new constructor
1114 * funcrequest.C: move stuff here from .h
1117 * BufferView_pimpl.C:
1120 * lyxfunc.C: subsequent changes
1122 * lyxfunc.h: new view() member function
1124 * lyxfunc.C: subsequent changes
1126 2002-08-13 Angus Leeming <leeming@lyx.org>
1129 * BufferView_pimpl.C:
1137 changes due to the changed LyXView interface that now returns references
1138 to member variables not pointers.
1140 2002-08-13 Angus Leeming <leeming@lyx.org>
1142 * WordLangTuple (word, lang_code): return references to strings,
1147 * lyxtext.h: forward-declare WordLangTuple.
1152 * text.C: #include "WordLangTuple.h".
1155 * text.C: (selectNextWordToSpellcheck): constify return type.
1157 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1163 * paragraph_pimpl.h:
1166 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1168 Made updateCounter always count from start of buffer, and removed
1169 second argument (par).
1170 Reverted floats number display to '#'. Perhaps I'll try again when the
1171 code base is sanitized a bit.
1173 2002-08-12 Angus Leeming <leeming@lyx.org>
1175 * buffer.[Ch] (getLabelList): constify.
1177 2002-08-07 André Pönitz <poenitz@gmx.net>
1179 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1181 * funcrequest.h: extension to keep mouse (x,y) position
1183 2002-08-12 Juergen Vigna <jug@sad.it>
1185 * BufferView2.C (insertErrors): forbid undo when inserting error
1188 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1190 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * ParagraphList.[Ch]: new files
1194 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1196 * BufferView2.C (lockInset): ParagraphList changes
1199 * bufferlist.C: ditto
1203 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1206 unused class variable counter_,
1208 * paragraph.[Ch] (getFirstCounter): delete unused function
1210 * counters.C: include LAssert.h
1211 (reset): add a new function with no arg, change other version to
1212 not have def. arg and to not allow empty arg.
1214 * text2.C (setCounter): remove empty arg from call to Counters::reset
1216 2002-08-11 John Levon <levon@movementarian.org>
1218 * Makefile.am: add WordLangTuple.h
1220 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1223 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1225 * insets/insettext.C: InsetList changes
1227 * graphics/GraphicsSupport.C (operator()): InsetList changes
1229 * toc.C (getTocList): InsetList changes
1231 * paragraph_pimpl.[Ch]: InsetList changes
1233 * paragraph.[Ch]: InsetList changes
1235 * buffer.C (inset_iterator): InsetList changes
1236 (setParagraph): ditto
1237 * buffer.h (inset_iterator): ditto
1238 * iterators.C (operator++): ditto
1239 * iterators.h: ditto
1241 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1243 * InsetList.[Ch]: new files, most InsetList handling moved out of
1246 * BufferView2.C (removeAutoInsets): InsetList changes
1248 (ChangeInsets): ditto
1250 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * paragraph_pimpl.h (empty): new function
1254 * paragraph.[Ch] (empty): new function
1256 * other files: use the new Paragraph::empty function
1258 2002-08-09 John Levon <levon@movementarian.org>
1260 * lyxtext.h: remove unused refresh_height
1262 2002-08-09 John Levon <levon@movementarian.org>
1269 * paragraph.C: move sgml char escaping out of paragraph
1272 * paragraph.C: remove id setter
1276 * paragraph_pimpl.C: remove dead tex_code_break_column
1278 * bufferview_funcs.C: small cleanup
1280 * lyxfunc.C: remove dead proto
1282 * lyxtext.h: make some stuff private. Remove some dead stuff.
1284 * lyxgluelength.C: make as[LyX]String() readable
1286 2002-08-08 John Levon <levon@movementarian.org>
1291 * ToolbarDefaults.C:
1294 * toc.C: lyxaction cleanup
1296 2002-08-08 John Levon <levon@movementarian.org>
1298 * BufferView2.C: small cleanup
1301 * lyxfind.C: move unnecessary header into the .C
1303 2002-08-08 John Levon <levon@movementarian.org>
1305 * funcrequest.h: just tedious nonsense
1308 * lyx_main.C: cleanups
1311 * vspace.C: remove dead header lyx_main.h
1313 2002-08-07 Angus Leeming <leeming@lyx.org>
1316 * paragraph_pimpl.h:
1317 Forward declare class Counters in paragraph.h by moving the ctrs member
1318 variable into Paragraph::Pimpl.
1319 (counters): new method, returning a reference to pimpl_->ctrs.
1321 * text2.C: ensuing changes.
1323 2002-08-07 John Levon <levon@movementarian.org>
1325 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1327 * BufferView_pimpl.C: announce X selection on double/triple
1330 * lyx_main.C: use correct bool in batch dispatch
1332 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1334 2002-08-07 André Pönitz <poenitz@gmx.net>
1336 * funcrequest.h: new class to wrap a kb_action and its argument
1339 * BufferView_pimpl[Ch]:
1343 * lyxrc.C: subsequent changes
1346 2002-08-07 John Levon <levon@movementarian.org>
1348 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1349 document options change.
1351 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1356 * makefile.am: move counters functionality over from
1357 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1359 2002-08-06 John Levon <levon@movementarian.org>
1361 * WordLangTuple.h: new file for word + language code tuple
1372 * BufferView2.C: use WordLangTuple
1375 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1377 2002-08-06 John Levon <levon@movementarian.org>
1379 * lyx_main.C: fix cmdline batch handling
1381 2002-08-06 André Pönitz <poenitz@gmx.net>
1383 * lyxrc.C: set default for show_banner to true
1385 2002-08-06 John Levon <levon@movementarian.org>
1387 * pspell.C: fix a crash, and allow new aspell to work
1389 2002-08-06 John Levon <levon@movementarian.org>
1392 * kbmap.C: small cleanup
1395 * vspace.C: add const
1397 2002-08-05 John Levon <levon@movementarian.org>
1399 * LyXAction.C: back to tabular-insert
1401 2002-08-04 John Levon <levon@movementarian.org>
1404 * BufferView.C: cosmetic change
1406 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1416 * BufferView2.C: purge all "Lyx" not "LyX" strings
1419 * lyxcursor.C: attempt to add some documentation
1424 * ToolbarDefaults.C:
1425 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1426 merge with LFUN_TABULAR_INSERT
1433 * pspell.C: split up i/pspell implementations into separate
1434 files, many cleanups
1436 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1438 * text2.C: some cleanup
1440 * lyxfunc.C: don't check for isp_command == "none" any more, it
1441 didn't make any sense
1443 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1448 * makefile.am: move counters functionality over
1449 from text2.C/paragraph.[Ch] to counters.[Ch], and
1451 2002-08-02 John Levon <levon@movementarian.org>
1453 * buffer.C: s/lyxconvert/lyx2lyx/
1455 2002-08-02 Angus Leeming <leeming@lyx.org>
1457 * lyxlex.C: revert John's change as it breaks reading of the user
1460 2002-08-02 Angus Leeming <leeming@lyx.org>
1462 * importer.C (Import):
1463 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1464 changes due to LyXView::view() now returning a boost::shared_ptr.
1466 2002-08-02 John Levon <levon@movementarian.org>
1468 * lyxlex.C: small cleanup
1470 2002-08-02 John Levon <levon@movementarian.org>
1472 * text2.C (status): small cleanup, no logic change
1474 2002-08-01 John Levon <levon@movementarian.org>
1477 * buffer.C (writeFile): don't output alerts, caller
1481 * lyx_cb.C: from above
1483 * lyxfunc.C: allow to open non-existent files
1485 2002-07-31 John Levon <levon@movementarian.org>
1487 * lyxserver.C: don't let incidental errors get
1490 2002-07-30 John Levon <levon@movementarian.org>
1492 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1494 2002-07-30 John Levon <levon@movementarian.org>
1497 * lyxserver.C: remove I/O callback too
1499 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1501 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1504 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1506 * many files: strip,frontStrip -> trim,ltrim,rtrim
1508 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1510 * PrinterParams.h: remove extern containsOnly, and include
1511 support/lstrings.h instead.
1513 * LaTeX.C (scanAuxFile): modify because of strip changes
1515 * buffer.C (makeLaTeXFile): ditto
1516 * bufferparams.C (writeFile): ditt
1517 * lyxfont.C (stateText): ditto
1518 * lyxserver.C (read_ready): ditto
1519 * vc-backend.C (scanMaster): ditto
1521 * BufferView_pimpl.h: ws changes
1523 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1525 2002-07-26 André Pönitz <poenitz@gmx.net>
1527 * kb_sequence.C: remove unnedred usings
1529 2002-07-26 Juergen Vigna <jug@sad.it>
1531 * lyxfind.C (LyXReplace): we have to check better if the returned
1532 text is not of theLockingInset()->getLockingInset().
1534 2002-07-25 Juergen Vigna <jug@sad.it>
1536 * lyxfind.C (LyXReplace): don't replace if we don't get the
1539 * undo_funcs.C (createUndo): remove debugging code.
1541 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1543 * buffer.C (parseSingleLyXformat2Token): Use default placement
1544 when reading old floats.
1546 * FloatList.C (FloatList): Change the default placement of figure
1547 and tables to "tbp".
1549 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1551 * MenuBackend.C: using std::max
1553 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1555 * MenuBackend.C (expandToc):
1556 (expandToc2): code moved from xforms menu frontend. It is now
1557 generic and TOCs are transparent to menu frontends.
1559 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1561 * toc.C (getTocList): protect against buf=0
1563 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1564 Menu as first parameter. Now, this calls itself recursively to
1565 expand a whole tree (this will be useful for TOC handling)
1566 (expandFloatInsert): remove 'wide' version of floats
1568 * MenuBackend.h (submenuname): returns the name of the submenu.
1569 (submenu): returns the submenu itself, provided it has been
1570 created by MenuBackend::expand
1572 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1574 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1575 insets which have noFontChange == true. (bug #172)
1577 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1579 * BufferView_pimpl.C: add connection objects and use them...
1582 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1584 * MenuBackend.C (expandLastfiles):
1587 (expandFloatListInsert):
1588 (expandFloatInsert):
1589 (expand): split expand in parts
1591 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1593 * lyx_gui.C: use lyx_gui::exit()
1595 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1597 * LyXAction.C: show the failing pseudo action
1599 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1601 * buffer.C (readFile): Run the lyxconvert script in order to read
1604 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1608 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1610 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1614 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1616 2002-07-22 Herbert Voss <voss@lyx.org>
1619 * lyxlength.[Ch]: add support for the vertical lengths
1621 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1623 * toc.[Ch]: std:: fixes
1625 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1627 * lyxrc.C: do not include lyx_main.h
1629 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1635 * BufferView2.C: include "lyxlex.h"
1638 * bufferparams.h: do not #include "lyxlex.h"
1640 * lyxtextclasslist.C (Add): remove method
1641 (classlist): renamed to classlist_
1643 * paragraph_pimpl.C:
1647 * bufferview_funcs.C:
1652 * toc.C (getTocList): use BufferParams::getLyXTextClass
1654 * toc.C (getTocList): use InsetFloat::addToToc
1656 * toc.[Ch]: new files, containing helper functions to handle table
1659 * lyxfunc.C (dispatch): no need to remove spaces around command
1661 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1662 first command of the sequence; it is not very clever, but I do not
1663 have a better idea, actually
1665 * LyXAction.C (LookupFunc): make sure to remove space at the
1666 beginning and end of the command
1668 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1670 * MenuBackend.C (getMenubar): new method: return the menubar of
1672 (read): treat differently reading of menu and menubar (in
1673 particular, the menubar has no name now)
1674 (Menu::menubar): remove
1676 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1679 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1681 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1682 a bibitem inset in a RTL paragraph.
1684 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1686 * paragraph_pimpl.C: constify
1688 * BufferView_pimpl.C:
1690 * lyxfunc.C: fix dispatch in a nicer way
1692 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1694 * lyxfunc.C (dispatch):
1695 * BufferView_pimpl.C:
1696 * BufferView_pimpl.h:
1698 * BufferView.h: rename Dispatch() to dispatch()
1700 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1702 * lyxlayout.C (Read): honor DependsOn tag
1704 * lyxlayout.[Ch] (depends_on): new method
1706 * version.C.in: update lyx_docversion
1708 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1710 * paragraph.C (validate): remove from here...
1711 * paragraph_pimpl.C (validate): ... and move here
1712 (isTextAt): make it const
1714 * buffer.C (getLists): ws cleanup
1716 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1718 * language.C (read): Use iso8859-1 encoding in latex_lang
1719 (this prevents LyX from crashing when using iso10646-1 encoding).
1721 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1723 * text2.C (toggleInset): if cursor is inside an inset, close the
1724 inset and leave cursor _after_ it
1726 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1728 * lyxfunc.C: move minibuffer completion handling out of here
1730 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1732 * BufferView_pimpl.C:
1733 * LaTeX.C: fix dispatch calls
1735 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1737 * text.C (drawChars): Fix Arabic text rendering.
1739 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1743 * lyxfunc.C: remove message-push/pop
1747 * lyxfunc.C: rationalise some code by removing verboseDispatch
1748 in favour of a bool argument to dispatch()
1750 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1752 * lyx_main.C (init): make sure to read symlinks as absolute paths
1754 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1757 * lyxfunc.C: no need for commandshortcut to be a member
1759 2002-07-15 André Pönitz <poenitz@gmx.net>
1761 * converter.C: add support for $$s (scripts from lib/scripts dir)
1762 * lyx_main.C: white space
1764 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1768 * lyxrc.C: remove second exit confirmation
1770 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1775 * BufferView_pimpl.h:
1776 * BufferView_pimpl.C:
1777 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1779 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1781 * MenuBackend.C (expand): add numeric shortcuts to document menu
1783 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1785 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1787 * lyxfont.C (setLyXFamily):
1794 * buffer.C (asciiParagraph): use ascii_lowercase
1796 2002-07-15 Mike Fabian <mfabian@suse.de>
1798 * lyxlex_pimpl.C (search_kw):
1799 * lyxlex.C (getLongString):
1800 * converter.h (operator<):
1801 * converter.C (operator<):
1802 * buffer.C (parseSingleLyXformat2Token):
1804 * ToolbarDefaults.C (read):
1805 * MenuBackend.C (checkShortcuts):
1807 * LColor.C (getFromGUIName):
1808 (getFromLyXName): use the compare_ascii_no_case instead of
1809 compare_no_case, because in turkish, 'i' is not the lowercase
1810 version of 'I', and thus turkish locale breaks parsing of tags.
1812 2002-07-16 Angus Leeming <leeming@lyx.org>
1814 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1815 now takes a Buffer const & argument.
1817 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1819 * BufferView.C (resize): check there's a buffer to resize
1821 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1823 * lyxfunc.C: remove dead code
1826 * lyxserver.C: use lyx_guii::set_read_callback
1828 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1830 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1831 an inset in a RTL paragraph.
1833 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1835 * lyxfunc.C: repaint after a font size update
1837 2002-07-15 André Pönitz <poenitz@gmx.net>
1839 * lyxlength.C: inBP should be able to return negative values
1841 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1843 * lyxfunc.C: use lyx_gui::update_fonts()
1845 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1847 * lyxfunc.C: use lyx_gui::update_color()
1849 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1855 * lyxrc.C: remove file->new asks for name option, and let
1856 buffer-new take an argument
1858 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1860 * BufferView_pimpl.C: remove unneeded extra repaint()
1862 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1864 * LyXAction.C: allow command-sequence with NoBuffer
1866 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1868 2002-07-10 Angus Leeming <leeming@lyx.org>
1870 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1872 2002-07-09 Angus Leeming <leeming@lyx.org>
1874 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1876 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1878 * lengthcommon.h: whitespace
1880 * lyxfunc.C: update scrollbar after goto paragraph
1882 * lyxtext.h: factor out page break drawing, and fix it so
1883 page break/added space paints as selected nicely
1885 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1887 * BufferView_pimpl.C: add FIXMEs, clean up a little
1889 2002-07-09 André Pönitz <poenitz@gmx.net>
1891 * lyxfont.[Ch]: support for wasy symbols
1893 2002-07-08 André Pönitz <poenitz@gmx.net>
1895 * BufferView_pimpl.C: apply John's patch for #93.
1897 2002-07-05 Angus Leeming <leeming@lyx.org>
1899 * BufferView_pimpl.C (buffer): generate previews if desired.
1901 * LColor.h: add "preview" to the color enum.
1903 * LColor.C (LColor): add a corresponding entry to the items array.
1905 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1908 2002-07-05 Angus Leeming <leeming@lyx.org>
1910 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1911 The body of the code is now in the method that is passed an ostream &
1912 rather than a file name.
1913 Pass an additional only_preamble parameter, useful for the forthcoming
1916 2002-07-03 André Pönitz <poenitz@gmx.net>
1918 * lyxfunc.C: simplify getStatus() a bit for math stuff
1920 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1922 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1924 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1926 * text.C (changeRegionCase): do not change case of all the
1927 document when region ends at paragraph end (bug #461)
1929 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1931 * paragraph.C (startTeXParParams):
1932 (endTeXParParams): add \protect when necessary
1934 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1936 * BufferView_pimpl.C (workAreaExpose): remove warning
1938 2002-06-27 Angus Leeming <leeming@lyx.org>
1940 * Makefile.am: add lyxlayout_ptr_fwd.h.
1942 2002-06-26 André Pönitz <poenitz@gmx.net>
1944 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1946 2002-06-25 Angus Leeming <leeming@lyx.org>
1948 * lyxfunc.C (dispatch): Comment out the call to
1949 grfx::GCache::changeDisplay. The method no longer exists now that the
1950 pixmap generation part of the graphics loader has been moved into
1953 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1955 * text2.C: layout as layout
1957 * text.C: layout as layout
1959 * tabular.C (OldFormatRead): layout as layout
1961 * paragraph_pimpl.C (TeXDeeper): layout as layout
1962 (realizeFont): layout as layout
1964 * paragraph.C (writeFile): layout as layout
1965 (validate): layout as layout
1966 (getFont): layout as layout
1967 (getLabelFont): layout as layout
1968 (getLayoutFont): layout as layout
1969 (breakParagraph): layout as layout
1970 (stripLeadingSpaces): layout as layout
1971 (getEndLabel): layout as layout
1972 (getMaxDepthAfter): layout as layout
1973 (applyLayout): layout as layout
1974 (TeXOnePar): layout as layout
1975 (simpleTeXOnePar): layout as layout
1976 (TeXEnvironment): layout as layout
1977 (layout): layout as layout
1978 (layout): layout as layout
1980 * lyxtextclass.C (compare_name): new functor to work with
1981 shared_ptr, layout as layout
1982 (Read): layout as layout
1983 (hasLayout): layout as layout
1984 (operator): layout as layout
1985 (delete_layout): layout as layout
1986 (defaultLayout): layout as layout
1988 * lyxlayout_ptr_fwd.h: new file
1990 * lyxlayout.C (Read): layout as layout
1992 * lyx_cb.C (MenuInsertLabel): layout as layout
1994 * bufferlist.C (newFile): layout as layout
1996 * buffer.C (readLyXformat2): layout as layout
1997 (parseSingleLyXformat2Token): layout as layout
1998 (insertStringAsLines): layout as layout
1999 (asciiParagraph): layout as layout
2000 (latexParagraphs): layout as layout
2001 (makeLinuxDocFile): layout as layout
2002 (simpleLinuxDocOnePar): layout as layout
2003 (makeDocBookFile): layout as layout
2004 (simpleDocBookOnePar): layout as layout
2005 (getLists): layout as layout
2007 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2009 * CutAndPaste.C (cutSelection): layout as layout
2010 (pasteSelection): layout as layout
2011 (SwitchLayoutsBetweenClasses): layout as layout
2013 * BufferView_pimpl.C (Dispatch): layout as layout
2014 (smartQuote): layout as layout
2016 * BufferView2.C (unlockInset): layout as layout
2018 2002-06-24 André Pönitz <poenitz@gmx.net>
2020 * lyxfunc.C: fix #487
2022 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2026 * lyxfunc.C: remove display_shortcuts, show_banner
2028 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2030 * Buffer_pimpl.C: oops, update on resize
2032 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2039 * BufferView.C: use repaint()
2041 * BufferView_pimpl.h:
2042 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2043 as it's a clearer description. Remove superfluous
2046 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2048 * text.C: fix bug 488. Not ideal, but getting
2049 getWord() to work properly for the insets that
2050 matter is more difficult ...
2052 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2054 * BufferView_pimpl.C:
2057 * lyxfunc.C: remove the six million index lyxfuncs to just
2058 one, and DTRT (bug 458)
2060 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2064 * BufferView_pimpl.h:
2065 * BufferView_pimpl.C: clean up resize() stuff,
2066 and unnecessary updateScreen()s
2068 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2072 * BufferView_pimpl.h:
2073 * BufferView_pimpl.C:
2076 * minibuffer.C: remove focus management of workarea,
2077 not needed. Use screen's greyOut()
2079 2002-06-17 Herbert Voss <voss@lyx.org>
2081 * converter.C: (convert) do not post a message, when converting
2082 fails, let the calling function decide what to do in this case
2084 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2086 * lyxfunc.C: tidy up a little
2088 2002-06-16 <alstrup@diku.dk>
2090 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2091 Got rid of FORMS_H_LOCATION include. Now we are
2094 2002-06-15 LyX Development team <lyx@rilke>
2096 * buffer.[Ch] (sgmlOpenTag):
2097 (sgmlCloseTag): Added support for avoiding pernicious mixed
2098 content. Return number of lines written.
2101 (makeDocBookFile): Fixed calls to sgml*Tag.
2102 Simple white space clean.
2104 (simpleDocBookOnePar): Simple white space clean.
2106 * tabular.[Ch] (docBook): Renamed to docbook and got another
2107 argument to related with the pernicious mixed content.
2109 (docbookRow): Fixed calls for docbook inset method.
2111 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2113 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2114 so it's X11 independent.
2118 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2120 2002-06-15 Lyx Development team <lyx@electronia>
2122 * intl.h: Renamed getTrans to getTransManager.
2124 2002-06-14 Angus Leeming <leeming@lyx.org>
2126 * Makefile.am: nuke forgotten stl_string_fwd.h.
2128 2002-06-12 Angus Leeming <leeming@lyx.org>
2130 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2132 2002-06-13 Angus Leeming <leeming@lyx.org>
2135 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2137 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2139 * kbmap.C (getiso): add support for cyrillic and greek
2141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2145 * BufferView_pimpl.h:
2146 * BufferView_pimpl.C: move bogus scrolling logic
2149 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2152 * BufferView_pimpl.C: view->resize() change
2154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2156 * BufferView_pimpl.C: topCursorVisible
2159 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2163 * lyx_gui.C: move to frontends/
2167 * lyx_main.C: changes from above
2169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2176 * lyx_main.C: minor tidy
2178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2180 * BufferView_pimpl.h:
2181 * BufferView_pimpl.C:
2183 * BufferView.C: make painter() const,
2186 * BufferView2.C: use screen() accessor
2189 * lyx_main.C: some minor cleanup
2191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2193 * BufferView_pimpl.h:
2194 * BufferView_pimpl.C: remove enter/leaveView,
2197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2202 * BufferView_pimpl.h:
2203 * BufferView_pimpl.C: only construct screen once,
2206 * lyxrc.C: remove pointless comment
2208 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2211 * BufferView.C: remove active() and belowMouse()
2213 * BufferView_pimpl.h:
2214 * BufferView_pimpl.C: use workarea() not workarea_,
2215 and make it use a scoped_ptr instead
2217 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2219 * lyx_gui.C: add debug message on BadWindow
2221 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2223 * sp_spell.C: fdopen is not part of the C++ standard.
2225 * paragraph.C (InsetIterator): use >= instead of ==
2227 2002-06-07 Angus Leeming <leeming@lyx.org>
2229 Fixes needed to compile with Compaq cxx 6.5.
2230 * BufferView_pimpl.C:
2237 * lyxtextclasslist.C:
2242 all c-library variables have been moved into namespace std. Wrap
2243 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2248 Add a using std::abs declaration.
2250 * kbmap.h (modifier_pair):
2251 * paragraph.h (InsetTable, InsetList):
2252 * lyxfont.h (FontBits):
2253 type definition made public.
2255 * bufferlist.C (emergencyWriteAll): the compiler complains that
2256 there is more than one possible lyx::class_fun template to choose from.
2257 I re-named the void specialisation as lyx::void_class_fun.
2259 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2261 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2262 the compiler is is unable to find tostr in write_attribute.
2264 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2266 * buffer.C (sgmlError): hide #warning
2268 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2270 * xtl/*: get rid of xtl, which is not in use anyway
2272 * LyXAction.C (init):
2273 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2274 were unimplemented xtl experimentation
2276 2002-06-04 André Pönitz <poenitz@gmx.net>
2278 * lyxfunc.C: disable array operation on simple formulae
2280 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2282 * converter.C: constify a bit
2284 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2286 * lyx_gui.C: check xforms version correctly
2288 2002-04-30 Herbert Voss <voss@lyx.org>
2290 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2293 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2295 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2296 attempt to register it with a VCS)
2298 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2300 * lyx_main.C (init): honor variables LYX_DIR_13x and
2303 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2307 * lyx_main.C: fix a crash on bad command line,
2308 and give a useful exit status on error
2310 * lyxfunc.C (doImport): allow -i lyx to work
2312 2002-03-30 André Pönitz <poenitz@gmx.net>
2314 * lyxfunc.C: mathed font changes
2316 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2331 * trans_mgr.h: srcdocs, and some minor cleanups
2333 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2335 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2336 call getFont all the time)
2338 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2340 * switch from SigC signals to boost::signals
2342 2002-05-29 André Pönitz <poenitz@gmx.net>
2344 * paragraph_pimpl.C (getChar): don't call size() too often...
2346 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2348 * paragraph_pimpl.C (insertChar): do not try to update tables when
2349 appending (pos == size())
2351 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2352 in order to reduce drastically the number of comparisons needed to
2353 parse a large document
2355 2002-05-29 André Pönitz <poenitz@gmx.net>
2361 * textclasslist.[Ch]:
2362 * sp_ispell.h: whitespace change
2364 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2366 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2367 lyxaction directly now.
2369 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2373 * lyxvc.C: remove unused headers
2375 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2382 * undo_funcs.C: some cleanups. Use shared_ptr
2383 and a template for the undo stacks.
2385 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2387 * BufferView_pimpl.h:
2388 * BufferView_pimpl.C:
2395 * text2.C: use key_state/mouse_state
2397 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2399 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2402 * chset.C: change include order
2403 (loadFile): use boost regex and get rid of LRegex and LSubstring
2405 * Makefile.am (BOOST_LIBS): new variable
2408 * LaTeX.C: change include order.
2409 (scanAuxFile): use boost regex and get rid of LRegex and
2413 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2418 * FontInfo.C: moved to frontends/xforms/
2421 * FontLoader.C: moved into frontends for GUIIzation
2426 * lyxfunc.C: changes from above
2428 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2430 * LColor.C: remove spurious X include
2432 * BufferView_pimpl.C:
2437 * text2.C: move font metrics to frontends/
2439 2002-05-24 Juergen Vigna <jug@sad.it>
2441 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2442 setting the undo_cursor.
2444 * ParagraphParameters.h: include local includes first.
2446 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2448 * BufferView_pimpl.C:
2449 * BufferView_pimpl.h:
2453 * screen.C: move WorkArea into frontends/
2459 * BufferView2.C: move LyXScreen into frontends/
2463 * lyx_gui.C: move lyxlookup into frontends/xforms/
2465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2468 * BufferView_pimpl.C:
2478 * bufferview_funcs.C:
2491 * vc-backend.C: move LyX/XFormsView into frontends/
2493 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2505 * text2.C: move Painter to frontends/
2507 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2509 * buffer.C: comment out some some code that depend upon lyx_format
2512 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2513 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2515 * buffer.h (NO_COMPABILITY): turn off compability
2517 * ColorHandler.C: include scoped_array.hpp
2519 * font.C: Use more specific smart_ptr header.
2522 * ShareContainer.h: ditto
2526 * BufferView_pimpl.h: ditto
2527 * ColorHandler.h: ditto
2529 * kbmap.C (defkey): change call to shared_ptr::reset
2531 2002-05-21 Juergen Vigna <jug@sad.it>
2533 * buffer.C (insertErtContents): fix to insert ert asis if it is
2534 non empty. Skip it completely if it contains only whitespaces.
2536 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2538 * BufferView_pimpl.C:
2539 * BufferView2.C: clear selection on paste (bug 393)
2541 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2543 * DepTable.C: include ctime
2545 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2547 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2549 2002-05-14 Juergen Vigna <jug@sad.it>
2551 * text.C (breakParagraph): fixed function to honor the keepempty
2552 layout in the right maner and also to permit the right breaking
2553 algorithm on empty or non empyt keepempty paragraphs.
2555 * paragraph.C (breakParagraph): we have to check also if the par
2556 is really empty (!size()) for isempty otherwise we do the wrong
2559 2002-05-10 Juergen Vigna <jug@sad.it>
2561 * buffer.[Ch] : The following are only changes to the ert
2562 compatibility read reading old LaTeX layout and font stuff and
2563 convert it to ERTInsets.
2565 * buffer.h: added isErtInset().
2567 * buffer.C (struct ErtComp): add a fromlayout bool to check
2568 if we're inside a LaTeX layout.
2569 (isErtInset): new helper function.
2570 (insertErtContents): look for other ert insets before this one
2571 and insert the contents there, so that we don't have subsequent
2572 ERT insets with nothing between them. This way we create only one
2573 inset with multiple paragraphs. Also check if we don't insert only
2574 spaces ' ' as they are ignored anyway afterwards in the .tex file
2575 so if we have only spaces we will ignore this latex part in the
2577 (parseSingleLyXformat2Token \\layout): better compatibility when
2578 reading layout-latex stuff.
2579 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2581 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2582 stuff after reading the inset only get the information back from
2585 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2587 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2589 * LaTeXFeatures.C (getBabelOptions): New method.
2591 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2593 * BufferView_pimpl.C (Dispatch): work around missing argument for
2596 2002-05-08 Juergen Vigna <jug@sad.it>
2598 * text.C (leftMargin): handle paragraph leftindent.
2600 * paragraph.C (writeFile): write the new \\leftindent tag.
2601 (validate): handle leftindent code.
2602 (TeXEnvironment): handle paragraphleftindent code again.
2604 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2606 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2607 for paragrap_extra indent code and new token \\leftindent.
2608 (latexParagraphs): handle the leftindent as environment.
2610 * ParameterStruct.h: added leftindent support.
2612 * ParagraphParameters.C (leftIndent): added support functions for
2613 the paragraph left indent.
2615 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2618 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2620 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2623 * text.C (computeBidiTables): No bidi in insetERT.
2625 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2628 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2630 * version.C.in: pre 5
2632 2002-05-02 José Matos <jamatos@fep.up.pt>
2633 * buffer.C (makeDocBookFile): white space changes, add newline to
2635 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2637 * tabular.C (docBook): fix typo.
2639 2002-05-03 Juergen Vigna <jug@sad.it>
2641 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2642 change in LyXText as we can not be sure it was not freed.
2643 (drawOneRow): remove unused code.
2645 * text.C (drawInset): redo the calculation of the need_break_row as
2646 it could have a row which was already freed.
2647 (draw): look at the return value of drawInset and return false if
2648 it also returned false.
2649 (paintRowText): look at the return value of draw and return false if
2650 it also returned false.
2652 * lyxtext.h: added bool return type to drawInset() and draw() so that
2653 if we have a change in the row so that the rowbreak has to be redone
2654 we abort drawing as it will be called again.
2656 2002-05-02 Juergen Vigna <jug@sad.it>
2658 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2659 a change in the maintext also if we're inside an inset.
2660 (Dispatch): set the cursor again after a break line and after the
2661 screen has been updated as it could be we're in a different row.
2663 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2664 to set the cursor behind the pargraph with > size().
2665 (setCursor): check also for the same paragraph when checking where
2666 to put the cursor if we have a NFR inset.
2668 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2669 parts of layout read further up as it still was in the wrong
2672 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2674 * screen.C (drawFromTo): change sine fullRebreak always return
2677 * buffer.C (parseSingleLyXformat2Token): reindent some
2679 * BufferView_pimpl.C (update): change since fullRebreak always
2681 (Dispatch): git rid of the last hardcoded "Standard"s.
2683 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2685 * text2.[Ch] (fullRebreak): make it return void now that we always
2688 2002-04-30 Juergen Vigna <jug@sad.it>
2690 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2691 ert compatibility check for "latex" layout.
2693 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2695 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2696 minipages: use col% instead of p%, and also use the current font.
2697 (makeLaTeXFile): Fix use babel condition.
2698 (parseSingleLyXformat2Token): Correct font when reading old floats.
2700 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2702 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2703 inserting list of floats.
2705 2002-04-25 Herbert Voss <voss@lyx.org>
2707 * MenuBackend.C (expand): don't add the graphics extensions to the
2710 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2712 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2713 non-existing layout, do not complain if it was the default layout
2714 of the original class (bug #342)
2716 2002-04-24 Juergen Vigna <jug@sad.it>
2718 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2719 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2721 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2723 * buffer.C (getBibkeyList): If using \bibliography, return the
2724 option field with the reference itself. Enables us to provide natbib
2725 support when using \bibliography.
2727 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2729 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2731 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2732 natbib is provided by the LaTeX class.
2734 2002-04-23 Juergen Vigna <jug@sad.it>
2736 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2739 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2741 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2743 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2745 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2746 ensuremath around textordmasculine, textordfeminine and
2749 2002-04-19 Juergen Vigna <jug@sad.it>
2751 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2752 reinitializing the buffer otherwise row-dimensions may be wrong.
2753 (update): reset also the selection cursors if they do exits otherwise
2754 their x/y positions may be wrong.
2756 * text2.C (cursorDown): don't enter the inset if we came from a row
2757 above and are one row over the inset.
2759 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2760 really leaving an inset.
2762 2002-04-18 Juergen Vigna <jug@sad.it>
2764 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2765 of the selected paragraph does not have the selected layout also if
2768 * text2.C (setLayout): fixed bug which did not change last selected
2771 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2772 changed the read and substituted \\end_float with \\end_inset!
2774 * BufferView_pimpl.C (cursorPrevious):
2775 (cursorNext): fixed to make it work with rows heigher than the work
2776 area without moving the cursor only the draw of the row.
2777 (workAreaMotionNotify): fix jumping over high rows.
2779 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2781 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2784 2002-04-16 Juergen Vigna <jug@sad.it>
2786 * text2.C (setCursor): set also the irow().
2787 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2789 (cursorDown): support for locking an inset if the x_fix value goes
2790 inside it. That way I can transverse insets too with cursor up/down.
2792 * lyxrow.h: added irow helper function same as other (i) functions.
2794 * BufferView_pimpl.C (cursorPrevious):
2795 (cursorNext): fixed for insets!
2797 2002-04-15 Juergen Vigna <jug@sad.it>
2799 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2800 position otherwise it is wrong in some cases.
2802 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2803 inside the inset before the call.
2805 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2807 * buffer.[Ch] (getBibkeyList): make it const.
2809 2002-04-12 Juergen Vigna <jug@sad.it>
2811 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2813 * text2.C (getCursorX): new helper function
2814 (setCursor): compute also ix_
2815 (setCursorFromCoordinates): set also ix.
2817 * lyxcursor.h: added ix_ and helper functions.
2819 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2821 * buffer.C (insertStringAsLines): dont break paragraph if the this
2822 paragraph is inside an inset which does not permit it!
2824 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2825 also with no chars on this paragraph.
2826 (paintRowText): only paint stuff if it's inside the workarea!
2828 * paragraph.C (breakParagraph): honor keepempty flag and break the
2829 paragraph always below not above.
2831 * BufferView2.C (unlockInset): update the paragraph layout on inset
2832 unlock as we changed paragraph in such a case.
2834 * lyxfind.C (LyXFind): clear the former selection if not found!
2836 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2837 again called in insertChar().
2839 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2840 an inset which uses the whole row!
2841 (rightMargin): ditto.
2842 (insertChar): force a rebreak if we inserted an inset!
2844 2002-03-28 Herbert Voss <voss@lyx.org>
2846 * lyxlength.[Ch]: add inBP() to get the right PS-point
2847 units (BigPoint). With inPixels we have rounding errors
2849 2002-04-11 Juergen Vigna <jug@sad.it>
2851 * text2.C (setCursorFromCoordinates): set iy to the right value.
2852 (setCursor): add check if row->previous exists!
2854 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2855 an old float_type as this was the case in the old code!
2857 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2859 * BufferView2.C (showLockedInsetCursor): use iy
2860 (fitLockedInsetCursor): ditto
2862 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2863 locked insets as there we have the right value now.
2865 * lyxcursor.C: added iy_ variable and iy functions to set to the
2866 baseline of cursor-y of the locked inset.
2868 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2869 (setCursor): fixed for insets which need a full row.
2871 * text.C (rowLastPrintable): don't ignore the last space when before
2872 an inset which needs a full row.
2873 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2874 as last character of a row when before a inset which needs a full row.
2876 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2878 * version.C.in: update date
2880 * text2.C (fullRebreak): try to always return true and see what
2883 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2885 * MenuBackend.C (expand): use Floating::listName
2887 * FloatList.C (FloatList): add listName argument to the built-in
2890 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2891 text associated with the float.
2893 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2895 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2897 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2899 * ShareContainer.h: add a couple of missing typenames.
2901 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2903 * lyxrc.C (getDescription): use _() correctly rather than N_().
2905 2002-03-28 Herbert Voss <voss@lyx.org>
2907 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2908 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2910 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2912 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2913 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2915 2002-03-29 Juergen Vigna <jug@sad.it>
2917 * lyxfunc.C (dispatch): add a missing fitCursor call.
2919 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2920 it was scrolled by a cursor move, so return the bool status.
2922 * BufferView.C (fitCursor): return the bool flag also to the outside
2923 world as this is needed.
2925 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2927 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2928 call the edit() as it is not needed (and wrong) IMO.
2929 (workAreaButtonPress): set the screen_first variable before evt.
2930 unlock the inset as this may change screen_first and then we have
2931 a wrong y position for the click!
2933 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2935 * MenuBackend.C (expand): another translation that I missed
2937 2002-03-28 Juergen Vigna <jug@sad.it>
2939 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2941 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2943 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2945 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2947 * MenuBackend.C (expand): fix export/view/update when there is no
2950 2002-03-27 Herbert Voss <voss@lyx.org>
2952 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2955 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2957 * bufferview_funcs.C (currentState): only show paragraph number
2958 for is DEVEL_VERSION is set.
2960 * lyxfunc.C (dispatch): put warning in INFO channel
2962 * MenuBackend.C (expand): translate the name of floats
2964 * FloatList.C (FloatList): mark the float names for translation
2966 * converter.C (convert): use LibScriptSearch
2968 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2970 * MenuBackend.C (defaults): fix default menu (we might as well get
2973 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2975 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2978 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2980 * lyxvc.C: reorder includes.
2982 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2984 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2987 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2989 * CutAndPaste.C: change layouts earlier on paste
2990 to avoid crashing when calling getFont()
2992 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2994 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2997 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2999 * WorkArea.C: remove 'Pending' debug message.
3001 * most files: ws cleanup
3003 * buffer.[Ch]: ws changes
3005 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3007 2002-03-21 Juergen Vigna <jug@sad.it>
3009 * tabular.C (SetMultiColumn): collapse also the contents of the
3010 cells and set the last border right. Added a Buffer const * param.
3012 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3014 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3017 2002-03-19 Juergen Vigna <jug@sad.it>
3019 * text2.C (clearSelection): reset also xsel_cache.
3021 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3022 where it needs to be called (John tells us to do so too :)
3023 (selectionLost): reset sel_cache.
3025 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3027 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3029 * text2.C (setCursorIntern): put debuging code in INSETS channel
3031 2002-03-19 André Pönitz <poenitz@gmx.net>
3033 * lyxfunc.C: tiny whitespace change
3035 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3037 * ToolbarDefaults.C (init):
3038 * LyXAction.C (init):
3040 * BufferView_pimpl.C (Dispatch):
3041 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3043 2002-03-19 Allan Rae <rae@lyx.org>
3045 * exporter.C (Export): removeAutoInsets before doing anything else.
3046 While I've just introduced a dependency on BufferView this really is
3047 the best place to clean the buffer otherwise you need to cleanup in
3048 a dozen places before calling export or cleanup in a dozen functions
3051 * converter.C (runLaTeX):
3052 (scanLog): Better handling of removeAutoInsets and screen updates.
3054 * lyxfunc.C (dispatch): small whitespace changes
3056 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3058 * WorkArea.C (C_WorkAreaEvent): return a value.
3059 (event_cb): return 1 if we handled the event, 0 otherwise.
3061 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3063 2002-03-18 Juergen Vigna <jug@sad.it>
3065 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3066 (GetAdditionalWidth): ditto.
3070 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3071 inset if we're there actually (probably not used right now but this
3072 is the direction to go for unifying code).
3073 (paste): disable code to clear the selection.
3075 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3076 inside an InsetText and move the check further up as it is in the
3079 * text2.C (pasteSelection): set a selection over the pasted text.
3081 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3083 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3084 and libgraphics to build on Cygwin.
3086 2002-03-15 Juergen Vigna <jug@sad.it>
3088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3089 inserting an Inset into the paragraph. I know this is not the best
3090 fix but we already use current_view in CutAndPaste so we will remove
3091 all of it's using at the same time.
3093 * buffer.C (sgmlError): deactivated function till it is rewritten in
3094 the right mode, now it can create problems.
3096 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3097 before accessing it.
3099 2002-03-14 Juergen Vigna <jug@sad.it>
3101 * undo_funcs.C (textHandleUndo): do the right thing when updating
3102 the inset after the undo/redo.
3104 * text2.C (setCursor): just some testcode for #44 not ready yet.
3106 * undo_funcs.C (textHandleUndo): set the next() and previous()
3107 pointers of the paragraph to 0 before deleting otherwise we have
3108 problems with the Paragraph::[destructor].
3110 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3111 on a paragraph insertion.
3113 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3115 * buffer.C (asciiParagraph): use += operator for char append to
3118 * paragraph.C (getFontSettings): compare >= not just >
3119 (highestFontInRange): ditto
3122 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3124 * paragraph.C: change several algorithm to be more appripriate for
3125 the problem domain. This is lookip in FontList and in the InsetList.
3127 2002-03-13 André Pönitz <poenitz@gmx.net>
3130 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3132 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3137 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3139 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3141 * Painter.C (display): anon helper function, adjust code for this
3143 (pixmap): remove function.
3145 * Painter.h: remove private display variable.
3147 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3149 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3151 * WorkArea.[Ch]: remove figinset_canvas cruft.
3153 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3155 * lyxtextclass.C (operator): add one item cache optimization.
3157 * bufferlist.h: doxy changes
3159 * bufferlist.C: ws changes
3161 * DepTable.[Ch] (ext_exist): place const in the right spot.
3163 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3165 (workAreaExpose): call resizeInsets when the with BufferView changes.
3166 (Dispatch): adjust for protectedBlank removal
3167 (specialChar): call updateInset if the insert went ok.
3169 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3170 specialChar instead.
3172 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3174 * BufferView.h: doxy change
3176 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3178 * lyxtextclass.C (operator[]): remove non-const version
3179 (defaultLayout): remove non-const version
3181 2002-03-12 Juergen Vigna <jug@sad.it>
3183 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3184 did resize the LyXText too.
3186 * buffer.C (readLyXformat2): set layout information on newly allocated
3189 * tabular.C (OldFormatRead): set layout information on the paragraph.
3191 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3193 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3195 2002-03-11 Juergen Vigna <jug@sad.it>
3197 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3199 (resizeCurrentBuffer): force also the insets to resize themselfes.
3200 (moveCursorUpdate): fixed up for InsetText.
3202 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3205 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3206 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3207 value of Dialogs::tooltipsEnabled().
3208 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3210 2002-03-08 Juergen Vigna <jug@sad.it>
3212 * BufferView_pimpl.C (updateInset): update inset inside inset also
3213 if it isn't inside theLockingInset().
3215 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3217 * buffer.C (asciiParagraph): redo some of the word and line length
3219 (getLists): look for Caption instead of caption.
3221 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3223 * buffer.C (Buffer): initialize niceFile to true
3226 (makeDocBookFile): make sure niceFile is true on exit
3228 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3230 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3232 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3234 * LyXSendto.C: remove.
3235 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3236 * lyx_gui.C: remove now-redundant comment.
3237 * ColorHandler.h: remove forward declaration of class WorkArea.
3238 * lyxfunc.C: remove #include "WorkArea.h".
3240 2002-03-07 Juergen Vigna <jug@sad.it>
3242 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3243 got moved away with the DEPM and also set the inset_owner always
3244 right which before could have been omitted.
3246 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3248 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3249 wanted layout is not found.
3251 2002-03-07 Juergen Vigna <jug@sad.it>
3253 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3255 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3257 * paragraph.C (breakParagraph): use default layout not layout of
3259 (Paragraph): clear ParagraphParameters.
3261 2002-03-06 Juergen Vigna <jug@sad.it>
3263 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3264 otherwise it would not be a valid lenght. Fixed a special case in
3265 the minipage compatibility read where we end the document with a
3268 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3269 was set as it could be 0 for InsetTexts first entry.
3271 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3273 * paragraph.C (writeFile): if layout is empty write out
3274 defaultLayoutName().
3276 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3277 file without named layout we set layout to defaultLayoutName().
3279 2002-03-06 Juergen Vigna <jug@sad.it>
3281 * CutAndPaste.C (copySelection): set layout for new paragraph.
3283 * text.C (prepareToPrint): leave ERT inset left aligned
3284 (leftMargin): don't indent paragraphs inside ERT insets
3286 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3288 * paragraph.C (breakParagraph): dont call clear do the work manually
3290 * paragraph.[Ch] (clear): remove function
3292 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3294 * paragraph.C (Paragraph): dont call clear, the work has already
3297 * lyxtextclass.C (operator): assert if n is empty
3299 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3300 work manually instead.
3302 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3304 * BufferView_pimpl.C: protect selectionLost against text == 0
3306 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3308 * text.C (breakParagraph): fix a setting layout to '0' problem.
3310 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3312 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3313 final location of file, for the included files, and graphics.
3315 2002-03-05 Juergen Vigna <jug@sad.it>
3317 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3319 2002-03-04 Juergen Vigna <jug@sad.it>
3321 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3323 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3324 last column of multicolumn cells.
3325 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3327 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3329 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3330 file if it doesn't go to a temporary file.
3332 * buffer.C (sgmlOpenTag):
3333 (sgmlCloseTag): remove extra newline insertion.
3335 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3337 * text.C (getRowNearY): comment out debug msg
3339 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3341 * text2.C: first -> first_y
3343 * text.C (getRowNearY): add some attemts at a possible
3344 optimization, not working.
3346 * tabular.[Ch]: add BufferParams to several function so that newly
3347 created paragraph can be initialized to he default layotu for the
3350 * tabular-old.C (ReadOld): add buf->params to call of Init
3352 * screen.C: rename text->first to text->first_y
3354 * paragraph.C (breakParagraph): always set layout in the broken
3357 * lyxtextclass.C (Read): remove lowercase
3360 (delete_layout): ditto
3362 * lyxtext.h: rename first -> first_y
3364 * lyxlayout.C (Read): remove lowercase
3367 (obsoleted_by): ditto
3369 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3371 * buffer.C (insertErtContents): add params are to InsetERT
3372 (parseSingleLyXformat2Token): add code to check if a paragraphs
3373 layout really exist.
3374 (parseSingleLyXformat2Token): add params to several inset
3376 (asciiParagraph): remove lowercase, do the layout comparisons with
3379 * BufferView_pimpl.C (cursorNext): first -> first_y
3380 (resizeCurrentBuffer): first -> first_y
3381 (updateScrollbar): first -> first_y
3382 (scrollCB): first -> first_y
3383 (workAreaMotionNotify): first -> first_y
3384 (workAreaButtonPress): first -> first_y
3385 (checkInsetHit): first -> first_y
3386 (cursorPrevious): first -> first_y
3387 (cursorNext): first -> first_y
3388 (Dispatch): add buffer_->params to severl inset contructors
3390 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3392 * lyxlayout.C (Read): remove some debug info that I forgot.
3394 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3395 clean up the code slightly.
3396 (makeLinuxDocFile): ditto
3397 (makeDocBookFile): ditto
3399 * text2.C: layout as string
3401 * text.C: layout as string
3403 * paragraph_pimpl.C: layout as string
3405 * paragraph.[Ch]: layout as string
3407 * lyxtextclasslist.[Ch]: layout as string
3409 * lyxtextclass.[Ch]: layout as string
3411 * lyxtext.h: layout as string
3413 * lyxlayout.[Ch]: layout as string
3415 * lyx_cb.C: layout as string
3417 * bufferview_funcs.C: layout as string
3419 * bufferparams.C: layout as string
3421 * buffer.C: layout as string
3423 * LyXView.[Ch]: layout as string
3425 * LaTeXFeatures.[Ch]: layout as string
3427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3429 * BufferView_pimpl.C: change current_layout to string, remove
3434 (workAreaButtonRelease): layout as string
3436 * BufferView2.C (unlockInset): adjust
3438 * vspace.C (asLatexCommand): use an explict temp variable.
3440 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3442 * Makefile.am: use FRONTEND_*
3444 2002-03-01 Juergen Vigna <jug@sad.it>
3446 * tabular.C (SetWidthOfMulticolCell): changed to something better
3447 I hope but still work in progress.
3448 (recalculateMulticolumnsOfColumn): renamed function from
3449 recalculateMulticolCells as it is more appropriate now.
3450 (SetWidthOfCell): calculate multicols better.
3452 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3454 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3456 * lyxfunc.C (processKeySym): print sequence also if it is
3457 `deleted' (complete)
3459 * kbsequence.C (print): print sequence even if it is deleted
3460 (complete would be a better word, actually).
3462 * lyxfunc.C (dispatch): print complete options after a prefix key
3464 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3466 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3468 * text2.C (setCharFont): eliminate setCharFont code duplication.
3470 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3472 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3473 LFUN_TABULAR_FEATURE (bug #177)
3475 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3477 * Makefile.am: remove figure.h
3479 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3481 * Bufferview_pimpl.C:
3493 * text2.C: remove #include "lyx_gui_misc.h".
3495 * LaTeX.C: added #include <cstdio>
3497 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3499 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3500 that the paragraph following this one can have.
3502 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3504 * vspace.C (asLatexCommand): fix bogus gcc warning
3506 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3508 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3510 * text2.C (setLayout): get rid of redundant code
3512 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3514 * text2.C (incDepth): make sure depth cannot be increased beyond
3517 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3519 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3520 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3522 * PainterBase.h (image):
3523 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3526 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3530 * BufferView_pimpl.C:
3531 * BufferView_pimpl.h:
3551 * sp_spell.C: remove fig inset, and the crap house of
3552 cards that follows it
3554 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3560 * nt_defines.h: move .h into support/
3562 * vms_defines.h: remove
3564 * WorkArea.C: add space in debug output
3568 * buffer.C: add WITH_WARNINGS
3572 * bufferlist.C: s/retrive/retrieve/, add docs
3583 * lyxgui.C: add ID to X error handler
3585 * lyxtestclass.c: fix typo
3587 2002-02-26 Juergen Vigna <jug@sad.it>
3589 * tabular_funcs.C (write_attribute): changed so that some default
3590 attributes are not written at all.
3591 (getTokenValue): set default values before trying to read the
3592 value so we have the return value always set as default if we don't
3593 find the token we search for.
3595 * tabular.C (Write): write bools as bools not as strings!
3597 2002-02-22 Juergen Vigna <jug@sad.it>
3599 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3600 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3602 * text.C (leftMargin): don't add an indent for paragraphs inside
3603 tabular cells (fix #208).
3605 2002-02-21 José Matos <jamatos@fep.up.pt>
3607 * tabular.C (docBook): fixed support for long tables.
3609 2002-02-20 Juergen Vigna <jug@sad.it>
3611 * text2.C (getFont): get the drawing font of the Inset if this
3612 paragraph is inside an inset (only important for InsetERT for now).
3614 * buffer.C (insertErtContents): use new lanugage params in ERT
3617 * CutAndPaste.C: commenting out seemingly uneeded code.
3619 2002-02-19 Allan Rae <rae@lyx.org>
3621 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3622 Iterators might be simple to use but they also get invalidated.
3623 (removeAutoInsets): renamed saved cursor tracking variables and added
3624 some comments to clarify what everything does.
3626 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3633 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3634 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3637 * vc-backend.h: remove #include "support/syscall.h"
3641 * converter.C: rearrange #includes in Lars' approved fashion.
3643 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3644 forward declare class Timeout in the header file.
3646 * XFormsView.C: changes due to the above.
3648 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3651 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3652 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3654 2002-02-18 José Matos <jamatos@fep.up.pt>
3656 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3659 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3661 * a lot of small ws changes
3662 * add a lot of using std::XXX
3663 * use std construcs some places where approp.
3664 * use some exisint stuff from lyxfunctional where approp.
3665 * Make file changes to use partial linking (lets test this now...)
3667 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3671 remove #include "support/syscontr.h" as it's redundant. Always has been.
3679 change Systemcalls::System to Systemcalls::Wait and
3680 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3681 No change of functionality, just reflects the stripped down Systemcalls
3684 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3686 * debug.[Ch]: add a GRAPHICS type to the enum.
3688 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3690 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3692 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3695 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3697 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3698 match the changes below.
3700 * text2.C (toggleInset): if there is not editable inset at cursor
3701 position, try to see if cursor is _inside_ a collapsable inset
3704 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3706 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3707 document menu has a nice checkbox
3709 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3711 * lyxlength.C (asLatexString): change PW to output as percent of
3714 * lengthcommon.C: change '%' to 't%'
3716 * lyxfunc.C (dispatch): a few comments from Martin
3718 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3722 * BufferView_pimpl.h:
3723 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3726 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3728 * vspace.C (inPixels): fix compiler warning
3730 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3732 * lyxfunc.C (getStatus): fix status message for disabled commands.
3734 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3736 * BufferView_pimpl.C: fix crash on close buffer
3737 during selection (#227)
3739 2002-01-27 Herbert Voss <voss@lyx.org>
3741 * buffer.C: link old Figure to new graphic inset
3743 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3745 * FontLoader.C (getFontinfo): Change the latex font names in order
3746 to match the names of type1inst.
3748 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3750 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3752 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3755 (remove_files_with_extension): ditto
3756 (remove_file): ditto
3759 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3760 document is smaller than the work area height. Do not initialize
3761 static variables to 0.
3763 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3765 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3767 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3768 LFUN_LAYOUT_PARAGRAPHS.
3770 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3771 tabular. It is possible to provide a possible cell, which will
3772 typically be the actcell from the corresponding insettabular
3774 * lyxfunc.C (getStatus): small cleanup; disable
3775 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3778 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3780 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3782 * paragraph.C (startTeXParParams):
3783 (endTeXParParams): new methods. The LaTeX code to
3784 start/end paragraph formatting
3785 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3786 empty (fixes bug #200)
3788 * vspace.C (inPixels): adapt to the change below
3789 (inPixels): [later] more cleanups (remove unused variables)
3791 * lyxlength.C (inPixels): change to use a width and a height as
3794 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3797 Replaced with \paperwidth
3799 * DepTable.C (insert): add std:: qualifier
3801 2002-01-18 Allan Rae <rae@lyx.org>
3803 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3806 * text.C (drawInset): Turned out I didn't know enough about how
3807 rebreaking worked. This fixes most of the redraw problems. I see
3808 an occasional cursor trail when a line is broken now and the cursor
3809 placement can seem out by a few pixels also after a rebreak.
3811 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3813 * buffer.C (parseSingleLyXformat2Token): update because minipage
3814 width is now a LyXLength
3816 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3818 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3821 2002-01-17 Juergen Vigna <jug@sad.it>
3823 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3825 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3826 is set correctly and the inset is updated correctly.
3828 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3830 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3831 the beginning of the loop.
3833 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3835 * lyxrc.C: improve help for use_scalable_fonts
3837 2002-01-17 Allan Rae <rae@lyx.org>
3839 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3841 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3843 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3844 make sure to set their inset_owner to the right value (bug #171)
3846 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3849 * DepTable.C: Implement mtime checking to reduce time spent doing
3852 2002-01-16 Juergen Vigna <jug@sad.it>
3854 * tabular.C (GetAdditionalHeight): one of error fixed.
3856 * lyxrc.C (output): small fix in writing use_pspell.
3858 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3860 * sp_base.h: #include LString.h
3862 2002-01-16 Allan Rae <rae@lyx.org>
3864 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3865 Can someone check this please?
3867 * text.C (drawInset): It was possible that p.row would be removed by
3868 breakAgainOneRow upsetting a few other settings. There may be another
3869 small tweak possible by setting need_break_row = 0 when p.row has been
3870 removed but I don't know enough about the logic here.
3872 2002-01-15 Allan Rae <rae@lyx.org>
3874 * text.C (insertChar): removed conditional truism.
3876 * BufferView2.C (removeAutoInsets): More tweaks.
3877 cur_par_prev could be a stray pointer. Check for trailing empty line
3878 in case last line was cur_par and only had an error inset on it.
3880 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3882 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3885 * vc-backend.C (most methods):
3886 * exporter.C (Export):
3887 * converter.C (convert):
3889 * LyXSendto.C (SendtoApplyCB):
3890 * lyxfunc.C (dispatch):
3894 * lyx_cb.C (AutoSave):
3896 * BufferView_pimpl.C (MenuInsertLyXFile):
3897 * buffer.C (runChktex): use Buffer::filePath().
3899 * buffer.h: rename filename to filename_; rename filepath to
3900 filepath_ and make it private
3901 (filePath): new method
3903 * buffer.C (writeFile): use fileName()
3906 * lyx_main.C (init): fix starting of LyX when the binary is a
3907 link from so,ewhere else.
3909 * minibuffer.C: include <cctype> for isprint
3911 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3913 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3914 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3915 name clash with InsetCollapsable's width function.
3917 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3919 * lastfiles.C: include <iterator>
3921 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3923 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3926 * buffer.C (makeLaTeXFile): ditto.
3927 Also make loop operation more transparent.
3929 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3931 * ToolbarDefaults.C: remove trailing comma closing namespace.
3933 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3935 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3938 * trans.C (Load): comment out unused variable, allowed.
3940 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3942 * minibuffer.[Ch] (append_char): new method to recieve input from the
3943 drop-down completion browser. If a key was pressed, then recieve this
3944 char and append it to the existing string.
3945 (peek_event): modify the positioning data passed to the completion
3946 browser so that it can be placed above the minibuffer rather than below.
3947 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3949 * LyXAction.C (init): alloe error-next for readonly documents.
3951 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3954 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3956 * bufferlist.C (readFile): create the buffer _after_ checking that
3959 * lyxfunc.C (verboseDispatch): fix handling of arguments
3961 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3963 * lyxrc.C: use string::erase() instead of initializing to "".
3966 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3968 * BufferView_pimpl.h:
3969 * BufferView_pimpl.C:
3972 * text2.C: tell X when we have made a selection for copying
3974 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3976 * BufferView_pimpl.C (MenuInsertLyXFile):
3977 * lyxfunc.C (menuNew):
3979 (doImport): add shortcuts to directory buttons
3981 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3984 * lyxfunc.C (setStatusMessage):
3985 (getStatusMessage): new methods
3986 (getStatus):use setStatusMessage instead of setErrorMessage
3987 (dispatch): when function is disabled, set error message here
3988 [instead of in getStatus previously]
3990 * BufferView_pimpl.C (workAreaButtonRelease): update
3991 toolbar/menubar here too.
3993 2002-01-13 Allan Rae <rae@lyx.org>
3995 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3996 Now seems indestructible. Remaining task is to audit all other
3997 code affected by deleteEmptyParagraphMechanism. One small quirk
3998 left is that an empty document with an error in the preamble can
3999 be made to report an error but no error box appears. I don't know
4001 (removeAutoInsets): Improved comments.
4003 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4006 * Thesaurus.C: update for Aiksaurus 0.14
4008 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4010 * text2.C (firstParagraph): removed member function, all uses
4011 replaces with ownerParagraph
4012 (redoParagraphs): here
4014 (toggleAppendix): here
4015 * BufferView2.C (insertErrors): here
4016 (setCursorFromRow): here
4018 2002-01-13 Allan Rae <rae@lyx.org>
4020 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4021 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4022 There is still a way to segfault this although you may have to do this
4023 multiple times: Have an InsetERT with an unknown command in it.
4024 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4025 <down-arrow>, <Enter> again, View->DVI, BANG!
4027 * text2.C (setCursor):
4028 (deleteEmptyParagraphMechanism):
4029 * lyxtext.h (setCursor):
4030 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4031 Making use of the return value may help fix other bugs.
4033 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4035 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4037 * LyXView.C (updateMenubar): call MenuBar::update here
4038 (updateToolbar): but not here
4039 (showState): do not update toolbar/menubar
4041 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4042 should need to care about that.
4044 * lyxfunc.C (verboseDispatch): simplify a bit
4045 (getStatus): have a version which takes a pseudoaction, and
4046 another which requires a (kb_action,string).
4048 * LyXAction.C (retrieveActionArg): make it work also when action
4049 is not a pseudo-action.
4050 (getActionName): simplify a bit
4053 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4055 * lyxfunc.C (verboseDispatch): new families of methods with
4056 several ways to specify a command and a bool to indicate whether
4057 the command name and shortcut should be displayed in minibuffer
4058 (eventually, we could extend that to a finer bitmask like
4059 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4060 (dispatch): the pristine dispatch command which just, well,
4061 dispatchs! Note it still sets its result to minibuffer; I'm not
4064 * lyxfunc.h: remove setHintMessage
4066 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4068 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4070 * BufferView_pimpl.C (specialChar): delete new inset if we have
4071 not been able to insert it.
4073 * kbmap.C: revert to using int instead of kb_action, since all we
4074 are dealing with is pseudo-actions.
4076 * LyXAction.C (searchActionArg): change to return int instead of
4077 kb_action, since the result is a pseudoaction.
4079 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4081 * buffer.C (insertErtContents): Fix (partially) the font bug.
4083 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4085 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4086 as the other one is broken on my machine!
4088 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4091 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4093 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4095 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4096 reflect their actual use. Provide compatibility code for older lyxrc
4099 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4101 change names of popup font variables in line with the changes to lyxrc.C
4103 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4105 * buffer.C (asciiParagraph): avoid outputing a word twice after
4108 * lyxrc.C (getDescription): document that document_path and
4109 template_path can be empty.
4111 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4113 * LaTeXFeatures.C (getMacros):
4114 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4116 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4118 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4120 (getPackages): rename feature "floats" to "float". Use an array to
4121 iterate over 'simple' features (i.e. just a \usepackage). Add
4122 handling of "amsmath" (renamed from "amsstyle").
4124 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4126 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4129 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4131 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4132 FuncStaus::FuncStatus & FuncStaus::some_method().
4134 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4136 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4137 of the func_satus stuff. Edited and massaged in various ways by
4140 * lyxfunc.C (getStatus): use FuncStatus
4142 2002-01-08 Juergen Vigna <jug@sad.it>
4144 * text.C (nextBreakPoint): use function Inset::isChar().
4146 * paragraph.C (TeXOnePar): use function
4147 Inset::forceDefaultParagraphs.
4149 * buffer.C (latexParagraphs): use function
4150 Inset::forceDefaultParagraphs.
4152 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4154 * lyx_gui.C (init): set the style of the menu popups to
4155 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4157 2002-01-07 Juergen Vigna <jug@sad.it>
4159 * text.C (setHeightOfRow): small fix
4160 (prepareToPrint): don't look at alignment if we don't have the place
4163 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4165 * box.C: New file. Move the Box methods and functions out of box.h,
4166 following Lars' suggestion.
4168 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4170 * box.h: #include "support/LOstream.h", needed for inlined function.
4173 * lyxtextclasslist.C: added some using std declarations.
4175 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4177 * box.h: make signed dimensions to allow insets wider than
4178 the screen (bug #162)
4180 * BufferView_pimpl.C: add some insetHit debug
4182 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4184 * vc-backend.C: add FIXME
4186 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4188 * lyxfunc.C (getStatus): enable code for showing math font status
4191 2002-01-07 Juergen Vigna <jug@sad.it>
4193 * text.C (nextBreakPoint): removed debug output not needed anymore.
4195 2002-01-06 Juergen Vigna <jug@sad.it>
4197 * text.C (nextBreakPoint): fixed up this function we had this bug
4198 since ever but now hopefully we break row better.
4199 (insertChar): we have to check if an inset is the next char as it
4200 could now happen that a large inset is causing a break.
4202 2002-01-05 Juergen Vigna <jug@sad.it>
4204 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4205 if it doesn't like to be drawed.
4207 2002-01-04 Juergen Vigna <jug@sad.it>
4209 * BufferView2.C (lockInset): forgot to set a cursor.
4211 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4213 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4218 * form_maths_panel.C:
4219 * form_maths_panel.h:
4220 * form_maths_panel.fd: implemented sub- and super- buttons in math
4223 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4224 (or ^ space) to be used as in TeX (req'd by André).
4226 * lyxfunc.C: Allow ^ and _ again to be used both as
4227 super/subscript (mathed) and as themselves (in text).
4229 2002-01-03 Allan Rae <rae@lyx.org>
4231 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4232 "LyX" or the filename of the current buffer if it has one. This is a
4233 modified form of John Levon's patch.
4235 * XFormsView.C (setWindowTitle): also set icon title.
4237 * LyXView.h (setWindowTitle): signature changed.
4238 * XFormsView.h (setWindowTitle): ditto.
4240 2002-01-02 Juergen Vigna <jug@sad.it>
4242 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4244 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4246 * screen.C (topCursorVisible): introduce a temp var for
4247 text->cursor.row(), handle the case where this row is null. (kindo
4250 * text2.C (setCursor): add a couple of asserts.
4252 * paragraph.h (inset_iterator): add -> operator
4254 * paragraph.[Ch] (autoDeleteInsets): remove member function
4256 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4257 cursor pos correctly and handle inset deletion by itself.
4258 (insertErrors): move iterator declaration out of for expression
4260 * lyxtextclass.C: add <algorithm>
4262 * Makefile.am: added the new files to sources, removed layout.C
4264 * layout.C: removed file
4266 * layout.h: remove LYX_DUMMY_LAYOUT
4268 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4272 * lyxtextclass.[Ch]:
4273 * lyxtextclasslist.[Ch]: new files
4275 * include order changes to a lot of files, also changes because of
4278 2001-12-27 Juergen Vigna <jug@sad.it>
4280 * buffer.C (asciiParagraph): more fixes.
4282 * tabular.C (ascii): make ascii export support export of only the
4283 data separated by a column-delimiter.
4284 (ascii): better support for ascii export.
4286 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4288 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4290 * tabular_funcs.C: use a "using std::getline" instead of the
4291 previous fix from Angus (necessary for cxx + lyxstring)
4293 2001-12-24 Juergen Vigna <jug@sad.it>
4295 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4297 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4298 problems. First check a minipage also if we have some ert-contents
4299 (not only on par->size(), second set the right depth of the paragraph
4300 on the relink to the root-paragraph-list!
4302 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4303 which then did not anymore update the main paragraphs on undo/redo!
4305 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4307 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4308 code. Support all font-changing funcs (even those which are not in
4309 menu currently). Support for reporting font settings in
4310 mathed (disabled until Andre provides a function on mathed's side).
4312 * func_status.h (toggle): small helper function to set toggle
4315 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4317 * tabular_funcs.C: getline -> std::getline
4319 2001-12-21 Juergen Vigna <jug@sad.it>
4321 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4322 accessed and could be 0 (I couldn't generate this but it seems
4325 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4327 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4328 * tabular_funcs.h: here and include iosfwd
4330 2001-12-20 Juergen Vigna <jug@sad.it>
4332 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4333 inside inset but undo_par was.
4335 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4337 * Thesaurus.C: always include <config.h> in sources.
4341 * box.h: do not include <config.h> in header files
4343 * text.C (paintLastRow): remove unused variable
4345 * text.C (transformChar):
4347 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4350 * font.C (width): rewrite to use uppercase() instead of
4353 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4355 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4357 * lyxfind.C: clean up of find failure position change
4359 2001-12-20 Juergen Vigna <jug@sad.it>
4361 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4363 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4364 (TeXRow): added to LaTeX a single tabular row.
4365 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4366 (Latex): simplified and finally good LT-h/f support.
4367 (various_functions): just small adaptions for LT-h/f support.
4369 * tabular_funcs.[hC]: added and moved here all not classfunctions
4372 2001-12-19 Juergen Vigna <jug@sad.it>
4374 * tabular.[Ch]: better support for longtabular options (not finished
4377 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4379 * text.C (paintLastRow): use the label font instead of the font of
4380 the last character to compute the size of *_BOX. This makes more
4381 sense and avoids a crash with empty paragraphs.
4382 Use Painter::rectangle to draw EMPTY_BOX.
4384 2001-12-19 Juergen Vigna <jug@sad.it>
4386 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4387 the paragraphs if the replaced paragraph is not the first one!
4388 Tried to delete not used paragraphs but does not work yet so for
4389 now it's inside #ifdef's and by default off!
4391 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4393 * MenuBackend.C: include "lyx_main.h" instead of declaring
4394 lastfiles (actually was declared as LastFiles* instead of a
4397 2001-12-17 Juergen Vigna <jug@sad.it>
4399 * tabular.C (AppendColumn): applied John's fix
4401 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4405 * BufferView_pimpl.h:
4406 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4409 * box.h: new start of class for above
4411 * lyxfunc.C: ignore space-only minibuffer dispatches.
4412 Show the command name when it doesn't exist
4414 * minibuffer.C: don't add empty lines to the history
4416 * minibuffer.C: add a space on dropdown completion
4418 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4420 * text.C: fix line above/below drawing in insets
4422 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4424 * lyxlength.C (LyXLength): Initialize private variables.
4426 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4428 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4429 when inserting error insets.
4431 2001-12-13 Juergen Vigna <jug@sad.it>
4433 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4434 actually sometimes the before-paragraph.
4435 (setUndo): don't clear the redostack if we're not actually undoing!
4437 2001-12-06 Juergen Vigna <jug@sad.it>
4439 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4440 and fixed redoing of main paragraph, so we can use it now ;)
4442 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4444 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4446 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4449 2001-12-13 André Pönitz <poenitz@gmx.net>
4452 * undo_func.C: minor cleanup
4454 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4456 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4457 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4458 font in urw-fonts package which is marked as -urw-fontspecific and
4459 does not work (incidentally, changing the encoding in the
4460 fonts.dir of this package to -adobe-fontspecific fixes the
4463 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4464 is a crash when undoing first paragraph (Juergen, please take a
4465 look). THis does not mean the undo fix is wrong, just that it
4468 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4469 the (Paragraph*) version when needed instead of duplicating the
4472 * text.C (workWidth): use Inset::parOwner to find out where the
4473 inset has been inserted. This is a huge performance gain for large
4474 documents with lots of insets. If Inset::parOwner is not set, fall
4475 back on the brute force method
4477 * paragraph_pimpl.C (insertInset):
4478 * paragraph.C (Paragraph):
4479 (cutIntoMinibuffer): set parOwner of insets when
4480 inserting/removing them
4482 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4484 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4490 * mathed/formulabase.C:
4491 * mathed/math_cursor.[Ch]:
4492 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4495 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4497 * lyxlength.[Ch] (operator!=): new function
4499 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4501 * text.C (workWidth): use Inset::parOwner to find out where the
4502 inset has been inserted. This is a huge performance gain for large
4503 documents with lots of insets. If Inset::parOwner is not set, fall
4504 back on the brute force method
4506 * paragraph_pimpl.C (insertInset):
4507 * paragraph.C (Paragraph):
4508 (cutIntoMinibuffer): set parOwner of insets when
4509 inserting/removing them
4511 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4513 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4515 * tabular-old.C (getTokenValue):
4516 * tabular.C (getTokenValue):
4517 (write_attribute): new versions for LyXLength
4518 (everywhere): adjust the use of widths
4520 * tabular.h: change the type of widths from string to LyXLength
4522 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4524 * paragraph.C: fixed missing line number count when exporting
4525 Environments to LaTeX file
4527 * buffer.C: added informational message for checking line numbers.
4529 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4531 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4532 paragraph, do the 'double space' part, but not the 'empty
4535 * text.C (workWidth): small optimization
4536 (getLengthMarkerHeight): use minimal size for negative lengths.
4538 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4540 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4542 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4544 2001-12-11 André Pönitz <poenitz@gmx.net>
4547 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4549 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4551 * text2.C: keep selection on a setFont()
4553 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4555 * lyx_cb.C: another bv->text misuse, from insert label
4557 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4560 * kbsequence.C: re-instate nmodifier mask
4562 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4564 * lyx_main.h: make lyxGUI private.
4566 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4568 * lyxfind.C: place the cursor correctly on failed search
4570 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4572 * text.C (getLengthMarkerHeight): for small heights, the arrows
4573 are not always on top/bottom of the text
4574 (drawLengthMarker): smaller arrows; take the left margin in
4575 account; draw also vfills.
4577 (paintLastRow): remove special code for vfill and standard spaces,
4578 since everything is handled in drawLengthMarker now.
4580 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4582 * buffer.C (insertErtContents): try to handle font and language
4583 interaction a bit better.g
4585 * ColorHandler.C (updateColor): change the hash to cover the whole
4586 LColor enum, ws cleanup
4587 (getGCLinepars): ditto
4588 (getGCLinepars): only lookup in the linecache once.
4590 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4592 * iterators.C (operator++): Make the iterator more robust
4594 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4598 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4601 * text.C: better added space drawing
4603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4606 * BufferView2.C: fix layout combo update on inset unlock
4608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4610 * Makefile.am: don't compile unused files
4612 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4616 * LyXAction.C: remove old LFUN_LAYOUTNO
4618 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4620 * paragraph_pimpl.h:
4621 * paragraph_pimpl.C: isTextAt() doesn't need font param
4623 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4626 * lyxlex.C: little cleanup
4628 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4630 * BufferView_pimpl.C: fix insertAscii for insets
4632 2001-12-05 Juergen Vigna <jug@sad.it>
4634 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4635 set the right font on the "multi" paragraph paste!
4637 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4643 * lyxlength.C: remove out-commented code.
4659 * vc-backend.C: change "while(" to "while ("
4661 * lyxlength.[Ch]: add zero function to check if length is zero or
4663 * lyxgluelength.C: use it
4665 2001-12-05 Allan Rae <rae@lyx.org>
4667 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4668 Works for 2.95.3, from what I understand of Garst's reports this should
4669 work for other g++ versions. We're screwed if the abs(int) definition
4670 changed between bugfix releases of gcc.
4672 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4674 * text.C: fix chapter label offset !
4676 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4679 * text.C: fix hfill at end of line, clean up
4681 2001-12-04 Juergen Vigna <jug@sad.it>
4683 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4684 that we force an update of the inset and it's owners if neccessary.
4686 2001-12-03 Juergen Vigna <jug@sad.it>
4688 * text.C (rowLast): simplified code
4690 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4692 * lyxfunc.C: fix show options on timeout
4694 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4696 * screen.C (topCursorVisible): scroll half a page when the cursor
4697 reached top of bottom of screen
4699 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4701 * minibuffer.C: deactivate on loss of focus
4703 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4705 * vspace.[Ch] (operator!=): add operator.
4707 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4709 * BufferView_pimpl.C: refuse to open an inset when
4710 there's a selection.
4712 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4714 * BufferView_pimpl.C: allow to click on RHS of full row insets
4716 2001-11-30 Juergen Vigna <jug@sad.it>
4718 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4719 insets for undo reasons.
4721 2001-11-28 André Pönitz <poenitz@gmx.net>
4723 * vspace.[Ch]: cosmetical changes
4725 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4735 * kbsequence.C: part re-write of old kb code
4738 * WorkArea.C: remove Lgb_bug_find_hack
4740 2001-11-30 José Matos <jamatos@fep.up.pt>
4742 * buffer.C (makeDocBookFile): add a comment to point a hack.
4743 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4744 Fixed a double write of labels.
4746 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4749 * LaTeX.h Fixed bug in LaTeX class where it would not
4750 re-run latex if no depfiles were changed, but the .dvi was removed.
4752 2001-11-28 André Pönitz <poenitz@gmx.net>
4754 * all the files from the change on 2001/11/26:
4755 use lyx::layout_type instead of LyXTextClass::size_type
4756 use lyx::textclass_type instead of LyXTextClassList::size_type
4758 2001-11-29 Juergen Vigna <jug@sad.it>
4760 * text.C: added support for paragraph::isFreeSpacing()
4762 * buffer.C: same as above
4764 * paragraph.h: inserted isFreeSpacing() function to enable
4765 FreeSpacing inside InsetERT.
4767 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4768 of the paragraph's in the cut/copy buffer to 0!
4770 * text2.C (removeRow): remove the assert as it can!
4772 * lyxtext.h: added helper function firstRow returning firstrow and
4773 made firstrow private again.
4775 * BufferView2.C (lockInset): don't relock if we're already locked!
4777 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4779 (removeRow): added Assert::(firstrow)
4781 * debug.C: forgot to add INSETTEXT here.
4783 2001-11-28 Juergen Vigna <jug@sad.it>
4785 * sp_spell.C (initialize): changed error text to more general
4786 spellchecker command use (not only ispell!)
4788 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4790 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4792 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4794 * vspace.C: initialise lyxgluelength on failure
4796 2001-11-28 Allan Rae <rae@lyx.org>
4798 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4799 declaration & definition that looks like a function declaration.
4801 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4803 * BufferView2.C (copy):
4804 (copyEnvironment): do not clear the selection when doing a copy.
4806 * text.C (paintFirstRow): compilation fix
4808 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4810 * tabular.C (Latex): correct line count when writing latex.
4812 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4814 * paragraph_pimpl.h:
4815 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4818 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4822 * LColor.C: change vfillline->added_space
4824 * text.C: add markers and text for added space
4826 * vspace.C: fix comment
4828 2001-11-28 André Pönitz <poenitz@gmx.net>
4830 * paragraph.C: whitespace changes
4831 * all the other files from the change on 2001/11/26:
4832 change *::pos_type into lyx::pos_type
4834 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4836 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4837 language of the document when inserting error insets.
4839 2001-11-26 André Pönitz <poenitz@gmx.net>
4841 * BufferView_pimpl.[Ch]:
4849 * paragraph_pimpl.[Ch]:
4852 * text2.C: reduce header dependencies, introduce type for positions
4854 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4856 * <various>: change to use Alert.h
4858 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4860 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4861 when encountering an unknown token.
4862 (readLyXformat2): Show an error message if there were unknown tokens.
4864 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4867 * BufferView_pimpl.C:
4871 * text2.C: use par->isInset()
4873 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4875 * paragraph_pimpl.h:
4876 * paragraph_pimpl.C: cleanup
4878 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4880 * text2.C (removeRow):
4881 * text.C (setHeightOfRow): remove useless (and costly) call to
4884 2001-11-20 Allan Rae <rae@lyx.org>
4886 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4887 Now need Inset*::checkInsertChar() to return true for appropriate
4888 cases so that the characters in the minibuffer will actually be
4891 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4893 * text.C: change the order of the includes.
4894 (workWidth): initialize it at once.
4895 (workWidth): make maxw unsigned
4896 (setHeightOfRow): remove unused variable (inset)
4897 (selectSelectedWord): remove unused variable (inset)
4898 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4900 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4902 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4903 server is not running.
4905 (closeConnection): add debug info when server is disabled.
4907 * ColorHandler.C (getGCForeground): send debug message to GUI
4910 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4912 * kbmap.C (bind): modify because return conventions of
4913 kb_sequence::parse have changed.
4915 * kbsequence.C (parse): only ignore spaces and not any stupid
4916 control character. This avoids tests like s[i] <= ' ', which are
4917 guaranteed to fail with 8bit characters and signed chars.
4918 Change return code to string::npos when there have been no error
4919 (0 was a bad idea when error is at first character)
4921 2001-11-14 José Matos <jamatos@fep.up.pt>
4924 * buffer.C (simpleDocBookOnePar): removed unused argument.
4926 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4928 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4929 insets which are part of a word. Paragraph::isLetter takes care of
4930 that now. Use Paragraph::isInset to identify insets.
4931 (selectSelectedWord): do not test for hyphenation break.
4933 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4934 that protected spaces are considered as spaces.
4936 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4939 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4942 * lyxserver.C: fix it. and small cleanup.
4944 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4946 * BufferView_pimpl.C: use inline helpers
4949 * LaTeXFeatures.C: fix typos
4952 * Spacing.C: move spacing_string into class
4954 * ToolbarDefaults.C: move stuff into namespace anon
4956 * layout.h: update enum
4958 * lyxfunc.C: use better debug
4960 * minibuffer.h: fix typo
4964 * WorkArea.C: add and use Debug::WORKAREA
4968 * text2.C: code re-organisation, inline helpers
4970 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4972 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4973 std::vector.empty().
4975 2001-11-09 Allan Rae <rae@lyx.org>
4977 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4978 '\n's after tables. Tabular and ERT inset work now makes this no
4981 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4984 * minibuffer.C: fix crash, improve drop-down completion
4986 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4989 * lyxserver.C: invalidate fd's when doing endPipe()
4991 2001-11-08 José Matos <jamatos@fep.up.pt>
4993 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4994 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4997 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4999 2001-11-07 José Matos <jamatos@fep.up.pt>
5002 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5005 * buffer.C (sgmlOpenTag):
5006 * buffer.C (sgmlCloseTag): removed debug info.
5008 * buffer.h (sgmlOpenTag):
5009 * buffer.h (sgmlCloseTag): made public.
5011 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5013 * buffer.C (saveParamsAsDefaults):
5014 * lyx_cb.C (MenuLayoutSave): remove
5016 * LyXAction.C (init):
5018 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5020 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5022 * buffer.C (setPaperStuff): removed from here...
5024 * bufferparams.C (setPaperStuff): ... and moved there.
5026 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5030 * XFormsView.C: add support for drop-down completion
5032 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5034 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5037 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5039 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5042 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5044 * lyx_main.C: change ref to known bugs
5046 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5048 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5049 to work around older babel problems.
5051 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5053 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5055 2001-10-24 Juergen Vigna <jug@sad.it>
5057 * tabular-old.C (ReadOld): below variable changes reflected.
5059 * tabular.[Ch]: added ltType struct for longtable header/footer
5060 defines and changed all instances where they are used. Added
5061 future support for double top/bottom rows.
5063 2001-10-24 José Matos <jamatos@fep.up.pt>
5065 * buffer.h (docbookHandleCaption):
5066 * buffer.C (docbookHandleCaption): removed unused function.
5067 (makeDocBookFile): moved docbook supported version to v4.1.
5069 2001-10-24 José Matos <jamatos@fep.up.pt>
5072 * tabular.C (docbookRow): new function to export docbook code of a row.
5073 (DocBook): now honors the longtable flags.
5075 2001-10-23 José Matos <jamatos@fep.up.pt>
5078 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5079 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5081 * buffer.C (makeLinuxDocFile):
5082 (makeDocBookFile): reworked the preamble, more clean, and with
5083 support for lyx defined entities. Changed the document declaration
5084 to be more XML friendly.
5086 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5087 if we need to output XML that should be done with a filter.
5089 2001-10-22 Juergen Vigna <jug@sad.it>
5091 * sp_pspell.h (class PSpell): add alive function needed in the
5092 controller to see if the spellchecker could be started.
5094 2001-10-22 Juergen Vigna <jug@sad.it>
5096 * buffer.C (insertStringAsLines): modify the font for inserting
5097 chars in certain conditions by calling checkInsertChar(font).
5099 2001-10-19 Juergen Vigna <jug@sad.it>
5101 * text.C (workWidth): use getRow instead of wrong algorithm.
5102 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5104 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5109 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5111 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5113 * text.C (workWidth): do not search for the exact row when
5114 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5115 optimization for big documents.
5117 2001-10-18 Juergen Vigna <jug@sad.it>
5119 * text.C (workWidth): new function with added Inset * parameter.
5121 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5123 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5125 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5126 change return type of getColumnNearX.
5129 * text.C (changeRegionCase): use uppercase/lowercase instead of
5132 (rightMargin): simplify code by factoring out the uses of
5137 (appendParagraph): use Paragraph::size_type
5139 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5141 * vspace.C (asLatexString): add a missing break
5143 2001-10-15 Herbert Voss <voss@perce.de>
5145 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5147 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5149 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5152 2001-10-10 André Pönitz <poenitz@gmx.net>
5154 * lyxfunc.C: removed greek_kb_flag.
5156 2001-10-10 Herbert Voss <voss@perce.de>
5158 * lyx_main.C: delete global string help_lyxdir.
5160 2001-10-09 Herbert Voss <voss@perce.de>
5162 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5164 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5166 * lyx_main.C: added global string help_lyxdir.
5168 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5170 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5172 * lyxrc.C (set_font_norm_type): support iso8859-4
5174 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5176 * LaTeX.C (deplog): add another regex for MikTeX
5178 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5180 * lyxrc.C (set_font_norm_type): support iso8859-3
5182 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5184 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5186 * LaTeXFeatures.C: remove special case of french and index
5188 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5189 before \begin{document}). This solves several incompatibilities.
5191 2001-10-03 Garst Reese <reese@isn.net>
5193 * lyx_cb.C: change CheckTex error msg.
5195 2001-10-03 José Matos <jamatos@fep.up.pt>
5197 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5199 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5201 * .cvsignore: update
5203 * lyx_main.C (commandLineVersionInfo): use new style version info.
5205 * buffer.C (writeFile):
5208 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5210 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5212 * version.h: update to use stuff in version.C
5214 * version.C.in: new file. Contains version information determined
5215 at compile time. This is a merging of version.h and
5218 2001-10-03 Juergen Vigna <jug@sad.it>
5220 * BufferView_pimpl.C (update): don't change "dirty" status in
5223 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5225 * WorkArea.C (c-tor): re-position version string slightly.
5227 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5229 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5230 revert to previous code.
5232 WorkArea.[Ch]: (show, destroySplash): methods removed.
5234 WorkArea.C: rework code so that it's an amalgam of the codes before and
5235 after the splash screen was moved to WorkArea.
5237 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5240 * vspace.C (inPixels):
5243 * buffer.C (insertStringAsLines):
5244 (asciiParagraph): fix types to be large enough
5246 * lyxlex_pimpl.h: change member status from short to int
5248 * layout.h: fix type of endlabeltype
5251 * kbsequence.C (parse): change return type to string::size_type
5253 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5256 * Bullet.C (bulletSize):
5257 (bulletEntry): do not use short ints as parameters
5259 * BufferView2.C (insertLyXFile): change a char to an int.
5261 * WorkArea.C (WorkArea): remove unneeded floats in computation
5263 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5265 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5267 * paragraph.C (asString): Do not ignore newline/hfill chars when
5268 copying to the clipboard.
5270 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5272 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5273 after a multi-line inset.
5275 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5277 * paragraph.C (validate): Set NeedLyXFootnoteCode
5279 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5281 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5282 and decrease-error to decrease.
5284 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5286 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5287 it more readable (should be equivalent)
5289 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5291 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5293 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5295 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5296 of a cursor (row, etc.) after a character has been deleted
5297 (deleteEmptyParagraphMechanism): call the method above on _all_
5298 cursors held by the LyXText when a double space has been
5301 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5303 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5305 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5307 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5308 background. Use greyOut() and the new show() methods to toggle between
5309 the foreground and background. Add code to remove the splash after
5310 its initial showing.
5312 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5313 (create_forms): no longer call Dialogs::showSplash.
5315 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5317 * .cvsignore: add version_info.h
5319 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5321 * version_info.h.in: new file
5323 * Makefile.am: add version_info.h.in
5325 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5326 version_info.h instead of VERSION_INFO
5328 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5330 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5331 The ERT inset now returns string().
5333 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5335 * lyxtext.h, text.C (selectNextWord): renamed as
5336 selectNextWordToSpellcheck.
5338 * text.C (selectNextWordToSpellcheck): Modified to not select
5339 words inside an ERT inset.
5341 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5343 * lyx_cb.C (MenuLayoutSave): change a bit the question
5345 * sp_base.h: include <sys/types.h>
5347 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5349 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5351 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5353 * several files: fix typos in user-visible strings
5355 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5357 * text2.C (pasteSelection): do not set the selection, since it
5358 will be cleared later. Actually, the intent was to fix the way the
5359 selection was set, but I figured rmoving the code was just as good.
5361 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5363 * FontLoader.C (available): Check if font is available without
5366 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5368 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5370 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5372 * lyxrc.[Ch]: added display_graphics variable and associated code.
5374 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5376 * bufferparams.C (hasClassDefaults): new method. Returns true if
5377 the buffer parameters correspond to known class defaults
5379 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5381 * XFormsView.C (show): set minimum size to the main window.
5383 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5385 * text2.C (copySelection):
5387 * lyxfind.C (LyXReplace):
5388 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5389 LyXText::selectionAsString.
5391 * paragraph.C (asString): add "label" argument to the second form
5393 * text2.C (selectionAsString): add "label" argument and pass it to
5394 Paragraph::asString.
5396 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5398 * lyx_main.C (commandLineHelp): remove version information
5400 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5402 * lyx_main.C: add -version commandline option
5404 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5406 * paragraph.h: make the optional constructor arg required instead.
5407 some modifications to other files because of this.
5409 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5411 * lyxserver.C (C_LyXComm_callback): make it static
5413 * lyx_main.C (error_handler): make it static
5415 * lyx_gui.C (LyX_XErrHandler): make it static
5417 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5419 * WorkArea.C: make the extern "C" methods static.
5421 * Makefile.am (lyx_LDADD): simplify
5423 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5425 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5426 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5428 * LyXAction.C (init):
5429 * lyxfunc.C (dispatch): associated code removal.
5431 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5433 * lyxfont.h (isSymbolFont): shut off warning
5435 * text.C (setHeightOfRow):
5436 (getVisibleRow): fix crash with empty paragraphs which have a
5439 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5441 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5444 2001-09-04 José Matos <jamatos@fep.up.pt>
5447 * tabular.C (docbook): rename docBook method to docbook.
5449 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5451 * Makefile.am: add dependencies to main.o.
5453 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5455 * FontLoader.C (available): Return false if !lyxrc.use_gui
5457 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5459 * FontInfo.C (query):
5460 * converter.C (view):
5461 * importer.C (Import):
5462 * exporter.C (Export): Can not -> cannot.
5464 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5466 * BufferView_pimpl.C: allow to create index inset even if
5469 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5471 * buffer.C (getLists): replace boost::tie code with an explicit pair
5472 as boost::tie can break some compilers.
5474 * iterators.h: Added a std:: declaration to the return type of
5477 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5479 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5482 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5484 * iterators.[Ch]: New files. Provide paragraph iterators.
5486 * buffer.C (changeLanguage): Use paragraph iterators.
5487 (isMultiLingual): ditto
5489 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5491 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5493 * FontLoader.C: Support for cmr font.
5495 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5497 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5498 (available): New method.
5500 * FontInfo.C (getFontname): Use scalable fonts even when
5501 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5504 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5506 * converter.C (Formats::view): reverted! Incorrect fix.
5508 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5510 * converter.C (Formats::view): only output the -paper option
5511 if the dvi viewer is xdvi, thereby fixing bug #233429.
5513 2001-08-23 Herbert Voss <voss@perce>
5515 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5517 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5519 * Spacing.h (Spacing): Set space to Default on in the default
5522 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5524 * vc-backend.h (RCS::versionString): add RCS to version
5525 (CVS::versionString): add CVS to version
5527 * vc-backend.C (scanMaster): do not add CVS to version.
5528 (scanMaster): do not add RCS to version
5530 * lyxvc.C (versionString): new method
5532 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5534 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5536 * Spacing.C (set): initialize fval
5538 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5540 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5543 2001-08-16 Juergen Vigna <jug@sad.it>
5545 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5547 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5549 * BufferView_pimpl.C:
5552 * text2.C: setParagraph takes linespacing now
5554 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5556 * LyxAction.C: add internal LFUN_CITATION_INSERT
5558 * LyXView.C: actually apply fix
5560 * bufferlist.C: fix open non-existent file
5562 * lyxfind.C: fix indentation
5564 * lyxfunc.C: remove unneeded assert, fix typo
5566 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5568 * MenuBackend.C: use "Floatname List"
5570 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5572 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5573 when converting LaTeX layout to insetERT.
5574 Generate a non-collapsed float when reading old float
5576 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5578 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5581 2001-08-13 Juergen Vigna <jug@sad.it>
5583 * text.C (fill): return 0 instead of 20 as this seems to be the more
5586 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5588 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5591 2001-08-13 Juergen Vigna <jug@sad.it>
5593 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5595 (SearchBackward): comment out the unlocking of the inset_owner this
5596 should not be needed!
5598 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5600 * Many files: Remove inherit_language, and add latex_language
5602 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5605 2001-08-10 Juergen Vigna <jug@sad.it>
5607 * text.C (prepareToPrint): fixed hfill-width in draw!
5609 * BufferView2.C (selectLastWord): save the selection cursor as this
5610 now is cleared in the function LyXText::clearSelection!
5612 2001-08-08 Juergen Vigna <jug@sad.it>
5614 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5615 BACKSPACE type functions.
5617 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5618 is only cutted from the document but not put in the cut-buffer, where
5619 still the old stuff should be.
5621 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5623 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5625 * tabular.C (SetWidthOfCell): fixed special case where the width
5627 (LeftLine): handle '|' in align_special.
5629 (LeftAlreadyDrawed): ditto
5630 (SetWidthOfCell): ditto
5632 2001-08-07 Juergen Vigna <jug@sad.it>
5634 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5636 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5638 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5639 * lyxlex.[hC]: ditto
5641 2001-08-06 Juergen Vigna <jug@sad.it>
5643 * text.C (getVisibleRow): fix up row clearing a bit.
5645 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5647 * minibuffer.C: make sure the X server sees the changes in the input.
5649 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5651 * paragraph.C (getFont): split into...
5652 (getLabelFont): this
5653 (getLayoutFont): and this
5654 * paragraph_pimpl.C (realizeFont): calling this
5656 * text2.C (getFont): split into...
5657 (getLayoutFont): this
5658 (getLabelFont): and this
5659 (realizeFont): all three calling this
5661 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5664 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5666 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5668 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5670 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5671 layouts from the Quote inset insertion.
5673 2001-08-03 Juergen Vigna <jug@sad.it>
5675 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5677 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5678 only if status not is already CHANGED_IN_DRAW (second level).
5680 * text.C (draw): don't set the need_break_row when inside an
5683 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5685 * buffer.C (parseSingleLyXformat2Token): handle more latex
5688 * bufferview_funcs.[hC]: change function names to
5689 begin with small char, adjust other files.
5691 2001-08-02 André Pönitz <poenitz@gmx.net>
5694 BufferView_pimpl.C: remove broken special code for math-greek
5696 2001-08-02 Juergen Vigna <jug@sad.it>
5698 * BufferView_pimpl.C (update): redone this function so that we
5699 update the text again if there was a CHANGE_IN_DRAW.
5701 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5702 (drawFromTo): added a new internal bool which is used by draw() and
5704 (general): some cursor drawing problems fixed.
5706 2001-08-01 Juergen Vigna <jug@sad.it>
5708 * lyxfind.C (LyXFind): fixed
5709 (SearchForward): ditto
5710 (SearchBackward): ditto
5712 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5713 spurius drawing of the cursor in the main area.
5715 * text2.C (status): small fix which could lead to a segfault!
5716 (clearSelection): remove unneeded BufferView param.
5718 2001-08-01 André Pönitz <poenitz@gmx.net>
5720 * lyxfunc.C: small change due to changed mathed interface
5722 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5724 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5726 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5728 * lyxfunc.c: fail gracefully if file doesn't exist
5733 * BufferView_pimpl.C: IsDirWriteable() proto changed
5735 * LyXView.C: fix updateWindowTitle() to store the last title
5737 2001-07-31 Juergen Vigna <jug@sad.it>
5739 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5740 the font (wrong since using of Paragraph::highestFontInRange).
5742 * paragraph.C (highestFontInRange): added a default_size parameter.
5744 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5745 (setHeightOfRow): reformat
5747 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5749 * converter.[hC] + affected files: move to (inital-char)lowercase
5752 * ParagraphParameters.C (ParagraphParameters): remove commented code
5754 * PainterBase.[Ch]: remove commented code
5756 * LaTeXFeatures.h: add "bool floats" for float.sty
5758 * LaTeXFeatures.C (LaTeXFeatures): init floats
5759 (require): handle float
5760 (getPackages): do it with floats
5762 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5764 * BufferView_pimpl.C (Dispatch): improve handling of
5765 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5767 * commandtags.h: #include lyxfont.h here temporarily to avoid
5770 * bufferlist.h: include LString.h here.
5772 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5774 * text2.C (getStringToIndex): new method.
5776 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5778 * *: Reduced header file dependencies all over.
5780 2001-07-30 Baruch Even <baruch@lyx.org>
5782 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5784 2001-07-29 Baruch Even <baruch@lyx.org>
5786 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5788 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5790 * ParameterStruct.h (endif): add a default constructor to make
5791 sure that all variables is initialized.
5793 * ParagraphParameters.C (ParagraphParameters): adjust
5795 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5797 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5798 index; also, check that there is something to index, and that it
5799 does not span over several paragraphs.
5800 (doubleClick): use WHOLE_WORD_STRICT for double click.
5802 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5804 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5807 2001-07-26 Baruch Even <baruch@lyx.org>
5809 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5810 an InsetFig figure, backwards compatible reading of old figure code.
5812 2001-07-27 Juergen Vigna <jug@sad.it>
5814 * text2.C: font.realize function adaption.
5816 * text.C (draw): add a warnings lyxerr text if needed.
5818 * layout.C: font.realize function adaption.
5820 * language.C: add inherit_language and implement it's handlings
5822 * bufferview_funcs.C (StyleReset): remove language parameter from
5823 font creation (should be language_inherit now).
5825 * bufferparams.C (writeFile): handle ignore_language.
5827 * paragraph.C (getFontSettings): the language has to be resolved
5828 otherwise we have problems in LyXFont!
5830 * lyxfont.C (lyxWriteChanges): added document_language parameter
5831 (update): removed unneeded language parameter
5833 * paragraph.C (validate): fixed wrong output of color-package when
5834 using interface colors for certain fonts in certain environments,
5835 which should not seen as that on the final output.
5837 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5839 * BufferView_pimpl.C:
5844 * LyXAction.C: add thesaurus support
5847 * lyxfind.C: add "once" parameter, for thesaurus, to not
5848 move to the next match
5850 2001-07-26 Juergen Vigna <jug@sad.it>
5852 * lyxfont.C (realize): honor ignore_language too!
5855 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5857 * text.C (draw): one place more for ignore_language to not draw
5860 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5862 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5864 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5866 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5867 the minipage conversion problem.
5869 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5871 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5874 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5876 * BufferView.h: don't forward declare WorkArea
5878 * BufferView.C: don't include WorkArea.h
5880 2001-07-25 André Pönitz <poenitz@gmx.net>
5884 * lyxfunc.C: new LFUN 'math-space'
5886 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5888 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5890 * text2.C (toggleInset): call open/close
5892 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5894 * lyxfunc.C (dispatch): add debug for the disabled case
5896 * font.C (buttonText): make similar to rectText
5898 * buffer.C (readInset): comment out parsing of insetlist and
5901 * PainterBase.C (rectText): small correction
5903 * BufferView_pimpl.C: comment out insettheorem and insetlist
5904 * LyXAction.C: ditto
5905 * commandtags.h: ditto
5907 2001-07-24 Juergen Vigna <jug@sad.it>
5909 * text.C (draw): honor the ignore_language.
5911 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5913 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5915 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5918 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5920 * lyxtext.h: remove unused (and unimplemented) methods
5922 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5924 * text.C (getVisibleRow): honor background color
5927 * Painter.h: remove default color argument for fillRectangle
5929 * text.C (backgroundColor): new method
5931 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5933 * text.C (getVisibleRow): adjust
5935 * font.[Ch] (rectText): new method, metrics
5936 (buttonText): new method, metrics
5938 * PainterBase.[hC]: make rectText and buttonText always draw and take
5941 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5943 * ToolbarDefaults.C (read):
5944 * MenuBackend.C (read): allow escaping in all strings
5946 * BufferView_pimpl.C (insertAndEditInset): new method.
5947 (Dispatch): use insertAndEditInset whenever appropriate.
5949 * BufferView_pimpl.C (insertNote): removed
5951 * BufferView_pimpl.C (smartQuote): new method, moved from
5952 BufferView; if an insetquote cannot be inserted, insert a '"'
5955 * BufferView2.C: remove insertCorrectQuote();
5957 * lyxfunc.C (getStatus): Add support for all remaingin
5960 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5962 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5963 command (necessary to pass " as parameter of self-insert.
5965 * text.C (selectWordWhenUnderCursor):
5966 (selectWord): add word_location parameter
5967 (selectWordWhenUnderCursor): same + remove special code for word
5969 (selectNextWord): use kind() to guess type of insetspecialchar,
5972 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5973 (insertErtContents): create ert insets as collapsed.
5974 (readInset): better compatibility code for Info inset.
5976 2001-07-20 Juergen Vigna <jug@sad.it>
5978 * lyxfunc.C (dispatch): use always LyXFind now!
5980 * text2.C (init): add a reinit flag so that the LyXText can be
5981 reinited instead of deleted and reallocated (used in InsetText).
5983 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5989 2001-07-18 Juergen Vigna <jug@sad.it>
5991 * text.C (selectNextWord): handle insets inside inset by calling
5992 always the bv->text functions so that we can go up the_locking_inset!
5994 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5995 in strange locations when inside an inset!
5997 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5998 handling to include insets.
6000 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6002 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6004 * LyXAction.C (init):
6006 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6007 LIGATURE_BREAK, since the name is so stupid.
6009 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6011 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6014 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6016 * sp_form.[Ch]: remove.
6018 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6020 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6023 * src/buffer.C (readInset): ditto.
6025 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6027 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6028 menuSeparator(), endOfSentenceDot(), ldots() and
6029 hyphenationPoint(), which are therefore removed.
6030 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6032 * LyXAction.C (init):
6033 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6035 * paragraph.C (getWord): removed.
6037 * BufferView_pimpl.C (Dispatch): use last word or selection for
6038 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6040 * lyx_main.C (queryUserLyXDir): do not ask before creating
6041 user_dir, except if it has been named explicitely.
6043 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6045 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6046 a document of zero size.
6048 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6050 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6051 approriately in the c-tor and in require().
6052 (getPackages): output the appropriate LaTeX for natbib support.
6054 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6055 variables "use_natbib" and "use_numerical_citations" when reading the
6057 (readInset): read the various natbib cite commands.
6058 (validate): white-space change.
6060 * bufferparams.[Ch]: new variables "bool use_natbib" and
6061 "bool use_numerical_citations".
6062 (writeFile): output them in the LyX file.
6064 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6066 * lyxfunc.C (getStatus): add support for all the inset insertion
6069 * text2.C (insertInset):
6070 * paragraph.C (insetAllowed):
6071 * BufferView_pimpl.C (insertInset): update to take in account the
6072 renaming of insertInsetAllowed
6074 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6076 * text2.C (getInset): new method. returns inset at cursor position.
6078 * BufferView_pimpl.C (Dispatch): changes because of this.
6080 * LyXAction.C (init): rename open-stuff to inset-toggle.
6082 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6084 * text2.C (toggleInset): renamed from openStuff; use
6087 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6089 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6091 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6093 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6095 * buffer.C (readLyXformat2): Add filename to the error dialog
6097 2001-07-18 Juergen Vigna <jug@sad.it>
6099 * tabular.C (GetCellNumber): put an assert here instead of the check!
6101 2001-07-17 Juergen Vigna <jug@sad.it>
6103 * BufferView_pimpl.C (toggleSelection): adapted too.
6105 * text.C (selectNextWord): adapted for use with insets.
6106 (selectSelectedWord): ditto
6108 2001-07-17 Juergen Vigna <jug@sad.it>
6110 * sp_spell.C (PSpell): fix initialitation order.
6112 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6114 * paragraph.C: spacing
6116 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6118 * sp_spell.C: repair language selection for pspell
6120 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * lyxfunc.h: change more methods to begin with lower char.
6124 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6126 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6127 for unknown layouts.
6129 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6131 * buffer.C (readLyXformat2): Generate an error dialog if there are
6134 2001-07-16 Juergen Vigna <jug@sad.it>
6136 * sp_spell.C: always compile ISpell part.
6138 * lyxrc.C: added use_pspell entry and it's handling.
6140 2001-07-13 Juergen Vigna <jug@sad.it>
6142 * sp_spell.C: removed double includes.
6144 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6146 Consistent use of Lsstream.h:
6147 * Lsstream.h: added using std::stringstream for consistencies sake.
6149 * buffer.C: removed using std::stringstream
6151 * lyxfont.C (stateText):
6152 * paragraph.C (asString):
6153 * text.C (selectNextWord, selectSelectedWord):
6154 * text2.C (setCounter):
6155 * vspace.C (asString, asLatexString):
6156 std::ostringstream -> ostringstream.
6158 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6160 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6161 * commandtags.h: add LFUN_HELP_ABOUTLYX
6162 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6164 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6166 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6168 * lyx_gui_misc.C: remove spellchecker
6169 * lyxfunc.C: showSpellchecker
6171 * sp_ispell.h: added
6172 * sp_pspell.h: added
6174 * sp_form.[Ch]: removed
6175 * spellchecker.[Ch]: removed
6177 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6179 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6181 (simpleTeXSpecialChars): Simply print the input character without
6182 any special translation if pass_thru is set.
6184 * layout.h: Added bool pass_thru to layout class for being able to
6185 implement pass through of a paragraph for Literate Programming.
6187 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6188 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6189 * layout.C (Read): add "passthru" to list of layout tags and add
6190 code to set the pass_thru boolean when it is read.
6192 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6194 * trans_decl.h: remove allowed from KmodInfo
6196 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6200 * paragraph_pimpl.C (erase): use boost::prior
6202 * Painter.C (text): use data() instead of c_str() when length is
6204 * WorkArea.C (putClipboard): ditto
6205 * font.h (width): ditto
6207 * BufferView2.C: use it-> instead of (*it). for iterators
6209 * paragraph_pimpl.C: ditto
6210 * paragraph.C: ditto
6211 * minibuffer.C: ditto
6216 * converter.C: ditto
6218 * Variables.C: ditto
6219 * TextCache.C: ditto
6220 * MenuBackend.C: ditto
6221 * LyXAction.C: ditto
6223 * FloatList.C: ditto
6225 * ColorHandler.C (LyXColorHandler): ditto
6227 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6229 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6231 * text2.C (openStuff): reintroduce this method (which had been
6232 nuked in NEW_INSETS frenzy).
6234 * lyxfunc.C (Dispatch): when an action has not been handled, use
6235 its name in the error message, not its number.
6237 * paragraph.C (inInset): change method name to begin with lowercase.
6240 * text2.C: updates because of this.
6242 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6244 * ToolbarDefaults.C (add): add spaces in error message
6246 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6248 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6249 (readLyXformat2): rename return_par to first_par, use lyxlex's
6250 pushToken and remove the manual push handling.
6251 (parseSingleLyXformat2Token): add another ert comp. variable:
6252 in_tabular, rename return_par to first_par. handle newlines better
6254 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6258 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6260 * text2.C (getParFromID): removed
6262 * buffer.C (getParFromID): new method moved form lyxtext.
6263 * BufferView2.C (insertErrors): adjust
6264 (setCursorFromRow): adjust
6265 * BufferView_pimpl.C (restorePosition): adjust
6266 * lyxfunc.C (Dispatch): adjust
6267 * undo_funcs.C (textUndo): adjust
6269 (textHandleUndo): adjust
6270 (textHandleUndo): adjust
6272 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6274 * buffer.C: up' the LYX_FORMAT
6276 * lyxfont.h: turn NO_LATEX on as default
6278 * buffer.C (insertErtContents): new methods of tex style compability.
6279 (parseSingleLyXformat2Token): use it several places.
6280 * tabular.C (OldFormatRead): and here
6282 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6284 * text2.C: remove some commented code.
6287 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6288 * trans.C: changes because of the above.
6290 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6292 * text2.C (setCounter): Fix counters bug with bibliography layout.
6294 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6296 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6297 own member functions
6298 (simpleTeXSpecialChars): ditto
6300 2001-07-06 Juergen Vigna <jug@sad.it>
6302 * a lot of files: changed the access to LyXText::status and the
6303 call of undo-functions.
6305 * undo.[Ch]: added a inset_id to the undo informations.
6307 * undo_funcs.[Ch]: added and moved here all undo functions.
6309 * lyxtext.h: give the status enum a weight, made status_ a private
6310 variable and made accessor functions for it, removed the whole bunch
6311 of undo-functions as they are now in their own file, make some
6312 functions publically available. Added function ownerParagraph with
6315 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6316 made InInset() a const function, added getParFromID() function.
6318 * buffer.[Ch]: added const version for inset_iterator functions,
6319 added getInsetFromID() function.
6321 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6322 changed undo functions for new version.
6324 2001-07-05 Juergen Vigna <jug@sad.it>
6326 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6327 unknow mechanism does not call the proper constructor but only this
6328 one also if I request the other!?
6330 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6332 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6334 * text2.C (LyXText): use initialization lists.
6336 * lyxtext.h (Selection): initialize set_ and mark_
6337 (init): remove method
6339 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6341 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6343 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6345 * screen.[Ch]: change method names to begin with lowercase
6347 * BufferView_pimpl.C (updateScrollbar): simplify further and
6348 hopefully make it a bit faster.
6350 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6352 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6353 calling directly xforms functions.
6355 * Painter.C (Painter):
6356 * lyx_cb.C (MenuWrite):
6357 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6360 * lyx_gui.C: remove bogus guiruntime extern declaration.
6362 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6364 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6366 (redoDrawingOfParagraph): ditto
6367 (redoParagraphs): ditto
6368 (cutSelection): don't create a object for CutAndPaste use the
6369 static method directly
6370 (pasteSelection): ditto
6372 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6375 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6377 * modifications to some other files because of this.
6379 * Makefile.am (lyx_SOURCES): add XFormsView
6381 * XFormsView.[Ch]: new files
6383 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6384 the main window. Move the gui dependent stuff to XFormsView
6386 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6388 * tabular.C (GetCellInset): update cur_cell also in the row/col
6389 version of this function.
6391 * lyxfunc.C: no need to include figure_form.h here.
6397 * lyxvc.C: no need to include forms.h here.
6399 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6401 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6403 * lyxfunc.C (Dispatch):
6405 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6406 constructor argument.
6408 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6410 * paragraph.C (Paragraph): dont't clear, and just set layout.
6411 (makeSameLayout): use params's copy contructor.
6413 * ParagraphParameters.[Ch] (makeSame): delete method
6415 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6417 * Variables.[Ch]: fix indentation, rename set to isSet
6419 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6421 * lyxfunc.C (Dispatch): fix typo
6423 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6425 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6428 * bufferlist.C: include assert.h for emergencyWrite().
6430 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6432 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6433 give up at last (bug #425202) !
6435 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6441 * spellchecker.C: strip spellchecker options and bring up
6442 preferences tab instead
6444 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6446 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6447 the istringstream constructor
6449 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6451 * paragraph.C (getLayout): fix return value
6453 * paragraph.h: do not declare getLayout as inline.
6455 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6457 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6459 * lyxcursor.h (operator<): new func
6460 (operator>): new func
6461 (operator>=): new func
6462 (operator<=): new func
6464 * text.C (changeCase): use selection.start and selection.end
6465 (changeRegionCase): require from to be <= to. Require par to be a
6468 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6470 2001-06-27 Juergen Vigna <jug@sad.it>
6472 * text.C (cursorLeftOneWord): changed to return the cursor and added
6473 overlay with BufferView * parameter which calls this one.
6475 (selectWord): use new getWord function.
6476 (changeCase): renamed from changeWordCase as and extended to work
6479 * lyxtext.h: added enum word_location
6481 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6482 changeCase as this operates now also on selections.
6484 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6486 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6488 * many files: send debug output to Debug::INFO instead of
6491 * converter.C (View):
6493 (Move): send debug output to Debug::FILES instead of console.
6495 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6497 * lyxfunc.C (getStatus): use func_status
6499 * func_status.h: new header, describing the results of
6502 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6505 2001-06-25 The LyX Project <jug@sad.it>
6507 * buffer.C (sgmlOpenTag):
6509 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6511 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6513 * text2.C: remove some dead code
6515 * tabular.C (GetCellInset): store the last cell checked (gotten)
6517 * tabular.h: add the helper for the speedup
6519 * lyxtext.h: remove some dead code
6521 2001-06-26 The LyX Project <Asger>
6523 * paragraph.C: Change export to LaTeX of alignment to
6524 \begin{center} and family for better roundtrip work with reLyX.
6526 * Tune the math drawing a bit.
6528 2001-06-25 The LyX Project <Asger>
6530 * LColor.C (LColor): New color for math background. New color
6533 2001-06-25 The LyX Project <jug@sad.it>
6535 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6538 * bufferlist.C (newFile): do not restrict to files ending with
6541 * BufferView_pimpl.C (MenuInsertLyXFile):
6543 2001-06-24 The LyX Project <jug@sad.it>
6545 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6548 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6550 * lyxtext.h: rename most methods to begin with a small char.
6551 Lots of changes because of this.
6553 * paragraph.C (Paragraph): do not call fitToSize
6554 (erase): call Pimpl::erase
6555 (insertChar): call Pimpl::insertChar
6556 (insertInset): call Pipl::insertInset
6557 (breakParagraph): do not call fitToSize
6558 (breakParagraphConservative): do not call fitToSize
6559 (fitToSize): remove method
6561 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6563 2001-06-24 The LyX Project <Asger>
6565 * Fix Qt compilation^2
6567 2001-06-24 The LyX Project <jug@sad.it>
6569 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6570 depthHook(getDepth()-1).
6573 * ParagraphParameters.h:
6574 * ParameterStruct.h: change type of depth to unsigned int ==
6575 depth_type. Many adaptations to other files before of that.
6577 2001-06-24 The LyX Project <Asger>
6579 * Fix Qt compilation.
6581 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6583 * paragraph.h: renamed several methods to begin with small letter.
6584 several changes to many parts of the code because of this.
6586 2001-06-23 The LyX Project <jug@sad.it>
6588 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6589 rewritten to discard all double spaces when KeepEmpty is off
6590 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6591 to only handle newlines but not fiddle with spaces and friends.
6593 * lyxfunc.C (MenuNew): when doing 'new from template', use
6594 template_path as default directory
6596 2001-06-23 The LyX Project <Asger>
6598 * Clean-up of header file includes all over
6599 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6601 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6603 * paragraph.h: renamed from lyxparagraph.h
6605 2001-06-23 Asger <lyx@violet.home.sad.it>
6607 * Buffer.h: Removed Buffer::resize
6608 * BufferList.h: Removed BufferList::resize
6609 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6610 the document lazily when we change the width, or the font settings.
6612 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6614 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6616 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6618 * buffer.h: remove out of date comment
6620 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6623 * screen.C: fix "theoretical" GC leak
6625 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6627 * LaTeX.C (scanAuxFile):
6628 (deplog): remove trailing \r when reading stream (useful under
6631 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6633 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6634 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6635 and BufferView::theLockingInset(Inset*), so should use them and not
6636 access bv_->text->the_locking_inset directly.
6638 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6640 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6643 * tex-defs.h: remove old unused file
6645 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6647 * BufferView_pimpl.C: fix typo, remove minibuffer message
6648 when buffer has loaded
6650 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6652 * lyxfunc.C (Dispatch): use stringstream
6653 (MenuNew): use stringstream
6654 (Open): use stringstream
6656 * importer.C (Import): use stringstream
6658 * bufferview_funcs.C (CurrentState): use stringstream
6660 * LaTeX.C (run): use stringstream
6662 * BufferView_pimpl.C (savePosition): use stringstream
6663 (restorePosition): use stringstream
6664 (MenuInsertLyXFile): use stringstream
6666 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6679 * vspace.C: removed // -*- C++ -*- as first line.
6682 * version.h: added // -*- C++ -*- as first line.
6684 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6686 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6688 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6691 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6693 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6696 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6698 * gettext.C: include LString.h even when --disable-nls is on.
6700 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6702 * converter.h (Get): changed argument type from int to
6703 FormatList::size_type to avoid unnecessary conversion.
6705 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6708 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6710 * gettext.h: include LString.h even when --disable-nls is on.
6712 2001-06-07 Juergen Vigna <jug@sad.it>
6714 * text.C (BreakAgain): subst spaces with tabs.
6716 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6717 (resizeInsetsLyXText): set force on resizeLyXText.
6719 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6721 * gettext.h (gettext_init):
6722 (locale_init): use a real definition instead of a macro
6724 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6726 * Bufferview_pimpl.C:
6728 * LColor.C: further lcolor tidies
6730 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6732 * BufferView_pimpl.C (updateScrollbar): simplify.
6734 * BufferView2.C: don't include insets/insetinfo.h, change
6735 prototype for insertInset and call the Pimpl version. let
6736 updateInset call Pimpl version.
6738 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6739 gotoInset to BufferView::Pimpl
6741 2001-06-01 Juergen Vigna <jug@sad.it>
6743 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6744 inside a LockingInset (is the update needed at all?).
6746 2001-05-31 Juergen Vigna <jug@sad.it>
6748 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6749 here not the old one otherwise how should we compare it afterwards
6752 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6757 * FontInfo.C: bring C functions into global namespace when
6760 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6762 * LString.h: make sure config.h has been loaded before LString.h.
6764 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6765 (one for each char read by EatLine!).
6767 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6770 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6772 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6773 to the same as the par we break from
6775 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6777 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6779 * MenuBackend.C (expand): also create menu entries for wide
6780 versions of the floats.
6782 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6784 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6786 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6787 frontends/Makefile.am
6793 * tabular.C (getTokenValue): add std::
6795 * tabular-old.C (getTokenValue): add std::
6796 (getTokenValue): ditto
6797 (getTokenValue): ditto
6799 * screen.C (ToggleSelection): adjust
6801 * lyxtext.h: put selection cursors inside a Selection struct.
6803 * lyxfunc.C (moveCursorUpdate): adjust
6805 * lyxfont.C (latexWriteStartChanges): add std::
6809 * font.h: delete with(char const *, LyXFont const &)
6811 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6813 * FontInfo.C (getFontname): add std::
6815 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6816 (workAreaButtonPress): adjust
6817 (tripleClick): adjust
6819 (moveCursorUpdate): adjust
6822 * BufferView2.C (gotoInset): adjust
6824 2001-05-30 Juergen Vigna <jug@sad.it>
6826 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6827 to check pspell I add this as default as I now have new pspell
6828 libraries and they seem to use this.
6830 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6832 * text2.C (CutSelection): make the cursor valid before the call to
6835 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6837 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6838 relied on 0 terminated strings and other horrors. Bug found due to
6839 the new assert in lyxstring!
6841 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6844 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6846 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6849 * lyxfunc.C (processKeySym): change method of getting to the
6852 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6853 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6854 * BufferView_pimpl.[Ch]: here as private methods.
6856 2001-05-28 Juergen Vigna <jug@sad.it>
6858 * text.C (SetHeightOfRow): added the update() call again as it is
6859 needed to initialize inset dimensions!
6861 2001-05-16 Juergen Vigna <jug@sad.it>
6863 * text2.C (SetCharFont): Add new function with BufferView * and
6864 bool toggleall parameters for setting insets internal fonts.
6865 (SetFont): Freeze the undo as we may change fonts in Insets and
6866 all this change should be inside only one Undo!
6868 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6869 setting font's in insets as for them we have the SetFont function!
6871 2001-05-15 Juergen Vigna <jug@sad.it>
6873 * text2.C (ClearSelection): to be sure we REALLY don't have any
6876 * tabular.C (TeXCellPreamble): fixed the left border problem for
6879 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6881 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6884 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6886 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6887 LFUN_BREAKPARAGRAPH.
6889 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6890 help test to "internal only", similar for LFUN_INSERT_URL
6892 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6893 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6894 auto_region_delete and deadkeys.
6896 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6899 * LColor.C: remove some dead entries, tidy a little
6901 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6903 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6905 (Dispatch): implement LFUN_ESCAPE
6907 * commandtags.h: add LFUN_ESCAPE
6909 * LyXAction.C (init): add entry for LFUN_ESCAPE
6911 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6912 Remove commented code.
6913 (insertNote): moved here
6914 (open_new_inset): moved here
6916 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6919 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6921 * kbmap.C (findbinding): clean it up and make it work correctly.
6923 * lyx_main.C (init): do not pass argc and argv as parameters
6925 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6927 * buffer.C: fix path for OS/2 & Win32
6931 * lyx_main.C: Added os:: class.
6933 * os2_defines.h: update
6935 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6937 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6938 better by trying again with reduced state.
6940 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6942 * lyxrc.C (read): print error about invalid key sequence only when
6943 debugging (because not all latinX keysyms are known to some X
6946 * kbsequence.C (getiso): add a few std:: qualifiers
6947 (getiso): comment out extra return statement.
6949 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6951 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6953 (Dispatch): enhance the accent inset a bit. (not perfect)
6955 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6957 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6959 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6961 * bufferlist.C (emergencyWrite): fix assert() call
6963 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6965 * text.C (InsertChar): Added trivial patch to only send the "you
6966 can not do multiple spaces this way" message once during a
6969 2001-05-08 Baruch Even <baruch@lyx.org>
6971 * Makefile.am: Changed order of libraries to get LyX to link properly
6972 with the gnome frontend.
6974 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6976 * LaTeXFeatures.h: add a std:: qualifier
6978 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6980 * paragraph.C (String): use stringstream
6982 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6984 * paragraph.C (writeFile): remove footflag arg
6986 * buffer.C (makeLaTeXFile): use stringstream
6987 (latexParagraphs): remove footnot gurba
6989 * LaTeXFeatures.C (getPackages): use stringstream
6990 (getMacros): likewise
6991 (getTClassPreamble): likewise
6992 (getFloatDefinitions): new method
6994 * paragraph.C (writeFile): reindent
6997 * WorkArea.h: revert the xpos + etc changes.
6999 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7001 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7003 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7004 (pasteSelection): likewise
7005 * text2.C (CreateUndo): likewise
7007 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7009 * minibuffer.C (peek_event): temporarily reduce the functionality
7010 of the minibuffer (to allow args on lfuns)
7012 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7013 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7015 * buffer.C (readInset): add compability reading of old float
7016 lists, add reading of new style float list.
7017 (readInset): avoid reevaluation of inscmd.getCmdName()
7018 (getLists): reindent
7020 * MenuBackend.C (MenuItem): implement parsing of
7021 md_floatlistinsert and md_floatinsert.
7022 (expand::LastFiles): move initalizaton of iterators out of loop,
7024 (expand::Documents): introduce typdedef vector<string> Strings,
7026 (expand::ExportFormats): introduce typedef vector<Format const *>
7027 Formats, and use it.
7028 (expand): implement FloatListInsert and FloatInsert.
7030 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7031 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7032 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7034 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7036 (Dispatch::LFUN_FLOAT_LIST): implement
7038 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7040 * LaTeX.C (run): Fix problem with --export code.
7042 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7044 * BufferView.[Ch] (workarea): removed.
7045 (getClipboard) new method; wrapper for workarea()->getClipboard()
7047 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7050 * WorkArea.h (width, height, xpos, ypos): These methods all
7051 returned the dimensions of the work_area sub-area of WorkArea,
7052 resulting in a position error if the WorkArea were resized. Now
7053 return the dimensions of the entire WorkArea.
7055 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7057 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7059 * LaTeX.C (deplog): correct the syntax of regex reg1
7061 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7063 * undo.C: remove !NEW_INSETS cruft
7065 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7067 * text2.C: remove !NEW_INSETS cruft
7069 * text.C: remove !NEW_INSETS cruft
7071 * tabular.C: remove !NEW_INSETS cruft
7073 * spellchecker.C: remove !NEW_INSETS cruft
7075 * lyxtext.h: remove !NEW_INSETS cruft
7077 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7079 * lyxfunc.C: remove !NEW_INSETS cruft
7081 * lyxfind.C: remove !NEW_INSETS cruft
7083 * lyx_cb.C: remove !NEW_INSETS cruft
7085 * figureForm.C: remove !NEW_INSETS cruft
7087 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7089 * buffer.[Ch]: remove !NEW_INSETS cruft
7091 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7093 * CutAndPaste.C: remove !NEW_INSETS cruft
7095 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7097 * BufferView2.C: remove !NEW_INSETS cruft
7099 * BufferView.h: remove !NEW_INSETS cruft
7101 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7103 * Lsstream.h: include LString.h before the sstream headers to
7104 fix problem with gcc 2.95.3 and lyxstring
7106 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7108 * lyx_main.C: add using directives when needed for C functions
7109 declared in std:: namespace.
7111 2001-04-27 Juergen Vigna <jug@sad.it>
7113 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7114 (SetHeightOfRow): comment out the update call should not be needed!
7116 2001-04-13 Juergen Vigna <jug@sad.it>
7118 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7119 (LyXTabular): tried to minimize operator= operations (and realized
7120 hopfully Lars wish).
7122 2001-04-27 Juergen Vigna <jug@sad.it>
7124 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7126 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7128 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7130 * buffer.C (readInset): hack to make listof algorithm work
7132 * BufferView_pimpl.C: hack to make listof algorithm work
7134 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7136 * LyXAction.C: removed all !NEW_INSETS cruft
7137 (init): moved lfun_item in method
7139 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7141 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7143 * BufferView2.C (theLockingInset): white space.
7145 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7147 * minibuffer.C: include <iostream>
7149 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7151 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7153 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7155 * text.[Ch] (TransposeChars): new method
7157 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7159 * call message directly through LyXView instead of through LyXFunc
7160 * BufferView2.C: adjust
7161 * BufferView_pimpl.C: adjust
7162 * FontLoader.C: adjust
7164 * bufferview_funcs.C: adjust
7165 * converter.C: adjust
7166 * figureForm.C: adjust
7167 * importer.C: adjust
7169 * lyx_gui_misc.C: adjust
7173 + more files in subdirs
7175 * lyxparagraph.h (size): move up int file
7178 * adjust all uses of Assert to lyx::Assert.
7180 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7181 lyxfunctional in namespace lyx
7182 * layout.C (hasLayout): ditto
7185 (delete_layout): ditto
7186 (NumberOfClass): ditto
7187 * converter.C (GetFormat): ditto
7192 * bufferlist.C (getFileNames): ditto
7193 (emergencyWriteAll): ditto
7196 * MenuBackend.C (hasSubmenu): ditto
7199 * BufferView_pimpl.C (getInsetByCode): ditto
7201 2001-04-18 Juergen Vigna <jug@sad.it>
7203 * vspace.C (asLatexString): fixed the 100% problem.
7205 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7207 * lyxfunc.C (Dispatch):
7209 * minibuffer.h: add a few std:: qualifiers
7211 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7213 * minibuffer.[Ch]: reimplement so that commands is initiated and
7214 run from lyxfunc, simplified som handling, and made the completion
7215 and history code for complete. wip.
7217 * lyxfunc.C (processKeySym): call message
7218 (miniDispatch): new temporary method
7219 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7220 (LFUN_MESSAGE): implement
7221 (LFUN_MESSAGE_PUSH): implement
7222 (LFUN_MESSAGE_POP): implement
7223 (initMiniBuffer): the initial/defualt minibuffer message.
7225 * lyxfont.[Ch]: inline some more getters
7227 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7229 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7231 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7232 (AutoSave): use LFUN_MESSAGE
7233 (Reconfigure): ditto
7235 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7237 * figureForm.C: use LFUN_MESSAGE
7239 * converter.C (runLaTeX): use LFUN_MESSAGE
7241 * bufferview_funcs.C: use LFUN_MESSAGE
7243 (changeDepth): ditto
7245 * bufferparams.h: use boost::
7247 * bufferlist.h: inherit privately from noncopyable
7249 * bufferlist.C (loadLyXFile): remove some commented code.
7251 * buffer.C (runChktex): use LFUN_MESSAGE
7253 * ShareContainer.h: inherit privately from noncopyable
7255 * ParagraphParameters.[hC] (depth): inline it.
7257 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7259 (message): new method
7260 (messagePush): ditto
7262 (show): init minibuffer
7263 (showState): direct call
7265 * LaTeX.[Ch]: inherit privately from noncopyable
7266 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7267 instead of WriteStatus.
7269 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7271 * BufferView_pimpl.C (buffer): don't init minibuffer
7272 (workAreaButtonPress): use LFUN_MESSAGE
7273 (workAreaButtonRelease): ditto
7274 (savePosition): ditto
7275 (restorePosition): ditto
7276 (MenuInsertLyXFile): ditto
7277 (workAreaExpose): don't init minibuffer
7278 (update): remove commented code, simplify
7280 * BufferView2.C (openStuff): use LFUN_MESSAGE
7281 (toggleFloat): ditto
7284 (copyEnvironment): ditto
7285 (pasteEnvironment): ditto
7290 (updateInset): remove some commented code
7292 * lastfiles.h: inherit privately from noncopyable
7297 * lyxlex_pimpl.h: ditto
7299 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7300 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7301 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7303 * LyXAction.h: inherit privately from noncopyable, add methods
7304 func_begin, func_end, returning iterators to the func map.
7306 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7307 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7308 (func_begin): new method
7309 (func_end): new method
7311 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7313 (copySelection): ditto
7314 (pasteSelection): ditto
7316 * BufferView.C: whitespace change
7317 * BufferView.h: inherit privately from noncopyable
7319 2001-04-16 Allan Rae <rae@lyx.org>
7321 * tabular-old.C (l_getline):
7322 * spellchecker.C (sc_check_word):
7323 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7324 an unrecognised preprocessor directive. So ensure they're wrapped.
7326 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7328 * src/exporter.C (Export): Give an error message when path to file
7331 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7333 * LaTeX.C (deplog): Always check that foundfile exists.
7335 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7338 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7340 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7342 * tabular.[Ch] (getLabelList): implement new method
7344 * minibuffer.h: comment ouf setTiimer
7346 * minibuffer.C (ExecutingCB): constify res
7347 (peek_event): constify s
7348 (Set): constify ntext
7349 (Init): constify nicename
7351 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7353 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7354 (savePosition): use two params to Minibuffer::Set
7355 (restorePosition): ditto
7357 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7359 * lyx_main.C: include language.h
7361 * Makefile.am (lyx_main.o): add language.h
7363 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7369 * CutAndPaste.C: include gettext.h
7371 * lyxfont.h: remove old hack with ON and OFF.
7374 * lyxfont.h: do not include language.h...
7379 * bufferview_funcs.C:
7385 * paragraph.C: ... but do it here instead
7387 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7389 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7391 * tabular.C: small reformat
7393 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7396 (BreakParagraph): ditto
7397 (SetOnlyLayout): ditto
7400 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7403 * lastfiles.C: removed most using decl, add std:: where needed
7405 * buffer.C: ws changes
7407 * MenuBackend.C (class compare_format): put into anon namespace
7408 (expand): constify label, names, action, action2
7411 * text.C (SingleWidth): constify font
7412 (IsBoundary): constify rtl2
7413 (GetVisibleRow): constify ww
7415 * LaTeX.C (deplog): constify logfile
7417 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7419 (workAreaExpose): constify widthChange, heightChange
7421 * lyxrow.C (par): moved
7424 * lyxrow.h: as inlines here
7426 * lyxfont.h (shape): moved from lyxfont.C
7427 (emph): moved from lyxfont.C
7429 * lyxfont.C (LyXFont): use initialization list for all
7431 (shape): move to lyxfont.h as inline
7432 (emph): move to lyxfont.h as inline
7435 2001-04-04 Juergen Vigna <jug@sad.it>
7437 * vspace.C: had to include stdio.h for use of sscanf
7439 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7442 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7443 independent of xforms.
7445 2001-04-02 Juergen Vigna <jug@sad.it>
7447 * spellchecker.C: fixed namespace placing!
7449 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7451 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7452 the LyXParagraph * is 0.
7454 2001-03-29 Juergen Vigna <jug@sad.it>
7456 * vspace.C: added support for %, c%, p%, l%.
7457 (stringFromUnit): added helper function.
7458 (asLatexString): changed to give right results for the %-values.
7460 * buffer.C: convert the widthp in a width%.
7462 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7464 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7467 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7468 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7470 * lyx_cb.[Ch]: see above.
7472 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7476 * lyx.[Ch]: replaced by figure_form.[Ch].
7480 * lyxfunc.C: changed headers associated with above changes.
7482 2001-03-27 Juergen Vigna <jug@sad.it>
7484 * BufferView_pimpl.C: set the temporary cursor right!
7486 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7488 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7490 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7492 * LString.h: removed "using std::getline"!
7494 * BufferView_pimpl.C (Dispatch): changes due to changes in
7495 InsetInclude::Params.
7497 * buffer.C (tag_name): removed redundant break statements as they were
7498 producing lots of warnings with my compiler.
7500 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7502 * LString.h: add "using std::getline" when using the real <string>.
7504 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7506 * buffer.C: removed bitset usage.
7507 PAR_TAG moved to an anonymous name space.
7508 (tag_name): new funtion, also in the anonymous namespace.
7509 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7510 (makeDocBookFile): clean code. Completed transition from string arrays
7512 (SimpleDocBookOnePar): code clean.
7514 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7516 * tabular.C: add some comments.
7518 2001-03-22 Juergen Vigna <jug@sad.it>
7520 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7521 compatibility read a bit and fixed bug with minipage in different
7524 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7526 * buffer.C (pop_tag): removed.
7527 (push_tag): removed.
7528 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7529 array replaced with vector. Added support for CDATA sections.
7530 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7532 (makeDocBookFile): XML conformant declaration of CDATA section,
7533 fixed bug related to <emphasis> in the first paragraph char.
7534 (sgmlOpenTag): exclude empty tags.
7535 (sgmlCloseTag): ditto.
7537 * buffer.h (pop_tag): removed.
7538 (push_tag): removed.
7540 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7542 * language.h (Languages): added size_type and size().
7544 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7546 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7547 response on compability reading of minipages. One probliem is that
7548 the old usage of minipages was «flertydig»
7550 * several files here and in subdirs: don't use static at file
7551 scope use anon namespaces instead.
7553 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7555 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7556 LaTeX output. This is necessary for Literate document
7559 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7561 * buffer.C: insert hfill when needed.
7563 * tabular.C (l_getline): use string::erase, small whitespace change.
7565 * BufferView_pimpl.C: try the anon namespace.
7568 2001-03-16 Juergen Vigna <jug@sad.it>
7570 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7571 otherwise it won't open options-dialogs.
7573 * buffer.C: honor pextraWidth(p) on converting minipages.
7575 * tabular.C (l_getline): changed the functions to strip trailing \r.
7577 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7579 * BufferView_pimpl.C:
7580 * minibuffer..C: added "using SigC::slot" declaration.
7582 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7584 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7590 * paragraph.C: ditto
7592 * lyxtext.h: NO_PEXTRA
7594 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7596 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7597 * ParameterStruct.h: ditto
7598 * ParagraphParameters.h: ditto
7599 * lyxparagraph.h: ditto
7601 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7603 * buffer.C: add compability for minipage alignment.
7604 (latexParagraphs): remove unwanted pextra check.
7606 * several files: remove CXX_WORKING_NAMESPACES
7608 * buffer.C (pop_tag): tie is in namespace boost
7610 * BufferView.h: noncopyable is in namespace boost
7615 * lastfiles.h: ditto
7616 * bufferlist.h: ditto
7617 * ShareContainer.h: ditto
7619 * LyXAction.h: ditto
7622 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7624 * Merging changes from BRANCH_MVC back into HEAD.
7626 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7628 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7630 * BufferView_pimpl.C: change from intl.C
7634 * Makefile.am: move combox.*
7640 * intl.C: remove dialog (covered by prefs)
7642 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7644 * lyxfunc.C (Dispatch): removed redundant break statement.
7646 2001-03-14 Juergen Vigna <jug@sad.it>
7648 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7650 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7652 * buffer.C: add hack to fix compability reading of minipages.
7654 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7656 * buffer.C (getLists): Cleanup.
7658 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7660 * lyxfont.C (update): don't honor toggleall on font size.
7662 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7666 * Makefile.am: moved to frontends/xforms/
7670 * BufferView_pimpl.C: changes for moved mathpanel
7672 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7674 * gettext.h: fix gettext_init() in --disable-nls
7676 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7678 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7680 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7683 * lyx.h: strip external form
7685 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7687 * BufferView_pimpl.C: add comment, destroySplash()
7689 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7691 * BufferView_pimpl.C:
7695 * lyxfunc.C: use re-worked insetinclude
7697 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7699 * buffer.C: add using std::stringstream.
7701 * lyx_cb.C: readd using std::ios.
7703 * buffer.C: add using std::map.
7705 * BufferView_pimpl.C: add using std::vector.
7707 * ShareContainer.h: add std:: to swap.
7709 * buffer.h: add some typedefs
7710 * buffer.C (getLists): use them
7711 (getLists): renamed from getTocList.
7712 add a counter for the different float types and use it in the
7714 (getLists): use the same counter for the NEW_INSETS and the "non"
7717 * lyx_cb.h: remove unused items, includes, using etc.
7719 * ShareContainer.h: remove some commented code, add more comments
7720 and "documentation".
7722 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7724 * buffer.C (getTocList): make the list also when NEW_INSETS is
7727 * buffer.h: remove TocType
7729 * buffer.C (getTocList): change to return a map<string,
7730 vector<TocItem> >, implement for dynamic number of list.
7732 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7733 * text2.C (PasteSelection): adjust
7734 * CutAndPaste.C (pasteSelection): adjust
7736 * FloatList.C (FloatList): update from the new_insets branch.
7737 * Floating.[Ch]: ditto
7738 * LaTeXFeatures.C: ditto
7740 * lyxlex_pimpl.C: ditto
7742 * paragraph.C (Last): remove when NEW_INSETS is defined.
7744 * other file: changes because of the above.
7746 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7748 * lyxparagraph.h: rename next to next_, previous to previous_,
7749 make them private for NEW_INSETS. Rename Next() to next(),
7750 Previous() to previous().
7752 * other files: changes because of the above.
7754 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7757 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7760 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7762 * main.C (main): pass lyx_localedir to gettext_init().
7764 * gettext.h: remove locale_init and gettext_init macros
7766 * gettext.C (locale_init): new function
7767 (gettext_init): new function
7769 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7772 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7774 * Moved credits to frontends:
7775 * credits.[Ch]: removed
7776 * credits_form.[Ch]: removed
7777 * lyx_gui_misc.C: remove credits stuff
7780 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7782 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7784 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7785 unneeded destructor.
7787 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7788 a standalone pointer again.
7790 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7792 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7798 * ToolbarDefaults.C:
7807 * BufferView_pimpl.C: use new file dialog in GUII
7810 * lyx_cb.C: remove LayoutsCB to Toolbar
7812 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7814 * ShareContainer.h (get): add std:: qualifier
7816 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7818 * ShareContainer.h: define a proper ShareContainer::value_type
7819 type (and use typename to please compaq cxx)
7821 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7823 * lyxparagraph.h: move serveral local vars to
7824 ParameterStruct/ParagraphParameters., use ShareContainer in
7825 FontTable., make vars in FontTable private and add getter and
7828 * paragraph.C: changes because of the above.
7830 * lyxfont.h: remove copy constructor and copy assignment. (the
7831 default ones is ok), move number inside FontBits. move inlines to
7834 * lyxfont.C: add number to initializaton of statics, move several
7835 inlines here. constify several local vars. some whitespace
7836 cleanup. Dont hide outerscope variables.
7838 * Spacing.h: add two new constructors to match the set methods.
7840 * ShareContainer.h: new file, will perhaps be moved to support
7842 * ParameterStruct.h: new file
7844 * ParagraphParameters.h: new file
7846 * ParagraphParameters.C: new file
7848 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7849 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7851 * BufferView_pimpl.C: ParagraphParameter changes.
7852 * buffer.C: Likewise.
7853 * bufferview_funcs.C: Likewise.
7855 * text2.C: Likewise.
7857 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7859 * lyxfind.C (LyXReplace): do not redefine default argument in
7861 (IsStringInText): ditto
7862 (SearchForward): ditto
7863 (SearchBackward): ditto
7865 2001-03-06 Juergen Vigna <jug@sad.it>
7867 * lyxfind.C (IsStringInText): put parentes around expressions.
7869 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7871 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7873 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7875 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7877 * stl_string_fwd.h: add comment
7879 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7882 * tabular.C: remove unused DocBook methods
7888 killed DO_USE_DEFAULT_LANGUAGE
7890 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7892 * lyx_gui.C: do not include language.h.
7894 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7895 arguments in function implementation.
7897 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7899 * BufferView_pimpl.C: add <ctime>
7901 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7903 * BufferView_pimpl.C: add using std::find_if
7905 2001-02-27 José Matos <jamatos@fep.up.pt>
7907 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7910 2001-02-11 José Matos <jamatos@fep.up.pt>
7912 * buffer.C (makeDocBookFile): command styles now have a parameter as
7915 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7917 * layout_forms.[Ch]: removed
7918 * lyx_cb.[Ch]: out character
7919 * lyx_gui.C: out character
7920 * lyx_gui_misc.C: out character
7921 * bufferview_funcs.C: : out character,
7922 added toggleall as parameter in ToggleAndShow
7924 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7926 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7928 * text2.C (SetCurrentFont): Disable number property at boundary.
7930 2001-02-26 Juergen Vigna <jug@sad.it>
7932 * lyxfunc.C (getStatus): added a string argument override function so
7933 that this is correctly called from LyXFunc::Dispatch if it contains a
7934 do_not_use_argument which is used!
7935 (Dispatch): added check for "custom" export and call appropriate func.
7937 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7939 * lyxrc.C: Add language_command_local, language_use_babel and
7940 language_global_options.
7942 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7944 * buffer.C (makeLaTeXFile): Use language_use_babel and
7945 language_global_options.
7947 2001-02-23 Juergen Vigna <jug@sad.it>
7949 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7950 which works with LyXText and putted it inside BufferView. Here now we
7951 only call for that part the BufferView::Dispatch() function.
7953 * BufferView.C (Dispatch): added.
7955 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7956 functions which needs to use a LyXText over from LyXFunc.
7957 (MenuInsertLyXFile): added
7958 (getInsetByCode): added
7959 (moveCursorUpdate): added
7960 (static TEXT): added
7962 2001-02-22 Juergen Vigna <jug@sad.it>
7964 * BufferView_pimpl.C (update): call a status update to see if LyXText
7967 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7969 * vc-backend.C (revert): implement for CVS
7970 (getLog): implement for CVS
7972 2001-02-20 Juergen Vigna <jug@sad.it>
7974 * text2.C (ClearSelection): added BufferView param for inset_owner call
7976 * lyxfunc.C (TEXT): added this function and use it instead of
7977 directly owner->view()-text of getLyXText().
7979 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7981 * src/layout_forms.C: out preamble
7982 * src/layout_forms.h: out preamble
7983 * src/lyx_cb.C: out preamble
7984 * src/lyx_cb.h: out preamble
7985 * src/lyx_gui.C: out preamble
7986 * src/lyx_gui_misc.C: out preamble
7987 * src/lyxfunc.C: connect with guii preamble
7989 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7991 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7993 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7995 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7996 whether to run bibtex.
7998 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8000 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8002 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8004 * Makefile.am (lyx_SOURCES): removed bibforms.h
8008 * text.C (GetVisibleRow): make several local vars const
8010 * tabular.C: small cleanup.
8012 * lyxserver.C (callback): use compare instead of strncmp
8014 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8015 inlines to after class or to paragraph.C
8017 * lyxfont.h: remove friend operator!=
8019 * converter.h: move friend bool operator< to non friend and after
8022 * combox.h: small cleanup
8024 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8025 to inlines after class def.
8027 * buffer.C (pop_tag): use string operations instead of strcmp
8029 * bmtable.c: doxygen, small cleanup
8031 * LaTeX.h: remove friend operator==
8033 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8045 * BufferView_pimpl.C:
8046 * BufferView.[Ch]: remove cruft
8048 2001-02-14 Juergen Vigna <jug@sad.it>
8050 * lyxfunc.C: removed #if 0 unused code
8052 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8054 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8056 * text2.C (SetSelection): added a BufferView * parameter
8058 2001-02-13 Juergen Vigna <jug@sad.it>
8060 * lyxfunc.C (Dispatch): fixed protected blank problem.
8061 * BufferView2.C (protectedBlank): added LyxText * parameter.
8063 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8064 (AppendColumn): same as above for column_info.
8066 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8067 (moveCursorUpdate): use a LyXText param for support of InsetText.
8069 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8070 (tripleClick): ditto
8072 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8074 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8076 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8078 * text2.C (SetSelection): set correct update status if inset_owner
8081 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8083 * tabular.C: remove some commented code.
8085 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8087 * BufferView_pimpl.C: call hideSplash()
8089 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8092 * bibforms.h: remove
8095 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8096 add LFUN_CHILD_CREATE
8098 * counters.h: fix tiny typo
8103 * lyx.C: move splash to frontends/xforms/
8105 * lyx_gui_misc.C: move Include and Bibform to frontends
8107 * lyxvc.h: clarify comment
8109 * vspace.C: tiny housekeeping
8111 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8113 * text.C (PrepareToPrint): RTL Fix.
8115 * paragraph.C (GetUChar): New method.
8116 (String): Use GetUChar.
8118 * buffer.C (asciiParagraph): Use GetUChar.
8120 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8122 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8124 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8127 * buffer.C: rename to getLogName(), handle
8128 build log / latex log nicely
8130 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8133 * MenuBackend.h: remove support for reference menuitem type.
8135 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8137 * BufferView_pimpl.C: housekeeping
8138 * BufferView_pimpl.h:
8143 * minibuffer.h: move Timeout GUI-I
8145 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8147 * lyxrc.C (read): Update converters data-structures.
8149 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8151 * LaTeX.h (operator!=): add operator != for Aux_Info
8153 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8155 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8157 * LaTeXLog.C: deleted, useful code moved to Buffer
8160 * buffer.C: new function getLatexLogName()
8166 * lyxfunc.C: use frontends for LaTeX and VC logs
8168 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8170 * LaTeX.h: yet another std:: that Allan forgot.
8172 * Variables.C (set): renamed from isset(), because this clashes
8173 with some HP-UX macros (grr).
8175 2001-02-06 Allan Rae <rae@lyx.org>
8177 * LaTeX.h: Another bug fix. Missing std:: this time.
8179 2001-02-04 Allan Rae <rae@lyx.org>
8181 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8182 floats problem. I've left it commented out because it's not quite
8183 correct. It should also test that the current object is a table or
8184 figure inset. But I haven't gotten around to figuring out how to do
8185 that. I *think* it'll be something like: "table" == inset.type()
8187 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8190 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8192 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8193 all the citation/databases/styles in the auxilary file.
8194 (run): Rerun latex if there was a babel language error.
8196 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8198 * text.C (Backspace): Preserve the font when changing newline char
8200 (BreakParagraph): If the cursor is before a space, delete the space.
8202 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8204 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8206 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8207 new argument (code).
8208 (ChangeCitationsIfUnique): New method.
8210 * paragraph.C (GetPositionOfInset): Handle bibkey.
8212 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8214 * BufferView_pimpl.h: change type of Position::par_pos to
8215 LyXParagraph::size_type.
8217 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8219 * BufferView_pimpl.C (savePosition, restorePosition): Write
8220 messages to minibuffer.
8222 2001-01-28 José Matos <jamatos@fep.up.pt>
8224 * buffer.C (makeDocBookFile): adds support for document language.
8225 A silly restriction on the name of LatexCommand types where removed.
8226 Added support for CDATA sections, allows to chars unescaped, used
8227 among others in code, to avoid escape < and >.
8229 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8231 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8232 saved positions instrad of a stack. Furthermore, a position is
8233 stored using paragraph id/paragraph position.
8235 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8236 Remove LFUN_REF_BACK.
8238 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8240 * converter.C (dvipdfm_options): New method.
8242 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8244 * vspace.C (isValidLength): Fix for empty input string.
8246 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8248 * LyXAction.C (init): change description of LFUN_FIGURE to
8251 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8253 * LaTeX.C: add using directive
8255 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8257 * MenuBackend.C (expand): Fix the sorting of the formats.
8259 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8261 * lyx_main.C: tiny error message fix
8263 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8265 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8266 calling fl_initialize(). This fixes the problem with ',' as
8267 decimal separator in text files.
8269 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8271 * trans.C (process): Fix the keymap bug.
8273 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8275 * LaTeX.C (scanAuxFiles): New method. Provides support for
8276 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8277 (scanLogFile) Scan for "run BibTeX" messages.
8279 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8280 OT1 font encoding. Also, load the aecompl package if the ae
8283 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8285 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * texrow.C (increasePos): turn two error messages into debug
8290 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8292 * LaTeX.C (scanAux): Handle the \@input macro.
8293 (runBibTeX): Use scanAux().
8295 * language.C (latex_options_): New field.
8297 * LaTeXFeatures.C (getMacros): Add language macros.
8299 * buffer.C (makeLaTeXFile): Small fix.
8301 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8303 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8305 * text2.C: add a using directive.
8307 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8312 * lyxfunc.C: kill LyXBell.
8314 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8316 * text.C (IsBoundary): Remove the error message
8318 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8320 * lyxrc.C (setDefaults): Correct initialization value for
8323 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8325 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8328 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8331 * src/LyXAction.C: Added reference-next.
8333 * text.C (InsertChar): Use contains instead of strchr.
8335 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8337 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8339 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8340 alignment commands (when needed).
8342 * text.C (InsertChar): Add ':' to number separator chars.