1 2003-08-01 José Matos <jamatos@lyx.org>
3 * buffer.[Ch]: file_format is no longer a buffer data element.
5 2003-08-01 André Pönitz <poenitz@gmx.net>
10 * text2.C: make redoParagraph more independent of current cursor
12 2003-07-30 André Pönitz <poenitz@gmx.net>
14 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
16 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
17 create a single function...
19 * paragraph_funcs.C (moveItem): ... here.
22 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
24 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
26 * LColor.[Ch]: Add comment and greyedout logical colors.
28 2003-07-30 André Pönitz <poenitz@gmx.net>
30 * tabular.C: don't use Assert too heavily. This crashes where it
33 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
35 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
36 is disabled (bug 1232)
38 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
40 * factory.C: limited 'arg' scope
42 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
44 * factory.C: fixed Note submenu issues
46 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
48 * factory.C: submenu for Note/Comment/Greyedout
50 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
53 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
55 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
58 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
59 greyedout. Patch provided by Jürgen Spitzmüller.
61 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * kbmap.C (read): fix error message when reading bind files
65 2003-07-29 Angus Leeming <leeming@lyx.org>
67 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
68 certainly does not do what it purports to do. I am doing it, and
69 us, a favour by killing it.
71 2003-07-28 José Matos <jamatos@lyx.org>
73 * buffer.C (readBody, do_writeFile):
74 * paragraph.C(readParagraph): \end_document replaces \the_end.
76 2003-07-29 André Pönitz <poenitz@gmx.net>
79 * BufferView_pimpl.[Ch]:
83 * textcursor.[Ch]: remove toggleToggle & Co
85 2003-07-28 José Matos <jamatos@fep.up.pt>
87 * buffer.C (readParagraph):
88 * params_func (readParToken, readParagraph):
89 * paragraph.C (write): \layout -> \begin_layout.
91 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
93 * lyxlex_pimpl.C (setFile): clean up slightly.
95 * bufferparams.h: add compressed var
97 * buffer_funcs.C (readFile): adjust for LyXLex change
98 (newFile): ditto + simplify
100 * buffer.C (writeFile): handle writing of compressed files
102 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
103 Check if the file is compressed and set a bufferparm if so.
105 * Makefile.am (lyx_LDADD): remove explicit -lz
107 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
110 makeDocBookFile): put the real LyX version in the first line of
114 * version.C.in: remove lyx_docversion
116 * tabular.C (write_attribute): add a template-based version to
119 2003-07-28 André Pönitz <poenitz@gmx.net>
124 * text3.C: use doubles again for x-coordinates. They are needed.
126 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
128 * messages.C (getLocaleDir): use lyx_localedir()
130 * lyxlex_pimpl.C (setFile): compress stuff
132 * buffer.C (writeFile): add some compression stuff
133 (do_writeFile): new func, dont call expliti close... will this
136 * Makefile.am (lyx_LDADD): add -lz
138 2003-07-28 José Matos <jamatos@fep.up.pt>
140 * buffer.C: increment file format.
141 * paragraph_funcs (readParagraph, readParToken):
142 * paragraph.C (readParagraph): add \end_layout.
144 2003-07-27 Angus Leeming <leeming@lyx.org>
146 * Makefile.am: remove special casing for configure-time setting of
147 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
149 * lyx_main.C (init): remove all Jean-Marc's magic setting of
150 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
152 2003-07-26 André Pönitz <poenitz@gmx.net>
154 * paragraph_func.[Ch]:
155 * paragraph.C (realizeFont): inline it whereever it is used
160 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
163 2003-07-26 André Pönitz <poenitz@gmx.net>
167 * text2.C: get rid of LyXText::need_break_row
169 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
171 * toc.[Ch]: put namespace toc inside namespace lyx
173 * MenuBackend.C (expandToc2): adjust for lyx::toc
176 * lyxfunc.C (dispatch): adjust for lyx::find
178 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
179 lyx::find instead. Reorganize a bit.
180 (LyXReplace): rename to replace
181 (LyXFind): rename to find
183 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
186 2003-07-26 André Pönitz <poenitz@gmx.net>
188 * text.C (setHeightOfRow): restrict scope of temporary variable
190 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
191 code (never has been used?)
193 2003-07-27 Asger Alstrup <alstrup@local>
195 * text.C (fill): Optimise algorithm to exploit that we can reuse
196 the LyXFont for many characters.
197 (setHeightOfRow): Same thing.
198 (rowBreakPoint): Same thing.
200 2003-07-26 Asger Alstrup <alstrup@local>
202 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
204 * text.C (singleWidth): Spurious font copying in hot-spot
205 singleWidth avoided. Reorder tests for arabic for efficiency.
207 * text.C (fill): handle empty paragraphs better.
209 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * encoding.h: add includes
214 * lyxrc.C: remove reading of bind files
216 * lyx_main.C (init): setup bindings and menus only if we have a
219 * kbmap.C (read): new method. Do the actual reading of bind
222 * converter.C (dvipdfm_options):
225 (output): adapt PAPER_* enums.
227 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
229 * bufferparams.h: remove paper-related enums from there
231 * paper.h: New file. A trivial header file to hold paper-related
232 enums. It should later expand to contain many paper-related
235 * lyxrc.C: declare extern displayTranslator
237 2003-07-27 José Matos <jamatos@fep.up.pt>
239 * tabular.[Ch] (linuxdoc): add support for tables and figures
242 2003-07-27 José Matos <jamatos@fep.up.pt>
244 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
245 consistency in both functions.
246 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
248 2003-07-26 Asger Alstrup <alstrup@local>
250 * rowpainter.C (paintRows): Change algorithm to work directly on
251 the insets rather than asking every character in the document
252 whether its an inset.
254 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
256 * buffer.C (openFileWrite): factorize some code
258 2003-07-26 Angus Leeming <leeming@lyx.org>
261 * lyx_main.[Ch]: replace occurances of system_tempdir with
264 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
266 * rename Inset to InsetOld
268 2003-07-25 Asger Alstrup <alstrup@diku.dk>
270 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
271 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
272 which I think is a bit clearer. EDIT is gone, since it was
273 premature optimisation, and broken for mathed anyway.
274 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
275 with cursor positioning in insets as well (math insets still do not
276 work, but that's a different story anyway.) It mysteriously
277 crashes sometimes with undo in the first paragraph, but I'm fairly
278 confident that this is a compiler bug.
280 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
282 * paragraph.C (Paragraph): adjust for new clone return type
284 (copyIntoMinibuffer): ditto
286 2003-07-25 Asger Alstrup <alstrup@lyx.org>
288 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
289 by not having a special case, and always doing a full rebreak of
290 the document after undo.
292 2003-07-23 Angus Leeming <leeming@lyx.org>
294 * factory.C (createInset): InsetExternal::setParams now takes a
297 2003-07-23 Angus Leeming <leeming@lyx.org>
299 * factory.C (createInset): changed interface to the external and
300 graphics mailers' string2params functions.
302 2003-07-23 Angus Leeming <leeming@lyx.org>
304 * factory.C (createInset): pass a
305 Buffer const * parameter to InsetExternalMailer's string2params.
307 2003-07-22 John Levon <levon@movementarian.org>
309 * Thesaurus.h: include the right aiksaurus header
311 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * MenuBackend.C (expand): check menu shortcuts unconditionally
315 2003-07-21 Angus Leeming <leeming@lyx.org>
317 * factory.C (createInset): pass a
318 buffer_path parameter to InsetGraphicsMailer's string2params.
320 2003-07-21 Angus Leeming <leeming@lyx.org>
322 * BufferView_pimpl.C (buffer):
325 * lyxfunc.C (dispatch):
326 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
327 rather than the grfx shortcut.
329 2003-07-21 André Pönitz <poenitz@gmx.net>
331 * rowpainter.C: remove unused variables
334 * tabular_funcs.h: move to tabular.C
335 * Makefile.am: adjust
337 * tabular.[Ch]: basic optical cleaning
339 * author.h: pass references, not values
341 2003-07-18 André Pönitz <poenitz@gmx.net>
349 * text3.C: two-phase drawing for InsetText and InsetTabular
350 some float -> int changes.
352 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
354 * lyx_main.C: fix the fix
356 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
358 * lyx_main.C: fix a crash in batch mode if no files specified
361 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
363 * format.[Ch] (papersize): moved to BufferParams
364 * converter.[Ch] (dvips_options): moved to BufferParams
365 (dvipdfm_options): moved to anon namespace
366 * bufferparams.[Ch]: added above functions.
368 2003-07-17 André Pönitz <poenitz@gmx.net>
372 * text2.C: don't call inset->update() anymore
374 * metricsinfo.[Ch]: add convenience constructor
376 2003-07-16 André Pönitz <poenitz@gmx.net>
381 * text2.C: replace the LyXCursor::irow_ member with
382 on-demand computation of the value
384 2003-07-16 John Levon <levon@movementarian.org>
386 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
388 2003-07-15 André Pönitz <poenitz@gmx.net>
391 * text2.C: remove no more needed refresh_row
393 2003-07-15 André Pönitz <poenitz@gmx.net>
398 * text3.C: refresh_status tristate -> need_update bool
400 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
402 * lyxtext.h (init): remove reinit argument (act as if always true)
403 * text2.C: adjust to that
405 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
407 * bufferview_funcs.[Ch]: introduce function replaceSelection()
408 * text3.C: use it to delete selections in some cases
409 (bugs 441, 673, 702, 954).
411 2003-07-14 André Pönitz <poenitz@gmx.net>
413 * rowpainter.[Ch]: reduce interface
415 2003-07-14 André Pönitz <poenitz@gmx.net>
417 * BufferView_pimpl.C:
418 * text2.C: adjust after removing unused BufferView * argument
420 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
422 * text2.C (init): fix a crash fired on resize
424 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
426 * buffer.[Ch]: added new closing signal
427 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
428 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
429 BufferView::Pimpl via the closing the signal
431 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
433 * buffer.[Ch]: take out all bv-related from buffer
435 * BufferView_pimpl.[Ch]: connect to new signals
436 * CutAndPaste.C: removed useless asserts
437 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
440 * lyxfunc.C: moved view-related funciontality from vc here
441 * paragraph.C: removed outdated comments
444 2003-07-10 André Pönitz <poenitz@gmx.net>
446 * BufferView_pimpl.C:
450 * text2.C: remove InsetText::InnerCache, clean up consequences
452 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
454 * ispell.C: fix two typos in error messages
456 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
458 * Extend Note inset to other forms of annotation like Comment
459 and Greyedout. Right button click gives dialog.
461 Files modified or added (+):
467 * Makefile.am in frontends/xforms, frontends/xforms/forms,
468 frontends/controllers
472 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
474 * aspell.C: add missing namespace lyx::support
476 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
478 * BufferView.[Ch] (newFile): Add
479 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
480 * LaTeX.[Ch] (message): added this signal and use it
481 * buffer.[Ch] (busy, message): added these signals and use them
482 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
486 * importer.C: use buffer signals instead of direct bv calling
487 * lyx_cb.[Ch] (ShowMessage): removed
491 * text2.C: use buffer signals
493 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * introduce namespace lyx::graphics
497 2003-07-02 André Pönitz <poenitz@gmx.net>
499 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
501 2003-07-01 André Pönitz <poenitz@gmx.net>
508 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
509 text*.C to text_func.C
511 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
513 * introduce namespace lyx::support
515 2003-06-30 André Pönitz <poenitz@gmx.net>
520 * text.C: re-enable --with-included-string
522 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * textcursor.C: add <config.h>
526 * text.C (getWord): remove const from word_location arg
528 * lyxvc.C (getLogFile): fix const type order
530 * lyxtext.h: remove const from word_location arg, add arg name
532 * lyxlayout.h: currect type on labeltype.
534 * importer.C: correct \file
536 * converter.C (intToFormat): use std:: on ret val, ws changes
538 * bufferlist.h: correct \file
540 * buffer.C (makeLinuxDocFile): fix const type order
541 (makeDocBookFile): ditto
542 (fillWithBibKeys): use std:: on stdlib args.
544 * CutAndPaste.C: fix authors.
545 (availableSelections): use std:: on return vector
547 2003-06-27 André Pönitz <poenitz@gmx.net>
549 * BufferView_pimpl.C:
550 * bufferview_funcs.C:
558 * text3.C: remove LyXCursor::row_ member
561 * text.C: rename fullRebreak() to partialRebreak() and implement
562 a fullRebreak() that really bereks fully
564 * textcursor.h: new struct for cursor-related data
566 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
568 * lyx_main.C (LyX): get full path of document loaded on the
571 2003-06-26 André Pönitz <poenitz@gmx.net>
573 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
574 remove unused/broken operator>,<,>=.
576 * text.C: remove only use of broken operator<= in an Assert().
578 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
580 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
581 moved errorlist_.clear to showErrorList
583 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
585 * converter.C (scanLog, runLaTeX):
586 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
587 move the bv->showErrorList call to the callers
588 * lyxfunc.C: i.e. here...
590 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
591 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
592 namespace, the second to...
593 * buffer_funcs (BufferFormat, parseErrors): added
594 * errorlist.C (ErrorList(TeXErrors const &)): removed
596 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * ToolbarBackend.C (getIcon): complain when icon cannot be found
600 2003-06-24 "Garst R. Reese" <reese@isn.net>
604 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
608 * version.C.in: change docversion to 1.4
610 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
612 * buffer.C: fix a bug just introduced
614 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
616 * buffer.[Ch]: added the parseError signal and use it, removed
618 * BufferView.[Ch] (addError): moved to ...
619 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
620 to the Buffer::parseError signal to catch (guess what) parse errors
621 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
623 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
625 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
626 ability to create a buffer and to return an existing one from
627 the list. Moved these functions to...
628 * buffer_funcs.[Ch]: added
629 * BufferView.[Ch] (loadLyXFile): added
630 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
631 job removed from bufferlist::loadLyXFile.
632 * buffer.C (setReadOnly): make it work without view
633 (i.e added an if (users))
635 2003-06-19 Angus Leeming <leeming@lyx.org>
638 * LyXAction.C (init):
639 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
640 with LFUN_DIALOG_SHOW <name> <data>.
642 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
644 * CutAndPaste.C (availableSelections): small compilation fix for
645 ancient (gcc 2.9x) compilers
647 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * text3.C (cursorNext): add tmp var
651 * text2.C (updateCounters): for function calling out of for clause
652 (replaceSelectionWithString): ditto
653 (insertStringAsParagraphs): ditto
654 (getColumnNearX): add tmp var
655 (setCursorFromCoordinates): add tmp var
656 (cursorDownParagraph): add tmp var
657 (deleteEmptyParagraphMechanism): add tmp var
659 * text.C (insertChar): add tmp var
661 * rowpainter.C (paintDepthBar): add tmp var
663 * CutAndPaste.C (availableSelections): potentially check all
664 paragraphs in a cut to fill the shown strings.
666 2003-06-18 André Pönitz <poenitz@gmx.net>
668 * kbmap.[Ch]: use vector<> instead of list<>
670 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
672 * text3.C (dispatch): handle arg to LFUN_PASTE, call
673 pasteSelection with index
675 * text2.C (pasteSelection): modify, call pasteSelection with index
677 * paragraph.C (asString): reimplement version with no interval to
678 call the one with interval.
680 * lyxtext.h: add index arg to pasteSelection
682 * MenuBackend.C (MenuItem): handle PasteRecent
683 (Menu::read::Menutags): add md_pasterecent
685 (expandPasteRecent): new function
688 * MenuBackend.h: add PasteRecent to MenuItem::Kind
690 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
692 (availableSelections): new function
694 2003-06-17 Angus Leeming <leeming@lyx.org>
696 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
698 2003-06-17 Angus Leeming <leeming@lyx.org>
701 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
703 * lyxfunc.C (dispatch): invoke it.
705 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
707 * iterators.C (operator++, ParPosition): reintroduce some
708 const_cast for the benefit of older compilers.
710 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
712 * text3.C (dispatch): do not modify clipboard when doing
713 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
714 LFUN_DELETE_SKIP on a selection selection
716 2003-06-16 André Pönitz <poenitz@gmx.net>
722 * tabular.[Ch]: IU of clone() and getLabelList();
724 2003-06-13 André Pönitz <poenitz@gmx.net>
726 * tabular.h: compactification
728 2003-06-12 André Pönitz <poenitz@gmx.net>
732 * tabular_funcs.h: some renaming plus whitespace
734 2003-06-12 André Pönitz <poenitz@gmx.net>
737 * BufferView_pimpl.C:
743 * toc.C: Return a Paragraph & for ParIterator::operator*()
745 2003-06-11 John Levon <levon@movementarian.org>
749 * ToolbarBackend.C: add "Toolbars" section and
752 2003-06-10 Angus Leeming <leeming@lyx.org>
755 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
757 * lyxfunc.C (dispatch): invoke it.
759 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
761 * main.C: protect <ios> with HAVE_IOS
762 (main): protect sync_with_stdio with HAVE_IOS
764 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
766 * text2.C (cutSelection): adjust
767 (pasteSelection): adjust
769 * messages.C: handle get of empty string
771 * main.C (main): use sync_with_stdio(false)
773 * lyxfunc.C (dispatch): adjust
775 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
776 (WriteAs): remove unneeded BufferView arg.
778 * bufferparams.h: use correct types on papersize, papersize2 and
781 * bufferparams.C (readToken): adjust for type
782 (writeLaTeX): add missing cases to switch.
784 * bufferlist.C (quitWriteBuffer): adjust
787 * buffer.C (asciiParagraph): remove some commented code.
789 * CutAndPaste.C: remove current_view extern variable.
790 (cutSelection): add BufferParams arg.
791 (eraseSelection): add BufferParams arg.
792 (pasteSelection): add Buffer const & arg
794 2003-06-07 John Levon <levon@movementarian.org>
802 * paragraph.C: allow InsetERT to freely space lines,
803 and some consolidation of code
805 2003-06-06 José Matos <jamatos@fep.up.pt>
807 * buffer.C (makeDocBookFile): fix bug #821
809 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
811 * BufferView_pimpl.C (dispatch): use Dialogs::visible
813 2003-06-04 Angus Leeming <leeming@lyx.org>
815 * buffer.C: bump format to 224.
817 2003-06-05 André Pönitz <poenitz@gmx.net>
819 * text2.C (redoParagraphs): remove two const_cast<>
821 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
823 * ParagraphList.h: remove last remnants of NO_STD_LIST
825 2003-06-03 Angus Leeming <leeming@lyx.org>
827 * factory.C (createInset): small change to the way InsetExternal's params
830 2003-06-04 André Pönitz <poenitz@gmx.net>
832 * buffer.h: use Undo directly instead of shared_ptr<Undo>
835 * paragraph.[Ch]: some Inset -> UpdatableInset changes
837 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
839 * undo_funcs.C: make some simple cases of undo work again
841 2003-06-03 John Levon <levon@movementarian.org>
843 * ispell.C: HPUX doesn't have sys/select.h
846 2003-06-03 John Levon <levon@movementarian.org>
848 * CutAndPaste.C: update tabular and include inset
853 * paragraph.C: remove owningBuffer(), don't pass Buffer
856 * factory.C: insetGraphicsParams changed
858 2003-06-02 John Levon <levon@movementarian.org>
864 * text3.C: remove insetparent
866 2003-06-02 John Levon <levon@movementarian.org>
869 * buffer.C: fix inset_iterator.end(), move out of line
872 2003-06-01 John Levon <levon@movementarian.org>
874 * text3.C: use a proper cut/paste when doing inset
875 insert (from Jürgen Spitzmüller)
877 2003-06-01 John Levon <levon@movementarian.org>
879 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
881 2003-05-30 André Pönitz <poenitz@gmx.net>
883 * rowpainter.C: unify second drawing phase
885 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * trans_mgr.C: remove one case of current_view
889 * text2.C (cursorBottom): delete NO_STD_LIST stuff
891 * paragraph_funcs.h: remove paragraph.h include
893 * paragraph.h: delete NO_STD_LIST stuff
895 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
897 * buffer.h: remove paragraph.h include
899 * ParagraphList.C: delete file
901 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
903 * toc.C (getTocList): adjust
905 * paragraph_pimpl.C (validate): adjust
907 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
909 * paragraph.C (Paragraph): adjust
910 (getPositionOfInset): use const_iterator, adjust
911 (bibitem): use const_iterator, adjust
912 (setInsetOwner): adjust
914 * iterators.C (operator++): adjust
916 * InsetList.[Ch]: Replace selfmade iterator with standard
917 vector::iterator also introduce const_iterator. Remove getPos,
918 getInset and setInset from InsetTable. Adjust accordingly.
920 * BufferView.C (lockInset): adjust
921 (ChangeInsets): adjust
923 * tabular.[Ch]: delete commented same_id functions
925 2003-05-28 John Levon <levon@movementarian.org>
927 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
929 2003-05-28 André Pönitz <poenitz@gmx.net>
931 * metricsinfo.[Ch]: remove 'fullredraw' member
933 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
935 * lyxtextclass.C (operator): remove caching.
937 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
941 * text2.C (cursorBottom): adjust
942 (setCounter): use ParagraphList::find, adjust
944 * text.C (workWidth): use ParagraphList::find, adjust
946 * lyxcursor.C (LyXCursor): adjust
948 * buffer.C (inset_iterator): adjust
950 * ParagraphList.h: make iterator(value_type) private, make
951 ParagraphList a friend of iterator.
953 * ParagraphList.C (find): new function
955 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
957 2003-05-27 André Pönitz <poenitz@gmx.net>
959 * dimension.[Ch]: a -> asc, d -> des, w -> wid
961 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
965 2003-05-26 John Levon <levon@movementarian.org>
967 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
969 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
971 * remove same_id from function signatures, adjust.
973 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * undo_funcs.C (createUndo): use the id functions directly, adjust.
977 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
979 * paragraph.C (Paragraph): get rid of same_ids parameter
981 * ParagraphList.C (insert): adjust
984 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * paragraph_funcs.C (breakParagraph): adjust
987 (breakParagraphConservative): adjust
989 * buffer.C (readParagraph): adjust
991 * ParagraphList.C (insert): take a reference instead of a pointer
994 * paragraph.[Ch] (id): new function
996 * bufferlist.C (newFile): adjust
998 * ParagraphList.C (ParagraphList): adjust
1000 (push_back): take a reference instead of a pointer.
1002 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1004 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1007 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1008 set else use old code.
1010 * ParagraphList.C: remove all NO_NEXT code and only compile this
1011 code of NO_STD_LIST is set.
1013 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1015 * BufferView_pimpl.C:
1025 * graphics/GraphicsConverter.C:
1026 * graphics/PreviewLoader.C: header adjustment
1028 2003-05-23 Angus Leeming <leeming@lyx.org>
1030 * LaTeXFeatures.[Ch] (useBabel): new method.
1031 * bufferparams.C (writeLaTeX): use it.
1033 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1035 * ParagraphList.h (set): remove unused function.
1037 2003-05-23 André Pönitz <poenitz@gmx.net>
1040 * BufferView_pimpl.C:
1044 * undo_funcs.C: setUndo reworked
1046 * iterators.[Ch]: add access to topmost ParagraphList
1048 * lyxtext.[Ch] (workWidth): add a const
1050 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1052 * texrow.[Ch] (increasePos): remove function
1053 * exporter.C (export): removed unused var and outdated comment
1055 2003-05-23 Angus Leeming <leeming@lyx.org>
1057 * latexrunparams.h: rename fragile as moving_arg.
1058 * paragraph.C (simpleTeXOnePar): ditto.
1059 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1061 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1063 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1065 (textUndoOrRedo): comment out a currently unused var.
1067 * paragraph.h (NO_NEXT): enable NO_NEXT
1069 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1071 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1073 * exporter.C (Export): adjust for removeAutoInsets removal.
1075 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1077 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1079 * BufferView.[Ch] (removeAutoInsets): delete function
1081 2003-05-22 Angus Leeming <leeming@lyx.org>
1083 * latexrunparams.h: add a free_spacing variable.
1085 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1086 to pass moving_arg, as the data is stored in runparams.fragile.
1088 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1089 to Inset::latexOptional or to simpleTeXOnePar.
1091 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1092 free_spacing arg to Inset::latexOptional.
1094 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1097 2003-05-22 Angus Leeming <leeming@lyx.org>
1099 * latexrunparams.h: add fragile and use_babel variables.
1101 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1102 * buffer.C (makeLaTeXFile): store this returned value in
1103 runparams.use_babel, thus passing it to the inset::latex methods.
1105 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1106 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1108 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1109 longer has a fragile arg, as it is stored in runparams.fragile.
1111 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1112 moving_arg parameter as the data is stored in runparams.fragile.
1114 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1115 a fragile parameter as the data is stored in runparams.fragile.
1117 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1121 2003-05-22 Angus Leeming <leeming@lyx.org>
1123 * latexrunparams.h: add a 'bool nice' which defaults to false.
1125 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1126 now encapsulated within runparams.
1128 * bufferlist.C (updateIncludedTeXfiles):
1129 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1131 2003-05-22 Angus Leeming <leeming@lyx.org>
1133 * latexrunparams.h: new file containing struct LatexRunParams.
1134 * Makefile.am: add new file.
1136 * LaTeX.[Ch] (c-tor, run):
1137 * buffer.[Ch] (makeLaTeXFile):
1138 * bufferlist.[Ch] (updateIncludedTeXfiles):
1139 * converter.C (convert, scanLog):
1140 * converter.[Ch] (runLaTeX):
1141 * exporter.C (Export):
1142 * paragraph.[Ch] (simpleTeXOnePar):
1143 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1144 * paragraph_funcs.[Ch] (latexParagraphs):
1145 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1146 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1147 pass around a LatexRunParams parameter.
1149 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1151 * paragraph.[Ch]: remove unused constructor
1153 * ParagraphList.C (erase): new function, taking two iterators
1155 2003-05-22 André Pönitz <poenitz@gmx.net>
1157 * undo_funcs.C: remove duplicated code
1159 * iterator.[Ch]: operator=
1161 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1163 * tabular.C (SetMultiColumn): ws changes
1165 * rowpainter.C (paintFirst): get rid of a ->previous
1167 * lyx_cb.C (getPossibleLabel): parlist simplification
1169 * BufferView.C (ChangeInsets): simplify slightly.
1171 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1173 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1174 * lfuns.h: new LFUN_SPACE
1175 * lyxfunc.C: protected space has a new lfun
1176 * paragraph_funcs.C: read new space insets
1178 * factory.C: handle new space insets
1180 2003-05-22 André Pönitz <poenitz@gmx.net>
1183 * BufferView_pimpl.C:
1186 * undo_funcs.C: return a ParIterator from getParFromID.
1188 * iterators.[Ch]: add two const's
1190 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * toc.C (getTocList): adjust
1194 * iterators.[Ch]: rework for parlist
1196 * buffer.C (par_iterator_begin): adjust
1197 (par_iterator_end): adjust
1199 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1201 * BufferView.C (removeAutoInsets): adjust
1202 (ChangeInsets): adjust
1204 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1206 * text.C (top_y): fix bug 1110
1208 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1210 * errorlist.[Ch]: added
1213 * BufferView_pimpl.C:
1214 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1217 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * Makefile.am: ensure that lyx is relinked upon changes to the
1220 various "convenience" libs.
1222 2003-05-20 Angus Leeming <leeming@lyx.org>
1224 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1225 files are compiled in alphabetical order again.
1227 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1229 2003-05-19 Angus Leeming <leeming@lyx.org>
1231 * gettext.[Ch]: remove "char const * _(char const *)".
1233 2003-05-19 André Pönitz <poenitz@gmx.net>
1235 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1244 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1246 2003-05-19 André Pönitz <poenitz@gmx.net>
1250 * lyxtextclass.[Ch]:
1252 * paragraph_funcs.[Ch]:
1254 * text3.C: more insetenv work
1256 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1258 * ParagraphParameters.C (params2string): small bug fixed
1260 2003-05-16 André Pönitz <poenitz@gmx.net>
1263 * bufferview_funcs.C: patch from Kornel Benko to prevent
1264 crash when _(...) is called twice in a statement
1266 2003-05-16 André Pönitz <poenitz@gmx.net>
1273 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1275 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1277 * lyx_main.C (init): remove spurious static_cast
1279 2003-05-14 André Pönitz <poenitz@gmx.net>
1281 * BufferView.C: fix format string
1283 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1285 * BufferView.[Ch] (insertErrors): removed
1286 * BufferView.[Ch] (showErrorList): added
1287 * buffer.C (runChkTeX):
1288 * converter.C (scanLog): call showErrorList instead of inserterrors
1290 2003-05-13 André Pönitz <poenitz@gmx.net>
1292 * BufferView_pimpl.C:
1294 * bufferview_func.C:
1301 * tabular_funcs.h: tostr() from its own header
1303 * ParagraphParameters.C:
1308 * text3.C: STRCONV()
1310 2003-05-12 André Pönitz <poenitz@gmx.net>
1313 * BufferView_pimpl.C:
1317 * ParagraphParameters.C:
1321 * bufferview_funcs.C:
1334 * paragraph_funcs.C:
1338 * text3.C: boost::format -> bformat all over the place
1341 2003-05-09 André Pönitz <poenitz@gmx.net>
1343 * LColor.[Ch]: Pimpl the #include <map> away
1345 2003-05-09 John Levon <levon@movementarian.org>
1347 * bufferlist.C: never remove emergency saves
1349 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * Makefile.am: better lib building
1353 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1357 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1358 (simpleTeXSpecialChars): adjust
1359 (simpleTeXSpecialChars): adjust
1360 * paragraph.C (simpleTeXOnePar): adjust
1361 * buffer.C (makeLaTeXFile): adjust
1363 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1365 * text2.C (changeDepth): parlist cleanup
1366 (getColumnNearX): ditto
1368 * rowpainter.C (getLabelFont): parlist cleanup
1370 * bufferlist.C (newFile): parlist cleanup
1372 * CutAndPaste.C (eraseSelection): parlist cleanup
1374 * BufferView_pimpl.C (trackChanges): parlist cleanup
1377 * BufferView.C (lockInset): parlist cleanup.
1378 (ChangeInsets): ditto
1380 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * CutAndPaste.h: Update file header.
1384 * CutAndPaste.C: Update file header.
1385 Store the parts cut out of the Document in a limited_stack.
1386 (copySelection): adjust
1387 (pasteSelection): new function, takes the index in the limited stack.
1388 (nrOfParagraphs): adjust
1389 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1390 simplify error inset insertion.
1391 (checkPastePossible): adjust
1393 2003-05-06 John Levon <levon@movementarian.org>
1395 * text2.C: don't cast wrap inset to float
1397 2003-05-05 André Pönitz <poenitz@gmx.net>
1400 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1402 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1403 few naked Paragraph *.
1405 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1407 * bufferparams.C: Output warning if a document with missing
1408 TeX document class is loaded
1409 * exporter.C: Disable TeX exports if the document class is missing
1412 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1413 isTeXClassAvailable()
1415 2003-05-03 John Levon <levon@movementarian.org>
1418 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1419 explicit cursor show/hide
1421 * BufferView_pimpl.h:
1422 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1423 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1425 * lyxfunc.C: hide cursor before dispatching.
1430 * text3.C: remove explicit cursor hides
1432 2003-05-02 André Pönitz <poenitz@gmx.net>
1434 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1437 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1440 * text2.C: tiny whitespace
1442 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1444 * undo_funcs.C: almost only ws changes.
1446 * ParagraphList.C (splice): just return if pl is empty.
1448 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1450 * ParagraphList.C (splice): new function.
1452 * CutAndPaste.C (pasteSelection): use it
1454 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1456 * CutAndPaste.C (pasteSelection): remove the last next and
1457 previous from this file.
1459 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * CutAndPaste.C (pasteSelection): more clean up, user proper
1462 ParagraphList functions for pasteing.
1464 * ParagraphList.C (insert): new function, three arg insert
1466 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1468 * ParagraphList.C (insert): new function, three arg insert
1470 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1473 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1475 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1477 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1479 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1481 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1484 (copySelection): clean up a bit.
1485 (pasteSelection): use make_pair
1487 * ParagraphList.C (ParagraphList): implement copy constructor
1488 (operator=): implement, base on copy constructor.
1491 * paragraph.C (erase): return a bool
1493 * paragraph_pimpl.C (erasePos): remove function, move contents...
1494 (erase): ... here. Return a bool.
1495 (erase): call erase instead of erasePos.
1497 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1499 * ParagraphList.h: define PitPosPair
1500 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1501 ParagraphList, fix a bug on pasting multiple pars
1502 * text2.C: change interface to C&P
1504 2003-04-30 André Pönitz <poenitz@gmx.net>
1506 * undo_func.C: revert part of yesterday's patch 2
1508 2003-04-30 John Levon <levon@movementarian.org>
1510 * LColor.C: s/tabular/table/
1512 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1514 * text3.C (dispatch): do not convert iterator -> pointer
1515 * undo_funcs.C (setCursorParUndo): ditto
1516 * text_funcs.C (transposeChars): ditto
1518 * text2.C (setLayout): ws changes only
1520 * text.C (breakParagraph): do not convert iterator -> pointer
1522 (acceptChange): ditto
1523 (rejectChange): ditto
1528 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1531 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1533 * text3.C (gotoInset): YABG (yet another bad getChar)
1535 2003-04-29 André Pönitz <poenitz@gmx.net>
1537 * paragraph.h: make operator= private unimplemented as long as
1540 * ParagraphList.C: whitespace
1543 * paragraph_pimpl.[Ch]:
1544 * paragraph_funcs.C:
1546 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1549 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1551 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1553 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1554 * paragraph.[Ch] (erase):
1555 * paragraph_pimpl.[Ch] (erase): change return type and value
1556 * text2.C (cutSelection): some rework
1558 2003-04-28 John Levon <levon@movementarian.org>
1560 * bufferlist.C: changes for unsaved changes dialog
1562 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * bufferlist.C (newFile): set language (messages_) for new
1567 * buffer.C (readFile): ws changes only.
1569 2003-04-28 André Pönitz <poenitz@gmx.net>
1574 * BufferView_pimpl.C:
1575 * BufferView.C: getParFromID related ParagraphList::iterator changes
1577 2003-04-28 André Pönitz <poenitz@gmx.net>
1579 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1582 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1584 * messages.C: remove one more localedir class variable.
1586 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * messages.C (getLocaleDir): singleton generation function
1590 (Messages): add a default constructor.
1592 * main.C (main): do not setup localedir here, do not call
1595 * gettext.C (_): use it.
1596 (gettext_init): delete funciton
1598 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * gettext.C (getLyXMessages): new singleton generating function.
1602 * buffer.C (updateDocLang): adjust
1604 * Makefile.am (messages.o): add target
1605 (main.o): remove target
1607 2003-04-27 John Levon <levon@movementarian.org>
1612 * lyxvc.C: specify cancel button in Alert::prompt
1614 2003-04-26 John Levon <levon@movementarian.org>
1619 * LyXAction.C: add LFUN_INSET_SETTINGS
1621 * lyxfunc.C: don't enable tabular-feature when there's
1622 just any locking inset
1624 2003-04-26 John Levon <levon@movementarian.org>
1626 * bufferlist.C: re-add Cancel to buffer close question
1628 * lyxfunc.C: fix import UI a bit
1630 2003-04-25 John Levon <levon@movementarian.org>
1632 * gettext.C: remove the broken asserts for now
1634 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1636 * messages.C: make case where setlocale cannot comply work better.
1638 * buffer.C (updateDocLang): new function
1639 (changeLanguage): use it
1642 * text2.C (setCounter): use B_ a bit.
1644 * lyxlayout.C (Read): be sure to trim the label strings.
1646 * messages.C (Messages): fix typo in comment
1648 * buffer.C (readFile): set message_ after file is loaded.
1649 (makeDocBookFile): remove double return
1650 (changeLanguage): reset message_ upon language change.
1651 (B_): new func, use this to get translated buffer strings.
1653 * main.C: add myself and Jean Marc as authors.
1655 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * messages.[hC]: pimplify Messages, and three different pimpls to be
1658 used in different circumstances.
1660 * gettext.[Ch]: change for use with new message code.
1662 2003-04-24 André Pönitz <poenitz@gmx.net>
1664 * factory.C: support for eqref
1666 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * messages.[Ch]: add missing char
1670 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1672 * messages.[Ch]: New files
1674 2003-04-18 John Levon <levon@movementarian.org>
1678 * BufferView_pimpl.C:
1682 * text2.C: remove layout-copy/paste (bug 778)
1684 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1686 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1688 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1690 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1691 if they succeed. Act accordingly.
1693 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * text2.C (setCharFont): adjust
1696 (setCounter): adjust
1697 (insertStringAsLines): adjust
1699 * text.C (leftMargin): adjust
1700 (setHeightOfRow): adjust
1702 * rowpainter.C (paintFirst): adjust
1705 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1707 (isFirstInSequence): ditto
1708 (getEndLabel): ditto
1711 * paragraph.C (getParLanguage): comment out some hard stuff.
1713 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1715 (simpleDocBookOnePar): ditto
1716 (makeDocBookFile): use ParagraphList::iterator
1718 * CutAndPaste.C (pasteSelection): adjust
1720 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * text2.C (getFont): adjust
1723 (getLayoutFont): adjust
1724 (getLabelFont): adjust
1726 * paragraph_funcs.C (TeXOnePar): adjust
1728 * buffer.C (simpleLinuxDocOnePar): adjust
1729 (simpleDocBookOnePar): adjust
1731 * CutAndPaste.C (pasteSelection): adjust
1733 * BufferView.C (getEncoding): adjust
1735 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1737 2003-04-16 John Levon <levon@movementarian.org>
1739 * lyxfind.C: use parlist stuff for search/changes
1741 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1745 * text2.C (deleteEmptyParagraphMechanism): adjust
1747 * text2.[Ch] (ownerParagraph): delete func (both of them
1749 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1753 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1755 * ParagraphList.C: prepare for NO_NEXT
1757 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * text2.C (getFont): adjust
1760 (getLayoutFont): adjust
1761 (getLabelFont): adjust
1763 * paragraph.C (getFont): adjust
1764 (getLabelFont): adjust
1765 (getLayoutFont): adjust
1767 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1769 2003-04-15 John Levon <levon@movementarian.org>
1773 * lyx_main.C: handle Include in .ui files
1775 2003-04-15 John Levon <levon@movementarian.org>
1777 * MenuBackend.C: make the doc files length shorter
1780 * ToolbarBackend.C: handle toolbar placement flags,
1783 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1788 * paragraph_funcs.C (TeXOnePar): adjust
1790 * paragraph.C (getLabelFont): add outerfont arg, adjust
1791 (getLayoutFont): ditto
1792 (simpleTeXOnePar): adjust
1794 * paragraph_pimpl.C (realizeFont): delete func
1796 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1798 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1799 row argument, constify cur argument.
1801 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * text2.C (getFont): adjust
1804 (getLayoutFont): adjust
1805 (getLabelFont): adjust
1807 * paragraph_funcs.C (TeXOnePar): adjust
1808 (outerFont): new func...
1809 (realizeFont): ...moved out from here, changed this to facilitate
1812 * paragraph.C (getFont): take outerfont as arg, adjust
1813 (simpleTeXOnePar): add outerfont arg, adjust
1815 * buffer.C (simpleLinuxDocOnePar): adjust
1816 (simpleDocBookOnePar): adjust
1818 * CutAndPaste.C (pasteSelection): adjust
1820 * BufferView.C (getEncoding): adjust
1822 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * text2.C (setCharFont): adjust
1825 (setCounter): adjust
1827 * text.C (leftMargin): adjust
1828 (setHeightOfRow): adjust
1830 * rowpainter.C (paintFirst): adjust
1833 * paragraph_pimpl.C (realizeFont): adjust
1835 * paragraph.C (isFirstInSequence): move from here...
1836 * paragraph_funcs.C (isFirstInSequence): ...to here
1838 * paragraph.C (outerHook): move from here...
1839 * paragraph_funcs.C (outerHook): ...to here
1841 * paragraph.C (depthHook): move from here...
1842 * paragraph_funcs.C (depthHook): ...to here
1844 * paragraph.C (getEndLabel): move from here...
1845 * paragraph_funcs.C (getEndLabel): ...to here
1847 * text2.C (realizeFont): move from here...
1848 * paragraph_funcs.C (realizeFont): ...to here
1850 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1854 2003-04-14 Angus Leeming <leeming@lyx.org>
1856 * LColor.[Ch]: scrap LColor mathcursor.
1858 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * lyxlex.[Ch] (text): delete function
1861 * trans.C (Load): adjust
1862 * paragraph_funcs.C (readParToken): adjust
1864 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1866 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1867 vector<char> instead of a char[].
1869 * lyxlex_pimpl.C (getString): adjust
1871 (lex): use getString
1875 * lyxlex.C (text): use pimpl_->getString()
1879 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1881 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1882 (makeFontEntriesLayoutSpecific): temp var for par.size()
1883 (setLayout): temp var for ownerParagraphs().end()
1884 (fullRebreak): temp var for rows().end()
1885 (selectionAsString): temp var for boost::next(startpit), realize
1886 that the while really is a regular for loop.
1887 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1888 setCursor in one place.
1889 (setParagraph): temp vr for ownerParagraphs().end()
1890 (updateCounters): make the while loop a for loop
1891 (cutSelection): temp var for ownerParagraphs().end()
1892 (updateInset): make the do {} while() a regular for loop
1893 (getCursorX): use temp vars
1894 (setCurrentFont): use temp vars
1895 (getColumnNearX): use temp vars
1897 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * text.C (transformChar): use temp var for getChar
1900 (computeBidiTables): use temp var for row->par()
1901 (fill): move temp vars for row->par() and pit->layout() earlier in
1903 (labelFill): use temp var for row->par()
1904 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1905 asc and desc, realize that pit never changes and that firstpit is
1906 just a duplicate and not needed. Exchange rit->par() with pit in a
1908 (breakAgain): use a temp var for boost::next(rit)
1909 (breakAgainOneRow): ditto
1910 (breakParagraph): use a temp var for rows().begin()
1911 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1912 (cursorRightOneWord): use temp var for cursor.par() and
1913 cursor.pos(), remove usage of tmpcursor.
1914 (cursorLeftOneWord): use temp var for cursor.par() and
1915 cursor.pos() only set cur at end of function.
1917 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * text.C, text2.C: exchange all usage of Paragraph::next with
1920 boost::next(ParagraphList::iterator)
1922 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1924 * text2.C (cursorTop): simplify implementation
1925 (cursorBottom): ditto
1926 (setParagraph): use ParagraphList::iterator
1927 (setCurrentFont): adjust
1928 (getColumnNearX): adjust
1929 (cursorRight): adjust
1930 (cursorLeft): remove usage of Paragraph::previous
1931 (cursorUpParagraph): ditto
1932 (deleteEmptyParagraphMechanism): slight cleanup
1934 * text.C (isBoundary): take a Paragraph const & instead of a
1936 (addressBreakPoint): ditto
1937 (leftMargin): remove usage of Paragraph::previous.
1938 (setHeightOfRow): ditto
1939 (cursorLeftOneWord): ditto
1940 (selectNextWordToSpellcheck): ditto
1943 (breakParagraph): remove one usage of Paragraph::next
1944 (redoParagraph): ditto
1945 (acceptChange): ditto
1946 (insertChar): adjust
1947 (rowBreakPoint): adjust
1949 * bufferview_funcs.C (toggleAndShow): adjust
1951 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1953 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1954 methods to access it.
1956 * text.C: Added updateRowPositions to compute all row positions.
1957 Make top_y and getRowNearY() to use the cached y position
1959 2003-04-11 John Levon <levon@movementarian.org>
1961 * text.C (rowBreakPoint): reintroduce the labelEnd
1962 checks, code copied from the row fill stuff. Deep voodoo.
1964 * text.C (fill): add a comment and debugging for the
1967 2003-04-11 John Levon <levon@movementarian.org>
1969 * text.C: make sure fullrow insets get wrapped to the next line,
1970 even when they're in a manual label
1972 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1974 * text2.C (insertParagraph): make it take ParagraphList::iterator
1976 (setLayout): make it return ParagraphList::iterator
1977 (redoParagraphs): ditto
1979 (checkParagraph): ditto
1981 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1983 * text2.C: adjust several funcs.
1984 (realizeFont): take a ParagraphList::iterator as arg.
1985 (getLayoutFont): ditto
1986 (getLabelFont): ditto
1987 (setCharFont): ditto
1989 * text.C: adjust several funcs.
1991 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1993 * text.C (selectNextWordToSpellcheck): don't accidentally
1996 2003-04-10 John Levon <levon@movementarian.org>
1998 * ToolbarBackend.C (getIcon): special handling for
2001 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2003 * text2.C (cursorRight): a getChar assert fixed
2005 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2007 * text2.C (getFont): change to take a ParagraphList::iterator
2008 instead of Paragraph*
2009 Adjust several functions.
2011 * text.C (transformChar): change to take a ParagraphList::iterator
2012 instead of Paragraph*
2013 (singleWidth): ditto
2014 Adjust several functions.
2016 * rowpainter.C: adjust several functions
2017 * rowpainter.h:store a ParagraphList::iterator and not a
2021 2003-04-09 John Levon <levon@movementarian.org>
2026 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2027 and the "help" bits as well
2029 2003-04-09 John Levon <levon@movementarian.org>
2032 * ToolbarBackend.C: allow multiple toolbars
2034 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * undo_funcs.C (setCursorParUndo): adjust
2038 * text_funcs.C (transposeChars): adjust
2040 * text3.C (gotoNextInset): adjust
2043 * text2.C (setLayout): adjust
2044 (changeDepth): adjust
2046 (redoParagraphs): adjust
2047 (selectionAsString): adjust
2048 (setParagraph): adjust
2049 (insertInset): adjust
2050 (cutSelection): adjust
2051 (copySelection): adjust
2052 (pasteSelection): adjust
2053 (insertStringAsLines): adjust
2054 (updateInset): adjust
2055 (setCursor): change to take a ParagraphList::iterator parameter
2056 (setCursorIntern): change to take a ParagraphList::iterator parameter
2057 (setCurrentFont): adjust
2058 (cursorLeft): adjust
2059 (cursorRight): adjust
2060 (deleteEmptyParagraphMechanism): adjust
2062 * text.C (breakParagraph): adjust
2063 (insertChar): adjust
2064 (acceptChange): adjust
2065 (rejectChange): adjust
2066 (selectNextWordToSpellcheck): adjust
2067 (changeCase): adjust
2071 * lyxfind.C (SearchForward): adjust
2072 (SearchBackward): adjust
2073 (nextChange): adjust
2075 * lyxcursor.C (par): adjust
2077 * lyxcursor.h: store a ParagraphList::iterator instead of a
2080 * lyx_cb.C (getPossibleLabel): adjust
2082 * bufferview_funcs.C (toggleAndShow): adjust
2084 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2087 * BufferView.C (removeAutoInsets): adjust
2088 (lockedInsetStoreUndo): adjust
2090 2003-04-09 John Levon <levon@movementarian.org>
2092 * ToolbarBackend.C: try icon without argument
2093 if with argument fails
2095 2003-04-08 John Levon <levon@movementarian.org>
2098 * ToolbarBackend.C: add getIcon(), handle tooltip,
2099 and change from "Icon" to "Item".
2101 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2103 * BufferView.C (lockInset): another bad getchar crunched
2105 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2107 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2110 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2112 * lyxfind.C (searchForward, searchBackwards): bug 782
2114 2003-04-07 John Levon <levon@movementarian.org>
2116 * paragraph.C: remove dead comment
2118 * text.C: remove troublesome depth-fiddling code
2119 in leftMargin() and rightMargin() (bug 1017)
2121 * text.C: fix breaking of rows in nested lists
2124 * text2.C (updateCounters): fix up depth values
2127 2003-04-07 John Levon <levon@movementarian.org>
2129 * BufferView_pimpl.C: clear message when doc finishes resizing,
2130 and after a mouse event
2132 * lyxfunc.C: clear message after exiting inset
2134 2003-04-07 John Levon <levon@movementarian.org>
2136 * bufferview_funcs.C: show math status not outside
2137 status in the statusbar
2139 2003-04-07 John Levon <levon@movementarian.org>
2141 * lyxfunc.C: note status changed after a depth change
2143 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2145 * LaTeX.h: move AuxInfo operator==, != out of line.
2146 Remove LaTeX virtual destructor; nothing derives from it.
2147 Move operator()() out of public area and rename it startscript().
2148 Change protected for private.
2150 2003-04-04 Angus Leeming <leeming@lyx.org>
2153 * text2.C: remove unneeded #includes.
2155 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2157 * text2.C (dEPM): fix the heigth of the next row
2159 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2161 * text.C: squashed an invalid getChar requester + some ws changes
2163 2003-04-03 John Levon <levon@movementarian.org>
2165 * bufferview_funcs.h:
2166 * bufferview_funcs.C:
2169 * text2.C: make getStatus work for the env depth lfuns
2171 2003-04-03 John Levon <levon@movementarian.org>
2173 * bufferview_funcs.h:
2174 * bufferview_funcs.C:
2177 * text2.C: parlistize decDepth(), by merging it with incDepth()
2179 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2181 * lyxrow.h: store a ParagraphList::iterator instead of a
2182 Paragraph* and adjust other class functions to suit.
2184 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2187 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2189 * text2.C (setCursor): do not anchor to cursor row for the time being
2191 2003-04-02 John Levon <levon@movementarian.org>
2198 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2200 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2202 * paragraph.h: make ParagraphList and ParagraphList::iterator
2203 friends of Paragraph.
2205 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2207 * ParagraphList.C: Use the private next_ and previous_ from
2210 2003-04-01 John Levon <levon@movementarian.org>
2214 * Makefile.am: rename, remove defaults gunk
2217 * MenuBackend.C: remove defaults gunk
2220 * Languages.C: remove defaults gunk
2223 * lyx_main.C: error out if files couldn't be found.
2225 2003-04-02 John Levon <levon@movementarian.org>
2227 * text2.C: make incDepth() use parlist
2229 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * undo_funcs.C (firstUndoParagraph): adjust
2233 * text3.C (gotoInset): adjust
2234 (dispatch): adjust, and rewrite loop.
2236 * text2.C (init): adjust, and rewrite loop.
2237 (redoParagraphs): adjust
2238 (updateInset): adjust, and rewrite loop.
2239 (deleteEmptyParagraphMechanism): adjust
2241 * tabular.C (LyXTabular): adjust
2242 (SetMultiColumn): adjust
2245 * lyxtext.[Ch] (ownerParagraph): delete function
2246 (ownerParagraphs): new function returns a ParagraphList.
2248 * BufferView.C (removeAutoInsets): adjust
2249 (insertErrors): adjust
2250 (setCursorFromRow): adjust
2252 2003-04-01 Angus Leeming <leeming@lyx.org>
2254 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2257 2003-04-02 John Levon <levon@movementarian.org>
2263 * text_funcs.C: make transposeChars a free function
2265 * lyxrow_funcs.C: remove wrong comment
2267 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * rowpainter.C: adjust
2275 * lyxrow_funcs. [Ch]: new files
2277 * lyxrow.[Ch]: remove next and previous pointers
2278 (next,previous): remove accessor functions
2279 (isParEnd): move to lyxrow_funcs
2280 (lastPos): move to lyxrow_funcs
2281 (nextRowIsAllInset): move to lyxrow_funcs
2282 (lastPrintablePos): move to lyxrow_funcs
2283 (numberOfSeparators): move to lyxrow_funcs
2284 (numberOfHfills): move to lyxrow_funcs
2285 (numberOfLabelHfills): move to lyxrow_funcs
2286 (hfillExpansion): move to lyxrow_funcs
2290 * bufferview_funcs.C (toggleAndShow): adjust
2292 * RowList.h: Remove class RowList from file leave just a
2295 * RowList.C: delete file
2297 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2300 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2302 * text3.C (cursorPrevious): adjust
2303 (cursorNext): adjust
2306 * text2.C (redoHeightOfParagraph): adjust
2307 (redoDrawingOfParagraph): adjust
2310 * text.C (breakParagraph): adjust
2311 (insertChar): adjust
2314 * rowpainter.C (RowPainter): adjust
2315 (leftMargin): simplify and adjust
2316 (most rowpainter functions): adjust.
2318 * rowpainter.h: store the row as RowList::iterator not as Row*
2320 * lyxcursor.C (row): taka RowList::iterator as arg
2323 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2326 2003-04-01 Angus Leeming <leeming@lyx.org>
2328 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2329 stuff like bool Bool.
2331 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2333 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2336 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2338 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2341 * lyxtext.h (rows): drop one version and leve a const variant that
2342 returns a RowList::iterator.
2344 2003-03-31 Angus Leeming <leeming@lyx.org>
2346 * text.C (fill): ensure that the signature is the same as that in the
2349 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * text2.C (redoParagraphs): adjust
2352 (updateCounters): adjust
2353 (checkParagraph): adjust
2354 (getColumnNearX): adjust and reformat a bit.
2356 * text.C (top_y): adjust
2358 (leftMargin): adjust
2359 (prepareToPrint): adjust
2361 (getRowNearY): adjust
2363 * lyxtext.h: make rowlist_ mutable.
2365 * RowList.h: add const_iterator
2366 * RowList.C: adjust for RowList::const_iterator.
2368 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2371 2003-03-31 John Levon <levon@movementarian.org>
2374 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2376 * lyx_main.C: set default fonts from using lyx_gui funcs
2378 * exporter.C: pdf_mode moved from lyxrc
2381 * lyxfunc.C: changes from above
2383 2003-03-31 John Levon <levon@movementarian.org>
2385 * lyx_main.C: fix to the last fix
2387 2003-03-31 John Levon <levon@movementarian.org>
2389 * bufferlist.C: "Load original" -> "Load Original"
2395 * format.C: more Alert cleanups
2397 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * text2.C (removeParagraph): make it take a RowList::iterator as
2401 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2402 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2404 * text.C (anchor_row): make it take a RowList::iterator as arg,
2406 (computeBidiTables): make it take a const reference to Row instead
2407 of Row pointer, adjust.
2408 (leftMargin): make it take a RowList::iterator as arg, adjust.
2409 (rowBreakPoint): adjust
2410 (breakAgainOneRow): make it take a RowList::iterator as arg,
2412 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2414 * bufferview_funcs.C (toggleAndShow): adjust
2416 2003-03-30 John Levon <levon@movementarian.org>
2420 * boost-inst.C: moved to support
2422 * several files: changes as a result
2424 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2426 * text2.C (LyXText): adjust.
2428 (removeRow): make it take a RowList::iterator as arg, adjust.
2429 (fullRebreak): adjust
2430 (deleteEmptyParagraphMechanism): adjust
2431 (clearPaint): adjust
2434 * text.C (top_y): adjust
2435 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2436 (breakAgain): make it take a RowList::iterator as arg, adjust.
2437 (breakParagraph): adjust
2438 (insertChar): adjust
2441 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2442 need_break_row, and refresh_row.
2444 * text3.C (dispatch): adjust
2446 * text2.C (checkParagraph): adjust
2448 (setCursorFromCoordinates): adjust
2450 * text.C (top_y): adjust
2452 (getRow): make it return a RowList::iterator, adjust
2453 (getRowNearY): make it return a RowList::iterator, adjust
2455 * text2.C (init): adjust
2456 (insertRow): remove function
2457 (insertParagraph): adjust
2458 (redoParagraphs): adjust
2459 (fullRebreak): adjust
2460 (updateCounters): adjust
2462 * text.C (top_y): rewrite to use RowList iterators.
2464 (setHeightOfRow): rewrite to sue RowList iterators.
2465 (appendParagraph): adjust
2466 (breakAgain): adjust
2467 (breakAgainOneRow): adjust
2468 (breakParagraph): adjust
2470 (getRowNearY): adjust, and remove commented code.
2472 * lyxtext.h (firstRow): delete function
2473 (lastRow): delete function
2474 (rows): new function (const and non-const versions.)
2475 (insertRow): delete function
2477 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2479 2003-03-29 John Levon <levon@movementarian.org>
2481 * BufferView_pimpl.C: always update scrollbar top
2482 because pasting text when we're anchored could mean we
2483 miss an update altogether
2485 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * text2.C (init): use rowlist_.end() and not 0.
2488 (insertRow): change to take a RowList::iterator as arg, adjust
2490 (insertParagraph): change to take a RowList::iterator as arg,
2492 (redoParagraphs): remove some debug msgs.
2494 * text.C (appendParagraph): change to take a RowList::iterator
2495 arg, adjust for this.
2496 (breakAgain): add an assert
2497 (breakAgainOneRow): ditto
2499 2003-03-29 John Levon <levon@movementarian.org>
2501 * text2.C: do not clear selection after inc/decDepth
2504 2003-03-29 John Levon <levon@movementarian.org>
2507 * buffer.C: fix broken strerrors according to Lars
2509 2003-03-29 John Levon <levon@movementarian.org>
2511 * converters.C: more Alert cleanups
2513 2003-03-29 John Levon <levon@movementarian.org>
2515 * bufferview_funcs.C: remove pointless Alert
2517 * buffer.C: fix confusing error message when
2518 a template is chmoded 000
2520 2003-03-29 John Levon <levon@movementarian.org>
2524 * BufferView_pimpl.C: Alert fixes
2528 * tabular-old.C: remove unused table compat reading
2530 2003-03-29 John Levon <levon@movementarian.org>
2535 * lyx_cb.C: more Alert cleanups
2537 * lyxfunc.C: don't allow chktex if not latex document
2539 2003-03-29 John Levon <levon@movementarian.org>
2543 * buffer.C: warnings pushed down from support/,
2546 2003-03-29 John Levon <levon@movementarian.org>
2548 * lyxfunc.C: safety check for C-r (revert)
2550 2003-03-29 John Levon <levon@movementarian.org>
2553 * bufferlist.C: several UI fixes using Alert::prompt.
2554 Fix the pointless looping quit code. Fix stupid revert
2559 * lyx_cb.C: use Alert::prompt
2561 * lyx_main.C: remove a silly question
2563 * lyxfunc.C: remove a couple of silly questions,
2566 2003-03-28 John Levon <levon@movementarian.org>
2568 * text2.C: fix bug 974 (End on empty par)
2570 2003-03-28 John Levon <levon@movementarian.org>
2572 * BufferView_pimpl.C:
2574 * lfuns.h: remove do-nothing math greek lfuns
2576 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * lyxgluelength.h (isValidGlueLength): add default arg on
2579 parameter 2. Remove default arg from friend in class.
2581 * lyxlength.h (isValidLength): add default arg on parameter 2.
2582 Remove default arg from friend in class.
2584 * text2.C (LyXText): adjust, initialize refresh_row.
2588 (insertParagraph): adjst
2589 (redoParagraphs): adjust
2590 (fullRebreak): adjust
2591 (updateCounters): adjust
2592 (deleteEmptyParagraphMechanism): first attempt at fixing a
2595 * text.C (top_y): adjust
2596 (setHeightOfRow): adjust
2598 (getRowNearY): adjust
2600 * lyxtext.h: include RowList.h
2601 (~LyXText): not needed anymore, deleted.
2602 (firstRow): modify for RowList
2603 (lastRow): new function
2604 Delete firstrow and lastrow class variables, add a Rowlist
2605 rowlist_ class variable.
2607 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2610 * RowList.C (insert): fix case where it == begin().
2612 2003-03-26 Angus Leeming <leeming@lyx.org>
2614 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2615 the thesaurus dialog.
2617 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2619 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2621 * RowList.[Ch]: new files
2623 * ParagraphList.C (erase): handle the case where it == begin
2626 2003-03-25 John Levon <levon@movementarian.org>
2630 * aspell.C: add new aspell support
2633 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2636 2003-03-25 Angus Leeming <leeming@lyx.org>
2639 * LyXAction.C (init): new LFUN_INSET_INSERT.
2641 * BufferView_pimpl.C (dispatch): split out part of the
2642 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2644 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2647 2003-03-25 Angus Leeming <leeming@lyx.org>
2649 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2651 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2654 * text3.C: remove useless row->height(0)
2656 2003-03-25 John Levon <levon@movementarian.org>
2660 * text3.C: rename the refreshing stuff to better names
2662 2003-03-24 John Levon <levon@movementarian.org>
2664 * BufferView_pimpl.h:
2665 * BufferView_pimpl.C: update layout choice on a mouse
2668 2003-03-23 John Levon <levon@movementarian.org>
2670 * Makefile.am: fix commandtags.h reference
2672 2003-03-22 John Levon <levon@movementarian.org>
2674 * BufferView_pimpl.C:
2679 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2681 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2684 * text.C: take the rtl methods out of line
2686 2003-03-21 André Pönitz <poenitz@gmx.net>
2688 * metricsinfo.[Ch]: new files containing structures to be passed around
2689 during the two-phase-drawing...
2691 2003-03-21 André Pönitz <poenitz@gmx.net>
2693 * lyxtextclass.C: read 'environment' tag.
2695 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2697 * text2.C (removeRow): fix bug 964
2699 2003-03-20 John Levon <levon@movementarian.org>
2703 * text2.C: paint cleanups. Inset::update() dropped font
2706 2003-03-19 John Levon <levon@movementarian.org>
2708 * lyxfunc.C: only fitcursor/markDirty if available()
2710 2003-03-19 John Levon <levon@movementarian.org>
2712 * commandtags.h: rename to ...
2714 * lfuns.h: ... this, and renumber / cleanup
2716 2003-03-19 John Levon <levon@movementarian.org>
2718 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2719 fit the cursor after an lfun
2723 * BufferView_pimpl.h:
2724 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2726 * LyXAction.C: layout-character should have ReadOnly
2728 * ParagraphParameters.C:
2730 * bufferview_funcs.C:
2737 * undo_funcs.C: changes from above
2739 2003-03-18 John Levon <levon@movementarian.org>
2741 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2742 remove it from update()
2744 * lyxfunc.C: update layout choice after an lfun
2746 * text3.C: remove extra updateLayoutChoice()s
2748 2003-03-18 John Levon <levon@movementarian.org>
2750 * text.C: top_y change means full repaint, fix
2751 a drawing bug with cursor movement
2753 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2757 * text2.C: anchor row on setCursor
2759 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2761 * lyxtext.h: remove almost all mutable keywords
2764 * text3.C: remove const keywords accordingly
2766 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2768 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2770 (TeXEnvironment): ditto
2773 2003-03-17 John Levon <levon@movementarian.org>
2775 * text.C (rowBreakPoint): remove attempt to fix displayed
2776 math insets inside a manual label
2778 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * lyxtext.h: remove BufferView* as first arg from almost all class
2782 * other files: adjust.
2784 2003-03-17 John Levon <levon@movementarian.org>
2788 * text2.C: more paint cleanups
2790 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2793 * rowpainter.C: remove "smart" background painting code
2795 2003-03-16 John Levon <levon@movementarian.org>
2800 * text3.C: add helper functions for setting refresh_row/y
2802 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2804 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2805 newline inset which *can* get inserted in the pass_thru layouts.
2806 This is primarily for literate documents.
2808 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2810 * buffer.C: increment LYX_FORMAT to 223
2812 2003-03-14 André Pönitz <poenitz@gmx.net>
2814 * textclass.h: prepare for environment handling, ws changes
2815 * lyxlayout.C: read latexheader and latexfooter tags
2817 2003-03-14 John Levon <levon@movementarian.org>
2819 * text2.C: rewrite ::status() a bit
2821 2003-03-13 John Levon <levon@movementarian.org>
2823 * lyxtext.h: add some docs
2825 2003-03-13 John Levon <levon@movementarian.org>
2830 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2832 2003-03-13 John Levon <levon@movementarian.org>
2834 * text3.C: fix appendix redrawing
2836 2003-03-13 John Levon <levon@movementarian.org>
2838 * text.C (setHeightOfRow):
2840 * rowpainter.C: make appendix mark have the text
2841 "Appendix" so the user knows what it is
2844 * LColor.C: s/appendixline/appendix/ from above
2846 2003-03-13 John Levon <levon@movementarian.org>
2848 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2850 * text.C: fix a getChar(pos) bug properly
2852 2003-03-13 Angus Leeming <leeming@lyx.org>
2855 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2856 Probably only temporary. Let's see how things pan out.
2858 * BufferView.C (unlockInset):
2859 * BufferView_pimpl.C (fitCursor):
2860 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2862 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2863 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2865 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2866 new functions that convert ParagraphParameters to and from a string.
2868 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2869 BufferView::Pimpl's dispatch.
2870 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2872 2003-03-13 André Pönitz <poenitz@gmx.net>
2876 * factory.C: make it aware of InsetEnv
2878 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * text2.C (setCursor): never ask for one past last
2881 (setCursor): add some debugging messages.
2883 * text.C (singleWidth): never ask for one past last
2884 (singleWidth): ditto
2886 (rightMargin): ditto
2887 (rowBreakPoint): ditto
2888 (setHeightOfRow): ditto
2889 (prepareToPrint): ditto
2891 * rowpainter.C (paintBackground): never ask for one past last
2892 (paintText): never ask for one past last
2894 * paragraph_pimpl.C (getChar): make the assert stricter, never
2895 allow the one past last pos to be taken
2897 * paragraph.C (getChar): ws changes only
2899 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2900 (numberOfSeparators): ditto
2901 (numberOfHfills): ditto
2903 2003-03-12 John Levon <levon@movementarian.org>
2909 * paragraph_funcs.C: fix per-buffer authorlists
2911 2003-03-12 John Levon <levon@movementarian.org>
2913 * text.C: fix newline in right address
2915 2003-03-12 Angus Leeming <leeming@lyx.org>
2917 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2918 duplicate those in LyXFunc::dispatch.
2922 * ToolbarDefaults.C:
2923 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2924 Add LFUN_FONTFREE_UPDATE.
2926 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2927 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2929 * bufferview_func.[Ch]: several new functions to facilliate
2930 transfer of data to and from the character dialog.
2932 2003-03-12 John Levon <levon@movementarian.org>
2937 * paragraph_funcs.C:
2938 * paragraph_pimpl.C:
2942 * text3.C: remove META_NEWLINE in favour of an inset
2945 * rowpainter.C: remove paintNewline (done by inset)
2947 2003-03-12 John Levon <levon@movementarian.org>
2949 * paragraph_pimpl.C: complain about bad getChar()s
2950 for a while at least
2952 2003-03-12 John Levon <levon@movementarian.org>
2955 * buffer.C: move paragraph read into a separate function,
2956 a little renaming to reflect that.
2959 * bufferparams.C: remove the author_ids map, not necessary now
2962 * factory.C: moved Buffer::readInset to here
2964 * paragraph_funcs.h:
2965 * paragraph_funcs.C: readParagraph free function moved from
2968 * tabular.C: name change
2970 2003-03-12 John Levon <levon@movementarian.org>
2973 * ParagraphParameters.C: move par params input to
2976 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2977 behave like a normal read from the stream wrt reading
2978 a line vs. a \\token
2980 2003-03-12 John Levon <levon@movementarian.org>
2983 * ParagraphParameters.h:
2984 * ParagraphParameters.C: move output code to a
2987 2003-03-12 John Levon <levon@movementarian.org>
2989 * BufferView.C (insertLyXFile):
2992 * tabular.C: use a parlist iterator for creating the
2995 2003-03-12 John Levon <levon@movementarian.org>
2997 * buffer.C: make current_change static local not
3000 2003-03-12 John Levon <levon@movementarian.org>
3002 * buffer.C: fix insertStringAsLines for change tracking
3004 2003-03-12 John Levon <levon@movementarian.org>
3011 * bufferparams.C: move author list into params. Rename some
3012 functions. Move the header reading into a separate token
3013 loop. Move the header token reading into BufferParams.
3015 2003-03-12 John Levon <levon@movementarian.org>
3017 * changes.C: put debug inside lyxerr.debugging() checks
3019 2003-03-11 André Pönitz <poenitz@gmx.net>
3021 * factory.C: make it aware of InsetHFill
3023 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3025 * buffer.C (latexParagraphs): move function from here...
3026 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3029 2003-03-10 Angus Leeming <leeming@lyx.org>
3031 * LyXAction.C (init): fix bug in poplating array with multiple entries
3032 with the same LFUN (spotted by JMarc).
3034 2003-03-10 John Levon <levon@movementarian.org>
3037 * text2.C: move getColumnNearX() near its
3040 2003-03-10 John Levon <levon@movementarian.org>
3042 * text.C: fix break before a minipage
3044 2003-03-10 John Levon <levon@movementarian.org>
3046 * text.C: fix the last commit
3048 2003-03-09 John Levon <levon@movementarian.org>
3052 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3053 bug 365 (don't break before insets unless needed). Don't
3054 return a value > last under any circumstances.
3056 2003-03-09 Angus Leeming <leeming@lyx.org>
3058 * BufferView_pimpl.C (trackChanges, dispatch): call
3059 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3061 2003-03-09 Angus Leeming <leeming@lyx.org>
3063 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3064 than Dialogs::showAboutlyx().
3066 2003-03-09 Angus Leeming <leeming@lyx.org>
3068 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3069 than Dialogs::showTabularCreate().
3071 2003-03-09 John Levon <levon@movementarian.org>
3075 * text2.C: 3rd arg to nextBreakPoint was always the same.
3078 2003-03-08 John Levon <levon@movementarian.org>
3085 * text2.C: Remove the "main" bit from the "main body"
3088 2003-03-08 John Levon <levon@movementarian.org>
3090 * text.C (leftMargin): The left margin of an empty
3091 manual label paragraph should not include the label width
3094 * text.C (prepareToPrint): don't attempt to measure hfills
3095 for empty manual label paragraphs - the answer should be 0
3097 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * CutAndPaste.C: remove commented code and reindent.
3101 2003-03-08 John Levon <levon@movementarian.org>
3104 * lyxfunc.C: move reloadBuffer()
3107 * BufferView.C: to here
3109 * lyxvc.C: add comment
3112 * vc-backend.C: call bv->reload() to avoid
3113 getStatus() check on MENURELOAD
3115 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3117 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3118 to an old format .dep file.
3120 2003-03-07 Angus Leeming <leeming@lyx.org>
3122 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3123 when the LFUN_MOUSE_RELEASE should have been handled by
3124 inset->localDispatch.
3126 2003-03-07 Angus Leeming <leeming@lyx.org>
3128 * BufferView_pimpl.C (dispatch):
3129 * LyXAction.C (init):
3130 * ToolbarDefaults.C (init):
3132 * lyxfunc.C (getStatus):
3133 remove LFUN_INSET_GRAPHICS.
3135 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3137 2003-03-07 Angus Leeming <leeming@lyx.org>
3140 * LyXAction.C (init):
3141 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3143 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3146 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3148 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3149 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3151 2003-03-07 Angus Leeming <leeming@lyx.org>
3153 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3156 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * ParagraphList.C (front): new function
3161 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3163 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3164 and top_row_offset_. removed var first_y.
3166 * text2.C (LyXText, removeRow):
3168 * BufferView_pimpl.C:
3169 use these methods instead of using first_y
3171 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * text2.C (pasteSelection): adjust for checkPastePossible
3175 * CutAndPaste.C: remove Paragraph * buf and replace with
3176 ParagraphList paragraphs.
3177 (DeleteBuffer): delete
3178 (cutSelection): change the tc type to textclass_type
3179 (copySelection): change the tc type to textclass_type
3180 (copySelection): adjust for ParagraphList
3181 (pasteSelection): change the tc type to textclass_type
3182 (pasteSelection): adjust for Paragraphlist
3183 (nrOfParagraphs): simplify for ParagraphList
3184 (checkPastePossible): simplify for ParagraphList
3185 (checkPastePossible): remove unused arg
3187 * ParagraphList.C (insert): handle the case where there are no
3190 * CutAndPaste.h: make CutAndPaste a namespace.
3192 * text3.C (dispatch): adjust
3194 * text.C (breakParagraph): add a ParagraphList as arg
3196 * paragraph_funcs.C (breakParagraph): change to take a
3197 BufferParams and a ParagraphList as args.
3198 (breakParagraphConservative): ditto
3199 (mergeParagraph): ditto
3200 (TeXDeeper): add a ParagraphList arg
3201 (TeXEnvironment): ditto
3204 * buffer.C (readLyXformat2): adjust
3205 (insertStringAsLines): adjust
3206 (latexParagraphs): adjust
3208 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3209 (cutSelection): adjust
3210 (pasteSelection): adjust
3212 * BufferView_pimpl.C (insertInset): adjust
3214 2003-03-05 Angus Leeming <leeming@lyx.org>
3217 * LyXAction.C (init):
3218 * BufferView_pimpl.C (dispatch):
3219 * lyxfunc.C (getStatus):
3220 remove LFUN_CHILD_INSERT.
3222 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3224 2003-03-05 Angus Leeming <leeming@lyx.org>
3227 * LyXAction.C (init):
3228 * src/factory.C (createInset):
3229 * lyxfunc.C (getStatus):
3230 * text3.C (dispatch):
3231 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3233 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3235 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3237 * ParagraphList.C (insert): handle insert right before end()
3238 (erase): fix cases where it can be first or last paragraph.
3240 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3243 Paragraph::next and Paragraph::previous
3246 * text.C (breakParagraph): adjust
3248 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3249 BufferParams& as arg.
3250 (breakParagraph): use ParagraphList::insert
3251 (breakParagraphConservative): take a Buffer* instead of a
3252 BufferParams& as arg.
3253 (breakParagraphConservative): use ParagraphList::insert.
3255 * buffer.C (insertStringAsLines): un-const it
3256 (insertStringAsLines): adjust
3258 * ParagraphList.C (insert): new function
3260 * CutAndPaste.C (pasteSelection): adjust
3262 * text.C (backspace): adjust
3264 * tabular.C (SetMultiColumn): adjust
3266 * CutAndPaste.C (cutSelection): adjust
3267 (pasteSelection): adjust
3269 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3270 Buffer const * as arg
3272 * ParagraphList.C (erase): new function
3273 * paragraph_funcs.C (mergeParagraph): use it
3274 (mergeParagraph): make it take a Buffer* instead of a
3275 BufferParams* as arg
3277 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3279 (breakParagraphConservative): ditto
3281 * paragraph.h: remove the breakParagraph friend
3283 * paragraph.C (eraseIntern): new function
3284 (setChange): new function
3286 * paragraph_funcs.C (mergeParagraph): make it take a
3287 ParagraphList::iterator instead of a Paragraph *, adjust
3290 * paragraph.h: move an #endif so that the change tracking stuff
3291 also works in the NO_NEXT case.
3293 2003-03-04 Angus Leeming <leeming@lyx.org>
3296 * LyXAction.C: new LFUN_INSET_MODIFY.
3298 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3299 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3301 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3303 * several files: ws changes only
3305 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3306 (TeXEnvironment): ditto
3309 * buffer.C (makeLaTeXFile): adjust
3310 (latexParagraphs): make it take ParagraphList::iterator as args
3312 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * buffer.C (latexParagraphs): adjust
3316 * paragraph.C (TeXOnePar): move function...
3317 (optArgInset): move function...
3318 (TeXEnvironment): move function...
3319 * paragraph_pimpl.C (TeXDeeper): move function...
3320 * paragraph_funcs.C: ...here
3322 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3324 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * buffer.C (readInset): remove compability code for old Figure and
3329 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * buffer.C: ws changes
3334 * BufferView_pimpl.C: ditto
3337 * bufferlist.h: ditto
3341 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3343 * converter.[Ch]: split into itself +
3346 * Makefile.am: += graph.[Ch] + format.[Ch]
3353 * lyxrc.C: added #include "format.h"
3355 2003-02-27 Angus Leeming <leeming@lyx.org>
3357 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3360 * factory.C (createInset): add "label" to the factory.
3362 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3363 string and do no more.
3365 2003-02-27 Angus Leeming <leeming@lyx.org>
3368 * LyXAction.C (init):
3369 * factory.C (createInset):
3370 * BufferView_pimpl.C (dispatch):
3371 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3373 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3375 * lyxfunc.C (dispatch):
3376 * text3.C (dispatch): pass name to params2string.
3378 2003-02-26 Angus Leeming <leeming@lyx.org>
3380 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3382 Rearrange the ~includes. Strip out the unnecessary ones.
3384 * factory.C (createInset): reformat.
3385 create new insets for the various LFUN_XYZ_APPLY lfuns.
3387 2003-02-26 John Levon <levon@movementarian.org>
3390 * lyxrow.C: add isParStart,isParEnd helpers
3392 * paragraph.h: make isInserted/DeletedText take refs
3394 * paragraph_funcs.h:
3395 * paragraph_funcs.C: remove #if 0'd code
3400 * text.C: use lyxrow helpers above.
3401 Move draw and paint routines to RowPainter.
3402 Make several methods use refs not pointers.
3403 Make backgroundColor() const.
3404 Add markChangeInDraw(), isInInset().
3405 Merge changeRegionCase into changeCase.
3406 Make workWidth() shouldn't-happen code into an Assert.
3409 * rowpainter.C: new class for painting a row.
3412 * vspace.C: make inPixels take a ref
3414 2003-02-26 Angus Leeming <leeming@lyx.org>
3416 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3419 2003-02-25 John Levon <levon@movementarian.org>
3421 * ispell.C: give the forked command a more accurate name
3423 2003-02-22 John Levon <levon@movementarian.org>
3426 * toc.C: make TocItem store an id not a Paragraph *
3429 2003-02-21 Angus Leeming <leeming@lyx.org>
3431 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3432 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3433 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3434 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3435 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3436 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3438 * BufferView_pimpl.C (dispatch):
3439 * LyXAction.C (init):
3440 * factory.C (createInset):
3441 * lyxfunc.C (getStatus, dispatch):
3442 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3444 2003-02-21 Angus Leeming <leeming@lyx.org>
3446 * BufferView_pimpl.C (MenuInsertLyXFile):
3447 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3448 * lyxfunc.C (menuNew, open, doImport):
3449 no longer pass a LyXView & to fileDlg.
3451 2003-02-21 Angus Leeming <leeming@lyx.org>
3453 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3454 * LyXAction.C: change, BIBKEY to BIBITEM.
3455 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3456 Change InsetBibKey to InsetBibitem.
3457 Change BIBKEY_CODE to BIBITEM_CODE.
3458 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3459 * factory.C: replace insetbib.h with insetbibitem.h.
3460 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3461 * paragraph.C: replace insetbib.h with insetbibitem.h.
3462 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3463 Change bibkey() to bibitem().
3464 * text.C: remove insetbib.h.
3465 * text2.C: replace insetbib.h with insetbibitem.h.
3466 change bibkey() to bibitem().
3467 * text3.C: remove insetbib.h.
3468 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3470 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3472 * lyxrc.C (output): enclose user email in quotes (in case there are
3475 2003-02-18 John Levon <levon@movementarian.org>
3477 * buffer.h: add std::
3479 2003-02-17 John Levon <levon@movementarian.org>
3485 * pspell.C: reworking. Especially in ispell, a large
3486 number of clean ups and bug fixes.
3488 * lyxfunc.C: fix revert to behave sensibly
3490 2003-02-17 André Pönitz <poenitz@gmx.net>
3493 * commandtags.h: new LFUN_INSERT_BIBKEY
3503 * paragraph_func.C: remove special bibkey handling
3505 2003-02-17 John Levon <levon@movementarian.org>
3507 * text.C (Delete): fix case where delete at the end of
3508 the very first paragraph would not merge the pars
3510 2003-02-17 John Levon <levon@movementarian.org>
3512 * lyxrow.C: fix lastPrintablePos()
3514 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3516 * bufferparams.C (writeLaTeX): add a std:here
3518 * buffer.C: and remove a using directive there
3520 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3522 * buffer.C (makeLaTeXFile): move the code that generates the
3525 * bufferparams.C (writeLaTeX): ... in this new method
3527 * LaTeXFeatures.C (getEncodingSet): make const
3528 (getLanguages): make const
3530 * MenuBackend.C (binding): returns the binding associated to this
3532 (add): sets the status of each item by calling getStatus. Adds
3534 (read): add support for OptSubMenu
3535 (expand): remove extra separator at the end of expanded menu
3537 2003-02-15 John Levon <levon@movementarian.org>
3540 * BufferView_pimpl.C:
3542 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3543 inset code that had no actual effect. Remove unneeded status
3546 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3548 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3551 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3553 * text.C (drawLengthMarker): also draw an arrow marker for
3554 symbolic lengths (medskip...)
3556 2003-02-14 John Levon <levon@movementarian.org>
3559 * tabular.C: better method names
3561 2003-02-14 John Levon <levon@movementarian.org>
3563 * BufferView_pimpl.C:
3568 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3569 it's a more accurate name. Remove some pointless uses.
3571 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3573 * text2.C (LyXText): change order of initilizers to shut off
3576 2003-02-14 John Levon <levon@movementarian.org>
3578 * buffer.C: use ParIterator for getParFromID()
3582 * paragraph_pimpl.h:
3583 * paragraph_pimpl.C: remove unused getParFromID()
3585 2003-02-14 John Levon <levon@movementarian.org>
3587 * buffer.C: remove some very old #if 0'd parse code
3589 2003-02-13 John Levon <levon@movementarian.org>
3593 * text2.C: move hfillExpansion(), numberOfSeparators(),
3594 rowLast(), rowLastPrintable(), numberofHfills(),
3595 numberOfLabelHfills() ...
3598 * lyxrow.C: ... to member functions here.
3603 * text.C: remove LyXText::beginningOfMainBody(), and call
3604 p->beginningOfMainBody() directly. Move the check for
3605 LABEL_MANUAL into the latter.
3612 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3618 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3619 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3621 2003-02-13 John Levon <levon@movementarian.org>
3623 * CutAndPaste.C: remove debug
3625 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3627 * paragraph.C (asString): remove two unused variables
3629 * lyxtextclass.C (readTitleType):
3631 (LyXTextClass): handle new members titletype_ and titlename_
3633 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3635 2003-02-09 John Levon <levon@movementarian.org>
3638 * buffer.C: replace hand-coded list with a map for the dep clean
3640 2003-02-08 John Levon <levon@movementarian.org>
3642 * LaTeX.C: consolidate code into showRunMessage() helper
3644 2003-02-08 John Levon <levon@movementarian.org>
3649 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3650 and pass the size in explicitly
3652 * BufferView_pimpl.h:
3653 * BufferView_pimpl.C:
3655 * BufferView.C: add getCurrentChange()
3657 * BufferView_pimpl.h:
3658 * BufferView_pimpl.C: handle change lfuns
3660 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3661 for changes. Mark pasted paragraphs as new.
3663 * support/lyxtime.h:
3664 * support/lyxtime.C:
3665 * DepTable.C: abstract time_t as lyx::time_type
3668 * LColor.C: add colours for new text, deleted text, changebars
3670 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3671 package use "usenames" option.
3675 * LyXAction.C: add change lfuns
3679 * author.C: author handling
3682 * buffer.C: add a per-buffer author list, with first entry as
3683 current author. Handle new .lyx tokens for change tracking. Output
3684 author list to .lyx file. Output dvipost stuff to .tex preamble.
3685 Bump lyx format to 222.
3688 * bufferlist.C: add setCurrentAuthor() to reset current author details
3692 * bufferparams.C: add param for tracking
3694 * bufferview_funcs.C: output change info in minibuffer
3698 * changes.C: add change-tracking structure
3701 * debug.C: add CHANGES debug flag
3704 * lyxfind.C: add code for finding the next change piece
3707 * lyxrc.C: add user_name and user_email
3710 * lyxrow.C: add a metric for the top of the text line
3713 * text.C: implement accept/rejectChange()
3716 * text.C: paint changebars. Paint new/deleted text in the chosen
3717 colours. Strike through deleted text.
3721 * paragraph_pimpl.h:
3722 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3723 in the current change to the insert functions. Rework erase to
3724 mark text as deleted, adding an eraseIntern() and a range-based
3725 erase(). Implement per-paragraph change lookup and
3728 * paragraph_funcs.C: Fixup paste for change tracking.
3730 * tabular.C: mark added row/columns as new.
3732 * text.C: fix rowLast() to never return -1. Don't allow
3733 spellchecking of deleted text. Track transpose changes. Don't
3734 allow paragraph break or merge where appropriate.
3736 * text2.C: leave cursor at end of selection after a cut.
3738 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3740 * text.C (getLengthMarkerHeight):
3741 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3742 visible on screen too.
3744 2003-02-07 John Levon <levon@movementarian.org>
3746 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3748 2003-02-05 Angus Leeming <leeming@lyx.org>
3750 * lyxserver.C (read_ready): revert my patch of 11 September last year
3751 as it sends PC cpu through the roof. Presumably this means that
3752 the lyxserver will no longer run on an Alpha...
3754 2003-01-30 Angus Leeming <leeming@lyx.org>
3756 * factory.C (createInset): create an InsetCommandParam of type "index"
3757 and use it to 'do the right thing'.
3759 * text2.C (getStringToIndex): ensure that cursor position is always
3760 reset to the reset_cursor position.
3762 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3764 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3767 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3771 * lyxfunc.C: Output messages with identical spelling, punctuation,
3774 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3776 * MenuBackend.C (expandFormats): List only viewable export formats
3779 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3782 * lyxfunc.C (getStatus): Make sure that formats other than
3783 "fax" can also be disabled
3785 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3787 * text3.C (dispatch): put the lfuns that insert insets in 3
3788 groups, and call doInsertInset with appropriate arguments.
3789 (doInsertInset): new function, that creates an inset and inserts
3790 it according to some boolean parameters.
3792 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * buffer.C (readFile): remember to pass on 'par' when calling
3795 readFile recursively.
3797 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3799 * MenuBackend.C (expandFormats): add "..." to import formats.
3801 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3803 * paragraph.C (asString): Remove XForms RTL hacks.
3805 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3806 * buffer.C: fix typo
3808 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * Makefile.am (LIBS): delete var
3811 (lyx_LDADD): add @LIBS@ here instead.
3813 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3815 * Clarify the meaning of "wheel mouse jump"
3817 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3819 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3822 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3824 * importer.C (Loaders): do not preallocate 3 elements in the
3825 vector, since one ends up with 6 elements otherwise
3827 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3829 * DepTable.C (write): write the file name as last element of the
3830 .dep file (because it may contain spaces)
3831 (read): read info in the right order
3833 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3835 * paragraph_pimpl.C (simpleTeXBlanks):
3836 (simpleTeXSpecialChars):
3837 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3839 * tabular.C (latex): add some missing case statements. Reindent.
3841 * MenuBackend.C (expandToc): remove unused variable.
3843 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3852 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3855 2003-01-05 John Levon <levon@movementarian.org>
3858 * BufferView.C: add getEncoding()
3861 * kbsequence.C: do not store last keypress
3864 * lyxfunc.C: store last keypress here instead. Pass encoding
3867 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3869 * lyx_main.C (init): remove annoying error message when following
3870 symbolic links (bug #780)
3872 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3874 * text.C (insertChar):
3875 * lyxrc.C (getDescription): remove extra spaces
3877 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3879 * lyxrc.C (getDescription): remove extra spaces
3881 2002-12-20 John Levon <levon@movementarian.org>
3883 * text3.C: hack fix for page up/down across tall rows
3885 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3887 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3890 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3892 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3893 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3894 thesaurus is not compiled in
3896 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3898 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3900 2002-12-16 Angus Leeming <leeming@lyx.org>
3903 * lyx_main.C (init): remove override_x_deadkeys stuff.
3905 2002-12-12 John Levon <levon@movementarian.org>
3907 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3908 insert. Only remove shift modifier under strict
3911 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * MenuBackend.C (expandToc): fix crash.
3915 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * MenuBackend.C (expandToc): gettext on float names.
3919 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3921 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3922 implement bool empty() [bug 490]
3924 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3928 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * several files: ws changes
3932 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * text2.C (setCounter): clean up a bit, use boost.format.
3935 (updateCounters): initialize par upon declaration.
3937 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3938 if the layout exists. We do not just store the layout any more.
3939 (SwitchLayoutsBetweenClasses): use boost.format
3941 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3943 * converter.C (convert): if from and to files are the same, use a
3944 temporary files as intermediary
3946 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3949 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3951 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3953 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3955 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * tabular.C (asciiPrintCell): use string(size, char) instead of
3960 * sgml.C (openTag): fix order of arguments to string constructor
3963 * lyxfunc.C (dispatch): use boost.format
3965 * lots of files: change "c" -> 'c'
3967 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3969 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3971 2002-11-25 Angus Leeming <leeming@lyx.org>
3973 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3975 * lyx_main.C (init): compile fix.
3977 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * lyx_cb.C (start): boost.formatify
3980 do not include <iostream>
3982 * lengthcommon.C: ws only
3984 * boost-inst.C,BoostFormat.h: add more explict instantations
3986 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * lots of files: handle USE_BOOST_FORMAT
3990 2002-11-21 John Levon <levon@movementarian.org>
3992 * pspell.C: fix compile
3994 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3996 * lyxfunc.C (dispatch): use boost::format
4000 * lyxfont.C (stateText): use boost::format
4002 * lyx_main.C (LyX): use boost::format
4004 (queryUserLyXDir): ditto
4007 (typedef boost::function): use the recommened syntax.
4009 * importer.C (Import): use boost::format
4011 * debug.C (showLevel): use boost::format
4013 * converter.C (view): use boost::format
4018 * bufferview_funcs.C (currentState): use boost::format
4020 * bufferlist.C (emergencyWrite): use boost::format
4022 * buffer.C (readLyXformat2): use boost::format
4023 (parseSingleLyXformat2Token): ditto
4025 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4027 * LaTeX.C (run): use boost::format
4029 * Chktex.C (scanLogFile): use boost::format
4031 * BufferView_pimpl.C (savePosition): use boost::format
4032 (restorePosition): ditto
4033 (MenuInsertLyXFile): ditto
4035 * BoostFormat.h: help file for explicit instation.
4037 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4039 * tabular.C (latex): Support for block alignment in fixed width
4042 2002-11-17 John Levon <levon@movementarian.org>
4044 * BufferView_pimpl.C:
4046 * lyxfunc.C: split filedialog into open/save
4048 2002-11-08 Juergen Vigna <jug@sad.it>
4050 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4051 by my last patch (hopefully).
4053 2002-11-08 John Levon <levon@movementarian.org>
4062 * toc.C: ParConstIterator, and use it (from Lars)
4064 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4066 * lyxtextclass.[Ch]: revise and add doxygen comments
4068 2002-11-07 John Levon <levon@movementarian.org>
4070 * text.C: fix progress value for spellchecker
4072 * toc.C: fix navigate menu for insetwrap inside minipage
4074 * paragraph_funcs.C: added FIXME for suspect code
4076 2002-11-07 John Levon <levon@movementarian.org>
4078 * BufferView_pimpl.C: fix redrawing of insets
4081 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4083 * text2.C (updateCounters): fix bug 668
4085 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4087 * text3.C (dispatch): Do not make the buffer dirty when moving the
4090 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * vc-backend.C: STRCONV
4095 * text2.C (setCounter): STRCONV
4097 * paragraph.C (asString): STRCONV
4099 * lyxlength.C (asString): STRCONV
4100 (asLatexString): ditto
4102 * lyxgluelength.C (asString): STRCONV
4103 (asLatexString): ditto
4105 * lyxfunc.C (dispatch): STRCONV
4108 * lyxfont.C (stateText): STRCONV
4110 * importer.C (Import): STRCONV
4112 * counters.C (labelItem): STRCONV
4113 (numberLabel): ditto
4114 (numberLabel): remove unused ostringstream o
4119 * bufferview_funcs.C (currentState): STRCONV
4121 * buffer.C (readFile): STRCONV
4122 (asciiParagraph): ditto
4123 (makeLaTeXFile): ditto
4125 * Spacing.C (writeEnvirBegin): STRCONV
4127 * LaTeXFeatures.C (getLanguages): STRCONV
4128 (getPackages): ditto
4130 (getBabelOptions): ditto
4131 (getTClassPreamble): ditto
4132 (getLyXSGMLEntities): ditto
4133 (getIncludedFiles): ditto
4137 (scanAuxFile): ditto
4140 * LString.h: add the STRCONV macros
4142 * BufferView_pimpl.C (savePosition): STRCONV
4143 (restorePosition): ditto
4144 (MenuInsertLyXFile): ditto
4146 * vc-backend.C (scanMaster): change from submatch[...] to
4149 * funcrequest.C: include config.h
4151 * factory.C: include config.h
4153 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4155 * box.C: include config.h
4157 * LaTeX.C (scanAuxFile): change from submatch[...] to
4161 2002-10-25 Angus Leeming <leeming@lyx.org>
4163 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4165 * ispell.[Ch] (setError): new method.
4166 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4167 Use setError() insetead of goto END.
4169 * lyx_cb.C (AutoSave): move out child process into new class
4172 2002-10-30 John Levon <levon@movementarian.org>
4174 * text3.C: make start appendix undoable
4176 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4178 * lyxlength.C (inPixels): Fix returned value.
4180 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4183 2002-10-24 Angus Leeming <leeming@lyx.org>
4185 * lyxgluelength.h: no need to forward declare BufferParams
4186 or BufferView, so don't.
4188 2002-10-21 John Levon <levon@movementarian.org>
4190 * BufferView.C: menuUndo ->undo, redo
4192 * BufferView.h: document, remove dead, make some methods private
4194 * paragraph_funcs.h:
4195 * paragraph_funcs.C:
4196 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4201 * sgml.C: move sgml open/close tag into sgml.C
4203 * bufferview_funcs.h: unused prototype
4206 * lyxfunc.C: remove unused
4209 * text.C: remove unused
4211 2002-10-21 John Levon <levon@movementarian.org>
4215 * BufferView_pimpl.h:
4216 * BufferView_pimpl.C: fix mouse wheel handling based on
4217 patch from Darren Freeman
4219 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4221 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4223 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4225 * lyxlength.C (inPixels): Fix hanfling of negative length.
4226 Fix LyXLength::MU case.
4228 2002-10-16 John Levon <levon@movementarian.org>
4230 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4232 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4234 * converter.C (view): add support for $$i (file name) and $$p
4235 (file path) for the viewer command. If $$i is not specified, then
4236 it is appended to the command (for compatibility with old syntax)
4238 2002-10-14 Juergen Vigna <jug@sad.it>
4240 * undo_funcs.C (textHandleUndo): alter the order in which the
4241 new undopar is added to the LyXText, as we have to set first
4242 the right prev/next and then add it as otherwise the rebuild of
4243 LyXText is not correct. Also reset the cursor to the right paragraph,
4244 with this IMO we could remove the hack in "redoParagraphs()".
4246 2002-10-09 Angus Leeming <leeming@lyx.org>
4248 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4249 to turn off an optimisation if a new inset is to be inserted.
4251 2002-10-11 André Pönitz <poenitz@gmx.net>
4253 * lyxtext.h: make some functions public to allow access
4254 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4256 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4258 * text3.C (dispatch): when changing layout, avoid an infinite loop
4261 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4263 * lyxrc.C (read): treat a viewer or converter command of "none" as
4266 * MenuBackend.C (expandFormats): for an update, also allow the
4267 formats that are not viewable
4269 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4270 script if it is newer than the lyxrc.defaults in user directory
4272 2002-10-07 André Pönitz <poenitz@gmx.net>
4274 * text.C: Vitaly Lipatov's small i18n fix
4276 2002-09-25 Angus Leeming <leeming@lyx.org>
4278 * ispell.h: doxygen fix.
4280 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4282 * buffer.h (readFile): Add a new argument to the method, to allow
4283 reading of old-format templates.
4285 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4287 * toc.C (getTocList): Get TOC from InsetWrap.
4289 2002-09-16 John Levon <levon@movementarian.org>
4291 * lyxfunc.C: check tabular for cut/copy too
4293 2002-09-12 John Levon <levon@movementarian.org>
4298 * factory.C: add header
4300 * paragraph_funcs.h:
4301 * paragraph_funcs.C: cleanup
4303 2002-09-11 John Levon <levon@movementarian.org>
4305 * PrinterParams.h: odd/even default to true
4307 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4309 * PrinterParams.h: update printer parameters for new xforms dialog
4311 2002-09-11 Angus Leeming <leeming@lyx.org>
4313 * lyxserver.C (read_ready): re-write to make it more transparent
4314 and to make it work in coherent fashion under Tru64 Unix.
4316 2002-09-11 André Pönitz <poenitz@gmx.net>
4320 * text3.C: implement LFUN_WORDSEL
4322 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4325 make floatlist_ a boost::shared_ptr<FloatList>
4327 * lyxtextclass.C: include FloatList.h
4328 (LyXTextClass): initialize floatlist_
4329 (TextClassTags): add TC_NOFLOAT
4330 (Read): match "nofloat" to TC_NOFLOAT and use it.
4331 (readFloat): modify call to floatlist_
4335 * FloatList.[Ch] (FloatList): remove commented out float
4337 (erase): new function
4339 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4341 * MenuBackend.C (expandToc): fix crash when there is no document
4344 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4346 * many files: Add insetwrap.
4348 2002-09-09 John Levon <levon@movementarian.org>
4350 * text2.C: remove confusing and awkward depth wraparound
4352 2002-09-09 John Levon <levon@movementarian.org>
4354 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4357 * buffer.C: remove getIncludeonlyList()
4360 * lyxfunc.C: remove headers
4362 2002-09-09 Juergen Vigna <jug@sad.it>
4364 * text.C (getColumnNearX): fix form Michael this is most
4365 probably a cut&paste bug.
4367 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4371 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4372 references, ws changes.
4374 * text2.C (init): update counters after init
4375 (insertParagraph): no need to set counter on idividual paragraphs.
4376 (setCounter): access the counters object in the textclass object
4377 on in the buffer object.
4378 (updateCounters): ditto
4380 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4381 shared_ptr<Counters> to avoid loading counters.h in all
4383 (LyXTextClass): initialize ctrs_
4384 (TextClassTags): add TC_COUNTER, and ...
4385 (Read): use it here.
4386 (CounterTags): new tags
4387 (readCounter): new function
4388 (counters): new funtion
4389 (defaultLayoutName): return a const reference
4391 * counters.C (Counters): remove contructor
4392 (newCounter): remove a couple of unneeded statements.
4393 (newCounter): simplify a bit.
4394 (numberLabel): some small formatting changes.
4396 * buffer.[Ch]: remove all traces of counters, move the Counters
4397 object to the LyXTextClass.
4399 2002-09-06 Alain Castera <castera@in2p3.fr>
4401 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4402 package to set the horizontal alignment on fixed width columns.
4405 * lyx_sty.h: added tabularnewline macro def.
4407 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4409 2002-09-06 John Levon <levon@movementarian.org>
4411 * LyXAction.C: tooltips for sub/superscript
4413 * MenuBackend.C: a bit more verbose
4415 * lyxfunc.C: tiny clean
4417 * undo_funcs.C: document undo_frozen
4419 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * counters.C (Counters): add missing algorithm counter.
4423 * text2.C (setCounter): lookup the counter with layouts latexname
4424 instead of by section number.
4425 (setCounter): use a hackish way to lookup the correct enum
4427 a float name->type change
4428 reset enum couners with counter name directly instead of depth value.
4430 * counters.C (Counters): remove the push_backs, change to use the
4431 float type not the float name.
4432 (labelItem): remove unused string, float name->type change
4434 * counters.h: don't include vector, loose the enums and sects vectors
4436 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4438 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4439 (Read): add float->TC_FLOAT to textclassTags
4440 (Read): and handle it in the switch
4441 (readFloat): new function
4443 * FloatList.C (FloatList): comment out the hardcoded float
4446 * lyxlayout.h: ws change.
4448 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4450 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4452 2002-09-03 Angus Leeming <leeming@lyx.org>
4454 * BufferView_pimpl.h: qualified name is not allowed in member
4455 declaration: WorkArea & Pimpl::workarea() const;
4457 * factory.C: added using std::endl directive.
4459 * text3.C: added using std::find and std::vector directives.
4461 2002-08-29 André Pönitz <poenitz@gmx.net>
4464 * text2.C: remove unused member number_of_rows
4467 * BufferView2.C: remove file, move contents to...
4468 * BufferView.C: ... here
4470 * BufferView_pimpl.C:
4471 * factory.C: move more inset creation to factory
4473 * vspace.C: avoid direct usage of LyXText, ws changes
4476 don't provide direct access to WorkArea, use two simple
4477 acessors haveSelction() and workHeight() instead
4480 2002-08-29 John Levon <levon@movementarian.org>
4482 * BufferView_pimpl.C (dispatch): do not continue when
4485 2002-08-28 André Pönitz <poenitz@gmx.net>
4487 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4490 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4492 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4494 * buffer.C: increment LYX_FORMAT to 221
4496 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4497 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4499 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4501 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4503 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4505 * factory.C (createInset): use LyXTextClass::floats
4507 * MenuBackend.C (expandFloatListInsert):
4508 (expandFloatInsert):
4511 * text2.C (setCounter):
4513 * LaTeXFeatures.C (useFloat):
4514 (getFloatDefinitions):
4516 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4518 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4519 floatlist_, with accessor floats().
4521 * FloatList.h: remove global FloatList
4523 2002-08-26 André Pönitz <poenitz@gmx.net>
4525 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4529 * BufferView_pimpl.C:
4530 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4532 2002-08-25 John Levon <levon@movementarian.org>
4534 * LyXAction.C: fix margin note description
4536 2002-08-24 John Levon <levon@movementarian.org>
4540 * bufferview_funcs.C:
4542 * undo_funcs.C: cleanups
4544 * lyxfunc.C: disable CUT/COPY when no selection
4546 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4548 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4549 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4551 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4552 Add backward compatibility to "mono", "gray" and "no".
4554 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4556 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4557 (and file_format >= 200).
4559 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4561 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4563 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4565 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4567 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4569 * BufferView_pimpl.C:
4576 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4577 inset and code to make it work with the paragraph code. The inset
4578 can be anywhere in the paragraph, but will only do the expected
4579 thing in LaTeX if the layout file contains the parameter line
4581 (or more generally, a nonzero value) for that layout.
4583 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4585 * paragraph.h: remove the declaration of undefined counters class
4588 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4590 * text2.C (setCounter): fixed enumeration mis-count as reported by
4591 Dr. Richard Hawkins.
4593 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4595 * paragraph_funcs.h: remove some unneeded includes
4597 * text.C (backspace): pasteParagraph now in global scipe
4599 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4600 (pasteSelection): ditto
4602 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4603 * paragraph_funcs.C (pasteParagraph): ... here
4605 2002-08-20 André Pönitz <poenitz@gmx.net>
4607 * commandtags.h: new LFUNs for swapping/copying table row/colums
4610 * lyxfunc.C: support for new lfuns
4612 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * buffer.[Ch]: remove NO_COMPABILITY stuff
4617 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * boost.C (throw_exception): new file, with helper function for
4620 boost compiled without exceptions.
4625 * ParameterStruct.h:
4626 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4628 * bufferlist.C (emergencyWriteAll): use boost bind
4630 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4632 * text.C: include paragraph_funcs.h
4633 (breakParagraph): breakParagraph is now in global scope
4635 * paragraph_funcs.[Ch]: new files
4637 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4640 * buffer.C: include paragraph_funcs.h
4641 (insertStringAsLines): breakParagraph is now in global scope
4643 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4646 * CutAndPaste.C: include paragraph_funcs.h
4647 (cutSelection): breakParagraphConservative is now in global scope
4648 (pasteSelection): ditto
4650 * buffer.h: declare oprator== and operator!= for
4651 Buffer::inset_iterator
4653 * bufferlist.C (emergencyWrite): don't use fmt(...)
4655 * text3.C: add using std::endl
4657 * BufferView.C (moveCursorUpdate): remove default arg
4659 2002-08-20 André Pönitz <poenitz@gmx.net>
4661 * buffer.[Ch]: move inline functions to .C
4664 * BufferView_pimpl.C:
4666 * buffer.[Ch]: use improved inset_iterator
4669 * paragraph.[Ch]: write one paragraph at a time
4671 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4673 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4674 style if style is not specified.
4676 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4678 * text2.C (setCounter): when searching for right label for a
4679 caption, make sure to recurse to parent insets (so that a caption
4680 in a minipage in a figure float works) (bug #568)
4682 2002-08-20 André Pönitz <poenitz@gmx.net>
4684 * text3.C: new file for LyXText::dispatch() and helpers
4686 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4688 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4690 2002-08-19 André Pönitz <poenitz@gmx.net>
4693 * text.C: new LyXText::dispatch()
4695 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4697 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4699 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4701 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4704 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4706 * Makefile.am: use $(variables) instead of @substitutions@
4708 2002-08-15 André Pönitz <poenitz@gmx.net>
4711 * BufferView_pimpl.C: streamlining mathed <-> outer world
4715 * LyXAction.C: remove unused LFUN_MATH
4717 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4719 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4721 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * paragraph.C (Paragraph): reformat a bit
4724 (cutIntoMinibuffer): use builtin InsetList function instad of
4728 * buffer.C: include boost/bind.hpp, add using std::for_each
4729 (writeFileAscii): use ParagraphList iterators
4730 (validate): use for_each for validate traversal of paragraphs
4731 (getBibkeyList): use ParagraphList iterators
4732 (resizeInsets): use for_each to resizeInsetsLyXText for all
4734 (getParFromID): use ParagraphList iterators
4736 * BufferView2.C (lockInset): use paragraph list and iterators
4738 2002-08-14 John Levon <levon@movementarian.org>
4740 * lyxserver.C: remove spurious xforms include
4742 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4744 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4746 2002-08-13 André Pönitz <poenitz@gmx.net>
4749 * lyxfunc.C: further cleaning
4751 2002-08-13 André Pönitz <poenitz@gmx.net>
4753 * funcrequest.h: new constructor
4755 * funcrequest.C: move stuff here from .h
4758 * BufferView_pimpl.C:
4761 * lyxfunc.C: subsequent changes
4763 * lyxfunc.h: new view() member function
4765 * lyxfunc.C: subsequent changes
4767 2002-08-13 Angus Leeming <leeming@lyx.org>
4770 * BufferView_pimpl.C:
4778 changes due to the changed LyXView interface that now returns references
4779 to member variables not pointers.
4781 2002-08-13 Angus Leeming <leeming@lyx.org>
4783 * WordLangTuple (word, lang_code): return references to strings,
4788 * lyxtext.h: forward-declare WordLangTuple.
4793 * text.C: #include "WordLangTuple.h".
4796 * text.C: (selectNextWordToSpellcheck): constify return type.
4798 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4804 * paragraph_pimpl.h:
4807 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4809 Made updateCounter always count from start of buffer, and removed
4810 second argument (par).
4811 Reverted floats number display to '#'. Perhaps I'll try again when the
4812 code base is sanitized a bit.
4814 2002-08-12 Angus Leeming <leeming@lyx.org>
4816 * buffer.[Ch] (getLabelList): constify.
4818 2002-08-07 André Pönitz <poenitz@gmx.net>
4820 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4822 * funcrequest.h: extension to keep mouse (x,y) position
4824 2002-08-12 Juergen Vigna <jug@sad.it>
4826 * BufferView2.C (insertErrors): forbid undo when inserting error
4829 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4831 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * ParagraphList.[Ch]: new files
4835 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4837 * BufferView2.C (lockInset): ParagraphList changes
4840 * bufferlist.C: ditto
4844 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4847 unused class variable counter_,
4849 * paragraph.[Ch] (getFirstCounter): delete unused function
4851 * counters.C: include LAssert.h
4852 (reset): add a new function with no arg, change other version to
4853 not have def. arg and to not allow empty arg.
4855 * text2.C (setCounter): remove empty arg from call to Counters::reset
4857 2002-08-11 John Levon <levon@movementarian.org>
4859 * Makefile.am: add WordLangTuple.h
4861 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4864 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4866 * insets/insettext.C: InsetList changes
4868 * graphics/GraphicsSupport.C (operator()): InsetList changes
4870 * toc.C (getTocList): InsetList changes
4872 * paragraph_pimpl.[Ch]: InsetList changes
4874 * paragraph.[Ch]: InsetList changes
4876 * buffer.C (inset_iterator): InsetList changes
4877 (setParagraph): ditto
4878 * buffer.h (inset_iterator): ditto
4879 * iterators.C (operator++): ditto
4880 * iterators.h: ditto
4882 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4884 * InsetList.[Ch]: new files, most InsetList handling moved out of
4887 * BufferView2.C (removeAutoInsets): InsetList changes
4889 (ChangeInsets): ditto
4891 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * paragraph_pimpl.h (empty): new function
4895 * paragraph.[Ch] (empty): new function
4897 * other files: use the new Paragraph::empty function
4899 2002-08-09 John Levon <levon@movementarian.org>
4901 * lyxtext.h: remove unused refresh_height
4903 2002-08-09 John Levon <levon@movementarian.org>
4910 * paragraph.C: move sgml char escaping out of paragraph
4913 * paragraph.C: remove id setter
4917 * paragraph_pimpl.C: remove dead tex_code_break_column
4919 * bufferview_funcs.C: small cleanup
4921 * lyxfunc.C: remove dead proto
4923 * lyxtext.h: make some stuff private. Remove some dead stuff.
4925 * lyxgluelength.C: make as[LyX]String() readable
4927 2002-08-08 John Levon <levon@movementarian.org>
4932 * ToolbarDefaults.C:
4935 * toc.C: lyxaction cleanup
4937 2002-08-08 John Levon <levon@movementarian.org>
4939 * BufferView2.C: small cleanup
4942 * lyxfind.C: move unnecessary header into the .C
4944 2002-08-08 John Levon <levon@movementarian.org>
4946 * funcrequest.h: just tedious nonsense
4949 * lyx_main.C: cleanups
4952 * vspace.C: remove dead header lyx_main.h
4954 2002-08-07 Angus Leeming <leeming@lyx.org>
4957 * paragraph_pimpl.h:
4958 Forward declare class Counters in paragraph.h by moving the ctrs member
4959 variable into Paragraph::Pimpl.
4960 (counters): new method, returning a reference to pimpl_->ctrs.
4962 * text2.C: ensuing changes.
4964 2002-08-07 John Levon <levon@movementarian.org>
4966 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4968 * BufferView_pimpl.C: announce X selection on double/triple
4971 * lyx_main.C: use correct bool in batch dispatch
4973 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4975 2002-08-07 André Pönitz <poenitz@gmx.net>
4977 * funcrequest.h: new class to wrap a kb_action and its argument
4980 * BufferView_pimpl[Ch]:
4984 * lyxrc.C: subsequent changes
4987 2002-08-07 John Levon <levon@movementarian.org>
4989 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4990 document options change.
4992 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4997 * makefile.am: move counters functionality over from
4998 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5000 2002-08-06 John Levon <levon@movementarian.org>
5002 * WordLangTuple.h: new file for word + language code tuple
5013 * BufferView2.C: use WordLangTuple
5016 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5018 2002-08-06 John Levon <levon@movementarian.org>
5020 * lyx_main.C: fix cmdline batch handling
5022 2002-08-06 André Pönitz <poenitz@gmx.net>
5024 * lyxrc.C: set default for show_banner to true
5026 2002-08-06 John Levon <levon@movementarian.org>
5028 * pspell.C: fix a crash, and allow new aspell to work
5030 2002-08-06 John Levon <levon@movementarian.org>
5033 * kbmap.C: small cleanup
5036 * vspace.C: add const
5038 2002-08-05 John Levon <levon@movementarian.org>
5040 * LyXAction.C: back to tabular-insert
5042 2002-08-04 John Levon <levon@movementarian.org>
5045 * BufferView.C: cosmetic change
5047 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5057 * BufferView2.C: purge all "Lyx" not "LyX" strings
5060 * lyxcursor.C: attempt to add some documentation
5065 * ToolbarDefaults.C:
5066 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5067 merge with LFUN_TABULAR_INSERT
5074 * pspell.C: split up i/pspell implementations into separate
5075 files, many cleanups
5077 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5079 * text2.C: some cleanup
5081 * lyxfunc.C: don't check for isp_command == "none" any more, it
5082 didn't make any sense
5084 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5089 * makefile.am: move counters functionality over
5090 from text2.C/paragraph.[Ch] to counters.[Ch], and
5092 2002-08-02 John Levon <levon@movementarian.org>
5094 * buffer.C: s/lyxconvert/lyx2lyx/
5096 2002-08-02 Angus Leeming <leeming@lyx.org>
5098 * lyxlex.C: revert John's change as it breaks reading of the user
5101 2002-08-02 Angus Leeming <leeming@lyx.org>
5103 * importer.C (Import):
5104 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5105 changes due to LyXView::view() now returning a boost::shared_ptr.
5107 2002-08-02 John Levon <levon@movementarian.org>
5109 * lyxlex.C: small cleanup
5111 2002-08-02 John Levon <levon@movementarian.org>
5113 * text2.C (status): small cleanup, no logic change
5115 2002-08-01 John Levon <levon@movementarian.org>
5118 * buffer.C (writeFile): don't output alerts, caller
5122 * lyx_cb.C: from above
5124 * lyxfunc.C: allow to open non-existent files
5126 2002-07-31 John Levon <levon@movementarian.org>
5128 * lyxserver.C: don't let incidental errors get
5131 2002-07-30 John Levon <levon@movementarian.org>
5133 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5135 2002-07-30 John Levon <levon@movementarian.org>
5138 * lyxserver.C: remove I/O callback too
5140 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5142 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5145 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * many files: strip,frontStrip -> trim,ltrim,rtrim
5149 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * PrinterParams.h: remove extern containsOnly, and include
5152 support/lstrings.h instead.
5154 * LaTeX.C (scanAuxFile): modify because of strip changes
5156 * buffer.C (makeLaTeXFile): ditto
5157 * bufferparams.C (writeFile): ditt
5158 * lyxfont.C (stateText): ditto
5159 * lyxserver.C (read_ready): ditto
5160 * vc-backend.C (scanMaster): ditto
5162 * BufferView_pimpl.h: ws changes
5164 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5166 2002-07-26 André Pönitz <poenitz@gmx.net>
5168 * kb_sequence.C: remove unnedred usings
5170 2002-07-26 Juergen Vigna <jug@sad.it>
5172 * lyxfind.C (LyXReplace): we have to check better if the returned
5173 text is not of theLockingInset()->getLockingInset().
5175 2002-07-25 Juergen Vigna <jug@sad.it>
5177 * lyxfind.C (LyXReplace): don't replace if we don't get the
5180 * undo_funcs.C (createUndo): remove debugging code.
5182 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5184 * buffer.C (parseSingleLyXformat2Token): Use default placement
5185 when reading old floats.
5187 * FloatList.C (FloatList): Change the default placement of figure
5188 and tables to "tbp".
5190 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5192 * MenuBackend.C: using std::max
5194 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5196 * MenuBackend.C (expandToc):
5197 (expandToc2): code moved from xforms menu frontend. It is now
5198 generic and TOCs are transparent to menu frontends.
5200 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5202 * toc.C (getTocList): protect against buf=0
5204 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5205 Menu as first parameter. Now, this calls itself recursively to
5206 expand a whole tree (this will be useful for TOC handling)
5207 (expandFloatInsert): remove 'wide' version of floats
5209 * MenuBackend.h (submenuname): returns the name of the submenu.
5210 (submenu): returns the submenu itself, provided it has been
5211 created by MenuBackend::expand
5213 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5216 insets which have noFontChange == true. (bug #172)
5218 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5220 * BufferView_pimpl.C: add connection objects and use them...
5223 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5225 * MenuBackend.C (expandLastfiles):
5228 (expandFloatListInsert):
5229 (expandFloatInsert):
5230 (expand): split expand in parts
5232 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5234 * lyx_gui.C: use lyx_gui::exit()
5236 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5238 * LyXAction.C: show the failing pseudo action
5240 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5242 * buffer.C (readFile): Run the lyxconvert script in order to read
5245 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5249 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5251 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5255 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5257 2002-07-22 Herbert Voss <voss@lyx.org>
5260 * lyxlength.[Ch]: add support for the vertical lengths
5262 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5264 * toc.[Ch]: std:: fixes
5266 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5268 * lyxrc.C: do not include lyx_main.h
5270 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5276 * BufferView2.C: include "lyxlex.h"
5279 * bufferparams.h: do not #include "lyxlex.h"
5281 * lyxtextclasslist.C (Add): remove method
5282 (classlist): renamed to classlist_
5284 * paragraph_pimpl.C:
5288 * bufferview_funcs.C:
5293 * toc.C (getTocList): use BufferParams::getLyXTextClass
5295 * toc.C (getTocList): use InsetFloat::addToToc
5297 * toc.[Ch]: new files, containing helper functions to handle table
5300 * lyxfunc.C (dispatch): no need to remove spaces around command
5302 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5303 first command of the sequence; it is not very clever, but I do not
5304 have a better idea, actually
5306 * LyXAction.C (LookupFunc): make sure to remove space at the
5307 beginning and end of the command
5309 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5311 * MenuBackend.C (getMenubar): new method: return the menubar of
5313 (read): treat differently reading of menu and menubar (in
5314 particular, the menubar has no name now)
5315 (Menu::menubar): remove
5317 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5320 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5322 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5323 a bibitem inset in a RTL paragraph.
5325 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5327 * paragraph_pimpl.C: constify
5329 * BufferView_pimpl.C:
5331 * lyxfunc.C: fix dispatch in a nicer way
5333 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5335 * lyxfunc.C (dispatch):
5336 * BufferView_pimpl.C:
5337 * BufferView_pimpl.h:
5339 * BufferView.h: rename Dispatch() to dispatch()
5341 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5343 * lyxlayout.C (Read): honor DependsOn tag
5345 * lyxlayout.[Ch] (depends_on): new method
5347 * version.C.in: update lyx_docversion
5349 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5351 * paragraph.C (validate): remove from here...
5352 * paragraph_pimpl.C (validate): ... and move here
5353 (isTextAt): make it const
5355 * buffer.C (getLists): ws cleanup
5357 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5359 * language.C (read): Use iso8859-1 encoding in latex_lang
5360 (this prevents LyX from crashing when using iso10646-1 encoding).
5362 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5364 * text2.C (toggleInset): if cursor is inside an inset, close the
5365 inset and leave cursor _after_ it
5367 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5369 * lyxfunc.C: move minibuffer completion handling out of here
5371 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5373 * BufferView_pimpl.C:
5374 * LaTeX.C: fix dispatch calls
5376 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5378 * text.C (drawChars): Fix Arabic text rendering.
5380 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5384 * lyxfunc.C: remove message-push/pop
5388 * lyxfunc.C: rationalise some code by removing verboseDispatch
5389 in favour of a bool argument to dispatch()
5391 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5393 * lyx_main.C (init): make sure to read symlinks as absolute paths
5395 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5398 * lyxfunc.C: no need for commandshortcut to be a member
5400 2002-07-15 André Pönitz <poenitz@gmx.net>
5402 * converter.C: add support for $$s (scripts from lib/scripts dir)
5403 * lyx_main.C: white space
5405 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5409 * lyxrc.C: remove second exit confirmation
5411 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5416 * BufferView_pimpl.h:
5417 * BufferView_pimpl.C:
5418 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5420 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5422 * MenuBackend.C (expand): add numeric shortcuts to document menu
5424 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5426 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5428 * lyxfont.C (setLyXFamily):
5435 * buffer.C (asciiParagraph): use ascii_lowercase
5437 2002-07-15 Mike Fabian <mfabian@suse.de>
5439 * lyxlex_pimpl.C (search_kw):
5440 * lyxlex.C (getLongString):
5441 * converter.h (operator<):
5442 * converter.C (operator<):
5443 * buffer.C (parseSingleLyXformat2Token):
5445 * ToolbarDefaults.C (read):
5446 * MenuBackend.C (checkShortcuts):
5448 * LColor.C (getFromGUIName):
5449 (getFromLyXName): use the compare_ascii_no_case instead of
5450 compare_no_case, because in turkish, 'i' is not the lowercase
5451 version of 'I', and thus turkish locale breaks parsing of tags.
5453 2002-07-16 Angus Leeming <leeming@lyx.org>
5455 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5456 now takes a Buffer const & argument.
5458 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5460 * BufferView.C (resize): check there's a buffer to resize
5462 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5464 * lyxfunc.C: remove dead code
5467 * lyxserver.C: use lyx_guii::set_read_callback
5469 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5471 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5472 an inset in a RTL paragraph.
5474 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5476 * lyxfunc.C: repaint after a font size update
5478 2002-07-15 André Pönitz <poenitz@gmx.net>
5480 * lyxlength.C: inBP should be able to return negative values
5482 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5484 * lyxfunc.C: use lyx_gui::update_fonts()
5486 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5488 * lyxfunc.C: use lyx_gui::update_color()
5490 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5496 * lyxrc.C: remove file->new asks for name option, and let
5497 buffer-new take an argument
5499 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5501 * BufferView_pimpl.C: remove unneeded extra repaint()
5503 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5505 * LyXAction.C: allow command-sequence with NoBuffer
5507 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5509 2002-07-10 Angus Leeming <leeming@lyx.org>
5511 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5513 2002-07-09 Angus Leeming <leeming@lyx.org>
5515 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5517 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5519 * lengthcommon.h: whitespace
5521 * lyxfunc.C: update scrollbar after goto paragraph
5523 * lyxtext.h: factor out page break drawing, and fix it so
5524 page break/added space paints as selected nicely
5526 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5528 * BufferView_pimpl.C: add FIXMEs, clean up a little
5530 2002-07-09 André Pönitz <poenitz@gmx.net>
5532 * lyxfont.[Ch]: support for wasy symbols
5534 2002-07-08 André Pönitz <poenitz@gmx.net>
5536 * BufferView_pimpl.C: apply John's patch for #93.
5538 2002-07-05 Angus Leeming <leeming@lyx.org>
5540 * BufferView_pimpl.C (buffer): generate previews if desired.
5542 * LColor.h: add "preview" to the color enum.
5544 * LColor.C (LColor): add a corresponding entry to the items array.
5546 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5549 2002-07-05 Angus Leeming <leeming@lyx.org>
5551 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5552 The body of the code is now in the method that is passed an ostream &
5553 rather than a file name.
5554 Pass an additional only_preamble parameter, useful for the forthcoming
5557 2002-07-03 André Pönitz <poenitz@gmx.net>
5559 * lyxfunc.C: simplify getStatus() a bit for math stuff
5561 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5563 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5565 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * text.C (changeRegionCase): do not change case of all the
5568 document when region ends at paragraph end (bug #461)
5570 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5572 * paragraph.C (startTeXParParams):
5573 (endTeXParParams): add \protect when necessary
5575 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5577 * BufferView_pimpl.C (workAreaExpose): remove warning
5579 2002-06-27 Angus Leeming <leeming@lyx.org>
5581 * Makefile.am: add lyxlayout_ptr_fwd.h.
5583 2002-06-26 André Pönitz <poenitz@gmx.net>
5585 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5587 2002-06-25 Angus Leeming <leeming@lyx.org>
5589 * lyxfunc.C (dispatch): Comment out the call to
5590 grfx::GCache::changeDisplay. The method no longer exists now that the
5591 pixmap generation part of the graphics loader has been moved into
5594 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5596 * text2.C: layout as layout
5598 * text.C: layout as layout
5600 * tabular.C (OldFormatRead): layout as layout
5602 * paragraph_pimpl.C (TeXDeeper): layout as layout
5603 (realizeFont): layout as layout
5605 * paragraph.C (writeFile): layout as layout
5606 (validate): layout as layout
5607 (getFont): layout as layout
5608 (getLabelFont): layout as layout
5609 (getLayoutFont): layout as layout
5610 (breakParagraph): layout as layout
5611 (stripLeadingSpaces): layout as layout
5612 (getEndLabel): layout as layout
5613 (getMaxDepthAfter): layout as layout
5614 (applyLayout): layout as layout
5615 (TeXOnePar): layout as layout
5616 (simpleTeXOnePar): layout as layout
5617 (TeXEnvironment): layout as layout
5618 (layout): layout as layout
5619 (layout): layout as layout
5621 * lyxtextclass.C (compare_name): new functor to work with
5622 shared_ptr, layout as layout
5623 (Read): layout as layout
5624 (hasLayout): layout as layout
5625 (operator): layout as layout
5626 (delete_layout): layout as layout
5627 (defaultLayout): layout as layout
5629 * lyxlayout_ptr_fwd.h: new file
5631 * lyxlayout.C (Read): layout as layout
5633 * lyx_cb.C (MenuInsertLabel): layout as layout
5635 * bufferlist.C (newFile): layout as layout
5637 * buffer.C (readLyXformat2): layout as layout
5638 (parseSingleLyXformat2Token): layout as layout
5639 (insertStringAsLines): layout as layout
5640 (asciiParagraph): layout as layout
5641 (latexParagraphs): layout as layout
5642 (makeLinuxDocFile): layout as layout
5643 (simpleLinuxDocOnePar): layout as layout
5644 (makeDocBookFile): layout as layout
5645 (simpleDocBookOnePar): layout as layout
5646 (getLists): layout as layout
5648 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5650 * CutAndPaste.C (cutSelection): layout as layout
5651 (pasteSelection): layout as layout
5652 (SwitchLayoutsBetweenClasses): layout as layout
5654 * BufferView_pimpl.C (Dispatch): layout as layout
5655 (smartQuote): layout as layout
5657 * BufferView2.C (unlockInset): layout as layout
5659 2002-06-24 André Pönitz <poenitz@gmx.net>
5661 * lyxfunc.C: fix #487
5663 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5667 * lyxfunc.C: remove display_shortcuts, show_banner
5669 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5671 * Buffer_pimpl.C: oops, update on resize
5673 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5680 * BufferView.C: use repaint()
5682 * BufferView_pimpl.h:
5683 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5684 as it's a clearer description. Remove superfluous
5687 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5689 * text.C: fix bug 488. Not ideal, but getting
5690 getWord() to work properly for the insets that
5691 matter is more difficult ...
5693 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5695 * BufferView_pimpl.C:
5698 * lyxfunc.C: remove the six million index lyxfuncs to just
5699 one, and DTRT (bug 458)
5701 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5705 * BufferView_pimpl.h:
5706 * BufferView_pimpl.C: clean up resize() stuff,
5707 and unnecessary updateScreen()s
5709 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5713 * BufferView_pimpl.h:
5714 * BufferView_pimpl.C:
5717 * minibuffer.C: remove focus management of workarea,
5718 not needed. Use screen's greyOut()
5720 2002-06-17 Herbert Voss <voss@lyx.org>
5722 * converter.C: (convert) do not post a message, when converting
5723 fails, let the calling function decide what to do in this case
5725 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5727 * lyxfunc.C: tidy up a little
5729 2002-06-16 <alstrup@diku.dk>
5731 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5732 Got rid of FORMS_H_LOCATION include. Now we are
5735 2002-06-15 LyX Development team <lyx@rilke>
5737 * buffer.[Ch] (sgmlOpenTag):
5738 (sgmlCloseTag): Added support for avoiding pernicious mixed
5739 content. Return number of lines written.
5742 (makeDocBookFile): Fixed calls to sgml*Tag.
5743 Simple white space clean.
5745 (simpleDocBookOnePar): Simple white space clean.
5747 * tabular.[Ch] (docBook): Renamed to docbook and got another
5748 argument to related with the pernicious mixed content.
5750 (docbookRow): Fixed calls for docbook inset method.
5752 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5754 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5755 so it's X11 independent.
5759 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5761 2002-06-15 Lyx Development team <lyx@electronia>
5763 * intl.h: Renamed getTrans to getTransManager.
5765 2002-06-14 Angus Leeming <leeming@lyx.org>
5767 * Makefile.am: nuke forgotten stl_string_fwd.h.
5769 2002-06-12 Angus Leeming <leeming@lyx.org>
5771 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5773 2002-06-13 Angus Leeming <leeming@lyx.org>
5776 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5778 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5780 * kbmap.C (getiso): add support for cyrillic and greek
5782 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5786 * BufferView_pimpl.h:
5787 * BufferView_pimpl.C: move bogus scrolling logic
5790 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5793 * BufferView_pimpl.C: view->resize() change
5795 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5797 * BufferView_pimpl.C: topCursorVisible
5800 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5804 * lyx_gui.C: move to frontends/
5808 * lyx_main.C: changes from above
5810 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5817 * lyx_main.C: minor tidy
5819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5821 * BufferView_pimpl.h:
5822 * BufferView_pimpl.C:
5824 * BufferView.C: make painter() const,
5827 * BufferView2.C: use screen() accessor
5830 * lyx_main.C: some minor cleanup
5832 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5834 * BufferView_pimpl.h:
5835 * BufferView_pimpl.C: remove enter/leaveView,
5838 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5843 * BufferView_pimpl.h:
5844 * BufferView_pimpl.C: only construct screen once,
5847 * lyxrc.C: remove pointless comment
5849 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5852 * BufferView.C: remove active() and belowMouse()
5854 * BufferView_pimpl.h:
5855 * BufferView_pimpl.C: use workarea() not workarea_,
5856 and make it use a scoped_ptr instead
5858 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5860 * lyx_gui.C: add debug message on BadWindow
5862 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5864 * sp_spell.C: fdopen is not part of the C++ standard.
5866 * paragraph.C (InsetIterator): use >= instead of ==
5868 2002-06-07 Angus Leeming <leeming@lyx.org>
5870 Fixes needed to compile with Compaq cxx 6.5.
5871 * BufferView_pimpl.C:
5878 * lyxtextclasslist.C:
5883 all c-library variables have been moved into namespace std. Wrap
5884 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5889 Add a using std::abs declaration.
5891 * kbmap.h (modifier_pair):
5892 * paragraph.h (InsetTable, InsetList):
5893 * lyxfont.h (FontBits):
5894 type definition made public.
5896 * bufferlist.C (emergencyWriteAll): the compiler complains that
5897 there is more than one possible lyx::class_fun template to choose from.
5898 I re-named the void specialisation as lyx::void_class_fun.
5900 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5902 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5903 the compiler is is unable to find tostr in write_attribute.
5905 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5907 * buffer.C (sgmlError): hide #warning
5909 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5911 * xtl/*: get rid of xtl, which is not in use anyway
5913 * LyXAction.C (init):
5914 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5915 were unimplemented xtl experimentation
5917 2002-06-04 André Pönitz <poenitz@gmx.net>
5919 * lyxfunc.C: disable array operation on simple formulae
5921 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5923 * converter.C: constify a bit
5925 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5927 * lyx_gui.C: check xforms version correctly
5929 2002-04-30 Herbert Voss <voss@lyx.org>
5931 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5934 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5936 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5937 attempt to register it with a VCS)
5939 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * lyx_main.C (init): honor variables LYX_DIR_13x and
5944 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5948 * lyx_main.C: fix a crash on bad command line,
5949 and give a useful exit status on error
5951 * lyxfunc.C (doImport): allow -i lyx to work
5953 2002-03-30 André Pönitz <poenitz@gmx.net>
5955 * lyxfunc.C: mathed font changes
5957 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5972 * trans_mgr.h: srcdocs, and some minor cleanups
5974 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5976 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5977 call getFont all the time)
5979 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5981 * switch from SigC signals to boost::signals
5983 2002-05-29 André Pönitz <poenitz@gmx.net>
5985 * paragraph_pimpl.C (getChar): don't call size() too often...
5987 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5989 * paragraph_pimpl.C (insertChar): do not try to update tables when
5990 appending (pos == size())
5992 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5993 in order to reduce drastically the number of comparisons needed to
5994 parse a large document
5996 2002-05-29 André Pönitz <poenitz@gmx.net>
6002 * textclasslist.[Ch]:
6003 * sp_ispell.h: whitespace change
6005 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6007 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6008 lyxaction directly now.
6010 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6014 * lyxvc.C: remove unused headers
6016 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6023 * undo_funcs.C: some cleanups. Use shared_ptr
6024 and a template for the undo stacks.
6026 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6028 * BufferView_pimpl.h:
6029 * BufferView_pimpl.C:
6036 * text2.C: use key_state/mouse_state
6038 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6040 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6043 * chset.C: change include order
6044 (loadFile): use boost regex and get rid of LRegex and LSubstring
6046 * Makefile.am (BOOST_LIBS): new variable
6049 * LaTeX.C: change include order.
6050 (scanAuxFile): use boost regex and get rid of LRegex and
6054 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6059 * FontInfo.C: moved to frontends/xforms/
6062 * FontLoader.C: moved into frontends for GUIIzation
6067 * lyxfunc.C: changes from above
6069 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6071 * LColor.C: remove spurious X include
6073 * BufferView_pimpl.C:
6078 * text2.C: move font metrics to frontends/
6080 2002-05-24 Juergen Vigna <jug@sad.it>
6082 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6083 setting the undo_cursor.
6085 * ParagraphParameters.h: include local includes first.
6087 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6089 * BufferView_pimpl.C:
6090 * BufferView_pimpl.h:
6094 * screen.C: move WorkArea into frontends/
6100 * BufferView2.C: move LyXScreen into frontends/
6104 * lyx_gui.C: move lyxlookup into frontends/xforms/
6106 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6109 * BufferView_pimpl.C:
6119 * bufferview_funcs.C:
6132 * vc-backend.C: move LyX/XFormsView into frontends/
6134 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6146 * text2.C: move Painter to frontends/
6148 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6150 * buffer.C: comment out some some code that depend upon lyx_format
6153 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6154 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6156 * buffer.h (NO_COMPABILITY): turn off compability
6158 * ColorHandler.C: include scoped_array.hpp
6160 * font.C: Use more specific smart_ptr header.
6163 * ShareContainer.h: ditto
6167 * BufferView_pimpl.h: ditto
6168 * ColorHandler.h: ditto
6170 * kbmap.C (defkey): change call to shared_ptr::reset
6172 2002-05-21 Juergen Vigna <jug@sad.it>
6174 * buffer.C (insertErtContents): fix to insert ert asis if it is
6175 non empty. Skip it completely if it contains only whitespaces.
6177 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6179 * BufferView_pimpl.C:
6180 * BufferView2.C: clear selection on paste (bug 393)
6182 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6184 * DepTable.C: include ctime
6186 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6188 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6190 2002-05-14 Juergen Vigna <jug@sad.it>
6192 * text.C (breakParagraph): fixed function to honor the keepempty
6193 layout in the right maner and also to permit the right breaking
6194 algorithm on empty or non empyt keepempty paragraphs.
6196 * paragraph.C (breakParagraph): we have to check also if the par
6197 is really empty (!size()) for isempty otherwise we do the wrong
6200 2002-05-10 Juergen Vigna <jug@sad.it>
6202 * buffer.[Ch] : The following are only changes to the ert
6203 compatibility read reading old LaTeX layout and font stuff and
6204 convert it to ERTInsets.
6206 * buffer.h: added isErtInset().
6208 * buffer.C (struct ErtComp): add a fromlayout bool to check
6209 if we're inside a LaTeX layout.
6210 (isErtInset): new helper function.
6211 (insertErtContents): look for other ert insets before this one
6212 and insert the contents there, so that we don't have subsequent
6213 ERT insets with nothing between them. This way we create only one
6214 inset with multiple paragraphs. Also check if we don't insert only
6215 spaces ' ' as they are ignored anyway afterwards in the .tex file
6216 so if we have only spaces we will ignore this latex part in the
6218 (parseSingleLyXformat2Token \\layout): better compatibility when
6219 reading layout-latex stuff.
6220 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6222 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6223 stuff after reading the inset only get the information back from
6226 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6228 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6230 * LaTeXFeatures.C (getBabelOptions): New method.
6232 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6234 * BufferView_pimpl.C (Dispatch): work around missing argument for
6237 2002-05-08 Juergen Vigna <jug@sad.it>
6239 * text.C (leftMargin): handle paragraph leftindent.
6241 * paragraph.C (writeFile): write the new \\leftindent tag.
6242 (validate): handle leftindent code.
6243 (TeXEnvironment): handle paragraphleftindent code again.
6245 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6247 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6248 for paragrap_extra indent code and new token \\leftindent.
6249 (latexParagraphs): handle the leftindent as environment.
6251 * ParameterStruct.h: added leftindent support.
6253 * ParagraphParameters.C (leftIndent): added support functions for
6254 the paragraph left indent.
6256 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6259 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6261 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6264 * text.C (computeBidiTables): No bidi in insetERT.
6266 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6269 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6271 * version.C.in: pre 5
6273 2002-05-02 José Matos <jamatos@fep.up.pt>
6274 * buffer.C (makeDocBookFile): white space changes, add newline to
6276 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6278 * tabular.C (docBook): fix typo.
6280 2002-05-03 Juergen Vigna <jug@sad.it>
6282 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6283 change in LyXText as we can not be sure it was not freed.
6284 (drawOneRow): remove unused code.
6286 * text.C (drawInset): redo the calculation of the need_break_row as
6287 it could have a row which was already freed.
6288 (draw): look at the return value of drawInset and return false if
6289 it also returned false.
6290 (paintRowText): look at the return value of draw and return false if
6291 it also returned false.
6293 * lyxtext.h: added bool return type to drawInset() and draw() so that
6294 if we have a change in the row so that the rowbreak has to be redone
6295 we abort drawing as it will be called again.
6297 2002-05-02 Juergen Vigna <jug@sad.it>
6299 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6300 a change in the maintext also if we're inside an inset.
6301 (Dispatch): set the cursor again after a break line and after the
6302 screen has been updated as it could be we're in a different row.
6304 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6305 to set the cursor behind the pargraph with > size().
6306 (setCursor): check also for the same paragraph when checking where
6307 to put the cursor if we have a NFR inset.
6309 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6310 parts of layout read further up as it still was in the wrong
6313 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6315 * screen.C (drawFromTo): change sine fullRebreak always return
6318 * buffer.C (parseSingleLyXformat2Token): reindent some
6320 * BufferView_pimpl.C (update): change since fullRebreak always
6322 (Dispatch): git rid of the last hardcoded "Standard"s.
6324 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6326 * text2.[Ch] (fullRebreak): make it return void now that we always
6329 2002-04-30 Juergen Vigna <jug@sad.it>
6331 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6332 ert compatibility check for "latex" layout.
6334 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6336 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6337 minipages: use col% instead of p%, and also use the current font.
6338 (makeLaTeXFile): Fix use babel condition.
6339 (parseSingleLyXformat2Token): Correct font when reading old floats.
6341 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6343 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6344 inserting list of floats.
6346 2002-04-25 Herbert Voss <voss@lyx.org>
6348 * MenuBackend.C (expand): don't add the graphics extensions to the
6351 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6353 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6354 non-existing layout, do not complain if it was the default layout
6355 of the original class (bug #342)
6357 2002-04-24 Juergen Vigna <jug@sad.it>
6359 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6360 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6362 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6364 * buffer.C (getBibkeyList): If using \bibliography, return the
6365 option field with the reference itself. Enables us to provide natbib
6366 support when using \bibliography.
6368 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6370 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6372 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6373 natbib is provided by the LaTeX class.
6375 2002-04-23 Juergen Vigna <jug@sad.it>
6377 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6380 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6382 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6384 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6386 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6387 ensuremath around textordmasculine, textordfeminine and
6390 2002-04-19 Juergen Vigna <jug@sad.it>
6392 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6393 reinitializing the buffer otherwise row-dimensions may be wrong.
6394 (update): reset also the selection cursors if they do exits otherwise
6395 their x/y positions may be wrong.
6397 * text2.C (cursorDown): don't enter the inset if we came from a row
6398 above and are one row over the inset.
6400 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6401 really leaving an inset.
6403 2002-04-18 Juergen Vigna <jug@sad.it>
6405 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6406 of the selected paragraph does not have the selected layout also if
6409 * text2.C (setLayout): fixed bug which did not change last selected
6412 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6413 changed the read and substituted \\end_float with \\end_inset!
6415 * BufferView_pimpl.C (cursorPrevious):
6416 (cursorNext): fixed to make it work with rows heigher than the work
6417 area without moving the cursor only the draw of the row.
6418 (workAreaMotionNotify): fix jumping over high rows.
6420 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6422 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6425 2002-04-16 Juergen Vigna <jug@sad.it>
6427 * text2.C (setCursor): set also the irow().
6428 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6430 (cursorDown): support for locking an inset if the x_fix value goes
6431 inside it. That way I can transverse insets too with cursor up/down.
6433 * lyxrow.h: added irow helper function same as other (i) functions.
6435 * BufferView_pimpl.C (cursorPrevious):
6436 (cursorNext): fixed for insets!
6438 2002-04-15 Juergen Vigna <jug@sad.it>
6440 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6441 position otherwise it is wrong in some cases.
6443 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6444 inside the inset before the call.
6446 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6448 * buffer.[Ch] (getBibkeyList): make it const.
6450 2002-04-12 Juergen Vigna <jug@sad.it>
6452 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6454 * text2.C (getCursorX): new helper function
6455 (setCursor): compute also ix_
6456 (setCursorFromCoordinates): set also ix.
6458 * lyxcursor.h: added ix_ and helper functions.
6460 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6462 * buffer.C (insertStringAsLines): dont break paragraph if the this
6463 paragraph is inside an inset which does not permit it!
6465 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6466 also with no chars on this paragraph.
6467 (paintRowText): only paint stuff if it's inside the workarea!
6469 * paragraph.C (breakParagraph): honor keepempty flag and break the
6470 paragraph always below not above.
6472 * BufferView2.C (unlockInset): update the paragraph layout on inset
6473 unlock as we changed paragraph in such a case.
6475 * lyxfind.C (LyXFind): clear the former selection if not found!
6477 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6478 again called in insertChar().
6480 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6481 an inset which uses the whole row!
6482 (rightMargin): ditto.
6483 (insertChar): force a rebreak if we inserted an inset!
6485 2002-03-28 Herbert Voss <voss@lyx.org>
6487 * lyxlength.[Ch]: add inBP() to get the right PS-point
6488 units (BigPoint). With inPixels we have rounding errors
6490 2002-04-11 Juergen Vigna <jug@sad.it>
6492 * text2.C (setCursorFromCoordinates): set iy to the right value.
6493 (setCursor): add check if row->previous exists!
6495 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6496 an old float_type as this was the case in the old code!
6498 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6500 * BufferView2.C (showLockedInsetCursor): use iy
6501 (fitLockedInsetCursor): ditto
6503 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6504 locked insets as there we have the right value now.
6506 * lyxcursor.C: added iy_ variable and iy functions to set to the
6507 baseline of cursor-y of the locked inset.
6509 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6510 (setCursor): fixed for insets which need a full row.
6512 * text.C (rowLastPrintable): don't ignore the last space when before
6513 an inset which needs a full row.
6514 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6515 as last character of a row when before a inset which needs a full row.
6517 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6519 * version.C.in: update date
6521 * text2.C (fullRebreak): try to always return true and see what
6524 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6526 * MenuBackend.C (expand): use Floating::listName
6528 * FloatList.C (FloatList): add listName argument to the built-in
6531 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6532 text associated with the float.
6534 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6536 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6538 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6540 * ShareContainer.h: add a couple of missing typenames.
6542 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6544 * lyxrc.C (getDescription): use _() correctly rather than N_().
6546 2002-03-28 Herbert Voss <voss@lyx.org>
6548 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6549 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6551 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6553 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6554 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6556 2002-03-29 Juergen Vigna <jug@sad.it>
6558 * lyxfunc.C (dispatch): add a missing fitCursor call.
6560 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6561 it was scrolled by a cursor move, so return the bool status.
6563 * BufferView.C (fitCursor): return the bool flag also to the outside
6564 world as this is needed.
6566 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6568 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6569 call the edit() as it is not needed (and wrong) IMO.
6570 (workAreaButtonPress): set the screen_first variable before evt.
6571 unlock the inset as this may change screen_first and then we have
6572 a wrong y position for the click!
6574 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6576 * MenuBackend.C (expand): another translation that I missed
6578 2002-03-28 Juergen Vigna <jug@sad.it>
6580 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6582 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6584 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6586 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6588 * MenuBackend.C (expand): fix export/view/update when there is no
6591 2002-03-27 Herbert Voss <voss@lyx.org>
6593 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6596 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6598 * bufferview_funcs.C (currentState): only show paragraph number
6599 for is DEVEL_VERSION is set.
6601 * lyxfunc.C (dispatch): put warning in INFO channel
6603 * MenuBackend.C (expand): translate the name of floats
6605 * FloatList.C (FloatList): mark the float names for translation
6607 * converter.C (convert): use LibScriptSearch
6609 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6611 * MenuBackend.C (defaults): fix default menu (we might as well get
6614 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6616 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6619 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6621 * lyxvc.C: reorder includes.
6623 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6625 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6628 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6630 * CutAndPaste.C: change layouts earlier on paste
6631 to avoid crashing when calling getFont()
6633 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6635 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6638 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6640 * WorkArea.C: remove 'Pending' debug message.
6642 * most files: ws cleanup
6644 * buffer.[Ch]: ws changes
6646 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6648 2002-03-21 Juergen Vigna <jug@sad.it>
6650 * tabular.C (SetMultiColumn): collapse also the contents of the
6651 cells and set the last border right. Added a Buffer const * param.
6653 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6655 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6658 2002-03-19 Juergen Vigna <jug@sad.it>
6660 * text2.C (clearSelection): reset also xsel_cache.
6662 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6663 where it needs to be called (John tells us to do so too :)
6664 (selectionLost): reset sel_cache.
6666 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6668 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6670 * text2.C (setCursorIntern): put debuging code in INSETS channel
6672 2002-03-19 André Pönitz <poenitz@gmx.net>
6674 * lyxfunc.C: tiny whitespace change
6676 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6678 * ToolbarDefaults.C (init):
6679 * LyXAction.C (init):
6681 * BufferView_pimpl.C (Dispatch):
6682 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6684 2002-03-19 Allan Rae <rae@lyx.org>
6686 * exporter.C (Export): removeAutoInsets before doing anything else.
6687 While I've just introduced a dependency on BufferView this really is
6688 the best place to clean the buffer otherwise you need to cleanup in
6689 a dozen places before calling export or cleanup in a dozen functions
6692 * converter.C (runLaTeX):
6693 (scanLog): Better handling of removeAutoInsets and screen updates.
6695 * lyxfunc.C (dispatch): small whitespace changes
6697 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6699 * WorkArea.C (C_WorkAreaEvent): return a value.
6700 (event_cb): return 1 if we handled the event, 0 otherwise.
6702 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6704 2002-03-18 Juergen Vigna <jug@sad.it>
6706 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6707 (GetAdditionalWidth): ditto.
6711 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6712 inset if we're there actually (probably not used right now but this
6713 is the direction to go for unifying code).
6714 (paste): disable code to clear the selection.
6716 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6717 inside an InsetText and move the check further up as it is in the
6720 * text2.C (pasteSelection): set a selection over the pasted text.
6722 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6724 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6725 and libgraphics to build on Cygwin.
6727 2002-03-15 Juergen Vigna <jug@sad.it>
6729 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6730 inserting an Inset into the paragraph. I know this is not the best
6731 fix but we already use current_view in CutAndPaste so we will remove
6732 all of it's using at the same time.
6734 * buffer.C (sgmlError): deactivated function till it is rewritten in
6735 the right mode, now it can create problems.
6737 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6738 before accessing it.
6740 2002-03-14 Juergen Vigna <jug@sad.it>
6742 * undo_funcs.C (textHandleUndo): do the right thing when updating
6743 the inset after the undo/redo.
6745 * text2.C (setCursor): just some testcode for #44 not ready yet.
6747 * undo_funcs.C (textHandleUndo): set the next() and previous()
6748 pointers of the paragraph to 0 before deleting otherwise we have
6749 problems with the Paragraph::[destructor].
6751 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6752 on a paragraph insertion.
6754 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6756 * buffer.C (asciiParagraph): use += operator for char append to
6759 * paragraph.C (getFontSettings): compare >= not just >
6760 (highestFontInRange): ditto
6763 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6765 * paragraph.C: change several algorithm to be more appripriate for
6766 the problem domain. This is lookip in FontList and in the InsetList.
6768 2002-03-13 André Pönitz <poenitz@gmx.net>
6771 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6773 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6778 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6780 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6782 * Painter.C (display): anon helper function, adjust code for this
6784 (pixmap): remove function.
6786 * Painter.h: remove private display variable.
6788 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6790 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6792 * WorkArea.[Ch]: remove figinset_canvas cruft.
6794 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6796 * lyxtextclass.C (operator): add one item cache optimization.
6798 * bufferlist.h: doxy changes
6800 * bufferlist.C: ws changes
6802 * DepTable.[Ch] (ext_exist): place const in the right spot.
6804 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6806 (workAreaExpose): call resizeInsets when the with BufferView changes.
6807 (Dispatch): adjust for protectedBlank removal
6808 (specialChar): call updateInset if the insert went ok.
6810 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6811 specialChar instead.
6813 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6815 * BufferView.h: doxy change
6817 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6819 * lyxtextclass.C (operator[]): remove non-const version
6820 (defaultLayout): remove non-const version
6822 2002-03-12 Juergen Vigna <jug@sad.it>
6824 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6825 did resize the LyXText too.
6827 * buffer.C (readLyXformat2): set layout information on newly allocated
6830 * tabular.C (OldFormatRead): set layout information on the paragraph.
6832 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6834 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6836 2002-03-11 Juergen Vigna <jug@sad.it>
6838 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6840 (resizeCurrentBuffer): force also the insets to resize themselfes.
6841 (moveCursorUpdate): fixed up for InsetText.
6843 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6846 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6847 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6848 value of Dialogs::tooltipsEnabled().
6849 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6851 2002-03-08 Juergen Vigna <jug@sad.it>
6853 * BufferView_pimpl.C (updateInset): update inset inside inset also
6854 if it isn't inside theLockingInset().
6856 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6858 * buffer.C (asciiParagraph): redo some of the word and line length
6860 (getLists): look for Caption instead of caption.
6862 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6864 * buffer.C (Buffer): initialize niceFile to true
6867 (makeDocBookFile): make sure niceFile is true on exit
6869 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6871 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6873 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6875 * LyXSendto.C: remove.
6876 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6877 * lyx_gui.C: remove now-redundant comment.
6878 * ColorHandler.h: remove forward declaration of class WorkArea.
6879 * lyxfunc.C: remove #include "WorkArea.h".
6881 2002-03-07 Juergen Vigna <jug@sad.it>
6883 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6884 got moved away with the DEPM and also set the inset_owner always
6885 right which before could have been omitted.
6887 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6889 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6890 wanted layout is not found.
6892 2002-03-07 Juergen Vigna <jug@sad.it>
6894 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6896 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6898 * paragraph.C (breakParagraph): use default layout not layout of
6900 (Paragraph): clear ParagraphParameters.
6902 2002-03-06 Juergen Vigna <jug@sad.it>
6904 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6905 otherwise it would not be a valid lenght. Fixed a special case in
6906 the minipage compatibility read where we end the document with a
6909 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6910 was set as it could be 0 for InsetTexts first entry.
6912 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6914 * paragraph.C (writeFile): if layout is empty write out
6915 defaultLayoutName().
6917 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6918 file without named layout we set layout to defaultLayoutName().
6920 2002-03-06 Juergen Vigna <jug@sad.it>
6922 * CutAndPaste.C (copySelection): set layout for new paragraph.
6924 * text.C (prepareToPrint): leave ERT inset left aligned
6925 (leftMargin): don't indent paragraphs inside ERT insets
6927 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6929 * paragraph.C (breakParagraph): dont call clear do the work manually
6931 * paragraph.[Ch] (clear): remove function
6933 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6935 * paragraph.C (Paragraph): dont call clear, the work has already
6938 * lyxtextclass.C (operator): assert if n is empty
6940 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6941 work manually instead.
6943 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6945 * BufferView_pimpl.C: protect selectionLost against text == 0
6947 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6949 * text.C (breakParagraph): fix a setting layout to '0' problem.
6951 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6953 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6954 final location of file, for the included files, and graphics.
6956 2002-03-05 Juergen Vigna <jug@sad.it>
6958 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6960 2002-03-04 Juergen Vigna <jug@sad.it>
6962 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6964 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6965 last column of multicolumn cells.
6966 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6968 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6970 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6971 file if it doesn't go to a temporary file.
6973 * buffer.C (sgmlOpenTag):
6974 (sgmlCloseTag): remove extra newline insertion.
6976 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6978 * text.C (getRowNearY): comment out debug msg
6980 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6982 * text2.C: first -> first_y
6984 * text.C (getRowNearY): add some attemts at a possible
6985 optimization, not working.
6987 * tabular.[Ch]: add BufferParams to several function so that newly
6988 created paragraph can be initialized to he default layotu for the
6991 * tabular-old.C (ReadOld): add buf->params to call of Init
6993 * screen.C: rename text->first to text->first_y
6995 * paragraph.C (breakParagraph): always set layout in the broken
6998 * lyxtextclass.C (Read): remove lowercase
7001 (delete_layout): ditto
7003 * lyxtext.h: rename first -> first_y
7005 * lyxlayout.C (Read): remove lowercase
7008 (obsoleted_by): ditto
7010 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7012 * buffer.C (insertErtContents): add params are to InsetERT
7013 (parseSingleLyXformat2Token): add code to check if a paragraphs
7014 layout really exist.
7015 (parseSingleLyXformat2Token): add params to several inset
7017 (asciiParagraph): remove lowercase, do the layout comparisons with
7020 * BufferView_pimpl.C (cursorNext): first -> first_y
7021 (resizeCurrentBuffer): first -> first_y
7022 (updateScrollbar): first -> first_y
7023 (scrollCB): first -> first_y
7024 (workAreaMotionNotify): first -> first_y
7025 (workAreaButtonPress): first -> first_y
7026 (checkInsetHit): first -> first_y
7027 (cursorPrevious): first -> first_y
7028 (cursorNext): first -> first_y
7029 (Dispatch): add buffer_->params to severl inset contructors
7031 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7033 * lyxlayout.C (Read): remove some debug info that I forgot.
7035 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7036 clean up the code slightly.
7037 (makeLinuxDocFile): ditto
7038 (makeDocBookFile): ditto
7040 * text2.C: layout as string
7042 * text.C: layout as string
7044 * paragraph_pimpl.C: layout as string
7046 * paragraph.[Ch]: layout as string
7048 * lyxtextclasslist.[Ch]: layout as string
7050 * lyxtextclass.[Ch]: layout as string
7052 * lyxtext.h: layout as string
7054 * lyxlayout.[Ch]: layout as string
7056 * lyx_cb.C: layout as string
7058 * bufferview_funcs.C: layout as string
7060 * bufferparams.C: layout as string
7062 * buffer.C: layout as string
7064 * LyXView.[Ch]: layout as string
7066 * LaTeXFeatures.[Ch]: layout as string
7068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7070 * BufferView_pimpl.C: change current_layout to string, remove
7075 (workAreaButtonRelease): layout as string
7077 * BufferView2.C (unlockInset): adjust
7079 * vspace.C (asLatexCommand): use an explict temp variable.
7081 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7083 * Makefile.am: use FRONTEND_*
7085 2002-03-01 Juergen Vigna <jug@sad.it>
7087 * tabular.C (SetWidthOfMulticolCell): changed to something better
7088 I hope but still work in progress.
7089 (recalculateMulticolumnsOfColumn): renamed function from
7090 recalculateMulticolCells as it is more appropriate now.
7091 (SetWidthOfCell): calculate multicols better.
7093 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7095 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7097 * lyxfunc.C (processKeySym): print sequence also if it is
7098 `deleted' (complete)
7100 * kbsequence.C (print): print sequence even if it is deleted
7101 (complete would be a better word, actually).
7103 * lyxfunc.C (dispatch): print complete options after a prefix key
7105 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7107 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7109 * text2.C (setCharFont): eliminate setCharFont code duplication.
7111 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7113 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7114 LFUN_TABULAR_FEATURE (bug #177)
7116 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7118 * Makefile.am: remove figure.h
7120 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7122 * Bufferview_pimpl.C:
7134 * text2.C: remove #include "lyx_gui_misc.h".
7136 * LaTeX.C: added #include <cstdio>
7138 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7140 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7141 that the paragraph following this one can have.
7143 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7145 * vspace.C (asLatexCommand): fix bogus gcc warning
7147 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7149 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7151 * text2.C (setLayout): get rid of redundant code
7153 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7155 * text2.C (incDepth): make sure depth cannot be increased beyond
7158 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7160 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7161 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7163 * PainterBase.h (image):
7164 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7167 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7171 * BufferView_pimpl.C:
7172 * BufferView_pimpl.h:
7192 * sp_spell.C: remove fig inset, and the crap house of
7193 cards that follows it
7195 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7201 * nt_defines.h: move .h into support/
7203 * vms_defines.h: remove
7205 * WorkArea.C: add space in debug output
7209 * buffer.C: add WITH_WARNINGS
7213 * bufferlist.C: s/retrive/retrieve/, add docs
7224 * lyxgui.C: add ID to X error handler
7226 * lyxtestclass.c: fix typo
7228 2002-02-26 Juergen Vigna <jug@sad.it>
7230 * tabular_funcs.C (write_attribute): changed so that some default
7231 attributes are not written at all.
7232 (getTokenValue): set default values before trying to read the
7233 value so we have the return value always set as default if we don't
7234 find the token we search for.
7236 * tabular.C (Write): write bools as bools not as strings!
7238 2002-02-22 Juergen Vigna <jug@sad.it>
7240 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7241 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7243 * text.C (leftMargin): don't add an indent for paragraphs inside
7244 tabular cells (fix #208).
7246 2002-02-21 José Matos <jamatos@fep.up.pt>
7248 * tabular.C (docBook): fixed support for long tables.
7250 2002-02-20 Juergen Vigna <jug@sad.it>
7252 * text2.C (getFont): get the drawing font of the Inset if this
7253 paragraph is inside an inset (only important for InsetERT for now).
7255 * buffer.C (insertErtContents): use new lanugage params in ERT
7258 * CutAndPaste.C: commenting out seemingly uneeded code.
7260 2002-02-19 Allan Rae <rae@lyx.org>
7262 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7263 Iterators might be simple to use but they also get invalidated.
7264 (removeAutoInsets): renamed saved cursor tracking variables and added
7265 some comments to clarify what everything does.
7267 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7274 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7275 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7278 * vc-backend.h: remove #include "support/syscall.h"
7282 * converter.C: rearrange #includes in Lars' approved fashion.
7284 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7285 forward declare class Timeout in the header file.
7287 * XFormsView.C: changes due to the above.
7289 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7292 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7293 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7295 2002-02-18 José Matos <jamatos@fep.up.pt>
7297 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7300 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7302 * a lot of small ws changes
7303 * add a lot of using std::XXX
7304 * use std construcs some places where approp.
7305 * use some exisint stuff from lyxfunctional where approp.
7306 * Make file changes to use partial linking (lets test this now...)
7308 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7312 remove #include "support/syscontr.h" as it's redundant. Always has been.
7320 change Systemcalls::System to Systemcalls::Wait and
7321 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7322 No change of functionality, just reflects the stripped down Systemcalls
7325 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7327 * debug.[Ch]: add a GRAPHICS type to the enum.
7329 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7331 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7333 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7336 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7338 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7339 match the changes below.
7341 * text2.C (toggleInset): if there is not editable inset at cursor
7342 position, try to see if cursor is _inside_ a collapsable inset
7345 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7348 document menu has a nice checkbox
7350 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7352 * lyxlength.C (asLatexString): change PW to output as percent of
7355 * lengthcommon.C: change '%' to 't%'
7357 * lyxfunc.C (dispatch): a few comments from Martin
7359 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7363 * BufferView_pimpl.h:
7364 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7367 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7369 * vspace.C (inPixels): fix compiler warning
7371 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7373 * lyxfunc.C (getStatus): fix status message for disabled commands.
7375 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7377 * BufferView_pimpl.C: fix crash on close buffer
7378 during selection (#227)
7380 2002-01-27 Herbert Voss <voss@lyx.org>
7382 * buffer.C: link old Figure to new graphic inset
7384 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7386 * FontLoader.C (getFontinfo): Change the latex font names in order
7387 to match the names of type1inst.
7389 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7391 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7393 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7396 (remove_files_with_extension): ditto
7397 (remove_file): ditto
7400 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7401 document is smaller than the work area height. Do not initialize
7402 static variables to 0.
7404 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7406 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7408 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7409 LFUN_LAYOUT_PARAGRAPHS.
7411 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7412 tabular. It is possible to provide a possible cell, which will
7413 typically be the actcell from the corresponding insettabular
7415 * lyxfunc.C (getStatus): small cleanup; disable
7416 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7419 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7423 * paragraph.C (startTeXParParams):
7424 (endTeXParParams): new methods. The LaTeX code to
7425 start/end paragraph formatting
7426 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7427 empty (fixes bug #200)
7429 * vspace.C (inPixels): adapt to the change below
7430 (inPixels): [later] more cleanups (remove unused variables)
7432 * lyxlength.C (inPixels): change to use a width and a height as
7435 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7437 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7438 Replaced with \paperwidth
7440 * DepTable.C (insert): add std:: qualifier
7442 2002-01-18 Allan Rae <rae@lyx.org>
7444 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7447 * text.C (drawInset): Turned out I didn't know enough about how
7448 rebreaking worked. This fixes most of the redraw problems. I see
7449 an occasional cursor trail when a line is broken now and the cursor
7450 placement can seem out by a few pixels also after a rebreak.
7452 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7454 * buffer.C (parseSingleLyXformat2Token): update because minipage
7455 width is now a LyXLength
7457 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7459 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7462 2002-01-17 Juergen Vigna <jug@sad.it>
7464 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7466 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7467 is set correctly and the inset is updated correctly.
7469 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7471 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7472 the beginning of the loop.
7474 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7476 * lyxrc.C: improve help for use_scalable_fonts
7478 2002-01-17 Allan Rae <rae@lyx.org>
7480 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7482 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7484 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7485 make sure to set their inset_owner to the right value (bug #171)
7487 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7490 * DepTable.C: Implement mtime checking to reduce time spent doing
7493 2002-01-16 Juergen Vigna <jug@sad.it>
7495 * tabular.C (GetAdditionalHeight): one of error fixed.
7497 * lyxrc.C (output): small fix in writing use_pspell.
7499 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7501 * sp_base.h: #include LString.h
7503 2002-01-16 Allan Rae <rae@lyx.org>
7505 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7506 Can someone check this please?
7508 * text.C (drawInset): It was possible that p.row would be removed by
7509 breakAgainOneRow upsetting a few other settings. There may be another
7510 small tweak possible by setting need_break_row = 0 when p.row has been
7511 removed but I don't know enough about the logic here.
7513 2002-01-15 Allan Rae <rae@lyx.org>
7515 * text.C (insertChar): removed conditional truism.
7517 * BufferView2.C (removeAutoInsets): More tweaks.
7518 cur_par_prev could be a stray pointer. Check for trailing empty line
7519 in case last line was cur_par and only had an error inset on it.
7521 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7523 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7526 * vc-backend.C (most methods):
7527 * exporter.C (Export):
7528 * converter.C (convert):
7530 * LyXSendto.C (SendtoApplyCB):
7531 * lyxfunc.C (dispatch):
7535 * lyx_cb.C (AutoSave):
7537 * BufferView_pimpl.C (MenuInsertLyXFile):
7538 * buffer.C (runChktex): use Buffer::filePath().
7540 * buffer.h: rename filename to filename_; rename filepath to
7541 filepath_ and make it private
7542 (filePath): new method
7544 * buffer.C (writeFile): use fileName()
7547 * lyx_main.C (init): fix starting of LyX when the binary is a
7548 link from so,ewhere else.
7550 * minibuffer.C: include <cctype> for isprint
7552 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7554 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7555 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7556 name clash with InsetCollapsable's width function.
7558 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7560 * lastfiles.C: include <iterator>
7562 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7564 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7567 * buffer.C (makeLaTeXFile): ditto.
7568 Also make loop operation more transparent.
7570 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7572 * ToolbarDefaults.C: remove trailing comma closing namespace.
7574 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7576 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7579 * trans.C (Load): comment out unused variable, allowed.
7581 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7583 * minibuffer.[Ch] (append_char): new method to recieve input from the
7584 drop-down completion browser. If a key was pressed, then recieve this
7585 char and append it to the existing string.
7586 (peek_event): modify the positioning data passed to the completion
7587 browser so that it can be placed above the minibuffer rather than below.
7588 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7590 * LyXAction.C (init): alloe error-next for readonly documents.
7592 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7595 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7597 * bufferlist.C (readFile): create the buffer _after_ checking that
7600 * lyxfunc.C (verboseDispatch): fix handling of arguments
7602 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7604 * lyxrc.C: use string::erase() instead of initializing to "".
7607 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7609 * BufferView_pimpl.h:
7610 * BufferView_pimpl.C:
7613 * text2.C: tell X when we have made a selection for copying
7615 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7617 * BufferView_pimpl.C (MenuInsertLyXFile):
7618 * lyxfunc.C (menuNew):
7620 (doImport): add shortcuts to directory buttons
7622 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7625 * lyxfunc.C (setStatusMessage):
7626 (getStatusMessage): new methods
7627 (getStatus):use setStatusMessage instead of setErrorMessage
7628 (dispatch): when function is disabled, set error message here
7629 [instead of in getStatus previously]
7631 * BufferView_pimpl.C (workAreaButtonRelease): update
7632 toolbar/menubar here too.
7634 2002-01-13 Allan Rae <rae@lyx.org>
7636 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7637 Now seems indestructible. Remaining task is to audit all other
7638 code affected by deleteEmptyParagraphMechanism. One small quirk
7639 left is that an empty document with an error in the preamble can
7640 be made to report an error but no error box appears. I don't know
7642 (removeAutoInsets): Improved comments.
7644 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7647 * Thesaurus.C: update for Aiksaurus 0.14
7649 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * text2.C (firstParagraph): removed member function, all uses
7652 replaces with ownerParagraph
7653 (redoParagraphs): here
7655 (toggleAppendix): here
7656 * BufferView2.C (insertErrors): here
7657 (setCursorFromRow): here
7659 2002-01-13 Allan Rae <rae@lyx.org>
7661 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7662 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7663 There is still a way to segfault this although you may have to do this
7664 multiple times: Have an InsetERT with an unknown command in it.
7665 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7666 <down-arrow>, <Enter> again, View->DVI, BANG!
7668 * text2.C (setCursor):
7669 (deleteEmptyParagraphMechanism):
7670 * lyxtext.h (setCursor):
7671 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7672 Making use of the return value may help fix other bugs.
7674 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7676 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7678 * LyXView.C (updateMenubar): call MenuBar::update here
7679 (updateToolbar): but not here
7680 (showState): do not update toolbar/menubar
7682 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7683 should need to care about that.
7685 * lyxfunc.C (verboseDispatch): simplify a bit
7686 (getStatus): have a version which takes a pseudoaction, and
7687 another which requires a (kb_action,string).
7689 * LyXAction.C (retrieveActionArg): make it work also when action
7690 is not a pseudo-action.
7691 (getActionName): simplify a bit
7694 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7696 * lyxfunc.C (verboseDispatch): new families of methods with
7697 several ways to specify a command and a bool to indicate whether
7698 the command name and shortcut should be displayed in minibuffer
7699 (eventually, we could extend that to a finer bitmask like
7700 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7701 (dispatch): the pristine dispatch command which just, well,
7702 dispatchs! Note it still sets its result to minibuffer; I'm not
7705 * lyxfunc.h: remove setHintMessage
7707 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7709 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7711 * BufferView_pimpl.C (specialChar): delete new inset if we have
7712 not been able to insert it.
7714 * kbmap.C: revert to using int instead of kb_action, since all we
7715 are dealing with is pseudo-actions.
7717 * LyXAction.C (searchActionArg): change to return int instead of
7718 kb_action, since the result is a pseudoaction.
7720 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7722 * buffer.C (insertErtContents): Fix (partially) the font bug.
7724 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7726 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7727 as the other one is broken on my machine!
7729 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7732 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7734 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7736 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7737 reflect their actual use. Provide compatibility code for older lyxrc
7740 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7742 change names of popup font variables in line with the changes to lyxrc.C
7744 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7746 * buffer.C (asciiParagraph): avoid outputing a word twice after
7749 * lyxrc.C (getDescription): document that document_path and
7750 template_path can be empty.
7752 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7754 * LaTeXFeatures.C (getMacros):
7755 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7757 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7759 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7761 (getPackages): rename feature "floats" to "float". Use an array to
7762 iterate over 'simple' features (i.e. just a \usepackage). Add
7763 handling of "amsmath" (renamed from "amsstyle").
7765 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7767 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7770 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7772 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7773 FuncStaus::FuncStatus & FuncStaus::some_method().
7775 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7777 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7778 of the func_satus stuff. Edited and massaged in various ways by
7781 * lyxfunc.C (getStatus): use FuncStatus
7783 2002-01-08 Juergen Vigna <jug@sad.it>
7785 * text.C (nextBreakPoint): use function Inset::isChar().
7787 * paragraph.C (TeXOnePar): use function
7788 Inset::forceDefaultParagraphs.
7790 * buffer.C (latexParagraphs): use function
7791 Inset::forceDefaultParagraphs.
7793 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7795 * lyx_gui.C (init): set the style of the menu popups to
7796 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7798 2002-01-07 Juergen Vigna <jug@sad.it>
7800 * text.C (setHeightOfRow): small fix
7801 (prepareToPrint): don't look at alignment if we don't have the place
7804 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7806 * box.C: New file. Move the Box methods and functions out of box.h,
7807 following Lars' suggestion.
7809 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7811 * box.h: #include "support/LOstream.h", needed for inlined function.
7814 * lyxtextclasslist.C: added some using std declarations.
7816 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7818 * box.h: make signed dimensions to allow insets wider than
7819 the screen (bug #162)
7821 * BufferView_pimpl.C: add some insetHit debug
7823 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7825 * vc-backend.C: add FIXME
7827 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7829 * lyxfunc.C (getStatus): enable code for showing math font status
7832 2002-01-07 Juergen Vigna <jug@sad.it>
7834 * text.C (nextBreakPoint): removed debug output not needed anymore.
7836 2002-01-06 Juergen Vigna <jug@sad.it>
7838 * text.C (nextBreakPoint): fixed up this function we had this bug
7839 since ever but now hopefully we break row better.
7840 (insertChar): we have to check if an inset is the next char as it
7841 could now happen that a large inset is causing a break.
7843 2002-01-05 Juergen Vigna <jug@sad.it>
7845 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7846 if it doesn't like to be drawed.
7848 2002-01-04 Juergen Vigna <jug@sad.it>
7850 * BufferView2.C (lockInset): forgot to set a cursor.
7852 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7854 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7859 * form_maths_panel.C:
7860 * form_maths_panel.h:
7861 * form_maths_panel.fd: implemented sub- and super- buttons in math
7864 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7865 (or ^ space) to be used as in TeX (req'd by André).
7867 * lyxfunc.C: Allow ^ and _ again to be used both as
7868 super/subscript (mathed) and as themselves (in text).
7870 2002-01-03 Allan Rae <rae@lyx.org>
7872 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7873 "LyX" or the filename of the current buffer if it has one. This is a
7874 modified form of John Levon's patch.
7876 * XFormsView.C (setWindowTitle): also set icon title.
7878 * LyXView.h (setWindowTitle): signature changed.
7879 * XFormsView.h (setWindowTitle): ditto.
7881 2002-01-02 Juergen Vigna <jug@sad.it>
7883 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7885 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7887 * screen.C (topCursorVisible): introduce a temp var for
7888 text->cursor.row(), handle the case where this row is null. (kindo
7891 * text2.C (setCursor): add a couple of asserts.
7893 * paragraph.h (inset_iterator): add -> operator
7895 * paragraph.[Ch] (autoDeleteInsets): remove member function
7897 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7898 cursor pos correctly and handle inset deletion by itself.
7899 (insertErrors): move iterator declaration out of for expression
7901 * lyxtextclass.C: add <algorithm>
7903 * Makefile.am: added the new files to sources, removed layout.C
7905 * layout.C: removed file
7907 * layout.h: remove LYX_DUMMY_LAYOUT
7909 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7913 * lyxtextclass.[Ch]:
7914 * lyxtextclasslist.[Ch]: new files
7916 * include order changes to a lot of files, also changes because of
7919 2001-12-27 Juergen Vigna <jug@sad.it>
7921 * buffer.C (asciiParagraph): more fixes.
7923 * tabular.C (ascii): make ascii export support export of only the
7924 data separated by a column-delimiter.
7925 (ascii): better support for ascii export.
7927 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7929 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7931 * tabular_funcs.C: use a "using std::getline" instead of the
7932 previous fix from Angus (necessary for cxx + lyxstring)
7934 2001-12-24 Juergen Vigna <jug@sad.it>
7936 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7938 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7939 problems. First check a minipage also if we have some ert-contents
7940 (not only on par->size(), second set the right depth of the paragraph
7941 on the relink to the root-paragraph-list!
7943 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7944 which then did not anymore update the main paragraphs on undo/redo!
7946 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7948 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7949 code. Support all font-changing funcs (even those which are not in
7950 menu currently). Support for reporting font settings in
7951 mathed (disabled until Andre provides a function on mathed's side).
7953 * func_status.h (toggle): small helper function to set toggle
7956 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7958 * tabular_funcs.C: getline -> std::getline
7960 2001-12-21 Juergen Vigna <jug@sad.it>
7962 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7963 accessed and could be 0 (I couldn't generate this but it seems
7966 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7968 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7969 * tabular_funcs.h: here and include iosfwd
7971 2001-12-20 Juergen Vigna <jug@sad.it>
7973 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7974 inside inset but undo_par was.
7976 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7978 * Thesaurus.C: always include <config.h> in sources.
7982 * box.h: do not include <config.h> in header files
7984 * text.C (paintLastRow): remove unused variable
7986 * text.C (transformChar):
7988 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7991 * font.C (width): rewrite to use uppercase() instead of
7994 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7996 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7998 * lyxfind.C: clean up of find failure position change
8000 2001-12-20 Juergen Vigna <jug@sad.it>
8002 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8004 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8005 (TeXRow): added to LaTeX a single tabular row.
8006 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8007 (Latex): simplified and finally good LT-h/f support.
8008 (various_functions): just small adaptions for LT-h/f support.
8010 * tabular_funcs.[hC]: added and moved here all not classfunctions
8013 2001-12-19 Juergen Vigna <jug@sad.it>
8015 * tabular.[Ch]: better support for longtabular options (not finished
8018 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8020 * text.C (paintLastRow): use the label font instead of the font of
8021 the last character to compute the size of *_BOX. This makes more
8022 sense and avoids a crash with empty paragraphs.
8023 Use Painter::rectangle to draw EMPTY_BOX.
8025 2001-12-19 Juergen Vigna <jug@sad.it>
8027 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8028 the paragraphs if the replaced paragraph is not the first one!
8029 Tried to delete not used paragraphs but does not work yet so for
8030 now it's inside #ifdef's and by default off!
8032 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8034 * MenuBackend.C: include "lyx_main.h" instead of declaring
8035 lastfiles (actually was declared as LastFiles* instead of a
8038 2001-12-17 Juergen Vigna <jug@sad.it>
8040 * tabular.C (AppendColumn): applied John's fix
8042 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8046 * BufferView_pimpl.h:
8047 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8050 * box.h: new start of class for above
8052 * lyxfunc.C: ignore space-only minibuffer dispatches.
8053 Show the command name when it doesn't exist
8055 * minibuffer.C: don't add empty lines to the history
8057 * minibuffer.C: add a space on dropdown completion
8059 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8061 * text.C: fix line above/below drawing in insets
8063 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8065 * lyxlength.C (LyXLength): Initialize private variables.
8067 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8069 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8070 when inserting error insets.
8072 2001-12-13 Juergen Vigna <jug@sad.it>
8074 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8075 actually sometimes the before-paragraph.
8076 (setUndo): don't clear the redostack if we're not actually undoing!
8078 2001-12-06 Juergen Vigna <jug@sad.it>
8080 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8081 and fixed redoing of main paragraph, so we can use it now ;)
8083 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8085 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8090 2001-12-13 André Pönitz <poenitz@gmx.net>
8093 * undo_func.C: minor cleanup
8095 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8097 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8098 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8099 font in urw-fonts package which is marked as -urw-fontspecific and
8100 does not work (incidentally, changing the encoding in the
8101 fonts.dir of this package to -adobe-fontspecific fixes the
8104 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8105 is a crash when undoing first paragraph (Juergen, please take a
8106 look). THis does not mean the undo fix is wrong, just that it
8109 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8110 the (Paragraph*) version when needed instead of duplicating the
8113 * text.C (workWidth): use Inset::parOwner to find out where the
8114 inset has been inserted. This is a huge performance gain for large
8115 documents with lots of insets. If Inset::parOwner is not set, fall
8116 back on the brute force method
8118 * paragraph_pimpl.C (insertInset):
8119 * paragraph.C (Paragraph):
8120 (cutIntoMinibuffer): set parOwner of insets when
8121 inserting/removing them
8123 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8125 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8131 * mathed/formulabase.C:
8132 * mathed/math_cursor.[Ch]:
8133 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8136 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8138 * lyxlength.[Ch] (operator!=): new function
8140 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8142 * text.C (workWidth): use Inset::parOwner to find out where the
8143 inset has been inserted. This is a huge performance gain for large
8144 documents with lots of insets. If Inset::parOwner is not set, fall
8145 back on the brute force method
8147 * paragraph_pimpl.C (insertInset):
8148 * paragraph.C (Paragraph):
8149 (cutIntoMinibuffer): set parOwner of insets when
8150 inserting/removing them
8152 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8154 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8156 * tabular-old.C (getTokenValue):
8157 * tabular.C (getTokenValue):
8158 (write_attribute): new versions for LyXLength
8159 (everywhere): adjust the use of widths
8161 * tabular.h: change the type of widths from string to LyXLength
8163 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8165 * paragraph.C: fixed missing line number count when exporting
8166 Environments to LaTeX file
8168 * buffer.C: added informational message for checking line numbers.
8170 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8172 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8173 paragraph, do the 'double space' part, but not the 'empty
8176 * text.C (workWidth): small optimization
8177 (getLengthMarkerHeight): use minimal size for negative lengths.
8179 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8181 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8183 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8185 2001-12-11 André Pönitz <poenitz@gmx.net>
8188 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8190 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8192 * text2.C: keep selection on a setFont()
8194 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8196 * lyx_cb.C: another bv->text misuse, from insert label
8198 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8201 * kbsequence.C: re-instate nmodifier mask
8203 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8205 * lyx_main.h: make lyxGUI private.
8207 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8209 * lyxfind.C: place the cursor correctly on failed search
8211 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8213 * text.C (getLengthMarkerHeight): for small heights, the arrows
8214 are not always on top/bottom of the text
8215 (drawLengthMarker): smaller arrows; take the left margin in
8216 account; draw also vfills.
8218 (paintLastRow): remove special code for vfill and standard spaces,
8219 since everything is handled in drawLengthMarker now.
8221 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8223 * buffer.C (insertErtContents): try to handle font and language
8224 interaction a bit better.g
8226 * ColorHandler.C (updateColor): change the hash to cover the whole
8227 LColor enum, ws cleanup
8228 (getGCLinepars): ditto
8229 (getGCLinepars): only lookup in the linecache once.
8231 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8233 * iterators.C (operator++): Make the iterator more robust
8235 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8237 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8239 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8242 * text.C: better added space drawing
8244 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8247 * BufferView2.C: fix layout combo update on inset unlock
8249 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8251 * Makefile.am: don't compile unused files
8253 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8257 * LyXAction.C: remove old LFUN_LAYOUTNO
8259 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8261 * paragraph_pimpl.h:
8262 * paragraph_pimpl.C: isTextAt() doesn't need font param
8264 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8267 * lyxlex.C: little cleanup
8269 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8271 * BufferView_pimpl.C: fix insertAscii for insets
8273 2001-12-05 Juergen Vigna <jug@sad.it>
8275 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8276 set the right font on the "multi" paragraph paste!
8278 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8284 * lyxlength.C: remove out-commented code.
8300 * vc-backend.C: change "while(" to "while ("
8302 * lyxlength.[Ch]: add zero function to check if length is zero or
8304 * lyxgluelength.C: use it
8306 2001-12-05 Allan Rae <rae@lyx.org>
8308 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8309 Works for 2.95.3, from what I understand of Garst's reports this should
8310 work for other g++ versions. We're screwed if the abs(int) definition
8311 changed between bugfix releases of gcc.
8313 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8315 * text.C: fix chapter label offset !
8317 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8320 * text.C: fix hfill at end of line, clean up
8322 2001-12-04 Juergen Vigna <jug@sad.it>
8324 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8325 that we force an update of the inset and it's owners if neccessary.
8327 2001-12-03 Juergen Vigna <jug@sad.it>
8329 * text.C (rowLast): simplified code
8331 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8333 * lyxfunc.C: fix show options on timeout
8335 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8337 * screen.C (topCursorVisible): scroll half a page when the cursor
8338 reached top of bottom of screen
8340 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8342 * minibuffer.C: deactivate on loss of focus
8344 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8346 * vspace.[Ch] (operator!=): add operator.
8348 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8350 * BufferView_pimpl.C: refuse to open an inset when
8351 there's a selection.
8353 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8355 * BufferView_pimpl.C: allow to click on RHS of full row insets
8357 2001-11-30 Juergen Vigna <jug@sad.it>
8359 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8360 insets for undo reasons.
8362 2001-11-28 André Pönitz <poenitz@gmx.net>
8364 * vspace.[Ch]: cosmetical changes
8366 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8376 * kbsequence.C: part re-write of old kb code
8379 * WorkArea.C: remove Lgb_bug_find_hack
8381 2001-11-30 José Matos <jamatos@fep.up.pt>
8383 * buffer.C (makeDocBookFile): add a comment to point a hack.
8384 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8385 Fixed a double write of labels.
8387 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8390 * LaTeX.h Fixed bug in LaTeX class where it would not
8391 re-run latex if no depfiles were changed, but the .dvi was removed.
8393 2001-11-28 André Pönitz <poenitz@gmx.net>
8395 * all the files from the change on 2001/11/26:
8396 use lyx::layout_type instead of LyXTextClass::size_type
8397 use lyx::textclass_type instead of LyXTextClassList::size_type
8399 2001-11-29 Juergen Vigna <jug@sad.it>
8401 * text.C: added support for paragraph::isFreeSpacing()
8403 * buffer.C: same as above
8405 * paragraph.h: inserted isFreeSpacing() function to enable
8406 FreeSpacing inside InsetERT.
8408 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8409 of the paragraph's in the cut/copy buffer to 0!
8411 * text2.C (removeRow): remove the assert as it can!
8413 * lyxtext.h: added helper function firstRow returning firstrow and
8414 made firstrow private again.
8416 * BufferView2.C (lockInset): don't relock if we're already locked!
8418 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8420 (removeRow): added Assert::(firstrow)
8422 * debug.C: forgot to add INSETTEXT here.
8424 2001-11-28 Juergen Vigna <jug@sad.it>
8426 * sp_spell.C (initialize): changed error text to more general
8427 spellchecker command use (not only ispell!)
8429 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8431 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8433 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8435 * vspace.C: initialise lyxgluelength on failure
8437 2001-11-28 Allan Rae <rae@lyx.org>
8439 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8440 declaration & definition that looks like a function declaration.
8442 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8444 * BufferView2.C (copy):
8445 (copyEnvironment): do not clear the selection when doing a copy.
8447 * text.C (paintFirstRow): compilation fix
8449 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8451 * tabular.C (Latex): correct line count when writing latex.
8453 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8455 * paragraph_pimpl.h:
8456 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8459 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8463 * LColor.C: change vfillline->added_space
8465 * text.C: add markers and text for added space
8467 * vspace.C: fix comment
8469 2001-11-28 André Pönitz <poenitz@gmx.net>
8471 * paragraph.C: whitespace changes
8472 * all the other files from the change on 2001/11/26:
8473 change *::pos_type into lyx::pos_type
8475 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8477 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8478 language of the document when inserting error insets.
8480 2001-11-26 André Pönitz <poenitz@gmx.net>
8482 * BufferView_pimpl.[Ch]:
8490 * paragraph_pimpl.[Ch]:
8493 * text2.C: reduce header dependencies, introduce type for positions
8495 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8497 * <various>: change to use Alert.h
8499 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8501 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8502 when encountering an unknown token.
8503 (readLyXformat2): Show an error message if there were unknown tokens.
8505 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8508 * BufferView_pimpl.C:
8512 * text2.C: use par->isInset()
8514 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8516 * paragraph_pimpl.h:
8517 * paragraph_pimpl.C: cleanup
8519 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8521 * text2.C (removeRow):
8522 * text.C (setHeightOfRow): remove useless (and costly) call to
8525 2001-11-20 Allan Rae <rae@lyx.org>
8527 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8528 Now need Inset*::checkInsertChar() to return true for appropriate
8529 cases so that the characters in the minibuffer will actually be
8532 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8534 * text.C: change the order of the includes.
8535 (workWidth): initialize it at once.
8536 (workWidth): make maxw unsigned
8537 (setHeightOfRow): remove unused variable (inset)
8538 (selectSelectedWord): remove unused variable (inset)
8539 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8541 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8543 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8544 server is not running.
8546 (closeConnection): add debug info when server is disabled.
8548 * ColorHandler.C (getGCForeground): send debug message to GUI
8551 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8553 * kbmap.C (bind): modify because return conventions of
8554 kb_sequence::parse have changed.
8556 * kbsequence.C (parse): only ignore spaces and not any stupid
8557 control character. This avoids tests like s[i] <= ' ', which are
8558 guaranteed to fail with 8bit characters and signed chars.
8559 Change return code to string::npos when there have been no error
8560 (0 was a bad idea when error is at first character)
8562 2001-11-14 José Matos <jamatos@fep.up.pt>
8565 * buffer.C (simpleDocBookOnePar): removed unused argument.
8567 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8569 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8570 insets which are part of a word. Paragraph::isLetter takes care of
8571 that now. Use Paragraph::isInset to identify insets.
8572 (selectSelectedWord): do not test for hyphenation break.
8574 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8575 that protected spaces are considered as spaces.
8577 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8580 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8583 * lyxserver.C: fix it. and small cleanup.
8585 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8587 * BufferView_pimpl.C: use inline helpers
8590 * LaTeXFeatures.C: fix typos
8593 * Spacing.C: move spacing_string into class
8595 * ToolbarDefaults.C: move stuff into namespace anon
8597 * layout.h: update enum
8599 * lyxfunc.C: use better debug
8601 * minibuffer.h: fix typo
8605 * WorkArea.C: add and use Debug::WORKAREA
8609 * text2.C: code re-organisation, inline helpers
8611 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8613 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8614 std::vector.empty().
8616 2001-11-09 Allan Rae <rae@lyx.org>
8618 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8619 '\n's after tables. Tabular and ERT inset work now makes this no
8622 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8625 * minibuffer.C: fix crash, improve drop-down completion
8627 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8630 * lyxserver.C: invalidate fd's when doing endPipe()
8632 2001-11-08 José Matos <jamatos@fep.up.pt>
8634 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8635 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8638 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8640 2001-11-07 José Matos <jamatos@fep.up.pt>
8643 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8646 * buffer.C (sgmlOpenTag):
8647 * buffer.C (sgmlCloseTag): removed debug info.
8649 * buffer.h (sgmlOpenTag):
8650 * buffer.h (sgmlCloseTag): made public.
8652 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8654 * buffer.C (saveParamsAsDefaults):
8655 * lyx_cb.C (MenuLayoutSave): remove
8657 * LyXAction.C (init):
8659 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8661 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8663 * buffer.C (setPaperStuff): removed from here...
8665 * bufferparams.C (setPaperStuff): ... and moved there.
8667 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8671 * XFormsView.C: add support for drop-down completion
8673 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8675 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8678 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8680 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8683 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8685 * lyx_main.C: change ref to known bugs
8687 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8689 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8690 to work around older babel problems.
8692 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8694 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8696 2001-10-24 Juergen Vigna <jug@sad.it>
8698 * tabular-old.C (ReadOld): below variable changes reflected.
8700 * tabular.[Ch]: added ltType struct for longtable header/footer
8701 defines and changed all instances where they are used. Added
8702 future support for double top/bottom rows.
8704 2001-10-24 José Matos <jamatos@fep.up.pt>
8706 * buffer.h (docbookHandleCaption):
8707 * buffer.C (docbookHandleCaption): removed unused function.
8708 (makeDocBookFile): moved docbook supported version to v4.1.
8710 2001-10-24 José Matos <jamatos@fep.up.pt>
8713 * tabular.C (docbookRow): new function to export docbook code of a row.
8714 (DocBook): now honors the longtable flags.
8716 2001-10-23 José Matos <jamatos@fep.up.pt>
8719 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8720 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8722 * buffer.C (makeLinuxDocFile):
8723 (makeDocBookFile): reworked the preamble, more clean, and with
8724 support for lyx defined entities. Changed the document declaration
8725 to be more XML friendly.
8727 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8728 if we need to output XML that should be done with a filter.
8730 2001-10-22 Juergen Vigna <jug@sad.it>
8732 * sp_pspell.h (class PSpell): add alive function needed in the
8733 controller to see if the spellchecker could be started.
8735 2001-10-22 Juergen Vigna <jug@sad.it>
8737 * buffer.C (insertStringAsLines): modify the font for inserting
8738 chars in certain conditions by calling checkInsertChar(font).
8740 2001-10-19 Juergen Vigna <jug@sad.it>
8742 * text.C (workWidth): use getRow instead of wrong algorithm.
8743 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8745 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8750 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8752 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8754 * text.C (workWidth): do not search for the exact row when
8755 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8756 optimization for big documents.
8758 2001-10-18 Juergen Vigna <jug@sad.it>
8760 * text.C (workWidth): new function with added Inset * parameter.
8762 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8764 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8766 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8767 change return type of getColumnNearX.
8770 * text.C (changeRegionCase): use uppercase/lowercase instead of
8773 (rightMargin): simplify code by factoring out the uses of
8778 (appendParagraph): use Paragraph::size_type
8780 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8782 * vspace.C (asLatexString): add a missing break
8784 2001-10-15 Herbert Voss <voss@perce.de>
8786 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8788 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8793 2001-10-10 André Pönitz <poenitz@gmx.net>
8795 * lyxfunc.C: removed greek_kb_flag.
8797 2001-10-10 Herbert Voss <voss@perce.de>
8799 * lyx_main.C: delete global string help_lyxdir.
8801 2001-10-09 Herbert Voss <voss@perce.de>
8803 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8805 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8807 * lyx_main.C: added global string help_lyxdir.
8809 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8811 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8813 * lyxrc.C (set_font_norm_type): support iso8859-4
8815 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8817 * LaTeX.C (deplog): add another regex for MikTeX
8819 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8821 * lyxrc.C (set_font_norm_type): support iso8859-3
8823 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8825 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8827 * LaTeXFeatures.C: remove special case of french and index
8829 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8830 before \begin{document}). This solves several incompatibilities.
8832 2001-10-03 Garst Reese <reese@isn.net>
8834 * lyx_cb.C: change CheckTex error msg.
8836 2001-10-03 José Matos <jamatos@fep.up.pt>
8838 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8840 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8842 * .cvsignore: update
8844 * lyx_main.C (commandLineVersionInfo): use new style version info.
8846 * buffer.C (writeFile):
8849 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8851 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8853 * version.h: update to use stuff in version.C
8855 * version.C.in: new file. Contains version information determined
8856 at compile time. This is a merging of version.h and
8859 2001-10-03 Juergen Vigna <jug@sad.it>
8861 * BufferView_pimpl.C (update): don't change "dirty" status in
8864 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8866 * WorkArea.C (c-tor): re-position version string slightly.
8868 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8870 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8871 revert to previous code.
8873 WorkArea.[Ch]: (show, destroySplash): methods removed.
8875 WorkArea.C: rework code so that it's an amalgam of the codes before and
8876 after the splash screen was moved to WorkArea.
8878 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8881 * vspace.C (inPixels):
8884 * buffer.C (insertStringAsLines):
8885 (asciiParagraph): fix types to be large enough
8887 * lyxlex_pimpl.h: change member status from short to int
8889 * layout.h: fix type of endlabeltype
8892 * kbsequence.C (parse): change return type to string::size_type
8894 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8897 * Bullet.C (bulletSize):
8898 (bulletEntry): do not use short ints as parameters
8900 * BufferView2.C (insertLyXFile): change a char to an int.
8902 * WorkArea.C (WorkArea): remove unneeded floats in computation
8904 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8906 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8908 * paragraph.C (asString): Do not ignore newline/hfill chars when
8909 copying to the clipboard.
8911 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8913 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8914 after a multi-line inset.
8916 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8918 * paragraph.C (validate): Set NeedLyXFootnoteCode
8920 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8922 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8923 and decrease-error to decrease.
8925 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8927 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8928 it more readable (should be equivalent)
8930 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8932 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8934 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8936 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8937 of a cursor (row, etc.) after a character has been deleted
8938 (deleteEmptyParagraphMechanism): call the method above on _all_
8939 cursors held by the LyXText when a double space has been
8942 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8944 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8946 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8948 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8949 background. Use greyOut() and the new show() methods to toggle between
8950 the foreground and background. Add code to remove the splash after
8951 its initial showing.
8953 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8954 (create_forms): no longer call Dialogs::showSplash.
8956 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8958 * .cvsignore: add version_info.h
8960 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8962 * version_info.h.in: new file
8964 * Makefile.am: add version_info.h.in
8966 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8967 version_info.h instead of VERSION_INFO
8969 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8971 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8972 The ERT inset now returns string().
8974 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8976 * lyxtext.h, text.C (selectNextWord): renamed as
8977 selectNextWordToSpellcheck.
8979 * text.C (selectNextWordToSpellcheck): Modified to not select
8980 words inside an ERT inset.
8982 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8984 * lyx_cb.C (MenuLayoutSave): change a bit the question
8986 * sp_base.h: include <sys/types.h>
8988 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8990 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8992 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8994 * several files: fix typos in user-visible strings
8996 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8998 * text2.C (pasteSelection): do not set the selection, since it
8999 will be cleared later. Actually, the intent was to fix the way the
9000 selection was set, but I figured rmoving the code was just as good.
9002 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9004 * FontLoader.C (available): Check if font is available without
9007 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9009 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9011 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9013 * lyxrc.[Ch]: added display_graphics variable and associated code.
9015 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9017 * bufferparams.C (hasClassDefaults): new method. Returns true if
9018 the buffer parameters correspond to known class defaults
9020 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9022 * XFormsView.C (show): set minimum size to the main window.
9024 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9026 * text2.C (copySelection):
9028 * lyxfind.C (LyXReplace):
9029 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9030 LyXText::selectionAsString.
9032 * paragraph.C (asString): add "label" argument to the second form
9034 * text2.C (selectionAsString): add "label" argument and pass it to
9035 Paragraph::asString.
9037 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9039 * lyx_main.C (commandLineHelp): remove version information
9041 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9043 * lyx_main.C: add -version commandline option
9045 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9047 * paragraph.h: make the optional constructor arg required instead.
9048 some modifications to other files because of this.
9050 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9052 * lyxserver.C (C_LyXComm_callback): make it static
9054 * lyx_main.C (error_handler): make it static
9056 * lyx_gui.C (LyX_XErrHandler): make it static
9058 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9060 * WorkArea.C: make the extern "C" methods static.
9062 * Makefile.am (lyx_LDADD): simplify
9064 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9066 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9067 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9069 * LyXAction.C (init):
9070 * lyxfunc.C (dispatch): associated code removal.
9072 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9074 * lyxfont.h (isSymbolFont): shut off warning
9076 * text.C (setHeightOfRow):
9077 (getVisibleRow): fix crash with empty paragraphs which have a
9080 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9082 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9085 2001-09-04 José Matos <jamatos@fep.up.pt>
9088 * tabular.C (docbook): rename docBook method to docbook.
9090 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9092 * Makefile.am: add dependencies to main.o.
9094 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9096 * FontLoader.C (available): Return false if !lyxrc.use_gui
9098 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9100 * FontInfo.C (query):
9101 * converter.C (view):
9102 * importer.C (Import):
9103 * exporter.C (Export): Can not -> cannot.
9105 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9107 * BufferView_pimpl.C: allow to create index inset even if
9110 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9112 * buffer.C (getLists): replace boost::tie code with an explicit pair
9113 as boost::tie can break some compilers.
9115 * iterators.h: Added a std:: declaration to the return type of
9118 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9120 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9123 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9125 * iterators.[Ch]: New files. Provide paragraph iterators.
9127 * buffer.C (changeLanguage): Use paragraph iterators.
9128 (isMultiLingual): ditto
9130 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9132 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9134 * FontLoader.C: Support for cmr font.
9136 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9138 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9139 (available): New method.
9141 * FontInfo.C (getFontname): Use scalable fonts even when
9142 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9145 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9147 * converter.C (Formats::view): reverted! Incorrect fix.
9149 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9151 * converter.C (Formats::view): only output the -paper option
9152 if the dvi viewer is xdvi, thereby fixing bug #233429.
9154 2001-08-23 Herbert Voss <voss@perce>
9156 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9158 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9160 * Spacing.h (Spacing): Set space to Default on in the default
9163 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * vc-backend.h (RCS::versionString): add RCS to version
9166 (CVS::versionString): add CVS to version
9168 * vc-backend.C (scanMaster): do not add CVS to version.
9169 (scanMaster): do not add RCS to version
9171 * lyxvc.C (versionString): new method
9173 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9175 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9177 * Spacing.C (set): initialize fval
9179 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9181 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9184 2001-08-16 Juergen Vigna <jug@sad.it>
9186 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9188 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9190 * BufferView_pimpl.C:
9193 * text2.C: setParagraph takes linespacing now
9195 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9197 * LyxAction.C: add internal LFUN_CITATION_INSERT
9199 * LyXView.C: actually apply fix
9201 * bufferlist.C: fix open non-existent file
9203 * lyxfind.C: fix indentation
9205 * lyxfunc.C: remove unneeded assert, fix typo
9207 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9209 * MenuBackend.C: use "Floatname List"
9211 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9213 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9214 when converting LaTeX layout to insetERT.
9215 Generate a non-collapsed float when reading old float
9217 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9219 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9222 2001-08-13 Juergen Vigna <jug@sad.it>
9224 * text.C (fill): return 0 instead of 20 as this seems to be the more
9227 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9229 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9232 2001-08-13 Juergen Vigna <jug@sad.it>
9234 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9236 (SearchBackward): comment out the unlocking of the inset_owner this
9237 should not be needed!
9239 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9241 * Many files: Remove inherit_language, and add latex_language
9243 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9246 2001-08-10 Juergen Vigna <jug@sad.it>
9248 * text.C (prepareToPrint): fixed hfill-width in draw!
9250 * BufferView2.C (selectLastWord): save the selection cursor as this
9251 now is cleared in the function LyXText::clearSelection!
9253 2001-08-08 Juergen Vigna <jug@sad.it>
9255 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9256 BACKSPACE type functions.
9258 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9259 is only cutted from the document but not put in the cut-buffer, where
9260 still the old stuff should be.
9262 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9264 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9266 * tabular.C (SetWidthOfCell): fixed special case where the width
9268 (LeftLine): handle '|' in align_special.
9270 (LeftAlreadyDrawed): ditto
9271 (SetWidthOfCell): ditto
9273 2001-08-07 Juergen Vigna <jug@sad.it>
9275 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9277 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9280 * lyxlex.[hC]: ditto
9282 2001-08-06 Juergen Vigna <jug@sad.it>
9284 * text.C (getVisibleRow): fix up row clearing a bit.
9286 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9288 * minibuffer.C: make sure the X server sees the changes in the input.
9290 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9292 * paragraph.C (getFont): split into...
9293 (getLabelFont): this
9294 (getLayoutFont): and this
9295 * paragraph_pimpl.C (realizeFont): calling this
9297 * text2.C (getFont): split into...
9298 (getLayoutFont): this
9299 (getLabelFont): and this
9300 (realizeFont): all three calling this
9302 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9305 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9307 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9309 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9311 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9312 layouts from the Quote inset insertion.
9314 2001-08-03 Juergen Vigna <jug@sad.it>
9316 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9318 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9319 only if status not is already CHANGED_IN_DRAW (second level).
9321 * text.C (draw): don't set the need_break_row when inside an
9324 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9326 * buffer.C (parseSingleLyXformat2Token): handle more latex
9329 * bufferview_funcs.[hC]: change function names to
9330 begin with small char, adjust other files.
9332 2001-08-02 André Pönitz <poenitz@gmx.net>
9335 BufferView_pimpl.C: remove broken special code for math-greek
9337 2001-08-02 Juergen Vigna <jug@sad.it>
9339 * BufferView_pimpl.C (update): redone this function so that we
9340 update the text again if there was a CHANGE_IN_DRAW.
9342 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9343 (drawFromTo): added a new internal bool which is used by draw() and
9345 (general): some cursor drawing problems fixed.
9347 2001-08-01 Juergen Vigna <jug@sad.it>
9349 * lyxfind.C (LyXFind): fixed
9350 (SearchForward): ditto
9351 (SearchBackward): ditto
9353 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9354 spurius drawing of the cursor in the main area.
9356 * text2.C (status): small fix which could lead to a segfault!
9357 (clearSelection): remove unneeded BufferView param.
9359 2001-08-01 André Pönitz <poenitz@gmx.net>
9361 * lyxfunc.C: small change due to changed mathed interface
9363 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9365 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9367 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9369 * lyxfunc.c: fail gracefully if file doesn't exist
9374 * BufferView_pimpl.C: IsDirWriteable() proto changed
9376 * LyXView.C: fix updateWindowTitle() to store the last title
9378 2001-07-31 Juergen Vigna <jug@sad.it>
9380 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9381 the font (wrong since using of Paragraph::highestFontInRange).
9383 * paragraph.C (highestFontInRange): added a default_size parameter.
9385 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9386 (setHeightOfRow): reformat
9388 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9390 * converter.[hC] + affected files: move to (inital-char)lowercase
9393 * ParagraphParameters.C (ParagraphParameters): remove commented code
9395 * PainterBase.[Ch]: remove commented code
9397 * LaTeXFeatures.h: add "bool floats" for float.sty
9399 * LaTeXFeatures.C (LaTeXFeatures): init floats
9400 (require): handle float
9401 (getPackages): do it with floats
9403 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9405 * BufferView_pimpl.C (Dispatch): improve handling of
9406 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9408 * commandtags.h: #include lyxfont.h here temporarily to avoid
9411 * bufferlist.h: include LString.h here.
9413 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9415 * text2.C (getStringToIndex): new method.
9417 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9419 * *: Reduced header file dependencies all over.
9421 2001-07-30 Baruch Even <baruch@lyx.org>
9423 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9425 2001-07-29 Baruch Even <baruch@lyx.org>
9427 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9429 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9431 * ParameterStruct.h (endif): add a default constructor to make
9432 sure that all variables is initialized.
9434 * ParagraphParameters.C (ParagraphParameters): adjust
9436 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9438 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9439 index; also, check that there is something to index, and that it
9440 does not span over several paragraphs.
9441 (doubleClick): use WHOLE_WORD_STRICT for double click.
9443 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9445 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9448 2001-07-26 Baruch Even <baruch@lyx.org>
9450 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9451 an InsetFig figure, backwards compatible reading of old figure code.
9453 2001-07-27 Juergen Vigna <jug@sad.it>
9455 * text2.C: font.realize function adaption.
9457 * text.C (draw): add a warnings lyxerr text if needed.
9459 * layout.C: font.realize function adaption.
9461 * language.C: add inherit_language and implement it's handlings
9463 * bufferview_funcs.C (StyleReset): remove language parameter from
9464 font creation (should be language_inherit now).
9466 * bufferparams.C (writeFile): handle ignore_language.
9468 * paragraph.C (getFontSettings): the language has to be resolved
9469 otherwise we have problems in LyXFont!
9471 * lyxfont.C (lyxWriteChanges): added document_language parameter
9472 (update): removed unneeded language parameter
9474 * paragraph.C (validate): fixed wrong output of color-package when
9475 using interface colors for certain fonts in certain environments,
9476 which should not seen as that on the final output.
9478 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9480 * BufferView_pimpl.C:
9485 * LyXAction.C: add thesaurus support
9488 * lyxfind.C: add "once" parameter, for thesaurus, to not
9489 move to the next match
9491 2001-07-26 Juergen Vigna <jug@sad.it>
9493 * lyxfont.C (realize): honor ignore_language too!
9496 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9498 * text.C (draw): one place more for ignore_language to not draw
9501 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9503 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9505 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9507 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9508 the minipage conversion problem.
9510 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9512 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9515 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9517 * BufferView.h: don't forward declare WorkArea
9519 * BufferView.C: don't include WorkArea.h
9521 2001-07-25 André Pönitz <poenitz@gmx.net>
9525 * lyxfunc.C: new LFUN 'math-space'
9527 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9529 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * text2.C (toggleInset): call open/close
9533 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9535 * lyxfunc.C (dispatch): add debug for the disabled case
9537 * font.C (buttonText): make similar to rectText
9539 * buffer.C (readInset): comment out parsing of insetlist and
9542 * PainterBase.C (rectText): small correction
9544 * BufferView_pimpl.C: comment out insettheorem and insetlist
9545 * LyXAction.C: ditto
9546 * commandtags.h: ditto
9548 2001-07-24 Juergen Vigna <jug@sad.it>
9550 * text.C (draw): honor the ignore_language.
9552 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9554 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9556 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9559 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9561 * lyxtext.h: remove unused (and unimplemented) methods
9563 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9565 * text.C (getVisibleRow): honor background color
9568 * Painter.h: remove default color argument for fillRectangle
9570 * text.C (backgroundColor): new method
9572 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * text.C (getVisibleRow): adjust
9576 * font.[Ch] (rectText): new method, metrics
9577 (buttonText): new method, metrics
9579 * PainterBase.[hC]: make rectText and buttonText always draw and take
9582 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9584 * ToolbarDefaults.C (read):
9585 * MenuBackend.C (read): allow escaping in all strings
9587 * BufferView_pimpl.C (insertAndEditInset): new method.
9588 (Dispatch): use insertAndEditInset whenever appropriate.
9590 * BufferView_pimpl.C (insertNote): removed
9592 * BufferView_pimpl.C (smartQuote): new method, moved from
9593 BufferView; if an insetquote cannot be inserted, insert a '"'
9596 * BufferView2.C: remove insertCorrectQuote();
9598 * lyxfunc.C (getStatus): Add support for all remaingin
9601 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9603 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9604 command (necessary to pass " as parameter of self-insert.
9606 * text.C (selectWordWhenUnderCursor):
9607 (selectWord): add word_location parameter
9608 (selectWordWhenUnderCursor): same + remove special code for word
9610 (selectNextWord): use kind() to guess type of insetspecialchar,
9613 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9614 (insertErtContents): create ert insets as collapsed.
9615 (readInset): better compatibility code for Info inset.
9617 2001-07-20 Juergen Vigna <jug@sad.it>
9619 * lyxfunc.C (dispatch): use always LyXFind now!
9621 * text2.C (init): add a reinit flag so that the LyXText can be
9622 reinited instead of deleted and reallocated (used in InsetText).
9624 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9630 2001-07-18 Juergen Vigna <jug@sad.it>
9632 * text.C (selectNextWord): handle insets inside inset by calling
9633 always the bv->text functions so that we can go up the_locking_inset!
9635 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9636 in strange locations when inside an inset!
9638 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9639 handling to include insets.
9641 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9643 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9645 * LyXAction.C (init):
9647 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9648 LIGATURE_BREAK, since the name is so stupid.
9650 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9652 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9655 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9657 * sp_form.[Ch]: remove.
9659 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9661 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9664 * src/buffer.C (readInset): ditto.
9666 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9668 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9669 menuSeparator(), endOfSentenceDot(), ldots() and
9670 hyphenationPoint(), which are therefore removed.
9671 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9673 * LyXAction.C (init):
9674 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9676 * paragraph.C (getWord): removed.
9678 * BufferView_pimpl.C (Dispatch): use last word or selection for
9679 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9681 * lyx_main.C (queryUserLyXDir): do not ask before creating
9682 user_dir, except if it has been named explicitely.
9684 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9686 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9687 a document of zero size.
9689 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9691 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9692 approriately in the c-tor and in require().
9693 (getPackages): output the appropriate LaTeX for natbib support.
9695 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9696 variables "use_natbib" and "use_numerical_citations" when reading the
9698 (readInset): read the various natbib cite commands.
9699 (validate): white-space change.
9701 * bufferparams.[Ch]: new variables "bool use_natbib" and
9702 "bool use_numerical_citations".
9703 (writeFile): output them in the LyX file.
9705 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9707 * lyxfunc.C (getStatus): add support for all the inset insertion
9710 * text2.C (insertInset):
9711 * paragraph.C (insetAllowed):
9712 * BufferView_pimpl.C (insertInset): update to take in account the
9713 renaming of insertInsetAllowed
9715 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9717 * text2.C (getInset): new method. returns inset at cursor position.
9719 * BufferView_pimpl.C (Dispatch): changes because of this.
9721 * LyXAction.C (init): rename open-stuff to inset-toggle.
9723 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9725 * text2.C (toggleInset): renamed from openStuff; use
9728 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9730 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9732 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9734 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9736 * buffer.C (readLyXformat2): Add filename to the error dialog
9738 2001-07-18 Juergen Vigna <jug@sad.it>
9740 * tabular.C (GetCellNumber): put an assert here instead of the check!
9742 2001-07-17 Juergen Vigna <jug@sad.it>
9744 * BufferView_pimpl.C (toggleSelection): adapted too.
9746 * text.C (selectNextWord): adapted for use with insets.
9747 (selectSelectedWord): ditto
9749 2001-07-17 Juergen Vigna <jug@sad.it>
9751 * sp_spell.C (PSpell): fix initialitation order.
9753 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * paragraph.C: spacing
9757 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9759 * sp_spell.C: repair language selection for pspell
9761 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * lyxfunc.h: change more methods to begin with lower char.
9765 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9767 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9768 for unknown layouts.
9770 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9772 * buffer.C (readLyXformat2): Generate an error dialog if there are
9775 2001-07-16 Juergen Vigna <jug@sad.it>
9777 * sp_spell.C: always compile ISpell part.
9779 * lyxrc.C: added use_pspell entry and it's handling.
9781 2001-07-13 Juergen Vigna <jug@sad.it>
9783 * sp_spell.C: removed double includes.
9785 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9787 Consistent use of Lsstream.h:
9788 * Lsstream.h: added using std::stringstream for consistencies sake.
9790 * buffer.C: removed using std::stringstream
9792 * lyxfont.C (stateText):
9793 * paragraph.C (asString):
9794 * text.C (selectNextWord, selectSelectedWord):
9795 * text2.C (setCounter):
9796 * vspace.C (asString, asLatexString):
9797 std::ostringstream -> ostringstream.
9799 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9801 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9802 * commandtags.h: add LFUN_HELP_ABOUTLYX
9803 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9805 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9807 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9809 * lyx_gui_misc.C: remove spellchecker
9810 * lyxfunc.C: showSpellchecker
9812 * sp_ispell.h: added
9813 * sp_pspell.h: added
9815 * sp_form.[Ch]: removed
9816 * spellchecker.[Ch]: removed
9818 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9820 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9822 (simpleTeXSpecialChars): Simply print the input character without
9823 any special translation if pass_thru is set.
9825 * layout.h: Added bool pass_thru to layout class for being able to
9826 implement pass through of a paragraph for Literate Programming.
9828 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9829 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9830 * layout.C (Read): add "passthru" to list of layout tags and add
9831 code to set the pass_thru boolean when it is read.
9833 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * trans_decl.h: remove allowed from KmodInfo
9837 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9841 * paragraph_pimpl.C (erase): use boost::prior
9843 * Painter.C (text): use data() instead of c_str() when length is
9845 * WorkArea.C (putClipboard): ditto
9846 * font.h (width): ditto
9848 * BufferView2.C: use it-> instead of (*it). for iterators
9850 * paragraph_pimpl.C: ditto
9851 * paragraph.C: ditto
9852 * minibuffer.C: ditto
9857 * converter.C: ditto
9859 * Variables.C: ditto
9860 * TextCache.C: ditto
9861 * MenuBackend.C: ditto
9862 * LyXAction.C: ditto
9864 * FloatList.C: ditto
9866 * ColorHandler.C (LyXColorHandler): ditto
9868 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9870 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9872 * text2.C (openStuff): reintroduce this method (which had been
9873 nuked in NEW_INSETS frenzy).
9875 * lyxfunc.C (Dispatch): when an action has not been handled, use
9876 its name in the error message, not its number.
9878 * paragraph.C (inInset): change method name to begin with lowercase.
9881 * text2.C: updates because of this.
9883 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9885 * ToolbarDefaults.C (add): add spaces in error message
9887 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9890 (readLyXformat2): rename return_par to first_par, use lyxlex's
9891 pushToken and remove the manual push handling.
9892 (parseSingleLyXformat2Token): add another ert comp. variable:
9893 in_tabular, rename return_par to first_par. handle newlines better
9895 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9897 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9899 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * text2.C (getParFromID): removed
9903 * buffer.C (getParFromID): new method moved form lyxtext.
9904 * BufferView2.C (insertErrors): adjust
9905 (setCursorFromRow): adjust
9906 * BufferView_pimpl.C (restorePosition): adjust
9907 * lyxfunc.C (Dispatch): adjust
9908 * undo_funcs.C (textUndo): adjust
9910 (textHandleUndo): adjust
9911 (textHandleUndo): adjust
9913 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * buffer.C: up' the LYX_FORMAT
9917 * lyxfont.h: turn NO_LATEX on as default
9919 * buffer.C (insertErtContents): new methods of tex style compability.
9920 (parseSingleLyXformat2Token): use it several places.
9921 * tabular.C (OldFormatRead): and here
9923 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * text2.C: remove some commented code.
9928 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9929 * trans.C: changes because of the above.
9931 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9933 * text2.C (setCounter): Fix counters bug with bibliography layout.
9935 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9937 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9938 own member functions
9939 (simpleTeXSpecialChars): ditto
9941 2001-07-06 Juergen Vigna <jug@sad.it>
9943 * a lot of files: changed the access to LyXText::status and the
9944 call of undo-functions.
9946 * undo.[Ch]: added a inset_id to the undo informations.
9948 * undo_funcs.[Ch]: added and moved here all undo functions.
9950 * lyxtext.h: give the status enum a weight, made status_ a private
9951 variable and made accessor functions for it, removed the whole bunch
9952 of undo-functions as they are now in their own file, make some
9953 functions publically available. Added function ownerParagraph with
9956 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9957 made InInset() a const function, added getParFromID() function.
9959 * buffer.[Ch]: added const version for inset_iterator functions,
9960 added getInsetFromID() function.
9962 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9963 changed undo functions for new version.
9965 2001-07-05 Juergen Vigna <jug@sad.it>
9967 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9968 unknow mechanism does not call the proper constructor but only this
9969 one also if I request the other!?
9971 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9973 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9975 * text2.C (LyXText): use initialization lists.
9977 * lyxtext.h (Selection): initialize set_ and mark_
9978 (init): remove method
9980 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9982 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9984 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * screen.[Ch]: change method names to begin with lowercase
9988 * BufferView_pimpl.C (updateScrollbar): simplify further and
9989 hopefully make it a bit faster.
9991 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9993 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9994 calling directly xforms functions.
9996 * Painter.C (Painter):
9997 * lyx_cb.C (MenuWrite):
9998 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10001 * lyx_gui.C: remove bogus guiruntime extern declaration.
10003 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10005 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10007 (redoDrawingOfParagraph): ditto
10008 (redoParagraphs): ditto
10009 (cutSelection): don't create a object for CutAndPaste use the
10010 static method directly
10011 (pasteSelection): ditto
10013 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10016 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * modifications to some other files because of this.
10020 * Makefile.am (lyx_SOURCES): add XFormsView
10022 * XFormsView.[Ch]: new files
10024 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10025 the main window. Move the gui dependent stuff to XFormsView
10027 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10029 * tabular.C (GetCellInset): update cur_cell also in the row/col
10030 version of this function.
10032 * lyxfunc.C: no need to include figure_form.h here.
10038 * lyxvc.C: no need to include forms.h here.
10040 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10042 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10044 * lyxfunc.C (Dispatch):
10046 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10047 constructor argument.
10049 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10051 * paragraph.C (Paragraph): dont't clear, and just set layout.
10052 (makeSameLayout): use params's copy contructor.
10054 * ParagraphParameters.[Ch] (makeSame): delete method
10056 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10058 * Variables.[Ch]: fix indentation, rename set to isSet
10060 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10062 * lyxfunc.C (Dispatch): fix typo
10064 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10066 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10069 * bufferlist.C: include assert.h for emergencyWrite().
10071 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10073 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10074 give up at last (bug #425202) !
10076 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10082 * spellchecker.C: strip spellchecker options and bring up
10083 preferences tab instead
10085 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10087 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10088 the istringstream constructor
10090 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10092 * paragraph.C (getLayout): fix return value
10094 * paragraph.h: do not declare getLayout as inline.
10096 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10098 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * lyxcursor.h (operator<): new func
10101 (operator>): new func
10102 (operator>=): new func
10103 (operator<=): new func
10105 * text.C (changeCase): use selection.start and selection.end
10106 (changeRegionCase): require from to be <= to. Require par to be a
10109 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10111 2001-06-27 Juergen Vigna <jug@sad.it>
10113 * text.C (cursorLeftOneWord): changed to return the cursor and added
10114 overlay with BufferView * parameter which calls this one.
10116 (selectWord): use new getWord function.
10117 (changeCase): renamed from changeWordCase as and extended to work
10118 also on selections.
10120 * lyxtext.h: added enum word_location
10122 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10123 changeCase as this operates now also on selections.
10125 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10127 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10129 * many files: send debug output to Debug::INFO instead of
10132 * converter.C (View):
10134 (Move): send debug output to Debug::FILES instead of console.
10136 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10138 * lyxfunc.C (getStatus): use func_status
10140 * func_status.h: new header, describing the results of
10141 LyXFunc::getStatus;
10143 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10146 2001-06-25 The LyX Project <jug@sad.it>
10148 * buffer.C (sgmlOpenTag):
10150 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10152 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10154 * text2.C: remove some dead code
10156 * tabular.C (GetCellInset): store the last cell checked (gotten)
10158 * tabular.h: add the helper for the speedup
10160 * lyxtext.h: remove some dead code
10162 2001-06-26 The LyX Project <Asger>
10164 * paragraph.C: Change export to LaTeX of alignment to
10165 \begin{center} and family for better roundtrip work with reLyX.
10167 * Tune the math drawing a bit.
10169 2001-06-25 The LyX Project <Asger>
10171 * LColor.C (LColor): New color for math background. New color
10174 2001-06-25 The LyX Project <jug@sad.it>
10176 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10178 * lyxfunc.C (Open):
10179 * bufferlist.C (newFile): do not restrict to files ending with
10182 * BufferView_pimpl.C (MenuInsertLyXFile):
10184 2001-06-24 The LyX Project <jug@sad.it>
10186 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10189 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10191 * lyxtext.h: rename most methods to begin with a small char.
10192 Lots of changes because of this.
10194 * paragraph.C (Paragraph): do not call fitToSize
10195 (erase): call Pimpl::erase
10196 (insertChar): call Pimpl::insertChar
10197 (insertInset): call Pipl::insertInset
10198 (breakParagraph): do not call fitToSize
10199 (breakParagraphConservative): do not call fitToSize
10200 (fitToSize): remove method
10202 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10204 2001-06-24 The LyX Project <Asger>
10206 * Fix Qt compilation^2
10208 2001-06-24 The LyX Project <jug@sad.it>
10210 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10211 depthHook(getDepth()-1).
10214 * ParagraphParameters.h:
10215 * ParameterStruct.h: change type of depth to unsigned int ==
10216 depth_type. Many adaptations to other files before of that.
10218 2001-06-24 The LyX Project <Asger>
10220 * Fix Qt compilation.
10222 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * paragraph.h: renamed several methods to begin with small letter.
10225 several changes to many parts of the code because of this.
10227 2001-06-23 The LyX Project <jug@sad.it>
10229 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10230 rewritten to discard all double spaces when KeepEmpty is off
10231 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10232 to only handle newlines but not fiddle with spaces and friends.
10234 * lyxfunc.C (MenuNew): when doing 'new from template', use
10235 template_path as default directory
10237 2001-06-23 The LyX Project <Asger>
10239 * Clean-up of header file includes all over
10240 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10242 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10244 * paragraph.h: renamed from lyxparagraph.h
10246 2001-06-23 Asger <lyx@violet.home.sad.it>
10248 * Buffer.h: Removed Buffer::resize
10249 * BufferList.h: Removed BufferList::resize
10250 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10251 the document lazily when we change the width, or the font settings.
10253 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10255 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10257 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10259 * buffer.h: remove out of date comment
10261 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10264 * screen.C: fix "theoretical" GC leak
10266 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10268 * LaTeX.C (scanAuxFile):
10269 (deplog): remove trailing \r when reading stream (useful under
10272 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10274 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10275 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10276 and BufferView::theLockingInset(Inset*), so should use them and not
10277 access bv_->text->the_locking_inset directly.
10279 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10281 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10284 * tex-defs.h: remove old unused file
10286 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10288 * BufferView_pimpl.C: fix typo, remove minibuffer message
10289 when buffer has loaded
10291 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * lyxfunc.C (Dispatch): use stringstream
10294 (MenuNew): use stringstream
10295 (Open): use stringstream
10297 * importer.C (Import): use stringstream
10299 * bufferview_funcs.C (CurrentState): use stringstream
10301 * LaTeX.C (run): use stringstream
10303 * BufferView_pimpl.C (savePosition): use stringstream
10304 (restorePosition): use stringstream
10305 (MenuInsertLyXFile): use stringstream
10307 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10320 * vspace.C: removed // -*- C++ -*- as first line.
10323 * version.h: added // -*- C++ -*- as first line.
10325 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10327 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10329 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10332 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10334 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10337 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10339 * gettext.C: include LString.h even when --disable-nls is on.
10341 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10343 * converter.h (Get): changed argument type from int to
10344 FormatList::size_type to avoid unnecessary conversion.
10346 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10349 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10351 * gettext.h: include LString.h even when --disable-nls is on.
10353 2001-06-07 Juergen Vigna <jug@sad.it>
10355 * text.C (BreakAgain): subst spaces with tabs.
10357 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10358 (resizeInsetsLyXText): set force on resizeLyXText.
10360 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10362 * gettext.h (gettext_init):
10363 (locale_init): use a real definition instead of a macro
10365 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10367 * Bufferview_pimpl.C:
10369 * LColor.C: further lcolor tidies
10371 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10373 * BufferView_pimpl.C (updateScrollbar): simplify.
10375 * BufferView2.C: don't include insets/insetinfo.h, change
10376 prototype for insertInset and call the Pimpl version. let
10377 updateInset call Pimpl version.
10379 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10380 gotoInset to BufferView::Pimpl
10382 2001-06-01 Juergen Vigna <jug@sad.it>
10384 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10385 inside a LockingInset (is the update needed at all?).
10387 2001-05-31 Juergen Vigna <jug@sad.it>
10389 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10390 here not the old one otherwise how should we compare it afterwards
10393 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10398 * FontInfo.C: bring C functions into global namespace when
10401 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10403 * LString.h: make sure config.h has been loaded before LString.h.
10405 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10406 (one for each char read by EatLine!).
10408 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10411 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10413 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10414 to the same as the par we break from
10416 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10420 * MenuBackend.C (expand): also create menu entries for wide
10421 versions of the floats.
10423 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10425 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10427 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10428 frontends/Makefile.am
10434 * tabular.C (getTokenValue): add std::
10436 * tabular-old.C (getTokenValue): add std::
10437 (getTokenValue): ditto
10438 (getTokenValue): ditto
10440 * screen.C (ToggleSelection): adjust
10442 * lyxtext.h: put selection cursors inside a Selection struct.
10444 * lyxfunc.C (moveCursorUpdate): adjust
10446 * lyxfont.C (latexWriteStartChanges): add std::
10448 * lyxfind.C: adjust
10450 * font.h: delete with(char const *, LyXFont const &)
10452 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10454 * FontInfo.C (getFontname): add std::
10456 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10457 (workAreaButtonPress): adjust
10458 (tripleClick): adjust
10460 (moveCursorUpdate): adjust
10463 * BufferView2.C (gotoInset): adjust
10465 2001-05-30 Juergen Vigna <jug@sad.it>
10467 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10468 to check pspell I add this as default as I now have new pspell
10469 libraries and they seem to use this.
10471 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * text2.C (CutSelection): make the cursor valid before the call to
10476 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10478 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10479 relied on 0 terminated strings and other horrors. Bug found due to
10480 the new assert in lyxstring!
10482 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10485 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10490 * lyxfunc.C (processKeySym): change method of getting to the
10493 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10494 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10495 * BufferView_pimpl.[Ch]: here as private methods.
10497 2001-05-28 Juergen Vigna <jug@sad.it>
10499 * text.C (SetHeightOfRow): added the update() call again as it is
10500 needed to initialize inset dimensions!
10502 2001-05-16 Juergen Vigna <jug@sad.it>
10504 * text2.C (SetCharFont): Add new function with BufferView * and
10505 bool toggleall parameters for setting insets internal fonts.
10506 (SetFont): Freeze the undo as we may change fonts in Insets and
10507 all this change should be inside only one Undo!
10509 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10510 setting font's in insets as for them we have the SetFont function!
10512 2001-05-15 Juergen Vigna <jug@sad.it>
10514 * text2.C (ClearSelection): to be sure we REALLY don't have any
10517 * tabular.C (TeXCellPreamble): fixed the left border problem for
10520 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10522 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10525 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10528 LFUN_BREAKPARAGRAPH.
10530 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10531 help test to "internal only", similar for LFUN_INSERT_URL
10533 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10534 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10535 auto_region_delete and deadkeys.
10537 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10540 * LColor.C: remove some dead entries, tidy a little
10542 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10544 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10546 (Dispatch): implement LFUN_ESCAPE
10548 * commandtags.h: add LFUN_ESCAPE
10550 * LyXAction.C (init): add entry for LFUN_ESCAPE
10552 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10553 Remove commented code.
10554 (insertNote): moved here
10555 (open_new_inset): moved here
10557 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10560 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10562 * kbmap.C (findbinding): clean it up and make it work correctly.
10564 * lyx_main.C (init): do not pass argc and argv as parameters
10566 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10568 * buffer.C: fix path for OS/2 & Win32
10572 * lyx_main.C: Added os:: class.
10574 * os2_defines.h: update
10576 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10579 better by trying again with reduced state.
10581 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10583 * lyxrc.C (read): print error about invalid key sequence only when
10584 debugging (because not all latinX keysyms are known to some X
10587 * kbsequence.C (getiso): add a few std:: qualifiers
10588 (getiso): comment out extra return statement.
10590 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10592 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10594 (Dispatch): enhance the accent inset a bit. (not perfect)
10596 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10598 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10600 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10602 * bufferlist.C (emergencyWrite): fix assert() call
10604 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10606 * text.C (InsertChar): Added trivial patch to only send the "you
10607 can not do multiple spaces this way" message once during a
10610 2001-05-08 Baruch Even <baruch@lyx.org>
10612 * Makefile.am: Changed order of libraries to get LyX to link properly
10613 with the gnome frontend.
10615 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10617 * LaTeXFeatures.h: add a std:: qualifier
10619 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * paragraph.C (String): use stringstream
10623 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10625 * paragraph.C (writeFile): remove footflag arg
10627 * buffer.C (makeLaTeXFile): use stringstream
10628 (latexParagraphs): remove footnot gurba
10630 * LaTeXFeatures.C (getPackages): use stringstream
10631 (getMacros): likewise
10632 (getTClassPreamble): likewise
10633 (getFloatDefinitions): new method
10635 * paragraph.C (writeFile): reindent
10638 * WorkArea.h: revert the xpos + etc changes.
10640 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10642 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10644 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10645 (pasteSelection): likewise
10646 * text2.C (CreateUndo): likewise
10648 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10650 * minibuffer.C (peek_event): temporarily reduce the functionality
10651 of the minibuffer (to allow args on lfuns)
10653 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10654 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10656 * buffer.C (readInset): add compability reading of old float
10657 lists, add reading of new style float list.
10658 (readInset): avoid reevaluation of inscmd.getCmdName()
10659 (getLists): reindent
10661 * MenuBackend.C (MenuItem): implement parsing of
10662 md_floatlistinsert and md_floatinsert.
10663 (expand::LastFiles): move initalizaton of iterators out of loop,
10664 avoid reevaluation.
10665 (expand::Documents): introduce typdedef vector<string> Strings,
10667 (expand::ExportFormats): introduce typedef vector<Format const *>
10668 Formats, and use it.
10669 (expand): implement FloatListInsert and FloatInsert.
10671 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10672 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10673 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10675 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10677 (Dispatch::LFUN_FLOAT_LIST): implement
10679 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10681 * LaTeX.C (run): Fix problem with --export code.
10683 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10685 * BufferView.[Ch] (workarea): removed.
10686 (getClipboard) new method; wrapper for workarea()->getClipboard()
10688 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10691 * WorkArea.h (width, height, xpos, ypos): These methods all
10692 returned the dimensions of the work_area sub-area of WorkArea,
10693 resulting in a position error if the WorkArea were resized. Now
10694 return the dimensions of the entire WorkArea.
10696 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10698 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * LaTeX.C (deplog): correct the syntax of regex reg1
10702 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10704 * undo.C: remove !NEW_INSETS cruft
10706 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10708 * text2.C: remove !NEW_INSETS cruft
10710 * text.C: remove !NEW_INSETS cruft
10712 * tabular.C: remove !NEW_INSETS cruft
10714 * spellchecker.C: remove !NEW_INSETS cruft
10716 * lyxtext.h: remove !NEW_INSETS cruft
10718 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10720 * lyxfunc.C: remove !NEW_INSETS cruft
10722 * lyxfind.C: remove !NEW_INSETS cruft
10724 * lyx_cb.C: remove !NEW_INSETS cruft
10726 * figureForm.C: remove !NEW_INSETS cruft
10728 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10730 * buffer.[Ch]: remove !NEW_INSETS cruft
10732 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10734 * CutAndPaste.C: remove !NEW_INSETS cruft
10736 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10738 * BufferView2.C: remove !NEW_INSETS cruft
10740 * BufferView.h: remove !NEW_INSETS cruft
10742 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10744 * Lsstream.h: include LString.h before the sstream headers to
10745 fix problem with gcc 2.95.3 and lyxstring
10747 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10749 * lyx_main.C: add using directives when needed for C functions
10750 declared in std:: namespace.
10752 2001-04-27 Juergen Vigna <jug@sad.it>
10754 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10755 (SetHeightOfRow): comment out the update call should not be needed!
10757 2001-04-13 Juergen Vigna <jug@sad.it>
10759 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10760 (LyXTabular): tried to minimize operator= operations (and realized
10761 hopfully Lars wish).
10763 2001-04-27 Juergen Vigna <jug@sad.it>
10765 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10767 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10771 * buffer.C (readInset): hack to make listof algorithm work
10773 * BufferView_pimpl.C: hack to make listof algorithm work
10775 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10777 * LyXAction.C: removed all !NEW_INSETS cruft
10778 (init): moved lfun_item in method
10780 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10782 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10784 * BufferView2.C (theLockingInset): white space.
10786 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10788 * minibuffer.C: include <iostream>
10790 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10792 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10794 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10796 * text.[Ch] (TransposeChars): new method
10798 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10800 * call message directly through LyXView instead of through LyXFunc
10801 * BufferView2.C: adjust
10802 * BufferView_pimpl.C: adjust
10803 * FontLoader.C: adjust
10805 * bufferview_funcs.C: adjust
10806 * converter.C: adjust
10807 * figureForm.C: adjust
10808 * importer.C: adjust
10810 * lyx_gui_misc.C: adjust
10811 * lyxfunc.C: adjust
10814 + more files in subdirs
10816 * lyxparagraph.h (size): move up int file
10819 * adjust all uses of Assert to lyx::Assert.
10821 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10822 lyxfunctional in namespace lyx
10823 * layout.C (hasLayout): ditto
10826 (delete_layout): ditto
10827 (NumberOfClass): ditto
10828 * converter.C (GetFormat): ditto
10833 * bufferlist.C (getFileNames): ditto
10834 (emergencyWriteAll): ditto
10837 * MenuBackend.C (hasSubmenu): ditto
10840 * BufferView_pimpl.C (getInsetByCode): ditto
10842 2001-04-18 Juergen Vigna <jug@sad.it>
10844 * vspace.C (asLatexString): fixed the 100% problem.
10846 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10848 * lyxfunc.C (Dispatch):
10850 * minibuffer.h: add a few std:: qualifiers
10852 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10854 * minibuffer.[Ch]: reimplement so that commands is initiated and
10855 run from lyxfunc, simplified som handling, and made the completion
10856 and history code for complete. wip.
10858 * lyxfunc.C (processKeySym): call message
10859 (miniDispatch): new temporary method
10860 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10861 (LFUN_MESSAGE): implement
10862 (LFUN_MESSAGE_PUSH): implement
10863 (LFUN_MESSAGE_POP): implement
10864 (initMiniBuffer): the initial/defualt minibuffer message.
10866 * lyxfont.[Ch]: inline some more getters
10868 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10870 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10872 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10873 (AutoSave): use LFUN_MESSAGE
10874 (Reconfigure): ditto
10876 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10878 * figureForm.C: use LFUN_MESSAGE
10880 * converter.C (runLaTeX): use LFUN_MESSAGE
10882 * bufferview_funcs.C: use LFUN_MESSAGE
10884 (changeDepth): ditto
10886 * bufferparams.h: use boost::
10888 * bufferlist.h: inherit privately from noncopyable
10890 * bufferlist.C (loadLyXFile): remove some commented code.
10892 * buffer.C (runChktex): use LFUN_MESSAGE
10894 * ShareContainer.h: inherit privately from noncopyable
10896 * ParagraphParameters.[hC] (depth): inline it.
10898 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10900 (message): new method
10901 (messagePush): ditto
10902 (messagePop): ditto
10903 (show): init minibuffer
10904 (showState): direct call
10906 * LaTeX.[Ch]: inherit privately from noncopyable
10907 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10908 instead of WriteStatus.
10910 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10912 * BufferView_pimpl.C (buffer): don't init minibuffer
10913 (workAreaButtonPress): use LFUN_MESSAGE
10914 (workAreaButtonRelease): ditto
10915 (savePosition): ditto
10916 (restorePosition): ditto
10917 (MenuInsertLyXFile): ditto
10918 (workAreaExpose): don't init minibuffer
10919 (update): remove commented code, simplify
10921 * BufferView2.C (openStuff): use LFUN_MESSAGE
10922 (toggleFloat): ditto
10925 (copyEnvironment): ditto
10926 (pasteEnvironment): ditto
10931 (updateInset): remove some commented code
10933 * lastfiles.h: inherit privately from noncopyable
10936 * lyx_main.h: ditto
10938 * lyxlex_pimpl.h: ditto
10940 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10941 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10942 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10944 * LyXAction.h: inherit privately from noncopyable, add methods
10945 func_begin, func_end, returning iterators to the func map.
10947 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10948 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10949 (func_begin): new method
10950 (func_end): new method
10952 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10954 (copySelection): ditto
10955 (pasteSelection): ditto
10957 * BufferView.C: whitespace change
10958 * BufferView.h: inherit privately from noncopyable
10960 2001-04-16 Allan Rae <rae@lyx.org>
10962 * tabular-old.C (l_getline):
10963 * spellchecker.C (sc_check_word):
10964 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10965 an unrecognised preprocessor directive. So ensure they're wrapped.
10967 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10969 * src/exporter.C (Export): Give an error message when path to file
10972 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10974 * LaTeX.C (deplog): Always check that foundfile exists.
10976 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10979 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10981 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * tabular.[Ch] (getLabelList): implement new method
10985 * minibuffer.h: comment ouf setTiimer
10987 * minibuffer.C (ExecutingCB): constify res
10988 (peek_event): constify s
10989 (Set): constify ntext
10990 (Init): constify nicename
10992 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10994 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10995 (savePosition): use two params to Minibuffer::Set
10996 (restorePosition): ditto
10998 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11000 * lyx_main.C: include language.h
11002 * Makefile.am (lyx_main.o): add language.h
11004 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11010 * CutAndPaste.C: include gettext.h
11012 * lyxfont.h: remove old hack with ON and OFF.
11015 * lyxfont.h: do not include language.h...
11020 * bufferview_funcs.C:
11026 * paragraph.C: ... but do it here instead
11028 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11030 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11032 * tabular.C: small reformat
11034 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11037 (BreakParagraph): ditto
11038 (SetOnlyLayout): ditto
11041 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11044 * lastfiles.C: removed most using decl, add std:: where needed
11046 * buffer.C: ws changes
11048 * MenuBackend.C (class compare_format): put into anon namespace
11049 (expand): constify label, names, action, action2
11052 * text.C (SingleWidth): constify font
11053 (IsBoundary): constify rtl2
11054 (GetVisibleRow): constify ww
11056 * LaTeX.C (deplog): constify logfile
11058 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11060 (workAreaExpose): constify widthChange, heightChange
11062 * lyxrow.C (par): moved
11065 * lyxrow.h: as inlines here
11067 * lyxfont.h (shape): moved from lyxfont.C
11068 (emph): moved from lyxfont.C
11070 * lyxfont.C (LyXFont): use initialization list for all
11072 (shape): move to lyxfont.h as inline
11073 (emph): move to lyxfont.h as inline
11076 2001-04-04 Juergen Vigna <jug@sad.it>
11078 * vspace.C: had to include stdio.h for use of sscanf
11080 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11083 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11084 independent of xforms.
11086 2001-04-02 Juergen Vigna <jug@sad.it>
11088 * spellchecker.C: fixed namespace placing!
11090 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11092 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11093 the LyXParagraph * is 0.
11095 2001-03-29 Juergen Vigna <jug@sad.it>
11097 * vspace.C: added support for %, c%, p%, l%.
11098 (stringFromUnit): added helper function.
11099 (asLatexString): changed to give right results for the %-values.
11101 * buffer.C: convert the widthp in a width%.
11103 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11105 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11108 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11109 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11111 * lyx_cb.[Ch]: see above.
11113 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11117 * lyx.[Ch]: replaced by figure_form.[Ch].
11121 * lyxfunc.C: changed headers associated with above changes.
11123 2001-03-27 Juergen Vigna <jug@sad.it>
11125 * BufferView_pimpl.C: set the temporary cursor right!
11127 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11129 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11131 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11133 * LString.h: removed "using std::getline"!
11135 * BufferView_pimpl.C (Dispatch): changes due to changes in
11136 InsetInclude::Params.
11138 * buffer.C (tag_name): removed redundant break statements as they were
11139 producing lots of warnings with my compiler.
11141 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11143 * LString.h: add "using std::getline" when using the real <string>.
11145 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11147 * buffer.C: removed bitset usage.
11148 PAR_TAG moved to an anonymous name space.
11149 (tag_name): new funtion, also in the anonymous namespace.
11150 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11151 (makeDocBookFile): clean code. Completed transition from string arrays
11153 (SimpleDocBookOnePar): code clean.
11155 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11157 * tabular.C: add some comments.
11159 2001-03-22 Juergen Vigna <jug@sad.it>
11161 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11162 compatibility read a bit and fixed bug with minipage in different
11165 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11167 * buffer.C (pop_tag): removed.
11168 (push_tag): removed.
11169 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11170 array replaced with vector. Added support for CDATA sections.
11171 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11173 (makeDocBookFile): XML conformant declaration of CDATA section,
11174 fixed bug related to <emphasis> in the first paragraph char.
11175 (sgmlOpenTag): exclude empty tags.
11176 (sgmlCloseTag): ditto.
11178 * buffer.h (pop_tag): removed.
11179 (push_tag): removed.
11181 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11183 * language.h (Languages): added size_type and size().
11185 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11187 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11188 response on compability reading of minipages. One probliem is that
11189 the old usage of minipages was «flertydig»
11191 * several files here and in subdirs: don't use static at file
11192 scope use anon namespaces instead.
11194 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11196 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11197 LaTeX output. This is necessary for Literate document
11200 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11202 * buffer.C: insert hfill when needed.
11204 * tabular.C (l_getline): use string::erase, small whitespace change.
11206 * BufferView_pimpl.C: try the anon namespace.
11207 * WorkArea.C: ditto
11209 2001-03-16 Juergen Vigna <jug@sad.it>
11211 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11212 otherwise it won't open options-dialogs.
11214 * buffer.C: honor pextraWidth(p) on converting minipages.
11216 * tabular.C (l_getline): changed the functions to strip trailing \r.
11218 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11220 * BufferView_pimpl.C:
11221 * minibuffer..C: added "using SigC::slot" declaration.
11223 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11225 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11231 * paragraph.C: ditto
11233 * lyxtext.h: NO_PEXTRA
11235 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11237 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11238 * ParameterStruct.h: ditto
11239 * ParagraphParameters.h: ditto
11240 * lyxparagraph.h: ditto
11242 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11244 * buffer.C: add compability for minipage alignment.
11245 (latexParagraphs): remove unwanted pextra check.
11247 * several files: remove CXX_WORKING_NAMESPACES
11249 * buffer.C (pop_tag): tie is in namespace boost
11251 * BufferView.h: noncopyable is in namespace boost
11253 * lyx_main.h: ditto
11256 * lastfiles.h: ditto
11257 * bufferlist.h: ditto
11258 * ShareContainer.h: ditto
11260 * LyXAction.h: ditto
11263 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11265 * Merging changes from BRANCH_MVC back into HEAD.
11267 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11269 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11271 * BufferView_pimpl.C: change from intl.C
11275 * Makefile.am: move combox.*
11281 * intl.C: remove dialog (covered by prefs)
11283 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11285 * lyxfunc.C (Dispatch): removed redundant break statement.
11287 2001-03-14 Juergen Vigna <jug@sad.it>
11289 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11291 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11293 * buffer.C: add hack to fix compability reading of minipages.
11295 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11297 * buffer.C (getLists): Cleanup.
11299 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11301 * lyxfont.C (update): don't honor toggleall on font size.
11303 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11307 * Makefile.am: moved to frontends/xforms/
11311 * BufferView_pimpl.C: changes for moved mathpanel
11313 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11315 * gettext.h: fix gettext_init() in --disable-nls
11317 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11319 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11321 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11324 * lyx.h: strip external form
11326 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11328 * BufferView_pimpl.C: add comment, destroySplash()
11330 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11332 * BufferView_pimpl.C:
11336 * lyxfunc.C: use re-worked insetinclude
11338 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11340 * buffer.C: add using std::stringstream.
11342 * lyx_cb.C: readd using std::ios.
11344 * buffer.C: add using std::map.
11346 * BufferView_pimpl.C: add using std::vector.
11348 * ShareContainer.h: add std:: to swap.
11350 * buffer.h: add some typedefs
11351 * buffer.C (getLists): use them
11352 (getLists): renamed from getTocList.
11353 add a counter for the different float types and use it in the
11355 (getLists): use the same counter for the NEW_INSETS and the "non"
11358 * lyx_cb.h: remove unused items, includes, using etc.
11360 * ShareContainer.h: remove some commented code, add more comments
11361 and "documentation".
11363 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11365 * buffer.C (getTocList): make the list also when NEW_INSETS is
11368 * buffer.h: remove TocType
11370 * buffer.C (getTocList): change to return a map<string,
11371 vector<TocItem> >, implement for dynamic number of list.
11373 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11374 * text2.C (PasteSelection): adjust
11375 * CutAndPaste.C (pasteSelection): adjust
11377 * FloatList.C (FloatList): update from the new_insets branch.
11378 * Floating.[Ch]: ditto
11379 * LaTeXFeatures.C: ditto
11381 * lyxlex_pimpl.C: ditto
11383 * paragraph.C (Last): remove when NEW_INSETS is defined.
11385 * other file: changes because of the above.
11387 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11389 * lyxparagraph.h: rename next to next_, previous to previous_,
11390 make them private for NEW_INSETS. Rename Next() to next(),
11391 Previous() to previous().
11393 * other files: changes because of the above.
11395 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11398 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11401 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11403 * main.C (main): pass lyx_localedir to gettext_init().
11405 * gettext.h: remove locale_init and gettext_init macros
11407 * gettext.C (locale_init): new function
11408 (gettext_init): new function
11410 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11413 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11415 * Moved credits to frontends:
11416 * credits.[Ch]: removed
11417 * credits_form.[Ch]: removed
11418 * lyx_gui_misc.C: remove credits stuff
11421 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11423 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11425 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11426 unneeded destructor.
11428 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11429 a standalone pointer again.
11431 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11433 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11439 * ToolbarDefaults.C:
11448 * BufferView_pimpl.C: use new file dialog in GUII
11451 * lyx_cb.C: remove LayoutsCB to Toolbar
11453 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11455 * ShareContainer.h (get): add std:: qualifier
11457 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11459 * ShareContainer.h: define a proper ShareContainer::value_type
11460 type (and use typename to please compaq cxx)
11462 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11464 * lyxparagraph.h: move serveral local vars to
11465 ParameterStruct/ParagraphParameters., use ShareContainer in
11466 FontTable., make vars in FontTable private and add getter and
11469 * paragraph.C: changes because of the above.
11471 * lyxfont.h: remove copy constructor and copy assignment. (the
11472 default ones is ok), move number inside FontBits. move inlines to
11475 * lyxfont.C: add number to initializaton of statics, move several
11476 inlines here. constify several local vars. some whitespace
11477 cleanup. Dont hide outerscope variables.
11479 * Spacing.h: add two new constructors to match the set methods.
11481 * ShareContainer.h: new file, will perhaps be moved to support
11483 * ParameterStruct.h: new file
11485 * ParagraphParameters.h: new file
11487 * ParagraphParameters.C: new file
11489 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11490 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11492 * BufferView_pimpl.C: ParagraphParameter changes.
11493 * buffer.C: Likewise.
11494 * bufferview_funcs.C: Likewise.
11495 * text.C: Likewise.
11496 * text2.C: Likewise.
11498 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11500 * lyxfind.C (LyXReplace): do not redefine default argument in
11502 (IsStringInText): ditto
11503 (SearchForward): ditto
11504 (SearchBackward): ditto
11506 2001-03-06 Juergen Vigna <jug@sad.it>
11508 * lyxfind.C (IsStringInText): put parentes around expressions.
11510 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11512 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11514 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11516 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11518 * stl_string_fwd.h: add comment
11520 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11523 * tabular.C: remove unused DocBook methods
11529 killed DO_USE_DEFAULT_LANGUAGE
11531 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11533 * lyx_gui.C: do not include language.h.
11535 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11536 arguments in function implementation.
11538 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11540 * BufferView_pimpl.C: add <ctime>
11542 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11544 * BufferView_pimpl.C: add using std::find_if
11546 2001-02-27 José Matos <jamatos@fep.up.pt>
11548 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11551 2001-02-11 José Matos <jamatos@fep.up.pt>
11553 * buffer.C (makeDocBookFile): command styles now have a parameter as
11554 "title" by default.
11556 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11558 * layout_forms.[Ch]: removed
11559 * lyx_cb.[Ch]: out character
11560 * lyx_gui.C: out character
11561 * lyx_gui_misc.C: out character
11562 * bufferview_funcs.C: : out character,
11563 added toggleall as parameter in ToggleAndShow
11565 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11567 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11569 * text2.C (SetCurrentFont): Disable number property at boundary.
11571 2001-02-26 Juergen Vigna <jug@sad.it>
11573 * lyxfunc.C (getStatus): added a string argument override function so
11574 that this is correctly called from LyXFunc::Dispatch if it contains a
11575 do_not_use_argument which is used!
11576 (Dispatch): added check for "custom" export and call appropriate func.
11578 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11580 * lyxrc.C: Add language_command_local, language_use_babel and
11581 language_global_options.
11583 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11585 * buffer.C (makeLaTeXFile): Use language_use_babel and
11586 language_global_options.
11588 2001-02-23 Juergen Vigna <jug@sad.it>
11590 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11591 which works with LyXText and putted it inside BufferView. Here now we
11592 only call for that part the BufferView::Dispatch() function.
11594 * BufferView.C (Dispatch): added.
11596 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11597 functions which needs to use a LyXText over from LyXFunc.
11598 (MenuInsertLyXFile): added
11599 (getInsetByCode): added
11600 (moveCursorUpdate): added
11601 (static TEXT): added
11603 2001-02-22 Juergen Vigna <jug@sad.it>
11605 * BufferView_pimpl.C (update): call a status update to see if LyXText
11608 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11610 * vc-backend.C (revert): implement for CVS
11611 (getLog): implement for CVS
11613 2001-02-20 Juergen Vigna <jug@sad.it>
11615 * text2.C (ClearSelection): added BufferView param for inset_owner call
11617 * lyxfunc.C (TEXT): added this function and use it instead of
11618 directly owner->view()-text of getLyXText().
11620 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11622 * src/layout_forms.C: out preamble
11623 * src/layout_forms.h: out preamble
11624 * src/lyx_cb.C: out preamble
11625 * src/lyx_cb.h: out preamble
11626 * src/lyx_gui.C: out preamble
11627 * src/lyx_gui_misc.C: out preamble
11628 * src/lyxfunc.C: connect with guii preamble
11630 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11632 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11634 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11636 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11637 whether to run bibtex.
11639 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11641 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11643 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11645 * Makefile.am (lyx_SOURCES): removed bibforms.h
11647 * vspace.h: doxygen
11649 * text.C (GetVisibleRow): make several local vars const
11651 * tabular.C: small cleanup.
11653 * lyxserver.C (callback): use compare instead of strncmp
11655 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11656 inlines to after class or to paragraph.C
11658 * lyxfont.h: remove friend operator!=
11660 * converter.h: move friend bool operator< to non friend and after
11663 * combox.h: small cleanup
11665 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11666 to inlines after class def.
11668 * buffer.C (pop_tag): use string operations instead of strcmp
11670 * bmtable.c: doxygen, small cleanup
11672 * LaTeX.h: remove friend operator==
11674 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11686 * BufferView_pimpl.C:
11687 * BufferView.[Ch]: remove cruft
11689 2001-02-14 Juergen Vigna <jug@sad.it>
11691 * lyxfunc.C: removed #if 0 unused code
11693 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11695 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11697 * text2.C (SetSelection): added a BufferView * parameter
11699 2001-02-13 Juergen Vigna <jug@sad.it>
11701 * lyxfunc.C (Dispatch): fixed protected blank problem.
11702 * BufferView2.C (protectedBlank): added LyxText * parameter.
11704 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11705 (AppendColumn): same as above for column_info.
11707 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11708 (moveCursorUpdate): use a LyXText param for support of InsetText.
11710 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11711 (tripleClick): ditto
11713 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11715 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11717 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11719 * text2.C (SetSelection): set correct update status if inset_owner
11720 (ToggleFree): ditto
11722 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11724 * tabular.C: remove some commented code.
11726 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11728 * BufferView_pimpl.C: call hideSplash()
11730 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11733 * bibforms.h: remove
11736 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11737 add LFUN_CHILD_CREATE
11739 * counters.h: fix tiny typo
11744 * lyx.C: move splash to frontends/xforms/
11746 * lyx_gui_misc.C: move Include and Bibform to frontends
11748 * lyxvc.h: clarify comment
11750 * vspace.C: tiny housekeeping
11752 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11754 * text.C (PrepareToPrint): RTL Fix.
11756 * paragraph.C (GetUChar): New method.
11757 (String): Use GetUChar.
11759 * buffer.C (asciiParagraph): Use GetUChar.
11761 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11763 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11765 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11768 * buffer.C: rename to getLogName(), handle
11769 build log / latex log nicely
11771 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11774 * MenuBackend.h: remove support for reference menuitem type.
11776 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11778 * BufferView_pimpl.C: housekeeping
11779 * BufferView_pimpl.h:
11784 * minibuffer.h: move Timeout GUI-I
11786 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11788 * lyxrc.C (read): Update converters data-structures.
11790 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11792 * LaTeX.h (operator!=): add operator != for Aux_Info
11794 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11796 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11798 * LaTeXLog.C: deleted, useful code moved to Buffer
11801 * buffer.C: new function getLatexLogName()
11807 * lyxfunc.C: use frontends for LaTeX and VC logs
11809 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11811 * LaTeX.h: yet another std:: that Allan forgot.
11813 * Variables.C (set): renamed from isset(), because this clashes
11814 with some HP-UX macros (grr).
11816 2001-02-06 Allan Rae <rae@lyx.org>
11818 * LaTeX.h: Another bug fix. Missing std:: this time.
11820 2001-02-04 Allan Rae <rae@lyx.org>
11822 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11823 floats problem. I've left it commented out because it's not quite
11824 correct. It should also test that the current object is a table or
11825 figure inset. But I haven't gotten around to figuring out how to do
11826 that. I *think* it'll be something like: "table" == inset.type()
11828 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11831 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11833 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11834 all the citation/databases/styles in the auxilary file.
11835 (run): Rerun latex if there was a babel language error.
11837 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11839 * text.C (Backspace): Preserve the font when changing newline char
11841 (BreakParagraph): If the cursor is before a space, delete the space.
11843 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11845 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11847 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11848 new argument (code).
11849 (ChangeCitationsIfUnique): New method.
11851 * paragraph.C (GetPositionOfInset): Handle bibkey.
11853 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11855 * BufferView_pimpl.h: change type of Position::par_pos to
11856 LyXParagraph::size_type.
11858 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11860 * BufferView_pimpl.C (savePosition, restorePosition): Write
11861 messages to minibuffer.
11863 2001-01-28 José Matos <jamatos@fep.up.pt>
11865 * buffer.C (makeDocBookFile): adds support for document language.
11866 A silly restriction on the name of LatexCommand types where removed.
11867 Added support for CDATA sections, allows to chars unescaped, used
11868 among others in code, to avoid escape < and >.
11870 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11872 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11873 saved positions instrad of a stack. Furthermore, a position is
11874 stored using paragraph id/paragraph position.
11876 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11877 Remove LFUN_REF_BACK.
11879 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11881 * converter.C (dvipdfm_options): New method.
11883 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11885 * vspace.C (isValidLength): Fix for empty input string.
11887 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11889 * LyXAction.C (init): change description of LFUN_FIGURE to
11892 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11894 * LaTeX.C: add using directive
11896 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11898 * MenuBackend.C (expand): Fix the sorting of the formats.
11900 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11902 * lyx_main.C: tiny error message fix
11904 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11907 calling fl_initialize(). This fixes the problem with ',' as
11908 decimal separator in text files.
11910 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11912 * trans.C (process): Fix the keymap bug.
11914 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11916 * LaTeX.C (scanAuxFiles): New method. Provides support for
11917 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11918 (scanLogFile) Scan for "run BibTeX" messages.
11920 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11921 OT1 font encoding. Also, load the aecompl package if the ae
11924 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11926 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * texrow.C (increasePos): turn two error messages into debug
11931 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11933 * LaTeX.C (scanAux): Handle the \@input macro.
11934 (runBibTeX): Use scanAux().
11936 * language.C (latex_options_): New field.
11938 * LaTeXFeatures.C (getMacros): Add language macros.
11940 * buffer.C (makeLaTeXFile): Small fix.
11942 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11944 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11946 * text2.C: add a using directive.
11948 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11953 * lyxfunc.C: kill LyXBell.
11955 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11957 * text.C (IsBoundary): Remove the error message
11959 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11961 * lyxrc.C (setDefaults): Correct initialization value for
11964 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11966 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11969 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11970 and GotoNextNote().
11972 * src/LyXAction.C: Added reference-next.
11974 * text.C (InsertChar): Use contains instead of strchr.
11976 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11978 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11980 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11981 alignment commands (when needed).
11983 * text.C (InsertChar): Add ':' to number separator chars.