1 2003-07-28 José Matos <jamatos@fep.up.pt>
3 * buffer.C: increment file format.
4 * paragraph_funcs (readParagraph, readParToken):
5 * paragraph.C (readParagraph): add \end_layout.
7 2003-07-27 Angus Leeming <leeming@lyx.org>
9 * Makefile.am: remove special casing for configure-time setting of
10 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
12 * lyx_main.C (init): remove all Jean-Marc's magic setting of
13 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
15 2003-07-26 André Pönitz <poenitz@gmx.net>
19 * text2.C: get rid of LyXText::need_break_row
21 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
23 * toc.[Ch]: put namespace toc inside namespace lyx
25 * MenuBackend.C (expandToc2): adjust for lyx::toc
28 * lyxfunc.C (dispatch): adjust for lyx::find
30 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
31 lyx::find instead. Reorganize a bit.
32 (LyXReplace): rename to replace
33 (LyXFind): rename to find
35 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
38 2003-07-26 André Pönitz <poenitz@gmx.net>
40 * text.C (setHeightOfRow): restrict scope of temporary variable
42 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
43 code (never has been used?)
45 2003-07-27 Asger Alstrup <alstrup@local>
47 * text.C (fill): Optimise algorithm to exploit that we can reuse
48 the LyXFont for many characters.
49 (setHeightOfRow): Same thing.
50 (rowBreakPoint): Same thing.
52 2003-07-26 Asger Alstrup <alstrup@local>
54 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
56 * text.C (singleWidth): Spurious font copying in hot-spot
57 singleWidth avoided. Reorder tests for arabic for efficiency.
59 * text.C (fill): handle empty paragraphs better.
61 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * encoding.h: add includes
66 * lyxrc.C: remove reading of bind files
68 * lyx_main.C (init): setup bindings and menus only if we have a
71 * kbmap.C (read): new method. Do the actual reading of bind
74 * converter.C (dvipdfm_options):
77 (output): adapt PAPER_* enums.
79 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
81 * bufferparams.h: remove paper-related enums from there
83 * paper.h: New file. A trivial header file to hold paper-related
84 enums. It should later expand to contain many paper-related
87 * lyxrc.C: declare extern displayTranslator
89 2003-07-27 José Matos <jamatos@fep.up.pt>
91 * tabular.[Ch] (linuxdoc): add support for tables and figures
94 2003-07-27 José Matos <jamatos@fep.up.pt>
96 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
97 consistency in both functions.
98 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
100 2003-07-26 Asger Alstrup <alstrup@local>
102 * rowpainter.C (paintRows): Change algorithm to work directly on
103 the insets rather than asking every character in the document
104 whether its an inset.
106 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
108 * buffer.C (openFileWrite): factorize some code
110 2003-07-26 Angus Leeming <leeming@lyx.org>
113 * lyx_main.[Ch]: replace occurances of system_tempdir with
116 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
118 * rename Inset to InsetOld
120 2003-07-25 Asger Alstrup <alstrup@diku.dk>
122 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
123 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
124 which I think is a bit clearer. EDIT is gone, since it was
125 premature optimisation, and broken for mathed anyway.
126 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
127 with cursor positioning in insets as well (math insets still do not
128 work, but that's a different story anyway.) It mysteriously
129 crashes sometimes with undo in the first paragraph, but I'm fairly
130 confident that this is a compiler bug.
132 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
134 * paragraph.C (Paragraph): adjust for new clone return type
136 (copyIntoMinibuffer): ditto
138 2003-07-25 Asger Alstrup <alstrup@lyx.org>
140 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
141 by not having a special case, and always doing a full rebreak of
142 the document after undo.
144 2003-07-23 Angus Leeming <leeming@lyx.org>
146 * factory.C (createInset): InsetExternal::setParams now takes a
149 2003-07-23 Angus Leeming <leeming@lyx.org>
151 * factory.C (createInset): changed interface to the external and
152 graphics mailers' string2params functions.
154 2003-07-23 Angus Leeming <leeming@lyx.org>
156 * factory.C (createInset): pass a
157 Buffer const * parameter to InsetExternalMailer's string2params.
159 2003-07-22 John Levon <levon@movementarian.org>
161 * Thesaurus.h: include the right aiksaurus header
163 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * MenuBackend.C (expand): check menu shortcuts unconditionally
167 2003-07-21 Angus Leeming <leeming@lyx.org>
169 * factory.C (createInset): pass a
170 buffer_path parameter to InsetGraphicsMailer's string2params.
172 2003-07-21 Angus Leeming <leeming@lyx.org>
174 * BufferView_pimpl.C (buffer):
177 * lyxfunc.C (dispatch):
178 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
179 rather than the grfx shortcut.
181 2003-07-21 André Pönitz <poenitz@gmx.net>
183 * rowpainter.C: remove unused variables
186 * tabular_funcs.h: move to tabular.C
187 * Makefile.am: adjust
189 * tabular.[Ch]: basic optical cleaning
191 * author.h: pass references, not values
193 2003-07-18 André Pönitz <poenitz@gmx.net>
201 * text3.C: two-phase drawing for InsetText and InsetTabular
202 some float -> int changes.
204 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
206 * lyx_main.C: fix the fix
208 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
210 * lyx_main.C: fix a crash in batch mode if no files specified
213 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
215 * format.[Ch] (papersize): moved to BufferParams
216 * converter.[Ch] (dvips_options): moved to BufferParams
217 (dvipdfm_options): moved to anon namespace
218 * bufferparams.[Ch]: added above functions.
220 2003-07-17 André Pönitz <poenitz@gmx.net>
224 * text2.C: don't call inset->update() anymore
226 * metricsinfo.[Ch]: add convenience constructor
228 2003-07-16 André Pönitz <poenitz@gmx.net>
233 * text2.C: replace the LyXCursor::irow_ member with
234 on-demand computation of the value
236 2003-07-16 John Levon <levon@movementarian.org>
238 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
240 2003-07-15 André Pönitz <poenitz@gmx.net>
243 * text2.C: remove no more needed refresh_row
245 2003-07-15 André Pönitz <poenitz@gmx.net>
250 * text3.C: refresh_status tristate -> need_update bool
252 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
254 * lyxtext.h (init): remove reinit argument (act as if always true)
255 * text2.C: adjust to that
257 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
259 * bufferview_funcs.[Ch]: introduce function replaceSelection()
260 * text3.C: use it to delete selections in some cases
261 (bugs 441, 673, 702, 954).
263 2003-07-14 André Pönitz <poenitz@gmx.net>
265 * rowpainter.[Ch]: reduce interface
267 2003-07-14 André Pönitz <poenitz@gmx.net>
269 * BufferView_pimpl.C:
270 * text2.C: adjust after removing unused BufferView * argument
272 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
274 * text2.C (init): fix a crash fired on resize
276 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
278 * buffer.[Ch]: added new closing signal
279 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
280 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
281 BufferView::Pimpl via the closing the signal
283 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
285 * buffer.[Ch]: take out all bv-related from buffer
287 * BufferView_pimpl.[Ch]: connect to new signals
288 * CutAndPaste.C: removed useless asserts
289 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
292 * lyxfunc.C: moved view-related funciontality from vc here
293 * paragraph.C: removed outdated comments
296 2003-07-10 André Pönitz <poenitz@gmx.net>
298 * BufferView_pimpl.C:
302 * text2.C: remove InsetText::InnerCache, clean up consequences
304 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
306 * ispell.C: fix two typos in error messages
308 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
310 * Extend Note inset to other forms of annotation like Comment
311 and Greyedout. Right button click gives dialog.
313 Files modified or added (+):
319 * Makefile.am in frontends/xforms, frontends/xforms/forms,
320 frontends/controllers
324 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
326 * aspell.C: add missing namespace lyx::support
328 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
330 * BufferView.[Ch] (newFile): Add
331 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
332 * LaTeX.[Ch] (message): added this signal and use it
333 * buffer.[Ch] (busy, message): added these signals and use them
334 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
338 * importer.C: use buffer signals instead of direct bv calling
339 * lyx_cb.[Ch] (ShowMessage): removed
343 * text2.C: use buffer signals
345 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * introduce namespace lyx::graphics
349 2003-07-02 André Pönitz <poenitz@gmx.net>
351 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
353 2003-07-01 André Pönitz <poenitz@gmx.net>
360 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
361 text*.C to text_func.C
363 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
365 * introduce namespace lyx::support
367 2003-06-30 André Pönitz <poenitz@gmx.net>
372 * text.C: re-enable --with-included-string
374 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
376 * textcursor.C: add <config.h>
378 * text.C (getWord): remove const from word_location arg
380 * lyxvc.C (getLogFile): fix const type order
382 * lyxtext.h: remove const from word_location arg, add arg name
384 * lyxlayout.h: currect type on labeltype.
386 * importer.C: correct \file
388 * converter.C (intToFormat): use std:: on ret val, ws changes
390 * bufferlist.h: correct \file
392 * buffer.C (makeLinuxDocFile): fix const type order
393 (makeDocBookFile): ditto
394 (fillWithBibKeys): use std:: on stdlib args.
396 * CutAndPaste.C: fix authors.
397 (availableSelections): use std:: on return vector
399 2003-06-27 André Pönitz <poenitz@gmx.net>
401 * BufferView_pimpl.C:
402 * bufferview_funcs.C:
410 * text3.C: remove LyXCursor::row_ member
413 * text.C: rename fullRebreak() to partialRebreak() and implement
414 a fullRebreak() that really bereks fully
416 * textcursor.h: new struct for cursor-related data
418 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
420 * lyx_main.C (LyX): get full path of document loaded on the
423 2003-06-26 André Pönitz <poenitz@gmx.net>
425 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
426 remove unused/broken operator>,<,>=.
428 * text.C: remove only use of broken operator<= in an Assert().
430 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
432 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
433 moved errorlist_.clear to showErrorList
435 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
437 * converter.C (scanLog, runLaTeX):
438 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
439 move the bv->showErrorList call to the callers
440 * lyxfunc.C: i.e. here...
442 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
443 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
444 namespace, the second to...
445 * buffer_funcs (BufferFormat, parseErrors): added
446 * errorlist.C (ErrorList(TeXErrors const &)): removed
448 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * ToolbarBackend.C (getIcon): complain when icon cannot be found
452 2003-06-24 "Garst R. Reese" <reese@isn.net>
456 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
460 * version.C.in: change docversion to 1.4
462 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
464 * buffer.C: fix a bug just introduced
466 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
468 * buffer.[Ch]: added the parseError signal and use it, removed
470 * BufferView.[Ch] (addError): moved to ...
471 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
472 to the Buffer::parseError signal to catch (guess what) parse errors
473 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
475 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
477 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
478 ability to create a buffer and to return an existing one from
479 the list. Moved these functions to...
480 * buffer_funcs.[Ch]: added
481 * BufferView.[Ch] (loadLyXFile): added
482 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
483 job removed from bufferlist::loadLyXFile.
484 * buffer.C (setReadOnly): make it work without view
485 (i.e added an if (users))
487 2003-06-19 Angus Leeming <leeming@lyx.org>
490 * LyXAction.C (init):
491 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
492 with LFUN_DIALOG_SHOW <name> <data>.
494 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
496 * CutAndPaste.C (availableSelections): small compilation fix for
497 ancient (gcc 2.9x) compilers
499 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
501 * text3.C (cursorNext): add tmp var
503 * text2.C (updateCounters): for function calling out of for clause
504 (replaceSelectionWithString): ditto
505 (insertStringAsParagraphs): ditto
506 (getColumnNearX): add tmp var
507 (setCursorFromCoordinates): add tmp var
508 (cursorDownParagraph): add tmp var
509 (deleteEmptyParagraphMechanism): add tmp var
511 * text.C (insertChar): add tmp var
513 * rowpainter.C (paintDepthBar): add tmp var
515 * CutAndPaste.C (availableSelections): potentially check all
516 paragraphs in a cut to fill the shown strings.
518 2003-06-18 André Pönitz <poenitz@gmx.net>
520 * kbmap.[Ch]: use vector<> instead of list<>
522 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
524 * text3.C (dispatch): handle arg to LFUN_PASTE, call
525 pasteSelection with index
527 * text2.C (pasteSelection): modify, call pasteSelection with index
529 * paragraph.C (asString): reimplement version with no interval to
530 call the one with interval.
532 * lyxtext.h: add index arg to pasteSelection
534 * MenuBackend.C (MenuItem): handle PasteRecent
535 (Menu::read::Menutags): add md_pasterecent
537 (expandPasteRecent): new function
540 * MenuBackend.h: add PasteRecent to MenuItem::Kind
542 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
544 (availableSelections): new function
546 2003-06-17 Angus Leeming <leeming@lyx.org>
548 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
550 2003-06-17 Angus Leeming <leeming@lyx.org>
553 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
555 * lyxfunc.C (dispatch): invoke it.
557 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 * iterators.C (operator++, ParPosition): reintroduce some
560 const_cast for the benefit of older compilers.
562 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
564 * text3.C (dispatch): do not modify clipboard when doing
565 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
566 LFUN_DELETE_SKIP on a selection selection
568 2003-06-16 André Pönitz <poenitz@gmx.net>
574 * tabular.[Ch]: IU of clone() and getLabelList();
576 2003-06-13 André Pönitz <poenitz@gmx.net>
578 * tabular.h: compactification
580 2003-06-12 André Pönitz <poenitz@gmx.net>
584 * tabular_funcs.h: some renaming plus whitespace
586 2003-06-12 André Pönitz <poenitz@gmx.net>
589 * BufferView_pimpl.C:
595 * toc.C: Return a Paragraph & for ParIterator::operator*()
597 2003-06-11 John Levon <levon@movementarian.org>
601 * ToolbarBackend.C: add "Toolbars" section and
604 2003-06-10 Angus Leeming <leeming@lyx.org>
607 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
609 * lyxfunc.C (dispatch): invoke it.
611 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
613 * main.C: protect <ios> with HAVE_IOS
614 (main): protect sync_with_stdio with HAVE_IOS
616 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
618 * text2.C (cutSelection): adjust
619 (pasteSelection): adjust
621 * messages.C: handle get of empty string
623 * main.C (main): use sync_with_stdio(false)
625 * lyxfunc.C (dispatch): adjust
627 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
628 (WriteAs): remove unneeded BufferView arg.
630 * bufferparams.h: use correct types on papersize, papersize2 and
633 * bufferparams.C (readToken): adjust for type
634 (writeLaTeX): add missing cases to switch.
636 * bufferlist.C (quitWriteBuffer): adjust
639 * buffer.C (asciiParagraph): remove some commented code.
641 * CutAndPaste.C: remove current_view extern variable.
642 (cutSelection): add BufferParams arg.
643 (eraseSelection): add BufferParams arg.
644 (pasteSelection): add Buffer const & arg
646 2003-06-07 John Levon <levon@movementarian.org>
654 * paragraph.C: allow InsetERT to freely space lines,
655 and some consolidation of code
657 2003-06-06 José Matos <jamatos@fep.up.pt>
659 * buffer.C (makeDocBookFile): fix bug #821
661 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
663 * BufferView_pimpl.C (dispatch): use Dialogs::visible
665 2003-06-04 Angus Leeming <leeming@lyx.org>
667 * buffer.C: bump format to 224.
669 2003-06-05 André Pönitz <poenitz@gmx.net>
671 * text2.C (redoParagraphs): remove two const_cast<>
673 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
675 * ParagraphList.h: remove last remnants of NO_STD_LIST
677 2003-06-03 Angus Leeming <leeming@lyx.org>
679 * factory.C (createInset): small change to the way InsetExternal's params
682 2003-06-04 André Pönitz <poenitz@gmx.net>
684 * buffer.h: use Undo directly instead of shared_ptr<Undo>
687 * paragraph.[Ch]: some Inset -> UpdatableInset changes
689 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
691 * undo_funcs.C: make some simple cases of undo work again
693 2003-06-03 John Levon <levon@movementarian.org>
695 * ispell.C: HPUX doesn't have sys/select.h
698 2003-06-03 John Levon <levon@movementarian.org>
700 * CutAndPaste.C: update tabular and include inset
705 * paragraph.C: remove owningBuffer(), don't pass Buffer
708 * factory.C: insetGraphicsParams changed
710 2003-06-02 John Levon <levon@movementarian.org>
716 * text3.C: remove insetparent
718 2003-06-02 John Levon <levon@movementarian.org>
721 * buffer.C: fix inset_iterator.end(), move out of line
724 2003-06-01 John Levon <levon@movementarian.org>
726 * text3.C: use a proper cut/paste when doing inset
727 insert (from Jürgen Spitzmüller)
729 2003-06-01 John Levon <levon@movementarian.org>
731 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
733 2003-05-30 André Pönitz <poenitz@gmx.net>
735 * rowpainter.C: unify second drawing phase
737 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
739 * trans_mgr.C: remove one case of current_view
741 * text2.C (cursorBottom): delete NO_STD_LIST stuff
743 * paragraph_funcs.h: remove paragraph.h include
745 * paragraph.h: delete NO_STD_LIST stuff
747 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
749 * buffer.h: remove paragraph.h include
751 * ParagraphList.C: delete file
753 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
755 * toc.C (getTocList): adjust
757 * paragraph_pimpl.C (validate): adjust
759 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
761 * paragraph.C (Paragraph): adjust
762 (getPositionOfInset): use const_iterator, adjust
763 (bibitem): use const_iterator, adjust
764 (setInsetOwner): adjust
766 * iterators.C (operator++): adjust
768 * InsetList.[Ch]: Replace selfmade iterator with standard
769 vector::iterator also introduce const_iterator. Remove getPos,
770 getInset and setInset from InsetTable. Adjust accordingly.
772 * BufferView.C (lockInset): adjust
773 (ChangeInsets): adjust
775 * tabular.[Ch]: delete commented same_id functions
777 2003-05-28 John Levon <levon@movementarian.org>
779 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
781 2003-05-28 André Pönitz <poenitz@gmx.net>
783 * metricsinfo.[Ch]: remove 'fullredraw' member
785 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
787 * lyxtextclass.C (operator): remove caching.
789 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
793 * text2.C (cursorBottom): adjust
794 (setCounter): use ParagraphList::find, adjust
796 * text.C (workWidth): use ParagraphList::find, adjust
798 * lyxcursor.C (LyXCursor): adjust
800 * buffer.C (inset_iterator): adjust
802 * ParagraphList.h: make iterator(value_type) private, make
803 ParagraphList a friend of iterator.
805 * ParagraphList.C (find): new function
807 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
809 2003-05-27 André Pönitz <poenitz@gmx.net>
811 * dimension.[Ch]: a -> asc, d -> des, w -> wid
813 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
817 2003-05-26 John Levon <levon@movementarian.org>
819 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
821 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
823 * remove same_id from function signatures, adjust.
825 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * undo_funcs.C (createUndo): use the id functions directly, adjust.
829 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
831 * paragraph.C (Paragraph): get rid of same_ids parameter
833 * ParagraphList.C (insert): adjust
836 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
838 * paragraph_funcs.C (breakParagraph): adjust
839 (breakParagraphConservative): adjust
841 * buffer.C (readParagraph): adjust
843 * ParagraphList.C (insert): take a reference instead of a pointer
846 * paragraph.[Ch] (id): new function
848 * bufferlist.C (newFile): adjust
850 * ParagraphList.C (ParagraphList): adjust
852 (push_back): take a reference instead of a pointer.
854 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
856 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
859 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
860 set else use old code.
862 * ParagraphList.C: remove all NO_NEXT code and only compile this
863 code of NO_STD_LIST is set.
865 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
867 * BufferView_pimpl.C:
877 * graphics/GraphicsConverter.C:
878 * graphics/PreviewLoader.C: header adjustment
880 2003-05-23 Angus Leeming <leeming@lyx.org>
882 * LaTeXFeatures.[Ch] (useBabel): new method.
883 * bufferparams.C (writeLaTeX): use it.
885 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * ParagraphList.h (set): remove unused function.
889 2003-05-23 André Pönitz <poenitz@gmx.net>
892 * BufferView_pimpl.C:
896 * undo_funcs.C: setUndo reworked
898 * iterators.[Ch]: add access to topmost ParagraphList
900 * lyxtext.[Ch] (workWidth): add a const
902 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
904 * texrow.[Ch] (increasePos): remove function
905 * exporter.C (export): removed unused var and outdated comment
907 2003-05-23 Angus Leeming <leeming@lyx.org>
909 * latexrunparams.h: rename fragile as moving_arg.
910 * paragraph.C (simpleTeXOnePar): ditto.
911 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
913 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
917 (textUndoOrRedo): comment out a currently unused var.
919 * paragraph.h (NO_NEXT): enable NO_NEXT
921 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
923 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
925 * exporter.C (Export): adjust for removeAutoInsets removal.
927 * buffer.C (runChktex): adjust for removeAutoInsets removal.
929 * LyXAction.C (init): remove LFUN_REMOVEERRORS
931 * BufferView.[Ch] (removeAutoInsets): delete function
933 2003-05-22 Angus Leeming <leeming@lyx.org>
935 * latexrunparams.h: add a free_spacing variable.
937 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
938 to pass moving_arg, as the data is stored in runparams.fragile.
940 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
941 to Inset::latexOptional or to simpleTeXOnePar.
943 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
944 free_spacing arg to Inset::latexOptional.
946 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
949 2003-05-22 Angus Leeming <leeming@lyx.org>
951 * latexrunparams.h: add fragile and use_babel variables.
953 * bufferparams.[Ch] (writeLaTeX): return use_babel.
954 * buffer.C (makeLaTeXFile): store this returned value in
955 runparams.use_babel, thus passing it to the inset::latex methods.
957 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
958 simpleTeXSpecialChars as it is now stored in runparams.fragile.
960 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
961 longer has a fragile arg, as it is stored in runparams.fragile.
963 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
964 moving_arg parameter as the data is stored in runparams.fragile.
966 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
967 a fragile parameter as the data is stored in runparams.fragile.
969 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
971 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
973 2003-05-22 Angus Leeming <leeming@lyx.org>
975 * latexrunparams.h: add a 'bool nice' which defaults to false.
977 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
978 now encapsulated within runparams.
980 * bufferlist.C (updateIncludedTeXfiles):
981 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
983 2003-05-22 Angus Leeming <leeming@lyx.org>
985 * latexrunparams.h: new file containing struct LatexRunParams.
986 * Makefile.am: add new file.
988 * LaTeX.[Ch] (c-tor, run):
989 * buffer.[Ch] (makeLaTeXFile):
990 * bufferlist.[Ch] (updateIncludedTeXfiles):
991 * converter.C (convert, scanLog):
992 * converter.[Ch] (runLaTeX):
993 * exporter.C (Export):
994 * paragraph.[Ch] (simpleTeXOnePar):
995 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
996 * paragraph_funcs.[Ch] (latexParagraphs):
997 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
998 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
999 pass around a LatexRunParams parameter.
1001 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1003 * paragraph.[Ch]: remove unused constructor
1005 * ParagraphList.C (erase): new function, taking two iterators
1007 2003-05-22 André Pönitz <poenitz@gmx.net>
1009 * undo_funcs.C: remove duplicated code
1011 * iterator.[Ch]: operator=
1013 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1015 * tabular.C (SetMultiColumn): ws changes
1017 * rowpainter.C (paintFirst): get rid of a ->previous
1019 * lyx_cb.C (getPossibleLabel): parlist simplification
1021 * BufferView.C (ChangeInsets): simplify slightly.
1023 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1025 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1026 * lfuns.h: new LFUN_SPACE
1027 * lyxfunc.C: protected space has a new lfun
1028 * paragraph_funcs.C: read new space insets
1030 * factory.C: handle new space insets
1032 2003-05-22 André Pönitz <poenitz@gmx.net>
1035 * BufferView_pimpl.C:
1038 * undo_funcs.C: return a ParIterator from getParFromID.
1040 * iterators.[Ch]: add two const's
1042 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1044 * toc.C (getTocList): adjust
1046 * iterators.[Ch]: rework for parlist
1048 * buffer.C (par_iterator_begin): adjust
1049 (par_iterator_end): adjust
1051 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1053 * BufferView.C (removeAutoInsets): adjust
1054 (ChangeInsets): adjust
1056 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1058 * text.C (top_y): fix bug 1110
1060 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1062 * errorlist.[Ch]: added
1065 * BufferView_pimpl.C:
1066 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1069 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1071 * Makefile.am: ensure that lyx is relinked upon changes to the
1072 various "convenience" libs.
1074 2003-05-20 Angus Leeming <leeming@lyx.org>
1076 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1077 files are compiled in alphabetical order again.
1079 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1081 2003-05-19 Angus Leeming <leeming@lyx.org>
1083 * gettext.[Ch]: remove "char const * _(char const *)".
1085 2003-05-19 André Pönitz <poenitz@gmx.net>
1087 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1096 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1098 2003-05-19 André Pönitz <poenitz@gmx.net>
1102 * lyxtextclass.[Ch]:
1104 * paragraph_funcs.[Ch]:
1106 * text3.C: more insetenv work
1108 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1110 * ParagraphParameters.C (params2string): small bug fixed
1112 2003-05-16 André Pönitz <poenitz@gmx.net>
1115 * bufferview_funcs.C: patch from Kornel Benko to prevent
1116 crash when _(...) is called twice in a statement
1118 2003-05-16 André Pönitz <poenitz@gmx.net>
1125 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1127 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1129 * lyx_main.C (init): remove spurious static_cast
1131 2003-05-14 André Pönitz <poenitz@gmx.net>
1133 * BufferView.C: fix format string
1135 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1137 * BufferView.[Ch] (insertErrors): removed
1138 * BufferView.[Ch] (showErrorList): added
1139 * buffer.C (runChkTeX):
1140 * converter.C (scanLog): call showErrorList instead of inserterrors
1142 2003-05-13 André Pönitz <poenitz@gmx.net>
1144 * BufferView_pimpl.C:
1146 * bufferview_func.C:
1153 * tabular_funcs.h: tostr() from its own header
1155 * ParagraphParameters.C:
1160 * text3.C: STRCONV()
1162 2003-05-12 André Pönitz <poenitz@gmx.net>
1165 * BufferView_pimpl.C:
1169 * ParagraphParameters.C:
1173 * bufferview_funcs.C:
1186 * paragraph_funcs.C:
1190 * text3.C: boost::format -> bformat all over the place
1193 2003-05-09 André Pönitz <poenitz@gmx.net>
1195 * LColor.[Ch]: Pimpl the #include <map> away
1197 2003-05-09 John Levon <levon@movementarian.org>
1199 * bufferlist.C: never remove emergency saves
1201 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1203 * Makefile.am: better lib building
1205 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1209 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1210 (simpleTeXSpecialChars): adjust
1211 (simpleTeXSpecialChars): adjust
1212 * paragraph.C (simpleTeXOnePar): adjust
1213 * buffer.C (makeLaTeXFile): adjust
1215 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1217 * text2.C (changeDepth): parlist cleanup
1218 (getColumnNearX): ditto
1220 * rowpainter.C (getLabelFont): parlist cleanup
1222 * bufferlist.C (newFile): parlist cleanup
1224 * CutAndPaste.C (eraseSelection): parlist cleanup
1226 * BufferView_pimpl.C (trackChanges): parlist cleanup
1229 * BufferView.C (lockInset): parlist cleanup.
1230 (ChangeInsets): ditto
1232 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1234 * CutAndPaste.h: Update file header.
1236 * CutAndPaste.C: Update file header.
1237 Store the parts cut out of the Document in a limited_stack.
1238 (copySelection): adjust
1239 (pasteSelection): new function, takes the index in the limited stack.
1240 (nrOfParagraphs): adjust
1241 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1242 simplify error inset insertion.
1243 (checkPastePossible): adjust
1245 2003-05-06 John Levon <levon@movementarian.org>
1247 * text2.C: don't cast wrap inset to float
1249 2003-05-05 André Pönitz <poenitz@gmx.net>
1252 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1254 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1255 few naked Paragraph *.
1257 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1259 * bufferparams.C: Output warning if a document with missing
1260 TeX document class is loaded
1261 * exporter.C: Disable TeX exports if the document class is missing
1264 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1265 isTeXClassAvailable()
1267 2003-05-03 John Levon <levon@movementarian.org>
1270 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1271 explicit cursor show/hide
1273 * BufferView_pimpl.h:
1274 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1275 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1277 * lyxfunc.C: hide cursor before dispatching.
1282 * text3.C: remove explicit cursor hides
1284 2003-05-02 André Pönitz <poenitz@gmx.net>
1286 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1289 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1292 * text2.C: tiny whitespace
1294 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * undo_funcs.C: almost only ws changes.
1298 * ParagraphList.C (splice): just return if pl is empty.
1300 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1302 * ParagraphList.C (splice): new function.
1304 * CutAndPaste.C (pasteSelection): use it
1306 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1308 * CutAndPaste.C (pasteSelection): remove the last next and
1309 previous from this file.
1311 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1313 * CutAndPaste.C (pasteSelection): more clean up, user proper
1314 ParagraphList functions for pasteing.
1316 * ParagraphList.C (insert): new function, three arg insert
1318 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1320 * ParagraphList.C (insert): new function, three arg insert
1322 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1325 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1329 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1331 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1333 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1335 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1336 (copySelection): clean up a bit.
1337 (pasteSelection): use make_pair
1339 * ParagraphList.C (ParagraphList): implement copy constructor
1340 (operator=): implement, base on copy constructor.
1343 * paragraph.C (erase): return a bool
1345 * paragraph_pimpl.C (erasePos): remove function, move contents...
1346 (erase): ... here. Return a bool.
1347 (erase): call erase instead of erasePos.
1349 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1351 * ParagraphList.h: define PitPosPair
1352 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1353 ParagraphList, fix a bug on pasting multiple pars
1354 * text2.C: change interface to C&P
1356 2003-04-30 André Pönitz <poenitz@gmx.net>
1358 * undo_func.C: revert part of yesterday's patch 2
1360 2003-04-30 John Levon <levon@movementarian.org>
1362 * LColor.C: s/tabular/table/
1364 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * text3.C (dispatch): do not convert iterator -> pointer
1367 * undo_funcs.C (setCursorParUndo): ditto
1368 * text_funcs.C (transposeChars): ditto
1370 * text2.C (setLayout): ws changes only
1372 * text.C (breakParagraph): do not convert iterator -> pointer
1374 (acceptChange): ditto
1375 (rejectChange): ditto
1380 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1383 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1385 * text3.C (gotoInset): YABG (yet another bad getChar)
1387 2003-04-29 André Pönitz <poenitz@gmx.net>
1389 * paragraph.h: make operator= private unimplemented as long as
1392 * ParagraphList.C: whitespace
1395 * paragraph_pimpl.[Ch]:
1396 * paragraph_funcs.C:
1398 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1401 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1403 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1405 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1406 * paragraph.[Ch] (erase):
1407 * paragraph_pimpl.[Ch] (erase): change return type and value
1408 * text2.C (cutSelection): some rework
1410 2003-04-28 John Levon <levon@movementarian.org>
1412 * bufferlist.C: changes for unsaved changes dialog
1414 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1416 * bufferlist.C (newFile): set language (messages_) for new
1419 * buffer.C (readFile): ws changes only.
1421 2003-04-28 André Pönitz <poenitz@gmx.net>
1426 * BufferView_pimpl.C:
1427 * BufferView.C: getParFromID related ParagraphList::iterator changes
1429 2003-04-28 André Pönitz <poenitz@gmx.net>
1431 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1434 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1436 * messages.C: remove one more localedir class variable.
1438 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * messages.C (getLocaleDir): singleton generation function
1442 (Messages): add a default constructor.
1444 * main.C (main): do not setup localedir here, do not call
1447 * gettext.C (_): use it.
1448 (gettext_init): delete funciton
1450 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1452 * gettext.C (getLyXMessages): new singleton generating function.
1454 * buffer.C (updateDocLang): adjust
1456 * Makefile.am (messages.o): add target
1457 (main.o): remove target
1459 2003-04-27 John Levon <levon@movementarian.org>
1464 * lyxvc.C: specify cancel button in Alert::prompt
1466 2003-04-26 John Levon <levon@movementarian.org>
1471 * LyXAction.C: add LFUN_INSET_SETTINGS
1473 * lyxfunc.C: don't enable tabular-feature when there's
1474 just any locking inset
1476 2003-04-26 John Levon <levon@movementarian.org>
1478 * bufferlist.C: re-add Cancel to buffer close question
1480 * lyxfunc.C: fix import UI a bit
1482 2003-04-25 John Levon <levon@movementarian.org>
1484 * gettext.C: remove the broken asserts for now
1486 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1488 * messages.C: make case where setlocale cannot comply work better.
1490 * buffer.C (updateDocLang): new function
1491 (changeLanguage): use it
1494 * text2.C (setCounter): use B_ a bit.
1496 * lyxlayout.C (Read): be sure to trim the label strings.
1498 * messages.C (Messages): fix typo in comment
1500 * buffer.C (readFile): set message_ after file is loaded.
1501 (makeDocBookFile): remove double return
1502 (changeLanguage): reset message_ upon language change.
1503 (B_): new func, use this to get translated buffer strings.
1505 * main.C: add myself and Jean Marc as authors.
1507 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * messages.[hC]: pimplify Messages, and three different pimpls to be
1510 used in different circumstances.
1512 * gettext.[Ch]: change for use with new message code.
1514 2003-04-24 André Pönitz <poenitz@gmx.net>
1516 * factory.C: support for eqref
1518 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * messages.[Ch]: add missing char
1522 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1524 * messages.[Ch]: New files
1526 2003-04-18 John Levon <levon@movementarian.org>
1530 * BufferView_pimpl.C:
1534 * text2.C: remove layout-copy/paste (bug 778)
1536 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1538 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1540 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1542 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1543 if they succeed. Act accordingly.
1545 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * text2.C (setCharFont): adjust
1548 (setCounter): adjust
1549 (insertStringAsLines): adjust
1551 * text.C (leftMargin): adjust
1552 (setHeightOfRow): adjust
1554 * rowpainter.C (paintFirst): adjust
1557 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1559 (isFirstInSequence): ditto
1560 (getEndLabel): ditto
1563 * paragraph.C (getParLanguage): comment out some hard stuff.
1565 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1567 (simpleDocBookOnePar): ditto
1568 (makeDocBookFile): use ParagraphList::iterator
1570 * CutAndPaste.C (pasteSelection): adjust
1572 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * text2.C (getFont): adjust
1575 (getLayoutFont): adjust
1576 (getLabelFont): adjust
1578 * paragraph_funcs.C (TeXOnePar): adjust
1580 * buffer.C (simpleLinuxDocOnePar): adjust
1581 (simpleDocBookOnePar): adjust
1583 * CutAndPaste.C (pasteSelection): adjust
1585 * BufferView.C (getEncoding): adjust
1587 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1589 2003-04-16 John Levon <levon@movementarian.org>
1591 * lyxfind.C: use parlist stuff for search/changes
1593 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1595 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1597 * text2.C (deleteEmptyParagraphMechanism): adjust
1599 * text2.[Ch] (ownerParagraph): delete func (both of them
1601 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1605 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * ParagraphList.C: prepare for NO_NEXT
1609 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * text2.C (getFont): adjust
1612 (getLayoutFont): adjust
1613 (getLabelFont): adjust
1615 * paragraph.C (getFont): adjust
1616 (getLabelFont): adjust
1617 (getLayoutFont): adjust
1619 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1621 2003-04-15 John Levon <levon@movementarian.org>
1625 * lyx_main.C: handle Include in .ui files
1627 2003-04-15 John Levon <levon@movementarian.org>
1629 * MenuBackend.C: make the doc files length shorter
1632 * ToolbarBackend.C: handle toolbar placement flags,
1635 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1637 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1640 * paragraph_funcs.C (TeXOnePar): adjust
1642 * paragraph.C (getLabelFont): add outerfont arg, adjust
1643 (getLayoutFont): ditto
1644 (simpleTeXOnePar): adjust
1646 * paragraph_pimpl.C (realizeFont): delete func
1648 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1650 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1651 row argument, constify cur argument.
1653 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * text2.C (getFont): adjust
1656 (getLayoutFont): adjust
1657 (getLabelFont): adjust
1659 * paragraph_funcs.C (TeXOnePar): adjust
1660 (outerFont): new func...
1661 (realizeFont): ...moved out from here, changed this to facilitate
1664 * paragraph.C (getFont): take outerfont as arg, adjust
1665 (simpleTeXOnePar): add outerfont arg, adjust
1667 * buffer.C (simpleLinuxDocOnePar): adjust
1668 (simpleDocBookOnePar): adjust
1670 * CutAndPaste.C (pasteSelection): adjust
1672 * BufferView.C (getEncoding): adjust
1674 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * text2.C (setCharFont): adjust
1677 (setCounter): adjust
1679 * text.C (leftMargin): adjust
1680 (setHeightOfRow): adjust
1682 * rowpainter.C (paintFirst): adjust
1685 * paragraph_pimpl.C (realizeFont): adjust
1687 * paragraph.C (isFirstInSequence): move from here...
1688 * paragraph_funcs.C (isFirstInSequence): ...to here
1690 * paragraph.C (outerHook): move from here...
1691 * paragraph_funcs.C (outerHook): ...to here
1693 * paragraph.C (depthHook): move from here...
1694 * paragraph_funcs.C (depthHook): ...to here
1696 * paragraph.C (getEndLabel): move from here...
1697 * paragraph_funcs.C (getEndLabel): ...to here
1699 * text2.C (realizeFont): move from here...
1700 * paragraph_funcs.C (realizeFont): ...to here
1702 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1706 2003-04-14 Angus Leeming <leeming@lyx.org>
1708 * LColor.[Ch]: scrap LColor mathcursor.
1710 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1712 * lyxlex.[Ch] (text): delete function
1713 * trans.C (Load): adjust
1714 * paragraph_funcs.C (readParToken): adjust
1716 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1718 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1719 vector<char> instead of a char[].
1721 * lyxlex_pimpl.C (getString): adjust
1723 (lex): use getString
1727 * lyxlex.C (text): use pimpl_->getString()
1731 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1734 (makeFontEntriesLayoutSpecific): temp var for par.size()
1735 (setLayout): temp var for ownerParagraphs().end()
1736 (fullRebreak): temp var for rows().end()
1737 (selectionAsString): temp var for boost::next(startpit), realize
1738 that the while really is a regular for loop.
1739 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1740 setCursor in one place.
1741 (setParagraph): temp vr for ownerParagraphs().end()
1742 (updateCounters): make the while loop a for loop
1743 (cutSelection): temp var for ownerParagraphs().end()
1744 (updateInset): make the do {} while() a regular for loop
1745 (getCursorX): use temp vars
1746 (setCurrentFont): use temp vars
1747 (getColumnNearX): use temp vars
1749 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * text.C (transformChar): use temp var for getChar
1752 (computeBidiTables): use temp var for row->par()
1753 (fill): move temp vars for row->par() and pit->layout() earlier in
1755 (labelFill): use temp var for row->par()
1756 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1757 asc and desc, realize that pit never changes and that firstpit is
1758 just a duplicate and not needed. Exchange rit->par() with pit in a
1760 (breakAgain): use a temp var for boost::next(rit)
1761 (breakAgainOneRow): ditto
1762 (breakParagraph): use a temp var for rows().begin()
1763 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1764 (cursorRightOneWord): use temp var for cursor.par() and
1765 cursor.pos(), remove usage of tmpcursor.
1766 (cursorLeftOneWord): use temp var for cursor.par() and
1767 cursor.pos() only set cur at end of function.
1769 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1771 * text.C, text2.C: exchange all usage of Paragraph::next with
1772 boost::next(ParagraphList::iterator)
1774 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1776 * text2.C (cursorTop): simplify implementation
1777 (cursorBottom): ditto
1778 (setParagraph): use ParagraphList::iterator
1779 (setCurrentFont): adjust
1780 (getColumnNearX): adjust
1781 (cursorRight): adjust
1782 (cursorLeft): remove usage of Paragraph::previous
1783 (cursorUpParagraph): ditto
1784 (deleteEmptyParagraphMechanism): slight cleanup
1786 * text.C (isBoundary): take a Paragraph const & instead of a
1788 (addressBreakPoint): ditto
1789 (leftMargin): remove usage of Paragraph::previous.
1790 (setHeightOfRow): ditto
1791 (cursorLeftOneWord): ditto
1792 (selectNextWordToSpellcheck): ditto
1795 (breakParagraph): remove one usage of Paragraph::next
1796 (redoParagraph): ditto
1797 (acceptChange): ditto
1798 (insertChar): adjust
1799 (rowBreakPoint): adjust
1801 * bufferview_funcs.C (toggleAndShow): adjust
1803 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1805 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1806 methods to access it.
1808 * text.C: Added updateRowPositions to compute all row positions.
1809 Make top_y and getRowNearY() to use the cached y position
1811 2003-04-11 John Levon <levon@movementarian.org>
1813 * text.C (rowBreakPoint): reintroduce the labelEnd
1814 checks, code copied from the row fill stuff. Deep voodoo.
1816 * text.C (fill): add a comment and debugging for the
1819 2003-04-11 John Levon <levon@movementarian.org>
1821 * text.C: make sure fullrow insets get wrapped to the next line,
1822 even when they're in a manual label
1824 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * text2.C (insertParagraph): make it take ParagraphList::iterator
1828 (setLayout): make it return ParagraphList::iterator
1829 (redoParagraphs): ditto
1831 (checkParagraph): ditto
1833 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1835 * text2.C: adjust several funcs.
1836 (realizeFont): take a ParagraphList::iterator as arg.
1837 (getLayoutFont): ditto
1838 (getLabelFont): ditto
1839 (setCharFont): ditto
1841 * text.C: adjust several funcs.
1843 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1845 * text.C (selectNextWordToSpellcheck): don't accidentally
1848 2003-04-10 John Levon <levon@movementarian.org>
1850 * ToolbarBackend.C (getIcon): special handling for
1853 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1855 * text2.C (cursorRight): a getChar assert fixed
1857 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * text2.C (getFont): change to take a ParagraphList::iterator
1860 instead of Paragraph*
1861 Adjust several functions.
1863 * text.C (transformChar): change to take a ParagraphList::iterator
1864 instead of Paragraph*
1865 (singleWidth): ditto
1866 Adjust several functions.
1868 * rowpainter.C: adjust several functions
1869 * rowpainter.h:store a ParagraphList::iterator and not a
1873 2003-04-09 John Levon <levon@movementarian.org>
1878 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1879 and the "help" bits as well
1881 2003-04-09 John Levon <levon@movementarian.org>
1884 * ToolbarBackend.C: allow multiple toolbars
1886 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * undo_funcs.C (setCursorParUndo): adjust
1890 * text_funcs.C (transposeChars): adjust
1892 * text3.C (gotoNextInset): adjust
1895 * text2.C (setLayout): adjust
1896 (changeDepth): adjust
1898 (redoParagraphs): adjust
1899 (selectionAsString): adjust
1900 (setParagraph): adjust
1901 (insertInset): adjust
1902 (cutSelection): adjust
1903 (copySelection): adjust
1904 (pasteSelection): adjust
1905 (insertStringAsLines): adjust
1906 (updateInset): adjust
1907 (setCursor): change to take a ParagraphList::iterator parameter
1908 (setCursorIntern): change to take a ParagraphList::iterator parameter
1909 (setCurrentFont): adjust
1910 (cursorLeft): adjust
1911 (cursorRight): adjust
1912 (deleteEmptyParagraphMechanism): adjust
1914 * text.C (breakParagraph): adjust
1915 (insertChar): adjust
1916 (acceptChange): adjust
1917 (rejectChange): adjust
1918 (selectNextWordToSpellcheck): adjust
1919 (changeCase): adjust
1923 * lyxfind.C (SearchForward): adjust
1924 (SearchBackward): adjust
1925 (nextChange): adjust
1927 * lyxcursor.C (par): adjust
1929 * lyxcursor.h: store a ParagraphList::iterator instead of a
1932 * lyx_cb.C (getPossibleLabel): adjust
1934 * bufferview_funcs.C (toggleAndShow): adjust
1936 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1939 * BufferView.C (removeAutoInsets): adjust
1940 (lockedInsetStoreUndo): adjust
1942 2003-04-09 John Levon <levon@movementarian.org>
1944 * ToolbarBackend.C: try icon without argument
1945 if with argument fails
1947 2003-04-08 John Levon <levon@movementarian.org>
1950 * ToolbarBackend.C: add getIcon(), handle tooltip,
1951 and change from "Icon" to "Item".
1953 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1955 * BufferView.C (lockInset): another bad getchar crunched
1957 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1959 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1962 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1964 * lyxfind.C (searchForward, searchBackwards): bug 782
1966 2003-04-07 John Levon <levon@movementarian.org>
1968 * paragraph.C: remove dead comment
1970 * text.C: remove troublesome depth-fiddling code
1971 in leftMargin() and rightMargin() (bug 1017)
1973 * text.C: fix breaking of rows in nested lists
1976 * text2.C (updateCounters): fix up depth values
1979 2003-04-07 John Levon <levon@movementarian.org>
1981 * BufferView_pimpl.C: clear message when doc finishes resizing,
1982 and after a mouse event
1984 * lyxfunc.C: clear message after exiting inset
1986 2003-04-07 John Levon <levon@movementarian.org>
1988 * bufferview_funcs.C: show math status not outside
1989 status in the statusbar
1991 2003-04-07 John Levon <levon@movementarian.org>
1993 * lyxfunc.C: note status changed after a depth change
1995 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1997 * LaTeX.h: move AuxInfo operator==, != out of line.
1998 Remove LaTeX virtual destructor; nothing derives from it.
1999 Move operator()() out of public area and rename it startscript().
2000 Change protected for private.
2002 2003-04-04 Angus Leeming <leeming@lyx.org>
2005 * text2.C: remove unneeded #includes.
2007 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2009 * text2.C (dEPM): fix the heigth of the next row
2011 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2013 * text.C: squashed an invalid getChar requester + some ws changes
2015 2003-04-03 John Levon <levon@movementarian.org>
2017 * bufferview_funcs.h:
2018 * bufferview_funcs.C:
2021 * text2.C: make getStatus work for the env depth lfuns
2023 2003-04-03 John Levon <levon@movementarian.org>
2025 * bufferview_funcs.h:
2026 * bufferview_funcs.C:
2029 * text2.C: parlistize decDepth(), by merging it with incDepth()
2031 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * lyxrow.h: store a ParagraphList::iterator instead of a
2034 Paragraph* and adjust other class functions to suit.
2036 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2039 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2041 * text2.C (setCursor): do not anchor to cursor row for the time being
2043 2003-04-02 John Levon <levon@movementarian.org>
2050 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2052 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * paragraph.h: make ParagraphList and ParagraphList::iterator
2055 friends of Paragraph.
2057 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2059 * ParagraphList.C: Use the private next_ and previous_ from
2062 2003-04-01 John Levon <levon@movementarian.org>
2066 * Makefile.am: rename, remove defaults gunk
2069 * MenuBackend.C: remove defaults gunk
2072 * Languages.C: remove defaults gunk
2075 * lyx_main.C: error out if files couldn't be found.
2077 2003-04-02 John Levon <levon@movementarian.org>
2079 * text2.C: make incDepth() use parlist
2081 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * undo_funcs.C (firstUndoParagraph): adjust
2085 * text3.C (gotoInset): adjust
2086 (dispatch): adjust, and rewrite loop.
2088 * text2.C (init): adjust, and rewrite loop.
2089 (redoParagraphs): adjust
2090 (updateInset): adjust, and rewrite loop.
2091 (deleteEmptyParagraphMechanism): adjust
2093 * tabular.C (LyXTabular): adjust
2094 (SetMultiColumn): adjust
2097 * lyxtext.[Ch] (ownerParagraph): delete function
2098 (ownerParagraphs): new function returns a ParagraphList.
2100 * BufferView.C (removeAutoInsets): adjust
2101 (insertErrors): adjust
2102 (setCursorFromRow): adjust
2104 2003-04-01 Angus Leeming <leeming@lyx.org>
2106 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2109 2003-04-02 John Levon <levon@movementarian.org>
2115 * text_funcs.C: make transposeChars a free function
2117 * lyxrow_funcs.C: remove wrong comment
2119 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * rowpainter.C: adjust
2127 * lyxrow_funcs. [Ch]: new files
2129 * lyxrow.[Ch]: remove next and previous pointers
2130 (next,previous): remove accessor functions
2131 (isParEnd): move to lyxrow_funcs
2132 (lastPos): move to lyxrow_funcs
2133 (nextRowIsAllInset): move to lyxrow_funcs
2134 (lastPrintablePos): move to lyxrow_funcs
2135 (numberOfSeparators): move to lyxrow_funcs
2136 (numberOfHfills): move to lyxrow_funcs
2137 (numberOfLabelHfills): move to lyxrow_funcs
2138 (hfillExpansion): move to lyxrow_funcs
2142 * bufferview_funcs.C (toggleAndShow): adjust
2144 * RowList.h: Remove class RowList from file leave just a
2147 * RowList.C: delete file
2149 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2152 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2154 * text3.C (cursorPrevious): adjust
2155 (cursorNext): adjust
2158 * text2.C (redoHeightOfParagraph): adjust
2159 (redoDrawingOfParagraph): adjust
2162 * text.C (breakParagraph): adjust
2163 (insertChar): adjust
2166 * rowpainter.C (RowPainter): adjust
2167 (leftMargin): simplify and adjust
2168 (most rowpainter functions): adjust.
2170 * rowpainter.h: store the row as RowList::iterator not as Row*
2172 * lyxcursor.C (row): taka RowList::iterator as arg
2175 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2178 2003-04-01 Angus Leeming <leeming@lyx.org>
2180 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2181 stuff like bool Bool.
2183 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2185 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2188 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2193 * lyxtext.h (rows): drop one version and leve a const variant that
2194 returns a RowList::iterator.
2196 2003-03-31 Angus Leeming <leeming@lyx.org>
2198 * text.C (fill): ensure that the signature is the same as that in the
2201 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * text2.C (redoParagraphs): adjust
2204 (updateCounters): adjust
2205 (checkParagraph): adjust
2206 (getColumnNearX): adjust and reformat a bit.
2208 * text.C (top_y): adjust
2210 (leftMargin): adjust
2211 (prepareToPrint): adjust
2213 (getRowNearY): adjust
2215 * lyxtext.h: make rowlist_ mutable.
2217 * RowList.h: add const_iterator
2218 * RowList.C: adjust for RowList::const_iterator.
2220 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2223 2003-03-31 John Levon <levon@movementarian.org>
2226 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2228 * lyx_main.C: set default fonts from using lyx_gui funcs
2230 * exporter.C: pdf_mode moved from lyxrc
2233 * lyxfunc.C: changes from above
2235 2003-03-31 John Levon <levon@movementarian.org>
2237 * lyx_main.C: fix to the last fix
2239 2003-03-31 John Levon <levon@movementarian.org>
2241 * bufferlist.C: "Load original" -> "Load Original"
2247 * format.C: more Alert cleanups
2249 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * text2.C (removeParagraph): make it take a RowList::iterator as
2253 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2254 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2256 * text.C (anchor_row): make it take a RowList::iterator as arg,
2258 (computeBidiTables): make it take a const reference to Row instead
2259 of Row pointer, adjust.
2260 (leftMargin): make it take a RowList::iterator as arg, adjust.
2261 (rowBreakPoint): adjust
2262 (breakAgainOneRow): make it take a RowList::iterator as arg,
2264 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2266 * bufferview_funcs.C (toggleAndShow): adjust
2268 2003-03-30 John Levon <levon@movementarian.org>
2272 * boost-inst.C: moved to support
2274 * several files: changes as a result
2276 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2278 * text2.C (LyXText): adjust.
2280 (removeRow): make it take a RowList::iterator as arg, adjust.
2281 (fullRebreak): adjust
2282 (deleteEmptyParagraphMechanism): adjust
2283 (clearPaint): adjust
2286 * text.C (top_y): adjust
2287 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2288 (breakAgain): make it take a RowList::iterator as arg, adjust.
2289 (breakParagraph): adjust
2290 (insertChar): adjust
2293 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2294 need_break_row, and refresh_row.
2296 * text3.C (dispatch): adjust
2298 * text2.C (checkParagraph): adjust
2300 (setCursorFromCoordinates): adjust
2302 * text.C (top_y): adjust
2304 (getRow): make it return a RowList::iterator, adjust
2305 (getRowNearY): make it return a RowList::iterator, adjust
2307 * text2.C (init): adjust
2308 (insertRow): remove function
2309 (insertParagraph): adjust
2310 (redoParagraphs): adjust
2311 (fullRebreak): adjust
2312 (updateCounters): adjust
2314 * text.C (top_y): rewrite to use RowList iterators.
2316 (setHeightOfRow): rewrite to sue RowList iterators.
2317 (appendParagraph): adjust
2318 (breakAgain): adjust
2319 (breakAgainOneRow): adjust
2320 (breakParagraph): adjust
2322 (getRowNearY): adjust, and remove commented code.
2324 * lyxtext.h (firstRow): delete function
2325 (lastRow): delete function
2326 (rows): new function (const and non-const versions.)
2327 (insertRow): delete function
2329 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2331 2003-03-29 John Levon <levon@movementarian.org>
2333 * BufferView_pimpl.C: always update scrollbar top
2334 because pasting text when we're anchored could mean we
2335 miss an update altogether
2337 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * text2.C (init): use rowlist_.end() and not 0.
2340 (insertRow): change to take a RowList::iterator as arg, adjust
2342 (insertParagraph): change to take a RowList::iterator as arg,
2344 (redoParagraphs): remove some debug msgs.
2346 * text.C (appendParagraph): change to take a RowList::iterator
2347 arg, adjust for this.
2348 (breakAgain): add an assert
2349 (breakAgainOneRow): ditto
2351 2003-03-29 John Levon <levon@movementarian.org>
2353 * text2.C: do not clear selection after inc/decDepth
2356 2003-03-29 John Levon <levon@movementarian.org>
2359 * buffer.C: fix broken strerrors according to Lars
2361 2003-03-29 John Levon <levon@movementarian.org>
2363 * converters.C: more Alert cleanups
2365 2003-03-29 John Levon <levon@movementarian.org>
2367 * bufferview_funcs.C: remove pointless Alert
2369 * buffer.C: fix confusing error message when
2370 a template is chmoded 000
2372 2003-03-29 John Levon <levon@movementarian.org>
2376 * BufferView_pimpl.C: Alert fixes
2380 * tabular-old.C: remove unused table compat reading
2382 2003-03-29 John Levon <levon@movementarian.org>
2387 * lyx_cb.C: more Alert cleanups
2389 * lyxfunc.C: don't allow chktex if not latex document
2391 2003-03-29 John Levon <levon@movementarian.org>
2395 * buffer.C: warnings pushed down from support/,
2398 2003-03-29 John Levon <levon@movementarian.org>
2400 * lyxfunc.C: safety check for C-r (revert)
2402 2003-03-29 John Levon <levon@movementarian.org>
2405 * bufferlist.C: several UI fixes using Alert::prompt.
2406 Fix the pointless looping quit code. Fix stupid revert
2411 * lyx_cb.C: use Alert::prompt
2413 * lyx_main.C: remove a silly question
2415 * lyxfunc.C: remove a couple of silly questions,
2418 2003-03-28 John Levon <levon@movementarian.org>
2420 * text2.C: fix bug 974 (End on empty par)
2422 2003-03-28 John Levon <levon@movementarian.org>
2424 * BufferView_pimpl.C:
2426 * lfuns.h: remove do-nothing math greek lfuns
2428 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * lyxgluelength.h (isValidGlueLength): add default arg on
2431 parameter 2. Remove default arg from friend in class.
2433 * lyxlength.h (isValidLength): add default arg on parameter 2.
2434 Remove default arg from friend in class.
2436 * text2.C (LyXText): adjust, initialize refresh_row.
2440 (insertParagraph): adjst
2441 (redoParagraphs): adjust
2442 (fullRebreak): adjust
2443 (updateCounters): adjust
2444 (deleteEmptyParagraphMechanism): first attempt at fixing a
2447 * text.C (top_y): adjust
2448 (setHeightOfRow): adjust
2450 (getRowNearY): adjust
2452 * lyxtext.h: include RowList.h
2453 (~LyXText): not needed anymore, deleted.
2454 (firstRow): modify for RowList
2455 (lastRow): new function
2456 Delete firstrow and lastrow class variables, add a Rowlist
2457 rowlist_ class variable.
2459 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2462 * RowList.C (insert): fix case where it == begin().
2464 2003-03-26 Angus Leeming <leeming@lyx.org>
2466 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2467 the thesaurus dialog.
2469 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2473 * RowList.[Ch]: new files
2475 * ParagraphList.C (erase): handle the case where it == begin
2478 2003-03-25 John Levon <levon@movementarian.org>
2482 * aspell.C: add new aspell support
2485 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2488 2003-03-25 Angus Leeming <leeming@lyx.org>
2491 * LyXAction.C (init): new LFUN_INSET_INSERT.
2493 * BufferView_pimpl.C (dispatch): split out part of the
2494 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2496 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2499 2003-03-25 Angus Leeming <leeming@lyx.org>
2501 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2503 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2506 * text3.C: remove useless row->height(0)
2508 2003-03-25 John Levon <levon@movementarian.org>
2512 * text3.C: rename the refreshing stuff to better names
2514 2003-03-24 John Levon <levon@movementarian.org>
2516 * BufferView_pimpl.h:
2517 * BufferView_pimpl.C: update layout choice on a mouse
2520 2003-03-23 John Levon <levon@movementarian.org>
2522 * Makefile.am: fix commandtags.h reference
2524 2003-03-22 John Levon <levon@movementarian.org>
2526 * BufferView_pimpl.C:
2531 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2533 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2536 * text.C: take the rtl methods out of line
2538 2003-03-21 André Pönitz <poenitz@gmx.net>
2540 * metricsinfo.[Ch]: new files containing structures to be passed around
2541 during the two-phase-drawing...
2543 2003-03-21 André Pönitz <poenitz@gmx.net>
2545 * lyxtextclass.C: read 'environment' tag.
2547 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2549 * text2.C (removeRow): fix bug 964
2551 2003-03-20 John Levon <levon@movementarian.org>
2555 * text2.C: paint cleanups. Inset::update() dropped font
2558 2003-03-19 John Levon <levon@movementarian.org>
2560 * lyxfunc.C: only fitcursor/markDirty if available()
2562 2003-03-19 John Levon <levon@movementarian.org>
2564 * commandtags.h: rename to ...
2566 * lfuns.h: ... this, and renumber / cleanup
2568 2003-03-19 John Levon <levon@movementarian.org>
2570 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2571 fit the cursor after an lfun
2575 * BufferView_pimpl.h:
2576 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2578 * LyXAction.C: layout-character should have ReadOnly
2580 * ParagraphParameters.C:
2582 * bufferview_funcs.C:
2589 * undo_funcs.C: changes from above
2591 2003-03-18 John Levon <levon@movementarian.org>
2593 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2594 remove it from update()
2596 * lyxfunc.C: update layout choice after an lfun
2598 * text3.C: remove extra updateLayoutChoice()s
2600 2003-03-18 John Levon <levon@movementarian.org>
2602 * text.C: top_y change means full repaint, fix
2603 a drawing bug with cursor movement
2605 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2609 * text2.C: anchor row on setCursor
2611 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2613 * lyxtext.h: remove almost all mutable keywords
2616 * text3.C: remove const keywords accordingly
2618 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2622 (TeXEnvironment): ditto
2625 2003-03-17 John Levon <levon@movementarian.org>
2627 * text.C (rowBreakPoint): remove attempt to fix displayed
2628 math insets inside a manual label
2630 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * lyxtext.h: remove BufferView* as first arg from almost all class
2634 * other files: adjust.
2636 2003-03-17 John Levon <levon@movementarian.org>
2640 * text2.C: more paint cleanups
2642 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2645 * rowpainter.C: remove "smart" background painting code
2647 2003-03-16 John Levon <levon@movementarian.org>
2652 * text3.C: add helper functions for setting refresh_row/y
2654 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2656 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2657 newline inset which *can* get inserted in the pass_thru layouts.
2658 This is primarily for literate documents.
2660 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2662 * buffer.C: increment LYX_FORMAT to 223
2664 2003-03-14 André Pönitz <poenitz@gmx.net>
2666 * textclass.h: prepare for environment handling, ws changes
2667 * lyxlayout.C: read latexheader and latexfooter tags
2669 2003-03-14 John Levon <levon@movementarian.org>
2671 * text2.C: rewrite ::status() a bit
2673 2003-03-13 John Levon <levon@movementarian.org>
2675 * lyxtext.h: add some docs
2677 2003-03-13 John Levon <levon@movementarian.org>
2682 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2684 2003-03-13 John Levon <levon@movementarian.org>
2686 * text3.C: fix appendix redrawing
2688 2003-03-13 John Levon <levon@movementarian.org>
2690 * text.C (setHeightOfRow):
2692 * rowpainter.C: make appendix mark have the text
2693 "Appendix" so the user knows what it is
2696 * LColor.C: s/appendixline/appendix/ from above
2698 2003-03-13 John Levon <levon@movementarian.org>
2700 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2702 * text.C: fix a getChar(pos) bug properly
2704 2003-03-13 Angus Leeming <leeming@lyx.org>
2707 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2708 Probably only temporary. Let's see how things pan out.
2710 * BufferView.C (unlockInset):
2711 * BufferView_pimpl.C (fitCursor):
2712 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2714 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2715 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2717 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2718 new functions that convert ParagraphParameters to and from a string.
2720 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2721 BufferView::Pimpl's dispatch.
2722 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2724 2003-03-13 André Pönitz <poenitz@gmx.net>
2728 * factory.C: make it aware of InsetEnv
2730 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2732 * text2.C (setCursor): never ask for one past last
2733 (setCursor): add some debugging messages.
2735 * text.C (singleWidth): never ask for one past last
2736 (singleWidth): ditto
2738 (rightMargin): ditto
2739 (rowBreakPoint): ditto
2740 (setHeightOfRow): ditto
2741 (prepareToPrint): ditto
2743 * rowpainter.C (paintBackground): never ask for one past last
2744 (paintText): never ask for one past last
2746 * paragraph_pimpl.C (getChar): make the assert stricter, never
2747 allow the one past last pos to be taken
2749 * paragraph.C (getChar): ws changes only
2751 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2752 (numberOfSeparators): ditto
2753 (numberOfHfills): ditto
2755 2003-03-12 John Levon <levon@movementarian.org>
2761 * paragraph_funcs.C: fix per-buffer authorlists
2763 2003-03-12 John Levon <levon@movementarian.org>
2765 * text.C: fix newline in right address
2767 2003-03-12 Angus Leeming <leeming@lyx.org>
2769 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2770 duplicate those in LyXFunc::dispatch.
2774 * ToolbarDefaults.C:
2775 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2776 Add LFUN_FONTFREE_UPDATE.
2778 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2779 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2781 * bufferview_func.[Ch]: several new functions to facilliate
2782 transfer of data to and from the character dialog.
2784 2003-03-12 John Levon <levon@movementarian.org>
2789 * paragraph_funcs.C:
2790 * paragraph_pimpl.C:
2794 * text3.C: remove META_NEWLINE in favour of an inset
2797 * rowpainter.C: remove paintNewline (done by inset)
2799 2003-03-12 John Levon <levon@movementarian.org>
2801 * paragraph_pimpl.C: complain about bad getChar()s
2802 for a while at least
2804 2003-03-12 John Levon <levon@movementarian.org>
2807 * buffer.C: move paragraph read into a separate function,
2808 a little renaming to reflect that.
2811 * bufferparams.C: remove the author_ids map, not necessary now
2814 * factory.C: moved Buffer::readInset to here
2816 * paragraph_funcs.h:
2817 * paragraph_funcs.C: readParagraph free function moved from
2820 * tabular.C: name change
2822 2003-03-12 John Levon <levon@movementarian.org>
2825 * ParagraphParameters.C: move par params input to
2828 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2829 behave like a normal read from the stream wrt reading
2830 a line vs. a \\token
2832 2003-03-12 John Levon <levon@movementarian.org>
2835 * ParagraphParameters.h:
2836 * ParagraphParameters.C: move output code to a
2839 2003-03-12 John Levon <levon@movementarian.org>
2841 * BufferView.C (insertLyXFile):
2844 * tabular.C: use a parlist iterator for creating the
2847 2003-03-12 John Levon <levon@movementarian.org>
2849 * buffer.C: make current_change static local not
2852 2003-03-12 John Levon <levon@movementarian.org>
2854 * buffer.C: fix insertStringAsLines for change tracking
2856 2003-03-12 John Levon <levon@movementarian.org>
2863 * bufferparams.C: move author list into params. Rename some
2864 functions. Move the header reading into a separate token
2865 loop. Move the header token reading into BufferParams.
2867 2003-03-12 John Levon <levon@movementarian.org>
2869 * changes.C: put debug inside lyxerr.debugging() checks
2871 2003-03-11 André Pönitz <poenitz@gmx.net>
2873 * factory.C: make it aware of InsetHFill
2875 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2877 * buffer.C (latexParagraphs): move function from here...
2878 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2881 2003-03-10 Angus Leeming <leeming@lyx.org>
2883 * LyXAction.C (init): fix bug in poplating array with multiple entries
2884 with the same LFUN (spotted by JMarc).
2886 2003-03-10 John Levon <levon@movementarian.org>
2889 * text2.C: move getColumnNearX() near its
2892 2003-03-10 John Levon <levon@movementarian.org>
2894 * text.C: fix break before a minipage
2896 2003-03-10 John Levon <levon@movementarian.org>
2898 * text.C: fix the last commit
2900 2003-03-09 John Levon <levon@movementarian.org>
2904 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2905 bug 365 (don't break before insets unless needed). Don't
2906 return a value > last under any circumstances.
2908 2003-03-09 Angus Leeming <leeming@lyx.org>
2910 * BufferView_pimpl.C (trackChanges, dispatch): call
2911 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2913 2003-03-09 Angus Leeming <leeming@lyx.org>
2915 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2916 than Dialogs::showAboutlyx().
2918 2003-03-09 Angus Leeming <leeming@lyx.org>
2920 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2921 than Dialogs::showTabularCreate().
2923 2003-03-09 John Levon <levon@movementarian.org>
2927 * text2.C: 3rd arg to nextBreakPoint was always the same.
2930 2003-03-08 John Levon <levon@movementarian.org>
2937 * text2.C: Remove the "main" bit from the "main body"
2940 2003-03-08 John Levon <levon@movementarian.org>
2942 * text.C (leftMargin): The left margin of an empty
2943 manual label paragraph should not include the label width
2946 * text.C (prepareToPrint): don't attempt to measure hfills
2947 for empty manual label paragraphs - the answer should be 0
2949 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * CutAndPaste.C: remove commented code and reindent.
2953 2003-03-08 John Levon <levon@movementarian.org>
2956 * lyxfunc.C: move reloadBuffer()
2959 * BufferView.C: to here
2961 * lyxvc.C: add comment
2964 * vc-backend.C: call bv->reload() to avoid
2965 getStatus() check on MENURELOAD
2967 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2969 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2970 to an old format .dep file.
2972 2003-03-07 Angus Leeming <leeming@lyx.org>
2974 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2975 when the LFUN_MOUSE_RELEASE should have been handled by
2976 inset->localDispatch.
2978 2003-03-07 Angus Leeming <leeming@lyx.org>
2980 * BufferView_pimpl.C (dispatch):
2981 * LyXAction.C (init):
2982 * ToolbarDefaults.C (init):
2984 * lyxfunc.C (getStatus):
2985 remove LFUN_INSET_GRAPHICS.
2987 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2989 2003-03-07 Angus Leeming <leeming@lyx.org>
2992 * LyXAction.C (init):
2993 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2995 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2998 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3000 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3001 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3003 2003-03-07 Angus Leeming <leeming@lyx.org>
3005 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3008 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * ParagraphList.C (front): new function
3013 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3015 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3016 and top_row_offset_. removed var first_y.
3018 * text2.C (LyXText, removeRow):
3020 * BufferView_pimpl.C:
3021 use these methods instead of using first_y
3023 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * text2.C (pasteSelection): adjust for checkPastePossible
3027 * CutAndPaste.C: remove Paragraph * buf and replace with
3028 ParagraphList paragraphs.
3029 (DeleteBuffer): delete
3030 (cutSelection): change the tc type to textclass_type
3031 (copySelection): change the tc type to textclass_type
3032 (copySelection): adjust for ParagraphList
3033 (pasteSelection): change the tc type to textclass_type
3034 (pasteSelection): adjust for Paragraphlist
3035 (nrOfParagraphs): simplify for ParagraphList
3036 (checkPastePossible): simplify for ParagraphList
3037 (checkPastePossible): remove unused arg
3039 * ParagraphList.C (insert): handle the case where there are no
3042 * CutAndPaste.h: make CutAndPaste a namespace.
3044 * text3.C (dispatch): adjust
3046 * text.C (breakParagraph): add a ParagraphList as arg
3048 * paragraph_funcs.C (breakParagraph): change to take a
3049 BufferParams and a ParagraphList as args.
3050 (breakParagraphConservative): ditto
3051 (mergeParagraph): ditto
3052 (TeXDeeper): add a ParagraphList arg
3053 (TeXEnvironment): ditto
3056 * buffer.C (readLyXformat2): adjust
3057 (insertStringAsLines): adjust
3058 (latexParagraphs): adjust
3060 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3061 (cutSelection): adjust
3062 (pasteSelection): adjust
3064 * BufferView_pimpl.C (insertInset): adjust
3066 2003-03-05 Angus Leeming <leeming@lyx.org>
3069 * LyXAction.C (init):
3070 * BufferView_pimpl.C (dispatch):
3071 * lyxfunc.C (getStatus):
3072 remove LFUN_CHILD_INSERT.
3074 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3076 2003-03-05 Angus Leeming <leeming@lyx.org>
3079 * LyXAction.C (init):
3080 * src/factory.C (createInset):
3081 * lyxfunc.C (getStatus):
3082 * text3.C (dispatch):
3083 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3085 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3087 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * ParagraphList.C (insert): handle insert right before end()
3090 (erase): fix cases where it can be first or last paragraph.
3092 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3095 Paragraph::next and Paragraph::previous
3098 * text.C (breakParagraph): adjust
3100 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3101 BufferParams& as arg.
3102 (breakParagraph): use ParagraphList::insert
3103 (breakParagraphConservative): take a Buffer* instead of a
3104 BufferParams& as arg.
3105 (breakParagraphConservative): use ParagraphList::insert.
3107 * buffer.C (insertStringAsLines): un-const it
3108 (insertStringAsLines): adjust
3110 * ParagraphList.C (insert): new function
3112 * CutAndPaste.C (pasteSelection): adjust
3114 * text.C (backspace): adjust
3116 * tabular.C (SetMultiColumn): adjust
3118 * CutAndPaste.C (cutSelection): adjust
3119 (pasteSelection): adjust
3121 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3122 Buffer const * as arg
3124 * ParagraphList.C (erase): new function
3125 * paragraph_funcs.C (mergeParagraph): use it
3126 (mergeParagraph): make it take a Buffer* instead of a
3127 BufferParams* as arg
3129 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3131 (breakParagraphConservative): ditto
3133 * paragraph.h: remove the breakParagraph friend
3135 * paragraph.C (eraseIntern): new function
3136 (setChange): new function
3138 * paragraph_funcs.C (mergeParagraph): make it take a
3139 ParagraphList::iterator instead of a Paragraph *, adjust
3142 * paragraph.h: move an #endif so that the change tracking stuff
3143 also works in the NO_NEXT case.
3145 2003-03-04 Angus Leeming <leeming@lyx.org>
3148 * LyXAction.C: new LFUN_INSET_MODIFY.
3150 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3151 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3153 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * several files: ws changes only
3157 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3158 (TeXEnvironment): ditto
3161 * buffer.C (makeLaTeXFile): adjust
3162 (latexParagraphs): make it take ParagraphList::iterator as args
3164 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * buffer.C (latexParagraphs): adjust
3168 * paragraph.C (TeXOnePar): move function...
3169 (optArgInset): move function...
3170 (TeXEnvironment): move function...
3171 * paragraph_pimpl.C (TeXDeeper): move function...
3172 * paragraph_funcs.C: ...here
3174 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3176 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * buffer.C (readInset): remove compability code for old Figure and
3181 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * buffer.C: ws changes
3186 * BufferView_pimpl.C: ditto
3189 * bufferlist.h: ditto
3193 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3195 * converter.[Ch]: split into itself +
3198 * Makefile.am: += graph.[Ch] + format.[Ch]
3205 * lyxrc.C: added #include "format.h"
3207 2003-02-27 Angus Leeming <leeming@lyx.org>
3209 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3212 * factory.C (createInset): add "label" to the factory.
3214 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3215 string and do no more.
3217 2003-02-27 Angus Leeming <leeming@lyx.org>
3220 * LyXAction.C (init):
3221 * factory.C (createInset):
3222 * BufferView_pimpl.C (dispatch):
3223 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3225 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3227 * lyxfunc.C (dispatch):
3228 * text3.C (dispatch): pass name to params2string.
3230 2003-02-26 Angus Leeming <leeming@lyx.org>
3232 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3234 Rearrange the ~includes. Strip out the unnecessary ones.
3236 * factory.C (createInset): reformat.
3237 create new insets for the various LFUN_XYZ_APPLY lfuns.
3239 2003-02-26 John Levon <levon@movementarian.org>
3242 * lyxrow.C: add isParStart,isParEnd helpers
3244 * paragraph.h: make isInserted/DeletedText take refs
3246 * paragraph_funcs.h:
3247 * paragraph_funcs.C: remove #if 0'd code
3252 * text.C: use lyxrow helpers above.
3253 Move draw and paint routines to RowPainter.
3254 Make several methods use refs not pointers.
3255 Make backgroundColor() const.
3256 Add markChangeInDraw(), isInInset().
3257 Merge changeRegionCase into changeCase.
3258 Make workWidth() shouldn't-happen code into an Assert.
3261 * rowpainter.C: new class for painting a row.
3264 * vspace.C: make inPixels take a ref
3266 2003-02-26 Angus Leeming <leeming@lyx.org>
3268 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3271 2003-02-25 John Levon <levon@movementarian.org>
3273 * ispell.C: give the forked command a more accurate name
3275 2003-02-22 John Levon <levon@movementarian.org>
3278 * toc.C: make TocItem store an id not a Paragraph *
3281 2003-02-21 Angus Leeming <leeming@lyx.org>
3283 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3284 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3285 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3286 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3287 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3288 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3290 * BufferView_pimpl.C (dispatch):
3291 * LyXAction.C (init):
3292 * factory.C (createInset):
3293 * lyxfunc.C (getStatus, dispatch):
3294 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3296 2003-02-21 Angus Leeming <leeming@lyx.org>
3298 * BufferView_pimpl.C (MenuInsertLyXFile):
3299 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3300 * lyxfunc.C (menuNew, open, doImport):
3301 no longer pass a LyXView & to fileDlg.
3303 2003-02-21 Angus Leeming <leeming@lyx.org>
3305 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3306 * LyXAction.C: change, BIBKEY to BIBITEM.
3307 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3308 Change InsetBibKey to InsetBibitem.
3309 Change BIBKEY_CODE to BIBITEM_CODE.
3310 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3311 * factory.C: replace insetbib.h with insetbibitem.h.
3312 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3313 * paragraph.C: replace insetbib.h with insetbibitem.h.
3314 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3315 Change bibkey() to bibitem().
3316 * text.C: remove insetbib.h.
3317 * text2.C: replace insetbib.h with insetbibitem.h.
3318 change bibkey() to bibitem().
3319 * text3.C: remove insetbib.h.
3320 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3322 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3324 * lyxrc.C (output): enclose user email in quotes (in case there are
3327 2003-02-18 John Levon <levon@movementarian.org>
3329 * buffer.h: add std::
3331 2003-02-17 John Levon <levon@movementarian.org>
3337 * pspell.C: reworking. Especially in ispell, a large
3338 number of clean ups and bug fixes.
3340 * lyxfunc.C: fix revert to behave sensibly
3342 2003-02-17 André Pönitz <poenitz@gmx.net>
3345 * commandtags.h: new LFUN_INSERT_BIBKEY
3355 * paragraph_func.C: remove special bibkey handling
3357 2003-02-17 John Levon <levon@movementarian.org>
3359 * text.C (Delete): fix case where delete at the end of
3360 the very first paragraph would not merge the pars
3362 2003-02-17 John Levon <levon@movementarian.org>
3364 * lyxrow.C: fix lastPrintablePos()
3366 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3368 * bufferparams.C (writeLaTeX): add a std:here
3370 * buffer.C: and remove a using directive there
3372 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3374 * buffer.C (makeLaTeXFile): move the code that generates the
3377 * bufferparams.C (writeLaTeX): ... in this new method
3379 * LaTeXFeatures.C (getEncodingSet): make const
3380 (getLanguages): make const
3382 * MenuBackend.C (binding): returns the binding associated to this
3384 (add): sets the status of each item by calling getStatus. Adds
3386 (read): add support for OptSubMenu
3387 (expand): remove extra separator at the end of expanded menu
3389 2003-02-15 John Levon <levon@movementarian.org>
3392 * BufferView_pimpl.C:
3394 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3395 inset code that had no actual effect. Remove unneeded status
3398 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3400 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3403 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3405 * text.C (drawLengthMarker): also draw an arrow marker for
3406 symbolic lengths (medskip...)
3408 2003-02-14 John Levon <levon@movementarian.org>
3411 * tabular.C: better method names
3413 2003-02-14 John Levon <levon@movementarian.org>
3415 * BufferView_pimpl.C:
3420 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3421 it's a more accurate name. Remove some pointless uses.
3423 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3425 * text2.C (LyXText): change order of initilizers to shut off
3428 2003-02-14 John Levon <levon@movementarian.org>
3430 * buffer.C: use ParIterator for getParFromID()
3434 * paragraph_pimpl.h:
3435 * paragraph_pimpl.C: remove unused getParFromID()
3437 2003-02-14 John Levon <levon@movementarian.org>
3439 * buffer.C: remove some very old #if 0'd parse code
3441 2003-02-13 John Levon <levon@movementarian.org>
3445 * text2.C: move hfillExpansion(), numberOfSeparators(),
3446 rowLast(), rowLastPrintable(), numberofHfills(),
3447 numberOfLabelHfills() ...
3450 * lyxrow.C: ... to member functions here.
3455 * text.C: remove LyXText::beginningOfMainBody(), and call
3456 p->beginningOfMainBody() directly. Move the check for
3457 LABEL_MANUAL into the latter.
3464 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3470 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3471 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3473 2003-02-13 John Levon <levon@movementarian.org>
3475 * CutAndPaste.C: remove debug
3477 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3479 * paragraph.C (asString): remove two unused variables
3481 * lyxtextclass.C (readTitleType):
3483 (LyXTextClass): handle new members titletype_ and titlename_
3485 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3487 2003-02-09 John Levon <levon@movementarian.org>
3490 * buffer.C: replace hand-coded list with a map for the dep clean
3492 2003-02-08 John Levon <levon@movementarian.org>
3494 * LaTeX.C: consolidate code into showRunMessage() helper
3496 2003-02-08 John Levon <levon@movementarian.org>
3501 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3502 and pass the size in explicitly
3504 * BufferView_pimpl.h:
3505 * BufferView_pimpl.C:
3507 * BufferView.C: add getCurrentChange()
3509 * BufferView_pimpl.h:
3510 * BufferView_pimpl.C: handle change lfuns
3512 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3513 for changes. Mark pasted paragraphs as new.
3515 * support/lyxtime.h:
3516 * support/lyxtime.C:
3517 * DepTable.C: abstract time_t as lyx::time_type
3520 * LColor.C: add colours for new text, deleted text, changebars
3522 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3523 package use "usenames" option.
3527 * LyXAction.C: add change lfuns
3531 * author.C: author handling
3534 * buffer.C: add a per-buffer author list, with first entry as
3535 current author. Handle new .lyx tokens for change tracking. Output
3536 author list to .lyx file. Output dvipost stuff to .tex preamble.
3537 Bump lyx format to 222.
3540 * bufferlist.C: add setCurrentAuthor() to reset current author details
3544 * bufferparams.C: add param for tracking
3546 * bufferview_funcs.C: output change info in minibuffer
3550 * changes.C: add change-tracking structure
3553 * debug.C: add CHANGES debug flag
3556 * lyxfind.C: add code for finding the next change piece
3559 * lyxrc.C: add user_name and user_email
3562 * lyxrow.C: add a metric for the top of the text line
3565 * text.C: implement accept/rejectChange()
3568 * text.C: paint changebars. Paint new/deleted text in the chosen
3569 colours. Strike through deleted text.
3573 * paragraph_pimpl.h:
3574 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3575 in the current change to the insert functions. Rework erase to
3576 mark text as deleted, adding an eraseIntern() and a range-based
3577 erase(). Implement per-paragraph change lookup and
3580 * paragraph_funcs.C: Fixup paste for change tracking.
3582 * tabular.C: mark added row/columns as new.
3584 * text.C: fix rowLast() to never return -1. Don't allow
3585 spellchecking of deleted text. Track transpose changes. Don't
3586 allow paragraph break or merge where appropriate.
3588 * text2.C: leave cursor at end of selection after a cut.
3590 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3592 * text.C (getLengthMarkerHeight):
3593 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3594 visible on screen too.
3596 2003-02-07 John Levon <levon@movementarian.org>
3598 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3600 2003-02-05 Angus Leeming <leeming@lyx.org>
3602 * lyxserver.C (read_ready): revert my patch of 11 September last year
3603 as it sends PC cpu through the roof. Presumably this means that
3604 the lyxserver will no longer run on an Alpha...
3606 2003-01-30 Angus Leeming <leeming@lyx.org>
3608 * factory.C (createInset): create an InsetCommandParam of type "index"
3609 and use it to 'do the right thing'.
3611 * text2.C (getStringToIndex): ensure that cursor position is always
3612 reset to the reset_cursor position.
3614 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3616 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3619 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3623 * lyxfunc.C: Output messages with identical spelling, punctuation,
3626 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3628 * MenuBackend.C (expandFormats): List only viewable export formats
3631 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3634 * lyxfunc.C (getStatus): Make sure that formats other than
3635 "fax" can also be disabled
3637 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3639 * text3.C (dispatch): put the lfuns that insert insets in 3
3640 groups, and call doInsertInset with appropriate arguments.
3641 (doInsertInset): new function, that creates an inset and inserts
3642 it according to some boolean parameters.
3644 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3646 * buffer.C (readFile): remember to pass on 'par' when calling
3647 readFile recursively.
3649 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3651 * MenuBackend.C (expandFormats): add "..." to import formats.
3653 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3655 * paragraph.C (asString): Remove XForms RTL hacks.
3657 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3658 * buffer.C: fix typo
3660 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * Makefile.am (LIBS): delete var
3663 (lyx_LDADD): add @LIBS@ here instead.
3665 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3667 * Clarify the meaning of "wheel mouse jump"
3669 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3671 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3674 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3676 * importer.C (Loaders): do not preallocate 3 elements in the
3677 vector, since one ends up with 6 elements otherwise
3679 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3681 * DepTable.C (write): write the file name as last element of the
3682 .dep file (because it may contain spaces)
3683 (read): read info in the right order
3685 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3687 * paragraph_pimpl.C (simpleTeXBlanks):
3688 (simpleTeXSpecialChars):
3689 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3691 * tabular.C (latex): add some missing case statements. Reindent.
3693 * MenuBackend.C (expandToc): remove unused variable.
3695 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3704 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3707 2003-01-05 John Levon <levon@movementarian.org>
3710 * BufferView.C: add getEncoding()
3713 * kbsequence.C: do not store last keypress
3716 * lyxfunc.C: store last keypress here instead. Pass encoding
3719 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3721 * lyx_main.C (init): remove annoying error message when following
3722 symbolic links (bug #780)
3724 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3726 * text.C (insertChar):
3727 * lyxrc.C (getDescription): remove extra spaces
3729 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3731 * lyxrc.C (getDescription): remove extra spaces
3733 2002-12-20 John Levon <levon@movementarian.org>
3735 * text3.C: hack fix for page up/down across tall rows
3737 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3739 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3742 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3744 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3745 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3746 thesaurus is not compiled in
3748 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3750 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3752 2002-12-16 Angus Leeming <leeming@lyx.org>
3755 * lyx_main.C (init): remove override_x_deadkeys stuff.
3757 2002-12-12 John Levon <levon@movementarian.org>
3759 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3760 insert. Only remove shift modifier under strict
3763 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * MenuBackend.C (expandToc): fix crash.
3767 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * MenuBackend.C (expandToc): gettext on float names.
3771 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3773 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3774 implement bool empty() [bug 490]
3776 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3780 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * several files: ws changes
3784 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3786 * text2.C (setCounter): clean up a bit, use boost.format.
3787 (updateCounters): initialize par upon declaration.
3789 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3790 if the layout exists. We do not just store the layout any more.
3791 (SwitchLayoutsBetweenClasses): use boost.format
3793 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3795 * converter.C (convert): if from and to files are the same, use a
3796 temporary files as intermediary
3798 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3801 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3803 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3805 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3807 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3809 * tabular.C (asciiPrintCell): use string(size, char) instead of
3812 * sgml.C (openTag): fix order of arguments to string constructor
3815 * lyxfunc.C (dispatch): use boost.format
3817 * lots of files: change "c" -> 'c'
3819 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3821 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3823 2002-11-25 Angus Leeming <leeming@lyx.org>
3825 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3827 * lyx_main.C (init): compile fix.
3829 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * lyx_cb.C (start): boost.formatify
3832 do not include <iostream>
3834 * lengthcommon.C: ws only
3836 * boost-inst.C,BoostFormat.h: add more explict instantations
3838 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * lots of files: handle USE_BOOST_FORMAT
3842 2002-11-21 John Levon <levon@movementarian.org>
3844 * pspell.C: fix compile
3846 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3848 * lyxfunc.C (dispatch): use boost::format
3852 * lyxfont.C (stateText): use boost::format
3854 * lyx_main.C (LyX): use boost::format
3856 (queryUserLyXDir): ditto
3859 (typedef boost::function): use the recommened syntax.
3861 * importer.C (Import): use boost::format
3863 * debug.C (showLevel): use boost::format
3865 * converter.C (view): use boost::format
3870 * bufferview_funcs.C (currentState): use boost::format
3872 * bufferlist.C (emergencyWrite): use boost::format
3874 * buffer.C (readLyXformat2): use boost::format
3875 (parseSingleLyXformat2Token): ditto
3877 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3879 * LaTeX.C (run): use boost::format
3881 * Chktex.C (scanLogFile): use boost::format
3883 * BufferView_pimpl.C (savePosition): use boost::format
3884 (restorePosition): ditto
3885 (MenuInsertLyXFile): ditto
3887 * BoostFormat.h: help file for explicit instation.
3889 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3891 * tabular.C (latex): Support for block alignment in fixed width
3894 2002-11-17 John Levon <levon@movementarian.org>
3896 * BufferView_pimpl.C:
3898 * lyxfunc.C: split filedialog into open/save
3900 2002-11-08 Juergen Vigna <jug@sad.it>
3902 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3903 by my last patch (hopefully).
3905 2002-11-08 John Levon <levon@movementarian.org>
3914 * toc.C: ParConstIterator, and use it (from Lars)
3916 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3918 * lyxtextclass.[Ch]: revise and add doxygen comments
3920 2002-11-07 John Levon <levon@movementarian.org>
3922 * text.C: fix progress value for spellchecker
3924 * toc.C: fix navigate menu for insetwrap inside minipage
3926 * paragraph_funcs.C: added FIXME for suspect code
3928 2002-11-07 John Levon <levon@movementarian.org>
3930 * BufferView_pimpl.C: fix redrawing of insets
3933 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3935 * text2.C (updateCounters): fix bug 668
3937 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3939 * text3.C (dispatch): Do not make the buffer dirty when moving the
3942 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * vc-backend.C: STRCONV
3947 * text2.C (setCounter): STRCONV
3949 * paragraph.C (asString): STRCONV
3951 * lyxlength.C (asString): STRCONV
3952 (asLatexString): ditto
3954 * lyxgluelength.C (asString): STRCONV
3955 (asLatexString): ditto
3957 * lyxfunc.C (dispatch): STRCONV
3960 * lyxfont.C (stateText): STRCONV
3962 * importer.C (Import): STRCONV
3964 * counters.C (labelItem): STRCONV
3965 (numberLabel): ditto
3966 (numberLabel): remove unused ostringstream o
3971 * bufferview_funcs.C (currentState): STRCONV
3973 * buffer.C (readFile): STRCONV
3974 (asciiParagraph): ditto
3975 (makeLaTeXFile): ditto
3977 * Spacing.C (writeEnvirBegin): STRCONV
3979 * LaTeXFeatures.C (getLanguages): STRCONV
3980 (getPackages): ditto
3982 (getBabelOptions): ditto
3983 (getTClassPreamble): ditto
3984 (getLyXSGMLEntities): ditto
3985 (getIncludedFiles): ditto
3989 (scanAuxFile): ditto
3992 * LString.h: add the STRCONV macros
3994 * BufferView_pimpl.C (savePosition): STRCONV
3995 (restorePosition): ditto
3996 (MenuInsertLyXFile): ditto
3998 * vc-backend.C (scanMaster): change from submatch[...] to
4001 * funcrequest.C: include config.h
4003 * factory.C: include config.h
4005 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4007 * box.C: include config.h
4009 * LaTeX.C (scanAuxFile): change from submatch[...] to
4013 2002-10-25 Angus Leeming <leeming@lyx.org>
4015 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4017 * ispell.[Ch] (setError): new method.
4018 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4019 Use setError() insetead of goto END.
4021 * lyx_cb.C (AutoSave): move out child process into new class
4024 2002-10-30 John Levon <levon@movementarian.org>
4026 * text3.C: make start appendix undoable
4028 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4030 * lyxlength.C (inPixels): Fix returned value.
4032 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4035 2002-10-24 Angus Leeming <leeming@lyx.org>
4037 * lyxgluelength.h: no need to forward declare BufferParams
4038 or BufferView, so don't.
4040 2002-10-21 John Levon <levon@movementarian.org>
4042 * BufferView.C: menuUndo ->undo, redo
4044 * BufferView.h: document, remove dead, make some methods private
4046 * paragraph_funcs.h:
4047 * paragraph_funcs.C:
4048 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4053 * sgml.C: move sgml open/close tag into sgml.C
4055 * bufferview_funcs.h: unused prototype
4058 * lyxfunc.C: remove unused
4061 * text.C: remove unused
4063 2002-10-21 John Levon <levon@movementarian.org>
4067 * BufferView_pimpl.h:
4068 * BufferView_pimpl.C: fix mouse wheel handling based on
4069 patch from Darren Freeman
4071 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4073 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4075 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4077 * lyxlength.C (inPixels): Fix hanfling of negative length.
4078 Fix LyXLength::MU case.
4080 2002-10-16 John Levon <levon@movementarian.org>
4082 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4084 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4086 * converter.C (view): add support for $$i (file name) and $$p
4087 (file path) for the viewer command. If $$i is not specified, then
4088 it is appended to the command (for compatibility with old syntax)
4090 2002-10-14 Juergen Vigna <jug@sad.it>
4092 * undo_funcs.C (textHandleUndo): alter the order in which the
4093 new undopar is added to the LyXText, as we have to set first
4094 the right prev/next and then add it as otherwise the rebuild of
4095 LyXText is not correct. Also reset the cursor to the right paragraph,
4096 with this IMO we could remove the hack in "redoParagraphs()".
4098 2002-10-09 Angus Leeming <leeming@lyx.org>
4100 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4101 to turn off an optimisation if a new inset is to be inserted.
4103 2002-10-11 André Pönitz <poenitz@gmx.net>
4105 * lyxtext.h: make some functions public to allow access
4106 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4108 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4110 * text3.C (dispatch): when changing layout, avoid an infinite loop
4113 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4115 * lyxrc.C (read): treat a viewer or converter command of "none" as
4118 * MenuBackend.C (expandFormats): for an update, also allow the
4119 formats that are not viewable
4121 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4122 script if it is newer than the lyxrc.defaults in user directory
4124 2002-10-07 André Pönitz <poenitz@gmx.net>
4126 * text.C: Vitaly Lipatov's small i18n fix
4128 2002-09-25 Angus Leeming <leeming@lyx.org>
4130 * ispell.h: doxygen fix.
4132 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4134 * buffer.h (readFile): Add a new argument to the method, to allow
4135 reading of old-format templates.
4137 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4139 * toc.C (getTocList): Get TOC from InsetWrap.
4141 2002-09-16 John Levon <levon@movementarian.org>
4143 * lyxfunc.C: check tabular for cut/copy too
4145 2002-09-12 John Levon <levon@movementarian.org>
4150 * factory.C: add header
4152 * paragraph_funcs.h:
4153 * paragraph_funcs.C: cleanup
4155 2002-09-11 John Levon <levon@movementarian.org>
4157 * PrinterParams.h: odd/even default to true
4159 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4161 * PrinterParams.h: update printer parameters for new xforms dialog
4163 2002-09-11 Angus Leeming <leeming@lyx.org>
4165 * lyxserver.C (read_ready): re-write to make it more transparent
4166 and to make it work in coherent fashion under Tru64 Unix.
4168 2002-09-11 André Pönitz <poenitz@gmx.net>
4172 * text3.C: implement LFUN_WORDSEL
4174 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4176 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4177 make floatlist_ a boost::shared_ptr<FloatList>
4179 * lyxtextclass.C: include FloatList.h
4180 (LyXTextClass): initialize floatlist_
4181 (TextClassTags): add TC_NOFLOAT
4182 (Read): match "nofloat" to TC_NOFLOAT and use it.
4183 (readFloat): modify call to floatlist_
4187 * FloatList.[Ch] (FloatList): remove commented out float
4189 (erase): new function
4191 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4193 * MenuBackend.C (expandToc): fix crash when there is no document
4196 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4198 * many files: Add insetwrap.
4200 2002-09-09 John Levon <levon@movementarian.org>
4202 * text2.C: remove confusing and awkward depth wraparound
4204 2002-09-09 John Levon <levon@movementarian.org>
4206 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4209 * buffer.C: remove getIncludeonlyList()
4212 * lyxfunc.C: remove headers
4214 2002-09-09 Juergen Vigna <jug@sad.it>
4216 * text.C (getColumnNearX): fix form Michael this is most
4217 probably a cut&paste bug.
4219 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4223 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4224 references, ws changes.
4226 * text2.C (init): update counters after init
4227 (insertParagraph): no need to set counter on idividual paragraphs.
4228 (setCounter): access the counters object in the textclass object
4229 on in the buffer object.
4230 (updateCounters): ditto
4232 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4233 shared_ptr<Counters> to avoid loading counters.h in all
4235 (LyXTextClass): initialize ctrs_
4236 (TextClassTags): add TC_COUNTER, and ...
4237 (Read): use it here.
4238 (CounterTags): new tags
4239 (readCounter): new function
4240 (counters): new funtion
4241 (defaultLayoutName): return a const reference
4243 * counters.C (Counters): remove contructor
4244 (newCounter): remove a couple of unneeded statements.
4245 (newCounter): simplify a bit.
4246 (numberLabel): some small formatting changes.
4248 * buffer.[Ch]: remove all traces of counters, move the Counters
4249 object to the LyXTextClass.
4251 2002-09-06 Alain Castera <castera@in2p3.fr>
4253 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4254 package to set the horizontal alignment on fixed width columns.
4257 * lyx_sty.h: added tabularnewline macro def.
4259 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4261 2002-09-06 John Levon <levon@movementarian.org>
4263 * LyXAction.C: tooltips for sub/superscript
4265 * MenuBackend.C: a bit more verbose
4267 * lyxfunc.C: tiny clean
4269 * undo_funcs.C: document undo_frozen
4271 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * counters.C (Counters): add missing algorithm counter.
4275 * text2.C (setCounter): lookup the counter with layouts latexname
4276 instead of by section number.
4277 (setCounter): use a hackish way to lookup the correct enum
4279 a float name->type change
4280 reset enum couners with counter name directly instead of depth value.
4282 * counters.C (Counters): remove the push_backs, change to use the
4283 float type not the float name.
4284 (labelItem): remove unused string, float name->type change
4286 * counters.h: don't include vector, loose the enums and sects vectors
4288 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4291 (Read): add float->TC_FLOAT to textclassTags
4292 (Read): and handle it in the switch
4293 (readFloat): new function
4295 * FloatList.C (FloatList): comment out the hardcoded float
4298 * lyxlayout.h: ws change.
4300 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4302 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4304 2002-09-03 Angus Leeming <leeming@lyx.org>
4306 * BufferView_pimpl.h: qualified name is not allowed in member
4307 declaration: WorkArea & Pimpl::workarea() const;
4309 * factory.C: added using std::endl directive.
4311 * text3.C: added using std::find and std::vector directives.
4313 2002-08-29 André Pönitz <poenitz@gmx.net>
4316 * text2.C: remove unused member number_of_rows
4319 * BufferView2.C: remove file, move contents to...
4320 * BufferView.C: ... here
4322 * BufferView_pimpl.C:
4323 * factory.C: move more inset creation to factory
4325 * vspace.C: avoid direct usage of LyXText, ws changes
4328 don't provide direct access to WorkArea, use two simple
4329 acessors haveSelction() and workHeight() instead
4332 2002-08-29 John Levon <levon@movementarian.org>
4334 * BufferView_pimpl.C (dispatch): do not continue when
4337 2002-08-28 André Pönitz <poenitz@gmx.net>
4339 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4342 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4344 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4346 * buffer.C: increment LYX_FORMAT to 221
4348 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4349 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4351 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4353 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4355 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4357 * factory.C (createInset): use LyXTextClass::floats
4359 * MenuBackend.C (expandFloatListInsert):
4360 (expandFloatInsert):
4363 * text2.C (setCounter):
4365 * LaTeXFeatures.C (useFloat):
4366 (getFloatDefinitions):
4368 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4370 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4371 floatlist_, with accessor floats().
4373 * FloatList.h: remove global FloatList
4375 2002-08-26 André Pönitz <poenitz@gmx.net>
4377 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4381 * BufferView_pimpl.C:
4382 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4384 2002-08-25 John Levon <levon@movementarian.org>
4386 * LyXAction.C: fix margin note description
4388 2002-08-24 John Levon <levon@movementarian.org>
4392 * bufferview_funcs.C:
4394 * undo_funcs.C: cleanups
4396 * lyxfunc.C: disable CUT/COPY when no selection
4398 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4400 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4401 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4403 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4404 Add backward compatibility to "mono", "gray" and "no".
4406 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4408 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4409 (and file_format >= 200).
4411 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4413 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4415 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4417 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4419 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4421 * BufferView_pimpl.C:
4428 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4429 inset and code to make it work with the paragraph code. The inset
4430 can be anywhere in the paragraph, but will only do the expected
4431 thing in LaTeX if the layout file contains the parameter line
4433 (or more generally, a nonzero value) for that layout.
4435 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * paragraph.h: remove the declaration of undefined counters class
4440 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4442 * text2.C (setCounter): fixed enumeration mis-count as reported by
4443 Dr. Richard Hawkins.
4445 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4447 * paragraph_funcs.h: remove some unneeded includes
4449 * text.C (backspace): pasteParagraph now in global scipe
4451 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4452 (pasteSelection): ditto
4454 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4455 * paragraph_funcs.C (pasteParagraph): ... here
4457 2002-08-20 André Pönitz <poenitz@gmx.net>
4459 * commandtags.h: new LFUNs for swapping/copying table row/colums
4462 * lyxfunc.C: support for new lfuns
4464 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * buffer.[Ch]: remove NO_COMPABILITY stuff
4469 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * boost.C (throw_exception): new file, with helper function for
4472 boost compiled without exceptions.
4477 * ParameterStruct.h:
4478 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4480 * bufferlist.C (emergencyWriteAll): use boost bind
4482 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4484 * text.C: include paragraph_funcs.h
4485 (breakParagraph): breakParagraph is now in global scope
4487 * paragraph_funcs.[Ch]: new files
4489 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4492 * buffer.C: include paragraph_funcs.h
4493 (insertStringAsLines): breakParagraph is now in global scope
4495 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4498 * CutAndPaste.C: include paragraph_funcs.h
4499 (cutSelection): breakParagraphConservative is now in global scope
4500 (pasteSelection): ditto
4502 * buffer.h: declare oprator== and operator!= for
4503 Buffer::inset_iterator
4505 * bufferlist.C (emergencyWrite): don't use fmt(...)
4507 * text3.C: add using std::endl
4509 * BufferView.C (moveCursorUpdate): remove default arg
4511 2002-08-20 André Pönitz <poenitz@gmx.net>
4513 * buffer.[Ch]: move inline functions to .C
4516 * BufferView_pimpl.C:
4518 * buffer.[Ch]: use improved inset_iterator
4521 * paragraph.[Ch]: write one paragraph at a time
4523 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4525 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4526 style if style is not specified.
4528 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4530 * text2.C (setCounter): when searching for right label for a
4531 caption, make sure to recurse to parent insets (so that a caption
4532 in a minipage in a figure float works) (bug #568)
4534 2002-08-20 André Pönitz <poenitz@gmx.net>
4536 * text3.C: new file for LyXText::dispatch() and helpers
4538 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4540 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4542 2002-08-19 André Pönitz <poenitz@gmx.net>
4545 * text.C: new LyXText::dispatch()
4547 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4549 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4551 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4553 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4556 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4558 * Makefile.am: use $(variables) instead of @substitutions@
4560 2002-08-15 André Pönitz <poenitz@gmx.net>
4563 * BufferView_pimpl.C: streamlining mathed <-> outer world
4567 * LyXAction.C: remove unused LFUN_MATH
4569 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4573 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * paragraph.C (Paragraph): reformat a bit
4576 (cutIntoMinibuffer): use builtin InsetList function instad of
4580 * buffer.C: include boost/bind.hpp, add using std::for_each
4581 (writeFileAscii): use ParagraphList iterators
4582 (validate): use for_each for validate traversal of paragraphs
4583 (getBibkeyList): use ParagraphList iterators
4584 (resizeInsets): use for_each to resizeInsetsLyXText for all
4586 (getParFromID): use ParagraphList iterators
4588 * BufferView2.C (lockInset): use paragraph list and iterators
4590 2002-08-14 John Levon <levon@movementarian.org>
4592 * lyxserver.C: remove spurious xforms include
4594 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4596 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4598 2002-08-13 André Pönitz <poenitz@gmx.net>
4601 * lyxfunc.C: further cleaning
4603 2002-08-13 André Pönitz <poenitz@gmx.net>
4605 * funcrequest.h: new constructor
4607 * funcrequest.C: move stuff here from .h
4610 * BufferView_pimpl.C:
4613 * lyxfunc.C: subsequent changes
4615 * lyxfunc.h: new view() member function
4617 * lyxfunc.C: subsequent changes
4619 2002-08-13 Angus Leeming <leeming@lyx.org>
4622 * BufferView_pimpl.C:
4630 changes due to the changed LyXView interface that now returns references
4631 to member variables not pointers.
4633 2002-08-13 Angus Leeming <leeming@lyx.org>
4635 * WordLangTuple (word, lang_code): return references to strings,
4640 * lyxtext.h: forward-declare WordLangTuple.
4645 * text.C: #include "WordLangTuple.h".
4648 * text.C: (selectNextWordToSpellcheck): constify return type.
4650 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4656 * paragraph_pimpl.h:
4659 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4661 Made updateCounter always count from start of buffer, and removed
4662 second argument (par).
4663 Reverted floats number display to '#'. Perhaps I'll try again when the
4664 code base is sanitized a bit.
4666 2002-08-12 Angus Leeming <leeming@lyx.org>
4668 * buffer.[Ch] (getLabelList): constify.
4670 2002-08-07 André Pönitz <poenitz@gmx.net>
4672 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4674 * funcrequest.h: extension to keep mouse (x,y) position
4676 2002-08-12 Juergen Vigna <jug@sad.it>
4678 * BufferView2.C (insertErrors): forbid undo when inserting error
4681 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4683 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * ParagraphList.[Ch]: new files
4687 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4689 * BufferView2.C (lockInset): ParagraphList changes
4692 * bufferlist.C: ditto
4696 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4699 unused class variable counter_,
4701 * paragraph.[Ch] (getFirstCounter): delete unused function
4703 * counters.C: include LAssert.h
4704 (reset): add a new function with no arg, change other version to
4705 not have def. arg and to not allow empty arg.
4707 * text2.C (setCounter): remove empty arg from call to Counters::reset
4709 2002-08-11 John Levon <levon@movementarian.org>
4711 * Makefile.am: add WordLangTuple.h
4713 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4716 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4718 * insets/insettext.C: InsetList changes
4720 * graphics/GraphicsSupport.C (operator()): InsetList changes
4722 * toc.C (getTocList): InsetList changes
4724 * paragraph_pimpl.[Ch]: InsetList changes
4726 * paragraph.[Ch]: InsetList changes
4728 * buffer.C (inset_iterator): InsetList changes
4729 (setParagraph): ditto
4730 * buffer.h (inset_iterator): ditto
4731 * iterators.C (operator++): ditto
4732 * iterators.h: ditto
4734 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4736 * InsetList.[Ch]: new files, most InsetList handling moved out of
4739 * BufferView2.C (removeAutoInsets): InsetList changes
4741 (ChangeInsets): ditto
4743 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * paragraph_pimpl.h (empty): new function
4747 * paragraph.[Ch] (empty): new function
4749 * other files: use the new Paragraph::empty function
4751 2002-08-09 John Levon <levon@movementarian.org>
4753 * lyxtext.h: remove unused refresh_height
4755 2002-08-09 John Levon <levon@movementarian.org>
4762 * paragraph.C: move sgml char escaping out of paragraph
4765 * paragraph.C: remove id setter
4769 * paragraph_pimpl.C: remove dead tex_code_break_column
4771 * bufferview_funcs.C: small cleanup
4773 * lyxfunc.C: remove dead proto
4775 * lyxtext.h: make some stuff private. Remove some dead stuff.
4777 * lyxgluelength.C: make as[LyX]String() readable
4779 2002-08-08 John Levon <levon@movementarian.org>
4784 * ToolbarDefaults.C:
4787 * toc.C: lyxaction cleanup
4789 2002-08-08 John Levon <levon@movementarian.org>
4791 * BufferView2.C: small cleanup
4794 * lyxfind.C: move unnecessary header into the .C
4796 2002-08-08 John Levon <levon@movementarian.org>
4798 * funcrequest.h: just tedious nonsense
4801 * lyx_main.C: cleanups
4804 * vspace.C: remove dead header lyx_main.h
4806 2002-08-07 Angus Leeming <leeming@lyx.org>
4809 * paragraph_pimpl.h:
4810 Forward declare class Counters in paragraph.h by moving the ctrs member
4811 variable into Paragraph::Pimpl.
4812 (counters): new method, returning a reference to pimpl_->ctrs.
4814 * text2.C: ensuing changes.
4816 2002-08-07 John Levon <levon@movementarian.org>
4818 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4820 * BufferView_pimpl.C: announce X selection on double/triple
4823 * lyx_main.C: use correct bool in batch dispatch
4825 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4827 2002-08-07 André Pönitz <poenitz@gmx.net>
4829 * funcrequest.h: new class to wrap a kb_action and its argument
4832 * BufferView_pimpl[Ch]:
4836 * lyxrc.C: subsequent changes
4839 2002-08-07 John Levon <levon@movementarian.org>
4841 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4842 document options change.
4844 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4849 * makefile.am: move counters functionality over from
4850 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4852 2002-08-06 John Levon <levon@movementarian.org>
4854 * WordLangTuple.h: new file for word + language code tuple
4865 * BufferView2.C: use WordLangTuple
4868 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4870 2002-08-06 John Levon <levon@movementarian.org>
4872 * lyx_main.C: fix cmdline batch handling
4874 2002-08-06 André Pönitz <poenitz@gmx.net>
4876 * lyxrc.C: set default for show_banner to true
4878 2002-08-06 John Levon <levon@movementarian.org>
4880 * pspell.C: fix a crash, and allow new aspell to work
4882 2002-08-06 John Levon <levon@movementarian.org>
4885 * kbmap.C: small cleanup
4888 * vspace.C: add const
4890 2002-08-05 John Levon <levon@movementarian.org>
4892 * LyXAction.C: back to tabular-insert
4894 2002-08-04 John Levon <levon@movementarian.org>
4897 * BufferView.C: cosmetic change
4899 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4909 * BufferView2.C: purge all "Lyx" not "LyX" strings
4912 * lyxcursor.C: attempt to add some documentation
4917 * ToolbarDefaults.C:
4918 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4919 merge with LFUN_TABULAR_INSERT
4926 * pspell.C: split up i/pspell implementations into separate
4927 files, many cleanups
4929 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4931 * text2.C: some cleanup
4933 * lyxfunc.C: don't check for isp_command == "none" any more, it
4934 didn't make any sense
4936 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4941 * makefile.am: move counters functionality over
4942 from text2.C/paragraph.[Ch] to counters.[Ch], and
4944 2002-08-02 John Levon <levon@movementarian.org>
4946 * buffer.C: s/lyxconvert/lyx2lyx/
4948 2002-08-02 Angus Leeming <leeming@lyx.org>
4950 * lyxlex.C: revert John's change as it breaks reading of the user
4953 2002-08-02 Angus Leeming <leeming@lyx.org>
4955 * importer.C (Import):
4956 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4957 changes due to LyXView::view() now returning a boost::shared_ptr.
4959 2002-08-02 John Levon <levon@movementarian.org>
4961 * lyxlex.C: small cleanup
4963 2002-08-02 John Levon <levon@movementarian.org>
4965 * text2.C (status): small cleanup, no logic change
4967 2002-08-01 John Levon <levon@movementarian.org>
4970 * buffer.C (writeFile): don't output alerts, caller
4974 * lyx_cb.C: from above
4976 * lyxfunc.C: allow to open non-existent files
4978 2002-07-31 John Levon <levon@movementarian.org>
4980 * lyxserver.C: don't let incidental errors get
4983 2002-07-30 John Levon <levon@movementarian.org>
4985 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4987 2002-07-30 John Levon <levon@movementarian.org>
4990 * lyxserver.C: remove I/O callback too
4992 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4994 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4997 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * many files: strip,frontStrip -> trim,ltrim,rtrim
5001 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * PrinterParams.h: remove extern containsOnly, and include
5004 support/lstrings.h instead.
5006 * LaTeX.C (scanAuxFile): modify because of strip changes
5008 * buffer.C (makeLaTeXFile): ditto
5009 * bufferparams.C (writeFile): ditt
5010 * lyxfont.C (stateText): ditto
5011 * lyxserver.C (read_ready): ditto
5012 * vc-backend.C (scanMaster): ditto
5014 * BufferView_pimpl.h: ws changes
5016 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5018 2002-07-26 André Pönitz <poenitz@gmx.net>
5020 * kb_sequence.C: remove unnedred usings
5022 2002-07-26 Juergen Vigna <jug@sad.it>
5024 * lyxfind.C (LyXReplace): we have to check better if the returned
5025 text is not of theLockingInset()->getLockingInset().
5027 2002-07-25 Juergen Vigna <jug@sad.it>
5029 * lyxfind.C (LyXReplace): don't replace if we don't get the
5032 * undo_funcs.C (createUndo): remove debugging code.
5034 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5036 * buffer.C (parseSingleLyXformat2Token): Use default placement
5037 when reading old floats.
5039 * FloatList.C (FloatList): Change the default placement of figure
5040 and tables to "tbp".
5042 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5044 * MenuBackend.C: using std::max
5046 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5048 * MenuBackend.C (expandToc):
5049 (expandToc2): code moved from xforms menu frontend. It is now
5050 generic and TOCs are transparent to menu frontends.
5052 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5054 * toc.C (getTocList): protect against buf=0
5056 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5057 Menu as first parameter. Now, this calls itself recursively to
5058 expand a whole tree (this will be useful for TOC handling)
5059 (expandFloatInsert): remove 'wide' version of floats
5061 * MenuBackend.h (submenuname): returns the name of the submenu.
5062 (submenu): returns the submenu itself, provided it has been
5063 created by MenuBackend::expand
5065 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5067 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5068 insets which have noFontChange == true. (bug #172)
5070 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5072 * BufferView_pimpl.C: add connection objects and use them...
5075 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5077 * MenuBackend.C (expandLastfiles):
5080 (expandFloatListInsert):
5081 (expandFloatInsert):
5082 (expand): split expand in parts
5084 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5086 * lyx_gui.C: use lyx_gui::exit()
5088 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5090 * LyXAction.C: show the failing pseudo action
5092 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5094 * buffer.C (readFile): Run the lyxconvert script in order to read
5097 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5101 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5103 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5107 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5109 2002-07-22 Herbert Voss <voss@lyx.org>
5112 * lyxlength.[Ch]: add support for the vertical lengths
5114 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5116 * toc.[Ch]: std:: fixes
5118 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5120 * lyxrc.C: do not include lyx_main.h
5122 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5128 * BufferView2.C: include "lyxlex.h"
5131 * bufferparams.h: do not #include "lyxlex.h"
5133 * lyxtextclasslist.C (Add): remove method
5134 (classlist): renamed to classlist_
5136 * paragraph_pimpl.C:
5140 * bufferview_funcs.C:
5145 * toc.C (getTocList): use BufferParams::getLyXTextClass
5147 * toc.C (getTocList): use InsetFloat::addToToc
5149 * toc.[Ch]: new files, containing helper functions to handle table
5152 * lyxfunc.C (dispatch): no need to remove spaces around command
5154 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5155 first command of the sequence; it is not very clever, but I do not
5156 have a better idea, actually
5158 * LyXAction.C (LookupFunc): make sure to remove space at the
5159 beginning and end of the command
5161 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5163 * MenuBackend.C (getMenubar): new method: return the menubar of
5165 (read): treat differently reading of menu and menubar (in
5166 particular, the menubar has no name now)
5167 (Menu::menubar): remove
5169 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5172 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5174 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5175 a bibitem inset in a RTL paragraph.
5177 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5179 * paragraph_pimpl.C: constify
5181 * BufferView_pimpl.C:
5183 * lyxfunc.C: fix dispatch in a nicer way
5185 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5187 * lyxfunc.C (dispatch):
5188 * BufferView_pimpl.C:
5189 * BufferView_pimpl.h:
5191 * BufferView.h: rename Dispatch() to dispatch()
5193 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5195 * lyxlayout.C (Read): honor DependsOn tag
5197 * lyxlayout.[Ch] (depends_on): new method
5199 * version.C.in: update lyx_docversion
5201 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5203 * paragraph.C (validate): remove from here...
5204 * paragraph_pimpl.C (validate): ... and move here
5205 (isTextAt): make it const
5207 * buffer.C (getLists): ws cleanup
5209 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5211 * language.C (read): Use iso8859-1 encoding in latex_lang
5212 (this prevents LyX from crashing when using iso10646-1 encoding).
5214 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5216 * text2.C (toggleInset): if cursor is inside an inset, close the
5217 inset and leave cursor _after_ it
5219 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5221 * lyxfunc.C: move minibuffer completion handling out of here
5223 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5225 * BufferView_pimpl.C:
5226 * LaTeX.C: fix dispatch calls
5228 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5230 * text.C (drawChars): Fix Arabic text rendering.
5232 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5236 * lyxfunc.C: remove message-push/pop
5240 * lyxfunc.C: rationalise some code by removing verboseDispatch
5241 in favour of a bool argument to dispatch()
5243 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5245 * lyx_main.C (init): make sure to read symlinks as absolute paths
5247 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5250 * lyxfunc.C: no need for commandshortcut to be a member
5252 2002-07-15 André Pönitz <poenitz@gmx.net>
5254 * converter.C: add support for $$s (scripts from lib/scripts dir)
5255 * lyx_main.C: white space
5257 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5261 * lyxrc.C: remove second exit confirmation
5263 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5268 * BufferView_pimpl.h:
5269 * BufferView_pimpl.C:
5270 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5272 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5274 * MenuBackend.C (expand): add numeric shortcuts to document menu
5276 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5278 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5280 * lyxfont.C (setLyXFamily):
5287 * buffer.C (asciiParagraph): use ascii_lowercase
5289 2002-07-15 Mike Fabian <mfabian@suse.de>
5291 * lyxlex_pimpl.C (search_kw):
5292 * lyxlex.C (getLongString):
5293 * converter.h (operator<):
5294 * converter.C (operator<):
5295 * buffer.C (parseSingleLyXformat2Token):
5297 * ToolbarDefaults.C (read):
5298 * MenuBackend.C (checkShortcuts):
5300 * LColor.C (getFromGUIName):
5301 (getFromLyXName): use the compare_ascii_no_case instead of
5302 compare_no_case, because in turkish, 'i' is not the lowercase
5303 version of 'I', and thus turkish locale breaks parsing of tags.
5305 2002-07-16 Angus Leeming <leeming@lyx.org>
5307 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5308 now takes a Buffer const & argument.
5310 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5312 * BufferView.C (resize): check there's a buffer to resize
5314 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5316 * lyxfunc.C: remove dead code
5319 * lyxserver.C: use lyx_guii::set_read_callback
5321 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5323 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5324 an inset in a RTL paragraph.
5326 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5328 * lyxfunc.C: repaint after a font size update
5330 2002-07-15 André Pönitz <poenitz@gmx.net>
5332 * lyxlength.C: inBP should be able to return negative values
5334 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5336 * lyxfunc.C: use lyx_gui::update_fonts()
5338 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5340 * lyxfunc.C: use lyx_gui::update_color()
5342 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5348 * lyxrc.C: remove file->new asks for name option, and let
5349 buffer-new take an argument
5351 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5353 * BufferView_pimpl.C: remove unneeded extra repaint()
5355 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5357 * LyXAction.C: allow command-sequence with NoBuffer
5359 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5361 2002-07-10 Angus Leeming <leeming@lyx.org>
5363 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5365 2002-07-09 Angus Leeming <leeming@lyx.org>
5367 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5369 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5371 * lengthcommon.h: whitespace
5373 * lyxfunc.C: update scrollbar after goto paragraph
5375 * lyxtext.h: factor out page break drawing, and fix it so
5376 page break/added space paints as selected nicely
5378 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5380 * BufferView_pimpl.C: add FIXMEs, clean up a little
5382 2002-07-09 André Pönitz <poenitz@gmx.net>
5384 * lyxfont.[Ch]: support for wasy symbols
5386 2002-07-08 André Pönitz <poenitz@gmx.net>
5388 * BufferView_pimpl.C: apply John's patch for #93.
5390 2002-07-05 Angus Leeming <leeming@lyx.org>
5392 * BufferView_pimpl.C (buffer): generate previews if desired.
5394 * LColor.h: add "preview" to the color enum.
5396 * LColor.C (LColor): add a corresponding entry to the items array.
5398 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5401 2002-07-05 Angus Leeming <leeming@lyx.org>
5403 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5404 The body of the code is now in the method that is passed an ostream &
5405 rather than a file name.
5406 Pass an additional only_preamble parameter, useful for the forthcoming
5409 2002-07-03 André Pönitz <poenitz@gmx.net>
5411 * lyxfunc.C: simplify getStatus() a bit for math stuff
5413 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5415 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5417 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5419 * text.C (changeRegionCase): do not change case of all the
5420 document when region ends at paragraph end (bug #461)
5422 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5424 * paragraph.C (startTeXParParams):
5425 (endTeXParParams): add \protect when necessary
5427 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5429 * BufferView_pimpl.C (workAreaExpose): remove warning
5431 2002-06-27 Angus Leeming <leeming@lyx.org>
5433 * Makefile.am: add lyxlayout_ptr_fwd.h.
5435 2002-06-26 André Pönitz <poenitz@gmx.net>
5437 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5439 2002-06-25 Angus Leeming <leeming@lyx.org>
5441 * lyxfunc.C (dispatch): Comment out the call to
5442 grfx::GCache::changeDisplay. The method no longer exists now that the
5443 pixmap generation part of the graphics loader has been moved into
5446 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5448 * text2.C: layout as layout
5450 * text.C: layout as layout
5452 * tabular.C (OldFormatRead): layout as layout
5454 * paragraph_pimpl.C (TeXDeeper): layout as layout
5455 (realizeFont): layout as layout
5457 * paragraph.C (writeFile): layout as layout
5458 (validate): layout as layout
5459 (getFont): layout as layout
5460 (getLabelFont): layout as layout
5461 (getLayoutFont): layout as layout
5462 (breakParagraph): layout as layout
5463 (stripLeadingSpaces): layout as layout
5464 (getEndLabel): layout as layout
5465 (getMaxDepthAfter): layout as layout
5466 (applyLayout): layout as layout
5467 (TeXOnePar): layout as layout
5468 (simpleTeXOnePar): layout as layout
5469 (TeXEnvironment): layout as layout
5470 (layout): layout as layout
5471 (layout): layout as layout
5473 * lyxtextclass.C (compare_name): new functor to work with
5474 shared_ptr, layout as layout
5475 (Read): layout as layout
5476 (hasLayout): layout as layout
5477 (operator): layout as layout
5478 (delete_layout): layout as layout
5479 (defaultLayout): layout as layout
5481 * lyxlayout_ptr_fwd.h: new file
5483 * lyxlayout.C (Read): layout as layout
5485 * lyx_cb.C (MenuInsertLabel): layout as layout
5487 * bufferlist.C (newFile): layout as layout
5489 * buffer.C (readLyXformat2): layout as layout
5490 (parseSingleLyXformat2Token): layout as layout
5491 (insertStringAsLines): layout as layout
5492 (asciiParagraph): layout as layout
5493 (latexParagraphs): layout as layout
5494 (makeLinuxDocFile): layout as layout
5495 (simpleLinuxDocOnePar): layout as layout
5496 (makeDocBookFile): layout as layout
5497 (simpleDocBookOnePar): layout as layout
5498 (getLists): layout as layout
5500 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5502 * CutAndPaste.C (cutSelection): layout as layout
5503 (pasteSelection): layout as layout
5504 (SwitchLayoutsBetweenClasses): layout as layout
5506 * BufferView_pimpl.C (Dispatch): layout as layout
5507 (smartQuote): layout as layout
5509 * BufferView2.C (unlockInset): layout as layout
5511 2002-06-24 André Pönitz <poenitz@gmx.net>
5513 * lyxfunc.C: fix #487
5515 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5519 * lyxfunc.C: remove display_shortcuts, show_banner
5521 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5523 * Buffer_pimpl.C: oops, update on resize
5525 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5532 * BufferView.C: use repaint()
5534 * BufferView_pimpl.h:
5535 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5536 as it's a clearer description. Remove superfluous
5539 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5541 * text.C: fix bug 488. Not ideal, but getting
5542 getWord() to work properly for the insets that
5543 matter is more difficult ...
5545 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5547 * BufferView_pimpl.C:
5550 * lyxfunc.C: remove the six million index lyxfuncs to just
5551 one, and DTRT (bug 458)
5553 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5557 * BufferView_pimpl.h:
5558 * BufferView_pimpl.C: clean up resize() stuff,
5559 and unnecessary updateScreen()s
5561 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5565 * BufferView_pimpl.h:
5566 * BufferView_pimpl.C:
5569 * minibuffer.C: remove focus management of workarea,
5570 not needed. Use screen's greyOut()
5572 2002-06-17 Herbert Voss <voss@lyx.org>
5574 * converter.C: (convert) do not post a message, when converting
5575 fails, let the calling function decide what to do in this case
5577 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5579 * lyxfunc.C: tidy up a little
5581 2002-06-16 <alstrup@diku.dk>
5583 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5584 Got rid of FORMS_H_LOCATION include. Now we are
5587 2002-06-15 LyX Development team <lyx@rilke>
5589 * buffer.[Ch] (sgmlOpenTag):
5590 (sgmlCloseTag): Added support for avoiding pernicious mixed
5591 content. Return number of lines written.
5594 (makeDocBookFile): Fixed calls to sgml*Tag.
5595 Simple white space clean.
5597 (simpleDocBookOnePar): Simple white space clean.
5599 * tabular.[Ch] (docBook): Renamed to docbook and got another
5600 argument to related with the pernicious mixed content.
5602 (docbookRow): Fixed calls for docbook inset method.
5604 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5606 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5607 so it's X11 independent.
5611 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5613 2002-06-15 Lyx Development team <lyx@electronia>
5615 * intl.h: Renamed getTrans to getTransManager.
5617 2002-06-14 Angus Leeming <leeming@lyx.org>
5619 * Makefile.am: nuke forgotten stl_string_fwd.h.
5621 2002-06-12 Angus Leeming <leeming@lyx.org>
5623 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5625 2002-06-13 Angus Leeming <leeming@lyx.org>
5628 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5630 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5632 * kbmap.C (getiso): add support for cyrillic and greek
5634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5638 * BufferView_pimpl.h:
5639 * BufferView_pimpl.C: move bogus scrolling logic
5642 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5645 * BufferView_pimpl.C: view->resize() change
5647 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5649 * BufferView_pimpl.C: topCursorVisible
5652 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5656 * lyx_gui.C: move to frontends/
5660 * lyx_main.C: changes from above
5662 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5669 * lyx_main.C: minor tidy
5671 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5673 * BufferView_pimpl.h:
5674 * BufferView_pimpl.C:
5676 * BufferView.C: make painter() const,
5679 * BufferView2.C: use screen() accessor
5682 * lyx_main.C: some minor cleanup
5684 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5686 * BufferView_pimpl.h:
5687 * BufferView_pimpl.C: remove enter/leaveView,
5690 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5695 * BufferView_pimpl.h:
5696 * BufferView_pimpl.C: only construct screen once,
5699 * lyxrc.C: remove pointless comment
5701 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5704 * BufferView.C: remove active() and belowMouse()
5706 * BufferView_pimpl.h:
5707 * BufferView_pimpl.C: use workarea() not workarea_,
5708 and make it use a scoped_ptr instead
5710 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5712 * lyx_gui.C: add debug message on BadWindow
5714 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5716 * sp_spell.C: fdopen is not part of the C++ standard.
5718 * paragraph.C (InsetIterator): use >= instead of ==
5720 2002-06-07 Angus Leeming <leeming@lyx.org>
5722 Fixes needed to compile with Compaq cxx 6.5.
5723 * BufferView_pimpl.C:
5730 * lyxtextclasslist.C:
5735 all c-library variables have been moved into namespace std. Wrap
5736 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5741 Add a using std::abs declaration.
5743 * kbmap.h (modifier_pair):
5744 * paragraph.h (InsetTable, InsetList):
5745 * lyxfont.h (FontBits):
5746 type definition made public.
5748 * bufferlist.C (emergencyWriteAll): the compiler complains that
5749 there is more than one possible lyx::class_fun template to choose from.
5750 I re-named the void specialisation as lyx::void_class_fun.
5752 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5754 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5755 the compiler is is unable to find tostr in write_attribute.
5757 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5759 * buffer.C (sgmlError): hide #warning
5761 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5763 * xtl/*: get rid of xtl, which is not in use anyway
5765 * LyXAction.C (init):
5766 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5767 were unimplemented xtl experimentation
5769 2002-06-04 André Pönitz <poenitz@gmx.net>
5771 * lyxfunc.C: disable array operation on simple formulae
5773 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5775 * converter.C: constify a bit
5777 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5779 * lyx_gui.C: check xforms version correctly
5781 2002-04-30 Herbert Voss <voss@lyx.org>
5783 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5786 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5788 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5789 attempt to register it with a VCS)
5791 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5793 * lyx_main.C (init): honor variables LYX_DIR_13x and
5796 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5800 * lyx_main.C: fix a crash on bad command line,
5801 and give a useful exit status on error
5803 * lyxfunc.C (doImport): allow -i lyx to work
5805 2002-03-30 André Pönitz <poenitz@gmx.net>
5807 * lyxfunc.C: mathed font changes
5809 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5824 * trans_mgr.h: srcdocs, and some minor cleanups
5826 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5828 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5829 call getFont all the time)
5831 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5833 * switch from SigC signals to boost::signals
5835 2002-05-29 André Pönitz <poenitz@gmx.net>
5837 * paragraph_pimpl.C (getChar): don't call size() too often...
5839 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5841 * paragraph_pimpl.C (insertChar): do not try to update tables when
5842 appending (pos == size())
5844 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5845 in order to reduce drastically the number of comparisons needed to
5846 parse a large document
5848 2002-05-29 André Pönitz <poenitz@gmx.net>
5854 * textclasslist.[Ch]:
5855 * sp_ispell.h: whitespace change
5857 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5859 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5860 lyxaction directly now.
5862 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5866 * lyxvc.C: remove unused headers
5868 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5875 * undo_funcs.C: some cleanups. Use shared_ptr
5876 and a template for the undo stacks.
5878 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5880 * BufferView_pimpl.h:
5881 * BufferView_pimpl.C:
5888 * text2.C: use key_state/mouse_state
5890 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5892 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5895 * chset.C: change include order
5896 (loadFile): use boost regex and get rid of LRegex and LSubstring
5898 * Makefile.am (BOOST_LIBS): new variable
5901 * LaTeX.C: change include order.
5902 (scanAuxFile): use boost regex and get rid of LRegex and
5906 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5911 * FontInfo.C: moved to frontends/xforms/
5914 * FontLoader.C: moved into frontends for GUIIzation
5919 * lyxfunc.C: changes from above
5921 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5923 * LColor.C: remove spurious X include
5925 * BufferView_pimpl.C:
5930 * text2.C: move font metrics to frontends/
5932 2002-05-24 Juergen Vigna <jug@sad.it>
5934 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5935 setting the undo_cursor.
5937 * ParagraphParameters.h: include local includes first.
5939 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5941 * BufferView_pimpl.C:
5942 * BufferView_pimpl.h:
5946 * screen.C: move WorkArea into frontends/
5952 * BufferView2.C: move LyXScreen into frontends/
5956 * lyx_gui.C: move lyxlookup into frontends/xforms/
5958 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5961 * BufferView_pimpl.C:
5971 * bufferview_funcs.C:
5984 * vc-backend.C: move LyX/XFormsView into frontends/
5986 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5998 * text2.C: move Painter to frontends/
6000 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6002 * buffer.C: comment out some some code that depend upon lyx_format
6005 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6006 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6008 * buffer.h (NO_COMPABILITY): turn off compability
6010 * ColorHandler.C: include scoped_array.hpp
6012 * font.C: Use more specific smart_ptr header.
6015 * ShareContainer.h: ditto
6019 * BufferView_pimpl.h: ditto
6020 * ColorHandler.h: ditto
6022 * kbmap.C (defkey): change call to shared_ptr::reset
6024 2002-05-21 Juergen Vigna <jug@sad.it>
6026 * buffer.C (insertErtContents): fix to insert ert asis if it is
6027 non empty. Skip it completely if it contains only whitespaces.
6029 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6031 * BufferView_pimpl.C:
6032 * BufferView2.C: clear selection on paste (bug 393)
6034 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6036 * DepTable.C: include ctime
6038 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6040 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6042 2002-05-14 Juergen Vigna <jug@sad.it>
6044 * text.C (breakParagraph): fixed function to honor the keepempty
6045 layout in the right maner and also to permit the right breaking
6046 algorithm on empty or non empyt keepempty paragraphs.
6048 * paragraph.C (breakParagraph): we have to check also if the par
6049 is really empty (!size()) for isempty otherwise we do the wrong
6052 2002-05-10 Juergen Vigna <jug@sad.it>
6054 * buffer.[Ch] : The following are only changes to the ert
6055 compatibility read reading old LaTeX layout and font stuff and
6056 convert it to ERTInsets.
6058 * buffer.h: added isErtInset().
6060 * buffer.C (struct ErtComp): add a fromlayout bool to check
6061 if we're inside a LaTeX layout.
6062 (isErtInset): new helper function.
6063 (insertErtContents): look for other ert insets before this one
6064 and insert the contents there, so that we don't have subsequent
6065 ERT insets with nothing between them. This way we create only one
6066 inset with multiple paragraphs. Also check if we don't insert only
6067 spaces ' ' as they are ignored anyway afterwards in the .tex file
6068 so if we have only spaces we will ignore this latex part in the
6070 (parseSingleLyXformat2Token \\layout): better compatibility when
6071 reading layout-latex stuff.
6072 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6074 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6075 stuff after reading the inset only get the information back from
6078 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6080 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6082 * LaTeXFeatures.C (getBabelOptions): New method.
6084 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6086 * BufferView_pimpl.C (Dispatch): work around missing argument for
6089 2002-05-08 Juergen Vigna <jug@sad.it>
6091 * text.C (leftMargin): handle paragraph leftindent.
6093 * paragraph.C (writeFile): write the new \\leftindent tag.
6094 (validate): handle leftindent code.
6095 (TeXEnvironment): handle paragraphleftindent code again.
6097 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6099 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6100 for paragrap_extra indent code and new token \\leftindent.
6101 (latexParagraphs): handle the leftindent as environment.
6103 * ParameterStruct.h: added leftindent support.
6105 * ParagraphParameters.C (leftIndent): added support functions for
6106 the paragraph left indent.
6108 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6111 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6113 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6116 * text.C (computeBidiTables): No bidi in insetERT.
6118 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6121 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6123 * version.C.in: pre 5
6125 2002-05-02 José Matos <jamatos@fep.up.pt>
6126 * buffer.C (makeDocBookFile): white space changes, add newline to
6128 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6130 * tabular.C (docBook): fix typo.
6132 2002-05-03 Juergen Vigna <jug@sad.it>
6134 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6135 change in LyXText as we can not be sure it was not freed.
6136 (drawOneRow): remove unused code.
6138 * text.C (drawInset): redo the calculation of the need_break_row as
6139 it could have a row which was already freed.
6140 (draw): look at the return value of drawInset and return false if
6141 it also returned false.
6142 (paintRowText): look at the return value of draw and return false if
6143 it also returned false.
6145 * lyxtext.h: added bool return type to drawInset() and draw() so that
6146 if we have a change in the row so that the rowbreak has to be redone
6147 we abort drawing as it will be called again.
6149 2002-05-02 Juergen Vigna <jug@sad.it>
6151 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6152 a change in the maintext also if we're inside an inset.
6153 (Dispatch): set the cursor again after a break line and after the
6154 screen has been updated as it could be we're in a different row.
6156 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6157 to set the cursor behind the pargraph with > size().
6158 (setCursor): check also for the same paragraph when checking where
6159 to put the cursor if we have a NFR inset.
6161 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6162 parts of layout read further up as it still was in the wrong
6165 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6167 * screen.C (drawFromTo): change sine fullRebreak always return
6170 * buffer.C (parseSingleLyXformat2Token): reindent some
6172 * BufferView_pimpl.C (update): change since fullRebreak always
6174 (Dispatch): git rid of the last hardcoded "Standard"s.
6176 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6178 * text2.[Ch] (fullRebreak): make it return void now that we always
6181 2002-04-30 Juergen Vigna <jug@sad.it>
6183 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6184 ert compatibility check for "latex" layout.
6186 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6188 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6189 minipages: use col% instead of p%, and also use the current font.
6190 (makeLaTeXFile): Fix use babel condition.
6191 (parseSingleLyXformat2Token): Correct font when reading old floats.
6193 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6195 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6196 inserting list of floats.
6198 2002-04-25 Herbert Voss <voss@lyx.org>
6200 * MenuBackend.C (expand): don't add the graphics extensions to the
6203 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6205 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6206 non-existing layout, do not complain if it was the default layout
6207 of the original class (bug #342)
6209 2002-04-24 Juergen Vigna <jug@sad.it>
6211 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6212 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6214 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6216 * buffer.C (getBibkeyList): If using \bibliography, return the
6217 option field with the reference itself. Enables us to provide natbib
6218 support when using \bibliography.
6220 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6222 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6224 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6225 natbib is provided by the LaTeX class.
6227 2002-04-23 Juergen Vigna <jug@sad.it>
6229 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6232 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6234 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6236 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6238 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6239 ensuremath around textordmasculine, textordfeminine and
6242 2002-04-19 Juergen Vigna <jug@sad.it>
6244 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6245 reinitializing the buffer otherwise row-dimensions may be wrong.
6246 (update): reset also the selection cursors if they do exits otherwise
6247 their x/y positions may be wrong.
6249 * text2.C (cursorDown): don't enter the inset if we came from a row
6250 above and are one row over the inset.
6252 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6253 really leaving an inset.
6255 2002-04-18 Juergen Vigna <jug@sad.it>
6257 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6258 of the selected paragraph does not have the selected layout also if
6261 * text2.C (setLayout): fixed bug which did not change last selected
6264 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6265 changed the read and substituted \\end_float with \\end_inset!
6267 * BufferView_pimpl.C (cursorPrevious):
6268 (cursorNext): fixed to make it work with rows heigher than the work
6269 area without moving the cursor only the draw of the row.
6270 (workAreaMotionNotify): fix jumping over high rows.
6272 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6274 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6277 2002-04-16 Juergen Vigna <jug@sad.it>
6279 * text2.C (setCursor): set also the irow().
6280 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6282 (cursorDown): support for locking an inset if the x_fix value goes
6283 inside it. That way I can transverse insets too with cursor up/down.
6285 * lyxrow.h: added irow helper function same as other (i) functions.
6287 * BufferView_pimpl.C (cursorPrevious):
6288 (cursorNext): fixed for insets!
6290 2002-04-15 Juergen Vigna <jug@sad.it>
6292 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6293 position otherwise it is wrong in some cases.
6295 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6296 inside the inset before the call.
6298 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6300 * buffer.[Ch] (getBibkeyList): make it const.
6302 2002-04-12 Juergen Vigna <jug@sad.it>
6304 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6306 * text2.C (getCursorX): new helper function
6307 (setCursor): compute also ix_
6308 (setCursorFromCoordinates): set also ix.
6310 * lyxcursor.h: added ix_ and helper functions.
6312 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6314 * buffer.C (insertStringAsLines): dont break paragraph if the this
6315 paragraph is inside an inset which does not permit it!
6317 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6318 also with no chars on this paragraph.
6319 (paintRowText): only paint stuff if it's inside the workarea!
6321 * paragraph.C (breakParagraph): honor keepempty flag and break the
6322 paragraph always below not above.
6324 * BufferView2.C (unlockInset): update the paragraph layout on inset
6325 unlock as we changed paragraph in such a case.
6327 * lyxfind.C (LyXFind): clear the former selection if not found!
6329 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6330 again called in insertChar().
6332 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6333 an inset which uses the whole row!
6334 (rightMargin): ditto.
6335 (insertChar): force a rebreak if we inserted an inset!
6337 2002-03-28 Herbert Voss <voss@lyx.org>
6339 * lyxlength.[Ch]: add inBP() to get the right PS-point
6340 units (BigPoint). With inPixels we have rounding errors
6342 2002-04-11 Juergen Vigna <jug@sad.it>
6344 * text2.C (setCursorFromCoordinates): set iy to the right value.
6345 (setCursor): add check if row->previous exists!
6347 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6348 an old float_type as this was the case in the old code!
6350 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6352 * BufferView2.C (showLockedInsetCursor): use iy
6353 (fitLockedInsetCursor): ditto
6355 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6356 locked insets as there we have the right value now.
6358 * lyxcursor.C: added iy_ variable and iy functions to set to the
6359 baseline of cursor-y of the locked inset.
6361 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6362 (setCursor): fixed for insets which need a full row.
6364 * text.C (rowLastPrintable): don't ignore the last space when before
6365 an inset which needs a full row.
6366 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6367 as last character of a row when before a inset which needs a full row.
6369 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6371 * version.C.in: update date
6373 * text2.C (fullRebreak): try to always return true and see what
6376 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6378 * MenuBackend.C (expand): use Floating::listName
6380 * FloatList.C (FloatList): add listName argument to the built-in
6383 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6384 text associated with the float.
6386 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6388 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6390 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6392 * ShareContainer.h: add a couple of missing typenames.
6394 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6396 * lyxrc.C (getDescription): use _() correctly rather than N_().
6398 2002-03-28 Herbert Voss <voss@lyx.org>
6400 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6401 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6403 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6405 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6406 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6408 2002-03-29 Juergen Vigna <jug@sad.it>
6410 * lyxfunc.C (dispatch): add a missing fitCursor call.
6412 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6413 it was scrolled by a cursor move, so return the bool status.
6415 * BufferView.C (fitCursor): return the bool flag also to the outside
6416 world as this is needed.
6418 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6420 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6421 call the edit() as it is not needed (and wrong) IMO.
6422 (workAreaButtonPress): set the screen_first variable before evt.
6423 unlock the inset as this may change screen_first and then we have
6424 a wrong y position for the click!
6426 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6428 * MenuBackend.C (expand): another translation that I missed
6430 2002-03-28 Juergen Vigna <jug@sad.it>
6432 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6434 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6436 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6438 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6440 * MenuBackend.C (expand): fix export/view/update when there is no
6443 2002-03-27 Herbert Voss <voss@lyx.org>
6445 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6448 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6450 * bufferview_funcs.C (currentState): only show paragraph number
6451 for is DEVEL_VERSION is set.
6453 * lyxfunc.C (dispatch): put warning in INFO channel
6455 * MenuBackend.C (expand): translate the name of floats
6457 * FloatList.C (FloatList): mark the float names for translation
6459 * converter.C (convert): use LibScriptSearch
6461 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6463 * MenuBackend.C (defaults): fix default menu (we might as well get
6466 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6468 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6471 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6473 * lyxvc.C: reorder includes.
6475 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6477 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6480 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6482 * CutAndPaste.C: change layouts earlier on paste
6483 to avoid crashing when calling getFont()
6485 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6487 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6490 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6492 * WorkArea.C: remove 'Pending' debug message.
6494 * most files: ws cleanup
6496 * buffer.[Ch]: ws changes
6498 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6500 2002-03-21 Juergen Vigna <jug@sad.it>
6502 * tabular.C (SetMultiColumn): collapse also the contents of the
6503 cells and set the last border right. Added a Buffer const * param.
6505 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6507 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6510 2002-03-19 Juergen Vigna <jug@sad.it>
6512 * text2.C (clearSelection): reset also xsel_cache.
6514 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6515 where it needs to be called (John tells us to do so too :)
6516 (selectionLost): reset sel_cache.
6518 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6520 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6522 * text2.C (setCursorIntern): put debuging code in INSETS channel
6524 2002-03-19 André Pönitz <poenitz@gmx.net>
6526 * lyxfunc.C: tiny whitespace change
6528 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6530 * ToolbarDefaults.C (init):
6531 * LyXAction.C (init):
6533 * BufferView_pimpl.C (Dispatch):
6534 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6536 2002-03-19 Allan Rae <rae@lyx.org>
6538 * exporter.C (Export): removeAutoInsets before doing anything else.
6539 While I've just introduced a dependency on BufferView this really is
6540 the best place to clean the buffer otherwise you need to cleanup in
6541 a dozen places before calling export or cleanup in a dozen functions
6544 * converter.C (runLaTeX):
6545 (scanLog): Better handling of removeAutoInsets and screen updates.
6547 * lyxfunc.C (dispatch): small whitespace changes
6549 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6551 * WorkArea.C (C_WorkAreaEvent): return a value.
6552 (event_cb): return 1 if we handled the event, 0 otherwise.
6554 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6556 2002-03-18 Juergen Vigna <jug@sad.it>
6558 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6559 (GetAdditionalWidth): ditto.
6563 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6564 inset if we're there actually (probably not used right now but this
6565 is the direction to go for unifying code).
6566 (paste): disable code to clear the selection.
6568 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6569 inside an InsetText and move the check further up as it is in the
6572 * text2.C (pasteSelection): set a selection over the pasted text.
6574 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6576 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6577 and libgraphics to build on Cygwin.
6579 2002-03-15 Juergen Vigna <jug@sad.it>
6581 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6582 inserting an Inset into the paragraph. I know this is not the best
6583 fix but we already use current_view in CutAndPaste so we will remove
6584 all of it's using at the same time.
6586 * buffer.C (sgmlError): deactivated function till it is rewritten in
6587 the right mode, now it can create problems.
6589 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6590 before accessing it.
6592 2002-03-14 Juergen Vigna <jug@sad.it>
6594 * undo_funcs.C (textHandleUndo): do the right thing when updating
6595 the inset after the undo/redo.
6597 * text2.C (setCursor): just some testcode for #44 not ready yet.
6599 * undo_funcs.C (textHandleUndo): set the next() and previous()
6600 pointers of the paragraph to 0 before deleting otherwise we have
6601 problems with the Paragraph::[destructor].
6603 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6604 on a paragraph insertion.
6606 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6608 * buffer.C (asciiParagraph): use += operator for char append to
6611 * paragraph.C (getFontSettings): compare >= not just >
6612 (highestFontInRange): ditto
6615 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6617 * paragraph.C: change several algorithm to be more appripriate for
6618 the problem domain. This is lookip in FontList and in the InsetList.
6620 2002-03-13 André Pönitz <poenitz@gmx.net>
6623 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6625 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6630 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6632 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6634 * Painter.C (display): anon helper function, adjust code for this
6636 (pixmap): remove function.
6638 * Painter.h: remove private display variable.
6640 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6642 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6644 * WorkArea.[Ch]: remove figinset_canvas cruft.
6646 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6648 * lyxtextclass.C (operator): add one item cache optimization.
6650 * bufferlist.h: doxy changes
6652 * bufferlist.C: ws changes
6654 * DepTable.[Ch] (ext_exist): place const in the right spot.
6656 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6658 (workAreaExpose): call resizeInsets when the with BufferView changes.
6659 (Dispatch): adjust for protectedBlank removal
6660 (specialChar): call updateInset if the insert went ok.
6662 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6663 specialChar instead.
6665 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6667 * BufferView.h: doxy change
6669 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6671 * lyxtextclass.C (operator[]): remove non-const version
6672 (defaultLayout): remove non-const version
6674 2002-03-12 Juergen Vigna <jug@sad.it>
6676 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6677 did resize the LyXText too.
6679 * buffer.C (readLyXformat2): set layout information on newly allocated
6682 * tabular.C (OldFormatRead): set layout information on the paragraph.
6684 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6686 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6688 2002-03-11 Juergen Vigna <jug@sad.it>
6690 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6692 (resizeCurrentBuffer): force also the insets to resize themselfes.
6693 (moveCursorUpdate): fixed up for InsetText.
6695 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6698 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6699 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6700 value of Dialogs::tooltipsEnabled().
6701 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6703 2002-03-08 Juergen Vigna <jug@sad.it>
6705 * BufferView_pimpl.C (updateInset): update inset inside inset also
6706 if it isn't inside theLockingInset().
6708 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6710 * buffer.C (asciiParagraph): redo some of the word and line length
6712 (getLists): look for Caption instead of caption.
6714 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6716 * buffer.C (Buffer): initialize niceFile to true
6719 (makeDocBookFile): make sure niceFile is true on exit
6721 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6723 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6725 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6727 * LyXSendto.C: remove.
6728 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6729 * lyx_gui.C: remove now-redundant comment.
6730 * ColorHandler.h: remove forward declaration of class WorkArea.
6731 * lyxfunc.C: remove #include "WorkArea.h".
6733 2002-03-07 Juergen Vigna <jug@sad.it>
6735 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6736 got moved away with the DEPM and also set the inset_owner always
6737 right which before could have been omitted.
6739 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6741 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6742 wanted layout is not found.
6744 2002-03-07 Juergen Vigna <jug@sad.it>
6746 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6748 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * paragraph.C (breakParagraph): use default layout not layout of
6752 (Paragraph): clear ParagraphParameters.
6754 2002-03-06 Juergen Vigna <jug@sad.it>
6756 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6757 otherwise it would not be a valid lenght. Fixed a special case in
6758 the minipage compatibility read where we end the document with a
6761 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6762 was set as it could be 0 for InsetTexts first entry.
6764 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6766 * paragraph.C (writeFile): if layout is empty write out
6767 defaultLayoutName().
6769 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6770 file without named layout we set layout to defaultLayoutName().
6772 2002-03-06 Juergen Vigna <jug@sad.it>
6774 * CutAndPaste.C (copySelection): set layout for new paragraph.
6776 * text.C (prepareToPrint): leave ERT inset left aligned
6777 (leftMargin): don't indent paragraphs inside ERT insets
6779 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6781 * paragraph.C (breakParagraph): dont call clear do the work manually
6783 * paragraph.[Ch] (clear): remove function
6785 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6787 * paragraph.C (Paragraph): dont call clear, the work has already
6790 * lyxtextclass.C (operator): assert if n is empty
6792 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6793 work manually instead.
6795 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6797 * BufferView_pimpl.C: protect selectionLost against text == 0
6799 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6801 * text.C (breakParagraph): fix a setting layout to '0' problem.
6803 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6805 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6806 final location of file, for the included files, and graphics.
6808 2002-03-05 Juergen Vigna <jug@sad.it>
6810 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6812 2002-03-04 Juergen Vigna <jug@sad.it>
6814 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6816 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6817 last column of multicolumn cells.
6818 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6820 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6822 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6823 file if it doesn't go to a temporary file.
6825 * buffer.C (sgmlOpenTag):
6826 (sgmlCloseTag): remove extra newline insertion.
6828 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6830 * text.C (getRowNearY): comment out debug msg
6832 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6834 * text2.C: first -> first_y
6836 * text.C (getRowNearY): add some attemts at a possible
6837 optimization, not working.
6839 * tabular.[Ch]: add BufferParams to several function so that newly
6840 created paragraph can be initialized to he default layotu for the
6843 * tabular-old.C (ReadOld): add buf->params to call of Init
6845 * screen.C: rename text->first to text->first_y
6847 * paragraph.C (breakParagraph): always set layout in the broken
6850 * lyxtextclass.C (Read): remove lowercase
6853 (delete_layout): ditto
6855 * lyxtext.h: rename first -> first_y
6857 * lyxlayout.C (Read): remove lowercase
6860 (obsoleted_by): ditto
6862 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6864 * buffer.C (insertErtContents): add params are to InsetERT
6865 (parseSingleLyXformat2Token): add code to check if a paragraphs
6866 layout really exist.
6867 (parseSingleLyXformat2Token): add params to several inset
6869 (asciiParagraph): remove lowercase, do the layout comparisons with
6872 * BufferView_pimpl.C (cursorNext): first -> first_y
6873 (resizeCurrentBuffer): first -> first_y
6874 (updateScrollbar): first -> first_y
6875 (scrollCB): first -> first_y
6876 (workAreaMotionNotify): first -> first_y
6877 (workAreaButtonPress): first -> first_y
6878 (checkInsetHit): first -> first_y
6879 (cursorPrevious): first -> first_y
6880 (cursorNext): first -> first_y
6881 (Dispatch): add buffer_->params to severl inset contructors
6883 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6885 * lyxlayout.C (Read): remove some debug info that I forgot.
6887 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6888 clean up the code slightly.
6889 (makeLinuxDocFile): ditto
6890 (makeDocBookFile): ditto
6892 * text2.C: layout as string
6894 * text.C: layout as string
6896 * paragraph_pimpl.C: layout as string
6898 * paragraph.[Ch]: layout as string
6900 * lyxtextclasslist.[Ch]: layout as string
6902 * lyxtextclass.[Ch]: layout as string
6904 * lyxtext.h: layout as string
6906 * lyxlayout.[Ch]: layout as string
6908 * lyx_cb.C: layout as string
6910 * bufferview_funcs.C: layout as string
6912 * bufferparams.C: layout as string
6914 * buffer.C: layout as string
6916 * LyXView.[Ch]: layout as string
6918 * LaTeXFeatures.[Ch]: layout as string
6920 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6922 * BufferView_pimpl.C: change current_layout to string, remove
6927 (workAreaButtonRelease): layout as string
6929 * BufferView2.C (unlockInset): adjust
6931 * vspace.C (asLatexCommand): use an explict temp variable.
6933 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6935 * Makefile.am: use FRONTEND_*
6937 2002-03-01 Juergen Vigna <jug@sad.it>
6939 * tabular.C (SetWidthOfMulticolCell): changed to something better
6940 I hope but still work in progress.
6941 (recalculateMulticolumnsOfColumn): renamed function from
6942 recalculateMulticolCells as it is more appropriate now.
6943 (SetWidthOfCell): calculate multicols better.
6945 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6947 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6949 * lyxfunc.C (processKeySym): print sequence also if it is
6950 `deleted' (complete)
6952 * kbsequence.C (print): print sequence even if it is deleted
6953 (complete would be a better word, actually).
6955 * lyxfunc.C (dispatch): print complete options after a prefix key
6957 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6959 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6961 * text2.C (setCharFont): eliminate setCharFont code duplication.
6963 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6965 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6966 LFUN_TABULAR_FEATURE (bug #177)
6968 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6970 * Makefile.am: remove figure.h
6972 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6974 * Bufferview_pimpl.C:
6986 * text2.C: remove #include "lyx_gui_misc.h".
6988 * LaTeX.C: added #include <cstdio>
6990 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6992 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6993 that the paragraph following this one can have.
6995 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6997 * vspace.C (asLatexCommand): fix bogus gcc warning
6999 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7001 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7003 * text2.C (setLayout): get rid of redundant code
7005 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7007 * text2.C (incDepth): make sure depth cannot be increased beyond
7010 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7012 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7013 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7015 * PainterBase.h (image):
7016 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7019 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7023 * BufferView_pimpl.C:
7024 * BufferView_pimpl.h:
7044 * sp_spell.C: remove fig inset, and the crap house of
7045 cards that follows it
7047 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7053 * nt_defines.h: move .h into support/
7055 * vms_defines.h: remove
7057 * WorkArea.C: add space in debug output
7061 * buffer.C: add WITH_WARNINGS
7065 * bufferlist.C: s/retrive/retrieve/, add docs
7076 * lyxgui.C: add ID to X error handler
7078 * lyxtestclass.c: fix typo
7080 2002-02-26 Juergen Vigna <jug@sad.it>
7082 * tabular_funcs.C (write_attribute): changed so that some default
7083 attributes are not written at all.
7084 (getTokenValue): set default values before trying to read the
7085 value so we have the return value always set as default if we don't
7086 find the token we search for.
7088 * tabular.C (Write): write bools as bools not as strings!
7090 2002-02-22 Juergen Vigna <jug@sad.it>
7092 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7093 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7095 * text.C (leftMargin): don't add an indent for paragraphs inside
7096 tabular cells (fix #208).
7098 2002-02-21 José Matos <jamatos@fep.up.pt>
7100 * tabular.C (docBook): fixed support for long tables.
7102 2002-02-20 Juergen Vigna <jug@sad.it>
7104 * text2.C (getFont): get the drawing font of the Inset if this
7105 paragraph is inside an inset (only important for InsetERT for now).
7107 * buffer.C (insertErtContents): use new lanugage params in ERT
7110 * CutAndPaste.C: commenting out seemingly uneeded code.
7112 2002-02-19 Allan Rae <rae@lyx.org>
7114 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7115 Iterators might be simple to use but they also get invalidated.
7116 (removeAutoInsets): renamed saved cursor tracking variables and added
7117 some comments to clarify what everything does.
7119 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7126 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7127 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7130 * vc-backend.h: remove #include "support/syscall.h"
7134 * converter.C: rearrange #includes in Lars' approved fashion.
7136 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7137 forward declare class Timeout in the header file.
7139 * XFormsView.C: changes due to the above.
7141 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7144 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7145 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7147 2002-02-18 José Matos <jamatos@fep.up.pt>
7149 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7152 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7154 * a lot of small ws changes
7155 * add a lot of using std::XXX
7156 * use std construcs some places where approp.
7157 * use some exisint stuff from lyxfunctional where approp.
7158 * Make file changes to use partial linking (lets test this now...)
7160 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7164 remove #include "support/syscontr.h" as it's redundant. Always has been.
7172 change Systemcalls::System to Systemcalls::Wait and
7173 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7174 No change of functionality, just reflects the stripped down Systemcalls
7177 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7179 * debug.[Ch]: add a GRAPHICS type to the enum.
7181 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7183 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7185 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7188 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7190 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7191 match the changes below.
7193 * text2.C (toggleInset): if there is not editable inset at cursor
7194 position, try to see if cursor is _inside_ a collapsable inset
7197 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7199 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7200 document menu has a nice checkbox
7202 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7204 * lyxlength.C (asLatexString): change PW to output as percent of
7207 * lengthcommon.C: change '%' to 't%'
7209 * lyxfunc.C (dispatch): a few comments from Martin
7211 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7215 * BufferView_pimpl.h:
7216 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7219 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * vspace.C (inPixels): fix compiler warning
7223 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7225 * lyxfunc.C (getStatus): fix status message for disabled commands.
7227 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7229 * BufferView_pimpl.C: fix crash on close buffer
7230 during selection (#227)
7232 2002-01-27 Herbert Voss <voss@lyx.org>
7234 * buffer.C: link old Figure to new graphic inset
7236 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7238 * FontLoader.C (getFontinfo): Change the latex font names in order
7239 to match the names of type1inst.
7241 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7243 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7245 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7248 (remove_files_with_extension): ditto
7249 (remove_file): ditto
7252 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7253 document is smaller than the work area height. Do not initialize
7254 static variables to 0.
7256 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7258 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7260 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7261 LFUN_LAYOUT_PARAGRAPHS.
7263 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7264 tabular. It is possible to provide a possible cell, which will
7265 typically be the actcell from the corresponding insettabular
7267 * lyxfunc.C (getStatus): small cleanup; disable
7268 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7271 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7273 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7275 * paragraph.C (startTeXParParams):
7276 (endTeXParParams): new methods. The LaTeX code to
7277 start/end paragraph formatting
7278 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7279 empty (fixes bug #200)
7281 * vspace.C (inPixels): adapt to the change below
7282 (inPixels): [later] more cleanups (remove unused variables)
7284 * lyxlength.C (inPixels): change to use a width and a height as
7287 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7289 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7290 Replaced with \paperwidth
7292 * DepTable.C (insert): add std:: qualifier
7294 2002-01-18 Allan Rae <rae@lyx.org>
7296 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7299 * text.C (drawInset): Turned out I didn't know enough about how
7300 rebreaking worked. This fixes most of the redraw problems. I see
7301 an occasional cursor trail when a line is broken now and the cursor
7302 placement can seem out by a few pixels also after a rebreak.
7304 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7306 * buffer.C (parseSingleLyXformat2Token): update because minipage
7307 width is now a LyXLength
7309 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7311 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7314 2002-01-17 Juergen Vigna <jug@sad.it>
7316 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7318 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7319 is set correctly and the inset is updated correctly.
7321 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7323 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7324 the beginning of the loop.
7326 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7328 * lyxrc.C: improve help for use_scalable_fonts
7330 2002-01-17 Allan Rae <rae@lyx.org>
7332 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7334 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7336 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7337 make sure to set their inset_owner to the right value (bug #171)
7339 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7342 * DepTable.C: Implement mtime checking to reduce time spent doing
7345 2002-01-16 Juergen Vigna <jug@sad.it>
7347 * tabular.C (GetAdditionalHeight): one of error fixed.
7349 * lyxrc.C (output): small fix in writing use_pspell.
7351 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7353 * sp_base.h: #include LString.h
7355 2002-01-16 Allan Rae <rae@lyx.org>
7357 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7358 Can someone check this please?
7360 * text.C (drawInset): It was possible that p.row would be removed by
7361 breakAgainOneRow upsetting a few other settings. There may be another
7362 small tweak possible by setting need_break_row = 0 when p.row has been
7363 removed but I don't know enough about the logic here.
7365 2002-01-15 Allan Rae <rae@lyx.org>
7367 * text.C (insertChar): removed conditional truism.
7369 * BufferView2.C (removeAutoInsets): More tweaks.
7370 cur_par_prev could be a stray pointer. Check for trailing empty line
7371 in case last line was cur_par and only had an error inset on it.
7373 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7375 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7378 * vc-backend.C (most methods):
7379 * exporter.C (Export):
7380 * converter.C (convert):
7382 * LyXSendto.C (SendtoApplyCB):
7383 * lyxfunc.C (dispatch):
7387 * lyx_cb.C (AutoSave):
7389 * BufferView_pimpl.C (MenuInsertLyXFile):
7390 * buffer.C (runChktex): use Buffer::filePath().
7392 * buffer.h: rename filename to filename_; rename filepath to
7393 filepath_ and make it private
7394 (filePath): new method
7396 * buffer.C (writeFile): use fileName()
7399 * lyx_main.C (init): fix starting of LyX when the binary is a
7400 link from so,ewhere else.
7402 * minibuffer.C: include <cctype> for isprint
7404 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7406 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7407 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7408 name clash with InsetCollapsable's width function.
7410 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7412 * lastfiles.C: include <iterator>
7414 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7416 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7419 * buffer.C (makeLaTeXFile): ditto.
7420 Also make loop operation more transparent.
7422 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7424 * ToolbarDefaults.C: remove trailing comma closing namespace.
7426 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7428 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7431 * trans.C (Load): comment out unused variable, allowed.
7433 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7435 * minibuffer.[Ch] (append_char): new method to recieve input from the
7436 drop-down completion browser. If a key was pressed, then recieve this
7437 char and append it to the existing string.
7438 (peek_event): modify the positioning data passed to the completion
7439 browser so that it can be placed above the minibuffer rather than below.
7440 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7442 * LyXAction.C (init): alloe error-next for readonly documents.
7444 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7447 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7449 * bufferlist.C (readFile): create the buffer _after_ checking that
7452 * lyxfunc.C (verboseDispatch): fix handling of arguments
7454 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7456 * lyxrc.C: use string::erase() instead of initializing to "".
7459 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7461 * BufferView_pimpl.h:
7462 * BufferView_pimpl.C:
7465 * text2.C: tell X when we have made a selection for copying
7467 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7469 * BufferView_pimpl.C (MenuInsertLyXFile):
7470 * lyxfunc.C (menuNew):
7472 (doImport): add shortcuts to directory buttons
7474 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7477 * lyxfunc.C (setStatusMessage):
7478 (getStatusMessage): new methods
7479 (getStatus):use setStatusMessage instead of setErrorMessage
7480 (dispatch): when function is disabled, set error message here
7481 [instead of in getStatus previously]
7483 * BufferView_pimpl.C (workAreaButtonRelease): update
7484 toolbar/menubar here too.
7486 2002-01-13 Allan Rae <rae@lyx.org>
7488 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7489 Now seems indestructible. Remaining task is to audit all other
7490 code affected by deleteEmptyParagraphMechanism. One small quirk
7491 left is that an empty document with an error in the preamble can
7492 be made to report an error but no error box appears. I don't know
7494 (removeAutoInsets): Improved comments.
7496 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7499 * Thesaurus.C: update for Aiksaurus 0.14
7501 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7503 * text2.C (firstParagraph): removed member function, all uses
7504 replaces with ownerParagraph
7505 (redoParagraphs): here
7507 (toggleAppendix): here
7508 * BufferView2.C (insertErrors): here
7509 (setCursorFromRow): here
7511 2002-01-13 Allan Rae <rae@lyx.org>
7513 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7514 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7515 There is still a way to segfault this although you may have to do this
7516 multiple times: Have an InsetERT with an unknown command in it.
7517 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7518 <down-arrow>, <Enter> again, View->DVI, BANG!
7520 * text2.C (setCursor):
7521 (deleteEmptyParagraphMechanism):
7522 * lyxtext.h (setCursor):
7523 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7524 Making use of the return value may help fix other bugs.
7526 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7528 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7530 * LyXView.C (updateMenubar): call MenuBar::update here
7531 (updateToolbar): but not here
7532 (showState): do not update toolbar/menubar
7534 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7535 should need to care about that.
7537 * lyxfunc.C (verboseDispatch): simplify a bit
7538 (getStatus): have a version which takes a pseudoaction, and
7539 another which requires a (kb_action,string).
7541 * LyXAction.C (retrieveActionArg): make it work also when action
7542 is not a pseudo-action.
7543 (getActionName): simplify a bit
7546 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7548 * lyxfunc.C (verboseDispatch): new families of methods with
7549 several ways to specify a command and a bool to indicate whether
7550 the command name and shortcut should be displayed in minibuffer
7551 (eventually, we could extend that to a finer bitmask like
7552 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7553 (dispatch): the pristine dispatch command which just, well,
7554 dispatchs! Note it still sets its result to minibuffer; I'm not
7557 * lyxfunc.h: remove setHintMessage
7559 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7561 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7563 * BufferView_pimpl.C (specialChar): delete new inset if we have
7564 not been able to insert it.
7566 * kbmap.C: revert to using int instead of kb_action, since all we
7567 are dealing with is pseudo-actions.
7569 * LyXAction.C (searchActionArg): change to return int instead of
7570 kb_action, since the result is a pseudoaction.
7572 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7574 * buffer.C (insertErtContents): Fix (partially) the font bug.
7576 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7578 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7579 as the other one is broken on my machine!
7581 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7584 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7586 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7588 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7589 reflect their actual use. Provide compatibility code for older lyxrc
7592 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7594 change names of popup font variables in line with the changes to lyxrc.C
7596 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7598 * buffer.C (asciiParagraph): avoid outputing a word twice after
7601 * lyxrc.C (getDescription): document that document_path and
7602 template_path can be empty.
7604 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7606 * LaTeXFeatures.C (getMacros):
7607 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7609 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7611 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7613 (getPackages): rename feature "floats" to "float". Use an array to
7614 iterate over 'simple' features (i.e. just a \usepackage). Add
7615 handling of "amsmath" (renamed from "amsstyle").
7617 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7619 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7622 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7624 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7625 FuncStaus::FuncStatus & FuncStaus::some_method().
7627 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7629 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7630 of the func_satus stuff. Edited and massaged in various ways by
7633 * lyxfunc.C (getStatus): use FuncStatus
7635 2002-01-08 Juergen Vigna <jug@sad.it>
7637 * text.C (nextBreakPoint): use function Inset::isChar().
7639 * paragraph.C (TeXOnePar): use function
7640 Inset::forceDefaultParagraphs.
7642 * buffer.C (latexParagraphs): use function
7643 Inset::forceDefaultParagraphs.
7645 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7647 * lyx_gui.C (init): set the style of the menu popups to
7648 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7650 2002-01-07 Juergen Vigna <jug@sad.it>
7652 * text.C (setHeightOfRow): small fix
7653 (prepareToPrint): don't look at alignment if we don't have the place
7656 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7658 * box.C: New file. Move the Box methods and functions out of box.h,
7659 following Lars' suggestion.
7661 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7663 * box.h: #include "support/LOstream.h", needed for inlined function.
7666 * lyxtextclasslist.C: added some using std declarations.
7668 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7670 * box.h: make signed dimensions to allow insets wider than
7671 the screen (bug #162)
7673 * BufferView_pimpl.C: add some insetHit debug
7675 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7677 * vc-backend.C: add FIXME
7679 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7681 * lyxfunc.C (getStatus): enable code for showing math font status
7684 2002-01-07 Juergen Vigna <jug@sad.it>
7686 * text.C (nextBreakPoint): removed debug output not needed anymore.
7688 2002-01-06 Juergen Vigna <jug@sad.it>
7690 * text.C (nextBreakPoint): fixed up this function we had this bug
7691 since ever but now hopefully we break row better.
7692 (insertChar): we have to check if an inset is the next char as it
7693 could now happen that a large inset is causing a break.
7695 2002-01-05 Juergen Vigna <jug@sad.it>
7697 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7698 if it doesn't like to be drawed.
7700 2002-01-04 Juergen Vigna <jug@sad.it>
7702 * BufferView2.C (lockInset): forgot to set a cursor.
7704 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7706 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7711 * form_maths_panel.C:
7712 * form_maths_panel.h:
7713 * form_maths_panel.fd: implemented sub- and super- buttons in math
7716 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7717 (or ^ space) to be used as in TeX (req'd by André).
7719 * lyxfunc.C: Allow ^ and _ again to be used both as
7720 super/subscript (mathed) and as themselves (in text).
7722 2002-01-03 Allan Rae <rae@lyx.org>
7724 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7725 "LyX" or the filename of the current buffer if it has one. This is a
7726 modified form of John Levon's patch.
7728 * XFormsView.C (setWindowTitle): also set icon title.
7730 * LyXView.h (setWindowTitle): signature changed.
7731 * XFormsView.h (setWindowTitle): ditto.
7733 2002-01-02 Juergen Vigna <jug@sad.it>
7735 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7737 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7739 * screen.C (topCursorVisible): introduce a temp var for
7740 text->cursor.row(), handle the case where this row is null. (kindo
7743 * text2.C (setCursor): add a couple of asserts.
7745 * paragraph.h (inset_iterator): add -> operator
7747 * paragraph.[Ch] (autoDeleteInsets): remove member function
7749 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7750 cursor pos correctly and handle inset deletion by itself.
7751 (insertErrors): move iterator declaration out of for expression
7753 * lyxtextclass.C: add <algorithm>
7755 * Makefile.am: added the new files to sources, removed layout.C
7757 * layout.C: removed file
7759 * layout.h: remove LYX_DUMMY_LAYOUT
7761 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7765 * lyxtextclass.[Ch]:
7766 * lyxtextclasslist.[Ch]: new files
7768 * include order changes to a lot of files, also changes because of
7771 2001-12-27 Juergen Vigna <jug@sad.it>
7773 * buffer.C (asciiParagraph): more fixes.
7775 * tabular.C (ascii): make ascii export support export of only the
7776 data separated by a column-delimiter.
7777 (ascii): better support for ascii export.
7779 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7781 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7783 * tabular_funcs.C: use a "using std::getline" instead of the
7784 previous fix from Angus (necessary for cxx + lyxstring)
7786 2001-12-24 Juergen Vigna <jug@sad.it>
7788 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7790 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7791 problems. First check a minipage also if we have some ert-contents
7792 (not only on par->size(), second set the right depth of the paragraph
7793 on the relink to the root-paragraph-list!
7795 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7796 which then did not anymore update the main paragraphs on undo/redo!
7798 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7800 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7801 code. Support all font-changing funcs (even those which are not in
7802 menu currently). Support for reporting font settings in
7803 mathed (disabled until Andre provides a function on mathed's side).
7805 * func_status.h (toggle): small helper function to set toggle
7808 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7810 * tabular_funcs.C: getline -> std::getline
7812 2001-12-21 Juergen Vigna <jug@sad.it>
7814 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7815 accessed and could be 0 (I couldn't generate this but it seems
7818 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7820 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7821 * tabular_funcs.h: here and include iosfwd
7823 2001-12-20 Juergen Vigna <jug@sad.it>
7825 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7826 inside inset but undo_par was.
7828 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7830 * Thesaurus.C: always include <config.h> in sources.
7834 * box.h: do not include <config.h> in header files
7836 * text.C (paintLastRow): remove unused variable
7838 * text.C (transformChar):
7840 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7843 * font.C (width): rewrite to use uppercase() instead of
7846 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7848 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7850 * lyxfind.C: clean up of find failure position change
7852 2001-12-20 Juergen Vigna <jug@sad.it>
7854 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7856 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7857 (TeXRow): added to LaTeX a single tabular row.
7858 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7859 (Latex): simplified and finally good LT-h/f support.
7860 (various_functions): just small adaptions for LT-h/f support.
7862 * tabular_funcs.[hC]: added and moved here all not classfunctions
7865 2001-12-19 Juergen Vigna <jug@sad.it>
7867 * tabular.[Ch]: better support for longtabular options (not finished
7870 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7872 * text.C (paintLastRow): use the label font instead of the font of
7873 the last character to compute the size of *_BOX. This makes more
7874 sense and avoids a crash with empty paragraphs.
7875 Use Painter::rectangle to draw EMPTY_BOX.
7877 2001-12-19 Juergen Vigna <jug@sad.it>
7879 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7880 the paragraphs if the replaced paragraph is not the first one!
7881 Tried to delete not used paragraphs but does not work yet so for
7882 now it's inside #ifdef's and by default off!
7884 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7886 * MenuBackend.C: include "lyx_main.h" instead of declaring
7887 lastfiles (actually was declared as LastFiles* instead of a
7890 2001-12-17 Juergen Vigna <jug@sad.it>
7892 * tabular.C (AppendColumn): applied John's fix
7894 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7898 * BufferView_pimpl.h:
7899 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7902 * box.h: new start of class for above
7904 * lyxfunc.C: ignore space-only minibuffer dispatches.
7905 Show the command name when it doesn't exist
7907 * minibuffer.C: don't add empty lines to the history
7909 * minibuffer.C: add a space on dropdown completion
7911 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7913 * text.C: fix line above/below drawing in insets
7915 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7917 * lyxlength.C (LyXLength): Initialize private variables.
7919 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7921 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7922 when inserting error insets.
7924 2001-12-13 Juergen Vigna <jug@sad.it>
7926 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7927 actually sometimes the before-paragraph.
7928 (setUndo): don't clear the redostack if we're not actually undoing!
7930 2001-12-06 Juergen Vigna <jug@sad.it>
7932 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7933 and fixed redoing of main paragraph, so we can use it now ;)
7935 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7937 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7939 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7942 2001-12-13 André Pönitz <poenitz@gmx.net>
7945 * undo_func.C: minor cleanup
7947 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7949 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7950 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7951 font in urw-fonts package which is marked as -urw-fontspecific and
7952 does not work (incidentally, changing the encoding in the
7953 fonts.dir of this package to -adobe-fontspecific fixes the
7956 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7957 is a crash when undoing first paragraph (Juergen, please take a
7958 look). THis does not mean the undo fix is wrong, just that it
7961 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7962 the (Paragraph*) version when needed instead of duplicating the
7965 * text.C (workWidth): use Inset::parOwner to find out where the
7966 inset has been inserted. This is a huge performance gain for large
7967 documents with lots of insets. If Inset::parOwner is not set, fall
7968 back on the brute force method
7970 * paragraph_pimpl.C (insertInset):
7971 * paragraph.C (Paragraph):
7972 (cutIntoMinibuffer): set parOwner of insets when
7973 inserting/removing them
7975 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7977 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7983 * mathed/formulabase.C:
7984 * mathed/math_cursor.[Ch]:
7985 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7988 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7990 * lyxlength.[Ch] (operator!=): new function
7992 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7994 * text.C (workWidth): use Inset::parOwner to find out where the
7995 inset has been inserted. This is a huge performance gain for large
7996 documents with lots of insets. If Inset::parOwner is not set, fall
7997 back on the brute force method
7999 * paragraph_pimpl.C (insertInset):
8000 * paragraph.C (Paragraph):
8001 (cutIntoMinibuffer): set parOwner of insets when
8002 inserting/removing them
8004 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8006 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8008 * tabular-old.C (getTokenValue):
8009 * tabular.C (getTokenValue):
8010 (write_attribute): new versions for LyXLength
8011 (everywhere): adjust the use of widths
8013 * tabular.h: change the type of widths from string to LyXLength
8015 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8017 * paragraph.C: fixed missing line number count when exporting
8018 Environments to LaTeX file
8020 * buffer.C: added informational message for checking line numbers.
8022 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8024 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8025 paragraph, do the 'double space' part, but not the 'empty
8028 * text.C (workWidth): small optimization
8029 (getLengthMarkerHeight): use minimal size for negative lengths.
8031 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8033 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8035 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8037 2001-12-11 André Pönitz <poenitz@gmx.net>
8040 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8042 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8044 * text2.C: keep selection on a setFont()
8046 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8048 * lyx_cb.C: another bv->text misuse, from insert label
8050 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8053 * kbsequence.C: re-instate nmodifier mask
8055 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8057 * lyx_main.h: make lyxGUI private.
8059 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8061 * lyxfind.C: place the cursor correctly on failed search
8063 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8065 * text.C (getLengthMarkerHeight): for small heights, the arrows
8066 are not always on top/bottom of the text
8067 (drawLengthMarker): smaller arrows; take the left margin in
8068 account; draw also vfills.
8070 (paintLastRow): remove special code for vfill and standard spaces,
8071 since everything is handled in drawLengthMarker now.
8073 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8075 * buffer.C (insertErtContents): try to handle font and language
8076 interaction a bit better.g
8078 * ColorHandler.C (updateColor): change the hash to cover the whole
8079 LColor enum, ws cleanup
8080 (getGCLinepars): ditto
8081 (getGCLinepars): only lookup in the linecache once.
8083 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8085 * iterators.C (operator++): Make the iterator more robust
8087 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8089 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8091 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8094 * text.C: better added space drawing
8096 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8099 * BufferView2.C: fix layout combo update on inset unlock
8101 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8103 * Makefile.am: don't compile unused files
8105 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8109 * LyXAction.C: remove old LFUN_LAYOUTNO
8111 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8113 * paragraph_pimpl.h:
8114 * paragraph_pimpl.C: isTextAt() doesn't need font param
8116 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8119 * lyxlex.C: little cleanup
8121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8123 * BufferView_pimpl.C: fix insertAscii for insets
8125 2001-12-05 Juergen Vigna <jug@sad.it>
8127 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8128 set the right font on the "multi" paragraph paste!
8130 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8136 * lyxlength.C: remove out-commented code.
8152 * vc-backend.C: change "while(" to "while ("
8154 * lyxlength.[Ch]: add zero function to check if length is zero or
8156 * lyxgluelength.C: use it
8158 2001-12-05 Allan Rae <rae@lyx.org>
8160 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8161 Works for 2.95.3, from what I understand of Garst's reports this should
8162 work for other g++ versions. We're screwed if the abs(int) definition
8163 changed between bugfix releases of gcc.
8165 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8167 * text.C: fix chapter label offset !
8169 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8172 * text.C: fix hfill at end of line, clean up
8174 2001-12-04 Juergen Vigna <jug@sad.it>
8176 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8177 that we force an update of the inset and it's owners if neccessary.
8179 2001-12-03 Juergen Vigna <jug@sad.it>
8181 * text.C (rowLast): simplified code
8183 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8185 * lyxfunc.C: fix show options on timeout
8187 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8189 * screen.C (topCursorVisible): scroll half a page when the cursor
8190 reached top of bottom of screen
8192 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8194 * minibuffer.C: deactivate on loss of focus
8196 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8198 * vspace.[Ch] (operator!=): add operator.
8200 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8202 * BufferView_pimpl.C: refuse to open an inset when
8203 there's a selection.
8205 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8207 * BufferView_pimpl.C: allow to click on RHS of full row insets
8209 2001-11-30 Juergen Vigna <jug@sad.it>
8211 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8212 insets for undo reasons.
8214 2001-11-28 André Pönitz <poenitz@gmx.net>
8216 * vspace.[Ch]: cosmetical changes
8218 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8228 * kbsequence.C: part re-write of old kb code
8231 * WorkArea.C: remove Lgb_bug_find_hack
8233 2001-11-30 José Matos <jamatos@fep.up.pt>
8235 * buffer.C (makeDocBookFile): add a comment to point a hack.
8236 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8237 Fixed a double write of labels.
8239 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8242 * LaTeX.h Fixed bug in LaTeX class where it would not
8243 re-run latex if no depfiles were changed, but the .dvi was removed.
8245 2001-11-28 André Pönitz <poenitz@gmx.net>
8247 * all the files from the change on 2001/11/26:
8248 use lyx::layout_type instead of LyXTextClass::size_type
8249 use lyx::textclass_type instead of LyXTextClassList::size_type
8251 2001-11-29 Juergen Vigna <jug@sad.it>
8253 * text.C: added support for paragraph::isFreeSpacing()
8255 * buffer.C: same as above
8257 * paragraph.h: inserted isFreeSpacing() function to enable
8258 FreeSpacing inside InsetERT.
8260 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8261 of the paragraph's in the cut/copy buffer to 0!
8263 * text2.C (removeRow): remove the assert as it can!
8265 * lyxtext.h: added helper function firstRow returning firstrow and
8266 made firstrow private again.
8268 * BufferView2.C (lockInset): don't relock if we're already locked!
8270 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8272 (removeRow): added Assert::(firstrow)
8274 * debug.C: forgot to add INSETTEXT here.
8276 2001-11-28 Juergen Vigna <jug@sad.it>
8278 * sp_spell.C (initialize): changed error text to more general
8279 spellchecker command use (not only ispell!)
8281 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8283 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8285 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8287 * vspace.C: initialise lyxgluelength on failure
8289 2001-11-28 Allan Rae <rae@lyx.org>
8291 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8292 declaration & definition that looks like a function declaration.
8294 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8296 * BufferView2.C (copy):
8297 (copyEnvironment): do not clear the selection when doing a copy.
8299 * text.C (paintFirstRow): compilation fix
8301 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8303 * tabular.C (Latex): correct line count when writing latex.
8305 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8307 * paragraph_pimpl.h:
8308 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8311 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8315 * LColor.C: change vfillline->added_space
8317 * text.C: add markers and text for added space
8319 * vspace.C: fix comment
8321 2001-11-28 André Pönitz <poenitz@gmx.net>
8323 * paragraph.C: whitespace changes
8324 * all the other files from the change on 2001/11/26:
8325 change *::pos_type into lyx::pos_type
8327 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8329 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8330 language of the document when inserting error insets.
8332 2001-11-26 André Pönitz <poenitz@gmx.net>
8334 * BufferView_pimpl.[Ch]:
8342 * paragraph_pimpl.[Ch]:
8345 * text2.C: reduce header dependencies, introduce type for positions
8347 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8349 * <various>: change to use Alert.h
8351 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8353 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8354 when encountering an unknown token.
8355 (readLyXformat2): Show an error message if there were unknown tokens.
8357 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8360 * BufferView_pimpl.C:
8364 * text2.C: use par->isInset()
8366 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8368 * paragraph_pimpl.h:
8369 * paragraph_pimpl.C: cleanup
8371 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8373 * text2.C (removeRow):
8374 * text.C (setHeightOfRow): remove useless (and costly) call to
8377 2001-11-20 Allan Rae <rae@lyx.org>
8379 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8380 Now need Inset*::checkInsertChar() to return true for appropriate
8381 cases so that the characters in the minibuffer will actually be
8384 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8386 * text.C: change the order of the includes.
8387 (workWidth): initialize it at once.
8388 (workWidth): make maxw unsigned
8389 (setHeightOfRow): remove unused variable (inset)
8390 (selectSelectedWord): remove unused variable (inset)
8391 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8393 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8396 server is not running.
8398 (closeConnection): add debug info when server is disabled.
8400 * ColorHandler.C (getGCForeground): send debug message to GUI
8403 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8405 * kbmap.C (bind): modify because return conventions of
8406 kb_sequence::parse have changed.
8408 * kbsequence.C (parse): only ignore spaces and not any stupid
8409 control character. This avoids tests like s[i] <= ' ', which are
8410 guaranteed to fail with 8bit characters and signed chars.
8411 Change return code to string::npos when there have been no error
8412 (0 was a bad idea when error is at first character)
8414 2001-11-14 José Matos <jamatos@fep.up.pt>
8417 * buffer.C (simpleDocBookOnePar): removed unused argument.
8419 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8421 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8422 insets which are part of a word. Paragraph::isLetter takes care of
8423 that now. Use Paragraph::isInset to identify insets.
8424 (selectSelectedWord): do not test for hyphenation break.
8426 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8427 that protected spaces are considered as spaces.
8429 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8432 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8435 * lyxserver.C: fix it. and small cleanup.
8437 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8439 * BufferView_pimpl.C: use inline helpers
8442 * LaTeXFeatures.C: fix typos
8445 * Spacing.C: move spacing_string into class
8447 * ToolbarDefaults.C: move stuff into namespace anon
8449 * layout.h: update enum
8451 * lyxfunc.C: use better debug
8453 * minibuffer.h: fix typo
8457 * WorkArea.C: add and use Debug::WORKAREA
8461 * text2.C: code re-organisation, inline helpers
8463 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8465 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8466 std::vector.empty().
8468 2001-11-09 Allan Rae <rae@lyx.org>
8470 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8471 '\n's after tables. Tabular and ERT inset work now makes this no
8474 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8477 * minibuffer.C: fix crash, improve drop-down completion
8479 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8482 * lyxserver.C: invalidate fd's when doing endPipe()
8484 2001-11-08 José Matos <jamatos@fep.up.pt>
8486 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8487 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8490 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8492 2001-11-07 José Matos <jamatos@fep.up.pt>
8495 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8498 * buffer.C (sgmlOpenTag):
8499 * buffer.C (sgmlCloseTag): removed debug info.
8501 * buffer.h (sgmlOpenTag):
8502 * buffer.h (sgmlCloseTag): made public.
8504 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8506 * buffer.C (saveParamsAsDefaults):
8507 * lyx_cb.C (MenuLayoutSave): remove
8509 * LyXAction.C (init):
8511 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8513 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8515 * buffer.C (setPaperStuff): removed from here...
8517 * bufferparams.C (setPaperStuff): ... and moved there.
8519 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8523 * XFormsView.C: add support for drop-down completion
8525 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8527 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8530 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8532 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8535 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8537 * lyx_main.C: change ref to known bugs
8539 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8541 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8542 to work around older babel problems.
8544 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8546 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8548 2001-10-24 Juergen Vigna <jug@sad.it>
8550 * tabular-old.C (ReadOld): below variable changes reflected.
8552 * tabular.[Ch]: added ltType struct for longtable header/footer
8553 defines and changed all instances where they are used. Added
8554 future support for double top/bottom rows.
8556 2001-10-24 José Matos <jamatos@fep.up.pt>
8558 * buffer.h (docbookHandleCaption):
8559 * buffer.C (docbookHandleCaption): removed unused function.
8560 (makeDocBookFile): moved docbook supported version to v4.1.
8562 2001-10-24 José Matos <jamatos@fep.up.pt>
8565 * tabular.C (docbookRow): new function to export docbook code of a row.
8566 (DocBook): now honors the longtable flags.
8568 2001-10-23 José Matos <jamatos@fep.up.pt>
8571 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8572 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8574 * buffer.C (makeLinuxDocFile):
8575 (makeDocBookFile): reworked the preamble, more clean, and with
8576 support for lyx defined entities. Changed the document declaration
8577 to be more XML friendly.
8579 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8580 if we need to output XML that should be done with a filter.
8582 2001-10-22 Juergen Vigna <jug@sad.it>
8584 * sp_pspell.h (class PSpell): add alive function needed in the
8585 controller to see if the spellchecker could be started.
8587 2001-10-22 Juergen Vigna <jug@sad.it>
8589 * buffer.C (insertStringAsLines): modify the font for inserting
8590 chars in certain conditions by calling checkInsertChar(font).
8592 2001-10-19 Juergen Vigna <jug@sad.it>
8594 * text.C (workWidth): use getRow instead of wrong algorithm.
8595 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8597 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8602 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8604 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8606 * text.C (workWidth): do not search for the exact row when
8607 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8608 optimization for big documents.
8610 2001-10-18 Juergen Vigna <jug@sad.it>
8612 * text.C (workWidth): new function with added Inset * parameter.
8614 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8616 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8618 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8619 change return type of getColumnNearX.
8622 * text.C (changeRegionCase): use uppercase/lowercase instead of
8625 (rightMargin): simplify code by factoring out the uses of
8630 (appendParagraph): use Paragraph::size_type
8632 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8634 * vspace.C (asLatexString): add a missing break
8636 2001-10-15 Herbert Voss <voss@perce.de>
8638 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8640 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8642 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8645 2001-10-10 André Pönitz <poenitz@gmx.net>
8647 * lyxfunc.C: removed greek_kb_flag.
8649 2001-10-10 Herbert Voss <voss@perce.de>
8651 * lyx_main.C: delete global string help_lyxdir.
8653 2001-10-09 Herbert Voss <voss@perce.de>
8655 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8657 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8659 * lyx_main.C: added global string help_lyxdir.
8661 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8663 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8665 * lyxrc.C (set_font_norm_type): support iso8859-4
8667 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8669 * LaTeX.C (deplog): add another regex for MikTeX
8671 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8673 * lyxrc.C (set_font_norm_type): support iso8859-3
8675 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8679 * LaTeXFeatures.C: remove special case of french and index
8681 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8682 before \begin{document}). This solves several incompatibilities.
8684 2001-10-03 Garst Reese <reese@isn.net>
8686 * lyx_cb.C: change CheckTex error msg.
8688 2001-10-03 José Matos <jamatos@fep.up.pt>
8690 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8692 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8694 * .cvsignore: update
8696 * lyx_main.C (commandLineVersionInfo): use new style version info.
8698 * buffer.C (writeFile):
8701 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8703 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8705 * version.h: update to use stuff in version.C
8707 * version.C.in: new file. Contains version information determined
8708 at compile time. This is a merging of version.h and
8711 2001-10-03 Juergen Vigna <jug@sad.it>
8713 * BufferView_pimpl.C (update): don't change "dirty" status in
8716 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8718 * WorkArea.C (c-tor): re-position version string slightly.
8720 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8722 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8723 revert to previous code.
8725 WorkArea.[Ch]: (show, destroySplash): methods removed.
8727 WorkArea.C: rework code so that it's an amalgam of the codes before and
8728 after the splash screen was moved to WorkArea.
8730 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8733 * vspace.C (inPixels):
8736 * buffer.C (insertStringAsLines):
8737 (asciiParagraph): fix types to be large enough
8739 * lyxlex_pimpl.h: change member status from short to int
8741 * layout.h: fix type of endlabeltype
8744 * kbsequence.C (parse): change return type to string::size_type
8746 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8749 * Bullet.C (bulletSize):
8750 (bulletEntry): do not use short ints as parameters
8752 * BufferView2.C (insertLyXFile): change a char to an int.
8754 * WorkArea.C (WorkArea): remove unneeded floats in computation
8756 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8758 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8760 * paragraph.C (asString): Do not ignore newline/hfill chars when
8761 copying to the clipboard.
8763 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8765 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8766 after a multi-line inset.
8768 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8770 * paragraph.C (validate): Set NeedLyXFootnoteCode
8772 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8774 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8775 and decrease-error to decrease.
8777 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8779 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8780 it more readable (should be equivalent)
8782 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8784 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8786 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8788 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8789 of a cursor (row, etc.) after a character has been deleted
8790 (deleteEmptyParagraphMechanism): call the method above on _all_
8791 cursors held by the LyXText when a double space has been
8794 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8796 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8798 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8800 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8801 background. Use greyOut() and the new show() methods to toggle between
8802 the foreground and background. Add code to remove the splash after
8803 its initial showing.
8805 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8806 (create_forms): no longer call Dialogs::showSplash.
8808 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8810 * .cvsignore: add version_info.h
8812 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8814 * version_info.h.in: new file
8816 * Makefile.am: add version_info.h.in
8818 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8819 version_info.h instead of VERSION_INFO
8821 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8823 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8824 The ERT inset now returns string().
8826 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8828 * lyxtext.h, text.C (selectNextWord): renamed as
8829 selectNextWordToSpellcheck.
8831 * text.C (selectNextWordToSpellcheck): Modified to not select
8832 words inside an ERT inset.
8834 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * lyx_cb.C (MenuLayoutSave): change a bit the question
8838 * sp_base.h: include <sys/types.h>
8840 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8842 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8844 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8846 * several files: fix typos in user-visible strings
8848 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8850 * text2.C (pasteSelection): do not set the selection, since it
8851 will be cleared later. Actually, the intent was to fix the way the
8852 selection was set, but I figured rmoving the code was just as good.
8854 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8856 * FontLoader.C (available): Check if font is available without
8859 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8861 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8863 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8865 * lyxrc.[Ch]: added display_graphics variable and associated code.
8867 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8869 * bufferparams.C (hasClassDefaults): new method. Returns true if
8870 the buffer parameters correspond to known class defaults
8872 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8874 * XFormsView.C (show): set minimum size to the main window.
8876 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8878 * text2.C (copySelection):
8880 * lyxfind.C (LyXReplace):
8881 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8882 LyXText::selectionAsString.
8884 * paragraph.C (asString): add "label" argument to the second form
8886 * text2.C (selectionAsString): add "label" argument and pass it to
8887 Paragraph::asString.
8889 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8891 * lyx_main.C (commandLineHelp): remove version information
8893 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8895 * lyx_main.C: add -version commandline option
8897 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8899 * paragraph.h: make the optional constructor arg required instead.
8900 some modifications to other files because of this.
8902 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8904 * lyxserver.C (C_LyXComm_callback): make it static
8906 * lyx_main.C (error_handler): make it static
8908 * lyx_gui.C (LyX_XErrHandler): make it static
8910 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8912 * WorkArea.C: make the extern "C" methods static.
8914 * Makefile.am (lyx_LDADD): simplify
8916 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8918 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8919 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8921 * LyXAction.C (init):
8922 * lyxfunc.C (dispatch): associated code removal.
8924 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8926 * lyxfont.h (isSymbolFont): shut off warning
8928 * text.C (setHeightOfRow):
8929 (getVisibleRow): fix crash with empty paragraphs which have a
8932 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8934 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8937 2001-09-04 José Matos <jamatos@fep.up.pt>
8940 * tabular.C (docbook): rename docBook method to docbook.
8942 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8944 * Makefile.am: add dependencies to main.o.
8946 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8948 * FontLoader.C (available): Return false if !lyxrc.use_gui
8950 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8952 * FontInfo.C (query):
8953 * converter.C (view):
8954 * importer.C (Import):
8955 * exporter.C (Export): Can not -> cannot.
8957 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8959 * BufferView_pimpl.C: allow to create index inset even if
8962 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8964 * buffer.C (getLists): replace boost::tie code with an explicit pair
8965 as boost::tie can break some compilers.
8967 * iterators.h: Added a std:: declaration to the return type of
8970 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8972 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8975 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8977 * iterators.[Ch]: New files. Provide paragraph iterators.
8979 * buffer.C (changeLanguage): Use paragraph iterators.
8980 (isMultiLingual): ditto
8982 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8984 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8986 * FontLoader.C: Support for cmr font.
8988 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8990 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8991 (available): New method.
8993 * FontInfo.C (getFontname): Use scalable fonts even when
8994 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8997 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8999 * converter.C (Formats::view): reverted! Incorrect fix.
9001 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9003 * converter.C (Formats::view): only output the -paper option
9004 if the dvi viewer is xdvi, thereby fixing bug #233429.
9006 2001-08-23 Herbert Voss <voss@perce>
9008 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9010 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9012 * Spacing.h (Spacing): Set space to Default on in the default
9015 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9017 * vc-backend.h (RCS::versionString): add RCS to version
9018 (CVS::versionString): add CVS to version
9020 * vc-backend.C (scanMaster): do not add CVS to version.
9021 (scanMaster): do not add RCS to version
9023 * lyxvc.C (versionString): new method
9025 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9027 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9029 * Spacing.C (set): initialize fval
9031 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9033 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9036 2001-08-16 Juergen Vigna <jug@sad.it>
9038 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9040 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9042 * BufferView_pimpl.C:
9045 * text2.C: setParagraph takes linespacing now
9047 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9049 * LyxAction.C: add internal LFUN_CITATION_INSERT
9051 * LyXView.C: actually apply fix
9053 * bufferlist.C: fix open non-existent file
9055 * lyxfind.C: fix indentation
9057 * lyxfunc.C: remove unneeded assert, fix typo
9059 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9061 * MenuBackend.C: use "Floatname List"
9063 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9065 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9066 when converting LaTeX layout to insetERT.
9067 Generate a non-collapsed float when reading old float
9069 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9071 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9074 2001-08-13 Juergen Vigna <jug@sad.it>
9076 * text.C (fill): return 0 instead of 20 as this seems to be the more
9079 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9081 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9084 2001-08-13 Juergen Vigna <jug@sad.it>
9086 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9088 (SearchBackward): comment out the unlocking of the inset_owner this
9089 should not be needed!
9091 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9093 * Many files: Remove inherit_language, and add latex_language
9095 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9098 2001-08-10 Juergen Vigna <jug@sad.it>
9100 * text.C (prepareToPrint): fixed hfill-width in draw!
9102 * BufferView2.C (selectLastWord): save the selection cursor as this
9103 now is cleared in the function LyXText::clearSelection!
9105 2001-08-08 Juergen Vigna <jug@sad.it>
9107 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9108 BACKSPACE type functions.
9110 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9111 is only cutted from the document but not put in the cut-buffer, where
9112 still the old stuff should be.
9114 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9116 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9118 * tabular.C (SetWidthOfCell): fixed special case where the width
9120 (LeftLine): handle '|' in align_special.
9122 (LeftAlreadyDrawed): ditto
9123 (SetWidthOfCell): ditto
9125 2001-08-07 Juergen Vigna <jug@sad.it>
9127 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9129 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9132 * lyxlex.[hC]: ditto
9134 2001-08-06 Juergen Vigna <jug@sad.it>
9136 * text.C (getVisibleRow): fix up row clearing a bit.
9138 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9140 * minibuffer.C: make sure the X server sees the changes in the input.
9142 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * paragraph.C (getFont): split into...
9145 (getLabelFont): this
9146 (getLayoutFont): and this
9147 * paragraph_pimpl.C (realizeFont): calling this
9149 * text2.C (getFont): split into...
9150 (getLayoutFont): this
9151 (getLabelFont): and this
9152 (realizeFont): all three calling this
9154 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9157 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9159 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9161 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9163 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9164 layouts from the Quote inset insertion.
9166 2001-08-03 Juergen Vigna <jug@sad.it>
9168 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9170 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9171 only if status not is already CHANGED_IN_DRAW (second level).
9173 * text.C (draw): don't set the need_break_row when inside an
9176 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9178 * buffer.C (parseSingleLyXformat2Token): handle more latex
9181 * bufferview_funcs.[hC]: change function names to
9182 begin with small char, adjust other files.
9184 2001-08-02 André Pönitz <poenitz@gmx.net>
9187 BufferView_pimpl.C: remove broken special code for math-greek
9189 2001-08-02 Juergen Vigna <jug@sad.it>
9191 * BufferView_pimpl.C (update): redone this function so that we
9192 update the text again if there was a CHANGE_IN_DRAW.
9194 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9195 (drawFromTo): added a new internal bool which is used by draw() and
9197 (general): some cursor drawing problems fixed.
9199 2001-08-01 Juergen Vigna <jug@sad.it>
9201 * lyxfind.C (LyXFind): fixed
9202 (SearchForward): ditto
9203 (SearchBackward): ditto
9205 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9206 spurius drawing of the cursor in the main area.
9208 * text2.C (status): small fix which could lead to a segfault!
9209 (clearSelection): remove unneeded BufferView param.
9211 2001-08-01 André Pönitz <poenitz@gmx.net>
9213 * lyxfunc.C: small change due to changed mathed interface
9215 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9217 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9219 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9221 * lyxfunc.c: fail gracefully if file doesn't exist
9226 * BufferView_pimpl.C: IsDirWriteable() proto changed
9228 * LyXView.C: fix updateWindowTitle() to store the last title
9230 2001-07-31 Juergen Vigna <jug@sad.it>
9232 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9233 the font (wrong since using of Paragraph::highestFontInRange).
9235 * paragraph.C (highestFontInRange): added a default_size parameter.
9237 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9238 (setHeightOfRow): reformat
9240 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9242 * converter.[hC] + affected files: move to (inital-char)lowercase
9245 * ParagraphParameters.C (ParagraphParameters): remove commented code
9247 * PainterBase.[Ch]: remove commented code
9249 * LaTeXFeatures.h: add "bool floats" for float.sty
9251 * LaTeXFeatures.C (LaTeXFeatures): init floats
9252 (require): handle float
9253 (getPackages): do it with floats
9255 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9257 * BufferView_pimpl.C (Dispatch): improve handling of
9258 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9260 * commandtags.h: #include lyxfont.h here temporarily to avoid
9263 * bufferlist.h: include LString.h here.
9265 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9267 * text2.C (getStringToIndex): new method.
9269 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9271 * *: Reduced header file dependencies all over.
9273 2001-07-30 Baruch Even <baruch@lyx.org>
9275 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9277 2001-07-29 Baruch Even <baruch@lyx.org>
9279 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9281 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9283 * ParameterStruct.h (endif): add a default constructor to make
9284 sure that all variables is initialized.
9286 * ParagraphParameters.C (ParagraphParameters): adjust
9288 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9290 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9291 index; also, check that there is something to index, and that it
9292 does not span over several paragraphs.
9293 (doubleClick): use WHOLE_WORD_STRICT for double click.
9295 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9297 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9300 2001-07-26 Baruch Even <baruch@lyx.org>
9302 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9303 an InsetFig figure, backwards compatible reading of old figure code.
9305 2001-07-27 Juergen Vigna <jug@sad.it>
9307 * text2.C: font.realize function adaption.
9309 * text.C (draw): add a warnings lyxerr text if needed.
9311 * layout.C: font.realize function adaption.
9313 * language.C: add inherit_language and implement it's handlings
9315 * bufferview_funcs.C (StyleReset): remove language parameter from
9316 font creation (should be language_inherit now).
9318 * bufferparams.C (writeFile): handle ignore_language.
9320 * paragraph.C (getFontSettings): the language has to be resolved
9321 otherwise we have problems in LyXFont!
9323 * lyxfont.C (lyxWriteChanges): added document_language parameter
9324 (update): removed unneeded language parameter
9326 * paragraph.C (validate): fixed wrong output of color-package when
9327 using interface colors for certain fonts in certain environments,
9328 which should not seen as that on the final output.
9330 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9332 * BufferView_pimpl.C:
9337 * LyXAction.C: add thesaurus support
9340 * lyxfind.C: add "once" parameter, for thesaurus, to not
9341 move to the next match
9343 2001-07-26 Juergen Vigna <jug@sad.it>
9345 * lyxfont.C (realize): honor ignore_language too!
9348 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9350 * text.C (draw): one place more for ignore_language to not draw
9353 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9355 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9357 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9360 the minipage conversion problem.
9362 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9367 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9369 * BufferView.h: don't forward declare WorkArea
9371 * BufferView.C: don't include WorkArea.h
9373 2001-07-25 André Pönitz <poenitz@gmx.net>
9377 * lyxfunc.C: new LFUN 'math-space'
9379 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9381 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9383 * text2.C (toggleInset): call open/close
9385 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * lyxfunc.C (dispatch): add debug for the disabled case
9389 * font.C (buttonText): make similar to rectText
9391 * buffer.C (readInset): comment out parsing of insetlist and
9394 * PainterBase.C (rectText): small correction
9396 * BufferView_pimpl.C: comment out insettheorem and insetlist
9397 * LyXAction.C: ditto
9398 * commandtags.h: ditto
9400 2001-07-24 Juergen Vigna <jug@sad.it>
9402 * text.C (draw): honor the ignore_language.
9404 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9406 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9408 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9411 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9413 * lyxtext.h: remove unused (and unimplemented) methods
9415 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9417 * text.C (getVisibleRow): honor background color
9420 * Painter.h: remove default color argument for fillRectangle
9422 * text.C (backgroundColor): new method
9424 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9426 * text.C (getVisibleRow): adjust
9428 * font.[Ch] (rectText): new method, metrics
9429 (buttonText): new method, metrics
9431 * PainterBase.[hC]: make rectText and buttonText always draw and take
9434 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9436 * ToolbarDefaults.C (read):
9437 * MenuBackend.C (read): allow escaping in all strings
9439 * BufferView_pimpl.C (insertAndEditInset): new method.
9440 (Dispatch): use insertAndEditInset whenever appropriate.
9442 * BufferView_pimpl.C (insertNote): removed
9444 * BufferView_pimpl.C (smartQuote): new method, moved from
9445 BufferView; if an insetquote cannot be inserted, insert a '"'
9448 * BufferView2.C: remove insertCorrectQuote();
9450 * lyxfunc.C (getStatus): Add support for all remaingin
9453 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9455 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9456 command (necessary to pass " as parameter of self-insert.
9458 * text.C (selectWordWhenUnderCursor):
9459 (selectWord): add word_location parameter
9460 (selectWordWhenUnderCursor): same + remove special code for word
9462 (selectNextWord): use kind() to guess type of insetspecialchar,
9465 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9466 (insertErtContents): create ert insets as collapsed.
9467 (readInset): better compatibility code for Info inset.
9469 2001-07-20 Juergen Vigna <jug@sad.it>
9471 * lyxfunc.C (dispatch): use always LyXFind now!
9473 * text2.C (init): add a reinit flag so that the LyXText can be
9474 reinited instead of deleted and reallocated (used in InsetText).
9476 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9482 2001-07-18 Juergen Vigna <jug@sad.it>
9484 * text.C (selectNextWord): handle insets inside inset by calling
9485 always the bv->text functions so that we can go up the_locking_inset!
9487 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9488 in strange locations when inside an inset!
9490 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9491 handling to include insets.
9493 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9495 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9497 * LyXAction.C (init):
9499 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9500 LIGATURE_BREAK, since the name is so stupid.
9502 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9504 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9507 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9509 * sp_form.[Ch]: remove.
9511 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9513 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9516 * src/buffer.C (readInset): ditto.
9518 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9520 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9521 menuSeparator(), endOfSentenceDot(), ldots() and
9522 hyphenationPoint(), which are therefore removed.
9523 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9525 * LyXAction.C (init):
9526 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9528 * paragraph.C (getWord): removed.
9530 * BufferView_pimpl.C (Dispatch): use last word or selection for
9531 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9533 * lyx_main.C (queryUserLyXDir): do not ask before creating
9534 user_dir, except if it has been named explicitely.
9536 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9538 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9539 a document of zero size.
9541 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9543 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9544 approriately in the c-tor and in require().
9545 (getPackages): output the appropriate LaTeX for natbib support.
9547 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9548 variables "use_natbib" and "use_numerical_citations" when reading the
9550 (readInset): read the various natbib cite commands.
9551 (validate): white-space change.
9553 * bufferparams.[Ch]: new variables "bool use_natbib" and
9554 "bool use_numerical_citations".
9555 (writeFile): output them in the LyX file.
9557 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9559 * lyxfunc.C (getStatus): add support for all the inset insertion
9562 * text2.C (insertInset):
9563 * paragraph.C (insetAllowed):
9564 * BufferView_pimpl.C (insertInset): update to take in account the
9565 renaming of insertInsetAllowed
9567 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9569 * text2.C (getInset): new method. returns inset at cursor position.
9571 * BufferView_pimpl.C (Dispatch): changes because of this.
9573 * LyXAction.C (init): rename open-stuff to inset-toggle.
9575 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9577 * text2.C (toggleInset): renamed from openStuff; use
9580 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9582 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9584 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9586 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9588 * buffer.C (readLyXformat2): Add filename to the error dialog
9590 2001-07-18 Juergen Vigna <jug@sad.it>
9592 * tabular.C (GetCellNumber): put an assert here instead of the check!
9594 2001-07-17 Juergen Vigna <jug@sad.it>
9596 * BufferView_pimpl.C (toggleSelection): adapted too.
9598 * text.C (selectNextWord): adapted for use with insets.
9599 (selectSelectedWord): ditto
9601 2001-07-17 Juergen Vigna <jug@sad.it>
9603 * sp_spell.C (PSpell): fix initialitation order.
9605 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9607 * paragraph.C: spacing
9609 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9611 * sp_spell.C: repair language selection for pspell
9613 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * lyxfunc.h: change more methods to begin with lower char.
9617 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9619 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9620 for unknown layouts.
9622 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9624 * buffer.C (readLyXformat2): Generate an error dialog if there are
9627 2001-07-16 Juergen Vigna <jug@sad.it>
9629 * sp_spell.C: always compile ISpell part.
9631 * lyxrc.C: added use_pspell entry and it's handling.
9633 2001-07-13 Juergen Vigna <jug@sad.it>
9635 * sp_spell.C: removed double includes.
9637 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9639 Consistent use of Lsstream.h:
9640 * Lsstream.h: added using std::stringstream for consistencies sake.
9642 * buffer.C: removed using std::stringstream
9644 * lyxfont.C (stateText):
9645 * paragraph.C (asString):
9646 * text.C (selectNextWord, selectSelectedWord):
9647 * text2.C (setCounter):
9648 * vspace.C (asString, asLatexString):
9649 std::ostringstream -> ostringstream.
9651 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9653 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9654 * commandtags.h: add LFUN_HELP_ABOUTLYX
9655 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9657 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9659 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9661 * lyx_gui_misc.C: remove spellchecker
9662 * lyxfunc.C: showSpellchecker
9664 * sp_ispell.h: added
9665 * sp_pspell.h: added
9667 * sp_form.[Ch]: removed
9668 * spellchecker.[Ch]: removed
9670 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9672 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9674 (simpleTeXSpecialChars): Simply print the input character without
9675 any special translation if pass_thru is set.
9677 * layout.h: Added bool pass_thru to layout class for being able to
9678 implement pass through of a paragraph for Literate Programming.
9680 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9681 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9682 * layout.C (Read): add "passthru" to list of layout tags and add
9683 code to set the pass_thru boolean when it is read.
9685 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9687 * trans_decl.h: remove allowed from KmodInfo
9689 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9693 * paragraph_pimpl.C (erase): use boost::prior
9695 * Painter.C (text): use data() instead of c_str() when length is
9697 * WorkArea.C (putClipboard): ditto
9698 * font.h (width): ditto
9700 * BufferView2.C: use it-> instead of (*it). for iterators
9702 * paragraph_pimpl.C: ditto
9703 * paragraph.C: ditto
9704 * minibuffer.C: ditto
9709 * converter.C: ditto
9711 * Variables.C: ditto
9712 * TextCache.C: ditto
9713 * MenuBackend.C: ditto
9714 * LyXAction.C: ditto
9716 * FloatList.C: ditto
9718 * ColorHandler.C (LyXColorHandler): ditto
9720 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9722 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9724 * text2.C (openStuff): reintroduce this method (which had been
9725 nuked in NEW_INSETS frenzy).
9727 * lyxfunc.C (Dispatch): when an action has not been handled, use
9728 its name in the error message, not its number.
9730 * paragraph.C (inInset): change method name to begin with lowercase.
9733 * text2.C: updates because of this.
9735 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9737 * ToolbarDefaults.C (add): add spaces in error message
9739 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9741 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9742 (readLyXformat2): rename return_par to first_par, use lyxlex's
9743 pushToken and remove the manual push handling.
9744 (parseSingleLyXformat2Token): add another ert comp. variable:
9745 in_tabular, rename return_par to first_par. handle newlines better
9747 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9749 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9751 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * text2.C (getParFromID): removed
9755 * buffer.C (getParFromID): new method moved form lyxtext.
9756 * BufferView2.C (insertErrors): adjust
9757 (setCursorFromRow): adjust
9758 * BufferView_pimpl.C (restorePosition): adjust
9759 * lyxfunc.C (Dispatch): adjust
9760 * undo_funcs.C (textUndo): adjust
9762 (textHandleUndo): adjust
9763 (textHandleUndo): adjust
9765 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9767 * buffer.C: up' the LYX_FORMAT
9769 * lyxfont.h: turn NO_LATEX on as default
9771 * buffer.C (insertErtContents): new methods of tex style compability.
9772 (parseSingleLyXformat2Token): use it several places.
9773 * tabular.C (OldFormatRead): and here
9775 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * text2.C: remove some commented code.
9780 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9781 * trans.C: changes because of the above.
9783 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9785 * text2.C (setCounter): Fix counters bug with bibliography layout.
9787 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9789 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9790 own member functions
9791 (simpleTeXSpecialChars): ditto
9793 2001-07-06 Juergen Vigna <jug@sad.it>
9795 * a lot of files: changed the access to LyXText::status and the
9796 call of undo-functions.
9798 * undo.[Ch]: added a inset_id to the undo informations.
9800 * undo_funcs.[Ch]: added and moved here all undo functions.
9802 * lyxtext.h: give the status enum a weight, made status_ a private
9803 variable and made accessor functions for it, removed the whole bunch
9804 of undo-functions as they are now in their own file, make some
9805 functions publically available. Added function ownerParagraph with
9808 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9809 made InInset() a const function, added getParFromID() function.
9811 * buffer.[Ch]: added const version for inset_iterator functions,
9812 added getInsetFromID() function.
9814 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9815 changed undo functions for new version.
9817 2001-07-05 Juergen Vigna <jug@sad.it>
9819 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9820 unknow mechanism does not call the proper constructor but only this
9821 one also if I request the other!?
9823 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9827 * text2.C (LyXText): use initialization lists.
9829 * lyxtext.h (Selection): initialize set_ and mark_
9830 (init): remove method
9832 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9834 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9836 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9838 * screen.[Ch]: change method names to begin with lowercase
9840 * BufferView_pimpl.C (updateScrollbar): simplify further and
9841 hopefully make it a bit faster.
9843 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9845 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9846 calling directly xforms functions.
9848 * Painter.C (Painter):
9849 * lyx_cb.C (MenuWrite):
9850 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9853 * lyx_gui.C: remove bogus guiruntime extern declaration.
9855 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9857 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9859 (redoDrawingOfParagraph): ditto
9860 (redoParagraphs): ditto
9861 (cutSelection): don't create a object for CutAndPaste use the
9862 static method directly
9863 (pasteSelection): ditto
9865 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9868 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * modifications to some other files because of this.
9872 * Makefile.am (lyx_SOURCES): add XFormsView
9874 * XFormsView.[Ch]: new files
9876 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9877 the main window. Move the gui dependent stuff to XFormsView
9879 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9881 * tabular.C (GetCellInset): update cur_cell also in the row/col
9882 version of this function.
9884 * lyxfunc.C: no need to include figure_form.h here.
9890 * lyxvc.C: no need to include forms.h here.
9892 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9894 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9896 * lyxfunc.C (Dispatch):
9898 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9899 constructor argument.
9901 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9903 * paragraph.C (Paragraph): dont't clear, and just set layout.
9904 (makeSameLayout): use params's copy contructor.
9906 * ParagraphParameters.[Ch] (makeSame): delete method
9908 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9910 * Variables.[Ch]: fix indentation, rename set to isSet
9912 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9914 * lyxfunc.C (Dispatch): fix typo
9916 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9918 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9921 * bufferlist.C: include assert.h for emergencyWrite().
9923 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9925 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9926 give up at last (bug #425202) !
9928 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9934 * spellchecker.C: strip spellchecker options and bring up
9935 preferences tab instead
9937 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9939 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9940 the istringstream constructor
9942 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9944 * paragraph.C (getLayout): fix return value
9946 * paragraph.h: do not declare getLayout as inline.
9948 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9950 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * lyxcursor.h (operator<): new func
9953 (operator>): new func
9954 (operator>=): new func
9955 (operator<=): new func
9957 * text.C (changeCase): use selection.start and selection.end
9958 (changeRegionCase): require from to be <= to. Require par to be a
9961 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9963 2001-06-27 Juergen Vigna <jug@sad.it>
9965 * text.C (cursorLeftOneWord): changed to return the cursor and added
9966 overlay with BufferView * parameter which calls this one.
9968 (selectWord): use new getWord function.
9969 (changeCase): renamed from changeWordCase as and extended to work
9972 * lyxtext.h: added enum word_location
9974 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9975 changeCase as this operates now also on selections.
9977 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9979 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9981 * many files: send debug output to Debug::INFO instead of
9984 * converter.C (View):
9986 (Move): send debug output to Debug::FILES instead of console.
9988 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9990 * lyxfunc.C (getStatus): use func_status
9992 * func_status.h: new header, describing the results of
9995 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9998 2001-06-25 The LyX Project <jug@sad.it>
10000 * buffer.C (sgmlOpenTag):
10002 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10004 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10006 * text2.C: remove some dead code
10008 * tabular.C (GetCellInset): store the last cell checked (gotten)
10010 * tabular.h: add the helper for the speedup
10012 * lyxtext.h: remove some dead code
10014 2001-06-26 The LyX Project <Asger>
10016 * paragraph.C: Change export to LaTeX of alignment to
10017 \begin{center} and family for better roundtrip work with reLyX.
10019 * Tune the math drawing a bit.
10021 2001-06-25 The LyX Project <Asger>
10023 * LColor.C (LColor): New color for math background. New color
10026 2001-06-25 The LyX Project <jug@sad.it>
10028 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10030 * lyxfunc.C (Open):
10031 * bufferlist.C (newFile): do not restrict to files ending with
10034 * BufferView_pimpl.C (MenuInsertLyXFile):
10036 2001-06-24 The LyX Project <jug@sad.it>
10038 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10041 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * lyxtext.h: rename most methods to begin with a small char.
10044 Lots of changes because of this.
10046 * paragraph.C (Paragraph): do not call fitToSize
10047 (erase): call Pimpl::erase
10048 (insertChar): call Pimpl::insertChar
10049 (insertInset): call Pipl::insertInset
10050 (breakParagraph): do not call fitToSize
10051 (breakParagraphConservative): do not call fitToSize
10052 (fitToSize): remove method
10054 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10056 2001-06-24 The LyX Project <Asger>
10058 * Fix Qt compilation^2
10060 2001-06-24 The LyX Project <jug@sad.it>
10062 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10063 depthHook(getDepth()-1).
10066 * ParagraphParameters.h:
10067 * ParameterStruct.h: change type of depth to unsigned int ==
10068 depth_type. Many adaptations to other files before of that.
10070 2001-06-24 The LyX Project <Asger>
10072 * Fix Qt compilation.
10074 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10076 * paragraph.h: renamed several methods to begin with small letter.
10077 several changes to many parts of the code because of this.
10079 2001-06-23 The LyX Project <jug@sad.it>
10081 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10082 rewritten to discard all double spaces when KeepEmpty is off
10083 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10084 to only handle newlines but not fiddle with spaces and friends.
10086 * lyxfunc.C (MenuNew): when doing 'new from template', use
10087 template_path as default directory
10089 2001-06-23 The LyX Project <Asger>
10091 * Clean-up of header file includes all over
10092 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10094 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10096 * paragraph.h: renamed from lyxparagraph.h
10098 2001-06-23 Asger <lyx@violet.home.sad.it>
10100 * Buffer.h: Removed Buffer::resize
10101 * BufferList.h: Removed BufferList::resize
10102 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10103 the document lazily when we change the width, or the font settings.
10105 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10107 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10109 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10111 * buffer.h: remove out of date comment
10113 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10116 * screen.C: fix "theoretical" GC leak
10118 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10120 * LaTeX.C (scanAuxFile):
10121 (deplog): remove trailing \r when reading stream (useful under
10124 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10126 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10127 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10128 and BufferView::theLockingInset(Inset*), so should use them and not
10129 access bv_->text->the_locking_inset directly.
10131 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10133 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10136 * tex-defs.h: remove old unused file
10138 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10140 * BufferView_pimpl.C: fix typo, remove minibuffer message
10141 when buffer has loaded
10143 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10145 * lyxfunc.C (Dispatch): use stringstream
10146 (MenuNew): use stringstream
10147 (Open): use stringstream
10149 * importer.C (Import): use stringstream
10151 * bufferview_funcs.C (CurrentState): use stringstream
10153 * LaTeX.C (run): use stringstream
10155 * BufferView_pimpl.C (savePosition): use stringstream
10156 (restorePosition): use stringstream
10157 (MenuInsertLyXFile): use stringstream
10159 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10172 * vspace.C: removed // -*- C++ -*- as first line.
10175 * version.h: added // -*- C++ -*- as first line.
10177 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10181 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10184 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10186 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10189 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10191 * gettext.C: include LString.h even when --disable-nls is on.
10193 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10195 * converter.h (Get): changed argument type from int to
10196 FormatList::size_type to avoid unnecessary conversion.
10198 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10201 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10203 * gettext.h: include LString.h even when --disable-nls is on.
10205 2001-06-07 Juergen Vigna <jug@sad.it>
10207 * text.C (BreakAgain): subst spaces with tabs.
10209 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10210 (resizeInsetsLyXText): set force on resizeLyXText.
10212 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10214 * gettext.h (gettext_init):
10215 (locale_init): use a real definition instead of a macro
10217 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10219 * Bufferview_pimpl.C:
10221 * LColor.C: further lcolor tidies
10223 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10225 * BufferView_pimpl.C (updateScrollbar): simplify.
10227 * BufferView2.C: don't include insets/insetinfo.h, change
10228 prototype for insertInset and call the Pimpl version. let
10229 updateInset call Pimpl version.
10231 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10232 gotoInset to BufferView::Pimpl
10234 2001-06-01 Juergen Vigna <jug@sad.it>
10236 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10237 inside a LockingInset (is the update needed at all?).
10239 2001-05-31 Juergen Vigna <jug@sad.it>
10241 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10242 here not the old one otherwise how should we compare it afterwards
10245 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10250 * FontInfo.C: bring C functions into global namespace when
10253 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10255 * LString.h: make sure config.h has been loaded before LString.h.
10257 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10258 (one for each char read by EatLine!).
10260 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10263 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10265 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10266 to the same as the par we break from
10268 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10270 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10272 * MenuBackend.C (expand): also create menu entries for wide
10273 versions of the floats.
10275 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10277 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10279 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10280 frontends/Makefile.am
10286 * tabular.C (getTokenValue): add std::
10288 * tabular-old.C (getTokenValue): add std::
10289 (getTokenValue): ditto
10290 (getTokenValue): ditto
10292 * screen.C (ToggleSelection): adjust
10294 * lyxtext.h: put selection cursors inside a Selection struct.
10296 * lyxfunc.C (moveCursorUpdate): adjust
10298 * lyxfont.C (latexWriteStartChanges): add std::
10300 * lyxfind.C: adjust
10302 * font.h: delete with(char const *, LyXFont const &)
10304 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10306 * FontInfo.C (getFontname): add std::
10308 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10309 (workAreaButtonPress): adjust
10310 (tripleClick): adjust
10312 (moveCursorUpdate): adjust
10315 * BufferView2.C (gotoInset): adjust
10317 2001-05-30 Juergen Vigna <jug@sad.it>
10319 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10320 to check pspell I add this as default as I now have new pspell
10321 libraries and they seem to use this.
10323 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * text2.C (CutSelection): make the cursor valid before the call to
10328 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10331 relied on 0 terminated strings and other horrors. Bug found due to
10332 the new assert in lyxstring!
10334 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10337 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10339 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10342 * lyxfunc.C (processKeySym): change method of getting to the
10345 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10346 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10347 * BufferView_pimpl.[Ch]: here as private methods.
10349 2001-05-28 Juergen Vigna <jug@sad.it>
10351 * text.C (SetHeightOfRow): added the update() call again as it is
10352 needed to initialize inset dimensions!
10354 2001-05-16 Juergen Vigna <jug@sad.it>
10356 * text2.C (SetCharFont): Add new function with BufferView * and
10357 bool toggleall parameters for setting insets internal fonts.
10358 (SetFont): Freeze the undo as we may change fonts in Insets and
10359 all this change should be inside only one Undo!
10361 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10362 setting font's in insets as for them we have the SetFont function!
10364 2001-05-15 Juergen Vigna <jug@sad.it>
10366 * text2.C (ClearSelection): to be sure we REALLY don't have any
10369 * tabular.C (TeXCellPreamble): fixed the left border problem for
10372 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10374 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10377 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10380 LFUN_BREAKPARAGRAPH.
10382 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10383 help test to "internal only", similar for LFUN_INSERT_URL
10385 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10386 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10387 auto_region_delete and deadkeys.
10389 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10392 * LColor.C: remove some dead entries, tidy a little
10394 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10396 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10398 (Dispatch): implement LFUN_ESCAPE
10400 * commandtags.h: add LFUN_ESCAPE
10402 * LyXAction.C (init): add entry for LFUN_ESCAPE
10404 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10405 Remove commented code.
10406 (insertNote): moved here
10407 (open_new_inset): moved here
10409 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10412 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10414 * kbmap.C (findbinding): clean it up and make it work correctly.
10416 * lyx_main.C (init): do not pass argc and argv as parameters
10418 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10420 * buffer.C: fix path for OS/2 & Win32
10424 * lyx_main.C: Added os:: class.
10426 * os2_defines.h: update
10428 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10430 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10431 better by trying again with reduced state.
10433 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10435 * lyxrc.C (read): print error about invalid key sequence only when
10436 debugging (because not all latinX keysyms are known to some X
10439 * kbsequence.C (getiso): add a few std:: qualifiers
10440 (getiso): comment out extra return statement.
10442 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10444 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10446 (Dispatch): enhance the accent inset a bit. (not perfect)
10448 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10450 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10452 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * bufferlist.C (emergencyWrite): fix assert() call
10456 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10458 * text.C (InsertChar): Added trivial patch to only send the "you
10459 can not do multiple spaces this way" message once during a
10462 2001-05-08 Baruch Even <baruch@lyx.org>
10464 * Makefile.am: Changed order of libraries to get LyX to link properly
10465 with the gnome frontend.
10467 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10469 * LaTeXFeatures.h: add a std:: qualifier
10471 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * paragraph.C (String): use stringstream
10475 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10477 * paragraph.C (writeFile): remove footflag arg
10479 * buffer.C (makeLaTeXFile): use stringstream
10480 (latexParagraphs): remove footnot gurba
10482 * LaTeXFeatures.C (getPackages): use stringstream
10483 (getMacros): likewise
10484 (getTClassPreamble): likewise
10485 (getFloatDefinitions): new method
10487 * paragraph.C (writeFile): reindent
10490 * WorkArea.h: revert the xpos + etc changes.
10492 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10494 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10496 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10497 (pasteSelection): likewise
10498 * text2.C (CreateUndo): likewise
10500 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * minibuffer.C (peek_event): temporarily reduce the functionality
10503 of the minibuffer (to allow args on lfuns)
10505 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10506 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10508 * buffer.C (readInset): add compability reading of old float
10509 lists, add reading of new style float list.
10510 (readInset): avoid reevaluation of inscmd.getCmdName()
10511 (getLists): reindent
10513 * MenuBackend.C (MenuItem): implement parsing of
10514 md_floatlistinsert and md_floatinsert.
10515 (expand::LastFiles): move initalizaton of iterators out of loop,
10516 avoid reevaluation.
10517 (expand::Documents): introduce typdedef vector<string> Strings,
10519 (expand::ExportFormats): introduce typedef vector<Format const *>
10520 Formats, and use it.
10521 (expand): implement FloatListInsert and FloatInsert.
10523 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10524 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10525 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10527 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10529 (Dispatch::LFUN_FLOAT_LIST): implement
10531 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10533 * LaTeX.C (run): Fix problem with --export code.
10535 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10537 * BufferView.[Ch] (workarea): removed.
10538 (getClipboard) new method; wrapper for workarea()->getClipboard()
10540 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10543 * WorkArea.h (width, height, xpos, ypos): These methods all
10544 returned the dimensions of the work_area sub-area of WorkArea,
10545 resulting in a position error if the WorkArea were resized. Now
10546 return the dimensions of the entire WorkArea.
10548 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10550 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * LaTeX.C (deplog): correct the syntax of regex reg1
10554 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10556 * undo.C: remove !NEW_INSETS cruft
10558 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10560 * text2.C: remove !NEW_INSETS cruft
10562 * text.C: remove !NEW_INSETS cruft
10564 * tabular.C: remove !NEW_INSETS cruft
10566 * spellchecker.C: remove !NEW_INSETS cruft
10568 * lyxtext.h: remove !NEW_INSETS cruft
10570 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10572 * lyxfunc.C: remove !NEW_INSETS cruft
10574 * lyxfind.C: remove !NEW_INSETS cruft
10576 * lyx_cb.C: remove !NEW_INSETS cruft
10578 * figureForm.C: remove !NEW_INSETS cruft
10580 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10582 * buffer.[Ch]: remove !NEW_INSETS cruft
10584 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10586 * CutAndPaste.C: remove !NEW_INSETS cruft
10588 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10590 * BufferView2.C: remove !NEW_INSETS cruft
10592 * BufferView.h: remove !NEW_INSETS cruft
10594 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10596 * Lsstream.h: include LString.h before the sstream headers to
10597 fix problem with gcc 2.95.3 and lyxstring
10599 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10601 * lyx_main.C: add using directives when needed for C functions
10602 declared in std:: namespace.
10604 2001-04-27 Juergen Vigna <jug@sad.it>
10606 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10607 (SetHeightOfRow): comment out the update call should not be needed!
10609 2001-04-13 Juergen Vigna <jug@sad.it>
10611 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10612 (LyXTabular): tried to minimize operator= operations (and realized
10613 hopfully Lars wish).
10615 2001-04-27 Juergen Vigna <jug@sad.it>
10617 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10619 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10623 * buffer.C (readInset): hack to make listof algorithm work
10625 * BufferView_pimpl.C: hack to make listof algorithm work
10627 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10629 * LyXAction.C: removed all !NEW_INSETS cruft
10630 (init): moved lfun_item in method
10632 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10634 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10636 * BufferView2.C (theLockingInset): white space.
10638 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10640 * minibuffer.C: include <iostream>
10642 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10644 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10646 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10648 * text.[Ch] (TransposeChars): new method
10650 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * call message directly through LyXView instead of through LyXFunc
10653 * BufferView2.C: adjust
10654 * BufferView_pimpl.C: adjust
10655 * FontLoader.C: adjust
10657 * bufferview_funcs.C: adjust
10658 * converter.C: adjust
10659 * figureForm.C: adjust
10660 * importer.C: adjust
10662 * lyx_gui_misc.C: adjust
10663 * lyxfunc.C: adjust
10666 + more files in subdirs
10668 * lyxparagraph.h (size): move up int file
10671 * adjust all uses of Assert to lyx::Assert.
10673 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10674 lyxfunctional in namespace lyx
10675 * layout.C (hasLayout): ditto
10678 (delete_layout): ditto
10679 (NumberOfClass): ditto
10680 * converter.C (GetFormat): ditto
10685 * bufferlist.C (getFileNames): ditto
10686 (emergencyWriteAll): ditto
10689 * MenuBackend.C (hasSubmenu): ditto
10692 * BufferView_pimpl.C (getInsetByCode): ditto
10694 2001-04-18 Juergen Vigna <jug@sad.it>
10696 * vspace.C (asLatexString): fixed the 100% problem.
10698 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * lyxfunc.C (Dispatch):
10702 * minibuffer.h: add a few std:: qualifiers
10704 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10706 * minibuffer.[Ch]: reimplement so that commands is initiated and
10707 run from lyxfunc, simplified som handling, and made the completion
10708 and history code for complete. wip.
10710 * lyxfunc.C (processKeySym): call message
10711 (miniDispatch): new temporary method
10712 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10713 (LFUN_MESSAGE): implement
10714 (LFUN_MESSAGE_PUSH): implement
10715 (LFUN_MESSAGE_POP): implement
10716 (initMiniBuffer): the initial/defualt minibuffer message.
10718 * lyxfont.[Ch]: inline some more getters
10720 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10722 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10724 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10725 (AutoSave): use LFUN_MESSAGE
10726 (Reconfigure): ditto
10728 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10730 * figureForm.C: use LFUN_MESSAGE
10732 * converter.C (runLaTeX): use LFUN_MESSAGE
10734 * bufferview_funcs.C: use LFUN_MESSAGE
10736 (changeDepth): ditto
10738 * bufferparams.h: use boost::
10740 * bufferlist.h: inherit privately from noncopyable
10742 * bufferlist.C (loadLyXFile): remove some commented code.
10744 * buffer.C (runChktex): use LFUN_MESSAGE
10746 * ShareContainer.h: inherit privately from noncopyable
10748 * ParagraphParameters.[hC] (depth): inline it.
10750 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10752 (message): new method
10753 (messagePush): ditto
10754 (messagePop): ditto
10755 (show): init minibuffer
10756 (showState): direct call
10758 * LaTeX.[Ch]: inherit privately from noncopyable
10759 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10760 instead of WriteStatus.
10762 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10764 * BufferView_pimpl.C (buffer): don't init minibuffer
10765 (workAreaButtonPress): use LFUN_MESSAGE
10766 (workAreaButtonRelease): ditto
10767 (savePosition): ditto
10768 (restorePosition): ditto
10769 (MenuInsertLyXFile): ditto
10770 (workAreaExpose): don't init minibuffer
10771 (update): remove commented code, simplify
10773 * BufferView2.C (openStuff): use LFUN_MESSAGE
10774 (toggleFloat): ditto
10777 (copyEnvironment): ditto
10778 (pasteEnvironment): ditto
10783 (updateInset): remove some commented code
10785 * lastfiles.h: inherit privately from noncopyable
10788 * lyx_main.h: ditto
10790 * lyxlex_pimpl.h: ditto
10792 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10793 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10794 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10796 * LyXAction.h: inherit privately from noncopyable, add methods
10797 func_begin, func_end, returning iterators to the func map.
10799 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10800 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10801 (func_begin): new method
10802 (func_end): new method
10804 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10806 (copySelection): ditto
10807 (pasteSelection): ditto
10809 * BufferView.C: whitespace change
10810 * BufferView.h: inherit privately from noncopyable
10812 2001-04-16 Allan Rae <rae@lyx.org>
10814 * tabular-old.C (l_getline):
10815 * spellchecker.C (sc_check_word):
10816 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10817 an unrecognised preprocessor directive. So ensure they're wrapped.
10819 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10821 * src/exporter.C (Export): Give an error message when path to file
10824 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10826 * LaTeX.C (deplog): Always check that foundfile exists.
10828 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10831 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10833 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10835 * tabular.[Ch] (getLabelList): implement new method
10837 * minibuffer.h: comment ouf setTiimer
10839 * minibuffer.C (ExecutingCB): constify res
10840 (peek_event): constify s
10841 (Set): constify ntext
10842 (Init): constify nicename
10844 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10846 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10847 (savePosition): use two params to Minibuffer::Set
10848 (restorePosition): ditto
10850 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10852 * lyx_main.C: include language.h
10854 * Makefile.am (lyx_main.o): add language.h
10856 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10862 * CutAndPaste.C: include gettext.h
10864 * lyxfont.h: remove old hack with ON and OFF.
10867 * lyxfont.h: do not include language.h...
10872 * bufferview_funcs.C:
10878 * paragraph.C: ... but do it here instead
10880 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10882 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10884 * tabular.C: small reformat
10886 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10889 (BreakParagraph): ditto
10890 (SetOnlyLayout): ditto
10893 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10896 * lastfiles.C: removed most using decl, add std:: where needed
10898 * buffer.C: ws changes
10900 * MenuBackend.C (class compare_format): put into anon namespace
10901 (expand): constify label, names, action, action2
10904 * text.C (SingleWidth): constify font
10905 (IsBoundary): constify rtl2
10906 (GetVisibleRow): constify ww
10908 * LaTeX.C (deplog): constify logfile
10910 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10912 (workAreaExpose): constify widthChange, heightChange
10914 * lyxrow.C (par): moved
10917 * lyxrow.h: as inlines here
10919 * lyxfont.h (shape): moved from lyxfont.C
10920 (emph): moved from lyxfont.C
10922 * lyxfont.C (LyXFont): use initialization list for all
10924 (shape): move to lyxfont.h as inline
10925 (emph): move to lyxfont.h as inline
10928 2001-04-04 Juergen Vigna <jug@sad.it>
10930 * vspace.C: had to include stdio.h for use of sscanf
10932 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10935 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10936 independent of xforms.
10938 2001-04-02 Juergen Vigna <jug@sad.it>
10940 * spellchecker.C: fixed namespace placing!
10942 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10944 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10945 the LyXParagraph * is 0.
10947 2001-03-29 Juergen Vigna <jug@sad.it>
10949 * vspace.C: added support for %, c%, p%, l%.
10950 (stringFromUnit): added helper function.
10951 (asLatexString): changed to give right results for the %-values.
10953 * buffer.C: convert the widthp in a width%.
10955 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10957 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10960 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10961 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10963 * lyx_cb.[Ch]: see above.
10965 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10969 * lyx.[Ch]: replaced by figure_form.[Ch].
10973 * lyxfunc.C: changed headers associated with above changes.
10975 2001-03-27 Juergen Vigna <jug@sad.it>
10977 * BufferView_pimpl.C: set the temporary cursor right!
10979 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10981 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10983 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10985 * LString.h: removed "using std::getline"!
10987 * BufferView_pimpl.C (Dispatch): changes due to changes in
10988 InsetInclude::Params.
10990 * buffer.C (tag_name): removed redundant break statements as they were
10991 producing lots of warnings with my compiler.
10993 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10995 * LString.h: add "using std::getline" when using the real <string>.
10997 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10999 * buffer.C: removed bitset usage.
11000 PAR_TAG moved to an anonymous name space.
11001 (tag_name): new funtion, also in the anonymous namespace.
11002 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11003 (makeDocBookFile): clean code. Completed transition from string arrays
11005 (SimpleDocBookOnePar): code clean.
11007 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11009 * tabular.C: add some comments.
11011 2001-03-22 Juergen Vigna <jug@sad.it>
11013 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11014 compatibility read a bit and fixed bug with minipage in different
11017 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11019 * buffer.C (pop_tag): removed.
11020 (push_tag): removed.
11021 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11022 array replaced with vector. Added support for CDATA sections.
11023 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11025 (makeDocBookFile): XML conformant declaration of CDATA section,
11026 fixed bug related to <emphasis> in the first paragraph char.
11027 (sgmlOpenTag): exclude empty tags.
11028 (sgmlCloseTag): ditto.
11030 * buffer.h (pop_tag): removed.
11031 (push_tag): removed.
11033 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11035 * language.h (Languages): added size_type and size().
11037 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11039 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11040 response on compability reading of minipages. One probliem is that
11041 the old usage of minipages was «flertydig»
11043 * several files here and in subdirs: don't use static at file
11044 scope use anon namespaces instead.
11046 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11048 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11049 LaTeX output. This is necessary for Literate document
11052 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11054 * buffer.C: insert hfill when needed.
11056 * tabular.C (l_getline): use string::erase, small whitespace change.
11058 * BufferView_pimpl.C: try the anon namespace.
11059 * WorkArea.C: ditto
11061 2001-03-16 Juergen Vigna <jug@sad.it>
11063 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11064 otherwise it won't open options-dialogs.
11066 * buffer.C: honor pextraWidth(p) on converting minipages.
11068 * tabular.C (l_getline): changed the functions to strip trailing \r.
11070 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11072 * BufferView_pimpl.C:
11073 * minibuffer..C: added "using SigC::slot" declaration.
11075 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11077 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11083 * paragraph.C: ditto
11085 * lyxtext.h: NO_PEXTRA
11087 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11089 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11090 * ParameterStruct.h: ditto
11091 * ParagraphParameters.h: ditto
11092 * lyxparagraph.h: ditto
11094 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11096 * buffer.C: add compability for minipage alignment.
11097 (latexParagraphs): remove unwanted pextra check.
11099 * several files: remove CXX_WORKING_NAMESPACES
11101 * buffer.C (pop_tag): tie is in namespace boost
11103 * BufferView.h: noncopyable is in namespace boost
11105 * lyx_main.h: ditto
11108 * lastfiles.h: ditto
11109 * bufferlist.h: ditto
11110 * ShareContainer.h: ditto
11112 * LyXAction.h: ditto
11115 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11117 * Merging changes from BRANCH_MVC back into HEAD.
11119 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11121 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11123 * BufferView_pimpl.C: change from intl.C
11127 * Makefile.am: move combox.*
11133 * intl.C: remove dialog (covered by prefs)
11135 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11137 * lyxfunc.C (Dispatch): removed redundant break statement.
11139 2001-03-14 Juergen Vigna <jug@sad.it>
11141 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11143 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11145 * buffer.C: add hack to fix compability reading of minipages.
11147 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11149 * buffer.C (getLists): Cleanup.
11151 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11153 * lyxfont.C (update): don't honor toggleall on font size.
11155 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11159 * Makefile.am: moved to frontends/xforms/
11163 * BufferView_pimpl.C: changes for moved mathpanel
11165 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11167 * gettext.h: fix gettext_init() in --disable-nls
11169 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11173 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11176 * lyx.h: strip external form
11178 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11180 * BufferView_pimpl.C: add comment, destroySplash()
11182 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11184 * BufferView_pimpl.C:
11188 * lyxfunc.C: use re-worked insetinclude
11190 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11192 * buffer.C: add using std::stringstream.
11194 * lyx_cb.C: readd using std::ios.
11196 * buffer.C: add using std::map.
11198 * BufferView_pimpl.C: add using std::vector.
11200 * ShareContainer.h: add std:: to swap.
11202 * buffer.h: add some typedefs
11203 * buffer.C (getLists): use them
11204 (getLists): renamed from getTocList.
11205 add a counter for the different float types and use it in the
11207 (getLists): use the same counter for the NEW_INSETS and the "non"
11210 * lyx_cb.h: remove unused items, includes, using etc.
11212 * ShareContainer.h: remove some commented code, add more comments
11213 and "documentation".
11215 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11217 * buffer.C (getTocList): make the list also when NEW_INSETS is
11220 * buffer.h: remove TocType
11222 * buffer.C (getTocList): change to return a map<string,
11223 vector<TocItem> >, implement for dynamic number of list.
11225 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11226 * text2.C (PasteSelection): adjust
11227 * CutAndPaste.C (pasteSelection): adjust
11229 * FloatList.C (FloatList): update from the new_insets branch.
11230 * Floating.[Ch]: ditto
11231 * LaTeXFeatures.C: ditto
11233 * lyxlex_pimpl.C: ditto
11235 * paragraph.C (Last): remove when NEW_INSETS is defined.
11237 * other file: changes because of the above.
11239 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11241 * lyxparagraph.h: rename next to next_, previous to previous_,
11242 make them private for NEW_INSETS. Rename Next() to next(),
11243 Previous() to previous().
11245 * other files: changes because of the above.
11247 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11250 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11253 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11255 * main.C (main): pass lyx_localedir to gettext_init().
11257 * gettext.h: remove locale_init and gettext_init macros
11259 * gettext.C (locale_init): new function
11260 (gettext_init): new function
11262 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11265 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11267 * Moved credits to frontends:
11268 * credits.[Ch]: removed
11269 * credits_form.[Ch]: removed
11270 * lyx_gui_misc.C: remove credits stuff
11273 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11275 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11277 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11278 unneeded destructor.
11280 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11281 a standalone pointer again.
11283 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11285 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11291 * ToolbarDefaults.C:
11300 * BufferView_pimpl.C: use new file dialog in GUII
11303 * lyx_cb.C: remove LayoutsCB to Toolbar
11305 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11307 * ShareContainer.h (get): add std:: qualifier
11309 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11311 * ShareContainer.h: define a proper ShareContainer::value_type
11312 type (and use typename to please compaq cxx)
11314 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11316 * lyxparagraph.h: move serveral local vars to
11317 ParameterStruct/ParagraphParameters., use ShareContainer in
11318 FontTable., make vars in FontTable private and add getter and
11321 * paragraph.C: changes because of the above.
11323 * lyxfont.h: remove copy constructor and copy assignment. (the
11324 default ones is ok), move number inside FontBits. move inlines to
11327 * lyxfont.C: add number to initializaton of statics, move several
11328 inlines here. constify several local vars. some whitespace
11329 cleanup. Dont hide outerscope variables.
11331 * Spacing.h: add two new constructors to match the set methods.
11333 * ShareContainer.h: new file, will perhaps be moved to support
11335 * ParameterStruct.h: new file
11337 * ParagraphParameters.h: new file
11339 * ParagraphParameters.C: new file
11341 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11342 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11344 * BufferView_pimpl.C: ParagraphParameter changes.
11345 * buffer.C: Likewise.
11346 * bufferview_funcs.C: Likewise.
11347 * text.C: Likewise.
11348 * text2.C: Likewise.
11350 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11352 * lyxfind.C (LyXReplace): do not redefine default argument in
11354 (IsStringInText): ditto
11355 (SearchForward): ditto
11356 (SearchBackward): ditto
11358 2001-03-06 Juergen Vigna <jug@sad.it>
11360 * lyxfind.C (IsStringInText): put parentes around expressions.
11362 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11364 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11366 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11368 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11370 * stl_string_fwd.h: add comment
11372 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11375 * tabular.C: remove unused DocBook methods
11381 killed DO_USE_DEFAULT_LANGUAGE
11383 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11385 * lyx_gui.C: do not include language.h.
11387 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11388 arguments in function implementation.
11390 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11392 * BufferView_pimpl.C: add <ctime>
11394 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11396 * BufferView_pimpl.C: add using std::find_if
11398 2001-02-27 José Matos <jamatos@fep.up.pt>
11400 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11403 2001-02-11 José Matos <jamatos@fep.up.pt>
11405 * buffer.C (makeDocBookFile): command styles now have a parameter as
11406 "title" by default.
11408 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11410 * layout_forms.[Ch]: removed
11411 * lyx_cb.[Ch]: out character
11412 * lyx_gui.C: out character
11413 * lyx_gui_misc.C: out character
11414 * bufferview_funcs.C: : out character,
11415 added toggleall as parameter in ToggleAndShow
11417 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11419 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11421 * text2.C (SetCurrentFont): Disable number property at boundary.
11423 2001-02-26 Juergen Vigna <jug@sad.it>
11425 * lyxfunc.C (getStatus): added a string argument override function so
11426 that this is correctly called from LyXFunc::Dispatch if it contains a
11427 do_not_use_argument which is used!
11428 (Dispatch): added check for "custom" export and call appropriate func.
11430 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11432 * lyxrc.C: Add language_command_local, language_use_babel and
11433 language_global_options.
11435 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11437 * buffer.C (makeLaTeXFile): Use language_use_babel and
11438 language_global_options.
11440 2001-02-23 Juergen Vigna <jug@sad.it>
11442 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11443 which works with LyXText and putted it inside BufferView. Here now we
11444 only call for that part the BufferView::Dispatch() function.
11446 * BufferView.C (Dispatch): added.
11448 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11449 functions which needs to use a LyXText over from LyXFunc.
11450 (MenuInsertLyXFile): added
11451 (getInsetByCode): added
11452 (moveCursorUpdate): added
11453 (static TEXT): added
11455 2001-02-22 Juergen Vigna <jug@sad.it>
11457 * BufferView_pimpl.C (update): call a status update to see if LyXText
11460 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11462 * vc-backend.C (revert): implement for CVS
11463 (getLog): implement for CVS
11465 2001-02-20 Juergen Vigna <jug@sad.it>
11467 * text2.C (ClearSelection): added BufferView param for inset_owner call
11469 * lyxfunc.C (TEXT): added this function and use it instead of
11470 directly owner->view()-text of getLyXText().
11472 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11474 * src/layout_forms.C: out preamble
11475 * src/layout_forms.h: out preamble
11476 * src/lyx_cb.C: out preamble
11477 * src/lyx_cb.h: out preamble
11478 * src/lyx_gui.C: out preamble
11479 * src/lyx_gui_misc.C: out preamble
11480 * src/lyxfunc.C: connect with guii preamble
11482 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11484 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11486 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11488 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11489 whether to run bibtex.
11491 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11493 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11495 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11497 * Makefile.am (lyx_SOURCES): removed bibforms.h
11499 * vspace.h: doxygen
11501 * text.C (GetVisibleRow): make several local vars const
11503 * tabular.C: small cleanup.
11505 * lyxserver.C (callback): use compare instead of strncmp
11507 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11508 inlines to after class or to paragraph.C
11510 * lyxfont.h: remove friend operator!=
11512 * converter.h: move friend bool operator< to non friend and after
11515 * combox.h: small cleanup
11517 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11518 to inlines after class def.
11520 * buffer.C (pop_tag): use string operations instead of strcmp
11522 * bmtable.c: doxygen, small cleanup
11524 * LaTeX.h: remove friend operator==
11526 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11538 * BufferView_pimpl.C:
11539 * BufferView.[Ch]: remove cruft
11541 2001-02-14 Juergen Vigna <jug@sad.it>
11543 * lyxfunc.C: removed #if 0 unused code
11545 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11547 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11549 * text2.C (SetSelection): added a BufferView * parameter
11551 2001-02-13 Juergen Vigna <jug@sad.it>
11553 * lyxfunc.C (Dispatch): fixed protected blank problem.
11554 * BufferView2.C (protectedBlank): added LyxText * parameter.
11556 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11557 (AppendColumn): same as above for column_info.
11559 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11560 (moveCursorUpdate): use a LyXText param for support of InsetText.
11562 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11563 (tripleClick): ditto
11565 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11567 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11569 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11571 * text2.C (SetSelection): set correct update status if inset_owner
11572 (ToggleFree): ditto
11574 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11576 * tabular.C: remove some commented code.
11578 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11580 * BufferView_pimpl.C: call hideSplash()
11582 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11585 * bibforms.h: remove
11588 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11589 add LFUN_CHILD_CREATE
11591 * counters.h: fix tiny typo
11596 * lyx.C: move splash to frontends/xforms/
11598 * lyx_gui_misc.C: move Include and Bibform to frontends
11600 * lyxvc.h: clarify comment
11602 * vspace.C: tiny housekeeping
11604 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11606 * text.C (PrepareToPrint): RTL Fix.
11608 * paragraph.C (GetUChar): New method.
11609 (String): Use GetUChar.
11611 * buffer.C (asciiParagraph): Use GetUChar.
11613 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11615 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11617 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11620 * buffer.C: rename to getLogName(), handle
11621 build log / latex log nicely
11623 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * MenuBackend.h: remove support for reference menuitem type.
11628 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11630 * BufferView_pimpl.C: housekeeping
11631 * BufferView_pimpl.h:
11636 * minibuffer.h: move Timeout GUI-I
11638 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11640 * lyxrc.C (read): Update converters data-structures.
11642 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11644 * LaTeX.h (operator!=): add operator != for Aux_Info
11646 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11648 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11650 * LaTeXLog.C: deleted, useful code moved to Buffer
11653 * buffer.C: new function getLatexLogName()
11659 * lyxfunc.C: use frontends for LaTeX and VC logs
11661 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11663 * LaTeX.h: yet another std:: that Allan forgot.
11665 * Variables.C (set): renamed from isset(), because this clashes
11666 with some HP-UX macros (grr).
11668 2001-02-06 Allan Rae <rae@lyx.org>
11670 * LaTeX.h: Another bug fix. Missing std:: this time.
11672 2001-02-04 Allan Rae <rae@lyx.org>
11674 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11675 floats problem. I've left it commented out because it's not quite
11676 correct. It should also test that the current object is a table or
11677 figure inset. But I haven't gotten around to figuring out how to do
11678 that. I *think* it'll be something like: "table" == inset.type()
11680 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11683 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11685 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11686 all the citation/databases/styles in the auxilary file.
11687 (run): Rerun latex if there was a babel language error.
11689 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11691 * text.C (Backspace): Preserve the font when changing newline char
11693 (BreakParagraph): If the cursor is before a space, delete the space.
11695 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11697 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11699 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11700 new argument (code).
11701 (ChangeCitationsIfUnique): New method.
11703 * paragraph.C (GetPositionOfInset): Handle bibkey.
11705 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * BufferView_pimpl.h: change type of Position::par_pos to
11708 LyXParagraph::size_type.
11710 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11712 * BufferView_pimpl.C (savePosition, restorePosition): Write
11713 messages to minibuffer.
11715 2001-01-28 José Matos <jamatos@fep.up.pt>
11717 * buffer.C (makeDocBookFile): adds support for document language.
11718 A silly restriction on the name of LatexCommand types where removed.
11719 Added support for CDATA sections, allows to chars unescaped, used
11720 among others in code, to avoid escape < and >.
11722 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11724 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11725 saved positions instrad of a stack. Furthermore, a position is
11726 stored using paragraph id/paragraph position.
11728 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11729 Remove LFUN_REF_BACK.
11731 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11733 * converter.C (dvipdfm_options): New method.
11735 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11737 * vspace.C (isValidLength): Fix for empty input string.
11739 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11741 * LyXAction.C (init): change description of LFUN_FIGURE to
11744 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11746 * LaTeX.C: add using directive
11748 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11750 * MenuBackend.C (expand): Fix the sorting of the formats.
11752 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11754 * lyx_main.C: tiny error message fix
11756 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11758 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11759 calling fl_initialize(). This fixes the problem with ',' as
11760 decimal separator in text files.
11762 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11764 * trans.C (process): Fix the keymap bug.
11766 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11768 * LaTeX.C (scanAuxFiles): New method. Provides support for
11769 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11770 (scanLogFile) Scan for "run BibTeX" messages.
11772 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11773 OT1 font encoding. Also, load the aecompl package if the ae
11776 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11778 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11780 * texrow.C (increasePos): turn two error messages into debug
11783 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11785 * LaTeX.C (scanAux): Handle the \@input macro.
11786 (runBibTeX): Use scanAux().
11788 * language.C (latex_options_): New field.
11790 * LaTeXFeatures.C (getMacros): Add language macros.
11792 * buffer.C (makeLaTeXFile): Small fix.
11794 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11796 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11798 * text2.C: add a using directive.
11800 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11805 * lyxfunc.C: kill LyXBell.
11807 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11809 * text.C (IsBoundary): Remove the error message
11811 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11813 * lyxrc.C (setDefaults): Correct initialization value for
11816 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11818 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11821 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11822 and GotoNextNote().
11824 * src/LyXAction.C: Added reference-next.
11826 * text.C (InsertChar): Use contains instead of strchr.
11828 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11830 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11832 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11833 alignment commands (when needed).
11835 * text.C (InsertChar): Add ':' to number separator chars.