1 2003-07-26 André Pönitz <poenitz@gmx.net>
3 * text.C (setHeightOfRow): restrict scope of temporary variable
5 2003-07-27 Asger Alstrup <alstrup@local>
7 * text.C (fill): Optimise algorithm to exploit that we can reuse
8 the LyXFont for many characters.
10 2003-07-26 Asger Alstrup <alstrup@local>
12 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
14 * text.C (singleWidth): Spurious font copying in hot-spot
15 singleWidth avoided. Reorder tests for arabic for efficiency.
17 * text.C (fill): handle empty paragraphs better.
19 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * encoding.h: add includes
24 * lyxrc.C: remove reading of bind files
26 * lyx_main.C (init): setup bindings and menus only if we have a
29 * kbmap.C (read): new method. Do the actual reading of bind
32 * converter.C (dvipdfm_options):
35 (output): adapt PAPER_* enums.
37 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
39 * bufferparams.h: remove paper-related enums from there
41 * paper.h: New file. A trivial header file to hold paper-related
42 enums. It should later expand to contain many paper-related
45 * lyxrc.C: declare extern displayTranslator
47 2003-07-27 José Matos <jamatos@fep.up.pt>
49 * tabular.[Ch] (linuxdoc): add support for tables and figures
52 2003-07-27 José Matos <jamatos@fep.up.pt>
54 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
55 consistency in both functions.
56 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
58 2003-07-26 Asger Alstrup <alstrup@local>
60 * rowpainter.C (paintRows): Change algorithm to work directly on
61 the insets rather than asking every character in the document
64 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
66 * buffer.C (openFileWrite): factorize some code
68 2003-07-26 Angus Leeming <leeming@lyx.org>
71 * lyx_main.[Ch]: replace occurances of system_tempdir with
74 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
76 * rename Inset to InsetOld
78 2003-07-25 Asger Alstrup <alstrup@diku.dk>
80 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
81 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
82 which I think is a bit clearer. EDIT is gone, since it was
83 premature optimisation, and broken for mathed anyway.
84 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
85 with cursor positioning in insets as well (math insets still do not
86 work, but that's a different story anyway.) It mysteriously
87 crashes sometimes with undo in the first paragraph, but I'm fairly
88 confident that this is a compiler bug.
90 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * paragraph.C (Paragraph): adjust for new clone return type
94 (copyIntoMinibuffer): ditto
96 2003-07-25 Asger Alstrup <alstrup@lyx.org>
98 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
99 by not having a special case, and always doing a full rebreak of
100 the document after undo.
102 2003-07-23 Angus Leeming <leeming@lyx.org>
104 * factory.C (createInset): InsetExternal::setParams now takes a
107 2003-07-23 Angus Leeming <leeming@lyx.org>
109 * factory.C (createInset): changed interface to the external and
110 graphics mailers' string2params functions.
112 2003-07-23 Angus Leeming <leeming@lyx.org>
114 * factory.C (createInset): pass a
115 Buffer const * parameter to InsetExternalMailer's string2params.
117 2003-07-22 John Levon <levon@movementarian.org>
119 * Thesaurus.h: include the right aiksaurus header
121 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * MenuBackend.C (expand): check menu shortcuts unconditionally
125 2003-07-21 Angus Leeming <leeming@lyx.org>
127 * factory.C (createInset): pass a
128 buffer_path parameter to InsetGraphicsMailer's string2params.
130 2003-07-21 Angus Leeming <leeming@lyx.org>
132 * BufferView_pimpl.C (buffer):
135 * lyxfunc.C (dispatch):
136 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
137 rather than the grfx shortcut.
139 2003-07-21 André Pönitz <poenitz@gmx.net>
141 * rowpainter.C: remove unused variables
144 * tabular_funcs.h: move to tabular.C
145 * Makefile.am: adjust
147 * tabular.[Ch]: basic optical cleaning
149 * author.h: pass references, not values
151 2003-07-18 André Pönitz <poenitz@gmx.net>
159 * text3.C: two-phase drawing for InsetText and InsetTabular
160 some float -> int changes.
162 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
164 * lyx_main.C: fix the fix
166 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
168 * lyx_main.C: fix a crash in batch mode if no files specified
171 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
173 * format.[Ch] (papersize): moved to BufferParams
174 * converter.[Ch] (dvips_options): moved to BufferParams
175 (dvipdfm_options): moved to anon namespace
176 * bufferparams.[Ch]: added above functions.
178 2003-07-17 André Pönitz <poenitz@gmx.net>
182 * text2.C: don't call inset->update() anymore
184 * metricsinfo.[Ch]: add convenience constructor
186 2003-07-16 André Pönitz <poenitz@gmx.net>
191 * text2.C: replace the LyXCursor::irow_ member with
192 on-demand computation of the value
194 2003-07-16 John Levon <levon@movementarian.org>
196 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
198 2003-07-15 André Pönitz <poenitz@gmx.net>
201 * text2.C: remove no more needed refresh_row
203 2003-07-15 André Pönitz <poenitz@gmx.net>
208 * text3.C: refresh_status tristate -> need_update bool
210 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
212 * lyxtext.h (init): remove reinit argument (act as if always true)
213 * text2.C: adjust to that
215 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
217 * bufferview_funcs.[Ch]: introduce function replaceSelection()
218 * text3.C: use it to delete selections in some cases
219 (bugs 441, 673, 702, 954).
221 2003-07-14 André Pönitz <poenitz@gmx.net>
223 * rowpainter.[Ch]: reduce interface
225 2003-07-14 André Pönitz <poenitz@gmx.net>
227 * BufferView_pimpl.C:
228 * text2.C: adjust after removing unused BufferView * argument
230 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
232 * text2.C (init): fix a crash fired on resize
234 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
236 * buffer.[Ch]: added new closing signal
237 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
238 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
239 BufferView::Pimpl via the closing the signal
241 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
243 * buffer.[Ch]: take out all bv-related from buffer
245 * BufferView_pimpl.[Ch]: connect to new signals
246 * CutAndPaste.C: removed useless asserts
247 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
250 * lyxfunc.C: moved view-related funciontality from vc here
251 * paragraph.C: removed outdated comments
254 2003-07-10 André Pönitz <poenitz@gmx.net>
256 * BufferView_pimpl.C:
260 * text2.C: remove InsetText::InnerCache, clean up consequences
262 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
264 * ispell.C: fix two typos in error messages
266 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
268 * Extend Note inset to other forms of annotation like Comment
269 and Greyedout. Right button click gives dialog.
271 Files modified or added (+):
277 * Makefile.am in frontends/xforms, frontends/xforms/forms,
278 frontends/controllers
282 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
284 * aspell.C: add missing namespace lyx::support
286 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
288 * BufferView.[Ch] (newFile): Add
289 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
290 * LaTeX.[Ch] (message): added this signal and use it
291 * buffer.[Ch] (busy, message): added these signals and use them
292 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
296 * importer.C: use buffer signals instead of direct bv calling
297 * lyx_cb.[Ch] (ShowMessage): removed
301 * text2.C: use buffer signals
303 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * introduce namespace lyx::graphics
307 2003-07-02 André Pönitz <poenitz@gmx.net>
309 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
311 2003-07-01 André Pönitz <poenitz@gmx.net>
318 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
319 text*.C to text_func.C
321 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
323 * introduce namespace lyx::support
325 2003-06-30 André Pönitz <poenitz@gmx.net>
330 * text.C: re-enable --with-included-string
332 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * textcursor.C: add <config.h>
336 * text.C (getWord): remove const from word_location arg
338 * lyxvc.C (getLogFile): fix const type order
340 * lyxtext.h: remove const from word_location arg, add arg name
342 * lyxlayout.h: currect type on labeltype.
344 * importer.C: correct \file
346 * converter.C (intToFormat): use std:: on ret val, ws changes
348 * bufferlist.h: correct \file
350 * buffer.C (makeLinuxDocFile): fix const type order
351 (makeDocBookFile): ditto
352 (fillWithBibKeys): use std:: on stdlib args.
354 * CutAndPaste.C: fix authors.
355 (availableSelections): use std:: on return vector
357 2003-06-27 André Pönitz <poenitz@gmx.net>
359 * BufferView_pimpl.C:
360 * bufferview_funcs.C:
368 * text3.C: remove LyXCursor::row_ member
371 * text.C: rename fullRebreak() to partialRebreak() and implement
372 a fullRebreak() that really bereks fully
374 * textcursor.h: new struct for cursor-related data
376 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
378 * lyx_main.C (LyX): get full path of document loaded on the
381 2003-06-26 André Pönitz <poenitz@gmx.net>
383 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
384 remove unused/broken operator>,<,>=.
386 * text.C: remove only use of broken operator<= in an Assert().
388 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
390 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
391 moved errorlist_.clear to showErrorList
393 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
395 * converter.C (scanLog, runLaTeX):
396 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
397 move the bv->showErrorList call to the callers
398 * lyxfunc.C: i.e. here...
400 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
401 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
402 namespace, the second to...
403 * buffer_funcs (BufferFormat, parseErrors): added
404 * errorlist.C (ErrorList(TeXErrors const &)): removed
406 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
408 * ToolbarBackend.C (getIcon): complain when icon cannot be found
410 2003-06-24 "Garst R. Reese" <reese@isn.net>
414 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
418 * version.C.in: change docversion to 1.4
420 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
422 * buffer.C: fix a bug just introduced
424 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
426 * buffer.[Ch]: added the parseError signal and use it, removed
428 * BufferView.[Ch] (addError): moved to ...
429 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
430 to the Buffer::parseError signal to catch (guess what) parse errors
431 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
433 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
435 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
436 ability to create a buffer and to return an existing one from
437 the list. Moved these functions to...
438 * buffer_funcs.[Ch]: added
439 * BufferView.[Ch] (loadLyXFile): added
440 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
441 job removed from bufferlist::loadLyXFile.
442 * buffer.C (setReadOnly): make it work without view
443 (i.e added an if (users))
445 2003-06-19 Angus Leeming <leeming@lyx.org>
448 * LyXAction.C (init):
449 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
450 with LFUN_DIALOG_SHOW <name> <data>.
452 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * CutAndPaste.C (availableSelections): small compilation fix for
455 ancient (gcc 2.9x) compilers
457 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
459 * text3.C (cursorNext): add tmp var
461 * text2.C (updateCounters): for function calling out of for clause
462 (replaceSelectionWithString): ditto
463 (insertStringAsParagraphs): ditto
464 (getColumnNearX): add tmp var
465 (setCursorFromCoordinates): add tmp var
466 (cursorDownParagraph): add tmp var
467 (deleteEmptyParagraphMechanism): add tmp var
469 * text.C (insertChar): add tmp var
471 * rowpainter.C (paintDepthBar): add tmp var
473 * CutAndPaste.C (availableSelections): potentially check all
474 paragraphs in a cut to fill the shown strings.
476 2003-06-18 André Pönitz <poenitz@gmx.net>
478 * kbmap.[Ch]: use vector<> instead of list<>
480 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
482 * text3.C (dispatch): handle arg to LFUN_PASTE, call
483 pasteSelection with index
485 * text2.C (pasteSelection): modify, call pasteSelection with index
487 * paragraph.C (asString): reimplement version with no interval to
488 call the one with interval.
490 * lyxtext.h: add index arg to pasteSelection
492 * MenuBackend.C (MenuItem): handle PasteRecent
493 (Menu::read::Menutags): add md_pasterecent
495 (expandPasteRecent): new function
498 * MenuBackend.h: add PasteRecent to MenuItem::Kind
500 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
502 (availableSelections): new function
504 2003-06-17 Angus Leeming <leeming@lyx.org>
506 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
508 2003-06-17 Angus Leeming <leeming@lyx.org>
511 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
513 * lyxfunc.C (dispatch): invoke it.
515 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * iterators.C (operator++, ParPosition): reintroduce some
518 const_cast for the benefit of older compilers.
520 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * text3.C (dispatch): do not modify clipboard when doing
523 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
524 LFUN_DELETE_SKIP on a selection selection
526 2003-06-16 André Pönitz <poenitz@gmx.net>
532 * tabular.[Ch]: IU of clone() and getLabelList();
534 2003-06-13 André Pönitz <poenitz@gmx.net>
536 * tabular.h: compactification
538 2003-06-12 André Pönitz <poenitz@gmx.net>
542 * tabular_funcs.h: some renaming plus whitespace
544 2003-06-12 André Pönitz <poenitz@gmx.net>
547 * BufferView_pimpl.C:
553 * toc.C: Return a Paragraph & for ParIterator::operator*()
555 2003-06-11 John Levon <levon@movementarian.org>
559 * ToolbarBackend.C: add "Toolbars" section and
562 2003-06-10 Angus Leeming <leeming@lyx.org>
565 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
567 * lyxfunc.C (dispatch): invoke it.
569 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
571 * main.C: protect <ios> with HAVE_IOS
572 (main): protect sync_with_stdio with HAVE_IOS
574 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
576 * text2.C (cutSelection): adjust
577 (pasteSelection): adjust
579 * messages.C: handle get of empty string
581 * main.C (main): use sync_with_stdio(false)
583 * lyxfunc.C (dispatch): adjust
585 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
586 (WriteAs): remove unneeded BufferView arg.
588 * bufferparams.h: use correct types on papersize, papersize2 and
591 * bufferparams.C (readToken): adjust for type
592 (writeLaTeX): add missing cases to switch.
594 * bufferlist.C (quitWriteBuffer): adjust
597 * buffer.C (asciiParagraph): remove some commented code.
599 * CutAndPaste.C: remove current_view extern variable.
600 (cutSelection): add BufferParams arg.
601 (eraseSelection): add BufferParams arg.
602 (pasteSelection): add Buffer const & arg
604 2003-06-07 John Levon <levon@movementarian.org>
612 * paragraph.C: allow InsetERT to freely space lines,
613 and some consolidation of code
615 2003-06-06 José Matos <jamatos@fep.up.pt>
617 * buffer.C (makeDocBookFile): fix bug #821
619 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
621 * BufferView_pimpl.C (dispatch): use Dialogs::visible
623 2003-06-04 Angus Leeming <leeming@lyx.org>
625 * buffer.C: bump format to 224.
627 2003-06-05 André Pönitz <poenitz@gmx.net>
629 * text2.C (redoParagraphs): remove two const_cast<>
631 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
633 * ParagraphList.h: remove last remnants of NO_STD_LIST
635 2003-06-03 Angus Leeming <leeming@lyx.org>
637 * factory.C (createInset): small change to the way InsetExternal's params
640 2003-06-04 André Pönitz <poenitz@gmx.net>
642 * buffer.h: use Undo directly instead of shared_ptr<Undo>
645 * paragraph.[Ch]: some Inset -> UpdatableInset changes
647 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
649 * undo_funcs.C: make some simple cases of undo work again
651 2003-06-03 John Levon <levon@movementarian.org>
653 * ispell.C: HPUX doesn't have sys/select.h
656 2003-06-03 John Levon <levon@movementarian.org>
658 * CutAndPaste.C: update tabular and include inset
663 * paragraph.C: remove owningBuffer(), don't pass Buffer
666 * factory.C: insetGraphicsParams changed
668 2003-06-02 John Levon <levon@movementarian.org>
674 * text3.C: remove insetparent
676 2003-06-02 John Levon <levon@movementarian.org>
679 * buffer.C: fix inset_iterator.end(), move out of line
682 2003-06-01 John Levon <levon@movementarian.org>
684 * text3.C: use a proper cut/paste when doing inset
685 insert (from Jürgen Spitzmüller)
687 2003-06-01 John Levon <levon@movementarian.org>
689 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
691 2003-05-30 André Pönitz <poenitz@gmx.net>
693 * rowpainter.C: unify second drawing phase
695 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
697 * trans_mgr.C: remove one case of current_view
699 * text2.C (cursorBottom): delete NO_STD_LIST stuff
701 * paragraph_funcs.h: remove paragraph.h include
703 * paragraph.h: delete NO_STD_LIST stuff
705 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
707 * buffer.h: remove paragraph.h include
709 * ParagraphList.C: delete file
711 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
713 * toc.C (getTocList): adjust
715 * paragraph_pimpl.C (validate): adjust
717 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
719 * paragraph.C (Paragraph): adjust
720 (getPositionOfInset): use const_iterator, adjust
721 (bibitem): use const_iterator, adjust
722 (setInsetOwner): adjust
724 * iterators.C (operator++): adjust
726 * InsetList.[Ch]: Replace selfmade iterator with standard
727 vector::iterator also introduce const_iterator. Remove getPos,
728 getInset and setInset from InsetTable. Adjust accordingly.
730 * BufferView.C (lockInset): adjust
731 (ChangeInsets): adjust
733 * tabular.[Ch]: delete commented same_id functions
735 2003-05-28 John Levon <levon@movementarian.org>
737 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
739 2003-05-28 André Pönitz <poenitz@gmx.net>
741 * metricsinfo.[Ch]: remove 'fullredraw' member
743 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
745 * lyxtextclass.C (operator): remove caching.
747 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * text2.C (cursorBottom): adjust
752 (setCounter): use ParagraphList::find, adjust
754 * text.C (workWidth): use ParagraphList::find, adjust
756 * lyxcursor.C (LyXCursor): adjust
758 * buffer.C (inset_iterator): adjust
760 * ParagraphList.h: make iterator(value_type) private, make
761 ParagraphList a friend of iterator.
763 * ParagraphList.C (find): new function
765 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
767 2003-05-27 André Pönitz <poenitz@gmx.net>
769 * dimension.[Ch]: a -> asc, d -> des, w -> wid
771 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
775 2003-05-26 John Levon <levon@movementarian.org>
777 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
779 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
781 * remove same_id from function signatures, adjust.
783 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
785 * undo_funcs.C (createUndo): use the id functions directly, adjust.
787 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
789 * paragraph.C (Paragraph): get rid of same_ids parameter
791 * ParagraphList.C (insert): adjust
794 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
796 * paragraph_funcs.C (breakParagraph): adjust
797 (breakParagraphConservative): adjust
799 * buffer.C (readParagraph): adjust
801 * ParagraphList.C (insert): take a reference instead of a pointer
804 * paragraph.[Ch] (id): new function
806 * bufferlist.C (newFile): adjust
808 * ParagraphList.C (ParagraphList): adjust
810 (push_back): take a reference instead of a pointer.
812 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
814 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
817 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
818 set else use old code.
820 * ParagraphList.C: remove all NO_NEXT code and only compile this
821 code of NO_STD_LIST is set.
823 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
825 * BufferView_pimpl.C:
835 * graphics/GraphicsConverter.C:
836 * graphics/PreviewLoader.C: header adjustment
838 2003-05-23 Angus Leeming <leeming@lyx.org>
840 * LaTeXFeatures.[Ch] (useBabel): new method.
841 * bufferparams.C (writeLaTeX): use it.
843 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * ParagraphList.h (set): remove unused function.
847 2003-05-23 André Pönitz <poenitz@gmx.net>
850 * BufferView_pimpl.C:
854 * undo_funcs.C: setUndo reworked
856 * iterators.[Ch]: add access to topmost ParagraphList
858 * lyxtext.[Ch] (workWidth): add a const
860 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
862 * texrow.[Ch] (increasePos): remove function
863 * exporter.C (export): removed unused var and outdated comment
865 2003-05-23 Angus Leeming <leeming@lyx.org>
867 * latexrunparams.h: rename fragile as moving_arg.
868 * paragraph.C (simpleTeXOnePar): ditto.
869 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
871 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
873 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
875 (textUndoOrRedo): comment out a currently unused var.
877 * paragraph.h (NO_NEXT): enable NO_NEXT
879 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
881 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
883 * exporter.C (Export): adjust for removeAutoInsets removal.
885 * buffer.C (runChktex): adjust for removeAutoInsets removal.
887 * LyXAction.C (init): remove LFUN_REMOVEERRORS
889 * BufferView.[Ch] (removeAutoInsets): delete function
891 2003-05-22 Angus Leeming <leeming@lyx.org>
893 * latexrunparams.h: add a free_spacing variable.
895 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
896 to pass moving_arg, as the data is stored in runparams.fragile.
898 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
899 to Inset::latexOptional or to simpleTeXOnePar.
901 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
902 free_spacing arg to Inset::latexOptional.
904 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
907 2003-05-22 Angus Leeming <leeming@lyx.org>
909 * latexrunparams.h: add fragile and use_babel variables.
911 * bufferparams.[Ch] (writeLaTeX): return use_babel.
912 * buffer.C (makeLaTeXFile): store this returned value in
913 runparams.use_babel, thus passing it to the inset::latex methods.
915 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
916 simpleTeXSpecialChars as it is now stored in runparams.fragile.
918 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
919 longer has a fragile arg, as it is stored in runparams.fragile.
921 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
922 moving_arg parameter as the data is stored in runparams.fragile.
924 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
925 a fragile parameter as the data is stored in runparams.fragile.
927 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
929 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
931 2003-05-22 Angus Leeming <leeming@lyx.org>
933 * latexrunparams.h: add a 'bool nice' which defaults to false.
935 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
936 now encapsulated within runparams.
938 * bufferlist.C (updateIncludedTeXfiles):
939 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
941 2003-05-22 Angus Leeming <leeming@lyx.org>
943 * latexrunparams.h: new file containing struct LatexRunParams.
944 * Makefile.am: add new file.
946 * LaTeX.[Ch] (c-tor, run):
947 * buffer.[Ch] (makeLaTeXFile):
948 * bufferlist.[Ch] (updateIncludedTeXfiles):
949 * converter.C (convert, scanLog):
950 * converter.[Ch] (runLaTeX):
951 * exporter.C (Export):
952 * paragraph.[Ch] (simpleTeXOnePar):
953 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
954 * paragraph_funcs.[Ch] (latexParagraphs):
955 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
956 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
957 pass around a LatexRunParams parameter.
959 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
961 * paragraph.[Ch]: remove unused constructor
963 * ParagraphList.C (erase): new function, taking two iterators
965 2003-05-22 André Pönitz <poenitz@gmx.net>
967 * undo_funcs.C: remove duplicated code
969 * iterator.[Ch]: operator=
971 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * tabular.C (SetMultiColumn): ws changes
975 * rowpainter.C (paintFirst): get rid of a ->previous
977 * lyx_cb.C (getPossibleLabel): parlist simplification
979 * BufferView.C (ChangeInsets): simplify slightly.
981 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
983 * LyXAction.C: new lfun space-insert, kill protected-space-insert
984 * lfuns.h: new LFUN_SPACE
985 * lyxfunc.C: protected space has a new lfun
986 * paragraph_funcs.C: read new space insets
988 * factory.C: handle new space insets
990 2003-05-22 André Pönitz <poenitz@gmx.net>
993 * BufferView_pimpl.C:
996 * undo_funcs.C: return a ParIterator from getParFromID.
998 * iterators.[Ch]: add two const's
1000 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * toc.C (getTocList): adjust
1004 * iterators.[Ch]: rework for parlist
1006 * buffer.C (par_iterator_begin): adjust
1007 (par_iterator_end): adjust
1009 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1011 * BufferView.C (removeAutoInsets): adjust
1012 (ChangeInsets): adjust
1014 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1016 * text.C (top_y): fix bug 1110
1018 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1020 * errorlist.[Ch]: added
1023 * BufferView_pimpl.C:
1024 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1027 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1029 * Makefile.am: ensure that lyx is relinked upon changes to the
1030 various "convenience" libs.
1032 2003-05-20 Angus Leeming <leeming@lyx.org>
1034 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1035 files are compiled in alphabetical order again.
1037 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1039 2003-05-19 Angus Leeming <leeming@lyx.org>
1041 * gettext.[Ch]: remove "char const * _(char const *)".
1043 2003-05-19 André Pönitz <poenitz@gmx.net>
1045 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1054 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1056 2003-05-19 André Pönitz <poenitz@gmx.net>
1060 * lyxtextclass.[Ch]:
1062 * paragraph_funcs.[Ch]:
1064 * text3.C: more insetenv work
1066 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1068 * ParagraphParameters.C (params2string): small bug fixed
1070 2003-05-16 André Pönitz <poenitz@gmx.net>
1073 * bufferview_funcs.C: patch from Kornel Benko to prevent
1074 crash when _(...) is called twice in a statement
1076 2003-05-16 André Pönitz <poenitz@gmx.net>
1083 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1085 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1087 * lyx_main.C (init): remove spurious static_cast
1089 2003-05-14 André Pönitz <poenitz@gmx.net>
1091 * BufferView.C: fix format string
1093 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1095 * BufferView.[Ch] (insertErrors): removed
1096 * BufferView.[Ch] (showErrorList): added
1097 * buffer.C (runChkTeX):
1098 * converter.C (scanLog): call showErrorList instead of inserterrors
1100 2003-05-13 André Pönitz <poenitz@gmx.net>
1102 * BufferView_pimpl.C:
1104 * bufferview_func.C:
1111 * tabular_funcs.h: tostr() from its own header
1113 * ParagraphParameters.C:
1118 * text3.C: STRCONV()
1120 2003-05-12 André Pönitz <poenitz@gmx.net>
1123 * BufferView_pimpl.C:
1127 * ParagraphParameters.C:
1131 * bufferview_funcs.C:
1144 * paragraph_funcs.C:
1148 * text3.C: boost::format -> bformat all over the place
1151 2003-05-09 André Pönitz <poenitz@gmx.net>
1153 * LColor.[Ch]: Pimpl the #include <map> away
1155 2003-05-09 John Levon <levon@movementarian.org>
1157 * bufferlist.C: never remove emergency saves
1159 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1161 * Makefile.am: better lib building
1163 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1167 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1168 (simpleTeXSpecialChars): adjust
1169 (simpleTeXSpecialChars): adjust
1170 * paragraph.C (simpleTeXOnePar): adjust
1171 * buffer.C (makeLaTeXFile): adjust
1173 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1175 * text2.C (changeDepth): parlist cleanup
1176 (getColumnNearX): ditto
1178 * rowpainter.C (getLabelFont): parlist cleanup
1180 * bufferlist.C (newFile): parlist cleanup
1182 * CutAndPaste.C (eraseSelection): parlist cleanup
1184 * BufferView_pimpl.C (trackChanges): parlist cleanup
1187 * BufferView.C (lockInset): parlist cleanup.
1188 (ChangeInsets): ditto
1190 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * CutAndPaste.h: Update file header.
1194 * CutAndPaste.C: Update file header.
1195 Store the parts cut out of the Document in a limited_stack.
1196 (copySelection): adjust
1197 (pasteSelection): new function, takes the index in the limited stack.
1198 (nrOfParagraphs): adjust
1199 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1200 simplify error inset insertion.
1201 (checkPastePossible): adjust
1203 2003-05-06 John Levon <levon@movementarian.org>
1205 * text2.C: don't cast wrap inset to float
1207 2003-05-05 André Pönitz <poenitz@gmx.net>
1210 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1212 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1213 few naked Paragraph *.
1215 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1217 * bufferparams.C: Output warning if a document with missing
1218 TeX document class is loaded
1219 * exporter.C: Disable TeX exports if the document class is missing
1222 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1223 isTeXClassAvailable()
1225 2003-05-03 John Levon <levon@movementarian.org>
1228 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1229 explicit cursor show/hide
1231 * BufferView_pimpl.h:
1232 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1233 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1235 * lyxfunc.C: hide cursor before dispatching.
1240 * text3.C: remove explicit cursor hides
1242 2003-05-02 André Pönitz <poenitz@gmx.net>
1244 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1247 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1250 * text2.C: tiny whitespace
1252 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1254 * undo_funcs.C: almost only ws changes.
1256 * ParagraphList.C (splice): just return if pl is empty.
1258 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1260 * ParagraphList.C (splice): new function.
1262 * CutAndPaste.C (pasteSelection): use it
1264 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1266 * CutAndPaste.C (pasteSelection): remove the last next and
1267 previous from this file.
1269 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * CutAndPaste.C (pasteSelection): more clean up, user proper
1272 ParagraphList functions for pasteing.
1274 * ParagraphList.C (insert): new function, three arg insert
1276 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1278 * ParagraphList.C (insert): new function, three arg insert
1280 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1283 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1285 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1287 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1289 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1291 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1293 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1294 (copySelection): clean up a bit.
1295 (pasteSelection): use make_pair
1297 * ParagraphList.C (ParagraphList): implement copy constructor
1298 (operator=): implement, base on copy constructor.
1301 * paragraph.C (erase): return a bool
1303 * paragraph_pimpl.C (erasePos): remove function, move contents...
1304 (erase): ... here. Return a bool.
1305 (erase): call erase instead of erasePos.
1307 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1309 * ParagraphList.h: define PitPosPair
1310 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1311 ParagraphList, fix a bug on pasting multiple pars
1312 * text2.C: change interface to C&P
1314 2003-04-30 André Pönitz <poenitz@gmx.net>
1316 * undo_func.C: revert part of yesterday's patch 2
1318 2003-04-30 John Levon <levon@movementarian.org>
1320 * LColor.C: s/tabular/table/
1322 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * text3.C (dispatch): do not convert iterator -> pointer
1325 * undo_funcs.C (setCursorParUndo): ditto
1326 * text_funcs.C (transposeChars): ditto
1328 * text2.C (setLayout): ws changes only
1330 * text.C (breakParagraph): do not convert iterator -> pointer
1332 (acceptChange): ditto
1333 (rejectChange): ditto
1338 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1341 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1343 * text3.C (gotoInset): YABG (yet another bad getChar)
1345 2003-04-29 André Pönitz <poenitz@gmx.net>
1347 * paragraph.h: make operator= private unimplemented as long as
1350 * ParagraphList.C: whitespace
1353 * paragraph_pimpl.[Ch]:
1354 * paragraph_funcs.C:
1356 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1359 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1361 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1363 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1364 * paragraph.[Ch] (erase):
1365 * paragraph_pimpl.[Ch] (erase): change return type and value
1366 * text2.C (cutSelection): some rework
1368 2003-04-28 John Levon <levon@movementarian.org>
1370 * bufferlist.C: changes for unsaved changes dialog
1372 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1374 * bufferlist.C (newFile): set language (messages_) for new
1377 * buffer.C (readFile): ws changes only.
1379 2003-04-28 André Pönitz <poenitz@gmx.net>
1384 * BufferView_pimpl.C:
1385 * BufferView.C: getParFromID related ParagraphList::iterator changes
1387 2003-04-28 André Pönitz <poenitz@gmx.net>
1389 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1392 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * messages.C: remove one more localedir class variable.
1396 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1398 * messages.C (getLocaleDir): singleton generation function
1400 (Messages): add a default constructor.
1402 * main.C (main): do not setup localedir here, do not call
1405 * gettext.C (_): use it.
1406 (gettext_init): delete funciton
1408 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * gettext.C (getLyXMessages): new singleton generating function.
1412 * buffer.C (updateDocLang): adjust
1414 * Makefile.am (messages.o): add target
1415 (main.o): remove target
1417 2003-04-27 John Levon <levon@movementarian.org>
1422 * lyxvc.C: specify cancel button in Alert::prompt
1424 2003-04-26 John Levon <levon@movementarian.org>
1429 * LyXAction.C: add LFUN_INSET_SETTINGS
1431 * lyxfunc.C: don't enable tabular-feature when there's
1432 just any locking inset
1434 2003-04-26 John Levon <levon@movementarian.org>
1436 * bufferlist.C: re-add Cancel to buffer close question
1438 * lyxfunc.C: fix import UI a bit
1440 2003-04-25 John Levon <levon@movementarian.org>
1442 * gettext.C: remove the broken asserts for now
1444 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1446 * messages.C: make case where setlocale cannot comply work better.
1448 * buffer.C (updateDocLang): new function
1449 (changeLanguage): use it
1452 * text2.C (setCounter): use B_ a bit.
1454 * lyxlayout.C (Read): be sure to trim the label strings.
1456 * messages.C (Messages): fix typo in comment
1458 * buffer.C (readFile): set message_ after file is loaded.
1459 (makeDocBookFile): remove double return
1460 (changeLanguage): reset message_ upon language change.
1461 (B_): new func, use this to get translated buffer strings.
1463 * main.C: add myself and Jean Marc as authors.
1465 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * messages.[hC]: pimplify Messages, and three different pimpls to be
1468 used in different circumstances.
1470 * gettext.[Ch]: change for use with new message code.
1472 2003-04-24 André Pönitz <poenitz@gmx.net>
1474 * factory.C: support for eqref
1476 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * messages.[Ch]: add missing char
1480 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1482 * messages.[Ch]: New files
1484 2003-04-18 John Levon <levon@movementarian.org>
1488 * BufferView_pimpl.C:
1492 * text2.C: remove layout-copy/paste (bug 778)
1494 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1496 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1498 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1500 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1501 if they succeed. Act accordingly.
1503 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * text2.C (setCharFont): adjust
1506 (setCounter): adjust
1507 (insertStringAsLines): adjust
1509 * text.C (leftMargin): adjust
1510 (setHeightOfRow): adjust
1512 * rowpainter.C (paintFirst): adjust
1515 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1517 (isFirstInSequence): ditto
1518 (getEndLabel): ditto
1521 * paragraph.C (getParLanguage): comment out some hard stuff.
1523 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1525 (simpleDocBookOnePar): ditto
1526 (makeDocBookFile): use ParagraphList::iterator
1528 * CutAndPaste.C (pasteSelection): adjust
1530 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * text2.C (getFont): adjust
1533 (getLayoutFont): adjust
1534 (getLabelFont): adjust
1536 * paragraph_funcs.C (TeXOnePar): adjust
1538 * buffer.C (simpleLinuxDocOnePar): adjust
1539 (simpleDocBookOnePar): adjust
1541 * CutAndPaste.C (pasteSelection): adjust
1543 * BufferView.C (getEncoding): adjust
1545 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1547 2003-04-16 John Levon <levon@movementarian.org>
1549 * lyxfind.C: use parlist stuff for search/changes
1551 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1553 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1555 * text2.C (deleteEmptyParagraphMechanism): adjust
1557 * text2.[Ch] (ownerParagraph): delete func (both of them
1559 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1563 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1565 * ParagraphList.C: prepare for NO_NEXT
1567 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * text2.C (getFont): adjust
1570 (getLayoutFont): adjust
1571 (getLabelFont): adjust
1573 * paragraph.C (getFont): adjust
1574 (getLabelFont): adjust
1575 (getLayoutFont): adjust
1577 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1579 2003-04-15 John Levon <levon@movementarian.org>
1583 * lyx_main.C: handle Include in .ui files
1585 2003-04-15 John Levon <levon@movementarian.org>
1587 * MenuBackend.C: make the doc files length shorter
1590 * ToolbarBackend.C: handle toolbar placement flags,
1593 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1595 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1598 * paragraph_funcs.C (TeXOnePar): adjust
1600 * paragraph.C (getLabelFont): add outerfont arg, adjust
1601 (getLayoutFont): ditto
1602 (simpleTeXOnePar): adjust
1604 * paragraph_pimpl.C (realizeFont): delete func
1606 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1608 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1609 row argument, constify cur argument.
1611 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * text2.C (getFont): adjust
1614 (getLayoutFont): adjust
1615 (getLabelFont): adjust
1617 * paragraph_funcs.C (TeXOnePar): adjust
1618 (outerFont): new func...
1619 (realizeFont): ...moved out from here, changed this to facilitate
1622 * paragraph.C (getFont): take outerfont as arg, adjust
1623 (simpleTeXOnePar): add outerfont arg, adjust
1625 * buffer.C (simpleLinuxDocOnePar): adjust
1626 (simpleDocBookOnePar): adjust
1628 * CutAndPaste.C (pasteSelection): adjust
1630 * BufferView.C (getEncoding): adjust
1632 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * text2.C (setCharFont): adjust
1635 (setCounter): adjust
1637 * text.C (leftMargin): adjust
1638 (setHeightOfRow): adjust
1640 * rowpainter.C (paintFirst): adjust
1643 * paragraph_pimpl.C (realizeFont): adjust
1645 * paragraph.C (isFirstInSequence): move from here...
1646 * paragraph_funcs.C (isFirstInSequence): ...to here
1648 * paragraph.C (outerHook): move from here...
1649 * paragraph_funcs.C (outerHook): ...to here
1651 * paragraph.C (depthHook): move from here...
1652 * paragraph_funcs.C (depthHook): ...to here
1654 * paragraph.C (getEndLabel): move from here...
1655 * paragraph_funcs.C (getEndLabel): ...to here
1657 * text2.C (realizeFont): move from here...
1658 * paragraph_funcs.C (realizeFont): ...to here
1660 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1664 2003-04-14 Angus Leeming <leeming@lyx.org>
1666 * LColor.[Ch]: scrap LColor mathcursor.
1668 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1670 * lyxlex.[Ch] (text): delete function
1671 * trans.C (Load): adjust
1672 * paragraph_funcs.C (readParToken): adjust
1674 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1677 vector<char> instead of a char[].
1679 * lyxlex_pimpl.C (getString): adjust
1681 (lex): use getString
1685 * lyxlex.C (text): use pimpl_->getString()
1689 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1691 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1692 (makeFontEntriesLayoutSpecific): temp var for par.size()
1693 (setLayout): temp var for ownerParagraphs().end()
1694 (fullRebreak): temp var for rows().end()
1695 (selectionAsString): temp var for boost::next(startpit), realize
1696 that the while really is a regular for loop.
1697 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1698 setCursor in one place.
1699 (setParagraph): temp vr for ownerParagraphs().end()
1700 (updateCounters): make the while loop a for loop
1701 (cutSelection): temp var for ownerParagraphs().end()
1702 (updateInset): make the do {} while() a regular for loop
1703 (getCursorX): use temp vars
1704 (setCurrentFont): use temp vars
1705 (getColumnNearX): use temp vars
1707 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1709 * text.C (transformChar): use temp var for getChar
1710 (computeBidiTables): use temp var for row->par()
1711 (fill): move temp vars for row->par() and pit->layout() earlier in
1713 (labelFill): use temp var for row->par()
1714 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1715 asc and desc, realize that pit never changes and that firstpit is
1716 just a duplicate and not needed. Exchange rit->par() with pit in a
1718 (breakAgain): use a temp var for boost::next(rit)
1719 (breakAgainOneRow): ditto
1720 (breakParagraph): use a temp var for rows().begin()
1721 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1722 (cursorRightOneWord): use temp var for cursor.par() and
1723 cursor.pos(), remove usage of tmpcursor.
1724 (cursorLeftOneWord): use temp var for cursor.par() and
1725 cursor.pos() only set cur at end of function.
1727 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * text.C, text2.C: exchange all usage of Paragraph::next with
1730 boost::next(ParagraphList::iterator)
1732 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1734 * text2.C (cursorTop): simplify implementation
1735 (cursorBottom): ditto
1736 (setParagraph): use ParagraphList::iterator
1737 (setCurrentFont): adjust
1738 (getColumnNearX): adjust
1739 (cursorRight): adjust
1740 (cursorLeft): remove usage of Paragraph::previous
1741 (cursorUpParagraph): ditto
1742 (deleteEmptyParagraphMechanism): slight cleanup
1744 * text.C (isBoundary): take a Paragraph const & instead of a
1746 (addressBreakPoint): ditto
1747 (leftMargin): remove usage of Paragraph::previous.
1748 (setHeightOfRow): ditto
1749 (cursorLeftOneWord): ditto
1750 (selectNextWordToSpellcheck): ditto
1753 (breakParagraph): remove one usage of Paragraph::next
1754 (redoParagraph): ditto
1755 (acceptChange): ditto
1756 (insertChar): adjust
1757 (rowBreakPoint): adjust
1759 * bufferview_funcs.C (toggleAndShow): adjust
1761 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1763 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1764 methods to access it.
1766 * text.C: Added updateRowPositions to compute all row positions.
1767 Make top_y and getRowNearY() to use the cached y position
1769 2003-04-11 John Levon <levon@movementarian.org>
1771 * text.C (rowBreakPoint): reintroduce the labelEnd
1772 checks, code copied from the row fill stuff. Deep voodoo.
1774 * text.C (fill): add a comment and debugging for the
1777 2003-04-11 John Levon <levon@movementarian.org>
1779 * text.C: make sure fullrow insets get wrapped to the next line,
1780 even when they're in a manual label
1782 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * text2.C (insertParagraph): make it take ParagraphList::iterator
1786 (setLayout): make it return ParagraphList::iterator
1787 (redoParagraphs): ditto
1789 (checkParagraph): ditto
1791 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1793 * text2.C: adjust several funcs.
1794 (realizeFont): take a ParagraphList::iterator as arg.
1795 (getLayoutFont): ditto
1796 (getLabelFont): ditto
1797 (setCharFont): ditto
1799 * text.C: adjust several funcs.
1801 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1803 * text.C (selectNextWordToSpellcheck): don't accidentally
1806 2003-04-10 John Levon <levon@movementarian.org>
1808 * ToolbarBackend.C (getIcon): special handling for
1811 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1813 * text2.C (cursorRight): a getChar assert fixed
1815 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1817 * text2.C (getFont): change to take a ParagraphList::iterator
1818 instead of Paragraph*
1819 Adjust several functions.
1821 * text.C (transformChar): change to take a ParagraphList::iterator
1822 instead of Paragraph*
1823 (singleWidth): ditto
1824 Adjust several functions.
1826 * rowpainter.C: adjust several functions
1827 * rowpainter.h:store a ParagraphList::iterator and not a
1831 2003-04-09 John Levon <levon@movementarian.org>
1836 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1837 and the "help" bits as well
1839 2003-04-09 John Levon <levon@movementarian.org>
1842 * ToolbarBackend.C: allow multiple toolbars
1844 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * undo_funcs.C (setCursorParUndo): adjust
1848 * text_funcs.C (transposeChars): adjust
1850 * text3.C (gotoNextInset): adjust
1853 * text2.C (setLayout): adjust
1854 (changeDepth): adjust
1856 (redoParagraphs): adjust
1857 (selectionAsString): adjust
1858 (setParagraph): adjust
1859 (insertInset): adjust
1860 (cutSelection): adjust
1861 (copySelection): adjust
1862 (pasteSelection): adjust
1863 (insertStringAsLines): adjust
1864 (updateInset): adjust
1865 (setCursor): change to take a ParagraphList::iterator parameter
1866 (setCursorIntern): change to take a ParagraphList::iterator parameter
1867 (setCurrentFont): adjust
1868 (cursorLeft): adjust
1869 (cursorRight): adjust
1870 (deleteEmptyParagraphMechanism): adjust
1872 * text.C (breakParagraph): adjust
1873 (insertChar): adjust
1874 (acceptChange): adjust
1875 (rejectChange): adjust
1876 (selectNextWordToSpellcheck): adjust
1877 (changeCase): adjust
1881 * lyxfind.C (SearchForward): adjust
1882 (SearchBackward): adjust
1883 (nextChange): adjust
1885 * lyxcursor.C (par): adjust
1887 * lyxcursor.h: store a ParagraphList::iterator instead of a
1890 * lyx_cb.C (getPossibleLabel): adjust
1892 * bufferview_funcs.C (toggleAndShow): adjust
1894 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1897 * BufferView.C (removeAutoInsets): adjust
1898 (lockedInsetStoreUndo): adjust
1900 2003-04-09 John Levon <levon@movementarian.org>
1902 * ToolbarBackend.C: try icon without argument
1903 if with argument fails
1905 2003-04-08 John Levon <levon@movementarian.org>
1908 * ToolbarBackend.C: add getIcon(), handle tooltip,
1909 and change from "Icon" to "Item".
1911 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1913 * BufferView.C (lockInset): another bad getchar crunched
1915 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1917 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1920 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1922 * lyxfind.C (searchForward, searchBackwards): bug 782
1924 2003-04-07 John Levon <levon@movementarian.org>
1926 * paragraph.C: remove dead comment
1928 * text.C: remove troublesome depth-fiddling code
1929 in leftMargin() and rightMargin() (bug 1017)
1931 * text.C: fix breaking of rows in nested lists
1934 * text2.C (updateCounters): fix up depth values
1937 2003-04-07 John Levon <levon@movementarian.org>
1939 * BufferView_pimpl.C: clear message when doc finishes resizing,
1940 and after a mouse event
1942 * lyxfunc.C: clear message after exiting inset
1944 2003-04-07 John Levon <levon@movementarian.org>
1946 * bufferview_funcs.C: show math status not outside
1947 status in the statusbar
1949 2003-04-07 John Levon <levon@movementarian.org>
1951 * lyxfunc.C: note status changed after a depth change
1953 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1955 * LaTeX.h: move AuxInfo operator==, != out of line.
1956 Remove LaTeX virtual destructor; nothing derives from it.
1957 Move operator()() out of public area and rename it startscript().
1958 Change protected for private.
1960 2003-04-04 Angus Leeming <leeming@lyx.org>
1963 * text2.C: remove unneeded #includes.
1965 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1967 * text2.C (dEPM): fix the heigth of the next row
1969 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1971 * text.C: squashed an invalid getChar requester + some ws changes
1973 2003-04-03 John Levon <levon@movementarian.org>
1975 * bufferview_funcs.h:
1976 * bufferview_funcs.C:
1979 * text2.C: make getStatus work for the env depth lfuns
1981 2003-04-03 John Levon <levon@movementarian.org>
1983 * bufferview_funcs.h:
1984 * bufferview_funcs.C:
1987 * text2.C: parlistize decDepth(), by merging it with incDepth()
1989 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1991 * lyxrow.h: store a ParagraphList::iterator instead of a
1992 Paragraph* and adjust other class functions to suit.
1994 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1997 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1999 * text2.C (setCursor): do not anchor to cursor row for the time being
2001 2003-04-02 John Levon <levon@movementarian.org>
2008 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2010 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * paragraph.h: make ParagraphList and ParagraphList::iterator
2013 friends of Paragraph.
2015 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2017 * ParagraphList.C: Use the private next_ and previous_ from
2020 2003-04-01 John Levon <levon@movementarian.org>
2024 * Makefile.am: rename, remove defaults gunk
2027 * MenuBackend.C: remove defaults gunk
2030 * Languages.C: remove defaults gunk
2033 * lyx_main.C: error out if files couldn't be found.
2035 2003-04-02 John Levon <levon@movementarian.org>
2037 * text2.C: make incDepth() use parlist
2039 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * undo_funcs.C (firstUndoParagraph): adjust
2043 * text3.C (gotoInset): adjust
2044 (dispatch): adjust, and rewrite loop.
2046 * text2.C (init): adjust, and rewrite loop.
2047 (redoParagraphs): adjust
2048 (updateInset): adjust, and rewrite loop.
2049 (deleteEmptyParagraphMechanism): adjust
2051 * tabular.C (LyXTabular): adjust
2052 (SetMultiColumn): adjust
2055 * lyxtext.[Ch] (ownerParagraph): delete function
2056 (ownerParagraphs): new function returns a ParagraphList.
2058 * BufferView.C (removeAutoInsets): adjust
2059 (insertErrors): adjust
2060 (setCursorFromRow): adjust
2062 2003-04-01 Angus Leeming <leeming@lyx.org>
2064 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2067 2003-04-02 John Levon <levon@movementarian.org>
2073 * text_funcs.C: make transposeChars a free function
2075 * lyxrow_funcs.C: remove wrong comment
2077 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2080 * rowpainter.C: adjust
2085 * lyxrow_funcs. [Ch]: new files
2087 * lyxrow.[Ch]: remove next and previous pointers
2088 (next,previous): remove accessor functions
2089 (isParEnd): move to lyxrow_funcs
2090 (lastPos): move to lyxrow_funcs
2091 (nextRowIsAllInset): move to lyxrow_funcs
2092 (lastPrintablePos): move to lyxrow_funcs
2093 (numberOfSeparators): move to lyxrow_funcs
2094 (numberOfHfills): move to lyxrow_funcs
2095 (numberOfLabelHfills): move to lyxrow_funcs
2096 (hfillExpansion): move to lyxrow_funcs
2100 * bufferview_funcs.C (toggleAndShow): adjust
2102 * RowList.h: Remove class RowList from file leave just a
2105 * RowList.C: delete file
2107 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2110 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * text3.C (cursorPrevious): adjust
2113 (cursorNext): adjust
2116 * text2.C (redoHeightOfParagraph): adjust
2117 (redoDrawingOfParagraph): adjust
2120 * text.C (breakParagraph): adjust
2121 (insertChar): adjust
2124 * rowpainter.C (RowPainter): adjust
2125 (leftMargin): simplify and adjust
2126 (most rowpainter functions): adjust.
2128 * rowpainter.h: store the row as RowList::iterator not as Row*
2130 * lyxcursor.C (row): taka RowList::iterator as arg
2133 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2136 2003-04-01 Angus Leeming <leeming@lyx.org>
2138 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2139 stuff like bool Bool.
2141 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2143 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2146 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2151 * lyxtext.h (rows): drop one version and leve a const variant that
2152 returns a RowList::iterator.
2154 2003-03-31 Angus Leeming <leeming@lyx.org>
2156 * text.C (fill): ensure that the signature is the same as that in the
2159 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * text2.C (redoParagraphs): adjust
2162 (updateCounters): adjust
2163 (checkParagraph): adjust
2164 (getColumnNearX): adjust and reformat a bit.
2166 * text.C (top_y): adjust
2168 (leftMargin): adjust
2169 (prepareToPrint): adjust
2171 (getRowNearY): adjust
2173 * lyxtext.h: make rowlist_ mutable.
2175 * RowList.h: add const_iterator
2176 * RowList.C: adjust for RowList::const_iterator.
2178 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2181 2003-03-31 John Levon <levon@movementarian.org>
2184 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2186 * lyx_main.C: set default fonts from using lyx_gui funcs
2188 * exporter.C: pdf_mode moved from lyxrc
2191 * lyxfunc.C: changes from above
2193 2003-03-31 John Levon <levon@movementarian.org>
2195 * lyx_main.C: fix to the last fix
2197 2003-03-31 John Levon <levon@movementarian.org>
2199 * bufferlist.C: "Load original" -> "Load Original"
2205 * format.C: more Alert cleanups
2207 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2209 * text2.C (removeParagraph): make it take a RowList::iterator as
2211 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2212 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2214 * text.C (anchor_row): make it take a RowList::iterator as arg,
2216 (computeBidiTables): make it take a const reference to Row instead
2217 of Row pointer, adjust.
2218 (leftMargin): make it take a RowList::iterator as arg, adjust.
2219 (rowBreakPoint): adjust
2220 (breakAgainOneRow): make it take a RowList::iterator as arg,
2222 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2224 * bufferview_funcs.C (toggleAndShow): adjust
2226 2003-03-30 John Levon <levon@movementarian.org>
2230 * boost-inst.C: moved to support
2232 * several files: changes as a result
2234 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * text2.C (LyXText): adjust.
2238 (removeRow): make it take a RowList::iterator as arg, adjust.
2239 (fullRebreak): adjust
2240 (deleteEmptyParagraphMechanism): adjust
2241 (clearPaint): adjust
2244 * text.C (top_y): adjust
2245 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2246 (breakAgain): make it take a RowList::iterator as arg, adjust.
2247 (breakParagraph): adjust
2248 (insertChar): adjust
2251 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2252 need_break_row, and refresh_row.
2254 * text3.C (dispatch): adjust
2256 * text2.C (checkParagraph): adjust
2258 (setCursorFromCoordinates): adjust
2260 * text.C (top_y): adjust
2262 (getRow): make it return a RowList::iterator, adjust
2263 (getRowNearY): make it return a RowList::iterator, adjust
2265 * text2.C (init): adjust
2266 (insertRow): remove function
2267 (insertParagraph): adjust
2268 (redoParagraphs): adjust
2269 (fullRebreak): adjust
2270 (updateCounters): adjust
2272 * text.C (top_y): rewrite to use RowList iterators.
2274 (setHeightOfRow): rewrite to sue RowList iterators.
2275 (appendParagraph): adjust
2276 (breakAgain): adjust
2277 (breakAgainOneRow): adjust
2278 (breakParagraph): adjust
2280 (getRowNearY): adjust, and remove commented code.
2282 * lyxtext.h (firstRow): delete function
2283 (lastRow): delete function
2284 (rows): new function (const and non-const versions.)
2285 (insertRow): delete function
2287 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2289 2003-03-29 John Levon <levon@movementarian.org>
2291 * BufferView_pimpl.C: always update scrollbar top
2292 because pasting text when we're anchored could mean we
2293 miss an update altogether
2295 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * text2.C (init): use rowlist_.end() and not 0.
2298 (insertRow): change to take a RowList::iterator as arg, adjust
2300 (insertParagraph): change to take a RowList::iterator as arg,
2302 (redoParagraphs): remove some debug msgs.
2304 * text.C (appendParagraph): change to take a RowList::iterator
2305 arg, adjust for this.
2306 (breakAgain): add an assert
2307 (breakAgainOneRow): ditto
2309 2003-03-29 John Levon <levon@movementarian.org>
2311 * text2.C: do not clear selection after inc/decDepth
2314 2003-03-29 John Levon <levon@movementarian.org>
2317 * buffer.C: fix broken strerrors according to Lars
2319 2003-03-29 John Levon <levon@movementarian.org>
2321 * converters.C: more Alert cleanups
2323 2003-03-29 John Levon <levon@movementarian.org>
2325 * bufferview_funcs.C: remove pointless Alert
2327 * buffer.C: fix confusing error message when
2328 a template is chmoded 000
2330 2003-03-29 John Levon <levon@movementarian.org>
2334 * BufferView_pimpl.C: Alert fixes
2338 * tabular-old.C: remove unused table compat reading
2340 2003-03-29 John Levon <levon@movementarian.org>
2345 * lyx_cb.C: more Alert cleanups
2347 * lyxfunc.C: don't allow chktex if not latex document
2349 2003-03-29 John Levon <levon@movementarian.org>
2353 * buffer.C: warnings pushed down from support/,
2356 2003-03-29 John Levon <levon@movementarian.org>
2358 * lyxfunc.C: safety check for C-r (revert)
2360 2003-03-29 John Levon <levon@movementarian.org>
2363 * bufferlist.C: several UI fixes using Alert::prompt.
2364 Fix the pointless looping quit code. Fix stupid revert
2369 * lyx_cb.C: use Alert::prompt
2371 * lyx_main.C: remove a silly question
2373 * lyxfunc.C: remove a couple of silly questions,
2376 2003-03-28 John Levon <levon@movementarian.org>
2378 * text2.C: fix bug 974 (End on empty par)
2380 2003-03-28 John Levon <levon@movementarian.org>
2382 * BufferView_pimpl.C:
2384 * lfuns.h: remove do-nothing math greek lfuns
2386 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * lyxgluelength.h (isValidGlueLength): add default arg on
2389 parameter 2. Remove default arg from friend in class.
2391 * lyxlength.h (isValidLength): add default arg on parameter 2.
2392 Remove default arg from friend in class.
2394 * text2.C (LyXText): adjust, initialize refresh_row.
2398 (insertParagraph): adjst
2399 (redoParagraphs): adjust
2400 (fullRebreak): adjust
2401 (updateCounters): adjust
2402 (deleteEmptyParagraphMechanism): first attempt at fixing a
2405 * text.C (top_y): adjust
2406 (setHeightOfRow): adjust
2408 (getRowNearY): adjust
2410 * lyxtext.h: include RowList.h
2411 (~LyXText): not needed anymore, deleted.
2412 (firstRow): modify for RowList
2413 (lastRow): new function
2414 Delete firstrow and lastrow class variables, add a Rowlist
2415 rowlist_ class variable.
2417 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2420 * RowList.C (insert): fix case where it == begin().
2422 2003-03-26 Angus Leeming <leeming@lyx.org>
2424 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2425 the thesaurus dialog.
2427 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2431 * RowList.[Ch]: new files
2433 * ParagraphList.C (erase): handle the case where it == begin
2436 2003-03-25 John Levon <levon@movementarian.org>
2440 * aspell.C: add new aspell support
2443 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2446 2003-03-25 Angus Leeming <leeming@lyx.org>
2449 * LyXAction.C (init): new LFUN_INSET_INSERT.
2451 * BufferView_pimpl.C (dispatch): split out part of the
2452 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2454 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2457 2003-03-25 Angus Leeming <leeming@lyx.org>
2459 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2461 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2464 * text3.C: remove useless row->height(0)
2466 2003-03-25 John Levon <levon@movementarian.org>
2470 * text3.C: rename the refreshing stuff to better names
2472 2003-03-24 John Levon <levon@movementarian.org>
2474 * BufferView_pimpl.h:
2475 * BufferView_pimpl.C: update layout choice on a mouse
2478 2003-03-23 John Levon <levon@movementarian.org>
2480 * Makefile.am: fix commandtags.h reference
2482 2003-03-22 John Levon <levon@movementarian.org>
2484 * BufferView_pimpl.C:
2489 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2491 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2494 * text.C: take the rtl methods out of line
2496 2003-03-21 André Pönitz <poenitz@gmx.net>
2498 * metricsinfo.[Ch]: new files containing structures to be passed around
2499 during the two-phase-drawing...
2501 2003-03-21 André Pönitz <poenitz@gmx.net>
2503 * lyxtextclass.C: read 'environment' tag.
2505 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2507 * text2.C (removeRow): fix bug 964
2509 2003-03-20 John Levon <levon@movementarian.org>
2513 * text2.C: paint cleanups. Inset::update() dropped font
2516 2003-03-19 John Levon <levon@movementarian.org>
2518 * lyxfunc.C: only fitcursor/markDirty if available()
2520 2003-03-19 John Levon <levon@movementarian.org>
2522 * commandtags.h: rename to ...
2524 * lfuns.h: ... this, and renumber / cleanup
2526 2003-03-19 John Levon <levon@movementarian.org>
2528 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2529 fit the cursor after an lfun
2533 * BufferView_pimpl.h:
2534 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2536 * LyXAction.C: layout-character should have ReadOnly
2538 * ParagraphParameters.C:
2540 * bufferview_funcs.C:
2547 * undo_funcs.C: changes from above
2549 2003-03-18 John Levon <levon@movementarian.org>
2551 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2552 remove it from update()
2554 * lyxfunc.C: update layout choice after an lfun
2556 * text3.C: remove extra updateLayoutChoice()s
2558 2003-03-18 John Levon <levon@movementarian.org>
2560 * text.C: top_y change means full repaint, fix
2561 a drawing bug with cursor movement
2563 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2567 * text2.C: anchor row on setCursor
2569 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2571 * lyxtext.h: remove almost all mutable keywords
2574 * text3.C: remove const keywords accordingly
2576 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2580 (TeXEnvironment): ditto
2583 2003-03-17 John Levon <levon@movementarian.org>
2585 * text.C (rowBreakPoint): remove attempt to fix displayed
2586 math insets inside a manual label
2588 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * lyxtext.h: remove BufferView* as first arg from almost all class
2592 * other files: adjust.
2594 2003-03-17 John Levon <levon@movementarian.org>
2598 * text2.C: more paint cleanups
2600 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2603 * rowpainter.C: remove "smart" background painting code
2605 2003-03-16 John Levon <levon@movementarian.org>
2610 * text3.C: add helper functions for setting refresh_row/y
2612 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2614 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2615 newline inset which *can* get inserted in the pass_thru layouts.
2616 This is primarily for literate documents.
2618 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2620 * buffer.C: increment LYX_FORMAT to 223
2622 2003-03-14 André Pönitz <poenitz@gmx.net>
2624 * textclass.h: prepare for environment handling, ws changes
2625 * lyxlayout.C: read latexheader and latexfooter tags
2627 2003-03-14 John Levon <levon@movementarian.org>
2629 * text2.C: rewrite ::status() a bit
2631 2003-03-13 John Levon <levon@movementarian.org>
2633 * lyxtext.h: add some docs
2635 2003-03-13 John Levon <levon@movementarian.org>
2640 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2642 2003-03-13 John Levon <levon@movementarian.org>
2644 * text3.C: fix appendix redrawing
2646 2003-03-13 John Levon <levon@movementarian.org>
2648 * text.C (setHeightOfRow):
2650 * rowpainter.C: make appendix mark have the text
2651 "Appendix" so the user knows what it is
2654 * LColor.C: s/appendixline/appendix/ from above
2656 2003-03-13 John Levon <levon@movementarian.org>
2658 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2660 * text.C: fix a getChar(pos) bug properly
2662 2003-03-13 Angus Leeming <leeming@lyx.org>
2665 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2666 Probably only temporary. Let's see how things pan out.
2668 * BufferView.C (unlockInset):
2669 * BufferView_pimpl.C (fitCursor):
2670 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2672 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2673 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2675 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2676 new functions that convert ParagraphParameters to and from a string.
2678 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2679 BufferView::Pimpl's dispatch.
2680 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2682 2003-03-13 André Pönitz <poenitz@gmx.net>
2686 * factory.C: make it aware of InsetEnv
2688 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2690 * text2.C (setCursor): never ask for one past last
2691 (setCursor): add some debugging messages.
2693 * text.C (singleWidth): never ask for one past last
2694 (singleWidth): ditto
2696 (rightMargin): ditto
2697 (rowBreakPoint): ditto
2698 (setHeightOfRow): ditto
2699 (prepareToPrint): ditto
2701 * rowpainter.C (paintBackground): never ask for one past last
2702 (paintText): never ask for one past last
2704 * paragraph_pimpl.C (getChar): make the assert stricter, never
2705 allow the one past last pos to be taken
2707 * paragraph.C (getChar): ws changes only
2709 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2710 (numberOfSeparators): ditto
2711 (numberOfHfills): ditto
2713 2003-03-12 John Levon <levon@movementarian.org>
2719 * paragraph_funcs.C: fix per-buffer authorlists
2721 2003-03-12 John Levon <levon@movementarian.org>
2723 * text.C: fix newline in right address
2725 2003-03-12 Angus Leeming <leeming@lyx.org>
2727 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2728 duplicate those in LyXFunc::dispatch.
2732 * ToolbarDefaults.C:
2733 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2734 Add LFUN_FONTFREE_UPDATE.
2736 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2737 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2739 * bufferview_func.[Ch]: several new functions to facilliate
2740 transfer of data to and from the character dialog.
2742 2003-03-12 John Levon <levon@movementarian.org>
2747 * paragraph_funcs.C:
2748 * paragraph_pimpl.C:
2752 * text3.C: remove META_NEWLINE in favour of an inset
2755 * rowpainter.C: remove paintNewline (done by inset)
2757 2003-03-12 John Levon <levon@movementarian.org>
2759 * paragraph_pimpl.C: complain about bad getChar()s
2760 for a while at least
2762 2003-03-12 John Levon <levon@movementarian.org>
2765 * buffer.C: move paragraph read into a separate function,
2766 a little renaming to reflect that.
2769 * bufferparams.C: remove the author_ids map, not necessary now
2772 * factory.C: moved Buffer::readInset to here
2774 * paragraph_funcs.h:
2775 * paragraph_funcs.C: readParagraph free function moved from
2778 * tabular.C: name change
2780 2003-03-12 John Levon <levon@movementarian.org>
2783 * ParagraphParameters.C: move par params input to
2786 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2787 behave like a normal read from the stream wrt reading
2788 a line vs. a \\token
2790 2003-03-12 John Levon <levon@movementarian.org>
2793 * ParagraphParameters.h:
2794 * ParagraphParameters.C: move output code to a
2797 2003-03-12 John Levon <levon@movementarian.org>
2799 * BufferView.C (insertLyXFile):
2802 * tabular.C: use a parlist iterator for creating the
2805 2003-03-12 John Levon <levon@movementarian.org>
2807 * buffer.C: make current_change static local not
2810 2003-03-12 John Levon <levon@movementarian.org>
2812 * buffer.C: fix insertStringAsLines for change tracking
2814 2003-03-12 John Levon <levon@movementarian.org>
2821 * bufferparams.C: move author list into params. Rename some
2822 functions. Move the header reading into a separate token
2823 loop. Move the header token reading into BufferParams.
2825 2003-03-12 John Levon <levon@movementarian.org>
2827 * changes.C: put debug inside lyxerr.debugging() checks
2829 2003-03-11 André Pönitz <poenitz@gmx.net>
2831 * factory.C: make it aware of InsetHFill
2833 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2835 * buffer.C (latexParagraphs): move function from here...
2836 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2839 2003-03-10 Angus Leeming <leeming@lyx.org>
2841 * LyXAction.C (init): fix bug in poplating array with multiple entries
2842 with the same LFUN (spotted by JMarc).
2844 2003-03-10 John Levon <levon@movementarian.org>
2847 * text2.C: move getColumnNearX() near its
2850 2003-03-10 John Levon <levon@movementarian.org>
2852 * text.C: fix break before a minipage
2854 2003-03-10 John Levon <levon@movementarian.org>
2856 * text.C: fix the last commit
2858 2003-03-09 John Levon <levon@movementarian.org>
2862 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2863 bug 365 (don't break before insets unless needed). Don't
2864 return a value > last under any circumstances.
2866 2003-03-09 Angus Leeming <leeming@lyx.org>
2868 * BufferView_pimpl.C (trackChanges, dispatch): call
2869 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2871 2003-03-09 Angus Leeming <leeming@lyx.org>
2873 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2874 than Dialogs::showAboutlyx().
2876 2003-03-09 Angus Leeming <leeming@lyx.org>
2878 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2879 than Dialogs::showTabularCreate().
2881 2003-03-09 John Levon <levon@movementarian.org>
2885 * text2.C: 3rd arg to nextBreakPoint was always the same.
2888 2003-03-08 John Levon <levon@movementarian.org>
2895 * text2.C: Remove the "main" bit from the "main body"
2898 2003-03-08 John Levon <levon@movementarian.org>
2900 * text.C (leftMargin): The left margin of an empty
2901 manual label paragraph should not include the label width
2904 * text.C (prepareToPrint): don't attempt to measure hfills
2905 for empty manual label paragraphs - the answer should be 0
2907 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * CutAndPaste.C: remove commented code and reindent.
2911 2003-03-08 John Levon <levon@movementarian.org>
2914 * lyxfunc.C: move reloadBuffer()
2917 * BufferView.C: to here
2919 * lyxvc.C: add comment
2922 * vc-backend.C: call bv->reload() to avoid
2923 getStatus() check on MENURELOAD
2925 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2927 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2928 to an old format .dep file.
2930 2003-03-07 Angus Leeming <leeming@lyx.org>
2932 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2933 when the LFUN_MOUSE_RELEASE should have been handled by
2934 inset->localDispatch.
2936 2003-03-07 Angus Leeming <leeming@lyx.org>
2938 * BufferView_pimpl.C (dispatch):
2939 * LyXAction.C (init):
2940 * ToolbarDefaults.C (init):
2942 * lyxfunc.C (getStatus):
2943 remove LFUN_INSET_GRAPHICS.
2945 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2947 2003-03-07 Angus Leeming <leeming@lyx.org>
2950 * LyXAction.C (init):
2951 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2953 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2956 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2958 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2959 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2961 2003-03-07 Angus Leeming <leeming@lyx.org>
2963 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2966 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * ParagraphList.C (front): new function
2971 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2973 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2974 and top_row_offset_. removed var first_y.
2976 * text2.C (LyXText, removeRow):
2978 * BufferView_pimpl.C:
2979 use these methods instead of using first_y
2981 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * text2.C (pasteSelection): adjust for checkPastePossible
2985 * CutAndPaste.C: remove Paragraph * buf and replace with
2986 ParagraphList paragraphs.
2987 (DeleteBuffer): delete
2988 (cutSelection): change the tc type to textclass_type
2989 (copySelection): change the tc type to textclass_type
2990 (copySelection): adjust for ParagraphList
2991 (pasteSelection): change the tc type to textclass_type
2992 (pasteSelection): adjust for Paragraphlist
2993 (nrOfParagraphs): simplify for ParagraphList
2994 (checkPastePossible): simplify for ParagraphList
2995 (checkPastePossible): remove unused arg
2997 * ParagraphList.C (insert): handle the case where there are no
3000 * CutAndPaste.h: make CutAndPaste a namespace.
3002 * text3.C (dispatch): adjust
3004 * text.C (breakParagraph): add a ParagraphList as arg
3006 * paragraph_funcs.C (breakParagraph): change to take a
3007 BufferParams and a ParagraphList as args.
3008 (breakParagraphConservative): ditto
3009 (mergeParagraph): ditto
3010 (TeXDeeper): add a ParagraphList arg
3011 (TeXEnvironment): ditto
3014 * buffer.C (readLyXformat2): adjust
3015 (insertStringAsLines): adjust
3016 (latexParagraphs): adjust
3018 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3019 (cutSelection): adjust
3020 (pasteSelection): adjust
3022 * BufferView_pimpl.C (insertInset): adjust
3024 2003-03-05 Angus Leeming <leeming@lyx.org>
3027 * LyXAction.C (init):
3028 * BufferView_pimpl.C (dispatch):
3029 * lyxfunc.C (getStatus):
3030 remove LFUN_CHILD_INSERT.
3032 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3034 2003-03-05 Angus Leeming <leeming@lyx.org>
3037 * LyXAction.C (init):
3038 * src/factory.C (createInset):
3039 * lyxfunc.C (getStatus):
3040 * text3.C (dispatch):
3041 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3043 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3045 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * ParagraphList.C (insert): handle insert right before end()
3048 (erase): fix cases where it can be first or last paragraph.
3050 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3052 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3053 Paragraph::next and Paragraph::previous
3056 * text.C (breakParagraph): adjust
3058 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3059 BufferParams& as arg.
3060 (breakParagraph): use ParagraphList::insert
3061 (breakParagraphConservative): take a Buffer* instead of a
3062 BufferParams& as arg.
3063 (breakParagraphConservative): use ParagraphList::insert.
3065 * buffer.C (insertStringAsLines): un-const it
3066 (insertStringAsLines): adjust
3068 * ParagraphList.C (insert): new function
3070 * CutAndPaste.C (pasteSelection): adjust
3072 * text.C (backspace): adjust
3074 * tabular.C (SetMultiColumn): adjust
3076 * CutAndPaste.C (cutSelection): adjust
3077 (pasteSelection): adjust
3079 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3080 Buffer const * as arg
3082 * ParagraphList.C (erase): new function
3083 * paragraph_funcs.C (mergeParagraph): use it
3084 (mergeParagraph): make it take a Buffer* instead of a
3085 BufferParams* as arg
3087 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3089 (breakParagraphConservative): ditto
3091 * paragraph.h: remove the breakParagraph friend
3093 * paragraph.C (eraseIntern): new function
3094 (setChange): new function
3096 * paragraph_funcs.C (mergeParagraph): make it take a
3097 ParagraphList::iterator instead of a Paragraph *, adjust
3100 * paragraph.h: move an #endif so that the change tracking stuff
3101 also works in the NO_NEXT case.
3103 2003-03-04 Angus Leeming <leeming@lyx.org>
3106 * LyXAction.C: new LFUN_INSET_MODIFY.
3108 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3109 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3111 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * several files: ws changes only
3115 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3116 (TeXEnvironment): ditto
3119 * buffer.C (makeLaTeXFile): adjust
3120 (latexParagraphs): make it take ParagraphList::iterator as args
3122 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * buffer.C (latexParagraphs): adjust
3126 * paragraph.C (TeXOnePar): move function...
3127 (optArgInset): move function...
3128 (TeXEnvironment): move function...
3129 * paragraph_pimpl.C (TeXDeeper): move function...
3130 * paragraph_funcs.C: ...here
3132 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3134 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * buffer.C (readInset): remove compability code for old Figure and
3139 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * buffer.C: ws changes
3144 * BufferView_pimpl.C: ditto
3147 * bufferlist.h: ditto
3151 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3153 * converter.[Ch]: split into itself +
3156 * Makefile.am: += graph.[Ch] + format.[Ch]
3163 * lyxrc.C: added #include "format.h"
3165 2003-02-27 Angus Leeming <leeming@lyx.org>
3167 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3170 * factory.C (createInset): add "label" to the factory.
3172 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3173 string and do no more.
3175 2003-02-27 Angus Leeming <leeming@lyx.org>
3178 * LyXAction.C (init):
3179 * factory.C (createInset):
3180 * BufferView_pimpl.C (dispatch):
3181 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3183 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3185 * lyxfunc.C (dispatch):
3186 * text3.C (dispatch): pass name to params2string.
3188 2003-02-26 Angus Leeming <leeming@lyx.org>
3190 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3192 Rearrange the ~includes. Strip out the unnecessary ones.
3194 * factory.C (createInset): reformat.
3195 create new insets for the various LFUN_XYZ_APPLY lfuns.
3197 2003-02-26 John Levon <levon@movementarian.org>
3200 * lyxrow.C: add isParStart,isParEnd helpers
3202 * paragraph.h: make isInserted/DeletedText take refs
3204 * paragraph_funcs.h:
3205 * paragraph_funcs.C: remove #if 0'd code
3210 * text.C: use lyxrow helpers above.
3211 Move draw and paint routines to RowPainter.
3212 Make several methods use refs not pointers.
3213 Make backgroundColor() const.
3214 Add markChangeInDraw(), isInInset().
3215 Merge changeRegionCase into changeCase.
3216 Make workWidth() shouldn't-happen code into an Assert.
3219 * rowpainter.C: new class for painting a row.
3222 * vspace.C: make inPixels take a ref
3224 2003-02-26 Angus Leeming <leeming@lyx.org>
3226 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3229 2003-02-25 John Levon <levon@movementarian.org>
3231 * ispell.C: give the forked command a more accurate name
3233 2003-02-22 John Levon <levon@movementarian.org>
3236 * toc.C: make TocItem store an id not a Paragraph *
3239 2003-02-21 Angus Leeming <leeming@lyx.org>
3241 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3242 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3243 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3244 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3245 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3246 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3248 * BufferView_pimpl.C (dispatch):
3249 * LyXAction.C (init):
3250 * factory.C (createInset):
3251 * lyxfunc.C (getStatus, dispatch):
3252 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3254 2003-02-21 Angus Leeming <leeming@lyx.org>
3256 * BufferView_pimpl.C (MenuInsertLyXFile):
3257 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3258 * lyxfunc.C (menuNew, open, doImport):
3259 no longer pass a LyXView & to fileDlg.
3261 2003-02-21 Angus Leeming <leeming@lyx.org>
3263 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3264 * LyXAction.C: change, BIBKEY to BIBITEM.
3265 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3266 Change InsetBibKey to InsetBibitem.
3267 Change BIBKEY_CODE to BIBITEM_CODE.
3268 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3269 * factory.C: replace insetbib.h with insetbibitem.h.
3270 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3271 * paragraph.C: replace insetbib.h with insetbibitem.h.
3272 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3273 Change bibkey() to bibitem().
3274 * text.C: remove insetbib.h.
3275 * text2.C: replace insetbib.h with insetbibitem.h.
3276 change bibkey() to bibitem().
3277 * text3.C: remove insetbib.h.
3278 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3280 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3282 * lyxrc.C (output): enclose user email in quotes (in case there are
3285 2003-02-18 John Levon <levon@movementarian.org>
3287 * buffer.h: add std::
3289 2003-02-17 John Levon <levon@movementarian.org>
3295 * pspell.C: reworking. Especially in ispell, a large
3296 number of clean ups and bug fixes.
3298 * lyxfunc.C: fix revert to behave sensibly
3300 2003-02-17 André Pönitz <poenitz@gmx.net>
3303 * commandtags.h: new LFUN_INSERT_BIBKEY
3313 * paragraph_func.C: remove special bibkey handling
3315 2003-02-17 John Levon <levon@movementarian.org>
3317 * text.C (Delete): fix case where delete at the end of
3318 the very first paragraph would not merge the pars
3320 2003-02-17 John Levon <levon@movementarian.org>
3322 * lyxrow.C: fix lastPrintablePos()
3324 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3326 * bufferparams.C (writeLaTeX): add a std:here
3328 * buffer.C: and remove a using directive there
3330 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3332 * buffer.C (makeLaTeXFile): move the code that generates the
3335 * bufferparams.C (writeLaTeX): ... in this new method
3337 * LaTeXFeatures.C (getEncodingSet): make const
3338 (getLanguages): make const
3340 * MenuBackend.C (binding): returns the binding associated to this
3342 (add): sets the status of each item by calling getStatus. Adds
3344 (read): add support for OptSubMenu
3345 (expand): remove extra separator at the end of expanded menu
3347 2003-02-15 John Levon <levon@movementarian.org>
3350 * BufferView_pimpl.C:
3352 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3353 inset code that had no actual effect. Remove unneeded status
3356 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3358 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3361 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3363 * text.C (drawLengthMarker): also draw an arrow marker for
3364 symbolic lengths (medskip...)
3366 2003-02-14 John Levon <levon@movementarian.org>
3369 * tabular.C: better method names
3371 2003-02-14 John Levon <levon@movementarian.org>
3373 * BufferView_pimpl.C:
3378 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3379 it's a more accurate name. Remove some pointless uses.
3381 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3383 * text2.C (LyXText): change order of initilizers to shut off
3386 2003-02-14 John Levon <levon@movementarian.org>
3388 * buffer.C: use ParIterator for getParFromID()
3392 * paragraph_pimpl.h:
3393 * paragraph_pimpl.C: remove unused getParFromID()
3395 2003-02-14 John Levon <levon@movementarian.org>
3397 * buffer.C: remove some very old #if 0'd parse code
3399 2003-02-13 John Levon <levon@movementarian.org>
3403 * text2.C: move hfillExpansion(), numberOfSeparators(),
3404 rowLast(), rowLastPrintable(), numberofHfills(),
3405 numberOfLabelHfills() ...
3408 * lyxrow.C: ... to member functions here.
3413 * text.C: remove LyXText::beginningOfMainBody(), and call
3414 p->beginningOfMainBody() directly. Move the check for
3415 LABEL_MANUAL into the latter.
3422 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3428 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3429 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3431 2003-02-13 John Levon <levon@movementarian.org>
3433 * CutAndPaste.C: remove debug
3435 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3437 * paragraph.C (asString): remove two unused variables
3439 * lyxtextclass.C (readTitleType):
3441 (LyXTextClass): handle new members titletype_ and titlename_
3443 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3445 2003-02-09 John Levon <levon@movementarian.org>
3448 * buffer.C: replace hand-coded list with a map for the dep clean
3450 2003-02-08 John Levon <levon@movementarian.org>
3452 * LaTeX.C: consolidate code into showRunMessage() helper
3454 2003-02-08 John Levon <levon@movementarian.org>
3459 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3460 and pass the size in explicitly
3462 * BufferView_pimpl.h:
3463 * BufferView_pimpl.C:
3465 * BufferView.C: add getCurrentChange()
3467 * BufferView_pimpl.h:
3468 * BufferView_pimpl.C: handle change lfuns
3470 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3471 for changes. Mark pasted paragraphs as new.
3473 * support/lyxtime.h:
3474 * support/lyxtime.C:
3475 * DepTable.C: abstract time_t as lyx::time_type
3478 * LColor.C: add colours for new text, deleted text, changebars
3480 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3481 package use "usenames" option.
3485 * LyXAction.C: add change lfuns
3489 * author.C: author handling
3492 * buffer.C: add a per-buffer author list, with first entry as
3493 current author. Handle new .lyx tokens for change tracking. Output
3494 author list to .lyx file. Output dvipost stuff to .tex preamble.
3495 Bump lyx format to 222.
3498 * bufferlist.C: add setCurrentAuthor() to reset current author details
3502 * bufferparams.C: add param for tracking
3504 * bufferview_funcs.C: output change info in minibuffer
3508 * changes.C: add change-tracking structure
3511 * debug.C: add CHANGES debug flag
3514 * lyxfind.C: add code for finding the next change piece
3517 * lyxrc.C: add user_name and user_email
3520 * lyxrow.C: add a metric for the top of the text line
3523 * text.C: implement accept/rejectChange()
3526 * text.C: paint changebars. Paint new/deleted text in the chosen
3527 colours. Strike through deleted text.
3531 * paragraph_pimpl.h:
3532 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3533 in the current change to the insert functions. Rework erase to
3534 mark text as deleted, adding an eraseIntern() and a range-based
3535 erase(). Implement per-paragraph change lookup and
3538 * paragraph_funcs.C: Fixup paste for change tracking.
3540 * tabular.C: mark added row/columns as new.
3542 * text.C: fix rowLast() to never return -1. Don't allow
3543 spellchecking of deleted text. Track transpose changes. Don't
3544 allow paragraph break or merge where appropriate.
3546 * text2.C: leave cursor at end of selection after a cut.
3548 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3550 * text.C (getLengthMarkerHeight):
3551 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3552 visible on screen too.
3554 2003-02-07 John Levon <levon@movementarian.org>
3556 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3558 2003-02-05 Angus Leeming <leeming@lyx.org>
3560 * lyxserver.C (read_ready): revert my patch of 11 September last year
3561 as it sends PC cpu through the roof. Presumably this means that
3562 the lyxserver will no longer run on an Alpha...
3564 2003-01-30 Angus Leeming <leeming@lyx.org>
3566 * factory.C (createInset): create an InsetCommandParam of type "index"
3567 and use it to 'do the right thing'.
3569 * text2.C (getStringToIndex): ensure that cursor position is always
3570 reset to the reset_cursor position.
3572 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3574 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3577 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3581 * lyxfunc.C: Output messages with identical spelling, punctuation,
3584 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3586 * MenuBackend.C (expandFormats): List only viewable export formats
3589 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3592 * lyxfunc.C (getStatus): Make sure that formats other than
3593 "fax" can also be disabled
3595 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3597 * text3.C (dispatch): put the lfuns that insert insets in 3
3598 groups, and call doInsertInset with appropriate arguments.
3599 (doInsertInset): new function, that creates an inset and inserts
3600 it according to some boolean parameters.
3602 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * buffer.C (readFile): remember to pass on 'par' when calling
3605 readFile recursively.
3607 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3609 * MenuBackend.C (expandFormats): add "..." to import formats.
3611 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3613 * paragraph.C (asString): Remove XForms RTL hacks.
3615 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3616 * buffer.C: fix typo
3618 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * Makefile.am (LIBS): delete var
3621 (lyx_LDADD): add @LIBS@ here instead.
3623 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3625 * Clarify the meaning of "wheel mouse jump"
3627 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3629 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3632 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3634 * importer.C (Loaders): do not preallocate 3 elements in the
3635 vector, since one ends up with 6 elements otherwise
3637 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3639 * DepTable.C (write): write the file name as last element of the
3640 .dep file (because it may contain spaces)
3641 (read): read info in the right order
3643 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3645 * paragraph_pimpl.C (simpleTeXBlanks):
3646 (simpleTeXSpecialChars):
3647 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3649 * tabular.C (latex): add some missing case statements. Reindent.
3651 * MenuBackend.C (expandToc): remove unused variable.
3653 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3662 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3665 2003-01-05 John Levon <levon@movementarian.org>
3668 * BufferView.C: add getEncoding()
3671 * kbsequence.C: do not store last keypress
3674 * lyxfunc.C: store last keypress here instead. Pass encoding
3677 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3679 * lyx_main.C (init): remove annoying error message when following
3680 symbolic links (bug #780)
3682 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3684 * text.C (insertChar):
3685 * lyxrc.C (getDescription): remove extra spaces
3687 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3689 * lyxrc.C (getDescription): remove extra spaces
3691 2002-12-20 John Levon <levon@movementarian.org>
3693 * text3.C: hack fix for page up/down across tall rows
3695 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3697 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3700 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3702 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3703 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3704 thesaurus is not compiled in
3706 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3708 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3710 2002-12-16 Angus Leeming <leeming@lyx.org>
3713 * lyx_main.C (init): remove override_x_deadkeys stuff.
3715 2002-12-12 John Levon <levon@movementarian.org>
3717 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3718 insert. Only remove shift modifier under strict
3721 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * MenuBackend.C (expandToc): fix crash.
3725 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * MenuBackend.C (expandToc): gettext on float names.
3729 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3731 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3732 implement bool empty() [bug 490]
3734 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3736 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3738 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * several files: ws changes
3742 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * text2.C (setCounter): clean up a bit, use boost.format.
3745 (updateCounters): initialize par upon declaration.
3747 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3748 if the layout exists. We do not just store the layout any more.
3749 (SwitchLayoutsBetweenClasses): use boost.format
3751 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3753 * converter.C (convert): if from and to files are the same, use a
3754 temporary files as intermediary
3756 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3759 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3761 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3763 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3765 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3767 * tabular.C (asciiPrintCell): use string(size, char) instead of
3770 * sgml.C (openTag): fix order of arguments to string constructor
3773 * lyxfunc.C (dispatch): use boost.format
3775 * lots of files: change "c" -> 'c'
3777 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3779 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3781 2002-11-25 Angus Leeming <leeming@lyx.org>
3783 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3785 * lyx_main.C (init): compile fix.
3787 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * lyx_cb.C (start): boost.formatify
3790 do not include <iostream>
3792 * lengthcommon.C: ws only
3794 * boost-inst.C,BoostFormat.h: add more explict instantations
3796 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * lots of files: handle USE_BOOST_FORMAT
3800 2002-11-21 John Levon <levon@movementarian.org>
3802 * pspell.C: fix compile
3804 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3806 * lyxfunc.C (dispatch): use boost::format
3810 * lyxfont.C (stateText): use boost::format
3812 * lyx_main.C (LyX): use boost::format
3814 (queryUserLyXDir): ditto
3817 (typedef boost::function): use the recommened syntax.
3819 * importer.C (Import): use boost::format
3821 * debug.C (showLevel): use boost::format
3823 * converter.C (view): use boost::format
3828 * bufferview_funcs.C (currentState): use boost::format
3830 * bufferlist.C (emergencyWrite): use boost::format
3832 * buffer.C (readLyXformat2): use boost::format
3833 (parseSingleLyXformat2Token): ditto
3835 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3837 * LaTeX.C (run): use boost::format
3839 * Chktex.C (scanLogFile): use boost::format
3841 * BufferView_pimpl.C (savePosition): use boost::format
3842 (restorePosition): ditto
3843 (MenuInsertLyXFile): ditto
3845 * BoostFormat.h: help file for explicit instation.
3847 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3849 * tabular.C (latex): Support for block alignment in fixed width
3852 2002-11-17 John Levon <levon@movementarian.org>
3854 * BufferView_pimpl.C:
3856 * lyxfunc.C: split filedialog into open/save
3858 2002-11-08 Juergen Vigna <jug@sad.it>
3860 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3861 by my last patch (hopefully).
3863 2002-11-08 John Levon <levon@movementarian.org>
3872 * toc.C: ParConstIterator, and use it (from Lars)
3874 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3876 * lyxtextclass.[Ch]: revise and add doxygen comments
3878 2002-11-07 John Levon <levon@movementarian.org>
3880 * text.C: fix progress value for spellchecker
3882 * toc.C: fix navigate menu for insetwrap inside minipage
3884 * paragraph_funcs.C: added FIXME for suspect code
3886 2002-11-07 John Levon <levon@movementarian.org>
3888 * BufferView_pimpl.C: fix redrawing of insets
3891 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3893 * text2.C (updateCounters): fix bug 668
3895 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3897 * text3.C (dispatch): Do not make the buffer dirty when moving the
3900 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * vc-backend.C: STRCONV
3905 * text2.C (setCounter): STRCONV
3907 * paragraph.C (asString): STRCONV
3909 * lyxlength.C (asString): STRCONV
3910 (asLatexString): ditto
3912 * lyxgluelength.C (asString): STRCONV
3913 (asLatexString): ditto
3915 * lyxfunc.C (dispatch): STRCONV
3918 * lyxfont.C (stateText): STRCONV
3920 * importer.C (Import): STRCONV
3922 * counters.C (labelItem): STRCONV
3923 (numberLabel): ditto
3924 (numberLabel): remove unused ostringstream o
3929 * bufferview_funcs.C (currentState): STRCONV
3931 * buffer.C (readFile): STRCONV
3932 (asciiParagraph): ditto
3933 (makeLaTeXFile): ditto
3935 * Spacing.C (writeEnvirBegin): STRCONV
3937 * LaTeXFeatures.C (getLanguages): STRCONV
3938 (getPackages): ditto
3940 (getBabelOptions): ditto
3941 (getTClassPreamble): ditto
3942 (getLyXSGMLEntities): ditto
3943 (getIncludedFiles): ditto
3947 (scanAuxFile): ditto
3950 * LString.h: add the STRCONV macros
3952 * BufferView_pimpl.C (savePosition): STRCONV
3953 (restorePosition): ditto
3954 (MenuInsertLyXFile): ditto
3956 * vc-backend.C (scanMaster): change from submatch[...] to
3959 * funcrequest.C: include config.h
3961 * factory.C: include config.h
3963 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3965 * box.C: include config.h
3967 * LaTeX.C (scanAuxFile): change from submatch[...] to
3971 2002-10-25 Angus Leeming <leeming@lyx.org>
3973 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3975 * ispell.[Ch] (setError): new method.
3976 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3977 Use setError() insetead of goto END.
3979 * lyx_cb.C (AutoSave): move out child process into new class
3982 2002-10-30 John Levon <levon@movementarian.org>
3984 * text3.C: make start appendix undoable
3986 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3988 * lyxlength.C (inPixels): Fix returned value.
3990 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3993 2002-10-24 Angus Leeming <leeming@lyx.org>
3995 * lyxgluelength.h: no need to forward declare BufferParams
3996 or BufferView, so don't.
3998 2002-10-21 John Levon <levon@movementarian.org>
4000 * BufferView.C: menuUndo ->undo, redo
4002 * BufferView.h: document, remove dead, make some methods private
4004 * paragraph_funcs.h:
4005 * paragraph_funcs.C:
4006 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4011 * sgml.C: move sgml open/close tag into sgml.C
4013 * bufferview_funcs.h: unused prototype
4016 * lyxfunc.C: remove unused
4019 * text.C: remove unused
4021 2002-10-21 John Levon <levon@movementarian.org>
4025 * BufferView_pimpl.h:
4026 * BufferView_pimpl.C: fix mouse wheel handling based on
4027 patch from Darren Freeman
4029 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4031 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4033 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4035 * lyxlength.C (inPixels): Fix hanfling of negative length.
4036 Fix LyXLength::MU case.
4038 2002-10-16 John Levon <levon@movementarian.org>
4040 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4042 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4044 * converter.C (view): add support for $$i (file name) and $$p
4045 (file path) for the viewer command. If $$i is not specified, then
4046 it is appended to the command (for compatibility with old syntax)
4048 2002-10-14 Juergen Vigna <jug@sad.it>
4050 * undo_funcs.C (textHandleUndo): alter the order in which the
4051 new undopar is added to the LyXText, as we have to set first
4052 the right prev/next and then add it as otherwise the rebuild of
4053 LyXText is not correct. Also reset the cursor to the right paragraph,
4054 with this IMO we could remove the hack in "redoParagraphs()".
4056 2002-10-09 Angus Leeming <leeming@lyx.org>
4058 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4059 to turn off an optimisation if a new inset is to be inserted.
4061 2002-10-11 André Pönitz <poenitz@gmx.net>
4063 * lyxtext.h: make some functions public to allow access
4064 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4066 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4068 * text3.C (dispatch): when changing layout, avoid an infinite loop
4071 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4073 * lyxrc.C (read): treat a viewer or converter command of "none" as
4076 * MenuBackend.C (expandFormats): for an update, also allow the
4077 formats that are not viewable
4079 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4080 script if it is newer than the lyxrc.defaults in user directory
4082 2002-10-07 André Pönitz <poenitz@gmx.net>
4084 * text.C: Vitaly Lipatov's small i18n fix
4086 2002-09-25 Angus Leeming <leeming@lyx.org>
4088 * ispell.h: doxygen fix.
4090 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4092 * buffer.h (readFile): Add a new argument to the method, to allow
4093 reading of old-format templates.
4095 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4097 * toc.C (getTocList): Get TOC from InsetWrap.
4099 2002-09-16 John Levon <levon@movementarian.org>
4101 * lyxfunc.C: check tabular for cut/copy too
4103 2002-09-12 John Levon <levon@movementarian.org>
4108 * factory.C: add header
4110 * paragraph_funcs.h:
4111 * paragraph_funcs.C: cleanup
4113 2002-09-11 John Levon <levon@movementarian.org>
4115 * PrinterParams.h: odd/even default to true
4117 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4119 * PrinterParams.h: update printer parameters for new xforms dialog
4121 2002-09-11 Angus Leeming <leeming@lyx.org>
4123 * lyxserver.C (read_ready): re-write to make it more transparent
4124 and to make it work in coherent fashion under Tru64 Unix.
4126 2002-09-11 André Pönitz <poenitz@gmx.net>
4130 * text3.C: implement LFUN_WORDSEL
4132 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4135 make floatlist_ a boost::shared_ptr<FloatList>
4137 * lyxtextclass.C: include FloatList.h
4138 (LyXTextClass): initialize floatlist_
4139 (TextClassTags): add TC_NOFLOAT
4140 (Read): match "nofloat" to TC_NOFLOAT and use it.
4141 (readFloat): modify call to floatlist_
4145 * FloatList.[Ch] (FloatList): remove commented out float
4147 (erase): new function
4149 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4151 * MenuBackend.C (expandToc): fix crash when there is no document
4154 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4156 * many files: Add insetwrap.
4158 2002-09-09 John Levon <levon@movementarian.org>
4160 * text2.C: remove confusing and awkward depth wraparound
4162 2002-09-09 John Levon <levon@movementarian.org>
4164 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4167 * buffer.C: remove getIncludeonlyList()
4170 * lyxfunc.C: remove headers
4172 2002-09-09 Juergen Vigna <jug@sad.it>
4174 * text.C (getColumnNearX): fix form Michael this is most
4175 probably a cut&paste bug.
4177 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4181 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4182 references, ws changes.
4184 * text2.C (init): update counters after init
4185 (insertParagraph): no need to set counter on idividual paragraphs.
4186 (setCounter): access the counters object in the textclass object
4187 on in the buffer object.
4188 (updateCounters): ditto
4190 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4191 shared_ptr<Counters> to avoid loading counters.h in all
4193 (LyXTextClass): initialize ctrs_
4194 (TextClassTags): add TC_COUNTER, and ...
4195 (Read): use it here.
4196 (CounterTags): new tags
4197 (readCounter): new function
4198 (counters): new funtion
4199 (defaultLayoutName): return a const reference
4201 * counters.C (Counters): remove contructor
4202 (newCounter): remove a couple of unneeded statements.
4203 (newCounter): simplify a bit.
4204 (numberLabel): some small formatting changes.
4206 * buffer.[Ch]: remove all traces of counters, move the Counters
4207 object to the LyXTextClass.
4209 2002-09-06 Alain Castera <castera@in2p3.fr>
4211 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4212 package to set the horizontal alignment on fixed width columns.
4215 * lyx_sty.h: added tabularnewline macro def.
4217 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4219 2002-09-06 John Levon <levon@movementarian.org>
4221 * LyXAction.C: tooltips for sub/superscript
4223 * MenuBackend.C: a bit more verbose
4225 * lyxfunc.C: tiny clean
4227 * undo_funcs.C: document undo_frozen
4229 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * counters.C (Counters): add missing algorithm counter.
4233 * text2.C (setCounter): lookup the counter with layouts latexname
4234 instead of by section number.
4235 (setCounter): use a hackish way to lookup the correct enum
4237 a float name->type change
4238 reset enum couners with counter name directly instead of depth value.
4240 * counters.C (Counters): remove the push_backs, change to use the
4241 float type not the float name.
4242 (labelItem): remove unused string, float name->type change
4244 * counters.h: don't include vector, loose the enums and sects vectors
4246 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4249 (Read): add float->TC_FLOAT to textclassTags
4250 (Read): and handle it in the switch
4251 (readFloat): new function
4253 * FloatList.C (FloatList): comment out the hardcoded float
4256 * lyxlayout.h: ws change.
4258 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4260 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4262 2002-09-03 Angus Leeming <leeming@lyx.org>
4264 * BufferView_pimpl.h: qualified name is not allowed in member
4265 declaration: WorkArea & Pimpl::workarea() const;
4267 * factory.C: added using std::endl directive.
4269 * text3.C: added using std::find and std::vector directives.
4271 2002-08-29 André Pönitz <poenitz@gmx.net>
4274 * text2.C: remove unused member number_of_rows
4277 * BufferView2.C: remove file, move contents to...
4278 * BufferView.C: ... here
4280 * BufferView_pimpl.C:
4281 * factory.C: move more inset creation to factory
4283 * vspace.C: avoid direct usage of LyXText, ws changes
4286 don't provide direct access to WorkArea, use two simple
4287 acessors haveSelction() and workHeight() instead
4290 2002-08-29 John Levon <levon@movementarian.org>
4292 * BufferView_pimpl.C (dispatch): do not continue when
4295 2002-08-28 André Pönitz <poenitz@gmx.net>
4297 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4300 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4302 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4304 * buffer.C: increment LYX_FORMAT to 221
4306 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4307 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4309 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4311 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4313 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4315 * factory.C (createInset): use LyXTextClass::floats
4317 * MenuBackend.C (expandFloatListInsert):
4318 (expandFloatInsert):
4321 * text2.C (setCounter):
4323 * LaTeXFeatures.C (useFloat):
4324 (getFloatDefinitions):
4326 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4328 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4329 floatlist_, with accessor floats().
4331 * FloatList.h: remove global FloatList
4333 2002-08-26 André Pönitz <poenitz@gmx.net>
4335 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4339 * BufferView_pimpl.C:
4340 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4342 2002-08-25 John Levon <levon@movementarian.org>
4344 * LyXAction.C: fix margin note description
4346 2002-08-24 John Levon <levon@movementarian.org>
4350 * bufferview_funcs.C:
4352 * undo_funcs.C: cleanups
4354 * lyxfunc.C: disable CUT/COPY when no selection
4356 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4358 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4359 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4361 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4362 Add backward compatibility to "mono", "gray" and "no".
4364 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4366 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4367 (and file_format >= 200).
4369 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4371 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4373 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4375 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4377 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4379 * BufferView_pimpl.C:
4386 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4387 inset and code to make it work with the paragraph code. The inset
4388 can be anywhere in the paragraph, but will only do the expected
4389 thing in LaTeX if the layout file contains the parameter line
4391 (or more generally, a nonzero value) for that layout.
4393 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * paragraph.h: remove the declaration of undefined counters class
4398 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4400 * text2.C (setCounter): fixed enumeration mis-count as reported by
4401 Dr. Richard Hawkins.
4403 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4405 * paragraph_funcs.h: remove some unneeded includes
4407 * text.C (backspace): pasteParagraph now in global scipe
4409 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4410 (pasteSelection): ditto
4412 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4413 * paragraph_funcs.C (pasteParagraph): ... here
4415 2002-08-20 André Pönitz <poenitz@gmx.net>
4417 * commandtags.h: new LFUNs for swapping/copying table row/colums
4420 * lyxfunc.C: support for new lfuns
4422 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * buffer.[Ch]: remove NO_COMPABILITY stuff
4427 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * boost.C (throw_exception): new file, with helper function for
4430 boost compiled without exceptions.
4435 * ParameterStruct.h:
4436 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4438 * bufferlist.C (emergencyWriteAll): use boost bind
4440 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4442 * text.C: include paragraph_funcs.h
4443 (breakParagraph): breakParagraph is now in global scope
4445 * paragraph_funcs.[Ch]: new files
4447 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4450 * buffer.C: include paragraph_funcs.h
4451 (insertStringAsLines): breakParagraph is now in global scope
4453 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4456 * CutAndPaste.C: include paragraph_funcs.h
4457 (cutSelection): breakParagraphConservative is now in global scope
4458 (pasteSelection): ditto
4460 * buffer.h: declare oprator== and operator!= for
4461 Buffer::inset_iterator
4463 * bufferlist.C (emergencyWrite): don't use fmt(...)
4465 * text3.C: add using std::endl
4467 * BufferView.C (moveCursorUpdate): remove default arg
4469 2002-08-20 André Pönitz <poenitz@gmx.net>
4471 * buffer.[Ch]: move inline functions to .C
4474 * BufferView_pimpl.C:
4476 * buffer.[Ch]: use improved inset_iterator
4479 * paragraph.[Ch]: write one paragraph at a time
4481 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4483 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4484 style if style is not specified.
4486 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4488 * text2.C (setCounter): when searching for right label for a
4489 caption, make sure to recurse to parent insets (so that a caption
4490 in a minipage in a figure float works) (bug #568)
4492 2002-08-20 André Pönitz <poenitz@gmx.net>
4494 * text3.C: new file for LyXText::dispatch() and helpers
4496 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4498 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4500 2002-08-19 André Pönitz <poenitz@gmx.net>
4503 * text.C: new LyXText::dispatch()
4505 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4507 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4509 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4511 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4514 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4516 * Makefile.am: use $(variables) instead of @substitutions@
4518 2002-08-15 André Pönitz <poenitz@gmx.net>
4521 * BufferView_pimpl.C: streamlining mathed <-> outer world
4525 * LyXAction.C: remove unused LFUN_MATH
4527 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4531 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * paragraph.C (Paragraph): reformat a bit
4534 (cutIntoMinibuffer): use builtin InsetList function instad of
4538 * buffer.C: include boost/bind.hpp, add using std::for_each
4539 (writeFileAscii): use ParagraphList iterators
4540 (validate): use for_each for validate traversal of paragraphs
4541 (getBibkeyList): use ParagraphList iterators
4542 (resizeInsets): use for_each to resizeInsetsLyXText for all
4544 (getParFromID): use ParagraphList iterators
4546 * BufferView2.C (lockInset): use paragraph list and iterators
4548 2002-08-14 John Levon <levon@movementarian.org>
4550 * lyxserver.C: remove spurious xforms include
4552 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4554 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4556 2002-08-13 André Pönitz <poenitz@gmx.net>
4559 * lyxfunc.C: further cleaning
4561 2002-08-13 André Pönitz <poenitz@gmx.net>
4563 * funcrequest.h: new constructor
4565 * funcrequest.C: move stuff here from .h
4568 * BufferView_pimpl.C:
4571 * lyxfunc.C: subsequent changes
4573 * lyxfunc.h: new view() member function
4575 * lyxfunc.C: subsequent changes
4577 2002-08-13 Angus Leeming <leeming@lyx.org>
4580 * BufferView_pimpl.C:
4588 changes due to the changed LyXView interface that now returns references
4589 to member variables not pointers.
4591 2002-08-13 Angus Leeming <leeming@lyx.org>
4593 * WordLangTuple (word, lang_code): return references to strings,
4598 * lyxtext.h: forward-declare WordLangTuple.
4603 * text.C: #include "WordLangTuple.h".
4606 * text.C: (selectNextWordToSpellcheck): constify return type.
4608 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4614 * paragraph_pimpl.h:
4617 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4619 Made updateCounter always count from start of buffer, and removed
4620 second argument (par).
4621 Reverted floats number display to '#'. Perhaps I'll try again when the
4622 code base is sanitized a bit.
4624 2002-08-12 Angus Leeming <leeming@lyx.org>
4626 * buffer.[Ch] (getLabelList): constify.
4628 2002-08-07 André Pönitz <poenitz@gmx.net>
4630 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4632 * funcrequest.h: extension to keep mouse (x,y) position
4634 2002-08-12 Juergen Vigna <jug@sad.it>
4636 * BufferView2.C (insertErrors): forbid undo when inserting error
4639 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4641 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * ParagraphList.[Ch]: new files
4645 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4647 * BufferView2.C (lockInset): ParagraphList changes
4650 * bufferlist.C: ditto
4654 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4656 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4657 unused class variable counter_,
4659 * paragraph.[Ch] (getFirstCounter): delete unused function
4661 * counters.C: include LAssert.h
4662 (reset): add a new function with no arg, change other version to
4663 not have def. arg and to not allow empty arg.
4665 * text2.C (setCounter): remove empty arg from call to Counters::reset
4667 2002-08-11 John Levon <levon@movementarian.org>
4669 * Makefile.am: add WordLangTuple.h
4671 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4674 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4676 * insets/insettext.C: InsetList changes
4678 * graphics/GraphicsSupport.C (operator()): InsetList changes
4680 * toc.C (getTocList): InsetList changes
4682 * paragraph_pimpl.[Ch]: InsetList changes
4684 * paragraph.[Ch]: InsetList changes
4686 * buffer.C (inset_iterator): InsetList changes
4687 (setParagraph): ditto
4688 * buffer.h (inset_iterator): ditto
4689 * iterators.C (operator++): ditto
4690 * iterators.h: ditto
4692 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4694 * InsetList.[Ch]: new files, most InsetList handling moved out of
4697 * BufferView2.C (removeAutoInsets): InsetList changes
4699 (ChangeInsets): ditto
4701 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * paragraph_pimpl.h (empty): new function
4705 * paragraph.[Ch] (empty): new function
4707 * other files: use the new Paragraph::empty function
4709 2002-08-09 John Levon <levon@movementarian.org>
4711 * lyxtext.h: remove unused refresh_height
4713 2002-08-09 John Levon <levon@movementarian.org>
4720 * paragraph.C: move sgml char escaping out of paragraph
4723 * paragraph.C: remove id setter
4727 * paragraph_pimpl.C: remove dead tex_code_break_column
4729 * bufferview_funcs.C: small cleanup
4731 * lyxfunc.C: remove dead proto
4733 * lyxtext.h: make some stuff private. Remove some dead stuff.
4735 * lyxgluelength.C: make as[LyX]String() readable
4737 2002-08-08 John Levon <levon@movementarian.org>
4742 * ToolbarDefaults.C:
4745 * toc.C: lyxaction cleanup
4747 2002-08-08 John Levon <levon@movementarian.org>
4749 * BufferView2.C: small cleanup
4752 * lyxfind.C: move unnecessary header into the .C
4754 2002-08-08 John Levon <levon@movementarian.org>
4756 * funcrequest.h: just tedious nonsense
4759 * lyx_main.C: cleanups
4762 * vspace.C: remove dead header lyx_main.h
4764 2002-08-07 Angus Leeming <leeming@lyx.org>
4767 * paragraph_pimpl.h:
4768 Forward declare class Counters in paragraph.h by moving the ctrs member
4769 variable into Paragraph::Pimpl.
4770 (counters): new method, returning a reference to pimpl_->ctrs.
4772 * text2.C: ensuing changes.
4774 2002-08-07 John Levon <levon@movementarian.org>
4776 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4778 * BufferView_pimpl.C: announce X selection on double/triple
4781 * lyx_main.C: use correct bool in batch dispatch
4783 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4785 2002-08-07 André Pönitz <poenitz@gmx.net>
4787 * funcrequest.h: new class to wrap a kb_action and its argument
4790 * BufferView_pimpl[Ch]:
4794 * lyxrc.C: subsequent changes
4797 2002-08-07 John Levon <levon@movementarian.org>
4799 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4800 document options change.
4802 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4807 * makefile.am: move counters functionality over from
4808 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4810 2002-08-06 John Levon <levon@movementarian.org>
4812 * WordLangTuple.h: new file for word + language code tuple
4823 * BufferView2.C: use WordLangTuple
4826 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4828 2002-08-06 John Levon <levon@movementarian.org>
4830 * lyx_main.C: fix cmdline batch handling
4832 2002-08-06 André Pönitz <poenitz@gmx.net>
4834 * lyxrc.C: set default for show_banner to true
4836 2002-08-06 John Levon <levon@movementarian.org>
4838 * pspell.C: fix a crash, and allow new aspell to work
4840 2002-08-06 John Levon <levon@movementarian.org>
4843 * kbmap.C: small cleanup
4846 * vspace.C: add const
4848 2002-08-05 John Levon <levon@movementarian.org>
4850 * LyXAction.C: back to tabular-insert
4852 2002-08-04 John Levon <levon@movementarian.org>
4855 * BufferView.C: cosmetic change
4857 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4867 * BufferView2.C: purge all "Lyx" not "LyX" strings
4870 * lyxcursor.C: attempt to add some documentation
4875 * ToolbarDefaults.C:
4876 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4877 merge with LFUN_TABULAR_INSERT
4884 * pspell.C: split up i/pspell implementations into separate
4885 files, many cleanups
4887 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4889 * text2.C: some cleanup
4891 * lyxfunc.C: don't check for isp_command == "none" any more, it
4892 didn't make any sense
4894 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4899 * makefile.am: move counters functionality over
4900 from text2.C/paragraph.[Ch] to counters.[Ch], and
4902 2002-08-02 John Levon <levon@movementarian.org>
4904 * buffer.C: s/lyxconvert/lyx2lyx/
4906 2002-08-02 Angus Leeming <leeming@lyx.org>
4908 * lyxlex.C: revert John's change as it breaks reading of the user
4911 2002-08-02 Angus Leeming <leeming@lyx.org>
4913 * importer.C (Import):
4914 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4915 changes due to LyXView::view() now returning a boost::shared_ptr.
4917 2002-08-02 John Levon <levon@movementarian.org>
4919 * lyxlex.C: small cleanup
4921 2002-08-02 John Levon <levon@movementarian.org>
4923 * text2.C (status): small cleanup, no logic change
4925 2002-08-01 John Levon <levon@movementarian.org>
4928 * buffer.C (writeFile): don't output alerts, caller
4932 * lyx_cb.C: from above
4934 * lyxfunc.C: allow to open non-existent files
4936 2002-07-31 John Levon <levon@movementarian.org>
4938 * lyxserver.C: don't let incidental errors get
4941 2002-07-30 John Levon <levon@movementarian.org>
4943 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4945 2002-07-30 John Levon <levon@movementarian.org>
4948 * lyxserver.C: remove I/O callback too
4950 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4952 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4955 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * many files: strip,frontStrip -> trim,ltrim,rtrim
4959 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * PrinterParams.h: remove extern containsOnly, and include
4962 support/lstrings.h instead.
4964 * LaTeX.C (scanAuxFile): modify because of strip changes
4966 * buffer.C (makeLaTeXFile): ditto
4967 * bufferparams.C (writeFile): ditt
4968 * lyxfont.C (stateText): ditto
4969 * lyxserver.C (read_ready): ditto
4970 * vc-backend.C (scanMaster): ditto
4972 * BufferView_pimpl.h: ws changes
4974 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4976 2002-07-26 André Pönitz <poenitz@gmx.net>
4978 * kb_sequence.C: remove unnedred usings
4980 2002-07-26 Juergen Vigna <jug@sad.it>
4982 * lyxfind.C (LyXReplace): we have to check better if the returned
4983 text is not of theLockingInset()->getLockingInset().
4985 2002-07-25 Juergen Vigna <jug@sad.it>
4987 * lyxfind.C (LyXReplace): don't replace if we don't get the
4990 * undo_funcs.C (createUndo): remove debugging code.
4992 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4994 * buffer.C (parseSingleLyXformat2Token): Use default placement
4995 when reading old floats.
4997 * FloatList.C (FloatList): Change the default placement of figure
4998 and tables to "tbp".
5000 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5002 * MenuBackend.C: using std::max
5004 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5006 * MenuBackend.C (expandToc):
5007 (expandToc2): code moved from xforms menu frontend. It is now
5008 generic and TOCs are transparent to menu frontends.
5010 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5012 * toc.C (getTocList): protect against buf=0
5014 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5015 Menu as first parameter. Now, this calls itself recursively to
5016 expand a whole tree (this will be useful for TOC handling)
5017 (expandFloatInsert): remove 'wide' version of floats
5019 * MenuBackend.h (submenuname): returns the name of the submenu.
5020 (submenu): returns the submenu itself, provided it has been
5021 created by MenuBackend::expand
5023 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5026 insets which have noFontChange == true. (bug #172)
5028 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5030 * BufferView_pimpl.C: add connection objects and use them...
5033 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5035 * MenuBackend.C (expandLastfiles):
5038 (expandFloatListInsert):
5039 (expandFloatInsert):
5040 (expand): split expand in parts
5042 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5044 * lyx_gui.C: use lyx_gui::exit()
5046 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5048 * LyXAction.C: show the failing pseudo action
5050 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5052 * buffer.C (readFile): Run the lyxconvert script in order to read
5055 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5059 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5061 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5065 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5067 2002-07-22 Herbert Voss <voss@lyx.org>
5070 * lyxlength.[Ch]: add support for the vertical lengths
5072 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5074 * toc.[Ch]: std:: fixes
5076 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5078 * lyxrc.C: do not include lyx_main.h
5080 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5086 * BufferView2.C: include "lyxlex.h"
5089 * bufferparams.h: do not #include "lyxlex.h"
5091 * lyxtextclasslist.C (Add): remove method
5092 (classlist): renamed to classlist_
5094 * paragraph_pimpl.C:
5098 * bufferview_funcs.C:
5103 * toc.C (getTocList): use BufferParams::getLyXTextClass
5105 * toc.C (getTocList): use InsetFloat::addToToc
5107 * toc.[Ch]: new files, containing helper functions to handle table
5110 * lyxfunc.C (dispatch): no need to remove spaces around command
5112 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5113 first command of the sequence; it is not very clever, but I do not
5114 have a better idea, actually
5116 * LyXAction.C (LookupFunc): make sure to remove space at the
5117 beginning and end of the command
5119 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5121 * MenuBackend.C (getMenubar): new method: return the menubar of
5123 (read): treat differently reading of menu and menubar (in
5124 particular, the menubar has no name now)
5125 (Menu::menubar): remove
5127 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5130 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5132 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5133 a bibitem inset in a RTL paragraph.
5135 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5137 * paragraph_pimpl.C: constify
5139 * BufferView_pimpl.C:
5141 * lyxfunc.C: fix dispatch in a nicer way
5143 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5145 * lyxfunc.C (dispatch):
5146 * BufferView_pimpl.C:
5147 * BufferView_pimpl.h:
5149 * BufferView.h: rename Dispatch() to dispatch()
5151 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5153 * lyxlayout.C (Read): honor DependsOn tag
5155 * lyxlayout.[Ch] (depends_on): new method
5157 * version.C.in: update lyx_docversion
5159 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5161 * paragraph.C (validate): remove from here...
5162 * paragraph_pimpl.C (validate): ... and move here
5163 (isTextAt): make it const
5165 * buffer.C (getLists): ws cleanup
5167 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5169 * language.C (read): Use iso8859-1 encoding in latex_lang
5170 (this prevents LyX from crashing when using iso10646-1 encoding).
5172 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5174 * text2.C (toggleInset): if cursor is inside an inset, close the
5175 inset and leave cursor _after_ it
5177 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5179 * lyxfunc.C: move minibuffer completion handling out of here
5181 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5183 * BufferView_pimpl.C:
5184 * LaTeX.C: fix dispatch calls
5186 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5188 * text.C (drawChars): Fix Arabic text rendering.
5190 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5194 * lyxfunc.C: remove message-push/pop
5198 * lyxfunc.C: rationalise some code by removing verboseDispatch
5199 in favour of a bool argument to dispatch()
5201 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5203 * lyx_main.C (init): make sure to read symlinks as absolute paths
5205 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5208 * lyxfunc.C: no need for commandshortcut to be a member
5210 2002-07-15 André Pönitz <poenitz@gmx.net>
5212 * converter.C: add support for $$s (scripts from lib/scripts dir)
5213 * lyx_main.C: white space
5215 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5219 * lyxrc.C: remove second exit confirmation
5221 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5226 * BufferView_pimpl.h:
5227 * BufferView_pimpl.C:
5228 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5230 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5232 * MenuBackend.C (expand): add numeric shortcuts to document menu
5234 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5236 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5238 * lyxfont.C (setLyXFamily):
5245 * buffer.C (asciiParagraph): use ascii_lowercase
5247 2002-07-15 Mike Fabian <mfabian@suse.de>
5249 * lyxlex_pimpl.C (search_kw):
5250 * lyxlex.C (getLongString):
5251 * converter.h (operator<):
5252 * converter.C (operator<):
5253 * buffer.C (parseSingleLyXformat2Token):
5255 * ToolbarDefaults.C (read):
5256 * MenuBackend.C (checkShortcuts):
5258 * LColor.C (getFromGUIName):
5259 (getFromLyXName): use the compare_ascii_no_case instead of
5260 compare_no_case, because in turkish, 'i' is not the lowercase
5261 version of 'I', and thus turkish locale breaks parsing of tags.
5263 2002-07-16 Angus Leeming <leeming@lyx.org>
5265 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5266 now takes a Buffer const & argument.
5268 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5270 * BufferView.C (resize): check there's a buffer to resize
5272 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5274 * lyxfunc.C: remove dead code
5277 * lyxserver.C: use lyx_guii::set_read_callback
5279 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5281 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5282 an inset in a RTL paragraph.
5284 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5286 * lyxfunc.C: repaint after a font size update
5288 2002-07-15 André Pönitz <poenitz@gmx.net>
5290 * lyxlength.C: inBP should be able to return negative values
5292 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5294 * lyxfunc.C: use lyx_gui::update_fonts()
5296 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5298 * lyxfunc.C: use lyx_gui::update_color()
5300 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5306 * lyxrc.C: remove file->new asks for name option, and let
5307 buffer-new take an argument
5309 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5311 * BufferView_pimpl.C: remove unneeded extra repaint()
5313 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5315 * LyXAction.C: allow command-sequence with NoBuffer
5317 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5319 2002-07-10 Angus Leeming <leeming@lyx.org>
5321 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5323 2002-07-09 Angus Leeming <leeming@lyx.org>
5325 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5327 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5329 * lengthcommon.h: whitespace
5331 * lyxfunc.C: update scrollbar after goto paragraph
5333 * lyxtext.h: factor out page break drawing, and fix it so
5334 page break/added space paints as selected nicely
5336 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5338 * BufferView_pimpl.C: add FIXMEs, clean up a little
5340 2002-07-09 André Pönitz <poenitz@gmx.net>
5342 * lyxfont.[Ch]: support for wasy symbols
5344 2002-07-08 André Pönitz <poenitz@gmx.net>
5346 * BufferView_pimpl.C: apply John's patch for #93.
5348 2002-07-05 Angus Leeming <leeming@lyx.org>
5350 * BufferView_pimpl.C (buffer): generate previews if desired.
5352 * LColor.h: add "preview" to the color enum.
5354 * LColor.C (LColor): add a corresponding entry to the items array.
5356 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5359 2002-07-05 Angus Leeming <leeming@lyx.org>
5361 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5362 The body of the code is now in the method that is passed an ostream &
5363 rather than a file name.
5364 Pass an additional only_preamble parameter, useful for the forthcoming
5367 2002-07-03 André Pönitz <poenitz@gmx.net>
5369 * lyxfunc.C: simplify getStatus() a bit for math stuff
5371 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5373 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5375 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5377 * text.C (changeRegionCase): do not change case of all the
5378 document when region ends at paragraph end (bug #461)
5380 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5382 * paragraph.C (startTeXParParams):
5383 (endTeXParParams): add \protect when necessary
5385 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5387 * BufferView_pimpl.C (workAreaExpose): remove warning
5389 2002-06-27 Angus Leeming <leeming@lyx.org>
5391 * Makefile.am: add lyxlayout_ptr_fwd.h.
5393 2002-06-26 André Pönitz <poenitz@gmx.net>
5395 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5397 2002-06-25 Angus Leeming <leeming@lyx.org>
5399 * lyxfunc.C (dispatch): Comment out the call to
5400 grfx::GCache::changeDisplay. The method no longer exists now that the
5401 pixmap generation part of the graphics loader has been moved into
5404 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5406 * text2.C: layout as layout
5408 * text.C: layout as layout
5410 * tabular.C (OldFormatRead): layout as layout
5412 * paragraph_pimpl.C (TeXDeeper): layout as layout
5413 (realizeFont): layout as layout
5415 * paragraph.C (writeFile): layout as layout
5416 (validate): layout as layout
5417 (getFont): layout as layout
5418 (getLabelFont): layout as layout
5419 (getLayoutFont): layout as layout
5420 (breakParagraph): layout as layout
5421 (stripLeadingSpaces): layout as layout
5422 (getEndLabel): layout as layout
5423 (getMaxDepthAfter): layout as layout
5424 (applyLayout): layout as layout
5425 (TeXOnePar): layout as layout
5426 (simpleTeXOnePar): layout as layout
5427 (TeXEnvironment): layout as layout
5428 (layout): layout as layout
5429 (layout): layout as layout
5431 * lyxtextclass.C (compare_name): new functor to work with
5432 shared_ptr, layout as layout
5433 (Read): layout as layout
5434 (hasLayout): layout as layout
5435 (operator): layout as layout
5436 (delete_layout): layout as layout
5437 (defaultLayout): layout as layout
5439 * lyxlayout_ptr_fwd.h: new file
5441 * lyxlayout.C (Read): layout as layout
5443 * lyx_cb.C (MenuInsertLabel): layout as layout
5445 * bufferlist.C (newFile): layout as layout
5447 * buffer.C (readLyXformat2): layout as layout
5448 (parseSingleLyXformat2Token): layout as layout
5449 (insertStringAsLines): layout as layout
5450 (asciiParagraph): layout as layout
5451 (latexParagraphs): layout as layout
5452 (makeLinuxDocFile): layout as layout
5453 (simpleLinuxDocOnePar): layout as layout
5454 (makeDocBookFile): layout as layout
5455 (simpleDocBookOnePar): layout as layout
5456 (getLists): layout as layout
5458 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5460 * CutAndPaste.C (cutSelection): layout as layout
5461 (pasteSelection): layout as layout
5462 (SwitchLayoutsBetweenClasses): layout as layout
5464 * BufferView_pimpl.C (Dispatch): layout as layout
5465 (smartQuote): layout as layout
5467 * BufferView2.C (unlockInset): layout as layout
5469 2002-06-24 André Pönitz <poenitz@gmx.net>
5471 * lyxfunc.C: fix #487
5473 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5477 * lyxfunc.C: remove display_shortcuts, show_banner
5479 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5481 * Buffer_pimpl.C: oops, update on resize
5483 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5490 * BufferView.C: use repaint()
5492 * BufferView_pimpl.h:
5493 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5494 as it's a clearer description. Remove superfluous
5497 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5499 * text.C: fix bug 488. Not ideal, but getting
5500 getWord() to work properly for the insets that
5501 matter is more difficult ...
5503 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5505 * BufferView_pimpl.C:
5508 * lyxfunc.C: remove the six million index lyxfuncs to just
5509 one, and DTRT (bug 458)
5511 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5515 * BufferView_pimpl.h:
5516 * BufferView_pimpl.C: clean up resize() stuff,
5517 and unnecessary updateScreen()s
5519 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5523 * BufferView_pimpl.h:
5524 * BufferView_pimpl.C:
5527 * minibuffer.C: remove focus management of workarea,
5528 not needed. Use screen's greyOut()
5530 2002-06-17 Herbert Voss <voss@lyx.org>
5532 * converter.C: (convert) do not post a message, when converting
5533 fails, let the calling function decide what to do in this case
5535 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5537 * lyxfunc.C: tidy up a little
5539 2002-06-16 <alstrup@diku.dk>
5541 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5542 Got rid of FORMS_H_LOCATION include. Now we are
5545 2002-06-15 LyX Development team <lyx@rilke>
5547 * buffer.[Ch] (sgmlOpenTag):
5548 (sgmlCloseTag): Added support for avoiding pernicious mixed
5549 content. Return number of lines written.
5552 (makeDocBookFile): Fixed calls to sgml*Tag.
5553 Simple white space clean.
5555 (simpleDocBookOnePar): Simple white space clean.
5557 * tabular.[Ch] (docBook): Renamed to docbook and got another
5558 argument to related with the pernicious mixed content.
5560 (docbookRow): Fixed calls for docbook inset method.
5562 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5564 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5565 so it's X11 independent.
5569 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5571 2002-06-15 Lyx Development team <lyx@electronia>
5573 * intl.h: Renamed getTrans to getTransManager.
5575 2002-06-14 Angus Leeming <leeming@lyx.org>
5577 * Makefile.am: nuke forgotten stl_string_fwd.h.
5579 2002-06-12 Angus Leeming <leeming@lyx.org>
5581 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5583 2002-06-13 Angus Leeming <leeming@lyx.org>
5586 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5588 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5590 * kbmap.C (getiso): add support for cyrillic and greek
5592 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5596 * BufferView_pimpl.h:
5597 * BufferView_pimpl.C: move bogus scrolling logic
5600 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5603 * BufferView_pimpl.C: view->resize() change
5605 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5607 * BufferView_pimpl.C: topCursorVisible
5610 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5614 * lyx_gui.C: move to frontends/
5618 * lyx_main.C: changes from above
5620 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5627 * lyx_main.C: minor tidy
5629 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5631 * BufferView_pimpl.h:
5632 * BufferView_pimpl.C:
5634 * BufferView.C: make painter() const,
5637 * BufferView2.C: use screen() accessor
5640 * lyx_main.C: some minor cleanup
5642 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5644 * BufferView_pimpl.h:
5645 * BufferView_pimpl.C: remove enter/leaveView,
5648 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5653 * BufferView_pimpl.h:
5654 * BufferView_pimpl.C: only construct screen once,
5657 * lyxrc.C: remove pointless comment
5659 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5662 * BufferView.C: remove active() and belowMouse()
5664 * BufferView_pimpl.h:
5665 * BufferView_pimpl.C: use workarea() not workarea_,
5666 and make it use a scoped_ptr instead
5668 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5670 * lyx_gui.C: add debug message on BadWindow
5672 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5674 * sp_spell.C: fdopen is not part of the C++ standard.
5676 * paragraph.C (InsetIterator): use >= instead of ==
5678 2002-06-07 Angus Leeming <leeming@lyx.org>
5680 Fixes needed to compile with Compaq cxx 6.5.
5681 * BufferView_pimpl.C:
5688 * lyxtextclasslist.C:
5693 all c-library variables have been moved into namespace std. Wrap
5694 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5699 Add a using std::abs declaration.
5701 * kbmap.h (modifier_pair):
5702 * paragraph.h (InsetTable, InsetList):
5703 * lyxfont.h (FontBits):
5704 type definition made public.
5706 * bufferlist.C (emergencyWriteAll): the compiler complains that
5707 there is more than one possible lyx::class_fun template to choose from.
5708 I re-named the void specialisation as lyx::void_class_fun.
5710 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5712 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5713 the compiler is is unable to find tostr in write_attribute.
5715 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5717 * buffer.C (sgmlError): hide #warning
5719 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5721 * xtl/*: get rid of xtl, which is not in use anyway
5723 * LyXAction.C (init):
5724 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5725 were unimplemented xtl experimentation
5727 2002-06-04 André Pönitz <poenitz@gmx.net>
5729 * lyxfunc.C: disable array operation on simple formulae
5731 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5733 * converter.C: constify a bit
5735 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5737 * lyx_gui.C: check xforms version correctly
5739 2002-04-30 Herbert Voss <voss@lyx.org>
5741 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5744 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5746 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5747 attempt to register it with a VCS)
5749 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5751 * lyx_main.C (init): honor variables LYX_DIR_13x and
5754 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5758 * lyx_main.C: fix a crash on bad command line,
5759 and give a useful exit status on error
5761 * lyxfunc.C (doImport): allow -i lyx to work
5763 2002-03-30 André Pönitz <poenitz@gmx.net>
5765 * lyxfunc.C: mathed font changes
5767 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5782 * trans_mgr.h: srcdocs, and some minor cleanups
5784 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5786 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5787 call getFont all the time)
5789 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5791 * switch from SigC signals to boost::signals
5793 2002-05-29 André Pönitz <poenitz@gmx.net>
5795 * paragraph_pimpl.C (getChar): don't call size() too often...
5797 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5799 * paragraph_pimpl.C (insertChar): do not try to update tables when
5800 appending (pos == size())
5802 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5803 in order to reduce drastically the number of comparisons needed to
5804 parse a large document
5806 2002-05-29 André Pönitz <poenitz@gmx.net>
5812 * textclasslist.[Ch]:
5813 * sp_ispell.h: whitespace change
5815 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5817 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5818 lyxaction directly now.
5820 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5824 * lyxvc.C: remove unused headers
5826 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5833 * undo_funcs.C: some cleanups. Use shared_ptr
5834 and a template for the undo stacks.
5836 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5838 * BufferView_pimpl.h:
5839 * BufferView_pimpl.C:
5846 * text2.C: use key_state/mouse_state
5848 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5850 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5853 * chset.C: change include order
5854 (loadFile): use boost regex and get rid of LRegex and LSubstring
5856 * Makefile.am (BOOST_LIBS): new variable
5859 * LaTeX.C: change include order.
5860 (scanAuxFile): use boost regex and get rid of LRegex and
5864 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5869 * FontInfo.C: moved to frontends/xforms/
5872 * FontLoader.C: moved into frontends for GUIIzation
5877 * lyxfunc.C: changes from above
5879 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5881 * LColor.C: remove spurious X include
5883 * BufferView_pimpl.C:
5888 * text2.C: move font metrics to frontends/
5890 2002-05-24 Juergen Vigna <jug@sad.it>
5892 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5893 setting the undo_cursor.
5895 * ParagraphParameters.h: include local includes first.
5897 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5899 * BufferView_pimpl.C:
5900 * BufferView_pimpl.h:
5904 * screen.C: move WorkArea into frontends/
5910 * BufferView2.C: move LyXScreen into frontends/
5914 * lyx_gui.C: move lyxlookup into frontends/xforms/
5916 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5919 * BufferView_pimpl.C:
5929 * bufferview_funcs.C:
5942 * vc-backend.C: move LyX/XFormsView into frontends/
5944 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5956 * text2.C: move Painter to frontends/
5958 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5960 * buffer.C: comment out some some code that depend upon lyx_format
5963 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5964 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5966 * buffer.h (NO_COMPABILITY): turn off compability
5968 * ColorHandler.C: include scoped_array.hpp
5970 * font.C: Use more specific smart_ptr header.
5973 * ShareContainer.h: ditto
5977 * BufferView_pimpl.h: ditto
5978 * ColorHandler.h: ditto
5980 * kbmap.C (defkey): change call to shared_ptr::reset
5982 2002-05-21 Juergen Vigna <jug@sad.it>
5984 * buffer.C (insertErtContents): fix to insert ert asis if it is
5985 non empty. Skip it completely if it contains only whitespaces.
5987 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5989 * BufferView_pimpl.C:
5990 * BufferView2.C: clear selection on paste (bug 393)
5992 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5994 * DepTable.C: include ctime
5996 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5998 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6000 2002-05-14 Juergen Vigna <jug@sad.it>
6002 * text.C (breakParagraph): fixed function to honor the keepempty
6003 layout in the right maner and also to permit the right breaking
6004 algorithm on empty or non empyt keepempty paragraphs.
6006 * paragraph.C (breakParagraph): we have to check also if the par
6007 is really empty (!size()) for isempty otherwise we do the wrong
6010 2002-05-10 Juergen Vigna <jug@sad.it>
6012 * buffer.[Ch] : The following are only changes to the ert
6013 compatibility read reading old LaTeX layout and font stuff and
6014 convert it to ERTInsets.
6016 * buffer.h: added isErtInset().
6018 * buffer.C (struct ErtComp): add a fromlayout bool to check
6019 if we're inside a LaTeX layout.
6020 (isErtInset): new helper function.
6021 (insertErtContents): look for other ert insets before this one
6022 and insert the contents there, so that we don't have subsequent
6023 ERT insets with nothing between them. This way we create only one
6024 inset with multiple paragraphs. Also check if we don't insert only
6025 spaces ' ' as they are ignored anyway afterwards in the .tex file
6026 so if we have only spaces we will ignore this latex part in the
6028 (parseSingleLyXformat2Token \\layout): better compatibility when
6029 reading layout-latex stuff.
6030 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6032 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6033 stuff after reading the inset only get the information back from
6036 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6038 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6040 * LaTeXFeatures.C (getBabelOptions): New method.
6042 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6044 * BufferView_pimpl.C (Dispatch): work around missing argument for
6047 2002-05-08 Juergen Vigna <jug@sad.it>
6049 * text.C (leftMargin): handle paragraph leftindent.
6051 * paragraph.C (writeFile): write the new \\leftindent tag.
6052 (validate): handle leftindent code.
6053 (TeXEnvironment): handle paragraphleftindent code again.
6055 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6057 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6058 for paragrap_extra indent code and new token \\leftindent.
6059 (latexParagraphs): handle the leftindent as environment.
6061 * ParameterStruct.h: added leftindent support.
6063 * ParagraphParameters.C (leftIndent): added support functions for
6064 the paragraph left indent.
6066 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6069 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6071 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6074 * text.C (computeBidiTables): No bidi in insetERT.
6076 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6079 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6081 * version.C.in: pre 5
6083 2002-05-02 José Matos <jamatos@fep.up.pt>
6084 * buffer.C (makeDocBookFile): white space changes, add newline to
6086 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6088 * tabular.C (docBook): fix typo.
6090 2002-05-03 Juergen Vigna <jug@sad.it>
6092 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6093 change in LyXText as we can not be sure it was not freed.
6094 (drawOneRow): remove unused code.
6096 * text.C (drawInset): redo the calculation of the need_break_row as
6097 it could have a row which was already freed.
6098 (draw): look at the return value of drawInset and return false if
6099 it also returned false.
6100 (paintRowText): look at the return value of draw and return false if
6101 it also returned false.
6103 * lyxtext.h: added bool return type to drawInset() and draw() so that
6104 if we have a change in the row so that the rowbreak has to be redone
6105 we abort drawing as it will be called again.
6107 2002-05-02 Juergen Vigna <jug@sad.it>
6109 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6110 a change in the maintext also if we're inside an inset.
6111 (Dispatch): set the cursor again after a break line and after the
6112 screen has been updated as it could be we're in a different row.
6114 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6115 to set the cursor behind the pargraph with > size().
6116 (setCursor): check also for the same paragraph when checking where
6117 to put the cursor if we have a NFR inset.
6119 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6120 parts of layout read further up as it still was in the wrong
6123 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6125 * screen.C (drawFromTo): change sine fullRebreak always return
6128 * buffer.C (parseSingleLyXformat2Token): reindent some
6130 * BufferView_pimpl.C (update): change since fullRebreak always
6132 (Dispatch): git rid of the last hardcoded "Standard"s.
6134 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6136 * text2.[Ch] (fullRebreak): make it return void now that we always
6139 2002-04-30 Juergen Vigna <jug@sad.it>
6141 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6142 ert compatibility check for "latex" layout.
6144 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6146 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6147 minipages: use col% instead of p%, and also use the current font.
6148 (makeLaTeXFile): Fix use babel condition.
6149 (parseSingleLyXformat2Token): Correct font when reading old floats.
6151 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6153 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6154 inserting list of floats.
6156 2002-04-25 Herbert Voss <voss@lyx.org>
6158 * MenuBackend.C (expand): don't add the graphics extensions to the
6161 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6163 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6164 non-existing layout, do not complain if it was the default layout
6165 of the original class (bug #342)
6167 2002-04-24 Juergen Vigna <jug@sad.it>
6169 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6170 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6172 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6174 * buffer.C (getBibkeyList): If using \bibliography, return the
6175 option field with the reference itself. Enables us to provide natbib
6176 support when using \bibliography.
6178 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6180 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6182 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6183 natbib is provided by the LaTeX class.
6185 2002-04-23 Juergen Vigna <jug@sad.it>
6187 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6190 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6192 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6194 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6196 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6197 ensuremath around textordmasculine, textordfeminine and
6200 2002-04-19 Juergen Vigna <jug@sad.it>
6202 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6203 reinitializing the buffer otherwise row-dimensions may be wrong.
6204 (update): reset also the selection cursors if they do exits otherwise
6205 their x/y positions may be wrong.
6207 * text2.C (cursorDown): don't enter the inset if we came from a row
6208 above and are one row over the inset.
6210 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6211 really leaving an inset.
6213 2002-04-18 Juergen Vigna <jug@sad.it>
6215 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6216 of the selected paragraph does not have the selected layout also if
6219 * text2.C (setLayout): fixed bug which did not change last selected
6222 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6223 changed the read and substituted \\end_float with \\end_inset!
6225 * BufferView_pimpl.C (cursorPrevious):
6226 (cursorNext): fixed to make it work with rows heigher than the work
6227 area without moving the cursor only the draw of the row.
6228 (workAreaMotionNotify): fix jumping over high rows.
6230 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6232 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6235 2002-04-16 Juergen Vigna <jug@sad.it>
6237 * text2.C (setCursor): set also the irow().
6238 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6240 (cursorDown): support for locking an inset if the x_fix value goes
6241 inside it. That way I can transverse insets too with cursor up/down.
6243 * lyxrow.h: added irow helper function same as other (i) functions.
6245 * BufferView_pimpl.C (cursorPrevious):
6246 (cursorNext): fixed for insets!
6248 2002-04-15 Juergen Vigna <jug@sad.it>
6250 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6251 position otherwise it is wrong in some cases.
6253 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6254 inside the inset before the call.
6256 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6258 * buffer.[Ch] (getBibkeyList): make it const.
6260 2002-04-12 Juergen Vigna <jug@sad.it>
6262 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6264 * text2.C (getCursorX): new helper function
6265 (setCursor): compute also ix_
6266 (setCursorFromCoordinates): set also ix.
6268 * lyxcursor.h: added ix_ and helper functions.
6270 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6272 * buffer.C (insertStringAsLines): dont break paragraph if the this
6273 paragraph is inside an inset which does not permit it!
6275 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6276 also with no chars on this paragraph.
6277 (paintRowText): only paint stuff if it's inside the workarea!
6279 * paragraph.C (breakParagraph): honor keepempty flag and break the
6280 paragraph always below not above.
6282 * BufferView2.C (unlockInset): update the paragraph layout on inset
6283 unlock as we changed paragraph in such a case.
6285 * lyxfind.C (LyXFind): clear the former selection if not found!
6287 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6288 again called in insertChar().
6290 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6291 an inset which uses the whole row!
6292 (rightMargin): ditto.
6293 (insertChar): force a rebreak if we inserted an inset!
6295 2002-03-28 Herbert Voss <voss@lyx.org>
6297 * lyxlength.[Ch]: add inBP() to get the right PS-point
6298 units (BigPoint). With inPixels we have rounding errors
6300 2002-04-11 Juergen Vigna <jug@sad.it>
6302 * text2.C (setCursorFromCoordinates): set iy to the right value.
6303 (setCursor): add check if row->previous exists!
6305 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6306 an old float_type as this was the case in the old code!
6308 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6310 * BufferView2.C (showLockedInsetCursor): use iy
6311 (fitLockedInsetCursor): ditto
6313 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6314 locked insets as there we have the right value now.
6316 * lyxcursor.C: added iy_ variable and iy functions to set to the
6317 baseline of cursor-y of the locked inset.
6319 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6320 (setCursor): fixed for insets which need a full row.
6322 * text.C (rowLastPrintable): don't ignore the last space when before
6323 an inset which needs a full row.
6324 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6325 as last character of a row when before a inset which needs a full row.
6327 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6329 * version.C.in: update date
6331 * text2.C (fullRebreak): try to always return true and see what
6334 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6336 * MenuBackend.C (expand): use Floating::listName
6338 * FloatList.C (FloatList): add listName argument to the built-in
6341 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6342 text associated with the float.
6344 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6346 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6348 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6350 * ShareContainer.h: add a couple of missing typenames.
6352 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6354 * lyxrc.C (getDescription): use _() correctly rather than N_().
6356 2002-03-28 Herbert Voss <voss@lyx.org>
6358 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6359 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6361 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6363 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6364 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6366 2002-03-29 Juergen Vigna <jug@sad.it>
6368 * lyxfunc.C (dispatch): add a missing fitCursor call.
6370 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6371 it was scrolled by a cursor move, so return the bool status.
6373 * BufferView.C (fitCursor): return the bool flag also to the outside
6374 world as this is needed.
6376 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6378 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6379 call the edit() as it is not needed (and wrong) IMO.
6380 (workAreaButtonPress): set the screen_first variable before evt.
6381 unlock the inset as this may change screen_first and then we have
6382 a wrong y position for the click!
6384 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6386 * MenuBackend.C (expand): another translation that I missed
6388 2002-03-28 Juergen Vigna <jug@sad.it>
6390 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6392 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6394 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6396 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6398 * MenuBackend.C (expand): fix export/view/update when there is no
6401 2002-03-27 Herbert Voss <voss@lyx.org>
6403 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6406 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6408 * bufferview_funcs.C (currentState): only show paragraph number
6409 for is DEVEL_VERSION is set.
6411 * lyxfunc.C (dispatch): put warning in INFO channel
6413 * MenuBackend.C (expand): translate the name of floats
6415 * FloatList.C (FloatList): mark the float names for translation
6417 * converter.C (convert): use LibScriptSearch
6419 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6421 * MenuBackend.C (defaults): fix default menu (we might as well get
6424 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6426 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6429 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6431 * lyxvc.C: reorder includes.
6433 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6435 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6438 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6440 * CutAndPaste.C: change layouts earlier on paste
6441 to avoid crashing when calling getFont()
6443 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6445 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6448 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6450 * WorkArea.C: remove 'Pending' debug message.
6452 * most files: ws cleanup
6454 * buffer.[Ch]: ws changes
6456 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6458 2002-03-21 Juergen Vigna <jug@sad.it>
6460 * tabular.C (SetMultiColumn): collapse also the contents of the
6461 cells and set the last border right. Added a Buffer const * param.
6463 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6465 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6468 2002-03-19 Juergen Vigna <jug@sad.it>
6470 * text2.C (clearSelection): reset also xsel_cache.
6472 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6473 where it needs to be called (John tells us to do so too :)
6474 (selectionLost): reset sel_cache.
6476 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6478 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6480 * text2.C (setCursorIntern): put debuging code in INSETS channel
6482 2002-03-19 André Pönitz <poenitz@gmx.net>
6484 * lyxfunc.C: tiny whitespace change
6486 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6488 * ToolbarDefaults.C (init):
6489 * LyXAction.C (init):
6491 * BufferView_pimpl.C (Dispatch):
6492 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6494 2002-03-19 Allan Rae <rae@lyx.org>
6496 * exporter.C (Export): removeAutoInsets before doing anything else.
6497 While I've just introduced a dependency on BufferView this really is
6498 the best place to clean the buffer otherwise you need to cleanup in
6499 a dozen places before calling export or cleanup in a dozen functions
6502 * converter.C (runLaTeX):
6503 (scanLog): Better handling of removeAutoInsets and screen updates.
6505 * lyxfunc.C (dispatch): small whitespace changes
6507 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * WorkArea.C (C_WorkAreaEvent): return a value.
6510 (event_cb): return 1 if we handled the event, 0 otherwise.
6512 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6514 2002-03-18 Juergen Vigna <jug@sad.it>
6516 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6517 (GetAdditionalWidth): ditto.
6521 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6522 inset if we're there actually (probably not used right now but this
6523 is the direction to go for unifying code).
6524 (paste): disable code to clear the selection.
6526 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6527 inside an InsetText and move the check further up as it is in the
6530 * text2.C (pasteSelection): set a selection over the pasted text.
6532 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6534 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6535 and libgraphics to build on Cygwin.
6537 2002-03-15 Juergen Vigna <jug@sad.it>
6539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6540 inserting an Inset into the paragraph. I know this is not the best
6541 fix but we already use current_view in CutAndPaste so we will remove
6542 all of it's using at the same time.
6544 * buffer.C (sgmlError): deactivated function till it is rewritten in
6545 the right mode, now it can create problems.
6547 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6548 before accessing it.
6550 2002-03-14 Juergen Vigna <jug@sad.it>
6552 * undo_funcs.C (textHandleUndo): do the right thing when updating
6553 the inset after the undo/redo.
6555 * text2.C (setCursor): just some testcode for #44 not ready yet.
6557 * undo_funcs.C (textHandleUndo): set the next() and previous()
6558 pointers of the paragraph to 0 before deleting otherwise we have
6559 problems with the Paragraph::[destructor].
6561 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6562 on a paragraph insertion.
6564 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6566 * buffer.C (asciiParagraph): use += operator for char append to
6569 * paragraph.C (getFontSettings): compare >= not just >
6570 (highestFontInRange): ditto
6573 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6575 * paragraph.C: change several algorithm to be more appripriate for
6576 the problem domain. This is lookip in FontList and in the InsetList.
6578 2002-03-13 André Pönitz <poenitz@gmx.net>
6581 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6583 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6588 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6590 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6592 * Painter.C (display): anon helper function, adjust code for this
6594 (pixmap): remove function.
6596 * Painter.h: remove private display variable.
6598 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6600 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6602 * WorkArea.[Ch]: remove figinset_canvas cruft.
6604 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6606 * lyxtextclass.C (operator): add one item cache optimization.
6608 * bufferlist.h: doxy changes
6610 * bufferlist.C: ws changes
6612 * DepTable.[Ch] (ext_exist): place const in the right spot.
6614 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6616 (workAreaExpose): call resizeInsets when the with BufferView changes.
6617 (Dispatch): adjust for protectedBlank removal
6618 (specialChar): call updateInset if the insert went ok.
6620 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6621 specialChar instead.
6623 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6625 * BufferView.h: doxy change
6627 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6629 * lyxtextclass.C (operator[]): remove non-const version
6630 (defaultLayout): remove non-const version
6632 2002-03-12 Juergen Vigna <jug@sad.it>
6634 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6635 did resize the LyXText too.
6637 * buffer.C (readLyXformat2): set layout information on newly allocated
6640 * tabular.C (OldFormatRead): set layout information on the paragraph.
6642 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6644 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6646 2002-03-11 Juergen Vigna <jug@sad.it>
6648 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6650 (resizeCurrentBuffer): force also the insets to resize themselfes.
6651 (moveCursorUpdate): fixed up for InsetText.
6653 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6656 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6657 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6658 value of Dialogs::tooltipsEnabled().
6659 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6661 2002-03-08 Juergen Vigna <jug@sad.it>
6663 * BufferView_pimpl.C (updateInset): update inset inside inset also
6664 if it isn't inside theLockingInset().
6666 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6668 * buffer.C (asciiParagraph): redo some of the word and line length
6670 (getLists): look for Caption instead of caption.
6672 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6674 * buffer.C (Buffer): initialize niceFile to true
6677 (makeDocBookFile): make sure niceFile is true on exit
6679 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6683 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6685 * LyXSendto.C: remove.
6686 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6687 * lyx_gui.C: remove now-redundant comment.
6688 * ColorHandler.h: remove forward declaration of class WorkArea.
6689 * lyxfunc.C: remove #include "WorkArea.h".
6691 2002-03-07 Juergen Vigna <jug@sad.it>
6693 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6694 got moved away with the DEPM and also set the inset_owner always
6695 right which before could have been omitted.
6697 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6699 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6700 wanted layout is not found.
6702 2002-03-07 Juergen Vigna <jug@sad.it>
6704 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6706 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6708 * paragraph.C (breakParagraph): use default layout not layout of
6710 (Paragraph): clear ParagraphParameters.
6712 2002-03-06 Juergen Vigna <jug@sad.it>
6714 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6715 otherwise it would not be a valid lenght. Fixed a special case in
6716 the minipage compatibility read where we end the document with a
6719 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6720 was set as it could be 0 for InsetTexts first entry.
6722 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6724 * paragraph.C (writeFile): if layout is empty write out
6725 defaultLayoutName().
6727 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6728 file without named layout we set layout to defaultLayoutName().
6730 2002-03-06 Juergen Vigna <jug@sad.it>
6732 * CutAndPaste.C (copySelection): set layout for new paragraph.
6734 * text.C (prepareToPrint): leave ERT inset left aligned
6735 (leftMargin): don't indent paragraphs inside ERT insets
6737 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6739 * paragraph.C (breakParagraph): dont call clear do the work manually
6741 * paragraph.[Ch] (clear): remove function
6743 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6745 * paragraph.C (Paragraph): dont call clear, the work has already
6748 * lyxtextclass.C (operator): assert if n is empty
6750 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6751 work manually instead.
6753 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6755 * BufferView_pimpl.C: protect selectionLost against text == 0
6757 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6759 * text.C (breakParagraph): fix a setting layout to '0' problem.
6761 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6763 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6764 final location of file, for the included files, and graphics.
6766 2002-03-05 Juergen Vigna <jug@sad.it>
6768 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6770 2002-03-04 Juergen Vigna <jug@sad.it>
6772 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6774 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6775 last column of multicolumn cells.
6776 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6778 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6780 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6781 file if it doesn't go to a temporary file.
6783 * buffer.C (sgmlOpenTag):
6784 (sgmlCloseTag): remove extra newline insertion.
6786 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6788 * text.C (getRowNearY): comment out debug msg
6790 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6792 * text2.C: first -> first_y
6794 * text.C (getRowNearY): add some attemts at a possible
6795 optimization, not working.
6797 * tabular.[Ch]: add BufferParams to several function so that newly
6798 created paragraph can be initialized to he default layotu for the
6801 * tabular-old.C (ReadOld): add buf->params to call of Init
6803 * screen.C: rename text->first to text->first_y
6805 * paragraph.C (breakParagraph): always set layout in the broken
6808 * lyxtextclass.C (Read): remove lowercase
6811 (delete_layout): ditto
6813 * lyxtext.h: rename first -> first_y
6815 * lyxlayout.C (Read): remove lowercase
6818 (obsoleted_by): ditto
6820 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6822 * buffer.C (insertErtContents): add params are to InsetERT
6823 (parseSingleLyXformat2Token): add code to check if a paragraphs
6824 layout really exist.
6825 (parseSingleLyXformat2Token): add params to several inset
6827 (asciiParagraph): remove lowercase, do the layout comparisons with
6830 * BufferView_pimpl.C (cursorNext): first -> first_y
6831 (resizeCurrentBuffer): first -> first_y
6832 (updateScrollbar): first -> first_y
6833 (scrollCB): first -> first_y
6834 (workAreaMotionNotify): first -> first_y
6835 (workAreaButtonPress): first -> first_y
6836 (checkInsetHit): first -> first_y
6837 (cursorPrevious): first -> first_y
6838 (cursorNext): first -> first_y
6839 (Dispatch): add buffer_->params to severl inset contructors
6841 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6843 * lyxlayout.C (Read): remove some debug info that I forgot.
6845 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6846 clean up the code slightly.
6847 (makeLinuxDocFile): ditto
6848 (makeDocBookFile): ditto
6850 * text2.C: layout as string
6852 * text.C: layout as string
6854 * paragraph_pimpl.C: layout as string
6856 * paragraph.[Ch]: layout as string
6858 * lyxtextclasslist.[Ch]: layout as string
6860 * lyxtextclass.[Ch]: layout as string
6862 * lyxtext.h: layout as string
6864 * lyxlayout.[Ch]: layout as string
6866 * lyx_cb.C: layout as string
6868 * bufferview_funcs.C: layout as string
6870 * bufferparams.C: layout as string
6872 * buffer.C: layout as string
6874 * LyXView.[Ch]: layout as string
6876 * LaTeXFeatures.[Ch]: layout as string
6878 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6880 * BufferView_pimpl.C: change current_layout to string, remove
6885 (workAreaButtonRelease): layout as string
6887 * BufferView2.C (unlockInset): adjust
6889 * vspace.C (asLatexCommand): use an explict temp variable.
6891 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6893 * Makefile.am: use FRONTEND_*
6895 2002-03-01 Juergen Vigna <jug@sad.it>
6897 * tabular.C (SetWidthOfMulticolCell): changed to something better
6898 I hope but still work in progress.
6899 (recalculateMulticolumnsOfColumn): renamed function from
6900 recalculateMulticolCells as it is more appropriate now.
6901 (SetWidthOfCell): calculate multicols better.
6903 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6905 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6907 * lyxfunc.C (processKeySym): print sequence also if it is
6908 `deleted' (complete)
6910 * kbsequence.C (print): print sequence even if it is deleted
6911 (complete would be a better word, actually).
6913 * lyxfunc.C (dispatch): print complete options after a prefix key
6915 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6917 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6919 * text2.C (setCharFont): eliminate setCharFont code duplication.
6921 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6923 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6924 LFUN_TABULAR_FEATURE (bug #177)
6926 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6928 * Makefile.am: remove figure.h
6930 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6932 * Bufferview_pimpl.C:
6944 * text2.C: remove #include "lyx_gui_misc.h".
6946 * LaTeX.C: added #include <cstdio>
6948 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6950 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6951 that the paragraph following this one can have.
6953 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6955 * vspace.C (asLatexCommand): fix bogus gcc warning
6957 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6959 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6961 * text2.C (setLayout): get rid of redundant code
6963 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6965 * text2.C (incDepth): make sure depth cannot be increased beyond
6968 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6970 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6971 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6973 * PainterBase.h (image):
6974 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6977 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6981 * BufferView_pimpl.C:
6982 * BufferView_pimpl.h:
7002 * sp_spell.C: remove fig inset, and the crap house of
7003 cards that follows it
7005 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7011 * nt_defines.h: move .h into support/
7013 * vms_defines.h: remove
7015 * WorkArea.C: add space in debug output
7019 * buffer.C: add WITH_WARNINGS
7023 * bufferlist.C: s/retrive/retrieve/, add docs
7034 * lyxgui.C: add ID to X error handler
7036 * lyxtestclass.c: fix typo
7038 2002-02-26 Juergen Vigna <jug@sad.it>
7040 * tabular_funcs.C (write_attribute): changed so that some default
7041 attributes are not written at all.
7042 (getTokenValue): set default values before trying to read the
7043 value so we have the return value always set as default if we don't
7044 find the token we search for.
7046 * tabular.C (Write): write bools as bools not as strings!
7048 2002-02-22 Juergen Vigna <jug@sad.it>
7050 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7051 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7053 * text.C (leftMargin): don't add an indent for paragraphs inside
7054 tabular cells (fix #208).
7056 2002-02-21 José Matos <jamatos@fep.up.pt>
7058 * tabular.C (docBook): fixed support for long tables.
7060 2002-02-20 Juergen Vigna <jug@sad.it>
7062 * text2.C (getFont): get the drawing font of the Inset if this
7063 paragraph is inside an inset (only important for InsetERT for now).
7065 * buffer.C (insertErtContents): use new lanugage params in ERT
7068 * CutAndPaste.C: commenting out seemingly uneeded code.
7070 2002-02-19 Allan Rae <rae@lyx.org>
7072 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7073 Iterators might be simple to use but they also get invalidated.
7074 (removeAutoInsets): renamed saved cursor tracking variables and added
7075 some comments to clarify what everything does.
7077 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7084 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7085 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7088 * vc-backend.h: remove #include "support/syscall.h"
7092 * converter.C: rearrange #includes in Lars' approved fashion.
7094 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7095 forward declare class Timeout in the header file.
7097 * XFormsView.C: changes due to the above.
7099 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7102 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7103 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7105 2002-02-18 José Matos <jamatos@fep.up.pt>
7107 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7110 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7112 * a lot of small ws changes
7113 * add a lot of using std::XXX
7114 * use std construcs some places where approp.
7115 * use some exisint stuff from lyxfunctional where approp.
7116 * Make file changes to use partial linking (lets test this now...)
7118 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7122 remove #include "support/syscontr.h" as it's redundant. Always has been.
7130 change Systemcalls::System to Systemcalls::Wait and
7131 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7132 No change of functionality, just reflects the stripped down Systemcalls
7135 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7137 * debug.[Ch]: add a GRAPHICS type to the enum.
7139 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7141 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7143 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7146 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7148 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7149 match the changes below.
7151 * text2.C (toggleInset): if there is not editable inset at cursor
7152 position, try to see if cursor is _inside_ a collapsable inset
7155 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7157 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7158 document menu has a nice checkbox
7160 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7162 * lyxlength.C (asLatexString): change PW to output as percent of
7165 * lengthcommon.C: change '%' to 't%'
7167 * lyxfunc.C (dispatch): a few comments from Martin
7169 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7173 * BufferView_pimpl.h:
7174 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7177 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7179 * vspace.C (inPixels): fix compiler warning
7181 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7183 * lyxfunc.C (getStatus): fix status message for disabled commands.
7185 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7187 * BufferView_pimpl.C: fix crash on close buffer
7188 during selection (#227)
7190 2002-01-27 Herbert Voss <voss@lyx.org>
7192 * buffer.C: link old Figure to new graphic inset
7194 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7196 * FontLoader.C (getFontinfo): Change the latex font names in order
7197 to match the names of type1inst.
7199 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7201 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7203 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7206 (remove_files_with_extension): ditto
7207 (remove_file): ditto
7210 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7211 document is smaller than the work area height. Do not initialize
7212 static variables to 0.
7214 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7216 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7218 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7219 LFUN_LAYOUT_PARAGRAPHS.
7221 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7222 tabular. It is possible to provide a possible cell, which will
7223 typically be the actcell from the corresponding insettabular
7225 * lyxfunc.C (getStatus): small cleanup; disable
7226 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7229 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7231 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7233 * paragraph.C (startTeXParParams):
7234 (endTeXParParams): new methods. The LaTeX code to
7235 start/end paragraph formatting
7236 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7237 empty (fixes bug #200)
7239 * vspace.C (inPixels): adapt to the change below
7240 (inPixels): [later] more cleanups (remove unused variables)
7242 * lyxlength.C (inPixels): change to use a width and a height as
7245 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7247 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7248 Replaced with \paperwidth
7250 * DepTable.C (insert): add std:: qualifier
7252 2002-01-18 Allan Rae <rae@lyx.org>
7254 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7257 * text.C (drawInset): Turned out I didn't know enough about how
7258 rebreaking worked. This fixes most of the redraw problems. I see
7259 an occasional cursor trail when a line is broken now and the cursor
7260 placement can seem out by a few pixels also after a rebreak.
7262 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7264 * buffer.C (parseSingleLyXformat2Token): update because minipage
7265 width is now a LyXLength
7267 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7269 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7272 2002-01-17 Juergen Vigna <jug@sad.it>
7274 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7276 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7277 is set correctly and the inset is updated correctly.
7279 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7281 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7282 the beginning of the loop.
7284 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7286 * lyxrc.C: improve help for use_scalable_fonts
7288 2002-01-17 Allan Rae <rae@lyx.org>
7290 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7292 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7294 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7295 make sure to set their inset_owner to the right value (bug #171)
7297 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7300 * DepTable.C: Implement mtime checking to reduce time spent doing
7303 2002-01-16 Juergen Vigna <jug@sad.it>
7305 * tabular.C (GetAdditionalHeight): one of error fixed.
7307 * lyxrc.C (output): small fix in writing use_pspell.
7309 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7311 * sp_base.h: #include LString.h
7313 2002-01-16 Allan Rae <rae@lyx.org>
7315 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7316 Can someone check this please?
7318 * text.C (drawInset): It was possible that p.row would be removed by
7319 breakAgainOneRow upsetting a few other settings. There may be another
7320 small tweak possible by setting need_break_row = 0 when p.row has been
7321 removed but I don't know enough about the logic here.
7323 2002-01-15 Allan Rae <rae@lyx.org>
7325 * text.C (insertChar): removed conditional truism.
7327 * BufferView2.C (removeAutoInsets): More tweaks.
7328 cur_par_prev could be a stray pointer. Check for trailing empty line
7329 in case last line was cur_par and only had an error inset on it.
7331 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7333 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7336 * vc-backend.C (most methods):
7337 * exporter.C (Export):
7338 * converter.C (convert):
7340 * LyXSendto.C (SendtoApplyCB):
7341 * lyxfunc.C (dispatch):
7345 * lyx_cb.C (AutoSave):
7347 * BufferView_pimpl.C (MenuInsertLyXFile):
7348 * buffer.C (runChktex): use Buffer::filePath().
7350 * buffer.h: rename filename to filename_; rename filepath to
7351 filepath_ and make it private
7352 (filePath): new method
7354 * buffer.C (writeFile): use fileName()
7357 * lyx_main.C (init): fix starting of LyX when the binary is a
7358 link from so,ewhere else.
7360 * minibuffer.C: include <cctype> for isprint
7362 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7364 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7365 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7366 name clash with InsetCollapsable's width function.
7368 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7370 * lastfiles.C: include <iterator>
7372 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7374 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7377 * buffer.C (makeLaTeXFile): ditto.
7378 Also make loop operation more transparent.
7380 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7382 * ToolbarDefaults.C: remove trailing comma closing namespace.
7384 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7386 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7389 * trans.C (Load): comment out unused variable, allowed.
7391 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7393 * minibuffer.[Ch] (append_char): new method to recieve input from the
7394 drop-down completion browser. If a key was pressed, then recieve this
7395 char and append it to the existing string.
7396 (peek_event): modify the positioning data passed to the completion
7397 browser so that it can be placed above the minibuffer rather than below.
7398 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7400 * LyXAction.C (init): alloe error-next for readonly documents.
7402 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7405 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7407 * bufferlist.C (readFile): create the buffer _after_ checking that
7410 * lyxfunc.C (verboseDispatch): fix handling of arguments
7412 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7414 * lyxrc.C: use string::erase() instead of initializing to "".
7417 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7419 * BufferView_pimpl.h:
7420 * BufferView_pimpl.C:
7423 * text2.C: tell X when we have made a selection for copying
7425 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * BufferView_pimpl.C (MenuInsertLyXFile):
7428 * lyxfunc.C (menuNew):
7430 (doImport): add shortcuts to directory buttons
7432 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7435 * lyxfunc.C (setStatusMessage):
7436 (getStatusMessage): new methods
7437 (getStatus):use setStatusMessage instead of setErrorMessage
7438 (dispatch): when function is disabled, set error message here
7439 [instead of in getStatus previously]
7441 * BufferView_pimpl.C (workAreaButtonRelease): update
7442 toolbar/menubar here too.
7444 2002-01-13 Allan Rae <rae@lyx.org>
7446 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7447 Now seems indestructible. Remaining task is to audit all other
7448 code affected by deleteEmptyParagraphMechanism. One small quirk
7449 left is that an empty document with an error in the preamble can
7450 be made to report an error but no error box appears. I don't know
7452 (removeAutoInsets): Improved comments.
7454 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7457 * Thesaurus.C: update for Aiksaurus 0.14
7459 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7461 * text2.C (firstParagraph): removed member function, all uses
7462 replaces with ownerParagraph
7463 (redoParagraphs): here
7465 (toggleAppendix): here
7466 * BufferView2.C (insertErrors): here
7467 (setCursorFromRow): here
7469 2002-01-13 Allan Rae <rae@lyx.org>
7471 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7472 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7473 There is still a way to segfault this although you may have to do this
7474 multiple times: Have an InsetERT with an unknown command in it.
7475 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7476 <down-arrow>, <Enter> again, View->DVI, BANG!
7478 * text2.C (setCursor):
7479 (deleteEmptyParagraphMechanism):
7480 * lyxtext.h (setCursor):
7481 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7482 Making use of the return value may help fix other bugs.
7484 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7486 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7488 * LyXView.C (updateMenubar): call MenuBar::update here
7489 (updateToolbar): but not here
7490 (showState): do not update toolbar/menubar
7492 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7493 should need to care about that.
7495 * lyxfunc.C (verboseDispatch): simplify a bit
7496 (getStatus): have a version which takes a pseudoaction, and
7497 another which requires a (kb_action,string).
7499 * LyXAction.C (retrieveActionArg): make it work also when action
7500 is not a pseudo-action.
7501 (getActionName): simplify a bit
7504 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7506 * lyxfunc.C (verboseDispatch): new families of methods with
7507 several ways to specify a command and a bool to indicate whether
7508 the command name and shortcut should be displayed in minibuffer
7509 (eventually, we could extend that to a finer bitmask like
7510 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7511 (dispatch): the pristine dispatch command which just, well,
7512 dispatchs! Note it still sets its result to minibuffer; I'm not
7515 * lyxfunc.h: remove setHintMessage
7517 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7519 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7521 * BufferView_pimpl.C (specialChar): delete new inset if we have
7522 not been able to insert it.
7524 * kbmap.C: revert to using int instead of kb_action, since all we
7525 are dealing with is pseudo-actions.
7527 * LyXAction.C (searchActionArg): change to return int instead of
7528 kb_action, since the result is a pseudoaction.
7530 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7532 * buffer.C (insertErtContents): Fix (partially) the font bug.
7534 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7536 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7537 as the other one is broken on my machine!
7539 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7542 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7544 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7546 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7547 reflect their actual use. Provide compatibility code for older lyxrc
7550 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7552 change names of popup font variables in line with the changes to lyxrc.C
7554 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7556 * buffer.C (asciiParagraph): avoid outputing a word twice after
7559 * lyxrc.C (getDescription): document that document_path and
7560 template_path can be empty.
7562 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7564 * LaTeXFeatures.C (getMacros):
7565 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7567 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7569 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7571 (getPackages): rename feature "floats" to "float". Use an array to
7572 iterate over 'simple' features (i.e. just a \usepackage). Add
7573 handling of "amsmath" (renamed from "amsstyle").
7575 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7577 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7580 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7582 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7583 FuncStaus::FuncStatus & FuncStaus::some_method().
7585 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7587 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7588 of the func_satus stuff. Edited and massaged in various ways by
7591 * lyxfunc.C (getStatus): use FuncStatus
7593 2002-01-08 Juergen Vigna <jug@sad.it>
7595 * text.C (nextBreakPoint): use function Inset::isChar().
7597 * paragraph.C (TeXOnePar): use function
7598 Inset::forceDefaultParagraphs.
7600 * buffer.C (latexParagraphs): use function
7601 Inset::forceDefaultParagraphs.
7603 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7605 * lyx_gui.C (init): set the style of the menu popups to
7606 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7608 2002-01-07 Juergen Vigna <jug@sad.it>
7610 * text.C (setHeightOfRow): small fix
7611 (prepareToPrint): don't look at alignment if we don't have the place
7614 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7616 * box.C: New file. Move the Box methods and functions out of box.h,
7617 following Lars' suggestion.
7619 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7621 * box.h: #include "support/LOstream.h", needed for inlined function.
7624 * lyxtextclasslist.C: added some using std declarations.
7626 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7628 * box.h: make signed dimensions to allow insets wider than
7629 the screen (bug #162)
7631 * BufferView_pimpl.C: add some insetHit debug
7633 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7635 * vc-backend.C: add FIXME
7637 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7639 * lyxfunc.C (getStatus): enable code for showing math font status
7642 2002-01-07 Juergen Vigna <jug@sad.it>
7644 * text.C (nextBreakPoint): removed debug output not needed anymore.
7646 2002-01-06 Juergen Vigna <jug@sad.it>
7648 * text.C (nextBreakPoint): fixed up this function we had this bug
7649 since ever but now hopefully we break row better.
7650 (insertChar): we have to check if an inset is the next char as it
7651 could now happen that a large inset is causing a break.
7653 2002-01-05 Juergen Vigna <jug@sad.it>
7655 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7656 if it doesn't like to be drawed.
7658 2002-01-04 Juergen Vigna <jug@sad.it>
7660 * BufferView2.C (lockInset): forgot to set a cursor.
7662 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7664 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7669 * form_maths_panel.C:
7670 * form_maths_panel.h:
7671 * form_maths_panel.fd: implemented sub- and super- buttons in math
7674 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7675 (or ^ space) to be used as in TeX (req'd by André).
7677 * lyxfunc.C: Allow ^ and _ again to be used both as
7678 super/subscript (mathed) and as themselves (in text).
7680 2002-01-03 Allan Rae <rae@lyx.org>
7682 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7683 "LyX" or the filename of the current buffer if it has one. This is a
7684 modified form of John Levon's patch.
7686 * XFormsView.C (setWindowTitle): also set icon title.
7688 * LyXView.h (setWindowTitle): signature changed.
7689 * XFormsView.h (setWindowTitle): ditto.
7691 2002-01-02 Juergen Vigna <jug@sad.it>
7693 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7695 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7697 * screen.C (topCursorVisible): introduce a temp var for
7698 text->cursor.row(), handle the case where this row is null. (kindo
7701 * text2.C (setCursor): add a couple of asserts.
7703 * paragraph.h (inset_iterator): add -> operator
7705 * paragraph.[Ch] (autoDeleteInsets): remove member function
7707 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7708 cursor pos correctly and handle inset deletion by itself.
7709 (insertErrors): move iterator declaration out of for expression
7711 * lyxtextclass.C: add <algorithm>
7713 * Makefile.am: added the new files to sources, removed layout.C
7715 * layout.C: removed file
7717 * layout.h: remove LYX_DUMMY_LAYOUT
7719 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7723 * lyxtextclass.[Ch]:
7724 * lyxtextclasslist.[Ch]: new files
7726 * include order changes to a lot of files, also changes because of
7729 2001-12-27 Juergen Vigna <jug@sad.it>
7731 * buffer.C (asciiParagraph): more fixes.
7733 * tabular.C (ascii): make ascii export support export of only the
7734 data separated by a column-delimiter.
7735 (ascii): better support for ascii export.
7737 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7739 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7741 * tabular_funcs.C: use a "using std::getline" instead of the
7742 previous fix from Angus (necessary for cxx + lyxstring)
7744 2001-12-24 Juergen Vigna <jug@sad.it>
7746 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7748 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7749 problems. First check a minipage also if we have some ert-contents
7750 (not only on par->size(), second set the right depth of the paragraph
7751 on the relink to the root-paragraph-list!
7753 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7754 which then did not anymore update the main paragraphs on undo/redo!
7756 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7758 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7759 code. Support all font-changing funcs (even those which are not in
7760 menu currently). Support for reporting font settings in
7761 mathed (disabled until Andre provides a function on mathed's side).
7763 * func_status.h (toggle): small helper function to set toggle
7766 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7768 * tabular_funcs.C: getline -> std::getline
7770 2001-12-21 Juergen Vigna <jug@sad.it>
7772 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7773 accessed and could be 0 (I couldn't generate this but it seems
7776 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7778 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7779 * tabular_funcs.h: here and include iosfwd
7781 2001-12-20 Juergen Vigna <jug@sad.it>
7783 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7784 inside inset but undo_par was.
7786 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7788 * Thesaurus.C: always include <config.h> in sources.
7792 * box.h: do not include <config.h> in header files
7794 * text.C (paintLastRow): remove unused variable
7796 * text.C (transformChar):
7798 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7801 * font.C (width): rewrite to use uppercase() instead of
7804 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7806 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7808 * lyxfind.C: clean up of find failure position change
7810 2001-12-20 Juergen Vigna <jug@sad.it>
7812 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7814 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7815 (TeXRow): added to LaTeX a single tabular row.
7816 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7817 (Latex): simplified and finally good LT-h/f support.
7818 (various_functions): just small adaptions for LT-h/f support.
7820 * tabular_funcs.[hC]: added and moved here all not classfunctions
7823 2001-12-19 Juergen Vigna <jug@sad.it>
7825 * tabular.[Ch]: better support for longtabular options (not finished
7828 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7830 * text.C (paintLastRow): use the label font instead of the font of
7831 the last character to compute the size of *_BOX. This makes more
7832 sense and avoids a crash with empty paragraphs.
7833 Use Painter::rectangle to draw EMPTY_BOX.
7835 2001-12-19 Juergen Vigna <jug@sad.it>
7837 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7838 the paragraphs if the replaced paragraph is not the first one!
7839 Tried to delete not used paragraphs but does not work yet so for
7840 now it's inside #ifdef's and by default off!
7842 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * MenuBackend.C: include "lyx_main.h" instead of declaring
7845 lastfiles (actually was declared as LastFiles* instead of a
7848 2001-12-17 Juergen Vigna <jug@sad.it>
7850 * tabular.C (AppendColumn): applied John's fix
7852 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7856 * BufferView_pimpl.h:
7857 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7860 * box.h: new start of class for above
7862 * lyxfunc.C: ignore space-only minibuffer dispatches.
7863 Show the command name when it doesn't exist
7865 * minibuffer.C: don't add empty lines to the history
7867 * minibuffer.C: add a space on dropdown completion
7869 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7871 * text.C: fix line above/below drawing in insets
7873 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7875 * lyxlength.C (LyXLength): Initialize private variables.
7877 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7880 when inserting error insets.
7882 2001-12-13 Juergen Vigna <jug@sad.it>
7884 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7885 actually sometimes the before-paragraph.
7886 (setUndo): don't clear the redostack if we're not actually undoing!
7888 2001-12-06 Juergen Vigna <jug@sad.it>
7890 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7891 and fixed redoing of main paragraph, so we can use it now ;)
7893 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7895 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7897 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7900 2001-12-13 André Pönitz <poenitz@gmx.net>
7903 * undo_func.C: minor cleanup
7905 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7907 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7908 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7909 font in urw-fonts package which is marked as -urw-fontspecific and
7910 does not work (incidentally, changing the encoding in the
7911 fonts.dir of this package to -adobe-fontspecific fixes the
7914 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7915 is a crash when undoing first paragraph (Juergen, please take a
7916 look). THis does not mean the undo fix is wrong, just that it
7919 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7920 the (Paragraph*) version when needed instead of duplicating the
7923 * text.C (workWidth): use Inset::parOwner to find out where the
7924 inset has been inserted. This is a huge performance gain for large
7925 documents with lots of insets. If Inset::parOwner is not set, fall
7926 back on the brute force method
7928 * paragraph_pimpl.C (insertInset):
7929 * paragraph.C (Paragraph):
7930 (cutIntoMinibuffer): set parOwner of insets when
7931 inserting/removing them
7933 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7935 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7941 * mathed/formulabase.C:
7942 * mathed/math_cursor.[Ch]:
7943 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7946 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7948 * lyxlength.[Ch] (operator!=): new function
7950 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7952 * text.C (workWidth): use Inset::parOwner to find out where the
7953 inset has been inserted. This is a huge performance gain for large
7954 documents with lots of insets. If Inset::parOwner is not set, fall
7955 back on the brute force method
7957 * paragraph_pimpl.C (insertInset):
7958 * paragraph.C (Paragraph):
7959 (cutIntoMinibuffer): set parOwner of insets when
7960 inserting/removing them
7962 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7964 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7966 * tabular-old.C (getTokenValue):
7967 * tabular.C (getTokenValue):
7968 (write_attribute): new versions for LyXLength
7969 (everywhere): adjust the use of widths
7971 * tabular.h: change the type of widths from string to LyXLength
7973 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7975 * paragraph.C: fixed missing line number count when exporting
7976 Environments to LaTeX file
7978 * buffer.C: added informational message for checking line numbers.
7980 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7982 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7983 paragraph, do the 'double space' part, but not the 'empty
7986 * text.C (workWidth): small optimization
7987 (getLengthMarkerHeight): use minimal size for negative lengths.
7989 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7991 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7993 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7995 2001-12-11 André Pönitz <poenitz@gmx.net>
7998 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8000 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8002 * text2.C: keep selection on a setFont()
8004 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8006 * lyx_cb.C: another bv->text misuse, from insert label
8008 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8011 * kbsequence.C: re-instate nmodifier mask
8013 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8015 * lyx_main.h: make lyxGUI private.
8017 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8019 * lyxfind.C: place the cursor correctly on failed search
8021 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8023 * text.C (getLengthMarkerHeight): for small heights, the arrows
8024 are not always on top/bottom of the text
8025 (drawLengthMarker): smaller arrows; take the left margin in
8026 account; draw also vfills.
8028 (paintLastRow): remove special code for vfill and standard spaces,
8029 since everything is handled in drawLengthMarker now.
8031 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8033 * buffer.C (insertErtContents): try to handle font and language
8034 interaction a bit better.g
8036 * ColorHandler.C (updateColor): change the hash to cover the whole
8037 LColor enum, ws cleanup
8038 (getGCLinepars): ditto
8039 (getGCLinepars): only lookup in the linecache once.
8041 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8043 * iterators.C (operator++): Make the iterator more robust
8045 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8047 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8049 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8052 * text.C: better added space drawing
8054 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8057 * BufferView2.C: fix layout combo update on inset unlock
8059 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8061 * Makefile.am: don't compile unused files
8063 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8067 * LyXAction.C: remove old LFUN_LAYOUTNO
8069 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8071 * paragraph_pimpl.h:
8072 * paragraph_pimpl.C: isTextAt() doesn't need font param
8074 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8077 * lyxlex.C: little cleanup
8079 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8081 * BufferView_pimpl.C: fix insertAscii for insets
8083 2001-12-05 Juergen Vigna <jug@sad.it>
8085 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8086 set the right font on the "multi" paragraph paste!
8088 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8094 * lyxlength.C: remove out-commented code.
8110 * vc-backend.C: change "while(" to "while ("
8112 * lyxlength.[Ch]: add zero function to check if length is zero or
8114 * lyxgluelength.C: use it
8116 2001-12-05 Allan Rae <rae@lyx.org>
8118 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8119 Works for 2.95.3, from what I understand of Garst's reports this should
8120 work for other g++ versions. We're screwed if the abs(int) definition
8121 changed between bugfix releases of gcc.
8123 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8125 * text.C: fix chapter label offset !
8127 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8130 * text.C: fix hfill at end of line, clean up
8132 2001-12-04 Juergen Vigna <jug@sad.it>
8134 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8135 that we force an update of the inset and it's owners if neccessary.
8137 2001-12-03 Juergen Vigna <jug@sad.it>
8139 * text.C (rowLast): simplified code
8141 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8143 * lyxfunc.C: fix show options on timeout
8145 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * screen.C (topCursorVisible): scroll half a page when the cursor
8148 reached top of bottom of screen
8150 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8152 * minibuffer.C: deactivate on loss of focus
8154 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8156 * vspace.[Ch] (operator!=): add operator.
8158 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8160 * BufferView_pimpl.C: refuse to open an inset when
8161 there's a selection.
8163 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8165 * BufferView_pimpl.C: allow to click on RHS of full row insets
8167 2001-11-30 Juergen Vigna <jug@sad.it>
8169 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8170 insets for undo reasons.
8172 2001-11-28 André Pönitz <poenitz@gmx.net>
8174 * vspace.[Ch]: cosmetical changes
8176 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8186 * kbsequence.C: part re-write of old kb code
8189 * WorkArea.C: remove Lgb_bug_find_hack
8191 2001-11-30 José Matos <jamatos@fep.up.pt>
8193 * buffer.C (makeDocBookFile): add a comment to point a hack.
8194 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8195 Fixed a double write of labels.
8197 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8200 * LaTeX.h Fixed bug in LaTeX class where it would not
8201 re-run latex if no depfiles were changed, but the .dvi was removed.
8203 2001-11-28 André Pönitz <poenitz@gmx.net>
8205 * all the files from the change on 2001/11/26:
8206 use lyx::layout_type instead of LyXTextClass::size_type
8207 use lyx::textclass_type instead of LyXTextClassList::size_type
8209 2001-11-29 Juergen Vigna <jug@sad.it>
8211 * text.C: added support for paragraph::isFreeSpacing()
8213 * buffer.C: same as above
8215 * paragraph.h: inserted isFreeSpacing() function to enable
8216 FreeSpacing inside InsetERT.
8218 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8219 of the paragraph's in the cut/copy buffer to 0!
8221 * text2.C (removeRow): remove the assert as it can!
8223 * lyxtext.h: added helper function firstRow returning firstrow and
8224 made firstrow private again.
8226 * BufferView2.C (lockInset): don't relock if we're already locked!
8228 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8230 (removeRow): added Assert::(firstrow)
8232 * debug.C: forgot to add INSETTEXT here.
8234 2001-11-28 Juergen Vigna <jug@sad.it>
8236 * sp_spell.C (initialize): changed error text to more general
8237 spellchecker command use (not only ispell!)
8239 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8241 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8243 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8245 * vspace.C: initialise lyxgluelength on failure
8247 2001-11-28 Allan Rae <rae@lyx.org>
8249 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8250 declaration & definition that looks like a function declaration.
8252 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8254 * BufferView2.C (copy):
8255 (copyEnvironment): do not clear the selection when doing a copy.
8257 * text.C (paintFirstRow): compilation fix
8259 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8261 * tabular.C (Latex): correct line count when writing latex.
8263 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8265 * paragraph_pimpl.h:
8266 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8269 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8273 * LColor.C: change vfillline->added_space
8275 * text.C: add markers and text for added space
8277 * vspace.C: fix comment
8279 2001-11-28 André Pönitz <poenitz@gmx.net>
8281 * paragraph.C: whitespace changes
8282 * all the other files from the change on 2001/11/26:
8283 change *::pos_type into lyx::pos_type
8285 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8287 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8288 language of the document when inserting error insets.
8290 2001-11-26 André Pönitz <poenitz@gmx.net>
8292 * BufferView_pimpl.[Ch]:
8300 * paragraph_pimpl.[Ch]:
8303 * text2.C: reduce header dependencies, introduce type for positions
8305 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8307 * <various>: change to use Alert.h
8309 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8311 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8312 when encountering an unknown token.
8313 (readLyXformat2): Show an error message if there were unknown tokens.
8315 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8318 * BufferView_pimpl.C:
8322 * text2.C: use par->isInset()
8324 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8326 * paragraph_pimpl.h:
8327 * paragraph_pimpl.C: cleanup
8329 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8331 * text2.C (removeRow):
8332 * text.C (setHeightOfRow): remove useless (and costly) call to
8335 2001-11-20 Allan Rae <rae@lyx.org>
8337 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8338 Now need Inset*::checkInsertChar() to return true for appropriate
8339 cases so that the characters in the minibuffer will actually be
8342 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8344 * text.C: change the order of the includes.
8345 (workWidth): initialize it at once.
8346 (workWidth): make maxw unsigned
8347 (setHeightOfRow): remove unused variable (inset)
8348 (selectSelectedWord): remove unused variable (inset)
8349 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8351 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8353 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8354 server is not running.
8356 (closeConnection): add debug info when server is disabled.
8358 * ColorHandler.C (getGCForeground): send debug message to GUI
8361 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8363 * kbmap.C (bind): modify because return conventions of
8364 kb_sequence::parse have changed.
8366 * kbsequence.C (parse): only ignore spaces and not any stupid
8367 control character. This avoids tests like s[i] <= ' ', which are
8368 guaranteed to fail with 8bit characters and signed chars.
8369 Change return code to string::npos when there have been no error
8370 (0 was a bad idea when error is at first character)
8372 2001-11-14 José Matos <jamatos@fep.up.pt>
8375 * buffer.C (simpleDocBookOnePar): removed unused argument.
8377 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8379 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8380 insets which are part of a word. Paragraph::isLetter takes care of
8381 that now. Use Paragraph::isInset to identify insets.
8382 (selectSelectedWord): do not test for hyphenation break.
8384 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8385 that protected spaces are considered as spaces.
8387 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8390 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8393 * lyxserver.C: fix it. and small cleanup.
8395 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8397 * BufferView_pimpl.C: use inline helpers
8400 * LaTeXFeatures.C: fix typos
8403 * Spacing.C: move spacing_string into class
8405 * ToolbarDefaults.C: move stuff into namespace anon
8407 * layout.h: update enum
8409 * lyxfunc.C: use better debug
8411 * minibuffer.h: fix typo
8415 * WorkArea.C: add and use Debug::WORKAREA
8419 * text2.C: code re-organisation, inline helpers
8421 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8423 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8424 std::vector.empty().
8426 2001-11-09 Allan Rae <rae@lyx.org>
8428 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8429 '\n's after tables. Tabular and ERT inset work now makes this no
8432 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8435 * minibuffer.C: fix crash, improve drop-down completion
8437 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8440 * lyxserver.C: invalidate fd's when doing endPipe()
8442 2001-11-08 José Matos <jamatos@fep.up.pt>
8444 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8445 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8448 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8450 2001-11-07 José Matos <jamatos@fep.up.pt>
8453 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8456 * buffer.C (sgmlOpenTag):
8457 * buffer.C (sgmlCloseTag): removed debug info.
8459 * buffer.h (sgmlOpenTag):
8460 * buffer.h (sgmlCloseTag): made public.
8462 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8464 * buffer.C (saveParamsAsDefaults):
8465 * lyx_cb.C (MenuLayoutSave): remove
8467 * LyXAction.C (init):
8469 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8471 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8473 * buffer.C (setPaperStuff): removed from here...
8475 * bufferparams.C (setPaperStuff): ... and moved there.
8477 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8481 * XFormsView.C: add support for drop-down completion
8483 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8485 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8488 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8490 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8493 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8495 * lyx_main.C: change ref to known bugs
8497 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8499 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8500 to work around older babel problems.
8502 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8504 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8506 2001-10-24 Juergen Vigna <jug@sad.it>
8508 * tabular-old.C (ReadOld): below variable changes reflected.
8510 * tabular.[Ch]: added ltType struct for longtable header/footer
8511 defines and changed all instances where they are used. Added
8512 future support for double top/bottom rows.
8514 2001-10-24 José Matos <jamatos@fep.up.pt>
8516 * buffer.h (docbookHandleCaption):
8517 * buffer.C (docbookHandleCaption): removed unused function.
8518 (makeDocBookFile): moved docbook supported version to v4.1.
8520 2001-10-24 José Matos <jamatos@fep.up.pt>
8523 * tabular.C (docbookRow): new function to export docbook code of a row.
8524 (DocBook): now honors the longtable flags.
8526 2001-10-23 José Matos <jamatos@fep.up.pt>
8529 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8530 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8532 * buffer.C (makeLinuxDocFile):
8533 (makeDocBookFile): reworked the preamble, more clean, and with
8534 support for lyx defined entities. Changed the document declaration
8535 to be more XML friendly.
8537 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8538 if we need to output XML that should be done with a filter.
8540 2001-10-22 Juergen Vigna <jug@sad.it>
8542 * sp_pspell.h (class PSpell): add alive function needed in the
8543 controller to see if the spellchecker could be started.
8545 2001-10-22 Juergen Vigna <jug@sad.it>
8547 * buffer.C (insertStringAsLines): modify the font for inserting
8548 chars in certain conditions by calling checkInsertChar(font).
8550 2001-10-19 Juergen Vigna <jug@sad.it>
8552 * text.C (workWidth): use getRow instead of wrong algorithm.
8553 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8555 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8560 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8562 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8564 * text.C (workWidth): do not search for the exact row when
8565 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8566 optimization for big documents.
8568 2001-10-18 Juergen Vigna <jug@sad.it>
8570 * text.C (workWidth): new function with added Inset * parameter.
8572 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8574 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8576 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8577 change return type of getColumnNearX.
8580 * text.C (changeRegionCase): use uppercase/lowercase instead of
8583 (rightMargin): simplify code by factoring out the uses of
8588 (appendParagraph): use Paragraph::size_type
8590 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8592 * vspace.C (asLatexString): add a missing break
8594 2001-10-15 Herbert Voss <voss@perce.de>
8596 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8598 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8600 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8603 2001-10-10 André Pönitz <poenitz@gmx.net>
8605 * lyxfunc.C: removed greek_kb_flag.
8607 2001-10-10 Herbert Voss <voss@perce.de>
8609 * lyx_main.C: delete global string help_lyxdir.
8611 2001-10-09 Herbert Voss <voss@perce.de>
8613 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8615 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8617 * lyx_main.C: added global string help_lyxdir.
8619 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8621 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8623 * lyxrc.C (set_font_norm_type): support iso8859-4
8625 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8627 * LaTeX.C (deplog): add another regex for MikTeX
8629 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8631 * lyxrc.C (set_font_norm_type): support iso8859-3
8633 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8635 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8637 * LaTeXFeatures.C: remove special case of french and index
8639 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8640 before \begin{document}). This solves several incompatibilities.
8642 2001-10-03 Garst Reese <reese@isn.net>
8644 * lyx_cb.C: change CheckTex error msg.
8646 2001-10-03 José Matos <jamatos@fep.up.pt>
8648 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8650 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8652 * .cvsignore: update
8654 * lyx_main.C (commandLineVersionInfo): use new style version info.
8656 * buffer.C (writeFile):
8659 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8661 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8663 * version.h: update to use stuff in version.C
8665 * version.C.in: new file. Contains version information determined
8666 at compile time. This is a merging of version.h and
8669 2001-10-03 Juergen Vigna <jug@sad.it>
8671 * BufferView_pimpl.C (update): don't change "dirty" status in
8674 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8676 * WorkArea.C (c-tor): re-position version string slightly.
8678 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8680 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8681 revert to previous code.
8683 WorkArea.[Ch]: (show, destroySplash): methods removed.
8685 WorkArea.C: rework code so that it's an amalgam of the codes before and
8686 after the splash screen was moved to WorkArea.
8688 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8691 * vspace.C (inPixels):
8694 * buffer.C (insertStringAsLines):
8695 (asciiParagraph): fix types to be large enough
8697 * lyxlex_pimpl.h: change member status from short to int
8699 * layout.h: fix type of endlabeltype
8702 * kbsequence.C (parse): change return type to string::size_type
8704 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8707 * Bullet.C (bulletSize):
8708 (bulletEntry): do not use short ints as parameters
8710 * BufferView2.C (insertLyXFile): change a char to an int.
8712 * WorkArea.C (WorkArea): remove unneeded floats in computation
8714 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8716 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8718 * paragraph.C (asString): Do not ignore newline/hfill chars when
8719 copying to the clipboard.
8721 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8723 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8724 after a multi-line inset.
8726 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8728 * paragraph.C (validate): Set NeedLyXFootnoteCode
8730 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8732 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8733 and decrease-error to decrease.
8735 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8737 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8738 it more readable (should be equivalent)
8740 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8742 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8744 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8747 of a cursor (row, etc.) after a character has been deleted
8748 (deleteEmptyParagraphMechanism): call the method above on _all_
8749 cursors held by the LyXText when a double space has been
8752 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8754 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8756 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8758 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8759 background. Use greyOut() and the new show() methods to toggle between
8760 the foreground and background. Add code to remove the splash after
8761 its initial showing.
8763 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8764 (create_forms): no longer call Dialogs::showSplash.
8766 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8768 * .cvsignore: add version_info.h
8770 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * version_info.h.in: new file
8774 * Makefile.am: add version_info.h.in
8776 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8777 version_info.h instead of VERSION_INFO
8779 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8781 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8782 The ERT inset now returns string().
8784 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8786 * lyxtext.h, text.C (selectNextWord): renamed as
8787 selectNextWordToSpellcheck.
8789 * text.C (selectNextWordToSpellcheck): Modified to not select
8790 words inside an ERT inset.
8792 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8794 * lyx_cb.C (MenuLayoutSave): change a bit the question
8796 * sp_base.h: include <sys/types.h>
8798 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8800 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8802 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8804 * several files: fix typos in user-visible strings
8806 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8808 * text2.C (pasteSelection): do not set the selection, since it
8809 will be cleared later. Actually, the intent was to fix the way the
8810 selection was set, but I figured rmoving the code was just as good.
8812 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8814 * FontLoader.C (available): Check if font is available without
8817 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8819 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8821 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8823 * lyxrc.[Ch]: added display_graphics variable and associated code.
8825 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8827 * bufferparams.C (hasClassDefaults): new method. Returns true if
8828 the buffer parameters correspond to known class defaults
8830 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8832 * XFormsView.C (show): set minimum size to the main window.
8834 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * text2.C (copySelection):
8838 * lyxfind.C (LyXReplace):
8839 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8840 LyXText::selectionAsString.
8842 * paragraph.C (asString): add "label" argument to the second form
8844 * text2.C (selectionAsString): add "label" argument and pass it to
8845 Paragraph::asString.
8847 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8849 * lyx_main.C (commandLineHelp): remove version information
8851 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8853 * lyx_main.C: add -version commandline option
8855 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8857 * paragraph.h: make the optional constructor arg required instead.
8858 some modifications to other files because of this.
8860 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8862 * lyxserver.C (C_LyXComm_callback): make it static
8864 * lyx_main.C (error_handler): make it static
8866 * lyx_gui.C (LyX_XErrHandler): make it static
8868 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8870 * WorkArea.C: make the extern "C" methods static.
8872 * Makefile.am (lyx_LDADD): simplify
8874 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8876 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8877 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8879 * LyXAction.C (init):
8880 * lyxfunc.C (dispatch): associated code removal.
8882 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8884 * lyxfont.h (isSymbolFont): shut off warning
8886 * text.C (setHeightOfRow):
8887 (getVisibleRow): fix crash with empty paragraphs which have a
8890 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8892 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8895 2001-09-04 José Matos <jamatos@fep.up.pt>
8898 * tabular.C (docbook): rename docBook method to docbook.
8900 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8902 * Makefile.am: add dependencies to main.o.
8904 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8906 * FontLoader.C (available): Return false if !lyxrc.use_gui
8908 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8910 * FontInfo.C (query):
8911 * converter.C (view):
8912 * importer.C (Import):
8913 * exporter.C (Export): Can not -> cannot.
8915 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8917 * BufferView_pimpl.C: allow to create index inset even if
8920 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8922 * buffer.C (getLists): replace boost::tie code with an explicit pair
8923 as boost::tie can break some compilers.
8925 * iterators.h: Added a std:: declaration to the return type of
8928 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8930 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8933 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8935 * iterators.[Ch]: New files. Provide paragraph iterators.
8937 * buffer.C (changeLanguage): Use paragraph iterators.
8938 (isMultiLingual): ditto
8940 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8942 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8944 * FontLoader.C: Support for cmr font.
8946 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8948 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8949 (available): New method.
8951 * FontInfo.C (getFontname): Use scalable fonts even when
8952 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8955 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8957 * converter.C (Formats::view): reverted! Incorrect fix.
8959 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8961 * converter.C (Formats::view): only output the -paper option
8962 if the dvi viewer is xdvi, thereby fixing bug #233429.
8964 2001-08-23 Herbert Voss <voss@perce>
8966 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8968 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8970 * Spacing.h (Spacing): Set space to Default on in the default
8973 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8975 * vc-backend.h (RCS::versionString): add RCS to version
8976 (CVS::versionString): add CVS to version
8978 * vc-backend.C (scanMaster): do not add CVS to version.
8979 (scanMaster): do not add RCS to version
8981 * lyxvc.C (versionString): new method
8983 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8985 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8987 * Spacing.C (set): initialize fval
8989 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8991 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8994 2001-08-16 Juergen Vigna <jug@sad.it>
8996 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8998 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9000 * BufferView_pimpl.C:
9003 * text2.C: setParagraph takes linespacing now
9005 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9007 * LyxAction.C: add internal LFUN_CITATION_INSERT
9009 * LyXView.C: actually apply fix
9011 * bufferlist.C: fix open non-existent file
9013 * lyxfind.C: fix indentation
9015 * lyxfunc.C: remove unneeded assert, fix typo
9017 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9019 * MenuBackend.C: use "Floatname List"
9021 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9023 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9024 when converting LaTeX layout to insetERT.
9025 Generate a non-collapsed float when reading old float
9027 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9029 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9032 2001-08-13 Juergen Vigna <jug@sad.it>
9034 * text.C (fill): return 0 instead of 20 as this seems to be the more
9037 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9039 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9042 2001-08-13 Juergen Vigna <jug@sad.it>
9044 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9046 (SearchBackward): comment out the unlocking of the inset_owner this
9047 should not be needed!
9049 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9051 * Many files: Remove inherit_language, and add latex_language
9053 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9056 2001-08-10 Juergen Vigna <jug@sad.it>
9058 * text.C (prepareToPrint): fixed hfill-width in draw!
9060 * BufferView2.C (selectLastWord): save the selection cursor as this
9061 now is cleared in the function LyXText::clearSelection!
9063 2001-08-08 Juergen Vigna <jug@sad.it>
9065 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9066 BACKSPACE type functions.
9068 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9069 is only cutted from the document but not put in the cut-buffer, where
9070 still the old stuff should be.
9072 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9074 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9076 * tabular.C (SetWidthOfCell): fixed special case where the width
9078 (LeftLine): handle '|' in align_special.
9080 (LeftAlreadyDrawed): ditto
9081 (SetWidthOfCell): ditto
9083 2001-08-07 Juergen Vigna <jug@sad.it>
9085 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9087 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9089 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9090 * lyxlex.[hC]: ditto
9092 2001-08-06 Juergen Vigna <jug@sad.it>
9094 * text.C (getVisibleRow): fix up row clearing a bit.
9096 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9098 * minibuffer.C: make sure the X server sees the changes in the input.
9100 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9102 * paragraph.C (getFont): split into...
9103 (getLabelFont): this
9104 (getLayoutFont): and this
9105 * paragraph_pimpl.C (realizeFont): calling this
9107 * text2.C (getFont): split into...
9108 (getLayoutFont): this
9109 (getLabelFont): and this
9110 (realizeFont): all three calling this
9112 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9115 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9117 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9119 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9121 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9122 layouts from the Quote inset insertion.
9124 2001-08-03 Juergen Vigna <jug@sad.it>
9126 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9128 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9129 only if status not is already CHANGED_IN_DRAW (second level).
9131 * text.C (draw): don't set the need_break_row when inside an
9134 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9136 * buffer.C (parseSingleLyXformat2Token): handle more latex
9139 * bufferview_funcs.[hC]: change function names to
9140 begin with small char, adjust other files.
9142 2001-08-02 André Pönitz <poenitz@gmx.net>
9145 BufferView_pimpl.C: remove broken special code for math-greek
9147 2001-08-02 Juergen Vigna <jug@sad.it>
9149 * BufferView_pimpl.C (update): redone this function so that we
9150 update the text again if there was a CHANGE_IN_DRAW.
9152 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9153 (drawFromTo): added a new internal bool which is used by draw() and
9155 (general): some cursor drawing problems fixed.
9157 2001-08-01 Juergen Vigna <jug@sad.it>
9159 * lyxfind.C (LyXFind): fixed
9160 (SearchForward): ditto
9161 (SearchBackward): ditto
9163 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9164 spurius drawing of the cursor in the main area.
9166 * text2.C (status): small fix which could lead to a segfault!
9167 (clearSelection): remove unneeded BufferView param.
9169 2001-08-01 André Pönitz <poenitz@gmx.net>
9171 * lyxfunc.C: small change due to changed mathed interface
9173 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9175 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9177 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9179 * lyxfunc.c: fail gracefully if file doesn't exist
9184 * BufferView_pimpl.C: IsDirWriteable() proto changed
9186 * LyXView.C: fix updateWindowTitle() to store the last title
9188 2001-07-31 Juergen Vigna <jug@sad.it>
9190 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9191 the font (wrong since using of Paragraph::highestFontInRange).
9193 * paragraph.C (highestFontInRange): added a default_size parameter.
9195 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9196 (setHeightOfRow): reformat
9198 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9200 * converter.[hC] + affected files: move to (inital-char)lowercase
9203 * ParagraphParameters.C (ParagraphParameters): remove commented code
9205 * PainterBase.[Ch]: remove commented code
9207 * LaTeXFeatures.h: add "bool floats" for float.sty
9209 * LaTeXFeatures.C (LaTeXFeatures): init floats
9210 (require): handle float
9211 (getPackages): do it with floats
9213 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9215 * BufferView_pimpl.C (Dispatch): improve handling of
9216 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9218 * commandtags.h: #include lyxfont.h here temporarily to avoid
9221 * bufferlist.h: include LString.h here.
9223 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9225 * text2.C (getStringToIndex): new method.
9227 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9229 * *: Reduced header file dependencies all over.
9231 2001-07-30 Baruch Even <baruch@lyx.org>
9233 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9235 2001-07-29 Baruch Even <baruch@lyx.org>
9237 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9239 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9241 * ParameterStruct.h (endif): add a default constructor to make
9242 sure that all variables is initialized.
9244 * ParagraphParameters.C (ParagraphParameters): adjust
9246 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9248 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9249 index; also, check that there is something to index, and that it
9250 does not span over several paragraphs.
9251 (doubleClick): use WHOLE_WORD_STRICT for double click.
9253 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9255 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9258 2001-07-26 Baruch Even <baruch@lyx.org>
9260 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9261 an InsetFig figure, backwards compatible reading of old figure code.
9263 2001-07-27 Juergen Vigna <jug@sad.it>
9265 * text2.C: font.realize function adaption.
9267 * text.C (draw): add a warnings lyxerr text if needed.
9269 * layout.C: font.realize function adaption.
9271 * language.C: add inherit_language and implement it's handlings
9273 * bufferview_funcs.C (StyleReset): remove language parameter from
9274 font creation (should be language_inherit now).
9276 * bufferparams.C (writeFile): handle ignore_language.
9278 * paragraph.C (getFontSettings): the language has to be resolved
9279 otherwise we have problems in LyXFont!
9281 * lyxfont.C (lyxWriteChanges): added document_language parameter
9282 (update): removed unneeded language parameter
9284 * paragraph.C (validate): fixed wrong output of color-package when
9285 using interface colors for certain fonts in certain environments,
9286 which should not seen as that on the final output.
9288 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9290 * BufferView_pimpl.C:
9295 * LyXAction.C: add thesaurus support
9298 * lyxfind.C: add "once" parameter, for thesaurus, to not
9299 move to the next match
9301 2001-07-26 Juergen Vigna <jug@sad.it>
9303 * lyxfont.C (realize): honor ignore_language too!
9306 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9308 * text.C (draw): one place more for ignore_language to not draw
9311 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9313 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9315 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9318 the minipage conversion problem.
9320 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9325 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9327 * BufferView.h: don't forward declare WorkArea
9329 * BufferView.C: don't include WorkArea.h
9331 2001-07-25 André Pönitz <poenitz@gmx.net>
9335 * lyxfunc.C: new LFUN 'math-space'
9337 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9339 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * text2.C (toggleInset): call open/close
9343 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9345 * lyxfunc.C (dispatch): add debug for the disabled case
9347 * font.C (buttonText): make similar to rectText
9349 * buffer.C (readInset): comment out parsing of insetlist and
9352 * PainterBase.C (rectText): small correction
9354 * BufferView_pimpl.C: comment out insettheorem and insetlist
9355 * LyXAction.C: ditto
9356 * commandtags.h: ditto
9358 2001-07-24 Juergen Vigna <jug@sad.it>
9360 * text.C (draw): honor the ignore_language.
9362 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9364 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9366 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9369 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9371 * lyxtext.h: remove unused (and unimplemented) methods
9373 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9375 * text.C (getVisibleRow): honor background color
9378 * Painter.h: remove default color argument for fillRectangle
9380 * text.C (backgroundColor): new method
9382 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * text.C (getVisibleRow): adjust
9386 * font.[Ch] (rectText): new method, metrics
9387 (buttonText): new method, metrics
9389 * PainterBase.[hC]: make rectText and buttonText always draw and take
9392 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9394 * ToolbarDefaults.C (read):
9395 * MenuBackend.C (read): allow escaping in all strings
9397 * BufferView_pimpl.C (insertAndEditInset): new method.
9398 (Dispatch): use insertAndEditInset whenever appropriate.
9400 * BufferView_pimpl.C (insertNote): removed
9402 * BufferView_pimpl.C (smartQuote): new method, moved from
9403 BufferView; if an insetquote cannot be inserted, insert a '"'
9406 * BufferView2.C: remove insertCorrectQuote();
9408 * lyxfunc.C (getStatus): Add support for all remaingin
9411 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9413 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9414 command (necessary to pass " as parameter of self-insert.
9416 * text.C (selectWordWhenUnderCursor):
9417 (selectWord): add word_location parameter
9418 (selectWordWhenUnderCursor): same + remove special code for word
9420 (selectNextWord): use kind() to guess type of insetspecialchar,
9423 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9424 (insertErtContents): create ert insets as collapsed.
9425 (readInset): better compatibility code for Info inset.
9427 2001-07-20 Juergen Vigna <jug@sad.it>
9429 * lyxfunc.C (dispatch): use always LyXFind now!
9431 * text2.C (init): add a reinit flag so that the LyXText can be
9432 reinited instead of deleted and reallocated (used in InsetText).
9434 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9440 2001-07-18 Juergen Vigna <jug@sad.it>
9442 * text.C (selectNextWord): handle insets inside inset by calling
9443 always the bv->text functions so that we can go up the_locking_inset!
9445 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9446 in strange locations when inside an inset!
9448 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9449 handling to include insets.
9451 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9453 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9455 * LyXAction.C (init):
9457 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9458 LIGATURE_BREAK, since the name is so stupid.
9460 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9462 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9465 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9467 * sp_form.[Ch]: remove.
9469 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9471 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9474 * src/buffer.C (readInset): ditto.
9476 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9478 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9479 menuSeparator(), endOfSentenceDot(), ldots() and
9480 hyphenationPoint(), which are therefore removed.
9481 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9483 * LyXAction.C (init):
9484 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9486 * paragraph.C (getWord): removed.
9488 * BufferView_pimpl.C (Dispatch): use last word or selection for
9489 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9491 * lyx_main.C (queryUserLyXDir): do not ask before creating
9492 user_dir, except if it has been named explicitely.
9494 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9496 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9497 a document of zero size.
9499 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9501 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9502 approriately in the c-tor and in require().
9503 (getPackages): output the appropriate LaTeX for natbib support.
9505 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9506 variables "use_natbib" and "use_numerical_citations" when reading the
9508 (readInset): read the various natbib cite commands.
9509 (validate): white-space change.
9511 * bufferparams.[Ch]: new variables "bool use_natbib" and
9512 "bool use_numerical_citations".
9513 (writeFile): output them in the LyX file.
9515 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9517 * lyxfunc.C (getStatus): add support for all the inset insertion
9520 * text2.C (insertInset):
9521 * paragraph.C (insetAllowed):
9522 * BufferView_pimpl.C (insertInset): update to take in account the
9523 renaming of insertInsetAllowed
9525 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9527 * text2.C (getInset): new method. returns inset at cursor position.
9529 * BufferView_pimpl.C (Dispatch): changes because of this.
9531 * LyXAction.C (init): rename open-stuff to inset-toggle.
9533 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9535 * text2.C (toggleInset): renamed from openStuff; use
9538 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9540 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9542 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9544 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9546 * buffer.C (readLyXformat2): Add filename to the error dialog
9548 2001-07-18 Juergen Vigna <jug@sad.it>
9550 * tabular.C (GetCellNumber): put an assert here instead of the check!
9552 2001-07-17 Juergen Vigna <jug@sad.it>
9554 * BufferView_pimpl.C (toggleSelection): adapted too.
9556 * text.C (selectNextWord): adapted for use with insets.
9557 (selectSelectedWord): ditto
9559 2001-07-17 Juergen Vigna <jug@sad.it>
9561 * sp_spell.C (PSpell): fix initialitation order.
9563 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * paragraph.C: spacing
9567 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9569 * sp_spell.C: repair language selection for pspell
9571 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * lyxfunc.h: change more methods to begin with lower char.
9575 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9577 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9578 for unknown layouts.
9580 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9582 * buffer.C (readLyXformat2): Generate an error dialog if there are
9585 2001-07-16 Juergen Vigna <jug@sad.it>
9587 * sp_spell.C: always compile ISpell part.
9589 * lyxrc.C: added use_pspell entry and it's handling.
9591 2001-07-13 Juergen Vigna <jug@sad.it>
9593 * sp_spell.C: removed double includes.
9595 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9597 Consistent use of Lsstream.h:
9598 * Lsstream.h: added using std::stringstream for consistencies sake.
9600 * buffer.C: removed using std::stringstream
9602 * lyxfont.C (stateText):
9603 * paragraph.C (asString):
9604 * text.C (selectNextWord, selectSelectedWord):
9605 * text2.C (setCounter):
9606 * vspace.C (asString, asLatexString):
9607 std::ostringstream -> ostringstream.
9609 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9611 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9612 * commandtags.h: add LFUN_HELP_ABOUTLYX
9613 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9615 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9617 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9619 * lyx_gui_misc.C: remove spellchecker
9620 * lyxfunc.C: showSpellchecker
9622 * sp_ispell.h: added
9623 * sp_pspell.h: added
9625 * sp_form.[Ch]: removed
9626 * spellchecker.[Ch]: removed
9628 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9630 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9632 (simpleTeXSpecialChars): Simply print the input character without
9633 any special translation if pass_thru is set.
9635 * layout.h: Added bool pass_thru to layout class for being able to
9636 implement pass through of a paragraph for Literate Programming.
9638 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9639 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9640 * layout.C (Read): add "passthru" to list of layout tags and add
9641 code to set the pass_thru boolean when it is read.
9643 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9645 * trans_decl.h: remove allowed from KmodInfo
9647 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9651 * paragraph_pimpl.C (erase): use boost::prior
9653 * Painter.C (text): use data() instead of c_str() when length is
9655 * WorkArea.C (putClipboard): ditto
9656 * font.h (width): ditto
9658 * BufferView2.C: use it-> instead of (*it). for iterators
9660 * paragraph_pimpl.C: ditto
9661 * paragraph.C: ditto
9662 * minibuffer.C: ditto
9667 * converter.C: ditto
9669 * Variables.C: ditto
9670 * TextCache.C: ditto
9671 * MenuBackend.C: ditto
9672 * LyXAction.C: ditto
9674 * FloatList.C: ditto
9676 * ColorHandler.C (LyXColorHandler): ditto
9678 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9680 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9682 * text2.C (openStuff): reintroduce this method (which had been
9683 nuked in NEW_INSETS frenzy).
9685 * lyxfunc.C (Dispatch): when an action has not been handled, use
9686 its name in the error message, not its number.
9688 * paragraph.C (inInset): change method name to begin with lowercase.
9691 * text2.C: updates because of this.
9693 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9695 * ToolbarDefaults.C (add): add spaces in error message
9697 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9699 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9700 (readLyXformat2): rename return_par to first_par, use lyxlex's
9701 pushToken and remove the manual push handling.
9702 (parseSingleLyXformat2Token): add another ert comp. variable:
9703 in_tabular, rename return_par to first_par. handle newlines better
9705 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9707 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9709 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9711 * text2.C (getParFromID): removed
9713 * buffer.C (getParFromID): new method moved form lyxtext.
9714 * BufferView2.C (insertErrors): adjust
9715 (setCursorFromRow): adjust
9716 * BufferView_pimpl.C (restorePosition): adjust
9717 * lyxfunc.C (Dispatch): adjust
9718 * undo_funcs.C (textUndo): adjust
9720 (textHandleUndo): adjust
9721 (textHandleUndo): adjust
9723 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9725 * buffer.C: up' the LYX_FORMAT
9727 * lyxfont.h: turn NO_LATEX on as default
9729 * buffer.C (insertErtContents): new methods of tex style compability.
9730 (parseSingleLyXformat2Token): use it several places.
9731 * tabular.C (OldFormatRead): and here
9733 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9735 * text2.C: remove some commented code.
9738 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9739 * trans.C: changes because of the above.
9741 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9743 * text2.C (setCounter): Fix counters bug with bibliography layout.
9745 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9747 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9748 own member functions
9749 (simpleTeXSpecialChars): ditto
9751 2001-07-06 Juergen Vigna <jug@sad.it>
9753 * a lot of files: changed the access to LyXText::status and the
9754 call of undo-functions.
9756 * undo.[Ch]: added a inset_id to the undo informations.
9758 * undo_funcs.[Ch]: added and moved here all undo functions.
9760 * lyxtext.h: give the status enum a weight, made status_ a private
9761 variable and made accessor functions for it, removed the whole bunch
9762 of undo-functions as they are now in their own file, make some
9763 functions publically available. Added function ownerParagraph with
9766 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9767 made InInset() a const function, added getParFromID() function.
9769 * buffer.[Ch]: added const version for inset_iterator functions,
9770 added getInsetFromID() function.
9772 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9773 changed undo functions for new version.
9775 2001-07-05 Juergen Vigna <jug@sad.it>
9777 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9778 unknow mechanism does not call the proper constructor but only this
9779 one also if I request the other!?
9781 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9785 * text2.C (LyXText): use initialization lists.
9787 * lyxtext.h (Selection): initialize set_ and mark_
9788 (init): remove method
9790 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9792 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9794 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9796 * screen.[Ch]: change method names to begin with lowercase
9798 * BufferView_pimpl.C (updateScrollbar): simplify further and
9799 hopefully make it a bit faster.
9801 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9803 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9804 calling directly xforms functions.
9806 * Painter.C (Painter):
9807 * lyx_cb.C (MenuWrite):
9808 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9811 * lyx_gui.C: remove bogus guiruntime extern declaration.
9813 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9817 (redoDrawingOfParagraph): ditto
9818 (redoParagraphs): ditto
9819 (cutSelection): don't create a object for CutAndPaste use the
9820 static method directly
9821 (pasteSelection): ditto
9823 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9826 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9828 * modifications to some other files because of this.
9830 * Makefile.am (lyx_SOURCES): add XFormsView
9832 * XFormsView.[Ch]: new files
9834 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9835 the main window. Move the gui dependent stuff to XFormsView
9837 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9839 * tabular.C (GetCellInset): update cur_cell also in the row/col
9840 version of this function.
9842 * lyxfunc.C: no need to include figure_form.h here.
9848 * lyxvc.C: no need to include forms.h here.
9850 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9852 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9854 * lyxfunc.C (Dispatch):
9856 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9857 constructor argument.
9859 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9861 * paragraph.C (Paragraph): dont't clear, and just set layout.
9862 (makeSameLayout): use params's copy contructor.
9864 * ParagraphParameters.[Ch] (makeSame): delete method
9866 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9868 * Variables.[Ch]: fix indentation, rename set to isSet
9870 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9872 * lyxfunc.C (Dispatch): fix typo
9874 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9876 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9879 * bufferlist.C: include assert.h for emergencyWrite().
9881 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9883 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9884 give up at last (bug #425202) !
9886 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9892 * spellchecker.C: strip spellchecker options and bring up
9893 preferences tab instead
9895 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9897 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9898 the istringstream constructor
9900 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9902 * paragraph.C (getLayout): fix return value
9904 * paragraph.h: do not declare getLayout as inline.
9906 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9908 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lyxcursor.h (operator<): new func
9911 (operator>): new func
9912 (operator>=): new func
9913 (operator<=): new func
9915 * text.C (changeCase): use selection.start and selection.end
9916 (changeRegionCase): require from to be <= to. Require par to be a
9919 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9921 2001-06-27 Juergen Vigna <jug@sad.it>
9923 * text.C (cursorLeftOneWord): changed to return the cursor and added
9924 overlay with BufferView * parameter which calls this one.
9926 (selectWord): use new getWord function.
9927 (changeCase): renamed from changeWordCase as and extended to work
9930 * lyxtext.h: added enum word_location
9932 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9933 changeCase as this operates now also on selections.
9935 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9937 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9939 * many files: send debug output to Debug::INFO instead of
9942 * converter.C (View):
9944 (Move): send debug output to Debug::FILES instead of console.
9946 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9948 * lyxfunc.C (getStatus): use func_status
9950 * func_status.h: new header, describing the results of
9953 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9956 2001-06-25 The LyX Project <jug@sad.it>
9958 * buffer.C (sgmlOpenTag):
9960 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9962 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * text2.C: remove some dead code
9966 * tabular.C (GetCellInset): store the last cell checked (gotten)
9968 * tabular.h: add the helper for the speedup
9970 * lyxtext.h: remove some dead code
9972 2001-06-26 The LyX Project <Asger>
9974 * paragraph.C: Change export to LaTeX of alignment to
9975 \begin{center} and family for better roundtrip work with reLyX.
9977 * Tune the math drawing a bit.
9979 2001-06-25 The LyX Project <Asger>
9981 * LColor.C (LColor): New color for math background. New color
9984 2001-06-25 The LyX Project <jug@sad.it>
9986 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9989 * bufferlist.C (newFile): do not restrict to files ending with
9992 * BufferView_pimpl.C (MenuInsertLyXFile):
9994 2001-06-24 The LyX Project <jug@sad.it>
9996 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9999 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * lyxtext.h: rename most methods to begin with a small char.
10002 Lots of changes because of this.
10004 * paragraph.C (Paragraph): do not call fitToSize
10005 (erase): call Pimpl::erase
10006 (insertChar): call Pimpl::insertChar
10007 (insertInset): call Pipl::insertInset
10008 (breakParagraph): do not call fitToSize
10009 (breakParagraphConservative): do not call fitToSize
10010 (fitToSize): remove method
10012 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10014 2001-06-24 The LyX Project <Asger>
10016 * Fix Qt compilation^2
10018 2001-06-24 The LyX Project <jug@sad.it>
10020 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10021 depthHook(getDepth()-1).
10024 * ParagraphParameters.h:
10025 * ParameterStruct.h: change type of depth to unsigned int ==
10026 depth_type. Many adaptations to other files before of that.
10028 2001-06-24 The LyX Project <Asger>
10030 * Fix Qt compilation.
10032 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * paragraph.h: renamed several methods to begin with small letter.
10035 several changes to many parts of the code because of this.
10037 2001-06-23 The LyX Project <jug@sad.it>
10039 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10040 rewritten to discard all double spaces when KeepEmpty is off
10041 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10042 to only handle newlines but not fiddle with spaces and friends.
10044 * lyxfunc.C (MenuNew): when doing 'new from template', use
10045 template_path as default directory
10047 2001-06-23 The LyX Project <Asger>
10049 * Clean-up of header file includes all over
10050 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10052 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10054 * paragraph.h: renamed from lyxparagraph.h
10056 2001-06-23 Asger <lyx@violet.home.sad.it>
10058 * Buffer.h: Removed Buffer::resize
10059 * BufferList.h: Removed BufferList::resize
10060 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10061 the document lazily when we change the width, or the font settings.
10063 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10065 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10067 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10069 * buffer.h: remove out of date comment
10071 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10074 * screen.C: fix "theoretical" GC leak
10076 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10078 * LaTeX.C (scanAuxFile):
10079 (deplog): remove trailing \r when reading stream (useful under
10082 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10084 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10085 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10086 and BufferView::theLockingInset(Inset*), so should use them and not
10087 access bv_->text->the_locking_inset directly.
10089 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10091 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10094 * tex-defs.h: remove old unused file
10096 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10098 * BufferView_pimpl.C: fix typo, remove minibuffer message
10099 when buffer has loaded
10101 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10103 * lyxfunc.C (Dispatch): use stringstream
10104 (MenuNew): use stringstream
10105 (Open): use stringstream
10107 * importer.C (Import): use stringstream
10109 * bufferview_funcs.C (CurrentState): use stringstream
10111 * LaTeX.C (run): use stringstream
10113 * BufferView_pimpl.C (savePosition): use stringstream
10114 (restorePosition): use stringstream
10115 (MenuInsertLyXFile): use stringstream
10117 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10130 * vspace.C: removed // -*- C++ -*- as first line.
10133 * version.h: added // -*- C++ -*- as first line.
10135 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10137 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10139 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10142 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10144 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10147 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10149 * gettext.C: include LString.h even when --disable-nls is on.
10151 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10153 * converter.h (Get): changed argument type from int to
10154 FormatList::size_type to avoid unnecessary conversion.
10156 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10159 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * gettext.h: include LString.h even when --disable-nls is on.
10163 2001-06-07 Juergen Vigna <jug@sad.it>
10165 * text.C (BreakAgain): subst spaces with tabs.
10167 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10168 (resizeInsetsLyXText): set force on resizeLyXText.
10170 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10172 * gettext.h (gettext_init):
10173 (locale_init): use a real definition instead of a macro
10175 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10177 * Bufferview_pimpl.C:
10179 * LColor.C: further lcolor tidies
10181 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10183 * BufferView_pimpl.C (updateScrollbar): simplify.
10185 * BufferView2.C: don't include insets/insetinfo.h, change
10186 prototype for insertInset and call the Pimpl version. let
10187 updateInset call Pimpl version.
10189 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10190 gotoInset to BufferView::Pimpl
10192 2001-06-01 Juergen Vigna <jug@sad.it>
10194 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10195 inside a LockingInset (is the update needed at all?).
10197 2001-05-31 Juergen Vigna <jug@sad.it>
10199 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10200 here not the old one otherwise how should we compare it afterwards
10203 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10208 * FontInfo.C: bring C functions into global namespace when
10211 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * LString.h: make sure config.h has been loaded before LString.h.
10215 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10216 (one for each char read by EatLine!).
10218 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10221 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10224 to the same as the par we break from
10226 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10230 * MenuBackend.C (expand): also create menu entries for wide
10231 versions of the floats.
10233 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10235 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10237 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10238 frontends/Makefile.am
10244 * tabular.C (getTokenValue): add std::
10246 * tabular-old.C (getTokenValue): add std::
10247 (getTokenValue): ditto
10248 (getTokenValue): ditto
10250 * screen.C (ToggleSelection): adjust
10252 * lyxtext.h: put selection cursors inside a Selection struct.
10254 * lyxfunc.C (moveCursorUpdate): adjust
10256 * lyxfont.C (latexWriteStartChanges): add std::
10258 * lyxfind.C: adjust
10260 * font.h: delete with(char const *, LyXFont const &)
10262 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10264 * FontInfo.C (getFontname): add std::
10266 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10267 (workAreaButtonPress): adjust
10268 (tripleClick): adjust
10270 (moveCursorUpdate): adjust
10273 * BufferView2.C (gotoInset): adjust
10275 2001-05-30 Juergen Vigna <jug@sad.it>
10277 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10278 to check pspell I add this as default as I now have new pspell
10279 libraries and they seem to use this.
10281 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10283 * text2.C (CutSelection): make the cursor valid before the call to
10286 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10288 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10289 relied on 0 terminated strings and other horrors. Bug found due to
10290 the new assert in lyxstring!
10292 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10295 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10300 * lyxfunc.C (processKeySym): change method of getting to the
10303 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10304 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10305 * BufferView_pimpl.[Ch]: here as private methods.
10307 2001-05-28 Juergen Vigna <jug@sad.it>
10309 * text.C (SetHeightOfRow): added the update() call again as it is
10310 needed to initialize inset dimensions!
10312 2001-05-16 Juergen Vigna <jug@sad.it>
10314 * text2.C (SetCharFont): Add new function with BufferView * and
10315 bool toggleall parameters for setting insets internal fonts.
10316 (SetFont): Freeze the undo as we may change fonts in Insets and
10317 all this change should be inside only one Undo!
10319 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10320 setting font's in insets as for them we have the SetFont function!
10322 2001-05-15 Juergen Vigna <jug@sad.it>
10324 * text2.C (ClearSelection): to be sure we REALLY don't have any
10327 * tabular.C (TeXCellPreamble): fixed the left border problem for
10330 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10332 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10335 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10337 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10338 LFUN_BREAKPARAGRAPH.
10340 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10341 help test to "internal only", similar for LFUN_INSERT_URL
10343 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10344 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10345 auto_region_delete and deadkeys.
10347 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10350 * LColor.C: remove some dead entries, tidy a little
10352 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10354 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10356 (Dispatch): implement LFUN_ESCAPE
10358 * commandtags.h: add LFUN_ESCAPE
10360 * LyXAction.C (init): add entry for LFUN_ESCAPE
10362 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10363 Remove commented code.
10364 (insertNote): moved here
10365 (open_new_inset): moved here
10367 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10370 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10372 * kbmap.C (findbinding): clean it up and make it work correctly.
10374 * lyx_main.C (init): do not pass argc and argv as parameters
10376 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10378 * buffer.C: fix path for OS/2 & Win32
10382 * lyx_main.C: Added os:: class.
10384 * os2_defines.h: update
10386 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10388 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10389 better by trying again with reduced state.
10391 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10393 * lyxrc.C (read): print error about invalid key sequence only when
10394 debugging (because not all latinX keysyms are known to some X
10397 * kbsequence.C (getiso): add a few std:: qualifiers
10398 (getiso): comment out extra return statement.
10400 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10402 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10404 (Dispatch): enhance the accent inset a bit. (not perfect)
10406 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10410 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * bufferlist.C (emergencyWrite): fix assert() call
10414 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10416 * text.C (InsertChar): Added trivial patch to only send the "you
10417 can not do multiple spaces this way" message once during a
10420 2001-05-08 Baruch Even <baruch@lyx.org>
10422 * Makefile.am: Changed order of libraries to get LyX to link properly
10423 with the gnome frontend.
10425 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10427 * LaTeXFeatures.h: add a std:: qualifier
10429 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * paragraph.C (String): use stringstream
10433 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * paragraph.C (writeFile): remove footflag arg
10437 * buffer.C (makeLaTeXFile): use stringstream
10438 (latexParagraphs): remove footnot gurba
10440 * LaTeXFeatures.C (getPackages): use stringstream
10441 (getMacros): likewise
10442 (getTClassPreamble): likewise
10443 (getFloatDefinitions): new method
10445 * paragraph.C (writeFile): reindent
10448 * WorkArea.h: revert the xpos + etc changes.
10450 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10452 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10454 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10455 (pasteSelection): likewise
10456 * text2.C (CreateUndo): likewise
10458 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * minibuffer.C (peek_event): temporarily reduce the functionality
10461 of the minibuffer (to allow args on lfuns)
10463 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10464 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10466 * buffer.C (readInset): add compability reading of old float
10467 lists, add reading of new style float list.
10468 (readInset): avoid reevaluation of inscmd.getCmdName()
10469 (getLists): reindent
10471 * MenuBackend.C (MenuItem): implement parsing of
10472 md_floatlistinsert and md_floatinsert.
10473 (expand::LastFiles): move initalizaton of iterators out of loop,
10474 avoid reevaluation.
10475 (expand::Documents): introduce typdedef vector<string> Strings,
10477 (expand::ExportFormats): introduce typedef vector<Format const *>
10478 Formats, and use it.
10479 (expand): implement FloatListInsert and FloatInsert.
10481 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10482 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10483 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10485 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10487 (Dispatch::LFUN_FLOAT_LIST): implement
10489 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10491 * LaTeX.C (run): Fix problem with --export code.
10493 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10495 * BufferView.[Ch] (workarea): removed.
10496 (getClipboard) new method; wrapper for workarea()->getClipboard()
10498 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10501 * WorkArea.h (width, height, xpos, ypos): These methods all
10502 returned the dimensions of the work_area sub-area of WorkArea,
10503 resulting in a position error if the WorkArea were resized. Now
10504 return the dimensions of the entire WorkArea.
10506 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10508 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10510 * LaTeX.C (deplog): correct the syntax of regex reg1
10512 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * undo.C: remove !NEW_INSETS cruft
10516 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * text2.C: remove !NEW_INSETS cruft
10520 * text.C: remove !NEW_INSETS cruft
10522 * tabular.C: remove !NEW_INSETS cruft
10524 * spellchecker.C: remove !NEW_INSETS cruft
10526 * lyxtext.h: remove !NEW_INSETS cruft
10528 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10530 * lyxfunc.C: remove !NEW_INSETS cruft
10532 * lyxfind.C: remove !NEW_INSETS cruft
10534 * lyx_cb.C: remove !NEW_INSETS cruft
10536 * figureForm.C: remove !NEW_INSETS cruft
10538 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10540 * buffer.[Ch]: remove !NEW_INSETS cruft
10542 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10544 * CutAndPaste.C: remove !NEW_INSETS cruft
10546 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10548 * BufferView2.C: remove !NEW_INSETS cruft
10550 * BufferView.h: remove !NEW_INSETS cruft
10552 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10554 * Lsstream.h: include LString.h before the sstream headers to
10555 fix problem with gcc 2.95.3 and lyxstring
10557 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10559 * lyx_main.C: add using directives when needed for C functions
10560 declared in std:: namespace.
10562 2001-04-27 Juergen Vigna <jug@sad.it>
10564 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10565 (SetHeightOfRow): comment out the update call should not be needed!
10567 2001-04-13 Juergen Vigna <jug@sad.it>
10569 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10570 (LyXTabular): tried to minimize operator= operations (and realized
10571 hopfully Lars wish).
10573 2001-04-27 Juergen Vigna <jug@sad.it>
10575 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10577 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10581 * buffer.C (readInset): hack to make listof algorithm work
10583 * BufferView_pimpl.C: hack to make listof algorithm work
10585 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * LyXAction.C: removed all !NEW_INSETS cruft
10588 (init): moved lfun_item in method
10590 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10592 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10594 * BufferView2.C (theLockingInset): white space.
10596 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10598 * minibuffer.C: include <iostream>
10600 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10602 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10604 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10606 * text.[Ch] (TransposeChars): new method
10608 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * call message directly through LyXView instead of through LyXFunc
10611 * BufferView2.C: adjust
10612 * BufferView_pimpl.C: adjust
10613 * FontLoader.C: adjust
10615 * bufferview_funcs.C: adjust
10616 * converter.C: adjust
10617 * figureForm.C: adjust
10618 * importer.C: adjust
10620 * lyx_gui_misc.C: adjust
10621 * lyxfunc.C: adjust
10624 + more files in subdirs
10626 * lyxparagraph.h (size): move up int file
10629 * adjust all uses of Assert to lyx::Assert.
10631 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10632 lyxfunctional in namespace lyx
10633 * layout.C (hasLayout): ditto
10636 (delete_layout): ditto
10637 (NumberOfClass): ditto
10638 * converter.C (GetFormat): ditto
10643 * bufferlist.C (getFileNames): ditto
10644 (emergencyWriteAll): ditto
10647 * MenuBackend.C (hasSubmenu): ditto
10650 * BufferView_pimpl.C (getInsetByCode): ditto
10652 2001-04-18 Juergen Vigna <jug@sad.it>
10654 * vspace.C (asLatexString): fixed the 100% problem.
10656 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10658 * lyxfunc.C (Dispatch):
10660 * minibuffer.h: add a few std:: qualifiers
10662 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * minibuffer.[Ch]: reimplement so that commands is initiated and
10665 run from lyxfunc, simplified som handling, and made the completion
10666 and history code for complete. wip.
10668 * lyxfunc.C (processKeySym): call message
10669 (miniDispatch): new temporary method
10670 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10671 (LFUN_MESSAGE): implement
10672 (LFUN_MESSAGE_PUSH): implement
10673 (LFUN_MESSAGE_POP): implement
10674 (initMiniBuffer): the initial/defualt minibuffer message.
10676 * lyxfont.[Ch]: inline some more getters
10678 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10680 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10682 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10683 (AutoSave): use LFUN_MESSAGE
10684 (Reconfigure): ditto
10686 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10688 * figureForm.C: use LFUN_MESSAGE
10690 * converter.C (runLaTeX): use LFUN_MESSAGE
10692 * bufferview_funcs.C: use LFUN_MESSAGE
10694 (changeDepth): ditto
10696 * bufferparams.h: use boost::
10698 * bufferlist.h: inherit privately from noncopyable
10700 * bufferlist.C (loadLyXFile): remove some commented code.
10702 * buffer.C (runChktex): use LFUN_MESSAGE
10704 * ShareContainer.h: inherit privately from noncopyable
10706 * ParagraphParameters.[hC] (depth): inline it.
10708 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10710 (message): new method
10711 (messagePush): ditto
10712 (messagePop): ditto
10713 (show): init minibuffer
10714 (showState): direct call
10716 * LaTeX.[Ch]: inherit privately from noncopyable
10717 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10718 instead of WriteStatus.
10720 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10722 * BufferView_pimpl.C (buffer): don't init minibuffer
10723 (workAreaButtonPress): use LFUN_MESSAGE
10724 (workAreaButtonRelease): ditto
10725 (savePosition): ditto
10726 (restorePosition): ditto
10727 (MenuInsertLyXFile): ditto
10728 (workAreaExpose): don't init minibuffer
10729 (update): remove commented code, simplify
10731 * BufferView2.C (openStuff): use LFUN_MESSAGE
10732 (toggleFloat): ditto
10735 (copyEnvironment): ditto
10736 (pasteEnvironment): ditto
10741 (updateInset): remove some commented code
10743 * lastfiles.h: inherit privately from noncopyable
10746 * lyx_main.h: ditto
10748 * lyxlex_pimpl.h: ditto
10750 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10751 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10752 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10754 * LyXAction.h: inherit privately from noncopyable, add methods
10755 func_begin, func_end, returning iterators to the func map.
10757 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10758 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10759 (func_begin): new method
10760 (func_end): new method
10762 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10764 (copySelection): ditto
10765 (pasteSelection): ditto
10767 * BufferView.C: whitespace change
10768 * BufferView.h: inherit privately from noncopyable
10770 2001-04-16 Allan Rae <rae@lyx.org>
10772 * tabular-old.C (l_getline):
10773 * spellchecker.C (sc_check_word):
10774 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10775 an unrecognised preprocessor directive. So ensure they're wrapped.
10777 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10779 * src/exporter.C (Export): Give an error message when path to file
10782 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10784 * LaTeX.C (deplog): Always check that foundfile exists.
10786 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10789 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10791 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * tabular.[Ch] (getLabelList): implement new method
10795 * minibuffer.h: comment ouf setTiimer
10797 * minibuffer.C (ExecutingCB): constify res
10798 (peek_event): constify s
10799 (Set): constify ntext
10800 (Init): constify nicename
10802 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10804 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10805 (savePosition): use two params to Minibuffer::Set
10806 (restorePosition): ditto
10808 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * lyx_main.C: include language.h
10812 * Makefile.am (lyx_main.o): add language.h
10814 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10820 * CutAndPaste.C: include gettext.h
10822 * lyxfont.h: remove old hack with ON and OFF.
10825 * lyxfont.h: do not include language.h...
10830 * bufferview_funcs.C:
10836 * paragraph.C: ... but do it here instead
10838 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10842 * tabular.C: small reformat
10844 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10847 (BreakParagraph): ditto
10848 (SetOnlyLayout): ditto
10851 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10854 * lastfiles.C: removed most using decl, add std:: where needed
10856 * buffer.C: ws changes
10858 * MenuBackend.C (class compare_format): put into anon namespace
10859 (expand): constify label, names, action, action2
10862 * text.C (SingleWidth): constify font
10863 (IsBoundary): constify rtl2
10864 (GetVisibleRow): constify ww
10866 * LaTeX.C (deplog): constify logfile
10868 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10870 (workAreaExpose): constify widthChange, heightChange
10872 * lyxrow.C (par): moved
10875 * lyxrow.h: as inlines here
10877 * lyxfont.h (shape): moved from lyxfont.C
10878 (emph): moved from lyxfont.C
10880 * lyxfont.C (LyXFont): use initialization list for all
10882 (shape): move to lyxfont.h as inline
10883 (emph): move to lyxfont.h as inline
10886 2001-04-04 Juergen Vigna <jug@sad.it>
10888 * vspace.C: had to include stdio.h for use of sscanf
10890 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10893 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10894 independent of xforms.
10896 2001-04-02 Juergen Vigna <jug@sad.it>
10898 * spellchecker.C: fixed namespace placing!
10900 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10902 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10903 the LyXParagraph * is 0.
10905 2001-03-29 Juergen Vigna <jug@sad.it>
10907 * vspace.C: added support for %, c%, p%, l%.
10908 (stringFromUnit): added helper function.
10909 (asLatexString): changed to give right results for the %-values.
10911 * buffer.C: convert the widthp in a width%.
10913 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10915 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10918 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10919 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10921 * lyx_cb.[Ch]: see above.
10923 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10927 * lyx.[Ch]: replaced by figure_form.[Ch].
10931 * lyxfunc.C: changed headers associated with above changes.
10933 2001-03-27 Juergen Vigna <jug@sad.it>
10935 * BufferView_pimpl.C: set the temporary cursor right!
10937 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10939 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10941 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10943 * LString.h: removed "using std::getline"!
10945 * BufferView_pimpl.C (Dispatch): changes due to changes in
10946 InsetInclude::Params.
10948 * buffer.C (tag_name): removed redundant break statements as they were
10949 producing lots of warnings with my compiler.
10951 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10953 * LString.h: add "using std::getline" when using the real <string>.
10955 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10957 * buffer.C: removed bitset usage.
10958 PAR_TAG moved to an anonymous name space.
10959 (tag_name): new funtion, also in the anonymous namespace.
10960 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10961 (makeDocBookFile): clean code. Completed transition from string arrays
10963 (SimpleDocBookOnePar): code clean.
10965 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10967 * tabular.C: add some comments.
10969 2001-03-22 Juergen Vigna <jug@sad.it>
10971 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10972 compatibility read a bit and fixed bug with minipage in different
10975 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10977 * buffer.C (pop_tag): removed.
10978 (push_tag): removed.
10979 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10980 array replaced with vector. Added support for CDATA sections.
10981 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10983 (makeDocBookFile): XML conformant declaration of CDATA section,
10984 fixed bug related to <emphasis> in the first paragraph char.
10985 (sgmlOpenTag): exclude empty tags.
10986 (sgmlCloseTag): ditto.
10988 * buffer.h (pop_tag): removed.
10989 (push_tag): removed.
10991 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10993 * language.h (Languages): added size_type and size().
10995 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10997 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10998 response on compability reading of minipages. One probliem is that
10999 the old usage of minipages was «flertydig»
11001 * several files here and in subdirs: don't use static at file
11002 scope use anon namespaces instead.
11004 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11006 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11007 LaTeX output. This is necessary for Literate document
11010 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11012 * buffer.C: insert hfill when needed.
11014 * tabular.C (l_getline): use string::erase, small whitespace change.
11016 * BufferView_pimpl.C: try the anon namespace.
11017 * WorkArea.C: ditto
11019 2001-03-16 Juergen Vigna <jug@sad.it>
11021 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11022 otherwise it won't open options-dialogs.
11024 * buffer.C: honor pextraWidth(p) on converting minipages.
11026 * tabular.C (l_getline): changed the functions to strip trailing \r.
11028 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11030 * BufferView_pimpl.C:
11031 * minibuffer..C: added "using SigC::slot" declaration.
11033 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11035 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11041 * paragraph.C: ditto
11043 * lyxtext.h: NO_PEXTRA
11045 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11047 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11048 * ParameterStruct.h: ditto
11049 * ParagraphParameters.h: ditto
11050 * lyxparagraph.h: ditto
11052 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11054 * buffer.C: add compability for minipage alignment.
11055 (latexParagraphs): remove unwanted pextra check.
11057 * several files: remove CXX_WORKING_NAMESPACES
11059 * buffer.C (pop_tag): tie is in namespace boost
11061 * BufferView.h: noncopyable is in namespace boost
11063 * lyx_main.h: ditto
11066 * lastfiles.h: ditto
11067 * bufferlist.h: ditto
11068 * ShareContainer.h: ditto
11070 * LyXAction.h: ditto
11073 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11075 * Merging changes from BRANCH_MVC back into HEAD.
11077 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11079 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11081 * BufferView_pimpl.C: change from intl.C
11085 * Makefile.am: move combox.*
11091 * intl.C: remove dialog (covered by prefs)
11093 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11095 * lyxfunc.C (Dispatch): removed redundant break statement.
11097 2001-03-14 Juergen Vigna <jug@sad.it>
11099 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11101 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11103 * buffer.C: add hack to fix compability reading of minipages.
11105 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11107 * buffer.C (getLists): Cleanup.
11109 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11111 * lyxfont.C (update): don't honor toggleall on font size.
11113 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11117 * Makefile.am: moved to frontends/xforms/
11121 * BufferView_pimpl.C: changes for moved mathpanel
11123 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11125 * gettext.h: fix gettext_init() in --disable-nls
11127 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11129 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11131 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11134 * lyx.h: strip external form
11136 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11138 * BufferView_pimpl.C: add comment, destroySplash()
11140 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11142 * BufferView_pimpl.C:
11146 * lyxfunc.C: use re-worked insetinclude
11148 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11150 * buffer.C: add using std::stringstream.
11152 * lyx_cb.C: readd using std::ios.
11154 * buffer.C: add using std::map.
11156 * BufferView_pimpl.C: add using std::vector.
11158 * ShareContainer.h: add std:: to swap.
11160 * buffer.h: add some typedefs
11161 * buffer.C (getLists): use them
11162 (getLists): renamed from getTocList.
11163 add a counter for the different float types and use it in the
11165 (getLists): use the same counter for the NEW_INSETS and the "non"
11168 * lyx_cb.h: remove unused items, includes, using etc.
11170 * ShareContainer.h: remove some commented code, add more comments
11171 and "documentation".
11173 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11175 * buffer.C (getTocList): make the list also when NEW_INSETS is
11178 * buffer.h: remove TocType
11180 * buffer.C (getTocList): change to return a map<string,
11181 vector<TocItem> >, implement for dynamic number of list.
11183 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11184 * text2.C (PasteSelection): adjust
11185 * CutAndPaste.C (pasteSelection): adjust
11187 * FloatList.C (FloatList): update from the new_insets branch.
11188 * Floating.[Ch]: ditto
11189 * LaTeXFeatures.C: ditto
11191 * lyxlex_pimpl.C: ditto
11193 * paragraph.C (Last): remove when NEW_INSETS is defined.
11195 * other file: changes because of the above.
11197 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11199 * lyxparagraph.h: rename next to next_, previous to previous_,
11200 make them private for NEW_INSETS. Rename Next() to next(),
11201 Previous() to previous().
11203 * other files: changes because of the above.
11205 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11208 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11211 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11213 * main.C (main): pass lyx_localedir to gettext_init().
11215 * gettext.h: remove locale_init and gettext_init macros
11217 * gettext.C (locale_init): new function
11218 (gettext_init): new function
11220 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11223 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11225 * Moved credits to frontends:
11226 * credits.[Ch]: removed
11227 * credits_form.[Ch]: removed
11228 * lyx_gui_misc.C: remove credits stuff
11231 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11233 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11235 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11236 unneeded destructor.
11238 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11239 a standalone pointer again.
11241 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11243 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11249 * ToolbarDefaults.C:
11258 * BufferView_pimpl.C: use new file dialog in GUII
11261 * lyx_cb.C: remove LayoutsCB to Toolbar
11263 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11265 * ShareContainer.h (get): add std:: qualifier
11267 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11269 * ShareContainer.h: define a proper ShareContainer::value_type
11270 type (and use typename to please compaq cxx)
11272 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11274 * lyxparagraph.h: move serveral local vars to
11275 ParameterStruct/ParagraphParameters., use ShareContainer in
11276 FontTable., make vars in FontTable private and add getter and
11279 * paragraph.C: changes because of the above.
11281 * lyxfont.h: remove copy constructor and copy assignment. (the
11282 default ones is ok), move number inside FontBits. move inlines to
11285 * lyxfont.C: add number to initializaton of statics, move several
11286 inlines here. constify several local vars. some whitespace
11287 cleanup. Dont hide outerscope variables.
11289 * Spacing.h: add two new constructors to match the set methods.
11291 * ShareContainer.h: new file, will perhaps be moved to support
11293 * ParameterStruct.h: new file
11295 * ParagraphParameters.h: new file
11297 * ParagraphParameters.C: new file
11299 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11300 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11302 * BufferView_pimpl.C: ParagraphParameter changes.
11303 * buffer.C: Likewise.
11304 * bufferview_funcs.C: Likewise.
11305 * text.C: Likewise.
11306 * text2.C: Likewise.
11308 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11310 * lyxfind.C (LyXReplace): do not redefine default argument in
11312 (IsStringInText): ditto
11313 (SearchForward): ditto
11314 (SearchBackward): ditto
11316 2001-03-06 Juergen Vigna <jug@sad.it>
11318 * lyxfind.C (IsStringInText): put parentes around expressions.
11320 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11322 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11324 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11326 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11328 * stl_string_fwd.h: add comment
11330 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11333 * tabular.C: remove unused DocBook methods
11339 killed DO_USE_DEFAULT_LANGUAGE
11341 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11343 * lyx_gui.C: do not include language.h.
11345 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11346 arguments in function implementation.
11348 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11350 * BufferView_pimpl.C: add <ctime>
11352 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11354 * BufferView_pimpl.C: add using std::find_if
11356 2001-02-27 José Matos <jamatos@fep.up.pt>
11358 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11361 2001-02-11 José Matos <jamatos@fep.up.pt>
11363 * buffer.C (makeDocBookFile): command styles now have a parameter as
11364 "title" by default.
11366 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11368 * layout_forms.[Ch]: removed
11369 * lyx_cb.[Ch]: out character
11370 * lyx_gui.C: out character
11371 * lyx_gui_misc.C: out character
11372 * bufferview_funcs.C: : out character,
11373 added toggleall as parameter in ToggleAndShow
11375 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11377 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11379 * text2.C (SetCurrentFont): Disable number property at boundary.
11381 2001-02-26 Juergen Vigna <jug@sad.it>
11383 * lyxfunc.C (getStatus): added a string argument override function so
11384 that this is correctly called from LyXFunc::Dispatch if it contains a
11385 do_not_use_argument which is used!
11386 (Dispatch): added check for "custom" export and call appropriate func.
11388 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11390 * lyxrc.C: Add language_command_local, language_use_babel and
11391 language_global_options.
11393 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11395 * buffer.C (makeLaTeXFile): Use language_use_babel and
11396 language_global_options.
11398 2001-02-23 Juergen Vigna <jug@sad.it>
11400 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11401 which works with LyXText and putted it inside BufferView. Here now we
11402 only call for that part the BufferView::Dispatch() function.
11404 * BufferView.C (Dispatch): added.
11406 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11407 functions which needs to use a LyXText over from LyXFunc.
11408 (MenuInsertLyXFile): added
11409 (getInsetByCode): added
11410 (moveCursorUpdate): added
11411 (static TEXT): added
11413 2001-02-22 Juergen Vigna <jug@sad.it>
11415 * BufferView_pimpl.C (update): call a status update to see if LyXText
11418 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11420 * vc-backend.C (revert): implement for CVS
11421 (getLog): implement for CVS
11423 2001-02-20 Juergen Vigna <jug@sad.it>
11425 * text2.C (ClearSelection): added BufferView param for inset_owner call
11427 * lyxfunc.C (TEXT): added this function and use it instead of
11428 directly owner->view()-text of getLyXText().
11430 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11432 * src/layout_forms.C: out preamble
11433 * src/layout_forms.h: out preamble
11434 * src/lyx_cb.C: out preamble
11435 * src/lyx_cb.h: out preamble
11436 * src/lyx_gui.C: out preamble
11437 * src/lyx_gui_misc.C: out preamble
11438 * src/lyxfunc.C: connect with guii preamble
11440 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11442 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11444 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11446 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11447 whether to run bibtex.
11449 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11451 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11453 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11455 * Makefile.am (lyx_SOURCES): removed bibforms.h
11457 * vspace.h: doxygen
11459 * text.C (GetVisibleRow): make several local vars const
11461 * tabular.C: small cleanup.
11463 * lyxserver.C (callback): use compare instead of strncmp
11465 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11466 inlines to after class or to paragraph.C
11468 * lyxfont.h: remove friend operator!=
11470 * converter.h: move friend bool operator< to non friend and after
11473 * combox.h: small cleanup
11475 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11476 to inlines after class def.
11478 * buffer.C (pop_tag): use string operations instead of strcmp
11480 * bmtable.c: doxygen, small cleanup
11482 * LaTeX.h: remove friend operator==
11484 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11496 * BufferView_pimpl.C:
11497 * BufferView.[Ch]: remove cruft
11499 2001-02-14 Juergen Vigna <jug@sad.it>
11501 * lyxfunc.C: removed #if 0 unused code
11503 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11505 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11507 * text2.C (SetSelection): added a BufferView * parameter
11509 2001-02-13 Juergen Vigna <jug@sad.it>
11511 * lyxfunc.C (Dispatch): fixed protected blank problem.
11512 * BufferView2.C (protectedBlank): added LyxText * parameter.
11514 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11515 (AppendColumn): same as above for column_info.
11517 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11518 (moveCursorUpdate): use a LyXText param for support of InsetText.
11520 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11521 (tripleClick): ditto
11523 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11525 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11527 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11529 * text2.C (SetSelection): set correct update status if inset_owner
11530 (ToggleFree): ditto
11532 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11534 * tabular.C: remove some commented code.
11536 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11538 * BufferView_pimpl.C: call hideSplash()
11540 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11543 * bibforms.h: remove
11546 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11547 add LFUN_CHILD_CREATE
11549 * counters.h: fix tiny typo
11554 * lyx.C: move splash to frontends/xforms/
11556 * lyx_gui_misc.C: move Include and Bibform to frontends
11558 * lyxvc.h: clarify comment
11560 * vspace.C: tiny housekeeping
11562 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11564 * text.C (PrepareToPrint): RTL Fix.
11566 * paragraph.C (GetUChar): New method.
11567 (String): Use GetUChar.
11569 * buffer.C (asciiParagraph): Use GetUChar.
11571 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11573 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11575 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11578 * buffer.C: rename to getLogName(), handle
11579 build log / latex log nicely
11581 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11584 * MenuBackend.h: remove support for reference menuitem type.
11586 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11588 * BufferView_pimpl.C: housekeeping
11589 * BufferView_pimpl.h:
11594 * minibuffer.h: move Timeout GUI-I
11596 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11598 * lyxrc.C (read): Update converters data-structures.
11600 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11602 * LaTeX.h (operator!=): add operator != for Aux_Info
11604 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11606 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11608 * LaTeXLog.C: deleted, useful code moved to Buffer
11611 * buffer.C: new function getLatexLogName()
11617 * lyxfunc.C: use frontends for LaTeX and VC logs
11619 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11621 * LaTeX.h: yet another std:: that Allan forgot.
11623 * Variables.C (set): renamed from isset(), because this clashes
11624 with some HP-UX macros (grr).
11626 2001-02-06 Allan Rae <rae@lyx.org>
11628 * LaTeX.h: Another bug fix. Missing std:: this time.
11630 2001-02-04 Allan Rae <rae@lyx.org>
11632 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11633 floats problem. I've left it commented out because it's not quite
11634 correct. It should also test that the current object is a table or
11635 figure inset. But I haven't gotten around to figuring out how to do
11636 that. I *think* it'll be something like: "table" == inset.type()
11638 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11641 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11643 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11644 all the citation/databases/styles in the auxilary file.
11645 (run): Rerun latex if there was a babel language error.
11647 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11649 * text.C (Backspace): Preserve the font when changing newline char
11651 (BreakParagraph): If the cursor is before a space, delete the space.
11653 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11655 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11657 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11658 new argument (code).
11659 (ChangeCitationsIfUnique): New method.
11661 * paragraph.C (GetPositionOfInset): Handle bibkey.
11663 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11665 * BufferView_pimpl.h: change type of Position::par_pos to
11666 LyXParagraph::size_type.
11668 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11670 * BufferView_pimpl.C (savePosition, restorePosition): Write
11671 messages to minibuffer.
11673 2001-01-28 José Matos <jamatos@fep.up.pt>
11675 * buffer.C (makeDocBookFile): adds support for document language.
11676 A silly restriction on the name of LatexCommand types where removed.
11677 Added support for CDATA sections, allows to chars unescaped, used
11678 among others in code, to avoid escape < and >.
11680 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11682 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11683 saved positions instrad of a stack. Furthermore, a position is
11684 stored using paragraph id/paragraph position.
11686 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11687 Remove LFUN_REF_BACK.
11689 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11691 * converter.C (dvipdfm_options): New method.
11693 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11695 * vspace.C (isValidLength): Fix for empty input string.
11697 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11699 * LyXAction.C (init): change description of LFUN_FIGURE to
11702 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11704 * LaTeX.C: add using directive
11706 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11708 * MenuBackend.C (expand): Fix the sorting of the formats.
11710 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11712 * lyx_main.C: tiny error message fix
11714 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11716 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11717 calling fl_initialize(). This fixes the problem with ',' as
11718 decimal separator in text files.
11720 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11722 * trans.C (process): Fix the keymap bug.
11724 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11726 * LaTeX.C (scanAuxFiles): New method. Provides support for
11727 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11728 (scanLogFile) Scan for "run BibTeX" messages.
11730 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11731 OT1 font encoding. Also, load the aecompl package if the ae
11734 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11736 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11738 * texrow.C (increasePos): turn two error messages into debug
11741 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11743 * LaTeX.C (scanAux): Handle the \@input macro.
11744 (runBibTeX): Use scanAux().
11746 * language.C (latex_options_): New field.
11748 * LaTeXFeatures.C (getMacros): Add language macros.
11750 * buffer.C (makeLaTeXFile): Small fix.
11752 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11754 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11756 * text2.C: add a using directive.
11758 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11763 * lyxfunc.C: kill LyXBell.
11765 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11767 * text.C (IsBoundary): Remove the error message
11769 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11771 * lyxrc.C (setDefaults): Correct initialization value for
11774 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11776 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11779 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11780 and GotoNextNote().
11782 * src/LyXAction.C: Added reference-next.
11784 * text.C (InsertChar): Use contains instead of strchr.
11786 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11788 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11790 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11791 alignment commands (when needed).
11793 * text.C (InsertChar): Add ':' to number separator chars.