1 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxfunc.C (dispatch): adjust for lyx::find
5 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6 lyx::find instead. Reorganize a bit.
7 (LyXReplace): rename to replace
8 (LyXFind): rename to find
10 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
13 2003-07-26 André Pönitz <poenitz@gmx.net>
15 * text.C (setHeightOfRow): restrict scope of temporary variable
17 2003-07-27 Asger Alstrup <alstrup@local>
19 * text.C (fill): Optimise algorithm to exploit that we can reuse
20 the LyXFont for many characters.
21 (setHeightOfRow): Same thing.
22 (rowBreakPoint): Same thing.
24 2003-07-26 Asger Alstrup <alstrup@local>
26 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
28 * text.C (singleWidth): Spurious font copying in hot-spot
29 singleWidth avoided. Reorder tests for arabic for efficiency.
31 * text.C (fill): handle empty paragraphs better.
33 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * encoding.h: add includes
38 * lyxrc.C: remove reading of bind files
40 * lyx_main.C (init): setup bindings and menus only if we have a
43 * kbmap.C (read): new method. Do the actual reading of bind
46 * converter.C (dvipdfm_options):
49 (output): adapt PAPER_* enums.
51 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
53 * bufferparams.h: remove paper-related enums from there
55 * paper.h: New file. A trivial header file to hold paper-related
56 enums. It should later expand to contain many paper-related
59 * lyxrc.C: declare extern displayTranslator
61 2003-07-27 José Matos <jamatos@fep.up.pt>
63 * tabular.[Ch] (linuxdoc): add support for tables and figures
66 2003-07-27 José Matos <jamatos@fep.up.pt>
68 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
69 consistency in both functions.
70 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
72 2003-07-26 Asger Alstrup <alstrup@local>
74 * rowpainter.C (paintRows): Change algorithm to work directly on
75 the insets rather than asking every character in the document
78 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
80 * buffer.C (openFileWrite): factorize some code
82 2003-07-26 Angus Leeming <leeming@lyx.org>
85 * lyx_main.[Ch]: replace occurances of system_tempdir with
88 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
90 * rename Inset to InsetOld
92 2003-07-25 Asger Alstrup <alstrup@diku.dk>
94 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
95 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
96 which I think is a bit clearer. EDIT is gone, since it was
97 premature optimisation, and broken for mathed anyway.
98 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
99 with cursor positioning in insets as well (math insets still do not
100 work, but that's a different story anyway.) It mysteriously
101 crashes sometimes with undo in the first paragraph, but I'm fairly
102 confident that this is a compiler bug.
104 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
106 * paragraph.C (Paragraph): adjust for new clone return type
108 (copyIntoMinibuffer): ditto
110 2003-07-25 Asger Alstrup <alstrup@lyx.org>
112 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
113 by not having a special case, and always doing a full rebreak of
114 the document after undo.
116 2003-07-23 Angus Leeming <leeming@lyx.org>
118 * factory.C (createInset): InsetExternal::setParams now takes a
121 2003-07-23 Angus Leeming <leeming@lyx.org>
123 * factory.C (createInset): changed interface to the external and
124 graphics mailers' string2params functions.
126 2003-07-23 Angus Leeming <leeming@lyx.org>
128 * factory.C (createInset): pass a
129 Buffer const * parameter to InsetExternalMailer's string2params.
131 2003-07-22 John Levon <levon@movementarian.org>
133 * Thesaurus.h: include the right aiksaurus header
135 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * MenuBackend.C (expand): check menu shortcuts unconditionally
139 2003-07-21 Angus Leeming <leeming@lyx.org>
141 * factory.C (createInset): pass a
142 buffer_path parameter to InsetGraphicsMailer's string2params.
144 2003-07-21 Angus Leeming <leeming@lyx.org>
146 * BufferView_pimpl.C (buffer):
149 * lyxfunc.C (dispatch):
150 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
151 rather than the grfx shortcut.
153 2003-07-21 André Pönitz <poenitz@gmx.net>
155 * rowpainter.C: remove unused variables
158 * tabular_funcs.h: move to tabular.C
159 * Makefile.am: adjust
161 * tabular.[Ch]: basic optical cleaning
163 * author.h: pass references, not values
165 2003-07-18 André Pönitz <poenitz@gmx.net>
173 * text3.C: two-phase drawing for InsetText and InsetTabular
174 some float -> int changes.
176 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
178 * lyx_main.C: fix the fix
180 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
182 * lyx_main.C: fix a crash in batch mode if no files specified
185 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
187 * format.[Ch] (papersize): moved to BufferParams
188 * converter.[Ch] (dvips_options): moved to BufferParams
189 (dvipdfm_options): moved to anon namespace
190 * bufferparams.[Ch]: added above functions.
192 2003-07-17 André Pönitz <poenitz@gmx.net>
196 * text2.C: don't call inset->update() anymore
198 * metricsinfo.[Ch]: add convenience constructor
200 2003-07-16 André Pönitz <poenitz@gmx.net>
205 * text2.C: replace the LyXCursor::irow_ member with
206 on-demand computation of the value
208 2003-07-16 John Levon <levon@movementarian.org>
210 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
212 2003-07-15 André Pönitz <poenitz@gmx.net>
215 * text2.C: remove no more needed refresh_row
217 2003-07-15 André Pönitz <poenitz@gmx.net>
222 * text3.C: refresh_status tristate -> need_update bool
224 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
226 * lyxtext.h (init): remove reinit argument (act as if always true)
227 * text2.C: adjust to that
229 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
231 * bufferview_funcs.[Ch]: introduce function replaceSelection()
232 * text3.C: use it to delete selections in some cases
233 (bugs 441, 673, 702, 954).
235 2003-07-14 André Pönitz <poenitz@gmx.net>
237 * rowpainter.[Ch]: reduce interface
239 2003-07-14 André Pönitz <poenitz@gmx.net>
241 * BufferView_pimpl.C:
242 * text2.C: adjust after removing unused BufferView * argument
244 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
246 * text2.C (init): fix a crash fired on resize
248 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
250 * buffer.[Ch]: added new closing signal
251 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
252 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
253 BufferView::Pimpl via the closing the signal
255 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
257 * buffer.[Ch]: take out all bv-related from buffer
259 * BufferView_pimpl.[Ch]: connect to new signals
260 * CutAndPaste.C: removed useless asserts
261 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
264 * lyxfunc.C: moved view-related funciontality from vc here
265 * paragraph.C: removed outdated comments
268 2003-07-10 André Pönitz <poenitz@gmx.net>
270 * BufferView_pimpl.C:
274 * text2.C: remove InsetText::InnerCache, clean up consequences
276 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
278 * ispell.C: fix two typos in error messages
280 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
282 * Extend Note inset to other forms of annotation like Comment
283 and Greyedout. Right button click gives dialog.
285 Files modified or added (+):
291 * Makefile.am in frontends/xforms, frontends/xforms/forms,
292 frontends/controllers
296 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
298 * aspell.C: add missing namespace lyx::support
300 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
302 * BufferView.[Ch] (newFile): Add
303 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
304 * LaTeX.[Ch] (message): added this signal and use it
305 * buffer.[Ch] (busy, message): added these signals and use them
306 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
310 * importer.C: use buffer signals instead of direct bv calling
311 * lyx_cb.[Ch] (ShowMessage): removed
315 * text2.C: use buffer signals
317 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
319 * introduce namespace lyx::graphics
321 2003-07-02 André Pönitz <poenitz@gmx.net>
323 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
325 2003-07-01 André Pönitz <poenitz@gmx.net>
332 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
333 text*.C to text_func.C
335 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * introduce namespace lyx::support
339 2003-06-30 André Pönitz <poenitz@gmx.net>
344 * text.C: re-enable --with-included-string
346 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
348 * textcursor.C: add <config.h>
350 * text.C (getWord): remove const from word_location arg
352 * lyxvc.C (getLogFile): fix const type order
354 * lyxtext.h: remove const from word_location arg, add arg name
356 * lyxlayout.h: currect type on labeltype.
358 * importer.C: correct \file
360 * converter.C (intToFormat): use std:: on ret val, ws changes
362 * bufferlist.h: correct \file
364 * buffer.C (makeLinuxDocFile): fix const type order
365 (makeDocBookFile): ditto
366 (fillWithBibKeys): use std:: on stdlib args.
368 * CutAndPaste.C: fix authors.
369 (availableSelections): use std:: on return vector
371 2003-06-27 André Pönitz <poenitz@gmx.net>
373 * BufferView_pimpl.C:
374 * bufferview_funcs.C:
382 * text3.C: remove LyXCursor::row_ member
385 * text.C: rename fullRebreak() to partialRebreak() and implement
386 a fullRebreak() that really bereks fully
388 * textcursor.h: new struct for cursor-related data
390 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
392 * lyx_main.C (LyX): get full path of document loaded on the
395 2003-06-26 André Pönitz <poenitz@gmx.net>
397 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
398 remove unused/broken operator>,<,>=.
400 * text.C: remove only use of broken operator<= in an Assert().
402 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
404 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
405 moved errorlist_.clear to showErrorList
407 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
409 * converter.C (scanLog, runLaTeX):
410 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
411 move the bv->showErrorList call to the callers
412 * lyxfunc.C: i.e. here...
414 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
415 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
416 namespace, the second to...
417 * buffer_funcs (BufferFormat, parseErrors): added
418 * errorlist.C (ErrorList(TeXErrors const &)): removed
420 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
422 * ToolbarBackend.C (getIcon): complain when icon cannot be found
424 2003-06-24 "Garst R. Reese" <reese@isn.net>
428 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
430 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
432 * version.C.in: change docversion to 1.4
434 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
436 * buffer.C: fix a bug just introduced
438 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
440 * buffer.[Ch]: added the parseError signal and use it, removed
442 * BufferView.[Ch] (addError): moved to ...
443 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
444 to the Buffer::parseError signal to catch (guess what) parse errors
445 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
447 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
449 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
450 ability to create a buffer and to return an existing one from
451 the list. Moved these functions to...
452 * buffer_funcs.[Ch]: added
453 * BufferView.[Ch] (loadLyXFile): added
454 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
455 job removed from bufferlist::loadLyXFile.
456 * buffer.C (setReadOnly): make it work without view
457 (i.e added an if (users))
459 2003-06-19 Angus Leeming <leeming@lyx.org>
462 * LyXAction.C (init):
463 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
464 with LFUN_DIALOG_SHOW <name> <data>.
466 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * CutAndPaste.C (availableSelections): small compilation fix for
469 ancient (gcc 2.9x) compilers
471 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
473 * text3.C (cursorNext): add tmp var
475 * text2.C (updateCounters): for function calling out of for clause
476 (replaceSelectionWithString): ditto
477 (insertStringAsParagraphs): ditto
478 (getColumnNearX): add tmp var
479 (setCursorFromCoordinates): add tmp var
480 (cursorDownParagraph): add tmp var
481 (deleteEmptyParagraphMechanism): add tmp var
483 * text.C (insertChar): add tmp var
485 * rowpainter.C (paintDepthBar): add tmp var
487 * CutAndPaste.C (availableSelections): potentially check all
488 paragraphs in a cut to fill the shown strings.
490 2003-06-18 André Pönitz <poenitz@gmx.net>
492 * kbmap.[Ch]: use vector<> instead of list<>
494 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
496 * text3.C (dispatch): handle arg to LFUN_PASTE, call
497 pasteSelection with index
499 * text2.C (pasteSelection): modify, call pasteSelection with index
501 * paragraph.C (asString): reimplement version with no interval to
502 call the one with interval.
504 * lyxtext.h: add index arg to pasteSelection
506 * MenuBackend.C (MenuItem): handle PasteRecent
507 (Menu::read::Menutags): add md_pasterecent
509 (expandPasteRecent): new function
512 * MenuBackend.h: add PasteRecent to MenuItem::Kind
514 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
516 (availableSelections): new function
518 2003-06-17 Angus Leeming <leeming@lyx.org>
520 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
522 2003-06-17 Angus Leeming <leeming@lyx.org>
525 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
527 * lyxfunc.C (dispatch): invoke it.
529 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * iterators.C (operator++, ParPosition): reintroduce some
532 const_cast for the benefit of older compilers.
534 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
536 * text3.C (dispatch): do not modify clipboard when doing
537 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
538 LFUN_DELETE_SKIP on a selection selection
540 2003-06-16 André Pönitz <poenitz@gmx.net>
546 * tabular.[Ch]: IU of clone() and getLabelList();
548 2003-06-13 André Pönitz <poenitz@gmx.net>
550 * tabular.h: compactification
552 2003-06-12 André Pönitz <poenitz@gmx.net>
556 * tabular_funcs.h: some renaming plus whitespace
558 2003-06-12 André Pönitz <poenitz@gmx.net>
561 * BufferView_pimpl.C:
567 * toc.C: Return a Paragraph & for ParIterator::operator*()
569 2003-06-11 John Levon <levon@movementarian.org>
573 * ToolbarBackend.C: add "Toolbars" section and
576 2003-06-10 Angus Leeming <leeming@lyx.org>
579 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
581 * lyxfunc.C (dispatch): invoke it.
583 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * main.C: protect <ios> with HAVE_IOS
586 (main): protect sync_with_stdio with HAVE_IOS
588 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
590 * text2.C (cutSelection): adjust
591 (pasteSelection): adjust
593 * messages.C: handle get of empty string
595 * main.C (main): use sync_with_stdio(false)
597 * lyxfunc.C (dispatch): adjust
599 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
600 (WriteAs): remove unneeded BufferView arg.
602 * bufferparams.h: use correct types on papersize, papersize2 and
605 * bufferparams.C (readToken): adjust for type
606 (writeLaTeX): add missing cases to switch.
608 * bufferlist.C (quitWriteBuffer): adjust
611 * buffer.C (asciiParagraph): remove some commented code.
613 * CutAndPaste.C: remove current_view extern variable.
614 (cutSelection): add BufferParams arg.
615 (eraseSelection): add BufferParams arg.
616 (pasteSelection): add Buffer const & arg
618 2003-06-07 John Levon <levon@movementarian.org>
626 * paragraph.C: allow InsetERT to freely space lines,
627 and some consolidation of code
629 2003-06-06 José Matos <jamatos@fep.up.pt>
631 * buffer.C (makeDocBookFile): fix bug #821
633 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
635 * BufferView_pimpl.C (dispatch): use Dialogs::visible
637 2003-06-04 Angus Leeming <leeming@lyx.org>
639 * buffer.C: bump format to 224.
641 2003-06-05 André Pönitz <poenitz@gmx.net>
643 * text2.C (redoParagraphs): remove two const_cast<>
645 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
647 * ParagraphList.h: remove last remnants of NO_STD_LIST
649 2003-06-03 Angus Leeming <leeming@lyx.org>
651 * factory.C (createInset): small change to the way InsetExternal's params
654 2003-06-04 André Pönitz <poenitz@gmx.net>
656 * buffer.h: use Undo directly instead of shared_ptr<Undo>
659 * paragraph.[Ch]: some Inset -> UpdatableInset changes
661 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
663 * undo_funcs.C: make some simple cases of undo work again
665 2003-06-03 John Levon <levon@movementarian.org>
667 * ispell.C: HPUX doesn't have sys/select.h
670 2003-06-03 John Levon <levon@movementarian.org>
672 * CutAndPaste.C: update tabular and include inset
677 * paragraph.C: remove owningBuffer(), don't pass Buffer
680 * factory.C: insetGraphicsParams changed
682 2003-06-02 John Levon <levon@movementarian.org>
688 * text3.C: remove insetparent
690 2003-06-02 John Levon <levon@movementarian.org>
693 * buffer.C: fix inset_iterator.end(), move out of line
696 2003-06-01 John Levon <levon@movementarian.org>
698 * text3.C: use a proper cut/paste when doing inset
699 insert (from Jürgen Spitzmüller)
701 2003-06-01 John Levon <levon@movementarian.org>
703 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
705 2003-05-30 André Pönitz <poenitz@gmx.net>
707 * rowpainter.C: unify second drawing phase
709 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
711 * trans_mgr.C: remove one case of current_view
713 * text2.C (cursorBottom): delete NO_STD_LIST stuff
715 * paragraph_funcs.h: remove paragraph.h include
717 * paragraph.h: delete NO_STD_LIST stuff
719 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
721 * buffer.h: remove paragraph.h include
723 * ParagraphList.C: delete file
725 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
727 * toc.C (getTocList): adjust
729 * paragraph_pimpl.C (validate): adjust
731 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
733 * paragraph.C (Paragraph): adjust
734 (getPositionOfInset): use const_iterator, adjust
735 (bibitem): use const_iterator, adjust
736 (setInsetOwner): adjust
738 * iterators.C (operator++): adjust
740 * InsetList.[Ch]: Replace selfmade iterator with standard
741 vector::iterator also introduce const_iterator. Remove getPos,
742 getInset and setInset from InsetTable. Adjust accordingly.
744 * BufferView.C (lockInset): adjust
745 (ChangeInsets): adjust
747 * tabular.[Ch]: delete commented same_id functions
749 2003-05-28 John Levon <levon@movementarian.org>
751 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
753 2003-05-28 André Pönitz <poenitz@gmx.net>
755 * metricsinfo.[Ch]: remove 'fullredraw' member
757 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
759 * lyxtextclass.C (operator): remove caching.
761 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
765 * text2.C (cursorBottom): adjust
766 (setCounter): use ParagraphList::find, adjust
768 * text.C (workWidth): use ParagraphList::find, adjust
770 * lyxcursor.C (LyXCursor): adjust
772 * buffer.C (inset_iterator): adjust
774 * ParagraphList.h: make iterator(value_type) private, make
775 ParagraphList a friend of iterator.
777 * ParagraphList.C (find): new function
779 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
781 2003-05-27 André Pönitz <poenitz@gmx.net>
783 * dimension.[Ch]: a -> asc, d -> des, w -> wid
785 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
789 2003-05-26 John Levon <levon@movementarian.org>
791 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
793 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * remove same_id from function signatures, adjust.
797 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * undo_funcs.C (createUndo): use the id functions directly, adjust.
801 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
803 * paragraph.C (Paragraph): get rid of same_ids parameter
805 * ParagraphList.C (insert): adjust
808 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * paragraph_funcs.C (breakParagraph): adjust
811 (breakParagraphConservative): adjust
813 * buffer.C (readParagraph): adjust
815 * ParagraphList.C (insert): take a reference instead of a pointer
818 * paragraph.[Ch] (id): new function
820 * bufferlist.C (newFile): adjust
822 * ParagraphList.C (ParagraphList): adjust
824 (push_back): take a reference instead of a pointer.
826 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
828 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
831 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
832 set else use old code.
834 * ParagraphList.C: remove all NO_NEXT code and only compile this
835 code of NO_STD_LIST is set.
837 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
839 * BufferView_pimpl.C:
849 * graphics/GraphicsConverter.C:
850 * graphics/PreviewLoader.C: header adjustment
852 2003-05-23 Angus Leeming <leeming@lyx.org>
854 * LaTeXFeatures.[Ch] (useBabel): new method.
855 * bufferparams.C (writeLaTeX): use it.
857 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
859 * ParagraphList.h (set): remove unused function.
861 2003-05-23 André Pönitz <poenitz@gmx.net>
864 * BufferView_pimpl.C:
868 * undo_funcs.C: setUndo reworked
870 * iterators.[Ch]: add access to topmost ParagraphList
872 * lyxtext.[Ch] (workWidth): add a const
874 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
876 * texrow.[Ch] (increasePos): remove function
877 * exporter.C (export): removed unused var and outdated comment
879 2003-05-23 Angus Leeming <leeming@lyx.org>
881 * latexrunparams.h: rename fragile as moving_arg.
882 * paragraph.C (simpleTeXOnePar): ditto.
883 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
885 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
889 (textUndoOrRedo): comment out a currently unused var.
891 * paragraph.h (NO_NEXT): enable NO_NEXT
893 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
895 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
897 * exporter.C (Export): adjust for removeAutoInsets removal.
899 * buffer.C (runChktex): adjust for removeAutoInsets removal.
901 * LyXAction.C (init): remove LFUN_REMOVEERRORS
903 * BufferView.[Ch] (removeAutoInsets): delete function
905 2003-05-22 Angus Leeming <leeming@lyx.org>
907 * latexrunparams.h: add a free_spacing variable.
909 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
910 to pass moving_arg, as the data is stored in runparams.fragile.
912 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
913 to Inset::latexOptional or to simpleTeXOnePar.
915 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
916 free_spacing arg to Inset::latexOptional.
918 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
921 2003-05-22 Angus Leeming <leeming@lyx.org>
923 * latexrunparams.h: add fragile and use_babel variables.
925 * bufferparams.[Ch] (writeLaTeX): return use_babel.
926 * buffer.C (makeLaTeXFile): store this returned value in
927 runparams.use_babel, thus passing it to the inset::latex methods.
929 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
930 simpleTeXSpecialChars as it is now stored in runparams.fragile.
932 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
933 longer has a fragile arg, as it is stored in runparams.fragile.
935 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
936 moving_arg parameter as the data is stored in runparams.fragile.
938 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
939 a fragile parameter as the data is stored in runparams.fragile.
941 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
943 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
945 2003-05-22 Angus Leeming <leeming@lyx.org>
947 * latexrunparams.h: add a 'bool nice' which defaults to false.
949 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
950 now encapsulated within runparams.
952 * bufferlist.C (updateIncludedTeXfiles):
953 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
955 2003-05-22 Angus Leeming <leeming@lyx.org>
957 * latexrunparams.h: new file containing struct LatexRunParams.
958 * Makefile.am: add new file.
960 * LaTeX.[Ch] (c-tor, run):
961 * buffer.[Ch] (makeLaTeXFile):
962 * bufferlist.[Ch] (updateIncludedTeXfiles):
963 * converter.C (convert, scanLog):
964 * converter.[Ch] (runLaTeX):
965 * exporter.C (Export):
966 * paragraph.[Ch] (simpleTeXOnePar):
967 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
968 * paragraph_funcs.[Ch] (latexParagraphs):
969 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
970 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
971 pass around a LatexRunParams parameter.
973 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * paragraph.[Ch]: remove unused constructor
977 * ParagraphList.C (erase): new function, taking two iterators
979 2003-05-22 André Pönitz <poenitz@gmx.net>
981 * undo_funcs.C: remove duplicated code
983 * iterator.[Ch]: operator=
985 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
987 * tabular.C (SetMultiColumn): ws changes
989 * rowpainter.C (paintFirst): get rid of a ->previous
991 * lyx_cb.C (getPossibleLabel): parlist simplification
993 * BufferView.C (ChangeInsets): simplify slightly.
995 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
997 * LyXAction.C: new lfun space-insert, kill protected-space-insert
998 * lfuns.h: new LFUN_SPACE
999 * lyxfunc.C: protected space has a new lfun
1000 * paragraph_funcs.C: read new space insets
1002 * factory.C: handle new space insets
1004 2003-05-22 André Pönitz <poenitz@gmx.net>
1007 * BufferView_pimpl.C:
1010 * undo_funcs.C: return a ParIterator from getParFromID.
1012 * iterators.[Ch]: add two const's
1014 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * toc.C (getTocList): adjust
1018 * iterators.[Ch]: rework for parlist
1020 * buffer.C (par_iterator_begin): adjust
1021 (par_iterator_end): adjust
1023 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1025 * BufferView.C (removeAutoInsets): adjust
1026 (ChangeInsets): adjust
1028 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1030 * text.C (top_y): fix bug 1110
1032 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1034 * errorlist.[Ch]: added
1037 * BufferView_pimpl.C:
1038 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1041 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1043 * Makefile.am: ensure that lyx is relinked upon changes to the
1044 various "convenience" libs.
1046 2003-05-20 Angus Leeming <leeming@lyx.org>
1048 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1049 files are compiled in alphabetical order again.
1051 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1053 2003-05-19 Angus Leeming <leeming@lyx.org>
1055 * gettext.[Ch]: remove "char const * _(char const *)".
1057 2003-05-19 André Pönitz <poenitz@gmx.net>
1059 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1068 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1070 2003-05-19 André Pönitz <poenitz@gmx.net>
1074 * lyxtextclass.[Ch]:
1076 * paragraph_funcs.[Ch]:
1078 * text3.C: more insetenv work
1080 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1082 * ParagraphParameters.C (params2string): small bug fixed
1084 2003-05-16 André Pönitz <poenitz@gmx.net>
1087 * bufferview_funcs.C: patch from Kornel Benko to prevent
1088 crash when _(...) is called twice in a statement
1090 2003-05-16 André Pönitz <poenitz@gmx.net>
1097 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1099 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1101 * lyx_main.C (init): remove spurious static_cast
1103 2003-05-14 André Pönitz <poenitz@gmx.net>
1105 * BufferView.C: fix format string
1107 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1109 * BufferView.[Ch] (insertErrors): removed
1110 * BufferView.[Ch] (showErrorList): added
1111 * buffer.C (runChkTeX):
1112 * converter.C (scanLog): call showErrorList instead of inserterrors
1114 2003-05-13 André Pönitz <poenitz@gmx.net>
1116 * BufferView_pimpl.C:
1118 * bufferview_func.C:
1125 * tabular_funcs.h: tostr() from its own header
1127 * ParagraphParameters.C:
1132 * text3.C: STRCONV()
1134 2003-05-12 André Pönitz <poenitz@gmx.net>
1137 * BufferView_pimpl.C:
1141 * ParagraphParameters.C:
1145 * bufferview_funcs.C:
1158 * paragraph_funcs.C:
1162 * text3.C: boost::format -> bformat all over the place
1165 2003-05-09 André Pönitz <poenitz@gmx.net>
1167 * LColor.[Ch]: Pimpl the #include <map> away
1169 2003-05-09 John Levon <levon@movementarian.org>
1171 * bufferlist.C: never remove emergency saves
1173 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * Makefile.am: better lib building
1177 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1181 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1182 (simpleTeXSpecialChars): adjust
1183 (simpleTeXSpecialChars): adjust
1184 * paragraph.C (simpleTeXOnePar): adjust
1185 * buffer.C (makeLaTeXFile): adjust
1187 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1189 * text2.C (changeDepth): parlist cleanup
1190 (getColumnNearX): ditto
1192 * rowpainter.C (getLabelFont): parlist cleanup
1194 * bufferlist.C (newFile): parlist cleanup
1196 * CutAndPaste.C (eraseSelection): parlist cleanup
1198 * BufferView_pimpl.C (trackChanges): parlist cleanup
1201 * BufferView.C (lockInset): parlist cleanup.
1202 (ChangeInsets): ditto
1204 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1206 * CutAndPaste.h: Update file header.
1208 * CutAndPaste.C: Update file header.
1209 Store the parts cut out of the Document in a limited_stack.
1210 (copySelection): adjust
1211 (pasteSelection): new function, takes the index in the limited stack.
1212 (nrOfParagraphs): adjust
1213 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1214 simplify error inset insertion.
1215 (checkPastePossible): adjust
1217 2003-05-06 John Levon <levon@movementarian.org>
1219 * text2.C: don't cast wrap inset to float
1221 2003-05-05 André Pönitz <poenitz@gmx.net>
1224 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1226 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1227 few naked Paragraph *.
1229 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1231 * bufferparams.C: Output warning if a document with missing
1232 TeX document class is loaded
1233 * exporter.C: Disable TeX exports if the document class is missing
1236 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1237 isTeXClassAvailable()
1239 2003-05-03 John Levon <levon@movementarian.org>
1242 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1243 explicit cursor show/hide
1245 * BufferView_pimpl.h:
1246 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1247 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1249 * lyxfunc.C: hide cursor before dispatching.
1254 * text3.C: remove explicit cursor hides
1256 2003-05-02 André Pönitz <poenitz@gmx.net>
1258 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1261 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1264 * text2.C: tiny whitespace
1266 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * undo_funcs.C: almost only ws changes.
1270 * ParagraphList.C (splice): just return if pl is empty.
1272 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1274 * ParagraphList.C (splice): new function.
1276 * CutAndPaste.C (pasteSelection): use it
1278 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * CutAndPaste.C (pasteSelection): remove the last next and
1281 previous from this file.
1283 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1285 * CutAndPaste.C (pasteSelection): more clean up, user proper
1286 ParagraphList functions for pasteing.
1288 * ParagraphList.C (insert): new function, three arg insert
1290 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1292 * ParagraphList.C (insert): new function, three arg insert
1294 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1297 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1301 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1305 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1307 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1308 (copySelection): clean up a bit.
1309 (pasteSelection): use make_pair
1311 * ParagraphList.C (ParagraphList): implement copy constructor
1312 (operator=): implement, base on copy constructor.
1315 * paragraph.C (erase): return a bool
1317 * paragraph_pimpl.C (erasePos): remove function, move contents...
1318 (erase): ... here. Return a bool.
1319 (erase): call erase instead of erasePos.
1321 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1323 * ParagraphList.h: define PitPosPair
1324 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1325 ParagraphList, fix a bug on pasting multiple pars
1326 * text2.C: change interface to C&P
1328 2003-04-30 André Pönitz <poenitz@gmx.net>
1330 * undo_func.C: revert part of yesterday's patch 2
1332 2003-04-30 John Levon <levon@movementarian.org>
1334 * LColor.C: s/tabular/table/
1336 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * text3.C (dispatch): do not convert iterator -> pointer
1339 * undo_funcs.C (setCursorParUndo): ditto
1340 * text_funcs.C (transposeChars): ditto
1342 * text2.C (setLayout): ws changes only
1344 * text.C (breakParagraph): do not convert iterator -> pointer
1346 (acceptChange): ditto
1347 (rejectChange): ditto
1352 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1355 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1357 * text3.C (gotoInset): YABG (yet another bad getChar)
1359 2003-04-29 André Pönitz <poenitz@gmx.net>
1361 * paragraph.h: make operator= private unimplemented as long as
1364 * ParagraphList.C: whitespace
1367 * paragraph_pimpl.[Ch]:
1368 * paragraph_funcs.C:
1370 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1373 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1375 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1377 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1378 * paragraph.[Ch] (erase):
1379 * paragraph_pimpl.[Ch] (erase): change return type and value
1380 * text2.C (cutSelection): some rework
1382 2003-04-28 John Levon <levon@movementarian.org>
1384 * bufferlist.C: changes for unsaved changes dialog
1386 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1388 * bufferlist.C (newFile): set language (messages_) for new
1391 * buffer.C (readFile): ws changes only.
1393 2003-04-28 André Pönitz <poenitz@gmx.net>
1398 * BufferView_pimpl.C:
1399 * BufferView.C: getParFromID related ParagraphList::iterator changes
1401 2003-04-28 André Pönitz <poenitz@gmx.net>
1403 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1406 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1408 * messages.C: remove one more localedir class variable.
1410 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * messages.C (getLocaleDir): singleton generation function
1414 (Messages): add a default constructor.
1416 * main.C (main): do not setup localedir here, do not call
1419 * gettext.C (_): use it.
1420 (gettext_init): delete funciton
1422 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * gettext.C (getLyXMessages): new singleton generating function.
1426 * buffer.C (updateDocLang): adjust
1428 * Makefile.am (messages.o): add target
1429 (main.o): remove target
1431 2003-04-27 John Levon <levon@movementarian.org>
1436 * lyxvc.C: specify cancel button in Alert::prompt
1438 2003-04-26 John Levon <levon@movementarian.org>
1443 * LyXAction.C: add LFUN_INSET_SETTINGS
1445 * lyxfunc.C: don't enable tabular-feature when there's
1446 just any locking inset
1448 2003-04-26 John Levon <levon@movementarian.org>
1450 * bufferlist.C: re-add Cancel to buffer close question
1452 * lyxfunc.C: fix import UI a bit
1454 2003-04-25 John Levon <levon@movementarian.org>
1456 * gettext.C: remove the broken asserts for now
1458 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1460 * messages.C: make case where setlocale cannot comply work better.
1462 * buffer.C (updateDocLang): new function
1463 (changeLanguage): use it
1466 * text2.C (setCounter): use B_ a bit.
1468 * lyxlayout.C (Read): be sure to trim the label strings.
1470 * messages.C (Messages): fix typo in comment
1472 * buffer.C (readFile): set message_ after file is loaded.
1473 (makeDocBookFile): remove double return
1474 (changeLanguage): reset message_ upon language change.
1475 (B_): new func, use this to get translated buffer strings.
1477 * main.C: add myself and Jean Marc as authors.
1479 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1481 * messages.[hC]: pimplify Messages, and three different pimpls to be
1482 used in different circumstances.
1484 * gettext.[Ch]: change for use with new message code.
1486 2003-04-24 André Pönitz <poenitz@gmx.net>
1488 * factory.C: support for eqref
1490 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * messages.[Ch]: add missing char
1494 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1496 * messages.[Ch]: New files
1498 2003-04-18 John Levon <levon@movementarian.org>
1502 * BufferView_pimpl.C:
1506 * text2.C: remove layout-copy/paste (bug 778)
1508 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1510 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1512 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1514 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1515 if they succeed. Act accordingly.
1517 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * text2.C (setCharFont): adjust
1520 (setCounter): adjust
1521 (insertStringAsLines): adjust
1523 * text.C (leftMargin): adjust
1524 (setHeightOfRow): adjust
1526 * rowpainter.C (paintFirst): adjust
1529 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1531 (isFirstInSequence): ditto
1532 (getEndLabel): ditto
1535 * paragraph.C (getParLanguage): comment out some hard stuff.
1537 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1539 (simpleDocBookOnePar): ditto
1540 (makeDocBookFile): use ParagraphList::iterator
1542 * CutAndPaste.C (pasteSelection): adjust
1544 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1546 * text2.C (getFont): adjust
1547 (getLayoutFont): adjust
1548 (getLabelFont): adjust
1550 * paragraph_funcs.C (TeXOnePar): adjust
1552 * buffer.C (simpleLinuxDocOnePar): adjust
1553 (simpleDocBookOnePar): adjust
1555 * CutAndPaste.C (pasteSelection): adjust
1557 * BufferView.C (getEncoding): adjust
1559 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1561 2003-04-16 John Levon <levon@movementarian.org>
1563 * lyxfind.C: use parlist stuff for search/changes
1565 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1567 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1569 * text2.C (deleteEmptyParagraphMechanism): adjust
1571 * text2.[Ch] (ownerParagraph): delete func (both of them
1573 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1577 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1579 * ParagraphList.C: prepare for NO_NEXT
1581 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * text2.C (getFont): adjust
1584 (getLayoutFont): adjust
1585 (getLabelFont): adjust
1587 * paragraph.C (getFont): adjust
1588 (getLabelFont): adjust
1589 (getLayoutFont): adjust
1591 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1593 2003-04-15 John Levon <levon@movementarian.org>
1597 * lyx_main.C: handle Include in .ui files
1599 2003-04-15 John Levon <levon@movementarian.org>
1601 * MenuBackend.C: make the doc files length shorter
1604 * ToolbarBackend.C: handle toolbar placement flags,
1607 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1612 * paragraph_funcs.C (TeXOnePar): adjust
1614 * paragraph.C (getLabelFont): add outerfont arg, adjust
1615 (getLayoutFont): ditto
1616 (simpleTeXOnePar): adjust
1618 * paragraph_pimpl.C (realizeFont): delete func
1620 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1622 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1623 row argument, constify cur argument.
1625 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * text2.C (getFont): adjust
1628 (getLayoutFont): adjust
1629 (getLabelFont): adjust
1631 * paragraph_funcs.C (TeXOnePar): adjust
1632 (outerFont): new func...
1633 (realizeFont): ...moved out from here, changed this to facilitate
1636 * paragraph.C (getFont): take outerfont as arg, adjust
1637 (simpleTeXOnePar): add outerfont arg, adjust
1639 * buffer.C (simpleLinuxDocOnePar): adjust
1640 (simpleDocBookOnePar): adjust
1642 * CutAndPaste.C (pasteSelection): adjust
1644 * BufferView.C (getEncoding): adjust
1646 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1648 * text2.C (setCharFont): adjust
1649 (setCounter): adjust
1651 * text.C (leftMargin): adjust
1652 (setHeightOfRow): adjust
1654 * rowpainter.C (paintFirst): adjust
1657 * paragraph_pimpl.C (realizeFont): adjust
1659 * paragraph.C (isFirstInSequence): move from here...
1660 * paragraph_funcs.C (isFirstInSequence): ...to here
1662 * paragraph.C (outerHook): move from here...
1663 * paragraph_funcs.C (outerHook): ...to here
1665 * paragraph.C (depthHook): move from here...
1666 * paragraph_funcs.C (depthHook): ...to here
1668 * paragraph.C (getEndLabel): move from here...
1669 * paragraph_funcs.C (getEndLabel): ...to here
1671 * text2.C (realizeFont): move from here...
1672 * paragraph_funcs.C (realizeFont): ...to here
1674 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1678 2003-04-14 Angus Leeming <leeming@lyx.org>
1680 * LColor.[Ch]: scrap LColor mathcursor.
1682 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * lyxlex.[Ch] (text): delete function
1685 * trans.C (Load): adjust
1686 * paragraph_funcs.C (readParToken): adjust
1688 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1690 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1691 vector<char> instead of a char[].
1693 * lyxlex_pimpl.C (getString): adjust
1695 (lex): use getString
1699 * lyxlex.C (text): use pimpl_->getString()
1703 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1706 (makeFontEntriesLayoutSpecific): temp var for par.size()
1707 (setLayout): temp var for ownerParagraphs().end()
1708 (fullRebreak): temp var for rows().end()
1709 (selectionAsString): temp var for boost::next(startpit), realize
1710 that the while really is a regular for loop.
1711 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1712 setCursor in one place.
1713 (setParagraph): temp vr for ownerParagraphs().end()
1714 (updateCounters): make the while loop a for loop
1715 (cutSelection): temp var for ownerParagraphs().end()
1716 (updateInset): make the do {} while() a regular for loop
1717 (getCursorX): use temp vars
1718 (setCurrentFont): use temp vars
1719 (getColumnNearX): use temp vars
1721 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1723 * text.C (transformChar): use temp var for getChar
1724 (computeBidiTables): use temp var for row->par()
1725 (fill): move temp vars for row->par() and pit->layout() earlier in
1727 (labelFill): use temp var for row->par()
1728 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1729 asc and desc, realize that pit never changes and that firstpit is
1730 just a duplicate and not needed. Exchange rit->par() with pit in a
1732 (breakAgain): use a temp var for boost::next(rit)
1733 (breakAgainOneRow): ditto
1734 (breakParagraph): use a temp var for rows().begin()
1735 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1736 (cursorRightOneWord): use temp var for cursor.par() and
1737 cursor.pos(), remove usage of tmpcursor.
1738 (cursorLeftOneWord): use temp var for cursor.par() and
1739 cursor.pos() only set cur at end of function.
1741 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * text.C, text2.C: exchange all usage of Paragraph::next with
1744 boost::next(ParagraphList::iterator)
1746 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1748 * text2.C (cursorTop): simplify implementation
1749 (cursorBottom): ditto
1750 (setParagraph): use ParagraphList::iterator
1751 (setCurrentFont): adjust
1752 (getColumnNearX): adjust
1753 (cursorRight): adjust
1754 (cursorLeft): remove usage of Paragraph::previous
1755 (cursorUpParagraph): ditto
1756 (deleteEmptyParagraphMechanism): slight cleanup
1758 * text.C (isBoundary): take a Paragraph const & instead of a
1760 (addressBreakPoint): ditto
1761 (leftMargin): remove usage of Paragraph::previous.
1762 (setHeightOfRow): ditto
1763 (cursorLeftOneWord): ditto
1764 (selectNextWordToSpellcheck): ditto
1767 (breakParagraph): remove one usage of Paragraph::next
1768 (redoParagraph): ditto
1769 (acceptChange): ditto
1770 (insertChar): adjust
1771 (rowBreakPoint): adjust
1773 * bufferview_funcs.C (toggleAndShow): adjust
1775 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1777 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1778 methods to access it.
1780 * text.C: Added updateRowPositions to compute all row positions.
1781 Make top_y and getRowNearY() to use the cached y position
1783 2003-04-11 John Levon <levon@movementarian.org>
1785 * text.C (rowBreakPoint): reintroduce the labelEnd
1786 checks, code copied from the row fill stuff. Deep voodoo.
1788 * text.C (fill): add a comment and debugging for the
1791 2003-04-11 John Levon <levon@movementarian.org>
1793 * text.C: make sure fullrow insets get wrapped to the next line,
1794 even when they're in a manual label
1796 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1798 * text2.C (insertParagraph): make it take ParagraphList::iterator
1800 (setLayout): make it return ParagraphList::iterator
1801 (redoParagraphs): ditto
1803 (checkParagraph): ditto
1805 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1807 * text2.C: adjust several funcs.
1808 (realizeFont): take a ParagraphList::iterator as arg.
1809 (getLayoutFont): ditto
1810 (getLabelFont): ditto
1811 (setCharFont): ditto
1813 * text.C: adjust several funcs.
1815 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1817 * text.C (selectNextWordToSpellcheck): don't accidentally
1820 2003-04-10 John Levon <levon@movementarian.org>
1822 * ToolbarBackend.C (getIcon): special handling for
1825 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1827 * text2.C (cursorRight): a getChar assert fixed
1829 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1831 * text2.C (getFont): change to take a ParagraphList::iterator
1832 instead of Paragraph*
1833 Adjust several functions.
1835 * text.C (transformChar): change to take a ParagraphList::iterator
1836 instead of Paragraph*
1837 (singleWidth): ditto
1838 Adjust several functions.
1840 * rowpainter.C: adjust several functions
1841 * rowpainter.h:store a ParagraphList::iterator and not a
1845 2003-04-09 John Levon <levon@movementarian.org>
1850 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1851 and the "help" bits as well
1853 2003-04-09 John Levon <levon@movementarian.org>
1856 * ToolbarBackend.C: allow multiple toolbars
1858 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * undo_funcs.C (setCursorParUndo): adjust
1862 * text_funcs.C (transposeChars): adjust
1864 * text3.C (gotoNextInset): adjust
1867 * text2.C (setLayout): adjust
1868 (changeDepth): adjust
1870 (redoParagraphs): adjust
1871 (selectionAsString): adjust
1872 (setParagraph): adjust
1873 (insertInset): adjust
1874 (cutSelection): adjust
1875 (copySelection): adjust
1876 (pasteSelection): adjust
1877 (insertStringAsLines): adjust
1878 (updateInset): adjust
1879 (setCursor): change to take a ParagraphList::iterator parameter
1880 (setCursorIntern): change to take a ParagraphList::iterator parameter
1881 (setCurrentFont): adjust
1882 (cursorLeft): adjust
1883 (cursorRight): adjust
1884 (deleteEmptyParagraphMechanism): adjust
1886 * text.C (breakParagraph): adjust
1887 (insertChar): adjust
1888 (acceptChange): adjust
1889 (rejectChange): adjust
1890 (selectNextWordToSpellcheck): adjust
1891 (changeCase): adjust
1895 * lyxfind.C (SearchForward): adjust
1896 (SearchBackward): adjust
1897 (nextChange): adjust
1899 * lyxcursor.C (par): adjust
1901 * lyxcursor.h: store a ParagraphList::iterator instead of a
1904 * lyx_cb.C (getPossibleLabel): adjust
1906 * bufferview_funcs.C (toggleAndShow): adjust
1908 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1911 * BufferView.C (removeAutoInsets): adjust
1912 (lockedInsetStoreUndo): adjust
1914 2003-04-09 John Levon <levon@movementarian.org>
1916 * ToolbarBackend.C: try icon without argument
1917 if with argument fails
1919 2003-04-08 John Levon <levon@movementarian.org>
1922 * ToolbarBackend.C: add getIcon(), handle tooltip,
1923 and change from "Icon" to "Item".
1925 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1927 * BufferView.C (lockInset): another bad getchar crunched
1929 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1931 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1934 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1936 * lyxfind.C (searchForward, searchBackwards): bug 782
1938 2003-04-07 John Levon <levon@movementarian.org>
1940 * paragraph.C: remove dead comment
1942 * text.C: remove troublesome depth-fiddling code
1943 in leftMargin() and rightMargin() (bug 1017)
1945 * text.C: fix breaking of rows in nested lists
1948 * text2.C (updateCounters): fix up depth values
1951 2003-04-07 John Levon <levon@movementarian.org>
1953 * BufferView_pimpl.C: clear message when doc finishes resizing,
1954 and after a mouse event
1956 * lyxfunc.C: clear message after exiting inset
1958 2003-04-07 John Levon <levon@movementarian.org>
1960 * bufferview_funcs.C: show math status not outside
1961 status in the statusbar
1963 2003-04-07 John Levon <levon@movementarian.org>
1965 * lyxfunc.C: note status changed after a depth change
1967 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1969 * LaTeX.h: move AuxInfo operator==, != out of line.
1970 Remove LaTeX virtual destructor; nothing derives from it.
1971 Move operator()() out of public area and rename it startscript().
1972 Change protected for private.
1974 2003-04-04 Angus Leeming <leeming@lyx.org>
1977 * text2.C: remove unneeded #includes.
1979 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1981 * text2.C (dEPM): fix the heigth of the next row
1983 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1985 * text.C: squashed an invalid getChar requester + some ws changes
1987 2003-04-03 John Levon <levon@movementarian.org>
1989 * bufferview_funcs.h:
1990 * bufferview_funcs.C:
1993 * text2.C: make getStatus work for the env depth lfuns
1995 2003-04-03 John Levon <levon@movementarian.org>
1997 * bufferview_funcs.h:
1998 * bufferview_funcs.C:
2001 * text2.C: parlistize decDepth(), by merging it with incDepth()
2003 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * lyxrow.h: store a ParagraphList::iterator instead of a
2006 Paragraph* and adjust other class functions to suit.
2008 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2011 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2013 * text2.C (setCursor): do not anchor to cursor row for the time being
2015 2003-04-02 John Levon <levon@movementarian.org>
2022 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2024 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * paragraph.h: make ParagraphList and ParagraphList::iterator
2027 friends of Paragraph.
2029 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2031 * ParagraphList.C: Use the private next_ and previous_ from
2034 2003-04-01 John Levon <levon@movementarian.org>
2038 * Makefile.am: rename, remove defaults gunk
2041 * MenuBackend.C: remove defaults gunk
2044 * Languages.C: remove defaults gunk
2047 * lyx_main.C: error out if files couldn't be found.
2049 2003-04-02 John Levon <levon@movementarian.org>
2051 * text2.C: make incDepth() use parlist
2053 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * undo_funcs.C (firstUndoParagraph): adjust
2057 * text3.C (gotoInset): adjust
2058 (dispatch): adjust, and rewrite loop.
2060 * text2.C (init): adjust, and rewrite loop.
2061 (redoParagraphs): adjust
2062 (updateInset): adjust, and rewrite loop.
2063 (deleteEmptyParagraphMechanism): adjust
2065 * tabular.C (LyXTabular): adjust
2066 (SetMultiColumn): adjust
2069 * lyxtext.[Ch] (ownerParagraph): delete function
2070 (ownerParagraphs): new function returns a ParagraphList.
2072 * BufferView.C (removeAutoInsets): adjust
2073 (insertErrors): adjust
2074 (setCursorFromRow): adjust
2076 2003-04-01 Angus Leeming <leeming@lyx.org>
2078 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2081 2003-04-02 John Levon <levon@movementarian.org>
2087 * text_funcs.C: make transposeChars a free function
2089 * lyxrow_funcs.C: remove wrong comment
2091 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * rowpainter.C: adjust
2099 * lyxrow_funcs. [Ch]: new files
2101 * lyxrow.[Ch]: remove next and previous pointers
2102 (next,previous): remove accessor functions
2103 (isParEnd): move to lyxrow_funcs
2104 (lastPos): move to lyxrow_funcs
2105 (nextRowIsAllInset): move to lyxrow_funcs
2106 (lastPrintablePos): move to lyxrow_funcs
2107 (numberOfSeparators): move to lyxrow_funcs
2108 (numberOfHfills): move to lyxrow_funcs
2109 (numberOfLabelHfills): move to lyxrow_funcs
2110 (hfillExpansion): move to lyxrow_funcs
2114 * bufferview_funcs.C (toggleAndShow): adjust
2116 * RowList.h: Remove class RowList from file leave just a
2119 * RowList.C: delete file
2121 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2124 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * text3.C (cursorPrevious): adjust
2127 (cursorNext): adjust
2130 * text2.C (redoHeightOfParagraph): adjust
2131 (redoDrawingOfParagraph): adjust
2134 * text.C (breakParagraph): adjust
2135 (insertChar): adjust
2138 * rowpainter.C (RowPainter): adjust
2139 (leftMargin): simplify and adjust
2140 (most rowpainter functions): adjust.
2142 * rowpainter.h: store the row as RowList::iterator not as Row*
2144 * lyxcursor.C (row): taka RowList::iterator as arg
2147 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2150 2003-04-01 Angus Leeming <leeming@lyx.org>
2152 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2153 stuff like bool Bool.
2155 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2157 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2160 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2162 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2165 * lyxtext.h (rows): drop one version and leve a const variant that
2166 returns a RowList::iterator.
2168 2003-03-31 Angus Leeming <leeming@lyx.org>
2170 * text.C (fill): ensure that the signature is the same as that in the
2173 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * text2.C (redoParagraphs): adjust
2176 (updateCounters): adjust
2177 (checkParagraph): adjust
2178 (getColumnNearX): adjust and reformat a bit.
2180 * text.C (top_y): adjust
2182 (leftMargin): adjust
2183 (prepareToPrint): adjust
2185 (getRowNearY): adjust
2187 * lyxtext.h: make rowlist_ mutable.
2189 * RowList.h: add const_iterator
2190 * RowList.C: adjust for RowList::const_iterator.
2192 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2195 2003-03-31 John Levon <levon@movementarian.org>
2198 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2200 * lyx_main.C: set default fonts from using lyx_gui funcs
2202 * exporter.C: pdf_mode moved from lyxrc
2205 * lyxfunc.C: changes from above
2207 2003-03-31 John Levon <levon@movementarian.org>
2209 * lyx_main.C: fix to the last fix
2211 2003-03-31 John Levon <levon@movementarian.org>
2213 * bufferlist.C: "Load original" -> "Load Original"
2219 * format.C: more Alert cleanups
2221 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * text2.C (removeParagraph): make it take a RowList::iterator as
2225 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2226 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2228 * text.C (anchor_row): make it take a RowList::iterator as arg,
2230 (computeBidiTables): make it take a const reference to Row instead
2231 of Row pointer, adjust.
2232 (leftMargin): make it take a RowList::iterator as arg, adjust.
2233 (rowBreakPoint): adjust
2234 (breakAgainOneRow): make it take a RowList::iterator as arg,
2236 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2238 * bufferview_funcs.C (toggleAndShow): adjust
2240 2003-03-30 John Levon <levon@movementarian.org>
2244 * boost-inst.C: moved to support
2246 * several files: changes as a result
2248 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * text2.C (LyXText): adjust.
2252 (removeRow): make it take a RowList::iterator as arg, adjust.
2253 (fullRebreak): adjust
2254 (deleteEmptyParagraphMechanism): adjust
2255 (clearPaint): adjust
2258 * text.C (top_y): adjust
2259 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2260 (breakAgain): make it take a RowList::iterator as arg, adjust.
2261 (breakParagraph): adjust
2262 (insertChar): adjust
2265 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2266 need_break_row, and refresh_row.
2268 * text3.C (dispatch): adjust
2270 * text2.C (checkParagraph): adjust
2272 (setCursorFromCoordinates): adjust
2274 * text.C (top_y): adjust
2276 (getRow): make it return a RowList::iterator, adjust
2277 (getRowNearY): make it return a RowList::iterator, adjust
2279 * text2.C (init): adjust
2280 (insertRow): remove function
2281 (insertParagraph): adjust
2282 (redoParagraphs): adjust
2283 (fullRebreak): adjust
2284 (updateCounters): adjust
2286 * text.C (top_y): rewrite to use RowList iterators.
2288 (setHeightOfRow): rewrite to sue RowList iterators.
2289 (appendParagraph): adjust
2290 (breakAgain): adjust
2291 (breakAgainOneRow): adjust
2292 (breakParagraph): adjust
2294 (getRowNearY): adjust, and remove commented code.
2296 * lyxtext.h (firstRow): delete function
2297 (lastRow): delete function
2298 (rows): new function (const and non-const versions.)
2299 (insertRow): delete function
2301 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2303 2003-03-29 John Levon <levon@movementarian.org>
2305 * BufferView_pimpl.C: always update scrollbar top
2306 because pasting text when we're anchored could mean we
2307 miss an update altogether
2309 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2311 * text2.C (init): use rowlist_.end() and not 0.
2312 (insertRow): change to take a RowList::iterator as arg, adjust
2314 (insertParagraph): change to take a RowList::iterator as arg,
2316 (redoParagraphs): remove some debug msgs.
2318 * text.C (appendParagraph): change to take a RowList::iterator
2319 arg, adjust for this.
2320 (breakAgain): add an assert
2321 (breakAgainOneRow): ditto
2323 2003-03-29 John Levon <levon@movementarian.org>
2325 * text2.C: do not clear selection after inc/decDepth
2328 2003-03-29 John Levon <levon@movementarian.org>
2331 * buffer.C: fix broken strerrors according to Lars
2333 2003-03-29 John Levon <levon@movementarian.org>
2335 * converters.C: more Alert cleanups
2337 2003-03-29 John Levon <levon@movementarian.org>
2339 * bufferview_funcs.C: remove pointless Alert
2341 * buffer.C: fix confusing error message when
2342 a template is chmoded 000
2344 2003-03-29 John Levon <levon@movementarian.org>
2348 * BufferView_pimpl.C: Alert fixes
2352 * tabular-old.C: remove unused table compat reading
2354 2003-03-29 John Levon <levon@movementarian.org>
2359 * lyx_cb.C: more Alert cleanups
2361 * lyxfunc.C: don't allow chktex if not latex document
2363 2003-03-29 John Levon <levon@movementarian.org>
2367 * buffer.C: warnings pushed down from support/,
2370 2003-03-29 John Levon <levon@movementarian.org>
2372 * lyxfunc.C: safety check for C-r (revert)
2374 2003-03-29 John Levon <levon@movementarian.org>
2377 * bufferlist.C: several UI fixes using Alert::prompt.
2378 Fix the pointless looping quit code. Fix stupid revert
2383 * lyx_cb.C: use Alert::prompt
2385 * lyx_main.C: remove a silly question
2387 * lyxfunc.C: remove a couple of silly questions,
2390 2003-03-28 John Levon <levon@movementarian.org>
2392 * text2.C: fix bug 974 (End on empty par)
2394 2003-03-28 John Levon <levon@movementarian.org>
2396 * BufferView_pimpl.C:
2398 * lfuns.h: remove do-nothing math greek lfuns
2400 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * lyxgluelength.h (isValidGlueLength): add default arg on
2403 parameter 2. Remove default arg from friend in class.
2405 * lyxlength.h (isValidLength): add default arg on parameter 2.
2406 Remove default arg from friend in class.
2408 * text2.C (LyXText): adjust, initialize refresh_row.
2412 (insertParagraph): adjst
2413 (redoParagraphs): adjust
2414 (fullRebreak): adjust
2415 (updateCounters): adjust
2416 (deleteEmptyParagraphMechanism): first attempt at fixing a
2419 * text.C (top_y): adjust
2420 (setHeightOfRow): adjust
2422 (getRowNearY): adjust
2424 * lyxtext.h: include RowList.h
2425 (~LyXText): not needed anymore, deleted.
2426 (firstRow): modify for RowList
2427 (lastRow): new function
2428 Delete firstrow and lastrow class variables, add a Rowlist
2429 rowlist_ class variable.
2431 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2434 * RowList.C (insert): fix case where it == begin().
2436 2003-03-26 Angus Leeming <leeming@lyx.org>
2438 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2439 the thesaurus dialog.
2441 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2445 * RowList.[Ch]: new files
2447 * ParagraphList.C (erase): handle the case where it == begin
2450 2003-03-25 John Levon <levon@movementarian.org>
2454 * aspell.C: add new aspell support
2457 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2460 2003-03-25 Angus Leeming <leeming@lyx.org>
2463 * LyXAction.C (init): new LFUN_INSET_INSERT.
2465 * BufferView_pimpl.C (dispatch): split out part of the
2466 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2468 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2471 2003-03-25 Angus Leeming <leeming@lyx.org>
2473 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2475 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2478 * text3.C: remove useless row->height(0)
2480 2003-03-25 John Levon <levon@movementarian.org>
2484 * text3.C: rename the refreshing stuff to better names
2486 2003-03-24 John Levon <levon@movementarian.org>
2488 * BufferView_pimpl.h:
2489 * BufferView_pimpl.C: update layout choice on a mouse
2492 2003-03-23 John Levon <levon@movementarian.org>
2494 * Makefile.am: fix commandtags.h reference
2496 2003-03-22 John Levon <levon@movementarian.org>
2498 * BufferView_pimpl.C:
2503 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2505 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2508 * text.C: take the rtl methods out of line
2510 2003-03-21 André Pönitz <poenitz@gmx.net>
2512 * metricsinfo.[Ch]: new files containing structures to be passed around
2513 during the two-phase-drawing...
2515 2003-03-21 André Pönitz <poenitz@gmx.net>
2517 * lyxtextclass.C: read 'environment' tag.
2519 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2521 * text2.C (removeRow): fix bug 964
2523 2003-03-20 John Levon <levon@movementarian.org>
2527 * text2.C: paint cleanups. Inset::update() dropped font
2530 2003-03-19 John Levon <levon@movementarian.org>
2532 * lyxfunc.C: only fitcursor/markDirty if available()
2534 2003-03-19 John Levon <levon@movementarian.org>
2536 * commandtags.h: rename to ...
2538 * lfuns.h: ... this, and renumber / cleanup
2540 2003-03-19 John Levon <levon@movementarian.org>
2542 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2543 fit the cursor after an lfun
2547 * BufferView_pimpl.h:
2548 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2550 * LyXAction.C: layout-character should have ReadOnly
2552 * ParagraphParameters.C:
2554 * bufferview_funcs.C:
2561 * undo_funcs.C: changes from above
2563 2003-03-18 John Levon <levon@movementarian.org>
2565 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2566 remove it from update()
2568 * lyxfunc.C: update layout choice after an lfun
2570 * text3.C: remove extra updateLayoutChoice()s
2572 2003-03-18 John Levon <levon@movementarian.org>
2574 * text.C: top_y change means full repaint, fix
2575 a drawing bug with cursor movement
2577 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2581 * text2.C: anchor row on setCursor
2583 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2585 * lyxtext.h: remove almost all mutable keywords
2588 * text3.C: remove const keywords accordingly
2590 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2592 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2594 (TeXEnvironment): ditto
2597 2003-03-17 John Levon <levon@movementarian.org>
2599 * text.C (rowBreakPoint): remove attempt to fix displayed
2600 math insets inside a manual label
2602 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * lyxtext.h: remove BufferView* as first arg from almost all class
2606 * other files: adjust.
2608 2003-03-17 John Levon <levon@movementarian.org>
2612 * text2.C: more paint cleanups
2614 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2617 * rowpainter.C: remove "smart" background painting code
2619 2003-03-16 John Levon <levon@movementarian.org>
2624 * text3.C: add helper functions for setting refresh_row/y
2626 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2628 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2629 newline inset which *can* get inserted in the pass_thru layouts.
2630 This is primarily for literate documents.
2632 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2634 * buffer.C: increment LYX_FORMAT to 223
2636 2003-03-14 André Pönitz <poenitz@gmx.net>
2638 * textclass.h: prepare for environment handling, ws changes
2639 * lyxlayout.C: read latexheader and latexfooter tags
2641 2003-03-14 John Levon <levon@movementarian.org>
2643 * text2.C: rewrite ::status() a bit
2645 2003-03-13 John Levon <levon@movementarian.org>
2647 * lyxtext.h: add some docs
2649 2003-03-13 John Levon <levon@movementarian.org>
2654 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2656 2003-03-13 John Levon <levon@movementarian.org>
2658 * text3.C: fix appendix redrawing
2660 2003-03-13 John Levon <levon@movementarian.org>
2662 * text.C (setHeightOfRow):
2664 * rowpainter.C: make appendix mark have the text
2665 "Appendix" so the user knows what it is
2668 * LColor.C: s/appendixline/appendix/ from above
2670 2003-03-13 John Levon <levon@movementarian.org>
2672 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2674 * text.C: fix a getChar(pos) bug properly
2676 2003-03-13 Angus Leeming <leeming@lyx.org>
2679 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2680 Probably only temporary. Let's see how things pan out.
2682 * BufferView.C (unlockInset):
2683 * BufferView_pimpl.C (fitCursor):
2684 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2686 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2687 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2689 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2690 new functions that convert ParagraphParameters to and from a string.
2692 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2693 BufferView::Pimpl's dispatch.
2694 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2696 2003-03-13 André Pönitz <poenitz@gmx.net>
2700 * factory.C: make it aware of InsetEnv
2702 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * text2.C (setCursor): never ask for one past last
2705 (setCursor): add some debugging messages.
2707 * text.C (singleWidth): never ask for one past last
2708 (singleWidth): ditto
2710 (rightMargin): ditto
2711 (rowBreakPoint): ditto
2712 (setHeightOfRow): ditto
2713 (prepareToPrint): ditto
2715 * rowpainter.C (paintBackground): never ask for one past last
2716 (paintText): never ask for one past last
2718 * paragraph_pimpl.C (getChar): make the assert stricter, never
2719 allow the one past last pos to be taken
2721 * paragraph.C (getChar): ws changes only
2723 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2724 (numberOfSeparators): ditto
2725 (numberOfHfills): ditto
2727 2003-03-12 John Levon <levon@movementarian.org>
2733 * paragraph_funcs.C: fix per-buffer authorlists
2735 2003-03-12 John Levon <levon@movementarian.org>
2737 * text.C: fix newline in right address
2739 2003-03-12 Angus Leeming <leeming@lyx.org>
2741 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2742 duplicate those in LyXFunc::dispatch.
2746 * ToolbarDefaults.C:
2747 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2748 Add LFUN_FONTFREE_UPDATE.
2750 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2751 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2753 * bufferview_func.[Ch]: several new functions to facilliate
2754 transfer of data to and from the character dialog.
2756 2003-03-12 John Levon <levon@movementarian.org>
2761 * paragraph_funcs.C:
2762 * paragraph_pimpl.C:
2766 * text3.C: remove META_NEWLINE in favour of an inset
2769 * rowpainter.C: remove paintNewline (done by inset)
2771 2003-03-12 John Levon <levon@movementarian.org>
2773 * paragraph_pimpl.C: complain about bad getChar()s
2774 for a while at least
2776 2003-03-12 John Levon <levon@movementarian.org>
2779 * buffer.C: move paragraph read into a separate function,
2780 a little renaming to reflect that.
2783 * bufferparams.C: remove the author_ids map, not necessary now
2786 * factory.C: moved Buffer::readInset to here
2788 * paragraph_funcs.h:
2789 * paragraph_funcs.C: readParagraph free function moved from
2792 * tabular.C: name change
2794 2003-03-12 John Levon <levon@movementarian.org>
2797 * ParagraphParameters.C: move par params input to
2800 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2801 behave like a normal read from the stream wrt reading
2802 a line vs. a \\token
2804 2003-03-12 John Levon <levon@movementarian.org>
2807 * ParagraphParameters.h:
2808 * ParagraphParameters.C: move output code to a
2811 2003-03-12 John Levon <levon@movementarian.org>
2813 * BufferView.C (insertLyXFile):
2816 * tabular.C: use a parlist iterator for creating the
2819 2003-03-12 John Levon <levon@movementarian.org>
2821 * buffer.C: make current_change static local not
2824 2003-03-12 John Levon <levon@movementarian.org>
2826 * buffer.C: fix insertStringAsLines for change tracking
2828 2003-03-12 John Levon <levon@movementarian.org>
2835 * bufferparams.C: move author list into params. Rename some
2836 functions. Move the header reading into a separate token
2837 loop. Move the header token reading into BufferParams.
2839 2003-03-12 John Levon <levon@movementarian.org>
2841 * changes.C: put debug inside lyxerr.debugging() checks
2843 2003-03-11 André Pönitz <poenitz@gmx.net>
2845 * factory.C: make it aware of InsetHFill
2847 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2849 * buffer.C (latexParagraphs): move function from here...
2850 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2853 2003-03-10 Angus Leeming <leeming@lyx.org>
2855 * LyXAction.C (init): fix bug in poplating array with multiple entries
2856 with the same LFUN (spotted by JMarc).
2858 2003-03-10 John Levon <levon@movementarian.org>
2861 * text2.C: move getColumnNearX() near its
2864 2003-03-10 John Levon <levon@movementarian.org>
2866 * text.C: fix break before a minipage
2868 2003-03-10 John Levon <levon@movementarian.org>
2870 * text.C: fix the last commit
2872 2003-03-09 John Levon <levon@movementarian.org>
2876 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2877 bug 365 (don't break before insets unless needed). Don't
2878 return a value > last under any circumstances.
2880 2003-03-09 Angus Leeming <leeming@lyx.org>
2882 * BufferView_pimpl.C (trackChanges, dispatch): call
2883 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2885 2003-03-09 Angus Leeming <leeming@lyx.org>
2887 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2888 than Dialogs::showAboutlyx().
2890 2003-03-09 Angus Leeming <leeming@lyx.org>
2892 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2893 than Dialogs::showTabularCreate().
2895 2003-03-09 John Levon <levon@movementarian.org>
2899 * text2.C: 3rd arg to nextBreakPoint was always the same.
2902 2003-03-08 John Levon <levon@movementarian.org>
2909 * text2.C: Remove the "main" bit from the "main body"
2912 2003-03-08 John Levon <levon@movementarian.org>
2914 * text.C (leftMargin): The left margin of an empty
2915 manual label paragraph should not include the label width
2918 * text.C (prepareToPrint): don't attempt to measure hfills
2919 for empty manual label paragraphs - the answer should be 0
2921 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * CutAndPaste.C: remove commented code and reindent.
2925 2003-03-08 John Levon <levon@movementarian.org>
2928 * lyxfunc.C: move reloadBuffer()
2931 * BufferView.C: to here
2933 * lyxvc.C: add comment
2936 * vc-backend.C: call bv->reload() to avoid
2937 getStatus() check on MENURELOAD
2939 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2941 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2942 to an old format .dep file.
2944 2003-03-07 Angus Leeming <leeming@lyx.org>
2946 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2947 when the LFUN_MOUSE_RELEASE should have been handled by
2948 inset->localDispatch.
2950 2003-03-07 Angus Leeming <leeming@lyx.org>
2952 * BufferView_pimpl.C (dispatch):
2953 * LyXAction.C (init):
2954 * ToolbarDefaults.C (init):
2956 * lyxfunc.C (getStatus):
2957 remove LFUN_INSET_GRAPHICS.
2959 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2961 2003-03-07 Angus Leeming <leeming@lyx.org>
2964 * LyXAction.C (init):
2965 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2967 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2970 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2972 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2973 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2975 2003-03-07 Angus Leeming <leeming@lyx.org>
2977 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2980 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2982 * ParagraphList.C (front): new function
2985 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2987 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2988 and top_row_offset_. removed var first_y.
2990 * text2.C (LyXText, removeRow):
2992 * BufferView_pimpl.C:
2993 use these methods instead of using first_y
2995 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * text2.C (pasteSelection): adjust for checkPastePossible
2999 * CutAndPaste.C: remove Paragraph * buf and replace with
3000 ParagraphList paragraphs.
3001 (DeleteBuffer): delete
3002 (cutSelection): change the tc type to textclass_type
3003 (copySelection): change the tc type to textclass_type
3004 (copySelection): adjust for ParagraphList
3005 (pasteSelection): change the tc type to textclass_type
3006 (pasteSelection): adjust for Paragraphlist
3007 (nrOfParagraphs): simplify for ParagraphList
3008 (checkPastePossible): simplify for ParagraphList
3009 (checkPastePossible): remove unused arg
3011 * ParagraphList.C (insert): handle the case where there are no
3014 * CutAndPaste.h: make CutAndPaste a namespace.
3016 * text3.C (dispatch): adjust
3018 * text.C (breakParagraph): add a ParagraphList as arg
3020 * paragraph_funcs.C (breakParagraph): change to take a
3021 BufferParams and a ParagraphList as args.
3022 (breakParagraphConservative): ditto
3023 (mergeParagraph): ditto
3024 (TeXDeeper): add a ParagraphList arg
3025 (TeXEnvironment): ditto
3028 * buffer.C (readLyXformat2): adjust
3029 (insertStringAsLines): adjust
3030 (latexParagraphs): adjust
3032 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3033 (cutSelection): adjust
3034 (pasteSelection): adjust
3036 * BufferView_pimpl.C (insertInset): adjust
3038 2003-03-05 Angus Leeming <leeming@lyx.org>
3041 * LyXAction.C (init):
3042 * BufferView_pimpl.C (dispatch):
3043 * lyxfunc.C (getStatus):
3044 remove LFUN_CHILD_INSERT.
3046 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3048 2003-03-05 Angus Leeming <leeming@lyx.org>
3051 * LyXAction.C (init):
3052 * src/factory.C (createInset):
3053 * lyxfunc.C (getStatus):
3054 * text3.C (dispatch):
3055 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3057 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3059 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * ParagraphList.C (insert): handle insert right before end()
3062 (erase): fix cases where it can be first or last paragraph.
3064 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3067 Paragraph::next and Paragraph::previous
3070 * text.C (breakParagraph): adjust
3072 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3073 BufferParams& as arg.
3074 (breakParagraph): use ParagraphList::insert
3075 (breakParagraphConservative): take a Buffer* instead of a
3076 BufferParams& as arg.
3077 (breakParagraphConservative): use ParagraphList::insert.
3079 * buffer.C (insertStringAsLines): un-const it
3080 (insertStringAsLines): adjust
3082 * ParagraphList.C (insert): new function
3084 * CutAndPaste.C (pasteSelection): adjust
3086 * text.C (backspace): adjust
3088 * tabular.C (SetMultiColumn): adjust
3090 * CutAndPaste.C (cutSelection): adjust
3091 (pasteSelection): adjust
3093 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3094 Buffer const * as arg
3096 * ParagraphList.C (erase): new function
3097 * paragraph_funcs.C (mergeParagraph): use it
3098 (mergeParagraph): make it take a Buffer* instead of a
3099 BufferParams* as arg
3101 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3103 (breakParagraphConservative): ditto
3105 * paragraph.h: remove the breakParagraph friend
3107 * paragraph.C (eraseIntern): new function
3108 (setChange): new function
3110 * paragraph_funcs.C (mergeParagraph): make it take a
3111 ParagraphList::iterator instead of a Paragraph *, adjust
3114 * paragraph.h: move an #endif so that the change tracking stuff
3115 also works in the NO_NEXT case.
3117 2003-03-04 Angus Leeming <leeming@lyx.org>
3120 * LyXAction.C: new LFUN_INSET_MODIFY.
3122 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3123 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3125 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3127 * several files: ws changes only
3129 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3130 (TeXEnvironment): ditto
3133 * buffer.C (makeLaTeXFile): adjust
3134 (latexParagraphs): make it take ParagraphList::iterator as args
3136 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3138 * buffer.C (latexParagraphs): adjust
3140 * paragraph.C (TeXOnePar): move function...
3141 (optArgInset): move function...
3142 (TeXEnvironment): move function...
3143 * paragraph_pimpl.C (TeXDeeper): move function...
3144 * paragraph_funcs.C: ...here
3146 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3148 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * buffer.C (readInset): remove compability code for old Figure and
3153 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * buffer.C: ws changes
3158 * BufferView_pimpl.C: ditto
3161 * bufferlist.h: ditto
3165 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3167 * converter.[Ch]: split into itself +
3170 * Makefile.am: += graph.[Ch] + format.[Ch]
3177 * lyxrc.C: added #include "format.h"
3179 2003-02-27 Angus Leeming <leeming@lyx.org>
3181 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3184 * factory.C (createInset): add "label" to the factory.
3186 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3187 string and do no more.
3189 2003-02-27 Angus Leeming <leeming@lyx.org>
3192 * LyXAction.C (init):
3193 * factory.C (createInset):
3194 * BufferView_pimpl.C (dispatch):
3195 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3197 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3199 * lyxfunc.C (dispatch):
3200 * text3.C (dispatch): pass name to params2string.
3202 2003-02-26 Angus Leeming <leeming@lyx.org>
3204 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3206 Rearrange the ~includes. Strip out the unnecessary ones.
3208 * factory.C (createInset): reformat.
3209 create new insets for the various LFUN_XYZ_APPLY lfuns.
3211 2003-02-26 John Levon <levon@movementarian.org>
3214 * lyxrow.C: add isParStart,isParEnd helpers
3216 * paragraph.h: make isInserted/DeletedText take refs
3218 * paragraph_funcs.h:
3219 * paragraph_funcs.C: remove #if 0'd code
3224 * text.C: use lyxrow helpers above.
3225 Move draw and paint routines to RowPainter.
3226 Make several methods use refs not pointers.
3227 Make backgroundColor() const.
3228 Add markChangeInDraw(), isInInset().
3229 Merge changeRegionCase into changeCase.
3230 Make workWidth() shouldn't-happen code into an Assert.
3233 * rowpainter.C: new class for painting a row.
3236 * vspace.C: make inPixels take a ref
3238 2003-02-26 Angus Leeming <leeming@lyx.org>
3240 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3243 2003-02-25 John Levon <levon@movementarian.org>
3245 * ispell.C: give the forked command a more accurate name
3247 2003-02-22 John Levon <levon@movementarian.org>
3250 * toc.C: make TocItem store an id not a Paragraph *
3253 2003-02-21 Angus Leeming <leeming@lyx.org>
3255 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3256 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3257 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3258 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3259 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3260 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3262 * BufferView_pimpl.C (dispatch):
3263 * LyXAction.C (init):
3264 * factory.C (createInset):
3265 * lyxfunc.C (getStatus, dispatch):
3266 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3268 2003-02-21 Angus Leeming <leeming@lyx.org>
3270 * BufferView_pimpl.C (MenuInsertLyXFile):
3271 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3272 * lyxfunc.C (menuNew, open, doImport):
3273 no longer pass a LyXView & to fileDlg.
3275 2003-02-21 Angus Leeming <leeming@lyx.org>
3277 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3278 * LyXAction.C: change, BIBKEY to BIBITEM.
3279 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3280 Change InsetBibKey to InsetBibitem.
3281 Change BIBKEY_CODE to BIBITEM_CODE.
3282 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3283 * factory.C: replace insetbib.h with insetbibitem.h.
3284 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3285 * paragraph.C: replace insetbib.h with insetbibitem.h.
3286 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3287 Change bibkey() to bibitem().
3288 * text.C: remove insetbib.h.
3289 * text2.C: replace insetbib.h with insetbibitem.h.
3290 change bibkey() to bibitem().
3291 * text3.C: remove insetbib.h.
3292 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3294 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3296 * lyxrc.C (output): enclose user email in quotes (in case there are
3299 2003-02-18 John Levon <levon@movementarian.org>
3301 * buffer.h: add std::
3303 2003-02-17 John Levon <levon@movementarian.org>
3309 * pspell.C: reworking. Especially in ispell, a large
3310 number of clean ups and bug fixes.
3312 * lyxfunc.C: fix revert to behave sensibly
3314 2003-02-17 André Pönitz <poenitz@gmx.net>
3317 * commandtags.h: new LFUN_INSERT_BIBKEY
3327 * paragraph_func.C: remove special bibkey handling
3329 2003-02-17 John Levon <levon@movementarian.org>
3331 * text.C (Delete): fix case where delete at the end of
3332 the very first paragraph would not merge the pars
3334 2003-02-17 John Levon <levon@movementarian.org>
3336 * lyxrow.C: fix lastPrintablePos()
3338 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3340 * bufferparams.C (writeLaTeX): add a std:here
3342 * buffer.C: and remove a using directive there
3344 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3346 * buffer.C (makeLaTeXFile): move the code that generates the
3349 * bufferparams.C (writeLaTeX): ... in this new method
3351 * LaTeXFeatures.C (getEncodingSet): make const
3352 (getLanguages): make const
3354 * MenuBackend.C (binding): returns the binding associated to this
3356 (add): sets the status of each item by calling getStatus. Adds
3358 (read): add support for OptSubMenu
3359 (expand): remove extra separator at the end of expanded menu
3361 2003-02-15 John Levon <levon@movementarian.org>
3364 * BufferView_pimpl.C:
3366 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3367 inset code that had no actual effect. Remove unneeded status
3370 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3372 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3375 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3377 * text.C (drawLengthMarker): also draw an arrow marker for
3378 symbolic lengths (medskip...)
3380 2003-02-14 John Levon <levon@movementarian.org>
3383 * tabular.C: better method names
3385 2003-02-14 John Levon <levon@movementarian.org>
3387 * BufferView_pimpl.C:
3392 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3393 it's a more accurate name. Remove some pointless uses.
3395 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3397 * text2.C (LyXText): change order of initilizers to shut off
3400 2003-02-14 John Levon <levon@movementarian.org>
3402 * buffer.C: use ParIterator for getParFromID()
3406 * paragraph_pimpl.h:
3407 * paragraph_pimpl.C: remove unused getParFromID()
3409 2003-02-14 John Levon <levon@movementarian.org>
3411 * buffer.C: remove some very old #if 0'd parse code
3413 2003-02-13 John Levon <levon@movementarian.org>
3417 * text2.C: move hfillExpansion(), numberOfSeparators(),
3418 rowLast(), rowLastPrintable(), numberofHfills(),
3419 numberOfLabelHfills() ...
3422 * lyxrow.C: ... to member functions here.
3427 * text.C: remove LyXText::beginningOfMainBody(), and call
3428 p->beginningOfMainBody() directly. Move the check for
3429 LABEL_MANUAL into the latter.
3436 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3442 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3443 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3445 2003-02-13 John Levon <levon@movementarian.org>
3447 * CutAndPaste.C: remove debug
3449 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3451 * paragraph.C (asString): remove two unused variables
3453 * lyxtextclass.C (readTitleType):
3455 (LyXTextClass): handle new members titletype_ and titlename_
3457 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3459 2003-02-09 John Levon <levon@movementarian.org>
3462 * buffer.C: replace hand-coded list with a map for the dep clean
3464 2003-02-08 John Levon <levon@movementarian.org>
3466 * LaTeX.C: consolidate code into showRunMessage() helper
3468 2003-02-08 John Levon <levon@movementarian.org>
3473 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3474 and pass the size in explicitly
3476 * BufferView_pimpl.h:
3477 * BufferView_pimpl.C:
3479 * BufferView.C: add getCurrentChange()
3481 * BufferView_pimpl.h:
3482 * BufferView_pimpl.C: handle change lfuns
3484 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3485 for changes. Mark pasted paragraphs as new.
3487 * support/lyxtime.h:
3488 * support/lyxtime.C:
3489 * DepTable.C: abstract time_t as lyx::time_type
3492 * LColor.C: add colours for new text, deleted text, changebars
3494 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3495 package use "usenames" option.
3499 * LyXAction.C: add change lfuns
3503 * author.C: author handling
3506 * buffer.C: add a per-buffer author list, with first entry as
3507 current author. Handle new .lyx tokens for change tracking. Output
3508 author list to .lyx file. Output dvipost stuff to .tex preamble.
3509 Bump lyx format to 222.
3512 * bufferlist.C: add setCurrentAuthor() to reset current author details
3516 * bufferparams.C: add param for tracking
3518 * bufferview_funcs.C: output change info in minibuffer
3522 * changes.C: add change-tracking structure
3525 * debug.C: add CHANGES debug flag
3528 * lyxfind.C: add code for finding the next change piece
3531 * lyxrc.C: add user_name and user_email
3534 * lyxrow.C: add a metric for the top of the text line
3537 * text.C: implement accept/rejectChange()
3540 * text.C: paint changebars. Paint new/deleted text in the chosen
3541 colours. Strike through deleted text.
3545 * paragraph_pimpl.h:
3546 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3547 in the current change to the insert functions. Rework erase to
3548 mark text as deleted, adding an eraseIntern() and a range-based
3549 erase(). Implement per-paragraph change lookup and
3552 * paragraph_funcs.C: Fixup paste for change tracking.
3554 * tabular.C: mark added row/columns as new.
3556 * text.C: fix rowLast() to never return -1. Don't allow
3557 spellchecking of deleted text. Track transpose changes. Don't
3558 allow paragraph break or merge where appropriate.
3560 * text2.C: leave cursor at end of selection after a cut.
3562 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3564 * text.C (getLengthMarkerHeight):
3565 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3566 visible on screen too.
3568 2003-02-07 John Levon <levon@movementarian.org>
3570 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3572 2003-02-05 Angus Leeming <leeming@lyx.org>
3574 * lyxserver.C (read_ready): revert my patch of 11 September last year
3575 as it sends PC cpu through the roof. Presumably this means that
3576 the lyxserver will no longer run on an Alpha...
3578 2003-01-30 Angus Leeming <leeming@lyx.org>
3580 * factory.C (createInset): create an InsetCommandParam of type "index"
3581 and use it to 'do the right thing'.
3583 * text2.C (getStringToIndex): ensure that cursor position is always
3584 reset to the reset_cursor position.
3586 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3588 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3591 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3595 * lyxfunc.C: Output messages with identical spelling, punctuation,
3598 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3600 * MenuBackend.C (expandFormats): List only viewable export formats
3603 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3606 * lyxfunc.C (getStatus): Make sure that formats other than
3607 "fax" can also be disabled
3609 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3611 * text3.C (dispatch): put the lfuns that insert insets in 3
3612 groups, and call doInsertInset with appropriate arguments.
3613 (doInsertInset): new function, that creates an inset and inserts
3614 it according to some boolean parameters.
3616 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * buffer.C (readFile): remember to pass on 'par' when calling
3619 readFile recursively.
3621 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3623 * MenuBackend.C (expandFormats): add "..." to import formats.
3625 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3627 * paragraph.C (asString): Remove XForms RTL hacks.
3629 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3630 * buffer.C: fix typo
3632 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * Makefile.am (LIBS): delete var
3635 (lyx_LDADD): add @LIBS@ here instead.
3637 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3639 * Clarify the meaning of "wheel mouse jump"
3641 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3643 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3646 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3648 * importer.C (Loaders): do not preallocate 3 elements in the
3649 vector, since one ends up with 6 elements otherwise
3651 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3653 * DepTable.C (write): write the file name as last element of the
3654 .dep file (because it may contain spaces)
3655 (read): read info in the right order
3657 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3659 * paragraph_pimpl.C (simpleTeXBlanks):
3660 (simpleTeXSpecialChars):
3661 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3663 * tabular.C (latex): add some missing case statements. Reindent.
3665 * MenuBackend.C (expandToc): remove unused variable.
3667 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3676 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3679 2003-01-05 John Levon <levon@movementarian.org>
3682 * BufferView.C: add getEncoding()
3685 * kbsequence.C: do not store last keypress
3688 * lyxfunc.C: store last keypress here instead. Pass encoding
3691 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3693 * lyx_main.C (init): remove annoying error message when following
3694 symbolic links (bug #780)
3696 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3698 * text.C (insertChar):
3699 * lyxrc.C (getDescription): remove extra spaces
3701 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3703 * lyxrc.C (getDescription): remove extra spaces
3705 2002-12-20 John Levon <levon@movementarian.org>
3707 * text3.C: hack fix for page up/down across tall rows
3709 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3711 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3714 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3716 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3717 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3718 thesaurus is not compiled in
3720 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3722 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3724 2002-12-16 Angus Leeming <leeming@lyx.org>
3727 * lyx_main.C (init): remove override_x_deadkeys stuff.
3729 2002-12-12 John Levon <levon@movementarian.org>
3731 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3732 insert. Only remove shift modifier under strict
3735 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * MenuBackend.C (expandToc): fix crash.
3739 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * MenuBackend.C (expandToc): gettext on float names.
3743 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3745 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3746 implement bool empty() [bug 490]
3748 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3752 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * several files: ws changes
3756 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * text2.C (setCounter): clean up a bit, use boost.format.
3759 (updateCounters): initialize par upon declaration.
3761 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3762 if the layout exists. We do not just store the layout any more.
3763 (SwitchLayoutsBetweenClasses): use boost.format
3765 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3767 * converter.C (convert): if from and to files are the same, use a
3768 temporary files as intermediary
3770 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3773 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3775 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3777 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3779 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3781 * tabular.C (asciiPrintCell): use string(size, char) instead of
3784 * sgml.C (openTag): fix order of arguments to string constructor
3787 * lyxfunc.C (dispatch): use boost.format
3789 * lots of files: change "c" -> 'c'
3791 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3793 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3795 2002-11-25 Angus Leeming <leeming@lyx.org>
3797 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3799 * lyx_main.C (init): compile fix.
3801 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * lyx_cb.C (start): boost.formatify
3804 do not include <iostream>
3806 * lengthcommon.C: ws only
3808 * boost-inst.C,BoostFormat.h: add more explict instantations
3810 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * lots of files: handle USE_BOOST_FORMAT
3814 2002-11-21 John Levon <levon@movementarian.org>
3816 * pspell.C: fix compile
3818 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3820 * lyxfunc.C (dispatch): use boost::format
3824 * lyxfont.C (stateText): use boost::format
3826 * lyx_main.C (LyX): use boost::format
3828 (queryUserLyXDir): ditto
3831 (typedef boost::function): use the recommened syntax.
3833 * importer.C (Import): use boost::format
3835 * debug.C (showLevel): use boost::format
3837 * converter.C (view): use boost::format
3842 * bufferview_funcs.C (currentState): use boost::format
3844 * bufferlist.C (emergencyWrite): use boost::format
3846 * buffer.C (readLyXformat2): use boost::format
3847 (parseSingleLyXformat2Token): ditto
3849 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3851 * LaTeX.C (run): use boost::format
3853 * Chktex.C (scanLogFile): use boost::format
3855 * BufferView_pimpl.C (savePosition): use boost::format
3856 (restorePosition): ditto
3857 (MenuInsertLyXFile): ditto
3859 * BoostFormat.h: help file for explicit instation.
3861 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3863 * tabular.C (latex): Support for block alignment in fixed width
3866 2002-11-17 John Levon <levon@movementarian.org>
3868 * BufferView_pimpl.C:
3870 * lyxfunc.C: split filedialog into open/save
3872 2002-11-08 Juergen Vigna <jug@sad.it>
3874 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3875 by my last patch (hopefully).
3877 2002-11-08 John Levon <levon@movementarian.org>
3886 * toc.C: ParConstIterator, and use it (from Lars)
3888 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3890 * lyxtextclass.[Ch]: revise and add doxygen comments
3892 2002-11-07 John Levon <levon@movementarian.org>
3894 * text.C: fix progress value for spellchecker
3896 * toc.C: fix navigate menu for insetwrap inside minipage
3898 * paragraph_funcs.C: added FIXME for suspect code
3900 2002-11-07 John Levon <levon@movementarian.org>
3902 * BufferView_pimpl.C: fix redrawing of insets
3905 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3907 * text2.C (updateCounters): fix bug 668
3909 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3911 * text3.C (dispatch): Do not make the buffer dirty when moving the
3914 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * vc-backend.C: STRCONV
3919 * text2.C (setCounter): STRCONV
3921 * paragraph.C (asString): STRCONV
3923 * lyxlength.C (asString): STRCONV
3924 (asLatexString): ditto
3926 * lyxgluelength.C (asString): STRCONV
3927 (asLatexString): ditto
3929 * lyxfunc.C (dispatch): STRCONV
3932 * lyxfont.C (stateText): STRCONV
3934 * importer.C (Import): STRCONV
3936 * counters.C (labelItem): STRCONV
3937 (numberLabel): ditto
3938 (numberLabel): remove unused ostringstream o
3943 * bufferview_funcs.C (currentState): STRCONV
3945 * buffer.C (readFile): STRCONV
3946 (asciiParagraph): ditto
3947 (makeLaTeXFile): ditto
3949 * Spacing.C (writeEnvirBegin): STRCONV
3951 * LaTeXFeatures.C (getLanguages): STRCONV
3952 (getPackages): ditto
3954 (getBabelOptions): ditto
3955 (getTClassPreamble): ditto
3956 (getLyXSGMLEntities): ditto
3957 (getIncludedFiles): ditto
3961 (scanAuxFile): ditto
3964 * LString.h: add the STRCONV macros
3966 * BufferView_pimpl.C (savePosition): STRCONV
3967 (restorePosition): ditto
3968 (MenuInsertLyXFile): ditto
3970 * vc-backend.C (scanMaster): change from submatch[...] to
3973 * funcrequest.C: include config.h
3975 * factory.C: include config.h
3977 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3979 * box.C: include config.h
3981 * LaTeX.C (scanAuxFile): change from submatch[...] to
3985 2002-10-25 Angus Leeming <leeming@lyx.org>
3987 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3989 * ispell.[Ch] (setError): new method.
3990 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3991 Use setError() insetead of goto END.
3993 * lyx_cb.C (AutoSave): move out child process into new class
3996 2002-10-30 John Levon <levon@movementarian.org>
3998 * text3.C: make start appendix undoable
4000 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4002 * lyxlength.C (inPixels): Fix returned value.
4004 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4007 2002-10-24 Angus Leeming <leeming@lyx.org>
4009 * lyxgluelength.h: no need to forward declare BufferParams
4010 or BufferView, so don't.
4012 2002-10-21 John Levon <levon@movementarian.org>
4014 * BufferView.C: menuUndo ->undo, redo
4016 * BufferView.h: document, remove dead, make some methods private
4018 * paragraph_funcs.h:
4019 * paragraph_funcs.C:
4020 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4025 * sgml.C: move sgml open/close tag into sgml.C
4027 * bufferview_funcs.h: unused prototype
4030 * lyxfunc.C: remove unused
4033 * text.C: remove unused
4035 2002-10-21 John Levon <levon@movementarian.org>
4039 * BufferView_pimpl.h:
4040 * BufferView_pimpl.C: fix mouse wheel handling based on
4041 patch from Darren Freeman
4043 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4045 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4047 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4049 * lyxlength.C (inPixels): Fix hanfling of negative length.
4050 Fix LyXLength::MU case.
4052 2002-10-16 John Levon <levon@movementarian.org>
4054 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4056 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4058 * converter.C (view): add support for $$i (file name) and $$p
4059 (file path) for the viewer command. If $$i is not specified, then
4060 it is appended to the command (for compatibility with old syntax)
4062 2002-10-14 Juergen Vigna <jug@sad.it>
4064 * undo_funcs.C (textHandleUndo): alter the order in which the
4065 new undopar is added to the LyXText, as we have to set first
4066 the right prev/next and then add it as otherwise the rebuild of
4067 LyXText is not correct. Also reset the cursor to the right paragraph,
4068 with this IMO we could remove the hack in "redoParagraphs()".
4070 2002-10-09 Angus Leeming <leeming@lyx.org>
4072 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4073 to turn off an optimisation if a new inset is to be inserted.
4075 2002-10-11 André Pönitz <poenitz@gmx.net>
4077 * lyxtext.h: make some functions public to allow access
4078 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4080 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4082 * text3.C (dispatch): when changing layout, avoid an infinite loop
4085 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4087 * lyxrc.C (read): treat a viewer or converter command of "none" as
4090 * MenuBackend.C (expandFormats): for an update, also allow the
4091 formats that are not viewable
4093 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4094 script if it is newer than the lyxrc.defaults in user directory
4096 2002-10-07 André Pönitz <poenitz@gmx.net>
4098 * text.C: Vitaly Lipatov's small i18n fix
4100 2002-09-25 Angus Leeming <leeming@lyx.org>
4102 * ispell.h: doxygen fix.
4104 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4106 * buffer.h (readFile): Add a new argument to the method, to allow
4107 reading of old-format templates.
4109 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4111 * toc.C (getTocList): Get TOC from InsetWrap.
4113 2002-09-16 John Levon <levon@movementarian.org>
4115 * lyxfunc.C: check tabular for cut/copy too
4117 2002-09-12 John Levon <levon@movementarian.org>
4122 * factory.C: add header
4124 * paragraph_funcs.h:
4125 * paragraph_funcs.C: cleanup
4127 2002-09-11 John Levon <levon@movementarian.org>
4129 * PrinterParams.h: odd/even default to true
4131 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4133 * PrinterParams.h: update printer parameters for new xforms dialog
4135 2002-09-11 Angus Leeming <leeming@lyx.org>
4137 * lyxserver.C (read_ready): re-write to make it more transparent
4138 and to make it work in coherent fashion under Tru64 Unix.
4140 2002-09-11 André Pönitz <poenitz@gmx.net>
4144 * text3.C: implement LFUN_WORDSEL
4146 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4148 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4149 make floatlist_ a boost::shared_ptr<FloatList>
4151 * lyxtextclass.C: include FloatList.h
4152 (LyXTextClass): initialize floatlist_
4153 (TextClassTags): add TC_NOFLOAT
4154 (Read): match "nofloat" to TC_NOFLOAT and use it.
4155 (readFloat): modify call to floatlist_
4159 * FloatList.[Ch] (FloatList): remove commented out float
4161 (erase): new function
4163 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4165 * MenuBackend.C (expandToc): fix crash when there is no document
4168 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4170 * many files: Add insetwrap.
4172 2002-09-09 John Levon <levon@movementarian.org>
4174 * text2.C: remove confusing and awkward depth wraparound
4176 2002-09-09 John Levon <levon@movementarian.org>
4178 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4181 * buffer.C: remove getIncludeonlyList()
4184 * lyxfunc.C: remove headers
4186 2002-09-09 Juergen Vigna <jug@sad.it>
4188 * text.C (getColumnNearX): fix form Michael this is most
4189 probably a cut&paste bug.
4191 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4193 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4195 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4196 references, ws changes.
4198 * text2.C (init): update counters after init
4199 (insertParagraph): no need to set counter on idividual paragraphs.
4200 (setCounter): access the counters object in the textclass object
4201 on in the buffer object.
4202 (updateCounters): ditto
4204 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4205 shared_ptr<Counters> to avoid loading counters.h in all
4207 (LyXTextClass): initialize ctrs_
4208 (TextClassTags): add TC_COUNTER, and ...
4209 (Read): use it here.
4210 (CounterTags): new tags
4211 (readCounter): new function
4212 (counters): new funtion
4213 (defaultLayoutName): return a const reference
4215 * counters.C (Counters): remove contructor
4216 (newCounter): remove a couple of unneeded statements.
4217 (newCounter): simplify a bit.
4218 (numberLabel): some small formatting changes.
4220 * buffer.[Ch]: remove all traces of counters, move the Counters
4221 object to the LyXTextClass.
4223 2002-09-06 Alain Castera <castera@in2p3.fr>
4225 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4226 package to set the horizontal alignment on fixed width columns.
4229 * lyx_sty.h: added tabularnewline macro def.
4231 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4233 2002-09-06 John Levon <levon@movementarian.org>
4235 * LyXAction.C: tooltips for sub/superscript
4237 * MenuBackend.C: a bit more verbose
4239 * lyxfunc.C: tiny clean
4241 * undo_funcs.C: document undo_frozen
4243 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * counters.C (Counters): add missing algorithm counter.
4247 * text2.C (setCounter): lookup the counter with layouts latexname
4248 instead of by section number.
4249 (setCounter): use a hackish way to lookup the correct enum
4251 a float name->type change
4252 reset enum couners with counter name directly instead of depth value.
4254 * counters.C (Counters): remove the push_backs, change to use the
4255 float type not the float name.
4256 (labelItem): remove unused string, float name->type change
4258 * counters.h: don't include vector, loose the enums and sects vectors
4260 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4263 (Read): add float->TC_FLOAT to textclassTags
4264 (Read): and handle it in the switch
4265 (readFloat): new function
4267 * FloatList.C (FloatList): comment out the hardcoded float
4270 * lyxlayout.h: ws change.
4272 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4274 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4276 2002-09-03 Angus Leeming <leeming@lyx.org>
4278 * BufferView_pimpl.h: qualified name is not allowed in member
4279 declaration: WorkArea & Pimpl::workarea() const;
4281 * factory.C: added using std::endl directive.
4283 * text3.C: added using std::find and std::vector directives.
4285 2002-08-29 André Pönitz <poenitz@gmx.net>
4288 * text2.C: remove unused member number_of_rows
4291 * BufferView2.C: remove file, move contents to...
4292 * BufferView.C: ... here
4294 * BufferView_pimpl.C:
4295 * factory.C: move more inset creation to factory
4297 * vspace.C: avoid direct usage of LyXText, ws changes
4300 don't provide direct access to WorkArea, use two simple
4301 acessors haveSelction() and workHeight() instead
4304 2002-08-29 John Levon <levon@movementarian.org>
4306 * BufferView_pimpl.C (dispatch): do not continue when
4309 2002-08-28 André Pönitz <poenitz@gmx.net>
4311 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4314 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4316 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4318 * buffer.C: increment LYX_FORMAT to 221
4320 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4321 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4323 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4325 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4327 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4329 * factory.C (createInset): use LyXTextClass::floats
4331 * MenuBackend.C (expandFloatListInsert):
4332 (expandFloatInsert):
4335 * text2.C (setCounter):
4337 * LaTeXFeatures.C (useFloat):
4338 (getFloatDefinitions):
4340 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4342 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4343 floatlist_, with accessor floats().
4345 * FloatList.h: remove global FloatList
4347 2002-08-26 André Pönitz <poenitz@gmx.net>
4349 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4353 * BufferView_pimpl.C:
4354 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4356 2002-08-25 John Levon <levon@movementarian.org>
4358 * LyXAction.C: fix margin note description
4360 2002-08-24 John Levon <levon@movementarian.org>
4364 * bufferview_funcs.C:
4366 * undo_funcs.C: cleanups
4368 * lyxfunc.C: disable CUT/COPY when no selection
4370 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4372 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4373 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4375 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4376 Add backward compatibility to "mono", "gray" and "no".
4378 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4380 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4381 (and file_format >= 200).
4383 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4385 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4387 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4389 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4391 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4393 * BufferView_pimpl.C:
4400 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4401 inset and code to make it work with the paragraph code. The inset
4402 can be anywhere in the paragraph, but will only do the expected
4403 thing in LaTeX if the layout file contains the parameter line
4405 (or more generally, a nonzero value) for that layout.
4407 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4409 * paragraph.h: remove the declaration of undefined counters class
4412 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4414 * text2.C (setCounter): fixed enumeration mis-count as reported by
4415 Dr. Richard Hawkins.
4417 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4419 * paragraph_funcs.h: remove some unneeded includes
4421 * text.C (backspace): pasteParagraph now in global scipe
4423 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4424 (pasteSelection): ditto
4426 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4427 * paragraph_funcs.C (pasteParagraph): ... here
4429 2002-08-20 André Pönitz <poenitz@gmx.net>
4431 * commandtags.h: new LFUNs for swapping/copying table row/colums
4434 * lyxfunc.C: support for new lfuns
4436 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * buffer.[Ch]: remove NO_COMPABILITY stuff
4441 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * boost.C (throw_exception): new file, with helper function for
4444 boost compiled without exceptions.
4449 * ParameterStruct.h:
4450 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4452 * bufferlist.C (emergencyWriteAll): use boost bind
4454 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4456 * text.C: include paragraph_funcs.h
4457 (breakParagraph): breakParagraph is now in global scope
4459 * paragraph_funcs.[Ch]: new files
4461 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4464 * buffer.C: include paragraph_funcs.h
4465 (insertStringAsLines): breakParagraph is now in global scope
4467 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4470 * CutAndPaste.C: include paragraph_funcs.h
4471 (cutSelection): breakParagraphConservative is now in global scope
4472 (pasteSelection): ditto
4474 * buffer.h: declare oprator== and operator!= for
4475 Buffer::inset_iterator
4477 * bufferlist.C (emergencyWrite): don't use fmt(...)
4479 * text3.C: add using std::endl
4481 * BufferView.C (moveCursorUpdate): remove default arg
4483 2002-08-20 André Pönitz <poenitz@gmx.net>
4485 * buffer.[Ch]: move inline functions to .C
4488 * BufferView_pimpl.C:
4490 * buffer.[Ch]: use improved inset_iterator
4493 * paragraph.[Ch]: write one paragraph at a time
4495 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4497 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4498 style if style is not specified.
4500 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4502 * text2.C (setCounter): when searching for right label for a
4503 caption, make sure to recurse to parent insets (so that a caption
4504 in a minipage in a figure float works) (bug #568)
4506 2002-08-20 André Pönitz <poenitz@gmx.net>
4508 * text3.C: new file for LyXText::dispatch() and helpers
4510 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4512 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4514 2002-08-19 André Pönitz <poenitz@gmx.net>
4517 * text.C: new LyXText::dispatch()
4519 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4521 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4523 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4525 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4528 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4530 * Makefile.am: use $(variables) instead of @substitutions@
4532 2002-08-15 André Pönitz <poenitz@gmx.net>
4535 * BufferView_pimpl.C: streamlining mathed <-> outer world
4539 * LyXAction.C: remove unused LFUN_MATH
4541 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4543 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4545 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * paragraph.C (Paragraph): reformat a bit
4548 (cutIntoMinibuffer): use builtin InsetList function instad of
4552 * buffer.C: include boost/bind.hpp, add using std::for_each
4553 (writeFileAscii): use ParagraphList iterators
4554 (validate): use for_each for validate traversal of paragraphs
4555 (getBibkeyList): use ParagraphList iterators
4556 (resizeInsets): use for_each to resizeInsetsLyXText for all
4558 (getParFromID): use ParagraphList iterators
4560 * BufferView2.C (lockInset): use paragraph list and iterators
4562 2002-08-14 John Levon <levon@movementarian.org>
4564 * lyxserver.C: remove spurious xforms include
4566 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4568 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4570 2002-08-13 André Pönitz <poenitz@gmx.net>
4573 * lyxfunc.C: further cleaning
4575 2002-08-13 André Pönitz <poenitz@gmx.net>
4577 * funcrequest.h: new constructor
4579 * funcrequest.C: move stuff here from .h
4582 * BufferView_pimpl.C:
4585 * lyxfunc.C: subsequent changes
4587 * lyxfunc.h: new view() member function
4589 * lyxfunc.C: subsequent changes
4591 2002-08-13 Angus Leeming <leeming@lyx.org>
4594 * BufferView_pimpl.C:
4602 changes due to the changed LyXView interface that now returns references
4603 to member variables not pointers.
4605 2002-08-13 Angus Leeming <leeming@lyx.org>
4607 * WordLangTuple (word, lang_code): return references to strings,
4612 * lyxtext.h: forward-declare WordLangTuple.
4617 * text.C: #include "WordLangTuple.h".
4620 * text.C: (selectNextWordToSpellcheck): constify return type.
4622 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4628 * paragraph_pimpl.h:
4631 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4633 Made updateCounter always count from start of buffer, and removed
4634 second argument (par).
4635 Reverted floats number display to '#'. Perhaps I'll try again when the
4636 code base is sanitized a bit.
4638 2002-08-12 Angus Leeming <leeming@lyx.org>
4640 * buffer.[Ch] (getLabelList): constify.
4642 2002-08-07 André Pönitz <poenitz@gmx.net>
4644 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4646 * funcrequest.h: extension to keep mouse (x,y) position
4648 2002-08-12 Juergen Vigna <jug@sad.it>
4650 * BufferView2.C (insertErrors): forbid undo when inserting error
4653 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4655 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * ParagraphList.[Ch]: new files
4659 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4661 * BufferView2.C (lockInset): ParagraphList changes
4664 * bufferlist.C: ditto
4668 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4671 unused class variable counter_,
4673 * paragraph.[Ch] (getFirstCounter): delete unused function
4675 * counters.C: include LAssert.h
4676 (reset): add a new function with no arg, change other version to
4677 not have def. arg and to not allow empty arg.
4679 * text2.C (setCounter): remove empty arg from call to Counters::reset
4681 2002-08-11 John Levon <levon@movementarian.org>
4683 * Makefile.am: add WordLangTuple.h
4685 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4688 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4690 * insets/insettext.C: InsetList changes
4692 * graphics/GraphicsSupport.C (operator()): InsetList changes
4694 * toc.C (getTocList): InsetList changes
4696 * paragraph_pimpl.[Ch]: InsetList changes
4698 * paragraph.[Ch]: InsetList changes
4700 * buffer.C (inset_iterator): InsetList changes
4701 (setParagraph): ditto
4702 * buffer.h (inset_iterator): ditto
4703 * iterators.C (operator++): ditto
4704 * iterators.h: ditto
4706 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4708 * InsetList.[Ch]: new files, most InsetList handling moved out of
4711 * BufferView2.C (removeAutoInsets): InsetList changes
4713 (ChangeInsets): ditto
4715 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * paragraph_pimpl.h (empty): new function
4719 * paragraph.[Ch] (empty): new function
4721 * other files: use the new Paragraph::empty function
4723 2002-08-09 John Levon <levon@movementarian.org>
4725 * lyxtext.h: remove unused refresh_height
4727 2002-08-09 John Levon <levon@movementarian.org>
4734 * paragraph.C: move sgml char escaping out of paragraph
4737 * paragraph.C: remove id setter
4741 * paragraph_pimpl.C: remove dead tex_code_break_column
4743 * bufferview_funcs.C: small cleanup
4745 * lyxfunc.C: remove dead proto
4747 * lyxtext.h: make some stuff private. Remove some dead stuff.
4749 * lyxgluelength.C: make as[LyX]String() readable
4751 2002-08-08 John Levon <levon@movementarian.org>
4756 * ToolbarDefaults.C:
4759 * toc.C: lyxaction cleanup
4761 2002-08-08 John Levon <levon@movementarian.org>
4763 * BufferView2.C: small cleanup
4766 * lyxfind.C: move unnecessary header into the .C
4768 2002-08-08 John Levon <levon@movementarian.org>
4770 * funcrequest.h: just tedious nonsense
4773 * lyx_main.C: cleanups
4776 * vspace.C: remove dead header lyx_main.h
4778 2002-08-07 Angus Leeming <leeming@lyx.org>
4781 * paragraph_pimpl.h:
4782 Forward declare class Counters in paragraph.h by moving the ctrs member
4783 variable into Paragraph::Pimpl.
4784 (counters): new method, returning a reference to pimpl_->ctrs.
4786 * text2.C: ensuing changes.
4788 2002-08-07 John Levon <levon@movementarian.org>
4790 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4792 * BufferView_pimpl.C: announce X selection on double/triple
4795 * lyx_main.C: use correct bool in batch dispatch
4797 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4799 2002-08-07 André Pönitz <poenitz@gmx.net>
4801 * funcrequest.h: new class to wrap a kb_action and its argument
4804 * BufferView_pimpl[Ch]:
4808 * lyxrc.C: subsequent changes
4811 2002-08-07 John Levon <levon@movementarian.org>
4813 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4814 document options change.
4816 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4821 * makefile.am: move counters functionality over from
4822 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4824 2002-08-06 John Levon <levon@movementarian.org>
4826 * WordLangTuple.h: new file for word + language code tuple
4837 * BufferView2.C: use WordLangTuple
4840 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4842 2002-08-06 John Levon <levon@movementarian.org>
4844 * lyx_main.C: fix cmdline batch handling
4846 2002-08-06 André Pönitz <poenitz@gmx.net>
4848 * lyxrc.C: set default for show_banner to true
4850 2002-08-06 John Levon <levon@movementarian.org>
4852 * pspell.C: fix a crash, and allow new aspell to work
4854 2002-08-06 John Levon <levon@movementarian.org>
4857 * kbmap.C: small cleanup
4860 * vspace.C: add const
4862 2002-08-05 John Levon <levon@movementarian.org>
4864 * LyXAction.C: back to tabular-insert
4866 2002-08-04 John Levon <levon@movementarian.org>
4869 * BufferView.C: cosmetic change
4871 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4881 * BufferView2.C: purge all "Lyx" not "LyX" strings
4884 * lyxcursor.C: attempt to add some documentation
4889 * ToolbarDefaults.C:
4890 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4891 merge with LFUN_TABULAR_INSERT
4898 * pspell.C: split up i/pspell implementations into separate
4899 files, many cleanups
4901 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4903 * text2.C: some cleanup
4905 * lyxfunc.C: don't check for isp_command == "none" any more, it
4906 didn't make any sense
4908 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4913 * makefile.am: move counters functionality over
4914 from text2.C/paragraph.[Ch] to counters.[Ch], and
4916 2002-08-02 John Levon <levon@movementarian.org>
4918 * buffer.C: s/lyxconvert/lyx2lyx/
4920 2002-08-02 Angus Leeming <leeming@lyx.org>
4922 * lyxlex.C: revert John's change as it breaks reading of the user
4925 2002-08-02 Angus Leeming <leeming@lyx.org>
4927 * importer.C (Import):
4928 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4929 changes due to LyXView::view() now returning a boost::shared_ptr.
4931 2002-08-02 John Levon <levon@movementarian.org>
4933 * lyxlex.C: small cleanup
4935 2002-08-02 John Levon <levon@movementarian.org>
4937 * text2.C (status): small cleanup, no logic change
4939 2002-08-01 John Levon <levon@movementarian.org>
4942 * buffer.C (writeFile): don't output alerts, caller
4946 * lyx_cb.C: from above
4948 * lyxfunc.C: allow to open non-existent files
4950 2002-07-31 John Levon <levon@movementarian.org>
4952 * lyxserver.C: don't let incidental errors get
4955 2002-07-30 John Levon <levon@movementarian.org>
4957 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4959 2002-07-30 John Levon <levon@movementarian.org>
4962 * lyxserver.C: remove I/O callback too
4964 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4966 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4969 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * many files: strip,frontStrip -> trim,ltrim,rtrim
4973 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4975 * PrinterParams.h: remove extern containsOnly, and include
4976 support/lstrings.h instead.
4978 * LaTeX.C (scanAuxFile): modify because of strip changes
4980 * buffer.C (makeLaTeXFile): ditto
4981 * bufferparams.C (writeFile): ditt
4982 * lyxfont.C (stateText): ditto
4983 * lyxserver.C (read_ready): ditto
4984 * vc-backend.C (scanMaster): ditto
4986 * BufferView_pimpl.h: ws changes
4988 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4990 2002-07-26 André Pönitz <poenitz@gmx.net>
4992 * kb_sequence.C: remove unnedred usings
4994 2002-07-26 Juergen Vigna <jug@sad.it>
4996 * lyxfind.C (LyXReplace): we have to check better if the returned
4997 text is not of theLockingInset()->getLockingInset().
4999 2002-07-25 Juergen Vigna <jug@sad.it>
5001 * lyxfind.C (LyXReplace): don't replace if we don't get the
5004 * undo_funcs.C (createUndo): remove debugging code.
5006 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5008 * buffer.C (parseSingleLyXformat2Token): Use default placement
5009 when reading old floats.
5011 * FloatList.C (FloatList): Change the default placement of figure
5012 and tables to "tbp".
5014 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5016 * MenuBackend.C: using std::max
5018 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5020 * MenuBackend.C (expandToc):
5021 (expandToc2): code moved from xforms menu frontend. It is now
5022 generic and TOCs are transparent to menu frontends.
5024 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5026 * toc.C (getTocList): protect against buf=0
5028 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5029 Menu as first parameter. Now, this calls itself recursively to
5030 expand a whole tree (this will be useful for TOC handling)
5031 (expandFloatInsert): remove 'wide' version of floats
5033 * MenuBackend.h (submenuname): returns the name of the submenu.
5034 (submenu): returns the submenu itself, provided it has been
5035 created by MenuBackend::expand
5037 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5039 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5040 insets which have noFontChange == true. (bug #172)
5042 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5044 * BufferView_pimpl.C: add connection objects and use them...
5047 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5049 * MenuBackend.C (expandLastfiles):
5052 (expandFloatListInsert):
5053 (expandFloatInsert):
5054 (expand): split expand in parts
5056 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5058 * lyx_gui.C: use lyx_gui::exit()
5060 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5062 * LyXAction.C: show the failing pseudo action
5064 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5066 * buffer.C (readFile): Run the lyxconvert script in order to read
5069 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5073 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5075 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5079 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5081 2002-07-22 Herbert Voss <voss@lyx.org>
5084 * lyxlength.[Ch]: add support for the vertical lengths
5086 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5088 * toc.[Ch]: std:: fixes
5090 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5092 * lyxrc.C: do not include lyx_main.h
5094 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5100 * BufferView2.C: include "lyxlex.h"
5103 * bufferparams.h: do not #include "lyxlex.h"
5105 * lyxtextclasslist.C (Add): remove method
5106 (classlist): renamed to classlist_
5108 * paragraph_pimpl.C:
5112 * bufferview_funcs.C:
5117 * toc.C (getTocList): use BufferParams::getLyXTextClass
5119 * toc.C (getTocList): use InsetFloat::addToToc
5121 * toc.[Ch]: new files, containing helper functions to handle table
5124 * lyxfunc.C (dispatch): no need to remove spaces around command
5126 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5127 first command of the sequence; it is not very clever, but I do not
5128 have a better idea, actually
5130 * LyXAction.C (LookupFunc): make sure to remove space at the
5131 beginning and end of the command
5133 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5135 * MenuBackend.C (getMenubar): new method: return the menubar of
5137 (read): treat differently reading of menu and menubar (in
5138 particular, the menubar has no name now)
5139 (Menu::menubar): remove
5141 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5144 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5146 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5147 a bibitem inset in a RTL paragraph.
5149 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5151 * paragraph_pimpl.C: constify
5153 * BufferView_pimpl.C:
5155 * lyxfunc.C: fix dispatch in a nicer way
5157 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5159 * lyxfunc.C (dispatch):
5160 * BufferView_pimpl.C:
5161 * BufferView_pimpl.h:
5163 * BufferView.h: rename Dispatch() to dispatch()
5165 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5167 * lyxlayout.C (Read): honor DependsOn tag
5169 * lyxlayout.[Ch] (depends_on): new method
5171 * version.C.in: update lyx_docversion
5173 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5175 * paragraph.C (validate): remove from here...
5176 * paragraph_pimpl.C (validate): ... and move here
5177 (isTextAt): make it const
5179 * buffer.C (getLists): ws cleanup
5181 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5183 * language.C (read): Use iso8859-1 encoding in latex_lang
5184 (this prevents LyX from crashing when using iso10646-1 encoding).
5186 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5188 * text2.C (toggleInset): if cursor is inside an inset, close the
5189 inset and leave cursor _after_ it
5191 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5193 * lyxfunc.C: move minibuffer completion handling out of here
5195 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5197 * BufferView_pimpl.C:
5198 * LaTeX.C: fix dispatch calls
5200 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5202 * text.C (drawChars): Fix Arabic text rendering.
5204 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5208 * lyxfunc.C: remove message-push/pop
5212 * lyxfunc.C: rationalise some code by removing verboseDispatch
5213 in favour of a bool argument to dispatch()
5215 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5217 * lyx_main.C (init): make sure to read symlinks as absolute paths
5219 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5222 * lyxfunc.C: no need for commandshortcut to be a member
5224 2002-07-15 André Pönitz <poenitz@gmx.net>
5226 * converter.C: add support for $$s (scripts from lib/scripts dir)
5227 * lyx_main.C: white space
5229 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5233 * lyxrc.C: remove second exit confirmation
5235 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5240 * BufferView_pimpl.h:
5241 * BufferView_pimpl.C:
5242 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5244 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5246 * MenuBackend.C (expand): add numeric shortcuts to document menu
5248 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5250 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5252 * lyxfont.C (setLyXFamily):
5259 * buffer.C (asciiParagraph): use ascii_lowercase
5261 2002-07-15 Mike Fabian <mfabian@suse.de>
5263 * lyxlex_pimpl.C (search_kw):
5264 * lyxlex.C (getLongString):
5265 * converter.h (operator<):
5266 * converter.C (operator<):
5267 * buffer.C (parseSingleLyXformat2Token):
5269 * ToolbarDefaults.C (read):
5270 * MenuBackend.C (checkShortcuts):
5272 * LColor.C (getFromGUIName):
5273 (getFromLyXName): use the compare_ascii_no_case instead of
5274 compare_no_case, because in turkish, 'i' is not the lowercase
5275 version of 'I', and thus turkish locale breaks parsing of tags.
5277 2002-07-16 Angus Leeming <leeming@lyx.org>
5279 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5280 now takes a Buffer const & argument.
5282 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5284 * BufferView.C (resize): check there's a buffer to resize
5286 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5288 * lyxfunc.C: remove dead code
5291 * lyxserver.C: use lyx_guii::set_read_callback
5293 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5295 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5296 an inset in a RTL paragraph.
5298 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5300 * lyxfunc.C: repaint after a font size update
5302 2002-07-15 André Pönitz <poenitz@gmx.net>
5304 * lyxlength.C: inBP should be able to return negative values
5306 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5308 * lyxfunc.C: use lyx_gui::update_fonts()
5310 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5312 * lyxfunc.C: use lyx_gui::update_color()
5314 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5320 * lyxrc.C: remove file->new asks for name option, and let
5321 buffer-new take an argument
5323 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5325 * BufferView_pimpl.C: remove unneeded extra repaint()
5327 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5329 * LyXAction.C: allow command-sequence with NoBuffer
5331 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5333 2002-07-10 Angus Leeming <leeming@lyx.org>
5335 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5337 2002-07-09 Angus Leeming <leeming@lyx.org>
5339 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5341 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5343 * lengthcommon.h: whitespace
5345 * lyxfunc.C: update scrollbar after goto paragraph
5347 * lyxtext.h: factor out page break drawing, and fix it so
5348 page break/added space paints as selected nicely
5350 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5352 * BufferView_pimpl.C: add FIXMEs, clean up a little
5354 2002-07-09 André Pönitz <poenitz@gmx.net>
5356 * lyxfont.[Ch]: support for wasy symbols
5358 2002-07-08 André Pönitz <poenitz@gmx.net>
5360 * BufferView_pimpl.C: apply John's patch for #93.
5362 2002-07-05 Angus Leeming <leeming@lyx.org>
5364 * BufferView_pimpl.C (buffer): generate previews if desired.
5366 * LColor.h: add "preview" to the color enum.
5368 * LColor.C (LColor): add a corresponding entry to the items array.
5370 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5373 2002-07-05 Angus Leeming <leeming@lyx.org>
5375 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5376 The body of the code is now in the method that is passed an ostream &
5377 rather than a file name.
5378 Pass an additional only_preamble parameter, useful for the forthcoming
5381 2002-07-03 André Pönitz <poenitz@gmx.net>
5383 * lyxfunc.C: simplify getStatus() a bit for math stuff
5385 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5387 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5389 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5391 * text.C (changeRegionCase): do not change case of all the
5392 document when region ends at paragraph end (bug #461)
5394 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5396 * paragraph.C (startTeXParParams):
5397 (endTeXParParams): add \protect when necessary
5399 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5401 * BufferView_pimpl.C (workAreaExpose): remove warning
5403 2002-06-27 Angus Leeming <leeming@lyx.org>
5405 * Makefile.am: add lyxlayout_ptr_fwd.h.
5407 2002-06-26 André Pönitz <poenitz@gmx.net>
5409 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5411 2002-06-25 Angus Leeming <leeming@lyx.org>
5413 * lyxfunc.C (dispatch): Comment out the call to
5414 grfx::GCache::changeDisplay. The method no longer exists now that the
5415 pixmap generation part of the graphics loader has been moved into
5418 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5420 * text2.C: layout as layout
5422 * text.C: layout as layout
5424 * tabular.C (OldFormatRead): layout as layout
5426 * paragraph_pimpl.C (TeXDeeper): layout as layout
5427 (realizeFont): layout as layout
5429 * paragraph.C (writeFile): layout as layout
5430 (validate): layout as layout
5431 (getFont): layout as layout
5432 (getLabelFont): layout as layout
5433 (getLayoutFont): layout as layout
5434 (breakParagraph): layout as layout
5435 (stripLeadingSpaces): layout as layout
5436 (getEndLabel): layout as layout
5437 (getMaxDepthAfter): layout as layout
5438 (applyLayout): layout as layout
5439 (TeXOnePar): layout as layout
5440 (simpleTeXOnePar): layout as layout
5441 (TeXEnvironment): layout as layout
5442 (layout): layout as layout
5443 (layout): layout as layout
5445 * lyxtextclass.C (compare_name): new functor to work with
5446 shared_ptr, layout as layout
5447 (Read): layout as layout
5448 (hasLayout): layout as layout
5449 (operator): layout as layout
5450 (delete_layout): layout as layout
5451 (defaultLayout): layout as layout
5453 * lyxlayout_ptr_fwd.h: new file
5455 * lyxlayout.C (Read): layout as layout
5457 * lyx_cb.C (MenuInsertLabel): layout as layout
5459 * bufferlist.C (newFile): layout as layout
5461 * buffer.C (readLyXformat2): layout as layout
5462 (parseSingleLyXformat2Token): layout as layout
5463 (insertStringAsLines): layout as layout
5464 (asciiParagraph): layout as layout
5465 (latexParagraphs): layout as layout
5466 (makeLinuxDocFile): layout as layout
5467 (simpleLinuxDocOnePar): layout as layout
5468 (makeDocBookFile): layout as layout
5469 (simpleDocBookOnePar): layout as layout
5470 (getLists): layout as layout
5472 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5474 * CutAndPaste.C (cutSelection): layout as layout
5475 (pasteSelection): layout as layout
5476 (SwitchLayoutsBetweenClasses): layout as layout
5478 * BufferView_pimpl.C (Dispatch): layout as layout
5479 (smartQuote): layout as layout
5481 * BufferView2.C (unlockInset): layout as layout
5483 2002-06-24 André Pönitz <poenitz@gmx.net>
5485 * lyxfunc.C: fix #487
5487 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5491 * lyxfunc.C: remove display_shortcuts, show_banner
5493 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5495 * Buffer_pimpl.C: oops, update on resize
5497 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5504 * BufferView.C: use repaint()
5506 * BufferView_pimpl.h:
5507 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5508 as it's a clearer description. Remove superfluous
5511 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5513 * text.C: fix bug 488. Not ideal, but getting
5514 getWord() to work properly for the insets that
5515 matter is more difficult ...
5517 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5519 * BufferView_pimpl.C:
5522 * lyxfunc.C: remove the six million index lyxfuncs to just
5523 one, and DTRT (bug 458)
5525 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5529 * BufferView_pimpl.h:
5530 * BufferView_pimpl.C: clean up resize() stuff,
5531 and unnecessary updateScreen()s
5533 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5537 * BufferView_pimpl.h:
5538 * BufferView_pimpl.C:
5541 * minibuffer.C: remove focus management of workarea,
5542 not needed. Use screen's greyOut()
5544 2002-06-17 Herbert Voss <voss@lyx.org>
5546 * converter.C: (convert) do not post a message, when converting
5547 fails, let the calling function decide what to do in this case
5549 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5551 * lyxfunc.C: tidy up a little
5553 2002-06-16 <alstrup@diku.dk>
5555 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5556 Got rid of FORMS_H_LOCATION include. Now we are
5559 2002-06-15 LyX Development team <lyx@rilke>
5561 * buffer.[Ch] (sgmlOpenTag):
5562 (sgmlCloseTag): Added support for avoiding pernicious mixed
5563 content. Return number of lines written.
5566 (makeDocBookFile): Fixed calls to sgml*Tag.
5567 Simple white space clean.
5569 (simpleDocBookOnePar): Simple white space clean.
5571 * tabular.[Ch] (docBook): Renamed to docbook and got another
5572 argument to related with the pernicious mixed content.
5574 (docbookRow): Fixed calls for docbook inset method.
5576 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5578 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5579 so it's X11 independent.
5583 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5585 2002-06-15 Lyx Development team <lyx@electronia>
5587 * intl.h: Renamed getTrans to getTransManager.
5589 2002-06-14 Angus Leeming <leeming@lyx.org>
5591 * Makefile.am: nuke forgotten stl_string_fwd.h.
5593 2002-06-12 Angus Leeming <leeming@lyx.org>
5595 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5597 2002-06-13 Angus Leeming <leeming@lyx.org>
5600 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5602 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5604 * kbmap.C (getiso): add support for cyrillic and greek
5606 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5610 * BufferView_pimpl.h:
5611 * BufferView_pimpl.C: move bogus scrolling logic
5614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5617 * BufferView_pimpl.C: view->resize() change
5619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5621 * BufferView_pimpl.C: topCursorVisible
5624 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5628 * lyx_gui.C: move to frontends/
5632 * lyx_main.C: changes from above
5634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5641 * lyx_main.C: minor tidy
5643 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5645 * BufferView_pimpl.h:
5646 * BufferView_pimpl.C:
5648 * BufferView.C: make painter() const,
5651 * BufferView2.C: use screen() accessor
5654 * lyx_main.C: some minor cleanup
5656 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5658 * BufferView_pimpl.h:
5659 * BufferView_pimpl.C: remove enter/leaveView,
5662 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5667 * BufferView_pimpl.h:
5668 * BufferView_pimpl.C: only construct screen once,
5671 * lyxrc.C: remove pointless comment
5673 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5676 * BufferView.C: remove active() and belowMouse()
5678 * BufferView_pimpl.h:
5679 * BufferView_pimpl.C: use workarea() not workarea_,
5680 and make it use a scoped_ptr instead
5682 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5684 * lyx_gui.C: add debug message on BadWindow
5686 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5688 * sp_spell.C: fdopen is not part of the C++ standard.
5690 * paragraph.C (InsetIterator): use >= instead of ==
5692 2002-06-07 Angus Leeming <leeming@lyx.org>
5694 Fixes needed to compile with Compaq cxx 6.5.
5695 * BufferView_pimpl.C:
5702 * lyxtextclasslist.C:
5707 all c-library variables have been moved into namespace std. Wrap
5708 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5713 Add a using std::abs declaration.
5715 * kbmap.h (modifier_pair):
5716 * paragraph.h (InsetTable, InsetList):
5717 * lyxfont.h (FontBits):
5718 type definition made public.
5720 * bufferlist.C (emergencyWriteAll): the compiler complains that
5721 there is more than one possible lyx::class_fun template to choose from.
5722 I re-named the void specialisation as lyx::void_class_fun.
5724 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5726 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5727 the compiler is is unable to find tostr in write_attribute.
5729 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5731 * buffer.C (sgmlError): hide #warning
5733 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5735 * xtl/*: get rid of xtl, which is not in use anyway
5737 * LyXAction.C (init):
5738 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5739 were unimplemented xtl experimentation
5741 2002-06-04 André Pönitz <poenitz@gmx.net>
5743 * lyxfunc.C: disable array operation on simple formulae
5745 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5747 * converter.C: constify a bit
5749 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5751 * lyx_gui.C: check xforms version correctly
5753 2002-04-30 Herbert Voss <voss@lyx.org>
5755 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5758 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5760 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5761 attempt to register it with a VCS)
5763 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5765 * lyx_main.C (init): honor variables LYX_DIR_13x and
5768 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5772 * lyx_main.C: fix a crash on bad command line,
5773 and give a useful exit status on error
5775 * lyxfunc.C (doImport): allow -i lyx to work
5777 2002-03-30 André Pönitz <poenitz@gmx.net>
5779 * lyxfunc.C: mathed font changes
5781 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5796 * trans_mgr.h: srcdocs, and some minor cleanups
5798 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5800 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5801 call getFont all the time)
5803 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5805 * switch from SigC signals to boost::signals
5807 2002-05-29 André Pönitz <poenitz@gmx.net>
5809 * paragraph_pimpl.C (getChar): don't call size() too often...
5811 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5813 * paragraph_pimpl.C (insertChar): do not try to update tables when
5814 appending (pos == size())
5816 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5817 in order to reduce drastically the number of comparisons needed to
5818 parse a large document
5820 2002-05-29 André Pönitz <poenitz@gmx.net>
5826 * textclasslist.[Ch]:
5827 * sp_ispell.h: whitespace change
5829 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5831 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5832 lyxaction directly now.
5834 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5838 * lyxvc.C: remove unused headers
5840 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5847 * undo_funcs.C: some cleanups. Use shared_ptr
5848 and a template for the undo stacks.
5850 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5852 * BufferView_pimpl.h:
5853 * BufferView_pimpl.C:
5860 * text2.C: use key_state/mouse_state
5862 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5864 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5867 * chset.C: change include order
5868 (loadFile): use boost regex and get rid of LRegex and LSubstring
5870 * Makefile.am (BOOST_LIBS): new variable
5873 * LaTeX.C: change include order.
5874 (scanAuxFile): use boost regex and get rid of LRegex and
5878 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5883 * FontInfo.C: moved to frontends/xforms/
5886 * FontLoader.C: moved into frontends for GUIIzation
5891 * lyxfunc.C: changes from above
5893 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5895 * LColor.C: remove spurious X include
5897 * BufferView_pimpl.C:
5902 * text2.C: move font metrics to frontends/
5904 2002-05-24 Juergen Vigna <jug@sad.it>
5906 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5907 setting the undo_cursor.
5909 * ParagraphParameters.h: include local includes first.
5911 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5913 * BufferView_pimpl.C:
5914 * BufferView_pimpl.h:
5918 * screen.C: move WorkArea into frontends/
5924 * BufferView2.C: move LyXScreen into frontends/
5928 * lyx_gui.C: move lyxlookup into frontends/xforms/
5930 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5933 * BufferView_pimpl.C:
5943 * bufferview_funcs.C:
5956 * vc-backend.C: move LyX/XFormsView into frontends/
5958 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5970 * text2.C: move Painter to frontends/
5972 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5974 * buffer.C: comment out some some code that depend upon lyx_format
5977 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5978 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5980 * buffer.h (NO_COMPABILITY): turn off compability
5982 * ColorHandler.C: include scoped_array.hpp
5984 * font.C: Use more specific smart_ptr header.
5987 * ShareContainer.h: ditto
5991 * BufferView_pimpl.h: ditto
5992 * ColorHandler.h: ditto
5994 * kbmap.C (defkey): change call to shared_ptr::reset
5996 2002-05-21 Juergen Vigna <jug@sad.it>
5998 * buffer.C (insertErtContents): fix to insert ert asis if it is
5999 non empty. Skip it completely if it contains only whitespaces.
6001 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6003 * BufferView_pimpl.C:
6004 * BufferView2.C: clear selection on paste (bug 393)
6006 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6008 * DepTable.C: include ctime
6010 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6012 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6014 2002-05-14 Juergen Vigna <jug@sad.it>
6016 * text.C (breakParagraph): fixed function to honor the keepempty
6017 layout in the right maner and also to permit the right breaking
6018 algorithm on empty or non empyt keepempty paragraphs.
6020 * paragraph.C (breakParagraph): we have to check also if the par
6021 is really empty (!size()) for isempty otherwise we do the wrong
6024 2002-05-10 Juergen Vigna <jug@sad.it>
6026 * buffer.[Ch] : The following are only changes to the ert
6027 compatibility read reading old LaTeX layout and font stuff and
6028 convert it to ERTInsets.
6030 * buffer.h: added isErtInset().
6032 * buffer.C (struct ErtComp): add a fromlayout bool to check
6033 if we're inside a LaTeX layout.
6034 (isErtInset): new helper function.
6035 (insertErtContents): look for other ert insets before this one
6036 and insert the contents there, so that we don't have subsequent
6037 ERT insets with nothing between them. This way we create only one
6038 inset with multiple paragraphs. Also check if we don't insert only
6039 spaces ' ' as they are ignored anyway afterwards in the .tex file
6040 so if we have only spaces we will ignore this latex part in the
6042 (parseSingleLyXformat2Token \\layout): better compatibility when
6043 reading layout-latex stuff.
6044 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6046 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6047 stuff after reading the inset only get the information back from
6050 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6052 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6054 * LaTeXFeatures.C (getBabelOptions): New method.
6056 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6058 * BufferView_pimpl.C (Dispatch): work around missing argument for
6061 2002-05-08 Juergen Vigna <jug@sad.it>
6063 * text.C (leftMargin): handle paragraph leftindent.
6065 * paragraph.C (writeFile): write the new \\leftindent tag.
6066 (validate): handle leftindent code.
6067 (TeXEnvironment): handle paragraphleftindent code again.
6069 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6071 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6072 for paragrap_extra indent code and new token \\leftindent.
6073 (latexParagraphs): handle the leftindent as environment.
6075 * ParameterStruct.h: added leftindent support.
6077 * ParagraphParameters.C (leftIndent): added support functions for
6078 the paragraph left indent.
6080 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6083 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6085 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6088 * text.C (computeBidiTables): No bidi in insetERT.
6090 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6093 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6095 * version.C.in: pre 5
6097 2002-05-02 José Matos <jamatos@fep.up.pt>
6098 * buffer.C (makeDocBookFile): white space changes, add newline to
6100 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6102 * tabular.C (docBook): fix typo.
6104 2002-05-03 Juergen Vigna <jug@sad.it>
6106 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6107 change in LyXText as we can not be sure it was not freed.
6108 (drawOneRow): remove unused code.
6110 * text.C (drawInset): redo the calculation of the need_break_row as
6111 it could have a row which was already freed.
6112 (draw): look at the return value of drawInset and return false if
6113 it also returned false.
6114 (paintRowText): look at the return value of draw and return false if
6115 it also returned false.
6117 * lyxtext.h: added bool return type to drawInset() and draw() so that
6118 if we have a change in the row so that the rowbreak has to be redone
6119 we abort drawing as it will be called again.
6121 2002-05-02 Juergen Vigna <jug@sad.it>
6123 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6124 a change in the maintext also if we're inside an inset.
6125 (Dispatch): set the cursor again after a break line and after the
6126 screen has been updated as it could be we're in a different row.
6128 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6129 to set the cursor behind the pargraph with > size().
6130 (setCursor): check also for the same paragraph when checking where
6131 to put the cursor if we have a NFR inset.
6133 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6134 parts of layout read further up as it still was in the wrong
6137 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6139 * screen.C (drawFromTo): change sine fullRebreak always return
6142 * buffer.C (parseSingleLyXformat2Token): reindent some
6144 * BufferView_pimpl.C (update): change since fullRebreak always
6146 (Dispatch): git rid of the last hardcoded "Standard"s.
6148 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6150 * text2.[Ch] (fullRebreak): make it return void now that we always
6153 2002-04-30 Juergen Vigna <jug@sad.it>
6155 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6156 ert compatibility check for "latex" layout.
6158 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6160 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6161 minipages: use col% instead of p%, and also use the current font.
6162 (makeLaTeXFile): Fix use babel condition.
6163 (parseSingleLyXformat2Token): Correct font when reading old floats.
6165 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6167 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6168 inserting list of floats.
6170 2002-04-25 Herbert Voss <voss@lyx.org>
6172 * MenuBackend.C (expand): don't add the graphics extensions to the
6175 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6177 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6178 non-existing layout, do not complain if it was the default layout
6179 of the original class (bug #342)
6181 2002-04-24 Juergen Vigna <jug@sad.it>
6183 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6184 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6186 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6188 * buffer.C (getBibkeyList): If using \bibliography, return the
6189 option field with the reference itself. Enables us to provide natbib
6190 support when using \bibliography.
6192 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6194 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6196 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6197 natbib is provided by the LaTeX class.
6199 2002-04-23 Juergen Vigna <jug@sad.it>
6201 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6204 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6206 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6208 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6210 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6211 ensuremath around textordmasculine, textordfeminine and
6214 2002-04-19 Juergen Vigna <jug@sad.it>
6216 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6217 reinitializing the buffer otherwise row-dimensions may be wrong.
6218 (update): reset also the selection cursors if they do exits otherwise
6219 their x/y positions may be wrong.
6221 * text2.C (cursorDown): don't enter the inset if we came from a row
6222 above and are one row over the inset.
6224 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6225 really leaving an inset.
6227 2002-04-18 Juergen Vigna <jug@sad.it>
6229 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6230 of the selected paragraph does not have the selected layout also if
6233 * text2.C (setLayout): fixed bug which did not change last selected
6236 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6237 changed the read and substituted \\end_float with \\end_inset!
6239 * BufferView_pimpl.C (cursorPrevious):
6240 (cursorNext): fixed to make it work with rows heigher than the work
6241 area without moving the cursor only the draw of the row.
6242 (workAreaMotionNotify): fix jumping over high rows.
6244 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6246 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6249 2002-04-16 Juergen Vigna <jug@sad.it>
6251 * text2.C (setCursor): set also the irow().
6252 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6254 (cursorDown): support for locking an inset if the x_fix value goes
6255 inside it. That way I can transverse insets too with cursor up/down.
6257 * lyxrow.h: added irow helper function same as other (i) functions.
6259 * BufferView_pimpl.C (cursorPrevious):
6260 (cursorNext): fixed for insets!
6262 2002-04-15 Juergen Vigna <jug@sad.it>
6264 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6265 position otherwise it is wrong in some cases.
6267 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6268 inside the inset before the call.
6270 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6272 * buffer.[Ch] (getBibkeyList): make it const.
6274 2002-04-12 Juergen Vigna <jug@sad.it>
6276 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6278 * text2.C (getCursorX): new helper function
6279 (setCursor): compute also ix_
6280 (setCursorFromCoordinates): set also ix.
6282 * lyxcursor.h: added ix_ and helper functions.
6284 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6286 * buffer.C (insertStringAsLines): dont break paragraph if the this
6287 paragraph is inside an inset which does not permit it!
6289 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6290 also with no chars on this paragraph.
6291 (paintRowText): only paint stuff if it's inside the workarea!
6293 * paragraph.C (breakParagraph): honor keepempty flag and break the
6294 paragraph always below not above.
6296 * BufferView2.C (unlockInset): update the paragraph layout on inset
6297 unlock as we changed paragraph in such a case.
6299 * lyxfind.C (LyXFind): clear the former selection if not found!
6301 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6302 again called in insertChar().
6304 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6305 an inset which uses the whole row!
6306 (rightMargin): ditto.
6307 (insertChar): force a rebreak if we inserted an inset!
6309 2002-03-28 Herbert Voss <voss@lyx.org>
6311 * lyxlength.[Ch]: add inBP() to get the right PS-point
6312 units (BigPoint). With inPixels we have rounding errors
6314 2002-04-11 Juergen Vigna <jug@sad.it>
6316 * text2.C (setCursorFromCoordinates): set iy to the right value.
6317 (setCursor): add check if row->previous exists!
6319 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6320 an old float_type as this was the case in the old code!
6322 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6324 * BufferView2.C (showLockedInsetCursor): use iy
6325 (fitLockedInsetCursor): ditto
6327 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6328 locked insets as there we have the right value now.
6330 * lyxcursor.C: added iy_ variable and iy functions to set to the
6331 baseline of cursor-y of the locked inset.
6333 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6334 (setCursor): fixed for insets which need a full row.
6336 * text.C (rowLastPrintable): don't ignore the last space when before
6337 an inset which needs a full row.
6338 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6339 as last character of a row when before a inset which needs a full row.
6341 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6343 * version.C.in: update date
6345 * text2.C (fullRebreak): try to always return true and see what
6348 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6350 * MenuBackend.C (expand): use Floating::listName
6352 * FloatList.C (FloatList): add listName argument to the built-in
6355 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6356 text associated with the float.
6358 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6360 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6362 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6364 * ShareContainer.h: add a couple of missing typenames.
6366 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6368 * lyxrc.C (getDescription): use _() correctly rather than N_().
6370 2002-03-28 Herbert Voss <voss@lyx.org>
6372 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6373 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6375 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6377 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6378 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6380 2002-03-29 Juergen Vigna <jug@sad.it>
6382 * lyxfunc.C (dispatch): add a missing fitCursor call.
6384 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6385 it was scrolled by a cursor move, so return the bool status.
6387 * BufferView.C (fitCursor): return the bool flag also to the outside
6388 world as this is needed.
6390 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6392 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6393 call the edit() as it is not needed (and wrong) IMO.
6394 (workAreaButtonPress): set the screen_first variable before evt.
6395 unlock the inset as this may change screen_first and then we have
6396 a wrong y position for the click!
6398 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6400 * MenuBackend.C (expand): another translation that I missed
6402 2002-03-28 Juergen Vigna <jug@sad.it>
6404 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6406 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6408 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6410 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6412 * MenuBackend.C (expand): fix export/view/update when there is no
6415 2002-03-27 Herbert Voss <voss@lyx.org>
6417 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6420 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6422 * bufferview_funcs.C (currentState): only show paragraph number
6423 for is DEVEL_VERSION is set.
6425 * lyxfunc.C (dispatch): put warning in INFO channel
6427 * MenuBackend.C (expand): translate the name of floats
6429 * FloatList.C (FloatList): mark the float names for translation
6431 * converter.C (convert): use LibScriptSearch
6433 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6435 * MenuBackend.C (defaults): fix default menu (we might as well get
6438 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6440 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6443 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6445 * lyxvc.C: reorder includes.
6447 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6449 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6452 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6454 * CutAndPaste.C: change layouts earlier on paste
6455 to avoid crashing when calling getFont()
6457 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6459 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6462 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6464 * WorkArea.C: remove 'Pending' debug message.
6466 * most files: ws cleanup
6468 * buffer.[Ch]: ws changes
6470 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6472 2002-03-21 Juergen Vigna <jug@sad.it>
6474 * tabular.C (SetMultiColumn): collapse also the contents of the
6475 cells and set the last border right. Added a Buffer const * param.
6477 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6479 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6482 2002-03-19 Juergen Vigna <jug@sad.it>
6484 * text2.C (clearSelection): reset also xsel_cache.
6486 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6487 where it needs to be called (John tells us to do so too :)
6488 (selectionLost): reset sel_cache.
6490 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6492 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6494 * text2.C (setCursorIntern): put debuging code in INSETS channel
6496 2002-03-19 André Pönitz <poenitz@gmx.net>
6498 * lyxfunc.C: tiny whitespace change
6500 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6502 * ToolbarDefaults.C (init):
6503 * LyXAction.C (init):
6505 * BufferView_pimpl.C (Dispatch):
6506 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6508 2002-03-19 Allan Rae <rae@lyx.org>
6510 * exporter.C (Export): removeAutoInsets before doing anything else.
6511 While I've just introduced a dependency on BufferView this really is
6512 the best place to clean the buffer otherwise you need to cleanup in
6513 a dozen places before calling export or cleanup in a dozen functions
6516 * converter.C (runLaTeX):
6517 (scanLog): Better handling of removeAutoInsets and screen updates.
6519 * lyxfunc.C (dispatch): small whitespace changes
6521 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * WorkArea.C (C_WorkAreaEvent): return a value.
6524 (event_cb): return 1 if we handled the event, 0 otherwise.
6526 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6528 2002-03-18 Juergen Vigna <jug@sad.it>
6530 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6531 (GetAdditionalWidth): ditto.
6535 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6536 inset if we're there actually (probably not used right now but this
6537 is the direction to go for unifying code).
6538 (paste): disable code to clear the selection.
6540 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6541 inside an InsetText and move the check further up as it is in the
6544 * text2.C (pasteSelection): set a selection over the pasted text.
6546 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6548 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6549 and libgraphics to build on Cygwin.
6551 2002-03-15 Juergen Vigna <jug@sad.it>
6553 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6554 inserting an Inset into the paragraph. I know this is not the best
6555 fix but we already use current_view in CutAndPaste so we will remove
6556 all of it's using at the same time.
6558 * buffer.C (sgmlError): deactivated function till it is rewritten in
6559 the right mode, now it can create problems.
6561 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6562 before accessing it.
6564 2002-03-14 Juergen Vigna <jug@sad.it>
6566 * undo_funcs.C (textHandleUndo): do the right thing when updating
6567 the inset after the undo/redo.
6569 * text2.C (setCursor): just some testcode for #44 not ready yet.
6571 * undo_funcs.C (textHandleUndo): set the next() and previous()
6572 pointers of the paragraph to 0 before deleting otherwise we have
6573 problems with the Paragraph::[destructor].
6575 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6576 on a paragraph insertion.
6578 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6580 * buffer.C (asciiParagraph): use += operator for char append to
6583 * paragraph.C (getFontSettings): compare >= not just >
6584 (highestFontInRange): ditto
6587 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6589 * paragraph.C: change several algorithm to be more appripriate for
6590 the problem domain. This is lookip in FontList and in the InsetList.
6592 2002-03-13 André Pönitz <poenitz@gmx.net>
6595 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6597 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6602 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6604 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6606 * Painter.C (display): anon helper function, adjust code for this
6608 (pixmap): remove function.
6610 * Painter.h: remove private display variable.
6612 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6614 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6616 * WorkArea.[Ch]: remove figinset_canvas cruft.
6618 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6620 * lyxtextclass.C (operator): add one item cache optimization.
6622 * bufferlist.h: doxy changes
6624 * bufferlist.C: ws changes
6626 * DepTable.[Ch] (ext_exist): place const in the right spot.
6628 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6630 (workAreaExpose): call resizeInsets when the with BufferView changes.
6631 (Dispatch): adjust for protectedBlank removal
6632 (specialChar): call updateInset if the insert went ok.
6634 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6635 specialChar instead.
6637 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6639 * BufferView.h: doxy change
6641 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6643 * lyxtextclass.C (operator[]): remove non-const version
6644 (defaultLayout): remove non-const version
6646 2002-03-12 Juergen Vigna <jug@sad.it>
6648 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6649 did resize the LyXText too.
6651 * buffer.C (readLyXformat2): set layout information on newly allocated
6654 * tabular.C (OldFormatRead): set layout information on the paragraph.
6656 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6658 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6660 2002-03-11 Juergen Vigna <jug@sad.it>
6662 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6664 (resizeCurrentBuffer): force also the insets to resize themselfes.
6665 (moveCursorUpdate): fixed up for InsetText.
6667 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6670 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6671 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6672 value of Dialogs::tooltipsEnabled().
6673 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6675 2002-03-08 Juergen Vigna <jug@sad.it>
6677 * BufferView_pimpl.C (updateInset): update inset inside inset also
6678 if it isn't inside theLockingInset().
6680 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6682 * buffer.C (asciiParagraph): redo some of the word and line length
6684 (getLists): look for Caption instead of caption.
6686 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6688 * buffer.C (Buffer): initialize niceFile to true
6691 (makeDocBookFile): make sure niceFile is true on exit
6693 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6695 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6697 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6699 * LyXSendto.C: remove.
6700 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6701 * lyx_gui.C: remove now-redundant comment.
6702 * ColorHandler.h: remove forward declaration of class WorkArea.
6703 * lyxfunc.C: remove #include "WorkArea.h".
6705 2002-03-07 Juergen Vigna <jug@sad.it>
6707 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6708 got moved away with the DEPM and also set the inset_owner always
6709 right which before could have been omitted.
6711 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6713 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6714 wanted layout is not found.
6716 2002-03-07 Juergen Vigna <jug@sad.it>
6718 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6720 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6722 * paragraph.C (breakParagraph): use default layout not layout of
6724 (Paragraph): clear ParagraphParameters.
6726 2002-03-06 Juergen Vigna <jug@sad.it>
6728 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6729 otherwise it would not be a valid lenght. Fixed a special case in
6730 the minipage compatibility read where we end the document with a
6733 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6734 was set as it could be 0 for InsetTexts first entry.
6736 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * paragraph.C (writeFile): if layout is empty write out
6739 defaultLayoutName().
6741 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6742 file without named layout we set layout to defaultLayoutName().
6744 2002-03-06 Juergen Vigna <jug@sad.it>
6746 * CutAndPaste.C (copySelection): set layout for new paragraph.
6748 * text.C (prepareToPrint): leave ERT inset left aligned
6749 (leftMargin): don't indent paragraphs inside ERT insets
6751 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6753 * paragraph.C (breakParagraph): dont call clear do the work manually
6755 * paragraph.[Ch] (clear): remove function
6757 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6759 * paragraph.C (Paragraph): dont call clear, the work has already
6762 * lyxtextclass.C (operator): assert if n is empty
6764 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6765 work manually instead.
6767 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6769 * BufferView_pimpl.C: protect selectionLost against text == 0
6771 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6773 * text.C (breakParagraph): fix a setting layout to '0' problem.
6775 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6777 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6778 final location of file, for the included files, and graphics.
6780 2002-03-05 Juergen Vigna <jug@sad.it>
6782 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6784 2002-03-04 Juergen Vigna <jug@sad.it>
6786 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6788 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6789 last column of multicolumn cells.
6790 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6792 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6794 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6795 file if it doesn't go to a temporary file.
6797 * buffer.C (sgmlOpenTag):
6798 (sgmlCloseTag): remove extra newline insertion.
6800 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6802 * text.C (getRowNearY): comment out debug msg
6804 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6806 * text2.C: first -> first_y
6808 * text.C (getRowNearY): add some attemts at a possible
6809 optimization, not working.
6811 * tabular.[Ch]: add BufferParams to several function so that newly
6812 created paragraph can be initialized to he default layotu for the
6815 * tabular-old.C (ReadOld): add buf->params to call of Init
6817 * screen.C: rename text->first to text->first_y
6819 * paragraph.C (breakParagraph): always set layout in the broken
6822 * lyxtextclass.C (Read): remove lowercase
6825 (delete_layout): ditto
6827 * lyxtext.h: rename first -> first_y
6829 * lyxlayout.C (Read): remove lowercase
6832 (obsoleted_by): ditto
6834 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6836 * buffer.C (insertErtContents): add params are to InsetERT
6837 (parseSingleLyXformat2Token): add code to check if a paragraphs
6838 layout really exist.
6839 (parseSingleLyXformat2Token): add params to several inset
6841 (asciiParagraph): remove lowercase, do the layout comparisons with
6844 * BufferView_pimpl.C (cursorNext): first -> first_y
6845 (resizeCurrentBuffer): first -> first_y
6846 (updateScrollbar): first -> first_y
6847 (scrollCB): first -> first_y
6848 (workAreaMotionNotify): first -> first_y
6849 (workAreaButtonPress): first -> first_y
6850 (checkInsetHit): first -> first_y
6851 (cursorPrevious): first -> first_y
6852 (cursorNext): first -> first_y
6853 (Dispatch): add buffer_->params to severl inset contructors
6855 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6857 * lyxlayout.C (Read): remove some debug info that I forgot.
6859 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6860 clean up the code slightly.
6861 (makeLinuxDocFile): ditto
6862 (makeDocBookFile): ditto
6864 * text2.C: layout as string
6866 * text.C: layout as string
6868 * paragraph_pimpl.C: layout as string
6870 * paragraph.[Ch]: layout as string
6872 * lyxtextclasslist.[Ch]: layout as string
6874 * lyxtextclass.[Ch]: layout as string
6876 * lyxtext.h: layout as string
6878 * lyxlayout.[Ch]: layout as string
6880 * lyx_cb.C: layout as string
6882 * bufferview_funcs.C: layout as string
6884 * bufferparams.C: layout as string
6886 * buffer.C: layout as string
6888 * LyXView.[Ch]: layout as string
6890 * LaTeXFeatures.[Ch]: layout as string
6892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6894 * BufferView_pimpl.C: change current_layout to string, remove
6899 (workAreaButtonRelease): layout as string
6901 * BufferView2.C (unlockInset): adjust
6903 * vspace.C (asLatexCommand): use an explict temp variable.
6905 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6907 * Makefile.am: use FRONTEND_*
6909 2002-03-01 Juergen Vigna <jug@sad.it>
6911 * tabular.C (SetWidthOfMulticolCell): changed to something better
6912 I hope but still work in progress.
6913 (recalculateMulticolumnsOfColumn): renamed function from
6914 recalculateMulticolCells as it is more appropriate now.
6915 (SetWidthOfCell): calculate multicols better.
6917 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6919 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6921 * lyxfunc.C (processKeySym): print sequence also if it is
6922 `deleted' (complete)
6924 * kbsequence.C (print): print sequence even if it is deleted
6925 (complete would be a better word, actually).
6927 * lyxfunc.C (dispatch): print complete options after a prefix key
6929 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6931 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6933 * text2.C (setCharFont): eliminate setCharFont code duplication.
6935 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6937 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6938 LFUN_TABULAR_FEATURE (bug #177)
6940 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6942 * Makefile.am: remove figure.h
6944 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6946 * Bufferview_pimpl.C:
6958 * text2.C: remove #include "lyx_gui_misc.h".
6960 * LaTeX.C: added #include <cstdio>
6962 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6964 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6965 that the paragraph following this one can have.
6967 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6969 * vspace.C (asLatexCommand): fix bogus gcc warning
6971 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6973 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6975 * text2.C (setLayout): get rid of redundant code
6977 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6979 * text2.C (incDepth): make sure depth cannot be increased beyond
6982 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6984 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6985 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6987 * PainterBase.h (image):
6988 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6991 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6995 * BufferView_pimpl.C:
6996 * BufferView_pimpl.h:
7016 * sp_spell.C: remove fig inset, and the crap house of
7017 cards that follows it
7019 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7025 * nt_defines.h: move .h into support/
7027 * vms_defines.h: remove
7029 * WorkArea.C: add space in debug output
7033 * buffer.C: add WITH_WARNINGS
7037 * bufferlist.C: s/retrive/retrieve/, add docs
7048 * lyxgui.C: add ID to X error handler
7050 * lyxtestclass.c: fix typo
7052 2002-02-26 Juergen Vigna <jug@sad.it>
7054 * tabular_funcs.C (write_attribute): changed so that some default
7055 attributes are not written at all.
7056 (getTokenValue): set default values before trying to read the
7057 value so we have the return value always set as default if we don't
7058 find the token we search for.
7060 * tabular.C (Write): write bools as bools not as strings!
7062 2002-02-22 Juergen Vigna <jug@sad.it>
7064 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7065 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7067 * text.C (leftMargin): don't add an indent for paragraphs inside
7068 tabular cells (fix #208).
7070 2002-02-21 José Matos <jamatos@fep.up.pt>
7072 * tabular.C (docBook): fixed support for long tables.
7074 2002-02-20 Juergen Vigna <jug@sad.it>
7076 * text2.C (getFont): get the drawing font of the Inset if this
7077 paragraph is inside an inset (only important for InsetERT for now).
7079 * buffer.C (insertErtContents): use new lanugage params in ERT
7082 * CutAndPaste.C: commenting out seemingly uneeded code.
7084 2002-02-19 Allan Rae <rae@lyx.org>
7086 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7087 Iterators might be simple to use but they also get invalidated.
7088 (removeAutoInsets): renamed saved cursor tracking variables and added
7089 some comments to clarify what everything does.
7091 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7098 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7099 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7102 * vc-backend.h: remove #include "support/syscall.h"
7106 * converter.C: rearrange #includes in Lars' approved fashion.
7108 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7109 forward declare class Timeout in the header file.
7111 * XFormsView.C: changes due to the above.
7113 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7116 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7117 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7119 2002-02-18 José Matos <jamatos@fep.up.pt>
7121 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7124 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7126 * a lot of small ws changes
7127 * add a lot of using std::XXX
7128 * use std construcs some places where approp.
7129 * use some exisint stuff from lyxfunctional where approp.
7130 * Make file changes to use partial linking (lets test this now...)
7132 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7136 remove #include "support/syscontr.h" as it's redundant. Always has been.
7144 change Systemcalls::System to Systemcalls::Wait and
7145 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7146 No change of functionality, just reflects the stripped down Systemcalls
7149 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7151 * debug.[Ch]: add a GRAPHICS type to the enum.
7153 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7155 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7157 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7160 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7162 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7163 match the changes below.
7165 * text2.C (toggleInset): if there is not editable inset at cursor
7166 position, try to see if cursor is _inside_ a collapsable inset
7169 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7171 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7172 document menu has a nice checkbox
7174 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7176 * lyxlength.C (asLatexString): change PW to output as percent of
7179 * lengthcommon.C: change '%' to 't%'
7181 * lyxfunc.C (dispatch): a few comments from Martin
7183 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7187 * BufferView_pimpl.h:
7188 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7191 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7193 * vspace.C (inPixels): fix compiler warning
7195 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7197 * lyxfunc.C (getStatus): fix status message for disabled commands.
7199 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7201 * BufferView_pimpl.C: fix crash on close buffer
7202 during selection (#227)
7204 2002-01-27 Herbert Voss <voss@lyx.org>
7206 * buffer.C: link old Figure to new graphic inset
7208 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7210 * FontLoader.C (getFontinfo): Change the latex font names in order
7211 to match the names of type1inst.
7213 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7215 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7217 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7220 (remove_files_with_extension): ditto
7221 (remove_file): ditto
7224 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7225 document is smaller than the work area height. Do not initialize
7226 static variables to 0.
7228 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7230 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7232 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7233 LFUN_LAYOUT_PARAGRAPHS.
7235 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7236 tabular. It is possible to provide a possible cell, which will
7237 typically be the actcell from the corresponding insettabular
7239 * lyxfunc.C (getStatus): small cleanup; disable
7240 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7243 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7245 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7247 * paragraph.C (startTeXParParams):
7248 (endTeXParParams): new methods. The LaTeX code to
7249 start/end paragraph formatting
7250 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7251 empty (fixes bug #200)
7253 * vspace.C (inPixels): adapt to the change below
7254 (inPixels): [later] more cleanups (remove unused variables)
7256 * lyxlength.C (inPixels): change to use a width and a height as
7259 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7261 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7262 Replaced with \paperwidth
7264 * DepTable.C (insert): add std:: qualifier
7266 2002-01-18 Allan Rae <rae@lyx.org>
7268 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7271 * text.C (drawInset): Turned out I didn't know enough about how
7272 rebreaking worked. This fixes most of the redraw problems. I see
7273 an occasional cursor trail when a line is broken now and the cursor
7274 placement can seem out by a few pixels also after a rebreak.
7276 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7278 * buffer.C (parseSingleLyXformat2Token): update because minipage
7279 width is now a LyXLength
7281 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7283 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7286 2002-01-17 Juergen Vigna <jug@sad.it>
7288 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7290 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7291 is set correctly and the inset is updated correctly.
7293 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7295 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7296 the beginning of the loop.
7298 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7300 * lyxrc.C: improve help for use_scalable_fonts
7302 2002-01-17 Allan Rae <rae@lyx.org>
7304 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7306 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7308 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7309 make sure to set their inset_owner to the right value (bug #171)
7311 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7314 * DepTable.C: Implement mtime checking to reduce time spent doing
7317 2002-01-16 Juergen Vigna <jug@sad.it>
7319 * tabular.C (GetAdditionalHeight): one of error fixed.
7321 * lyxrc.C (output): small fix in writing use_pspell.
7323 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7325 * sp_base.h: #include LString.h
7327 2002-01-16 Allan Rae <rae@lyx.org>
7329 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7330 Can someone check this please?
7332 * text.C (drawInset): It was possible that p.row would be removed by
7333 breakAgainOneRow upsetting a few other settings. There may be another
7334 small tweak possible by setting need_break_row = 0 when p.row has been
7335 removed but I don't know enough about the logic here.
7337 2002-01-15 Allan Rae <rae@lyx.org>
7339 * text.C (insertChar): removed conditional truism.
7341 * BufferView2.C (removeAutoInsets): More tweaks.
7342 cur_par_prev could be a stray pointer. Check for trailing empty line
7343 in case last line was cur_par and only had an error inset on it.
7345 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7350 * vc-backend.C (most methods):
7351 * exporter.C (Export):
7352 * converter.C (convert):
7354 * LyXSendto.C (SendtoApplyCB):
7355 * lyxfunc.C (dispatch):
7359 * lyx_cb.C (AutoSave):
7361 * BufferView_pimpl.C (MenuInsertLyXFile):
7362 * buffer.C (runChktex): use Buffer::filePath().
7364 * buffer.h: rename filename to filename_; rename filepath to
7365 filepath_ and make it private
7366 (filePath): new method
7368 * buffer.C (writeFile): use fileName()
7371 * lyx_main.C (init): fix starting of LyX when the binary is a
7372 link from so,ewhere else.
7374 * minibuffer.C: include <cctype> for isprint
7376 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7378 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7379 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7380 name clash with InsetCollapsable's width function.
7382 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7384 * lastfiles.C: include <iterator>
7386 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7388 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7391 * buffer.C (makeLaTeXFile): ditto.
7392 Also make loop operation more transparent.
7394 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7396 * ToolbarDefaults.C: remove trailing comma closing namespace.
7398 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7400 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7403 * trans.C (Load): comment out unused variable, allowed.
7405 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7407 * minibuffer.[Ch] (append_char): new method to recieve input from the
7408 drop-down completion browser. If a key was pressed, then recieve this
7409 char and append it to the existing string.
7410 (peek_event): modify the positioning data passed to the completion
7411 browser so that it can be placed above the minibuffer rather than below.
7412 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * LyXAction.C (init): alloe error-next for readonly documents.
7416 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7419 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * bufferlist.C (readFile): create the buffer _after_ checking that
7424 * lyxfunc.C (verboseDispatch): fix handling of arguments
7426 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7428 * lyxrc.C: use string::erase() instead of initializing to "".
7431 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7433 * BufferView_pimpl.h:
7434 * BufferView_pimpl.C:
7437 * text2.C: tell X when we have made a selection for copying
7439 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * BufferView_pimpl.C (MenuInsertLyXFile):
7442 * lyxfunc.C (menuNew):
7444 (doImport): add shortcuts to directory buttons
7446 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7449 * lyxfunc.C (setStatusMessage):
7450 (getStatusMessage): new methods
7451 (getStatus):use setStatusMessage instead of setErrorMessage
7452 (dispatch): when function is disabled, set error message here
7453 [instead of in getStatus previously]
7455 * BufferView_pimpl.C (workAreaButtonRelease): update
7456 toolbar/menubar here too.
7458 2002-01-13 Allan Rae <rae@lyx.org>
7460 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7461 Now seems indestructible. Remaining task is to audit all other
7462 code affected by deleteEmptyParagraphMechanism. One small quirk
7463 left is that an empty document with an error in the preamble can
7464 be made to report an error but no error box appears. I don't know
7466 (removeAutoInsets): Improved comments.
7468 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7471 * Thesaurus.C: update for Aiksaurus 0.14
7473 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * text2.C (firstParagraph): removed member function, all uses
7476 replaces with ownerParagraph
7477 (redoParagraphs): here
7479 (toggleAppendix): here
7480 * BufferView2.C (insertErrors): here
7481 (setCursorFromRow): here
7483 2002-01-13 Allan Rae <rae@lyx.org>
7485 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7486 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7487 There is still a way to segfault this although you may have to do this
7488 multiple times: Have an InsetERT with an unknown command in it.
7489 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7490 <down-arrow>, <Enter> again, View->DVI, BANG!
7492 * text2.C (setCursor):
7493 (deleteEmptyParagraphMechanism):
7494 * lyxtext.h (setCursor):
7495 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7496 Making use of the return value may help fix other bugs.
7498 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7500 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7502 * LyXView.C (updateMenubar): call MenuBar::update here
7503 (updateToolbar): but not here
7504 (showState): do not update toolbar/menubar
7506 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7507 should need to care about that.
7509 * lyxfunc.C (verboseDispatch): simplify a bit
7510 (getStatus): have a version which takes a pseudoaction, and
7511 another which requires a (kb_action,string).
7513 * LyXAction.C (retrieveActionArg): make it work also when action
7514 is not a pseudo-action.
7515 (getActionName): simplify a bit
7518 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7520 * lyxfunc.C (verboseDispatch): new families of methods with
7521 several ways to specify a command and a bool to indicate whether
7522 the command name and shortcut should be displayed in minibuffer
7523 (eventually, we could extend that to a finer bitmask like
7524 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7525 (dispatch): the pristine dispatch command which just, well,
7526 dispatchs! Note it still sets its result to minibuffer; I'm not
7529 * lyxfunc.h: remove setHintMessage
7531 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7533 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7535 * BufferView_pimpl.C (specialChar): delete new inset if we have
7536 not been able to insert it.
7538 * kbmap.C: revert to using int instead of kb_action, since all we
7539 are dealing with is pseudo-actions.
7541 * LyXAction.C (searchActionArg): change to return int instead of
7542 kb_action, since the result is a pseudoaction.
7544 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7546 * buffer.C (insertErtContents): Fix (partially) the font bug.
7548 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7550 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7551 as the other one is broken on my machine!
7553 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7556 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7558 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7560 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7561 reflect their actual use. Provide compatibility code for older lyxrc
7564 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7566 change names of popup font variables in line with the changes to lyxrc.C
7568 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7570 * buffer.C (asciiParagraph): avoid outputing a word twice after
7573 * lyxrc.C (getDescription): document that document_path and
7574 template_path can be empty.
7576 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7578 * LaTeXFeatures.C (getMacros):
7579 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7581 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7583 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7585 (getPackages): rename feature "floats" to "float". Use an array to
7586 iterate over 'simple' features (i.e. just a \usepackage). Add
7587 handling of "amsmath" (renamed from "amsstyle").
7589 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7591 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7594 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7596 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7597 FuncStaus::FuncStatus & FuncStaus::some_method().
7599 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7601 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7602 of the func_satus stuff. Edited and massaged in various ways by
7605 * lyxfunc.C (getStatus): use FuncStatus
7607 2002-01-08 Juergen Vigna <jug@sad.it>
7609 * text.C (nextBreakPoint): use function Inset::isChar().
7611 * paragraph.C (TeXOnePar): use function
7612 Inset::forceDefaultParagraphs.
7614 * buffer.C (latexParagraphs): use function
7615 Inset::forceDefaultParagraphs.
7617 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7619 * lyx_gui.C (init): set the style of the menu popups to
7620 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7622 2002-01-07 Juergen Vigna <jug@sad.it>
7624 * text.C (setHeightOfRow): small fix
7625 (prepareToPrint): don't look at alignment if we don't have the place
7628 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7630 * box.C: New file. Move the Box methods and functions out of box.h,
7631 following Lars' suggestion.
7633 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7635 * box.h: #include "support/LOstream.h", needed for inlined function.
7638 * lyxtextclasslist.C: added some using std declarations.
7640 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7642 * box.h: make signed dimensions to allow insets wider than
7643 the screen (bug #162)
7645 * BufferView_pimpl.C: add some insetHit debug
7647 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7649 * vc-backend.C: add FIXME
7651 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7653 * lyxfunc.C (getStatus): enable code for showing math font status
7656 2002-01-07 Juergen Vigna <jug@sad.it>
7658 * text.C (nextBreakPoint): removed debug output not needed anymore.
7660 2002-01-06 Juergen Vigna <jug@sad.it>
7662 * text.C (nextBreakPoint): fixed up this function we had this bug
7663 since ever but now hopefully we break row better.
7664 (insertChar): we have to check if an inset is the next char as it
7665 could now happen that a large inset is causing a break.
7667 2002-01-05 Juergen Vigna <jug@sad.it>
7669 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7670 if it doesn't like to be drawed.
7672 2002-01-04 Juergen Vigna <jug@sad.it>
7674 * BufferView2.C (lockInset): forgot to set a cursor.
7676 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7678 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7683 * form_maths_panel.C:
7684 * form_maths_panel.h:
7685 * form_maths_panel.fd: implemented sub- and super- buttons in math
7688 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7689 (or ^ space) to be used as in TeX (req'd by André).
7691 * lyxfunc.C: Allow ^ and _ again to be used both as
7692 super/subscript (mathed) and as themselves (in text).
7694 2002-01-03 Allan Rae <rae@lyx.org>
7696 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7697 "LyX" or the filename of the current buffer if it has one. This is a
7698 modified form of John Levon's patch.
7700 * XFormsView.C (setWindowTitle): also set icon title.
7702 * LyXView.h (setWindowTitle): signature changed.
7703 * XFormsView.h (setWindowTitle): ditto.
7705 2002-01-02 Juergen Vigna <jug@sad.it>
7707 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7709 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7711 * screen.C (topCursorVisible): introduce a temp var for
7712 text->cursor.row(), handle the case where this row is null. (kindo
7715 * text2.C (setCursor): add a couple of asserts.
7717 * paragraph.h (inset_iterator): add -> operator
7719 * paragraph.[Ch] (autoDeleteInsets): remove member function
7721 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7722 cursor pos correctly and handle inset deletion by itself.
7723 (insertErrors): move iterator declaration out of for expression
7725 * lyxtextclass.C: add <algorithm>
7727 * Makefile.am: added the new files to sources, removed layout.C
7729 * layout.C: removed file
7731 * layout.h: remove LYX_DUMMY_LAYOUT
7733 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7737 * lyxtextclass.[Ch]:
7738 * lyxtextclasslist.[Ch]: new files
7740 * include order changes to a lot of files, also changes because of
7743 2001-12-27 Juergen Vigna <jug@sad.it>
7745 * buffer.C (asciiParagraph): more fixes.
7747 * tabular.C (ascii): make ascii export support export of only the
7748 data separated by a column-delimiter.
7749 (ascii): better support for ascii export.
7751 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7753 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7755 * tabular_funcs.C: use a "using std::getline" instead of the
7756 previous fix from Angus (necessary for cxx + lyxstring)
7758 2001-12-24 Juergen Vigna <jug@sad.it>
7760 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7762 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7763 problems. First check a minipage also if we have some ert-contents
7764 (not only on par->size(), second set the right depth of the paragraph
7765 on the relink to the root-paragraph-list!
7767 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7768 which then did not anymore update the main paragraphs on undo/redo!
7770 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7772 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7773 code. Support all font-changing funcs (even those which are not in
7774 menu currently). Support for reporting font settings in
7775 mathed (disabled until Andre provides a function on mathed's side).
7777 * func_status.h (toggle): small helper function to set toggle
7780 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7782 * tabular_funcs.C: getline -> std::getline
7784 2001-12-21 Juergen Vigna <jug@sad.it>
7786 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7787 accessed and could be 0 (I couldn't generate this but it seems
7790 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7792 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7793 * tabular_funcs.h: here and include iosfwd
7795 2001-12-20 Juergen Vigna <jug@sad.it>
7797 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7798 inside inset but undo_par was.
7800 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7802 * Thesaurus.C: always include <config.h> in sources.
7806 * box.h: do not include <config.h> in header files
7808 * text.C (paintLastRow): remove unused variable
7810 * text.C (transformChar):
7812 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7815 * font.C (width): rewrite to use uppercase() instead of
7818 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7820 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7822 * lyxfind.C: clean up of find failure position change
7824 2001-12-20 Juergen Vigna <jug@sad.it>
7826 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7828 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7829 (TeXRow): added to LaTeX a single tabular row.
7830 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7831 (Latex): simplified and finally good LT-h/f support.
7832 (various_functions): just small adaptions for LT-h/f support.
7834 * tabular_funcs.[hC]: added and moved here all not classfunctions
7837 2001-12-19 Juergen Vigna <jug@sad.it>
7839 * tabular.[Ch]: better support for longtabular options (not finished
7842 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * text.C (paintLastRow): use the label font instead of the font of
7845 the last character to compute the size of *_BOX. This makes more
7846 sense and avoids a crash with empty paragraphs.
7847 Use Painter::rectangle to draw EMPTY_BOX.
7849 2001-12-19 Juergen Vigna <jug@sad.it>
7851 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7852 the paragraphs if the replaced paragraph is not the first one!
7853 Tried to delete not used paragraphs but does not work yet so for
7854 now it's inside #ifdef's and by default off!
7856 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7858 * MenuBackend.C: include "lyx_main.h" instead of declaring
7859 lastfiles (actually was declared as LastFiles* instead of a
7862 2001-12-17 Juergen Vigna <jug@sad.it>
7864 * tabular.C (AppendColumn): applied John's fix
7866 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7870 * BufferView_pimpl.h:
7871 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7874 * box.h: new start of class for above
7876 * lyxfunc.C: ignore space-only minibuffer dispatches.
7877 Show the command name when it doesn't exist
7879 * minibuffer.C: don't add empty lines to the history
7881 * minibuffer.C: add a space on dropdown completion
7883 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7885 * text.C: fix line above/below drawing in insets
7887 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7889 * lyxlength.C (LyXLength): Initialize private variables.
7891 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7893 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7894 when inserting error insets.
7896 2001-12-13 Juergen Vigna <jug@sad.it>
7898 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7899 actually sometimes the before-paragraph.
7900 (setUndo): don't clear the redostack if we're not actually undoing!
7902 2001-12-06 Juergen Vigna <jug@sad.it>
7904 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7905 and fixed redoing of main paragraph, so we can use it now ;)
7907 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7909 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7911 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7914 2001-12-13 André Pönitz <poenitz@gmx.net>
7917 * undo_func.C: minor cleanup
7919 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7921 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7922 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7923 font in urw-fonts package which is marked as -urw-fontspecific and
7924 does not work (incidentally, changing the encoding in the
7925 fonts.dir of this package to -adobe-fontspecific fixes the
7928 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7929 is a crash when undoing first paragraph (Juergen, please take a
7930 look). THis does not mean the undo fix is wrong, just that it
7933 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7934 the (Paragraph*) version when needed instead of duplicating the
7937 * text.C (workWidth): use Inset::parOwner to find out where the
7938 inset has been inserted. This is a huge performance gain for large
7939 documents with lots of insets. If Inset::parOwner is not set, fall
7940 back on the brute force method
7942 * paragraph_pimpl.C (insertInset):
7943 * paragraph.C (Paragraph):
7944 (cutIntoMinibuffer): set parOwner of insets when
7945 inserting/removing them
7947 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7949 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7955 * mathed/formulabase.C:
7956 * mathed/math_cursor.[Ch]:
7957 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7960 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7962 * lyxlength.[Ch] (operator!=): new function
7964 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7966 * text.C (workWidth): use Inset::parOwner to find out where the
7967 inset has been inserted. This is a huge performance gain for large
7968 documents with lots of insets. If Inset::parOwner is not set, fall
7969 back on the brute force method
7971 * paragraph_pimpl.C (insertInset):
7972 * paragraph.C (Paragraph):
7973 (cutIntoMinibuffer): set parOwner of insets when
7974 inserting/removing them
7976 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7978 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7980 * tabular-old.C (getTokenValue):
7981 * tabular.C (getTokenValue):
7982 (write_attribute): new versions for LyXLength
7983 (everywhere): adjust the use of widths
7985 * tabular.h: change the type of widths from string to LyXLength
7987 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7989 * paragraph.C: fixed missing line number count when exporting
7990 Environments to LaTeX file
7992 * buffer.C: added informational message for checking line numbers.
7994 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7996 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7997 paragraph, do the 'double space' part, but not the 'empty
8000 * text.C (workWidth): small optimization
8001 (getLengthMarkerHeight): use minimal size for negative lengths.
8003 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8005 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8007 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8009 2001-12-11 André Pönitz <poenitz@gmx.net>
8012 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8014 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8016 * text2.C: keep selection on a setFont()
8018 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8020 * lyx_cb.C: another bv->text misuse, from insert label
8022 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8025 * kbsequence.C: re-instate nmodifier mask
8027 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8029 * lyx_main.h: make lyxGUI private.
8031 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8033 * lyxfind.C: place the cursor correctly on failed search
8035 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8037 * text.C (getLengthMarkerHeight): for small heights, the arrows
8038 are not always on top/bottom of the text
8039 (drawLengthMarker): smaller arrows; take the left margin in
8040 account; draw also vfills.
8042 (paintLastRow): remove special code for vfill and standard spaces,
8043 since everything is handled in drawLengthMarker now.
8045 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8047 * buffer.C (insertErtContents): try to handle font and language
8048 interaction a bit better.g
8050 * ColorHandler.C (updateColor): change the hash to cover the whole
8051 LColor enum, ws cleanup
8052 (getGCLinepars): ditto
8053 (getGCLinepars): only lookup in the linecache once.
8055 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8057 * iterators.C (operator++): Make the iterator more robust
8059 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8061 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8063 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8066 * text.C: better added space drawing
8068 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8071 * BufferView2.C: fix layout combo update on inset unlock
8073 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8075 * Makefile.am: don't compile unused files
8077 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8081 * LyXAction.C: remove old LFUN_LAYOUTNO
8083 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8085 * paragraph_pimpl.h:
8086 * paragraph_pimpl.C: isTextAt() doesn't need font param
8088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8091 * lyxlex.C: little cleanup
8093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8095 * BufferView_pimpl.C: fix insertAscii for insets
8097 2001-12-05 Juergen Vigna <jug@sad.it>
8099 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8100 set the right font on the "multi" paragraph paste!
8102 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8108 * lyxlength.C: remove out-commented code.
8124 * vc-backend.C: change "while(" to "while ("
8126 * lyxlength.[Ch]: add zero function to check if length is zero or
8128 * lyxgluelength.C: use it
8130 2001-12-05 Allan Rae <rae@lyx.org>
8132 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8133 Works for 2.95.3, from what I understand of Garst's reports this should
8134 work for other g++ versions. We're screwed if the abs(int) definition
8135 changed between bugfix releases of gcc.
8137 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8139 * text.C: fix chapter label offset !
8141 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8144 * text.C: fix hfill at end of line, clean up
8146 2001-12-04 Juergen Vigna <jug@sad.it>
8148 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8149 that we force an update of the inset and it's owners if neccessary.
8151 2001-12-03 Juergen Vigna <jug@sad.it>
8153 * text.C (rowLast): simplified code
8155 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8157 * lyxfunc.C: fix show options on timeout
8159 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8161 * screen.C (topCursorVisible): scroll half a page when the cursor
8162 reached top of bottom of screen
8164 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8166 * minibuffer.C: deactivate on loss of focus
8168 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8170 * vspace.[Ch] (operator!=): add operator.
8172 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8174 * BufferView_pimpl.C: refuse to open an inset when
8175 there's a selection.
8177 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8179 * BufferView_pimpl.C: allow to click on RHS of full row insets
8181 2001-11-30 Juergen Vigna <jug@sad.it>
8183 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8184 insets for undo reasons.
8186 2001-11-28 André Pönitz <poenitz@gmx.net>
8188 * vspace.[Ch]: cosmetical changes
8190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8200 * kbsequence.C: part re-write of old kb code
8203 * WorkArea.C: remove Lgb_bug_find_hack
8205 2001-11-30 José Matos <jamatos@fep.up.pt>
8207 * buffer.C (makeDocBookFile): add a comment to point a hack.
8208 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8209 Fixed a double write of labels.
8211 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8214 * LaTeX.h Fixed bug in LaTeX class where it would not
8215 re-run latex if no depfiles were changed, but the .dvi was removed.
8217 2001-11-28 André Pönitz <poenitz@gmx.net>
8219 * all the files from the change on 2001/11/26:
8220 use lyx::layout_type instead of LyXTextClass::size_type
8221 use lyx::textclass_type instead of LyXTextClassList::size_type
8223 2001-11-29 Juergen Vigna <jug@sad.it>
8225 * text.C: added support for paragraph::isFreeSpacing()
8227 * buffer.C: same as above
8229 * paragraph.h: inserted isFreeSpacing() function to enable
8230 FreeSpacing inside InsetERT.
8232 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8233 of the paragraph's in the cut/copy buffer to 0!
8235 * text2.C (removeRow): remove the assert as it can!
8237 * lyxtext.h: added helper function firstRow returning firstrow and
8238 made firstrow private again.
8240 * BufferView2.C (lockInset): don't relock if we're already locked!
8242 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8244 (removeRow): added Assert::(firstrow)
8246 * debug.C: forgot to add INSETTEXT here.
8248 2001-11-28 Juergen Vigna <jug@sad.it>
8250 * sp_spell.C (initialize): changed error text to more general
8251 spellchecker command use (not only ispell!)
8253 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8255 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8257 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8259 * vspace.C: initialise lyxgluelength on failure
8261 2001-11-28 Allan Rae <rae@lyx.org>
8263 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8264 declaration & definition that looks like a function declaration.
8266 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8268 * BufferView2.C (copy):
8269 (copyEnvironment): do not clear the selection when doing a copy.
8271 * text.C (paintFirstRow): compilation fix
8273 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8275 * tabular.C (Latex): correct line count when writing latex.
8277 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8279 * paragraph_pimpl.h:
8280 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8283 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8287 * LColor.C: change vfillline->added_space
8289 * text.C: add markers and text for added space
8291 * vspace.C: fix comment
8293 2001-11-28 André Pönitz <poenitz@gmx.net>
8295 * paragraph.C: whitespace changes
8296 * all the other files from the change on 2001/11/26:
8297 change *::pos_type into lyx::pos_type
8299 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8301 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8302 language of the document when inserting error insets.
8304 2001-11-26 André Pönitz <poenitz@gmx.net>
8306 * BufferView_pimpl.[Ch]:
8314 * paragraph_pimpl.[Ch]:
8317 * text2.C: reduce header dependencies, introduce type for positions
8319 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8321 * <various>: change to use Alert.h
8323 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8325 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8326 when encountering an unknown token.
8327 (readLyXformat2): Show an error message if there were unknown tokens.
8329 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8332 * BufferView_pimpl.C:
8336 * text2.C: use par->isInset()
8338 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8340 * paragraph_pimpl.h:
8341 * paragraph_pimpl.C: cleanup
8343 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8345 * text2.C (removeRow):
8346 * text.C (setHeightOfRow): remove useless (and costly) call to
8349 2001-11-20 Allan Rae <rae@lyx.org>
8351 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8352 Now need Inset*::checkInsertChar() to return true for appropriate
8353 cases so that the characters in the minibuffer will actually be
8356 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8358 * text.C: change the order of the includes.
8359 (workWidth): initialize it at once.
8360 (workWidth): make maxw unsigned
8361 (setHeightOfRow): remove unused variable (inset)
8362 (selectSelectedWord): remove unused variable (inset)
8363 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8365 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8367 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8368 server is not running.
8370 (closeConnection): add debug info when server is disabled.
8372 * ColorHandler.C (getGCForeground): send debug message to GUI
8375 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8377 * kbmap.C (bind): modify because return conventions of
8378 kb_sequence::parse have changed.
8380 * kbsequence.C (parse): only ignore spaces and not any stupid
8381 control character. This avoids tests like s[i] <= ' ', which are
8382 guaranteed to fail with 8bit characters and signed chars.
8383 Change return code to string::npos when there have been no error
8384 (0 was a bad idea when error is at first character)
8386 2001-11-14 José Matos <jamatos@fep.up.pt>
8389 * buffer.C (simpleDocBookOnePar): removed unused argument.
8391 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8393 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8394 insets which are part of a word. Paragraph::isLetter takes care of
8395 that now. Use Paragraph::isInset to identify insets.
8396 (selectSelectedWord): do not test for hyphenation break.
8398 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8399 that protected spaces are considered as spaces.
8401 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8404 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8407 * lyxserver.C: fix it. and small cleanup.
8409 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8411 * BufferView_pimpl.C: use inline helpers
8414 * LaTeXFeatures.C: fix typos
8417 * Spacing.C: move spacing_string into class
8419 * ToolbarDefaults.C: move stuff into namespace anon
8421 * layout.h: update enum
8423 * lyxfunc.C: use better debug
8425 * minibuffer.h: fix typo
8429 * WorkArea.C: add and use Debug::WORKAREA
8433 * text2.C: code re-organisation, inline helpers
8435 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8437 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8438 std::vector.empty().
8440 2001-11-09 Allan Rae <rae@lyx.org>
8442 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8443 '\n's after tables. Tabular and ERT inset work now makes this no
8446 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8449 * minibuffer.C: fix crash, improve drop-down completion
8451 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8454 * lyxserver.C: invalidate fd's when doing endPipe()
8456 2001-11-08 José Matos <jamatos@fep.up.pt>
8458 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8459 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8462 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8464 2001-11-07 José Matos <jamatos@fep.up.pt>
8467 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8470 * buffer.C (sgmlOpenTag):
8471 * buffer.C (sgmlCloseTag): removed debug info.
8473 * buffer.h (sgmlOpenTag):
8474 * buffer.h (sgmlCloseTag): made public.
8476 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8478 * buffer.C (saveParamsAsDefaults):
8479 * lyx_cb.C (MenuLayoutSave): remove
8481 * LyXAction.C (init):
8483 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8485 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8487 * buffer.C (setPaperStuff): removed from here...
8489 * bufferparams.C (setPaperStuff): ... and moved there.
8491 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8495 * XFormsView.C: add support for drop-down completion
8497 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8499 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8502 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8504 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8507 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8509 * lyx_main.C: change ref to known bugs
8511 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8513 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8514 to work around older babel problems.
8516 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8518 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8520 2001-10-24 Juergen Vigna <jug@sad.it>
8522 * tabular-old.C (ReadOld): below variable changes reflected.
8524 * tabular.[Ch]: added ltType struct for longtable header/footer
8525 defines and changed all instances where they are used. Added
8526 future support for double top/bottom rows.
8528 2001-10-24 José Matos <jamatos@fep.up.pt>
8530 * buffer.h (docbookHandleCaption):
8531 * buffer.C (docbookHandleCaption): removed unused function.
8532 (makeDocBookFile): moved docbook supported version to v4.1.
8534 2001-10-24 José Matos <jamatos@fep.up.pt>
8537 * tabular.C (docbookRow): new function to export docbook code of a row.
8538 (DocBook): now honors the longtable flags.
8540 2001-10-23 José Matos <jamatos@fep.up.pt>
8543 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8544 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8546 * buffer.C (makeLinuxDocFile):
8547 (makeDocBookFile): reworked the preamble, more clean, and with
8548 support for lyx defined entities. Changed the document declaration
8549 to be more XML friendly.
8551 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8552 if we need to output XML that should be done with a filter.
8554 2001-10-22 Juergen Vigna <jug@sad.it>
8556 * sp_pspell.h (class PSpell): add alive function needed in the
8557 controller to see if the spellchecker could be started.
8559 2001-10-22 Juergen Vigna <jug@sad.it>
8561 * buffer.C (insertStringAsLines): modify the font for inserting
8562 chars in certain conditions by calling checkInsertChar(font).
8564 2001-10-19 Juergen Vigna <jug@sad.it>
8566 * text.C (workWidth): use getRow instead of wrong algorithm.
8567 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8569 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8574 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8576 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8578 * text.C (workWidth): do not search for the exact row when
8579 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8580 optimization for big documents.
8582 2001-10-18 Juergen Vigna <jug@sad.it>
8584 * text.C (workWidth): new function with added Inset * parameter.
8586 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8590 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8591 change return type of getColumnNearX.
8594 * text.C (changeRegionCase): use uppercase/lowercase instead of
8597 (rightMargin): simplify code by factoring out the uses of
8602 (appendParagraph): use Paragraph::size_type
8604 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8606 * vspace.C (asLatexString): add a missing break
8608 2001-10-15 Herbert Voss <voss@perce.de>
8610 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8612 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8614 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8617 2001-10-10 André Pönitz <poenitz@gmx.net>
8619 * lyxfunc.C: removed greek_kb_flag.
8621 2001-10-10 Herbert Voss <voss@perce.de>
8623 * lyx_main.C: delete global string help_lyxdir.
8625 2001-10-09 Herbert Voss <voss@perce.de>
8627 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8629 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8631 * lyx_main.C: added global string help_lyxdir.
8633 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8635 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8637 * lyxrc.C (set_font_norm_type): support iso8859-4
8639 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8641 * LaTeX.C (deplog): add another regex for MikTeX
8643 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8645 * lyxrc.C (set_font_norm_type): support iso8859-3
8647 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8649 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8651 * LaTeXFeatures.C: remove special case of french and index
8653 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8654 before \begin{document}). This solves several incompatibilities.
8656 2001-10-03 Garst Reese <reese@isn.net>
8658 * lyx_cb.C: change CheckTex error msg.
8660 2001-10-03 José Matos <jamatos@fep.up.pt>
8662 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8664 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8666 * .cvsignore: update
8668 * lyx_main.C (commandLineVersionInfo): use new style version info.
8670 * buffer.C (writeFile):
8673 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8675 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8677 * version.h: update to use stuff in version.C
8679 * version.C.in: new file. Contains version information determined
8680 at compile time. This is a merging of version.h and
8683 2001-10-03 Juergen Vigna <jug@sad.it>
8685 * BufferView_pimpl.C (update): don't change "dirty" status in
8688 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8690 * WorkArea.C (c-tor): re-position version string slightly.
8692 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8694 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8695 revert to previous code.
8697 WorkArea.[Ch]: (show, destroySplash): methods removed.
8699 WorkArea.C: rework code so that it's an amalgam of the codes before and
8700 after the splash screen was moved to WorkArea.
8702 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8705 * vspace.C (inPixels):
8708 * buffer.C (insertStringAsLines):
8709 (asciiParagraph): fix types to be large enough
8711 * lyxlex_pimpl.h: change member status from short to int
8713 * layout.h: fix type of endlabeltype
8716 * kbsequence.C (parse): change return type to string::size_type
8718 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8721 * Bullet.C (bulletSize):
8722 (bulletEntry): do not use short ints as parameters
8724 * BufferView2.C (insertLyXFile): change a char to an int.
8726 * WorkArea.C (WorkArea): remove unneeded floats in computation
8728 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8730 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8732 * paragraph.C (asString): Do not ignore newline/hfill chars when
8733 copying to the clipboard.
8735 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8737 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8738 after a multi-line inset.
8740 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8742 * paragraph.C (validate): Set NeedLyXFootnoteCode
8744 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8746 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8747 and decrease-error to decrease.
8749 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8751 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8752 it more readable (should be equivalent)
8754 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8756 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8758 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8760 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8761 of a cursor (row, etc.) after a character has been deleted
8762 (deleteEmptyParagraphMechanism): call the method above on _all_
8763 cursors held by the LyXText when a double space has been
8766 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8768 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8770 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8772 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8773 background. Use greyOut() and the new show() methods to toggle between
8774 the foreground and background. Add code to remove the splash after
8775 its initial showing.
8777 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8778 (create_forms): no longer call Dialogs::showSplash.
8780 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8782 * .cvsignore: add version_info.h
8784 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8786 * version_info.h.in: new file
8788 * Makefile.am: add version_info.h.in
8790 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8791 version_info.h instead of VERSION_INFO
8793 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8795 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8796 The ERT inset now returns string().
8798 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8800 * lyxtext.h, text.C (selectNextWord): renamed as
8801 selectNextWordToSpellcheck.
8803 * text.C (selectNextWordToSpellcheck): Modified to not select
8804 words inside an ERT inset.
8806 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8808 * lyx_cb.C (MenuLayoutSave): change a bit the question
8810 * sp_base.h: include <sys/types.h>
8812 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8814 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8816 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8818 * several files: fix typos in user-visible strings
8820 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8822 * text2.C (pasteSelection): do not set the selection, since it
8823 will be cleared later. Actually, the intent was to fix the way the
8824 selection was set, but I figured rmoving the code was just as good.
8826 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8828 * FontLoader.C (available): Check if font is available without
8831 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8833 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8835 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8837 * lyxrc.[Ch]: added display_graphics variable and associated code.
8839 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8841 * bufferparams.C (hasClassDefaults): new method. Returns true if
8842 the buffer parameters correspond to known class defaults
8844 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8846 * XFormsView.C (show): set minimum size to the main window.
8848 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8850 * text2.C (copySelection):
8852 * lyxfind.C (LyXReplace):
8853 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8854 LyXText::selectionAsString.
8856 * paragraph.C (asString): add "label" argument to the second form
8858 * text2.C (selectionAsString): add "label" argument and pass it to
8859 Paragraph::asString.
8861 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8863 * lyx_main.C (commandLineHelp): remove version information
8865 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8867 * lyx_main.C: add -version commandline option
8869 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * paragraph.h: make the optional constructor arg required instead.
8872 some modifications to other files because of this.
8874 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8876 * lyxserver.C (C_LyXComm_callback): make it static
8878 * lyx_main.C (error_handler): make it static
8880 * lyx_gui.C (LyX_XErrHandler): make it static
8882 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8884 * WorkArea.C: make the extern "C" methods static.
8886 * Makefile.am (lyx_LDADD): simplify
8888 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8890 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8891 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8893 * LyXAction.C (init):
8894 * lyxfunc.C (dispatch): associated code removal.
8896 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8898 * lyxfont.h (isSymbolFont): shut off warning
8900 * text.C (setHeightOfRow):
8901 (getVisibleRow): fix crash with empty paragraphs which have a
8904 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8906 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8909 2001-09-04 José Matos <jamatos@fep.up.pt>
8912 * tabular.C (docbook): rename docBook method to docbook.
8914 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8916 * Makefile.am: add dependencies to main.o.
8918 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8920 * FontLoader.C (available): Return false if !lyxrc.use_gui
8922 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8924 * FontInfo.C (query):
8925 * converter.C (view):
8926 * importer.C (Import):
8927 * exporter.C (Export): Can not -> cannot.
8929 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8931 * BufferView_pimpl.C: allow to create index inset even if
8934 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8936 * buffer.C (getLists): replace boost::tie code with an explicit pair
8937 as boost::tie can break some compilers.
8939 * iterators.h: Added a std:: declaration to the return type of
8942 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8944 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8947 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8949 * iterators.[Ch]: New files. Provide paragraph iterators.
8951 * buffer.C (changeLanguage): Use paragraph iterators.
8952 (isMultiLingual): ditto
8954 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8956 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8958 * FontLoader.C: Support for cmr font.
8960 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8962 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8963 (available): New method.
8965 * FontInfo.C (getFontname): Use scalable fonts even when
8966 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8969 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8971 * converter.C (Formats::view): reverted! Incorrect fix.
8973 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8975 * converter.C (Formats::view): only output the -paper option
8976 if the dvi viewer is xdvi, thereby fixing bug #233429.
8978 2001-08-23 Herbert Voss <voss@perce>
8980 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8982 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8984 * Spacing.h (Spacing): Set space to Default on in the default
8987 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8989 * vc-backend.h (RCS::versionString): add RCS to version
8990 (CVS::versionString): add CVS to version
8992 * vc-backend.C (scanMaster): do not add CVS to version.
8993 (scanMaster): do not add RCS to version
8995 * lyxvc.C (versionString): new method
8997 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8999 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * Spacing.C (set): initialize fval
9003 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9005 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9008 2001-08-16 Juergen Vigna <jug@sad.it>
9010 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9012 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9014 * BufferView_pimpl.C:
9017 * text2.C: setParagraph takes linespacing now
9019 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9021 * LyxAction.C: add internal LFUN_CITATION_INSERT
9023 * LyXView.C: actually apply fix
9025 * bufferlist.C: fix open non-existent file
9027 * lyxfind.C: fix indentation
9029 * lyxfunc.C: remove unneeded assert, fix typo
9031 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9033 * MenuBackend.C: use "Floatname List"
9035 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9037 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9038 when converting LaTeX layout to insetERT.
9039 Generate a non-collapsed float when reading old float
9041 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9043 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9046 2001-08-13 Juergen Vigna <jug@sad.it>
9048 * text.C (fill): return 0 instead of 20 as this seems to be the more
9051 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9053 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9056 2001-08-13 Juergen Vigna <jug@sad.it>
9058 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9060 (SearchBackward): comment out the unlocking of the inset_owner this
9061 should not be needed!
9063 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9065 * Many files: Remove inherit_language, and add latex_language
9067 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9070 2001-08-10 Juergen Vigna <jug@sad.it>
9072 * text.C (prepareToPrint): fixed hfill-width in draw!
9074 * BufferView2.C (selectLastWord): save the selection cursor as this
9075 now is cleared in the function LyXText::clearSelection!
9077 2001-08-08 Juergen Vigna <jug@sad.it>
9079 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9080 BACKSPACE type functions.
9082 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9083 is only cutted from the document but not put in the cut-buffer, where
9084 still the old stuff should be.
9086 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9088 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9090 * tabular.C (SetWidthOfCell): fixed special case where the width
9092 (LeftLine): handle '|' in align_special.
9094 (LeftAlreadyDrawed): ditto
9095 (SetWidthOfCell): ditto
9097 2001-08-07 Juergen Vigna <jug@sad.it>
9099 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9101 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9103 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9104 * lyxlex.[hC]: ditto
9106 2001-08-06 Juergen Vigna <jug@sad.it>
9108 * text.C (getVisibleRow): fix up row clearing a bit.
9110 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9112 * minibuffer.C: make sure the X server sees the changes in the input.
9114 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9116 * paragraph.C (getFont): split into...
9117 (getLabelFont): this
9118 (getLayoutFont): and this
9119 * paragraph_pimpl.C (realizeFont): calling this
9121 * text2.C (getFont): split into...
9122 (getLayoutFont): this
9123 (getLabelFont): and this
9124 (realizeFont): all three calling this
9126 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9129 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9133 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9135 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9136 layouts from the Quote inset insertion.
9138 2001-08-03 Juergen Vigna <jug@sad.it>
9140 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9142 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9143 only if status not is already CHANGED_IN_DRAW (second level).
9145 * text.C (draw): don't set the need_break_row when inside an
9148 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * buffer.C (parseSingleLyXformat2Token): handle more latex
9153 * bufferview_funcs.[hC]: change function names to
9154 begin with small char, adjust other files.
9156 2001-08-02 André Pönitz <poenitz@gmx.net>
9159 BufferView_pimpl.C: remove broken special code for math-greek
9161 2001-08-02 Juergen Vigna <jug@sad.it>
9163 * BufferView_pimpl.C (update): redone this function so that we
9164 update the text again if there was a CHANGE_IN_DRAW.
9166 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9167 (drawFromTo): added a new internal bool which is used by draw() and
9169 (general): some cursor drawing problems fixed.
9171 2001-08-01 Juergen Vigna <jug@sad.it>
9173 * lyxfind.C (LyXFind): fixed
9174 (SearchForward): ditto
9175 (SearchBackward): ditto
9177 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9178 spurius drawing of the cursor in the main area.
9180 * text2.C (status): small fix which could lead to a segfault!
9181 (clearSelection): remove unneeded BufferView param.
9183 2001-08-01 André Pönitz <poenitz@gmx.net>
9185 * lyxfunc.C: small change due to changed mathed interface
9187 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9189 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9191 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9193 * lyxfunc.c: fail gracefully if file doesn't exist
9198 * BufferView_pimpl.C: IsDirWriteable() proto changed
9200 * LyXView.C: fix updateWindowTitle() to store the last title
9202 2001-07-31 Juergen Vigna <jug@sad.it>
9204 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9205 the font (wrong since using of Paragraph::highestFontInRange).
9207 * paragraph.C (highestFontInRange): added a default_size parameter.
9209 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9210 (setHeightOfRow): reformat
9212 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9214 * converter.[hC] + affected files: move to (inital-char)lowercase
9217 * ParagraphParameters.C (ParagraphParameters): remove commented code
9219 * PainterBase.[Ch]: remove commented code
9221 * LaTeXFeatures.h: add "bool floats" for float.sty
9223 * LaTeXFeatures.C (LaTeXFeatures): init floats
9224 (require): handle float
9225 (getPackages): do it with floats
9227 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9229 * BufferView_pimpl.C (Dispatch): improve handling of
9230 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9232 * commandtags.h: #include lyxfont.h here temporarily to avoid
9235 * bufferlist.h: include LString.h here.
9237 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9239 * text2.C (getStringToIndex): new method.
9241 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9243 * *: Reduced header file dependencies all over.
9245 2001-07-30 Baruch Even <baruch@lyx.org>
9247 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9249 2001-07-29 Baruch Even <baruch@lyx.org>
9251 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9253 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9255 * ParameterStruct.h (endif): add a default constructor to make
9256 sure that all variables is initialized.
9258 * ParagraphParameters.C (ParagraphParameters): adjust
9260 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9262 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9263 index; also, check that there is something to index, and that it
9264 does not span over several paragraphs.
9265 (doubleClick): use WHOLE_WORD_STRICT for double click.
9267 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9269 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9272 2001-07-26 Baruch Even <baruch@lyx.org>
9274 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9275 an InsetFig figure, backwards compatible reading of old figure code.
9277 2001-07-27 Juergen Vigna <jug@sad.it>
9279 * text2.C: font.realize function adaption.
9281 * text.C (draw): add a warnings lyxerr text if needed.
9283 * layout.C: font.realize function adaption.
9285 * language.C: add inherit_language and implement it's handlings
9287 * bufferview_funcs.C (StyleReset): remove language parameter from
9288 font creation (should be language_inherit now).
9290 * bufferparams.C (writeFile): handle ignore_language.
9292 * paragraph.C (getFontSettings): the language has to be resolved
9293 otherwise we have problems in LyXFont!
9295 * lyxfont.C (lyxWriteChanges): added document_language parameter
9296 (update): removed unneeded language parameter
9298 * paragraph.C (validate): fixed wrong output of color-package when
9299 using interface colors for certain fonts in certain environments,
9300 which should not seen as that on the final output.
9302 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9304 * BufferView_pimpl.C:
9309 * LyXAction.C: add thesaurus support
9312 * lyxfind.C: add "once" parameter, for thesaurus, to not
9313 move to the next match
9315 2001-07-26 Juergen Vigna <jug@sad.it>
9317 * lyxfont.C (realize): honor ignore_language too!
9320 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9322 * text.C (draw): one place more for ignore_language to not draw
9325 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9327 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9329 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9331 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9332 the minipage conversion problem.
9334 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9339 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * BufferView.h: don't forward declare WorkArea
9343 * BufferView.C: don't include WorkArea.h
9345 2001-07-25 André Pönitz <poenitz@gmx.net>
9349 * lyxfunc.C: new LFUN 'math-space'
9351 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9353 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9355 * text2.C (toggleInset): call open/close
9357 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * lyxfunc.C (dispatch): add debug for the disabled case
9361 * font.C (buttonText): make similar to rectText
9363 * buffer.C (readInset): comment out parsing of insetlist and
9366 * PainterBase.C (rectText): small correction
9368 * BufferView_pimpl.C: comment out insettheorem and insetlist
9369 * LyXAction.C: ditto
9370 * commandtags.h: ditto
9372 2001-07-24 Juergen Vigna <jug@sad.it>
9374 * text.C (draw): honor the ignore_language.
9376 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9378 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9380 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9383 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9385 * lyxtext.h: remove unused (and unimplemented) methods
9387 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9389 * text.C (getVisibleRow): honor background color
9392 * Painter.h: remove default color argument for fillRectangle
9394 * text.C (backgroundColor): new method
9396 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * text.C (getVisibleRow): adjust
9400 * font.[Ch] (rectText): new method, metrics
9401 (buttonText): new method, metrics
9403 * PainterBase.[hC]: make rectText and buttonText always draw and take
9406 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9408 * ToolbarDefaults.C (read):
9409 * MenuBackend.C (read): allow escaping in all strings
9411 * BufferView_pimpl.C (insertAndEditInset): new method.
9412 (Dispatch): use insertAndEditInset whenever appropriate.
9414 * BufferView_pimpl.C (insertNote): removed
9416 * BufferView_pimpl.C (smartQuote): new method, moved from
9417 BufferView; if an insetquote cannot be inserted, insert a '"'
9420 * BufferView2.C: remove insertCorrectQuote();
9422 * lyxfunc.C (getStatus): Add support for all remaingin
9425 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9427 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9428 command (necessary to pass " as parameter of self-insert.
9430 * text.C (selectWordWhenUnderCursor):
9431 (selectWord): add word_location parameter
9432 (selectWordWhenUnderCursor): same + remove special code for word
9434 (selectNextWord): use kind() to guess type of insetspecialchar,
9437 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9438 (insertErtContents): create ert insets as collapsed.
9439 (readInset): better compatibility code for Info inset.
9441 2001-07-20 Juergen Vigna <jug@sad.it>
9443 * lyxfunc.C (dispatch): use always LyXFind now!
9445 * text2.C (init): add a reinit flag so that the LyXText can be
9446 reinited instead of deleted and reallocated (used in InsetText).
9448 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9454 2001-07-18 Juergen Vigna <jug@sad.it>
9456 * text.C (selectNextWord): handle insets inside inset by calling
9457 always the bv->text functions so that we can go up the_locking_inset!
9459 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9460 in strange locations when inside an inset!
9462 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9463 handling to include insets.
9465 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9467 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9469 * LyXAction.C (init):
9471 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9472 LIGATURE_BREAK, since the name is so stupid.
9474 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9476 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9479 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9481 * sp_form.[Ch]: remove.
9483 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9485 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9488 * src/buffer.C (readInset): ditto.
9490 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9492 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9493 menuSeparator(), endOfSentenceDot(), ldots() and
9494 hyphenationPoint(), which are therefore removed.
9495 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9497 * LyXAction.C (init):
9498 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9500 * paragraph.C (getWord): removed.
9502 * BufferView_pimpl.C (Dispatch): use last word or selection for
9503 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9505 * lyx_main.C (queryUserLyXDir): do not ask before creating
9506 user_dir, except if it has been named explicitely.
9508 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9510 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9511 a document of zero size.
9513 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9515 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9516 approriately in the c-tor and in require().
9517 (getPackages): output the appropriate LaTeX for natbib support.
9519 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9520 variables "use_natbib" and "use_numerical_citations" when reading the
9522 (readInset): read the various natbib cite commands.
9523 (validate): white-space change.
9525 * bufferparams.[Ch]: new variables "bool use_natbib" and
9526 "bool use_numerical_citations".
9527 (writeFile): output them in the LyX file.
9529 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9531 * lyxfunc.C (getStatus): add support for all the inset insertion
9534 * text2.C (insertInset):
9535 * paragraph.C (insetAllowed):
9536 * BufferView_pimpl.C (insertInset): update to take in account the
9537 renaming of insertInsetAllowed
9539 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9541 * text2.C (getInset): new method. returns inset at cursor position.
9543 * BufferView_pimpl.C (Dispatch): changes because of this.
9545 * LyXAction.C (init): rename open-stuff to inset-toggle.
9547 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9549 * text2.C (toggleInset): renamed from openStuff; use
9552 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9554 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9556 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9558 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9560 * buffer.C (readLyXformat2): Add filename to the error dialog
9562 2001-07-18 Juergen Vigna <jug@sad.it>
9564 * tabular.C (GetCellNumber): put an assert here instead of the check!
9566 2001-07-17 Juergen Vigna <jug@sad.it>
9568 * BufferView_pimpl.C (toggleSelection): adapted too.
9570 * text.C (selectNextWord): adapted for use with insets.
9571 (selectSelectedWord): ditto
9573 2001-07-17 Juergen Vigna <jug@sad.it>
9575 * sp_spell.C (PSpell): fix initialitation order.
9577 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9579 * paragraph.C: spacing
9581 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9583 * sp_spell.C: repair language selection for pspell
9585 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9587 * lyxfunc.h: change more methods to begin with lower char.
9589 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9591 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9592 for unknown layouts.
9594 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9596 * buffer.C (readLyXformat2): Generate an error dialog if there are
9599 2001-07-16 Juergen Vigna <jug@sad.it>
9601 * sp_spell.C: always compile ISpell part.
9603 * lyxrc.C: added use_pspell entry and it's handling.
9605 2001-07-13 Juergen Vigna <jug@sad.it>
9607 * sp_spell.C: removed double includes.
9609 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9611 Consistent use of Lsstream.h:
9612 * Lsstream.h: added using std::stringstream for consistencies sake.
9614 * buffer.C: removed using std::stringstream
9616 * lyxfont.C (stateText):
9617 * paragraph.C (asString):
9618 * text.C (selectNextWord, selectSelectedWord):
9619 * text2.C (setCounter):
9620 * vspace.C (asString, asLatexString):
9621 std::ostringstream -> ostringstream.
9623 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9625 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9626 * commandtags.h: add LFUN_HELP_ABOUTLYX
9627 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9629 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9631 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9633 * lyx_gui_misc.C: remove spellchecker
9634 * lyxfunc.C: showSpellchecker
9636 * sp_ispell.h: added
9637 * sp_pspell.h: added
9639 * sp_form.[Ch]: removed
9640 * spellchecker.[Ch]: removed
9642 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9644 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9646 (simpleTeXSpecialChars): Simply print the input character without
9647 any special translation if pass_thru is set.
9649 * layout.h: Added bool pass_thru to layout class for being able to
9650 implement pass through of a paragraph for Literate Programming.
9652 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9653 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9654 * layout.C (Read): add "passthru" to list of layout tags and add
9655 code to set the pass_thru boolean when it is read.
9657 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9659 * trans_decl.h: remove allowed from KmodInfo
9661 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9665 * paragraph_pimpl.C (erase): use boost::prior
9667 * Painter.C (text): use data() instead of c_str() when length is
9669 * WorkArea.C (putClipboard): ditto
9670 * font.h (width): ditto
9672 * BufferView2.C: use it-> instead of (*it). for iterators
9674 * paragraph_pimpl.C: ditto
9675 * paragraph.C: ditto
9676 * minibuffer.C: ditto
9681 * converter.C: ditto
9683 * Variables.C: ditto
9684 * TextCache.C: ditto
9685 * MenuBackend.C: ditto
9686 * LyXAction.C: ditto
9688 * FloatList.C: ditto
9690 * ColorHandler.C (LyXColorHandler): ditto
9692 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9696 * text2.C (openStuff): reintroduce this method (which had been
9697 nuked in NEW_INSETS frenzy).
9699 * lyxfunc.C (Dispatch): when an action has not been handled, use
9700 its name in the error message, not its number.
9702 * paragraph.C (inInset): change method name to begin with lowercase.
9705 * text2.C: updates because of this.
9707 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9709 * ToolbarDefaults.C (add): add spaces in error message
9711 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9714 (readLyXformat2): rename return_par to first_par, use lyxlex's
9715 pushToken and remove the manual push handling.
9716 (parseSingleLyXformat2Token): add another ert comp. variable:
9717 in_tabular, rename return_par to first_par. handle newlines better
9719 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9721 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9723 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9725 * text2.C (getParFromID): removed
9727 * buffer.C (getParFromID): new method moved form lyxtext.
9728 * BufferView2.C (insertErrors): adjust
9729 (setCursorFromRow): adjust
9730 * BufferView_pimpl.C (restorePosition): adjust
9731 * lyxfunc.C (Dispatch): adjust
9732 * undo_funcs.C (textUndo): adjust
9734 (textHandleUndo): adjust
9735 (textHandleUndo): adjust
9737 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9739 * buffer.C: up' the LYX_FORMAT
9741 * lyxfont.h: turn NO_LATEX on as default
9743 * buffer.C (insertErtContents): new methods of tex style compability.
9744 (parseSingleLyXformat2Token): use it several places.
9745 * tabular.C (OldFormatRead): and here
9747 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * text2.C: remove some commented code.
9752 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9753 * trans.C: changes because of the above.
9755 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9757 * text2.C (setCounter): Fix counters bug with bibliography layout.
9759 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9761 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9762 own member functions
9763 (simpleTeXSpecialChars): ditto
9765 2001-07-06 Juergen Vigna <jug@sad.it>
9767 * a lot of files: changed the access to LyXText::status and the
9768 call of undo-functions.
9770 * undo.[Ch]: added a inset_id to the undo informations.
9772 * undo_funcs.[Ch]: added and moved here all undo functions.
9774 * lyxtext.h: give the status enum a weight, made status_ a private
9775 variable and made accessor functions for it, removed the whole bunch
9776 of undo-functions as they are now in their own file, make some
9777 functions publically available. Added function ownerParagraph with
9780 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9781 made InInset() a const function, added getParFromID() function.
9783 * buffer.[Ch]: added const version for inset_iterator functions,
9784 added getInsetFromID() function.
9786 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9787 changed undo functions for new version.
9789 2001-07-05 Juergen Vigna <jug@sad.it>
9791 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9792 unknow mechanism does not call the proper constructor but only this
9793 one also if I request the other!?
9795 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9799 * text2.C (LyXText): use initialization lists.
9801 * lyxtext.h (Selection): initialize set_ and mark_
9802 (init): remove method
9804 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9806 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9808 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9810 * screen.[Ch]: change method names to begin with lowercase
9812 * BufferView_pimpl.C (updateScrollbar): simplify further and
9813 hopefully make it a bit faster.
9815 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9817 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9818 calling directly xforms functions.
9820 * Painter.C (Painter):
9821 * lyx_cb.C (MenuWrite):
9822 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9825 * lyx_gui.C: remove bogus guiruntime extern declaration.
9827 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9831 (redoDrawingOfParagraph): ditto
9832 (redoParagraphs): ditto
9833 (cutSelection): don't create a object for CutAndPaste use the
9834 static method directly
9835 (pasteSelection): ditto
9837 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9840 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9842 * modifications to some other files because of this.
9844 * Makefile.am (lyx_SOURCES): add XFormsView
9846 * XFormsView.[Ch]: new files
9848 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9849 the main window. Move the gui dependent stuff to XFormsView
9851 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9853 * tabular.C (GetCellInset): update cur_cell also in the row/col
9854 version of this function.
9856 * lyxfunc.C: no need to include figure_form.h here.
9862 * lyxvc.C: no need to include forms.h here.
9864 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9866 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9868 * lyxfunc.C (Dispatch):
9870 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9871 constructor argument.
9873 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * paragraph.C (Paragraph): dont't clear, and just set layout.
9876 (makeSameLayout): use params's copy contructor.
9878 * ParagraphParameters.[Ch] (makeSame): delete method
9880 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9882 * Variables.[Ch]: fix indentation, rename set to isSet
9884 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9886 * lyxfunc.C (Dispatch): fix typo
9888 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9890 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9893 * bufferlist.C: include assert.h for emergencyWrite().
9895 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9897 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9898 give up at last (bug #425202) !
9900 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9906 * spellchecker.C: strip spellchecker options and bring up
9907 preferences tab instead
9909 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9911 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9912 the istringstream constructor
9914 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9916 * paragraph.C (getLayout): fix return value
9918 * paragraph.h: do not declare getLayout as inline.
9920 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9922 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * lyxcursor.h (operator<): new func
9925 (operator>): new func
9926 (operator>=): new func
9927 (operator<=): new func
9929 * text.C (changeCase): use selection.start and selection.end
9930 (changeRegionCase): require from to be <= to. Require par to be a
9933 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9935 2001-06-27 Juergen Vigna <jug@sad.it>
9937 * text.C (cursorLeftOneWord): changed to return the cursor and added
9938 overlay with BufferView * parameter which calls this one.
9940 (selectWord): use new getWord function.
9941 (changeCase): renamed from changeWordCase as and extended to work
9944 * lyxtext.h: added enum word_location
9946 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9947 changeCase as this operates now also on selections.
9949 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9951 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9953 * many files: send debug output to Debug::INFO instead of
9956 * converter.C (View):
9958 (Move): send debug output to Debug::FILES instead of console.
9960 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9962 * lyxfunc.C (getStatus): use func_status
9964 * func_status.h: new header, describing the results of
9967 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9970 2001-06-25 The LyX Project <jug@sad.it>
9972 * buffer.C (sgmlOpenTag):
9974 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9976 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9978 * text2.C: remove some dead code
9980 * tabular.C (GetCellInset): store the last cell checked (gotten)
9982 * tabular.h: add the helper for the speedup
9984 * lyxtext.h: remove some dead code
9986 2001-06-26 The LyX Project <Asger>
9988 * paragraph.C: Change export to LaTeX of alignment to
9989 \begin{center} and family for better roundtrip work with reLyX.
9991 * Tune the math drawing a bit.
9993 2001-06-25 The LyX Project <Asger>
9995 * LColor.C (LColor): New color for math background. New color
9998 2001-06-25 The LyX Project <jug@sad.it>
10000 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10002 * lyxfunc.C (Open):
10003 * bufferlist.C (newFile): do not restrict to files ending with
10006 * BufferView_pimpl.C (MenuInsertLyXFile):
10008 2001-06-24 The LyX Project <jug@sad.it>
10010 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10013 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10015 * lyxtext.h: rename most methods to begin with a small char.
10016 Lots of changes because of this.
10018 * paragraph.C (Paragraph): do not call fitToSize
10019 (erase): call Pimpl::erase
10020 (insertChar): call Pimpl::insertChar
10021 (insertInset): call Pipl::insertInset
10022 (breakParagraph): do not call fitToSize
10023 (breakParagraphConservative): do not call fitToSize
10024 (fitToSize): remove method
10026 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10028 2001-06-24 The LyX Project <Asger>
10030 * Fix Qt compilation^2
10032 2001-06-24 The LyX Project <jug@sad.it>
10034 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10035 depthHook(getDepth()-1).
10038 * ParagraphParameters.h:
10039 * ParameterStruct.h: change type of depth to unsigned int ==
10040 depth_type. Many adaptations to other files before of that.
10042 2001-06-24 The LyX Project <Asger>
10044 * Fix Qt compilation.
10046 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10048 * paragraph.h: renamed several methods to begin with small letter.
10049 several changes to many parts of the code because of this.
10051 2001-06-23 The LyX Project <jug@sad.it>
10053 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10054 rewritten to discard all double spaces when KeepEmpty is off
10055 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10056 to only handle newlines but not fiddle with spaces and friends.
10058 * lyxfunc.C (MenuNew): when doing 'new from template', use
10059 template_path as default directory
10061 2001-06-23 The LyX Project <Asger>
10063 * Clean-up of header file includes all over
10064 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10066 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10068 * paragraph.h: renamed from lyxparagraph.h
10070 2001-06-23 Asger <lyx@violet.home.sad.it>
10072 * Buffer.h: Removed Buffer::resize
10073 * BufferList.h: Removed BufferList::resize
10074 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10075 the document lazily when we change the width, or the font settings.
10077 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10079 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10081 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10083 * buffer.h: remove out of date comment
10085 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10088 * screen.C: fix "theoretical" GC leak
10090 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10092 * LaTeX.C (scanAuxFile):
10093 (deplog): remove trailing \r when reading stream (useful under
10096 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10098 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10099 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10100 and BufferView::theLockingInset(Inset*), so should use them and not
10101 access bv_->text->the_locking_inset directly.
10103 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10105 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10108 * tex-defs.h: remove old unused file
10110 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10112 * BufferView_pimpl.C: fix typo, remove minibuffer message
10113 when buffer has loaded
10115 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * lyxfunc.C (Dispatch): use stringstream
10118 (MenuNew): use stringstream
10119 (Open): use stringstream
10121 * importer.C (Import): use stringstream
10123 * bufferview_funcs.C (CurrentState): use stringstream
10125 * LaTeX.C (run): use stringstream
10127 * BufferView_pimpl.C (savePosition): use stringstream
10128 (restorePosition): use stringstream
10129 (MenuInsertLyXFile): use stringstream
10131 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10144 * vspace.C: removed // -*- C++ -*- as first line.
10147 * version.h: added // -*- C++ -*- as first line.
10149 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10151 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10153 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10156 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10158 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10161 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10163 * gettext.C: include LString.h even when --disable-nls is on.
10165 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10167 * converter.h (Get): changed argument type from int to
10168 FormatList::size_type to avoid unnecessary conversion.
10170 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10173 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10175 * gettext.h: include LString.h even when --disable-nls is on.
10177 2001-06-07 Juergen Vigna <jug@sad.it>
10179 * text.C (BreakAgain): subst spaces with tabs.
10181 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10182 (resizeInsetsLyXText): set force on resizeLyXText.
10184 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10186 * gettext.h (gettext_init):
10187 (locale_init): use a real definition instead of a macro
10189 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10191 * Bufferview_pimpl.C:
10193 * LColor.C: further lcolor tidies
10195 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10197 * BufferView_pimpl.C (updateScrollbar): simplify.
10199 * BufferView2.C: don't include insets/insetinfo.h, change
10200 prototype for insertInset and call the Pimpl version. let
10201 updateInset call Pimpl version.
10203 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10204 gotoInset to BufferView::Pimpl
10206 2001-06-01 Juergen Vigna <jug@sad.it>
10208 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10209 inside a LockingInset (is the update needed at all?).
10211 2001-05-31 Juergen Vigna <jug@sad.it>
10213 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10214 here not the old one otherwise how should we compare it afterwards
10217 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10222 * FontInfo.C: bring C functions into global namespace when
10225 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10227 * LString.h: make sure config.h has been loaded before LString.h.
10229 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10230 (one for each char read by EatLine!).
10232 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10235 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10237 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10238 to the same as the par we break from
10240 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10244 * MenuBackend.C (expand): also create menu entries for wide
10245 versions of the floats.
10247 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10249 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10251 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10252 frontends/Makefile.am
10258 * tabular.C (getTokenValue): add std::
10260 * tabular-old.C (getTokenValue): add std::
10261 (getTokenValue): ditto
10262 (getTokenValue): ditto
10264 * screen.C (ToggleSelection): adjust
10266 * lyxtext.h: put selection cursors inside a Selection struct.
10268 * lyxfunc.C (moveCursorUpdate): adjust
10270 * lyxfont.C (latexWriteStartChanges): add std::
10272 * lyxfind.C: adjust
10274 * font.h: delete with(char const *, LyXFont const &)
10276 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10278 * FontInfo.C (getFontname): add std::
10280 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10281 (workAreaButtonPress): adjust
10282 (tripleClick): adjust
10284 (moveCursorUpdate): adjust
10287 * BufferView2.C (gotoInset): adjust
10289 2001-05-30 Juergen Vigna <jug@sad.it>
10291 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10292 to check pspell I add this as default as I now have new pspell
10293 libraries and they seem to use this.
10295 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * text2.C (CutSelection): make the cursor valid before the call to
10300 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10302 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10303 relied on 0 terminated strings and other horrors. Bug found due to
10304 the new assert in lyxstring!
10306 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10309 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10311 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10314 * lyxfunc.C (processKeySym): change method of getting to the
10317 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10318 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10319 * BufferView_pimpl.[Ch]: here as private methods.
10321 2001-05-28 Juergen Vigna <jug@sad.it>
10323 * text.C (SetHeightOfRow): added the update() call again as it is
10324 needed to initialize inset dimensions!
10326 2001-05-16 Juergen Vigna <jug@sad.it>
10328 * text2.C (SetCharFont): Add new function with BufferView * and
10329 bool toggleall parameters for setting insets internal fonts.
10330 (SetFont): Freeze the undo as we may change fonts in Insets and
10331 all this change should be inside only one Undo!
10333 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10334 setting font's in insets as for them we have the SetFont function!
10336 2001-05-15 Juergen Vigna <jug@sad.it>
10338 * text2.C (ClearSelection): to be sure we REALLY don't have any
10341 * tabular.C (TeXCellPreamble): fixed the left border problem for
10344 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10346 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10349 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10351 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10352 LFUN_BREAKPARAGRAPH.
10354 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10355 help test to "internal only", similar for LFUN_INSERT_URL
10357 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10358 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10359 auto_region_delete and deadkeys.
10361 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10364 * LColor.C: remove some dead entries, tidy a little
10366 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10370 (Dispatch): implement LFUN_ESCAPE
10372 * commandtags.h: add LFUN_ESCAPE
10374 * LyXAction.C (init): add entry for LFUN_ESCAPE
10376 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10377 Remove commented code.
10378 (insertNote): moved here
10379 (open_new_inset): moved here
10381 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10384 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10386 * kbmap.C (findbinding): clean it up and make it work correctly.
10388 * lyx_main.C (init): do not pass argc and argv as parameters
10390 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10392 * buffer.C: fix path for OS/2 & Win32
10396 * lyx_main.C: Added os:: class.
10398 * os2_defines.h: update
10400 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10402 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10403 better by trying again with reduced state.
10405 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * lyxrc.C (read): print error about invalid key sequence only when
10408 debugging (because not all latinX keysyms are known to some X
10411 * kbsequence.C (getiso): add a few std:: qualifiers
10412 (getiso): comment out extra return statement.
10414 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10416 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10418 (Dispatch): enhance the accent inset a bit. (not perfect)
10420 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10424 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10426 * bufferlist.C (emergencyWrite): fix assert() call
10428 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10430 * text.C (InsertChar): Added trivial patch to only send the "you
10431 can not do multiple spaces this way" message once during a
10434 2001-05-08 Baruch Even <baruch@lyx.org>
10436 * Makefile.am: Changed order of libraries to get LyX to link properly
10437 with the gnome frontend.
10439 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10441 * LaTeXFeatures.h: add a std:: qualifier
10443 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10445 * paragraph.C (String): use stringstream
10447 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10449 * paragraph.C (writeFile): remove footflag arg
10451 * buffer.C (makeLaTeXFile): use stringstream
10452 (latexParagraphs): remove footnot gurba
10454 * LaTeXFeatures.C (getPackages): use stringstream
10455 (getMacros): likewise
10456 (getTClassPreamble): likewise
10457 (getFloatDefinitions): new method
10459 * paragraph.C (writeFile): reindent
10462 * WorkArea.h: revert the xpos + etc changes.
10464 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10466 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10468 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10469 (pasteSelection): likewise
10470 * text2.C (CreateUndo): likewise
10472 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10474 * minibuffer.C (peek_event): temporarily reduce the functionality
10475 of the minibuffer (to allow args on lfuns)
10477 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10478 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10480 * buffer.C (readInset): add compability reading of old float
10481 lists, add reading of new style float list.
10482 (readInset): avoid reevaluation of inscmd.getCmdName()
10483 (getLists): reindent
10485 * MenuBackend.C (MenuItem): implement parsing of
10486 md_floatlistinsert and md_floatinsert.
10487 (expand::LastFiles): move initalizaton of iterators out of loop,
10488 avoid reevaluation.
10489 (expand::Documents): introduce typdedef vector<string> Strings,
10491 (expand::ExportFormats): introduce typedef vector<Format const *>
10492 Formats, and use it.
10493 (expand): implement FloatListInsert and FloatInsert.
10495 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10496 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10497 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10499 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10501 (Dispatch::LFUN_FLOAT_LIST): implement
10503 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10505 * LaTeX.C (run): Fix problem with --export code.
10507 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10509 * BufferView.[Ch] (workarea): removed.
10510 (getClipboard) new method; wrapper for workarea()->getClipboard()
10512 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10515 * WorkArea.h (width, height, xpos, ypos): These methods all
10516 returned the dimensions of the work_area sub-area of WorkArea,
10517 resulting in a position error if the WorkArea were resized. Now
10518 return the dimensions of the entire WorkArea.
10520 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10522 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10524 * LaTeX.C (deplog): correct the syntax of regex reg1
10526 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10528 * undo.C: remove !NEW_INSETS cruft
10530 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10532 * text2.C: remove !NEW_INSETS cruft
10534 * text.C: remove !NEW_INSETS cruft
10536 * tabular.C: remove !NEW_INSETS cruft
10538 * spellchecker.C: remove !NEW_INSETS cruft
10540 * lyxtext.h: remove !NEW_INSETS cruft
10542 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10544 * lyxfunc.C: remove !NEW_INSETS cruft
10546 * lyxfind.C: remove !NEW_INSETS cruft
10548 * lyx_cb.C: remove !NEW_INSETS cruft
10550 * figureForm.C: remove !NEW_INSETS cruft
10552 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10554 * buffer.[Ch]: remove !NEW_INSETS cruft
10556 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10558 * CutAndPaste.C: remove !NEW_INSETS cruft
10560 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10562 * BufferView2.C: remove !NEW_INSETS cruft
10564 * BufferView.h: remove !NEW_INSETS cruft
10566 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10568 * Lsstream.h: include LString.h before the sstream headers to
10569 fix problem with gcc 2.95.3 and lyxstring
10571 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * lyx_main.C: add using directives when needed for C functions
10574 declared in std:: namespace.
10576 2001-04-27 Juergen Vigna <jug@sad.it>
10578 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10579 (SetHeightOfRow): comment out the update call should not be needed!
10581 2001-04-13 Juergen Vigna <jug@sad.it>
10583 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10584 (LyXTabular): tried to minimize operator= operations (and realized
10585 hopfully Lars wish).
10587 2001-04-27 Juergen Vigna <jug@sad.it>
10589 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10591 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10593 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10595 * buffer.C (readInset): hack to make listof algorithm work
10597 * BufferView_pimpl.C: hack to make listof algorithm work
10599 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * LyXAction.C: removed all !NEW_INSETS cruft
10602 (init): moved lfun_item in method
10604 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10606 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10608 * BufferView2.C (theLockingInset): white space.
10610 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * minibuffer.C: include <iostream>
10614 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10616 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10618 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10620 * text.[Ch] (TransposeChars): new method
10622 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * call message directly through LyXView instead of through LyXFunc
10625 * BufferView2.C: adjust
10626 * BufferView_pimpl.C: adjust
10627 * FontLoader.C: adjust
10629 * bufferview_funcs.C: adjust
10630 * converter.C: adjust
10631 * figureForm.C: adjust
10632 * importer.C: adjust
10634 * lyx_gui_misc.C: adjust
10635 * lyxfunc.C: adjust
10638 + more files in subdirs
10640 * lyxparagraph.h (size): move up int file
10643 * adjust all uses of Assert to lyx::Assert.
10645 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10646 lyxfunctional in namespace lyx
10647 * layout.C (hasLayout): ditto
10650 (delete_layout): ditto
10651 (NumberOfClass): ditto
10652 * converter.C (GetFormat): ditto
10657 * bufferlist.C (getFileNames): ditto
10658 (emergencyWriteAll): ditto
10661 * MenuBackend.C (hasSubmenu): ditto
10664 * BufferView_pimpl.C (getInsetByCode): ditto
10666 2001-04-18 Juergen Vigna <jug@sad.it>
10668 * vspace.C (asLatexString): fixed the 100% problem.
10670 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10672 * lyxfunc.C (Dispatch):
10674 * minibuffer.h: add a few std:: qualifiers
10676 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10678 * minibuffer.[Ch]: reimplement so that commands is initiated and
10679 run from lyxfunc, simplified som handling, and made the completion
10680 and history code for complete. wip.
10682 * lyxfunc.C (processKeySym): call message
10683 (miniDispatch): new temporary method
10684 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10685 (LFUN_MESSAGE): implement
10686 (LFUN_MESSAGE_PUSH): implement
10687 (LFUN_MESSAGE_POP): implement
10688 (initMiniBuffer): the initial/defualt minibuffer message.
10690 * lyxfont.[Ch]: inline some more getters
10692 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10694 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10696 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10697 (AutoSave): use LFUN_MESSAGE
10698 (Reconfigure): ditto
10700 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10702 * figureForm.C: use LFUN_MESSAGE
10704 * converter.C (runLaTeX): use LFUN_MESSAGE
10706 * bufferview_funcs.C: use LFUN_MESSAGE
10708 (changeDepth): ditto
10710 * bufferparams.h: use boost::
10712 * bufferlist.h: inherit privately from noncopyable
10714 * bufferlist.C (loadLyXFile): remove some commented code.
10716 * buffer.C (runChktex): use LFUN_MESSAGE
10718 * ShareContainer.h: inherit privately from noncopyable
10720 * ParagraphParameters.[hC] (depth): inline it.
10722 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10724 (message): new method
10725 (messagePush): ditto
10726 (messagePop): ditto
10727 (show): init minibuffer
10728 (showState): direct call
10730 * LaTeX.[Ch]: inherit privately from noncopyable
10731 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10732 instead of WriteStatus.
10734 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10736 * BufferView_pimpl.C (buffer): don't init minibuffer
10737 (workAreaButtonPress): use LFUN_MESSAGE
10738 (workAreaButtonRelease): ditto
10739 (savePosition): ditto
10740 (restorePosition): ditto
10741 (MenuInsertLyXFile): ditto
10742 (workAreaExpose): don't init minibuffer
10743 (update): remove commented code, simplify
10745 * BufferView2.C (openStuff): use LFUN_MESSAGE
10746 (toggleFloat): ditto
10749 (copyEnvironment): ditto
10750 (pasteEnvironment): ditto
10755 (updateInset): remove some commented code
10757 * lastfiles.h: inherit privately from noncopyable
10760 * lyx_main.h: ditto
10762 * lyxlex_pimpl.h: ditto
10764 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10765 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10766 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10768 * LyXAction.h: inherit privately from noncopyable, add methods
10769 func_begin, func_end, returning iterators to the func map.
10771 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10772 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10773 (func_begin): new method
10774 (func_end): new method
10776 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10778 (copySelection): ditto
10779 (pasteSelection): ditto
10781 * BufferView.C: whitespace change
10782 * BufferView.h: inherit privately from noncopyable
10784 2001-04-16 Allan Rae <rae@lyx.org>
10786 * tabular-old.C (l_getline):
10787 * spellchecker.C (sc_check_word):
10788 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10789 an unrecognised preprocessor directive. So ensure they're wrapped.
10791 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10793 * src/exporter.C (Export): Give an error message when path to file
10796 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10798 * LaTeX.C (deplog): Always check that foundfile exists.
10800 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10803 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10805 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * tabular.[Ch] (getLabelList): implement new method
10809 * minibuffer.h: comment ouf setTiimer
10811 * minibuffer.C (ExecutingCB): constify res
10812 (peek_event): constify s
10813 (Set): constify ntext
10814 (Init): constify nicename
10816 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10818 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10819 (savePosition): use two params to Minibuffer::Set
10820 (restorePosition): ditto
10822 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10824 * lyx_main.C: include language.h
10826 * Makefile.am (lyx_main.o): add language.h
10828 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10834 * CutAndPaste.C: include gettext.h
10836 * lyxfont.h: remove old hack with ON and OFF.
10839 * lyxfont.h: do not include language.h...
10844 * bufferview_funcs.C:
10850 * paragraph.C: ... but do it here instead
10852 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10854 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10856 * tabular.C: small reformat
10858 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10861 (BreakParagraph): ditto
10862 (SetOnlyLayout): ditto
10865 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10868 * lastfiles.C: removed most using decl, add std:: where needed
10870 * buffer.C: ws changes
10872 * MenuBackend.C (class compare_format): put into anon namespace
10873 (expand): constify label, names, action, action2
10876 * text.C (SingleWidth): constify font
10877 (IsBoundary): constify rtl2
10878 (GetVisibleRow): constify ww
10880 * LaTeX.C (deplog): constify logfile
10882 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10884 (workAreaExpose): constify widthChange, heightChange
10886 * lyxrow.C (par): moved
10889 * lyxrow.h: as inlines here
10891 * lyxfont.h (shape): moved from lyxfont.C
10892 (emph): moved from lyxfont.C
10894 * lyxfont.C (LyXFont): use initialization list for all
10896 (shape): move to lyxfont.h as inline
10897 (emph): move to lyxfont.h as inline
10900 2001-04-04 Juergen Vigna <jug@sad.it>
10902 * vspace.C: had to include stdio.h for use of sscanf
10904 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10907 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10908 independent of xforms.
10910 2001-04-02 Juergen Vigna <jug@sad.it>
10912 * spellchecker.C: fixed namespace placing!
10914 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10916 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10917 the LyXParagraph * is 0.
10919 2001-03-29 Juergen Vigna <jug@sad.it>
10921 * vspace.C: added support for %, c%, p%, l%.
10922 (stringFromUnit): added helper function.
10923 (asLatexString): changed to give right results for the %-values.
10925 * buffer.C: convert the widthp in a width%.
10927 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10929 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10932 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10933 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10935 * lyx_cb.[Ch]: see above.
10937 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10941 * lyx.[Ch]: replaced by figure_form.[Ch].
10945 * lyxfunc.C: changed headers associated with above changes.
10947 2001-03-27 Juergen Vigna <jug@sad.it>
10949 * BufferView_pimpl.C: set the temporary cursor right!
10951 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10953 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10955 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10957 * LString.h: removed "using std::getline"!
10959 * BufferView_pimpl.C (Dispatch): changes due to changes in
10960 InsetInclude::Params.
10962 * buffer.C (tag_name): removed redundant break statements as they were
10963 producing lots of warnings with my compiler.
10965 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10967 * LString.h: add "using std::getline" when using the real <string>.
10969 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10971 * buffer.C: removed bitset usage.
10972 PAR_TAG moved to an anonymous name space.
10973 (tag_name): new funtion, also in the anonymous namespace.
10974 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10975 (makeDocBookFile): clean code. Completed transition from string arrays
10977 (SimpleDocBookOnePar): code clean.
10979 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10981 * tabular.C: add some comments.
10983 2001-03-22 Juergen Vigna <jug@sad.it>
10985 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10986 compatibility read a bit and fixed bug with minipage in different
10989 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10991 * buffer.C (pop_tag): removed.
10992 (push_tag): removed.
10993 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10994 array replaced with vector. Added support for CDATA sections.
10995 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10997 (makeDocBookFile): XML conformant declaration of CDATA section,
10998 fixed bug related to <emphasis> in the first paragraph char.
10999 (sgmlOpenTag): exclude empty tags.
11000 (sgmlCloseTag): ditto.
11002 * buffer.h (pop_tag): removed.
11003 (push_tag): removed.
11005 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11007 * language.h (Languages): added size_type and size().
11009 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11011 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11012 response on compability reading of minipages. One probliem is that
11013 the old usage of minipages was «flertydig»
11015 * several files here and in subdirs: don't use static at file
11016 scope use anon namespaces instead.
11018 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11020 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11021 LaTeX output. This is necessary for Literate document
11024 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11026 * buffer.C: insert hfill when needed.
11028 * tabular.C (l_getline): use string::erase, small whitespace change.
11030 * BufferView_pimpl.C: try the anon namespace.
11031 * WorkArea.C: ditto
11033 2001-03-16 Juergen Vigna <jug@sad.it>
11035 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11036 otherwise it won't open options-dialogs.
11038 * buffer.C: honor pextraWidth(p) on converting minipages.
11040 * tabular.C (l_getline): changed the functions to strip trailing \r.
11042 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11044 * BufferView_pimpl.C:
11045 * minibuffer..C: added "using SigC::slot" declaration.
11047 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11049 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11055 * paragraph.C: ditto
11057 * lyxtext.h: NO_PEXTRA
11059 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11061 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11062 * ParameterStruct.h: ditto
11063 * ParagraphParameters.h: ditto
11064 * lyxparagraph.h: ditto
11066 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11068 * buffer.C: add compability for minipage alignment.
11069 (latexParagraphs): remove unwanted pextra check.
11071 * several files: remove CXX_WORKING_NAMESPACES
11073 * buffer.C (pop_tag): tie is in namespace boost
11075 * BufferView.h: noncopyable is in namespace boost
11077 * lyx_main.h: ditto
11080 * lastfiles.h: ditto
11081 * bufferlist.h: ditto
11082 * ShareContainer.h: ditto
11084 * LyXAction.h: ditto
11087 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11089 * Merging changes from BRANCH_MVC back into HEAD.
11091 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11093 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11095 * BufferView_pimpl.C: change from intl.C
11099 * Makefile.am: move combox.*
11105 * intl.C: remove dialog (covered by prefs)
11107 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11109 * lyxfunc.C (Dispatch): removed redundant break statement.
11111 2001-03-14 Juergen Vigna <jug@sad.it>
11113 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11115 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11117 * buffer.C: add hack to fix compability reading of minipages.
11119 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11121 * buffer.C (getLists): Cleanup.
11123 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11125 * lyxfont.C (update): don't honor toggleall on font size.
11127 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11131 * Makefile.am: moved to frontends/xforms/
11135 * BufferView_pimpl.C: changes for moved mathpanel
11137 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11139 * gettext.h: fix gettext_init() in --disable-nls
11141 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11143 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11145 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11148 * lyx.h: strip external form
11150 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11152 * BufferView_pimpl.C: add comment, destroySplash()
11154 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11156 * BufferView_pimpl.C:
11160 * lyxfunc.C: use re-worked insetinclude
11162 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11164 * buffer.C: add using std::stringstream.
11166 * lyx_cb.C: readd using std::ios.
11168 * buffer.C: add using std::map.
11170 * BufferView_pimpl.C: add using std::vector.
11172 * ShareContainer.h: add std:: to swap.
11174 * buffer.h: add some typedefs
11175 * buffer.C (getLists): use them
11176 (getLists): renamed from getTocList.
11177 add a counter for the different float types and use it in the
11179 (getLists): use the same counter for the NEW_INSETS and the "non"
11182 * lyx_cb.h: remove unused items, includes, using etc.
11184 * ShareContainer.h: remove some commented code, add more comments
11185 and "documentation".
11187 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11189 * buffer.C (getTocList): make the list also when NEW_INSETS is
11192 * buffer.h: remove TocType
11194 * buffer.C (getTocList): change to return a map<string,
11195 vector<TocItem> >, implement for dynamic number of list.
11197 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11198 * text2.C (PasteSelection): adjust
11199 * CutAndPaste.C (pasteSelection): adjust
11201 * FloatList.C (FloatList): update from the new_insets branch.
11202 * Floating.[Ch]: ditto
11203 * LaTeXFeatures.C: ditto
11205 * lyxlex_pimpl.C: ditto
11207 * paragraph.C (Last): remove when NEW_INSETS is defined.
11209 * other file: changes because of the above.
11211 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11213 * lyxparagraph.h: rename next to next_, previous to previous_,
11214 make them private for NEW_INSETS. Rename Next() to next(),
11215 Previous() to previous().
11217 * other files: changes because of the above.
11219 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11222 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11225 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * main.C (main): pass lyx_localedir to gettext_init().
11229 * gettext.h: remove locale_init and gettext_init macros
11231 * gettext.C (locale_init): new function
11232 (gettext_init): new function
11234 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11237 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11239 * Moved credits to frontends:
11240 * credits.[Ch]: removed
11241 * credits_form.[Ch]: removed
11242 * lyx_gui_misc.C: remove credits stuff
11245 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11247 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11249 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11250 unneeded destructor.
11252 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11253 a standalone pointer again.
11255 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11257 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11263 * ToolbarDefaults.C:
11272 * BufferView_pimpl.C: use new file dialog in GUII
11275 * lyx_cb.C: remove LayoutsCB to Toolbar
11277 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11279 * ShareContainer.h (get): add std:: qualifier
11281 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11283 * ShareContainer.h: define a proper ShareContainer::value_type
11284 type (and use typename to please compaq cxx)
11286 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11288 * lyxparagraph.h: move serveral local vars to
11289 ParameterStruct/ParagraphParameters., use ShareContainer in
11290 FontTable., make vars in FontTable private and add getter and
11293 * paragraph.C: changes because of the above.
11295 * lyxfont.h: remove copy constructor and copy assignment. (the
11296 default ones is ok), move number inside FontBits. move inlines to
11299 * lyxfont.C: add number to initializaton of statics, move several
11300 inlines here. constify several local vars. some whitespace
11301 cleanup. Dont hide outerscope variables.
11303 * Spacing.h: add two new constructors to match the set methods.
11305 * ShareContainer.h: new file, will perhaps be moved to support
11307 * ParameterStruct.h: new file
11309 * ParagraphParameters.h: new file
11311 * ParagraphParameters.C: new file
11313 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11314 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11316 * BufferView_pimpl.C: ParagraphParameter changes.
11317 * buffer.C: Likewise.
11318 * bufferview_funcs.C: Likewise.
11319 * text.C: Likewise.
11320 * text2.C: Likewise.
11322 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11324 * lyxfind.C (LyXReplace): do not redefine default argument in
11326 (IsStringInText): ditto
11327 (SearchForward): ditto
11328 (SearchBackward): ditto
11330 2001-03-06 Juergen Vigna <jug@sad.it>
11332 * lyxfind.C (IsStringInText): put parentes around expressions.
11334 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11336 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11338 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11340 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11342 * stl_string_fwd.h: add comment
11344 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11347 * tabular.C: remove unused DocBook methods
11353 killed DO_USE_DEFAULT_LANGUAGE
11355 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11357 * lyx_gui.C: do not include language.h.
11359 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11360 arguments in function implementation.
11362 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11364 * BufferView_pimpl.C: add <ctime>
11366 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11368 * BufferView_pimpl.C: add using std::find_if
11370 2001-02-27 José Matos <jamatos@fep.up.pt>
11372 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11375 2001-02-11 José Matos <jamatos@fep.up.pt>
11377 * buffer.C (makeDocBookFile): command styles now have a parameter as
11378 "title" by default.
11380 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11382 * layout_forms.[Ch]: removed
11383 * lyx_cb.[Ch]: out character
11384 * lyx_gui.C: out character
11385 * lyx_gui_misc.C: out character
11386 * bufferview_funcs.C: : out character,
11387 added toggleall as parameter in ToggleAndShow
11389 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11391 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11393 * text2.C (SetCurrentFont): Disable number property at boundary.
11395 2001-02-26 Juergen Vigna <jug@sad.it>
11397 * lyxfunc.C (getStatus): added a string argument override function so
11398 that this is correctly called from LyXFunc::Dispatch if it contains a
11399 do_not_use_argument which is used!
11400 (Dispatch): added check for "custom" export and call appropriate func.
11402 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11404 * lyxrc.C: Add language_command_local, language_use_babel and
11405 language_global_options.
11407 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11409 * buffer.C (makeLaTeXFile): Use language_use_babel and
11410 language_global_options.
11412 2001-02-23 Juergen Vigna <jug@sad.it>
11414 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11415 which works with LyXText and putted it inside BufferView. Here now we
11416 only call for that part the BufferView::Dispatch() function.
11418 * BufferView.C (Dispatch): added.
11420 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11421 functions which needs to use a LyXText over from LyXFunc.
11422 (MenuInsertLyXFile): added
11423 (getInsetByCode): added
11424 (moveCursorUpdate): added
11425 (static TEXT): added
11427 2001-02-22 Juergen Vigna <jug@sad.it>
11429 * BufferView_pimpl.C (update): call a status update to see if LyXText
11432 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11434 * vc-backend.C (revert): implement for CVS
11435 (getLog): implement for CVS
11437 2001-02-20 Juergen Vigna <jug@sad.it>
11439 * text2.C (ClearSelection): added BufferView param for inset_owner call
11441 * lyxfunc.C (TEXT): added this function and use it instead of
11442 directly owner->view()-text of getLyXText().
11444 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11446 * src/layout_forms.C: out preamble
11447 * src/layout_forms.h: out preamble
11448 * src/lyx_cb.C: out preamble
11449 * src/lyx_cb.h: out preamble
11450 * src/lyx_gui.C: out preamble
11451 * src/lyx_gui_misc.C: out preamble
11452 * src/lyxfunc.C: connect with guii preamble
11454 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11456 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11458 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11460 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11461 whether to run bibtex.
11463 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11465 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11467 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11469 * Makefile.am (lyx_SOURCES): removed bibforms.h
11471 * vspace.h: doxygen
11473 * text.C (GetVisibleRow): make several local vars const
11475 * tabular.C: small cleanup.
11477 * lyxserver.C (callback): use compare instead of strncmp
11479 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11480 inlines to after class or to paragraph.C
11482 * lyxfont.h: remove friend operator!=
11484 * converter.h: move friend bool operator< to non friend and after
11487 * combox.h: small cleanup
11489 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11490 to inlines after class def.
11492 * buffer.C (pop_tag): use string operations instead of strcmp
11494 * bmtable.c: doxygen, small cleanup
11496 * LaTeX.h: remove friend operator==
11498 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11510 * BufferView_pimpl.C:
11511 * BufferView.[Ch]: remove cruft
11513 2001-02-14 Juergen Vigna <jug@sad.it>
11515 * lyxfunc.C: removed #if 0 unused code
11517 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11519 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11521 * text2.C (SetSelection): added a BufferView * parameter
11523 2001-02-13 Juergen Vigna <jug@sad.it>
11525 * lyxfunc.C (Dispatch): fixed protected blank problem.
11526 * BufferView2.C (protectedBlank): added LyxText * parameter.
11528 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11529 (AppendColumn): same as above for column_info.
11531 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11532 (moveCursorUpdate): use a LyXText param for support of InsetText.
11534 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11535 (tripleClick): ditto
11537 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11539 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11541 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11543 * text2.C (SetSelection): set correct update status if inset_owner
11544 (ToggleFree): ditto
11546 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11548 * tabular.C: remove some commented code.
11550 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11552 * BufferView_pimpl.C: call hideSplash()
11554 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11557 * bibforms.h: remove
11560 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11561 add LFUN_CHILD_CREATE
11563 * counters.h: fix tiny typo
11568 * lyx.C: move splash to frontends/xforms/
11570 * lyx_gui_misc.C: move Include and Bibform to frontends
11572 * lyxvc.h: clarify comment
11574 * vspace.C: tiny housekeeping
11576 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11578 * text.C (PrepareToPrint): RTL Fix.
11580 * paragraph.C (GetUChar): New method.
11581 (String): Use GetUChar.
11583 * buffer.C (asciiParagraph): Use GetUChar.
11585 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11587 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11589 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11592 * buffer.C: rename to getLogName(), handle
11593 build log / latex log nicely
11595 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11598 * MenuBackend.h: remove support for reference menuitem type.
11600 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.C: housekeeping
11603 * BufferView_pimpl.h:
11608 * minibuffer.h: move Timeout GUI-I
11610 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11612 * lyxrc.C (read): Update converters data-structures.
11614 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11616 * LaTeX.h (operator!=): add operator != for Aux_Info
11618 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11620 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11622 * LaTeXLog.C: deleted, useful code moved to Buffer
11625 * buffer.C: new function getLatexLogName()
11631 * lyxfunc.C: use frontends for LaTeX and VC logs
11633 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11635 * LaTeX.h: yet another std:: that Allan forgot.
11637 * Variables.C (set): renamed from isset(), because this clashes
11638 with some HP-UX macros (grr).
11640 2001-02-06 Allan Rae <rae@lyx.org>
11642 * LaTeX.h: Another bug fix. Missing std:: this time.
11644 2001-02-04 Allan Rae <rae@lyx.org>
11646 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11647 floats problem. I've left it commented out because it's not quite
11648 correct. It should also test that the current object is a table or
11649 figure inset. But I haven't gotten around to figuring out how to do
11650 that. I *think* it'll be something like: "table" == inset.type()
11652 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11655 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11657 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11658 all the citation/databases/styles in the auxilary file.
11659 (run): Rerun latex if there was a babel language error.
11661 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11663 * text.C (Backspace): Preserve the font when changing newline char
11665 (BreakParagraph): If the cursor is before a space, delete the space.
11667 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11669 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11671 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11672 new argument (code).
11673 (ChangeCitationsIfUnique): New method.
11675 * paragraph.C (GetPositionOfInset): Handle bibkey.
11677 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11679 * BufferView_pimpl.h: change type of Position::par_pos to
11680 LyXParagraph::size_type.
11682 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11684 * BufferView_pimpl.C (savePosition, restorePosition): Write
11685 messages to minibuffer.
11687 2001-01-28 José Matos <jamatos@fep.up.pt>
11689 * buffer.C (makeDocBookFile): adds support for document language.
11690 A silly restriction on the name of LatexCommand types where removed.
11691 Added support for CDATA sections, allows to chars unescaped, used
11692 among others in code, to avoid escape < and >.
11694 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11696 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11697 saved positions instrad of a stack. Furthermore, a position is
11698 stored using paragraph id/paragraph position.
11700 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11701 Remove LFUN_REF_BACK.
11703 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11705 * converter.C (dvipdfm_options): New method.
11707 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11709 * vspace.C (isValidLength): Fix for empty input string.
11711 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11713 * LyXAction.C (init): change description of LFUN_FIGURE to
11716 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11718 * LaTeX.C: add using directive
11720 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11722 * MenuBackend.C (expand): Fix the sorting of the formats.
11724 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11726 * lyx_main.C: tiny error message fix
11728 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11730 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11731 calling fl_initialize(). This fixes the problem with ',' as
11732 decimal separator in text files.
11734 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11736 * trans.C (process): Fix the keymap bug.
11738 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11740 * LaTeX.C (scanAuxFiles): New method. Provides support for
11741 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11742 (scanLogFile) Scan for "run BibTeX" messages.
11744 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11745 OT1 font encoding. Also, load the aecompl package if the ae
11748 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11750 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11752 * texrow.C (increasePos): turn two error messages into debug
11755 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11757 * LaTeX.C (scanAux): Handle the \@input macro.
11758 (runBibTeX): Use scanAux().
11760 * language.C (latex_options_): New field.
11762 * LaTeXFeatures.C (getMacros): Add language macros.
11764 * buffer.C (makeLaTeXFile): Small fix.
11766 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11768 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11770 * text2.C: add a using directive.
11772 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11777 * lyxfunc.C: kill LyXBell.
11779 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11781 * text.C (IsBoundary): Remove the error message
11783 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11785 * lyxrc.C (setDefaults): Correct initialization value for
11788 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11790 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11793 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11794 and GotoNextNote().
11796 * src/LyXAction.C: Added reference-next.
11798 * text.C (InsertChar): Use contains instead of strchr.
11800 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11802 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11804 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11805 alignment commands (when needed).
11807 * text.C (InsertChar): Add ':' to number separator chars.