1 2003-02-15 John Levon <levon@movementarian.org>
6 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7 inset code that had no actual effect. Remove unneeded status
10 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
15 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
17 * text.C (drawLengthMarker): also draw an arrow marker for
18 symbolic lengths (medskip...)
20 2003-02-14 John Levon <levon@movementarian.org>
23 * tabular.C: better method names
25 2003-02-14 John Levon <levon@movementarian.org>
32 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
33 it's a more accurate name. Remove some pointless uses.
35 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
37 * text2.C (LyXText): change order of initilizers to shut off
40 2003-02-14 John Levon <levon@movementarian.org>
42 * buffer.C: use ParIterator for getParFromID()
47 * paragraph_pimpl.C: remove unused getParFromID()
49 2003-02-14 John Levon <levon@movementarian.org>
51 * buffer.C: remove some very old #if 0'd parse code
53 2003-02-13 John Levon <levon@movementarian.org>
57 * text2.C: move hfillExpansion(), numberOfSeparators(),
58 rowLast(), rowLastPrintable(), numberofHfills(),
59 numberOfLabelHfills() ...
62 * lyxrow.C: ... to member functions here.
67 * text.C: remove LyXText::beginningOfMainBody(), and call
68 p->beginningOfMainBody() directly. Move the check for
69 LABEL_MANUAL into the latter.
76 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
82 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
83 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
85 2003-02-13 John Levon <levon@movementarian.org>
87 * CutAndPaste.C: remove debug
89 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
91 * paragraph.C (asString): remove two unused variables
93 * lyxtextclass.C (readTitleType):
95 (LyXTextClass): handle new members titletype_ and titlename_
97 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
99 2003-02-09 John Levon <levon@movementarian.org>
102 * buffer.C: replace hand-coded list with a map for the dep clean
104 2003-02-08 John Levon <levon@movementarian.org>
106 * LaTeX.C: consolidate code into showRunMessage() helper
108 2003-02-08 John Levon <levon@movementarian.org>
113 * BufferView.C: change setSelectionOverString() to setSelectionRange()
114 and pass the size in explicitly
116 * BufferView_pimpl.h:
117 * BufferView_pimpl.C:
119 * BufferView.C: add getCurrentChange()
121 * BufferView_pimpl.h:
122 * BufferView_pimpl.C: handle change lfuns
124 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
125 for changes. Mark pasted paragraphs as new.
129 * DepTable.C: abstract time_t as lyx::time_type
132 * LColor.C: add colours for new text, deleted text, changebars
134 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
135 package use "usenames" option.
139 * LyXAction.C: add change lfuns
143 * author.C: author handling
146 * buffer.C: add a per-buffer author list, with first entry as
147 current author. Handle new .lyx tokens for change tracking. Output
148 author list to .lyx file. Output dvipost stuff to .tex preamble.
149 Bump lyx format to 222.
152 * bufferlist.C: add setCurrentAuthor() to reset current author details
156 * bufferparams.C: add param for tracking
158 * bufferview_funcs.C: output change info in minibuffer
162 * changes.C: add change-tracking structure
165 * debug.C: add CHANGES debug flag
168 * lyxfind.C: add code for finding the next change piece
171 * lyxrc.C: add user_name and user_email
174 * lyxrow.C: add a metric for the top of the text line
177 * text.C: implement accept/rejectChange()
180 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
181 Strike through deleted text.
186 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
187 to the insert functions. Rework erase to mark text as deleted, adding
188 an eraseIntern() and a range-based erase(). Implement
189 per-paragraph change lookup and accept/reject.
191 * paragraph_funcs.C: Fixup paste for change tracking.
193 * tabular.C: mark added row/columns as new.
195 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
196 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
198 * text2.C: leave cursor at end of selection after a cut.
200 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
202 * text.C (getLengthMarkerHeight):
203 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
204 visible on screen too.
206 2003-02-07 John Levon <levon@movementarian.org>
208 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
210 2003-02-05 Angus Leeming <leeming@lyx.org>
212 * lyxserver.C (read_ready): revert my patch of 11 September last year
213 as it sends PC cpu through the roof. Presumably this means that
214 the lyxserver will no longer run on an Alpha...
216 2003-01-30 Angus Leeming <leeming@lyx.org>
218 * factory.C (createInset): create an InsetCommandParam of type "index"
219 and use it to 'do the right thing'.
221 * text2.C (getStringToIndex): ensure that cursor position is always
222 reset to the reset_cursor position.
224 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
226 * lyxfunc.C (getStatus): "buffer-export custom" should never be
229 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
233 * lyxfunc.C: Output messages with identical spelling, punctuation,
236 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
238 * MenuBackend.C (expandFormats): List only viewable export formats
241 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
244 * lyxfunc.C (getStatus): Make sure that formats other than
245 "fax" can also be disabled
247 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
249 * text3.C (dispatch): put the lfuns that insert insets in 3
250 groups, and call doInsertInset with appropriate arguments.
251 (doInsertInset): new function, that creates an inset and inserts
252 it according to some boolean parameters.
254 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
256 * buffer.C (readFile): remember to pass on 'par' when calling
257 readFile recursively.
259 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
261 * MenuBackend.C (expandFormats): add "..." to import formats.
263 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
265 * paragraph.C (asString): Remove XForms RTL hacks.
267 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
270 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * Makefile.am (LIBS): delete var
273 (lyx_LDADD): add @LIBS@ here instead.
275 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
277 * Clarify the meaning of "wheel mouse jump"
279 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
281 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
284 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
286 * importer.C (Loaders): do not preallocate 3 elements in the
287 vector, since one ends up with 6 elements otherwise
289 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
291 * DepTable.C (write): write the file name as last element of the
292 .dep file (because it may contain spaces)
293 (read): read info in the right order
295 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
297 * paragraph_pimpl.C (simpleTeXBlanks):
298 (simpleTeXSpecialChars):
299 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
301 * tabular.C (latex): add some missing case statements. Reindent.
303 * MenuBackend.C (expandToc): remove unused variable.
305 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
314 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
317 2003-01-05 John Levon <levon@movementarian.org>
320 * BufferView.C: add getEncoding()
323 * kbsequence.C: do not store last keypress
326 * lyxfunc.C: store last keypress here instead. Pass encoding
329 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
331 * lyx_main.C (init): remove annoying error message when following
332 symbolic links (bug #780)
334 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
336 * text.C (insertChar):
337 * lyxrc.C (getDescription): remove extra spaces
339 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
341 * lyxrc.C (getDescription): remove extra spaces
343 2002-12-20 John Levon <levon@movementarian.org>
345 * text3.C: hack fix for page up/down across tall rows
347 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
349 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
352 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
354 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
355 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
356 thesaurus is not compiled in
358 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
360 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
362 2002-12-16 Angus Leeming <leeming@lyx.org>
365 * lyx_main.C (init): remove override_x_deadkeys stuff.
367 2002-12-12 John Levon <levon@movementarian.org>
369 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
370 insert. Only remove shift modifier under strict
373 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
375 * MenuBackend.C (expandToc): fix crash.
377 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
379 * MenuBackend.C (expandToc): gettext on float names.
381 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
383 * lyxlength.[Ch]: set default unit to UNIT_NONE,
384 implement bool empty() [bug 490]
386 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
388 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
390 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
392 * several files: ws changes
394 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
396 * text2.C (setCounter): clean up a bit, use boost.format.
397 (updateCounters): initialize par upon declaration.
399 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
400 if the layout exists. We do not just store the layout any more.
401 (SwitchLayoutsBetweenClasses): use boost.format
403 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
405 * converter.C (convert): if from and to files are the same, use a
406 temporary files as intermediary
408 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
413 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
415 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
417 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
419 * tabular.C (asciiPrintCell): use string(size, char) instead of
422 * sgml.C (openTag): fix order of arguments to string constructor
425 * lyxfunc.C (dispatch): use boost.format
427 * lots of files: change "c" -> 'c'
429 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
431 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
433 2002-11-25 Angus Leeming <leeming@lyx.org>
435 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
437 * lyx_main.C (init): compile fix.
439 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
441 * lyx_cb.C (start): boost.formatify
442 do not include <iostream>
444 * lengthcommon.C: ws only
446 * boost-inst.C,BoostFormat.h: add more explict instantations
448 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
450 * lots of files: handle USE_BOOST_FORMAT
452 2002-11-21 John Levon <levon@movementarian.org>
454 * pspell.C: fix compile
456 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
458 * lyxfunc.C (dispatch): use boost::format
462 * lyxfont.C (stateText): use boost::format
464 * lyx_main.C (LyX): use boost::format
466 (queryUserLyXDir): ditto
469 (typedef boost::function): use the recommened syntax.
471 * importer.C (Import): use boost::format
473 * debug.C (showLevel): use boost::format
475 * converter.C (view): use boost::format
480 * bufferview_funcs.C (currentState): use boost::format
482 * bufferlist.C (emergencyWrite): use boost::format
484 * buffer.C (readLyXformat2): use boost::format
485 (parseSingleLyXformat2Token): ditto
487 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
489 * LaTeX.C (run): use boost::format
491 * Chktex.C (scanLogFile): use boost::format
493 * BufferView_pimpl.C (savePosition): use boost::format
494 (restorePosition): ditto
495 (MenuInsertLyXFile): ditto
497 * BoostFormat.h: help file for explicit instation.
499 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
501 * tabular.C (latex): Support for block alignment in fixed width
504 2002-11-17 John Levon <levon@movementarian.org>
506 * BufferView_pimpl.C:
508 * lyxfunc.C: split filedialog into open/save
510 2002-11-08 Juergen Vigna <jug@sad.it>
512 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
513 by my last patch (hopefully).
515 2002-11-08 John Levon <levon@movementarian.org>
524 * toc.C: ParConstIterator, and use it (from Lars)
526 2002-11-07 Ben Stanley <bds02@uow.edu.au>
528 * lyxtextclass.[Ch]: revise and add doxygen comments
530 2002-11-07 John Levon <levon@movementarian.org>
532 * text.C: fix progress value for spellchecker
534 * toc.C: fix navigate menu for insetwrap inside minipage
536 * paragraph_funcs.C: added FIXME for suspect code
538 2002-11-07 John Levon <levon@movementarian.org>
540 * BufferView_pimpl.C: fix redrawing of insets
543 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
545 * text2.C (updateCounters): fix bug 668
547 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
549 * text3.C (dispatch): Do not make the buffer dirty when moving the
552 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
554 * vc-backend.C: STRCONV
557 * text2.C (setCounter): STRCONV
559 * paragraph.C (asString): STRCONV
561 * lyxlength.C (asString): STRCONV
562 (asLatexString): ditto
564 * lyxgluelength.C (asString): STRCONV
565 (asLatexString): ditto
567 * lyxfunc.C (dispatch): STRCONV
570 * lyxfont.C (stateText): STRCONV
572 * importer.C (Import): STRCONV
574 * counters.C (labelItem): STRCONV
576 (numberLabel): remove unused ostringstream o
581 * bufferview_funcs.C (currentState): STRCONV
583 * buffer.C (readFile): STRCONV
584 (asciiParagraph): ditto
585 (makeLaTeXFile): ditto
587 * Spacing.C (writeEnvirBegin): STRCONV
589 * LaTeXFeatures.C (getLanguages): STRCONV
592 (getBabelOptions): ditto
593 (getTClassPreamble): ditto
594 (getLyXSGMLEntities): ditto
595 (getIncludedFiles): ditto
602 * LString.h: add the STRCONV macros
604 * BufferView_pimpl.C (savePosition): STRCONV
605 (restorePosition): ditto
606 (MenuInsertLyXFile): ditto
608 * vc-backend.C (scanMaster): change from submatch[...] to
611 * funcrequest.C: include config.h
613 * factory.C: include config.h
615 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
617 * box.C: include config.h
619 * LaTeX.C (scanAuxFile): change from submatch[...] to
623 2002-10-25 Angus Leeming <leeming@lyx.org>
625 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
627 * ispell.[Ch] (setError): new method.
628 * ispell.C (c-tor): move out child process into new class LaunchIspell.
629 Use setError() insetead of goto END.
631 * lyx_cb.C (AutoSave): move out child process into new class
634 2002-10-30 John Levon <levon@movementarian.org>
636 * text3.C: make start appendix undoable
638 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
640 * lyxlength.C (inPixels): Fix returned value.
642 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
645 2002-10-24 Angus Leeming <leeming@lyx.org>
647 * lyxgluelength.h: no need to forward declare BufferParams
648 or BufferView, so don't.
650 2002-10-21 John Levon <levon@movementarian.org>
652 * BufferView.C: menuUndo ->undo, redo
654 * BufferView.h: document, remove dead, make some methods private
658 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
663 * sgml.C: move sgml open/close tag into sgml.C
665 * bufferview_funcs.h: unused prototype
668 * lyxfunc.C: remove unused
671 * text.C: remove unused
673 2002-10-21 John Levon <levon@movementarian.org>
677 * BufferView_pimpl.h:
678 * BufferView_pimpl.C: fix mouse wheel handling based on
679 patch from Darren Freeman
681 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
683 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
685 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
687 * lyxlength.C (inPixels): Fix hanfling of negative length.
688 Fix LyXLength::MU case.
690 2002-10-16 John Levon <levon@movementarian.org>
692 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
694 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
696 * converter.C (view): add support for $$i (file name) and $$p
697 (file path) for the viewer command. If $$i is not specified, then
698 it is appended to the command (for compatibility with old syntax)
700 2002-10-14 Juergen Vigna <jug@sad.it>
702 * undo_funcs.C (textHandleUndo): alter the order in which the
703 new undopar is added to the LyXText, as we have to set first
704 the right prev/next and then add it as otherwise the rebuild of
705 LyXText is not correct. Also reset the cursor to the right paragraph,
706 with this IMO we could remove the hack in "redoParagraphs()".
708 2002-10-09 Angus Leeming <leeming@lyx.org>
710 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
711 to turn off an optimisation if a new inset is to be inserted.
713 2002-10-11 André Pönitz <poenitz@gmx.net>
715 * lytext.h: make some functions public to allow access
716 from inset/lyxtext for handling LFUN_PRIOR/NEXT
718 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
720 * text3.C (dispatch): when changing layout, avoid an infinite loop
723 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
725 * lyxrc.C (read): treat a viewer or converter command of "none" as
728 * MenuBackend.C (expandFormats): for an update, also allow the
729 formats that are not viewable
731 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
732 script if it is newer than the lyxrc.defaults in user directory
734 2002-10-07 André Pönitz <poenitz@gmx.net>
736 * text.C: Vitaly Lipatov's small i18n fix
738 2002-09-25 Angus Leeming <leeming@lyx.org>
740 * ispell.h: doxygen fix.
742 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
744 * buffer.h (readFile): Add a new argument to the method, to allow
745 reading of old-format templates.
747 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
749 * toc.C (getTocList): Get TOC from InsetWrap.
751 2002-09-16 John Levon <levon@movementarian.org>
753 * lyxfunc.C: check tabular for cut/copy too
755 2002-09-12 John Levon <levon@movementarian.org>
760 * factory.C: add header
763 * paragraph_funcs.C: cleanup
765 2002-09-11 John Levon <levon@movementarian.org>
767 * PrinterParams.h: odd/even default to true
769 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
771 * PrinterParams.h: update printer parameters for new xforms dialog
773 2002-09-11 Angus Leeming <leeming@lyx.org>
775 * lyxserver.C (read_ready): re-write to make it more transparent
776 and to make it work in coherent fashion under Tru64 Unix.
778 2002-09-11 André Pönitz <poenitz@gmx.net>
782 * text3.C: implement LFUN_WORDSEL
784 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
786 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
787 make floatlist_ a boost::shared_ptr<FloatList>
789 * lyxtextclass.C: include FloatList.h
790 (LyXTextClass): initialize floatlist_
791 (TextClassTags): add TC_NOFLOAT
792 (Read): match "nofloat" to TC_NOFLOAT and use it.
793 (readFloat): modify call to floatlist_
797 * FloatList.[Ch] (FloatList): remove commented out float
799 (erase): new function
801 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
803 * MenuBackend.C (expandToc): fix crash when there is no document
806 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
808 * many files: Add insetwrap.
810 2002-09-09 John Levon <levon@movementarian.org>
812 * text2.C: remove confusing and awkward depth wraparound
814 2002-09-09 John Levon <levon@movementarian.org>
816 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
819 * buffer.C: remove getIncludeonlyList()
822 * lyxfunc.C: remove headers
824 2002-09-09 Juergen Vigna <jug@sad.it>
826 * text.C (getColumnNearX): fix form Michael this is most
827 probably a cut&paste bug.
829 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
831 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
833 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
834 references, ws changes.
836 * text2.C (init): update counters after init
837 (insertParagraph): no need to set counter on idividual paragraphs.
838 (setCounter): access the counters object in the textclass object
839 on in the buffer object.
840 (updateCounters): ditto
842 * lyxtextclass.C: include counters.h, add variable ctrs_ as
843 shared_ptr<Counters> to avoid loading counters.h in all
845 (LyXTextClass): initialize ctrs_
846 (TextClassTags): add TC_COUNTER, and ...
848 (CounterTags): new tags
849 (readCounter): new function
850 (counters): new funtion
851 (defaultLayoutName): return a const reference
853 * counters.C (Counters): remove contructor
854 (newCounter): remove a couple of unneeded statements.
855 (newCounter): simplify a bit.
856 (numberLabel): some small formatting changes.
858 * buffer.[Ch]: remove all traces of counters, move the Counters
859 object to the LyXTextClass.
861 2002-09-06 Alain Castera <castera@in2p3.fr>
863 * tabular.C: uses \tabularnewline; uses >{...} construct from array
864 package to set the horizontal alignment on fixed width columns.
867 * lyx_sty.h: added tabularnewline macro def.
869 * LaTeXFeatures.C: added NeedTabularnewline macro feature
871 2002-09-06 John Levon <levon@movementarian.org>
873 * LyXAction.C: tooltips for sub/superscript
875 * MenuBackend.C: a bit more verbose
877 * lyxfunc.C: tiny clean
879 * undo_funcs.C: document undo_frozen
881 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
883 * counters.C (Counters): add missing algorithm counter.
885 * text2.C (setCounter): lookup the counter with layouts latexname
886 instead of by section number.
887 (setCounter): use a hackish way to lookup the correct enum
889 a float name->type change
890 reset enum couners with counter name directly instead of depth value.
892 * counters.C (Counters): remove the push_backs, change to use the
893 float type not the float name.
894 (labelItem): remove unused string, float name->type change
896 * counters.h: don't include vector, loose the enums and sects vectors
898 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
900 * lyxtextclass.C (TextClassTags): add TC_FLOAT
901 (Read): add float->TC_FLOAT to textclassTags
902 (Read): and handle it in the switch
903 (readFloat): new function
905 * FloatList.C (FloatList): comment out the hardcoded float
908 * lyxlayout.h: ws change.
910 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
912 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
914 2002-09-03 Angus Leeming <leeming@lyx.org>
916 * BufferView_pimpl.h: qualified name is not allowed in member
917 declaration: WorkArea & Pimpl::workarea() const;
919 * factory.C: added using std::endl directive.
921 * text3.C: added using std::find and std::vector directives.
923 2002-08-29 André Pönitz <poenitz@gmx.net>
926 * text2.C: remove unused member number_of_rows
929 * BufferView2.C: remove file, move contents to...
930 * BufferView.C: ... here
932 * BufferView_pimpl.C:
933 * factory.C: move more inset creation to factory
935 * vspace.C: avoid direct usage of LyXText, ws changes
938 don't provide direct access to WorkArea, use two simple
939 acessors haveSelction() and workHeight() instead
942 2002-08-29 John Levon <levon@movementarian.org>
944 * BufferView_pimpl.C (dispatch): do not continue when
947 2002-08-28 André Pönitz <poenitz@gmx.net>
949 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
952 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
954 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
956 * buffer.C: increment LYX_FORMAT to 221
958 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
959 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
961 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
963 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
965 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
967 * factory.C (createInset): use LyXTextClass::floats
969 * MenuBackend.C (expandFloatListInsert):
973 * text2.C (setCounter):
975 * LaTeXFeatures.C (useFloat):
976 (getFloatDefinitions):
978 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
980 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
981 floatlist_, with accessor floats().
983 * FloatList.h: remove global FloatList
985 2002-08-26 André Pönitz <poenitz@gmx.net>
987 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
991 * BufferView_pimpl.C:
992 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
994 2002-08-25 John Levon <levon@movementarian.org>
996 * LyXAction.C: fix margin note description
998 2002-08-24 John Levon <levon@movementarian.org>
1002 * bufferview_funcs.C:
1004 * undo_funcs.C: cleanups
1006 * lyxfunc.C: disable CUT/COPY when no selection
1008 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1010 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1011 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1013 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1014 Add backward compatibility to "mono", "gray" and "no".
1016 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1018 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1019 (and file_format >= 200).
1021 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1023 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1025 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1027 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1029 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1031 * BufferView_pimpl.C:
1038 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1039 inset and code to make it work with the paragraph code. The inset
1040 can be anywhere in the paragraph, but will only do the expected
1041 thing in LaTeX if the layout file contains the parameter line
1043 (or more generally, a nonzero value) for that layout.
1045 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * paragraph.h: remove the declaration of undefined counters class
1050 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1052 * text2.C (setCounter): fixed enumeration mis-count as reported by
1053 Dr. Richard Hawkins.
1055 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1057 * paragraph_funcs.h: remove some unneeded includes
1059 * text.C (backspace): pasteParagraph now in global scipe
1061 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1062 (pasteSelection): ditto
1064 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1065 * paragraph_funcs.C (pasteParagraph): ... here
1067 2002-08-20 André Pönitz <poenitz@gmx.net>
1069 * commandtags.h: new LFUNs for swapping/copying table row/colums
1072 * lyxfunc.C: support for new lfuns
1074 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * buffer.[Ch]: remove NO_COMPABILITY stuff
1079 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1081 * boost.C (throw_exception): new file, with helper function for
1082 boost compiled without exceptions.
1087 * ParameterStruct.h:
1088 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1090 * bufferlist.C (emergencyWriteAll): use boost bind
1092 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1094 * text.C: include paragraph_funcs.h
1095 (breakParagraph): breakParagraph is now in global scope
1097 * paragraph_funcs.[Ch]: new files
1099 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1102 * buffer.C: include paragraph_funcs.h
1103 (insertStringAsLines): breakParagraph is now in global scope
1105 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1108 * CutAndPaste.C: include paragraph_funcs.h
1109 (cutSelection): breakParagraphConservative is now in global scope
1110 (pasteSelection): ditto
1112 * buffer.h: declare oprator== and operator!= for
1113 Buffer::inset_iterator
1115 * bufferlist.C (emergencyWrite): don't use fmt(...)
1117 * text3.C: add using std::endl
1119 * BufferView.C (moveCursorUpdate): remove default arg
1121 2002-08-20 André Pönitz <poenitz@gmx.net>
1123 * buffer.[Ch]: move inline functions to .C
1126 * BufferView_pimpl.C:
1128 * buffer.[Ch]: use improved inset_iterator
1131 * paragraph.[Ch]: write one paragraph at a time
1133 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1135 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1136 style if style is not specified.
1138 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1140 * text2.C (setCounter): when searching for right label for a
1141 caption, make sure to recurse to parent insets (so that a caption
1142 in a minipage in a figure float works) (bug #568)
1144 2002-08-20 André Pönitz <poenitz@gmx.net>
1146 * text3.C: new file for LyXText::dispatch() and helpers
1148 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1150 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1152 2002-08-19 André Pönitz <poenitz@gmx.net>
1155 * text.C: new LyXText::dispatch()
1157 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1159 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1161 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1163 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1166 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1168 * Makefile.am: use $(variables) instead of @substitutions@
1170 2002-08-15 André Pönitz <poenitz@gmx.net>
1173 * BufferView_pimpl.C: streamlining mathed <-> outer world
1177 * LyXAction.C: remove unused LFUN_MATH
1179 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1183 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1185 * paragraph.C (Paragraph): reformat a bit
1186 (cutIntoMinibuffer): use builtin InsetList function instad of
1190 * buffer.C: include boost/bind.hpp, add using std::for_each
1191 (writeFileAscii): use ParagraphList iterators
1192 (validate): use for_each for validate traversal of paragraphs
1193 (getBibkeyList): use ParagraphList iterators
1194 (resizeInsets): use for_each to resizeInsetsLyXText for all
1196 (getParFromID): use ParagraphList iterators
1198 * BufferView2.C (lockInset): use paragraph list and iterators
1200 2002-08-14 John Levon <levon@movementarian.org>
1202 * lyxserver.C: remove spurious xforms include
1204 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1206 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1208 2002-08-13 André Pönitz <poenitz@gmx.net>
1211 * lyxfunc.C: further cleaning
1213 2002-08-13 André Pönitz <poenitz@gmx.net>
1215 * funcrequest.h: new constructor
1217 * funcrequest.C: move stuff here from .h
1220 * BufferView_pimpl.C:
1223 * lyxfunc.C: subsequent changes
1225 * lyxfunc.h: new view() member function
1227 * lyxfunc.C: subsequent changes
1229 2002-08-13 Angus Leeming <leeming@lyx.org>
1232 * BufferView_pimpl.C:
1240 changes due to the changed LyXView interface that now returns references
1241 to member variables not pointers.
1243 2002-08-13 Angus Leeming <leeming@lyx.org>
1245 * WordLangTuple (word, lang_code): return references to strings,
1250 * lyxtext.h: forward-declare WordLangTuple.
1255 * text.C: #include "WordLangTuple.h".
1258 * text.C: (selectNextWordToSpellcheck): constify return type.
1260 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1266 * paragraph_pimpl.h:
1269 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1271 Made updateCounter always count from start of buffer, and removed
1272 second argument (par).
1273 Reverted floats number display to '#'. Perhaps I'll try again when the
1274 code base is sanitized a bit.
1276 2002-08-12 Angus Leeming <leeming@lyx.org>
1278 * buffer.[Ch] (getLabelList): constify.
1280 2002-08-07 André Pönitz <poenitz@gmx.net>
1282 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1284 * funcrequest.h: extension to keep mouse (x,y) position
1286 2002-08-12 Juergen Vigna <jug@sad.it>
1288 * BufferView2.C (insertErrors): forbid undo when inserting error
1291 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1293 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1295 * ParagraphList.[Ch]: new files
1297 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1299 * BufferView2.C (lockInset): ParagraphList changes
1302 * bufferlist.C: ditto
1306 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1308 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1309 unused class variable counter_,
1311 * paragraph.[Ch] (getFirstCounter): delete unused function
1313 * counters.C: include LAssert.h
1314 (reset): add a new function with no arg, change other version to
1315 not have def. arg and to not allow empty arg.
1317 * text2.C (setCounter): remove empty arg from call to Counters::reset
1319 2002-08-11 John Levon <levon@movementarian.org>
1321 * Makefile.am: add WordLangTuple.h
1323 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1326 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1328 * insets/insettext.C: InsetList changes
1330 * graphics/GraphicsSupport.C (operator()): InsetList changes
1332 * toc.C (getTocList): InsetList changes
1334 * paragraph_pimpl.[Ch]: InsetList changes
1336 * paragraph.[Ch]: InsetList changes
1338 * buffer.C (inset_iterator): InsetList changes
1339 (setParagraph): ditto
1340 * buffer.h (inset_iterator): ditto
1341 * iterators.C (operator++): ditto
1342 * iterators.h: ditto
1344 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1346 * InsetList.[Ch]: new files, most InsetList handling moved out of
1349 * BufferView2.C (removeAutoInsets): InsetList changes
1351 (ChangeInsets): ditto
1353 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * paragraph_pimpl.h (empty): new function
1357 * paragraph.[Ch] (empty): new function
1359 * other files: use the new Paragraph::empty function
1361 2002-08-09 John Levon <levon@movementarian.org>
1363 * lyxtext.h: remove unused refresh_height
1365 2002-08-09 John Levon <levon@movementarian.org>
1372 * paragraph.C: move sgml char escaping out of paragraph
1375 * paragraph.C: remove id setter
1379 * paragraph_pimpl.C: remove dead tex_code_break_column
1381 * bufferview_funcs.C: small cleanup
1383 * lyxfunc.C: remove dead proto
1385 * lyxtext.h: make some stuff private. Remove some dead stuff.
1387 * lyxgluelength.C: make as[LyX]String() readable
1389 2002-08-08 John Levon <levon@movementarian.org>
1394 * ToolbarDefaults.C:
1397 * toc.C: lyxaction cleanup
1399 2002-08-08 John Levon <levon@movementarian.org>
1401 * BufferView2.C: small cleanup
1404 * lyxfind.C: move unnecessary header into the .C
1406 2002-08-08 John Levon <levon@movementarian.org>
1408 * funcrequest.h: just tedious nonsense
1411 * lyx_main.C: cleanups
1414 * vspace.C: remove dead header lyx_main.h
1416 2002-08-07 Angus Leeming <leeming@lyx.org>
1419 * paragraph_pimpl.h:
1420 Forward declare class Counters in paragraph.h by moving the ctrs member
1421 variable into Paragraph::Pimpl.
1422 (counters): new method, returning a reference to pimpl_->ctrs.
1424 * text2.C: ensuing changes.
1426 2002-08-07 John Levon <levon@movementarian.org>
1428 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1430 * BufferView_pimpl.C: announce X selection on double/triple
1433 * lyx_main.C: use correct bool in batch dispatch
1435 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1437 2002-08-07 André Pönitz <poenitz@gmx.net>
1439 * funcrequest.h: new class to wrap a kb_action and its argument
1442 * BufferView_pimpl[Ch]:
1446 * lyxrc.C: subsequent changes
1449 2002-08-07 John Levon <levon@movementarian.org>
1451 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1452 document options change.
1454 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1459 * makefile.am: move counters functionality over from
1460 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1462 2002-08-06 John Levon <levon@movementarian.org>
1464 * WordLangTuple.h: new file for word + language code tuple
1475 * BufferView2.C: use WordLangTuple
1478 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1480 2002-08-06 John Levon <levon@movementarian.org>
1482 * lyx_main.C: fix cmdline batch handling
1484 2002-08-06 André Pönitz <poenitz@gmx.net>
1486 * lyxrc.C: set default for show_banner to true
1488 2002-08-06 John Levon <levon@movementarian.org>
1490 * pspell.C: fix a crash, and allow new aspell to work
1492 2002-08-06 John Levon <levon@movementarian.org>
1495 * kbmap.C: small cleanup
1498 * vspace.C: add const
1500 2002-08-05 John Levon <levon@movementarian.org>
1502 * LyXAction.C: back to tabular-insert
1504 2002-08-04 John Levon <levon@movementarian.org>
1507 * BufferView.C: cosmetic change
1509 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1519 * BufferView2.C: purge all "Lyx" not "LyX" strings
1522 * lyxcursor.C: attempt to add some documentation
1527 * ToolbarDefaults.C:
1528 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1529 merge with LFUN_TABULAR_INSERT
1536 * pspell.C: split up i/pspell implementations into separate
1537 files, many cleanups
1539 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1541 * text2.C: some cleanup
1543 * lyxfunc.C: don't check for isp_command == "none" any more, it
1544 didn't make any sense
1546 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1551 * makefile.am: move counters functionality over
1552 from text2.C/paragraph.[Ch] to counters.[Ch], and
1554 2002-08-02 John Levon <levon@movementarian.org>
1556 * buffer.C: s/lyxconvert/lyx2lyx/
1558 2002-08-02 Angus Leeming <leeming@lyx.org>
1560 * lyxlex.C: revert John's change as it breaks reading of the user
1563 2002-08-02 Angus Leeming <leeming@lyx.org>
1565 * importer.C (Import):
1566 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1567 changes due to LyXView::view() now returning a boost::shared_ptr.
1569 2002-08-02 John Levon <levon@movementarian.org>
1571 * lyxlex.C: small cleanup
1573 2002-08-02 John Levon <levon@movementarian.org>
1575 * text2.C (status): small cleanup, no logic change
1577 2002-08-01 John Levon <levon@movementarian.org>
1580 * buffer.C (writeFile): don't output alerts, caller
1584 * lyx_cb.C: from above
1586 * lyxfunc.C: allow to open non-existent files
1588 2002-07-31 John Levon <levon@movementarian.org>
1590 * lyxserver.C: don't let incidental errors get
1593 2002-07-30 John Levon <levon@movementarian.org>
1595 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1597 2002-07-30 John Levon <levon@movementarian.org>
1600 * lyxserver.C: remove I/O callback too
1602 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1604 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1607 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * many files: strip,frontStrip -> trim,ltrim,rtrim
1611 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * PrinterParams.h: remove extern containsOnly, and include
1614 support/lstrings.h instead.
1616 * LaTeX.C (scanAuxFile): modify because of strip changes
1618 * buffer.C (makeLaTeXFile): ditto
1619 * bufferparams.C (writeFile): ditt
1620 * lyxfont.C (stateText): ditto
1621 * lyxserver.C (read_ready): ditto
1622 * vc-backend.C (scanMaster): ditto
1624 * BufferView_pimpl.h: ws changes
1626 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1628 2002-07-26 André Pönitz <poenitz@gmx.net>
1630 * kb_sequence.C: remove unnedred usings
1632 2002-07-26 Juergen Vigna <jug@sad.it>
1634 * lyxfind.C (LyXReplace): we have to check better if the returned
1635 text is not of theLockingInset()->getLockingInset().
1637 2002-07-25 Juergen Vigna <jug@sad.it>
1639 * lyxfind.C (LyXReplace): don't replace if we don't get the
1642 * undo_funcs.C (createUndo): remove debugging code.
1644 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1646 * buffer.C (parseSingleLyXformat2Token): Use default placement
1647 when reading old floats.
1649 * FloatList.C (FloatList): Change the default placement of figure
1650 and tables to "tbp".
1652 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1654 * MenuBackend.C: using std::max
1656 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1658 * MenuBackend.C (expandToc):
1659 (expandToc2): code moved from xforms menu frontend. It is now
1660 generic and TOCs are transparent to menu frontends.
1662 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1664 * toc.C (getTocList): protect against buf=0
1666 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1667 Menu as first parameter. Now, this calls itself recursively to
1668 expand a whole tree (this will be useful for TOC handling)
1669 (expandFloatInsert): remove 'wide' version of floats
1671 * MenuBackend.h (submenuname): returns the name of the submenu.
1672 (submenu): returns the submenu itself, provided it has been
1673 created by MenuBackend::expand
1675 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1677 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1678 insets which have noFontChange == true. (bug #172)
1680 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1682 * BufferView_pimpl.C: add connection objects and use them...
1685 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1687 * MenuBackend.C (expandLastfiles):
1690 (expandFloatListInsert):
1691 (expandFloatInsert):
1692 (expand): split expand in parts
1694 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1696 * lyx_gui.C: use lyx_gui::exit()
1698 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1700 * LyXAction.C: show the failing pseudo action
1702 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1704 * buffer.C (readFile): Run the lyxconvert script in order to read
1707 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1711 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1713 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1717 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1719 2002-07-22 Herbert Voss <voss@lyx.org>
1722 * lyxlength.[Ch]: add support for the vertical lengths
1724 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1726 * toc.[Ch]: std:: fixes
1728 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1730 * lyxrc.C: do not include lyx_main.h
1732 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1738 * BufferView2.C: include "lyxlex.h"
1741 * bufferparams.h: do not #include "lyxlex.h"
1743 * lyxtextclasslist.C (Add): remove method
1744 (classlist): renamed to classlist_
1746 * paragraph_pimpl.C:
1750 * bufferview_funcs.C:
1755 * toc.C (getTocList): use BufferParams::getLyXTextClass
1757 * toc.C (getTocList): use InsetFloat::addToToc
1759 * toc.[Ch]: new files, containing helper functions to handle table
1762 * lyxfunc.C (dispatch): no need to remove spaces around command
1764 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1765 first command of the sequence; it is not very clever, but I do not
1766 have a better idea, actually
1768 * LyXAction.C (LookupFunc): make sure to remove space at the
1769 beginning and end of the command
1771 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1773 * MenuBackend.C (getMenubar): new method: return the menubar of
1775 (read): treat differently reading of menu and menubar (in
1776 particular, the menubar has no name now)
1777 (Menu::menubar): remove
1779 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1782 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1784 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1785 a bibitem inset in a RTL paragraph.
1787 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1789 * paragraph_pimpl.C: constify
1791 * BufferView_pimpl.C:
1793 * lyxfunc.C: fix dispatch in a nicer way
1795 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1797 * lyxfunc.C (dispatch):
1798 * BufferView_pimpl.C:
1799 * BufferView_pimpl.h:
1801 * BufferView.h: rename Dispatch() to dispatch()
1803 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1805 * lyxlayout.C (Read): honor DependsOn tag
1807 * lyxlayout.[Ch] (depends_on): new method
1809 * version.C.in: update lyx_docversion
1811 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1813 * paragraph.C (validate): remove from here...
1814 * paragraph_pimpl.C (validate): ... and move here
1815 (isTextAt): make it const
1817 * buffer.C (getLists): ws cleanup
1819 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1821 * language.C (read): Use iso8859-1 encoding in latex_lang
1822 (this prevents LyX from crashing when using iso10646-1 encoding).
1824 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1826 * text2.C (toggleInset): if cursor is inside an inset, close the
1827 inset and leave cursor _after_ it
1829 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1831 * lyxfunc.C: move minibuffer completion handling out of here
1833 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1835 * BufferView_pimpl.C:
1836 * LaTeX.C: fix dispatch calls
1838 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1840 * text.C (drawChars): Fix Arabic text rendering.
1842 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1846 * lyxfunc.C: remove message-push/pop
1850 * lyxfunc.C: rationalise some code by removing verboseDispatch
1851 in favour of a bool argument to dispatch()
1853 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1855 * lyx_main.C (init): make sure to read symlinks as absolute paths
1857 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1860 * lyxfunc.C: no need for commandshortcut to be a member
1862 2002-07-15 André Pönitz <poenitz@gmx.net>
1864 * converter.C: add support for $$s (scripts from lib/scripts dir)
1865 * lyx_main.C: white space
1867 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1871 * lyxrc.C: remove second exit confirmation
1873 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1878 * BufferView_pimpl.h:
1879 * BufferView_pimpl.C:
1880 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1882 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1884 * MenuBackend.C (expand): add numeric shortcuts to document menu
1886 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1888 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1890 * lyxfont.C (setLyXFamily):
1897 * buffer.C (asciiParagraph): use ascii_lowercase
1899 2002-07-15 Mike Fabian <mfabian@suse.de>
1901 * lyxlex_pimpl.C (search_kw):
1902 * lyxlex.C (getLongString):
1903 * converter.h (operator<):
1904 * converter.C (operator<):
1905 * buffer.C (parseSingleLyXformat2Token):
1907 * ToolbarDefaults.C (read):
1908 * MenuBackend.C (checkShortcuts):
1910 * LColor.C (getFromGUIName):
1911 (getFromLyXName): use the compare_ascii_no_case instead of
1912 compare_no_case, because in turkish, 'i' is not the lowercase
1913 version of 'I', and thus turkish locale breaks parsing of tags.
1915 2002-07-16 Angus Leeming <leeming@lyx.org>
1917 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1918 now takes a Buffer const & argument.
1920 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1922 * BufferView.C (resize): check there's a buffer to resize
1924 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1926 * lyxfunc.C: remove dead code
1929 * lyxserver.C: use lyx_guii::set_read_callback
1931 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1933 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1934 an inset in a RTL paragraph.
1936 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1938 * lyxfunc.C: repaint after a font size update
1940 2002-07-15 André Pönitz <poenitz@gmx.net>
1942 * lyxlength.C: inBP should be able to return negative values
1944 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1946 * lyxfunc.C: use lyx_gui::update_fonts()
1948 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1950 * lyxfunc.C: use lyx_gui::update_color()
1952 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1958 * lyxrc.C: remove file->new asks for name option, and let
1959 buffer-new take an argument
1961 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1963 * BufferView_pimpl.C: remove unneeded extra repaint()
1965 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1967 * LyXAction.C: allow command-sequence with NoBuffer
1969 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1971 2002-07-10 Angus Leeming <leeming@lyx.org>
1973 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1975 2002-07-09 Angus Leeming <leeming@lyx.org>
1977 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1979 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1981 * lengthcommon.h: whitespace
1983 * lyxfunc.C: update scrollbar after goto paragraph
1985 * lyxtext.h: factor out page break drawing, and fix it so
1986 page break/added space paints as selected nicely
1988 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1990 * BufferView_pimpl.C: add FIXMEs, clean up a little
1992 2002-07-09 André Pönitz <poenitz@gmx.net>
1994 * lyxfont.[Ch]: support for wasy symbols
1996 2002-07-08 André Pönitz <poenitz@gmx.net>
1998 * BufferView_pimpl.C: apply John's patch for #93.
2000 2002-07-05 Angus Leeming <leeming@lyx.org>
2002 * BufferView_pimpl.C (buffer): generate previews if desired.
2004 * LColor.h: add "preview" to the color enum.
2006 * LColor.C (LColor): add a corresponding entry to the items array.
2008 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2011 2002-07-05 Angus Leeming <leeming@lyx.org>
2013 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2014 The body of the code is now in the method that is passed an ostream &
2015 rather than a file name.
2016 Pass an additional only_preamble parameter, useful for the forthcoming
2019 2002-07-03 André Pönitz <poenitz@gmx.net>
2021 * lyxfunc.C: simplify getStatus() a bit for math stuff
2023 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2025 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2027 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2029 * text.C (changeRegionCase): do not change case of all the
2030 document when region ends at paragraph end (bug #461)
2032 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2034 * paragraph.C (startTeXParParams):
2035 (endTeXParParams): add \protect when necessary
2037 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2039 * BufferView_pimpl.C (workAreaExpose): remove warning
2041 2002-06-27 Angus Leeming <leeming@lyx.org>
2043 * Makefile.am: add lyxlayout_ptr_fwd.h.
2045 2002-06-26 André Pönitz <poenitz@gmx.net>
2047 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2049 2002-06-25 Angus Leeming <leeming@lyx.org>
2051 * lyxfunc.C (dispatch): Comment out the call to
2052 grfx::GCache::changeDisplay. The method no longer exists now that the
2053 pixmap generation part of the graphics loader has been moved into
2056 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2058 * text2.C: layout as layout
2060 * text.C: layout as layout
2062 * tabular.C (OldFormatRead): layout as layout
2064 * paragraph_pimpl.C (TeXDeeper): layout as layout
2065 (realizeFont): layout as layout
2067 * paragraph.C (writeFile): layout as layout
2068 (validate): layout as layout
2069 (getFont): layout as layout
2070 (getLabelFont): layout as layout
2071 (getLayoutFont): layout as layout
2072 (breakParagraph): layout as layout
2073 (stripLeadingSpaces): layout as layout
2074 (getEndLabel): layout as layout
2075 (getMaxDepthAfter): layout as layout
2076 (applyLayout): layout as layout
2077 (TeXOnePar): layout as layout
2078 (simpleTeXOnePar): layout as layout
2079 (TeXEnvironment): layout as layout
2080 (layout): layout as layout
2081 (layout): layout as layout
2083 * lyxtextclass.C (compare_name): new functor to work with
2084 shared_ptr, layout as layout
2085 (Read): layout as layout
2086 (hasLayout): layout as layout
2087 (operator): layout as layout
2088 (delete_layout): layout as layout
2089 (defaultLayout): layout as layout
2091 * lyxlayout_ptr_fwd.h: new file
2093 * lyxlayout.C (Read): layout as layout
2095 * lyx_cb.C (MenuInsertLabel): layout as layout
2097 * bufferlist.C (newFile): layout as layout
2099 * buffer.C (readLyXformat2): layout as layout
2100 (parseSingleLyXformat2Token): layout as layout
2101 (insertStringAsLines): layout as layout
2102 (asciiParagraph): layout as layout
2103 (latexParagraphs): layout as layout
2104 (makeLinuxDocFile): layout as layout
2105 (simpleLinuxDocOnePar): layout as layout
2106 (makeDocBookFile): layout as layout
2107 (simpleDocBookOnePar): layout as layout
2108 (getLists): layout as layout
2110 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2112 * CutAndPaste.C (cutSelection): layout as layout
2113 (pasteSelection): layout as layout
2114 (SwitchLayoutsBetweenClasses): layout as layout
2116 * BufferView_pimpl.C (Dispatch): layout as layout
2117 (smartQuote): layout as layout
2119 * BufferView2.C (unlockInset): layout as layout
2121 2002-06-24 André Pönitz <poenitz@gmx.net>
2123 * lyxfunc.C: fix #487
2125 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2129 * lyxfunc.C: remove display_shortcuts, show_banner
2131 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2133 * Buffer_pimpl.C: oops, update on resize
2135 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2142 * BufferView.C: use repaint()
2144 * BufferView_pimpl.h:
2145 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2146 as it's a clearer description. Remove superfluous
2149 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2151 * text.C: fix bug 488. Not ideal, but getting
2152 getWord() to work properly for the insets that
2153 matter is more difficult ...
2155 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2157 * BufferView_pimpl.C:
2160 * lyxfunc.C: remove the six million index lyxfuncs to just
2161 one, and DTRT (bug 458)
2163 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2167 * BufferView_pimpl.h:
2168 * BufferView_pimpl.C: clean up resize() stuff,
2169 and unnecessary updateScreen()s
2171 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2175 * BufferView_pimpl.h:
2176 * BufferView_pimpl.C:
2179 * minibuffer.C: remove focus management of workarea,
2180 not needed. Use screen's greyOut()
2182 2002-06-17 Herbert Voss <voss@lyx.org>
2184 * converter.C: (convert) do not post a message, when converting
2185 fails, let the calling function decide what to do in this case
2187 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2189 * lyxfunc.C: tidy up a little
2191 2002-06-16 <alstrup@diku.dk>
2193 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2194 Got rid of FORMS_H_LOCATION include. Now we are
2197 2002-06-15 LyX Development team <lyx@rilke>
2199 * buffer.[Ch] (sgmlOpenTag):
2200 (sgmlCloseTag): Added support for avoiding pernicious mixed
2201 content. Return number of lines written.
2204 (makeDocBookFile): Fixed calls to sgml*Tag.
2205 Simple white space clean.
2207 (simpleDocBookOnePar): Simple white space clean.
2209 * tabular.[Ch] (docBook): Renamed to docbook and got another
2210 argument to related with the pernicious mixed content.
2212 (docbookRow): Fixed calls for docbook inset method.
2214 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2216 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2217 so it's X11 independent.
2221 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2223 2002-06-15 Lyx Development team <lyx@electronia>
2225 * intl.h: Renamed getTrans to getTransManager.
2227 2002-06-14 Angus Leeming <leeming@lyx.org>
2229 * Makefile.am: nuke forgotten stl_string_fwd.h.
2231 2002-06-12 Angus Leeming <leeming@lyx.org>
2233 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2235 2002-06-13 Angus Leeming <leeming@lyx.org>
2238 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2240 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2242 * kbmap.C (getiso): add support for cyrillic and greek
2244 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2248 * BufferView_pimpl.h:
2249 * BufferView_pimpl.C: move bogus scrolling logic
2252 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2255 * BufferView_pimpl.C: view->resize() change
2257 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2259 * BufferView_pimpl.C: topCursorVisible
2262 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2266 * lyx_gui.C: move to frontends/
2270 * lyx_main.C: changes from above
2272 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2279 * lyx_main.C: minor tidy
2281 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2283 * BufferView_pimpl.h:
2284 * BufferView_pimpl.C:
2286 * BufferView.C: make painter() const,
2289 * BufferView2.C: use screen() accessor
2292 * lyx_main.C: some minor cleanup
2294 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2296 * BufferView_pimpl.h:
2297 * BufferView_pimpl.C: remove enter/leaveView,
2300 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2305 * BufferView_pimpl.h:
2306 * BufferView_pimpl.C: only construct screen once,
2309 * lyxrc.C: remove pointless comment
2311 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2314 * BufferView.C: remove active() and belowMouse()
2316 * BufferView_pimpl.h:
2317 * BufferView_pimpl.C: use workarea() not workarea_,
2318 and make it use a scoped_ptr instead
2320 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2322 * lyx_gui.C: add debug message on BadWindow
2324 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2326 * sp_spell.C: fdopen is not part of the C++ standard.
2328 * paragraph.C (InsetIterator): use >= instead of ==
2330 2002-06-07 Angus Leeming <leeming@lyx.org>
2332 Fixes needed to compile with Compaq cxx 6.5.
2333 * BufferView_pimpl.C:
2340 * lyxtextclasslist.C:
2345 all c-library variables have been moved into namespace std. Wrap
2346 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2351 Add a using std::abs declaration.
2353 * kbmap.h (modifier_pair):
2354 * paragraph.h (InsetTable, InsetList):
2355 * lyxfont.h (FontBits):
2356 type definition made public.
2358 * bufferlist.C (emergencyWriteAll): the compiler complains that
2359 there is more than one possible lyx::class_fun template to choose from.
2360 I re-named the void specialisation as lyx::void_class_fun.
2362 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2364 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2365 the compiler is is unable to find tostr in write_attribute.
2367 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2369 * buffer.C (sgmlError): hide #warning
2371 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2373 * xtl/*: get rid of xtl, which is not in use anyway
2375 * LyXAction.C (init):
2376 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2377 were unimplemented xtl experimentation
2379 2002-06-04 André Pönitz <poenitz@gmx.net>
2381 * lyxfunc.C: disable array operation on simple formulae
2383 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2385 * converter.C: constify a bit
2387 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2389 * lyx_gui.C: check xforms version correctly
2391 2002-04-30 Herbert Voss <voss@lyx.org>
2393 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2396 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2398 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2399 attempt to register it with a VCS)
2401 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2403 * lyx_main.C (init): honor variables LYX_DIR_13x and
2406 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2410 * lyx_main.C: fix a crash on bad command line,
2411 and give a useful exit status on error
2413 * lyxfunc.C (doImport): allow -i lyx to work
2415 2002-03-30 André Pönitz <poenitz@gmx.net>
2417 * lyxfunc.C: mathed font changes
2419 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2434 * trans_mgr.h: srcdocs, and some minor cleanups
2436 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2438 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2439 call getFont all the time)
2441 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2443 * switch from SigC signals to boost::signals
2445 2002-05-29 André Pönitz <poenitz@gmx.net>
2447 * paragraph_pimpl.C (getChar): don't call size() too often...
2449 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2451 * paragraph_pimpl.C (insertChar): do not try to update tables when
2452 appending (pos == size())
2454 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2455 in order to reduce drastically the number of comparisons needed to
2456 parse a large document
2458 2002-05-29 André Pönitz <poenitz@gmx.net>
2464 * textclasslist.[Ch]:
2465 * sp_ispell.h: whitespace change
2467 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2469 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2470 lyxaction directly now.
2472 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2476 * lyxvc.C: remove unused headers
2478 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2485 * undo_funcs.C: some cleanups. Use shared_ptr
2486 and a template for the undo stacks.
2488 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2490 * BufferView_pimpl.h:
2491 * BufferView_pimpl.C:
2498 * text2.C: use key_state/mouse_state
2500 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2502 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2505 * chset.C: change include order
2506 (loadFile): use boost regex and get rid of LRegex and LSubstring
2508 * Makefile.am (BOOST_LIBS): new variable
2511 * LaTeX.C: change include order.
2512 (scanAuxFile): use boost regex and get rid of LRegex and
2516 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2521 * FontInfo.C: moved to frontends/xforms/
2524 * FontLoader.C: moved into frontends for GUIIzation
2529 * lyxfunc.C: changes from above
2531 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2533 * LColor.C: remove spurious X include
2535 * BufferView_pimpl.C:
2540 * text2.C: move font metrics to frontends/
2542 2002-05-24 Juergen Vigna <jug@sad.it>
2544 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2545 setting the undo_cursor.
2547 * ParagraphParameters.h: include local includes first.
2549 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2551 * BufferView_pimpl.C:
2552 * BufferView_pimpl.h:
2556 * screen.C: move WorkArea into frontends/
2562 * BufferView2.C: move LyXScreen into frontends/
2566 * lyx_gui.C: move lyxlookup into frontends/xforms/
2568 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2571 * BufferView_pimpl.C:
2581 * bufferview_funcs.C:
2594 * vc-backend.C: move LyX/XFormsView into frontends/
2596 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2608 * text2.C: move Painter to frontends/
2610 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2612 * buffer.C: comment out some some code that depend upon lyx_format
2615 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2616 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2618 * buffer.h (NO_COMPABILITY): turn off compability
2620 * ColorHandler.C: include scoped_array.hpp
2622 * font.C: Use more specific smart_ptr header.
2625 * ShareContainer.h: ditto
2629 * BufferView_pimpl.h: ditto
2630 * ColorHandler.h: ditto
2632 * kbmap.C (defkey): change call to shared_ptr::reset
2634 2002-05-21 Juergen Vigna <jug@sad.it>
2636 * buffer.C (insertErtContents): fix to insert ert asis if it is
2637 non empty. Skip it completely if it contains only whitespaces.
2639 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2641 * BufferView_pimpl.C:
2642 * BufferView2.C: clear selection on paste (bug 393)
2644 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2646 * DepTable.C: include ctime
2648 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2650 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2652 2002-05-14 Juergen Vigna <jug@sad.it>
2654 * text.C (breakParagraph): fixed function to honor the keepempty
2655 layout in the right maner and also to permit the right breaking
2656 algorithm on empty or non empyt keepempty paragraphs.
2658 * paragraph.C (breakParagraph): we have to check also if the par
2659 is really empty (!size()) for isempty otherwise we do the wrong
2662 2002-05-10 Juergen Vigna <jug@sad.it>
2664 * buffer.[Ch] : The following are only changes to the ert
2665 compatibility read reading old LaTeX layout and font stuff and
2666 convert it to ERTInsets.
2668 * buffer.h: added isErtInset().
2670 * buffer.C (struct ErtComp): add a fromlayout bool to check
2671 if we're inside a LaTeX layout.
2672 (isErtInset): new helper function.
2673 (insertErtContents): look for other ert insets before this one
2674 and insert the contents there, so that we don't have subsequent
2675 ERT insets with nothing between them. This way we create only one
2676 inset with multiple paragraphs. Also check if we don't insert only
2677 spaces ' ' as they are ignored anyway afterwards in the .tex file
2678 so if we have only spaces we will ignore this latex part in the
2680 (parseSingleLyXformat2Token \\layout): better compatibility when
2681 reading layout-latex stuff.
2682 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2684 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2685 stuff after reading the inset only get the information back from
2688 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2690 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2692 * LaTeXFeatures.C (getBabelOptions): New method.
2694 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2696 * BufferView_pimpl.C (Dispatch): work around missing argument for
2699 2002-05-08 Juergen Vigna <jug@sad.it>
2701 * text.C (leftMargin): handle paragraph leftindent.
2703 * paragraph.C (writeFile): write the new \\leftindent tag.
2704 (validate): handle leftindent code.
2705 (TeXEnvironment): handle paragraphleftindent code again.
2707 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2709 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2710 for paragrap_extra indent code and new token \\leftindent.
2711 (latexParagraphs): handle the leftindent as environment.
2713 * ParameterStruct.h: added leftindent support.
2715 * ParagraphParameters.C (leftIndent): added support functions for
2716 the paragraph left indent.
2718 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2721 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2723 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2726 * text.C (computeBidiTables): No bidi in insetERT.
2728 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2731 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2733 * version.C.in: pre 5
2735 2002-05-02 José Matos <jamatos@fep.up.pt>
2736 * buffer.C (makeDocBookFile): white space changes, add newline to
2738 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2740 * tabular.C (docBook): fix typo.
2742 2002-05-03 Juergen Vigna <jug@sad.it>
2744 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2745 change in LyXText as we can not be sure it was not freed.
2746 (drawOneRow): remove unused code.
2748 * text.C (drawInset): redo the calculation of the need_break_row as
2749 it could have a row which was already freed.
2750 (draw): look at the return value of drawInset and return false if
2751 it also returned false.
2752 (paintRowText): look at the return value of draw and return false if
2753 it also returned false.
2755 * lyxtext.h: added bool return type to drawInset() and draw() so that
2756 if we have a change in the row so that the rowbreak has to be redone
2757 we abort drawing as it will be called again.
2759 2002-05-02 Juergen Vigna <jug@sad.it>
2761 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2762 a change in the maintext also if we're inside an inset.
2763 (Dispatch): set the cursor again after a break line and after the
2764 screen has been updated as it could be we're in a different row.
2766 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2767 to set the cursor behind the pargraph with > size().
2768 (setCursor): check also for the same paragraph when checking where
2769 to put the cursor if we have a NFR inset.
2771 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2772 parts of layout read further up as it still was in the wrong
2775 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2777 * screen.C (drawFromTo): change sine fullRebreak always return
2780 * buffer.C (parseSingleLyXformat2Token): reindent some
2782 * BufferView_pimpl.C (update): change since fullRebreak always
2784 (Dispatch): git rid of the last hardcoded "Standard"s.
2786 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2788 * text2.[Ch] (fullRebreak): make it return void now that we always
2791 2002-04-30 Juergen Vigna <jug@sad.it>
2793 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2794 ert compatibility check for "latex" layout.
2796 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2798 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2799 minipages: use col% instead of p%, and also use the current font.
2800 (makeLaTeXFile): Fix use babel condition.
2801 (parseSingleLyXformat2Token): Correct font when reading old floats.
2803 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2805 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2806 inserting list of floats.
2808 2002-04-25 Herbert Voss <voss@lyx.org>
2810 * MenuBackend.C (expand): don't add the graphics extensions to the
2813 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2815 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2816 non-existing layout, do not complain if it was the default layout
2817 of the original class (bug #342)
2819 2002-04-24 Juergen Vigna <jug@sad.it>
2821 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2822 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2824 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2826 * buffer.C (getBibkeyList): If using \bibliography, return the
2827 option field with the reference itself. Enables us to provide natbib
2828 support when using \bibliography.
2830 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2832 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2834 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2835 natbib is provided by the LaTeX class.
2837 2002-04-23 Juergen Vigna <jug@sad.it>
2839 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2842 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2844 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2846 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2848 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2849 ensuremath around textordmasculine, textordfeminine and
2852 2002-04-19 Juergen Vigna <jug@sad.it>
2854 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2855 reinitializing the buffer otherwise row-dimensions may be wrong.
2856 (update): reset also the selection cursors if they do exits otherwise
2857 their x/y positions may be wrong.
2859 * text2.C (cursorDown): don't enter the inset if we came from a row
2860 above and are one row over the inset.
2862 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2863 really leaving an inset.
2865 2002-04-18 Juergen Vigna <jug@sad.it>
2867 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2868 of the selected paragraph does not have the selected layout also if
2871 * text2.C (setLayout): fixed bug which did not change last selected
2874 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2875 changed the read and substituted \\end_float with \\end_inset!
2877 * BufferView_pimpl.C (cursorPrevious):
2878 (cursorNext): fixed to make it work with rows heigher than the work
2879 area without moving the cursor only the draw of the row.
2880 (workAreaMotionNotify): fix jumping over high rows.
2882 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2884 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2887 2002-04-16 Juergen Vigna <jug@sad.it>
2889 * text2.C (setCursor): set also the irow().
2890 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2892 (cursorDown): support for locking an inset if the x_fix value goes
2893 inside it. That way I can transverse insets too with cursor up/down.
2895 * lyxrow.h: added irow helper function same as other (i) functions.
2897 * BufferView_pimpl.C (cursorPrevious):
2898 (cursorNext): fixed for insets!
2900 2002-04-15 Juergen Vigna <jug@sad.it>
2902 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2903 position otherwise it is wrong in some cases.
2905 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2906 inside the inset before the call.
2908 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2910 * buffer.[Ch] (getBibkeyList): make it const.
2912 2002-04-12 Juergen Vigna <jug@sad.it>
2914 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2916 * text2.C (getCursorX): new helper function
2917 (setCursor): compute also ix_
2918 (setCursorFromCoordinates): set also ix.
2920 * lyxcursor.h: added ix_ and helper functions.
2922 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2924 * buffer.C (insertStringAsLines): dont break paragraph if the this
2925 paragraph is inside an inset which does not permit it!
2927 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2928 also with no chars on this paragraph.
2929 (paintRowText): only paint stuff if it's inside the workarea!
2931 * paragraph.C (breakParagraph): honor keepempty flag and break the
2932 paragraph always below not above.
2934 * BufferView2.C (unlockInset): update the paragraph layout on inset
2935 unlock as we changed paragraph in such a case.
2937 * lyxfind.C (LyXFind): clear the former selection if not found!
2939 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2940 again called in insertChar().
2942 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2943 an inset which uses the whole row!
2944 (rightMargin): ditto.
2945 (insertChar): force a rebreak if we inserted an inset!
2947 2002-03-28 Herbert Voss <voss@lyx.org>
2949 * lyxlength.[Ch]: add inBP() to get the right PS-point
2950 units (BigPoint). With inPixels we have rounding errors
2952 2002-04-11 Juergen Vigna <jug@sad.it>
2954 * text2.C (setCursorFromCoordinates): set iy to the right value.
2955 (setCursor): add check if row->previous exists!
2957 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2958 an old float_type as this was the case in the old code!
2960 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2962 * BufferView2.C (showLockedInsetCursor): use iy
2963 (fitLockedInsetCursor): ditto
2965 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2966 locked insets as there we have the right value now.
2968 * lyxcursor.C: added iy_ variable and iy functions to set to the
2969 baseline of cursor-y of the locked inset.
2971 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2972 (setCursor): fixed for insets which need a full row.
2974 * text.C (rowLastPrintable): don't ignore the last space when before
2975 an inset which needs a full row.
2976 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2977 as last character of a row when before a inset which needs a full row.
2979 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2981 * version.C.in: update date
2983 * text2.C (fullRebreak): try to always return true and see what
2986 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2988 * MenuBackend.C (expand): use Floating::listName
2990 * FloatList.C (FloatList): add listName argument to the built-in
2993 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2994 text associated with the float.
2996 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2998 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3000 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3002 * ShareContainer.h: add a couple of missing typenames.
3004 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3006 * lyxrc.C (getDescription): use _() correctly rather than N_().
3008 2002-03-28 Herbert Voss <voss@lyx.org>
3010 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3011 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3013 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3015 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3016 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3018 2002-03-29 Juergen Vigna <jug@sad.it>
3020 * lyxfunc.C (dispatch): add a missing fitCursor call.
3022 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3023 it was scrolled by a cursor move, so return the bool status.
3025 * BufferView.C (fitCursor): return the bool flag also to the outside
3026 world as this is needed.
3028 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3030 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3031 call the edit() as it is not needed (and wrong) IMO.
3032 (workAreaButtonPress): set the screen_first variable before evt.
3033 unlock the inset as this may change screen_first and then we have
3034 a wrong y position for the click!
3036 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3038 * MenuBackend.C (expand): another translation that I missed
3040 2002-03-28 Juergen Vigna <jug@sad.it>
3042 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3044 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3046 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3048 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3050 * MenuBackend.C (expand): fix export/view/update when there is no
3053 2002-03-27 Herbert Voss <voss@lyx.org>
3055 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3058 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3060 * bufferview_funcs.C (currentState): only show paragraph number
3061 for is DEVEL_VERSION is set.
3063 * lyxfunc.C (dispatch): put warning in INFO channel
3065 * MenuBackend.C (expand): translate the name of floats
3067 * FloatList.C (FloatList): mark the float names for translation
3069 * converter.C (convert): use LibScriptSearch
3071 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3073 * MenuBackend.C (defaults): fix default menu (we might as well get
3076 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3078 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3081 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3083 * lyxvc.C: reorder includes.
3085 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3087 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3090 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3092 * CutAndPaste.C: change layouts earlier on paste
3093 to avoid crashing when calling getFont()
3095 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3097 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3100 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3102 * WorkArea.C: remove 'Pending' debug message.
3104 * most files: ws cleanup
3106 * buffer.[Ch]: ws changes
3108 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3110 2002-03-21 Juergen Vigna <jug@sad.it>
3112 * tabular.C (SetMultiColumn): collapse also the contents of the
3113 cells and set the last border right. Added a Buffer const * param.
3115 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3117 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3120 2002-03-19 Juergen Vigna <jug@sad.it>
3122 * text2.C (clearSelection): reset also xsel_cache.
3124 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3125 where it needs to be called (John tells us to do so too :)
3126 (selectionLost): reset sel_cache.
3128 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3130 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3132 * text2.C (setCursorIntern): put debuging code in INSETS channel
3134 2002-03-19 André Pönitz <poenitz@gmx.net>
3136 * lyxfunc.C: tiny whitespace change
3138 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3140 * ToolbarDefaults.C (init):
3141 * LyXAction.C (init):
3143 * BufferView_pimpl.C (Dispatch):
3144 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3146 2002-03-19 Allan Rae <rae@lyx.org>
3148 * exporter.C (Export): removeAutoInsets before doing anything else.
3149 While I've just introduced a dependency on BufferView this really is
3150 the best place to clean the buffer otherwise you need to cleanup in
3151 a dozen places before calling export or cleanup in a dozen functions
3154 * converter.C (runLaTeX):
3155 (scanLog): Better handling of removeAutoInsets and screen updates.
3157 * lyxfunc.C (dispatch): small whitespace changes
3159 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3161 * WorkArea.C (C_WorkAreaEvent): return a value.
3162 (event_cb): return 1 if we handled the event, 0 otherwise.
3164 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3166 2002-03-18 Juergen Vigna <jug@sad.it>
3168 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3169 (GetAdditionalWidth): ditto.
3173 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3174 inset if we're there actually (probably not used right now but this
3175 is the direction to go for unifying code).
3176 (paste): disable code to clear the selection.
3178 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3179 inside an InsetText and move the check further up as it is in the
3182 * text2.C (pasteSelection): set a selection over the pasted text.
3184 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3186 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3187 and libgraphics to build on Cygwin.
3189 2002-03-15 Juergen Vigna <jug@sad.it>
3191 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3192 inserting an Inset into the paragraph. I know this is not the best
3193 fix but we already use current_view in CutAndPaste so we will remove
3194 all of it's using at the same time.
3196 * buffer.C (sgmlError): deactivated function till it is rewritten in
3197 the right mode, now it can create problems.
3199 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3200 before accessing it.
3202 2002-03-14 Juergen Vigna <jug@sad.it>
3204 * undo_funcs.C (textHandleUndo): do the right thing when updating
3205 the inset after the undo/redo.
3207 * text2.C (setCursor): just some testcode for #44 not ready yet.
3209 * undo_funcs.C (textHandleUndo): set the next() and previous()
3210 pointers of the paragraph to 0 before deleting otherwise we have
3211 problems with the Paragraph::[destructor].
3213 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3214 on a paragraph insertion.
3216 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3218 * buffer.C (asciiParagraph): use += operator for char append to
3221 * paragraph.C (getFontSettings): compare >= not just >
3222 (highestFontInRange): ditto
3225 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3227 * paragraph.C: change several algorithm to be more appripriate for
3228 the problem domain. This is lookip in FontList and in the InsetList.
3230 2002-03-13 André Pönitz <poenitz@gmx.net>
3233 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3235 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3240 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3242 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3244 * Painter.C (display): anon helper function, adjust code for this
3246 (pixmap): remove function.
3248 * Painter.h: remove private display variable.
3250 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3252 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3254 * WorkArea.[Ch]: remove figinset_canvas cruft.
3256 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3258 * lyxtextclass.C (operator): add one item cache optimization.
3260 * bufferlist.h: doxy changes
3262 * bufferlist.C: ws changes
3264 * DepTable.[Ch] (ext_exist): place const in the right spot.
3266 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3268 (workAreaExpose): call resizeInsets when the with BufferView changes.
3269 (Dispatch): adjust for protectedBlank removal
3270 (specialChar): call updateInset if the insert went ok.
3272 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3273 specialChar instead.
3275 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3277 * BufferView.h: doxy change
3279 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3281 * lyxtextclass.C (operator[]): remove non-const version
3282 (defaultLayout): remove non-const version
3284 2002-03-12 Juergen Vigna <jug@sad.it>
3286 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3287 did resize the LyXText too.
3289 * buffer.C (readLyXformat2): set layout information on newly allocated
3292 * tabular.C (OldFormatRead): set layout information on the paragraph.
3294 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3296 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3298 2002-03-11 Juergen Vigna <jug@sad.it>
3300 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3302 (resizeCurrentBuffer): force also the insets to resize themselfes.
3303 (moveCursorUpdate): fixed up for InsetText.
3305 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3308 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3309 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3310 value of Dialogs::tooltipsEnabled().
3311 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3313 2002-03-08 Juergen Vigna <jug@sad.it>
3315 * BufferView_pimpl.C (updateInset): update inset inside inset also
3316 if it isn't inside theLockingInset().
3318 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3320 * buffer.C (asciiParagraph): redo some of the word and line length
3322 (getLists): look for Caption instead of caption.
3324 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3326 * buffer.C (Buffer): initialize niceFile to true
3329 (makeDocBookFile): make sure niceFile is true on exit
3331 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3333 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3335 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3337 * LyXSendto.C: remove.
3338 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3339 * lyx_gui.C: remove now-redundant comment.
3340 * ColorHandler.h: remove forward declaration of class WorkArea.
3341 * lyxfunc.C: remove #include "WorkArea.h".
3343 2002-03-07 Juergen Vigna <jug@sad.it>
3345 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3346 got moved away with the DEPM and also set the inset_owner always
3347 right which before could have been omitted.
3349 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3351 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3352 wanted layout is not found.
3354 2002-03-07 Juergen Vigna <jug@sad.it>
3356 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3358 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3360 * paragraph.C (breakParagraph): use default layout not layout of
3362 (Paragraph): clear ParagraphParameters.
3364 2002-03-06 Juergen Vigna <jug@sad.it>
3366 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3367 otherwise it would not be a valid lenght. Fixed a special case in
3368 the minipage compatibility read where we end the document with a
3371 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3372 was set as it could be 0 for InsetTexts first entry.
3374 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3376 * paragraph.C (writeFile): if layout is empty write out
3377 defaultLayoutName().
3379 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3380 file without named layout we set layout to defaultLayoutName().
3382 2002-03-06 Juergen Vigna <jug@sad.it>
3384 * CutAndPaste.C (copySelection): set layout for new paragraph.
3386 * text.C (prepareToPrint): leave ERT inset left aligned
3387 (leftMargin): don't indent paragraphs inside ERT insets
3389 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3391 * paragraph.C (breakParagraph): dont call clear do the work manually
3393 * paragraph.[Ch] (clear): remove function
3395 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3397 * paragraph.C (Paragraph): dont call clear, the work has already
3400 * lyxtextclass.C (operator): assert if n is empty
3402 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3403 work manually instead.
3405 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3407 * BufferView_pimpl.C: protect selectionLost against text == 0
3409 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3411 * text.C (breakParagraph): fix a setting layout to '0' problem.
3413 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3415 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3416 final location of file, for the included files, and graphics.
3418 2002-03-05 Juergen Vigna <jug@sad.it>
3420 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3422 2002-03-04 Juergen Vigna <jug@sad.it>
3424 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3426 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3427 last column of multicolumn cells.
3428 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3430 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3432 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3433 file if it doesn't go to a temporary file.
3435 * buffer.C (sgmlOpenTag):
3436 (sgmlCloseTag): remove extra newline insertion.
3438 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3440 * text.C (getRowNearY): comment out debug msg
3442 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3444 * text2.C: first -> first_y
3446 * text.C (getRowNearY): add some attemts at a possible
3447 optimization, not working.
3449 * tabular.[Ch]: add BufferParams to several function so that newly
3450 created paragraph can be initialized to he default layotu for the
3453 * tabular-old.C (ReadOld): add buf->params to call of Init
3455 * screen.C: rename text->first to text->first_y
3457 * paragraph.C (breakParagraph): always set layout in the broken
3460 * lyxtextclass.C (Read): remove lowercase
3463 (delete_layout): ditto
3465 * lyxtext.h: rename first -> first_y
3467 * lyxlayout.C (Read): remove lowercase
3470 (obsoleted_by): ditto
3472 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3474 * buffer.C (insertErtContents): add params are to InsetERT
3475 (parseSingleLyXformat2Token): add code to check if a paragraphs
3476 layout really exist.
3477 (parseSingleLyXformat2Token): add params to several inset
3479 (asciiParagraph): remove lowercase, do the layout comparisons with
3482 * BufferView_pimpl.C (cursorNext): first -> first_y
3483 (resizeCurrentBuffer): first -> first_y
3484 (updateScrollbar): first -> first_y
3485 (scrollCB): first -> first_y
3486 (workAreaMotionNotify): first -> first_y
3487 (workAreaButtonPress): first -> first_y
3488 (checkInsetHit): first -> first_y
3489 (cursorPrevious): first -> first_y
3490 (cursorNext): first -> first_y
3491 (Dispatch): add buffer_->params to severl inset contructors
3493 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3495 * lyxlayout.C (Read): remove some debug info that I forgot.
3497 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3498 clean up the code slightly.
3499 (makeLinuxDocFile): ditto
3500 (makeDocBookFile): ditto
3502 * text2.C: layout as string
3504 * text.C: layout as string
3506 * paragraph_pimpl.C: layout as string
3508 * paragraph.[Ch]: layout as string
3510 * lyxtextclasslist.[Ch]: layout as string
3512 * lyxtextclass.[Ch]: layout as string
3514 * lyxtext.h: layout as string
3516 * lyxlayout.[Ch]: layout as string
3518 * lyx_cb.C: layout as string
3520 * bufferview_funcs.C: layout as string
3522 * bufferparams.C: layout as string
3524 * buffer.C: layout as string
3526 * LyXView.[Ch]: layout as string
3528 * LaTeXFeatures.[Ch]: layout as string
3530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3532 * BufferView_pimpl.C: change current_layout to string, remove
3537 (workAreaButtonRelease): layout as string
3539 * BufferView2.C (unlockInset): adjust
3541 * vspace.C (asLatexCommand): use an explict temp variable.
3543 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3545 * Makefile.am: use FRONTEND_*
3547 2002-03-01 Juergen Vigna <jug@sad.it>
3549 * tabular.C (SetWidthOfMulticolCell): changed to something better
3550 I hope but still work in progress.
3551 (recalculateMulticolumnsOfColumn): renamed function from
3552 recalculateMulticolCells as it is more appropriate now.
3553 (SetWidthOfCell): calculate multicols better.
3555 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3557 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3559 * lyxfunc.C (processKeySym): print sequence also if it is
3560 `deleted' (complete)
3562 * kbsequence.C (print): print sequence even if it is deleted
3563 (complete would be a better word, actually).
3565 * lyxfunc.C (dispatch): print complete options after a prefix key
3567 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3569 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3571 * text2.C (setCharFont): eliminate setCharFont code duplication.
3573 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3575 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3576 LFUN_TABULAR_FEATURE (bug #177)
3578 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3580 * Makefile.am: remove figure.h
3582 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3584 * Bufferview_pimpl.C:
3596 * text2.C: remove #include "lyx_gui_misc.h".
3598 * LaTeX.C: added #include <cstdio>
3600 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3602 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3603 that the paragraph following this one can have.
3605 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3607 * vspace.C (asLatexCommand): fix bogus gcc warning
3609 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3611 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3613 * text2.C (setLayout): get rid of redundant code
3615 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3617 * text2.C (incDepth): make sure depth cannot be increased beyond
3620 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3622 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3623 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3625 * PainterBase.h (image):
3626 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3629 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3633 * BufferView_pimpl.C:
3634 * BufferView_pimpl.h:
3654 * sp_spell.C: remove fig inset, and the crap house of
3655 cards that follows it
3657 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3663 * nt_defines.h: move .h into support/
3665 * vms_defines.h: remove
3667 * WorkArea.C: add space in debug output
3671 * buffer.C: add WITH_WARNINGS
3675 * bufferlist.C: s/retrive/retrieve/, add docs
3686 * lyxgui.C: add ID to X error handler
3688 * lyxtestclass.c: fix typo
3690 2002-02-26 Juergen Vigna <jug@sad.it>
3692 * tabular_funcs.C (write_attribute): changed so that some default
3693 attributes are not written at all.
3694 (getTokenValue): set default values before trying to read the
3695 value so we have the return value always set as default if we don't
3696 find the token we search for.
3698 * tabular.C (Write): write bools as bools not as strings!
3700 2002-02-22 Juergen Vigna <jug@sad.it>
3702 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3703 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3705 * text.C (leftMargin): don't add an indent for paragraphs inside
3706 tabular cells (fix #208).
3708 2002-02-21 José Matos <jamatos@fep.up.pt>
3710 * tabular.C (docBook): fixed support for long tables.
3712 2002-02-20 Juergen Vigna <jug@sad.it>
3714 * text2.C (getFont): get the drawing font of the Inset if this
3715 paragraph is inside an inset (only important for InsetERT for now).
3717 * buffer.C (insertErtContents): use new lanugage params in ERT
3720 * CutAndPaste.C: commenting out seemingly uneeded code.
3722 2002-02-19 Allan Rae <rae@lyx.org>
3724 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3725 Iterators might be simple to use but they also get invalidated.
3726 (removeAutoInsets): renamed saved cursor tracking variables and added
3727 some comments to clarify what everything does.
3729 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3736 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3737 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3740 * vc-backend.h: remove #include "support/syscall.h"
3744 * converter.C: rearrange #includes in Lars' approved fashion.
3746 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3747 forward declare class Timeout in the header file.
3749 * XFormsView.C: changes due to the above.
3751 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3754 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3755 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3757 2002-02-18 José Matos <jamatos@fep.up.pt>
3759 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3762 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3764 * a lot of small ws changes
3765 * add a lot of using std::XXX
3766 * use std construcs some places where approp.
3767 * use some exisint stuff from lyxfunctional where approp.
3768 * Make file changes to use partial linking (lets test this now...)
3770 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3774 remove #include "support/syscontr.h" as it's redundant. Always has been.
3782 change Systemcalls::System to Systemcalls::Wait and
3783 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3784 No change of functionality, just reflects the stripped down Systemcalls
3787 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3789 * debug.[Ch]: add a GRAPHICS type to the enum.
3791 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3793 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3795 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3798 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3800 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3801 match the changes below.
3803 * text2.C (toggleInset): if there is not editable inset at cursor
3804 position, try to see if cursor is _inside_ a collapsable inset
3807 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3809 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3810 document menu has a nice checkbox
3812 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3814 * lyxlength.C (asLatexString): change PW to output as percent of
3817 * lengthcommon.C: change '%' to 't%'
3819 * lyxfunc.C (dispatch): a few comments from Martin
3821 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3825 * BufferView_pimpl.h:
3826 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3829 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3831 * vspace.C (inPixels): fix compiler warning
3833 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3835 * lyxfunc.C (getStatus): fix status message for disabled commands.
3837 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3839 * BufferView_pimpl.C: fix crash on close buffer
3840 during selection (#227)
3842 2002-01-27 Herbert Voss <voss@lyx.org>
3844 * buffer.C: link old Figure to new graphic inset
3846 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3848 * FontLoader.C (getFontinfo): Change the latex font names in order
3849 to match the names of type1inst.
3851 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3853 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3855 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3858 (remove_files_with_extension): ditto
3859 (remove_file): ditto
3862 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3863 document is smaller than the work area height. Do not initialize
3864 static variables to 0.
3866 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3868 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3870 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3871 LFUN_LAYOUT_PARAGRAPHS.
3873 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3874 tabular. It is possible to provide a possible cell, which will
3875 typically be the actcell from the corresponding insettabular
3877 * lyxfunc.C (getStatus): small cleanup; disable
3878 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3881 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3883 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3885 * paragraph.C (startTeXParParams):
3886 (endTeXParParams): new methods. The LaTeX code to
3887 start/end paragraph formatting
3888 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3889 empty (fixes bug #200)
3891 * vspace.C (inPixels): adapt to the change below
3892 (inPixels): [later] more cleanups (remove unused variables)
3894 * lyxlength.C (inPixels): change to use a width and a height as
3897 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3899 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3900 Replaced with \paperwidth
3902 * DepTable.C (insert): add std:: qualifier
3904 2002-01-18 Allan Rae <rae@lyx.org>
3906 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3909 * text.C (drawInset): Turned out I didn't know enough about how
3910 rebreaking worked. This fixes most of the redraw problems. I see
3911 an occasional cursor trail when a line is broken now and the cursor
3912 placement can seem out by a few pixels also after a rebreak.
3914 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3916 * buffer.C (parseSingleLyXformat2Token): update because minipage
3917 width is now a LyXLength
3919 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3921 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3924 2002-01-17 Juergen Vigna <jug@sad.it>
3926 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3928 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3929 is set correctly and the inset is updated correctly.
3931 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3933 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3934 the beginning of the loop.
3936 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3938 * lyxrc.C: improve help for use_scalable_fonts
3940 2002-01-17 Allan Rae <rae@lyx.org>
3942 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3944 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3946 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3947 make sure to set their inset_owner to the right value (bug #171)
3949 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3952 * DepTable.C: Implement mtime checking to reduce time spent doing
3955 2002-01-16 Juergen Vigna <jug@sad.it>
3957 * tabular.C (GetAdditionalHeight): one of error fixed.
3959 * lyxrc.C (output): small fix in writing use_pspell.
3961 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3963 * sp_base.h: #include LString.h
3965 2002-01-16 Allan Rae <rae@lyx.org>
3967 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3968 Can someone check this please?
3970 * text.C (drawInset): It was possible that p.row would be removed by
3971 breakAgainOneRow upsetting a few other settings. There may be another
3972 small tweak possible by setting need_break_row = 0 when p.row has been
3973 removed but I don't know enough about the logic here.
3975 2002-01-15 Allan Rae <rae@lyx.org>
3977 * text.C (insertChar): removed conditional truism.
3979 * BufferView2.C (removeAutoInsets): More tweaks.
3980 cur_par_prev could be a stray pointer. Check for trailing empty line
3981 in case last line was cur_par and only had an error inset on it.
3983 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3985 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3988 * vc-backend.C (most methods):
3989 * exporter.C (Export):
3990 * converter.C (convert):
3992 * LyXSendto.C (SendtoApplyCB):
3993 * lyxfunc.C (dispatch):
3997 * lyx_cb.C (AutoSave):
3999 * BufferView_pimpl.C (MenuInsertLyXFile):
4000 * buffer.C (runChktex): use Buffer::filePath().
4002 * buffer.h: rename filename to filename_; rename filepath to
4003 filepath_ and make it private
4004 (filePath): new method
4006 * buffer.C (writeFile): use fileName()
4009 * lyx_main.C (init): fix starting of LyX when the binary is a
4010 link from so,ewhere else.
4012 * minibuffer.C: include <cctype> for isprint
4014 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4016 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4017 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4018 name clash with InsetCollapsable's width function.
4020 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4022 * lastfiles.C: include <iterator>
4024 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4026 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4029 * buffer.C (makeLaTeXFile): ditto.
4030 Also make loop operation more transparent.
4032 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4034 * ToolbarDefaults.C: remove trailing comma closing namespace.
4036 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4038 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4041 * trans.C (Load): comment out unused variable, allowed.
4043 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4045 * minibuffer.[Ch] (append_char): new method to recieve input from the
4046 drop-down completion browser. If a key was pressed, then recieve this
4047 char and append it to the existing string.
4048 (peek_event): modify the positioning data passed to the completion
4049 browser so that it can be placed above the minibuffer rather than below.
4050 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4052 * LyXAction.C (init): alloe error-next for readonly documents.
4054 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4057 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4059 * bufferlist.C (readFile): create the buffer _after_ checking that
4062 * lyxfunc.C (verboseDispatch): fix handling of arguments
4064 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4066 * lyxrc.C: use string::erase() instead of initializing to "".
4069 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4071 * BufferView_pimpl.h:
4072 * BufferView_pimpl.C:
4075 * text2.C: tell X when we have made a selection for copying
4077 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4079 * BufferView_pimpl.C (MenuInsertLyXFile):
4080 * lyxfunc.C (menuNew):
4082 (doImport): add shortcuts to directory buttons
4084 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4087 * lyxfunc.C (setStatusMessage):
4088 (getStatusMessage): new methods
4089 (getStatus):use setStatusMessage instead of setErrorMessage
4090 (dispatch): when function is disabled, set error message here
4091 [instead of in getStatus previously]
4093 * BufferView_pimpl.C (workAreaButtonRelease): update
4094 toolbar/menubar here too.
4096 2002-01-13 Allan Rae <rae@lyx.org>
4098 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4099 Now seems indestructible. Remaining task is to audit all other
4100 code affected by deleteEmptyParagraphMechanism. One small quirk
4101 left is that an empty document with an error in the preamble can
4102 be made to report an error but no error box appears. I don't know
4104 (removeAutoInsets): Improved comments.
4106 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4109 * Thesaurus.C: update for Aiksaurus 0.14
4111 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4113 * text2.C (firstParagraph): removed member function, all uses
4114 replaces with ownerParagraph
4115 (redoParagraphs): here
4117 (toggleAppendix): here
4118 * BufferView2.C (insertErrors): here
4119 (setCursorFromRow): here
4121 2002-01-13 Allan Rae <rae@lyx.org>
4123 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4124 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4125 There is still a way to segfault this although you may have to do this
4126 multiple times: Have an InsetERT with an unknown command in it.
4127 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4128 <down-arrow>, <Enter> again, View->DVI, BANG!
4130 * text2.C (setCursor):
4131 (deleteEmptyParagraphMechanism):
4132 * lyxtext.h (setCursor):
4133 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4134 Making use of the return value may help fix other bugs.
4136 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4138 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4140 * LyXView.C (updateMenubar): call MenuBar::update here
4141 (updateToolbar): but not here
4142 (showState): do not update toolbar/menubar
4144 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4145 should need to care about that.
4147 * lyxfunc.C (verboseDispatch): simplify a bit
4148 (getStatus): have a version which takes a pseudoaction, and
4149 another which requires a (kb_action,string).
4151 * LyXAction.C (retrieveActionArg): make it work also when action
4152 is not a pseudo-action.
4153 (getActionName): simplify a bit
4156 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4158 * lyxfunc.C (verboseDispatch): new families of methods with
4159 several ways to specify a command and a bool to indicate whether
4160 the command name and shortcut should be displayed in minibuffer
4161 (eventually, we could extend that to a finer bitmask like
4162 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4163 (dispatch): the pristine dispatch command which just, well,
4164 dispatchs! Note it still sets its result to minibuffer; I'm not
4167 * lyxfunc.h: remove setHintMessage
4169 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4171 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4173 * BufferView_pimpl.C (specialChar): delete new inset if we have
4174 not been able to insert it.
4176 * kbmap.C: revert to using int instead of kb_action, since all we
4177 are dealing with is pseudo-actions.
4179 * LyXAction.C (searchActionArg): change to return int instead of
4180 kb_action, since the result is a pseudoaction.
4182 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4184 * buffer.C (insertErtContents): Fix (partially) the font bug.
4186 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4188 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4189 as the other one is broken on my machine!
4191 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4194 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4196 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4198 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4199 reflect their actual use. Provide compatibility code for older lyxrc
4202 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4204 change names of popup font variables in line with the changes to lyxrc.C
4206 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4208 * buffer.C (asciiParagraph): avoid outputing a word twice after
4211 * lyxrc.C (getDescription): document that document_path and
4212 template_path can be empty.
4214 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4216 * LaTeXFeatures.C (getMacros):
4217 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4219 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4221 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4223 (getPackages): rename feature "floats" to "float". Use an array to
4224 iterate over 'simple' features (i.e. just a \usepackage). Add
4225 handling of "amsmath" (renamed from "amsstyle").
4227 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4229 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4232 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4234 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4235 FuncStaus::FuncStatus & FuncStaus::some_method().
4237 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4239 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4240 of the func_satus stuff. Edited and massaged in various ways by
4243 * lyxfunc.C (getStatus): use FuncStatus
4245 2002-01-08 Juergen Vigna <jug@sad.it>
4247 * text.C (nextBreakPoint): use function Inset::isChar().
4249 * paragraph.C (TeXOnePar): use function
4250 Inset::forceDefaultParagraphs.
4252 * buffer.C (latexParagraphs): use function
4253 Inset::forceDefaultParagraphs.
4255 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4257 * lyx_gui.C (init): set the style of the menu popups to
4258 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4260 2002-01-07 Juergen Vigna <jug@sad.it>
4262 * text.C (setHeightOfRow): small fix
4263 (prepareToPrint): don't look at alignment if we don't have the place
4266 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4268 * box.C: New file. Move the Box methods and functions out of box.h,
4269 following Lars' suggestion.
4271 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4273 * box.h: #include "support/LOstream.h", needed for inlined function.
4276 * lyxtextclasslist.C: added some using std declarations.
4278 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4280 * box.h: make signed dimensions to allow insets wider than
4281 the screen (bug #162)
4283 * BufferView_pimpl.C: add some insetHit debug
4285 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4287 * vc-backend.C: add FIXME
4289 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4291 * lyxfunc.C (getStatus): enable code for showing math font status
4294 2002-01-07 Juergen Vigna <jug@sad.it>
4296 * text.C (nextBreakPoint): removed debug output not needed anymore.
4298 2002-01-06 Juergen Vigna <jug@sad.it>
4300 * text.C (nextBreakPoint): fixed up this function we had this bug
4301 since ever but now hopefully we break row better.
4302 (insertChar): we have to check if an inset is the next char as it
4303 could now happen that a large inset is causing a break.
4305 2002-01-05 Juergen Vigna <jug@sad.it>
4307 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4308 if it doesn't like to be drawed.
4310 2002-01-04 Juergen Vigna <jug@sad.it>
4312 * BufferView2.C (lockInset): forgot to set a cursor.
4314 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4316 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4321 * form_maths_panel.C:
4322 * form_maths_panel.h:
4323 * form_maths_panel.fd: implemented sub- and super- buttons in math
4326 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4327 (or ^ space) to be used as in TeX (req'd by André).
4329 * lyxfunc.C: Allow ^ and _ again to be used both as
4330 super/subscript (mathed) and as themselves (in text).
4332 2002-01-03 Allan Rae <rae@lyx.org>
4334 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4335 "LyX" or the filename of the current buffer if it has one. This is a
4336 modified form of John Levon's patch.
4338 * XFormsView.C (setWindowTitle): also set icon title.
4340 * LyXView.h (setWindowTitle): signature changed.
4341 * XFormsView.h (setWindowTitle): ditto.
4343 2002-01-02 Juergen Vigna <jug@sad.it>
4345 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4347 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4349 * screen.C (topCursorVisible): introduce a temp var for
4350 text->cursor.row(), handle the case where this row is null. (kindo
4353 * text2.C (setCursor): add a couple of asserts.
4355 * paragraph.h (inset_iterator): add -> operator
4357 * paragraph.[Ch] (autoDeleteInsets): remove member function
4359 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4360 cursor pos correctly and handle inset deletion by itself.
4361 (insertErrors): move iterator declaration out of for expression
4363 * lyxtextclass.C: add <algorithm>
4365 * Makefile.am: added the new files to sources, removed layout.C
4367 * layout.C: removed file
4369 * layout.h: remove LYX_DUMMY_LAYOUT
4371 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4375 * lyxtextclass.[Ch]:
4376 * lyxtextclasslist.[Ch]: new files
4378 * include order changes to a lot of files, also changes because of
4381 2001-12-27 Juergen Vigna <jug@sad.it>
4383 * buffer.C (asciiParagraph): more fixes.
4385 * tabular.C (ascii): make ascii export support export of only the
4386 data separated by a column-delimiter.
4387 (ascii): better support for ascii export.
4389 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4391 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4393 * tabular_funcs.C: use a "using std::getline" instead of the
4394 previous fix from Angus (necessary for cxx + lyxstring)
4396 2001-12-24 Juergen Vigna <jug@sad.it>
4398 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4400 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4401 problems. First check a minipage also if we have some ert-contents
4402 (not only on par->size(), second set the right depth of the paragraph
4403 on the relink to the root-paragraph-list!
4405 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4406 which then did not anymore update the main paragraphs on undo/redo!
4408 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4410 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4411 code. Support all font-changing funcs (even those which are not in
4412 menu currently). Support for reporting font settings in
4413 mathed (disabled until Andre provides a function on mathed's side).
4415 * func_status.h (toggle): small helper function to set toggle
4418 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4420 * tabular_funcs.C: getline -> std::getline
4422 2001-12-21 Juergen Vigna <jug@sad.it>
4424 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4425 accessed and could be 0 (I couldn't generate this but it seems
4428 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4430 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4431 * tabular_funcs.h: here and include iosfwd
4433 2001-12-20 Juergen Vigna <jug@sad.it>
4435 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4436 inside inset but undo_par was.
4438 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4440 * Thesaurus.C: always include <config.h> in sources.
4444 * box.h: do not include <config.h> in header files
4446 * text.C (paintLastRow): remove unused variable
4448 * text.C (transformChar):
4450 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4453 * font.C (width): rewrite to use uppercase() instead of
4456 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4458 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4460 * lyxfind.C: clean up of find failure position change
4462 2001-12-20 Juergen Vigna <jug@sad.it>
4464 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4466 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4467 (TeXRow): added to LaTeX a single tabular row.
4468 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4469 (Latex): simplified and finally good LT-h/f support.
4470 (various_functions): just small adaptions for LT-h/f support.
4472 * tabular_funcs.[hC]: added and moved here all not classfunctions
4475 2001-12-19 Juergen Vigna <jug@sad.it>
4477 * tabular.[Ch]: better support for longtabular options (not finished
4480 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4482 * text.C (paintLastRow): use the label font instead of the font of
4483 the last character to compute the size of *_BOX. This makes more
4484 sense and avoids a crash with empty paragraphs.
4485 Use Painter::rectangle to draw EMPTY_BOX.
4487 2001-12-19 Juergen Vigna <jug@sad.it>
4489 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4490 the paragraphs if the replaced paragraph is not the first one!
4491 Tried to delete not used paragraphs but does not work yet so for
4492 now it's inside #ifdef's and by default off!
4494 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4496 * MenuBackend.C: include "lyx_main.h" instead of declaring
4497 lastfiles (actually was declared as LastFiles* instead of a
4500 2001-12-17 Juergen Vigna <jug@sad.it>
4502 * tabular.C (AppendColumn): applied John's fix
4504 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4508 * BufferView_pimpl.h:
4509 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4512 * box.h: new start of class for above
4514 * lyxfunc.C: ignore space-only minibuffer dispatches.
4515 Show the command name when it doesn't exist
4517 * minibuffer.C: don't add empty lines to the history
4519 * minibuffer.C: add a space on dropdown completion
4521 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4523 * text.C: fix line above/below drawing in insets
4525 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4527 * lyxlength.C (LyXLength): Initialize private variables.
4529 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4532 when inserting error insets.
4534 2001-12-13 Juergen Vigna <jug@sad.it>
4536 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4537 actually sometimes the before-paragraph.
4538 (setUndo): don't clear the redostack if we're not actually undoing!
4540 2001-12-06 Juergen Vigna <jug@sad.it>
4542 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4543 and fixed redoing of main paragraph, so we can use it now ;)
4545 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4547 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4549 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4552 2001-12-13 André Pönitz <poenitz@gmx.net>
4555 * undo_func.C: minor cleanup
4557 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4559 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4560 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4561 font in urw-fonts package which is marked as -urw-fontspecific and
4562 does not work (incidentally, changing the encoding in the
4563 fonts.dir of this package to -adobe-fontspecific fixes the
4566 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4567 is a crash when undoing first paragraph (Juergen, please take a
4568 look). THis does not mean the undo fix is wrong, just that it
4571 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4572 the (Paragraph*) version when needed instead of duplicating the
4575 * text.C (workWidth): use Inset::parOwner to find out where the
4576 inset has been inserted. This is a huge performance gain for large
4577 documents with lots of insets. If Inset::parOwner is not set, fall
4578 back on the brute force method
4580 * paragraph_pimpl.C (insertInset):
4581 * paragraph.C (Paragraph):
4582 (cutIntoMinibuffer): set parOwner of insets when
4583 inserting/removing them
4585 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4587 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4593 * mathed/formulabase.C:
4594 * mathed/math_cursor.[Ch]:
4595 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4598 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4600 * lyxlength.[Ch] (operator!=): new function
4602 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4604 * text.C (workWidth): use Inset::parOwner to find out where the
4605 inset has been inserted. This is a huge performance gain for large
4606 documents with lots of insets. If Inset::parOwner is not set, fall
4607 back on the brute force method
4609 * paragraph_pimpl.C (insertInset):
4610 * paragraph.C (Paragraph):
4611 (cutIntoMinibuffer): set parOwner of insets when
4612 inserting/removing them
4614 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4616 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4618 * tabular-old.C (getTokenValue):
4619 * tabular.C (getTokenValue):
4620 (write_attribute): new versions for LyXLength
4621 (everywhere): adjust the use of widths
4623 * tabular.h: change the type of widths from string to LyXLength
4625 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4627 * paragraph.C: fixed missing line number count when exporting
4628 Environments to LaTeX file
4630 * buffer.C: added informational message for checking line numbers.
4632 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4634 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4635 paragraph, do the 'double space' part, but not the 'empty
4638 * text.C (workWidth): small optimization
4639 (getLengthMarkerHeight): use minimal size for negative lengths.
4641 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4643 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4645 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4647 2001-12-11 André Pönitz <poenitz@gmx.net>
4650 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4652 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4654 * text2.C: keep selection on a setFont()
4656 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4658 * lyx_cb.C: another bv->text misuse, from insert label
4660 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4663 * kbsequence.C: re-instate nmodifier mask
4665 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4667 * lyx_main.h: make lyxGUI private.
4669 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4671 * lyxfind.C: place the cursor correctly on failed search
4673 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4675 * text.C (getLengthMarkerHeight): for small heights, the arrows
4676 are not always on top/bottom of the text
4677 (drawLengthMarker): smaller arrows; take the left margin in
4678 account; draw also vfills.
4680 (paintLastRow): remove special code for vfill and standard spaces,
4681 since everything is handled in drawLengthMarker now.
4683 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4685 * buffer.C (insertErtContents): try to handle font and language
4686 interaction a bit better.g
4688 * ColorHandler.C (updateColor): change the hash to cover the whole
4689 LColor enum, ws cleanup
4690 (getGCLinepars): ditto
4691 (getGCLinepars): only lookup in the linecache once.
4693 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4695 * iterators.C (operator++): Make the iterator more robust
4697 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4699 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4701 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4704 * text.C: better added space drawing
4706 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4709 * BufferView2.C: fix layout combo update on inset unlock
4711 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4713 * Makefile.am: don't compile unused files
4715 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4719 * LyXAction.C: remove old LFUN_LAYOUTNO
4721 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4723 * paragraph_pimpl.h:
4724 * paragraph_pimpl.C: isTextAt() doesn't need font param
4726 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4729 * lyxlex.C: little cleanup
4731 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4733 * BufferView_pimpl.C: fix insertAscii for insets
4735 2001-12-05 Juergen Vigna <jug@sad.it>
4737 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4738 set the right font on the "multi" paragraph paste!
4740 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4746 * lyxlength.C: remove out-commented code.
4762 * vc-backend.C: change "while(" to "while ("
4764 * lyxlength.[Ch]: add zero function to check if length is zero or
4766 * lyxgluelength.C: use it
4768 2001-12-05 Allan Rae <rae@lyx.org>
4770 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4771 Works for 2.95.3, from what I understand of Garst's reports this should
4772 work for other g++ versions. We're screwed if the abs(int) definition
4773 changed between bugfix releases of gcc.
4775 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4777 * text.C: fix chapter label offset !
4779 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4782 * text.C: fix hfill at end of line, clean up
4784 2001-12-04 Juergen Vigna <jug@sad.it>
4786 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4787 that we force an update of the inset and it's owners if neccessary.
4789 2001-12-03 Juergen Vigna <jug@sad.it>
4791 * text.C (rowLast): simplified code
4793 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4795 * lyxfunc.C: fix show options on timeout
4797 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4799 * screen.C (topCursorVisible): scroll half a page when the cursor
4800 reached top of bottom of screen
4802 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4804 * minibuffer.C: deactivate on loss of focus
4806 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4808 * vspace.[Ch] (operator!=): add operator.
4810 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4812 * BufferView_pimpl.C: refuse to open an inset when
4813 there's a selection.
4815 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4817 * BufferView_pimpl.C: allow to click on RHS of full row insets
4819 2001-11-30 Juergen Vigna <jug@sad.it>
4821 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4822 insets for undo reasons.
4824 2001-11-28 André Pönitz <poenitz@gmx.net>
4826 * vspace.[Ch]: cosmetical changes
4828 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4838 * kbsequence.C: part re-write of old kb code
4841 * WorkArea.C: remove Lgb_bug_find_hack
4843 2001-11-30 José Matos <jamatos@fep.up.pt>
4845 * buffer.C (makeDocBookFile): add a comment to point a hack.
4846 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4847 Fixed a double write of labels.
4849 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4852 * LaTeX.h Fixed bug in LaTeX class where it would not
4853 re-run latex if no depfiles were changed, but the .dvi was removed.
4855 2001-11-28 André Pönitz <poenitz@gmx.net>
4857 * all the files from the change on 2001/11/26:
4858 use lyx::layout_type instead of LyXTextClass::size_type
4859 use lyx::textclass_type instead of LyXTextClassList::size_type
4861 2001-11-29 Juergen Vigna <jug@sad.it>
4863 * text.C: added support for paragraph::isFreeSpacing()
4865 * buffer.C: same as above
4867 * paragraph.h: inserted isFreeSpacing() function to enable
4868 FreeSpacing inside InsetERT.
4870 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4871 of the paragraph's in the cut/copy buffer to 0!
4873 * text2.C (removeRow): remove the assert as it can!
4875 * lyxtext.h: added helper function firstRow returning firstrow and
4876 made firstrow private again.
4878 * BufferView2.C (lockInset): don't relock if we're already locked!
4880 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4882 (removeRow): added Assert::(firstrow)
4884 * debug.C: forgot to add INSETTEXT here.
4886 2001-11-28 Juergen Vigna <jug@sad.it>
4888 * sp_spell.C (initialize): changed error text to more general
4889 spellchecker command use (not only ispell!)
4891 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4893 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4895 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4897 * vspace.C: initialise lyxgluelength on failure
4899 2001-11-28 Allan Rae <rae@lyx.org>
4901 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4902 declaration & definition that looks like a function declaration.
4904 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4906 * BufferView2.C (copy):
4907 (copyEnvironment): do not clear the selection when doing a copy.
4909 * text.C (paintFirstRow): compilation fix
4911 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4913 * tabular.C (Latex): correct line count when writing latex.
4915 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4917 * paragraph_pimpl.h:
4918 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4921 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4925 * LColor.C: change vfillline->added_space
4927 * text.C: add markers and text for added space
4929 * vspace.C: fix comment
4931 2001-11-28 André Pönitz <poenitz@gmx.net>
4933 * paragraph.C: whitespace changes
4934 * all the other files from the change on 2001/11/26:
4935 change *::pos_type into lyx::pos_type
4937 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4939 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4940 language of the document when inserting error insets.
4942 2001-11-26 André Pönitz <poenitz@gmx.net>
4944 * BufferView_pimpl.[Ch]:
4952 * paragraph_pimpl.[Ch]:
4955 * text2.C: reduce header dependencies, introduce type for positions
4957 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4959 * <various>: change to use Alert.h
4961 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4963 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4964 when encountering an unknown token.
4965 (readLyXformat2): Show an error message if there were unknown tokens.
4967 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4970 * BufferView_pimpl.C:
4974 * text2.C: use par->isInset()
4976 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4978 * paragraph_pimpl.h:
4979 * paragraph_pimpl.C: cleanup
4981 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4983 * text2.C (removeRow):
4984 * text.C (setHeightOfRow): remove useless (and costly) call to
4987 2001-11-20 Allan Rae <rae@lyx.org>
4989 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4990 Now need Inset*::checkInsertChar() to return true for appropriate
4991 cases so that the characters in the minibuffer will actually be
4994 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4996 * text.C: change the order of the includes.
4997 (workWidth): initialize it at once.
4998 (workWidth): make maxw unsigned
4999 (setHeightOfRow): remove unused variable (inset)
5000 (selectSelectedWord): remove unused variable (inset)
5001 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5003 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5005 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5006 server is not running.
5008 (closeConnection): add debug info when server is disabled.
5010 * ColorHandler.C (getGCForeground): send debug message to GUI
5013 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5015 * kbmap.C (bind): modify because return conventions of
5016 kb_sequence::parse have changed.
5018 * kbsequence.C (parse): only ignore spaces and not any stupid
5019 control character. This avoids tests like s[i] <= ' ', which are
5020 guaranteed to fail with 8bit characters and signed chars.
5021 Change return code to string::npos when there have been no error
5022 (0 was a bad idea when error is at first character)
5024 2001-11-14 José Matos <jamatos@fep.up.pt>
5027 * buffer.C (simpleDocBookOnePar): removed unused argument.
5029 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5031 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5032 insets which are part of a word. Paragraph::isLetter takes care of
5033 that now. Use Paragraph::isInset to identify insets.
5034 (selectSelectedWord): do not test for hyphenation break.
5036 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5037 that protected spaces are considered as spaces.
5039 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5042 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5045 * lyxserver.C: fix it. and small cleanup.
5047 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5049 * BufferView_pimpl.C: use inline helpers
5052 * LaTeXFeatures.C: fix typos
5055 * Spacing.C: move spacing_string into class
5057 * ToolbarDefaults.C: move stuff into namespace anon
5059 * layout.h: update enum
5061 * lyxfunc.C: use better debug
5063 * minibuffer.h: fix typo
5067 * WorkArea.C: add and use Debug::WORKAREA
5071 * text2.C: code re-organisation, inline helpers
5073 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5075 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5076 std::vector.empty().
5078 2001-11-09 Allan Rae <rae@lyx.org>
5080 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5081 '\n's after tables. Tabular and ERT inset work now makes this no
5084 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5087 * minibuffer.C: fix crash, improve drop-down completion
5089 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5092 * lyxserver.C: invalidate fd's when doing endPipe()
5094 2001-11-08 José Matos <jamatos@fep.up.pt>
5096 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5097 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5100 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5102 2001-11-07 José Matos <jamatos@fep.up.pt>
5105 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5108 * buffer.C (sgmlOpenTag):
5109 * buffer.C (sgmlCloseTag): removed debug info.
5111 * buffer.h (sgmlOpenTag):
5112 * buffer.h (sgmlCloseTag): made public.
5114 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5116 * buffer.C (saveParamsAsDefaults):
5117 * lyx_cb.C (MenuLayoutSave): remove
5119 * LyXAction.C (init):
5121 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5123 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5125 * buffer.C (setPaperStuff): removed from here...
5127 * bufferparams.C (setPaperStuff): ... and moved there.
5129 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5133 * XFormsView.C: add support for drop-down completion
5135 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5137 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5140 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5142 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5145 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5147 * lyx_main.C: change ref to known bugs
5149 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5151 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5152 to work around older babel problems.
5154 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5156 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5158 2001-10-24 Juergen Vigna <jug@sad.it>
5160 * tabular-old.C (ReadOld): below variable changes reflected.
5162 * tabular.[Ch]: added ltType struct for longtable header/footer
5163 defines and changed all instances where they are used. Added
5164 future support for double top/bottom rows.
5166 2001-10-24 José Matos <jamatos@fep.up.pt>
5168 * buffer.h (docbookHandleCaption):
5169 * buffer.C (docbookHandleCaption): removed unused function.
5170 (makeDocBookFile): moved docbook supported version to v4.1.
5172 2001-10-24 José Matos <jamatos@fep.up.pt>
5175 * tabular.C (docbookRow): new function to export docbook code of a row.
5176 (DocBook): now honors the longtable flags.
5178 2001-10-23 José Matos <jamatos@fep.up.pt>
5181 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5182 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5184 * buffer.C (makeLinuxDocFile):
5185 (makeDocBookFile): reworked the preamble, more clean, and with
5186 support for lyx defined entities. Changed the document declaration
5187 to be more XML friendly.
5189 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5190 if we need to output XML that should be done with a filter.
5192 2001-10-22 Juergen Vigna <jug@sad.it>
5194 * sp_pspell.h (class PSpell): add alive function needed in the
5195 controller to see if the spellchecker could be started.
5197 2001-10-22 Juergen Vigna <jug@sad.it>
5199 * buffer.C (insertStringAsLines): modify the font for inserting
5200 chars in certain conditions by calling checkInsertChar(font).
5202 2001-10-19 Juergen Vigna <jug@sad.it>
5204 * text.C (workWidth): use getRow instead of wrong algorithm.
5205 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5207 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5212 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5214 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5216 * text.C (workWidth): do not search for the exact row when
5217 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5218 optimization for big documents.
5220 2001-10-18 Juergen Vigna <jug@sad.it>
5222 * text.C (workWidth): new function with added Inset * parameter.
5224 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5226 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5228 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5229 change return type of getColumnNearX.
5232 * text.C (changeRegionCase): use uppercase/lowercase instead of
5235 (rightMargin): simplify code by factoring out the uses of
5240 (appendParagraph): use Paragraph::size_type
5242 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5244 * vspace.C (asLatexString): add a missing break
5246 2001-10-15 Herbert Voss <voss@perce.de>
5248 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5250 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5252 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5255 2001-10-10 André Pönitz <poenitz@gmx.net>
5257 * lyxfunc.C: removed greek_kb_flag.
5259 2001-10-10 Herbert Voss <voss@perce.de>
5261 * lyx_main.C: delete global string help_lyxdir.
5263 2001-10-09 Herbert Voss <voss@perce.de>
5265 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5267 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5269 * lyx_main.C: added global string help_lyxdir.
5271 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5273 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5275 * lyxrc.C (set_font_norm_type): support iso8859-4
5277 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5279 * LaTeX.C (deplog): add another regex for MikTeX
5281 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5283 * lyxrc.C (set_font_norm_type): support iso8859-3
5285 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5287 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5289 * LaTeXFeatures.C: remove special case of french and index
5291 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5292 before \begin{document}). This solves several incompatibilities.
5294 2001-10-03 Garst Reese <reese@isn.net>
5296 * lyx_cb.C: change CheckTex error msg.
5298 2001-10-03 José Matos <jamatos@fep.up.pt>
5300 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5302 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5304 * .cvsignore: update
5306 * lyx_main.C (commandLineVersionInfo): use new style version info.
5308 * buffer.C (writeFile):
5311 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5313 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5315 * version.h: update to use stuff in version.C
5317 * version.C.in: new file. Contains version information determined
5318 at compile time. This is a merging of version.h and
5321 2001-10-03 Juergen Vigna <jug@sad.it>
5323 * BufferView_pimpl.C (update): don't change "dirty" status in
5326 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5328 * WorkArea.C (c-tor): re-position version string slightly.
5330 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5332 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5333 revert to previous code.
5335 WorkArea.[Ch]: (show, destroySplash): methods removed.
5337 WorkArea.C: rework code so that it's an amalgam of the codes before and
5338 after the splash screen was moved to WorkArea.
5340 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5343 * vspace.C (inPixels):
5346 * buffer.C (insertStringAsLines):
5347 (asciiParagraph): fix types to be large enough
5349 * lyxlex_pimpl.h: change member status from short to int
5351 * layout.h: fix type of endlabeltype
5354 * kbsequence.C (parse): change return type to string::size_type
5356 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5359 * Bullet.C (bulletSize):
5360 (bulletEntry): do not use short ints as parameters
5362 * BufferView2.C (insertLyXFile): change a char to an int.
5364 * WorkArea.C (WorkArea): remove unneeded floats in computation
5366 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5368 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5370 * paragraph.C (asString): Do not ignore newline/hfill chars when
5371 copying to the clipboard.
5373 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5375 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5376 after a multi-line inset.
5378 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5380 * paragraph.C (validate): Set NeedLyXFootnoteCode
5382 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5384 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5385 and decrease-error to decrease.
5387 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5389 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5390 it more readable (should be equivalent)
5392 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5394 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5396 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5398 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5399 of a cursor (row, etc.) after a character has been deleted
5400 (deleteEmptyParagraphMechanism): call the method above on _all_
5401 cursors held by the LyXText when a double space has been
5404 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5406 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5408 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5410 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5411 background. Use greyOut() and the new show() methods to toggle between
5412 the foreground and background. Add code to remove the splash after
5413 its initial showing.
5415 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5416 (create_forms): no longer call Dialogs::showSplash.
5418 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5420 * .cvsignore: add version_info.h
5422 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5424 * version_info.h.in: new file
5426 * Makefile.am: add version_info.h.in
5428 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5429 version_info.h instead of VERSION_INFO
5431 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5433 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5434 The ERT inset now returns string().
5436 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5438 * lyxtext.h, text.C (selectNextWord): renamed as
5439 selectNextWordToSpellcheck.
5441 * text.C (selectNextWordToSpellcheck): Modified to not select
5442 words inside an ERT inset.
5444 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5446 * lyx_cb.C (MenuLayoutSave): change a bit the question
5448 * sp_base.h: include <sys/types.h>
5450 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5452 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5454 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5456 * several files: fix typos in user-visible strings
5458 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5460 * text2.C (pasteSelection): do not set the selection, since it
5461 will be cleared later. Actually, the intent was to fix the way the
5462 selection was set, but I figured rmoving the code was just as good.
5464 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5466 * FontLoader.C (available): Check if font is available without
5469 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5471 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5473 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5475 * lyxrc.[Ch]: added display_graphics variable and associated code.
5477 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5479 * bufferparams.C (hasClassDefaults): new method. Returns true if
5480 the buffer parameters correspond to known class defaults
5482 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5484 * XFormsView.C (show): set minimum size to the main window.
5486 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5488 * text2.C (copySelection):
5490 * lyxfind.C (LyXReplace):
5491 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5492 LyXText::selectionAsString.
5494 * paragraph.C (asString): add "label" argument to the second form
5496 * text2.C (selectionAsString): add "label" argument and pass it to
5497 Paragraph::asString.
5499 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5501 * lyx_main.C (commandLineHelp): remove version information
5503 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5505 * lyx_main.C: add -version commandline option
5507 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5509 * paragraph.h: make the optional constructor arg required instead.
5510 some modifications to other files because of this.
5512 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5514 * lyxserver.C (C_LyXComm_callback): make it static
5516 * lyx_main.C (error_handler): make it static
5518 * lyx_gui.C (LyX_XErrHandler): make it static
5520 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5522 * WorkArea.C: make the extern "C" methods static.
5524 * Makefile.am (lyx_LDADD): simplify
5526 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5528 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5529 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5531 * LyXAction.C (init):
5532 * lyxfunc.C (dispatch): associated code removal.
5534 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5536 * lyxfont.h (isSymbolFont): shut off warning
5538 * text.C (setHeightOfRow):
5539 (getVisibleRow): fix crash with empty paragraphs which have a
5542 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5544 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5547 2001-09-04 José Matos <jamatos@fep.up.pt>
5550 * tabular.C (docbook): rename docBook method to docbook.
5552 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5554 * Makefile.am: add dependencies to main.o.
5556 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5558 * FontLoader.C (available): Return false if !lyxrc.use_gui
5560 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5562 * FontInfo.C (query):
5563 * converter.C (view):
5564 * importer.C (Import):
5565 * exporter.C (Export): Can not -> cannot.
5567 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5569 * BufferView_pimpl.C: allow to create index inset even if
5572 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5574 * buffer.C (getLists): replace boost::tie code with an explicit pair
5575 as boost::tie can break some compilers.
5577 * iterators.h: Added a std:: declaration to the return type of
5580 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5582 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5585 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5587 * iterators.[Ch]: New files. Provide paragraph iterators.
5589 * buffer.C (changeLanguage): Use paragraph iterators.
5590 (isMultiLingual): ditto
5592 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5594 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5596 * FontLoader.C: Support for cmr font.
5598 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5600 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5601 (available): New method.
5603 * FontInfo.C (getFontname): Use scalable fonts even when
5604 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5607 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5609 * converter.C (Formats::view): reverted! Incorrect fix.
5611 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5613 * converter.C (Formats::view): only output the -paper option
5614 if the dvi viewer is xdvi, thereby fixing bug #233429.
5616 2001-08-23 Herbert Voss <voss@perce>
5618 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5620 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5622 * Spacing.h (Spacing): Set space to Default on in the default
5625 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5627 * vc-backend.h (RCS::versionString): add RCS to version
5628 (CVS::versionString): add CVS to version
5630 * vc-backend.C (scanMaster): do not add CVS to version.
5631 (scanMaster): do not add RCS to version
5633 * lyxvc.C (versionString): new method
5635 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5637 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5639 * Spacing.C (set): initialize fval
5641 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5643 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5646 2001-08-16 Juergen Vigna <jug@sad.it>
5648 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5650 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5652 * BufferView_pimpl.C:
5655 * text2.C: setParagraph takes linespacing now
5657 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5659 * LyxAction.C: add internal LFUN_CITATION_INSERT
5661 * LyXView.C: actually apply fix
5663 * bufferlist.C: fix open non-existent file
5665 * lyxfind.C: fix indentation
5667 * lyxfunc.C: remove unneeded assert, fix typo
5669 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5671 * MenuBackend.C: use "Floatname List"
5673 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5675 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5676 when converting LaTeX layout to insetERT.
5677 Generate a non-collapsed float when reading old float
5679 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5681 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5684 2001-08-13 Juergen Vigna <jug@sad.it>
5686 * text.C (fill): return 0 instead of 20 as this seems to be the more
5689 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5691 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5694 2001-08-13 Juergen Vigna <jug@sad.it>
5696 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5698 (SearchBackward): comment out the unlocking of the inset_owner this
5699 should not be needed!
5701 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5703 * Many files: Remove inherit_language, and add latex_language
5705 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5708 2001-08-10 Juergen Vigna <jug@sad.it>
5710 * text.C (prepareToPrint): fixed hfill-width in draw!
5712 * BufferView2.C (selectLastWord): save the selection cursor as this
5713 now is cleared in the function LyXText::clearSelection!
5715 2001-08-08 Juergen Vigna <jug@sad.it>
5717 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5718 BACKSPACE type functions.
5720 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5721 is only cutted from the document but not put in the cut-buffer, where
5722 still the old stuff should be.
5724 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5726 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5728 * tabular.C (SetWidthOfCell): fixed special case where the width
5730 (LeftLine): handle '|' in align_special.
5732 (LeftAlreadyDrawed): ditto
5733 (SetWidthOfCell): ditto
5735 2001-08-07 Juergen Vigna <jug@sad.it>
5737 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5739 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5741 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5742 * lyxlex.[hC]: ditto
5744 2001-08-06 Juergen Vigna <jug@sad.it>
5746 * text.C (getVisibleRow): fix up row clearing a bit.
5748 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5750 * minibuffer.C: make sure the X server sees the changes in the input.
5752 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5754 * paragraph.C (getFont): split into...
5755 (getLabelFont): this
5756 (getLayoutFont): and this
5757 * paragraph_pimpl.C (realizeFont): calling this
5759 * text2.C (getFont): split into...
5760 (getLayoutFont): this
5761 (getLabelFont): and this
5762 (realizeFont): all three calling this
5764 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5767 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5769 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5771 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5773 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5774 layouts from the Quote inset insertion.
5776 2001-08-03 Juergen Vigna <jug@sad.it>
5778 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5780 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5781 only if status not is already CHANGED_IN_DRAW (second level).
5783 * text.C (draw): don't set the need_break_row when inside an
5786 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * buffer.C (parseSingleLyXformat2Token): handle more latex
5791 * bufferview_funcs.[hC]: change function names to
5792 begin with small char, adjust other files.
5794 2001-08-02 André Pönitz <poenitz@gmx.net>
5797 BufferView_pimpl.C: remove broken special code for math-greek
5799 2001-08-02 Juergen Vigna <jug@sad.it>
5801 * BufferView_pimpl.C (update): redone this function so that we
5802 update the text again if there was a CHANGE_IN_DRAW.
5804 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5805 (drawFromTo): added a new internal bool which is used by draw() and
5807 (general): some cursor drawing problems fixed.
5809 2001-08-01 Juergen Vigna <jug@sad.it>
5811 * lyxfind.C (LyXFind): fixed
5812 (SearchForward): ditto
5813 (SearchBackward): ditto
5815 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5816 spurius drawing of the cursor in the main area.
5818 * text2.C (status): small fix which could lead to a segfault!
5819 (clearSelection): remove unneeded BufferView param.
5821 2001-08-01 André Pönitz <poenitz@gmx.net>
5823 * lyxfunc.C: small change due to changed mathed interface
5825 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5827 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5829 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5831 * lyxfunc.c: fail gracefully if file doesn't exist
5836 * BufferView_pimpl.C: IsDirWriteable() proto changed
5838 * LyXView.C: fix updateWindowTitle() to store the last title
5840 2001-07-31 Juergen Vigna <jug@sad.it>
5842 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5843 the font (wrong since using of Paragraph::highestFontInRange).
5845 * paragraph.C (highestFontInRange): added a default_size parameter.
5847 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5848 (setHeightOfRow): reformat
5850 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5852 * converter.[hC] + affected files: move to (inital-char)lowercase
5855 * ParagraphParameters.C (ParagraphParameters): remove commented code
5857 * PainterBase.[Ch]: remove commented code
5859 * LaTeXFeatures.h: add "bool floats" for float.sty
5861 * LaTeXFeatures.C (LaTeXFeatures): init floats
5862 (require): handle float
5863 (getPackages): do it with floats
5865 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5867 * BufferView_pimpl.C (Dispatch): improve handling of
5868 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5870 * commandtags.h: #include lyxfont.h here temporarily to avoid
5873 * bufferlist.h: include LString.h here.
5875 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5877 * text2.C (getStringToIndex): new method.
5879 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5881 * *: Reduced header file dependencies all over.
5883 2001-07-30 Baruch Even <baruch@lyx.org>
5885 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5887 2001-07-29 Baruch Even <baruch@lyx.org>
5889 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5891 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5893 * ParameterStruct.h (endif): add a default constructor to make
5894 sure that all variables is initialized.
5896 * ParagraphParameters.C (ParagraphParameters): adjust
5898 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5900 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5901 index; also, check that there is something to index, and that it
5902 does not span over several paragraphs.
5903 (doubleClick): use WHOLE_WORD_STRICT for double click.
5905 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5907 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5910 2001-07-26 Baruch Even <baruch@lyx.org>
5912 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5913 an InsetFig figure, backwards compatible reading of old figure code.
5915 2001-07-27 Juergen Vigna <jug@sad.it>
5917 * text2.C: font.realize function adaption.
5919 * text.C (draw): add a warnings lyxerr text if needed.
5921 * layout.C: font.realize function adaption.
5923 * language.C: add inherit_language and implement it's handlings
5925 * bufferview_funcs.C (StyleReset): remove language parameter from
5926 font creation (should be language_inherit now).
5928 * bufferparams.C (writeFile): handle ignore_language.
5930 * paragraph.C (getFontSettings): the language has to be resolved
5931 otherwise we have problems in LyXFont!
5933 * lyxfont.C (lyxWriteChanges): added document_language parameter
5934 (update): removed unneeded language parameter
5936 * paragraph.C (validate): fixed wrong output of color-package when
5937 using interface colors for certain fonts in certain environments,
5938 which should not seen as that on the final output.
5940 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5942 * BufferView_pimpl.C:
5947 * LyXAction.C: add thesaurus support
5950 * lyxfind.C: add "once" parameter, for thesaurus, to not
5951 move to the next match
5953 2001-07-26 Juergen Vigna <jug@sad.it>
5955 * lyxfont.C (realize): honor ignore_language too!
5958 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5960 * text.C (draw): one place more for ignore_language to not draw
5963 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5965 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5967 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5969 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5970 the minipage conversion problem.
5972 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5974 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5977 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5979 * BufferView.h: don't forward declare WorkArea
5981 * BufferView.C: don't include WorkArea.h
5983 2001-07-25 André Pönitz <poenitz@gmx.net>
5987 * lyxfunc.C: new LFUN 'math-space'
5989 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5991 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5993 * text2.C (toggleInset): call open/close
5995 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5997 * lyxfunc.C (dispatch): add debug for the disabled case
5999 * font.C (buttonText): make similar to rectText
6001 * buffer.C (readInset): comment out parsing of insetlist and
6004 * PainterBase.C (rectText): small correction
6006 * BufferView_pimpl.C: comment out insettheorem and insetlist
6007 * LyXAction.C: ditto
6008 * commandtags.h: ditto
6010 2001-07-24 Juergen Vigna <jug@sad.it>
6012 * text.C (draw): honor the ignore_language.
6014 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6016 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6018 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6021 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6023 * lyxtext.h: remove unused (and unimplemented) methods
6025 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6027 * text.C (getVisibleRow): honor background color
6030 * Painter.h: remove default color argument for fillRectangle
6032 * text.C (backgroundColor): new method
6034 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6036 * text.C (getVisibleRow): adjust
6038 * font.[Ch] (rectText): new method, metrics
6039 (buttonText): new method, metrics
6041 * PainterBase.[hC]: make rectText and buttonText always draw and take
6044 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6046 * ToolbarDefaults.C (read):
6047 * MenuBackend.C (read): allow escaping in all strings
6049 * BufferView_pimpl.C (insertAndEditInset): new method.
6050 (Dispatch): use insertAndEditInset whenever appropriate.
6052 * BufferView_pimpl.C (insertNote): removed
6054 * BufferView_pimpl.C (smartQuote): new method, moved from
6055 BufferView; if an insetquote cannot be inserted, insert a '"'
6058 * BufferView2.C: remove insertCorrectQuote();
6060 * lyxfunc.C (getStatus): Add support for all remaingin
6063 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6065 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6066 command (necessary to pass " as parameter of self-insert.
6068 * text.C (selectWordWhenUnderCursor):
6069 (selectWord): add word_location parameter
6070 (selectWordWhenUnderCursor): same + remove special code for word
6072 (selectNextWord): use kind() to guess type of insetspecialchar,
6075 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6076 (insertErtContents): create ert insets as collapsed.
6077 (readInset): better compatibility code for Info inset.
6079 2001-07-20 Juergen Vigna <jug@sad.it>
6081 * lyxfunc.C (dispatch): use always LyXFind now!
6083 * text2.C (init): add a reinit flag so that the LyXText can be
6084 reinited instead of deleted and reallocated (used in InsetText).
6086 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6092 2001-07-18 Juergen Vigna <jug@sad.it>
6094 * text.C (selectNextWord): handle insets inside inset by calling
6095 always the bv->text functions so that we can go up the_locking_inset!
6097 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6098 in strange locations when inside an inset!
6100 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6101 handling to include insets.
6103 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6105 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6107 * LyXAction.C (init):
6109 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6110 LIGATURE_BREAK, since the name is so stupid.
6112 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6114 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6117 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6119 * sp_form.[Ch]: remove.
6121 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6123 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6126 * src/buffer.C (readInset): ditto.
6128 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6130 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6131 menuSeparator(), endOfSentenceDot(), ldots() and
6132 hyphenationPoint(), which are therefore removed.
6133 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6135 * LyXAction.C (init):
6136 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6138 * paragraph.C (getWord): removed.
6140 * BufferView_pimpl.C (Dispatch): use last word or selection for
6141 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6143 * lyx_main.C (queryUserLyXDir): do not ask before creating
6144 user_dir, except if it has been named explicitely.
6146 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6148 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6149 a document of zero size.
6151 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6153 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6154 approriately in the c-tor and in require().
6155 (getPackages): output the appropriate LaTeX for natbib support.
6157 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6158 variables "use_natbib" and "use_numerical_citations" when reading the
6160 (readInset): read the various natbib cite commands.
6161 (validate): white-space change.
6163 * bufferparams.[Ch]: new variables "bool use_natbib" and
6164 "bool use_numerical_citations".
6165 (writeFile): output them in the LyX file.
6167 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6169 * lyxfunc.C (getStatus): add support for all the inset insertion
6172 * text2.C (insertInset):
6173 * paragraph.C (insetAllowed):
6174 * BufferView_pimpl.C (insertInset): update to take in account the
6175 renaming of insertInsetAllowed
6177 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6179 * text2.C (getInset): new method. returns inset at cursor position.
6181 * BufferView_pimpl.C (Dispatch): changes because of this.
6183 * LyXAction.C (init): rename open-stuff to inset-toggle.
6185 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6187 * text2.C (toggleInset): renamed from openStuff; use
6190 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6192 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6194 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6196 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6198 * buffer.C (readLyXformat2): Add filename to the error dialog
6200 2001-07-18 Juergen Vigna <jug@sad.it>
6202 * tabular.C (GetCellNumber): put an assert here instead of the check!
6204 2001-07-17 Juergen Vigna <jug@sad.it>
6206 * BufferView_pimpl.C (toggleSelection): adapted too.
6208 * text.C (selectNextWord): adapted for use with insets.
6209 (selectSelectedWord): ditto
6211 2001-07-17 Juergen Vigna <jug@sad.it>
6213 * sp_spell.C (PSpell): fix initialitation order.
6215 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6217 * paragraph.C: spacing
6219 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6221 * sp_spell.C: repair language selection for pspell
6223 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6225 * lyxfunc.h: change more methods to begin with lower char.
6227 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6229 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6230 for unknown layouts.
6232 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6234 * buffer.C (readLyXformat2): Generate an error dialog if there are
6237 2001-07-16 Juergen Vigna <jug@sad.it>
6239 * sp_spell.C: always compile ISpell part.
6241 * lyxrc.C: added use_pspell entry and it's handling.
6243 2001-07-13 Juergen Vigna <jug@sad.it>
6245 * sp_spell.C: removed double includes.
6247 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6249 Consistent use of Lsstream.h:
6250 * Lsstream.h: added using std::stringstream for consistencies sake.
6252 * buffer.C: removed using std::stringstream
6254 * lyxfont.C (stateText):
6255 * paragraph.C (asString):
6256 * text.C (selectNextWord, selectSelectedWord):
6257 * text2.C (setCounter):
6258 * vspace.C (asString, asLatexString):
6259 std::ostringstream -> ostringstream.
6261 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6263 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6264 * commandtags.h: add LFUN_HELP_ABOUTLYX
6265 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6267 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6269 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6271 * lyx_gui_misc.C: remove spellchecker
6272 * lyxfunc.C: showSpellchecker
6274 * sp_ispell.h: added
6275 * sp_pspell.h: added
6277 * sp_form.[Ch]: removed
6278 * spellchecker.[Ch]: removed
6280 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6282 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6284 (simpleTeXSpecialChars): Simply print the input character without
6285 any special translation if pass_thru is set.
6287 * layout.h: Added bool pass_thru to layout class for being able to
6288 implement pass through of a paragraph for Literate Programming.
6290 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6291 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6292 * layout.C (Read): add "passthru" to list of layout tags and add
6293 code to set the pass_thru boolean when it is read.
6295 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6297 * trans_decl.h: remove allowed from KmodInfo
6299 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6303 * paragraph_pimpl.C (erase): use boost::prior
6305 * Painter.C (text): use data() instead of c_str() when length is
6307 * WorkArea.C (putClipboard): ditto
6308 * font.h (width): ditto
6310 * BufferView2.C: use it-> instead of (*it). for iterators
6312 * paragraph_pimpl.C: ditto
6313 * paragraph.C: ditto
6314 * minibuffer.C: ditto
6319 * converter.C: ditto
6321 * Variables.C: ditto
6322 * TextCache.C: ditto
6323 * MenuBackend.C: ditto
6324 * LyXAction.C: ditto
6326 * FloatList.C: ditto
6328 * ColorHandler.C (LyXColorHandler): ditto
6330 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6332 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6334 * text2.C (openStuff): reintroduce this method (which had been
6335 nuked in NEW_INSETS frenzy).
6337 * lyxfunc.C (Dispatch): when an action has not been handled, use
6338 its name in the error message, not its number.
6340 * paragraph.C (inInset): change method name to begin with lowercase.
6343 * text2.C: updates because of this.
6345 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6347 * ToolbarDefaults.C (add): add spaces in error message
6349 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6351 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6352 (readLyXformat2): rename return_par to first_par, use lyxlex's
6353 pushToken and remove the manual push handling.
6354 (parseSingleLyXformat2Token): add another ert comp. variable:
6355 in_tabular, rename return_par to first_par. handle newlines better
6357 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6359 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6361 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6363 * text2.C (getParFromID): removed
6365 * buffer.C (getParFromID): new method moved form lyxtext.
6366 * BufferView2.C (insertErrors): adjust
6367 (setCursorFromRow): adjust
6368 * BufferView_pimpl.C (restorePosition): adjust
6369 * lyxfunc.C (Dispatch): adjust
6370 * undo_funcs.C (textUndo): adjust
6372 (textHandleUndo): adjust
6373 (textHandleUndo): adjust
6375 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6377 * buffer.C: up' the LYX_FORMAT
6379 * lyxfont.h: turn NO_LATEX on as default
6381 * buffer.C (insertErtContents): new methods of tex style compability.
6382 (parseSingleLyXformat2Token): use it several places.
6383 * tabular.C (OldFormatRead): and here
6385 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6387 * text2.C: remove some commented code.
6390 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6391 * trans.C: changes because of the above.
6393 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6395 * text2.C (setCounter): Fix counters bug with bibliography layout.
6397 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6399 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6400 own member functions
6401 (simpleTeXSpecialChars): ditto
6403 2001-07-06 Juergen Vigna <jug@sad.it>
6405 * a lot of files: changed the access to LyXText::status and the
6406 call of undo-functions.
6408 * undo.[Ch]: added a inset_id to the undo informations.
6410 * undo_funcs.[Ch]: added and moved here all undo functions.
6412 * lyxtext.h: give the status enum a weight, made status_ a private
6413 variable and made accessor functions for it, removed the whole bunch
6414 of undo-functions as they are now in their own file, make some
6415 functions publically available. Added function ownerParagraph with
6418 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6419 made InInset() a const function, added getParFromID() function.
6421 * buffer.[Ch]: added const version for inset_iterator functions,
6422 added getInsetFromID() function.
6424 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6425 changed undo functions for new version.
6427 2001-07-05 Juergen Vigna <jug@sad.it>
6429 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6430 unknow mechanism does not call the proper constructor but only this
6431 one also if I request the other!?
6433 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6435 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6437 * text2.C (LyXText): use initialization lists.
6439 * lyxtext.h (Selection): initialize set_ and mark_
6440 (init): remove method
6442 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6444 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6446 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6448 * screen.[Ch]: change method names to begin with lowercase
6450 * BufferView_pimpl.C (updateScrollbar): simplify further and
6451 hopefully make it a bit faster.
6453 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6455 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6456 calling directly xforms functions.
6458 * Painter.C (Painter):
6459 * lyx_cb.C (MenuWrite):
6460 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6463 * lyx_gui.C: remove bogus guiruntime extern declaration.
6465 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6467 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6469 (redoDrawingOfParagraph): ditto
6470 (redoParagraphs): ditto
6471 (cutSelection): don't create a object for CutAndPaste use the
6472 static method directly
6473 (pasteSelection): ditto
6475 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6478 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6480 * modifications to some other files because of this.
6482 * Makefile.am (lyx_SOURCES): add XFormsView
6484 * XFormsView.[Ch]: new files
6486 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6487 the main window. Move the gui dependent stuff to XFormsView
6489 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6491 * tabular.C (GetCellInset): update cur_cell also in the row/col
6492 version of this function.
6494 * lyxfunc.C: no need to include figure_form.h here.
6500 * lyxvc.C: no need to include forms.h here.
6502 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6504 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6506 * lyxfunc.C (Dispatch):
6508 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6509 constructor argument.
6511 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6513 * paragraph.C (Paragraph): dont't clear, and just set layout.
6514 (makeSameLayout): use params's copy contructor.
6516 * ParagraphParameters.[Ch] (makeSame): delete method
6518 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6520 * Variables.[Ch]: fix indentation, rename set to isSet
6522 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6524 * lyxfunc.C (Dispatch): fix typo
6526 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6528 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6531 * bufferlist.C: include assert.h for emergencyWrite().
6533 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6535 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6536 give up at last (bug #425202) !
6538 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6544 * spellchecker.C: strip spellchecker options and bring up
6545 preferences tab instead
6547 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6549 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6550 the istringstream constructor
6552 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6554 * paragraph.C (getLayout): fix return value
6556 * paragraph.h: do not declare getLayout as inline.
6558 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6560 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6562 * lyxcursor.h (operator<): new func
6563 (operator>): new func
6564 (operator>=): new func
6565 (operator<=): new func
6567 * text.C (changeCase): use selection.start and selection.end
6568 (changeRegionCase): require from to be <= to. Require par to be a
6571 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6573 2001-06-27 Juergen Vigna <jug@sad.it>
6575 * text.C (cursorLeftOneWord): changed to return the cursor and added
6576 overlay with BufferView * parameter which calls this one.
6578 (selectWord): use new getWord function.
6579 (changeCase): renamed from changeWordCase as and extended to work
6582 * lyxtext.h: added enum word_location
6584 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6585 changeCase as this operates now also on selections.
6587 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6589 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6591 * many files: send debug output to Debug::INFO instead of
6594 * converter.C (View):
6596 (Move): send debug output to Debug::FILES instead of console.
6598 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6600 * lyxfunc.C (getStatus): use func_status
6602 * func_status.h: new header, describing the results of
6605 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6608 2001-06-25 The LyX Project <jug@sad.it>
6610 * buffer.C (sgmlOpenTag):
6612 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6614 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6616 * text2.C: remove some dead code
6618 * tabular.C (GetCellInset): store the last cell checked (gotten)
6620 * tabular.h: add the helper for the speedup
6622 * lyxtext.h: remove some dead code
6624 2001-06-26 The LyX Project <Asger>
6626 * paragraph.C: Change export to LaTeX of alignment to
6627 \begin{center} and family for better roundtrip work with reLyX.
6629 * Tune the math drawing a bit.
6631 2001-06-25 The LyX Project <Asger>
6633 * LColor.C (LColor): New color for math background. New color
6636 2001-06-25 The LyX Project <jug@sad.it>
6638 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6641 * bufferlist.C (newFile): do not restrict to files ending with
6644 * BufferView_pimpl.C (MenuInsertLyXFile):
6646 2001-06-24 The LyX Project <jug@sad.it>
6648 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6651 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6653 * lyxtext.h: rename most methods to begin with a small char.
6654 Lots of changes because of this.
6656 * paragraph.C (Paragraph): do not call fitToSize
6657 (erase): call Pimpl::erase
6658 (insertChar): call Pimpl::insertChar
6659 (insertInset): call Pipl::insertInset
6660 (breakParagraph): do not call fitToSize
6661 (breakParagraphConservative): do not call fitToSize
6662 (fitToSize): remove method
6664 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6666 2001-06-24 The LyX Project <Asger>
6668 * Fix Qt compilation^2
6670 2001-06-24 The LyX Project <jug@sad.it>
6672 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6673 depthHook(getDepth()-1).
6676 * ParagraphParameters.h:
6677 * ParameterStruct.h: change type of depth to unsigned int ==
6678 depth_type. Many adaptations to other files before of that.
6680 2001-06-24 The LyX Project <Asger>
6682 * Fix Qt compilation.
6684 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6686 * paragraph.h: renamed several methods to begin with small letter.
6687 several changes to many parts of the code because of this.
6689 2001-06-23 The LyX Project <jug@sad.it>
6691 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6692 rewritten to discard all double spaces when KeepEmpty is off
6693 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6694 to only handle newlines but not fiddle with spaces and friends.
6696 * lyxfunc.C (MenuNew): when doing 'new from template', use
6697 template_path as default directory
6699 2001-06-23 The LyX Project <Asger>
6701 * Clean-up of header file includes all over
6702 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6704 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6706 * paragraph.h: renamed from lyxparagraph.h
6708 2001-06-23 Asger <lyx@violet.home.sad.it>
6710 * Buffer.h: Removed Buffer::resize
6711 * BufferList.h: Removed BufferList::resize
6712 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6713 the document lazily when we change the width, or the font settings.
6715 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6717 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6719 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6721 * buffer.h: remove out of date comment
6723 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6726 * screen.C: fix "theoretical" GC leak
6728 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * LaTeX.C (scanAuxFile):
6731 (deplog): remove trailing \r when reading stream (useful under
6734 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6736 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6737 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6738 and BufferView::theLockingInset(Inset*), so should use them and not
6739 access bv_->text->the_locking_inset directly.
6741 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6743 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6746 * tex-defs.h: remove old unused file
6748 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6750 * BufferView_pimpl.C: fix typo, remove minibuffer message
6751 when buffer has loaded
6753 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6755 * lyxfunc.C (Dispatch): use stringstream
6756 (MenuNew): use stringstream
6757 (Open): use stringstream
6759 * importer.C (Import): use stringstream
6761 * bufferview_funcs.C (CurrentState): use stringstream
6763 * LaTeX.C (run): use stringstream
6765 * BufferView_pimpl.C (savePosition): use stringstream
6766 (restorePosition): use stringstream
6767 (MenuInsertLyXFile): use stringstream
6769 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6782 * vspace.C: removed // -*- C++ -*- as first line.
6785 * version.h: added // -*- C++ -*- as first line.
6787 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6789 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6791 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6794 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6796 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6799 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6801 * gettext.C: include LString.h even when --disable-nls is on.
6803 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6805 * converter.h (Get): changed argument type from int to
6806 FormatList::size_type to avoid unnecessary conversion.
6808 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6811 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6813 * gettext.h: include LString.h even when --disable-nls is on.
6815 2001-06-07 Juergen Vigna <jug@sad.it>
6817 * text.C (BreakAgain): subst spaces with tabs.
6819 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6820 (resizeInsetsLyXText): set force on resizeLyXText.
6822 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6824 * gettext.h (gettext_init):
6825 (locale_init): use a real definition instead of a macro
6827 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6829 * Bufferview_pimpl.C:
6831 * LColor.C: further lcolor tidies
6833 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6835 * BufferView_pimpl.C (updateScrollbar): simplify.
6837 * BufferView2.C: don't include insets/insetinfo.h, change
6838 prototype for insertInset and call the Pimpl version. let
6839 updateInset call Pimpl version.
6841 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6842 gotoInset to BufferView::Pimpl
6844 2001-06-01 Juergen Vigna <jug@sad.it>
6846 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6847 inside a LockingInset (is the update needed at all?).
6849 2001-05-31 Juergen Vigna <jug@sad.it>
6851 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6852 here not the old one otherwise how should we compare it afterwards
6855 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6860 * FontInfo.C: bring C functions into global namespace when
6863 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6865 * LString.h: make sure config.h has been loaded before LString.h.
6867 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6868 (one for each char read by EatLine!).
6870 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6873 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6875 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6876 to the same as the par we break from
6878 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6880 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6882 * MenuBackend.C (expand): also create menu entries for wide
6883 versions of the floats.
6885 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6887 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6889 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6890 frontends/Makefile.am
6896 * tabular.C (getTokenValue): add std::
6898 * tabular-old.C (getTokenValue): add std::
6899 (getTokenValue): ditto
6900 (getTokenValue): ditto
6902 * screen.C (ToggleSelection): adjust
6904 * lyxtext.h: put selection cursors inside a Selection struct.
6906 * lyxfunc.C (moveCursorUpdate): adjust
6908 * lyxfont.C (latexWriteStartChanges): add std::
6912 * font.h: delete with(char const *, LyXFont const &)
6914 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6916 * FontInfo.C (getFontname): add std::
6918 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6919 (workAreaButtonPress): adjust
6920 (tripleClick): adjust
6922 (moveCursorUpdate): adjust
6925 * BufferView2.C (gotoInset): adjust
6927 2001-05-30 Juergen Vigna <jug@sad.it>
6929 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6930 to check pspell I add this as default as I now have new pspell
6931 libraries and they seem to use this.
6933 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6935 * text2.C (CutSelection): make the cursor valid before the call to
6938 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6940 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6941 relied on 0 terminated strings and other horrors. Bug found due to
6942 the new assert in lyxstring!
6944 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6947 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6949 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6952 * lyxfunc.C (processKeySym): change method of getting to the
6955 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6956 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6957 * BufferView_pimpl.[Ch]: here as private methods.
6959 2001-05-28 Juergen Vigna <jug@sad.it>
6961 * text.C (SetHeightOfRow): added the update() call again as it is
6962 needed to initialize inset dimensions!
6964 2001-05-16 Juergen Vigna <jug@sad.it>
6966 * text2.C (SetCharFont): Add new function with BufferView * and
6967 bool toggleall parameters for setting insets internal fonts.
6968 (SetFont): Freeze the undo as we may change fonts in Insets and
6969 all this change should be inside only one Undo!
6971 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6972 setting font's in insets as for them we have the SetFont function!
6974 2001-05-15 Juergen Vigna <jug@sad.it>
6976 * text2.C (ClearSelection): to be sure we REALLY don't have any
6979 * tabular.C (TeXCellPreamble): fixed the left border problem for
6982 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6984 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6987 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6989 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6990 LFUN_BREAKPARAGRAPH.
6992 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6993 help test to "internal only", similar for LFUN_INSERT_URL
6995 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6996 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6997 auto_region_delete and deadkeys.
6999 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7002 * LColor.C: remove some dead entries, tidy a little
7004 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7006 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7008 (Dispatch): implement LFUN_ESCAPE
7010 * commandtags.h: add LFUN_ESCAPE
7012 * LyXAction.C (init): add entry for LFUN_ESCAPE
7014 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7015 Remove commented code.
7016 (insertNote): moved here
7017 (open_new_inset): moved here
7019 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7022 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7024 * kbmap.C (findbinding): clean it up and make it work correctly.
7026 * lyx_main.C (init): do not pass argc and argv as parameters
7028 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7030 * buffer.C: fix path for OS/2 & Win32
7034 * lyx_main.C: Added os:: class.
7036 * os2_defines.h: update
7038 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7040 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7041 better by trying again with reduced state.
7043 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7045 * lyxrc.C (read): print error about invalid key sequence only when
7046 debugging (because not all latinX keysyms are known to some X
7049 * kbsequence.C (getiso): add a few std:: qualifiers
7050 (getiso): comment out extra return statement.
7052 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7054 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7056 (Dispatch): enhance the accent inset a bit. (not perfect)
7058 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7060 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7062 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7064 * bufferlist.C (emergencyWrite): fix assert() call
7066 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7068 * text.C (InsertChar): Added trivial patch to only send the "you
7069 can not do multiple spaces this way" message once during a
7072 2001-05-08 Baruch Even <baruch@lyx.org>
7074 * Makefile.am: Changed order of libraries to get LyX to link properly
7075 with the gnome frontend.
7077 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7079 * LaTeXFeatures.h: add a std:: qualifier
7081 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7083 * paragraph.C (String): use stringstream
7085 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7087 * paragraph.C (writeFile): remove footflag arg
7089 * buffer.C (makeLaTeXFile): use stringstream
7090 (latexParagraphs): remove footnot gurba
7092 * LaTeXFeatures.C (getPackages): use stringstream
7093 (getMacros): likewise
7094 (getTClassPreamble): likewise
7095 (getFloatDefinitions): new method
7097 * paragraph.C (writeFile): reindent
7100 * WorkArea.h: revert the xpos + etc changes.
7102 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7104 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7106 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7107 (pasteSelection): likewise
7108 * text2.C (CreateUndo): likewise
7110 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7112 * minibuffer.C (peek_event): temporarily reduce the functionality
7113 of the minibuffer (to allow args on lfuns)
7115 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7116 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7118 * buffer.C (readInset): add compability reading of old float
7119 lists, add reading of new style float list.
7120 (readInset): avoid reevaluation of inscmd.getCmdName()
7121 (getLists): reindent
7123 * MenuBackend.C (MenuItem): implement parsing of
7124 md_floatlistinsert and md_floatinsert.
7125 (expand::LastFiles): move initalizaton of iterators out of loop,
7127 (expand::Documents): introduce typdedef vector<string> Strings,
7129 (expand::ExportFormats): introduce typedef vector<Format const *>
7130 Formats, and use it.
7131 (expand): implement FloatListInsert and FloatInsert.
7133 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7134 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7135 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7137 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7139 (Dispatch::LFUN_FLOAT_LIST): implement
7141 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7143 * LaTeX.C (run): Fix problem with --export code.
7145 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7147 * BufferView.[Ch] (workarea): removed.
7148 (getClipboard) new method; wrapper for workarea()->getClipboard()
7150 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7153 * WorkArea.h (width, height, xpos, ypos): These methods all
7154 returned the dimensions of the work_area sub-area of WorkArea,
7155 resulting in a position error if the WorkArea were resized. Now
7156 return the dimensions of the entire WorkArea.
7158 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7160 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7162 * LaTeX.C (deplog): correct the syntax of regex reg1
7164 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7166 * undo.C: remove !NEW_INSETS cruft
7168 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7170 * text2.C: remove !NEW_INSETS cruft
7172 * text.C: remove !NEW_INSETS cruft
7174 * tabular.C: remove !NEW_INSETS cruft
7176 * spellchecker.C: remove !NEW_INSETS cruft
7178 * lyxtext.h: remove !NEW_INSETS cruft
7180 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7182 * lyxfunc.C: remove !NEW_INSETS cruft
7184 * lyxfind.C: remove !NEW_INSETS cruft
7186 * lyx_cb.C: remove !NEW_INSETS cruft
7188 * figureForm.C: remove !NEW_INSETS cruft
7190 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7192 * buffer.[Ch]: remove !NEW_INSETS cruft
7194 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7196 * CutAndPaste.C: remove !NEW_INSETS cruft
7198 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7200 * BufferView2.C: remove !NEW_INSETS cruft
7202 * BufferView.h: remove !NEW_INSETS cruft
7204 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7206 * Lsstream.h: include LString.h before the sstream headers to
7207 fix problem with gcc 2.95.3 and lyxstring
7209 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7211 * lyx_main.C: add using directives when needed for C functions
7212 declared in std:: namespace.
7214 2001-04-27 Juergen Vigna <jug@sad.it>
7216 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7217 (SetHeightOfRow): comment out the update call should not be needed!
7219 2001-04-13 Juergen Vigna <jug@sad.it>
7221 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7222 (LyXTabular): tried to minimize operator= operations (and realized
7223 hopfully Lars wish).
7225 2001-04-27 Juergen Vigna <jug@sad.it>
7227 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7229 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7231 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7233 * buffer.C (readInset): hack to make listof algorithm work
7235 * BufferView_pimpl.C: hack to make listof algorithm work
7237 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7239 * LyXAction.C: removed all !NEW_INSETS cruft
7240 (init): moved lfun_item in method
7242 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7244 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7246 * BufferView2.C (theLockingInset): white space.
7248 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7250 * minibuffer.C: include <iostream>
7252 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7254 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7256 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7258 * text.[Ch] (TransposeChars): new method
7260 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7262 * call message directly through LyXView instead of through LyXFunc
7263 * BufferView2.C: adjust
7264 * BufferView_pimpl.C: adjust
7265 * FontLoader.C: adjust
7267 * bufferview_funcs.C: adjust
7268 * converter.C: adjust
7269 * figureForm.C: adjust
7270 * importer.C: adjust
7272 * lyx_gui_misc.C: adjust
7276 + more files in subdirs
7278 * lyxparagraph.h (size): move up int file
7281 * adjust all uses of Assert to lyx::Assert.
7283 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7284 lyxfunctional in namespace lyx
7285 * layout.C (hasLayout): ditto
7288 (delete_layout): ditto
7289 (NumberOfClass): ditto
7290 * converter.C (GetFormat): ditto
7295 * bufferlist.C (getFileNames): ditto
7296 (emergencyWriteAll): ditto
7299 * MenuBackend.C (hasSubmenu): ditto
7302 * BufferView_pimpl.C (getInsetByCode): ditto
7304 2001-04-18 Juergen Vigna <jug@sad.it>
7306 * vspace.C (asLatexString): fixed the 100% problem.
7308 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7310 * lyxfunc.C (Dispatch):
7312 * minibuffer.h: add a few std:: qualifiers
7314 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7316 * minibuffer.[Ch]: reimplement so that commands is initiated and
7317 run from lyxfunc, simplified som handling, and made the completion
7318 and history code for complete. wip.
7320 * lyxfunc.C (processKeySym): call message
7321 (miniDispatch): new temporary method
7322 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7323 (LFUN_MESSAGE): implement
7324 (LFUN_MESSAGE_PUSH): implement
7325 (LFUN_MESSAGE_POP): implement
7326 (initMiniBuffer): the initial/defualt minibuffer message.
7328 * lyxfont.[Ch]: inline some more getters
7330 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7332 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7334 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7335 (AutoSave): use LFUN_MESSAGE
7336 (Reconfigure): ditto
7338 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7340 * figureForm.C: use LFUN_MESSAGE
7342 * converter.C (runLaTeX): use LFUN_MESSAGE
7344 * bufferview_funcs.C: use LFUN_MESSAGE
7346 (changeDepth): ditto
7348 * bufferparams.h: use boost::
7350 * bufferlist.h: inherit privately from noncopyable
7352 * bufferlist.C (loadLyXFile): remove some commented code.
7354 * buffer.C (runChktex): use LFUN_MESSAGE
7356 * ShareContainer.h: inherit privately from noncopyable
7358 * ParagraphParameters.[hC] (depth): inline it.
7360 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7362 (message): new method
7363 (messagePush): ditto
7365 (show): init minibuffer
7366 (showState): direct call
7368 * LaTeX.[Ch]: inherit privately from noncopyable
7369 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7370 instead of WriteStatus.
7372 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7374 * BufferView_pimpl.C (buffer): don't init minibuffer
7375 (workAreaButtonPress): use LFUN_MESSAGE
7376 (workAreaButtonRelease): ditto
7377 (savePosition): ditto
7378 (restorePosition): ditto
7379 (MenuInsertLyXFile): ditto
7380 (workAreaExpose): don't init minibuffer
7381 (update): remove commented code, simplify
7383 * BufferView2.C (openStuff): use LFUN_MESSAGE
7384 (toggleFloat): ditto
7387 (copyEnvironment): ditto
7388 (pasteEnvironment): ditto
7393 (updateInset): remove some commented code
7395 * lastfiles.h: inherit privately from noncopyable
7400 * lyxlex_pimpl.h: ditto
7402 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7403 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7404 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7406 * LyXAction.h: inherit privately from noncopyable, add methods
7407 func_begin, func_end, returning iterators to the func map.
7409 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7410 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7411 (func_begin): new method
7412 (func_end): new method
7414 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7416 (copySelection): ditto
7417 (pasteSelection): ditto
7419 * BufferView.C: whitespace change
7420 * BufferView.h: inherit privately from noncopyable
7422 2001-04-16 Allan Rae <rae@lyx.org>
7424 * tabular-old.C (l_getline):
7425 * spellchecker.C (sc_check_word):
7426 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7427 an unrecognised preprocessor directive. So ensure they're wrapped.
7429 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7431 * src/exporter.C (Export): Give an error message when path to file
7434 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7436 * LaTeX.C (deplog): Always check that foundfile exists.
7438 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7441 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7443 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7445 * tabular.[Ch] (getLabelList): implement new method
7447 * minibuffer.h: comment ouf setTiimer
7449 * minibuffer.C (ExecutingCB): constify res
7450 (peek_event): constify s
7451 (Set): constify ntext
7452 (Init): constify nicename
7454 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7456 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7457 (savePosition): use two params to Minibuffer::Set
7458 (restorePosition): ditto
7460 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7462 * lyx_main.C: include language.h
7464 * Makefile.am (lyx_main.o): add language.h
7466 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7472 * CutAndPaste.C: include gettext.h
7474 * lyxfont.h: remove old hack with ON and OFF.
7477 * lyxfont.h: do not include language.h...
7482 * bufferview_funcs.C:
7488 * paragraph.C: ... but do it here instead
7490 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7492 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7494 * tabular.C: small reformat
7496 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7499 (BreakParagraph): ditto
7500 (SetOnlyLayout): ditto
7503 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7506 * lastfiles.C: removed most using decl, add std:: where needed
7508 * buffer.C: ws changes
7510 * MenuBackend.C (class compare_format): put into anon namespace
7511 (expand): constify label, names, action, action2
7514 * text.C (SingleWidth): constify font
7515 (IsBoundary): constify rtl2
7516 (GetVisibleRow): constify ww
7518 * LaTeX.C (deplog): constify logfile
7520 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7522 (workAreaExpose): constify widthChange, heightChange
7524 * lyxrow.C (par): moved
7527 * lyxrow.h: as inlines here
7529 * lyxfont.h (shape): moved from lyxfont.C
7530 (emph): moved from lyxfont.C
7532 * lyxfont.C (LyXFont): use initialization list for all
7534 (shape): move to lyxfont.h as inline
7535 (emph): move to lyxfont.h as inline
7538 2001-04-04 Juergen Vigna <jug@sad.it>
7540 * vspace.C: had to include stdio.h for use of sscanf
7542 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7545 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7546 independent of xforms.
7548 2001-04-02 Juergen Vigna <jug@sad.it>
7550 * spellchecker.C: fixed namespace placing!
7552 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7554 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7555 the LyXParagraph * is 0.
7557 2001-03-29 Juergen Vigna <jug@sad.it>
7559 * vspace.C: added support for %, c%, p%, l%.
7560 (stringFromUnit): added helper function.
7561 (asLatexString): changed to give right results for the %-values.
7563 * buffer.C: convert the widthp in a width%.
7565 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7567 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7570 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7571 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7573 * lyx_cb.[Ch]: see above.
7575 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7579 * lyx.[Ch]: replaced by figure_form.[Ch].
7583 * lyxfunc.C: changed headers associated with above changes.
7585 2001-03-27 Juergen Vigna <jug@sad.it>
7587 * BufferView_pimpl.C: set the temporary cursor right!
7589 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7591 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7593 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7595 * LString.h: removed "using std::getline"!
7597 * BufferView_pimpl.C (Dispatch): changes due to changes in
7598 InsetInclude::Params.
7600 * buffer.C (tag_name): removed redundant break statements as they were
7601 producing lots of warnings with my compiler.
7603 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7605 * LString.h: add "using std::getline" when using the real <string>.
7607 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7609 * buffer.C: removed bitset usage.
7610 PAR_TAG moved to an anonymous name space.
7611 (tag_name): new funtion, also in the anonymous namespace.
7612 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7613 (makeDocBookFile): clean code. Completed transition from string arrays
7615 (SimpleDocBookOnePar): code clean.
7617 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7619 * tabular.C: add some comments.
7621 2001-03-22 Juergen Vigna <jug@sad.it>
7623 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7624 compatibility read a bit and fixed bug with minipage in different
7627 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7629 * buffer.C (pop_tag): removed.
7630 (push_tag): removed.
7631 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7632 array replaced with vector. Added support for CDATA sections.
7633 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7635 (makeDocBookFile): XML conformant declaration of CDATA section,
7636 fixed bug related to <emphasis> in the first paragraph char.
7637 (sgmlOpenTag): exclude empty tags.
7638 (sgmlCloseTag): ditto.
7640 * buffer.h (pop_tag): removed.
7641 (push_tag): removed.
7643 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7645 * language.h (Languages): added size_type and size().
7647 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7649 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7650 response on compability reading of minipages. One probliem is that
7651 the old usage of minipages was «flertydig»
7653 * several files here and in subdirs: don't use static at file
7654 scope use anon namespaces instead.
7656 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7658 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7659 LaTeX output. This is necessary for Literate document
7662 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7664 * buffer.C: insert hfill when needed.
7666 * tabular.C (l_getline): use string::erase, small whitespace change.
7668 * BufferView_pimpl.C: try the anon namespace.
7671 2001-03-16 Juergen Vigna <jug@sad.it>
7673 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7674 otherwise it won't open options-dialogs.
7676 * buffer.C: honor pextraWidth(p) on converting minipages.
7678 * tabular.C (l_getline): changed the functions to strip trailing \r.
7680 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7682 * BufferView_pimpl.C:
7683 * minibuffer..C: added "using SigC::slot" declaration.
7685 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7687 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7693 * paragraph.C: ditto
7695 * lyxtext.h: NO_PEXTRA
7697 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7699 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7700 * ParameterStruct.h: ditto
7701 * ParagraphParameters.h: ditto
7702 * lyxparagraph.h: ditto
7704 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7706 * buffer.C: add compability for minipage alignment.
7707 (latexParagraphs): remove unwanted pextra check.
7709 * several files: remove CXX_WORKING_NAMESPACES
7711 * buffer.C (pop_tag): tie is in namespace boost
7713 * BufferView.h: noncopyable is in namespace boost
7718 * lastfiles.h: ditto
7719 * bufferlist.h: ditto
7720 * ShareContainer.h: ditto
7722 * LyXAction.h: ditto
7725 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7727 * Merging changes from BRANCH_MVC back into HEAD.
7729 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7731 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7733 * BufferView_pimpl.C: change from intl.C
7737 * Makefile.am: move combox.*
7743 * intl.C: remove dialog (covered by prefs)
7745 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7747 * lyxfunc.C (Dispatch): removed redundant break statement.
7749 2001-03-14 Juergen Vigna <jug@sad.it>
7751 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7753 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7755 * buffer.C: add hack to fix compability reading of minipages.
7757 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7759 * buffer.C (getLists): Cleanup.
7761 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7763 * lyxfont.C (update): don't honor toggleall on font size.
7765 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7769 * Makefile.am: moved to frontends/xforms/
7773 * BufferView_pimpl.C: changes for moved mathpanel
7775 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7777 * gettext.h: fix gettext_init() in --disable-nls
7779 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7781 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7783 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7786 * lyx.h: strip external form
7788 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7790 * BufferView_pimpl.C: add comment, destroySplash()
7792 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7794 * BufferView_pimpl.C:
7798 * lyxfunc.C: use re-worked insetinclude
7800 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7802 * buffer.C: add using std::stringstream.
7804 * lyx_cb.C: readd using std::ios.
7806 * buffer.C: add using std::map.
7808 * BufferView_pimpl.C: add using std::vector.
7810 * ShareContainer.h: add std:: to swap.
7812 * buffer.h: add some typedefs
7813 * buffer.C (getLists): use them
7814 (getLists): renamed from getTocList.
7815 add a counter for the different float types and use it in the
7817 (getLists): use the same counter for the NEW_INSETS and the "non"
7820 * lyx_cb.h: remove unused items, includes, using etc.
7822 * ShareContainer.h: remove some commented code, add more comments
7823 and "documentation".
7825 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7827 * buffer.C (getTocList): make the list also when NEW_INSETS is
7830 * buffer.h: remove TocType
7832 * buffer.C (getTocList): change to return a map<string,
7833 vector<TocItem> >, implement for dynamic number of list.
7835 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7836 * text2.C (PasteSelection): adjust
7837 * CutAndPaste.C (pasteSelection): adjust
7839 * FloatList.C (FloatList): update from the new_insets branch.
7840 * Floating.[Ch]: ditto
7841 * LaTeXFeatures.C: ditto
7843 * lyxlex_pimpl.C: ditto
7845 * paragraph.C (Last): remove when NEW_INSETS is defined.
7847 * other file: changes because of the above.
7849 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7851 * lyxparagraph.h: rename next to next_, previous to previous_,
7852 make them private for NEW_INSETS. Rename Next() to next(),
7853 Previous() to previous().
7855 * other files: changes because of the above.
7857 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7860 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7863 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7865 * main.C (main): pass lyx_localedir to gettext_init().
7867 * gettext.h: remove locale_init and gettext_init macros
7869 * gettext.C (locale_init): new function
7870 (gettext_init): new function
7872 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7875 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7877 * Moved credits to frontends:
7878 * credits.[Ch]: removed
7879 * credits_form.[Ch]: removed
7880 * lyx_gui_misc.C: remove credits stuff
7883 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7885 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7887 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7888 unneeded destructor.
7890 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7891 a standalone pointer again.
7893 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7895 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7901 * ToolbarDefaults.C:
7910 * BufferView_pimpl.C: use new file dialog in GUII
7913 * lyx_cb.C: remove LayoutsCB to Toolbar
7915 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7917 * ShareContainer.h (get): add std:: qualifier
7919 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7921 * ShareContainer.h: define a proper ShareContainer::value_type
7922 type (and use typename to please compaq cxx)
7924 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7926 * lyxparagraph.h: move serveral local vars to
7927 ParameterStruct/ParagraphParameters., use ShareContainer in
7928 FontTable., make vars in FontTable private and add getter and
7931 * paragraph.C: changes because of the above.
7933 * lyxfont.h: remove copy constructor and copy assignment. (the
7934 default ones is ok), move number inside FontBits. move inlines to
7937 * lyxfont.C: add number to initializaton of statics, move several
7938 inlines here. constify several local vars. some whitespace
7939 cleanup. Dont hide outerscope variables.
7941 * Spacing.h: add two new constructors to match the set methods.
7943 * ShareContainer.h: new file, will perhaps be moved to support
7945 * ParameterStruct.h: new file
7947 * ParagraphParameters.h: new file
7949 * ParagraphParameters.C: new file
7951 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7952 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7954 * BufferView_pimpl.C: ParagraphParameter changes.
7955 * buffer.C: Likewise.
7956 * bufferview_funcs.C: Likewise.
7958 * text2.C: Likewise.
7960 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7962 * lyxfind.C (LyXReplace): do not redefine default argument in
7964 (IsStringInText): ditto
7965 (SearchForward): ditto
7966 (SearchBackward): ditto
7968 2001-03-06 Juergen Vigna <jug@sad.it>
7970 * lyxfind.C (IsStringInText): put parentes around expressions.
7972 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7974 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7976 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7978 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7980 * stl_string_fwd.h: add comment
7982 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7985 * tabular.C: remove unused DocBook methods
7991 killed DO_USE_DEFAULT_LANGUAGE
7993 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7995 * lyx_gui.C: do not include language.h.
7997 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7998 arguments in function implementation.
8000 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8002 * BufferView_pimpl.C: add <ctime>
8004 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8006 * BufferView_pimpl.C: add using std::find_if
8008 2001-02-27 José Matos <jamatos@fep.up.pt>
8010 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8013 2001-02-11 José Matos <jamatos@fep.up.pt>
8015 * buffer.C (makeDocBookFile): command styles now have a parameter as
8018 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8020 * layout_forms.[Ch]: removed
8021 * lyx_cb.[Ch]: out character
8022 * lyx_gui.C: out character
8023 * lyx_gui_misc.C: out character
8024 * bufferview_funcs.C: : out character,
8025 added toggleall as parameter in ToggleAndShow
8027 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8029 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8031 * text2.C (SetCurrentFont): Disable number property at boundary.
8033 2001-02-26 Juergen Vigna <jug@sad.it>
8035 * lyxfunc.C (getStatus): added a string argument override function so
8036 that this is correctly called from LyXFunc::Dispatch if it contains a
8037 do_not_use_argument which is used!
8038 (Dispatch): added check for "custom" export and call appropriate func.
8040 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8042 * lyxrc.C: Add language_command_local, language_use_babel and
8043 language_global_options.
8045 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8047 * buffer.C (makeLaTeXFile): Use language_use_babel and
8048 language_global_options.
8050 2001-02-23 Juergen Vigna <jug@sad.it>
8052 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8053 which works with LyXText and putted it inside BufferView. Here now we
8054 only call for that part the BufferView::Dispatch() function.
8056 * BufferView.C (Dispatch): added.
8058 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8059 functions which needs to use a LyXText over from LyXFunc.
8060 (MenuInsertLyXFile): added
8061 (getInsetByCode): added
8062 (moveCursorUpdate): added
8063 (static TEXT): added
8065 2001-02-22 Juergen Vigna <jug@sad.it>
8067 * BufferView_pimpl.C (update): call a status update to see if LyXText
8070 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8072 * vc-backend.C (revert): implement for CVS
8073 (getLog): implement for CVS
8075 2001-02-20 Juergen Vigna <jug@sad.it>
8077 * text2.C (ClearSelection): added BufferView param for inset_owner call
8079 * lyxfunc.C (TEXT): added this function and use it instead of
8080 directly owner->view()-text of getLyXText().
8082 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8084 * src/layout_forms.C: out preamble
8085 * src/layout_forms.h: out preamble
8086 * src/lyx_cb.C: out preamble
8087 * src/lyx_cb.h: out preamble
8088 * src/lyx_gui.C: out preamble
8089 * src/lyx_gui_misc.C: out preamble
8090 * src/lyxfunc.C: connect with guii preamble
8092 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8094 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8096 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8098 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8099 whether to run bibtex.
8101 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8103 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8105 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8107 * Makefile.am (lyx_SOURCES): removed bibforms.h
8111 * text.C (GetVisibleRow): make several local vars const
8113 * tabular.C: small cleanup.
8115 * lyxserver.C (callback): use compare instead of strncmp
8117 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8118 inlines to after class or to paragraph.C
8120 * lyxfont.h: remove friend operator!=
8122 * converter.h: move friend bool operator< to non friend and after
8125 * combox.h: small cleanup
8127 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8128 to inlines after class def.
8130 * buffer.C (pop_tag): use string operations instead of strcmp
8132 * bmtable.c: doxygen, small cleanup
8134 * LaTeX.h: remove friend operator==
8136 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8148 * BufferView_pimpl.C:
8149 * BufferView.[Ch]: remove cruft
8151 2001-02-14 Juergen Vigna <jug@sad.it>
8153 * lyxfunc.C: removed #if 0 unused code
8155 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8157 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8159 * text2.C (SetSelection): added a BufferView * parameter
8161 2001-02-13 Juergen Vigna <jug@sad.it>
8163 * lyxfunc.C (Dispatch): fixed protected blank problem.
8164 * BufferView2.C (protectedBlank): added LyxText * parameter.
8166 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8167 (AppendColumn): same as above for column_info.
8169 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8170 (moveCursorUpdate): use a LyXText param for support of InsetText.
8172 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8173 (tripleClick): ditto
8175 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8177 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8179 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8181 * text2.C (SetSelection): set correct update status if inset_owner
8184 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8186 * tabular.C: remove some commented code.
8188 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8190 * BufferView_pimpl.C: call hideSplash()
8192 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8195 * bibforms.h: remove
8198 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8199 add LFUN_CHILD_CREATE
8201 * counters.h: fix tiny typo
8206 * lyx.C: move splash to frontends/xforms/
8208 * lyx_gui_misc.C: move Include and Bibform to frontends
8210 * lyxvc.h: clarify comment
8212 * vspace.C: tiny housekeeping
8214 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8216 * text.C (PrepareToPrint): RTL Fix.
8218 * paragraph.C (GetUChar): New method.
8219 (String): Use GetUChar.
8221 * buffer.C (asciiParagraph): Use GetUChar.
8223 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8225 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8227 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8230 * buffer.C: rename to getLogName(), handle
8231 build log / latex log nicely
8233 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8236 * MenuBackend.h: remove support for reference menuitem type.
8238 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8240 * BufferView_pimpl.C: housekeeping
8241 * BufferView_pimpl.h:
8246 * minibuffer.h: move Timeout GUI-I
8248 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8250 * lyxrc.C (read): Update converters data-structures.
8252 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8254 * LaTeX.h (operator!=): add operator != for Aux_Info
8256 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8258 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8260 * LaTeXLog.C: deleted, useful code moved to Buffer
8263 * buffer.C: new function getLatexLogName()
8269 * lyxfunc.C: use frontends for LaTeX and VC logs
8271 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8273 * LaTeX.h: yet another std:: that Allan forgot.
8275 * Variables.C (set): renamed from isset(), because this clashes
8276 with some HP-UX macros (grr).
8278 2001-02-06 Allan Rae <rae@lyx.org>
8280 * LaTeX.h: Another bug fix. Missing std:: this time.
8282 2001-02-04 Allan Rae <rae@lyx.org>
8284 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8285 floats problem. I've left it commented out because it's not quite
8286 correct. It should also test that the current object is a table or
8287 figure inset. But I haven't gotten around to figuring out how to do
8288 that. I *think* it'll be something like: "table" == inset.type()
8290 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8293 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8295 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8296 all the citation/databases/styles in the auxilary file.
8297 (run): Rerun latex if there was a babel language error.
8299 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8301 * text.C (Backspace): Preserve the font when changing newline char
8303 (BreakParagraph): If the cursor is before a space, delete the space.
8305 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8307 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8309 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8310 new argument (code).
8311 (ChangeCitationsIfUnique): New method.
8313 * paragraph.C (GetPositionOfInset): Handle bibkey.
8315 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8317 * BufferView_pimpl.h: change type of Position::par_pos to
8318 LyXParagraph::size_type.
8320 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8322 * BufferView_pimpl.C (savePosition, restorePosition): Write
8323 messages to minibuffer.
8325 2001-01-28 José Matos <jamatos@fep.up.pt>
8327 * buffer.C (makeDocBookFile): adds support for document language.
8328 A silly restriction on the name of LatexCommand types where removed.
8329 Added support for CDATA sections, allows to chars unescaped, used
8330 among others in code, to avoid escape < and >.
8332 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8334 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8335 saved positions instrad of a stack. Furthermore, a position is
8336 stored using paragraph id/paragraph position.
8338 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8339 Remove LFUN_REF_BACK.
8341 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8343 * converter.C (dvipdfm_options): New method.
8345 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8347 * vspace.C (isValidLength): Fix for empty input string.
8349 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8351 * LyXAction.C (init): change description of LFUN_FIGURE to
8354 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8356 * LaTeX.C: add using directive
8358 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8360 * MenuBackend.C (expand): Fix the sorting of the formats.
8362 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8364 * lyx_main.C: tiny error message fix
8366 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8368 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8369 calling fl_initialize(). This fixes the problem with ',' as
8370 decimal separator in text files.
8372 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8374 * trans.C (process): Fix the keymap bug.
8376 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8378 * LaTeX.C (scanAuxFiles): New method. Provides support for
8379 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8380 (scanLogFile) Scan for "run BibTeX" messages.
8382 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8383 OT1 font encoding. Also, load the aecompl package if the ae
8386 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8388 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8390 * texrow.C (increasePos): turn two error messages into debug
8393 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8395 * LaTeX.C (scanAux): Handle the \@input macro.
8396 (runBibTeX): Use scanAux().
8398 * language.C (latex_options_): New field.
8400 * LaTeXFeatures.C (getMacros): Add language macros.
8402 * buffer.C (makeLaTeXFile): Small fix.
8404 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8406 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8408 * text2.C: add a using directive.
8410 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8415 * lyxfunc.C: kill LyXBell.
8417 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8419 * text.C (IsBoundary): Remove the error message
8421 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8423 * lyxrc.C (setDefaults): Correct initialization value for
8426 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8428 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8431 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8434 * src/LyXAction.C: Added reference-next.
8436 * text.C (InsertChar): Use contains instead of strchr.
8438 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8440 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8442 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8443 alignment commands (when needed).
8445 * text.C (InsertChar): Add ':' to number separator chars.