1 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxlex_pimpl.C (setFile): compress stuff
5 * buffer.C (writeFile): add some compression stuff
6 (do_writeFile): new func, dont call expliti close... will this
10 * Makefile.am (lyx_LDADD): add -lz
12 2003-07-28 José Matos <jamatos@fep.up.pt>
14 * buffer.C: increment file format.
15 * paragraph_funcs (readParagraph, readParToken):
16 * paragraph.C (readParagraph): add \end_layout.
18 2003-07-27 Angus Leeming <leeming@lyx.org>
20 * Makefile.am: remove special casing for configure-time setting of
21 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
23 * lyx_main.C (init): remove all Jean-Marc's magic setting of
24 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
26 2003-07-26 André Pönitz <poenitz@gmx.net>
28 * paragraph_func.[Ch]:
29 * paragraph.C (realizeFont): inline it whereever it is used
34 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
37 2003-07-26 André Pönitz <poenitz@gmx.net>
41 * text2.C: get rid of LyXText::need_break_row
43 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * toc.[Ch]: put namespace toc inside namespace lyx
47 * MenuBackend.C (expandToc2): adjust for lyx::toc
50 * lyxfunc.C (dispatch): adjust for lyx::find
52 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
53 lyx::find instead. Reorganize a bit.
54 (LyXReplace): rename to replace
55 (LyXFind): rename to find
57 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
60 2003-07-26 André Pönitz <poenitz@gmx.net>
62 * text.C (setHeightOfRow): restrict scope of temporary variable
64 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
65 code (never has been used?)
67 2003-07-27 Asger Alstrup <alstrup@local>
69 * text.C (fill): Optimise algorithm to exploit that we can reuse
70 the LyXFont for many characters.
71 (setHeightOfRow): Same thing.
72 (rowBreakPoint): Same thing.
74 2003-07-26 Asger Alstrup <alstrup@local>
76 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
78 * text.C (singleWidth): Spurious font copying in hot-spot
79 singleWidth avoided. Reorder tests for arabic for efficiency.
81 * text.C (fill): handle empty paragraphs better.
83 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * encoding.h: add includes
88 * lyxrc.C: remove reading of bind files
90 * lyx_main.C (init): setup bindings and menus only if we have a
93 * kbmap.C (read): new method. Do the actual reading of bind
96 * converter.C (dvipdfm_options):
99 (output): adapt PAPER_* enums.
101 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
103 * bufferparams.h: remove paper-related enums from there
105 * paper.h: New file. A trivial header file to hold paper-related
106 enums. It should later expand to contain many paper-related
109 * lyxrc.C: declare extern displayTranslator
111 2003-07-27 José Matos <jamatos@fep.up.pt>
113 * tabular.[Ch] (linuxdoc): add support for tables and figures
116 2003-07-27 José Matos <jamatos@fep.up.pt>
118 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
119 consistency in both functions.
120 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
122 2003-07-26 Asger Alstrup <alstrup@local>
124 * rowpainter.C (paintRows): Change algorithm to work directly on
125 the insets rather than asking every character in the document
126 whether its an inset.
128 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
130 * buffer.C (openFileWrite): factorize some code
132 2003-07-26 Angus Leeming <leeming@lyx.org>
135 * lyx_main.[Ch]: replace occurances of system_tempdir with
138 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
140 * rename Inset to InsetOld
142 2003-07-25 Asger Alstrup <alstrup@diku.dk>
144 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
145 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
146 which I think is a bit clearer. EDIT is gone, since it was
147 premature optimisation, and broken for mathed anyway.
148 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
149 with cursor positioning in insets as well (math insets still do not
150 work, but that's a different story anyway.) It mysteriously
151 crashes sometimes with undo in the first paragraph, but I'm fairly
152 confident that this is a compiler bug.
154 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
156 * paragraph.C (Paragraph): adjust for new clone return type
158 (copyIntoMinibuffer): ditto
160 2003-07-25 Asger Alstrup <alstrup@lyx.org>
162 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
163 by not having a special case, and always doing a full rebreak of
164 the document after undo.
166 2003-07-23 Angus Leeming <leeming@lyx.org>
168 * factory.C (createInset): InsetExternal::setParams now takes a
171 2003-07-23 Angus Leeming <leeming@lyx.org>
173 * factory.C (createInset): changed interface to the external and
174 graphics mailers' string2params functions.
176 2003-07-23 Angus Leeming <leeming@lyx.org>
178 * factory.C (createInset): pass a
179 Buffer const * parameter to InsetExternalMailer's string2params.
181 2003-07-22 John Levon <levon@movementarian.org>
183 * Thesaurus.h: include the right aiksaurus header
185 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * MenuBackend.C (expand): check menu shortcuts unconditionally
189 2003-07-21 Angus Leeming <leeming@lyx.org>
191 * factory.C (createInset): pass a
192 buffer_path parameter to InsetGraphicsMailer's string2params.
194 2003-07-21 Angus Leeming <leeming@lyx.org>
196 * BufferView_pimpl.C (buffer):
199 * lyxfunc.C (dispatch):
200 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
201 rather than the grfx shortcut.
203 2003-07-21 André Pönitz <poenitz@gmx.net>
205 * rowpainter.C: remove unused variables
208 * tabular_funcs.h: move to tabular.C
209 * Makefile.am: adjust
211 * tabular.[Ch]: basic optical cleaning
213 * author.h: pass references, not values
215 2003-07-18 André Pönitz <poenitz@gmx.net>
223 * text3.C: two-phase drawing for InsetText and InsetTabular
224 some float -> int changes.
226 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
228 * lyx_main.C: fix the fix
230 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
232 * lyx_main.C: fix a crash in batch mode if no files specified
235 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
237 * format.[Ch] (papersize): moved to BufferParams
238 * converter.[Ch] (dvips_options): moved to BufferParams
239 (dvipdfm_options): moved to anon namespace
240 * bufferparams.[Ch]: added above functions.
242 2003-07-17 André Pönitz <poenitz@gmx.net>
246 * text2.C: don't call inset->update() anymore
248 * metricsinfo.[Ch]: add convenience constructor
250 2003-07-16 André Pönitz <poenitz@gmx.net>
255 * text2.C: replace the LyXCursor::irow_ member with
256 on-demand computation of the value
258 2003-07-16 John Levon <levon@movementarian.org>
260 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
262 2003-07-15 André Pönitz <poenitz@gmx.net>
265 * text2.C: remove no more needed refresh_row
267 2003-07-15 André Pönitz <poenitz@gmx.net>
272 * text3.C: refresh_status tristate -> need_update bool
274 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
276 * lyxtext.h (init): remove reinit argument (act as if always true)
277 * text2.C: adjust to that
279 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
281 * bufferview_funcs.[Ch]: introduce function replaceSelection()
282 * text3.C: use it to delete selections in some cases
283 (bugs 441, 673, 702, 954).
285 2003-07-14 André Pönitz <poenitz@gmx.net>
287 * rowpainter.[Ch]: reduce interface
289 2003-07-14 André Pönitz <poenitz@gmx.net>
291 * BufferView_pimpl.C:
292 * text2.C: adjust after removing unused BufferView * argument
294 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
296 * text2.C (init): fix a crash fired on resize
298 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
300 * buffer.[Ch]: added new closing signal
301 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
302 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
303 BufferView::Pimpl via the closing the signal
305 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
307 * buffer.[Ch]: take out all bv-related from buffer
309 * BufferView_pimpl.[Ch]: connect to new signals
310 * CutAndPaste.C: removed useless asserts
311 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
314 * lyxfunc.C: moved view-related funciontality from vc here
315 * paragraph.C: removed outdated comments
318 2003-07-10 André Pönitz <poenitz@gmx.net>
320 * BufferView_pimpl.C:
324 * text2.C: remove InsetText::InnerCache, clean up consequences
326 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
328 * ispell.C: fix two typos in error messages
330 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
332 * Extend Note inset to other forms of annotation like Comment
333 and Greyedout. Right button click gives dialog.
335 Files modified or added (+):
341 * Makefile.am in frontends/xforms, frontends/xforms/forms,
342 frontends/controllers
346 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
348 * aspell.C: add missing namespace lyx::support
350 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
352 * BufferView.[Ch] (newFile): Add
353 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
354 * LaTeX.[Ch] (message): added this signal and use it
355 * buffer.[Ch] (busy, message): added these signals and use them
356 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
360 * importer.C: use buffer signals instead of direct bv calling
361 * lyx_cb.[Ch] (ShowMessage): removed
365 * text2.C: use buffer signals
367 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
369 * introduce namespace lyx::graphics
371 2003-07-02 André Pönitz <poenitz@gmx.net>
373 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
375 2003-07-01 André Pönitz <poenitz@gmx.net>
382 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
383 text*.C to text_func.C
385 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
387 * introduce namespace lyx::support
389 2003-06-30 André Pönitz <poenitz@gmx.net>
394 * text.C: re-enable --with-included-string
396 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * textcursor.C: add <config.h>
400 * text.C (getWord): remove const from word_location arg
402 * lyxvc.C (getLogFile): fix const type order
404 * lyxtext.h: remove const from word_location arg, add arg name
406 * lyxlayout.h: currect type on labeltype.
408 * importer.C: correct \file
410 * converter.C (intToFormat): use std:: on ret val, ws changes
412 * bufferlist.h: correct \file
414 * buffer.C (makeLinuxDocFile): fix const type order
415 (makeDocBookFile): ditto
416 (fillWithBibKeys): use std:: on stdlib args.
418 * CutAndPaste.C: fix authors.
419 (availableSelections): use std:: on return vector
421 2003-06-27 André Pönitz <poenitz@gmx.net>
423 * BufferView_pimpl.C:
424 * bufferview_funcs.C:
432 * text3.C: remove LyXCursor::row_ member
435 * text.C: rename fullRebreak() to partialRebreak() and implement
436 a fullRebreak() that really bereks fully
438 * textcursor.h: new struct for cursor-related data
440 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
442 * lyx_main.C (LyX): get full path of document loaded on the
445 2003-06-26 André Pönitz <poenitz@gmx.net>
447 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
448 remove unused/broken operator>,<,>=.
450 * text.C: remove only use of broken operator<= in an Assert().
452 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
454 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
455 moved errorlist_.clear to showErrorList
457 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
459 * converter.C (scanLog, runLaTeX):
460 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
461 move the bv->showErrorList call to the callers
462 * lyxfunc.C: i.e. here...
464 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
465 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
466 namespace, the second to...
467 * buffer_funcs (BufferFormat, parseErrors): added
468 * errorlist.C (ErrorList(TeXErrors const &)): removed
470 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * ToolbarBackend.C (getIcon): complain when icon cannot be found
474 2003-06-24 "Garst R. Reese" <reese@isn.net>
478 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
482 * version.C.in: change docversion to 1.4
484 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
486 * buffer.C: fix a bug just introduced
488 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
490 * buffer.[Ch]: added the parseError signal and use it, removed
492 * BufferView.[Ch] (addError): moved to ...
493 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
494 to the Buffer::parseError signal to catch (guess what) parse errors
495 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
497 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
499 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
500 ability to create a buffer and to return an existing one from
501 the list. Moved these functions to...
502 * buffer_funcs.[Ch]: added
503 * BufferView.[Ch] (loadLyXFile): added
504 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
505 job removed from bufferlist::loadLyXFile.
506 * buffer.C (setReadOnly): make it work without view
507 (i.e added an if (users))
509 2003-06-19 Angus Leeming <leeming@lyx.org>
512 * LyXAction.C (init):
513 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
514 with LFUN_DIALOG_SHOW <name> <data>.
516 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * CutAndPaste.C (availableSelections): small compilation fix for
519 ancient (gcc 2.9x) compilers
521 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
523 * text3.C (cursorNext): add tmp var
525 * text2.C (updateCounters): for function calling out of for clause
526 (replaceSelectionWithString): ditto
527 (insertStringAsParagraphs): ditto
528 (getColumnNearX): add tmp var
529 (setCursorFromCoordinates): add tmp var
530 (cursorDownParagraph): add tmp var
531 (deleteEmptyParagraphMechanism): add tmp var
533 * text.C (insertChar): add tmp var
535 * rowpainter.C (paintDepthBar): add tmp var
537 * CutAndPaste.C (availableSelections): potentially check all
538 paragraphs in a cut to fill the shown strings.
540 2003-06-18 André Pönitz <poenitz@gmx.net>
542 * kbmap.[Ch]: use vector<> instead of list<>
544 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
546 * text3.C (dispatch): handle arg to LFUN_PASTE, call
547 pasteSelection with index
549 * text2.C (pasteSelection): modify, call pasteSelection with index
551 * paragraph.C (asString): reimplement version with no interval to
552 call the one with interval.
554 * lyxtext.h: add index arg to pasteSelection
556 * MenuBackend.C (MenuItem): handle PasteRecent
557 (Menu::read::Menutags): add md_pasterecent
559 (expandPasteRecent): new function
562 * MenuBackend.h: add PasteRecent to MenuItem::Kind
564 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
566 (availableSelections): new function
568 2003-06-17 Angus Leeming <leeming@lyx.org>
570 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
572 2003-06-17 Angus Leeming <leeming@lyx.org>
575 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
577 * lyxfunc.C (dispatch): invoke it.
579 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * iterators.C (operator++, ParPosition): reintroduce some
582 const_cast for the benefit of older compilers.
584 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * text3.C (dispatch): do not modify clipboard when doing
587 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
588 LFUN_DELETE_SKIP on a selection selection
590 2003-06-16 André Pönitz <poenitz@gmx.net>
596 * tabular.[Ch]: IU of clone() and getLabelList();
598 2003-06-13 André Pönitz <poenitz@gmx.net>
600 * tabular.h: compactification
602 2003-06-12 André Pönitz <poenitz@gmx.net>
606 * tabular_funcs.h: some renaming plus whitespace
608 2003-06-12 André Pönitz <poenitz@gmx.net>
611 * BufferView_pimpl.C:
617 * toc.C: Return a Paragraph & for ParIterator::operator*()
619 2003-06-11 John Levon <levon@movementarian.org>
623 * ToolbarBackend.C: add "Toolbars" section and
626 2003-06-10 Angus Leeming <leeming@lyx.org>
629 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
631 * lyxfunc.C (dispatch): invoke it.
633 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * main.C: protect <ios> with HAVE_IOS
636 (main): protect sync_with_stdio with HAVE_IOS
638 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
640 * text2.C (cutSelection): adjust
641 (pasteSelection): adjust
643 * messages.C: handle get of empty string
645 * main.C (main): use sync_with_stdio(false)
647 * lyxfunc.C (dispatch): adjust
649 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
650 (WriteAs): remove unneeded BufferView arg.
652 * bufferparams.h: use correct types on papersize, papersize2 and
655 * bufferparams.C (readToken): adjust for type
656 (writeLaTeX): add missing cases to switch.
658 * bufferlist.C (quitWriteBuffer): adjust
661 * buffer.C (asciiParagraph): remove some commented code.
663 * CutAndPaste.C: remove current_view extern variable.
664 (cutSelection): add BufferParams arg.
665 (eraseSelection): add BufferParams arg.
666 (pasteSelection): add Buffer const & arg
668 2003-06-07 John Levon <levon@movementarian.org>
676 * paragraph.C: allow InsetERT to freely space lines,
677 and some consolidation of code
679 2003-06-06 José Matos <jamatos@fep.up.pt>
681 * buffer.C (makeDocBookFile): fix bug #821
683 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
685 * BufferView_pimpl.C (dispatch): use Dialogs::visible
687 2003-06-04 Angus Leeming <leeming@lyx.org>
689 * buffer.C: bump format to 224.
691 2003-06-05 André Pönitz <poenitz@gmx.net>
693 * text2.C (redoParagraphs): remove two const_cast<>
695 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
697 * ParagraphList.h: remove last remnants of NO_STD_LIST
699 2003-06-03 Angus Leeming <leeming@lyx.org>
701 * factory.C (createInset): small change to the way InsetExternal's params
704 2003-06-04 André Pönitz <poenitz@gmx.net>
706 * buffer.h: use Undo directly instead of shared_ptr<Undo>
709 * paragraph.[Ch]: some Inset -> UpdatableInset changes
711 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
713 * undo_funcs.C: make some simple cases of undo work again
715 2003-06-03 John Levon <levon@movementarian.org>
717 * ispell.C: HPUX doesn't have sys/select.h
720 2003-06-03 John Levon <levon@movementarian.org>
722 * CutAndPaste.C: update tabular and include inset
727 * paragraph.C: remove owningBuffer(), don't pass Buffer
730 * factory.C: insetGraphicsParams changed
732 2003-06-02 John Levon <levon@movementarian.org>
738 * text3.C: remove insetparent
740 2003-06-02 John Levon <levon@movementarian.org>
743 * buffer.C: fix inset_iterator.end(), move out of line
746 2003-06-01 John Levon <levon@movementarian.org>
748 * text3.C: use a proper cut/paste when doing inset
749 insert (from Jürgen Spitzmüller)
751 2003-06-01 John Levon <levon@movementarian.org>
753 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
755 2003-05-30 André Pönitz <poenitz@gmx.net>
757 * rowpainter.C: unify second drawing phase
759 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
761 * trans_mgr.C: remove one case of current_view
763 * text2.C (cursorBottom): delete NO_STD_LIST stuff
765 * paragraph_funcs.h: remove paragraph.h include
767 * paragraph.h: delete NO_STD_LIST stuff
769 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
771 * buffer.h: remove paragraph.h include
773 * ParagraphList.C: delete file
775 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
777 * toc.C (getTocList): adjust
779 * paragraph_pimpl.C (validate): adjust
781 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
783 * paragraph.C (Paragraph): adjust
784 (getPositionOfInset): use const_iterator, adjust
785 (bibitem): use const_iterator, adjust
786 (setInsetOwner): adjust
788 * iterators.C (operator++): adjust
790 * InsetList.[Ch]: Replace selfmade iterator with standard
791 vector::iterator also introduce const_iterator. Remove getPos,
792 getInset and setInset from InsetTable. Adjust accordingly.
794 * BufferView.C (lockInset): adjust
795 (ChangeInsets): adjust
797 * tabular.[Ch]: delete commented same_id functions
799 2003-05-28 John Levon <levon@movementarian.org>
801 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
803 2003-05-28 André Pönitz <poenitz@gmx.net>
805 * metricsinfo.[Ch]: remove 'fullredraw' member
807 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
809 * lyxtextclass.C (operator): remove caching.
811 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * text2.C (cursorBottom): adjust
816 (setCounter): use ParagraphList::find, adjust
818 * text.C (workWidth): use ParagraphList::find, adjust
820 * lyxcursor.C (LyXCursor): adjust
822 * buffer.C (inset_iterator): adjust
824 * ParagraphList.h: make iterator(value_type) private, make
825 ParagraphList a friend of iterator.
827 * ParagraphList.C (find): new function
829 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
831 2003-05-27 André Pönitz <poenitz@gmx.net>
833 * dimension.[Ch]: a -> asc, d -> des, w -> wid
835 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
839 2003-05-26 John Levon <levon@movementarian.org>
841 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
843 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * remove same_id from function signatures, adjust.
847 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * undo_funcs.C (createUndo): use the id functions directly, adjust.
851 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
853 * paragraph.C (Paragraph): get rid of same_ids parameter
855 * ParagraphList.C (insert): adjust
858 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
860 * paragraph_funcs.C (breakParagraph): adjust
861 (breakParagraphConservative): adjust
863 * buffer.C (readParagraph): adjust
865 * ParagraphList.C (insert): take a reference instead of a pointer
868 * paragraph.[Ch] (id): new function
870 * bufferlist.C (newFile): adjust
872 * ParagraphList.C (ParagraphList): adjust
874 (push_back): take a reference instead of a pointer.
876 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
878 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
881 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
882 set else use old code.
884 * ParagraphList.C: remove all NO_NEXT code and only compile this
885 code of NO_STD_LIST is set.
887 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
889 * BufferView_pimpl.C:
899 * graphics/GraphicsConverter.C:
900 * graphics/PreviewLoader.C: header adjustment
902 2003-05-23 Angus Leeming <leeming@lyx.org>
904 * LaTeXFeatures.[Ch] (useBabel): new method.
905 * bufferparams.C (writeLaTeX): use it.
907 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
909 * ParagraphList.h (set): remove unused function.
911 2003-05-23 André Pönitz <poenitz@gmx.net>
914 * BufferView_pimpl.C:
918 * undo_funcs.C: setUndo reworked
920 * iterators.[Ch]: add access to topmost ParagraphList
922 * lyxtext.[Ch] (workWidth): add a const
924 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
926 * texrow.[Ch] (increasePos): remove function
927 * exporter.C (export): removed unused var and outdated comment
929 2003-05-23 Angus Leeming <leeming@lyx.org>
931 * latexrunparams.h: rename fragile as moving_arg.
932 * paragraph.C (simpleTeXOnePar): ditto.
933 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
935 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
939 (textUndoOrRedo): comment out a currently unused var.
941 * paragraph.h (NO_NEXT): enable NO_NEXT
943 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
945 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
947 * exporter.C (Export): adjust for removeAutoInsets removal.
949 * buffer.C (runChktex): adjust for removeAutoInsets removal.
951 * LyXAction.C (init): remove LFUN_REMOVEERRORS
953 * BufferView.[Ch] (removeAutoInsets): delete function
955 2003-05-22 Angus Leeming <leeming@lyx.org>
957 * latexrunparams.h: add a free_spacing variable.
959 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
960 to pass moving_arg, as the data is stored in runparams.fragile.
962 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
963 to Inset::latexOptional or to simpleTeXOnePar.
965 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
966 free_spacing arg to Inset::latexOptional.
968 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
971 2003-05-22 Angus Leeming <leeming@lyx.org>
973 * latexrunparams.h: add fragile and use_babel variables.
975 * bufferparams.[Ch] (writeLaTeX): return use_babel.
976 * buffer.C (makeLaTeXFile): store this returned value in
977 runparams.use_babel, thus passing it to the inset::latex methods.
979 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
980 simpleTeXSpecialChars as it is now stored in runparams.fragile.
982 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
983 longer has a fragile arg, as it is stored in runparams.fragile.
985 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
986 moving_arg parameter as the data is stored in runparams.fragile.
988 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
989 a fragile parameter as the data is stored in runparams.fragile.
991 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
993 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
995 2003-05-22 Angus Leeming <leeming@lyx.org>
997 * latexrunparams.h: add a 'bool nice' which defaults to false.
999 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1000 now encapsulated within runparams.
1002 * bufferlist.C (updateIncludedTeXfiles):
1003 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1005 2003-05-22 Angus Leeming <leeming@lyx.org>
1007 * latexrunparams.h: new file containing struct LatexRunParams.
1008 * Makefile.am: add new file.
1010 * LaTeX.[Ch] (c-tor, run):
1011 * buffer.[Ch] (makeLaTeXFile):
1012 * bufferlist.[Ch] (updateIncludedTeXfiles):
1013 * converter.C (convert, scanLog):
1014 * converter.[Ch] (runLaTeX):
1015 * exporter.C (Export):
1016 * paragraph.[Ch] (simpleTeXOnePar):
1017 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1018 * paragraph_funcs.[Ch] (latexParagraphs):
1019 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1020 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1021 pass around a LatexRunParams parameter.
1023 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1025 * paragraph.[Ch]: remove unused constructor
1027 * ParagraphList.C (erase): new function, taking two iterators
1029 2003-05-22 André Pönitz <poenitz@gmx.net>
1031 * undo_funcs.C: remove duplicated code
1033 * iterator.[Ch]: operator=
1035 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1037 * tabular.C (SetMultiColumn): ws changes
1039 * rowpainter.C (paintFirst): get rid of a ->previous
1041 * lyx_cb.C (getPossibleLabel): parlist simplification
1043 * BufferView.C (ChangeInsets): simplify slightly.
1045 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1047 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1048 * lfuns.h: new LFUN_SPACE
1049 * lyxfunc.C: protected space has a new lfun
1050 * paragraph_funcs.C: read new space insets
1052 * factory.C: handle new space insets
1054 2003-05-22 André Pönitz <poenitz@gmx.net>
1057 * BufferView_pimpl.C:
1060 * undo_funcs.C: return a ParIterator from getParFromID.
1062 * iterators.[Ch]: add two const's
1064 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * toc.C (getTocList): adjust
1068 * iterators.[Ch]: rework for parlist
1070 * buffer.C (par_iterator_begin): adjust
1071 (par_iterator_end): adjust
1073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1075 * BufferView.C (removeAutoInsets): adjust
1076 (ChangeInsets): adjust
1078 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1080 * text.C (top_y): fix bug 1110
1082 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1084 * errorlist.[Ch]: added
1087 * BufferView_pimpl.C:
1088 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1091 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * Makefile.am: ensure that lyx is relinked upon changes to the
1094 various "convenience" libs.
1096 2003-05-20 Angus Leeming <leeming@lyx.org>
1098 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1099 files are compiled in alphabetical order again.
1101 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1103 2003-05-19 Angus Leeming <leeming@lyx.org>
1105 * gettext.[Ch]: remove "char const * _(char const *)".
1107 2003-05-19 André Pönitz <poenitz@gmx.net>
1109 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1118 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1120 2003-05-19 André Pönitz <poenitz@gmx.net>
1124 * lyxtextclass.[Ch]:
1126 * paragraph_funcs.[Ch]:
1128 * text3.C: more insetenv work
1130 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1132 * ParagraphParameters.C (params2string): small bug fixed
1134 2003-05-16 André Pönitz <poenitz@gmx.net>
1137 * bufferview_funcs.C: patch from Kornel Benko to prevent
1138 crash when _(...) is called twice in a statement
1140 2003-05-16 André Pönitz <poenitz@gmx.net>
1147 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1149 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1151 * lyx_main.C (init): remove spurious static_cast
1153 2003-05-14 André Pönitz <poenitz@gmx.net>
1155 * BufferView.C: fix format string
1157 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1159 * BufferView.[Ch] (insertErrors): removed
1160 * BufferView.[Ch] (showErrorList): added
1161 * buffer.C (runChkTeX):
1162 * converter.C (scanLog): call showErrorList instead of inserterrors
1164 2003-05-13 André Pönitz <poenitz@gmx.net>
1166 * BufferView_pimpl.C:
1168 * bufferview_func.C:
1175 * tabular_funcs.h: tostr() from its own header
1177 * ParagraphParameters.C:
1182 * text3.C: STRCONV()
1184 2003-05-12 André Pönitz <poenitz@gmx.net>
1187 * BufferView_pimpl.C:
1191 * ParagraphParameters.C:
1195 * bufferview_funcs.C:
1208 * paragraph_funcs.C:
1212 * text3.C: boost::format -> bformat all over the place
1215 2003-05-09 André Pönitz <poenitz@gmx.net>
1217 * LColor.[Ch]: Pimpl the #include <map> away
1219 2003-05-09 John Levon <levon@movementarian.org>
1221 * bufferlist.C: never remove emergency saves
1223 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1225 * Makefile.am: better lib building
1227 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1229 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1231 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1232 (simpleTeXSpecialChars): adjust
1233 (simpleTeXSpecialChars): adjust
1234 * paragraph.C (simpleTeXOnePar): adjust
1235 * buffer.C (makeLaTeXFile): adjust
1237 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1239 * text2.C (changeDepth): parlist cleanup
1240 (getColumnNearX): ditto
1242 * rowpainter.C (getLabelFont): parlist cleanup
1244 * bufferlist.C (newFile): parlist cleanup
1246 * CutAndPaste.C (eraseSelection): parlist cleanup
1248 * BufferView_pimpl.C (trackChanges): parlist cleanup
1251 * BufferView.C (lockInset): parlist cleanup.
1252 (ChangeInsets): ditto
1254 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1256 * CutAndPaste.h: Update file header.
1258 * CutAndPaste.C: Update file header.
1259 Store the parts cut out of the Document in a limited_stack.
1260 (copySelection): adjust
1261 (pasteSelection): new function, takes the index in the limited stack.
1262 (nrOfParagraphs): adjust
1263 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1264 simplify error inset insertion.
1265 (checkPastePossible): adjust
1267 2003-05-06 John Levon <levon@movementarian.org>
1269 * text2.C: don't cast wrap inset to float
1271 2003-05-05 André Pönitz <poenitz@gmx.net>
1274 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1276 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1277 few naked Paragraph *.
1279 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1281 * bufferparams.C: Output warning if a document with missing
1282 TeX document class is loaded
1283 * exporter.C: Disable TeX exports if the document class is missing
1286 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1287 isTeXClassAvailable()
1289 2003-05-03 John Levon <levon@movementarian.org>
1292 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1293 explicit cursor show/hide
1295 * BufferView_pimpl.h:
1296 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1297 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1299 * lyxfunc.C: hide cursor before dispatching.
1304 * text3.C: remove explicit cursor hides
1306 2003-05-02 André Pönitz <poenitz@gmx.net>
1308 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1311 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1314 * text2.C: tiny whitespace
1316 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1318 * undo_funcs.C: almost only ws changes.
1320 * ParagraphList.C (splice): just return if pl is empty.
1322 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * ParagraphList.C (splice): new function.
1326 * CutAndPaste.C (pasteSelection): use it
1328 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1330 * CutAndPaste.C (pasteSelection): remove the last next and
1331 previous from this file.
1333 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1335 * CutAndPaste.C (pasteSelection): more clean up, user proper
1336 ParagraphList functions for pasteing.
1338 * ParagraphList.C (insert): new function, three arg insert
1340 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * ParagraphList.C (insert): new function, three arg insert
1344 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1347 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1351 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1355 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1358 (copySelection): clean up a bit.
1359 (pasteSelection): use make_pair
1361 * ParagraphList.C (ParagraphList): implement copy constructor
1362 (operator=): implement, base on copy constructor.
1365 * paragraph.C (erase): return a bool
1367 * paragraph_pimpl.C (erasePos): remove function, move contents...
1368 (erase): ... here. Return a bool.
1369 (erase): call erase instead of erasePos.
1371 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1373 * ParagraphList.h: define PitPosPair
1374 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1375 ParagraphList, fix a bug on pasting multiple pars
1376 * text2.C: change interface to C&P
1378 2003-04-30 André Pönitz <poenitz@gmx.net>
1380 * undo_func.C: revert part of yesterday's patch 2
1382 2003-04-30 John Levon <levon@movementarian.org>
1384 * LColor.C: s/tabular/table/
1386 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1388 * text3.C (dispatch): do not convert iterator -> pointer
1389 * undo_funcs.C (setCursorParUndo): ditto
1390 * text_funcs.C (transposeChars): ditto
1392 * text2.C (setLayout): ws changes only
1394 * text.C (breakParagraph): do not convert iterator -> pointer
1396 (acceptChange): ditto
1397 (rejectChange): ditto
1402 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1405 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1407 * text3.C (gotoInset): YABG (yet another bad getChar)
1409 2003-04-29 André Pönitz <poenitz@gmx.net>
1411 * paragraph.h: make operator= private unimplemented as long as
1414 * ParagraphList.C: whitespace
1417 * paragraph_pimpl.[Ch]:
1418 * paragraph_funcs.C:
1420 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1423 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1425 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1427 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1428 * paragraph.[Ch] (erase):
1429 * paragraph_pimpl.[Ch] (erase): change return type and value
1430 * text2.C (cutSelection): some rework
1432 2003-04-28 John Levon <levon@movementarian.org>
1434 * bufferlist.C: changes for unsaved changes dialog
1436 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * bufferlist.C (newFile): set language (messages_) for new
1441 * buffer.C (readFile): ws changes only.
1443 2003-04-28 André Pönitz <poenitz@gmx.net>
1448 * BufferView_pimpl.C:
1449 * BufferView.C: getParFromID related ParagraphList::iterator changes
1451 2003-04-28 André Pönitz <poenitz@gmx.net>
1453 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1456 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * messages.C: remove one more localedir class variable.
1460 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1462 * messages.C (getLocaleDir): singleton generation function
1464 (Messages): add a default constructor.
1466 * main.C (main): do not setup localedir here, do not call
1469 * gettext.C (_): use it.
1470 (gettext_init): delete funciton
1472 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1474 * gettext.C (getLyXMessages): new singleton generating function.
1476 * buffer.C (updateDocLang): adjust
1478 * Makefile.am (messages.o): add target
1479 (main.o): remove target
1481 2003-04-27 John Levon <levon@movementarian.org>
1486 * lyxvc.C: specify cancel button in Alert::prompt
1488 2003-04-26 John Levon <levon@movementarian.org>
1493 * LyXAction.C: add LFUN_INSET_SETTINGS
1495 * lyxfunc.C: don't enable tabular-feature when there's
1496 just any locking inset
1498 2003-04-26 John Levon <levon@movementarian.org>
1500 * bufferlist.C: re-add Cancel to buffer close question
1502 * lyxfunc.C: fix import UI a bit
1504 2003-04-25 John Levon <levon@movementarian.org>
1506 * gettext.C: remove the broken asserts for now
1508 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1510 * messages.C: make case where setlocale cannot comply work better.
1512 * buffer.C (updateDocLang): new function
1513 (changeLanguage): use it
1516 * text2.C (setCounter): use B_ a bit.
1518 * lyxlayout.C (Read): be sure to trim the label strings.
1520 * messages.C (Messages): fix typo in comment
1522 * buffer.C (readFile): set message_ after file is loaded.
1523 (makeDocBookFile): remove double return
1524 (changeLanguage): reset message_ upon language change.
1525 (B_): new func, use this to get translated buffer strings.
1527 * main.C: add myself and Jean Marc as authors.
1529 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * messages.[hC]: pimplify Messages, and three different pimpls to be
1532 used in different circumstances.
1534 * gettext.[Ch]: change for use with new message code.
1536 2003-04-24 André Pönitz <poenitz@gmx.net>
1538 * factory.C: support for eqref
1540 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1542 * messages.[Ch]: add missing char
1544 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1546 * messages.[Ch]: New files
1548 2003-04-18 John Levon <levon@movementarian.org>
1552 * BufferView_pimpl.C:
1556 * text2.C: remove layout-copy/paste (bug 778)
1558 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1560 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1562 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1564 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1565 if they succeed. Act accordingly.
1567 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * text2.C (setCharFont): adjust
1570 (setCounter): adjust
1571 (insertStringAsLines): adjust
1573 * text.C (leftMargin): adjust
1574 (setHeightOfRow): adjust
1576 * rowpainter.C (paintFirst): adjust
1579 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1581 (isFirstInSequence): ditto
1582 (getEndLabel): ditto
1585 * paragraph.C (getParLanguage): comment out some hard stuff.
1587 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1589 (simpleDocBookOnePar): ditto
1590 (makeDocBookFile): use ParagraphList::iterator
1592 * CutAndPaste.C (pasteSelection): adjust
1594 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * text2.C (getFont): adjust
1597 (getLayoutFont): adjust
1598 (getLabelFont): adjust
1600 * paragraph_funcs.C (TeXOnePar): adjust
1602 * buffer.C (simpleLinuxDocOnePar): adjust
1603 (simpleDocBookOnePar): adjust
1605 * CutAndPaste.C (pasteSelection): adjust
1607 * BufferView.C (getEncoding): adjust
1609 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1611 2003-04-16 John Levon <levon@movementarian.org>
1613 * lyxfind.C: use parlist stuff for search/changes
1615 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1619 * text2.C (deleteEmptyParagraphMechanism): adjust
1621 * text2.[Ch] (ownerParagraph): delete func (both of them
1623 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1627 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * ParagraphList.C: prepare for NO_NEXT
1631 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * text2.C (getFont): adjust
1634 (getLayoutFont): adjust
1635 (getLabelFont): adjust
1637 * paragraph.C (getFont): adjust
1638 (getLabelFont): adjust
1639 (getLayoutFont): adjust
1641 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1643 2003-04-15 John Levon <levon@movementarian.org>
1647 * lyx_main.C: handle Include in .ui files
1649 2003-04-15 John Levon <levon@movementarian.org>
1651 * MenuBackend.C: make the doc files length shorter
1654 * ToolbarBackend.C: handle toolbar placement flags,
1657 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1659 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1662 * paragraph_funcs.C (TeXOnePar): adjust
1664 * paragraph.C (getLabelFont): add outerfont arg, adjust
1665 (getLayoutFont): ditto
1666 (simpleTeXOnePar): adjust
1668 * paragraph_pimpl.C (realizeFont): delete func
1670 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1672 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1673 row argument, constify cur argument.
1675 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1677 * text2.C (getFont): adjust
1678 (getLayoutFont): adjust
1679 (getLabelFont): adjust
1681 * paragraph_funcs.C (TeXOnePar): adjust
1682 (outerFont): new func...
1683 (realizeFont): ...moved out from here, changed this to facilitate
1686 * paragraph.C (getFont): take outerfont as arg, adjust
1687 (simpleTeXOnePar): add outerfont arg, adjust
1689 * buffer.C (simpleLinuxDocOnePar): adjust
1690 (simpleDocBookOnePar): adjust
1692 * CutAndPaste.C (pasteSelection): adjust
1694 * BufferView.C (getEncoding): adjust
1696 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1698 * text2.C (setCharFont): adjust
1699 (setCounter): adjust
1701 * text.C (leftMargin): adjust
1702 (setHeightOfRow): adjust
1704 * rowpainter.C (paintFirst): adjust
1707 * paragraph_pimpl.C (realizeFont): adjust
1709 * paragraph.C (isFirstInSequence): move from here...
1710 * paragraph_funcs.C (isFirstInSequence): ...to here
1712 * paragraph.C (outerHook): move from here...
1713 * paragraph_funcs.C (outerHook): ...to here
1715 * paragraph.C (depthHook): move from here...
1716 * paragraph_funcs.C (depthHook): ...to here
1718 * paragraph.C (getEndLabel): move from here...
1719 * paragraph_funcs.C (getEndLabel): ...to here
1721 * text2.C (realizeFont): move from here...
1722 * paragraph_funcs.C (realizeFont): ...to here
1724 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1728 2003-04-14 Angus Leeming <leeming@lyx.org>
1730 * LColor.[Ch]: scrap LColor mathcursor.
1732 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * lyxlex.[Ch] (text): delete function
1735 * trans.C (Load): adjust
1736 * paragraph_funcs.C (readParToken): adjust
1738 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1741 vector<char> instead of a char[].
1743 * lyxlex_pimpl.C (getString): adjust
1745 (lex): use getString
1749 * lyxlex.C (text): use pimpl_->getString()
1753 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1755 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1756 (makeFontEntriesLayoutSpecific): temp var for par.size()
1757 (setLayout): temp var for ownerParagraphs().end()
1758 (fullRebreak): temp var for rows().end()
1759 (selectionAsString): temp var for boost::next(startpit), realize
1760 that the while really is a regular for loop.
1761 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1762 setCursor in one place.
1763 (setParagraph): temp vr for ownerParagraphs().end()
1764 (updateCounters): make the while loop a for loop
1765 (cutSelection): temp var for ownerParagraphs().end()
1766 (updateInset): make the do {} while() a regular for loop
1767 (getCursorX): use temp vars
1768 (setCurrentFont): use temp vars
1769 (getColumnNearX): use temp vars
1771 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1773 * text.C (transformChar): use temp var for getChar
1774 (computeBidiTables): use temp var for row->par()
1775 (fill): move temp vars for row->par() and pit->layout() earlier in
1777 (labelFill): use temp var for row->par()
1778 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1779 asc and desc, realize that pit never changes and that firstpit is
1780 just a duplicate and not needed. Exchange rit->par() with pit in a
1782 (breakAgain): use a temp var for boost::next(rit)
1783 (breakAgainOneRow): ditto
1784 (breakParagraph): use a temp var for rows().begin()
1785 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1786 (cursorRightOneWord): use temp var for cursor.par() and
1787 cursor.pos(), remove usage of tmpcursor.
1788 (cursorLeftOneWord): use temp var for cursor.par() and
1789 cursor.pos() only set cur at end of function.
1791 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * text.C, text2.C: exchange all usage of Paragraph::next with
1794 boost::next(ParagraphList::iterator)
1796 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1798 * text2.C (cursorTop): simplify implementation
1799 (cursorBottom): ditto
1800 (setParagraph): use ParagraphList::iterator
1801 (setCurrentFont): adjust
1802 (getColumnNearX): adjust
1803 (cursorRight): adjust
1804 (cursorLeft): remove usage of Paragraph::previous
1805 (cursorUpParagraph): ditto
1806 (deleteEmptyParagraphMechanism): slight cleanup
1808 * text.C (isBoundary): take a Paragraph const & instead of a
1810 (addressBreakPoint): ditto
1811 (leftMargin): remove usage of Paragraph::previous.
1812 (setHeightOfRow): ditto
1813 (cursorLeftOneWord): ditto
1814 (selectNextWordToSpellcheck): ditto
1817 (breakParagraph): remove one usage of Paragraph::next
1818 (redoParagraph): ditto
1819 (acceptChange): ditto
1820 (insertChar): adjust
1821 (rowBreakPoint): adjust
1823 * bufferview_funcs.C (toggleAndShow): adjust
1825 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1827 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1828 methods to access it.
1830 * text.C: Added updateRowPositions to compute all row positions.
1831 Make top_y and getRowNearY() to use the cached y position
1833 2003-04-11 John Levon <levon@movementarian.org>
1835 * text.C (rowBreakPoint): reintroduce the labelEnd
1836 checks, code copied from the row fill stuff. Deep voodoo.
1838 * text.C (fill): add a comment and debugging for the
1841 2003-04-11 John Levon <levon@movementarian.org>
1843 * text.C: make sure fullrow insets get wrapped to the next line,
1844 even when they're in a manual label
1846 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * text2.C (insertParagraph): make it take ParagraphList::iterator
1850 (setLayout): make it return ParagraphList::iterator
1851 (redoParagraphs): ditto
1853 (checkParagraph): ditto
1855 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1857 * text2.C: adjust several funcs.
1858 (realizeFont): take a ParagraphList::iterator as arg.
1859 (getLayoutFont): ditto
1860 (getLabelFont): ditto
1861 (setCharFont): ditto
1863 * text.C: adjust several funcs.
1865 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1867 * text.C (selectNextWordToSpellcheck): don't accidentally
1870 2003-04-10 John Levon <levon@movementarian.org>
1872 * ToolbarBackend.C (getIcon): special handling for
1875 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1877 * text2.C (cursorRight): a getChar assert fixed
1879 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1881 * text2.C (getFont): change to take a ParagraphList::iterator
1882 instead of Paragraph*
1883 Adjust several functions.
1885 * text.C (transformChar): change to take a ParagraphList::iterator
1886 instead of Paragraph*
1887 (singleWidth): ditto
1888 Adjust several functions.
1890 * rowpainter.C: adjust several functions
1891 * rowpainter.h:store a ParagraphList::iterator and not a
1895 2003-04-09 John Levon <levon@movementarian.org>
1900 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1901 and the "help" bits as well
1903 2003-04-09 John Levon <levon@movementarian.org>
1906 * ToolbarBackend.C: allow multiple toolbars
1908 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * undo_funcs.C (setCursorParUndo): adjust
1912 * text_funcs.C (transposeChars): adjust
1914 * text3.C (gotoNextInset): adjust
1917 * text2.C (setLayout): adjust
1918 (changeDepth): adjust
1920 (redoParagraphs): adjust
1921 (selectionAsString): adjust
1922 (setParagraph): adjust
1923 (insertInset): adjust
1924 (cutSelection): adjust
1925 (copySelection): adjust
1926 (pasteSelection): adjust
1927 (insertStringAsLines): adjust
1928 (updateInset): adjust
1929 (setCursor): change to take a ParagraphList::iterator parameter
1930 (setCursorIntern): change to take a ParagraphList::iterator parameter
1931 (setCurrentFont): adjust
1932 (cursorLeft): adjust
1933 (cursorRight): adjust
1934 (deleteEmptyParagraphMechanism): adjust
1936 * text.C (breakParagraph): adjust
1937 (insertChar): adjust
1938 (acceptChange): adjust
1939 (rejectChange): adjust
1940 (selectNextWordToSpellcheck): adjust
1941 (changeCase): adjust
1945 * lyxfind.C (SearchForward): adjust
1946 (SearchBackward): adjust
1947 (nextChange): adjust
1949 * lyxcursor.C (par): adjust
1951 * lyxcursor.h: store a ParagraphList::iterator instead of a
1954 * lyx_cb.C (getPossibleLabel): adjust
1956 * bufferview_funcs.C (toggleAndShow): adjust
1958 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1961 * BufferView.C (removeAutoInsets): adjust
1962 (lockedInsetStoreUndo): adjust
1964 2003-04-09 John Levon <levon@movementarian.org>
1966 * ToolbarBackend.C: try icon without argument
1967 if with argument fails
1969 2003-04-08 John Levon <levon@movementarian.org>
1972 * ToolbarBackend.C: add getIcon(), handle tooltip,
1973 and change from "Icon" to "Item".
1975 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1977 * BufferView.C (lockInset): another bad getchar crunched
1979 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1981 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1984 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1986 * lyxfind.C (searchForward, searchBackwards): bug 782
1988 2003-04-07 John Levon <levon@movementarian.org>
1990 * paragraph.C: remove dead comment
1992 * text.C: remove troublesome depth-fiddling code
1993 in leftMargin() and rightMargin() (bug 1017)
1995 * text.C: fix breaking of rows in nested lists
1998 * text2.C (updateCounters): fix up depth values
2001 2003-04-07 John Levon <levon@movementarian.org>
2003 * BufferView_pimpl.C: clear message when doc finishes resizing,
2004 and after a mouse event
2006 * lyxfunc.C: clear message after exiting inset
2008 2003-04-07 John Levon <levon@movementarian.org>
2010 * bufferview_funcs.C: show math status not outside
2011 status in the statusbar
2013 2003-04-07 John Levon <levon@movementarian.org>
2015 * lyxfunc.C: note status changed after a depth change
2017 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2019 * LaTeX.h: move AuxInfo operator==, != out of line.
2020 Remove LaTeX virtual destructor; nothing derives from it.
2021 Move operator()() out of public area and rename it startscript().
2022 Change protected for private.
2024 2003-04-04 Angus Leeming <leeming@lyx.org>
2027 * text2.C: remove unneeded #includes.
2029 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2031 * text2.C (dEPM): fix the heigth of the next row
2033 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2035 * text.C: squashed an invalid getChar requester + some ws changes
2037 2003-04-03 John Levon <levon@movementarian.org>
2039 * bufferview_funcs.h:
2040 * bufferview_funcs.C:
2043 * text2.C: make getStatus work for the env depth lfuns
2045 2003-04-03 John Levon <levon@movementarian.org>
2047 * bufferview_funcs.h:
2048 * bufferview_funcs.C:
2051 * text2.C: parlistize decDepth(), by merging it with incDepth()
2053 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * lyxrow.h: store a ParagraphList::iterator instead of a
2056 Paragraph* and adjust other class functions to suit.
2058 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2061 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2063 * text2.C (setCursor): do not anchor to cursor row for the time being
2065 2003-04-02 John Levon <levon@movementarian.org>
2072 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2074 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * paragraph.h: make ParagraphList and ParagraphList::iterator
2077 friends of Paragraph.
2079 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2081 * ParagraphList.C: Use the private next_ and previous_ from
2084 2003-04-01 John Levon <levon@movementarian.org>
2088 * Makefile.am: rename, remove defaults gunk
2091 * MenuBackend.C: remove defaults gunk
2094 * Languages.C: remove defaults gunk
2097 * lyx_main.C: error out if files couldn't be found.
2099 2003-04-02 John Levon <levon@movementarian.org>
2101 * text2.C: make incDepth() use parlist
2103 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * undo_funcs.C (firstUndoParagraph): adjust
2107 * text3.C (gotoInset): adjust
2108 (dispatch): adjust, and rewrite loop.
2110 * text2.C (init): adjust, and rewrite loop.
2111 (redoParagraphs): adjust
2112 (updateInset): adjust, and rewrite loop.
2113 (deleteEmptyParagraphMechanism): adjust
2115 * tabular.C (LyXTabular): adjust
2116 (SetMultiColumn): adjust
2119 * lyxtext.[Ch] (ownerParagraph): delete function
2120 (ownerParagraphs): new function returns a ParagraphList.
2122 * BufferView.C (removeAutoInsets): adjust
2123 (insertErrors): adjust
2124 (setCursorFromRow): adjust
2126 2003-04-01 Angus Leeming <leeming@lyx.org>
2128 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2131 2003-04-02 John Levon <levon@movementarian.org>
2137 * text_funcs.C: make transposeChars a free function
2139 * lyxrow_funcs.C: remove wrong comment
2141 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * rowpainter.C: adjust
2149 * lyxrow_funcs. [Ch]: new files
2151 * lyxrow.[Ch]: remove next and previous pointers
2152 (next,previous): remove accessor functions
2153 (isParEnd): move to lyxrow_funcs
2154 (lastPos): move to lyxrow_funcs
2155 (nextRowIsAllInset): move to lyxrow_funcs
2156 (lastPrintablePos): move to lyxrow_funcs
2157 (numberOfSeparators): move to lyxrow_funcs
2158 (numberOfHfills): move to lyxrow_funcs
2159 (numberOfLabelHfills): move to lyxrow_funcs
2160 (hfillExpansion): move to lyxrow_funcs
2164 * bufferview_funcs.C (toggleAndShow): adjust
2166 * RowList.h: Remove class RowList from file leave just a
2169 * RowList.C: delete file
2171 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2174 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * text3.C (cursorPrevious): adjust
2177 (cursorNext): adjust
2180 * text2.C (redoHeightOfParagraph): adjust
2181 (redoDrawingOfParagraph): adjust
2184 * text.C (breakParagraph): adjust
2185 (insertChar): adjust
2188 * rowpainter.C (RowPainter): adjust
2189 (leftMargin): simplify and adjust
2190 (most rowpainter functions): adjust.
2192 * rowpainter.h: store the row as RowList::iterator not as Row*
2194 * lyxcursor.C (row): taka RowList::iterator as arg
2197 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2200 2003-04-01 Angus Leeming <leeming@lyx.org>
2202 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2203 stuff like bool Bool.
2205 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2207 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2210 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2215 * lyxtext.h (rows): drop one version and leve a const variant that
2216 returns a RowList::iterator.
2218 2003-03-31 Angus Leeming <leeming@lyx.org>
2220 * text.C (fill): ensure that the signature is the same as that in the
2223 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * text2.C (redoParagraphs): adjust
2226 (updateCounters): adjust
2227 (checkParagraph): adjust
2228 (getColumnNearX): adjust and reformat a bit.
2230 * text.C (top_y): adjust
2232 (leftMargin): adjust
2233 (prepareToPrint): adjust
2235 (getRowNearY): adjust
2237 * lyxtext.h: make rowlist_ mutable.
2239 * RowList.h: add const_iterator
2240 * RowList.C: adjust for RowList::const_iterator.
2242 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2245 2003-03-31 John Levon <levon@movementarian.org>
2248 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2250 * lyx_main.C: set default fonts from using lyx_gui funcs
2252 * exporter.C: pdf_mode moved from lyxrc
2255 * lyxfunc.C: changes from above
2257 2003-03-31 John Levon <levon@movementarian.org>
2259 * lyx_main.C: fix to the last fix
2261 2003-03-31 John Levon <levon@movementarian.org>
2263 * bufferlist.C: "Load original" -> "Load Original"
2269 * format.C: more Alert cleanups
2271 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * text2.C (removeParagraph): make it take a RowList::iterator as
2275 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2276 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2278 * text.C (anchor_row): make it take a RowList::iterator as arg,
2280 (computeBidiTables): make it take a const reference to Row instead
2281 of Row pointer, adjust.
2282 (leftMargin): make it take a RowList::iterator as arg, adjust.
2283 (rowBreakPoint): adjust
2284 (breakAgainOneRow): make it take a RowList::iterator as arg,
2286 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2288 * bufferview_funcs.C (toggleAndShow): adjust
2290 2003-03-30 John Levon <levon@movementarian.org>
2294 * boost-inst.C: moved to support
2296 * several files: changes as a result
2298 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * text2.C (LyXText): adjust.
2302 (removeRow): make it take a RowList::iterator as arg, adjust.
2303 (fullRebreak): adjust
2304 (deleteEmptyParagraphMechanism): adjust
2305 (clearPaint): adjust
2308 * text.C (top_y): adjust
2309 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2310 (breakAgain): make it take a RowList::iterator as arg, adjust.
2311 (breakParagraph): adjust
2312 (insertChar): adjust
2315 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2316 need_break_row, and refresh_row.
2318 * text3.C (dispatch): adjust
2320 * text2.C (checkParagraph): adjust
2322 (setCursorFromCoordinates): adjust
2324 * text.C (top_y): adjust
2326 (getRow): make it return a RowList::iterator, adjust
2327 (getRowNearY): make it return a RowList::iterator, adjust
2329 * text2.C (init): adjust
2330 (insertRow): remove function
2331 (insertParagraph): adjust
2332 (redoParagraphs): adjust
2333 (fullRebreak): adjust
2334 (updateCounters): adjust
2336 * text.C (top_y): rewrite to use RowList iterators.
2338 (setHeightOfRow): rewrite to sue RowList iterators.
2339 (appendParagraph): adjust
2340 (breakAgain): adjust
2341 (breakAgainOneRow): adjust
2342 (breakParagraph): adjust
2344 (getRowNearY): adjust, and remove commented code.
2346 * lyxtext.h (firstRow): delete function
2347 (lastRow): delete function
2348 (rows): new function (const and non-const versions.)
2349 (insertRow): delete function
2351 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2353 2003-03-29 John Levon <levon@movementarian.org>
2355 * BufferView_pimpl.C: always update scrollbar top
2356 because pasting text when we're anchored could mean we
2357 miss an update altogether
2359 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * text2.C (init): use rowlist_.end() and not 0.
2362 (insertRow): change to take a RowList::iterator as arg, adjust
2364 (insertParagraph): change to take a RowList::iterator as arg,
2366 (redoParagraphs): remove some debug msgs.
2368 * text.C (appendParagraph): change to take a RowList::iterator
2369 arg, adjust for this.
2370 (breakAgain): add an assert
2371 (breakAgainOneRow): ditto
2373 2003-03-29 John Levon <levon@movementarian.org>
2375 * text2.C: do not clear selection after inc/decDepth
2378 2003-03-29 John Levon <levon@movementarian.org>
2381 * buffer.C: fix broken strerrors according to Lars
2383 2003-03-29 John Levon <levon@movementarian.org>
2385 * converters.C: more Alert cleanups
2387 2003-03-29 John Levon <levon@movementarian.org>
2389 * bufferview_funcs.C: remove pointless Alert
2391 * buffer.C: fix confusing error message when
2392 a template is chmoded 000
2394 2003-03-29 John Levon <levon@movementarian.org>
2398 * BufferView_pimpl.C: Alert fixes
2402 * tabular-old.C: remove unused table compat reading
2404 2003-03-29 John Levon <levon@movementarian.org>
2409 * lyx_cb.C: more Alert cleanups
2411 * lyxfunc.C: don't allow chktex if not latex document
2413 2003-03-29 John Levon <levon@movementarian.org>
2417 * buffer.C: warnings pushed down from support/,
2420 2003-03-29 John Levon <levon@movementarian.org>
2422 * lyxfunc.C: safety check for C-r (revert)
2424 2003-03-29 John Levon <levon@movementarian.org>
2427 * bufferlist.C: several UI fixes using Alert::prompt.
2428 Fix the pointless looping quit code. Fix stupid revert
2433 * lyx_cb.C: use Alert::prompt
2435 * lyx_main.C: remove a silly question
2437 * lyxfunc.C: remove a couple of silly questions,
2440 2003-03-28 John Levon <levon@movementarian.org>
2442 * text2.C: fix bug 974 (End on empty par)
2444 2003-03-28 John Levon <levon@movementarian.org>
2446 * BufferView_pimpl.C:
2448 * lfuns.h: remove do-nothing math greek lfuns
2450 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * lyxgluelength.h (isValidGlueLength): add default arg on
2453 parameter 2. Remove default arg from friend in class.
2455 * lyxlength.h (isValidLength): add default arg on parameter 2.
2456 Remove default arg from friend in class.
2458 * text2.C (LyXText): adjust, initialize refresh_row.
2462 (insertParagraph): adjst
2463 (redoParagraphs): adjust
2464 (fullRebreak): adjust
2465 (updateCounters): adjust
2466 (deleteEmptyParagraphMechanism): first attempt at fixing a
2469 * text.C (top_y): adjust
2470 (setHeightOfRow): adjust
2472 (getRowNearY): adjust
2474 * lyxtext.h: include RowList.h
2475 (~LyXText): not needed anymore, deleted.
2476 (firstRow): modify for RowList
2477 (lastRow): new function
2478 Delete firstrow and lastrow class variables, add a Rowlist
2479 rowlist_ class variable.
2481 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2484 * RowList.C (insert): fix case where it == begin().
2486 2003-03-26 Angus Leeming <leeming@lyx.org>
2488 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2489 the thesaurus dialog.
2491 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2495 * RowList.[Ch]: new files
2497 * ParagraphList.C (erase): handle the case where it == begin
2500 2003-03-25 John Levon <levon@movementarian.org>
2504 * aspell.C: add new aspell support
2507 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2510 2003-03-25 Angus Leeming <leeming@lyx.org>
2513 * LyXAction.C (init): new LFUN_INSET_INSERT.
2515 * BufferView_pimpl.C (dispatch): split out part of the
2516 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2518 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2521 2003-03-25 Angus Leeming <leeming@lyx.org>
2523 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2525 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2528 * text3.C: remove useless row->height(0)
2530 2003-03-25 John Levon <levon@movementarian.org>
2534 * text3.C: rename the refreshing stuff to better names
2536 2003-03-24 John Levon <levon@movementarian.org>
2538 * BufferView_pimpl.h:
2539 * BufferView_pimpl.C: update layout choice on a mouse
2542 2003-03-23 John Levon <levon@movementarian.org>
2544 * Makefile.am: fix commandtags.h reference
2546 2003-03-22 John Levon <levon@movementarian.org>
2548 * BufferView_pimpl.C:
2553 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2555 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2558 * text.C: take the rtl methods out of line
2560 2003-03-21 André Pönitz <poenitz@gmx.net>
2562 * metricsinfo.[Ch]: new files containing structures to be passed around
2563 during the two-phase-drawing...
2565 2003-03-21 André Pönitz <poenitz@gmx.net>
2567 * lyxtextclass.C: read 'environment' tag.
2569 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2571 * text2.C (removeRow): fix bug 964
2573 2003-03-20 John Levon <levon@movementarian.org>
2577 * text2.C: paint cleanups. Inset::update() dropped font
2580 2003-03-19 John Levon <levon@movementarian.org>
2582 * lyxfunc.C: only fitcursor/markDirty if available()
2584 2003-03-19 John Levon <levon@movementarian.org>
2586 * commandtags.h: rename to ...
2588 * lfuns.h: ... this, and renumber / cleanup
2590 2003-03-19 John Levon <levon@movementarian.org>
2592 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2593 fit the cursor after an lfun
2597 * BufferView_pimpl.h:
2598 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2600 * LyXAction.C: layout-character should have ReadOnly
2602 * ParagraphParameters.C:
2604 * bufferview_funcs.C:
2611 * undo_funcs.C: changes from above
2613 2003-03-18 John Levon <levon@movementarian.org>
2615 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2616 remove it from update()
2618 * lyxfunc.C: update layout choice after an lfun
2620 * text3.C: remove extra updateLayoutChoice()s
2622 2003-03-18 John Levon <levon@movementarian.org>
2624 * text.C: top_y change means full repaint, fix
2625 a drawing bug with cursor movement
2627 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2631 * text2.C: anchor row on setCursor
2633 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2635 * lyxtext.h: remove almost all mutable keywords
2638 * text3.C: remove const keywords accordingly
2640 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2642 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2644 (TeXEnvironment): ditto
2647 2003-03-17 John Levon <levon@movementarian.org>
2649 * text.C (rowBreakPoint): remove attempt to fix displayed
2650 math insets inside a manual label
2652 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * lyxtext.h: remove BufferView* as first arg from almost all class
2656 * other files: adjust.
2658 2003-03-17 John Levon <levon@movementarian.org>
2662 * text2.C: more paint cleanups
2664 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2667 * rowpainter.C: remove "smart" background painting code
2669 2003-03-16 John Levon <levon@movementarian.org>
2674 * text3.C: add helper functions for setting refresh_row/y
2676 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2678 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2679 newline inset which *can* get inserted in the pass_thru layouts.
2680 This is primarily for literate documents.
2682 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2684 * buffer.C: increment LYX_FORMAT to 223
2686 2003-03-14 André Pönitz <poenitz@gmx.net>
2688 * textclass.h: prepare for environment handling, ws changes
2689 * lyxlayout.C: read latexheader and latexfooter tags
2691 2003-03-14 John Levon <levon@movementarian.org>
2693 * text2.C: rewrite ::status() a bit
2695 2003-03-13 John Levon <levon@movementarian.org>
2697 * lyxtext.h: add some docs
2699 2003-03-13 John Levon <levon@movementarian.org>
2704 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2706 2003-03-13 John Levon <levon@movementarian.org>
2708 * text3.C: fix appendix redrawing
2710 2003-03-13 John Levon <levon@movementarian.org>
2712 * text.C (setHeightOfRow):
2714 * rowpainter.C: make appendix mark have the text
2715 "Appendix" so the user knows what it is
2718 * LColor.C: s/appendixline/appendix/ from above
2720 2003-03-13 John Levon <levon@movementarian.org>
2722 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2724 * text.C: fix a getChar(pos) bug properly
2726 2003-03-13 Angus Leeming <leeming@lyx.org>
2729 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2730 Probably only temporary. Let's see how things pan out.
2732 * BufferView.C (unlockInset):
2733 * BufferView_pimpl.C (fitCursor):
2734 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2736 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2737 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2739 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2740 new functions that convert ParagraphParameters to and from a string.
2742 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2743 BufferView::Pimpl's dispatch.
2744 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2746 2003-03-13 André Pönitz <poenitz@gmx.net>
2750 * factory.C: make it aware of InsetEnv
2752 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * text2.C (setCursor): never ask for one past last
2755 (setCursor): add some debugging messages.
2757 * text.C (singleWidth): never ask for one past last
2758 (singleWidth): ditto
2760 (rightMargin): ditto
2761 (rowBreakPoint): ditto
2762 (setHeightOfRow): ditto
2763 (prepareToPrint): ditto
2765 * rowpainter.C (paintBackground): never ask for one past last
2766 (paintText): never ask for one past last
2768 * paragraph_pimpl.C (getChar): make the assert stricter, never
2769 allow the one past last pos to be taken
2771 * paragraph.C (getChar): ws changes only
2773 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2774 (numberOfSeparators): ditto
2775 (numberOfHfills): ditto
2777 2003-03-12 John Levon <levon@movementarian.org>
2783 * paragraph_funcs.C: fix per-buffer authorlists
2785 2003-03-12 John Levon <levon@movementarian.org>
2787 * text.C: fix newline in right address
2789 2003-03-12 Angus Leeming <leeming@lyx.org>
2791 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2792 duplicate those in LyXFunc::dispatch.
2796 * ToolbarDefaults.C:
2797 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2798 Add LFUN_FONTFREE_UPDATE.
2800 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2801 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2803 * bufferview_func.[Ch]: several new functions to facilliate
2804 transfer of data to and from the character dialog.
2806 2003-03-12 John Levon <levon@movementarian.org>
2811 * paragraph_funcs.C:
2812 * paragraph_pimpl.C:
2816 * text3.C: remove META_NEWLINE in favour of an inset
2819 * rowpainter.C: remove paintNewline (done by inset)
2821 2003-03-12 John Levon <levon@movementarian.org>
2823 * paragraph_pimpl.C: complain about bad getChar()s
2824 for a while at least
2826 2003-03-12 John Levon <levon@movementarian.org>
2829 * buffer.C: move paragraph read into a separate function,
2830 a little renaming to reflect that.
2833 * bufferparams.C: remove the author_ids map, not necessary now
2836 * factory.C: moved Buffer::readInset to here
2838 * paragraph_funcs.h:
2839 * paragraph_funcs.C: readParagraph free function moved from
2842 * tabular.C: name change
2844 2003-03-12 John Levon <levon@movementarian.org>
2847 * ParagraphParameters.C: move par params input to
2850 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2851 behave like a normal read from the stream wrt reading
2852 a line vs. a \\token
2854 2003-03-12 John Levon <levon@movementarian.org>
2857 * ParagraphParameters.h:
2858 * ParagraphParameters.C: move output code to a
2861 2003-03-12 John Levon <levon@movementarian.org>
2863 * BufferView.C (insertLyXFile):
2866 * tabular.C: use a parlist iterator for creating the
2869 2003-03-12 John Levon <levon@movementarian.org>
2871 * buffer.C: make current_change static local not
2874 2003-03-12 John Levon <levon@movementarian.org>
2876 * buffer.C: fix insertStringAsLines for change tracking
2878 2003-03-12 John Levon <levon@movementarian.org>
2885 * bufferparams.C: move author list into params. Rename some
2886 functions. Move the header reading into a separate token
2887 loop. Move the header token reading into BufferParams.
2889 2003-03-12 John Levon <levon@movementarian.org>
2891 * changes.C: put debug inside lyxerr.debugging() checks
2893 2003-03-11 André Pönitz <poenitz@gmx.net>
2895 * factory.C: make it aware of InsetHFill
2897 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2899 * buffer.C (latexParagraphs): move function from here...
2900 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2903 2003-03-10 Angus Leeming <leeming@lyx.org>
2905 * LyXAction.C (init): fix bug in poplating array with multiple entries
2906 with the same LFUN (spotted by JMarc).
2908 2003-03-10 John Levon <levon@movementarian.org>
2911 * text2.C: move getColumnNearX() near its
2914 2003-03-10 John Levon <levon@movementarian.org>
2916 * text.C: fix break before a minipage
2918 2003-03-10 John Levon <levon@movementarian.org>
2920 * text.C: fix the last commit
2922 2003-03-09 John Levon <levon@movementarian.org>
2926 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2927 bug 365 (don't break before insets unless needed). Don't
2928 return a value > last under any circumstances.
2930 2003-03-09 Angus Leeming <leeming@lyx.org>
2932 * BufferView_pimpl.C (trackChanges, dispatch): call
2933 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2935 2003-03-09 Angus Leeming <leeming@lyx.org>
2937 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2938 than Dialogs::showAboutlyx().
2940 2003-03-09 Angus Leeming <leeming@lyx.org>
2942 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2943 than Dialogs::showTabularCreate().
2945 2003-03-09 John Levon <levon@movementarian.org>
2949 * text2.C: 3rd arg to nextBreakPoint was always the same.
2952 2003-03-08 John Levon <levon@movementarian.org>
2959 * text2.C: Remove the "main" bit from the "main body"
2962 2003-03-08 John Levon <levon@movementarian.org>
2964 * text.C (leftMargin): The left margin of an empty
2965 manual label paragraph should not include the label width
2968 * text.C (prepareToPrint): don't attempt to measure hfills
2969 for empty manual label paragraphs - the answer should be 0
2971 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * CutAndPaste.C: remove commented code and reindent.
2975 2003-03-08 John Levon <levon@movementarian.org>
2978 * lyxfunc.C: move reloadBuffer()
2981 * BufferView.C: to here
2983 * lyxvc.C: add comment
2986 * vc-backend.C: call bv->reload() to avoid
2987 getStatus() check on MENURELOAD
2989 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2991 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2992 to an old format .dep file.
2994 2003-03-07 Angus Leeming <leeming@lyx.org>
2996 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2997 when the LFUN_MOUSE_RELEASE should have been handled by
2998 inset->localDispatch.
3000 2003-03-07 Angus Leeming <leeming@lyx.org>
3002 * BufferView_pimpl.C (dispatch):
3003 * LyXAction.C (init):
3004 * ToolbarDefaults.C (init):
3006 * lyxfunc.C (getStatus):
3007 remove LFUN_INSET_GRAPHICS.
3009 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3011 2003-03-07 Angus Leeming <leeming@lyx.org>
3014 * LyXAction.C (init):
3015 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3017 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3020 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3022 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3023 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3025 2003-03-07 Angus Leeming <leeming@lyx.org>
3027 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3030 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3032 * ParagraphList.C (front): new function
3035 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3037 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3038 and top_row_offset_. removed var first_y.
3040 * text2.C (LyXText, removeRow):
3042 * BufferView_pimpl.C:
3043 use these methods instead of using first_y
3045 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * text2.C (pasteSelection): adjust for checkPastePossible
3049 * CutAndPaste.C: remove Paragraph * buf and replace with
3050 ParagraphList paragraphs.
3051 (DeleteBuffer): delete
3052 (cutSelection): change the tc type to textclass_type
3053 (copySelection): change the tc type to textclass_type
3054 (copySelection): adjust for ParagraphList
3055 (pasteSelection): change the tc type to textclass_type
3056 (pasteSelection): adjust for Paragraphlist
3057 (nrOfParagraphs): simplify for ParagraphList
3058 (checkPastePossible): simplify for ParagraphList
3059 (checkPastePossible): remove unused arg
3061 * ParagraphList.C (insert): handle the case where there are no
3064 * CutAndPaste.h: make CutAndPaste a namespace.
3066 * text3.C (dispatch): adjust
3068 * text.C (breakParagraph): add a ParagraphList as arg
3070 * paragraph_funcs.C (breakParagraph): change to take a
3071 BufferParams and a ParagraphList as args.
3072 (breakParagraphConservative): ditto
3073 (mergeParagraph): ditto
3074 (TeXDeeper): add a ParagraphList arg
3075 (TeXEnvironment): ditto
3078 * buffer.C (readLyXformat2): adjust
3079 (insertStringAsLines): adjust
3080 (latexParagraphs): adjust
3082 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3083 (cutSelection): adjust
3084 (pasteSelection): adjust
3086 * BufferView_pimpl.C (insertInset): adjust
3088 2003-03-05 Angus Leeming <leeming@lyx.org>
3091 * LyXAction.C (init):
3092 * BufferView_pimpl.C (dispatch):
3093 * lyxfunc.C (getStatus):
3094 remove LFUN_CHILD_INSERT.
3096 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3098 2003-03-05 Angus Leeming <leeming@lyx.org>
3101 * LyXAction.C (init):
3102 * src/factory.C (createInset):
3103 * lyxfunc.C (getStatus):
3104 * text3.C (dispatch):
3105 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3107 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3109 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * ParagraphList.C (insert): handle insert right before end()
3112 (erase): fix cases where it can be first or last paragraph.
3114 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3117 Paragraph::next and Paragraph::previous
3120 * text.C (breakParagraph): adjust
3122 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3123 BufferParams& as arg.
3124 (breakParagraph): use ParagraphList::insert
3125 (breakParagraphConservative): take a Buffer* instead of a
3126 BufferParams& as arg.
3127 (breakParagraphConservative): use ParagraphList::insert.
3129 * buffer.C (insertStringAsLines): un-const it
3130 (insertStringAsLines): adjust
3132 * ParagraphList.C (insert): new function
3134 * CutAndPaste.C (pasteSelection): adjust
3136 * text.C (backspace): adjust
3138 * tabular.C (SetMultiColumn): adjust
3140 * CutAndPaste.C (cutSelection): adjust
3141 (pasteSelection): adjust
3143 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3144 Buffer const * as arg
3146 * ParagraphList.C (erase): new function
3147 * paragraph_funcs.C (mergeParagraph): use it
3148 (mergeParagraph): make it take a Buffer* instead of a
3149 BufferParams* as arg
3151 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3153 (breakParagraphConservative): ditto
3155 * paragraph.h: remove the breakParagraph friend
3157 * paragraph.C (eraseIntern): new function
3158 (setChange): new function
3160 * paragraph_funcs.C (mergeParagraph): make it take a
3161 ParagraphList::iterator instead of a Paragraph *, adjust
3164 * paragraph.h: move an #endif so that the change tracking stuff
3165 also works in the NO_NEXT case.
3167 2003-03-04 Angus Leeming <leeming@lyx.org>
3170 * LyXAction.C: new LFUN_INSET_MODIFY.
3172 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3173 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3175 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * several files: ws changes only
3179 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3180 (TeXEnvironment): ditto
3183 * buffer.C (makeLaTeXFile): adjust
3184 (latexParagraphs): make it take ParagraphList::iterator as args
3186 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * buffer.C (latexParagraphs): adjust
3190 * paragraph.C (TeXOnePar): move function...
3191 (optArgInset): move function...
3192 (TeXEnvironment): move function...
3193 * paragraph_pimpl.C (TeXDeeper): move function...
3194 * paragraph_funcs.C: ...here
3196 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3198 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * buffer.C (readInset): remove compability code for old Figure and
3203 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * buffer.C: ws changes
3208 * BufferView_pimpl.C: ditto
3211 * bufferlist.h: ditto
3215 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3217 * converter.[Ch]: split into itself +
3220 * Makefile.am: += graph.[Ch] + format.[Ch]
3227 * lyxrc.C: added #include "format.h"
3229 2003-02-27 Angus Leeming <leeming@lyx.org>
3231 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3234 * factory.C (createInset): add "label" to the factory.
3236 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3237 string and do no more.
3239 2003-02-27 Angus Leeming <leeming@lyx.org>
3242 * LyXAction.C (init):
3243 * factory.C (createInset):
3244 * BufferView_pimpl.C (dispatch):
3245 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3247 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3249 * lyxfunc.C (dispatch):
3250 * text3.C (dispatch): pass name to params2string.
3252 2003-02-26 Angus Leeming <leeming@lyx.org>
3254 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3256 Rearrange the ~includes. Strip out the unnecessary ones.
3258 * factory.C (createInset): reformat.
3259 create new insets for the various LFUN_XYZ_APPLY lfuns.
3261 2003-02-26 John Levon <levon@movementarian.org>
3264 * lyxrow.C: add isParStart,isParEnd helpers
3266 * paragraph.h: make isInserted/DeletedText take refs
3268 * paragraph_funcs.h:
3269 * paragraph_funcs.C: remove #if 0'd code
3274 * text.C: use lyxrow helpers above.
3275 Move draw and paint routines to RowPainter.
3276 Make several methods use refs not pointers.
3277 Make backgroundColor() const.
3278 Add markChangeInDraw(), isInInset().
3279 Merge changeRegionCase into changeCase.
3280 Make workWidth() shouldn't-happen code into an Assert.
3283 * rowpainter.C: new class for painting a row.
3286 * vspace.C: make inPixels take a ref
3288 2003-02-26 Angus Leeming <leeming@lyx.org>
3290 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3293 2003-02-25 John Levon <levon@movementarian.org>
3295 * ispell.C: give the forked command a more accurate name
3297 2003-02-22 John Levon <levon@movementarian.org>
3300 * toc.C: make TocItem store an id not a Paragraph *
3303 2003-02-21 Angus Leeming <leeming@lyx.org>
3305 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3306 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3307 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3308 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3309 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3310 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3312 * BufferView_pimpl.C (dispatch):
3313 * LyXAction.C (init):
3314 * factory.C (createInset):
3315 * lyxfunc.C (getStatus, dispatch):
3316 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3318 2003-02-21 Angus Leeming <leeming@lyx.org>
3320 * BufferView_pimpl.C (MenuInsertLyXFile):
3321 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3322 * lyxfunc.C (menuNew, open, doImport):
3323 no longer pass a LyXView & to fileDlg.
3325 2003-02-21 Angus Leeming <leeming@lyx.org>
3327 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3328 * LyXAction.C: change, BIBKEY to BIBITEM.
3329 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3330 Change InsetBibKey to InsetBibitem.
3331 Change BIBKEY_CODE to BIBITEM_CODE.
3332 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3333 * factory.C: replace insetbib.h with insetbibitem.h.
3334 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3335 * paragraph.C: replace insetbib.h with insetbibitem.h.
3336 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3337 Change bibkey() to bibitem().
3338 * text.C: remove insetbib.h.
3339 * text2.C: replace insetbib.h with insetbibitem.h.
3340 change bibkey() to bibitem().
3341 * text3.C: remove insetbib.h.
3342 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3344 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3346 * lyxrc.C (output): enclose user email in quotes (in case there are
3349 2003-02-18 John Levon <levon@movementarian.org>
3351 * buffer.h: add std::
3353 2003-02-17 John Levon <levon@movementarian.org>
3359 * pspell.C: reworking. Especially in ispell, a large
3360 number of clean ups and bug fixes.
3362 * lyxfunc.C: fix revert to behave sensibly
3364 2003-02-17 André Pönitz <poenitz@gmx.net>
3367 * commandtags.h: new LFUN_INSERT_BIBKEY
3377 * paragraph_func.C: remove special bibkey handling
3379 2003-02-17 John Levon <levon@movementarian.org>
3381 * text.C (Delete): fix case where delete at the end of
3382 the very first paragraph would not merge the pars
3384 2003-02-17 John Levon <levon@movementarian.org>
3386 * lyxrow.C: fix lastPrintablePos()
3388 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3390 * bufferparams.C (writeLaTeX): add a std:here
3392 * buffer.C: and remove a using directive there
3394 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3396 * buffer.C (makeLaTeXFile): move the code that generates the
3399 * bufferparams.C (writeLaTeX): ... in this new method
3401 * LaTeXFeatures.C (getEncodingSet): make const
3402 (getLanguages): make const
3404 * MenuBackend.C (binding): returns the binding associated to this
3406 (add): sets the status of each item by calling getStatus. Adds
3408 (read): add support for OptSubMenu
3409 (expand): remove extra separator at the end of expanded menu
3411 2003-02-15 John Levon <levon@movementarian.org>
3414 * BufferView_pimpl.C:
3416 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3417 inset code that had no actual effect. Remove unneeded status
3420 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3422 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3425 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3427 * text.C (drawLengthMarker): also draw an arrow marker for
3428 symbolic lengths (medskip...)
3430 2003-02-14 John Levon <levon@movementarian.org>
3433 * tabular.C: better method names
3435 2003-02-14 John Levon <levon@movementarian.org>
3437 * BufferView_pimpl.C:
3442 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3443 it's a more accurate name. Remove some pointless uses.
3445 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3447 * text2.C (LyXText): change order of initilizers to shut off
3450 2003-02-14 John Levon <levon@movementarian.org>
3452 * buffer.C: use ParIterator for getParFromID()
3456 * paragraph_pimpl.h:
3457 * paragraph_pimpl.C: remove unused getParFromID()
3459 2003-02-14 John Levon <levon@movementarian.org>
3461 * buffer.C: remove some very old #if 0'd parse code
3463 2003-02-13 John Levon <levon@movementarian.org>
3467 * text2.C: move hfillExpansion(), numberOfSeparators(),
3468 rowLast(), rowLastPrintable(), numberofHfills(),
3469 numberOfLabelHfills() ...
3472 * lyxrow.C: ... to member functions here.
3477 * text.C: remove LyXText::beginningOfMainBody(), and call
3478 p->beginningOfMainBody() directly. Move the check for
3479 LABEL_MANUAL into the latter.
3486 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3492 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3493 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3495 2003-02-13 John Levon <levon@movementarian.org>
3497 * CutAndPaste.C: remove debug
3499 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3501 * paragraph.C (asString): remove two unused variables
3503 * lyxtextclass.C (readTitleType):
3505 (LyXTextClass): handle new members titletype_ and titlename_
3507 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3509 2003-02-09 John Levon <levon@movementarian.org>
3512 * buffer.C: replace hand-coded list with a map for the dep clean
3514 2003-02-08 John Levon <levon@movementarian.org>
3516 * LaTeX.C: consolidate code into showRunMessage() helper
3518 2003-02-08 John Levon <levon@movementarian.org>
3523 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3524 and pass the size in explicitly
3526 * BufferView_pimpl.h:
3527 * BufferView_pimpl.C:
3529 * BufferView.C: add getCurrentChange()
3531 * BufferView_pimpl.h:
3532 * BufferView_pimpl.C: handle change lfuns
3534 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3535 for changes. Mark pasted paragraphs as new.
3537 * support/lyxtime.h:
3538 * support/lyxtime.C:
3539 * DepTable.C: abstract time_t as lyx::time_type
3542 * LColor.C: add colours for new text, deleted text, changebars
3544 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3545 package use "usenames" option.
3549 * LyXAction.C: add change lfuns
3553 * author.C: author handling
3556 * buffer.C: add a per-buffer author list, with first entry as
3557 current author. Handle new .lyx tokens for change tracking. Output
3558 author list to .lyx file. Output dvipost stuff to .tex preamble.
3559 Bump lyx format to 222.
3562 * bufferlist.C: add setCurrentAuthor() to reset current author details
3566 * bufferparams.C: add param for tracking
3568 * bufferview_funcs.C: output change info in minibuffer
3572 * changes.C: add change-tracking structure
3575 * debug.C: add CHANGES debug flag
3578 * lyxfind.C: add code for finding the next change piece
3581 * lyxrc.C: add user_name and user_email
3584 * lyxrow.C: add a metric for the top of the text line
3587 * text.C: implement accept/rejectChange()
3590 * text.C: paint changebars. Paint new/deleted text in the chosen
3591 colours. Strike through deleted text.
3595 * paragraph_pimpl.h:
3596 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3597 in the current change to the insert functions. Rework erase to
3598 mark text as deleted, adding an eraseIntern() and a range-based
3599 erase(). Implement per-paragraph change lookup and
3602 * paragraph_funcs.C: Fixup paste for change tracking.
3604 * tabular.C: mark added row/columns as new.
3606 * text.C: fix rowLast() to never return -1. Don't allow
3607 spellchecking of deleted text. Track transpose changes. Don't
3608 allow paragraph break or merge where appropriate.
3610 * text2.C: leave cursor at end of selection after a cut.
3612 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3614 * text.C (getLengthMarkerHeight):
3615 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3616 visible on screen too.
3618 2003-02-07 John Levon <levon@movementarian.org>
3620 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3622 2003-02-05 Angus Leeming <leeming@lyx.org>
3624 * lyxserver.C (read_ready): revert my patch of 11 September last year
3625 as it sends PC cpu through the roof. Presumably this means that
3626 the lyxserver will no longer run on an Alpha...
3628 2003-01-30 Angus Leeming <leeming@lyx.org>
3630 * factory.C (createInset): create an InsetCommandParam of type "index"
3631 and use it to 'do the right thing'.
3633 * text2.C (getStringToIndex): ensure that cursor position is always
3634 reset to the reset_cursor position.
3636 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3638 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3641 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3645 * lyxfunc.C: Output messages with identical spelling, punctuation,
3648 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3650 * MenuBackend.C (expandFormats): List only viewable export formats
3653 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3656 * lyxfunc.C (getStatus): Make sure that formats other than
3657 "fax" can also be disabled
3659 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3661 * text3.C (dispatch): put the lfuns that insert insets in 3
3662 groups, and call doInsertInset with appropriate arguments.
3663 (doInsertInset): new function, that creates an inset and inserts
3664 it according to some boolean parameters.
3666 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * buffer.C (readFile): remember to pass on 'par' when calling
3669 readFile recursively.
3671 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3673 * MenuBackend.C (expandFormats): add "..." to import formats.
3675 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3677 * paragraph.C (asString): Remove XForms RTL hacks.
3679 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3680 * buffer.C: fix typo
3682 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * Makefile.am (LIBS): delete var
3685 (lyx_LDADD): add @LIBS@ here instead.
3687 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3689 * Clarify the meaning of "wheel mouse jump"
3691 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3693 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3696 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3698 * importer.C (Loaders): do not preallocate 3 elements in the
3699 vector, since one ends up with 6 elements otherwise
3701 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3703 * DepTable.C (write): write the file name as last element of the
3704 .dep file (because it may contain spaces)
3705 (read): read info in the right order
3707 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3709 * paragraph_pimpl.C (simpleTeXBlanks):
3710 (simpleTeXSpecialChars):
3711 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3713 * tabular.C (latex): add some missing case statements. Reindent.
3715 * MenuBackend.C (expandToc): remove unused variable.
3717 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3726 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3729 2003-01-05 John Levon <levon@movementarian.org>
3732 * BufferView.C: add getEncoding()
3735 * kbsequence.C: do not store last keypress
3738 * lyxfunc.C: store last keypress here instead. Pass encoding
3741 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3743 * lyx_main.C (init): remove annoying error message when following
3744 symbolic links (bug #780)
3746 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3748 * text.C (insertChar):
3749 * lyxrc.C (getDescription): remove extra spaces
3751 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3753 * lyxrc.C (getDescription): remove extra spaces
3755 2002-12-20 John Levon <levon@movementarian.org>
3757 * text3.C: hack fix for page up/down across tall rows
3759 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3761 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3764 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3766 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3767 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3768 thesaurus is not compiled in
3770 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3772 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3774 2002-12-16 Angus Leeming <leeming@lyx.org>
3777 * lyx_main.C (init): remove override_x_deadkeys stuff.
3779 2002-12-12 John Levon <levon@movementarian.org>
3781 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3782 insert. Only remove shift modifier under strict
3785 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * MenuBackend.C (expandToc): fix crash.
3789 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * MenuBackend.C (expandToc): gettext on float names.
3793 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3795 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3796 implement bool empty() [bug 490]
3798 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3802 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * several files: ws changes
3806 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * text2.C (setCounter): clean up a bit, use boost.format.
3809 (updateCounters): initialize par upon declaration.
3811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3812 if the layout exists. We do not just store the layout any more.
3813 (SwitchLayoutsBetweenClasses): use boost.format
3815 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3817 * converter.C (convert): if from and to files are the same, use a
3818 temporary files as intermediary
3820 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3823 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3825 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3827 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3829 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * tabular.C (asciiPrintCell): use string(size, char) instead of
3834 * sgml.C (openTag): fix order of arguments to string constructor
3837 * lyxfunc.C (dispatch): use boost.format
3839 * lots of files: change "c" -> 'c'
3841 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3843 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3845 2002-11-25 Angus Leeming <leeming@lyx.org>
3847 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3849 * lyx_main.C (init): compile fix.
3851 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * lyx_cb.C (start): boost.formatify
3854 do not include <iostream>
3856 * lengthcommon.C: ws only
3858 * boost-inst.C,BoostFormat.h: add more explict instantations
3860 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * lots of files: handle USE_BOOST_FORMAT
3864 2002-11-21 John Levon <levon@movementarian.org>
3866 * pspell.C: fix compile
3868 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3870 * lyxfunc.C (dispatch): use boost::format
3874 * lyxfont.C (stateText): use boost::format
3876 * lyx_main.C (LyX): use boost::format
3878 (queryUserLyXDir): ditto
3881 (typedef boost::function): use the recommened syntax.
3883 * importer.C (Import): use boost::format
3885 * debug.C (showLevel): use boost::format
3887 * converter.C (view): use boost::format
3892 * bufferview_funcs.C (currentState): use boost::format
3894 * bufferlist.C (emergencyWrite): use boost::format
3896 * buffer.C (readLyXformat2): use boost::format
3897 (parseSingleLyXformat2Token): ditto
3899 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3901 * LaTeX.C (run): use boost::format
3903 * Chktex.C (scanLogFile): use boost::format
3905 * BufferView_pimpl.C (savePosition): use boost::format
3906 (restorePosition): ditto
3907 (MenuInsertLyXFile): ditto
3909 * BoostFormat.h: help file for explicit instation.
3911 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3913 * tabular.C (latex): Support for block alignment in fixed width
3916 2002-11-17 John Levon <levon@movementarian.org>
3918 * BufferView_pimpl.C:
3920 * lyxfunc.C: split filedialog into open/save
3922 2002-11-08 Juergen Vigna <jug@sad.it>
3924 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3925 by my last patch (hopefully).
3927 2002-11-08 John Levon <levon@movementarian.org>
3936 * toc.C: ParConstIterator, and use it (from Lars)
3938 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3940 * lyxtextclass.[Ch]: revise and add doxygen comments
3942 2002-11-07 John Levon <levon@movementarian.org>
3944 * text.C: fix progress value for spellchecker
3946 * toc.C: fix navigate menu for insetwrap inside minipage
3948 * paragraph_funcs.C: added FIXME for suspect code
3950 2002-11-07 John Levon <levon@movementarian.org>
3952 * BufferView_pimpl.C: fix redrawing of insets
3955 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3957 * text2.C (updateCounters): fix bug 668
3959 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3961 * text3.C (dispatch): Do not make the buffer dirty when moving the
3964 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * vc-backend.C: STRCONV
3969 * text2.C (setCounter): STRCONV
3971 * paragraph.C (asString): STRCONV
3973 * lyxlength.C (asString): STRCONV
3974 (asLatexString): ditto
3976 * lyxgluelength.C (asString): STRCONV
3977 (asLatexString): ditto
3979 * lyxfunc.C (dispatch): STRCONV
3982 * lyxfont.C (stateText): STRCONV
3984 * importer.C (Import): STRCONV
3986 * counters.C (labelItem): STRCONV
3987 (numberLabel): ditto
3988 (numberLabel): remove unused ostringstream o
3993 * bufferview_funcs.C (currentState): STRCONV
3995 * buffer.C (readFile): STRCONV
3996 (asciiParagraph): ditto
3997 (makeLaTeXFile): ditto
3999 * Spacing.C (writeEnvirBegin): STRCONV
4001 * LaTeXFeatures.C (getLanguages): STRCONV
4002 (getPackages): ditto
4004 (getBabelOptions): ditto
4005 (getTClassPreamble): ditto
4006 (getLyXSGMLEntities): ditto
4007 (getIncludedFiles): ditto
4011 (scanAuxFile): ditto
4014 * LString.h: add the STRCONV macros
4016 * BufferView_pimpl.C (savePosition): STRCONV
4017 (restorePosition): ditto
4018 (MenuInsertLyXFile): ditto
4020 * vc-backend.C (scanMaster): change from submatch[...] to
4023 * funcrequest.C: include config.h
4025 * factory.C: include config.h
4027 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4029 * box.C: include config.h
4031 * LaTeX.C (scanAuxFile): change from submatch[...] to
4035 2002-10-25 Angus Leeming <leeming@lyx.org>
4037 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4039 * ispell.[Ch] (setError): new method.
4040 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4041 Use setError() insetead of goto END.
4043 * lyx_cb.C (AutoSave): move out child process into new class
4046 2002-10-30 John Levon <levon@movementarian.org>
4048 * text3.C: make start appendix undoable
4050 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4052 * lyxlength.C (inPixels): Fix returned value.
4054 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4057 2002-10-24 Angus Leeming <leeming@lyx.org>
4059 * lyxgluelength.h: no need to forward declare BufferParams
4060 or BufferView, so don't.
4062 2002-10-21 John Levon <levon@movementarian.org>
4064 * BufferView.C: menuUndo ->undo, redo
4066 * BufferView.h: document, remove dead, make some methods private
4068 * paragraph_funcs.h:
4069 * paragraph_funcs.C:
4070 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4075 * sgml.C: move sgml open/close tag into sgml.C
4077 * bufferview_funcs.h: unused prototype
4080 * lyxfunc.C: remove unused
4083 * text.C: remove unused
4085 2002-10-21 John Levon <levon@movementarian.org>
4089 * BufferView_pimpl.h:
4090 * BufferView_pimpl.C: fix mouse wheel handling based on
4091 patch from Darren Freeman
4093 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4095 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4097 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4099 * lyxlength.C (inPixels): Fix hanfling of negative length.
4100 Fix LyXLength::MU case.
4102 2002-10-16 John Levon <levon@movementarian.org>
4104 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4106 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4108 * converter.C (view): add support for $$i (file name) and $$p
4109 (file path) for the viewer command. If $$i is not specified, then
4110 it is appended to the command (for compatibility with old syntax)
4112 2002-10-14 Juergen Vigna <jug@sad.it>
4114 * undo_funcs.C (textHandleUndo): alter the order in which the
4115 new undopar is added to the LyXText, as we have to set first
4116 the right prev/next and then add it as otherwise the rebuild of
4117 LyXText is not correct. Also reset the cursor to the right paragraph,
4118 with this IMO we could remove the hack in "redoParagraphs()".
4120 2002-10-09 Angus Leeming <leeming@lyx.org>
4122 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4123 to turn off an optimisation if a new inset is to be inserted.
4125 2002-10-11 André Pönitz <poenitz@gmx.net>
4127 * lyxtext.h: make some functions public to allow access
4128 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4130 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4132 * text3.C (dispatch): when changing layout, avoid an infinite loop
4135 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4137 * lyxrc.C (read): treat a viewer or converter command of "none" as
4140 * MenuBackend.C (expandFormats): for an update, also allow the
4141 formats that are not viewable
4143 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4144 script if it is newer than the lyxrc.defaults in user directory
4146 2002-10-07 André Pönitz <poenitz@gmx.net>
4148 * text.C: Vitaly Lipatov's small i18n fix
4150 2002-09-25 Angus Leeming <leeming@lyx.org>
4152 * ispell.h: doxygen fix.
4154 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4156 * buffer.h (readFile): Add a new argument to the method, to allow
4157 reading of old-format templates.
4159 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4161 * toc.C (getTocList): Get TOC from InsetWrap.
4163 2002-09-16 John Levon <levon@movementarian.org>
4165 * lyxfunc.C: check tabular for cut/copy too
4167 2002-09-12 John Levon <levon@movementarian.org>
4172 * factory.C: add header
4174 * paragraph_funcs.h:
4175 * paragraph_funcs.C: cleanup
4177 2002-09-11 John Levon <levon@movementarian.org>
4179 * PrinterParams.h: odd/even default to true
4181 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4183 * PrinterParams.h: update printer parameters for new xforms dialog
4185 2002-09-11 Angus Leeming <leeming@lyx.org>
4187 * lyxserver.C (read_ready): re-write to make it more transparent
4188 and to make it work in coherent fashion under Tru64 Unix.
4190 2002-09-11 André Pönitz <poenitz@gmx.net>
4194 * text3.C: implement LFUN_WORDSEL
4196 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4199 make floatlist_ a boost::shared_ptr<FloatList>
4201 * lyxtextclass.C: include FloatList.h
4202 (LyXTextClass): initialize floatlist_
4203 (TextClassTags): add TC_NOFLOAT
4204 (Read): match "nofloat" to TC_NOFLOAT and use it.
4205 (readFloat): modify call to floatlist_
4209 * FloatList.[Ch] (FloatList): remove commented out float
4211 (erase): new function
4213 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4215 * MenuBackend.C (expandToc): fix crash when there is no document
4218 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4220 * many files: Add insetwrap.
4222 2002-09-09 John Levon <levon@movementarian.org>
4224 * text2.C: remove confusing and awkward depth wraparound
4226 2002-09-09 John Levon <levon@movementarian.org>
4228 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4231 * buffer.C: remove getIncludeonlyList()
4234 * lyxfunc.C: remove headers
4236 2002-09-09 Juergen Vigna <jug@sad.it>
4238 * text.C (getColumnNearX): fix form Michael this is most
4239 probably a cut&paste bug.
4241 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4245 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4246 references, ws changes.
4248 * text2.C (init): update counters after init
4249 (insertParagraph): no need to set counter on idividual paragraphs.
4250 (setCounter): access the counters object in the textclass object
4251 on in the buffer object.
4252 (updateCounters): ditto
4254 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4255 shared_ptr<Counters> to avoid loading counters.h in all
4257 (LyXTextClass): initialize ctrs_
4258 (TextClassTags): add TC_COUNTER, and ...
4259 (Read): use it here.
4260 (CounterTags): new tags
4261 (readCounter): new function
4262 (counters): new funtion
4263 (defaultLayoutName): return a const reference
4265 * counters.C (Counters): remove contructor
4266 (newCounter): remove a couple of unneeded statements.
4267 (newCounter): simplify a bit.
4268 (numberLabel): some small formatting changes.
4270 * buffer.[Ch]: remove all traces of counters, move the Counters
4271 object to the LyXTextClass.
4273 2002-09-06 Alain Castera <castera@in2p3.fr>
4275 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4276 package to set the horizontal alignment on fixed width columns.
4279 * lyx_sty.h: added tabularnewline macro def.
4281 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4283 2002-09-06 John Levon <levon@movementarian.org>
4285 * LyXAction.C: tooltips for sub/superscript
4287 * MenuBackend.C: a bit more verbose
4289 * lyxfunc.C: tiny clean
4291 * undo_funcs.C: document undo_frozen
4293 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * counters.C (Counters): add missing algorithm counter.
4297 * text2.C (setCounter): lookup the counter with layouts latexname
4298 instead of by section number.
4299 (setCounter): use a hackish way to lookup the correct enum
4301 a float name->type change
4302 reset enum couners with counter name directly instead of depth value.
4304 * counters.C (Counters): remove the push_backs, change to use the
4305 float type not the float name.
4306 (labelItem): remove unused string, float name->type change
4308 * counters.h: don't include vector, loose the enums and sects vectors
4310 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4312 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4313 (Read): add float->TC_FLOAT to textclassTags
4314 (Read): and handle it in the switch
4315 (readFloat): new function
4317 * FloatList.C (FloatList): comment out the hardcoded float
4320 * lyxlayout.h: ws change.
4322 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4324 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4326 2002-09-03 Angus Leeming <leeming@lyx.org>
4328 * BufferView_pimpl.h: qualified name is not allowed in member
4329 declaration: WorkArea & Pimpl::workarea() const;
4331 * factory.C: added using std::endl directive.
4333 * text3.C: added using std::find and std::vector directives.
4335 2002-08-29 André Pönitz <poenitz@gmx.net>
4338 * text2.C: remove unused member number_of_rows
4341 * BufferView2.C: remove file, move contents to...
4342 * BufferView.C: ... here
4344 * BufferView_pimpl.C:
4345 * factory.C: move more inset creation to factory
4347 * vspace.C: avoid direct usage of LyXText, ws changes
4350 don't provide direct access to WorkArea, use two simple
4351 acessors haveSelction() and workHeight() instead
4354 2002-08-29 John Levon <levon@movementarian.org>
4356 * BufferView_pimpl.C (dispatch): do not continue when
4359 2002-08-28 André Pönitz <poenitz@gmx.net>
4361 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4364 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4366 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4368 * buffer.C: increment LYX_FORMAT to 221
4370 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4371 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4373 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4375 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4377 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4379 * factory.C (createInset): use LyXTextClass::floats
4381 * MenuBackend.C (expandFloatListInsert):
4382 (expandFloatInsert):
4385 * text2.C (setCounter):
4387 * LaTeXFeatures.C (useFloat):
4388 (getFloatDefinitions):
4390 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4392 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4393 floatlist_, with accessor floats().
4395 * FloatList.h: remove global FloatList
4397 2002-08-26 André Pönitz <poenitz@gmx.net>
4399 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4403 * BufferView_pimpl.C:
4404 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4406 2002-08-25 John Levon <levon@movementarian.org>
4408 * LyXAction.C: fix margin note description
4410 2002-08-24 John Levon <levon@movementarian.org>
4414 * bufferview_funcs.C:
4416 * undo_funcs.C: cleanups
4418 * lyxfunc.C: disable CUT/COPY when no selection
4420 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4422 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4423 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4425 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4426 Add backward compatibility to "mono", "gray" and "no".
4428 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4430 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4431 (and file_format >= 200).
4433 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4435 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4437 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4439 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4441 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4443 * BufferView_pimpl.C:
4450 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4451 inset and code to make it work with the paragraph code. The inset
4452 can be anywhere in the paragraph, but will only do the expected
4453 thing in LaTeX if the layout file contains the parameter line
4455 (or more generally, a nonzero value) for that layout.
4457 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4459 * paragraph.h: remove the declaration of undefined counters class
4462 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4464 * text2.C (setCounter): fixed enumeration mis-count as reported by
4465 Dr. Richard Hawkins.
4467 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4469 * paragraph_funcs.h: remove some unneeded includes
4471 * text.C (backspace): pasteParagraph now in global scipe
4473 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4474 (pasteSelection): ditto
4476 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4477 * paragraph_funcs.C (pasteParagraph): ... here
4479 2002-08-20 André Pönitz <poenitz@gmx.net>
4481 * commandtags.h: new LFUNs for swapping/copying table row/colums
4484 * lyxfunc.C: support for new lfuns
4486 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4489 * buffer.[Ch]: remove NO_COMPABILITY stuff
4491 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * boost.C (throw_exception): new file, with helper function for
4494 boost compiled without exceptions.
4499 * ParameterStruct.h:
4500 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4502 * bufferlist.C (emergencyWriteAll): use boost bind
4504 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4506 * text.C: include paragraph_funcs.h
4507 (breakParagraph): breakParagraph is now in global scope
4509 * paragraph_funcs.[Ch]: new files
4511 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4514 * buffer.C: include paragraph_funcs.h
4515 (insertStringAsLines): breakParagraph is now in global scope
4517 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4520 * CutAndPaste.C: include paragraph_funcs.h
4521 (cutSelection): breakParagraphConservative is now in global scope
4522 (pasteSelection): ditto
4524 * buffer.h: declare oprator== and operator!= for
4525 Buffer::inset_iterator
4527 * bufferlist.C (emergencyWrite): don't use fmt(...)
4529 * text3.C: add using std::endl
4531 * BufferView.C (moveCursorUpdate): remove default arg
4533 2002-08-20 André Pönitz <poenitz@gmx.net>
4535 * buffer.[Ch]: move inline functions to .C
4538 * BufferView_pimpl.C:
4540 * buffer.[Ch]: use improved inset_iterator
4543 * paragraph.[Ch]: write one paragraph at a time
4545 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4547 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4548 style if style is not specified.
4550 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4552 * text2.C (setCounter): when searching for right label for a
4553 caption, make sure to recurse to parent insets (so that a caption
4554 in a minipage in a figure float works) (bug #568)
4556 2002-08-20 André Pönitz <poenitz@gmx.net>
4558 * text3.C: new file for LyXText::dispatch() and helpers
4560 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4562 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4564 2002-08-19 André Pönitz <poenitz@gmx.net>
4567 * text.C: new LyXText::dispatch()
4569 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4571 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4573 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4575 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4578 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4580 * Makefile.am: use $(variables) instead of @substitutions@
4582 2002-08-15 André Pönitz <poenitz@gmx.net>
4585 * BufferView_pimpl.C: streamlining mathed <-> outer world
4589 * LyXAction.C: remove unused LFUN_MATH
4591 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4595 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * paragraph.C (Paragraph): reformat a bit
4598 (cutIntoMinibuffer): use builtin InsetList function instad of
4602 * buffer.C: include boost/bind.hpp, add using std::for_each
4603 (writeFileAscii): use ParagraphList iterators
4604 (validate): use for_each for validate traversal of paragraphs
4605 (getBibkeyList): use ParagraphList iterators
4606 (resizeInsets): use for_each to resizeInsetsLyXText for all
4608 (getParFromID): use ParagraphList iterators
4610 * BufferView2.C (lockInset): use paragraph list and iterators
4612 2002-08-14 John Levon <levon@movementarian.org>
4614 * lyxserver.C: remove spurious xforms include
4616 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4618 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4620 2002-08-13 André Pönitz <poenitz@gmx.net>
4623 * lyxfunc.C: further cleaning
4625 2002-08-13 André Pönitz <poenitz@gmx.net>
4627 * funcrequest.h: new constructor
4629 * funcrequest.C: move stuff here from .h
4632 * BufferView_pimpl.C:
4635 * lyxfunc.C: subsequent changes
4637 * lyxfunc.h: new view() member function
4639 * lyxfunc.C: subsequent changes
4641 2002-08-13 Angus Leeming <leeming@lyx.org>
4644 * BufferView_pimpl.C:
4652 changes due to the changed LyXView interface that now returns references
4653 to member variables not pointers.
4655 2002-08-13 Angus Leeming <leeming@lyx.org>
4657 * WordLangTuple (word, lang_code): return references to strings,
4662 * lyxtext.h: forward-declare WordLangTuple.
4667 * text.C: #include "WordLangTuple.h".
4670 * text.C: (selectNextWordToSpellcheck): constify return type.
4672 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4678 * paragraph_pimpl.h:
4681 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4683 Made updateCounter always count from start of buffer, and removed
4684 second argument (par).
4685 Reverted floats number display to '#'. Perhaps I'll try again when the
4686 code base is sanitized a bit.
4688 2002-08-12 Angus Leeming <leeming@lyx.org>
4690 * buffer.[Ch] (getLabelList): constify.
4692 2002-08-07 André Pönitz <poenitz@gmx.net>
4694 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4696 * funcrequest.h: extension to keep mouse (x,y) position
4698 2002-08-12 Juergen Vigna <jug@sad.it>
4700 * BufferView2.C (insertErrors): forbid undo when inserting error
4703 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4705 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * ParagraphList.[Ch]: new files
4709 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4711 * BufferView2.C (lockInset): ParagraphList changes
4714 * bufferlist.C: ditto
4718 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4721 unused class variable counter_,
4723 * paragraph.[Ch] (getFirstCounter): delete unused function
4725 * counters.C: include LAssert.h
4726 (reset): add a new function with no arg, change other version to
4727 not have def. arg and to not allow empty arg.
4729 * text2.C (setCounter): remove empty arg from call to Counters::reset
4731 2002-08-11 John Levon <levon@movementarian.org>
4733 * Makefile.am: add WordLangTuple.h
4735 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4737 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4738 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4740 * insets/insettext.C: InsetList changes
4742 * graphics/GraphicsSupport.C (operator()): InsetList changes
4744 * toc.C (getTocList): InsetList changes
4746 * paragraph_pimpl.[Ch]: InsetList changes
4748 * paragraph.[Ch]: InsetList changes
4750 * buffer.C (inset_iterator): InsetList changes
4751 (setParagraph): ditto
4752 * buffer.h (inset_iterator): ditto
4753 * iterators.C (operator++): ditto
4754 * iterators.h: ditto
4756 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4758 * InsetList.[Ch]: new files, most InsetList handling moved out of
4761 * BufferView2.C (removeAutoInsets): InsetList changes
4763 (ChangeInsets): ditto
4765 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * paragraph_pimpl.h (empty): new function
4769 * paragraph.[Ch] (empty): new function
4771 * other files: use the new Paragraph::empty function
4773 2002-08-09 John Levon <levon@movementarian.org>
4775 * lyxtext.h: remove unused refresh_height
4777 2002-08-09 John Levon <levon@movementarian.org>
4784 * paragraph.C: move sgml char escaping out of paragraph
4787 * paragraph.C: remove id setter
4791 * paragraph_pimpl.C: remove dead tex_code_break_column
4793 * bufferview_funcs.C: small cleanup
4795 * lyxfunc.C: remove dead proto
4797 * lyxtext.h: make some stuff private. Remove some dead stuff.
4799 * lyxgluelength.C: make as[LyX]String() readable
4801 2002-08-08 John Levon <levon@movementarian.org>
4806 * ToolbarDefaults.C:
4809 * toc.C: lyxaction cleanup
4811 2002-08-08 John Levon <levon@movementarian.org>
4813 * BufferView2.C: small cleanup
4816 * lyxfind.C: move unnecessary header into the .C
4818 2002-08-08 John Levon <levon@movementarian.org>
4820 * funcrequest.h: just tedious nonsense
4823 * lyx_main.C: cleanups
4826 * vspace.C: remove dead header lyx_main.h
4828 2002-08-07 Angus Leeming <leeming@lyx.org>
4831 * paragraph_pimpl.h:
4832 Forward declare class Counters in paragraph.h by moving the ctrs member
4833 variable into Paragraph::Pimpl.
4834 (counters): new method, returning a reference to pimpl_->ctrs.
4836 * text2.C: ensuing changes.
4838 2002-08-07 John Levon <levon@movementarian.org>
4840 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4842 * BufferView_pimpl.C: announce X selection on double/triple
4845 * lyx_main.C: use correct bool in batch dispatch
4847 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4849 2002-08-07 André Pönitz <poenitz@gmx.net>
4851 * funcrequest.h: new class to wrap a kb_action and its argument
4854 * BufferView_pimpl[Ch]:
4858 * lyxrc.C: subsequent changes
4861 2002-08-07 John Levon <levon@movementarian.org>
4863 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4864 document options change.
4866 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4871 * makefile.am: move counters functionality over from
4872 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4874 2002-08-06 John Levon <levon@movementarian.org>
4876 * WordLangTuple.h: new file for word + language code tuple
4887 * BufferView2.C: use WordLangTuple
4890 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4892 2002-08-06 John Levon <levon@movementarian.org>
4894 * lyx_main.C: fix cmdline batch handling
4896 2002-08-06 André Pönitz <poenitz@gmx.net>
4898 * lyxrc.C: set default for show_banner to true
4900 2002-08-06 John Levon <levon@movementarian.org>
4902 * pspell.C: fix a crash, and allow new aspell to work
4904 2002-08-06 John Levon <levon@movementarian.org>
4907 * kbmap.C: small cleanup
4910 * vspace.C: add const
4912 2002-08-05 John Levon <levon@movementarian.org>
4914 * LyXAction.C: back to tabular-insert
4916 2002-08-04 John Levon <levon@movementarian.org>
4919 * BufferView.C: cosmetic change
4921 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4931 * BufferView2.C: purge all "Lyx" not "LyX" strings
4934 * lyxcursor.C: attempt to add some documentation
4939 * ToolbarDefaults.C:
4940 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4941 merge with LFUN_TABULAR_INSERT
4948 * pspell.C: split up i/pspell implementations into separate
4949 files, many cleanups
4951 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4953 * text2.C: some cleanup
4955 * lyxfunc.C: don't check for isp_command == "none" any more, it
4956 didn't make any sense
4958 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4963 * makefile.am: move counters functionality over
4964 from text2.C/paragraph.[Ch] to counters.[Ch], and
4966 2002-08-02 John Levon <levon@movementarian.org>
4968 * buffer.C: s/lyxconvert/lyx2lyx/
4970 2002-08-02 Angus Leeming <leeming@lyx.org>
4972 * lyxlex.C: revert John's change as it breaks reading of the user
4975 2002-08-02 Angus Leeming <leeming@lyx.org>
4977 * importer.C (Import):
4978 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4979 changes due to LyXView::view() now returning a boost::shared_ptr.
4981 2002-08-02 John Levon <levon@movementarian.org>
4983 * lyxlex.C: small cleanup
4985 2002-08-02 John Levon <levon@movementarian.org>
4987 * text2.C (status): small cleanup, no logic change
4989 2002-08-01 John Levon <levon@movementarian.org>
4992 * buffer.C (writeFile): don't output alerts, caller
4996 * lyx_cb.C: from above
4998 * lyxfunc.C: allow to open non-existent files
5000 2002-07-31 John Levon <levon@movementarian.org>
5002 * lyxserver.C: don't let incidental errors get
5005 2002-07-30 John Levon <levon@movementarian.org>
5007 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5009 2002-07-30 John Levon <levon@movementarian.org>
5012 * lyxserver.C: remove I/O callback too
5014 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5016 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5019 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * many files: strip,frontStrip -> trim,ltrim,rtrim
5023 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5025 * PrinterParams.h: remove extern containsOnly, and include
5026 support/lstrings.h instead.
5028 * LaTeX.C (scanAuxFile): modify because of strip changes
5030 * buffer.C (makeLaTeXFile): ditto
5031 * bufferparams.C (writeFile): ditt
5032 * lyxfont.C (stateText): ditto
5033 * lyxserver.C (read_ready): ditto
5034 * vc-backend.C (scanMaster): ditto
5036 * BufferView_pimpl.h: ws changes
5038 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5040 2002-07-26 André Pönitz <poenitz@gmx.net>
5042 * kb_sequence.C: remove unnedred usings
5044 2002-07-26 Juergen Vigna <jug@sad.it>
5046 * lyxfind.C (LyXReplace): we have to check better if the returned
5047 text is not of theLockingInset()->getLockingInset().
5049 2002-07-25 Juergen Vigna <jug@sad.it>
5051 * lyxfind.C (LyXReplace): don't replace if we don't get the
5054 * undo_funcs.C (createUndo): remove debugging code.
5056 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5058 * buffer.C (parseSingleLyXformat2Token): Use default placement
5059 when reading old floats.
5061 * FloatList.C (FloatList): Change the default placement of figure
5062 and tables to "tbp".
5064 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5066 * MenuBackend.C: using std::max
5068 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * MenuBackend.C (expandToc):
5071 (expandToc2): code moved from xforms menu frontend. It is now
5072 generic and TOCs are transparent to menu frontends.
5074 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5076 * toc.C (getTocList): protect against buf=0
5078 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5079 Menu as first parameter. Now, this calls itself recursively to
5080 expand a whole tree (this will be useful for TOC handling)
5081 (expandFloatInsert): remove 'wide' version of floats
5083 * MenuBackend.h (submenuname): returns the name of the submenu.
5084 (submenu): returns the submenu itself, provided it has been
5085 created by MenuBackend::expand
5087 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5089 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5090 insets which have noFontChange == true. (bug #172)
5092 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5094 * BufferView_pimpl.C: add connection objects and use them...
5097 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5099 * MenuBackend.C (expandLastfiles):
5102 (expandFloatListInsert):
5103 (expandFloatInsert):
5104 (expand): split expand in parts
5106 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5108 * lyx_gui.C: use lyx_gui::exit()
5110 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5112 * LyXAction.C: show the failing pseudo action
5114 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5116 * buffer.C (readFile): Run the lyxconvert script in order to read
5119 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5123 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5125 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5129 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5131 2002-07-22 Herbert Voss <voss@lyx.org>
5134 * lyxlength.[Ch]: add support for the vertical lengths
5136 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5138 * toc.[Ch]: std:: fixes
5140 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5142 * lyxrc.C: do not include lyx_main.h
5144 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5150 * BufferView2.C: include "lyxlex.h"
5153 * bufferparams.h: do not #include "lyxlex.h"
5155 * lyxtextclasslist.C (Add): remove method
5156 (classlist): renamed to classlist_
5158 * paragraph_pimpl.C:
5162 * bufferview_funcs.C:
5167 * toc.C (getTocList): use BufferParams::getLyXTextClass
5169 * toc.C (getTocList): use InsetFloat::addToToc
5171 * toc.[Ch]: new files, containing helper functions to handle table
5174 * lyxfunc.C (dispatch): no need to remove spaces around command
5176 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5177 first command of the sequence; it is not very clever, but I do not
5178 have a better idea, actually
5180 * LyXAction.C (LookupFunc): make sure to remove space at the
5181 beginning and end of the command
5183 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5185 * MenuBackend.C (getMenubar): new method: return the menubar of
5187 (read): treat differently reading of menu and menubar (in
5188 particular, the menubar has no name now)
5189 (Menu::menubar): remove
5191 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5194 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5196 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5197 a bibitem inset in a RTL paragraph.
5199 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5201 * paragraph_pimpl.C: constify
5203 * BufferView_pimpl.C:
5205 * lyxfunc.C: fix dispatch in a nicer way
5207 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5209 * lyxfunc.C (dispatch):
5210 * BufferView_pimpl.C:
5211 * BufferView_pimpl.h:
5213 * BufferView.h: rename Dispatch() to dispatch()
5215 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5217 * lyxlayout.C (Read): honor DependsOn tag
5219 * lyxlayout.[Ch] (depends_on): new method
5221 * version.C.in: update lyx_docversion
5223 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5225 * paragraph.C (validate): remove from here...
5226 * paragraph_pimpl.C (validate): ... and move here
5227 (isTextAt): make it const
5229 * buffer.C (getLists): ws cleanup
5231 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5233 * language.C (read): Use iso8859-1 encoding in latex_lang
5234 (this prevents LyX from crashing when using iso10646-1 encoding).
5236 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5238 * text2.C (toggleInset): if cursor is inside an inset, close the
5239 inset and leave cursor _after_ it
5241 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5243 * lyxfunc.C: move minibuffer completion handling out of here
5245 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5247 * BufferView_pimpl.C:
5248 * LaTeX.C: fix dispatch calls
5250 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5252 * text.C (drawChars): Fix Arabic text rendering.
5254 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5258 * lyxfunc.C: remove message-push/pop
5262 * lyxfunc.C: rationalise some code by removing verboseDispatch
5263 in favour of a bool argument to dispatch()
5265 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5267 * lyx_main.C (init): make sure to read symlinks as absolute paths
5269 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5272 * lyxfunc.C: no need for commandshortcut to be a member
5274 2002-07-15 André Pönitz <poenitz@gmx.net>
5276 * converter.C: add support for $$s (scripts from lib/scripts dir)
5277 * lyx_main.C: white space
5279 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5283 * lyxrc.C: remove second exit confirmation
5285 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5290 * BufferView_pimpl.h:
5291 * BufferView_pimpl.C:
5292 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5294 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5296 * MenuBackend.C (expand): add numeric shortcuts to document menu
5298 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5300 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5302 * lyxfont.C (setLyXFamily):
5309 * buffer.C (asciiParagraph): use ascii_lowercase
5311 2002-07-15 Mike Fabian <mfabian@suse.de>
5313 * lyxlex_pimpl.C (search_kw):
5314 * lyxlex.C (getLongString):
5315 * converter.h (operator<):
5316 * converter.C (operator<):
5317 * buffer.C (parseSingleLyXformat2Token):
5319 * ToolbarDefaults.C (read):
5320 * MenuBackend.C (checkShortcuts):
5322 * LColor.C (getFromGUIName):
5323 (getFromLyXName): use the compare_ascii_no_case instead of
5324 compare_no_case, because in turkish, 'i' is not the lowercase
5325 version of 'I', and thus turkish locale breaks parsing of tags.
5327 2002-07-16 Angus Leeming <leeming@lyx.org>
5329 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5330 now takes a Buffer const & argument.
5332 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5334 * BufferView.C (resize): check there's a buffer to resize
5336 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5338 * lyxfunc.C: remove dead code
5341 * lyxserver.C: use lyx_guii::set_read_callback
5343 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5345 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5346 an inset in a RTL paragraph.
5348 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5350 * lyxfunc.C: repaint after a font size update
5352 2002-07-15 André Pönitz <poenitz@gmx.net>
5354 * lyxlength.C: inBP should be able to return negative values
5356 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5358 * lyxfunc.C: use lyx_gui::update_fonts()
5360 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5362 * lyxfunc.C: use lyx_gui::update_color()
5364 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5370 * lyxrc.C: remove file->new asks for name option, and let
5371 buffer-new take an argument
5373 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5375 * BufferView_pimpl.C: remove unneeded extra repaint()
5377 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5379 * LyXAction.C: allow command-sequence with NoBuffer
5381 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5383 2002-07-10 Angus Leeming <leeming@lyx.org>
5385 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5387 2002-07-09 Angus Leeming <leeming@lyx.org>
5389 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5391 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5393 * lengthcommon.h: whitespace
5395 * lyxfunc.C: update scrollbar after goto paragraph
5397 * lyxtext.h: factor out page break drawing, and fix it so
5398 page break/added space paints as selected nicely
5400 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5402 * BufferView_pimpl.C: add FIXMEs, clean up a little
5404 2002-07-09 André Pönitz <poenitz@gmx.net>
5406 * lyxfont.[Ch]: support for wasy symbols
5408 2002-07-08 André Pönitz <poenitz@gmx.net>
5410 * BufferView_pimpl.C: apply John's patch for #93.
5412 2002-07-05 Angus Leeming <leeming@lyx.org>
5414 * BufferView_pimpl.C (buffer): generate previews if desired.
5416 * LColor.h: add "preview" to the color enum.
5418 * LColor.C (LColor): add a corresponding entry to the items array.
5420 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5423 2002-07-05 Angus Leeming <leeming@lyx.org>
5425 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5426 The body of the code is now in the method that is passed an ostream &
5427 rather than a file name.
5428 Pass an additional only_preamble parameter, useful for the forthcoming
5431 2002-07-03 André Pönitz <poenitz@gmx.net>
5433 * lyxfunc.C: simplify getStatus() a bit for math stuff
5435 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5437 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5439 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5441 * text.C (changeRegionCase): do not change case of all the
5442 document when region ends at paragraph end (bug #461)
5444 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5446 * paragraph.C (startTeXParParams):
5447 (endTeXParParams): add \protect when necessary
5449 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5451 * BufferView_pimpl.C (workAreaExpose): remove warning
5453 2002-06-27 Angus Leeming <leeming@lyx.org>
5455 * Makefile.am: add lyxlayout_ptr_fwd.h.
5457 2002-06-26 André Pönitz <poenitz@gmx.net>
5459 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5461 2002-06-25 Angus Leeming <leeming@lyx.org>
5463 * lyxfunc.C (dispatch): Comment out the call to
5464 grfx::GCache::changeDisplay. The method no longer exists now that the
5465 pixmap generation part of the graphics loader has been moved into
5468 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5470 * text2.C: layout as layout
5472 * text.C: layout as layout
5474 * tabular.C (OldFormatRead): layout as layout
5476 * paragraph_pimpl.C (TeXDeeper): layout as layout
5477 (realizeFont): layout as layout
5479 * paragraph.C (writeFile): layout as layout
5480 (validate): layout as layout
5481 (getFont): layout as layout
5482 (getLabelFont): layout as layout
5483 (getLayoutFont): layout as layout
5484 (breakParagraph): layout as layout
5485 (stripLeadingSpaces): layout as layout
5486 (getEndLabel): layout as layout
5487 (getMaxDepthAfter): layout as layout
5488 (applyLayout): layout as layout
5489 (TeXOnePar): layout as layout
5490 (simpleTeXOnePar): layout as layout
5491 (TeXEnvironment): layout as layout
5492 (layout): layout as layout
5493 (layout): layout as layout
5495 * lyxtextclass.C (compare_name): new functor to work with
5496 shared_ptr, layout as layout
5497 (Read): layout as layout
5498 (hasLayout): layout as layout
5499 (operator): layout as layout
5500 (delete_layout): layout as layout
5501 (defaultLayout): layout as layout
5503 * lyxlayout_ptr_fwd.h: new file
5505 * lyxlayout.C (Read): layout as layout
5507 * lyx_cb.C (MenuInsertLabel): layout as layout
5509 * bufferlist.C (newFile): layout as layout
5511 * buffer.C (readLyXformat2): layout as layout
5512 (parseSingleLyXformat2Token): layout as layout
5513 (insertStringAsLines): layout as layout
5514 (asciiParagraph): layout as layout
5515 (latexParagraphs): layout as layout
5516 (makeLinuxDocFile): layout as layout
5517 (simpleLinuxDocOnePar): layout as layout
5518 (makeDocBookFile): layout as layout
5519 (simpleDocBookOnePar): layout as layout
5520 (getLists): layout as layout
5522 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5524 * CutAndPaste.C (cutSelection): layout as layout
5525 (pasteSelection): layout as layout
5526 (SwitchLayoutsBetweenClasses): layout as layout
5528 * BufferView_pimpl.C (Dispatch): layout as layout
5529 (smartQuote): layout as layout
5531 * BufferView2.C (unlockInset): layout as layout
5533 2002-06-24 André Pönitz <poenitz@gmx.net>
5535 * lyxfunc.C: fix #487
5537 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5541 * lyxfunc.C: remove display_shortcuts, show_banner
5543 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5545 * Buffer_pimpl.C: oops, update on resize
5547 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5554 * BufferView.C: use repaint()
5556 * BufferView_pimpl.h:
5557 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5558 as it's a clearer description. Remove superfluous
5561 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5563 * text.C: fix bug 488. Not ideal, but getting
5564 getWord() to work properly for the insets that
5565 matter is more difficult ...
5567 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5569 * BufferView_pimpl.C:
5572 * lyxfunc.C: remove the six million index lyxfuncs to just
5573 one, and DTRT (bug 458)
5575 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5579 * BufferView_pimpl.h:
5580 * BufferView_pimpl.C: clean up resize() stuff,
5581 and unnecessary updateScreen()s
5583 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5587 * BufferView_pimpl.h:
5588 * BufferView_pimpl.C:
5591 * minibuffer.C: remove focus management of workarea,
5592 not needed. Use screen's greyOut()
5594 2002-06-17 Herbert Voss <voss@lyx.org>
5596 * converter.C: (convert) do not post a message, when converting
5597 fails, let the calling function decide what to do in this case
5599 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5601 * lyxfunc.C: tidy up a little
5603 2002-06-16 <alstrup@diku.dk>
5605 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5606 Got rid of FORMS_H_LOCATION include. Now we are
5609 2002-06-15 LyX Development team <lyx@rilke>
5611 * buffer.[Ch] (sgmlOpenTag):
5612 (sgmlCloseTag): Added support for avoiding pernicious mixed
5613 content. Return number of lines written.
5616 (makeDocBookFile): Fixed calls to sgml*Tag.
5617 Simple white space clean.
5619 (simpleDocBookOnePar): Simple white space clean.
5621 * tabular.[Ch] (docBook): Renamed to docbook and got another
5622 argument to related with the pernicious mixed content.
5624 (docbookRow): Fixed calls for docbook inset method.
5626 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5628 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5629 so it's X11 independent.
5633 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5635 2002-06-15 Lyx Development team <lyx@electronia>
5637 * intl.h: Renamed getTrans to getTransManager.
5639 2002-06-14 Angus Leeming <leeming@lyx.org>
5641 * Makefile.am: nuke forgotten stl_string_fwd.h.
5643 2002-06-12 Angus Leeming <leeming@lyx.org>
5645 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5647 2002-06-13 Angus Leeming <leeming@lyx.org>
5650 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5652 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5654 * kbmap.C (getiso): add support for cyrillic and greek
5656 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5660 * BufferView_pimpl.h:
5661 * BufferView_pimpl.C: move bogus scrolling logic
5664 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5667 * BufferView_pimpl.C: view->resize() change
5669 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5671 * BufferView_pimpl.C: topCursorVisible
5674 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5678 * lyx_gui.C: move to frontends/
5682 * lyx_main.C: changes from above
5684 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5691 * lyx_main.C: minor tidy
5693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5695 * BufferView_pimpl.h:
5696 * BufferView_pimpl.C:
5698 * BufferView.C: make painter() const,
5701 * BufferView2.C: use screen() accessor
5704 * lyx_main.C: some minor cleanup
5706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5708 * BufferView_pimpl.h:
5709 * BufferView_pimpl.C: remove enter/leaveView,
5712 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5717 * BufferView_pimpl.h:
5718 * BufferView_pimpl.C: only construct screen once,
5721 * lyxrc.C: remove pointless comment
5723 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5726 * BufferView.C: remove active() and belowMouse()
5728 * BufferView_pimpl.h:
5729 * BufferView_pimpl.C: use workarea() not workarea_,
5730 and make it use a scoped_ptr instead
5732 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5734 * lyx_gui.C: add debug message on BadWindow
5736 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5738 * sp_spell.C: fdopen is not part of the C++ standard.
5740 * paragraph.C (InsetIterator): use >= instead of ==
5742 2002-06-07 Angus Leeming <leeming@lyx.org>
5744 Fixes needed to compile with Compaq cxx 6.5.
5745 * BufferView_pimpl.C:
5752 * lyxtextclasslist.C:
5757 all c-library variables have been moved into namespace std. Wrap
5758 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5763 Add a using std::abs declaration.
5765 * kbmap.h (modifier_pair):
5766 * paragraph.h (InsetTable, InsetList):
5767 * lyxfont.h (FontBits):
5768 type definition made public.
5770 * bufferlist.C (emergencyWriteAll): the compiler complains that
5771 there is more than one possible lyx::class_fun template to choose from.
5772 I re-named the void specialisation as lyx::void_class_fun.
5774 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5776 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5777 the compiler is is unable to find tostr in write_attribute.
5779 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5781 * buffer.C (sgmlError): hide #warning
5783 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5785 * xtl/*: get rid of xtl, which is not in use anyway
5787 * LyXAction.C (init):
5788 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5789 were unimplemented xtl experimentation
5791 2002-06-04 André Pönitz <poenitz@gmx.net>
5793 * lyxfunc.C: disable array operation on simple formulae
5795 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5797 * converter.C: constify a bit
5799 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5801 * lyx_gui.C: check xforms version correctly
5803 2002-04-30 Herbert Voss <voss@lyx.org>
5805 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5808 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5810 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5811 attempt to register it with a VCS)
5813 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5815 * lyx_main.C (init): honor variables LYX_DIR_13x and
5818 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5822 * lyx_main.C: fix a crash on bad command line,
5823 and give a useful exit status on error
5825 * lyxfunc.C (doImport): allow -i lyx to work
5827 2002-03-30 André Pönitz <poenitz@gmx.net>
5829 * lyxfunc.C: mathed font changes
5831 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5846 * trans_mgr.h: srcdocs, and some minor cleanups
5848 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5850 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5851 call getFont all the time)
5853 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5855 * switch from SigC signals to boost::signals
5857 2002-05-29 André Pönitz <poenitz@gmx.net>
5859 * paragraph_pimpl.C (getChar): don't call size() too often...
5861 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5863 * paragraph_pimpl.C (insertChar): do not try to update tables when
5864 appending (pos == size())
5866 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5867 in order to reduce drastically the number of comparisons needed to
5868 parse a large document
5870 2002-05-29 André Pönitz <poenitz@gmx.net>
5876 * textclasslist.[Ch]:
5877 * sp_ispell.h: whitespace change
5879 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5881 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5882 lyxaction directly now.
5884 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5888 * lyxvc.C: remove unused headers
5890 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5897 * undo_funcs.C: some cleanups. Use shared_ptr
5898 and a template for the undo stacks.
5900 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5902 * BufferView_pimpl.h:
5903 * BufferView_pimpl.C:
5910 * text2.C: use key_state/mouse_state
5912 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5914 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5917 * chset.C: change include order
5918 (loadFile): use boost regex and get rid of LRegex and LSubstring
5920 * Makefile.am (BOOST_LIBS): new variable
5923 * LaTeX.C: change include order.
5924 (scanAuxFile): use boost regex and get rid of LRegex and
5928 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5933 * FontInfo.C: moved to frontends/xforms/
5936 * FontLoader.C: moved into frontends for GUIIzation
5941 * lyxfunc.C: changes from above
5943 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5945 * LColor.C: remove spurious X include
5947 * BufferView_pimpl.C:
5952 * text2.C: move font metrics to frontends/
5954 2002-05-24 Juergen Vigna <jug@sad.it>
5956 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5957 setting the undo_cursor.
5959 * ParagraphParameters.h: include local includes first.
5961 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5963 * BufferView_pimpl.C:
5964 * BufferView_pimpl.h:
5968 * screen.C: move WorkArea into frontends/
5974 * BufferView2.C: move LyXScreen into frontends/
5978 * lyx_gui.C: move lyxlookup into frontends/xforms/
5980 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5983 * BufferView_pimpl.C:
5993 * bufferview_funcs.C:
6006 * vc-backend.C: move LyX/XFormsView into frontends/
6008 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6020 * text2.C: move Painter to frontends/
6022 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6024 * buffer.C: comment out some some code that depend upon lyx_format
6027 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6028 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6030 * buffer.h (NO_COMPABILITY): turn off compability
6032 * ColorHandler.C: include scoped_array.hpp
6034 * font.C: Use more specific smart_ptr header.
6037 * ShareContainer.h: ditto
6041 * BufferView_pimpl.h: ditto
6042 * ColorHandler.h: ditto
6044 * kbmap.C (defkey): change call to shared_ptr::reset
6046 2002-05-21 Juergen Vigna <jug@sad.it>
6048 * buffer.C (insertErtContents): fix to insert ert asis if it is
6049 non empty. Skip it completely if it contains only whitespaces.
6051 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6053 * BufferView_pimpl.C:
6054 * BufferView2.C: clear selection on paste (bug 393)
6056 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6058 * DepTable.C: include ctime
6060 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6062 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6064 2002-05-14 Juergen Vigna <jug@sad.it>
6066 * text.C (breakParagraph): fixed function to honor the keepempty
6067 layout in the right maner and also to permit the right breaking
6068 algorithm on empty or non empyt keepempty paragraphs.
6070 * paragraph.C (breakParagraph): we have to check also if the par
6071 is really empty (!size()) for isempty otherwise we do the wrong
6074 2002-05-10 Juergen Vigna <jug@sad.it>
6076 * buffer.[Ch] : The following are only changes to the ert
6077 compatibility read reading old LaTeX layout and font stuff and
6078 convert it to ERTInsets.
6080 * buffer.h: added isErtInset().
6082 * buffer.C (struct ErtComp): add a fromlayout bool to check
6083 if we're inside a LaTeX layout.
6084 (isErtInset): new helper function.
6085 (insertErtContents): look for other ert insets before this one
6086 and insert the contents there, so that we don't have subsequent
6087 ERT insets with nothing between them. This way we create only one
6088 inset with multiple paragraphs. Also check if we don't insert only
6089 spaces ' ' as they are ignored anyway afterwards in the .tex file
6090 so if we have only spaces we will ignore this latex part in the
6092 (parseSingleLyXformat2Token \\layout): better compatibility when
6093 reading layout-latex stuff.
6094 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6096 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6097 stuff after reading the inset only get the information back from
6100 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6102 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6104 * LaTeXFeatures.C (getBabelOptions): New method.
6106 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6108 * BufferView_pimpl.C (Dispatch): work around missing argument for
6111 2002-05-08 Juergen Vigna <jug@sad.it>
6113 * text.C (leftMargin): handle paragraph leftindent.
6115 * paragraph.C (writeFile): write the new \\leftindent tag.
6116 (validate): handle leftindent code.
6117 (TeXEnvironment): handle paragraphleftindent code again.
6119 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6121 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6122 for paragrap_extra indent code and new token \\leftindent.
6123 (latexParagraphs): handle the leftindent as environment.
6125 * ParameterStruct.h: added leftindent support.
6127 * ParagraphParameters.C (leftIndent): added support functions for
6128 the paragraph left indent.
6130 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6133 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6135 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6138 * text.C (computeBidiTables): No bidi in insetERT.
6140 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6143 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6145 * version.C.in: pre 5
6147 2002-05-02 José Matos <jamatos@fep.up.pt>
6148 * buffer.C (makeDocBookFile): white space changes, add newline to
6150 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6152 * tabular.C (docBook): fix typo.
6154 2002-05-03 Juergen Vigna <jug@sad.it>
6156 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6157 change in LyXText as we can not be sure it was not freed.
6158 (drawOneRow): remove unused code.
6160 * text.C (drawInset): redo the calculation of the need_break_row as
6161 it could have a row which was already freed.
6162 (draw): look at the return value of drawInset and return false if
6163 it also returned false.
6164 (paintRowText): look at the return value of draw and return false if
6165 it also returned false.
6167 * lyxtext.h: added bool return type to drawInset() and draw() so that
6168 if we have a change in the row so that the rowbreak has to be redone
6169 we abort drawing as it will be called again.
6171 2002-05-02 Juergen Vigna <jug@sad.it>
6173 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6174 a change in the maintext also if we're inside an inset.
6175 (Dispatch): set the cursor again after a break line and after the
6176 screen has been updated as it could be we're in a different row.
6178 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6179 to set the cursor behind the pargraph with > size().
6180 (setCursor): check also for the same paragraph when checking where
6181 to put the cursor if we have a NFR inset.
6183 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6184 parts of layout read further up as it still was in the wrong
6187 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6189 * screen.C (drawFromTo): change sine fullRebreak always return
6192 * buffer.C (parseSingleLyXformat2Token): reindent some
6194 * BufferView_pimpl.C (update): change since fullRebreak always
6196 (Dispatch): git rid of the last hardcoded "Standard"s.
6198 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6200 * text2.[Ch] (fullRebreak): make it return void now that we always
6203 2002-04-30 Juergen Vigna <jug@sad.it>
6205 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6206 ert compatibility check for "latex" layout.
6208 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6210 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6211 minipages: use col% instead of p%, and also use the current font.
6212 (makeLaTeXFile): Fix use babel condition.
6213 (parseSingleLyXformat2Token): Correct font when reading old floats.
6215 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6217 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6218 inserting list of floats.
6220 2002-04-25 Herbert Voss <voss@lyx.org>
6222 * MenuBackend.C (expand): don't add the graphics extensions to the
6225 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6228 non-existing layout, do not complain if it was the default layout
6229 of the original class (bug #342)
6231 2002-04-24 Juergen Vigna <jug@sad.it>
6233 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6234 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6236 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6238 * buffer.C (getBibkeyList): If using \bibliography, return the
6239 option field with the reference itself. Enables us to provide natbib
6240 support when using \bibliography.
6242 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6244 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6246 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6247 natbib is provided by the LaTeX class.
6249 2002-04-23 Juergen Vigna <jug@sad.it>
6251 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6254 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6256 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6258 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6260 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6261 ensuremath around textordmasculine, textordfeminine and
6264 2002-04-19 Juergen Vigna <jug@sad.it>
6266 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6267 reinitializing the buffer otherwise row-dimensions may be wrong.
6268 (update): reset also the selection cursors if they do exits otherwise
6269 their x/y positions may be wrong.
6271 * text2.C (cursorDown): don't enter the inset if we came from a row
6272 above and are one row over the inset.
6274 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6275 really leaving an inset.
6277 2002-04-18 Juergen Vigna <jug@sad.it>
6279 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6280 of the selected paragraph does not have the selected layout also if
6283 * text2.C (setLayout): fixed bug which did not change last selected
6286 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6287 changed the read and substituted \\end_float with \\end_inset!
6289 * BufferView_pimpl.C (cursorPrevious):
6290 (cursorNext): fixed to make it work with rows heigher than the work
6291 area without moving the cursor only the draw of the row.
6292 (workAreaMotionNotify): fix jumping over high rows.
6294 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6296 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6299 2002-04-16 Juergen Vigna <jug@sad.it>
6301 * text2.C (setCursor): set also the irow().
6302 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6304 (cursorDown): support for locking an inset if the x_fix value goes
6305 inside it. That way I can transverse insets too with cursor up/down.
6307 * lyxrow.h: added irow helper function same as other (i) functions.
6309 * BufferView_pimpl.C (cursorPrevious):
6310 (cursorNext): fixed for insets!
6312 2002-04-15 Juergen Vigna <jug@sad.it>
6314 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6315 position otherwise it is wrong in some cases.
6317 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6318 inside the inset before the call.
6320 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6322 * buffer.[Ch] (getBibkeyList): make it const.
6324 2002-04-12 Juergen Vigna <jug@sad.it>
6326 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6328 * text2.C (getCursorX): new helper function
6329 (setCursor): compute also ix_
6330 (setCursorFromCoordinates): set also ix.
6332 * lyxcursor.h: added ix_ and helper functions.
6334 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6336 * buffer.C (insertStringAsLines): dont break paragraph if the this
6337 paragraph is inside an inset which does not permit it!
6339 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6340 also with no chars on this paragraph.
6341 (paintRowText): only paint stuff if it's inside the workarea!
6343 * paragraph.C (breakParagraph): honor keepempty flag and break the
6344 paragraph always below not above.
6346 * BufferView2.C (unlockInset): update the paragraph layout on inset
6347 unlock as we changed paragraph in such a case.
6349 * lyxfind.C (LyXFind): clear the former selection if not found!
6351 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6352 again called in insertChar().
6354 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6355 an inset which uses the whole row!
6356 (rightMargin): ditto.
6357 (insertChar): force a rebreak if we inserted an inset!
6359 2002-03-28 Herbert Voss <voss@lyx.org>
6361 * lyxlength.[Ch]: add inBP() to get the right PS-point
6362 units (BigPoint). With inPixels we have rounding errors
6364 2002-04-11 Juergen Vigna <jug@sad.it>
6366 * text2.C (setCursorFromCoordinates): set iy to the right value.
6367 (setCursor): add check if row->previous exists!
6369 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6370 an old float_type as this was the case in the old code!
6372 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6374 * BufferView2.C (showLockedInsetCursor): use iy
6375 (fitLockedInsetCursor): ditto
6377 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6378 locked insets as there we have the right value now.
6380 * lyxcursor.C: added iy_ variable and iy functions to set to the
6381 baseline of cursor-y of the locked inset.
6383 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6384 (setCursor): fixed for insets which need a full row.
6386 * text.C (rowLastPrintable): don't ignore the last space when before
6387 an inset which needs a full row.
6388 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6389 as last character of a row when before a inset which needs a full row.
6391 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6393 * version.C.in: update date
6395 * text2.C (fullRebreak): try to always return true and see what
6398 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6400 * MenuBackend.C (expand): use Floating::listName
6402 * FloatList.C (FloatList): add listName argument to the built-in
6405 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6406 text associated with the float.
6408 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6410 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6412 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * ShareContainer.h: add a couple of missing typenames.
6416 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6418 * lyxrc.C (getDescription): use _() correctly rather than N_().
6420 2002-03-28 Herbert Voss <voss@lyx.org>
6422 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6423 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6425 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6427 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6428 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6430 2002-03-29 Juergen Vigna <jug@sad.it>
6432 * lyxfunc.C (dispatch): add a missing fitCursor call.
6434 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6435 it was scrolled by a cursor move, so return the bool status.
6437 * BufferView.C (fitCursor): return the bool flag also to the outside
6438 world as this is needed.
6440 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6442 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6443 call the edit() as it is not needed (and wrong) IMO.
6444 (workAreaButtonPress): set the screen_first variable before evt.
6445 unlock the inset as this may change screen_first and then we have
6446 a wrong y position for the click!
6448 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6450 * MenuBackend.C (expand): another translation that I missed
6452 2002-03-28 Juergen Vigna <jug@sad.it>
6454 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6456 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6458 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6460 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6462 * MenuBackend.C (expand): fix export/view/update when there is no
6465 2002-03-27 Herbert Voss <voss@lyx.org>
6467 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6470 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6472 * bufferview_funcs.C (currentState): only show paragraph number
6473 for is DEVEL_VERSION is set.
6475 * lyxfunc.C (dispatch): put warning in INFO channel
6477 * MenuBackend.C (expand): translate the name of floats
6479 * FloatList.C (FloatList): mark the float names for translation
6481 * converter.C (convert): use LibScriptSearch
6483 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6485 * MenuBackend.C (defaults): fix default menu (we might as well get
6488 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6490 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6493 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6495 * lyxvc.C: reorder includes.
6497 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6499 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6502 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6504 * CutAndPaste.C: change layouts earlier on paste
6505 to avoid crashing when calling getFont()
6507 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6509 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6512 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6514 * WorkArea.C: remove 'Pending' debug message.
6516 * most files: ws cleanup
6518 * buffer.[Ch]: ws changes
6520 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6522 2002-03-21 Juergen Vigna <jug@sad.it>
6524 * tabular.C (SetMultiColumn): collapse also the contents of the
6525 cells and set the last border right. Added a Buffer const * param.
6527 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6529 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6532 2002-03-19 Juergen Vigna <jug@sad.it>
6534 * text2.C (clearSelection): reset also xsel_cache.
6536 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6537 where it needs to be called (John tells us to do so too :)
6538 (selectionLost): reset sel_cache.
6540 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6542 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6544 * text2.C (setCursorIntern): put debuging code in INSETS channel
6546 2002-03-19 André Pönitz <poenitz@gmx.net>
6548 * lyxfunc.C: tiny whitespace change
6550 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6552 * ToolbarDefaults.C (init):
6553 * LyXAction.C (init):
6555 * BufferView_pimpl.C (Dispatch):
6556 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6558 2002-03-19 Allan Rae <rae@lyx.org>
6560 * exporter.C (Export): removeAutoInsets before doing anything else.
6561 While I've just introduced a dependency on BufferView this really is
6562 the best place to clean the buffer otherwise you need to cleanup in
6563 a dozen places before calling export or cleanup in a dozen functions
6566 * converter.C (runLaTeX):
6567 (scanLog): Better handling of removeAutoInsets and screen updates.
6569 * lyxfunc.C (dispatch): small whitespace changes
6571 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6573 * WorkArea.C (C_WorkAreaEvent): return a value.
6574 (event_cb): return 1 if we handled the event, 0 otherwise.
6576 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6578 2002-03-18 Juergen Vigna <jug@sad.it>
6580 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6581 (GetAdditionalWidth): ditto.
6585 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6586 inset if we're there actually (probably not used right now but this
6587 is the direction to go for unifying code).
6588 (paste): disable code to clear the selection.
6590 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6591 inside an InsetText and move the check further up as it is in the
6594 * text2.C (pasteSelection): set a selection over the pasted text.
6596 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6598 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6599 and libgraphics to build on Cygwin.
6601 2002-03-15 Juergen Vigna <jug@sad.it>
6603 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6604 inserting an Inset into the paragraph. I know this is not the best
6605 fix but we already use current_view in CutAndPaste so we will remove
6606 all of it's using at the same time.
6608 * buffer.C (sgmlError): deactivated function till it is rewritten in
6609 the right mode, now it can create problems.
6611 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6612 before accessing it.
6614 2002-03-14 Juergen Vigna <jug@sad.it>
6616 * undo_funcs.C (textHandleUndo): do the right thing when updating
6617 the inset after the undo/redo.
6619 * text2.C (setCursor): just some testcode for #44 not ready yet.
6621 * undo_funcs.C (textHandleUndo): set the next() and previous()
6622 pointers of the paragraph to 0 before deleting otherwise we have
6623 problems with the Paragraph::[destructor].
6625 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6626 on a paragraph insertion.
6628 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6630 * buffer.C (asciiParagraph): use += operator for char append to
6633 * paragraph.C (getFontSettings): compare >= not just >
6634 (highestFontInRange): ditto
6637 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6639 * paragraph.C: change several algorithm to be more appripriate for
6640 the problem domain. This is lookip in FontList and in the InsetList.
6642 2002-03-13 André Pönitz <poenitz@gmx.net>
6645 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6647 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6652 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6654 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6656 * Painter.C (display): anon helper function, adjust code for this
6658 (pixmap): remove function.
6660 * Painter.h: remove private display variable.
6662 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6664 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6666 * WorkArea.[Ch]: remove figinset_canvas cruft.
6668 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6670 * lyxtextclass.C (operator): add one item cache optimization.
6672 * bufferlist.h: doxy changes
6674 * bufferlist.C: ws changes
6676 * DepTable.[Ch] (ext_exist): place const in the right spot.
6678 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6680 (workAreaExpose): call resizeInsets when the with BufferView changes.
6681 (Dispatch): adjust for protectedBlank removal
6682 (specialChar): call updateInset if the insert went ok.
6684 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6685 specialChar instead.
6687 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6689 * BufferView.h: doxy change
6691 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6693 * lyxtextclass.C (operator[]): remove non-const version
6694 (defaultLayout): remove non-const version
6696 2002-03-12 Juergen Vigna <jug@sad.it>
6698 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6699 did resize the LyXText too.
6701 * buffer.C (readLyXformat2): set layout information on newly allocated
6704 * tabular.C (OldFormatRead): set layout information on the paragraph.
6706 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6708 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6710 2002-03-11 Juergen Vigna <jug@sad.it>
6712 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6714 (resizeCurrentBuffer): force also the insets to resize themselfes.
6715 (moveCursorUpdate): fixed up for InsetText.
6717 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6720 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6721 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6722 value of Dialogs::tooltipsEnabled().
6723 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6725 2002-03-08 Juergen Vigna <jug@sad.it>
6727 * BufferView_pimpl.C (updateInset): update inset inside inset also
6728 if it isn't inside theLockingInset().
6730 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6732 * buffer.C (asciiParagraph): redo some of the word and line length
6734 (getLists): look for Caption instead of caption.
6736 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6738 * buffer.C (Buffer): initialize niceFile to true
6741 (makeDocBookFile): make sure niceFile is true on exit
6743 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6745 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6747 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6749 * LyXSendto.C: remove.
6750 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6751 * lyx_gui.C: remove now-redundant comment.
6752 * ColorHandler.h: remove forward declaration of class WorkArea.
6753 * lyxfunc.C: remove #include "WorkArea.h".
6755 2002-03-07 Juergen Vigna <jug@sad.it>
6757 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6758 got moved away with the DEPM and also set the inset_owner always
6759 right which before could have been omitted.
6761 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6763 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6764 wanted layout is not found.
6766 2002-03-07 Juergen Vigna <jug@sad.it>
6768 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6770 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6772 * paragraph.C (breakParagraph): use default layout not layout of
6774 (Paragraph): clear ParagraphParameters.
6776 2002-03-06 Juergen Vigna <jug@sad.it>
6778 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6779 otherwise it would not be a valid lenght. Fixed a special case in
6780 the minipage compatibility read where we end the document with a
6783 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6784 was set as it could be 0 for InsetTexts first entry.
6786 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6788 * paragraph.C (writeFile): if layout is empty write out
6789 defaultLayoutName().
6791 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6792 file without named layout we set layout to defaultLayoutName().
6794 2002-03-06 Juergen Vigna <jug@sad.it>
6796 * CutAndPaste.C (copySelection): set layout for new paragraph.
6798 * text.C (prepareToPrint): leave ERT inset left aligned
6799 (leftMargin): don't indent paragraphs inside ERT insets
6801 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6803 * paragraph.C (breakParagraph): dont call clear do the work manually
6805 * paragraph.[Ch] (clear): remove function
6807 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6809 * paragraph.C (Paragraph): dont call clear, the work has already
6812 * lyxtextclass.C (operator): assert if n is empty
6814 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6815 work manually instead.
6817 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6819 * BufferView_pimpl.C: protect selectionLost against text == 0
6821 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6823 * text.C (breakParagraph): fix a setting layout to '0' problem.
6825 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6827 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6828 final location of file, for the included files, and graphics.
6830 2002-03-05 Juergen Vigna <jug@sad.it>
6832 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6834 2002-03-04 Juergen Vigna <jug@sad.it>
6836 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6838 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6839 last column of multicolumn cells.
6840 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6842 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6844 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6845 file if it doesn't go to a temporary file.
6847 * buffer.C (sgmlOpenTag):
6848 (sgmlCloseTag): remove extra newline insertion.
6850 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6852 * text.C (getRowNearY): comment out debug msg
6854 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6856 * text2.C: first -> first_y
6858 * text.C (getRowNearY): add some attemts at a possible
6859 optimization, not working.
6861 * tabular.[Ch]: add BufferParams to several function so that newly
6862 created paragraph can be initialized to he default layotu for the
6865 * tabular-old.C (ReadOld): add buf->params to call of Init
6867 * screen.C: rename text->first to text->first_y
6869 * paragraph.C (breakParagraph): always set layout in the broken
6872 * lyxtextclass.C (Read): remove lowercase
6875 (delete_layout): ditto
6877 * lyxtext.h: rename first -> first_y
6879 * lyxlayout.C (Read): remove lowercase
6882 (obsoleted_by): ditto
6884 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6886 * buffer.C (insertErtContents): add params are to InsetERT
6887 (parseSingleLyXformat2Token): add code to check if a paragraphs
6888 layout really exist.
6889 (parseSingleLyXformat2Token): add params to several inset
6891 (asciiParagraph): remove lowercase, do the layout comparisons with
6894 * BufferView_pimpl.C (cursorNext): first -> first_y
6895 (resizeCurrentBuffer): first -> first_y
6896 (updateScrollbar): first -> first_y
6897 (scrollCB): first -> first_y
6898 (workAreaMotionNotify): first -> first_y
6899 (workAreaButtonPress): first -> first_y
6900 (checkInsetHit): first -> first_y
6901 (cursorPrevious): first -> first_y
6902 (cursorNext): first -> first_y
6903 (Dispatch): add buffer_->params to severl inset contructors
6905 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6907 * lyxlayout.C (Read): remove some debug info that I forgot.
6909 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6910 clean up the code slightly.
6911 (makeLinuxDocFile): ditto
6912 (makeDocBookFile): ditto
6914 * text2.C: layout as string
6916 * text.C: layout as string
6918 * paragraph_pimpl.C: layout as string
6920 * paragraph.[Ch]: layout as string
6922 * lyxtextclasslist.[Ch]: layout as string
6924 * lyxtextclass.[Ch]: layout as string
6926 * lyxtext.h: layout as string
6928 * lyxlayout.[Ch]: layout as string
6930 * lyx_cb.C: layout as string
6932 * bufferview_funcs.C: layout as string
6934 * bufferparams.C: layout as string
6936 * buffer.C: layout as string
6938 * LyXView.[Ch]: layout as string
6940 * LaTeXFeatures.[Ch]: layout as string
6942 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6944 * BufferView_pimpl.C: change current_layout to string, remove
6949 (workAreaButtonRelease): layout as string
6951 * BufferView2.C (unlockInset): adjust
6953 * vspace.C (asLatexCommand): use an explict temp variable.
6955 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6957 * Makefile.am: use FRONTEND_*
6959 2002-03-01 Juergen Vigna <jug@sad.it>
6961 * tabular.C (SetWidthOfMulticolCell): changed to something better
6962 I hope but still work in progress.
6963 (recalculateMulticolumnsOfColumn): renamed function from
6964 recalculateMulticolCells as it is more appropriate now.
6965 (SetWidthOfCell): calculate multicols better.
6967 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6969 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6971 * lyxfunc.C (processKeySym): print sequence also if it is
6972 `deleted' (complete)
6974 * kbsequence.C (print): print sequence even if it is deleted
6975 (complete would be a better word, actually).
6977 * lyxfunc.C (dispatch): print complete options after a prefix key
6979 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6981 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6983 * text2.C (setCharFont): eliminate setCharFont code duplication.
6985 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6987 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6988 LFUN_TABULAR_FEATURE (bug #177)
6990 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6992 * Makefile.am: remove figure.h
6994 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6996 * Bufferview_pimpl.C:
7008 * text2.C: remove #include "lyx_gui_misc.h".
7010 * LaTeX.C: added #include <cstdio>
7012 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7014 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7015 that the paragraph following this one can have.
7017 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7019 * vspace.C (asLatexCommand): fix bogus gcc warning
7021 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7023 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7025 * text2.C (setLayout): get rid of redundant code
7027 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7029 * text2.C (incDepth): make sure depth cannot be increased beyond
7032 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7034 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7035 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7037 * PainterBase.h (image):
7038 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7041 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7045 * BufferView_pimpl.C:
7046 * BufferView_pimpl.h:
7066 * sp_spell.C: remove fig inset, and the crap house of
7067 cards that follows it
7069 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7075 * nt_defines.h: move .h into support/
7077 * vms_defines.h: remove
7079 * WorkArea.C: add space in debug output
7083 * buffer.C: add WITH_WARNINGS
7087 * bufferlist.C: s/retrive/retrieve/, add docs
7098 * lyxgui.C: add ID to X error handler
7100 * lyxtestclass.c: fix typo
7102 2002-02-26 Juergen Vigna <jug@sad.it>
7104 * tabular_funcs.C (write_attribute): changed so that some default
7105 attributes are not written at all.
7106 (getTokenValue): set default values before trying to read the
7107 value so we have the return value always set as default if we don't
7108 find the token we search for.
7110 * tabular.C (Write): write bools as bools not as strings!
7112 2002-02-22 Juergen Vigna <jug@sad.it>
7114 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7115 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7117 * text.C (leftMargin): don't add an indent for paragraphs inside
7118 tabular cells (fix #208).
7120 2002-02-21 José Matos <jamatos@fep.up.pt>
7122 * tabular.C (docBook): fixed support for long tables.
7124 2002-02-20 Juergen Vigna <jug@sad.it>
7126 * text2.C (getFont): get the drawing font of the Inset if this
7127 paragraph is inside an inset (only important for InsetERT for now).
7129 * buffer.C (insertErtContents): use new lanugage params in ERT
7132 * CutAndPaste.C: commenting out seemingly uneeded code.
7134 2002-02-19 Allan Rae <rae@lyx.org>
7136 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7137 Iterators might be simple to use but they also get invalidated.
7138 (removeAutoInsets): renamed saved cursor tracking variables and added
7139 some comments to clarify what everything does.
7141 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7148 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7149 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7152 * vc-backend.h: remove #include "support/syscall.h"
7156 * converter.C: rearrange #includes in Lars' approved fashion.
7158 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7159 forward declare class Timeout in the header file.
7161 * XFormsView.C: changes due to the above.
7163 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7166 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7167 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7169 2002-02-18 José Matos <jamatos@fep.up.pt>
7171 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7174 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7176 * a lot of small ws changes
7177 * add a lot of using std::XXX
7178 * use std construcs some places where approp.
7179 * use some exisint stuff from lyxfunctional where approp.
7180 * Make file changes to use partial linking (lets test this now...)
7182 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7186 remove #include "support/syscontr.h" as it's redundant. Always has been.
7194 change Systemcalls::System to Systemcalls::Wait and
7195 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7196 No change of functionality, just reflects the stripped down Systemcalls
7199 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7201 * debug.[Ch]: add a GRAPHICS type to the enum.
7203 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7205 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7207 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7210 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7212 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7213 match the changes below.
7215 * text2.C (toggleInset): if there is not editable inset at cursor
7216 position, try to see if cursor is _inside_ a collapsable inset
7219 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7222 document menu has a nice checkbox
7224 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7226 * lyxlength.C (asLatexString): change PW to output as percent of
7229 * lengthcommon.C: change '%' to 't%'
7231 * lyxfunc.C (dispatch): a few comments from Martin
7233 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7237 * BufferView_pimpl.h:
7238 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7241 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7243 * vspace.C (inPixels): fix compiler warning
7245 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7247 * lyxfunc.C (getStatus): fix status message for disabled commands.
7249 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7251 * BufferView_pimpl.C: fix crash on close buffer
7252 during selection (#227)
7254 2002-01-27 Herbert Voss <voss@lyx.org>
7256 * buffer.C: link old Figure to new graphic inset
7258 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7260 * FontLoader.C (getFontinfo): Change the latex font names in order
7261 to match the names of type1inst.
7263 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7265 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7267 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7270 (remove_files_with_extension): ditto
7271 (remove_file): ditto
7274 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7275 document is smaller than the work area height. Do not initialize
7276 static variables to 0.
7278 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7280 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7282 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7283 LFUN_LAYOUT_PARAGRAPHS.
7285 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7286 tabular. It is possible to provide a possible cell, which will
7287 typically be the actcell from the corresponding insettabular
7289 * lyxfunc.C (getStatus): small cleanup; disable
7290 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7293 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7295 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7297 * paragraph.C (startTeXParParams):
7298 (endTeXParParams): new methods. The LaTeX code to
7299 start/end paragraph formatting
7300 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7301 empty (fixes bug #200)
7303 * vspace.C (inPixels): adapt to the change below
7304 (inPixels): [later] more cleanups (remove unused variables)
7306 * lyxlength.C (inPixels): change to use a width and a height as
7309 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7311 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7312 Replaced with \paperwidth
7314 * DepTable.C (insert): add std:: qualifier
7316 2002-01-18 Allan Rae <rae@lyx.org>
7318 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7321 * text.C (drawInset): Turned out I didn't know enough about how
7322 rebreaking worked. This fixes most of the redraw problems. I see
7323 an occasional cursor trail when a line is broken now and the cursor
7324 placement can seem out by a few pixels also after a rebreak.
7326 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * buffer.C (parseSingleLyXformat2Token): update because minipage
7329 width is now a LyXLength
7331 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7333 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7336 2002-01-17 Juergen Vigna <jug@sad.it>
7338 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7340 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7341 is set correctly and the inset is updated correctly.
7343 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7345 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7346 the beginning of the loop.
7348 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7350 * lyxrc.C: improve help for use_scalable_fonts
7352 2002-01-17 Allan Rae <rae@lyx.org>
7354 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7356 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7358 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7359 make sure to set their inset_owner to the right value (bug #171)
7361 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7364 * DepTable.C: Implement mtime checking to reduce time spent doing
7367 2002-01-16 Juergen Vigna <jug@sad.it>
7369 * tabular.C (GetAdditionalHeight): one of error fixed.
7371 * lyxrc.C (output): small fix in writing use_pspell.
7373 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7375 * sp_base.h: #include LString.h
7377 2002-01-16 Allan Rae <rae@lyx.org>
7379 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7380 Can someone check this please?
7382 * text.C (drawInset): It was possible that p.row would be removed by
7383 breakAgainOneRow upsetting a few other settings. There may be another
7384 small tweak possible by setting need_break_row = 0 when p.row has been
7385 removed but I don't know enough about the logic here.
7387 2002-01-15 Allan Rae <rae@lyx.org>
7389 * text.C (insertChar): removed conditional truism.
7391 * BufferView2.C (removeAutoInsets): More tweaks.
7392 cur_par_prev could be a stray pointer. Check for trailing empty line
7393 in case last line was cur_par and only had an error inset on it.
7395 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7397 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7400 * vc-backend.C (most methods):
7401 * exporter.C (Export):
7402 * converter.C (convert):
7404 * LyXSendto.C (SendtoApplyCB):
7405 * lyxfunc.C (dispatch):
7409 * lyx_cb.C (AutoSave):
7411 * BufferView_pimpl.C (MenuInsertLyXFile):
7412 * buffer.C (runChktex): use Buffer::filePath().
7414 * buffer.h: rename filename to filename_; rename filepath to
7415 filepath_ and make it private
7416 (filePath): new method
7418 * buffer.C (writeFile): use fileName()
7421 * lyx_main.C (init): fix starting of LyX when the binary is a
7422 link from so,ewhere else.
7424 * minibuffer.C: include <cctype> for isprint
7426 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7428 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7429 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7430 name clash with InsetCollapsable's width function.
7432 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7434 * lastfiles.C: include <iterator>
7436 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7438 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7441 * buffer.C (makeLaTeXFile): ditto.
7442 Also make loop operation more transparent.
7444 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7446 * ToolbarDefaults.C: remove trailing comma closing namespace.
7448 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7450 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7453 * trans.C (Load): comment out unused variable, allowed.
7455 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7457 * minibuffer.[Ch] (append_char): new method to recieve input from the
7458 drop-down completion browser. If a key was pressed, then recieve this
7459 char and append it to the existing string.
7460 (peek_event): modify the positioning data passed to the completion
7461 browser so that it can be placed above the minibuffer rather than below.
7462 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7464 * LyXAction.C (init): alloe error-next for readonly documents.
7466 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7469 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7471 * bufferlist.C (readFile): create the buffer _after_ checking that
7474 * lyxfunc.C (verboseDispatch): fix handling of arguments
7476 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7478 * lyxrc.C: use string::erase() instead of initializing to "".
7481 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7483 * BufferView_pimpl.h:
7484 * BufferView_pimpl.C:
7487 * text2.C: tell X when we have made a selection for copying
7489 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7491 * BufferView_pimpl.C (MenuInsertLyXFile):
7492 * lyxfunc.C (menuNew):
7494 (doImport): add shortcuts to directory buttons
7496 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7499 * lyxfunc.C (setStatusMessage):
7500 (getStatusMessage): new methods
7501 (getStatus):use setStatusMessage instead of setErrorMessage
7502 (dispatch): when function is disabled, set error message here
7503 [instead of in getStatus previously]
7505 * BufferView_pimpl.C (workAreaButtonRelease): update
7506 toolbar/menubar here too.
7508 2002-01-13 Allan Rae <rae@lyx.org>
7510 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7511 Now seems indestructible. Remaining task is to audit all other
7512 code affected by deleteEmptyParagraphMechanism. One small quirk
7513 left is that an empty document with an error in the preamble can
7514 be made to report an error but no error box appears. I don't know
7516 (removeAutoInsets): Improved comments.
7518 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7521 * Thesaurus.C: update for Aiksaurus 0.14
7523 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7525 * text2.C (firstParagraph): removed member function, all uses
7526 replaces with ownerParagraph
7527 (redoParagraphs): here
7529 (toggleAppendix): here
7530 * BufferView2.C (insertErrors): here
7531 (setCursorFromRow): here
7533 2002-01-13 Allan Rae <rae@lyx.org>
7535 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7536 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7537 There is still a way to segfault this although you may have to do this
7538 multiple times: Have an InsetERT with an unknown command in it.
7539 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7540 <down-arrow>, <Enter> again, View->DVI, BANG!
7542 * text2.C (setCursor):
7543 (deleteEmptyParagraphMechanism):
7544 * lyxtext.h (setCursor):
7545 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7546 Making use of the return value may help fix other bugs.
7548 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7550 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7552 * LyXView.C (updateMenubar): call MenuBar::update here
7553 (updateToolbar): but not here
7554 (showState): do not update toolbar/menubar
7556 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7557 should need to care about that.
7559 * lyxfunc.C (verboseDispatch): simplify a bit
7560 (getStatus): have a version which takes a pseudoaction, and
7561 another which requires a (kb_action,string).
7563 * LyXAction.C (retrieveActionArg): make it work also when action
7564 is not a pseudo-action.
7565 (getActionName): simplify a bit
7568 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7570 * lyxfunc.C (verboseDispatch): new families of methods with
7571 several ways to specify a command and a bool to indicate whether
7572 the command name and shortcut should be displayed in minibuffer
7573 (eventually, we could extend that to a finer bitmask like
7574 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7575 (dispatch): the pristine dispatch command which just, well,
7576 dispatchs! Note it still sets its result to minibuffer; I'm not
7579 * lyxfunc.h: remove setHintMessage
7581 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7583 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7585 * BufferView_pimpl.C (specialChar): delete new inset if we have
7586 not been able to insert it.
7588 * kbmap.C: revert to using int instead of kb_action, since all we
7589 are dealing with is pseudo-actions.
7591 * LyXAction.C (searchActionArg): change to return int instead of
7592 kb_action, since the result is a pseudoaction.
7594 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7596 * buffer.C (insertErtContents): Fix (partially) the font bug.
7598 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7600 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7601 as the other one is broken on my machine!
7603 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7606 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7608 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7610 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7611 reflect their actual use. Provide compatibility code for older lyxrc
7614 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7616 change names of popup font variables in line with the changes to lyxrc.C
7618 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7620 * buffer.C (asciiParagraph): avoid outputing a word twice after
7623 * lyxrc.C (getDescription): document that document_path and
7624 template_path can be empty.
7626 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7628 * LaTeXFeatures.C (getMacros):
7629 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7631 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7633 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7635 (getPackages): rename feature "floats" to "float". Use an array to
7636 iterate over 'simple' features (i.e. just a \usepackage). Add
7637 handling of "amsmath" (renamed from "amsstyle").
7639 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7641 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7644 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7646 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7647 FuncStaus::FuncStatus & FuncStaus::some_method().
7649 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7651 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7652 of the func_satus stuff. Edited and massaged in various ways by
7655 * lyxfunc.C (getStatus): use FuncStatus
7657 2002-01-08 Juergen Vigna <jug@sad.it>
7659 * text.C (nextBreakPoint): use function Inset::isChar().
7661 * paragraph.C (TeXOnePar): use function
7662 Inset::forceDefaultParagraphs.
7664 * buffer.C (latexParagraphs): use function
7665 Inset::forceDefaultParagraphs.
7667 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7669 * lyx_gui.C (init): set the style of the menu popups to
7670 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7672 2002-01-07 Juergen Vigna <jug@sad.it>
7674 * text.C (setHeightOfRow): small fix
7675 (prepareToPrint): don't look at alignment if we don't have the place
7678 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7680 * box.C: New file. Move the Box methods and functions out of box.h,
7681 following Lars' suggestion.
7683 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7685 * box.h: #include "support/LOstream.h", needed for inlined function.
7688 * lyxtextclasslist.C: added some using std declarations.
7690 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7692 * box.h: make signed dimensions to allow insets wider than
7693 the screen (bug #162)
7695 * BufferView_pimpl.C: add some insetHit debug
7697 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7699 * vc-backend.C: add FIXME
7701 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * lyxfunc.C (getStatus): enable code for showing math font status
7706 2002-01-07 Juergen Vigna <jug@sad.it>
7708 * text.C (nextBreakPoint): removed debug output not needed anymore.
7710 2002-01-06 Juergen Vigna <jug@sad.it>
7712 * text.C (nextBreakPoint): fixed up this function we had this bug
7713 since ever but now hopefully we break row better.
7714 (insertChar): we have to check if an inset is the next char as it
7715 could now happen that a large inset is causing a break.
7717 2002-01-05 Juergen Vigna <jug@sad.it>
7719 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7720 if it doesn't like to be drawed.
7722 2002-01-04 Juergen Vigna <jug@sad.it>
7724 * BufferView2.C (lockInset): forgot to set a cursor.
7726 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7728 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7733 * form_maths_panel.C:
7734 * form_maths_panel.h:
7735 * form_maths_panel.fd: implemented sub- and super- buttons in math
7738 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7739 (or ^ space) to be used as in TeX (req'd by André).
7741 * lyxfunc.C: Allow ^ and _ again to be used both as
7742 super/subscript (mathed) and as themselves (in text).
7744 2002-01-03 Allan Rae <rae@lyx.org>
7746 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7747 "LyX" or the filename of the current buffer if it has one. This is a
7748 modified form of John Levon's patch.
7750 * XFormsView.C (setWindowTitle): also set icon title.
7752 * LyXView.h (setWindowTitle): signature changed.
7753 * XFormsView.h (setWindowTitle): ditto.
7755 2002-01-02 Juergen Vigna <jug@sad.it>
7757 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7759 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7761 * screen.C (topCursorVisible): introduce a temp var for
7762 text->cursor.row(), handle the case where this row is null. (kindo
7765 * text2.C (setCursor): add a couple of asserts.
7767 * paragraph.h (inset_iterator): add -> operator
7769 * paragraph.[Ch] (autoDeleteInsets): remove member function
7771 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7772 cursor pos correctly and handle inset deletion by itself.
7773 (insertErrors): move iterator declaration out of for expression
7775 * lyxtextclass.C: add <algorithm>
7777 * Makefile.am: added the new files to sources, removed layout.C
7779 * layout.C: removed file
7781 * layout.h: remove LYX_DUMMY_LAYOUT
7783 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7787 * lyxtextclass.[Ch]:
7788 * lyxtextclasslist.[Ch]: new files
7790 * include order changes to a lot of files, also changes because of
7793 2001-12-27 Juergen Vigna <jug@sad.it>
7795 * buffer.C (asciiParagraph): more fixes.
7797 * tabular.C (ascii): make ascii export support export of only the
7798 data separated by a column-delimiter.
7799 (ascii): better support for ascii export.
7801 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7803 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7805 * tabular_funcs.C: use a "using std::getline" instead of the
7806 previous fix from Angus (necessary for cxx + lyxstring)
7808 2001-12-24 Juergen Vigna <jug@sad.it>
7810 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7812 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7813 problems. First check a minipage also if we have some ert-contents
7814 (not only on par->size(), second set the right depth of the paragraph
7815 on the relink to the root-paragraph-list!
7817 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7818 which then did not anymore update the main paragraphs on undo/redo!
7820 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7822 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7823 code. Support all font-changing funcs (even those which are not in
7824 menu currently). Support for reporting font settings in
7825 mathed (disabled until Andre provides a function on mathed's side).
7827 * func_status.h (toggle): small helper function to set toggle
7830 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7832 * tabular_funcs.C: getline -> std::getline
7834 2001-12-21 Juergen Vigna <jug@sad.it>
7836 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7837 accessed and could be 0 (I couldn't generate this but it seems
7840 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7842 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7843 * tabular_funcs.h: here and include iosfwd
7845 2001-12-20 Juergen Vigna <jug@sad.it>
7847 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7848 inside inset but undo_par was.
7850 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7852 * Thesaurus.C: always include <config.h> in sources.
7856 * box.h: do not include <config.h> in header files
7858 * text.C (paintLastRow): remove unused variable
7860 * text.C (transformChar):
7862 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7865 * font.C (width): rewrite to use uppercase() instead of
7868 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7870 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7872 * lyxfind.C: clean up of find failure position change
7874 2001-12-20 Juergen Vigna <jug@sad.it>
7876 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7878 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7879 (TeXRow): added to LaTeX a single tabular row.
7880 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7881 (Latex): simplified and finally good LT-h/f support.
7882 (various_functions): just small adaptions for LT-h/f support.
7884 * tabular_funcs.[hC]: added and moved here all not classfunctions
7887 2001-12-19 Juergen Vigna <jug@sad.it>
7889 * tabular.[Ch]: better support for longtabular options (not finished
7892 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * text.C (paintLastRow): use the label font instead of the font of
7895 the last character to compute the size of *_BOX. This makes more
7896 sense and avoids a crash with empty paragraphs.
7897 Use Painter::rectangle to draw EMPTY_BOX.
7899 2001-12-19 Juergen Vigna <jug@sad.it>
7901 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7902 the paragraphs if the replaced paragraph is not the first one!
7903 Tried to delete not used paragraphs but does not work yet so for
7904 now it's inside #ifdef's and by default off!
7906 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7908 * MenuBackend.C: include "lyx_main.h" instead of declaring
7909 lastfiles (actually was declared as LastFiles* instead of a
7912 2001-12-17 Juergen Vigna <jug@sad.it>
7914 * tabular.C (AppendColumn): applied John's fix
7916 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7920 * BufferView_pimpl.h:
7921 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7924 * box.h: new start of class for above
7926 * lyxfunc.C: ignore space-only minibuffer dispatches.
7927 Show the command name when it doesn't exist
7929 * minibuffer.C: don't add empty lines to the history
7931 * minibuffer.C: add a space on dropdown completion
7933 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7935 * text.C: fix line above/below drawing in insets
7937 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7939 * lyxlength.C (LyXLength): Initialize private variables.
7941 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7943 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7944 when inserting error insets.
7946 2001-12-13 Juergen Vigna <jug@sad.it>
7948 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7949 actually sometimes the before-paragraph.
7950 (setUndo): don't clear the redostack if we're not actually undoing!
7952 2001-12-06 Juergen Vigna <jug@sad.it>
7954 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7955 and fixed redoing of main paragraph, so we can use it now ;)
7957 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7959 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7961 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7964 2001-12-13 André Pönitz <poenitz@gmx.net>
7967 * undo_func.C: minor cleanup
7969 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7971 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7972 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7973 font in urw-fonts package which is marked as -urw-fontspecific and
7974 does not work (incidentally, changing the encoding in the
7975 fonts.dir of this package to -adobe-fontspecific fixes the
7978 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7979 is a crash when undoing first paragraph (Juergen, please take a
7980 look). THis does not mean the undo fix is wrong, just that it
7983 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7984 the (Paragraph*) version when needed instead of duplicating the
7987 * text.C (workWidth): use Inset::parOwner to find out where the
7988 inset has been inserted. This is a huge performance gain for large
7989 documents with lots of insets. If Inset::parOwner is not set, fall
7990 back on the brute force method
7992 * paragraph_pimpl.C (insertInset):
7993 * paragraph.C (Paragraph):
7994 (cutIntoMinibuffer): set parOwner of insets when
7995 inserting/removing them
7997 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7999 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8005 * mathed/formulabase.C:
8006 * mathed/math_cursor.[Ch]:
8007 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8010 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8012 * lyxlength.[Ch] (operator!=): new function
8014 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8016 * text.C (workWidth): use Inset::parOwner to find out where the
8017 inset has been inserted. This is a huge performance gain for large
8018 documents with lots of insets. If Inset::parOwner is not set, fall
8019 back on the brute force method
8021 * paragraph_pimpl.C (insertInset):
8022 * paragraph.C (Paragraph):
8023 (cutIntoMinibuffer): set parOwner of insets when
8024 inserting/removing them
8026 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8028 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8030 * tabular-old.C (getTokenValue):
8031 * tabular.C (getTokenValue):
8032 (write_attribute): new versions for LyXLength
8033 (everywhere): adjust the use of widths
8035 * tabular.h: change the type of widths from string to LyXLength
8037 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8039 * paragraph.C: fixed missing line number count when exporting
8040 Environments to LaTeX file
8042 * buffer.C: added informational message for checking line numbers.
8044 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8046 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8047 paragraph, do the 'double space' part, but not the 'empty
8050 * text.C (workWidth): small optimization
8051 (getLengthMarkerHeight): use minimal size for negative lengths.
8053 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8055 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8057 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8059 2001-12-11 André Pönitz <poenitz@gmx.net>
8062 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8064 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8066 * text2.C: keep selection on a setFont()
8068 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8070 * lyx_cb.C: another bv->text misuse, from insert label
8072 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8075 * kbsequence.C: re-instate nmodifier mask
8077 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8079 * lyx_main.h: make lyxGUI private.
8081 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8083 * lyxfind.C: place the cursor correctly on failed search
8085 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * text.C (getLengthMarkerHeight): for small heights, the arrows
8088 are not always on top/bottom of the text
8089 (drawLengthMarker): smaller arrows; take the left margin in
8090 account; draw also vfills.
8092 (paintLastRow): remove special code for vfill and standard spaces,
8093 since everything is handled in drawLengthMarker now.
8095 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8097 * buffer.C (insertErtContents): try to handle font and language
8098 interaction a bit better.g
8100 * ColorHandler.C (updateColor): change the hash to cover the whole
8101 LColor enum, ws cleanup
8102 (getGCLinepars): ditto
8103 (getGCLinepars): only lookup in the linecache once.
8105 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8107 * iterators.C (operator++): Make the iterator more robust
8109 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8111 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8116 * text.C: better added space drawing
8118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8121 * BufferView2.C: fix layout combo update on inset unlock
8123 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8125 * Makefile.am: don't compile unused files
8127 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8131 * LyXAction.C: remove old LFUN_LAYOUTNO
8133 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8135 * paragraph_pimpl.h:
8136 * paragraph_pimpl.C: isTextAt() doesn't need font param
8138 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8141 * lyxlex.C: little cleanup
8143 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8145 * BufferView_pimpl.C: fix insertAscii for insets
8147 2001-12-05 Juergen Vigna <jug@sad.it>
8149 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8150 set the right font on the "multi" paragraph paste!
8152 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8158 * lyxlength.C: remove out-commented code.
8174 * vc-backend.C: change "while(" to "while ("
8176 * lyxlength.[Ch]: add zero function to check if length is zero or
8178 * lyxgluelength.C: use it
8180 2001-12-05 Allan Rae <rae@lyx.org>
8182 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8183 Works for 2.95.3, from what I understand of Garst's reports this should
8184 work for other g++ versions. We're screwed if the abs(int) definition
8185 changed between bugfix releases of gcc.
8187 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8189 * text.C: fix chapter label offset !
8191 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8194 * text.C: fix hfill at end of line, clean up
8196 2001-12-04 Juergen Vigna <jug@sad.it>
8198 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8199 that we force an update of the inset and it's owners if neccessary.
8201 2001-12-03 Juergen Vigna <jug@sad.it>
8203 * text.C (rowLast): simplified code
8205 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8207 * lyxfunc.C: fix show options on timeout
8209 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8211 * screen.C (topCursorVisible): scroll half a page when the cursor
8212 reached top of bottom of screen
8214 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8216 * minibuffer.C: deactivate on loss of focus
8218 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8220 * vspace.[Ch] (operator!=): add operator.
8222 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8224 * BufferView_pimpl.C: refuse to open an inset when
8225 there's a selection.
8227 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8229 * BufferView_pimpl.C: allow to click on RHS of full row insets
8231 2001-11-30 Juergen Vigna <jug@sad.it>
8233 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8234 insets for undo reasons.
8236 2001-11-28 André Pönitz <poenitz@gmx.net>
8238 * vspace.[Ch]: cosmetical changes
8240 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8250 * kbsequence.C: part re-write of old kb code
8253 * WorkArea.C: remove Lgb_bug_find_hack
8255 2001-11-30 José Matos <jamatos@fep.up.pt>
8257 * buffer.C (makeDocBookFile): add a comment to point a hack.
8258 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8259 Fixed a double write of labels.
8261 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8264 * LaTeX.h Fixed bug in LaTeX class where it would not
8265 re-run latex if no depfiles were changed, but the .dvi was removed.
8267 2001-11-28 André Pönitz <poenitz@gmx.net>
8269 * all the files from the change on 2001/11/26:
8270 use lyx::layout_type instead of LyXTextClass::size_type
8271 use lyx::textclass_type instead of LyXTextClassList::size_type
8273 2001-11-29 Juergen Vigna <jug@sad.it>
8275 * text.C: added support for paragraph::isFreeSpacing()
8277 * buffer.C: same as above
8279 * paragraph.h: inserted isFreeSpacing() function to enable
8280 FreeSpacing inside InsetERT.
8282 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8283 of the paragraph's in the cut/copy buffer to 0!
8285 * text2.C (removeRow): remove the assert as it can!
8287 * lyxtext.h: added helper function firstRow returning firstrow and
8288 made firstrow private again.
8290 * BufferView2.C (lockInset): don't relock if we're already locked!
8292 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8294 (removeRow): added Assert::(firstrow)
8296 * debug.C: forgot to add INSETTEXT here.
8298 2001-11-28 Juergen Vigna <jug@sad.it>
8300 * sp_spell.C (initialize): changed error text to more general
8301 spellchecker command use (not only ispell!)
8303 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8305 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8307 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8309 * vspace.C: initialise lyxgluelength on failure
8311 2001-11-28 Allan Rae <rae@lyx.org>
8313 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8314 declaration & definition that looks like a function declaration.
8316 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8318 * BufferView2.C (copy):
8319 (copyEnvironment): do not clear the selection when doing a copy.
8321 * text.C (paintFirstRow): compilation fix
8323 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8325 * tabular.C (Latex): correct line count when writing latex.
8327 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8329 * paragraph_pimpl.h:
8330 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8333 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8337 * LColor.C: change vfillline->added_space
8339 * text.C: add markers and text for added space
8341 * vspace.C: fix comment
8343 2001-11-28 André Pönitz <poenitz@gmx.net>
8345 * paragraph.C: whitespace changes
8346 * all the other files from the change on 2001/11/26:
8347 change *::pos_type into lyx::pos_type
8349 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8351 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8352 language of the document when inserting error insets.
8354 2001-11-26 André Pönitz <poenitz@gmx.net>
8356 * BufferView_pimpl.[Ch]:
8364 * paragraph_pimpl.[Ch]:
8367 * text2.C: reduce header dependencies, introduce type for positions
8369 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8371 * <various>: change to use Alert.h
8373 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8375 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8376 when encountering an unknown token.
8377 (readLyXformat2): Show an error message if there were unknown tokens.
8379 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8382 * BufferView_pimpl.C:
8386 * text2.C: use par->isInset()
8388 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8390 * paragraph_pimpl.h:
8391 * paragraph_pimpl.C: cleanup
8393 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * text2.C (removeRow):
8396 * text.C (setHeightOfRow): remove useless (and costly) call to
8399 2001-11-20 Allan Rae <rae@lyx.org>
8401 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8402 Now need Inset*::checkInsertChar() to return true for appropriate
8403 cases so that the characters in the minibuffer will actually be
8406 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8408 * text.C: change the order of the includes.
8409 (workWidth): initialize it at once.
8410 (workWidth): make maxw unsigned
8411 (setHeightOfRow): remove unused variable (inset)
8412 (selectSelectedWord): remove unused variable (inset)
8413 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8415 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8417 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8418 server is not running.
8420 (closeConnection): add debug info when server is disabled.
8422 * ColorHandler.C (getGCForeground): send debug message to GUI
8425 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8427 * kbmap.C (bind): modify because return conventions of
8428 kb_sequence::parse have changed.
8430 * kbsequence.C (parse): only ignore spaces and not any stupid
8431 control character. This avoids tests like s[i] <= ' ', which are
8432 guaranteed to fail with 8bit characters and signed chars.
8433 Change return code to string::npos when there have been no error
8434 (0 was a bad idea when error is at first character)
8436 2001-11-14 José Matos <jamatos@fep.up.pt>
8439 * buffer.C (simpleDocBookOnePar): removed unused argument.
8441 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8443 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8444 insets which are part of a word. Paragraph::isLetter takes care of
8445 that now. Use Paragraph::isInset to identify insets.
8446 (selectSelectedWord): do not test for hyphenation break.
8448 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8449 that protected spaces are considered as spaces.
8451 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8454 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8457 * lyxserver.C: fix it. and small cleanup.
8459 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8461 * BufferView_pimpl.C: use inline helpers
8464 * LaTeXFeatures.C: fix typos
8467 * Spacing.C: move spacing_string into class
8469 * ToolbarDefaults.C: move stuff into namespace anon
8471 * layout.h: update enum
8473 * lyxfunc.C: use better debug
8475 * minibuffer.h: fix typo
8479 * WorkArea.C: add and use Debug::WORKAREA
8483 * text2.C: code re-organisation, inline helpers
8485 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8487 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8488 std::vector.empty().
8490 2001-11-09 Allan Rae <rae@lyx.org>
8492 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8493 '\n's after tables. Tabular and ERT inset work now makes this no
8496 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8499 * minibuffer.C: fix crash, improve drop-down completion
8501 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8504 * lyxserver.C: invalidate fd's when doing endPipe()
8506 2001-11-08 José Matos <jamatos@fep.up.pt>
8508 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8509 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8512 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8514 2001-11-07 José Matos <jamatos@fep.up.pt>
8517 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8520 * buffer.C (sgmlOpenTag):
8521 * buffer.C (sgmlCloseTag): removed debug info.
8523 * buffer.h (sgmlOpenTag):
8524 * buffer.h (sgmlCloseTag): made public.
8526 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8528 * buffer.C (saveParamsAsDefaults):
8529 * lyx_cb.C (MenuLayoutSave): remove
8531 * LyXAction.C (init):
8533 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8535 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8537 * buffer.C (setPaperStuff): removed from here...
8539 * bufferparams.C (setPaperStuff): ... and moved there.
8541 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8545 * XFormsView.C: add support for drop-down completion
8547 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8549 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8552 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8557 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8559 * lyx_main.C: change ref to known bugs
8561 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8563 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8564 to work around older babel problems.
8566 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8568 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8570 2001-10-24 Juergen Vigna <jug@sad.it>
8572 * tabular-old.C (ReadOld): below variable changes reflected.
8574 * tabular.[Ch]: added ltType struct for longtable header/footer
8575 defines and changed all instances where they are used. Added
8576 future support for double top/bottom rows.
8578 2001-10-24 José Matos <jamatos@fep.up.pt>
8580 * buffer.h (docbookHandleCaption):
8581 * buffer.C (docbookHandleCaption): removed unused function.
8582 (makeDocBookFile): moved docbook supported version to v4.1.
8584 2001-10-24 José Matos <jamatos@fep.up.pt>
8587 * tabular.C (docbookRow): new function to export docbook code of a row.
8588 (DocBook): now honors the longtable flags.
8590 2001-10-23 José Matos <jamatos@fep.up.pt>
8593 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8594 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8596 * buffer.C (makeLinuxDocFile):
8597 (makeDocBookFile): reworked the preamble, more clean, and with
8598 support for lyx defined entities. Changed the document declaration
8599 to be more XML friendly.
8601 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8602 if we need to output XML that should be done with a filter.
8604 2001-10-22 Juergen Vigna <jug@sad.it>
8606 * sp_pspell.h (class PSpell): add alive function needed in the
8607 controller to see if the spellchecker could be started.
8609 2001-10-22 Juergen Vigna <jug@sad.it>
8611 * buffer.C (insertStringAsLines): modify the font for inserting
8612 chars in certain conditions by calling checkInsertChar(font).
8614 2001-10-19 Juergen Vigna <jug@sad.it>
8616 * text.C (workWidth): use getRow instead of wrong algorithm.
8617 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8619 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8624 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8626 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8628 * text.C (workWidth): do not search for the exact row when
8629 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8630 optimization for big documents.
8632 2001-10-18 Juergen Vigna <jug@sad.it>
8634 * text.C (workWidth): new function with added Inset * parameter.
8636 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8640 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8641 change return type of getColumnNearX.
8644 * text.C (changeRegionCase): use uppercase/lowercase instead of
8647 (rightMargin): simplify code by factoring out the uses of
8652 (appendParagraph): use Paragraph::size_type
8654 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8656 * vspace.C (asLatexString): add a missing break
8658 2001-10-15 Herbert Voss <voss@perce.de>
8660 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8662 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8664 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8667 2001-10-10 André Pönitz <poenitz@gmx.net>
8669 * lyxfunc.C: removed greek_kb_flag.
8671 2001-10-10 Herbert Voss <voss@perce.de>
8673 * lyx_main.C: delete global string help_lyxdir.
8675 2001-10-09 Herbert Voss <voss@perce.de>
8677 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8679 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8681 * lyx_main.C: added global string help_lyxdir.
8683 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8685 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8687 * lyxrc.C (set_font_norm_type): support iso8859-4
8689 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8691 * LaTeX.C (deplog): add another regex for MikTeX
8693 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8695 * lyxrc.C (set_font_norm_type): support iso8859-3
8697 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8701 * LaTeXFeatures.C: remove special case of french and index
8703 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8704 before \begin{document}). This solves several incompatibilities.
8706 2001-10-03 Garst Reese <reese@isn.net>
8708 * lyx_cb.C: change CheckTex error msg.
8710 2001-10-03 José Matos <jamatos@fep.up.pt>
8712 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8714 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * .cvsignore: update
8718 * lyx_main.C (commandLineVersionInfo): use new style version info.
8720 * buffer.C (writeFile):
8723 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8725 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8727 * version.h: update to use stuff in version.C
8729 * version.C.in: new file. Contains version information determined
8730 at compile time. This is a merging of version.h and
8733 2001-10-03 Juergen Vigna <jug@sad.it>
8735 * BufferView_pimpl.C (update): don't change "dirty" status in
8738 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8740 * WorkArea.C (c-tor): re-position version string slightly.
8742 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8744 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8745 revert to previous code.
8747 WorkArea.[Ch]: (show, destroySplash): methods removed.
8749 WorkArea.C: rework code so that it's an amalgam of the codes before and
8750 after the splash screen was moved to WorkArea.
8752 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8755 * vspace.C (inPixels):
8758 * buffer.C (insertStringAsLines):
8759 (asciiParagraph): fix types to be large enough
8761 * lyxlex_pimpl.h: change member status from short to int
8763 * layout.h: fix type of endlabeltype
8766 * kbsequence.C (parse): change return type to string::size_type
8768 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8771 * Bullet.C (bulletSize):
8772 (bulletEntry): do not use short ints as parameters
8774 * BufferView2.C (insertLyXFile): change a char to an int.
8776 * WorkArea.C (WorkArea): remove unneeded floats in computation
8778 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8780 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8782 * paragraph.C (asString): Do not ignore newline/hfill chars when
8783 copying to the clipboard.
8785 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8787 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8788 after a multi-line inset.
8790 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8792 * paragraph.C (validate): Set NeedLyXFootnoteCode
8794 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8796 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8797 and decrease-error to decrease.
8799 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8801 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8802 it more readable (should be equivalent)
8804 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8806 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8808 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8810 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8811 of a cursor (row, etc.) after a character has been deleted
8812 (deleteEmptyParagraphMechanism): call the method above on _all_
8813 cursors held by the LyXText when a double space has been
8816 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8818 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8820 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8822 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8823 background. Use greyOut() and the new show() methods to toggle between
8824 the foreground and background. Add code to remove the splash after
8825 its initial showing.
8827 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8828 (create_forms): no longer call Dialogs::showSplash.
8830 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8832 * .cvsignore: add version_info.h
8834 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * version_info.h.in: new file
8838 * Makefile.am: add version_info.h.in
8840 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8841 version_info.h instead of VERSION_INFO
8843 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8845 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8846 The ERT inset now returns string().
8848 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8850 * lyxtext.h, text.C (selectNextWord): renamed as
8851 selectNextWordToSpellcheck.
8853 * text.C (selectNextWordToSpellcheck): Modified to not select
8854 words inside an ERT inset.
8856 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8858 * lyx_cb.C (MenuLayoutSave): change a bit the question
8860 * sp_base.h: include <sys/types.h>
8862 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8864 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8866 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8868 * several files: fix typos in user-visible strings
8870 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8872 * text2.C (pasteSelection): do not set the selection, since it
8873 will be cleared later. Actually, the intent was to fix the way the
8874 selection was set, but I figured rmoving the code was just as good.
8876 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8878 * FontLoader.C (available): Check if font is available without
8881 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8883 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8885 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8887 * lyxrc.[Ch]: added display_graphics variable and associated code.
8889 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8891 * bufferparams.C (hasClassDefaults): new method. Returns true if
8892 the buffer parameters correspond to known class defaults
8894 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8896 * XFormsView.C (show): set minimum size to the main window.
8898 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8900 * text2.C (copySelection):
8902 * lyxfind.C (LyXReplace):
8903 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8904 LyXText::selectionAsString.
8906 * paragraph.C (asString): add "label" argument to the second form
8908 * text2.C (selectionAsString): add "label" argument and pass it to
8909 Paragraph::asString.
8911 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8913 * lyx_main.C (commandLineHelp): remove version information
8915 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8917 * lyx_main.C: add -version commandline option
8919 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8921 * paragraph.h: make the optional constructor arg required instead.
8922 some modifications to other files because of this.
8924 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8926 * lyxserver.C (C_LyXComm_callback): make it static
8928 * lyx_main.C (error_handler): make it static
8930 * lyx_gui.C (LyX_XErrHandler): make it static
8932 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8934 * WorkArea.C: make the extern "C" methods static.
8936 * Makefile.am (lyx_LDADD): simplify
8938 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8940 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8941 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8943 * LyXAction.C (init):
8944 * lyxfunc.C (dispatch): associated code removal.
8946 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8948 * lyxfont.h (isSymbolFont): shut off warning
8950 * text.C (setHeightOfRow):
8951 (getVisibleRow): fix crash with empty paragraphs which have a
8954 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8956 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8959 2001-09-04 José Matos <jamatos@fep.up.pt>
8962 * tabular.C (docbook): rename docBook method to docbook.
8964 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8966 * Makefile.am: add dependencies to main.o.
8968 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8970 * FontLoader.C (available): Return false if !lyxrc.use_gui
8972 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8974 * FontInfo.C (query):
8975 * converter.C (view):
8976 * importer.C (Import):
8977 * exporter.C (Export): Can not -> cannot.
8979 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.C: allow to create index inset even if
8984 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8986 * buffer.C (getLists): replace boost::tie code with an explicit pair
8987 as boost::tie can break some compilers.
8989 * iterators.h: Added a std:: declaration to the return type of
8992 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8994 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8997 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8999 * iterators.[Ch]: New files. Provide paragraph iterators.
9001 * buffer.C (changeLanguage): Use paragraph iterators.
9002 (isMultiLingual): ditto
9004 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9006 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9008 * FontLoader.C: Support for cmr font.
9010 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9012 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9013 (available): New method.
9015 * FontInfo.C (getFontname): Use scalable fonts even when
9016 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9019 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9021 * converter.C (Formats::view): reverted! Incorrect fix.
9023 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9025 * converter.C (Formats::view): only output the -paper option
9026 if the dvi viewer is xdvi, thereby fixing bug #233429.
9028 2001-08-23 Herbert Voss <voss@perce>
9030 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9032 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9034 * Spacing.h (Spacing): Set space to Default on in the default
9037 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9039 * vc-backend.h (RCS::versionString): add RCS to version
9040 (CVS::versionString): add CVS to version
9042 * vc-backend.C (scanMaster): do not add CVS to version.
9043 (scanMaster): do not add RCS to version
9045 * lyxvc.C (versionString): new method
9047 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9049 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9051 * Spacing.C (set): initialize fval
9053 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9055 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9058 2001-08-16 Juergen Vigna <jug@sad.it>
9060 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9062 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9064 * BufferView_pimpl.C:
9067 * text2.C: setParagraph takes linespacing now
9069 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9071 * LyxAction.C: add internal LFUN_CITATION_INSERT
9073 * LyXView.C: actually apply fix
9075 * bufferlist.C: fix open non-existent file
9077 * lyxfind.C: fix indentation
9079 * lyxfunc.C: remove unneeded assert, fix typo
9081 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9083 * MenuBackend.C: use "Floatname List"
9085 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9087 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9088 when converting LaTeX layout to insetERT.
9089 Generate a non-collapsed float when reading old float
9091 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9093 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9096 2001-08-13 Juergen Vigna <jug@sad.it>
9098 * text.C (fill): return 0 instead of 20 as this seems to be the more
9101 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9103 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9106 2001-08-13 Juergen Vigna <jug@sad.it>
9108 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9110 (SearchBackward): comment out the unlocking of the inset_owner this
9111 should not be needed!
9113 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9115 * Many files: Remove inherit_language, and add latex_language
9117 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9120 2001-08-10 Juergen Vigna <jug@sad.it>
9122 * text.C (prepareToPrint): fixed hfill-width in draw!
9124 * BufferView2.C (selectLastWord): save the selection cursor as this
9125 now is cleared in the function LyXText::clearSelection!
9127 2001-08-08 Juergen Vigna <jug@sad.it>
9129 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9130 BACKSPACE type functions.
9132 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9133 is only cutted from the document but not put in the cut-buffer, where
9134 still the old stuff should be.
9136 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9138 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9140 * tabular.C (SetWidthOfCell): fixed special case where the width
9142 (LeftLine): handle '|' in align_special.
9144 (LeftAlreadyDrawed): ditto
9145 (SetWidthOfCell): ditto
9147 2001-08-07 Juergen Vigna <jug@sad.it>
9149 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9151 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9153 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9154 * lyxlex.[hC]: ditto
9156 2001-08-06 Juergen Vigna <jug@sad.it>
9158 * text.C (getVisibleRow): fix up row clearing a bit.
9160 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9162 * minibuffer.C: make sure the X server sees the changes in the input.
9164 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9166 * paragraph.C (getFont): split into...
9167 (getLabelFont): this
9168 (getLayoutFont): and this
9169 * paragraph_pimpl.C (realizeFont): calling this
9171 * text2.C (getFont): split into...
9172 (getLayoutFont): this
9173 (getLabelFont): and this
9174 (realizeFont): all three calling this
9176 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9179 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9181 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9183 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9185 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9186 layouts from the Quote inset insertion.
9188 2001-08-03 Juergen Vigna <jug@sad.it>
9190 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9192 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9193 only if status not is already CHANGED_IN_DRAW (second level).
9195 * text.C (draw): don't set the need_break_row when inside an
9198 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9200 * buffer.C (parseSingleLyXformat2Token): handle more latex
9203 * bufferview_funcs.[hC]: change function names to
9204 begin with small char, adjust other files.
9206 2001-08-02 André Pönitz <poenitz@gmx.net>
9209 BufferView_pimpl.C: remove broken special code for math-greek
9211 2001-08-02 Juergen Vigna <jug@sad.it>
9213 * BufferView_pimpl.C (update): redone this function so that we
9214 update the text again if there was a CHANGE_IN_DRAW.
9216 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9217 (drawFromTo): added a new internal bool which is used by draw() and
9219 (general): some cursor drawing problems fixed.
9221 2001-08-01 Juergen Vigna <jug@sad.it>
9223 * lyxfind.C (LyXFind): fixed
9224 (SearchForward): ditto
9225 (SearchBackward): ditto
9227 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9228 spurius drawing of the cursor in the main area.
9230 * text2.C (status): small fix which could lead to a segfault!
9231 (clearSelection): remove unneeded BufferView param.
9233 2001-08-01 André Pönitz <poenitz@gmx.net>
9235 * lyxfunc.C: small change due to changed mathed interface
9237 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9239 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9241 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9243 * lyxfunc.c: fail gracefully if file doesn't exist
9248 * BufferView_pimpl.C: IsDirWriteable() proto changed
9250 * LyXView.C: fix updateWindowTitle() to store the last title
9252 2001-07-31 Juergen Vigna <jug@sad.it>
9254 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9255 the font (wrong since using of Paragraph::highestFontInRange).
9257 * paragraph.C (highestFontInRange): added a default_size parameter.
9259 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9260 (setHeightOfRow): reformat
9262 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * converter.[hC] + affected files: move to (inital-char)lowercase
9267 * ParagraphParameters.C (ParagraphParameters): remove commented code
9269 * PainterBase.[Ch]: remove commented code
9271 * LaTeXFeatures.h: add "bool floats" for float.sty
9273 * LaTeXFeatures.C (LaTeXFeatures): init floats
9274 (require): handle float
9275 (getPackages): do it with floats
9277 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9279 * BufferView_pimpl.C (Dispatch): improve handling of
9280 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9282 * commandtags.h: #include lyxfont.h here temporarily to avoid
9285 * bufferlist.h: include LString.h here.
9287 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9289 * text2.C (getStringToIndex): new method.
9291 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9293 * *: Reduced header file dependencies all over.
9295 2001-07-30 Baruch Even <baruch@lyx.org>
9297 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9299 2001-07-29 Baruch Even <baruch@lyx.org>
9301 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9303 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9305 * ParameterStruct.h (endif): add a default constructor to make
9306 sure that all variables is initialized.
9308 * ParagraphParameters.C (ParagraphParameters): adjust
9310 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9312 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9313 index; also, check that there is something to index, and that it
9314 does not span over several paragraphs.
9315 (doubleClick): use WHOLE_WORD_STRICT for double click.
9317 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9319 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9322 2001-07-26 Baruch Even <baruch@lyx.org>
9324 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9325 an InsetFig figure, backwards compatible reading of old figure code.
9327 2001-07-27 Juergen Vigna <jug@sad.it>
9329 * text2.C: font.realize function adaption.
9331 * text.C (draw): add a warnings lyxerr text if needed.
9333 * layout.C: font.realize function adaption.
9335 * language.C: add inherit_language and implement it's handlings
9337 * bufferview_funcs.C (StyleReset): remove language parameter from
9338 font creation (should be language_inherit now).
9340 * bufferparams.C (writeFile): handle ignore_language.
9342 * paragraph.C (getFontSettings): the language has to be resolved
9343 otherwise we have problems in LyXFont!
9345 * lyxfont.C (lyxWriteChanges): added document_language parameter
9346 (update): removed unneeded language parameter
9348 * paragraph.C (validate): fixed wrong output of color-package when
9349 using interface colors for certain fonts in certain environments,
9350 which should not seen as that on the final output.
9352 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9354 * BufferView_pimpl.C:
9359 * LyXAction.C: add thesaurus support
9362 * lyxfind.C: add "once" parameter, for thesaurus, to not
9363 move to the next match
9365 2001-07-26 Juergen Vigna <jug@sad.it>
9367 * lyxfont.C (realize): honor ignore_language too!
9370 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9372 * text.C (draw): one place more for ignore_language to not draw
9375 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9377 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9379 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9381 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9382 the minipage conversion problem.
9384 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9386 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9389 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * BufferView.h: don't forward declare WorkArea
9393 * BufferView.C: don't include WorkArea.h
9395 2001-07-25 André Pönitz <poenitz@gmx.net>
9399 * lyxfunc.C: new LFUN 'math-space'
9401 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9403 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * text2.C (toggleInset): call open/close
9407 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * lyxfunc.C (dispatch): add debug for the disabled case
9411 * font.C (buttonText): make similar to rectText
9413 * buffer.C (readInset): comment out parsing of insetlist and
9416 * PainterBase.C (rectText): small correction
9418 * BufferView_pimpl.C: comment out insettheorem and insetlist
9419 * LyXAction.C: ditto
9420 * commandtags.h: ditto
9422 2001-07-24 Juergen Vigna <jug@sad.it>
9424 * text.C (draw): honor the ignore_language.
9426 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9428 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9430 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9433 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9435 * lyxtext.h: remove unused (and unimplemented) methods
9437 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9439 * text.C (getVisibleRow): honor background color
9442 * Painter.h: remove default color argument for fillRectangle
9444 * text.C (backgroundColor): new method
9446 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9448 * text.C (getVisibleRow): adjust
9450 * font.[Ch] (rectText): new method, metrics
9451 (buttonText): new method, metrics
9453 * PainterBase.[hC]: make rectText and buttonText always draw and take
9456 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9458 * ToolbarDefaults.C (read):
9459 * MenuBackend.C (read): allow escaping in all strings
9461 * BufferView_pimpl.C (insertAndEditInset): new method.
9462 (Dispatch): use insertAndEditInset whenever appropriate.
9464 * BufferView_pimpl.C (insertNote): removed
9466 * BufferView_pimpl.C (smartQuote): new method, moved from
9467 BufferView; if an insetquote cannot be inserted, insert a '"'
9470 * BufferView2.C: remove insertCorrectQuote();
9472 * lyxfunc.C (getStatus): Add support for all remaingin
9475 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9477 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9478 command (necessary to pass " as parameter of self-insert.
9480 * text.C (selectWordWhenUnderCursor):
9481 (selectWord): add word_location parameter
9482 (selectWordWhenUnderCursor): same + remove special code for word
9484 (selectNextWord): use kind() to guess type of insetspecialchar,
9487 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9488 (insertErtContents): create ert insets as collapsed.
9489 (readInset): better compatibility code for Info inset.
9491 2001-07-20 Juergen Vigna <jug@sad.it>
9493 * lyxfunc.C (dispatch): use always LyXFind now!
9495 * text2.C (init): add a reinit flag so that the LyXText can be
9496 reinited instead of deleted and reallocated (used in InsetText).
9498 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9504 2001-07-18 Juergen Vigna <jug@sad.it>
9506 * text.C (selectNextWord): handle insets inside inset by calling
9507 always the bv->text functions so that we can go up the_locking_inset!
9509 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9510 in strange locations when inside an inset!
9512 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9513 handling to include insets.
9515 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9517 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9519 * LyXAction.C (init):
9521 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9522 LIGATURE_BREAK, since the name is so stupid.
9524 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9526 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9529 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9531 * sp_form.[Ch]: remove.
9533 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9535 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9538 * src/buffer.C (readInset): ditto.
9540 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9542 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9543 menuSeparator(), endOfSentenceDot(), ldots() and
9544 hyphenationPoint(), which are therefore removed.
9545 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9547 * LyXAction.C (init):
9548 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9550 * paragraph.C (getWord): removed.
9552 * BufferView_pimpl.C (Dispatch): use last word or selection for
9553 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9555 * lyx_main.C (queryUserLyXDir): do not ask before creating
9556 user_dir, except if it has been named explicitely.
9558 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9560 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9561 a document of zero size.
9563 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9565 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9566 approriately in the c-tor and in require().
9567 (getPackages): output the appropriate LaTeX for natbib support.
9569 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9570 variables "use_natbib" and "use_numerical_citations" when reading the
9572 (readInset): read the various natbib cite commands.
9573 (validate): white-space change.
9575 * bufferparams.[Ch]: new variables "bool use_natbib" and
9576 "bool use_numerical_citations".
9577 (writeFile): output them in the LyX file.
9579 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9581 * lyxfunc.C (getStatus): add support for all the inset insertion
9584 * text2.C (insertInset):
9585 * paragraph.C (insetAllowed):
9586 * BufferView_pimpl.C (insertInset): update to take in account the
9587 renaming of insertInsetAllowed
9589 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9591 * text2.C (getInset): new method. returns inset at cursor position.
9593 * BufferView_pimpl.C (Dispatch): changes because of this.
9595 * LyXAction.C (init): rename open-stuff to inset-toggle.
9597 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9599 * text2.C (toggleInset): renamed from openStuff; use
9602 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9604 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9606 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9608 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9610 * buffer.C (readLyXformat2): Add filename to the error dialog
9612 2001-07-18 Juergen Vigna <jug@sad.it>
9614 * tabular.C (GetCellNumber): put an assert here instead of the check!
9616 2001-07-17 Juergen Vigna <jug@sad.it>
9618 * BufferView_pimpl.C (toggleSelection): adapted too.
9620 * text.C (selectNextWord): adapted for use with insets.
9621 (selectSelectedWord): ditto
9623 2001-07-17 Juergen Vigna <jug@sad.it>
9625 * sp_spell.C (PSpell): fix initialitation order.
9627 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * paragraph.C: spacing
9631 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9633 * sp_spell.C: repair language selection for pspell
9635 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * lyxfunc.h: change more methods to begin with lower char.
9639 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9641 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9642 for unknown layouts.
9644 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9646 * buffer.C (readLyXformat2): Generate an error dialog if there are
9649 2001-07-16 Juergen Vigna <jug@sad.it>
9651 * sp_spell.C: always compile ISpell part.
9653 * lyxrc.C: added use_pspell entry and it's handling.
9655 2001-07-13 Juergen Vigna <jug@sad.it>
9657 * sp_spell.C: removed double includes.
9659 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9661 Consistent use of Lsstream.h:
9662 * Lsstream.h: added using std::stringstream for consistencies sake.
9664 * buffer.C: removed using std::stringstream
9666 * lyxfont.C (stateText):
9667 * paragraph.C (asString):
9668 * text.C (selectNextWord, selectSelectedWord):
9669 * text2.C (setCounter):
9670 * vspace.C (asString, asLatexString):
9671 std::ostringstream -> ostringstream.
9673 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9675 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9676 * commandtags.h: add LFUN_HELP_ABOUTLYX
9677 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9679 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9681 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9683 * lyx_gui_misc.C: remove spellchecker
9684 * lyxfunc.C: showSpellchecker
9686 * sp_ispell.h: added
9687 * sp_pspell.h: added
9689 * sp_form.[Ch]: removed
9690 * spellchecker.[Ch]: removed
9692 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9694 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9696 (simpleTeXSpecialChars): Simply print the input character without
9697 any special translation if pass_thru is set.
9699 * layout.h: Added bool pass_thru to layout class for being able to
9700 implement pass through of a paragraph for Literate Programming.
9702 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9703 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9704 * layout.C (Read): add "passthru" to list of layout tags and add
9705 code to set the pass_thru boolean when it is read.
9707 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * trans_decl.h: remove allowed from KmodInfo
9711 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9715 * paragraph_pimpl.C (erase): use boost::prior
9717 * Painter.C (text): use data() instead of c_str() when length is
9719 * WorkArea.C (putClipboard): ditto
9720 * font.h (width): ditto
9722 * BufferView2.C: use it-> instead of (*it). for iterators
9724 * paragraph_pimpl.C: ditto
9725 * paragraph.C: ditto
9726 * minibuffer.C: ditto
9731 * converter.C: ditto
9733 * Variables.C: ditto
9734 * TextCache.C: ditto
9735 * MenuBackend.C: ditto
9736 * LyXAction.C: ditto
9738 * FloatList.C: ditto
9740 * ColorHandler.C (LyXColorHandler): ditto
9742 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9744 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9746 * text2.C (openStuff): reintroduce this method (which had been
9747 nuked in NEW_INSETS frenzy).
9749 * lyxfunc.C (Dispatch): when an action has not been handled, use
9750 its name in the error message, not its number.
9752 * paragraph.C (inInset): change method name to begin with lowercase.
9755 * text2.C: updates because of this.
9757 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9759 * ToolbarDefaults.C (add): add spaces in error message
9761 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9764 (readLyXformat2): rename return_par to first_par, use lyxlex's
9765 pushToken and remove the manual push handling.
9766 (parseSingleLyXformat2Token): add another ert comp. variable:
9767 in_tabular, rename return_par to first_par. handle newlines better
9769 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9771 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9773 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9775 * text2.C (getParFromID): removed
9777 * buffer.C (getParFromID): new method moved form lyxtext.
9778 * BufferView2.C (insertErrors): adjust
9779 (setCursorFromRow): adjust
9780 * BufferView_pimpl.C (restorePosition): adjust
9781 * lyxfunc.C (Dispatch): adjust
9782 * undo_funcs.C (textUndo): adjust
9784 (textHandleUndo): adjust
9785 (textHandleUndo): adjust
9787 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9789 * buffer.C: up' the LYX_FORMAT
9791 * lyxfont.h: turn NO_LATEX on as default
9793 * buffer.C (insertErtContents): new methods of tex style compability.
9794 (parseSingleLyXformat2Token): use it several places.
9795 * tabular.C (OldFormatRead): and here
9797 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9799 * text2.C: remove some commented code.
9802 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9803 * trans.C: changes because of the above.
9805 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9807 * text2.C (setCounter): Fix counters bug with bibliography layout.
9809 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9811 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9812 own member functions
9813 (simpleTeXSpecialChars): ditto
9815 2001-07-06 Juergen Vigna <jug@sad.it>
9817 * a lot of files: changed the access to LyXText::status and the
9818 call of undo-functions.
9820 * undo.[Ch]: added a inset_id to the undo informations.
9822 * undo_funcs.[Ch]: added and moved here all undo functions.
9824 * lyxtext.h: give the status enum a weight, made status_ a private
9825 variable and made accessor functions for it, removed the whole bunch
9826 of undo-functions as they are now in their own file, make some
9827 functions publically available. Added function ownerParagraph with
9830 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9831 made InInset() a const function, added getParFromID() function.
9833 * buffer.[Ch]: added const version for inset_iterator functions,
9834 added getInsetFromID() function.
9836 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9837 changed undo functions for new version.
9839 2001-07-05 Juergen Vigna <jug@sad.it>
9841 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9842 unknow mechanism does not call the proper constructor but only this
9843 one also if I request the other!?
9845 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9849 * text2.C (LyXText): use initialization lists.
9851 * lyxtext.h (Selection): initialize set_ and mark_
9852 (init): remove method
9854 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9856 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9858 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * screen.[Ch]: change method names to begin with lowercase
9862 * BufferView_pimpl.C (updateScrollbar): simplify further and
9863 hopefully make it a bit faster.
9865 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9867 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9868 calling directly xforms functions.
9870 * Painter.C (Painter):
9871 * lyx_cb.C (MenuWrite):
9872 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9875 * lyx_gui.C: remove bogus guiruntime extern declaration.
9877 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9881 (redoDrawingOfParagraph): ditto
9882 (redoParagraphs): ditto
9883 (cutSelection): don't create a object for CutAndPaste use the
9884 static method directly
9885 (pasteSelection): ditto
9887 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9890 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9892 * modifications to some other files because of this.
9894 * Makefile.am (lyx_SOURCES): add XFormsView
9896 * XFormsView.[Ch]: new files
9898 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9899 the main window. Move the gui dependent stuff to XFormsView
9901 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9903 * tabular.C (GetCellInset): update cur_cell also in the row/col
9904 version of this function.
9906 * lyxfunc.C: no need to include figure_form.h here.
9912 * lyxvc.C: no need to include forms.h here.
9914 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9916 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9918 * lyxfunc.C (Dispatch):
9920 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9921 constructor argument.
9923 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * paragraph.C (Paragraph): dont't clear, and just set layout.
9926 (makeSameLayout): use params's copy contructor.
9928 * ParagraphParameters.[Ch] (makeSame): delete method
9930 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9932 * Variables.[Ch]: fix indentation, rename set to isSet
9934 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9936 * lyxfunc.C (Dispatch): fix typo
9938 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9940 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9943 * bufferlist.C: include assert.h for emergencyWrite().
9945 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9947 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9948 give up at last (bug #425202) !
9950 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9956 * spellchecker.C: strip spellchecker options and bring up
9957 preferences tab instead
9959 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9961 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9962 the istringstream constructor
9964 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9966 * paragraph.C (getLayout): fix return value
9968 * paragraph.h: do not declare getLayout as inline.
9970 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9972 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * lyxcursor.h (operator<): new func
9975 (operator>): new func
9976 (operator>=): new func
9977 (operator<=): new func
9979 * text.C (changeCase): use selection.start and selection.end
9980 (changeRegionCase): require from to be <= to. Require par to be a
9983 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9985 2001-06-27 Juergen Vigna <jug@sad.it>
9987 * text.C (cursorLeftOneWord): changed to return the cursor and added
9988 overlay with BufferView * parameter which calls this one.
9990 (selectWord): use new getWord function.
9991 (changeCase): renamed from changeWordCase as and extended to work
9994 * lyxtext.h: added enum word_location
9996 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9997 changeCase as this operates now also on selections.
9999 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10001 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10003 * many files: send debug output to Debug::INFO instead of
10006 * converter.C (View):
10008 (Move): send debug output to Debug::FILES instead of console.
10010 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10012 * lyxfunc.C (getStatus): use func_status
10014 * func_status.h: new header, describing the results of
10015 LyXFunc::getStatus;
10017 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10020 2001-06-25 The LyX Project <jug@sad.it>
10022 * buffer.C (sgmlOpenTag):
10024 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10026 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * text2.C: remove some dead code
10030 * tabular.C (GetCellInset): store the last cell checked (gotten)
10032 * tabular.h: add the helper for the speedup
10034 * lyxtext.h: remove some dead code
10036 2001-06-26 The LyX Project <Asger>
10038 * paragraph.C: Change export to LaTeX of alignment to
10039 \begin{center} and family for better roundtrip work with reLyX.
10041 * Tune the math drawing a bit.
10043 2001-06-25 The LyX Project <Asger>
10045 * LColor.C (LColor): New color for math background. New color
10048 2001-06-25 The LyX Project <jug@sad.it>
10050 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10052 * lyxfunc.C (Open):
10053 * bufferlist.C (newFile): do not restrict to files ending with
10056 * BufferView_pimpl.C (MenuInsertLyXFile):
10058 2001-06-24 The LyX Project <jug@sad.it>
10060 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10063 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10065 * lyxtext.h: rename most methods to begin with a small char.
10066 Lots of changes because of this.
10068 * paragraph.C (Paragraph): do not call fitToSize
10069 (erase): call Pimpl::erase
10070 (insertChar): call Pimpl::insertChar
10071 (insertInset): call Pipl::insertInset
10072 (breakParagraph): do not call fitToSize
10073 (breakParagraphConservative): do not call fitToSize
10074 (fitToSize): remove method
10076 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10078 2001-06-24 The LyX Project <Asger>
10080 * Fix Qt compilation^2
10082 2001-06-24 The LyX Project <jug@sad.it>
10084 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10085 depthHook(getDepth()-1).
10088 * ParagraphParameters.h:
10089 * ParameterStruct.h: change type of depth to unsigned int ==
10090 depth_type. Many adaptations to other files before of that.
10092 2001-06-24 The LyX Project <Asger>
10094 * Fix Qt compilation.
10096 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10098 * paragraph.h: renamed several methods to begin with small letter.
10099 several changes to many parts of the code because of this.
10101 2001-06-23 The LyX Project <jug@sad.it>
10103 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10104 rewritten to discard all double spaces when KeepEmpty is off
10105 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10106 to only handle newlines but not fiddle with spaces and friends.
10108 * lyxfunc.C (MenuNew): when doing 'new from template', use
10109 template_path as default directory
10111 2001-06-23 The LyX Project <Asger>
10113 * Clean-up of header file includes all over
10114 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10116 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10118 * paragraph.h: renamed from lyxparagraph.h
10120 2001-06-23 Asger <lyx@violet.home.sad.it>
10122 * Buffer.h: Removed Buffer::resize
10123 * BufferList.h: Removed BufferList::resize
10124 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10125 the document lazily when we change the width, or the font settings.
10127 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10129 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10131 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10133 * buffer.h: remove out of date comment
10135 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10138 * screen.C: fix "theoretical" GC leak
10140 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10142 * LaTeX.C (scanAuxFile):
10143 (deplog): remove trailing \r when reading stream (useful under
10146 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10148 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10149 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10150 and BufferView::theLockingInset(Inset*), so should use them and not
10151 access bv_->text->the_locking_inset directly.
10153 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10155 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10158 * tex-defs.h: remove old unused file
10160 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10162 * BufferView_pimpl.C: fix typo, remove minibuffer message
10163 when buffer has loaded
10165 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10167 * lyxfunc.C (Dispatch): use stringstream
10168 (MenuNew): use stringstream
10169 (Open): use stringstream
10171 * importer.C (Import): use stringstream
10173 * bufferview_funcs.C (CurrentState): use stringstream
10175 * LaTeX.C (run): use stringstream
10177 * BufferView_pimpl.C (savePosition): use stringstream
10178 (restorePosition): use stringstream
10179 (MenuInsertLyXFile): use stringstream
10181 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10194 * vspace.C: removed // -*- C++ -*- as first line.
10197 * version.h: added // -*- C++ -*- as first line.
10199 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10201 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10203 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10206 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10208 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10211 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * gettext.C: include LString.h even when --disable-nls is on.
10215 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10217 * converter.h (Get): changed argument type from int to
10218 FormatList::size_type to avoid unnecessary conversion.
10220 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10223 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * gettext.h: include LString.h even when --disable-nls is on.
10227 2001-06-07 Juergen Vigna <jug@sad.it>
10229 * text.C (BreakAgain): subst spaces with tabs.
10231 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10232 (resizeInsetsLyXText): set force on resizeLyXText.
10234 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10236 * gettext.h (gettext_init):
10237 (locale_init): use a real definition instead of a macro
10239 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10241 * Bufferview_pimpl.C:
10243 * LColor.C: further lcolor tidies
10245 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10247 * BufferView_pimpl.C (updateScrollbar): simplify.
10249 * BufferView2.C: don't include insets/insetinfo.h, change
10250 prototype for insertInset and call the Pimpl version. let
10251 updateInset call Pimpl version.
10253 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10254 gotoInset to BufferView::Pimpl
10256 2001-06-01 Juergen Vigna <jug@sad.it>
10258 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10259 inside a LockingInset (is the update needed at all?).
10261 2001-05-31 Juergen Vigna <jug@sad.it>
10263 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10264 here not the old one otherwise how should we compare it afterwards
10267 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10272 * FontInfo.C: bring C functions into global namespace when
10275 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10277 * LString.h: make sure config.h has been loaded before LString.h.
10279 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10280 (one for each char read by EatLine!).
10282 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10285 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10288 to the same as the par we break from
10290 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10292 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10294 * MenuBackend.C (expand): also create menu entries for wide
10295 versions of the floats.
10297 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10299 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10301 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10302 frontends/Makefile.am
10308 * tabular.C (getTokenValue): add std::
10310 * tabular-old.C (getTokenValue): add std::
10311 (getTokenValue): ditto
10312 (getTokenValue): ditto
10314 * screen.C (ToggleSelection): adjust
10316 * lyxtext.h: put selection cursors inside a Selection struct.
10318 * lyxfunc.C (moveCursorUpdate): adjust
10320 * lyxfont.C (latexWriteStartChanges): add std::
10322 * lyxfind.C: adjust
10324 * font.h: delete with(char const *, LyXFont const &)
10326 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10328 * FontInfo.C (getFontname): add std::
10330 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10331 (workAreaButtonPress): adjust
10332 (tripleClick): adjust
10334 (moveCursorUpdate): adjust
10337 * BufferView2.C (gotoInset): adjust
10339 2001-05-30 Juergen Vigna <jug@sad.it>
10341 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10342 to check pspell I add this as default as I now have new pspell
10343 libraries and they seem to use this.
10345 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10347 * text2.C (CutSelection): make the cursor valid before the call to
10350 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10352 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10353 relied on 0 terminated strings and other horrors. Bug found due to
10354 the new assert in lyxstring!
10356 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10359 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10364 * lyxfunc.C (processKeySym): change method of getting to the
10367 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10368 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10369 * BufferView_pimpl.[Ch]: here as private methods.
10371 2001-05-28 Juergen Vigna <jug@sad.it>
10373 * text.C (SetHeightOfRow): added the update() call again as it is
10374 needed to initialize inset dimensions!
10376 2001-05-16 Juergen Vigna <jug@sad.it>
10378 * text2.C (SetCharFont): Add new function with BufferView * and
10379 bool toggleall parameters for setting insets internal fonts.
10380 (SetFont): Freeze the undo as we may change fonts in Insets and
10381 all this change should be inside only one Undo!
10383 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10384 setting font's in insets as for them we have the SetFont function!
10386 2001-05-15 Juergen Vigna <jug@sad.it>
10388 * text2.C (ClearSelection): to be sure we REALLY don't have any
10391 * tabular.C (TeXCellPreamble): fixed the left border problem for
10394 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10396 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10399 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10401 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10402 LFUN_BREAKPARAGRAPH.
10404 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10405 help test to "internal only", similar for LFUN_INSERT_URL
10407 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10408 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10409 auto_region_delete and deadkeys.
10411 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10414 * LColor.C: remove some dead entries, tidy a little
10416 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10420 (Dispatch): implement LFUN_ESCAPE
10422 * commandtags.h: add LFUN_ESCAPE
10424 * LyXAction.C (init): add entry for LFUN_ESCAPE
10426 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10427 Remove commented code.
10428 (insertNote): moved here
10429 (open_new_inset): moved here
10431 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10434 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10436 * kbmap.C (findbinding): clean it up and make it work correctly.
10438 * lyx_main.C (init): do not pass argc and argv as parameters
10440 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10442 * buffer.C: fix path for OS/2 & Win32
10446 * lyx_main.C: Added os:: class.
10448 * os2_defines.h: update
10450 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10452 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10453 better by trying again with reduced state.
10455 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10457 * lyxrc.C (read): print error about invalid key sequence only when
10458 debugging (because not all latinX keysyms are known to some X
10461 * kbsequence.C (getiso): add a few std:: qualifiers
10462 (getiso): comment out extra return statement.
10464 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10468 (Dispatch): enhance the accent inset a bit. (not perfect)
10470 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10472 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10474 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10476 * bufferlist.C (emergencyWrite): fix assert() call
10478 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10480 * text.C (InsertChar): Added trivial patch to only send the "you
10481 can not do multiple spaces this way" message once during a
10484 2001-05-08 Baruch Even <baruch@lyx.org>
10486 * Makefile.am: Changed order of libraries to get LyX to link properly
10487 with the gnome frontend.
10489 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10491 * LaTeXFeatures.h: add a std:: qualifier
10493 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10495 * paragraph.C (String): use stringstream
10497 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10499 * paragraph.C (writeFile): remove footflag arg
10501 * buffer.C (makeLaTeXFile): use stringstream
10502 (latexParagraphs): remove footnot gurba
10504 * LaTeXFeatures.C (getPackages): use stringstream
10505 (getMacros): likewise
10506 (getTClassPreamble): likewise
10507 (getFloatDefinitions): new method
10509 * paragraph.C (writeFile): reindent
10512 * WorkArea.h: revert the xpos + etc changes.
10514 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10516 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10518 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10519 (pasteSelection): likewise
10520 * text2.C (CreateUndo): likewise
10522 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10524 * minibuffer.C (peek_event): temporarily reduce the functionality
10525 of the minibuffer (to allow args on lfuns)
10527 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10528 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10530 * buffer.C (readInset): add compability reading of old float
10531 lists, add reading of new style float list.
10532 (readInset): avoid reevaluation of inscmd.getCmdName()
10533 (getLists): reindent
10535 * MenuBackend.C (MenuItem): implement parsing of
10536 md_floatlistinsert and md_floatinsert.
10537 (expand::LastFiles): move initalizaton of iterators out of loop,
10538 avoid reevaluation.
10539 (expand::Documents): introduce typdedef vector<string> Strings,
10541 (expand::ExportFormats): introduce typedef vector<Format const *>
10542 Formats, and use it.
10543 (expand): implement FloatListInsert and FloatInsert.
10545 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10546 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10547 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10549 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10551 (Dispatch::LFUN_FLOAT_LIST): implement
10553 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10555 * LaTeX.C (run): Fix problem with --export code.
10557 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10559 * BufferView.[Ch] (workarea): removed.
10560 (getClipboard) new method; wrapper for workarea()->getClipboard()
10562 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10565 * WorkArea.h (width, height, xpos, ypos): These methods all
10566 returned the dimensions of the work_area sub-area of WorkArea,
10567 resulting in a position error if the WorkArea were resized. Now
10568 return the dimensions of the entire WorkArea.
10570 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10572 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10574 * LaTeX.C (deplog): correct the syntax of regex reg1
10576 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * undo.C: remove !NEW_INSETS cruft
10580 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10582 * text2.C: remove !NEW_INSETS cruft
10584 * text.C: remove !NEW_INSETS cruft
10586 * tabular.C: remove !NEW_INSETS cruft
10588 * spellchecker.C: remove !NEW_INSETS cruft
10590 * lyxtext.h: remove !NEW_INSETS cruft
10592 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10594 * lyxfunc.C: remove !NEW_INSETS cruft
10596 * lyxfind.C: remove !NEW_INSETS cruft
10598 * lyx_cb.C: remove !NEW_INSETS cruft
10600 * figureForm.C: remove !NEW_INSETS cruft
10602 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10604 * buffer.[Ch]: remove !NEW_INSETS cruft
10606 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10608 * CutAndPaste.C: remove !NEW_INSETS cruft
10610 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10612 * BufferView2.C: remove !NEW_INSETS cruft
10614 * BufferView.h: remove !NEW_INSETS cruft
10616 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10618 * Lsstream.h: include LString.h before the sstream headers to
10619 fix problem with gcc 2.95.3 and lyxstring
10621 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10623 * lyx_main.C: add using directives when needed for C functions
10624 declared in std:: namespace.
10626 2001-04-27 Juergen Vigna <jug@sad.it>
10628 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10629 (SetHeightOfRow): comment out the update call should not be needed!
10631 2001-04-13 Juergen Vigna <jug@sad.it>
10633 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10634 (LyXTabular): tried to minimize operator= operations (and realized
10635 hopfully Lars wish).
10637 2001-04-27 Juergen Vigna <jug@sad.it>
10639 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10641 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10645 * buffer.C (readInset): hack to make listof algorithm work
10647 * BufferView_pimpl.C: hack to make listof algorithm work
10649 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10651 * LyXAction.C: removed all !NEW_INSETS cruft
10652 (init): moved lfun_item in method
10654 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10656 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10658 * BufferView2.C (theLockingInset): white space.
10660 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * minibuffer.C: include <iostream>
10664 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10666 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10668 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10670 * text.[Ch] (TransposeChars): new method
10672 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10674 * call message directly through LyXView instead of through LyXFunc
10675 * BufferView2.C: adjust
10676 * BufferView_pimpl.C: adjust
10677 * FontLoader.C: adjust
10679 * bufferview_funcs.C: adjust
10680 * converter.C: adjust
10681 * figureForm.C: adjust
10682 * importer.C: adjust
10684 * lyx_gui_misc.C: adjust
10685 * lyxfunc.C: adjust
10688 + more files in subdirs
10690 * lyxparagraph.h (size): move up int file
10693 * adjust all uses of Assert to lyx::Assert.
10695 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10696 lyxfunctional in namespace lyx
10697 * layout.C (hasLayout): ditto
10700 (delete_layout): ditto
10701 (NumberOfClass): ditto
10702 * converter.C (GetFormat): ditto
10707 * bufferlist.C (getFileNames): ditto
10708 (emergencyWriteAll): ditto
10711 * MenuBackend.C (hasSubmenu): ditto
10714 * BufferView_pimpl.C (getInsetByCode): ditto
10716 2001-04-18 Juergen Vigna <jug@sad.it>
10718 * vspace.C (asLatexString): fixed the 100% problem.
10720 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10722 * lyxfunc.C (Dispatch):
10724 * minibuffer.h: add a few std:: qualifiers
10726 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * minibuffer.[Ch]: reimplement so that commands is initiated and
10729 run from lyxfunc, simplified som handling, and made the completion
10730 and history code for complete. wip.
10732 * lyxfunc.C (processKeySym): call message
10733 (miniDispatch): new temporary method
10734 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10735 (LFUN_MESSAGE): implement
10736 (LFUN_MESSAGE_PUSH): implement
10737 (LFUN_MESSAGE_POP): implement
10738 (initMiniBuffer): the initial/defualt minibuffer message.
10740 * lyxfont.[Ch]: inline some more getters
10742 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10744 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10746 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10747 (AutoSave): use LFUN_MESSAGE
10748 (Reconfigure): ditto
10750 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10752 * figureForm.C: use LFUN_MESSAGE
10754 * converter.C (runLaTeX): use LFUN_MESSAGE
10756 * bufferview_funcs.C: use LFUN_MESSAGE
10758 (changeDepth): ditto
10760 * bufferparams.h: use boost::
10762 * bufferlist.h: inherit privately from noncopyable
10764 * bufferlist.C (loadLyXFile): remove some commented code.
10766 * buffer.C (runChktex): use LFUN_MESSAGE
10768 * ShareContainer.h: inherit privately from noncopyable
10770 * ParagraphParameters.[hC] (depth): inline it.
10772 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10774 (message): new method
10775 (messagePush): ditto
10776 (messagePop): ditto
10777 (show): init minibuffer
10778 (showState): direct call
10780 * LaTeX.[Ch]: inherit privately from noncopyable
10781 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10782 instead of WriteStatus.
10784 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10786 * BufferView_pimpl.C (buffer): don't init minibuffer
10787 (workAreaButtonPress): use LFUN_MESSAGE
10788 (workAreaButtonRelease): ditto
10789 (savePosition): ditto
10790 (restorePosition): ditto
10791 (MenuInsertLyXFile): ditto
10792 (workAreaExpose): don't init minibuffer
10793 (update): remove commented code, simplify
10795 * BufferView2.C (openStuff): use LFUN_MESSAGE
10796 (toggleFloat): ditto
10799 (copyEnvironment): ditto
10800 (pasteEnvironment): ditto
10805 (updateInset): remove some commented code
10807 * lastfiles.h: inherit privately from noncopyable
10810 * lyx_main.h: ditto
10812 * lyxlex_pimpl.h: ditto
10814 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10815 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10816 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10818 * LyXAction.h: inherit privately from noncopyable, add methods
10819 func_begin, func_end, returning iterators to the func map.
10821 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10822 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10823 (func_begin): new method
10824 (func_end): new method
10826 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10828 (copySelection): ditto
10829 (pasteSelection): ditto
10831 * BufferView.C: whitespace change
10832 * BufferView.h: inherit privately from noncopyable
10834 2001-04-16 Allan Rae <rae@lyx.org>
10836 * tabular-old.C (l_getline):
10837 * spellchecker.C (sc_check_word):
10838 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10839 an unrecognised preprocessor directive. So ensure they're wrapped.
10841 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10843 * src/exporter.C (Export): Give an error message when path to file
10846 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10848 * LaTeX.C (deplog): Always check that foundfile exists.
10850 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10853 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10855 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10857 * tabular.[Ch] (getLabelList): implement new method
10859 * minibuffer.h: comment ouf setTiimer
10861 * minibuffer.C (ExecutingCB): constify res
10862 (peek_event): constify s
10863 (Set): constify ntext
10864 (Init): constify nicename
10866 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10868 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10869 (savePosition): use two params to Minibuffer::Set
10870 (restorePosition): ditto
10872 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10874 * lyx_main.C: include language.h
10876 * Makefile.am (lyx_main.o): add language.h
10878 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10884 * CutAndPaste.C: include gettext.h
10886 * lyxfont.h: remove old hack with ON and OFF.
10889 * lyxfont.h: do not include language.h...
10894 * bufferview_funcs.C:
10900 * paragraph.C: ... but do it here instead
10902 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10906 * tabular.C: small reformat
10908 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10911 (BreakParagraph): ditto
10912 (SetOnlyLayout): ditto
10915 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10918 * lastfiles.C: removed most using decl, add std:: where needed
10920 * buffer.C: ws changes
10922 * MenuBackend.C (class compare_format): put into anon namespace
10923 (expand): constify label, names, action, action2
10926 * text.C (SingleWidth): constify font
10927 (IsBoundary): constify rtl2
10928 (GetVisibleRow): constify ww
10930 * LaTeX.C (deplog): constify logfile
10932 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10934 (workAreaExpose): constify widthChange, heightChange
10936 * lyxrow.C (par): moved
10939 * lyxrow.h: as inlines here
10941 * lyxfont.h (shape): moved from lyxfont.C
10942 (emph): moved from lyxfont.C
10944 * lyxfont.C (LyXFont): use initialization list for all
10946 (shape): move to lyxfont.h as inline
10947 (emph): move to lyxfont.h as inline
10950 2001-04-04 Juergen Vigna <jug@sad.it>
10952 * vspace.C: had to include stdio.h for use of sscanf
10954 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10957 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10958 independent of xforms.
10960 2001-04-02 Juergen Vigna <jug@sad.it>
10962 * spellchecker.C: fixed namespace placing!
10964 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10966 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10967 the LyXParagraph * is 0.
10969 2001-03-29 Juergen Vigna <jug@sad.it>
10971 * vspace.C: added support for %, c%, p%, l%.
10972 (stringFromUnit): added helper function.
10973 (asLatexString): changed to give right results for the %-values.
10975 * buffer.C: convert the widthp in a width%.
10977 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10979 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10982 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10983 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10985 * lyx_cb.[Ch]: see above.
10987 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10991 * lyx.[Ch]: replaced by figure_form.[Ch].
10995 * lyxfunc.C: changed headers associated with above changes.
10997 2001-03-27 Juergen Vigna <jug@sad.it>
10999 * BufferView_pimpl.C: set the temporary cursor right!
11001 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11003 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11005 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11007 * LString.h: removed "using std::getline"!
11009 * BufferView_pimpl.C (Dispatch): changes due to changes in
11010 InsetInclude::Params.
11012 * buffer.C (tag_name): removed redundant break statements as they were
11013 producing lots of warnings with my compiler.
11015 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11017 * LString.h: add "using std::getline" when using the real <string>.
11019 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11021 * buffer.C: removed bitset usage.
11022 PAR_TAG moved to an anonymous name space.
11023 (tag_name): new funtion, also in the anonymous namespace.
11024 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11025 (makeDocBookFile): clean code. Completed transition from string arrays
11027 (SimpleDocBookOnePar): code clean.
11029 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11031 * tabular.C: add some comments.
11033 2001-03-22 Juergen Vigna <jug@sad.it>
11035 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11036 compatibility read a bit and fixed bug with minipage in different
11039 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11041 * buffer.C (pop_tag): removed.
11042 (push_tag): removed.
11043 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11044 array replaced with vector. Added support for CDATA sections.
11045 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11047 (makeDocBookFile): XML conformant declaration of CDATA section,
11048 fixed bug related to <emphasis> in the first paragraph char.
11049 (sgmlOpenTag): exclude empty tags.
11050 (sgmlCloseTag): ditto.
11052 * buffer.h (pop_tag): removed.
11053 (push_tag): removed.
11055 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11057 * language.h (Languages): added size_type and size().
11059 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11061 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11062 response on compability reading of minipages. One probliem is that
11063 the old usage of minipages was «flertydig»
11065 * several files here and in subdirs: don't use static at file
11066 scope use anon namespaces instead.
11068 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11070 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11071 LaTeX output. This is necessary for Literate document
11074 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11076 * buffer.C: insert hfill when needed.
11078 * tabular.C (l_getline): use string::erase, small whitespace change.
11080 * BufferView_pimpl.C: try the anon namespace.
11081 * WorkArea.C: ditto
11083 2001-03-16 Juergen Vigna <jug@sad.it>
11085 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11086 otherwise it won't open options-dialogs.
11088 * buffer.C: honor pextraWidth(p) on converting minipages.
11090 * tabular.C (l_getline): changed the functions to strip trailing \r.
11092 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11094 * BufferView_pimpl.C:
11095 * minibuffer..C: added "using SigC::slot" declaration.
11097 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11099 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11105 * paragraph.C: ditto
11107 * lyxtext.h: NO_PEXTRA
11109 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11111 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11112 * ParameterStruct.h: ditto
11113 * ParagraphParameters.h: ditto
11114 * lyxparagraph.h: ditto
11116 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11118 * buffer.C: add compability for minipage alignment.
11119 (latexParagraphs): remove unwanted pextra check.
11121 * several files: remove CXX_WORKING_NAMESPACES
11123 * buffer.C (pop_tag): tie is in namespace boost
11125 * BufferView.h: noncopyable is in namespace boost
11127 * lyx_main.h: ditto
11130 * lastfiles.h: ditto
11131 * bufferlist.h: ditto
11132 * ShareContainer.h: ditto
11134 * LyXAction.h: ditto
11137 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11139 * Merging changes from BRANCH_MVC back into HEAD.
11141 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11143 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11145 * BufferView_pimpl.C: change from intl.C
11149 * Makefile.am: move combox.*
11155 * intl.C: remove dialog (covered by prefs)
11157 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11159 * lyxfunc.C (Dispatch): removed redundant break statement.
11161 2001-03-14 Juergen Vigna <jug@sad.it>
11163 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11165 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11167 * buffer.C: add hack to fix compability reading of minipages.
11169 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11171 * buffer.C (getLists): Cleanup.
11173 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11175 * lyxfont.C (update): don't honor toggleall on font size.
11177 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11181 * Makefile.am: moved to frontends/xforms/
11185 * BufferView_pimpl.C: changes for moved mathpanel
11187 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11189 * gettext.h: fix gettext_init() in --disable-nls
11191 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11193 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11195 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11198 * lyx.h: strip external form
11200 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11202 * BufferView_pimpl.C: add comment, destroySplash()
11204 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11206 * BufferView_pimpl.C:
11210 * lyxfunc.C: use re-worked insetinclude
11212 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11214 * buffer.C: add using std::stringstream.
11216 * lyx_cb.C: readd using std::ios.
11218 * buffer.C: add using std::map.
11220 * BufferView_pimpl.C: add using std::vector.
11222 * ShareContainer.h: add std:: to swap.
11224 * buffer.h: add some typedefs
11225 * buffer.C (getLists): use them
11226 (getLists): renamed from getTocList.
11227 add a counter for the different float types and use it in the
11229 (getLists): use the same counter for the NEW_INSETS and the "non"
11232 * lyx_cb.h: remove unused items, includes, using etc.
11234 * ShareContainer.h: remove some commented code, add more comments
11235 and "documentation".
11237 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11239 * buffer.C (getTocList): make the list also when NEW_INSETS is
11242 * buffer.h: remove TocType
11244 * buffer.C (getTocList): change to return a map<string,
11245 vector<TocItem> >, implement for dynamic number of list.
11247 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11248 * text2.C (PasteSelection): adjust
11249 * CutAndPaste.C (pasteSelection): adjust
11251 * FloatList.C (FloatList): update from the new_insets branch.
11252 * Floating.[Ch]: ditto
11253 * LaTeXFeatures.C: ditto
11255 * lyxlex_pimpl.C: ditto
11257 * paragraph.C (Last): remove when NEW_INSETS is defined.
11259 * other file: changes because of the above.
11261 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11263 * lyxparagraph.h: rename next to next_, previous to previous_,
11264 make them private for NEW_INSETS. Rename Next() to next(),
11265 Previous() to previous().
11267 * other files: changes because of the above.
11269 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11272 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11275 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11277 * main.C (main): pass lyx_localedir to gettext_init().
11279 * gettext.h: remove locale_init and gettext_init macros
11281 * gettext.C (locale_init): new function
11282 (gettext_init): new function
11284 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11287 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11289 * Moved credits to frontends:
11290 * credits.[Ch]: removed
11291 * credits_form.[Ch]: removed
11292 * lyx_gui_misc.C: remove credits stuff
11295 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11297 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11299 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11300 unneeded destructor.
11302 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11303 a standalone pointer again.
11305 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11307 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11313 * ToolbarDefaults.C:
11322 * BufferView_pimpl.C: use new file dialog in GUII
11325 * lyx_cb.C: remove LayoutsCB to Toolbar
11327 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11329 * ShareContainer.h (get): add std:: qualifier
11331 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11333 * ShareContainer.h: define a proper ShareContainer::value_type
11334 type (and use typename to please compaq cxx)
11336 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11338 * lyxparagraph.h: move serveral local vars to
11339 ParameterStruct/ParagraphParameters., use ShareContainer in
11340 FontTable., make vars in FontTable private and add getter and
11343 * paragraph.C: changes because of the above.
11345 * lyxfont.h: remove copy constructor and copy assignment. (the
11346 default ones is ok), move number inside FontBits. move inlines to
11349 * lyxfont.C: add number to initializaton of statics, move several
11350 inlines here. constify several local vars. some whitespace
11351 cleanup. Dont hide outerscope variables.
11353 * Spacing.h: add two new constructors to match the set methods.
11355 * ShareContainer.h: new file, will perhaps be moved to support
11357 * ParameterStruct.h: new file
11359 * ParagraphParameters.h: new file
11361 * ParagraphParameters.C: new file
11363 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11364 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11366 * BufferView_pimpl.C: ParagraphParameter changes.
11367 * buffer.C: Likewise.
11368 * bufferview_funcs.C: Likewise.
11369 * text.C: Likewise.
11370 * text2.C: Likewise.
11372 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11374 * lyxfind.C (LyXReplace): do not redefine default argument in
11376 (IsStringInText): ditto
11377 (SearchForward): ditto
11378 (SearchBackward): ditto
11380 2001-03-06 Juergen Vigna <jug@sad.it>
11382 * lyxfind.C (IsStringInText): put parentes around expressions.
11384 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11386 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11388 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11390 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11392 * stl_string_fwd.h: add comment
11394 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11397 * tabular.C: remove unused DocBook methods
11403 killed DO_USE_DEFAULT_LANGUAGE
11405 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11407 * lyx_gui.C: do not include language.h.
11409 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11410 arguments in function implementation.
11412 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11414 * BufferView_pimpl.C: add <ctime>
11416 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11418 * BufferView_pimpl.C: add using std::find_if
11420 2001-02-27 José Matos <jamatos@fep.up.pt>
11422 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11425 2001-02-11 José Matos <jamatos@fep.up.pt>
11427 * buffer.C (makeDocBookFile): command styles now have a parameter as
11428 "title" by default.
11430 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11432 * layout_forms.[Ch]: removed
11433 * lyx_cb.[Ch]: out character
11434 * lyx_gui.C: out character
11435 * lyx_gui_misc.C: out character
11436 * bufferview_funcs.C: : out character,
11437 added toggleall as parameter in ToggleAndShow
11439 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11441 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11443 * text2.C (SetCurrentFont): Disable number property at boundary.
11445 2001-02-26 Juergen Vigna <jug@sad.it>
11447 * lyxfunc.C (getStatus): added a string argument override function so
11448 that this is correctly called from LyXFunc::Dispatch if it contains a
11449 do_not_use_argument which is used!
11450 (Dispatch): added check for "custom" export and call appropriate func.
11452 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11454 * lyxrc.C: Add language_command_local, language_use_babel and
11455 language_global_options.
11457 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11459 * buffer.C (makeLaTeXFile): Use language_use_babel and
11460 language_global_options.
11462 2001-02-23 Juergen Vigna <jug@sad.it>
11464 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11465 which works with LyXText and putted it inside BufferView. Here now we
11466 only call for that part the BufferView::Dispatch() function.
11468 * BufferView.C (Dispatch): added.
11470 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11471 functions which needs to use a LyXText over from LyXFunc.
11472 (MenuInsertLyXFile): added
11473 (getInsetByCode): added
11474 (moveCursorUpdate): added
11475 (static TEXT): added
11477 2001-02-22 Juergen Vigna <jug@sad.it>
11479 * BufferView_pimpl.C (update): call a status update to see if LyXText
11482 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11484 * vc-backend.C (revert): implement for CVS
11485 (getLog): implement for CVS
11487 2001-02-20 Juergen Vigna <jug@sad.it>
11489 * text2.C (ClearSelection): added BufferView param for inset_owner call
11491 * lyxfunc.C (TEXT): added this function and use it instead of
11492 directly owner->view()-text of getLyXText().
11494 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11496 * src/layout_forms.C: out preamble
11497 * src/layout_forms.h: out preamble
11498 * src/lyx_cb.C: out preamble
11499 * src/lyx_cb.h: out preamble
11500 * src/lyx_gui.C: out preamble
11501 * src/lyx_gui_misc.C: out preamble
11502 * src/lyxfunc.C: connect with guii preamble
11504 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11506 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11508 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11510 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11511 whether to run bibtex.
11513 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11515 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11517 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11519 * Makefile.am (lyx_SOURCES): removed bibforms.h
11521 * vspace.h: doxygen
11523 * text.C (GetVisibleRow): make several local vars const
11525 * tabular.C: small cleanup.
11527 * lyxserver.C (callback): use compare instead of strncmp
11529 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11530 inlines to after class or to paragraph.C
11532 * lyxfont.h: remove friend operator!=
11534 * converter.h: move friend bool operator< to non friend and after
11537 * combox.h: small cleanup
11539 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11540 to inlines after class def.
11542 * buffer.C (pop_tag): use string operations instead of strcmp
11544 * bmtable.c: doxygen, small cleanup
11546 * LaTeX.h: remove friend operator==
11548 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11560 * BufferView_pimpl.C:
11561 * BufferView.[Ch]: remove cruft
11563 2001-02-14 Juergen Vigna <jug@sad.it>
11565 * lyxfunc.C: removed #if 0 unused code
11567 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11569 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11571 * text2.C (SetSelection): added a BufferView * parameter
11573 2001-02-13 Juergen Vigna <jug@sad.it>
11575 * lyxfunc.C (Dispatch): fixed protected blank problem.
11576 * BufferView2.C (protectedBlank): added LyxText * parameter.
11578 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11579 (AppendColumn): same as above for column_info.
11581 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11582 (moveCursorUpdate): use a LyXText param for support of InsetText.
11584 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11585 (tripleClick): ditto
11587 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11589 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11591 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11593 * text2.C (SetSelection): set correct update status if inset_owner
11594 (ToggleFree): ditto
11596 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11598 * tabular.C: remove some commented code.
11600 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.C: call hideSplash()
11604 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11607 * bibforms.h: remove
11610 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11611 add LFUN_CHILD_CREATE
11613 * counters.h: fix tiny typo
11618 * lyx.C: move splash to frontends/xforms/
11620 * lyx_gui_misc.C: move Include and Bibform to frontends
11622 * lyxvc.h: clarify comment
11624 * vspace.C: tiny housekeeping
11626 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11628 * text.C (PrepareToPrint): RTL Fix.
11630 * paragraph.C (GetUChar): New method.
11631 (String): Use GetUChar.
11633 * buffer.C (asciiParagraph): Use GetUChar.
11635 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11637 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11639 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11642 * buffer.C: rename to getLogName(), handle
11643 build log / latex log nicely
11645 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11648 * MenuBackend.h: remove support for reference menuitem type.
11650 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11652 * BufferView_pimpl.C: housekeeping
11653 * BufferView_pimpl.h:
11658 * minibuffer.h: move Timeout GUI-I
11660 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11662 * lyxrc.C (read): Update converters data-structures.
11664 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11666 * LaTeX.h (operator!=): add operator != for Aux_Info
11668 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11670 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11672 * LaTeXLog.C: deleted, useful code moved to Buffer
11675 * buffer.C: new function getLatexLogName()
11681 * lyxfunc.C: use frontends for LaTeX and VC logs
11683 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11685 * LaTeX.h: yet another std:: that Allan forgot.
11687 * Variables.C (set): renamed from isset(), because this clashes
11688 with some HP-UX macros (grr).
11690 2001-02-06 Allan Rae <rae@lyx.org>
11692 * LaTeX.h: Another bug fix. Missing std:: this time.
11694 2001-02-04 Allan Rae <rae@lyx.org>
11696 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11697 floats problem. I've left it commented out because it's not quite
11698 correct. It should also test that the current object is a table or
11699 figure inset. But I haven't gotten around to figuring out how to do
11700 that. I *think* it'll be something like: "table" == inset.type()
11702 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11705 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11707 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11708 all the citation/databases/styles in the auxilary file.
11709 (run): Rerun latex if there was a babel language error.
11711 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11713 * text.C (Backspace): Preserve the font when changing newline char
11715 (BreakParagraph): If the cursor is before a space, delete the space.
11717 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11719 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11721 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11722 new argument (code).
11723 (ChangeCitationsIfUnique): New method.
11725 * paragraph.C (GetPositionOfInset): Handle bibkey.
11727 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11729 * BufferView_pimpl.h: change type of Position::par_pos to
11730 LyXParagraph::size_type.
11732 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11734 * BufferView_pimpl.C (savePosition, restorePosition): Write
11735 messages to minibuffer.
11737 2001-01-28 José Matos <jamatos@fep.up.pt>
11739 * buffer.C (makeDocBookFile): adds support for document language.
11740 A silly restriction on the name of LatexCommand types where removed.
11741 Added support for CDATA sections, allows to chars unescaped, used
11742 among others in code, to avoid escape < and >.
11744 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11746 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11747 saved positions instrad of a stack. Furthermore, a position is
11748 stored using paragraph id/paragraph position.
11750 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11751 Remove LFUN_REF_BACK.
11753 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11755 * converter.C (dvipdfm_options): New method.
11757 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11759 * vspace.C (isValidLength): Fix for empty input string.
11761 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11763 * LyXAction.C (init): change description of LFUN_FIGURE to
11766 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11768 * LaTeX.C: add using directive
11770 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11772 * MenuBackend.C (expand): Fix the sorting of the formats.
11774 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11776 * lyx_main.C: tiny error message fix
11778 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11780 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11781 calling fl_initialize(). This fixes the problem with ',' as
11782 decimal separator in text files.
11784 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11786 * trans.C (process): Fix the keymap bug.
11788 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11790 * LaTeX.C (scanAuxFiles): New method. Provides support for
11791 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11792 (scanLogFile) Scan for "run BibTeX" messages.
11794 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11795 OT1 font encoding. Also, load the aecompl package if the ae
11798 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11800 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11802 * texrow.C (increasePos): turn two error messages into debug
11805 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11807 * LaTeX.C (scanAux): Handle the \@input macro.
11808 (runBibTeX): Use scanAux().
11810 * language.C (latex_options_): New field.
11812 * LaTeXFeatures.C (getMacros): Add language macros.
11814 * buffer.C (makeLaTeXFile): Small fix.
11816 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11818 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11820 * text2.C: add a using directive.
11822 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11827 * lyxfunc.C: kill LyXBell.
11829 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11831 * text.C (IsBoundary): Remove the error message
11833 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11835 * lyxrc.C (setDefaults): Correct initialization value for
11838 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11840 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11843 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11844 and GotoNextNote().
11846 * src/LyXAction.C: Added reference-next.
11848 * text.C (InsertChar): Use contains instead of strchr.
11850 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11852 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11854 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11855 alignment commands (when needed).
11857 * text.C (InsertChar): Add ':' to number separator chars.