1 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView_pimpl.C (workAreaDispatch): change to use
4 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5 that are no mouse related.
7 2003-08-05 André Pönitz <poenitz@gmx.net>
10 * BufferView_pimpl.[Ch]:
13 * text3.C: rip out "deep update"
15 * textcursor.[Ch] (last_sel_cursor): remove unused member
17 2003-08-04 André Pönitz <poenitz@gmx.net>
20 * BufferView_pimpl.[Ch]:
21 * ParagraphParameters.C:
28 * text3.C: replace "complicated" BufferView::update(...) calls with
31 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
33 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
35 * Makefile.am (lyx_SOURCES): add paper.h
37 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
39 * Makefile.am: move things around so that both lyx-qt and
40 lyx-xforms can be built (according to --with-frontend). Then lyx
41 is a symbolic link to lyx-[firstfrontend]
43 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
45 * Always use std::endl with lyxerr
47 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
49 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
51 2003-08-01 André Pönitz <poenitz@gmx.net>
54 * BufferView_pimpl.[Ch]:
56 * text3.C: merge BufferView::repaint() and BufferView::update()
58 2003-08-01 José Matos <jamatos@lyx.org>
60 * buffer.[Ch]: file_format is no longer a buffer data element.
62 2003-08-01 André Pönitz <poenitz@gmx.net>
67 * text2.C: make redoParagraph more independent of current cursor
69 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
71 * text2.C: remove unneeded members
73 2003-07-30 André Pönitz <poenitz@gmx.net>
75 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
77 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
78 create a single function...
80 * paragraph_funcs.C (moveItem): ... here.
83 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
85 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
87 * LColor.[Ch]: Add comment and greyedout logical colors.
89 2003-07-30 André Pönitz <poenitz@gmx.net>
91 * tabular.C: don't use Assert too heavily. This crashes where it
94 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
96 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
97 is disabled (bug 1232)
99 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
101 * factory.C: limited 'arg' scope
103 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
105 * factory.C: fixed Note submenu issues
107 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
109 * factory.C: submenu for Note/Comment/Greyedout
111 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
114 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
116 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
119 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
120 greyedout. Patch provided by Jürgen Spitzmüller.
122 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * kbmap.C (read): fix error message when reading bind files
126 2003-07-29 Angus Leeming <leeming@lyx.org>
128 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
129 certainly does not do what it purports to do. I am doing it, and
130 us, a favour by killing it.
132 2003-07-28 José Matos <jamatos@lyx.org>
134 * buffer.C (readBody, do_writeFile):
135 * paragraph.C(readParagraph): \end_document replaces \the_end.
137 2003-07-29 André Pönitz <poenitz@gmx.net>
140 * BufferView_pimpl.[Ch]:
144 * textcursor.[Ch]: remove toggleToggle & Co
146 2003-07-28 José Matos <jamatos@fep.up.pt>
148 * buffer.C (readParagraph):
149 * params_func (readParToken, readParagraph):
150 * paragraph.C (write): \layout -> \begin_layout.
152 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
154 * lyxlex_pimpl.C (setFile): clean up slightly.
156 * bufferparams.h: add compressed var
158 * buffer_funcs.C (readFile): adjust for LyXLex change
159 (newFile): ditto + simplify
161 * buffer.C (writeFile): handle writing of compressed files
163 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
164 Check if the file is compressed and set a bufferparm if so.
166 * Makefile.am (lyx_LDADD): remove explicit -lz
168 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
171 makeDocBookFile): put the real LyX version in the first line of
175 * version.C.in: remove lyx_docversion
177 * tabular.C (write_attribute): add a template-based version to
180 2003-07-28 André Pönitz <poenitz@gmx.net>
185 * text3.C: use doubles again for x-coordinates. They are needed.
187 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * messages.C (getLocaleDir): use lyx_localedir()
191 * lyxlex_pimpl.C (setFile): compress stuff
193 * buffer.C (writeFile): add some compression stuff
194 (do_writeFile): new func, dont call expliti close... will this
197 * Makefile.am (lyx_LDADD): add -lz
199 2003-07-28 José Matos <jamatos@fep.up.pt>
201 * buffer.C: increment file format.
202 * paragraph_funcs (readParagraph, readParToken):
203 * paragraph.C (readParagraph): add \end_layout.
205 2003-07-27 Angus Leeming <leeming@lyx.org>
207 * Makefile.am: remove special casing for configure-time setting of
208 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
210 * lyx_main.C (init): remove all Jean-Marc's magic setting of
211 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
213 2003-07-26 André Pönitz <poenitz@gmx.net>
215 * paragraph_func.[Ch]:
216 * paragraph.C (realizeFont): inline it whereever it is used
221 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
224 2003-07-26 André Pönitz <poenitz@gmx.net>
228 * text2.C: get rid of LyXText::need_break_row
230 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
232 * toc.[Ch]: put namespace toc inside namespace lyx
234 * MenuBackend.C (expandToc2): adjust for lyx::toc
237 * lyxfunc.C (dispatch): adjust for lyx::find
239 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
240 lyx::find instead. Reorganize a bit.
241 (LyXReplace): rename to replace
242 (LyXFind): rename to find
244 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
247 2003-07-26 André Pönitz <poenitz@gmx.net>
249 * text.C (setHeightOfRow): restrict scope of temporary variable
251 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
252 code (never has been used?)
254 2003-07-27 Asger Alstrup <alstrup@local>
256 * text.C (fill): Optimise algorithm to exploit that we can reuse
257 the LyXFont for many characters.
258 (setHeightOfRow): Same thing.
259 (rowBreakPoint): Same thing.
261 2003-07-26 Asger Alstrup <alstrup@local>
263 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
265 * text.C (singleWidth): Spurious font copying in hot-spot
266 singleWidth avoided. Reorder tests for arabic for efficiency.
268 * text.C (fill): handle empty paragraphs better.
270 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * encoding.h: add includes
275 * lyxrc.C: remove reading of bind files
277 * lyx_main.C (init): setup bindings and menus only if we have a
280 * kbmap.C (read): new method. Do the actual reading of bind
283 * converter.C (dvipdfm_options):
286 (output): adapt PAPER_* enums.
288 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
290 * bufferparams.h: remove paper-related enums from there
292 * paper.h: New file. A trivial header file to hold paper-related
293 enums. It should later expand to contain many paper-related
296 * lyxrc.C: declare extern displayTranslator
298 2003-07-27 José Matos <jamatos@fep.up.pt>
300 * tabular.[Ch] (linuxdoc): add support for tables and figures
303 2003-07-27 José Matos <jamatos@fep.up.pt>
305 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
306 consistency in both functions.
307 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
309 2003-07-26 Asger Alstrup <alstrup@local>
311 * rowpainter.C (paintRows): Change algorithm to work directly on
312 the insets rather than asking every character in the document
313 whether its an inset.
315 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
317 * buffer.C (openFileWrite): factorize some code
319 2003-07-26 Angus Leeming <leeming@lyx.org>
322 * lyx_main.[Ch]: replace occurances of system_tempdir with
325 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * rename Inset to InsetOld
329 2003-07-25 Asger Alstrup <alstrup@diku.dk>
331 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
332 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
333 which I think is a bit clearer. EDIT is gone, since it was
334 premature optimisation, and broken for mathed anyway.
335 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
336 with cursor positioning in insets as well (math insets still do not
337 work, but that's a different story anyway.) It mysteriously
338 crashes sometimes with undo in the first paragraph, but I'm fairly
339 confident that this is a compiler bug.
341 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
343 * paragraph.C (Paragraph): adjust for new clone return type
345 (copyIntoMinibuffer): ditto
347 2003-07-25 Asger Alstrup <alstrup@lyx.org>
349 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
350 by not having a special case, and always doing a full rebreak of
351 the document after undo.
353 2003-07-23 Angus Leeming <leeming@lyx.org>
355 * factory.C (createInset): InsetExternal::setParams now takes a
358 2003-07-23 Angus Leeming <leeming@lyx.org>
360 * factory.C (createInset): changed interface to the external and
361 graphics mailers' string2params functions.
363 2003-07-23 Angus Leeming <leeming@lyx.org>
365 * factory.C (createInset): pass a
366 Buffer const * parameter to InsetExternalMailer's string2params.
368 2003-07-22 John Levon <levon@movementarian.org>
370 * Thesaurus.h: include the right aiksaurus header
372 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * MenuBackend.C (expand): check menu shortcuts unconditionally
376 2003-07-21 Angus Leeming <leeming@lyx.org>
378 * factory.C (createInset): pass a
379 buffer_path parameter to InsetGraphicsMailer's string2params.
381 2003-07-21 Angus Leeming <leeming@lyx.org>
383 * BufferView_pimpl.C (buffer):
386 * lyxfunc.C (dispatch):
387 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
388 rather than the grfx shortcut.
390 2003-07-21 André Pönitz <poenitz@gmx.net>
392 * rowpainter.C: remove unused variables
395 * tabular_funcs.h: move to tabular.C
396 * Makefile.am: adjust
398 * tabular.[Ch]: basic optical cleaning
400 * author.h: pass references, not values
402 2003-07-18 André Pönitz <poenitz@gmx.net>
410 * text3.C: two-phase drawing for InsetText and InsetTabular
411 some float -> int changes.
413 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
415 * lyx_main.C: fix the fix
417 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
419 * lyx_main.C: fix a crash in batch mode if no files specified
422 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
424 * format.[Ch] (papersize): moved to BufferParams
425 * converter.[Ch] (dvips_options): moved to BufferParams
426 (dvipdfm_options): moved to anon namespace
427 * bufferparams.[Ch]: added above functions.
429 2003-07-17 André Pönitz <poenitz@gmx.net>
433 * text2.C: don't call inset->update() anymore
435 * metricsinfo.[Ch]: add convenience constructor
437 2003-07-16 André Pönitz <poenitz@gmx.net>
442 * text2.C: replace the LyXCursor::irow_ member with
443 on-demand computation of the value
445 2003-07-16 John Levon <levon@movementarian.org>
447 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
449 2003-07-15 André Pönitz <poenitz@gmx.net>
452 * text2.C: remove no more needed refresh_row
454 2003-07-15 André Pönitz <poenitz@gmx.net>
459 * text3.C: refresh_status tristate -> need_update bool
461 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
463 * lyxtext.h (init): remove reinit argument (act as if always true)
464 * text2.C: adjust to that
466 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
468 * bufferview_funcs.[Ch]: introduce function replaceSelection()
469 * text3.C: use it to delete selections in some cases
470 (bugs 441, 673, 702, 954).
472 2003-07-14 André Pönitz <poenitz@gmx.net>
474 * rowpainter.[Ch]: reduce interface
476 2003-07-14 André Pönitz <poenitz@gmx.net>
478 * BufferView_pimpl.C:
479 * text2.C: adjust after removing unused BufferView * argument
481 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
483 * text2.C (init): fix a crash fired on resize
485 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
487 * buffer.[Ch]: added new closing signal
488 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
489 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
490 BufferView::Pimpl via the closing the signal
492 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
494 * buffer.[Ch]: take out all bv-related from buffer
496 * BufferView_pimpl.[Ch]: connect to new signals
497 * CutAndPaste.C: removed useless asserts
498 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
501 * lyxfunc.C: moved view-related funciontality from vc here
502 * paragraph.C: removed outdated comments
505 2003-07-10 André Pönitz <poenitz@gmx.net>
507 * BufferView_pimpl.C:
511 * text2.C: remove InsetText::InnerCache, clean up consequences
513 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
515 * ispell.C: fix two typos in error messages
517 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
519 * Extend Note inset to other forms of annotation like Comment
520 and Greyedout. Right button click gives dialog.
522 Files modified or added (+):
528 * Makefile.am in frontends/xforms, frontends/xforms/forms,
529 frontends/controllers
533 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
535 * aspell.C: add missing namespace lyx::support
537 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
539 * BufferView.[Ch] (newFile): Add
540 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
541 * LaTeX.[Ch] (message): added this signal and use it
542 * buffer.[Ch] (busy, message): added these signals and use them
543 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
547 * importer.C: use buffer signals instead of direct bv calling
548 * lyx_cb.[Ch] (ShowMessage): removed
552 * text2.C: use buffer signals
554 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * introduce namespace lyx::graphics
558 2003-07-02 André Pönitz <poenitz@gmx.net>
560 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
562 2003-07-01 André Pönitz <poenitz@gmx.net>
569 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
570 text*.C to text_func.C
572 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * introduce namespace lyx::support
576 2003-06-30 André Pönitz <poenitz@gmx.net>
581 * text.C: re-enable --with-included-string
583 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * textcursor.C: add <config.h>
587 * text.C (getWord): remove const from word_location arg
589 * lyxvc.C (getLogFile): fix const type order
591 * lyxtext.h: remove const from word_location arg, add arg name
593 * lyxlayout.h: currect type on labeltype.
595 * importer.C: correct \file
597 * converter.C (intToFormat): use std:: on ret val, ws changes
599 * bufferlist.h: correct \file
601 * buffer.C (makeLinuxDocFile): fix const type order
602 (makeDocBookFile): ditto
603 (fillWithBibKeys): use std:: on stdlib args.
605 * CutAndPaste.C: fix authors.
606 (availableSelections): use std:: on return vector
608 2003-06-27 André Pönitz <poenitz@gmx.net>
610 * BufferView_pimpl.C:
611 * bufferview_funcs.C:
619 * text3.C: remove LyXCursor::row_ member
622 * text.C: rename fullRebreak() to partialRebreak() and implement
623 a fullRebreak() that really bereks fully
625 * textcursor.h: new struct for cursor-related data
627 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
629 * lyx_main.C (LyX): get full path of document loaded on the
632 2003-06-26 André Pönitz <poenitz@gmx.net>
634 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
635 remove unused/broken operator>,<,>=.
637 * text.C: remove only use of broken operator<= in an Assert().
639 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
641 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
642 moved errorlist_.clear to showErrorList
644 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
646 * converter.C (scanLog, runLaTeX):
647 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
648 move the bv->showErrorList call to the callers
649 * lyxfunc.C: i.e. here...
651 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
652 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
653 namespace, the second to...
654 * buffer_funcs (BufferFormat, parseErrors): added
655 * errorlist.C (ErrorList(TeXErrors const &)): removed
657 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * ToolbarBackend.C (getIcon): complain when icon cannot be found
661 2003-06-24 "Garst R. Reese" <reese@isn.net>
665 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
669 * version.C.in: change docversion to 1.4
671 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
673 * buffer.C: fix a bug just introduced
675 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
677 * buffer.[Ch]: added the parseError signal and use it, removed
679 * BufferView.[Ch] (addError): moved to ...
680 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
681 to the Buffer::parseError signal to catch (guess what) parse errors
682 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
684 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
686 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
687 ability to create a buffer and to return an existing one from
688 the list. Moved these functions to...
689 * buffer_funcs.[Ch]: added
690 * BufferView.[Ch] (loadLyXFile): added
691 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
692 job removed from bufferlist::loadLyXFile.
693 * buffer.C (setReadOnly): make it work without view
694 (i.e added an if (users))
696 2003-06-19 Angus Leeming <leeming@lyx.org>
699 * LyXAction.C (init):
700 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
701 with LFUN_DIALOG_SHOW <name> <data>.
703 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
705 * CutAndPaste.C (availableSelections): small compilation fix for
706 ancient (gcc 2.9x) compilers
708 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * text3.C (cursorNext): add tmp var
712 * text2.C (updateCounters): for function calling out of for clause
713 (replaceSelectionWithString): ditto
714 (insertStringAsParagraphs): ditto
715 (getColumnNearX): add tmp var
716 (setCursorFromCoordinates): add tmp var
717 (cursorDownParagraph): add tmp var
718 (deleteEmptyParagraphMechanism): add tmp var
720 * text.C (insertChar): add tmp var
722 * rowpainter.C (paintDepthBar): add tmp var
724 * CutAndPaste.C (availableSelections): potentially check all
725 paragraphs in a cut to fill the shown strings.
727 2003-06-18 André Pönitz <poenitz@gmx.net>
729 * kbmap.[Ch]: use vector<> instead of list<>
731 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
733 * text3.C (dispatch): handle arg to LFUN_PASTE, call
734 pasteSelection with index
736 * text2.C (pasteSelection): modify, call pasteSelection with index
738 * paragraph.C (asString): reimplement version with no interval to
739 call the one with interval.
741 * lyxtext.h: add index arg to pasteSelection
743 * MenuBackend.C (MenuItem): handle PasteRecent
744 (Menu::read::Menutags): add md_pasterecent
746 (expandPasteRecent): new function
749 * MenuBackend.h: add PasteRecent to MenuItem::Kind
751 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
753 (availableSelections): new function
755 2003-06-17 Angus Leeming <leeming@lyx.org>
757 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
759 2003-06-17 Angus Leeming <leeming@lyx.org>
762 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
764 * lyxfunc.C (dispatch): invoke it.
766 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * iterators.C (operator++, ParPosition): reintroduce some
769 const_cast for the benefit of older compilers.
771 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * text3.C (dispatch): do not modify clipboard when doing
774 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
775 LFUN_DELETE_SKIP on a selection selection
777 2003-06-16 André Pönitz <poenitz@gmx.net>
783 * tabular.[Ch]: IU of clone() and getLabelList();
785 2003-06-13 André Pönitz <poenitz@gmx.net>
787 * tabular.h: compactification
789 2003-06-12 André Pönitz <poenitz@gmx.net>
793 * tabular_funcs.h: some renaming plus whitespace
795 2003-06-12 André Pönitz <poenitz@gmx.net>
798 * BufferView_pimpl.C:
804 * toc.C: Return a Paragraph & for ParIterator::operator*()
806 2003-06-11 John Levon <levon@movementarian.org>
810 * ToolbarBackend.C: add "Toolbars" section and
813 2003-06-10 Angus Leeming <leeming@lyx.org>
816 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
818 * lyxfunc.C (dispatch): invoke it.
820 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
822 * main.C: protect <ios> with HAVE_IOS
823 (main): protect sync_with_stdio with HAVE_IOS
825 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
827 * text2.C (cutSelection): adjust
828 (pasteSelection): adjust
830 * messages.C: handle get of empty string
832 * main.C (main): use sync_with_stdio(false)
834 * lyxfunc.C (dispatch): adjust
836 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
837 (WriteAs): remove unneeded BufferView arg.
839 * bufferparams.h: use correct types on papersize, papersize2 and
842 * bufferparams.C (readToken): adjust for type
843 (writeLaTeX): add missing cases to switch.
845 * bufferlist.C (quitWriteBuffer): adjust
848 * buffer.C (asciiParagraph): remove some commented code.
850 * CutAndPaste.C: remove current_view extern variable.
851 (cutSelection): add BufferParams arg.
852 (eraseSelection): add BufferParams arg.
853 (pasteSelection): add Buffer const & arg
855 2003-06-07 John Levon <levon@movementarian.org>
863 * paragraph.C: allow InsetERT to freely space lines,
864 and some consolidation of code
866 2003-06-06 José Matos <jamatos@fep.up.pt>
868 * buffer.C (makeDocBookFile): fix bug #821
870 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
872 * BufferView_pimpl.C (dispatch): use Dialogs::visible
874 2003-06-04 Angus Leeming <leeming@lyx.org>
876 * buffer.C: bump format to 224.
878 2003-06-05 André Pönitz <poenitz@gmx.net>
880 * text2.C (redoParagraphs): remove two const_cast<>
882 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
884 * ParagraphList.h: remove last remnants of NO_STD_LIST
886 2003-06-03 Angus Leeming <leeming@lyx.org>
888 * factory.C (createInset): small change to the way InsetExternal's params
891 2003-06-04 André Pönitz <poenitz@gmx.net>
893 * buffer.h: use Undo directly instead of shared_ptr<Undo>
896 * paragraph.[Ch]: some Inset -> UpdatableInset changes
898 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
900 * undo_funcs.C: make some simple cases of undo work again
902 2003-06-03 John Levon <levon@movementarian.org>
904 * ispell.C: HPUX doesn't have sys/select.h
907 2003-06-03 John Levon <levon@movementarian.org>
909 * CutAndPaste.C: update tabular and include inset
914 * paragraph.C: remove owningBuffer(), don't pass Buffer
917 * factory.C: insetGraphicsParams changed
919 2003-06-02 John Levon <levon@movementarian.org>
925 * text3.C: remove insetparent
927 2003-06-02 John Levon <levon@movementarian.org>
930 * buffer.C: fix inset_iterator.end(), move out of line
933 2003-06-01 John Levon <levon@movementarian.org>
935 * text3.C: use a proper cut/paste when doing inset
936 insert (from Jürgen Spitzmüller)
938 2003-06-01 John Levon <levon@movementarian.org>
940 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
942 2003-05-30 André Pönitz <poenitz@gmx.net>
944 * rowpainter.C: unify second drawing phase
946 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
948 * trans_mgr.C: remove one case of current_view
950 * text2.C (cursorBottom): delete NO_STD_LIST stuff
952 * paragraph_funcs.h: remove paragraph.h include
954 * paragraph.h: delete NO_STD_LIST stuff
956 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
958 * buffer.h: remove paragraph.h include
960 * ParagraphList.C: delete file
962 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
964 * toc.C (getTocList): adjust
966 * paragraph_pimpl.C (validate): adjust
968 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
970 * paragraph.C (Paragraph): adjust
971 (getPositionOfInset): use const_iterator, adjust
972 (bibitem): use const_iterator, adjust
973 (setInsetOwner): adjust
975 * iterators.C (operator++): adjust
977 * InsetList.[Ch]: Replace selfmade iterator with standard
978 vector::iterator also introduce const_iterator. Remove getPos,
979 getInset and setInset from InsetTable. Adjust accordingly.
981 * BufferView.C (lockInset): adjust
982 (ChangeInsets): adjust
984 * tabular.[Ch]: delete commented same_id functions
986 2003-05-28 John Levon <levon@movementarian.org>
988 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
990 2003-05-28 André Pönitz <poenitz@gmx.net>
992 * metricsinfo.[Ch]: remove 'fullredraw' member
994 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
996 * lyxtextclass.C (operator): remove caching.
998 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * text2.C (cursorBottom): adjust
1003 (setCounter): use ParagraphList::find, adjust
1005 * text.C (workWidth): use ParagraphList::find, adjust
1007 * lyxcursor.C (LyXCursor): adjust
1009 * buffer.C (inset_iterator): adjust
1011 * ParagraphList.h: make iterator(value_type) private, make
1012 ParagraphList a friend of iterator.
1014 * ParagraphList.C (find): new function
1016 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1018 2003-05-27 André Pönitz <poenitz@gmx.net>
1020 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1022 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1024 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1026 2003-05-26 John Levon <levon@movementarian.org>
1028 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1030 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * remove same_id from function signatures, adjust.
1034 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1036 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1038 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1040 * paragraph.C (Paragraph): get rid of same_ids parameter
1042 * ParagraphList.C (insert): adjust
1045 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * paragraph_funcs.C (breakParagraph): adjust
1048 (breakParagraphConservative): adjust
1050 * buffer.C (readParagraph): adjust
1052 * ParagraphList.C (insert): take a reference instead of a pointer
1055 * paragraph.[Ch] (id): new function
1057 * bufferlist.C (newFile): adjust
1059 * ParagraphList.C (ParagraphList): adjust
1061 (push_back): take a reference instead of a pointer.
1063 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1065 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1068 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1069 set else use old code.
1071 * ParagraphList.C: remove all NO_NEXT code and only compile this
1072 code of NO_STD_LIST is set.
1074 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1076 * BufferView_pimpl.C:
1086 * graphics/GraphicsConverter.C:
1087 * graphics/PreviewLoader.C: header adjustment
1089 2003-05-23 Angus Leeming <leeming@lyx.org>
1091 * LaTeXFeatures.[Ch] (useBabel): new method.
1092 * bufferparams.C (writeLaTeX): use it.
1094 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1096 * ParagraphList.h (set): remove unused function.
1098 2003-05-23 André Pönitz <poenitz@gmx.net>
1101 * BufferView_pimpl.C:
1105 * undo_funcs.C: setUndo reworked
1107 * iterators.[Ch]: add access to topmost ParagraphList
1109 * lyxtext.[Ch] (workWidth): add a const
1111 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1113 * texrow.[Ch] (increasePos): remove function
1114 * exporter.C (export): removed unused var and outdated comment
1116 2003-05-23 Angus Leeming <leeming@lyx.org>
1118 * latexrunparams.h: rename fragile as moving_arg.
1119 * paragraph.C (simpleTeXOnePar): ditto.
1120 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1122 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1126 (textUndoOrRedo): comment out a currently unused var.
1128 * paragraph.h (NO_NEXT): enable NO_NEXT
1130 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1132 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1134 * exporter.C (Export): adjust for removeAutoInsets removal.
1136 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1138 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1140 * BufferView.[Ch] (removeAutoInsets): delete function
1142 2003-05-22 Angus Leeming <leeming@lyx.org>
1144 * latexrunparams.h: add a free_spacing variable.
1146 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1147 to pass moving_arg, as the data is stored in runparams.fragile.
1149 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1150 to Inset::latexOptional or to simpleTeXOnePar.
1152 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1153 free_spacing arg to Inset::latexOptional.
1155 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1158 2003-05-22 Angus Leeming <leeming@lyx.org>
1160 * latexrunparams.h: add fragile and use_babel variables.
1162 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1163 * buffer.C (makeLaTeXFile): store this returned value in
1164 runparams.use_babel, thus passing it to the inset::latex methods.
1166 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1167 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1169 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1170 longer has a fragile arg, as it is stored in runparams.fragile.
1172 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1173 moving_arg parameter as the data is stored in runparams.fragile.
1175 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1176 a fragile parameter as the data is stored in runparams.fragile.
1178 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1182 2003-05-22 Angus Leeming <leeming@lyx.org>
1184 * latexrunparams.h: add a 'bool nice' which defaults to false.
1186 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1187 now encapsulated within runparams.
1189 * bufferlist.C (updateIncludedTeXfiles):
1190 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1192 2003-05-22 Angus Leeming <leeming@lyx.org>
1194 * latexrunparams.h: new file containing struct LatexRunParams.
1195 * Makefile.am: add new file.
1197 * LaTeX.[Ch] (c-tor, run):
1198 * buffer.[Ch] (makeLaTeXFile):
1199 * bufferlist.[Ch] (updateIncludedTeXfiles):
1200 * converter.C (convert, scanLog):
1201 * converter.[Ch] (runLaTeX):
1202 * exporter.C (Export):
1203 * paragraph.[Ch] (simpleTeXOnePar):
1204 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1205 * paragraph_funcs.[Ch] (latexParagraphs):
1206 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1207 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1208 pass around a LatexRunParams parameter.
1210 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * paragraph.[Ch]: remove unused constructor
1214 * ParagraphList.C (erase): new function, taking two iterators
1216 2003-05-22 André Pönitz <poenitz@gmx.net>
1218 * undo_funcs.C: remove duplicated code
1220 * iterator.[Ch]: operator=
1222 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1224 * tabular.C (SetMultiColumn): ws changes
1226 * rowpainter.C (paintFirst): get rid of a ->previous
1228 * lyx_cb.C (getPossibleLabel): parlist simplification
1230 * BufferView.C (ChangeInsets): simplify slightly.
1232 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1234 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1235 * lfuns.h: new LFUN_SPACE
1236 * lyxfunc.C: protected space has a new lfun
1237 * paragraph_funcs.C: read new space insets
1239 * factory.C: handle new space insets
1241 2003-05-22 André Pönitz <poenitz@gmx.net>
1244 * BufferView_pimpl.C:
1247 * undo_funcs.C: return a ParIterator from getParFromID.
1249 * iterators.[Ch]: add two const's
1251 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * toc.C (getTocList): adjust
1255 * iterators.[Ch]: rework for parlist
1257 * buffer.C (par_iterator_begin): adjust
1258 (par_iterator_end): adjust
1260 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1262 * BufferView.C (removeAutoInsets): adjust
1263 (ChangeInsets): adjust
1265 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1267 * text.C (top_y): fix bug 1110
1269 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1271 * errorlist.[Ch]: added
1274 * BufferView_pimpl.C:
1275 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1278 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * Makefile.am: ensure that lyx is relinked upon changes to the
1281 various "convenience" libs.
1283 2003-05-20 Angus Leeming <leeming@lyx.org>
1285 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1286 files are compiled in alphabetical order again.
1288 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1290 2003-05-19 Angus Leeming <leeming@lyx.org>
1292 * gettext.[Ch]: remove "char const * _(char const *)".
1294 2003-05-19 André Pönitz <poenitz@gmx.net>
1296 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1305 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1307 2003-05-19 André Pönitz <poenitz@gmx.net>
1311 * lyxtextclass.[Ch]:
1313 * paragraph_funcs.[Ch]:
1315 * text3.C: more insetenv work
1317 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1319 * ParagraphParameters.C (params2string): small bug fixed
1321 2003-05-16 André Pönitz <poenitz@gmx.net>
1324 * bufferview_funcs.C: patch from Kornel Benko to prevent
1325 crash when _(...) is called twice in a statement
1327 2003-05-16 André Pönitz <poenitz@gmx.net>
1334 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1336 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1338 * lyx_main.C (init): remove spurious static_cast
1340 2003-05-14 André Pönitz <poenitz@gmx.net>
1342 * BufferView.C: fix format string
1344 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1346 * BufferView.[Ch] (insertErrors): removed
1347 * BufferView.[Ch] (showErrorList): added
1348 * buffer.C (runChkTeX):
1349 * converter.C (scanLog): call showErrorList instead of inserterrors
1351 2003-05-13 André Pönitz <poenitz@gmx.net>
1353 * BufferView_pimpl.C:
1355 * bufferview_func.C:
1362 * tabular_funcs.h: tostr() from its own header
1364 * ParagraphParameters.C:
1369 * text3.C: STRCONV()
1371 2003-05-12 André Pönitz <poenitz@gmx.net>
1374 * BufferView_pimpl.C:
1378 * ParagraphParameters.C:
1382 * bufferview_funcs.C:
1395 * paragraph_funcs.C:
1399 * text3.C: boost::format -> bformat all over the place
1402 2003-05-09 André Pönitz <poenitz@gmx.net>
1404 * LColor.[Ch]: Pimpl the #include <map> away
1406 2003-05-09 John Levon <levon@movementarian.org>
1408 * bufferlist.C: never remove emergency saves
1410 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * Makefile.am: better lib building
1414 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1416 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1418 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1419 (simpleTeXSpecialChars): adjust
1420 (simpleTeXSpecialChars): adjust
1421 * paragraph.C (simpleTeXOnePar): adjust
1422 * buffer.C (makeLaTeXFile): adjust
1424 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1426 * text2.C (changeDepth): parlist cleanup
1427 (getColumnNearX): ditto
1429 * rowpainter.C (getLabelFont): parlist cleanup
1431 * bufferlist.C (newFile): parlist cleanup
1433 * CutAndPaste.C (eraseSelection): parlist cleanup
1435 * BufferView_pimpl.C (trackChanges): parlist cleanup
1438 * BufferView.C (lockInset): parlist cleanup.
1439 (ChangeInsets): ditto
1441 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1443 * CutAndPaste.h: Update file header.
1445 * CutAndPaste.C: Update file header.
1446 Store the parts cut out of the Document in a limited_stack.
1447 (copySelection): adjust
1448 (pasteSelection): new function, takes the index in the limited stack.
1449 (nrOfParagraphs): adjust
1450 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1451 simplify error inset insertion.
1452 (checkPastePossible): adjust
1454 2003-05-06 John Levon <levon@movementarian.org>
1456 * text2.C: don't cast wrap inset to float
1458 2003-05-05 André Pönitz <poenitz@gmx.net>
1461 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1463 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1464 few naked Paragraph *.
1466 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1468 * bufferparams.C: Output warning if a document with missing
1469 TeX document class is loaded
1470 * exporter.C: Disable TeX exports if the document class is missing
1473 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1474 isTeXClassAvailable()
1476 2003-05-03 John Levon <levon@movementarian.org>
1479 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1480 explicit cursor show/hide
1482 * BufferView_pimpl.h:
1483 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1484 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1486 * lyxfunc.C: hide cursor before dispatching.
1491 * text3.C: remove explicit cursor hides
1493 2003-05-02 André Pönitz <poenitz@gmx.net>
1495 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1498 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1501 * text2.C: tiny whitespace
1503 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * undo_funcs.C: almost only ws changes.
1507 * ParagraphList.C (splice): just return if pl is empty.
1509 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1511 * ParagraphList.C (splice): new function.
1513 * CutAndPaste.C (pasteSelection): use it
1515 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * CutAndPaste.C (pasteSelection): remove the last next and
1518 previous from this file.
1520 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1522 * CutAndPaste.C (pasteSelection): more clean up, user proper
1523 ParagraphList functions for pasteing.
1525 * ParagraphList.C (insert): new function, three arg insert
1527 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1529 * ParagraphList.C (insert): new function, three arg insert
1531 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1534 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1536 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1538 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1542 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1545 (copySelection): clean up a bit.
1546 (pasteSelection): use make_pair
1548 * ParagraphList.C (ParagraphList): implement copy constructor
1549 (operator=): implement, base on copy constructor.
1552 * paragraph.C (erase): return a bool
1554 * paragraph_pimpl.C (erasePos): remove function, move contents...
1555 (erase): ... here. Return a bool.
1556 (erase): call erase instead of erasePos.
1558 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1560 * ParagraphList.h: define PitPosPair
1561 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1562 ParagraphList, fix a bug on pasting multiple pars
1563 * text2.C: change interface to C&P
1565 2003-04-30 André Pönitz <poenitz@gmx.net>
1567 * undo_func.C: revert part of yesterday's patch 2
1569 2003-04-30 John Levon <levon@movementarian.org>
1571 * LColor.C: s/tabular/table/
1573 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * text3.C (dispatch): do not convert iterator -> pointer
1576 * undo_funcs.C (setCursorParUndo): ditto
1577 * text_funcs.C (transposeChars): ditto
1579 * text2.C (setLayout): ws changes only
1581 * text.C (breakParagraph): do not convert iterator -> pointer
1583 (acceptChange): ditto
1584 (rejectChange): ditto
1589 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1592 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1594 * text3.C (gotoInset): YABG (yet another bad getChar)
1596 2003-04-29 André Pönitz <poenitz@gmx.net>
1598 * paragraph.h: make operator= private unimplemented as long as
1601 * ParagraphList.C: whitespace
1604 * paragraph_pimpl.[Ch]:
1605 * paragraph_funcs.C:
1607 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1610 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1612 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1614 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1615 * paragraph.[Ch] (erase):
1616 * paragraph_pimpl.[Ch] (erase): change return type and value
1617 * text2.C (cutSelection): some rework
1619 2003-04-28 John Levon <levon@movementarian.org>
1621 * bufferlist.C: changes for unsaved changes dialog
1623 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * bufferlist.C (newFile): set language (messages_) for new
1628 * buffer.C (readFile): ws changes only.
1630 2003-04-28 André Pönitz <poenitz@gmx.net>
1635 * BufferView_pimpl.C:
1636 * BufferView.C: getParFromID related ParagraphList::iterator changes
1638 2003-04-28 André Pönitz <poenitz@gmx.net>
1640 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1643 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1645 * messages.C: remove one more localedir class variable.
1647 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1649 * messages.C (getLocaleDir): singleton generation function
1651 (Messages): add a default constructor.
1653 * main.C (main): do not setup localedir here, do not call
1656 * gettext.C (_): use it.
1657 (gettext_init): delete funciton
1659 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * gettext.C (getLyXMessages): new singleton generating function.
1663 * buffer.C (updateDocLang): adjust
1665 * Makefile.am (messages.o): add target
1666 (main.o): remove target
1668 2003-04-27 John Levon <levon@movementarian.org>
1673 * lyxvc.C: specify cancel button in Alert::prompt
1675 2003-04-26 John Levon <levon@movementarian.org>
1680 * LyXAction.C: add LFUN_INSET_SETTINGS
1682 * lyxfunc.C: don't enable tabular-feature when there's
1683 just any locking inset
1685 2003-04-26 John Levon <levon@movementarian.org>
1687 * bufferlist.C: re-add Cancel to buffer close question
1689 * lyxfunc.C: fix import UI a bit
1691 2003-04-25 John Levon <levon@movementarian.org>
1693 * gettext.C: remove the broken asserts for now
1695 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1697 * messages.C: make case where setlocale cannot comply work better.
1699 * buffer.C (updateDocLang): new function
1700 (changeLanguage): use it
1703 * text2.C (setCounter): use B_ a bit.
1705 * lyxlayout.C (Read): be sure to trim the label strings.
1707 * messages.C (Messages): fix typo in comment
1709 * buffer.C (readFile): set message_ after file is loaded.
1710 (makeDocBookFile): remove double return
1711 (changeLanguage): reset message_ upon language change.
1712 (B_): new func, use this to get translated buffer strings.
1714 * main.C: add myself and Jean Marc as authors.
1716 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1718 * messages.[hC]: pimplify Messages, and three different pimpls to be
1719 used in different circumstances.
1721 * gettext.[Ch]: change for use with new message code.
1723 2003-04-24 André Pönitz <poenitz@gmx.net>
1725 * factory.C: support for eqref
1727 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * messages.[Ch]: add missing char
1731 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1733 * messages.[Ch]: New files
1735 2003-04-18 John Levon <levon@movementarian.org>
1739 * BufferView_pimpl.C:
1743 * text2.C: remove layout-copy/paste (bug 778)
1745 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1747 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1749 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1751 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1752 if they succeed. Act accordingly.
1754 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1756 * text2.C (setCharFont): adjust
1757 (setCounter): adjust
1758 (insertStringAsLines): adjust
1760 * text.C (leftMargin): adjust
1761 (setHeightOfRow): adjust
1763 * rowpainter.C (paintFirst): adjust
1766 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1768 (isFirstInSequence): ditto
1769 (getEndLabel): ditto
1772 * paragraph.C (getParLanguage): comment out some hard stuff.
1774 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1776 (simpleDocBookOnePar): ditto
1777 (makeDocBookFile): use ParagraphList::iterator
1779 * CutAndPaste.C (pasteSelection): adjust
1781 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * text2.C (getFont): adjust
1784 (getLayoutFont): adjust
1785 (getLabelFont): adjust
1787 * paragraph_funcs.C (TeXOnePar): adjust
1789 * buffer.C (simpleLinuxDocOnePar): adjust
1790 (simpleDocBookOnePar): adjust
1792 * CutAndPaste.C (pasteSelection): adjust
1794 * BufferView.C (getEncoding): adjust
1796 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1798 2003-04-16 John Levon <levon@movementarian.org>
1800 * lyxfind.C: use parlist stuff for search/changes
1802 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1806 * text2.C (deleteEmptyParagraphMechanism): adjust
1808 * text2.[Ch] (ownerParagraph): delete func (both of them
1810 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1812 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1814 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1816 * ParagraphList.C: prepare for NO_NEXT
1818 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1820 * text2.C (getFont): adjust
1821 (getLayoutFont): adjust
1822 (getLabelFont): adjust
1824 * paragraph.C (getFont): adjust
1825 (getLabelFont): adjust
1826 (getLayoutFont): adjust
1828 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1830 2003-04-15 John Levon <levon@movementarian.org>
1834 * lyx_main.C: handle Include in .ui files
1836 2003-04-15 John Levon <levon@movementarian.org>
1838 * MenuBackend.C: make the doc files length shorter
1841 * ToolbarBackend.C: handle toolbar placement flags,
1844 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1849 * paragraph_funcs.C (TeXOnePar): adjust
1851 * paragraph.C (getLabelFont): add outerfont arg, adjust
1852 (getLayoutFont): ditto
1853 (simpleTeXOnePar): adjust
1855 * paragraph_pimpl.C (realizeFont): delete func
1857 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1859 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1860 row argument, constify cur argument.
1862 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * text2.C (getFont): adjust
1865 (getLayoutFont): adjust
1866 (getLabelFont): adjust
1868 * paragraph_funcs.C (TeXOnePar): adjust
1869 (outerFont): new func...
1870 (realizeFont): ...moved out from here, changed this to facilitate
1873 * paragraph.C (getFont): take outerfont as arg, adjust
1874 (simpleTeXOnePar): add outerfont arg, adjust
1876 * buffer.C (simpleLinuxDocOnePar): adjust
1877 (simpleDocBookOnePar): adjust
1879 * CutAndPaste.C (pasteSelection): adjust
1881 * BufferView.C (getEncoding): adjust
1883 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * text2.C (setCharFont): adjust
1886 (setCounter): adjust
1888 * text.C (leftMargin): adjust
1889 (setHeightOfRow): adjust
1891 * rowpainter.C (paintFirst): adjust
1894 * paragraph_pimpl.C (realizeFont): adjust
1896 * paragraph.C (isFirstInSequence): move from here...
1897 * paragraph_funcs.C (isFirstInSequence): ...to here
1899 * paragraph.C (outerHook): move from here...
1900 * paragraph_funcs.C (outerHook): ...to here
1902 * paragraph.C (depthHook): move from here...
1903 * paragraph_funcs.C (depthHook): ...to here
1905 * paragraph.C (getEndLabel): move from here...
1906 * paragraph_funcs.C (getEndLabel): ...to here
1908 * text2.C (realizeFont): move from here...
1909 * paragraph_funcs.C (realizeFont): ...to here
1911 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1915 2003-04-14 Angus Leeming <leeming@lyx.org>
1917 * LColor.[Ch]: scrap LColor mathcursor.
1919 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * lyxlex.[Ch] (text): delete function
1922 * trans.C (Load): adjust
1923 * paragraph_funcs.C (readParToken): adjust
1925 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1928 vector<char> instead of a char[].
1930 * lyxlex_pimpl.C (getString): adjust
1932 (lex): use getString
1936 * lyxlex.C (text): use pimpl_->getString()
1940 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1943 (makeFontEntriesLayoutSpecific): temp var for par.size()
1944 (setLayout): temp var for ownerParagraphs().end()
1945 (fullRebreak): temp var for rows().end()
1946 (selectionAsString): temp var for boost::next(startpit), realize
1947 that the while really is a regular for loop.
1948 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1949 setCursor in one place.
1950 (setParagraph): temp vr for ownerParagraphs().end()
1951 (updateCounters): make the while loop a for loop
1952 (cutSelection): temp var for ownerParagraphs().end()
1953 (updateInset): make the do {} while() a regular for loop
1954 (getCursorX): use temp vars
1955 (setCurrentFont): use temp vars
1956 (getColumnNearX): use temp vars
1958 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * text.C (transformChar): use temp var for getChar
1961 (computeBidiTables): use temp var for row->par()
1962 (fill): move temp vars for row->par() and pit->layout() earlier in
1964 (labelFill): use temp var for row->par()
1965 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1966 asc and desc, realize that pit never changes and that firstpit is
1967 just a duplicate and not needed. Exchange rit->par() with pit in a
1969 (breakAgain): use a temp var for boost::next(rit)
1970 (breakAgainOneRow): ditto
1971 (breakParagraph): use a temp var for rows().begin()
1972 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1973 (cursorRightOneWord): use temp var for cursor.par() and
1974 cursor.pos(), remove usage of tmpcursor.
1975 (cursorLeftOneWord): use temp var for cursor.par() and
1976 cursor.pos() only set cur at end of function.
1978 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * text.C, text2.C: exchange all usage of Paragraph::next with
1981 boost::next(ParagraphList::iterator)
1983 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1985 * text2.C (cursorTop): simplify implementation
1986 (cursorBottom): ditto
1987 (setParagraph): use ParagraphList::iterator
1988 (setCurrentFont): adjust
1989 (getColumnNearX): adjust
1990 (cursorRight): adjust
1991 (cursorLeft): remove usage of Paragraph::previous
1992 (cursorUpParagraph): ditto
1993 (deleteEmptyParagraphMechanism): slight cleanup
1995 * text.C (isBoundary): take a Paragraph const & instead of a
1997 (addressBreakPoint): ditto
1998 (leftMargin): remove usage of Paragraph::previous.
1999 (setHeightOfRow): ditto
2000 (cursorLeftOneWord): ditto
2001 (selectNextWordToSpellcheck): ditto
2004 (breakParagraph): remove one usage of Paragraph::next
2005 (redoParagraph): ditto
2006 (acceptChange): ditto
2007 (insertChar): adjust
2008 (rowBreakPoint): adjust
2010 * bufferview_funcs.C (toggleAndShow): adjust
2012 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2014 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2015 methods to access it.
2017 * text.C: Added updateRowPositions to compute all row positions.
2018 Make top_y and getRowNearY() to use the cached y position
2020 2003-04-11 John Levon <levon@movementarian.org>
2022 * text.C (rowBreakPoint): reintroduce the labelEnd
2023 checks, code copied from the row fill stuff. Deep voodoo.
2025 * text.C (fill): add a comment and debugging for the
2028 2003-04-11 John Levon <levon@movementarian.org>
2030 * text.C: make sure fullrow insets get wrapped to the next line,
2031 even when they're in a manual label
2033 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2035 * text2.C (insertParagraph): make it take ParagraphList::iterator
2037 (setLayout): make it return ParagraphList::iterator
2038 (redoParagraphs): ditto
2040 (checkParagraph): ditto
2042 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2044 * text2.C: adjust several funcs.
2045 (realizeFont): take a ParagraphList::iterator as arg.
2046 (getLayoutFont): ditto
2047 (getLabelFont): ditto
2048 (setCharFont): ditto
2050 * text.C: adjust several funcs.
2052 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2054 * text.C (selectNextWordToSpellcheck): don't accidentally
2057 2003-04-10 John Levon <levon@movementarian.org>
2059 * ToolbarBackend.C (getIcon): special handling for
2062 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2064 * text2.C (cursorRight): a getChar assert fixed
2066 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * text2.C (getFont): change to take a ParagraphList::iterator
2069 instead of Paragraph*
2070 Adjust several functions.
2072 * text.C (transformChar): change to take a ParagraphList::iterator
2073 instead of Paragraph*
2074 (singleWidth): ditto
2075 Adjust several functions.
2077 * rowpainter.C: adjust several functions
2078 * rowpainter.h:store a ParagraphList::iterator and not a
2082 2003-04-09 John Levon <levon@movementarian.org>
2087 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2088 and the "help" bits as well
2090 2003-04-09 John Levon <levon@movementarian.org>
2093 * ToolbarBackend.C: allow multiple toolbars
2095 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * undo_funcs.C (setCursorParUndo): adjust
2099 * text_funcs.C (transposeChars): adjust
2101 * text3.C (gotoNextInset): adjust
2104 * text2.C (setLayout): adjust
2105 (changeDepth): adjust
2107 (redoParagraphs): adjust
2108 (selectionAsString): adjust
2109 (setParagraph): adjust
2110 (insertInset): adjust
2111 (cutSelection): adjust
2112 (copySelection): adjust
2113 (pasteSelection): adjust
2114 (insertStringAsLines): adjust
2115 (updateInset): adjust
2116 (setCursor): change to take a ParagraphList::iterator parameter
2117 (setCursorIntern): change to take a ParagraphList::iterator parameter
2118 (setCurrentFont): adjust
2119 (cursorLeft): adjust
2120 (cursorRight): adjust
2121 (deleteEmptyParagraphMechanism): adjust
2123 * text.C (breakParagraph): adjust
2124 (insertChar): adjust
2125 (acceptChange): adjust
2126 (rejectChange): adjust
2127 (selectNextWordToSpellcheck): adjust
2128 (changeCase): adjust
2132 * lyxfind.C (SearchForward): adjust
2133 (SearchBackward): adjust
2134 (nextChange): adjust
2136 * lyxcursor.C (par): adjust
2138 * lyxcursor.h: store a ParagraphList::iterator instead of a
2141 * lyx_cb.C (getPossibleLabel): adjust
2143 * bufferview_funcs.C (toggleAndShow): adjust
2145 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2148 * BufferView.C (removeAutoInsets): adjust
2149 (lockedInsetStoreUndo): adjust
2151 2003-04-09 John Levon <levon@movementarian.org>
2153 * ToolbarBackend.C: try icon without argument
2154 if with argument fails
2156 2003-04-08 John Levon <levon@movementarian.org>
2159 * ToolbarBackend.C: add getIcon(), handle tooltip,
2160 and change from "Icon" to "Item".
2162 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2164 * BufferView.C (lockInset): another bad getchar crunched
2166 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2168 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2171 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2173 * lyxfind.C (searchForward, searchBackwards): bug 782
2175 2003-04-07 John Levon <levon@movementarian.org>
2177 * paragraph.C: remove dead comment
2179 * text.C: remove troublesome depth-fiddling code
2180 in leftMargin() and rightMargin() (bug 1017)
2182 * text.C: fix breaking of rows in nested lists
2185 * text2.C (updateCounters): fix up depth values
2188 2003-04-07 John Levon <levon@movementarian.org>
2190 * BufferView_pimpl.C: clear message when doc finishes resizing,
2191 and after a mouse event
2193 * lyxfunc.C: clear message after exiting inset
2195 2003-04-07 John Levon <levon@movementarian.org>
2197 * bufferview_funcs.C: show math status not outside
2198 status in the statusbar
2200 2003-04-07 John Levon <levon@movementarian.org>
2202 * lyxfunc.C: note status changed after a depth change
2204 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2206 * LaTeX.h: move AuxInfo operator==, != out of line.
2207 Remove LaTeX virtual destructor; nothing derives from it.
2208 Move operator()() out of public area and rename it startscript().
2209 Change protected for private.
2211 2003-04-04 Angus Leeming <leeming@lyx.org>
2214 * text2.C: remove unneeded #includes.
2216 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2218 * text2.C (dEPM): fix the heigth of the next row
2220 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2222 * text.C: squashed an invalid getChar requester + some ws changes
2224 2003-04-03 John Levon <levon@movementarian.org>
2226 * bufferview_funcs.h:
2227 * bufferview_funcs.C:
2230 * text2.C: make getStatus work for the env depth lfuns
2232 2003-04-03 John Levon <levon@movementarian.org>
2234 * bufferview_funcs.h:
2235 * bufferview_funcs.C:
2238 * text2.C: parlistize decDepth(), by merging it with incDepth()
2240 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2242 * lyxrow.h: store a ParagraphList::iterator instead of a
2243 Paragraph* and adjust other class functions to suit.
2245 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2248 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2250 * text2.C (setCursor): do not anchor to cursor row for the time being
2252 2003-04-02 John Levon <levon@movementarian.org>
2259 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2261 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2263 * paragraph.h: make ParagraphList and ParagraphList::iterator
2264 friends of Paragraph.
2266 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2268 * ParagraphList.C: Use the private next_ and previous_ from
2271 2003-04-01 John Levon <levon@movementarian.org>
2275 * Makefile.am: rename, remove defaults gunk
2278 * MenuBackend.C: remove defaults gunk
2281 * Languages.C: remove defaults gunk
2284 * lyx_main.C: error out if files couldn't be found.
2286 2003-04-02 John Levon <levon@movementarian.org>
2288 * text2.C: make incDepth() use parlist
2290 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2292 * undo_funcs.C (firstUndoParagraph): adjust
2294 * text3.C (gotoInset): adjust
2295 (dispatch): adjust, and rewrite loop.
2297 * text2.C (init): adjust, and rewrite loop.
2298 (redoParagraphs): adjust
2299 (updateInset): adjust, and rewrite loop.
2300 (deleteEmptyParagraphMechanism): adjust
2302 * tabular.C (LyXTabular): adjust
2303 (SetMultiColumn): adjust
2306 * lyxtext.[Ch] (ownerParagraph): delete function
2307 (ownerParagraphs): new function returns a ParagraphList.
2309 * BufferView.C (removeAutoInsets): adjust
2310 (insertErrors): adjust
2311 (setCursorFromRow): adjust
2313 2003-04-01 Angus Leeming <leeming@lyx.org>
2315 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2318 2003-04-02 John Levon <levon@movementarian.org>
2324 * text_funcs.C: make transposeChars a free function
2326 * lyxrow_funcs.C: remove wrong comment
2328 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * rowpainter.C: adjust
2336 * lyxrow_funcs. [Ch]: new files
2338 * lyxrow.[Ch]: remove next and previous pointers
2339 (next,previous): remove accessor functions
2340 (isParEnd): move to lyxrow_funcs
2341 (lastPos): move to lyxrow_funcs
2342 (nextRowIsAllInset): move to lyxrow_funcs
2343 (lastPrintablePos): move to lyxrow_funcs
2344 (numberOfSeparators): move to lyxrow_funcs
2345 (numberOfHfills): move to lyxrow_funcs
2346 (numberOfLabelHfills): move to lyxrow_funcs
2347 (hfillExpansion): move to lyxrow_funcs
2351 * bufferview_funcs.C (toggleAndShow): adjust
2353 * RowList.h: Remove class RowList from file leave just a
2356 * RowList.C: delete file
2358 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2361 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2363 * text3.C (cursorPrevious): adjust
2364 (cursorNext): adjust
2367 * text2.C (redoHeightOfParagraph): adjust
2368 (redoDrawingOfParagraph): adjust
2371 * text.C (breakParagraph): adjust
2372 (insertChar): adjust
2375 * rowpainter.C (RowPainter): adjust
2376 (leftMargin): simplify and adjust
2377 (most rowpainter functions): adjust.
2379 * rowpainter.h: store the row as RowList::iterator not as Row*
2381 * lyxcursor.C (row): taka RowList::iterator as arg
2384 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2387 2003-04-01 Angus Leeming <leeming@lyx.org>
2389 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2390 stuff like bool Bool.
2392 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2394 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2397 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2402 * lyxtext.h (rows): drop one version and leve a const variant that
2403 returns a RowList::iterator.
2405 2003-03-31 Angus Leeming <leeming@lyx.org>
2407 * text.C (fill): ensure that the signature is the same as that in the
2410 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * text2.C (redoParagraphs): adjust
2413 (updateCounters): adjust
2414 (checkParagraph): adjust
2415 (getColumnNearX): adjust and reformat a bit.
2417 * text.C (top_y): adjust
2419 (leftMargin): adjust
2420 (prepareToPrint): adjust
2422 (getRowNearY): adjust
2424 * lyxtext.h: make rowlist_ mutable.
2426 * RowList.h: add const_iterator
2427 * RowList.C: adjust for RowList::const_iterator.
2429 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2432 2003-03-31 John Levon <levon@movementarian.org>
2435 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2437 * lyx_main.C: set default fonts from using lyx_gui funcs
2439 * exporter.C: pdf_mode moved from lyxrc
2442 * lyxfunc.C: changes from above
2444 2003-03-31 John Levon <levon@movementarian.org>
2446 * lyx_main.C: fix to the last fix
2448 2003-03-31 John Levon <levon@movementarian.org>
2450 * bufferlist.C: "Load original" -> "Load Original"
2456 * format.C: more Alert cleanups
2458 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * text2.C (removeParagraph): make it take a RowList::iterator as
2462 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2463 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2465 * text.C (anchor_row): make it take a RowList::iterator as arg,
2467 (computeBidiTables): make it take a const reference to Row instead
2468 of Row pointer, adjust.
2469 (leftMargin): make it take a RowList::iterator as arg, adjust.
2470 (rowBreakPoint): adjust
2471 (breakAgainOneRow): make it take a RowList::iterator as arg,
2473 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2475 * bufferview_funcs.C (toggleAndShow): adjust
2477 2003-03-30 John Levon <levon@movementarian.org>
2481 * boost-inst.C: moved to support
2483 * several files: changes as a result
2485 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * text2.C (LyXText): adjust.
2489 (removeRow): make it take a RowList::iterator as arg, adjust.
2490 (fullRebreak): adjust
2491 (deleteEmptyParagraphMechanism): adjust
2492 (clearPaint): adjust
2495 * text.C (top_y): adjust
2496 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2497 (breakAgain): make it take a RowList::iterator as arg, adjust.
2498 (breakParagraph): adjust
2499 (insertChar): adjust
2502 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2503 need_break_row, and refresh_row.
2505 * text3.C (dispatch): adjust
2507 * text2.C (checkParagraph): adjust
2509 (setCursorFromCoordinates): adjust
2511 * text.C (top_y): adjust
2513 (getRow): make it return a RowList::iterator, adjust
2514 (getRowNearY): make it return a RowList::iterator, adjust
2516 * text2.C (init): adjust
2517 (insertRow): remove function
2518 (insertParagraph): adjust
2519 (redoParagraphs): adjust
2520 (fullRebreak): adjust
2521 (updateCounters): adjust
2523 * text.C (top_y): rewrite to use RowList iterators.
2525 (setHeightOfRow): rewrite to sue RowList iterators.
2526 (appendParagraph): adjust
2527 (breakAgain): adjust
2528 (breakAgainOneRow): adjust
2529 (breakParagraph): adjust
2531 (getRowNearY): adjust, and remove commented code.
2533 * lyxtext.h (firstRow): delete function
2534 (lastRow): delete function
2535 (rows): new function (const and non-const versions.)
2536 (insertRow): delete function
2538 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2540 2003-03-29 John Levon <levon@movementarian.org>
2542 * BufferView_pimpl.C: always update scrollbar top
2543 because pasting text when we're anchored could mean we
2544 miss an update altogether
2546 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2548 * text2.C (init): use rowlist_.end() and not 0.
2549 (insertRow): change to take a RowList::iterator as arg, adjust
2551 (insertParagraph): change to take a RowList::iterator as arg,
2553 (redoParagraphs): remove some debug msgs.
2555 * text.C (appendParagraph): change to take a RowList::iterator
2556 arg, adjust for this.
2557 (breakAgain): add an assert
2558 (breakAgainOneRow): ditto
2560 2003-03-29 John Levon <levon@movementarian.org>
2562 * text2.C: do not clear selection after inc/decDepth
2565 2003-03-29 John Levon <levon@movementarian.org>
2568 * buffer.C: fix broken strerrors according to Lars
2570 2003-03-29 John Levon <levon@movementarian.org>
2572 * converters.C: more Alert cleanups
2574 2003-03-29 John Levon <levon@movementarian.org>
2576 * bufferview_funcs.C: remove pointless Alert
2578 * buffer.C: fix confusing error message when
2579 a template is chmoded 000
2581 2003-03-29 John Levon <levon@movementarian.org>
2585 * BufferView_pimpl.C: Alert fixes
2589 * tabular-old.C: remove unused table compat reading
2591 2003-03-29 John Levon <levon@movementarian.org>
2596 * lyx_cb.C: more Alert cleanups
2598 * lyxfunc.C: don't allow chktex if not latex document
2600 2003-03-29 John Levon <levon@movementarian.org>
2604 * buffer.C: warnings pushed down from support/,
2607 2003-03-29 John Levon <levon@movementarian.org>
2609 * lyxfunc.C: safety check for C-r (revert)
2611 2003-03-29 John Levon <levon@movementarian.org>
2614 * bufferlist.C: several UI fixes using Alert::prompt.
2615 Fix the pointless looping quit code. Fix stupid revert
2620 * lyx_cb.C: use Alert::prompt
2622 * lyx_main.C: remove a silly question
2624 * lyxfunc.C: remove a couple of silly questions,
2627 2003-03-28 John Levon <levon@movementarian.org>
2629 * text2.C: fix bug 974 (End on empty par)
2631 2003-03-28 John Levon <levon@movementarian.org>
2633 * BufferView_pimpl.C:
2635 * lfuns.h: remove do-nothing math greek lfuns
2637 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * lyxgluelength.h (isValidGlueLength): add default arg on
2640 parameter 2. Remove default arg from friend in class.
2642 * lyxlength.h (isValidLength): add default arg on parameter 2.
2643 Remove default arg from friend in class.
2645 * text2.C (LyXText): adjust, initialize refresh_row.
2649 (insertParagraph): adjst
2650 (redoParagraphs): adjust
2651 (fullRebreak): adjust
2652 (updateCounters): adjust
2653 (deleteEmptyParagraphMechanism): first attempt at fixing a
2656 * text.C (top_y): adjust
2657 (setHeightOfRow): adjust
2659 (getRowNearY): adjust
2661 * lyxtext.h: include RowList.h
2662 (~LyXText): not needed anymore, deleted.
2663 (firstRow): modify for RowList
2664 (lastRow): new function
2665 Delete firstrow and lastrow class variables, add a Rowlist
2666 rowlist_ class variable.
2668 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2671 * RowList.C (insert): fix case where it == begin().
2673 2003-03-26 Angus Leeming <leeming@lyx.org>
2675 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2676 the thesaurus dialog.
2678 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2682 * RowList.[Ch]: new files
2684 * ParagraphList.C (erase): handle the case where it == begin
2687 2003-03-25 John Levon <levon@movementarian.org>
2691 * aspell.C: add new aspell support
2694 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2697 2003-03-25 Angus Leeming <leeming@lyx.org>
2700 * LyXAction.C (init): new LFUN_INSET_INSERT.
2702 * BufferView_pimpl.C (dispatch): split out part of the
2703 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2705 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2708 2003-03-25 Angus Leeming <leeming@lyx.org>
2710 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2712 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2715 * text3.C: remove useless row->height(0)
2717 2003-03-25 John Levon <levon@movementarian.org>
2721 * text3.C: rename the refreshing stuff to better names
2723 2003-03-24 John Levon <levon@movementarian.org>
2725 * BufferView_pimpl.h:
2726 * BufferView_pimpl.C: update layout choice on a mouse
2729 2003-03-23 John Levon <levon@movementarian.org>
2731 * Makefile.am: fix commandtags.h reference
2733 2003-03-22 John Levon <levon@movementarian.org>
2735 * BufferView_pimpl.C:
2740 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2742 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2745 * text.C: take the rtl methods out of line
2747 2003-03-21 André Pönitz <poenitz@gmx.net>
2749 * metricsinfo.[Ch]: new files containing structures to be passed around
2750 during the two-phase-drawing...
2752 2003-03-21 André Pönitz <poenitz@gmx.net>
2754 * lyxtextclass.C: read 'environment' tag.
2756 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2758 * text2.C (removeRow): fix bug 964
2760 2003-03-20 John Levon <levon@movementarian.org>
2764 * text2.C: paint cleanups. Inset::update() dropped font
2767 2003-03-19 John Levon <levon@movementarian.org>
2769 * lyxfunc.C: only fitcursor/markDirty if available()
2771 2003-03-19 John Levon <levon@movementarian.org>
2773 * commandtags.h: rename to ...
2775 * lfuns.h: ... this, and renumber / cleanup
2777 2003-03-19 John Levon <levon@movementarian.org>
2779 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2780 fit the cursor after an lfun
2784 * BufferView_pimpl.h:
2785 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2787 * LyXAction.C: layout-character should have ReadOnly
2789 * ParagraphParameters.C:
2791 * bufferview_funcs.C:
2798 * undo_funcs.C: changes from above
2800 2003-03-18 John Levon <levon@movementarian.org>
2802 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2803 remove it from update()
2805 * lyxfunc.C: update layout choice after an lfun
2807 * text3.C: remove extra updateLayoutChoice()s
2809 2003-03-18 John Levon <levon@movementarian.org>
2811 * text.C: top_y change means full repaint, fix
2812 a drawing bug with cursor movement
2814 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2818 * text2.C: anchor row on setCursor
2820 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2822 * lyxtext.h: remove almost all mutable keywords
2825 * text3.C: remove const keywords accordingly
2827 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2831 (TeXEnvironment): ditto
2834 2003-03-17 John Levon <levon@movementarian.org>
2836 * text.C (rowBreakPoint): remove attempt to fix displayed
2837 math insets inside a manual label
2839 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * lyxtext.h: remove BufferView* as first arg from almost all class
2843 * other files: adjust.
2845 2003-03-17 John Levon <levon@movementarian.org>
2849 * text2.C: more paint cleanups
2851 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2854 * rowpainter.C: remove "smart" background painting code
2856 2003-03-16 John Levon <levon@movementarian.org>
2861 * text3.C: add helper functions for setting refresh_row/y
2863 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2865 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2866 newline inset which *can* get inserted in the pass_thru layouts.
2867 This is primarily for literate documents.
2869 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2871 * buffer.C: increment LYX_FORMAT to 223
2873 2003-03-14 André Pönitz <poenitz@gmx.net>
2875 * textclass.h: prepare for environment handling, ws changes
2876 * lyxlayout.C: read latexheader and latexfooter tags
2878 2003-03-14 John Levon <levon@movementarian.org>
2880 * text2.C: rewrite ::status() a bit
2882 2003-03-13 John Levon <levon@movementarian.org>
2884 * lyxtext.h: add some docs
2886 2003-03-13 John Levon <levon@movementarian.org>
2891 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2893 2003-03-13 John Levon <levon@movementarian.org>
2895 * text3.C: fix appendix redrawing
2897 2003-03-13 John Levon <levon@movementarian.org>
2899 * text.C (setHeightOfRow):
2901 * rowpainter.C: make appendix mark have the text
2902 "Appendix" so the user knows what it is
2905 * LColor.C: s/appendixline/appendix/ from above
2907 2003-03-13 John Levon <levon@movementarian.org>
2909 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2911 * text.C: fix a getChar(pos) bug properly
2913 2003-03-13 Angus Leeming <leeming@lyx.org>
2916 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2917 Probably only temporary. Let's see how things pan out.
2919 * BufferView.C (unlockInset):
2920 * BufferView_pimpl.C (fitCursor):
2921 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2923 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2924 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2926 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2927 new functions that convert ParagraphParameters to and from a string.
2929 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2930 BufferView::Pimpl's dispatch.
2931 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2933 2003-03-13 André Pönitz <poenitz@gmx.net>
2937 * factory.C: make it aware of InsetEnv
2939 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * text2.C (setCursor): never ask for one past last
2942 (setCursor): add some debugging messages.
2944 * text.C (singleWidth): never ask for one past last
2945 (singleWidth): ditto
2947 (rightMargin): ditto
2948 (rowBreakPoint): ditto
2949 (setHeightOfRow): ditto
2950 (prepareToPrint): ditto
2952 * rowpainter.C (paintBackground): never ask for one past last
2953 (paintText): never ask for one past last
2955 * paragraph_pimpl.C (getChar): make the assert stricter, never
2956 allow the one past last pos to be taken
2958 * paragraph.C (getChar): ws changes only
2960 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2961 (numberOfSeparators): ditto
2962 (numberOfHfills): ditto
2964 2003-03-12 John Levon <levon@movementarian.org>
2970 * paragraph_funcs.C: fix per-buffer authorlists
2972 2003-03-12 John Levon <levon@movementarian.org>
2974 * text.C: fix newline in right address
2976 2003-03-12 Angus Leeming <leeming@lyx.org>
2978 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2979 duplicate those in LyXFunc::dispatch.
2983 * ToolbarDefaults.C:
2984 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2985 Add LFUN_FONTFREE_UPDATE.
2987 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2988 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2990 * bufferview_func.[Ch]: several new functions to facilliate
2991 transfer of data to and from the character dialog.
2993 2003-03-12 John Levon <levon@movementarian.org>
2998 * paragraph_funcs.C:
2999 * paragraph_pimpl.C:
3003 * text3.C: remove META_NEWLINE in favour of an inset
3006 * rowpainter.C: remove paintNewline (done by inset)
3008 2003-03-12 John Levon <levon@movementarian.org>
3010 * paragraph_pimpl.C: complain about bad getChar()s
3011 for a while at least
3013 2003-03-12 John Levon <levon@movementarian.org>
3016 * buffer.C: move paragraph read into a separate function,
3017 a little renaming to reflect that.
3020 * bufferparams.C: remove the author_ids map, not necessary now
3023 * factory.C: moved Buffer::readInset to here
3025 * paragraph_funcs.h:
3026 * paragraph_funcs.C: readParagraph free function moved from
3029 * tabular.C: name change
3031 2003-03-12 John Levon <levon@movementarian.org>
3034 * ParagraphParameters.C: move par params input to
3037 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3038 behave like a normal read from the stream wrt reading
3039 a line vs. a \\token
3041 2003-03-12 John Levon <levon@movementarian.org>
3044 * ParagraphParameters.h:
3045 * ParagraphParameters.C: move output code to a
3048 2003-03-12 John Levon <levon@movementarian.org>
3050 * BufferView.C (insertLyXFile):
3053 * tabular.C: use a parlist iterator for creating the
3056 2003-03-12 John Levon <levon@movementarian.org>
3058 * buffer.C: make current_change static local not
3061 2003-03-12 John Levon <levon@movementarian.org>
3063 * buffer.C: fix insertStringAsLines for change tracking
3065 2003-03-12 John Levon <levon@movementarian.org>
3072 * bufferparams.C: move author list into params. Rename some
3073 functions. Move the header reading into a separate token
3074 loop. Move the header token reading into BufferParams.
3076 2003-03-12 John Levon <levon@movementarian.org>
3078 * changes.C: put debug inside lyxerr.debugging() checks
3080 2003-03-11 André Pönitz <poenitz@gmx.net>
3082 * factory.C: make it aware of InsetHFill
3084 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3086 * buffer.C (latexParagraphs): move function from here...
3087 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3090 2003-03-10 Angus Leeming <leeming@lyx.org>
3092 * LyXAction.C (init): fix bug in poplating array with multiple entries
3093 with the same LFUN (spotted by JMarc).
3095 2003-03-10 John Levon <levon@movementarian.org>
3098 * text2.C: move getColumnNearX() near its
3101 2003-03-10 John Levon <levon@movementarian.org>
3103 * text.C: fix break before a minipage
3105 2003-03-10 John Levon <levon@movementarian.org>
3107 * text.C: fix the last commit
3109 2003-03-09 John Levon <levon@movementarian.org>
3113 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3114 bug 365 (don't break before insets unless needed). Don't
3115 return a value > last under any circumstances.
3117 2003-03-09 Angus Leeming <leeming@lyx.org>
3119 * BufferView_pimpl.C (trackChanges, dispatch): call
3120 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3122 2003-03-09 Angus Leeming <leeming@lyx.org>
3124 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3125 than Dialogs::showAboutlyx().
3127 2003-03-09 Angus Leeming <leeming@lyx.org>
3129 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3130 than Dialogs::showTabularCreate().
3132 2003-03-09 John Levon <levon@movementarian.org>
3136 * text2.C: 3rd arg to nextBreakPoint was always the same.
3139 2003-03-08 John Levon <levon@movementarian.org>
3146 * text2.C: Remove the "main" bit from the "main body"
3149 2003-03-08 John Levon <levon@movementarian.org>
3151 * text.C (leftMargin): The left margin of an empty
3152 manual label paragraph should not include the label width
3155 * text.C (prepareToPrint): don't attempt to measure hfills
3156 for empty manual label paragraphs - the answer should be 0
3158 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * CutAndPaste.C: remove commented code and reindent.
3162 2003-03-08 John Levon <levon@movementarian.org>
3165 * lyxfunc.C: move reloadBuffer()
3168 * BufferView.C: to here
3170 * lyxvc.C: add comment
3173 * vc-backend.C: call bv->reload() to avoid
3174 getStatus() check on MENURELOAD
3176 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3178 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3179 to an old format .dep file.
3181 2003-03-07 Angus Leeming <leeming@lyx.org>
3183 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3184 when the LFUN_MOUSE_RELEASE should have been handled by
3185 inset->localDispatch.
3187 2003-03-07 Angus Leeming <leeming@lyx.org>
3189 * BufferView_pimpl.C (dispatch):
3190 * LyXAction.C (init):
3191 * ToolbarDefaults.C (init):
3193 * lyxfunc.C (getStatus):
3194 remove LFUN_INSET_GRAPHICS.
3196 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3198 2003-03-07 Angus Leeming <leeming@lyx.org>
3201 * LyXAction.C (init):
3202 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3204 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3207 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3209 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3210 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3212 2003-03-07 Angus Leeming <leeming@lyx.org>
3214 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3217 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * ParagraphList.C (front): new function
3222 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3224 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3225 and top_row_offset_. removed var first_y.
3227 * text2.C (LyXText, removeRow):
3229 * BufferView_pimpl.C:
3230 use these methods instead of using first_y
3232 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3234 * text2.C (pasteSelection): adjust for checkPastePossible
3236 * CutAndPaste.C: remove Paragraph * buf and replace with
3237 ParagraphList paragraphs.
3238 (DeleteBuffer): delete
3239 (cutSelection): change the tc type to textclass_type
3240 (copySelection): change the tc type to textclass_type
3241 (copySelection): adjust for ParagraphList
3242 (pasteSelection): change the tc type to textclass_type
3243 (pasteSelection): adjust for Paragraphlist
3244 (nrOfParagraphs): simplify for ParagraphList
3245 (checkPastePossible): simplify for ParagraphList
3246 (checkPastePossible): remove unused arg
3248 * ParagraphList.C (insert): handle the case where there are no
3251 * CutAndPaste.h: make CutAndPaste a namespace.
3253 * text3.C (dispatch): adjust
3255 * text.C (breakParagraph): add a ParagraphList as arg
3257 * paragraph_funcs.C (breakParagraph): change to take a
3258 BufferParams and a ParagraphList as args.
3259 (breakParagraphConservative): ditto
3260 (mergeParagraph): ditto
3261 (TeXDeeper): add a ParagraphList arg
3262 (TeXEnvironment): ditto
3265 * buffer.C (readLyXformat2): adjust
3266 (insertStringAsLines): adjust
3267 (latexParagraphs): adjust
3269 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3270 (cutSelection): adjust
3271 (pasteSelection): adjust
3273 * BufferView_pimpl.C (insertInset): adjust
3275 2003-03-05 Angus Leeming <leeming@lyx.org>
3278 * LyXAction.C (init):
3279 * BufferView_pimpl.C (dispatch):
3280 * lyxfunc.C (getStatus):
3281 remove LFUN_CHILD_INSERT.
3283 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3285 2003-03-05 Angus Leeming <leeming@lyx.org>
3288 * LyXAction.C (init):
3289 * src/factory.C (createInset):
3290 * lyxfunc.C (getStatus):
3291 * text3.C (dispatch):
3292 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3294 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3296 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3298 * ParagraphList.C (insert): handle insert right before end()
3299 (erase): fix cases where it can be first or last paragraph.
3301 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3303 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3304 Paragraph::next and Paragraph::previous
3307 * text.C (breakParagraph): adjust
3309 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3310 BufferParams& as arg.
3311 (breakParagraph): use ParagraphList::insert
3312 (breakParagraphConservative): take a Buffer* instead of a
3313 BufferParams& as arg.
3314 (breakParagraphConservative): use ParagraphList::insert.
3316 * buffer.C (insertStringAsLines): un-const it
3317 (insertStringAsLines): adjust
3319 * ParagraphList.C (insert): new function
3321 * CutAndPaste.C (pasteSelection): adjust
3323 * text.C (backspace): adjust
3325 * tabular.C (SetMultiColumn): adjust
3327 * CutAndPaste.C (cutSelection): adjust
3328 (pasteSelection): adjust
3330 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3331 Buffer const * as arg
3333 * ParagraphList.C (erase): new function
3334 * paragraph_funcs.C (mergeParagraph): use it
3335 (mergeParagraph): make it take a Buffer* instead of a
3336 BufferParams* as arg
3338 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3340 (breakParagraphConservative): ditto
3342 * paragraph.h: remove the breakParagraph friend
3344 * paragraph.C (eraseIntern): new function
3345 (setChange): new function
3347 * paragraph_funcs.C (mergeParagraph): make it take a
3348 ParagraphList::iterator instead of a Paragraph *, adjust
3351 * paragraph.h: move an #endif so that the change tracking stuff
3352 also works in the NO_NEXT case.
3354 2003-03-04 Angus Leeming <leeming@lyx.org>
3357 * LyXAction.C: new LFUN_INSET_MODIFY.
3359 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3360 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3362 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3364 * several files: ws changes only
3366 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3367 (TeXEnvironment): ditto
3370 * buffer.C (makeLaTeXFile): adjust
3371 (latexParagraphs): make it take ParagraphList::iterator as args
3373 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * buffer.C (latexParagraphs): adjust
3377 * paragraph.C (TeXOnePar): move function...
3378 (optArgInset): move function...
3379 (TeXEnvironment): move function...
3380 * paragraph_pimpl.C (TeXDeeper): move function...
3381 * paragraph_funcs.C: ...here
3383 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3385 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * buffer.C (readInset): remove compability code for old Figure and
3390 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * buffer.C: ws changes
3395 * BufferView_pimpl.C: ditto
3398 * bufferlist.h: ditto
3402 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3404 * converter.[Ch]: split into itself +
3407 * Makefile.am: += graph.[Ch] + format.[Ch]
3414 * lyxrc.C: added #include "format.h"
3416 2003-02-27 Angus Leeming <leeming@lyx.org>
3418 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3421 * factory.C (createInset): add "label" to the factory.
3423 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3424 string and do no more.
3426 2003-02-27 Angus Leeming <leeming@lyx.org>
3429 * LyXAction.C (init):
3430 * factory.C (createInset):
3431 * BufferView_pimpl.C (dispatch):
3432 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3434 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3436 * lyxfunc.C (dispatch):
3437 * text3.C (dispatch): pass name to params2string.
3439 2003-02-26 Angus Leeming <leeming@lyx.org>
3441 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3443 Rearrange the ~includes. Strip out the unnecessary ones.
3445 * factory.C (createInset): reformat.
3446 create new insets for the various LFUN_XYZ_APPLY lfuns.
3448 2003-02-26 John Levon <levon@movementarian.org>
3451 * lyxrow.C: add isParStart,isParEnd helpers
3453 * paragraph.h: make isInserted/DeletedText take refs
3455 * paragraph_funcs.h:
3456 * paragraph_funcs.C: remove #if 0'd code
3461 * text.C: use lyxrow helpers above.
3462 Move draw and paint routines to RowPainter.
3463 Make several methods use refs not pointers.
3464 Make backgroundColor() const.
3465 Add markChangeInDraw(), isInInset().
3466 Merge changeRegionCase into changeCase.
3467 Make workWidth() shouldn't-happen code into an Assert.
3470 * rowpainter.C: new class for painting a row.
3473 * vspace.C: make inPixels take a ref
3475 2003-02-26 Angus Leeming <leeming@lyx.org>
3477 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3480 2003-02-25 John Levon <levon@movementarian.org>
3482 * ispell.C: give the forked command a more accurate name
3484 2003-02-22 John Levon <levon@movementarian.org>
3487 * toc.C: make TocItem store an id not a Paragraph *
3490 2003-02-21 Angus Leeming <leeming@lyx.org>
3492 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3493 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3494 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3495 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3496 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3497 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3499 * BufferView_pimpl.C (dispatch):
3500 * LyXAction.C (init):
3501 * factory.C (createInset):
3502 * lyxfunc.C (getStatus, dispatch):
3503 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3505 2003-02-21 Angus Leeming <leeming@lyx.org>
3507 * BufferView_pimpl.C (MenuInsertLyXFile):
3508 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3509 * lyxfunc.C (menuNew, open, doImport):
3510 no longer pass a LyXView & to fileDlg.
3512 2003-02-21 Angus Leeming <leeming@lyx.org>
3514 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3515 * LyXAction.C: change, BIBKEY to BIBITEM.
3516 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3517 Change InsetBibKey to InsetBibitem.
3518 Change BIBKEY_CODE to BIBITEM_CODE.
3519 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3520 * factory.C: replace insetbib.h with insetbibitem.h.
3521 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3522 * paragraph.C: replace insetbib.h with insetbibitem.h.
3523 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3524 Change bibkey() to bibitem().
3525 * text.C: remove insetbib.h.
3526 * text2.C: replace insetbib.h with insetbibitem.h.
3527 change bibkey() to bibitem().
3528 * text3.C: remove insetbib.h.
3529 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3531 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3533 * lyxrc.C (output): enclose user email in quotes (in case there are
3536 2003-02-18 John Levon <levon@movementarian.org>
3538 * buffer.h: add std::
3540 2003-02-17 John Levon <levon@movementarian.org>
3546 * pspell.C: reworking. Especially in ispell, a large
3547 number of clean ups and bug fixes.
3549 * lyxfunc.C: fix revert to behave sensibly
3551 2003-02-17 André Pönitz <poenitz@gmx.net>
3554 * commandtags.h: new LFUN_INSERT_BIBKEY
3564 * paragraph_func.C: remove special bibkey handling
3566 2003-02-17 John Levon <levon@movementarian.org>
3568 * text.C (Delete): fix case where delete at the end of
3569 the very first paragraph would not merge the pars
3571 2003-02-17 John Levon <levon@movementarian.org>
3573 * lyxrow.C: fix lastPrintablePos()
3575 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3577 * bufferparams.C (writeLaTeX): add a std:here
3579 * buffer.C: and remove a using directive there
3581 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3583 * buffer.C (makeLaTeXFile): move the code that generates the
3586 * bufferparams.C (writeLaTeX): ... in this new method
3588 * LaTeXFeatures.C (getEncodingSet): make const
3589 (getLanguages): make const
3591 * MenuBackend.C (binding): returns the binding associated to this
3593 (add): sets the status of each item by calling getStatus. Adds
3595 (read): add support for OptSubMenu
3596 (expand): remove extra separator at the end of expanded menu
3598 2003-02-15 John Levon <levon@movementarian.org>
3601 * BufferView_pimpl.C:
3603 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3604 inset code that had no actual effect. Remove unneeded status
3607 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3609 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3612 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3614 * text.C (drawLengthMarker): also draw an arrow marker for
3615 symbolic lengths (medskip...)
3617 2003-02-14 John Levon <levon@movementarian.org>
3620 * tabular.C: better method names
3622 2003-02-14 John Levon <levon@movementarian.org>
3624 * BufferView_pimpl.C:
3629 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3630 it's a more accurate name. Remove some pointless uses.
3632 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3634 * text2.C (LyXText): change order of initilizers to shut off
3637 2003-02-14 John Levon <levon@movementarian.org>
3639 * buffer.C: use ParIterator for getParFromID()
3643 * paragraph_pimpl.h:
3644 * paragraph_pimpl.C: remove unused getParFromID()
3646 2003-02-14 John Levon <levon@movementarian.org>
3648 * buffer.C: remove some very old #if 0'd parse code
3650 2003-02-13 John Levon <levon@movementarian.org>
3654 * text2.C: move hfillExpansion(), numberOfSeparators(),
3655 rowLast(), rowLastPrintable(), numberofHfills(),
3656 numberOfLabelHfills() ...
3659 * lyxrow.C: ... to member functions here.
3664 * text.C: remove LyXText::beginningOfMainBody(), and call
3665 p->beginningOfMainBody() directly. Move the check for
3666 LABEL_MANUAL into the latter.
3673 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3679 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3680 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3682 2003-02-13 John Levon <levon@movementarian.org>
3684 * CutAndPaste.C: remove debug
3686 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3688 * paragraph.C (asString): remove two unused variables
3690 * lyxtextclass.C (readTitleType):
3692 (LyXTextClass): handle new members titletype_ and titlename_
3694 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3696 2003-02-09 John Levon <levon@movementarian.org>
3699 * buffer.C: replace hand-coded list with a map for the dep clean
3701 2003-02-08 John Levon <levon@movementarian.org>
3703 * LaTeX.C: consolidate code into showRunMessage() helper
3705 2003-02-08 John Levon <levon@movementarian.org>
3710 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3711 and pass the size in explicitly
3713 * BufferView_pimpl.h:
3714 * BufferView_pimpl.C:
3716 * BufferView.C: add getCurrentChange()
3718 * BufferView_pimpl.h:
3719 * BufferView_pimpl.C: handle change lfuns
3721 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3722 for changes. Mark pasted paragraphs as new.
3724 * support/lyxtime.h:
3725 * support/lyxtime.C:
3726 * DepTable.C: abstract time_t as lyx::time_type
3729 * LColor.C: add colours for new text, deleted text, changebars
3731 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3732 package use "usenames" option.
3736 * LyXAction.C: add change lfuns
3740 * author.C: author handling
3743 * buffer.C: add a per-buffer author list, with first entry as
3744 current author. Handle new .lyx tokens for change tracking. Output
3745 author list to .lyx file. Output dvipost stuff to .tex preamble.
3746 Bump lyx format to 222.
3749 * bufferlist.C: add setCurrentAuthor() to reset current author details
3753 * bufferparams.C: add param for tracking
3755 * bufferview_funcs.C: output change info in minibuffer
3759 * changes.C: add change-tracking structure
3762 * debug.C: add CHANGES debug flag
3765 * lyxfind.C: add code for finding the next change piece
3768 * lyxrc.C: add user_name and user_email
3771 * lyxrow.C: add a metric for the top of the text line
3774 * text.C: implement accept/rejectChange()
3777 * text.C: paint changebars. Paint new/deleted text in the chosen
3778 colours. Strike through deleted text.
3782 * paragraph_pimpl.h:
3783 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3784 in the current change to the insert functions. Rework erase to
3785 mark text as deleted, adding an eraseIntern() and a range-based
3786 erase(). Implement per-paragraph change lookup and
3789 * paragraph_funcs.C: Fixup paste for change tracking.
3791 * tabular.C: mark added row/columns as new.
3793 * text.C: fix rowLast() to never return -1. Don't allow
3794 spellchecking of deleted text. Track transpose changes. Don't
3795 allow paragraph break or merge where appropriate.
3797 * text2.C: leave cursor at end of selection after a cut.
3799 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3801 * text.C (getLengthMarkerHeight):
3802 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3803 visible on screen too.
3805 2003-02-07 John Levon <levon@movementarian.org>
3807 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3809 2003-02-05 Angus Leeming <leeming@lyx.org>
3811 * lyxserver.C (read_ready): revert my patch of 11 September last year
3812 as it sends PC cpu through the roof. Presumably this means that
3813 the lyxserver will no longer run on an Alpha...
3815 2003-01-30 Angus Leeming <leeming@lyx.org>
3817 * factory.C (createInset): create an InsetCommandParam of type "index"
3818 and use it to 'do the right thing'.
3820 * text2.C (getStringToIndex): ensure that cursor position is always
3821 reset to the reset_cursor position.
3823 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3825 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3828 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3832 * lyxfunc.C: Output messages with identical spelling, punctuation,
3835 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3837 * MenuBackend.C (expandFormats): List only viewable export formats
3840 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3843 * lyxfunc.C (getStatus): Make sure that formats other than
3844 "fax" can also be disabled
3846 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3848 * text3.C (dispatch): put the lfuns that insert insets in 3
3849 groups, and call doInsertInset with appropriate arguments.
3850 (doInsertInset): new function, that creates an inset and inserts
3851 it according to some boolean parameters.
3853 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * buffer.C (readFile): remember to pass on 'par' when calling
3856 readFile recursively.
3858 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3860 * MenuBackend.C (expandFormats): add "..." to import formats.
3862 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3864 * paragraph.C (asString): Remove XForms RTL hacks.
3866 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3867 * buffer.C: fix typo
3869 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * Makefile.am (LIBS): delete var
3872 (lyx_LDADD): add @LIBS@ here instead.
3874 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3876 * Clarify the meaning of "wheel mouse jump"
3878 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3880 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3883 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3885 * importer.C (Loaders): do not preallocate 3 elements in the
3886 vector, since one ends up with 6 elements otherwise
3888 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3890 * DepTable.C (write): write the file name as last element of the
3891 .dep file (because it may contain spaces)
3892 (read): read info in the right order
3894 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3896 * paragraph_pimpl.C (simpleTeXBlanks):
3897 (simpleTeXSpecialChars):
3898 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3900 * tabular.C (latex): add some missing case statements. Reindent.
3902 * MenuBackend.C (expandToc): remove unused variable.
3904 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3913 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3916 2003-01-05 John Levon <levon@movementarian.org>
3919 * BufferView.C: add getEncoding()
3922 * kbsequence.C: do not store last keypress
3925 * lyxfunc.C: store last keypress here instead. Pass encoding
3928 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3930 * lyx_main.C (init): remove annoying error message when following
3931 symbolic links (bug #780)
3933 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3935 * text.C (insertChar):
3936 * lyxrc.C (getDescription): remove extra spaces
3938 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3940 * lyxrc.C (getDescription): remove extra spaces
3942 2002-12-20 John Levon <levon@movementarian.org>
3944 * text3.C: hack fix for page up/down across tall rows
3946 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3948 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3951 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3953 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3954 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3955 thesaurus is not compiled in
3957 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3959 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3961 2002-12-16 Angus Leeming <leeming@lyx.org>
3964 * lyx_main.C (init): remove override_x_deadkeys stuff.
3966 2002-12-12 John Levon <levon@movementarian.org>
3968 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3969 insert. Only remove shift modifier under strict
3972 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * MenuBackend.C (expandToc): fix crash.
3976 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * MenuBackend.C (expandToc): gettext on float names.
3980 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3982 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3983 implement bool empty() [bug 490]
3985 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3989 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * several files: ws changes
3993 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * text2.C (setCounter): clean up a bit, use boost.format.
3996 (updateCounters): initialize par upon declaration.
3998 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3999 if the layout exists. We do not just store the layout any more.
4000 (SwitchLayoutsBetweenClasses): use boost.format
4002 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4004 * converter.C (convert): if from and to files are the same, use a
4005 temporary files as intermediary
4007 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4010 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4012 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4014 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4016 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * tabular.C (asciiPrintCell): use string(size, char) instead of
4021 * sgml.C (openTag): fix order of arguments to string constructor
4024 * lyxfunc.C (dispatch): use boost.format
4026 * lots of files: change "c" -> 'c'
4028 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4030 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4032 2002-11-25 Angus Leeming <leeming@lyx.org>
4034 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4036 * lyx_main.C (init): compile fix.
4038 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * lyx_cb.C (start): boost.formatify
4041 do not include <iostream>
4043 * lengthcommon.C: ws only
4045 * boost-inst.C,BoostFormat.h: add more explict instantations
4047 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4049 * lots of files: handle USE_BOOST_FORMAT
4051 2002-11-21 John Levon <levon@movementarian.org>
4053 * pspell.C: fix compile
4055 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4057 * lyxfunc.C (dispatch): use boost::format
4061 * lyxfont.C (stateText): use boost::format
4063 * lyx_main.C (LyX): use boost::format
4065 (queryUserLyXDir): ditto
4068 (typedef boost::function): use the recommened syntax.
4070 * importer.C (Import): use boost::format
4072 * debug.C (showLevel): use boost::format
4074 * converter.C (view): use boost::format
4079 * bufferview_funcs.C (currentState): use boost::format
4081 * bufferlist.C (emergencyWrite): use boost::format
4083 * buffer.C (readLyXformat2): use boost::format
4084 (parseSingleLyXformat2Token): ditto
4086 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4088 * LaTeX.C (run): use boost::format
4090 * Chktex.C (scanLogFile): use boost::format
4092 * BufferView_pimpl.C (savePosition): use boost::format
4093 (restorePosition): ditto
4094 (MenuInsertLyXFile): ditto
4096 * BoostFormat.h: help file for explicit instation.
4098 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4100 * tabular.C (latex): Support for block alignment in fixed width
4103 2002-11-17 John Levon <levon@movementarian.org>
4105 * BufferView_pimpl.C:
4107 * lyxfunc.C: split filedialog into open/save
4109 2002-11-08 Juergen Vigna <jug@sad.it>
4111 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4112 by my last patch (hopefully).
4114 2002-11-08 John Levon <levon@movementarian.org>
4123 * toc.C: ParConstIterator, and use it (from Lars)
4125 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4127 * lyxtextclass.[Ch]: revise and add doxygen comments
4129 2002-11-07 John Levon <levon@movementarian.org>
4131 * text.C: fix progress value for spellchecker
4133 * toc.C: fix navigate menu for insetwrap inside minipage
4135 * paragraph_funcs.C: added FIXME for suspect code
4137 2002-11-07 John Levon <levon@movementarian.org>
4139 * BufferView_pimpl.C: fix redrawing of insets
4142 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4144 * text2.C (updateCounters): fix bug 668
4146 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4148 * text3.C (dispatch): Do not make the buffer dirty when moving the
4151 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * vc-backend.C: STRCONV
4156 * text2.C (setCounter): STRCONV
4158 * paragraph.C (asString): STRCONV
4160 * lyxlength.C (asString): STRCONV
4161 (asLatexString): ditto
4163 * lyxgluelength.C (asString): STRCONV
4164 (asLatexString): ditto
4166 * lyxfunc.C (dispatch): STRCONV
4169 * lyxfont.C (stateText): STRCONV
4171 * importer.C (Import): STRCONV
4173 * counters.C (labelItem): STRCONV
4174 (numberLabel): ditto
4175 (numberLabel): remove unused ostringstream o
4180 * bufferview_funcs.C (currentState): STRCONV
4182 * buffer.C (readFile): STRCONV
4183 (asciiParagraph): ditto
4184 (makeLaTeXFile): ditto
4186 * Spacing.C (writeEnvirBegin): STRCONV
4188 * LaTeXFeatures.C (getLanguages): STRCONV
4189 (getPackages): ditto
4191 (getBabelOptions): ditto
4192 (getTClassPreamble): ditto
4193 (getLyXSGMLEntities): ditto
4194 (getIncludedFiles): ditto
4198 (scanAuxFile): ditto
4201 * LString.h: add the STRCONV macros
4203 * BufferView_pimpl.C (savePosition): STRCONV
4204 (restorePosition): ditto
4205 (MenuInsertLyXFile): ditto
4207 * vc-backend.C (scanMaster): change from submatch[...] to
4210 * funcrequest.C: include config.h
4212 * factory.C: include config.h
4214 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4216 * box.C: include config.h
4218 * LaTeX.C (scanAuxFile): change from submatch[...] to
4222 2002-10-25 Angus Leeming <leeming@lyx.org>
4224 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4226 * ispell.[Ch] (setError): new method.
4227 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4228 Use setError() insetead of goto END.
4230 * lyx_cb.C (AutoSave): move out child process into new class
4233 2002-10-30 John Levon <levon@movementarian.org>
4235 * text3.C: make start appendix undoable
4237 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4239 * lyxlength.C (inPixels): Fix returned value.
4241 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4244 2002-10-24 Angus Leeming <leeming@lyx.org>
4246 * lyxgluelength.h: no need to forward declare BufferParams
4247 or BufferView, so don't.
4249 2002-10-21 John Levon <levon@movementarian.org>
4251 * BufferView.C: menuUndo ->undo, redo
4253 * BufferView.h: document, remove dead, make some methods private
4255 * paragraph_funcs.h:
4256 * paragraph_funcs.C:
4257 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4262 * sgml.C: move sgml open/close tag into sgml.C
4264 * bufferview_funcs.h: unused prototype
4267 * lyxfunc.C: remove unused
4270 * text.C: remove unused
4272 2002-10-21 John Levon <levon@movementarian.org>
4276 * BufferView_pimpl.h:
4277 * BufferView_pimpl.C: fix mouse wheel handling based on
4278 patch from Darren Freeman
4280 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4282 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4284 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4286 * lyxlength.C (inPixels): Fix hanfling of negative length.
4287 Fix LyXLength::MU case.
4289 2002-10-16 John Levon <levon@movementarian.org>
4291 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4293 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4295 * converter.C (view): add support for $$i (file name) and $$p
4296 (file path) for the viewer command. If $$i is not specified, then
4297 it is appended to the command (for compatibility with old syntax)
4299 2002-10-14 Juergen Vigna <jug@sad.it>
4301 * undo_funcs.C (textHandleUndo): alter the order in which the
4302 new undopar is added to the LyXText, as we have to set first
4303 the right prev/next and then add it as otherwise the rebuild of
4304 LyXText is not correct. Also reset the cursor to the right paragraph,
4305 with this IMO we could remove the hack in "redoParagraphs()".
4307 2002-10-09 Angus Leeming <leeming@lyx.org>
4309 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4310 to turn off an optimisation if a new inset is to be inserted.
4312 2002-10-11 André Pönitz <poenitz@gmx.net>
4314 * lyxtext.h: make some functions public to allow access
4315 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4317 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4319 * text3.C (dispatch): when changing layout, avoid an infinite loop
4322 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4324 * lyxrc.C (read): treat a viewer or converter command of "none" as
4327 * MenuBackend.C (expandFormats): for an update, also allow the
4328 formats that are not viewable
4330 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4331 script if it is newer than the lyxrc.defaults in user directory
4333 2002-10-07 André Pönitz <poenitz@gmx.net>
4335 * text.C: Vitaly Lipatov's small i18n fix
4337 2002-09-25 Angus Leeming <leeming@lyx.org>
4339 * ispell.h: doxygen fix.
4341 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4343 * buffer.h (readFile): Add a new argument to the method, to allow
4344 reading of old-format templates.
4346 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4348 * toc.C (getTocList): Get TOC from InsetWrap.
4350 2002-09-16 John Levon <levon@movementarian.org>
4352 * lyxfunc.C: check tabular for cut/copy too
4354 2002-09-12 John Levon <levon@movementarian.org>
4359 * factory.C: add header
4361 * paragraph_funcs.h:
4362 * paragraph_funcs.C: cleanup
4364 2002-09-11 John Levon <levon@movementarian.org>
4366 * PrinterParams.h: odd/even default to true
4368 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4370 * PrinterParams.h: update printer parameters for new xforms dialog
4372 2002-09-11 Angus Leeming <leeming@lyx.org>
4374 * lyxserver.C (read_ready): re-write to make it more transparent
4375 and to make it work in coherent fashion under Tru64 Unix.
4377 2002-09-11 André Pönitz <poenitz@gmx.net>
4381 * text3.C: implement LFUN_WORDSEL
4383 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4386 make floatlist_ a boost::shared_ptr<FloatList>
4388 * lyxtextclass.C: include FloatList.h
4389 (LyXTextClass): initialize floatlist_
4390 (TextClassTags): add TC_NOFLOAT
4391 (Read): match "nofloat" to TC_NOFLOAT and use it.
4392 (readFloat): modify call to floatlist_
4396 * FloatList.[Ch] (FloatList): remove commented out float
4398 (erase): new function
4400 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4402 * MenuBackend.C (expandToc): fix crash when there is no document
4405 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4407 * many files: Add insetwrap.
4409 2002-09-09 John Levon <levon@movementarian.org>
4411 * text2.C: remove confusing and awkward depth wraparound
4413 2002-09-09 John Levon <levon@movementarian.org>
4415 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4418 * buffer.C: remove getIncludeonlyList()
4421 * lyxfunc.C: remove headers
4423 2002-09-09 Juergen Vigna <jug@sad.it>
4425 * text.C (getColumnNearX): fix form Michael this is most
4426 probably a cut&paste bug.
4428 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4432 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4433 references, ws changes.
4435 * text2.C (init): update counters after init
4436 (insertParagraph): no need to set counter on idividual paragraphs.
4437 (setCounter): access the counters object in the textclass object
4438 on in the buffer object.
4439 (updateCounters): ditto
4441 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4442 shared_ptr<Counters> to avoid loading counters.h in all
4444 (LyXTextClass): initialize ctrs_
4445 (TextClassTags): add TC_COUNTER, and ...
4446 (Read): use it here.
4447 (CounterTags): new tags
4448 (readCounter): new function
4449 (counters): new funtion
4450 (defaultLayoutName): return a const reference
4452 * counters.C (Counters): remove contructor
4453 (newCounter): remove a couple of unneeded statements.
4454 (newCounter): simplify a bit.
4455 (numberLabel): some small formatting changes.
4457 * buffer.[Ch]: remove all traces of counters, move the Counters
4458 object to the LyXTextClass.
4460 2002-09-06 Alain Castera <castera@in2p3.fr>
4462 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4463 package to set the horizontal alignment on fixed width columns.
4466 * lyx_sty.h: added tabularnewline macro def.
4468 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4470 2002-09-06 John Levon <levon@movementarian.org>
4472 * LyXAction.C: tooltips for sub/superscript
4474 * MenuBackend.C: a bit more verbose
4476 * lyxfunc.C: tiny clean
4478 * undo_funcs.C: document undo_frozen
4480 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * counters.C (Counters): add missing algorithm counter.
4484 * text2.C (setCounter): lookup the counter with layouts latexname
4485 instead of by section number.
4486 (setCounter): use a hackish way to lookup the correct enum
4488 a float name->type change
4489 reset enum couners with counter name directly instead of depth value.
4491 * counters.C (Counters): remove the push_backs, change to use the
4492 float type not the float name.
4493 (labelItem): remove unused string, float name->type change
4495 * counters.h: don't include vector, loose the enums and sects vectors
4497 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4499 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4500 (Read): add float->TC_FLOAT to textclassTags
4501 (Read): and handle it in the switch
4502 (readFloat): new function
4504 * FloatList.C (FloatList): comment out the hardcoded float
4507 * lyxlayout.h: ws change.
4509 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4511 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4513 2002-09-03 Angus Leeming <leeming@lyx.org>
4515 * BufferView_pimpl.h: qualified name is not allowed in member
4516 declaration: WorkArea & Pimpl::workarea() const;
4518 * factory.C: added using std::endl directive.
4520 * text3.C: added using std::find and std::vector directives.
4522 2002-08-29 André Pönitz <poenitz@gmx.net>
4525 * text2.C: remove unused member number_of_rows
4528 * BufferView2.C: remove file, move contents to...
4529 * BufferView.C: ... here
4531 * BufferView_pimpl.C:
4532 * factory.C: move more inset creation to factory
4534 * vspace.C: avoid direct usage of LyXText, ws changes
4537 don't provide direct access to WorkArea, use two simple
4538 acessors haveSelction() and workHeight() instead
4541 2002-08-29 John Levon <levon@movementarian.org>
4543 * BufferView_pimpl.C (dispatch): do not continue when
4546 2002-08-28 André Pönitz <poenitz@gmx.net>
4548 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4551 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4553 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4555 * buffer.C: increment LYX_FORMAT to 221
4557 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4558 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4560 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4562 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4564 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4566 * factory.C (createInset): use LyXTextClass::floats
4568 * MenuBackend.C (expandFloatListInsert):
4569 (expandFloatInsert):
4572 * text2.C (setCounter):
4574 * LaTeXFeatures.C (useFloat):
4575 (getFloatDefinitions):
4577 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4579 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4580 floatlist_, with accessor floats().
4582 * FloatList.h: remove global FloatList
4584 2002-08-26 André Pönitz <poenitz@gmx.net>
4586 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4590 * BufferView_pimpl.C:
4591 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4593 2002-08-25 John Levon <levon@movementarian.org>
4595 * LyXAction.C: fix margin note description
4597 2002-08-24 John Levon <levon@movementarian.org>
4601 * bufferview_funcs.C:
4603 * undo_funcs.C: cleanups
4605 * lyxfunc.C: disable CUT/COPY when no selection
4607 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4609 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4610 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4612 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4613 Add backward compatibility to "mono", "gray" and "no".
4615 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4617 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4618 (and file_format >= 200).
4620 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4622 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4624 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4626 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4628 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4630 * BufferView_pimpl.C:
4637 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4638 inset and code to make it work with the paragraph code. The inset
4639 can be anywhere in the paragraph, but will only do the expected
4640 thing in LaTeX if the layout file contains the parameter line
4642 (or more generally, a nonzero value) for that layout.
4644 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * paragraph.h: remove the declaration of undefined counters class
4649 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4651 * text2.C (setCounter): fixed enumeration mis-count as reported by
4652 Dr. Richard Hawkins.
4654 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4656 * paragraph_funcs.h: remove some unneeded includes
4658 * text.C (backspace): pasteParagraph now in global scipe
4660 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4661 (pasteSelection): ditto
4663 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4664 * paragraph_funcs.C (pasteParagraph): ... here
4666 2002-08-20 André Pönitz <poenitz@gmx.net>
4668 * commandtags.h: new LFUNs for swapping/copying table row/colums
4671 * lyxfunc.C: support for new lfuns
4673 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * buffer.[Ch]: remove NO_COMPABILITY stuff
4678 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4680 * boost.C (throw_exception): new file, with helper function for
4681 boost compiled without exceptions.
4686 * ParameterStruct.h:
4687 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4689 * bufferlist.C (emergencyWriteAll): use boost bind
4691 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4693 * text.C: include paragraph_funcs.h
4694 (breakParagraph): breakParagraph is now in global scope
4696 * paragraph_funcs.[Ch]: new files
4698 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4701 * buffer.C: include paragraph_funcs.h
4702 (insertStringAsLines): breakParagraph is now in global scope
4704 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4707 * CutAndPaste.C: include paragraph_funcs.h
4708 (cutSelection): breakParagraphConservative is now in global scope
4709 (pasteSelection): ditto
4711 * buffer.h: declare oprator== and operator!= for
4712 Buffer::inset_iterator
4714 * bufferlist.C (emergencyWrite): don't use fmt(...)
4716 * text3.C: add using std::endl
4718 * BufferView.C (moveCursorUpdate): remove default arg
4720 2002-08-20 André Pönitz <poenitz@gmx.net>
4722 * buffer.[Ch]: move inline functions to .C
4725 * BufferView_pimpl.C:
4727 * buffer.[Ch]: use improved inset_iterator
4730 * paragraph.[Ch]: write one paragraph at a time
4732 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4734 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4735 style if style is not specified.
4737 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4739 * text2.C (setCounter): when searching for right label for a
4740 caption, make sure to recurse to parent insets (so that a caption
4741 in a minipage in a figure float works) (bug #568)
4743 2002-08-20 André Pönitz <poenitz@gmx.net>
4745 * text3.C: new file for LyXText::dispatch() and helpers
4747 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4749 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4751 2002-08-19 André Pönitz <poenitz@gmx.net>
4754 * text.C: new LyXText::dispatch()
4756 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4758 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4760 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4762 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4765 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4767 * Makefile.am: use $(variables) instead of @substitutions@
4769 2002-08-15 André Pönitz <poenitz@gmx.net>
4772 * BufferView_pimpl.C: streamlining mathed <-> outer world
4776 * LyXAction.C: remove unused LFUN_MATH
4778 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4782 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4784 * paragraph.C (Paragraph): reformat a bit
4785 (cutIntoMinibuffer): use builtin InsetList function instad of
4789 * buffer.C: include boost/bind.hpp, add using std::for_each
4790 (writeFileAscii): use ParagraphList iterators
4791 (validate): use for_each for validate traversal of paragraphs
4792 (getBibkeyList): use ParagraphList iterators
4793 (resizeInsets): use for_each to resizeInsetsLyXText for all
4795 (getParFromID): use ParagraphList iterators
4797 * BufferView2.C (lockInset): use paragraph list and iterators
4799 2002-08-14 John Levon <levon@movementarian.org>
4801 * lyxserver.C: remove spurious xforms include
4803 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4805 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4807 2002-08-13 André Pönitz <poenitz@gmx.net>
4810 * lyxfunc.C: further cleaning
4812 2002-08-13 André Pönitz <poenitz@gmx.net>
4814 * funcrequest.h: new constructor
4816 * funcrequest.C: move stuff here from .h
4819 * BufferView_pimpl.C:
4822 * lyxfunc.C: subsequent changes
4824 * lyxfunc.h: new view() member function
4826 * lyxfunc.C: subsequent changes
4828 2002-08-13 Angus Leeming <leeming@lyx.org>
4831 * BufferView_pimpl.C:
4839 changes due to the changed LyXView interface that now returns references
4840 to member variables not pointers.
4842 2002-08-13 Angus Leeming <leeming@lyx.org>
4844 * WordLangTuple (word, lang_code): return references to strings,
4849 * lyxtext.h: forward-declare WordLangTuple.
4854 * text.C: #include "WordLangTuple.h".
4857 * text.C: (selectNextWordToSpellcheck): constify return type.
4859 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4865 * paragraph_pimpl.h:
4868 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4870 Made updateCounter always count from start of buffer, and removed
4871 second argument (par).
4872 Reverted floats number display to '#'. Perhaps I'll try again when the
4873 code base is sanitized a bit.
4875 2002-08-12 Angus Leeming <leeming@lyx.org>
4877 * buffer.[Ch] (getLabelList): constify.
4879 2002-08-07 André Pönitz <poenitz@gmx.net>
4881 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4883 * funcrequest.h: extension to keep mouse (x,y) position
4885 2002-08-12 Juergen Vigna <jug@sad.it>
4887 * BufferView2.C (insertErrors): forbid undo when inserting error
4890 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4892 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * ParagraphList.[Ch]: new files
4896 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4898 * BufferView2.C (lockInset): ParagraphList changes
4901 * bufferlist.C: ditto
4905 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4908 unused class variable counter_,
4910 * paragraph.[Ch] (getFirstCounter): delete unused function
4912 * counters.C: include LAssert.h
4913 (reset): add a new function with no arg, change other version to
4914 not have def. arg and to not allow empty arg.
4916 * text2.C (setCounter): remove empty arg from call to Counters::reset
4918 2002-08-11 John Levon <levon@movementarian.org>
4920 * Makefile.am: add WordLangTuple.h
4922 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4925 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4927 * insets/insettext.C: InsetList changes
4929 * graphics/GraphicsSupport.C (operator()): InsetList changes
4931 * toc.C (getTocList): InsetList changes
4933 * paragraph_pimpl.[Ch]: InsetList changes
4935 * paragraph.[Ch]: InsetList changes
4937 * buffer.C (inset_iterator): InsetList changes
4938 (setParagraph): ditto
4939 * buffer.h (inset_iterator): ditto
4940 * iterators.C (operator++): ditto
4941 * iterators.h: ditto
4943 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4945 * InsetList.[Ch]: new files, most InsetList handling moved out of
4948 * BufferView2.C (removeAutoInsets): InsetList changes
4950 (ChangeInsets): ditto
4952 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4954 * paragraph_pimpl.h (empty): new function
4956 * paragraph.[Ch] (empty): new function
4958 * other files: use the new Paragraph::empty function
4960 2002-08-09 John Levon <levon@movementarian.org>
4962 * lyxtext.h: remove unused refresh_height
4964 2002-08-09 John Levon <levon@movementarian.org>
4971 * paragraph.C: move sgml char escaping out of paragraph
4974 * paragraph.C: remove id setter
4978 * paragraph_pimpl.C: remove dead tex_code_break_column
4980 * bufferview_funcs.C: small cleanup
4982 * lyxfunc.C: remove dead proto
4984 * lyxtext.h: make some stuff private. Remove some dead stuff.
4986 * lyxgluelength.C: make as[LyX]String() readable
4988 2002-08-08 John Levon <levon@movementarian.org>
4993 * ToolbarDefaults.C:
4996 * toc.C: lyxaction cleanup
4998 2002-08-08 John Levon <levon@movementarian.org>
5000 * BufferView2.C: small cleanup
5003 * lyxfind.C: move unnecessary header into the .C
5005 2002-08-08 John Levon <levon@movementarian.org>
5007 * funcrequest.h: just tedious nonsense
5010 * lyx_main.C: cleanups
5013 * vspace.C: remove dead header lyx_main.h
5015 2002-08-07 Angus Leeming <leeming@lyx.org>
5018 * paragraph_pimpl.h:
5019 Forward declare class Counters in paragraph.h by moving the ctrs member
5020 variable into Paragraph::Pimpl.
5021 (counters): new method, returning a reference to pimpl_->ctrs.
5023 * text2.C: ensuing changes.
5025 2002-08-07 John Levon <levon@movementarian.org>
5027 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5029 * BufferView_pimpl.C: announce X selection on double/triple
5032 * lyx_main.C: use correct bool in batch dispatch
5034 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5036 2002-08-07 André Pönitz <poenitz@gmx.net>
5038 * funcrequest.h: new class to wrap a kb_action and its argument
5041 * BufferView_pimpl[Ch]:
5045 * lyxrc.C: subsequent changes
5048 2002-08-07 John Levon <levon@movementarian.org>
5050 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5051 document options change.
5053 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5058 * makefile.am: move counters functionality over from
5059 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5061 2002-08-06 John Levon <levon@movementarian.org>
5063 * WordLangTuple.h: new file for word + language code tuple
5074 * BufferView2.C: use WordLangTuple
5077 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5079 2002-08-06 John Levon <levon@movementarian.org>
5081 * lyx_main.C: fix cmdline batch handling
5083 2002-08-06 André Pönitz <poenitz@gmx.net>
5085 * lyxrc.C: set default for show_banner to true
5087 2002-08-06 John Levon <levon@movementarian.org>
5089 * pspell.C: fix a crash, and allow new aspell to work
5091 2002-08-06 John Levon <levon@movementarian.org>
5094 * kbmap.C: small cleanup
5097 * vspace.C: add const
5099 2002-08-05 John Levon <levon@movementarian.org>
5101 * LyXAction.C: back to tabular-insert
5103 2002-08-04 John Levon <levon@movementarian.org>
5106 * BufferView.C: cosmetic change
5108 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5118 * BufferView2.C: purge all "Lyx" not "LyX" strings
5121 * lyxcursor.C: attempt to add some documentation
5126 * ToolbarDefaults.C:
5127 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5128 merge with LFUN_TABULAR_INSERT
5135 * pspell.C: split up i/pspell implementations into separate
5136 files, many cleanups
5138 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5140 * text2.C: some cleanup
5142 * lyxfunc.C: don't check for isp_command == "none" any more, it
5143 didn't make any sense
5145 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5150 * makefile.am: move counters functionality over
5151 from text2.C/paragraph.[Ch] to counters.[Ch], and
5153 2002-08-02 John Levon <levon@movementarian.org>
5155 * buffer.C: s/lyxconvert/lyx2lyx/
5157 2002-08-02 Angus Leeming <leeming@lyx.org>
5159 * lyxlex.C: revert John's change as it breaks reading of the user
5162 2002-08-02 Angus Leeming <leeming@lyx.org>
5164 * importer.C (Import):
5165 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5166 changes due to LyXView::view() now returning a boost::shared_ptr.
5168 2002-08-02 John Levon <levon@movementarian.org>
5170 * lyxlex.C: small cleanup
5172 2002-08-02 John Levon <levon@movementarian.org>
5174 * text2.C (status): small cleanup, no logic change
5176 2002-08-01 John Levon <levon@movementarian.org>
5179 * buffer.C (writeFile): don't output alerts, caller
5183 * lyx_cb.C: from above
5185 * lyxfunc.C: allow to open non-existent files
5187 2002-07-31 John Levon <levon@movementarian.org>
5189 * lyxserver.C: don't let incidental errors get
5192 2002-07-30 John Levon <levon@movementarian.org>
5194 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5196 2002-07-30 John Levon <levon@movementarian.org>
5199 * lyxserver.C: remove I/O callback too
5201 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5203 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5206 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * many files: strip,frontStrip -> trim,ltrim,rtrim
5210 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * PrinterParams.h: remove extern containsOnly, and include
5213 support/lstrings.h instead.
5215 * LaTeX.C (scanAuxFile): modify because of strip changes
5217 * buffer.C (makeLaTeXFile): ditto
5218 * bufferparams.C (writeFile): ditt
5219 * lyxfont.C (stateText): ditto
5220 * lyxserver.C (read_ready): ditto
5221 * vc-backend.C (scanMaster): ditto
5223 * BufferView_pimpl.h: ws changes
5225 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5227 2002-07-26 André Pönitz <poenitz@gmx.net>
5229 * kb_sequence.C: remove unnedred usings
5231 2002-07-26 Juergen Vigna <jug@sad.it>
5233 * lyxfind.C (LyXReplace): we have to check better if the returned
5234 text is not of theLockingInset()->getLockingInset().
5236 2002-07-25 Juergen Vigna <jug@sad.it>
5238 * lyxfind.C (LyXReplace): don't replace if we don't get the
5241 * undo_funcs.C (createUndo): remove debugging code.
5243 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5245 * buffer.C (parseSingleLyXformat2Token): Use default placement
5246 when reading old floats.
5248 * FloatList.C (FloatList): Change the default placement of figure
5249 and tables to "tbp".
5251 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5253 * MenuBackend.C: using std::max
5255 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5257 * MenuBackend.C (expandToc):
5258 (expandToc2): code moved from xforms menu frontend. It is now
5259 generic and TOCs are transparent to menu frontends.
5261 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5263 * toc.C (getTocList): protect against buf=0
5265 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5266 Menu as first parameter. Now, this calls itself recursively to
5267 expand a whole tree (this will be useful for TOC handling)
5268 (expandFloatInsert): remove 'wide' version of floats
5270 * MenuBackend.h (submenuname): returns the name of the submenu.
5271 (submenu): returns the submenu itself, provided it has been
5272 created by MenuBackend::expand
5274 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5276 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5277 insets which have noFontChange == true. (bug #172)
5279 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5281 * BufferView_pimpl.C: add connection objects and use them...
5284 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5286 * MenuBackend.C (expandLastfiles):
5289 (expandFloatListInsert):
5290 (expandFloatInsert):
5291 (expand): split expand in parts
5293 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5295 * lyx_gui.C: use lyx_gui::exit()
5297 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5299 * LyXAction.C: show the failing pseudo action
5301 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5303 * buffer.C (readFile): Run the lyxconvert script in order to read
5306 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5310 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5312 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5316 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5318 2002-07-22 Herbert Voss <voss@lyx.org>
5321 * lyxlength.[Ch]: add support for the vertical lengths
5323 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5325 * toc.[Ch]: std:: fixes
5327 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5329 * lyxrc.C: do not include lyx_main.h
5331 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5337 * BufferView2.C: include "lyxlex.h"
5340 * bufferparams.h: do not #include "lyxlex.h"
5342 * lyxtextclasslist.C (Add): remove method
5343 (classlist): renamed to classlist_
5345 * paragraph_pimpl.C:
5349 * bufferview_funcs.C:
5354 * toc.C (getTocList): use BufferParams::getLyXTextClass
5356 * toc.C (getTocList): use InsetFloat::addToToc
5358 * toc.[Ch]: new files, containing helper functions to handle table
5361 * lyxfunc.C (dispatch): no need to remove spaces around command
5363 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5364 first command of the sequence; it is not very clever, but I do not
5365 have a better idea, actually
5367 * LyXAction.C (LookupFunc): make sure to remove space at the
5368 beginning and end of the command
5370 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5372 * MenuBackend.C (getMenubar): new method: return the menubar of
5374 (read): treat differently reading of menu and menubar (in
5375 particular, the menubar has no name now)
5376 (Menu::menubar): remove
5378 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5381 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5383 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5384 a bibitem inset in a RTL paragraph.
5386 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5388 * paragraph_pimpl.C: constify
5390 * BufferView_pimpl.C:
5392 * lyxfunc.C: fix dispatch in a nicer way
5394 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5396 * lyxfunc.C (dispatch):
5397 * BufferView_pimpl.C:
5398 * BufferView_pimpl.h:
5400 * BufferView.h: rename Dispatch() to dispatch()
5402 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5404 * lyxlayout.C (Read): honor DependsOn tag
5406 * lyxlayout.[Ch] (depends_on): new method
5408 * version.C.in: update lyx_docversion
5410 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5412 * paragraph.C (validate): remove from here...
5413 * paragraph_pimpl.C (validate): ... and move here
5414 (isTextAt): make it const
5416 * buffer.C (getLists): ws cleanup
5418 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5420 * language.C (read): Use iso8859-1 encoding in latex_lang
5421 (this prevents LyX from crashing when using iso10646-1 encoding).
5423 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5425 * text2.C (toggleInset): if cursor is inside an inset, close the
5426 inset and leave cursor _after_ it
5428 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5430 * lyxfunc.C: move minibuffer completion handling out of here
5432 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5434 * BufferView_pimpl.C:
5435 * LaTeX.C: fix dispatch calls
5437 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5439 * text.C (drawChars): Fix Arabic text rendering.
5441 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5445 * lyxfunc.C: remove message-push/pop
5449 * lyxfunc.C: rationalise some code by removing verboseDispatch
5450 in favour of a bool argument to dispatch()
5452 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5454 * lyx_main.C (init): make sure to read symlinks as absolute paths
5456 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5459 * lyxfunc.C: no need for commandshortcut to be a member
5461 2002-07-15 André Pönitz <poenitz@gmx.net>
5463 * converter.C: add support for $$s (scripts from lib/scripts dir)
5464 * lyx_main.C: white space
5466 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5470 * lyxrc.C: remove second exit confirmation
5472 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5477 * BufferView_pimpl.h:
5478 * BufferView_pimpl.C:
5479 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5481 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5483 * MenuBackend.C (expand): add numeric shortcuts to document menu
5485 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5487 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5489 * lyxfont.C (setLyXFamily):
5496 * buffer.C (asciiParagraph): use ascii_lowercase
5498 2002-07-15 Mike Fabian <mfabian@suse.de>
5500 * lyxlex_pimpl.C (search_kw):
5501 * lyxlex.C (getLongString):
5502 * converter.h (operator<):
5503 * converter.C (operator<):
5504 * buffer.C (parseSingleLyXformat2Token):
5506 * ToolbarDefaults.C (read):
5507 * MenuBackend.C (checkShortcuts):
5509 * LColor.C (getFromGUIName):
5510 (getFromLyXName): use the compare_ascii_no_case instead of
5511 compare_no_case, because in turkish, 'i' is not the lowercase
5512 version of 'I', and thus turkish locale breaks parsing of tags.
5514 2002-07-16 Angus Leeming <leeming@lyx.org>
5516 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5517 now takes a Buffer const & argument.
5519 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5521 * BufferView.C (resize): check there's a buffer to resize
5523 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5525 * lyxfunc.C: remove dead code
5528 * lyxserver.C: use lyx_guii::set_read_callback
5530 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5532 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5533 an inset in a RTL paragraph.
5535 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5537 * lyxfunc.C: repaint after a font size update
5539 2002-07-15 André Pönitz <poenitz@gmx.net>
5541 * lyxlength.C: inBP should be able to return negative values
5543 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5545 * lyxfunc.C: use lyx_gui::update_fonts()
5547 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5549 * lyxfunc.C: use lyx_gui::update_color()
5551 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5557 * lyxrc.C: remove file->new asks for name option, and let
5558 buffer-new take an argument
5560 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5562 * BufferView_pimpl.C: remove unneeded extra repaint()
5564 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5566 * LyXAction.C: allow command-sequence with NoBuffer
5568 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5570 2002-07-10 Angus Leeming <leeming@lyx.org>
5572 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5574 2002-07-09 Angus Leeming <leeming@lyx.org>
5576 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5578 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5580 * lengthcommon.h: whitespace
5582 * lyxfunc.C: update scrollbar after goto paragraph
5584 * lyxtext.h: factor out page break drawing, and fix it so
5585 page break/added space paints as selected nicely
5587 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5589 * BufferView_pimpl.C: add FIXMEs, clean up a little
5591 2002-07-09 André Pönitz <poenitz@gmx.net>
5593 * lyxfont.[Ch]: support for wasy symbols
5595 2002-07-08 André Pönitz <poenitz@gmx.net>
5597 * BufferView_pimpl.C: apply John's patch for #93.
5599 2002-07-05 Angus Leeming <leeming@lyx.org>
5601 * BufferView_pimpl.C (buffer): generate previews if desired.
5603 * LColor.h: add "preview" to the color enum.
5605 * LColor.C (LColor): add a corresponding entry to the items array.
5607 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5610 2002-07-05 Angus Leeming <leeming@lyx.org>
5612 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5613 The body of the code is now in the method that is passed an ostream &
5614 rather than a file name.
5615 Pass an additional only_preamble parameter, useful for the forthcoming
5618 2002-07-03 André Pönitz <poenitz@gmx.net>
5620 * lyxfunc.C: simplify getStatus() a bit for math stuff
5622 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5624 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5626 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5628 * text.C (changeRegionCase): do not change case of all the
5629 document when region ends at paragraph end (bug #461)
5631 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5633 * paragraph.C (startTeXParParams):
5634 (endTeXParParams): add \protect when necessary
5636 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5638 * BufferView_pimpl.C (workAreaExpose): remove warning
5640 2002-06-27 Angus Leeming <leeming@lyx.org>
5642 * Makefile.am: add lyxlayout_ptr_fwd.h.
5644 2002-06-26 André Pönitz <poenitz@gmx.net>
5646 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5648 2002-06-25 Angus Leeming <leeming@lyx.org>
5650 * lyxfunc.C (dispatch): Comment out the call to
5651 grfx::GCache::changeDisplay. The method no longer exists now that the
5652 pixmap generation part of the graphics loader has been moved into
5655 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5657 * text2.C: layout as layout
5659 * text.C: layout as layout
5661 * tabular.C (OldFormatRead): layout as layout
5663 * paragraph_pimpl.C (TeXDeeper): layout as layout
5664 (realizeFont): layout as layout
5666 * paragraph.C (writeFile): layout as layout
5667 (validate): layout as layout
5668 (getFont): layout as layout
5669 (getLabelFont): layout as layout
5670 (getLayoutFont): layout as layout
5671 (breakParagraph): layout as layout
5672 (stripLeadingSpaces): layout as layout
5673 (getEndLabel): layout as layout
5674 (getMaxDepthAfter): layout as layout
5675 (applyLayout): layout as layout
5676 (TeXOnePar): layout as layout
5677 (simpleTeXOnePar): layout as layout
5678 (TeXEnvironment): layout as layout
5679 (layout): layout as layout
5680 (layout): layout as layout
5682 * lyxtextclass.C (compare_name): new functor to work with
5683 shared_ptr, layout as layout
5684 (Read): layout as layout
5685 (hasLayout): layout as layout
5686 (operator): layout as layout
5687 (delete_layout): layout as layout
5688 (defaultLayout): layout as layout
5690 * lyxlayout_ptr_fwd.h: new file
5692 * lyxlayout.C (Read): layout as layout
5694 * lyx_cb.C (MenuInsertLabel): layout as layout
5696 * bufferlist.C (newFile): layout as layout
5698 * buffer.C (readLyXformat2): layout as layout
5699 (parseSingleLyXformat2Token): layout as layout
5700 (insertStringAsLines): layout as layout
5701 (asciiParagraph): layout as layout
5702 (latexParagraphs): layout as layout
5703 (makeLinuxDocFile): layout as layout
5704 (simpleLinuxDocOnePar): layout as layout
5705 (makeDocBookFile): layout as layout
5706 (simpleDocBookOnePar): layout as layout
5707 (getLists): layout as layout
5709 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5711 * CutAndPaste.C (cutSelection): layout as layout
5712 (pasteSelection): layout as layout
5713 (SwitchLayoutsBetweenClasses): layout as layout
5715 * BufferView_pimpl.C (Dispatch): layout as layout
5716 (smartQuote): layout as layout
5718 * BufferView2.C (unlockInset): layout as layout
5720 2002-06-24 André Pönitz <poenitz@gmx.net>
5722 * lyxfunc.C: fix #487
5724 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5728 * lyxfunc.C: remove display_shortcuts, show_banner
5730 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5732 * Buffer_pimpl.C: oops, update on resize
5734 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5741 * BufferView.C: use repaint()
5743 * BufferView_pimpl.h:
5744 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5745 as it's a clearer description. Remove superfluous
5748 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5750 * text.C: fix bug 488. Not ideal, but getting
5751 getWord() to work properly for the insets that
5752 matter is more difficult ...
5754 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5756 * BufferView_pimpl.C:
5759 * lyxfunc.C: remove the six million index lyxfuncs to just
5760 one, and DTRT (bug 458)
5762 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5766 * BufferView_pimpl.h:
5767 * BufferView_pimpl.C: clean up resize() stuff,
5768 and unnecessary updateScreen()s
5770 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5774 * BufferView_pimpl.h:
5775 * BufferView_pimpl.C:
5778 * minibuffer.C: remove focus management of workarea,
5779 not needed. Use screen's greyOut()
5781 2002-06-17 Herbert Voss <voss@lyx.org>
5783 * converter.C: (convert) do not post a message, when converting
5784 fails, let the calling function decide what to do in this case
5786 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5788 * lyxfunc.C: tidy up a little
5790 2002-06-16 <alstrup@diku.dk>
5792 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5793 Got rid of FORMS_H_LOCATION include. Now we are
5796 2002-06-15 LyX Development team <lyx@rilke>
5798 * buffer.[Ch] (sgmlOpenTag):
5799 (sgmlCloseTag): Added support for avoiding pernicious mixed
5800 content. Return number of lines written.
5803 (makeDocBookFile): Fixed calls to sgml*Tag.
5804 Simple white space clean.
5806 (simpleDocBookOnePar): Simple white space clean.
5808 * tabular.[Ch] (docBook): Renamed to docbook and got another
5809 argument to related with the pernicious mixed content.
5811 (docbookRow): Fixed calls for docbook inset method.
5813 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5815 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5816 so it's X11 independent.
5820 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5822 2002-06-15 Lyx Development team <lyx@electronia>
5824 * intl.h: Renamed getTrans to getTransManager.
5826 2002-06-14 Angus Leeming <leeming@lyx.org>
5828 * Makefile.am: nuke forgotten stl_string_fwd.h.
5830 2002-06-12 Angus Leeming <leeming@lyx.org>
5832 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5834 2002-06-13 Angus Leeming <leeming@lyx.org>
5837 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5839 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5841 * kbmap.C (getiso): add support for cyrillic and greek
5843 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5847 * BufferView_pimpl.h:
5848 * BufferView_pimpl.C: move bogus scrolling logic
5851 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5854 * BufferView_pimpl.C: view->resize() change
5856 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5858 * BufferView_pimpl.C: topCursorVisible
5861 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5865 * lyx_gui.C: move to frontends/
5869 * lyx_main.C: changes from above
5871 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5878 * lyx_main.C: minor tidy
5880 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5882 * BufferView_pimpl.h:
5883 * BufferView_pimpl.C:
5885 * BufferView.C: make painter() const,
5888 * BufferView2.C: use screen() accessor
5891 * lyx_main.C: some minor cleanup
5893 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5895 * BufferView_pimpl.h:
5896 * BufferView_pimpl.C: remove enter/leaveView,
5899 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5904 * BufferView_pimpl.h:
5905 * BufferView_pimpl.C: only construct screen once,
5908 * lyxrc.C: remove pointless comment
5910 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5913 * BufferView.C: remove active() and belowMouse()
5915 * BufferView_pimpl.h:
5916 * BufferView_pimpl.C: use workarea() not workarea_,
5917 and make it use a scoped_ptr instead
5919 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5921 * lyx_gui.C: add debug message on BadWindow
5923 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5925 * sp_spell.C: fdopen is not part of the C++ standard.
5927 * paragraph.C (InsetIterator): use >= instead of ==
5929 2002-06-07 Angus Leeming <leeming@lyx.org>
5931 Fixes needed to compile with Compaq cxx 6.5.
5932 * BufferView_pimpl.C:
5939 * lyxtextclasslist.C:
5944 all c-library variables have been moved into namespace std. Wrap
5945 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5950 Add a using std::abs declaration.
5952 * kbmap.h (modifier_pair):
5953 * paragraph.h (InsetTable, InsetList):
5954 * lyxfont.h (FontBits):
5955 type definition made public.
5957 * bufferlist.C (emergencyWriteAll): the compiler complains that
5958 there is more than one possible lyx::class_fun template to choose from.
5959 I re-named the void specialisation as lyx::void_class_fun.
5961 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5963 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5964 the compiler is is unable to find tostr in write_attribute.
5966 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5968 * buffer.C (sgmlError): hide #warning
5970 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5972 * xtl/*: get rid of xtl, which is not in use anyway
5974 * LyXAction.C (init):
5975 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5976 were unimplemented xtl experimentation
5978 2002-06-04 André Pönitz <poenitz@gmx.net>
5980 * lyxfunc.C: disable array operation on simple formulae
5982 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5984 * converter.C: constify a bit
5986 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5988 * lyx_gui.C: check xforms version correctly
5990 2002-04-30 Herbert Voss <voss@lyx.org>
5992 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5995 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5997 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5998 attempt to register it with a VCS)
6000 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6002 * lyx_main.C (init): honor variables LYX_DIR_13x and
6005 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6009 * lyx_main.C: fix a crash on bad command line,
6010 and give a useful exit status on error
6012 * lyxfunc.C (doImport): allow -i lyx to work
6014 2002-03-30 André Pönitz <poenitz@gmx.net>
6016 * lyxfunc.C: mathed font changes
6018 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6033 * trans_mgr.h: srcdocs, and some minor cleanups
6035 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6037 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6038 call getFont all the time)
6040 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6042 * switch from SigC signals to boost::signals
6044 2002-05-29 André Pönitz <poenitz@gmx.net>
6046 * paragraph_pimpl.C (getChar): don't call size() too often...
6048 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6050 * paragraph_pimpl.C (insertChar): do not try to update tables when
6051 appending (pos == size())
6053 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6054 in order to reduce drastically the number of comparisons needed to
6055 parse a large document
6057 2002-05-29 André Pönitz <poenitz@gmx.net>
6063 * textclasslist.[Ch]:
6064 * sp_ispell.h: whitespace change
6066 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6069 lyxaction directly now.
6071 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6075 * lyxvc.C: remove unused headers
6077 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6084 * undo_funcs.C: some cleanups. Use shared_ptr
6085 and a template for the undo stacks.
6087 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6089 * BufferView_pimpl.h:
6090 * BufferView_pimpl.C:
6097 * text2.C: use key_state/mouse_state
6099 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6101 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6104 * chset.C: change include order
6105 (loadFile): use boost regex and get rid of LRegex and LSubstring
6107 * Makefile.am (BOOST_LIBS): new variable
6110 * LaTeX.C: change include order.
6111 (scanAuxFile): use boost regex and get rid of LRegex and
6115 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6120 * FontInfo.C: moved to frontends/xforms/
6123 * FontLoader.C: moved into frontends for GUIIzation
6128 * lyxfunc.C: changes from above
6130 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6132 * LColor.C: remove spurious X include
6134 * BufferView_pimpl.C:
6139 * text2.C: move font metrics to frontends/
6141 2002-05-24 Juergen Vigna <jug@sad.it>
6143 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6144 setting the undo_cursor.
6146 * ParagraphParameters.h: include local includes first.
6148 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6150 * BufferView_pimpl.C:
6151 * BufferView_pimpl.h:
6155 * screen.C: move WorkArea into frontends/
6161 * BufferView2.C: move LyXScreen into frontends/
6165 * lyx_gui.C: move lyxlookup into frontends/xforms/
6167 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6170 * BufferView_pimpl.C:
6180 * bufferview_funcs.C:
6193 * vc-backend.C: move LyX/XFormsView into frontends/
6195 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6207 * text2.C: move Painter to frontends/
6209 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6211 * buffer.C: comment out some some code that depend upon lyx_format
6214 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6215 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6217 * buffer.h (NO_COMPABILITY): turn off compability
6219 * ColorHandler.C: include scoped_array.hpp
6221 * font.C: Use more specific smart_ptr header.
6224 * ShareContainer.h: ditto
6228 * BufferView_pimpl.h: ditto
6229 * ColorHandler.h: ditto
6231 * kbmap.C (defkey): change call to shared_ptr::reset
6233 2002-05-21 Juergen Vigna <jug@sad.it>
6235 * buffer.C (insertErtContents): fix to insert ert asis if it is
6236 non empty. Skip it completely if it contains only whitespaces.
6238 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6240 * BufferView_pimpl.C:
6241 * BufferView2.C: clear selection on paste (bug 393)
6243 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6245 * DepTable.C: include ctime
6247 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6249 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6251 2002-05-14 Juergen Vigna <jug@sad.it>
6253 * text.C (breakParagraph): fixed function to honor the keepempty
6254 layout in the right maner and also to permit the right breaking
6255 algorithm on empty or non empyt keepempty paragraphs.
6257 * paragraph.C (breakParagraph): we have to check also if the par
6258 is really empty (!size()) for isempty otherwise we do the wrong
6261 2002-05-10 Juergen Vigna <jug@sad.it>
6263 * buffer.[Ch] : The following are only changes to the ert
6264 compatibility read reading old LaTeX layout and font stuff and
6265 convert it to ERTInsets.
6267 * buffer.h: added isErtInset().
6269 * buffer.C (struct ErtComp): add a fromlayout bool to check
6270 if we're inside a LaTeX layout.
6271 (isErtInset): new helper function.
6272 (insertErtContents): look for other ert insets before this one
6273 and insert the contents there, so that we don't have subsequent
6274 ERT insets with nothing between them. This way we create only one
6275 inset with multiple paragraphs. Also check if we don't insert only
6276 spaces ' ' as they are ignored anyway afterwards in the .tex file
6277 so if we have only spaces we will ignore this latex part in the
6279 (parseSingleLyXformat2Token \\layout): better compatibility when
6280 reading layout-latex stuff.
6281 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6283 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6284 stuff after reading the inset only get the information back from
6287 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6289 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6291 * LaTeXFeatures.C (getBabelOptions): New method.
6293 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6295 * BufferView_pimpl.C (Dispatch): work around missing argument for
6298 2002-05-08 Juergen Vigna <jug@sad.it>
6300 * text.C (leftMargin): handle paragraph leftindent.
6302 * paragraph.C (writeFile): write the new \\leftindent tag.
6303 (validate): handle leftindent code.
6304 (TeXEnvironment): handle paragraphleftindent code again.
6306 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6308 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6309 for paragrap_extra indent code and new token \\leftindent.
6310 (latexParagraphs): handle the leftindent as environment.
6312 * ParameterStruct.h: added leftindent support.
6314 * ParagraphParameters.C (leftIndent): added support functions for
6315 the paragraph left indent.
6317 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6320 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6322 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6325 * text.C (computeBidiTables): No bidi in insetERT.
6327 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6330 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6332 * version.C.in: pre 5
6334 2002-05-02 José Matos <jamatos@fep.up.pt>
6335 * buffer.C (makeDocBookFile): white space changes, add newline to
6337 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6339 * tabular.C (docBook): fix typo.
6341 2002-05-03 Juergen Vigna <jug@sad.it>
6343 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6344 change in LyXText as we can not be sure it was not freed.
6345 (drawOneRow): remove unused code.
6347 * text.C (drawInset): redo the calculation of the need_break_row as
6348 it could have a row which was already freed.
6349 (draw): look at the return value of drawInset and return false if
6350 it also returned false.
6351 (paintRowText): look at the return value of draw and return false if
6352 it also returned false.
6354 * lyxtext.h: added bool return type to drawInset() and draw() so that
6355 if we have a change in the row so that the rowbreak has to be redone
6356 we abort drawing as it will be called again.
6358 2002-05-02 Juergen Vigna <jug@sad.it>
6360 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6361 a change in the maintext also if we're inside an inset.
6362 (Dispatch): set the cursor again after a break line and after the
6363 screen has been updated as it could be we're in a different row.
6365 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6366 to set the cursor behind the pargraph with > size().
6367 (setCursor): check also for the same paragraph when checking where
6368 to put the cursor if we have a NFR inset.
6370 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6371 parts of layout read further up as it still was in the wrong
6374 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6376 * screen.C (drawFromTo): change sine fullRebreak always return
6379 * buffer.C (parseSingleLyXformat2Token): reindent some
6381 * BufferView_pimpl.C (update): change since fullRebreak always
6383 (Dispatch): git rid of the last hardcoded "Standard"s.
6385 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6387 * text2.[Ch] (fullRebreak): make it return void now that we always
6390 2002-04-30 Juergen Vigna <jug@sad.it>
6392 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6393 ert compatibility check for "latex" layout.
6395 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6397 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6398 minipages: use col% instead of p%, and also use the current font.
6399 (makeLaTeXFile): Fix use babel condition.
6400 (parseSingleLyXformat2Token): Correct font when reading old floats.
6402 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6404 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6405 inserting list of floats.
6407 2002-04-25 Herbert Voss <voss@lyx.org>
6409 * MenuBackend.C (expand): don't add the graphics extensions to the
6412 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6414 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6415 non-existing layout, do not complain if it was the default layout
6416 of the original class (bug #342)
6418 2002-04-24 Juergen Vigna <jug@sad.it>
6420 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6421 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6423 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6425 * buffer.C (getBibkeyList): If using \bibliography, return the
6426 option field with the reference itself. Enables us to provide natbib
6427 support when using \bibliography.
6429 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6431 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6433 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6434 natbib is provided by the LaTeX class.
6436 2002-04-23 Juergen Vigna <jug@sad.it>
6438 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6441 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6443 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6445 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6447 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6448 ensuremath around textordmasculine, textordfeminine and
6451 2002-04-19 Juergen Vigna <jug@sad.it>
6453 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6454 reinitializing the buffer otherwise row-dimensions may be wrong.
6455 (update): reset also the selection cursors if they do exits otherwise
6456 their x/y positions may be wrong.
6458 * text2.C (cursorDown): don't enter the inset if we came from a row
6459 above and are one row over the inset.
6461 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6462 really leaving an inset.
6464 2002-04-18 Juergen Vigna <jug@sad.it>
6466 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6467 of the selected paragraph does not have the selected layout also if
6470 * text2.C (setLayout): fixed bug which did not change last selected
6473 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6474 changed the read and substituted \\end_float with \\end_inset!
6476 * BufferView_pimpl.C (cursorPrevious):
6477 (cursorNext): fixed to make it work with rows heigher than the work
6478 area without moving the cursor only the draw of the row.
6479 (workAreaMotionNotify): fix jumping over high rows.
6481 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6483 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6486 2002-04-16 Juergen Vigna <jug@sad.it>
6488 * text2.C (setCursor): set also the irow().
6489 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6491 (cursorDown): support for locking an inset if the x_fix value goes
6492 inside it. That way I can transverse insets too with cursor up/down.
6494 * lyxrow.h: added irow helper function same as other (i) functions.
6496 * BufferView_pimpl.C (cursorPrevious):
6497 (cursorNext): fixed for insets!
6499 2002-04-15 Juergen Vigna <jug@sad.it>
6501 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6502 position otherwise it is wrong in some cases.
6504 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6505 inside the inset before the call.
6507 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6509 * buffer.[Ch] (getBibkeyList): make it const.
6511 2002-04-12 Juergen Vigna <jug@sad.it>
6513 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6515 * text2.C (getCursorX): new helper function
6516 (setCursor): compute also ix_
6517 (setCursorFromCoordinates): set also ix.
6519 * lyxcursor.h: added ix_ and helper functions.
6521 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6523 * buffer.C (insertStringAsLines): dont break paragraph if the this
6524 paragraph is inside an inset which does not permit it!
6526 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6527 also with no chars on this paragraph.
6528 (paintRowText): only paint stuff if it's inside the workarea!
6530 * paragraph.C (breakParagraph): honor keepempty flag and break the
6531 paragraph always below not above.
6533 * BufferView2.C (unlockInset): update the paragraph layout on inset
6534 unlock as we changed paragraph in such a case.
6536 * lyxfind.C (LyXFind): clear the former selection if not found!
6538 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6539 again called in insertChar().
6541 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6542 an inset which uses the whole row!
6543 (rightMargin): ditto.
6544 (insertChar): force a rebreak if we inserted an inset!
6546 2002-03-28 Herbert Voss <voss@lyx.org>
6548 * lyxlength.[Ch]: add inBP() to get the right PS-point
6549 units (BigPoint). With inPixels we have rounding errors
6551 2002-04-11 Juergen Vigna <jug@sad.it>
6553 * text2.C (setCursorFromCoordinates): set iy to the right value.
6554 (setCursor): add check if row->previous exists!
6556 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6557 an old float_type as this was the case in the old code!
6559 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6561 * BufferView2.C (showLockedInsetCursor): use iy
6562 (fitLockedInsetCursor): ditto
6564 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6565 locked insets as there we have the right value now.
6567 * lyxcursor.C: added iy_ variable and iy functions to set to the
6568 baseline of cursor-y of the locked inset.
6570 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6571 (setCursor): fixed for insets which need a full row.
6573 * text.C (rowLastPrintable): don't ignore the last space when before
6574 an inset which needs a full row.
6575 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6576 as last character of a row when before a inset which needs a full row.
6578 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6580 * version.C.in: update date
6582 * text2.C (fullRebreak): try to always return true and see what
6585 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6587 * MenuBackend.C (expand): use Floating::listName
6589 * FloatList.C (FloatList): add listName argument to the built-in
6592 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6593 text associated with the float.
6595 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6597 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6599 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6601 * ShareContainer.h: add a couple of missing typenames.
6603 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6605 * lyxrc.C (getDescription): use _() correctly rather than N_().
6607 2002-03-28 Herbert Voss <voss@lyx.org>
6609 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6610 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6612 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6614 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6615 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6617 2002-03-29 Juergen Vigna <jug@sad.it>
6619 * lyxfunc.C (dispatch): add a missing fitCursor call.
6621 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6622 it was scrolled by a cursor move, so return the bool status.
6624 * BufferView.C (fitCursor): return the bool flag also to the outside
6625 world as this is needed.
6627 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6629 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6630 call the edit() as it is not needed (and wrong) IMO.
6631 (workAreaButtonPress): set the screen_first variable before evt.
6632 unlock the inset as this may change screen_first and then we have
6633 a wrong y position for the click!
6635 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6637 * MenuBackend.C (expand): another translation that I missed
6639 2002-03-28 Juergen Vigna <jug@sad.it>
6641 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6643 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6645 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6647 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6649 * MenuBackend.C (expand): fix export/view/update when there is no
6652 2002-03-27 Herbert Voss <voss@lyx.org>
6654 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6657 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6659 * bufferview_funcs.C (currentState): only show paragraph number
6660 for is DEVEL_VERSION is set.
6662 * lyxfunc.C (dispatch): put warning in INFO channel
6664 * MenuBackend.C (expand): translate the name of floats
6666 * FloatList.C (FloatList): mark the float names for translation
6668 * converter.C (convert): use LibScriptSearch
6670 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6672 * MenuBackend.C (defaults): fix default menu (we might as well get
6675 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6677 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6680 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6682 * lyxvc.C: reorder includes.
6684 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6686 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6689 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6691 * CutAndPaste.C: change layouts earlier on paste
6692 to avoid crashing when calling getFont()
6694 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6696 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6699 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6701 * WorkArea.C: remove 'Pending' debug message.
6703 * most files: ws cleanup
6705 * buffer.[Ch]: ws changes
6707 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6709 2002-03-21 Juergen Vigna <jug@sad.it>
6711 * tabular.C (SetMultiColumn): collapse also the contents of the
6712 cells and set the last border right. Added a Buffer const * param.
6714 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6716 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6719 2002-03-19 Juergen Vigna <jug@sad.it>
6721 * text2.C (clearSelection): reset also xsel_cache.
6723 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6724 where it needs to be called (John tells us to do so too :)
6725 (selectionLost): reset sel_cache.
6727 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6729 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6731 * text2.C (setCursorIntern): put debuging code in INSETS channel
6733 2002-03-19 André Pönitz <poenitz@gmx.net>
6735 * lyxfunc.C: tiny whitespace change
6737 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6739 * ToolbarDefaults.C (init):
6740 * LyXAction.C (init):
6742 * BufferView_pimpl.C (Dispatch):
6743 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6745 2002-03-19 Allan Rae <rae@lyx.org>
6747 * exporter.C (Export): removeAutoInsets before doing anything else.
6748 While I've just introduced a dependency on BufferView this really is
6749 the best place to clean the buffer otherwise you need to cleanup in
6750 a dozen places before calling export or cleanup in a dozen functions
6753 * converter.C (runLaTeX):
6754 (scanLog): Better handling of removeAutoInsets and screen updates.
6756 * lyxfunc.C (dispatch): small whitespace changes
6758 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6760 * WorkArea.C (C_WorkAreaEvent): return a value.
6761 (event_cb): return 1 if we handled the event, 0 otherwise.
6763 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6765 2002-03-18 Juergen Vigna <jug@sad.it>
6767 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6768 (GetAdditionalWidth): ditto.
6772 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6773 inset if we're there actually (probably not used right now but this
6774 is the direction to go for unifying code).
6775 (paste): disable code to clear the selection.
6777 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6778 inside an InsetText and move the check further up as it is in the
6781 * text2.C (pasteSelection): set a selection over the pasted text.
6783 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6785 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6786 and libgraphics to build on Cygwin.
6788 2002-03-15 Juergen Vigna <jug@sad.it>
6790 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6791 inserting an Inset into the paragraph. I know this is not the best
6792 fix but we already use current_view in CutAndPaste so we will remove
6793 all of it's using at the same time.
6795 * buffer.C (sgmlError): deactivated function till it is rewritten in
6796 the right mode, now it can create problems.
6798 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6799 before accessing it.
6801 2002-03-14 Juergen Vigna <jug@sad.it>
6803 * undo_funcs.C (textHandleUndo): do the right thing when updating
6804 the inset after the undo/redo.
6806 * text2.C (setCursor): just some testcode for #44 not ready yet.
6808 * undo_funcs.C (textHandleUndo): set the next() and previous()
6809 pointers of the paragraph to 0 before deleting otherwise we have
6810 problems with the Paragraph::[destructor].
6812 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6813 on a paragraph insertion.
6815 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6817 * buffer.C (asciiParagraph): use += operator for char append to
6820 * paragraph.C (getFontSettings): compare >= not just >
6821 (highestFontInRange): ditto
6824 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6826 * paragraph.C: change several algorithm to be more appripriate for
6827 the problem domain. This is lookip in FontList and in the InsetList.
6829 2002-03-13 André Pönitz <poenitz@gmx.net>
6832 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6834 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6839 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6841 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6843 * Painter.C (display): anon helper function, adjust code for this
6845 (pixmap): remove function.
6847 * Painter.h: remove private display variable.
6849 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6851 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6853 * WorkArea.[Ch]: remove figinset_canvas cruft.
6855 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6857 * lyxtextclass.C (operator): add one item cache optimization.
6859 * bufferlist.h: doxy changes
6861 * bufferlist.C: ws changes
6863 * DepTable.[Ch] (ext_exist): place const in the right spot.
6865 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6867 (workAreaExpose): call resizeInsets when the with BufferView changes.
6868 (Dispatch): adjust for protectedBlank removal
6869 (specialChar): call updateInset if the insert went ok.
6871 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6872 specialChar instead.
6874 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6876 * BufferView.h: doxy change
6878 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6880 * lyxtextclass.C (operator[]): remove non-const version
6881 (defaultLayout): remove non-const version
6883 2002-03-12 Juergen Vigna <jug@sad.it>
6885 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6886 did resize the LyXText too.
6888 * buffer.C (readLyXformat2): set layout information on newly allocated
6891 * tabular.C (OldFormatRead): set layout information on the paragraph.
6893 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6895 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6897 2002-03-11 Juergen Vigna <jug@sad.it>
6899 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6901 (resizeCurrentBuffer): force also the insets to resize themselfes.
6902 (moveCursorUpdate): fixed up for InsetText.
6904 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6907 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6908 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6909 value of Dialogs::tooltipsEnabled().
6910 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6912 2002-03-08 Juergen Vigna <jug@sad.it>
6914 * BufferView_pimpl.C (updateInset): update inset inside inset also
6915 if it isn't inside theLockingInset().
6917 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6919 * buffer.C (asciiParagraph): redo some of the word and line length
6921 (getLists): look for Caption instead of caption.
6923 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6925 * buffer.C (Buffer): initialize niceFile to true
6928 (makeDocBookFile): make sure niceFile is true on exit
6930 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6932 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6934 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6936 * LyXSendto.C: remove.
6937 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6938 * lyx_gui.C: remove now-redundant comment.
6939 * ColorHandler.h: remove forward declaration of class WorkArea.
6940 * lyxfunc.C: remove #include "WorkArea.h".
6942 2002-03-07 Juergen Vigna <jug@sad.it>
6944 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6945 got moved away with the DEPM and also set the inset_owner always
6946 right which before could have been omitted.
6948 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6950 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6951 wanted layout is not found.
6953 2002-03-07 Juergen Vigna <jug@sad.it>
6955 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6957 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * paragraph.C (breakParagraph): use default layout not layout of
6961 (Paragraph): clear ParagraphParameters.
6963 2002-03-06 Juergen Vigna <jug@sad.it>
6965 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6966 otherwise it would not be a valid lenght. Fixed a special case in
6967 the minipage compatibility read where we end the document with a
6970 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6971 was set as it could be 0 for InsetTexts first entry.
6973 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6975 * paragraph.C (writeFile): if layout is empty write out
6976 defaultLayoutName().
6978 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6979 file without named layout we set layout to defaultLayoutName().
6981 2002-03-06 Juergen Vigna <jug@sad.it>
6983 * CutAndPaste.C (copySelection): set layout for new paragraph.
6985 * text.C (prepareToPrint): leave ERT inset left aligned
6986 (leftMargin): don't indent paragraphs inside ERT insets
6988 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6990 * paragraph.C (breakParagraph): dont call clear do the work manually
6992 * paragraph.[Ch] (clear): remove function
6994 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6996 * paragraph.C (Paragraph): dont call clear, the work has already
6999 * lyxtextclass.C (operator): assert if n is empty
7001 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7002 work manually instead.
7004 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7006 * BufferView_pimpl.C: protect selectionLost against text == 0
7008 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7010 * text.C (breakParagraph): fix a setting layout to '0' problem.
7012 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7014 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7015 final location of file, for the included files, and graphics.
7017 2002-03-05 Juergen Vigna <jug@sad.it>
7019 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7021 2002-03-04 Juergen Vigna <jug@sad.it>
7023 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7025 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7026 last column of multicolumn cells.
7027 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7029 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7031 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7032 file if it doesn't go to a temporary file.
7034 * buffer.C (sgmlOpenTag):
7035 (sgmlCloseTag): remove extra newline insertion.
7037 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7039 * text.C (getRowNearY): comment out debug msg
7041 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7043 * text2.C: first -> first_y
7045 * text.C (getRowNearY): add some attemts at a possible
7046 optimization, not working.
7048 * tabular.[Ch]: add BufferParams to several function so that newly
7049 created paragraph can be initialized to he default layotu for the
7052 * tabular-old.C (ReadOld): add buf->params to call of Init
7054 * screen.C: rename text->first to text->first_y
7056 * paragraph.C (breakParagraph): always set layout in the broken
7059 * lyxtextclass.C (Read): remove lowercase
7062 (delete_layout): ditto
7064 * lyxtext.h: rename first -> first_y
7066 * lyxlayout.C (Read): remove lowercase
7069 (obsoleted_by): ditto
7071 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7073 * buffer.C (insertErtContents): add params are to InsetERT
7074 (parseSingleLyXformat2Token): add code to check if a paragraphs
7075 layout really exist.
7076 (parseSingleLyXformat2Token): add params to several inset
7078 (asciiParagraph): remove lowercase, do the layout comparisons with
7081 * BufferView_pimpl.C (cursorNext): first -> first_y
7082 (resizeCurrentBuffer): first -> first_y
7083 (updateScrollbar): first -> first_y
7084 (scrollCB): first -> first_y
7085 (workAreaMotionNotify): first -> first_y
7086 (workAreaButtonPress): first -> first_y
7087 (checkInsetHit): first -> first_y
7088 (cursorPrevious): first -> first_y
7089 (cursorNext): first -> first_y
7090 (Dispatch): add buffer_->params to severl inset contructors
7092 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7094 * lyxlayout.C (Read): remove some debug info that I forgot.
7096 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7097 clean up the code slightly.
7098 (makeLinuxDocFile): ditto
7099 (makeDocBookFile): ditto
7101 * text2.C: layout as string
7103 * text.C: layout as string
7105 * paragraph_pimpl.C: layout as string
7107 * paragraph.[Ch]: layout as string
7109 * lyxtextclasslist.[Ch]: layout as string
7111 * lyxtextclass.[Ch]: layout as string
7113 * lyxtext.h: layout as string
7115 * lyxlayout.[Ch]: layout as string
7117 * lyx_cb.C: layout as string
7119 * bufferview_funcs.C: layout as string
7121 * bufferparams.C: layout as string
7123 * buffer.C: layout as string
7125 * LyXView.[Ch]: layout as string
7127 * LaTeXFeatures.[Ch]: layout as string
7129 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7131 * BufferView_pimpl.C: change current_layout to string, remove
7136 (workAreaButtonRelease): layout as string
7138 * BufferView2.C (unlockInset): adjust
7140 * vspace.C (asLatexCommand): use an explict temp variable.
7142 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7144 * Makefile.am: use FRONTEND_*
7146 2002-03-01 Juergen Vigna <jug@sad.it>
7148 * tabular.C (SetWidthOfMulticolCell): changed to something better
7149 I hope but still work in progress.
7150 (recalculateMulticolumnsOfColumn): renamed function from
7151 recalculateMulticolCells as it is more appropriate now.
7152 (SetWidthOfCell): calculate multicols better.
7154 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7156 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7158 * lyxfunc.C (processKeySym): print sequence also if it is
7159 `deleted' (complete)
7161 * kbsequence.C (print): print sequence even if it is deleted
7162 (complete would be a better word, actually).
7164 * lyxfunc.C (dispatch): print complete options after a prefix key
7166 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7168 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7170 * text2.C (setCharFont): eliminate setCharFont code duplication.
7172 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7174 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7175 LFUN_TABULAR_FEATURE (bug #177)
7177 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7179 * Makefile.am: remove figure.h
7181 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7183 * Bufferview_pimpl.C:
7195 * text2.C: remove #include "lyx_gui_misc.h".
7197 * LaTeX.C: added #include <cstdio>
7199 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7201 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7202 that the paragraph following this one can have.
7204 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7206 * vspace.C (asLatexCommand): fix bogus gcc warning
7208 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7210 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7212 * text2.C (setLayout): get rid of redundant code
7214 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7216 * text2.C (incDepth): make sure depth cannot be increased beyond
7219 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7221 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7222 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7224 * PainterBase.h (image):
7225 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7228 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7232 * BufferView_pimpl.C:
7233 * BufferView_pimpl.h:
7253 * sp_spell.C: remove fig inset, and the crap house of
7254 cards that follows it
7256 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7262 * nt_defines.h: move .h into support/
7264 * vms_defines.h: remove
7266 * WorkArea.C: add space in debug output
7270 * buffer.C: add WITH_WARNINGS
7274 * bufferlist.C: s/retrive/retrieve/, add docs
7285 * lyxgui.C: add ID to X error handler
7287 * lyxtestclass.c: fix typo
7289 2002-02-26 Juergen Vigna <jug@sad.it>
7291 * tabular_funcs.C (write_attribute): changed so that some default
7292 attributes are not written at all.
7293 (getTokenValue): set default values before trying to read the
7294 value so we have the return value always set as default if we don't
7295 find the token we search for.
7297 * tabular.C (Write): write bools as bools not as strings!
7299 2002-02-22 Juergen Vigna <jug@sad.it>
7301 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7302 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7304 * text.C (leftMargin): don't add an indent for paragraphs inside
7305 tabular cells (fix #208).
7307 2002-02-21 José Matos <jamatos@fep.up.pt>
7309 * tabular.C (docBook): fixed support for long tables.
7311 2002-02-20 Juergen Vigna <jug@sad.it>
7313 * text2.C (getFont): get the drawing font of the Inset if this
7314 paragraph is inside an inset (only important for InsetERT for now).
7316 * buffer.C (insertErtContents): use new lanugage params in ERT
7319 * CutAndPaste.C: commenting out seemingly uneeded code.
7321 2002-02-19 Allan Rae <rae@lyx.org>
7323 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7324 Iterators might be simple to use but they also get invalidated.
7325 (removeAutoInsets): renamed saved cursor tracking variables and added
7326 some comments to clarify what everything does.
7328 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7335 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7336 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7339 * vc-backend.h: remove #include "support/syscall.h"
7343 * converter.C: rearrange #includes in Lars' approved fashion.
7345 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7346 forward declare class Timeout in the header file.
7348 * XFormsView.C: changes due to the above.
7350 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7353 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7354 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7356 2002-02-18 José Matos <jamatos@fep.up.pt>
7358 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7361 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7363 * a lot of small ws changes
7364 * add a lot of using std::XXX
7365 * use std construcs some places where approp.
7366 * use some exisint stuff from lyxfunctional where approp.
7367 * Make file changes to use partial linking (lets test this now...)
7369 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7373 remove #include "support/syscontr.h" as it's redundant. Always has been.
7381 change Systemcalls::System to Systemcalls::Wait and
7382 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7383 No change of functionality, just reflects the stripped down Systemcalls
7386 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7388 * debug.[Ch]: add a GRAPHICS type to the enum.
7390 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7392 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7394 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7397 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7400 match the changes below.
7402 * text2.C (toggleInset): if there is not editable inset at cursor
7403 position, try to see if cursor is _inside_ a collapsable inset
7406 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7408 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7409 document menu has a nice checkbox
7411 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7413 * lyxlength.C (asLatexString): change PW to output as percent of
7416 * lengthcommon.C: change '%' to 't%'
7418 * lyxfunc.C (dispatch): a few comments from Martin
7420 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7424 * BufferView_pimpl.h:
7425 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7428 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7430 * vspace.C (inPixels): fix compiler warning
7432 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7434 * lyxfunc.C (getStatus): fix status message for disabled commands.
7436 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7438 * BufferView_pimpl.C: fix crash on close buffer
7439 during selection (#227)
7441 2002-01-27 Herbert Voss <voss@lyx.org>
7443 * buffer.C: link old Figure to new graphic inset
7445 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7447 * FontLoader.C (getFontinfo): Change the latex font names in order
7448 to match the names of type1inst.
7450 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7454 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7457 (remove_files_with_extension): ditto
7458 (remove_file): ditto
7461 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7462 document is smaller than the work area height. Do not initialize
7463 static variables to 0.
7465 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7467 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7469 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7470 LFUN_LAYOUT_PARAGRAPHS.
7472 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7473 tabular. It is possible to provide a possible cell, which will
7474 typically be the actcell from the corresponding insettabular
7476 * lyxfunc.C (getStatus): small cleanup; disable
7477 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7480 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7482 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7484 * paragraph.C (startTeXParParams):
7485 (endTeXParParams): new methods. The LaTeX code to
7486 start/end paragraph formatting
7487 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7488 empty (fixes bug #200)
7490 * vspace.C (inPixels): adapt to the change below
7491 (inPixels): [later] more cleanups (remove unused variables)
7493 * lyxlength.C (inPixels): change to use a width and a height as
7496 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7498 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7499 Replaced with \paperwidth
7501 * DepTable.C (insert): add std:: qualifier
7503 2002-01-18 Allan Rae <rae@lyx.org>
7505 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7508 * text.C (drawInset): Turned out I didn't know enough about how
7509 rebreaking worked. This fixes most of the redraw problems. I see
7510 an occasional cursor trail when a line is broken now and the cursor
7511 placement can seem out by a few pixels also after a rebreak.
7513 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * buffer.C (parseSingleLyXformat2Token): update because minipage
7516 width is now a LyXLength
7518 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7520 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7523 2002-01-17 Juergen Vigna <jug@sad.it>
7525 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7527 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7528 is set correctly and the inset is updated correctly.
7530 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7532 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7533 the beginning of the loop.
7535 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7537 * lyxrc.C: improve help for use_scalable_fonts
7539 2002-01-17 Allan Rae <rae@lyx.org>
7541 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7543 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7545 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7546 make sure to set their inset_owner to the right value (bug #171)
7548 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7551 * DepTable.C: Implement mtime checking to reduce time spent doing
7554 2002-01-16 Juergen Vigna <jug@sad.it>
7556 * tabular.C (GetAdditionalHeight): one of error fixed.
7558 * lyxrc.C (output): small fix in writing use_pspell.
7560 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7562 * sp_base.h: #include LString.h
7564 2002-01-16 Allan Rae <rae@lyx.org>
7566 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7567 Can someone check this please?
7569 * text.C (drawInset): It was possible that p.row would be removed by
7570 breakAgainOneRow upsetting a few other settings. There may be another
7571 small tweak possible by setting need_break_row = 0 when p.row has been
7572 removed but I don't know enough about the logic here.
7574 2002-01-15 Allan Rae <rae@lyx.org>
7576 * text.C (insertChar): removed conditional truism.
7578 * BufferView2.C (removeAutoInsets): More tweaks.
7579 cur_par_prev could be a stray pointer. Check for trailing empty line
7580 in case last line was cur_par and only had an error inset on it.
7582 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7584 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7587 * vc-backend.C (most methods):
7588 * exporter.C (Export):
7589 * converter.C (convert):
7591 * LyXSendto.C (SendtoApplyCB):
7592 * lyxfunc.C (dispatch):
7596 * lyx_cb.C (AutoSave):
7598 * BufferView_pimpl.C (MenuInsertLyXFile):
7599 * buffer.C (runChktex): use Buffer::filePath().
7601 * buffer.h: rename filename to filename_; rename filepath to
7602 filepath_ and make it private
7603 (filePath): new method
7605 * buffer.C (writeFile): use fileName()
7608 * lyx_main.C (init): fix starting of LyX when the binary is a
7609 link from so,ewhere else.
7611 * minibuffer.C: include <cctype> for isprint
7613 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7615 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7616 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7617 name clash with InsetCollapsable's width function.
7619 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7621 * lastfiles.C: include <iterator>
7623 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7625 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7628 * buffer.C (makeLaTeXFile): ditto.
7629 Also make loop operation more transparent.
7631 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7633 * ToolbarDefaults.C: remove trailing comma closing namespace.
7635 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7637 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7640 * trans.C (Load): comment out unused variable, allowed.
7642 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7644 * minibuffer.[Ch] (append_char): new method to recieve input from the
7645 drop-down completion browser. If a key was pressed, then recieve this
7646 char and append it to the existing string.
7647 (peek_event): modify the positioning data passed to the completion
7648 browser so that it can be placed above the minibuffer rather than below.
7649 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * LyXAction.C (init): alloe error-next for readonly documents.
7653 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7656 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7658 * bufferlist.C (readFile): create the buffer _after_ checking that
7661 * lyxfunc.C (verboseDispatch): fix handling of arguments
7663 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7665 * lyxrc.C: use string::erase() instead of initializing to "".
7668 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7670 * BufferView_pimpl.h:
7671 * BufferView_pimpl.C:
7674 * text2.C: tell X when we have made a selection for copying
7676 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7678 * BufferView_pimpl.C (MenuInsertLyXFile):
7679 * lyxfunc.C (menuNew):
7681 (doImport): add shortcuts to directory buttons
7683 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7686 * lyxfunc.C (setStatusMessage):
7687 (getStatusMessage): new methods
7688 (getStatus):use setStatusMessage instead of setErrorMessage
7689 (dispatch): when function is disabled, set error message here
7690 [instead of in getStatus previously]
7692 * BufferView_pimpl.C (workAreaButtonRelease): update
7693 toolbar/menubar here too.
7695 2002-01-13 Allan Rae <rae@lyx.org>
7697 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7698 Now seems indestructible. Remaining task is to audit all other
7699 code affected by deleteEmptyParagraphMechanism. One small quirk
7700 left is that an empty document with an error in the preamble can
7701 be made to report an error but no error box appears. I don't know
7703 (removeAutoInsets): Improved comments.
7705 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7708 * Thesaurus.C: update for Aiksaurus 0.14
7710 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7712 * text2.C (firstParagraph): removed member function, all uses
7713 replaces with ownerParagraph
7714 (redoParagraphs): here
7716 (toggleAppendix): here
7717 * BufferView2.C (insertErrors): here
7718 (setCursorFromRow): here
7720 2002-01-13 Allan Rae <rae@lyx.org>
7722 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7723 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7724 There is still a way to segfault this although you may have to do this
7725 multiple times: Have an InsetERT with an unknown command in it.
7726 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7727 <down-arrow>, <Enter> again, View->DVI, BANG!
7729 * text2.C (setCursor):
7730 (deleteEmptyParagraphMechanism):
7731 * lyxtext.h (setCursor):
7732 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7733 Making use of the return value may help fix other bugs.
7735 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7737 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7739 * LyXView.C (updateMenubar): call MenuBar::update here
7740 (updateToolbar): but not here
7741 (showState): do not update toolbar/menubar
7743 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7744 should need to care about that.
7746 * lyxfunc.C (verboseDispatch): simplify a bit
7747 (getStatus): have a version which takes a pseudoaction, and
7748 another which requires a (kb_action,string).
7750 * LyXAction.C (retrieveActionArg): make it work also when action
7751 is not a pseudo-action.
7752 (getActionName): simplify a bit
7755 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * lyxfunc.C (verboseDispatch): new families of methods with
7758 several ways to specify a command and a bool to indicate whether
7759 the command name and shortcut should be displayed in minibuffer
7760 (eventually, we could extend that to a finer bitmask like
7761 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7762 (dispatch): the pristine dispatch command which just, well,
7763 dispatchs! Note it still sets its result to minibuffer; I'm not
7766 * lyxfunc.h: remove setHintMessage
7768 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7770 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7772 * BufferView_pimpl.C (specialChar): delete new inset if we have
7773 not been able to insert it.
7775 * kbmap.C: revert to using int instead of kb_action, since all we
7776 are dealing with is pseudo-actions.
7778 * LyXAction.C (searchActionArg): change to return int instead of
7779 kb_action, since the result is a pseudoaction.
7781 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7783 * buffer.C (insertErtContents): Fix (partially) the font bug.
7785 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7787 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7788 as the other one is broken on my machine!
7790 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7793 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7795 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7797 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7798 reflect their actual use. Provide compatibility code for older lyxrc
7801 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7803 change names of popup font variables in line with the changes to lyxrc.C
7805 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7807 * buffer.C (asciiParagraph): avoid outputing a word twice after
7810 * lyxrc.C (getDescription): document that document_path and
7811 template_path can be empty.
7813 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7815 * LaTeXFeatures.C (getMacros):
7816 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7818 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7820 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7822 (getPackages): rename feature "floats" to "float". Use an array to
7823 iterate over 'simple' features (i.e. just a \usepackage). Add
7824 handling of "amsmath" (renamed from "amsstyle").
7826 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7828 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7831 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7833 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7834 FuncStaus::FuncStatus & FuncStaus::some_method().
7836 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7838 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7839 of the func_satus stuff. Edited and massaged in various ways by
7842 * lyxfunc.C (getStatus): use FuncStatus
7844 2002-01-08 Juergen Vigna <jug@sad.it>
7846 * text.C (nextBreakPoint): use function Inset::isChar().
7848 * paragraph.C (TeXOnePar): use function
7849 Inset::forceDefaultParagraphs.
7851 * buffer.C (latexParagraphs): use function
7852 Inset::forceDefaultParagraphs.
7854 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7856 * lyx_gui.C (init): set the style of the menu popups to
7857 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7859 2002-01-07 Juergen Vigna <jug@sad.it>
7861 * text.C (setHeightOfRow): small fix
7862 (prepareToPrint): don't look at alignment if we don't have the place
7865 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7867 * box.C: New file. Move the Box methods and functions out of box.h,
7868 following Lars' suggestion.
7870 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7872 * box.h: #include "support/LOstream.h", needed for inlined function.
7875 * lyxtextclasslist.C: added some using std declarations.
7877 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7879 * box.h: make signed dimensions to allow insets wider than
7880 the screen (bug #162)
7882 * BufferView_pimpl.C: add some insetHit debug
7884 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7886 * vc-backend.C: add FIXME
7888 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7890 * lyxfunc.C (getStatus): enable code for showing math font status
7893 2002-01-07 Juergen Vigna <jug@sad.it>
7895 * text.C (nextBreakPoint): removed debug output not needed anymore.
7897 2002-01-06 Juergen Vigna <jug@sad.it>
7899 * text.C (nextBreakPoint): fixed up this function we had this bug
7900 since ever but now hopefully we break row better.
7901 (insertChar): we have to check if an inset is the next char as it
7902 could now happen that a large inset is causing a break.
7904 2002-01-05 Juergen Vigna <jug@sad.it>
7906 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7907 if it doesn't like to be drawed.
7909 2002-01-04 Juergen Vigna <jug@sad.it>
7911 * BufferView2.C (lockInset): forgot to set a cursor.
7913 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7915 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7920 * form_maths_panel.C:
7921 * form_maths_panel.h:
7922 * form_maths_panel.fd: implemented sub- and super- buttons in math
7925 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7926 (or ^ space) to be used as in TeX (req'd by André).
7928 * lyxfunc.C: Allow ^ and _ again to be used both as
7929 super/subscript (mathed) and as themselves (in text).
7931 2002-01-03 Allan Rae <rae@lyx.org>
7933 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7934 "LyX" or the filename of the current buffer if it has one. This is a
7935 modified form of John Levon's patch.
7937 * XFormsView.C (setWindowTitle): also set icon title.
7939 * LyXView.h (setWindowTitle): signature changed.
7940 * XFormsView.h (setWindowTitle): ditto.
7942 2002-01-02 Juergen Vigna <jug@sad.it>
7944 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7946 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7948 * screen.C (topCursorVisible): introduce a temp var for
7949 text->cursor.row(), handle the case where this row is null. (kindo
7952 * text2.C (setCursor): add a couple of asserts.
7954 * paragraph.h (inset_iterator): add -> operator
7956 * paragraph.[Ch] (autoDeleteInsets): remove member function
7958 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7959 cursor pos correctly and handle inset deletion by itself.
7960 (insertErrors): move iterator declaration out of for expression
7962 * lyxtextclass.C: add <algorithm>
7964 * Makefile.am: added the new files to sources, removed layout.C
7966 * layout.C: removed file
7968 * layout.h: remove LYX_DUMMY_LAYOUT
7970 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7974 * lyxtextclass.[Ch]:
7975 * lyxtextclasslist.[Ch]: new files
7977 * include order changes to a lot of files, also changes because of
7980 2001-12-27 Juergen Vigna <jug@sad.it>
7982 * buffer.C (asciiParagraph): more fixes.
7984 * tabular.C (ascii): make ascii export support export of only the
7985 data separated by a column-delimiter.
7986 (ascii): better support for ascii export.
7988 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7990 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7992 * tabular_funcs.C: use a "using std::getline" instead of the
7993 previous fix from Angus (necessary for cxx + lyxstring)
7995 2001-12-24 Juergen Vigna <jug@sad.it>
7997 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7999 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8000 problems. First check a minipage also if we have some ert-contents
8001 (not only on par->size(), second set the right depth of the paragraph
8002 on the relink to the root-paragraph-list!
8004 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8005 which then did not anymore update the main paragraphs on undo/redo!
8007 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8009 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8010 code. Support all font-changing funcs (even those which are not in
8011 menu currently). Support for reporting font settings in
8012 mathed (disabled until Andre provides a function on mathed's side).
8014 * func_status.h (toggle): small helper function to set toggle
8017 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8019 * tabular_funcs.C: getline -> std::getline
8021 2001-12-21 Juergen Vigna <jug@sad.it>
8023 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8024 accessed and could be 0 (I couldn't generate this but it seems
8027 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8029 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8030 * tabular_funcs.h: here and include iosfwd
8032 2001-12-20 Juergen Vigna <jug@sad.it>
8034 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8035 inside inset but undo_par was.
8037 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * Thesaurus.C: always include <config.h> in sources.
8043 * box.h: do not include <config.h> in header files
8045 * text.C (paintLastRow): remove unused variable
8047 * text.C (transformChar):
8049 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8052 * font.C (width): rewrite to use uppercase() instead of
8055 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8057 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8059 * lyxfind.C: clean up of find failure position change
8061 2001-12-20 Juergen Vigna <jug@sad.it>
8063 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8065 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8066 (TeXRow): added to LaTeX a single tabular row.
8067 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8068 (Latex): simplified and finally good LT-h/f support.
8069 (various_functions): just small adaptions for LT-h/f support.
8071 * tabular_funcs.[hC]: added and moved here all not classfunctions
8074 2001-12-19 Juergen Vigna <jug@sad.it>
8076 * tabular.[Ch]: better support for longtabular options (not finished
8079 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8081 * text.C (paintLastRow): use the label font instead of the font of
8082 the last character to compute the size of *_BOX. This makes more
8083 sense and avoids a crash with empty paragraphs.
8084 Use Painter::rectangle to draw EMPTY_BOX.
8086 2001-12-19 Juergen Vigna <jug@sad.it>
8088 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8089 the paragraphs if the replaced paragraph is not the first one!
8090 Tried to delete not used paragraphs but does not work yet so for
8091 now it's inside #ifdef's and by default off!
8093 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * MenuBackend.C: include "lyx_main.h" instead of declaring
8096 lastfiles (actually was declared as LastFiles* instead of a
8099 2001-12-17 Juergen Vigna <jug@sad.it>
8101 * tabular.C (AppendColumn): applied John's fix
8103 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8107 * BufferView_pimpl.h:
8108 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8111 * box.h: new start of class for above
8113 * lyxfunc.C: ignore space-only minibuffer dispatches.
8114 Show the command name when it doesn't exist
8116 * minibuffer.C: don't add empty lines to the history
8118 * minibuffer.C: add a space on dropdown completion
8120 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8122 * text.C: fix line above/below drawing in insets
8124 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8126 * lyxlength.C (LyXLength): Initialize private variables.
8128 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8130 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8131 when inserting error insets.
8133 2001-12-13 Juergen Vigna <jug@sad.it>
8135 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8136 actually sometimes the before-paragraph.
8137 (setUndo): don't clear the redostack if we're not actually undoing!
8139 2001-12-06 Juergen Vigna <jug@sad.it>
8141 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8142 and fixed redoing of main paragraph, so we can use it now ;)
8144 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8146 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8151 2001-12-13 André Pönitz <poenitz@gmx.net>
8154 * undo_func.C: minor cleanup
8156 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8158 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8159 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8160 font in urw-fonts package which is marked as -urw-fontspecific and
8161 does not work (incidentally, changing the encoding in the
8162 fonts.dir of this package to -adobe-fontspecific fixes the
8165 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8166 is a crash when undoing first paragraph (Juergen, please take a
8167 look). THis does not mean the undo fix is wrong, just that it
8170 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8171 the (Paragraph*) version when needed instead of duplicating the
8174 * text.C (workWidth): use Inset::parOwner to find out where the
8175 inset has been inserted. This is a huge performance gain for large
8176 documents with lots of insets. If Inset::parOwner is not set, fall
8177 back on the brute force method
8179 * paragraph_pimpl.C (insertInset):
8180 * paragraph.C (Paragraph):
8181 (cutIntoMinibuffer): set parOwner of insets when
8182 inserting/removing them
8184 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8186 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8192 * mathed/formulabase.C:
8193 * mathed/math_cursor.[Ch]:
8194 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8197 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8199 * lyxlength.[Ch] (operator!=): new function
8201 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8203 * text.C (workWidth): use Inset::parOwner to find out where the
8204 inset has been inserted. This is a huge performance gain for large
8205 documents with lots of insets. If Inset::parOwner is not set, fall
8206 back on the brute force method
8208 * paragraph_pimpl.C (insertInset):
8209 * paragraph.C (Paragraph):
8210 (cutIntoMinibuffer): set parOwner of insets when
8211 inserting/removing them
8213 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8215 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8217 * tabular-old.C (getTokenValue):
8218 * tabular.C (getTokenValue):
8219 (write_attribute): new versions for LyXLength
8220 (everywhere): adjust the use of widths
8222 * tabular.h: change the type of widths from string to LyXLength
8224 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8226 * paragraph.C: fixed missing line number count when exporting
8227 Environments to LaTeX file
8229 * buffer.C: added informational message for checking line numbers.
8231 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8233 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8234 paragraph, do the 'double space' part, but not the 'empty
8237 * text.C (workWidth): small optimization
8238 (getLengthMarkerHeight): use minimal size for negative lengths.
8240 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8242 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8244 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8246 2001-12-11 André Pönitz <poenitz@gmx.net>
8249 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8251 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8253 * text2.C: keep selection on a setFont()
8255 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8257 * lyx_cb.C: another bv->text misuse, from insert label
8259 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8262 * kbsequence.C: re-instate nmodifier mask
8264 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8266 * lyx_main.h: make lyxGUI private.
8268 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8270 * lyxfind.C: place the cursor correctly on failed search
8272 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8274 * text.C (getLengthMarkerHeight): for small heights, the arrows
8275 are not always on top/bottom of the text
8276 (drawLengthMarker): smaller arrows; take the left margin in
8277 account; draw also vfills.
8279 (paintLastRow): remove special code for vfill and standard spaces,
8280 since everything is handled in drawLengthMarker now.
8282 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8284 * buffer.C (insertErtContents): try to handle font and language
8285 interaction a bit better.g
8287 * ColorHandler.C (updateColor): change the hash to cover the whole
8288 LColor enum, ws cleanup
8289 (getGCLinepars): ditto
8290 (getGCLinepars): only lookup in the linecache once.
8292 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8294 * iterators.C (operator++): Make the iterator more robust
8296 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8298 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8300 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8303 * text.C: better added space drawing
8305 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8308 * BufferView2.C: fix layout combo update on inset unlock
8310 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8312 * Makefile.am: don't compile unused files
8314 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8318 * LyXAction.C: remove old LFUN_LAYOUTNO
8320 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8322 * paragraph_pimpl.h:
8323 * paragraph_pimpl.C: isTextAt() doesn't need font param
8325 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8328 * lyxlex.C: little cleanup
8330 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8332 * BufferView_pimpl.C: fix insertAscii for insets
8334 2001-12-05 Juergen Vigna <jug@sad.it>
8336 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8337 set the right font on the "multi" paragraph paste!
8339 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8345 * lyxlength.C: remove out-commented code.
8361 * vc-backend.C: change "while(" to "while ("
8363 * lyxlength.[Ch]: add zero function to check if length is zero or
8365 * lyxgluelength.C: use it
8367 2001-12-05 Allan Rae <rae@lyx.org>
8369 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8370 Works for 2.95.3, from what I understand of Garst's reports this should
8371 work for other g++ versions. We're screwed if the abs(int) definition
8372 changed between bugfix releases of gcc.
8374 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8376 * text.C: fix chapter label offset !
8378 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8381 * text.C: fix hfill at end of line, clean up
8383 2001-12-04 Juergen Vigna <jug@sad.it>
8385 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8386 that we force an update of the inset and it's owners if neccessary.
8388 2001-12-03 Juergen Vigna <jug@sad.it>
8390 * text.C (rowLast): simplified code
8392 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8394 * lyxfunc.C: fix show options on timeout
8396 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8398 * screen.C (topCursorVisible): scroll half a page when the cursor
8399 reached top of bottom of screen
8401 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8403 * minibuffer.C: deactivate on loss of focus
8405 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8407 * vspace.[Ch] (operator!=): add operator.
8409 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8411 * BufferView_pimpl.C: refuse to open an inset when
8412 there's a selection.
8414 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8416 * BufferView_pimpl.C: allow to click on RHS of full row insets
8418 2001-11-30 Juergen Vigna <jug@sad.it>
8420 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8421 insets for undo reasons.
8423 2001-11-28 André Pönitz <poenitz@gmx.net>
8425 * vspace.[Ch]: cosmetical changes
8427 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8437 * kbsequence.C: part re-write of old kb code
8440 * WorkArea.C: remove Lgb_bug_find_hack
8442 2001-11-30 José Matos <jamatos@fep.up.pt>
8444 * buffer.C (makeDocBookFile): add a comment to point a hack.
8445 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8446 Fixed a double write of labels.
8448 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8451 * LaTeX.h Fixed bug in LaTeX class where it would not
8452 re-run latex if no depfiles were changed, but the .dvi was removed.
8454 2001-11-28 André Pönitz <poenitz@gmx.net>
8456 * all the files from the change on 2001/11/26:
8457 use lyx::layout_type instead of LyXTextClass::size_type
8458 use lyx::textclass_type instead of LyXTextClassList::size_type
8460 2001-11-29 Juergen Vigna <jug@sad.it>
8462 * text.C: added support for paragraph::isFreeSpacing()
8464 * buffer.C: same as above
8466 * paragraph.h: inserted isFreeSpacing() function to enable
8467 FreeSpacing inside InsetERT.
8469 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8470 of the paragraph's in the cut/copy buffer to 0!
8472 * text2.C (removeRow): remove the assert as it can!
8474 * lyxtext.h: added helper function firstRow returning firstrow and
8475 made firstrow private again.
8477 * BufferView2.C (lockInset): don't relock if we're already locked!
8479 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8481 (removeRow): added Assert::(firstrow)
8483 * debug.C: forgot to add INSETTEXT here.
8485 2001-11-28 Juergen Vigna <jug@sad.it>
8487 * sp_spell.C (initialize): changed error text to more general
8488 spellchecker command use (not only ispell!)
8490 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8492 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8494 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8496 * vspace.C: initialise lyxgluelength on failure
8498 2001-11-28 Allan Rae <rae@lyx.org>
8500 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8501 declaration & definition that looks like a function declaration.
8503 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8505 * BufferView2.C (copy):
8506 (copyEnvironment): do not clear the selection when doing a copy.
8508 * text.C (paintFirstRow): compilation fix
8510 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8512 * tabular.C (Latex): correct line count when writing latex.
8514 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8516 * paragraph_pimpl.h:
8517 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8520 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8524 * LColor.C: change vfillline->added_space
8526 * text.C: add markers and text for added space
8528 * vspace.C: fix comment
8530 2001-11-28 André Pönitz <poenitz@gmx.net>
8532 * paragraph.C: whitespace changes
8533 * all the other files from the change on 2001/11/26:
8534 change *::pos_type into lyx::pos_type
8536 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8538 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8539 language of the document when inserting error insets.
8541 2001-11-26 André Pönitz <poenitz@gmx.net>
8543 * BufferView_pimpl.[Ch]:
8551 * paragraph_pimpl.[Ch]:
8554 * text2.C: reduce header dependencies, introduce type for positions
8556 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8558 * <various>: change to use Alert.h
8560 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8562 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8563 when encountering an unknown token.
8564 (readLyXformat2): Show an error message if there were unknown tokens.
8566 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8569 * BufferView_pimpl.C:
8573 * text2.C: use par->isInset()
8575 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8577 * paragraph_pimpl.h:
8578 * paragraph_pimpl.C: cleanup
8580 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8582 * text2.C (removeRow):
8583 * text.C (setHeightOfRow): remove useless (and costly) call to
8586 2001-11-20 Allan Rae <rae@lyx.org>
8588 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8589 Now need Inset*::checkInsertChar() to return true for appropriate
8590 cases so that the characters in the minibuffer will actually be
8593 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8595 * text.C: change the order of the includes.
8596 (workWidth): initialize it at once.
8597 (workWidth): make maxw unsigned
8598 (setHeightOfRow): remove unused variable (inset)
8599 (selectSelectedWord): remove unused variable (inset)
8600 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8602 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8604 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8605 server is not running.
8607 (closeConnection): add debug info when server is disabled.
8609 * ColorHandler.C (getGCForeground): send debug message to GUI
8612 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8614 * kbmap.C (bind): modify because return conventions of
8615 kb_sequence::parse have changed.
8617 * kbsequence.C (parse): only ignore spaces and not any stupid
8618 control character. This avoids tests like s[i] <= ' ', which are
8619 guaranteed to fail with 8bit characters and signed chars.
8620 Change return code to string::npos when there have been no error
8621 (0 was a bad idea when error is at first character)
8623 2001-11-14 José Matos <jamatos@fep.up.pt>
8626 * buffer.C (simpleDocBookOnePar): removed unused argument.
8628 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8630 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8631 insets which are part of a word. Paragraph::isLetter takes care of
8632 that now. Use Paragraph::isInset to identify insets.
8633 (selectSelectedWord): do not test for hyphenation break.
8635 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8636 that protected spaces are considered as spaces.
8638 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8641 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8644 * lyxserver.C: fix it. and small cleanup.
8646 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8648 * BufferView_pimpl.C: use inline helpers
8651 * LaTeXFeatures.C: fix typos
8654 * Spacing.C: move spacing_string into class
8656 * ToolbarDefaults.C: move stuff into namespace anon
8658 * layout.h: update enum
8660 * lyxfunc.C: use better debug
8662 * minibuffer.h: fix typo
8666 * WorkArea.C: add and use Debug::WORKAREA
8670 * text2.C: code re-organisation, inline helpers
8672 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8674 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8675 std::vector.empty().
8677 2001-11-09 Allan Rae <rae@lyx.org>
8679 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8680 '\n's after tables. Tabular and ERT inset work now makes this no
8683 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8686 * minibuffer.C: fix crash, improve drop-down completion
8688 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8691 * lyxserver.C: invalidate fd's when doing endPipe()
8693 2001-11-08 José Matos <jamatos@fep.up.pt>
8695 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8696 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8699 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8701 2001-11-07 José Matos <jamatos@fep.up.pt>
8704 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8707 * buffer.C (sgmlOpenTag):
8708 * buffer.C (sgmlCloseTag): removed debug info.
8710 * buffer.h (sgmlOpenTag):
8711 * buffer.h (sgmlCloseTag): made public.
8713 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8715 * buffer.C (saveParamsAsDefaults):
8716 * lyx_cb.C (MenuLayoutSave): remove
8718 * LyXAction.C (init):
8720 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8722 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8724 * buffer.C (setPaperStuff): removed from here...
8726 * bufferparams.C (setPaperStuff): ... and moved there.
8728 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8732 * XFormsView.C: add support for drop-down completion
8734 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8736 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8739 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8741 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8744 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8746 * lyx_main.C: change ref to known bugs
8748 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8750 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8751 to work around older babel problems.
8753 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8755 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8757 2001-10-24 Juergen Vigna <jug@sad.it>
8759 * tabular-old.C (ReadOld): below variable changes reflected.
8761 * tabular.[Ch]: added ltType struct for longtable header/footer
8762 defines and changed all instances where they are used. Added
8763 future support for double top/bottom rows.
8765 2001-10-24 José Matos <jamatos@fep.up.pt>
8767 * buffer.h (docbookHandleCaption):
8768 * buffer.C (docbookHandleCaption): removed unused function.
8769 (makeDocBookFile): moved docbook supported version to v4.1.
8771 2001-10-24 José Matos <jamatos@fep.up.pt>
8774 * tabular.C (docbookRow): new function to export docbook code of a row.
8775 (DocBook): now honors the longtable flags.
8777 2001-10-23 José Matos <jamatos@fep.up.pt>
8780 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8781 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8783 * buffer.C (makeLinuxDocFile):
8784 (makeDocBookFile): reworked the preamble, more clean, and with
8785 support for lyx defined entities. Changed the document declaration
8786 to be more XML friendly.
8788 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8789 if we need to output XML that should be done with a filter.
8791 2001-10-22 Juergen Vigna <jug@sad.it>
8793 * sp_pspell.h (class PSpell): add alive function needed in the
8794 controller to see if the spellchecker could be started.
8796 2001-10-22 Juergen Vigna <jug@sad.it>
8798 * buffer.C (insertStringAsLines): modify the font for inserting
8799 chars in certain conditions by calling checkInsertChar(font).
8801 2001-10-19 Juergen Vigna <jug@sad.it>
8803 * text.C (workWidth): use getRow instead of wrong algorithm.
8804 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8806 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8811 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8813 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8815 * text.C (workWidth): do not search for the exact row when
8816 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8817 optimization for big documents.
8819 2001-10-18 Juergen Vigna <jug@sad.it>
8821 * text.C (workWidth): new function with added Inset * parameter.
8823 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8825 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8827 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8828 change return type of getColumnNearX.
8831 * text.C (changeRegionCase): use uppercase/lowercase instead of
8834 (rightMargin): simplify code by factoring out the uses of
8839 (appendParagraph): use Paragraph::size_type
8841 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8843 * vspace.C (asLatexString): add a missing break
8845 2001-10-15 Herbert Voss <voss@perce.de>
8847 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8849 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8851 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8854 2001-10-10 André Pönitz <poenitz@gmx.net>
8856 * lyxfunc.C: removed greek_kb_flag.
8858 2001-10-10 Herbert Voss <voss@perce.de>
8860 * lyx_main.C: delete global string help_lyxdir.
8862 2001-10-09 Herbert Voss <voss@perce.de>
8864 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8866 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8868 * lyx_main.C: added global string help_lyxdir.
8870 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8872 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8874 * lyxrc.C (set_font_norm_type): support iso8859-4
8876 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8878 * LaTeX.C (deplog): add another regex for MikTeX
8880 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8882 * lyxrc.C (set_font_norm_type): support iso8859-3
8884 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8886 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8888 * LaTeXFeatures.C: remove special case of french and index
8890 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8891 before \begin{document}). This solves several incompatibilities.
8893 2001-10-03 Garst Reese <reese@isn.net>
8895 * lyx_cb.C: change CheckTex error msg.
8897 2001-10-03 José Matos <jamatos@fep.up.pt>
8899 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8901 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8903 * .cvsignore: update
8905 * lyx_main.C (commandLineVersionInfo): use new style version info.
8907 * buffer.C (writeFile):
8910 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8912 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8914 * version.h: update to use stuff in version.C
8916 * version.C.in: new file. Contains version information determined
8917 at compile time. This is a merging of version.h and
8920 2001-10-03 Juergen Vigna <jug@sad.it>
8922 * BufferView_pimpl.C (update): don't change "dirty" status in
8925 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8927 * WorkArea.C (c-tor): re-position version string slightly.
8929 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8931 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8932 revert to previous code.
8934 WorkArea.[Ch]: (show, destroySplash): methods removed.
8936 WorkArea.C: rework code so that it's an amalgam of the codes before and
8937 after the splash screen was moved to WorkArea.
8939 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8942 * vspace.C (inPixels):
8945 * buffer.C (insertStringAsLines):
8946 (asciiParagraph): fix types to be large enough
8948 * lyxlex_pimpl.h: change member status from short to int
8950 * layout.h: fix type of endlabeltype
8953 * kbsequence.C (parse): change return type to string::size_type
8955 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8958 * Bullet.C (bulletSize):
8959 (bulletEntry): do not use short ints as parameters
8961 * BufferView2.C (insertLyXFile): change a char to an int.
8963 * WorkArea.C (WorkArea): remove unneeded floats in computation
8965 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8967 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8969 * paragraph.C (asString): Do not ignore newline/hfill chars when
8970 copying to the clipboard.
8972 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8974 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8975 after a multi-line inset.
8977 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8979 * paragraph.C (validate): Set NeedLyXFootnoteCode
8981 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8983 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8984 and decrease-error to decrease.
8986 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8988 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8989 it more readable (should be equivalent)
8991 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8993 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8995 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8997 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8998 of a cursor (row, etc.) after a character has been deleted
8999 (deleteEmptyParagraphMechanism): call the method above on _all_
9000 cursors held by the LyXText when a double space has been
9003 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9005 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9007 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9009 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9010 background. Use greyOut() and the new show() methods to toggle between
9011 the foreground and background. Add code to remove the splash after
9012 its initial showing.
9014 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9015 (create_forms): no longer call Dialogs::showSplash.
9017 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9019 * .cvsignore: add version_info.h
9021 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9023 * version_info.h.in: new file
9025 * Makefile.am: add version_info.h.in
9027 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9028 version_info.h instead of VERSION_INFO
9030 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9032 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9033 The ERT inset now returns string().
9035 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9037 * lyxtext.h, text.C (selectNextWord): renamed as
9038 selectNextWordToSpellcheck.
9040 * text.C (selectNextWordToSpellcheck): Modified to not select
9041 words inside an ERT inset.
9043 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9045 * lyx_cb.C (MenuLayoutSave): change a bit the question
9047 * sp_base.h: include <sys/types.h>
9049 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9051 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9053 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9055 * several files: fix typos in user-visible strings
9057 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9059 * text2.C (pasteSelection): do not set the selection, since it
9060 will be cleared later. Actually, the intent was to fix the way the
9061 selection was set, but I figured rmoving the code was just as good.
9063 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9065 * FontLoader.C (available): Check if font is available without
9068 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9070 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9072 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9074 * lyxrc.[Ch]: added display_graphics variable and associated code.
9076 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9078 * bufferparams.C (hasClassDefaults): new method. Returns true if
9079 the buffer parameters correspond to known class defaults
9081 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9083 * XFormsView.C (show): set minimum size to the main window.
9085 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9087 * text2.C (copySelection):
9089 * lyxfind.C (LyXReplace):
9090 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9091 LyXText::selectionAsString.
9093 * paragraph.C (asString): add "label" argument to the second form
9095 * text2.C (selectionAsString): add "label" argument and pass it to
9096 Paragraph::asString.
9098 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9100 * lyx_main.C (commandLineHelp): remove version information
9102 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9104 * lyx_main.C: add -version commandline option
9106 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * paragraph.h: make the optional constructor arg required instead.
9109 some modifications to other files because of this.
9111 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9113 * lyxserver.C (C_LyXComm_callback): make it static
9115 * lyx_main.C (error_handler): make it static
9117 * lyx_gui.C (LyX_XErrHandler): make it static
9119 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9121 * WorkArea.C: make the extern "C" methods static.
9123 * Makefile.am (lyx_LDADD): simplify
9125 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9127 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9128 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9130 * LyXAction.C (init):
9131 * lyxfunc.C (dispatch): associated code removal.
9133 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * lyxfont.h (isSymbolFont): shut off warning
9137 * text.C (setHeightOfRow):
9138 (getVisibleRow): fix crash with empty paragraphs which have a
9141 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9143 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9146 2001-09-04 José Matos <jamatos@fep.up.pt>
9149 * tabular.C (docbook): rename docBook method to docbook.
9151 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9153 * Makefile.am: add dependencies to main.o.
9155 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9157 * FontLoader.C (available): Return false if !lyxrc.use_gui
9159 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9161 * FontInfo.C (query):
9162 * converter.C (view):
9163 * importer.C (Import):
9164 * exporter.C (Export): Can not -> cannot.
9166 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9168 * BufferView_pimpl.C: allow to create index inset even if
9171 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9173 * buffer.C (getLists): replace boost::tie code with an explicit pair
9174 as boost::tie can break some compilers.
9176 * iterators.h: Added a std:: declaration to the return type of
9179 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9181 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9184 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9186 * iterators.[Ch]: New files. Provide paragraph iterators.
9188 * buffer.C (changeLanguage): Use paragraph iterators.
9189 (isMultiLingual): ditto
9191 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9193 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9195 * FontLoader.C: Support for cmr font.
9197 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9199 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9200 (available): New method.
9202 * FontInfo.C (getFontname): Use scalable fonts even when
9203 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9206 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9208 * converter.C (Formats::view): reverted! Incorrect fix.
9210 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9212 * converter.C (Formats::view): only output the -paper option
9213 if the dvi viewer is xdvi, thereby fixing bug #233429.
9215 2001-08-23 Herbert Voss <voss@perce>
9217 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9219 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9221 * Spacing.h (Spacing): Set space to Default on in the default
9224 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9226 * vc-backend.h (RCS::versionString): add RCS to version
9227 (CVS::versionString): add CVS to version
9229 * vc-backend.C (scanMaster): do not add CVS to version.
9230 (scanMaster): do not add RCS to version
9232 * lyxvc.C (versionString): new method
9234 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9236 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * Spacing.C (set): initialize fval
9240 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9242 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9245 2001-08-16 Juergen Vigna <jug@sad.it>
9247 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9249 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9251 * BufferView_pimpl.C:
9254 * text2.C: setParagraph takes linespacing now
9256 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9258 * LyxAction.C: add internal LFUN_CITATION_INSERT
9260 * LyXView.C: actually apply fix
9262 * bufferlist.C: fix open non-existent file
9264 * lyxfind.C: fix indentation
9266 * lyxfunc.C: remove unneeded assert, fix typo
9268 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9270 * MenuBackend.C: use "Floatname List"
9272 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9274 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9275 when converting LaTeX layout to insetERT.
9276 Generate a non-collapsed float when reading old float
9278 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9280 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9283 2001-08-13 Juergen Vigna <jug@sad.it>
9285 * text.C (fill): return 0 instead of 20 as this seems to be the more
9288 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9290 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9293 2001-08-13 Juergen Vigna <jug@sad.it>
9295 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9297 (SearchBackward): comment out the unlocking of the inset_owner this
9298 should not be needed!
9300 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9302 * Many files: Remove inherit_language, and add latex_language
9304 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9307 2001-08-10 Juergen Vigna <jug@sad.it>
9309 * text.C (prepareToPrint): fixed hfill-width in draw!
9311 * BufferView2.C (selectLastWord): save the selection cursor as this
9312 now is cleared in the function LyXText::clearSelection!
9314 2001-08-08 Juergen Vigna <jug@sad.it>
9316 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9317 BACKSPACE type functions.
9319 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9320 is only cutted from the document but not put in the cut-buffer, where
9321 still the old stuff should be.
9323 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9325 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9327 * tabular.C (SetWidthOfCell): fixed special case where the width
9329 (LeftLine): handle '|' in align_special.
9331 (LeftAlreadyDrawed): ditto
9332 (SetWidthOfCell): ditto
9334 2001-08-07 Juergen Vigna <jug@sad.it>
9336 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9338 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9340 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9341 * lyxlex.[hC]: ditto
9343 2001-08-06 Juergen Vigna <jug@sad.it>
9345 * text.C (getVisibleRow): fix up row clearing a bit.
9347 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * minibuffer.C: make sure the X server sees the changes in the input.
9351 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9353 * paragraph.C (getFont): split into...
9354 (getLabelFont): this
9355 (getLayoutFont): and this
9356 * paragraph_pimpl.C (realizeFont): calling this
9358 * text2.C (getFont): split into...
9359 (getLayoutFont): this
9360 (getLabelFont): and this
9361 (realizeFont): all three calling this
9363 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9366 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9368 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9370 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9372 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9373 layouts from the Quote inset insertion.
9375 2001-08-03 Juergen Vigna <jug@sad.it>
9377 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9379 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9380 only if status not is already CHANGED_IN_DRAW (second level).
9382 * text.C (draw): don't set the need_break_row when inside an
9385 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * buffer.C (parseSingleLyXformat2Token): handle more latex
9390 * bufferview_funcs.[hC]: change function names to
9391 begin with small char, adjust other files.
9393 2001-08-02 André Pönitz <poenitz@gmx.net>
9396 BufferView_pimpl.C: remove broken special code for math-greek
9398 2001-08-02 Juergen Vigna <jug@sad.it>
9400 * BufferView_pimpl.C (update): redone this function so that we
9401 update the text again if there was a CHANGE_IN_DRAW.
9403 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9404 (drawFromTo): added a new internal bool which is used by draw() and
9406 (general): some cursor drawing problems fixed.
9408 2001-08-01 Juergen Vigna <jug@sad.it>
9410 * lyxfind.C (LyXFind): fixed
9411 (SearchForward): ditto
9412 (SearchBackward): ditto
9414 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9415 spurius drawing of the cursor in the main area.
9417 * text2.C (status): small fix which could lead to a segfault!
9418 (clearSelection): remove unneeded BufferView param.
9420 2001-08-01 André Pönitz <poenitz@gmx.net>
9422 * lyxfunc.C: small change due to changed mathed interface
9424 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9426 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9428 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9430 * lyxfunc.c: fail gracefully if file doesn't exist
9435 * BufferView_pimpl.C: IsDirWriteable() proto changed
9437 * LyXView.C: fix updateWindowTitle() to store the last title
9439 2001-07-31 Juergen Vigna <jug@sad.it>
9441 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9442 the font (wrong since using of Paragraph::highestFontInRange).
9444 * paragraph.C (highestFontInRange): added a default_size parameter.
9446 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9447 (setHeightOfRow): reformat
9449 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * converter.[hC] + affected files: move to (inital-char)lowercase
9454 * ParagraphParameters.C (ParagraphParameters): remove commented code
9456 * PainterBase.[Ch]: remove commented code
9458 * LaTeXFeatures.h: add "bool floats" for float.sty
9460 * LaTeXFeatures.C (LaTeXFeatures): init floats
9461 (require): handle float
9462 (getPackages): do it with floats
9464 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9466 * BufferView_pimpl.C (Dispatch): improve handling of
9467 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9469 * commandtags.h: #include lyxfont.h here temporarily to avoid
9472 * bufferlist.h: include LString.h here.
9474 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9476 * text2.C (getStringToIndex): new method.
9478 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9480 * *: Reduced header file dependencies all over.
9482 2001-07-30 Baruch Even <baruch@lyx.org>
9484 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9486 2001-07-29 Baruch Even <baruch@lyx.org>
9488 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9490 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9492 * ParameterStruct.h (endif): add a default constructor to make
9493 sure that all variables is initialized.
9495 * ParagraphParameters.C (ParagraphParameters): adjust
9497 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9499 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9500 index; also, check that there is something to index, and that it
9501 does not span over several paragraphs.
9502 (doubleClick): use WHOLE_WORD_STRICT for double click.
9504 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9506 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9509 2001-07-26 Baruch Even <baruch@lyx.org>
9511 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9512 an InsetFig figure, backwards compatible reading of old figure code.
9514 2001-07-27 Juergen Vigna <jug@sad.it>
9516 * text2.C: font.realize function adaption.
9518 * text.C (draw): add a warnings lyxerr text if needed.
9520 * layout.C: font.realize function adaption.
9522 * language.C: add inherit_language and implement it's handlings
9524 * bufferview_funcs.C (StyleReset): remove language parameter from
9525 font creation (should be language_inherit now).
9527 * bufferparams.C (writeFile): handle ignore_language.
9529 * paragraph.C (getFontSettings): the language has to be resolved
9530 otherwise we have problems in LyXFont!
9532 * lyxfont.C (lyxWriteChanges): added document_language parameter
9533 (update): removed unneeded language parameter
9535 * paragraph.C (validate): fixed wrong output of color-package when
9536 using interface colors for certain fonts in certain environments,
9537 which should not seen as that on the final output.
9539 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9541 * BufferView_pimpl.C:
9546 * LyXAction.C: add thesaurus support
9549 * lyxfind.C: add "once" parameter, for thesaurus, to not
9550 move to the next match
9552 2001-07-26 Juergen Vigna <jug@sad.it>
9554 * lyxfont.C (realize): honor ignore_language too!
9557 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9559 * text.C (draw): one place more for ignore_language to not draw
9562 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9564 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9566 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9568 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9569 the minipage conversion problem.
9571 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9576 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9578 * BufferView.h: don't forward declare WorkArea
9580 * BufferView.C: don't include WorkArea.h
9582 2001-07-25 André Pönitz <poenitz@gmx.net>
9586 * lyxfunc.C: new LFUN 'math-space'
9588 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9590 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9592 * text2.C (toggleInset): call open/close
9594 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9596 * lyxfunc.C (dispatch): add debug for the disabled case
9598 * font.C (buttonText): make similar to rectText
9600 * buffer.C (readInset): comment out parsing of insetlist and
9603 * PainterBase.C (rectText): small correction
9605 * BufferView_pimpl.C: comment out insettheorem and insetlist
9606 * LyXAction.C: ditto
9607 * commandtags.h: ditto
9609 2001-07-24 Juergen Vigna <jug@sad.it>
9611 * text.C (draw): honor the ignore_language.
9613 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9615 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9620 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9622 * lyxtext.h: remove unused (and unimplemented) methods
9624 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9626 * text.C (getVisibleRow): honor background color
9629 * Painter.h: remove default color argument for fillRectangle
9631 * text.C (backgroundColor): new method
9633 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9635 * text.C (getVisibleRow): adjust
9637 * font.[Ch] (rectText): new method, metrics
9638 (buttonText): new method, metrics
9640 * PainterBase.[hC]: make rectText and buttonText always draw and take
9643 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9645 * ToolbarDefaults.C (read):
9646 * MenuBackend.C (read): allow escaping in all strings
9648 * BufferView_pimpl.C (insertAndEditInset): new method.
9649 (Dispatch): use insertAndEditInset whenever appropriate.
9651 * BufferView_pimpl.C (insertNote): removed
9653 * BufferView_pimpl.C (smartQuote): new method, moved from
9654 BufferView; if an insetquote cannot be inserted, insert a '"'
9657 * BufferView2.C: remove insertCorrectQuote();
9659 * lyxfunc.C (getStatus): Add support for all remaingin
9662 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9664 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9665 command (necessary to pass " as parameter of self-insert.
9667 * text.C (selectWordWhenUnderCursor):
9668 (selectWord): add word_location parameter
9669 (selectWordWhenUnderCursor): same + remove special code for word
9671 (selectNextWord): use kind() to guess type of insetspecialchar,
9674 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9675 (insertErtContents): create ert insets as collapsed.
9676 (readInset): better compatibility code for Info inset.
9678 2001-07-20 Juergen Vigna <jug@sad.it>
9680 * lyxfunc.C (dispatch): use always LyXFind now!
9682 * text2.C (init): add a reinit flag so that the LyXText can be
9683 reinited instead of deleted and reallocated (used in InsetText).
9685 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9691 2001-07-18 Juergen Vigna <jug@sad.it>
9693 * text.C (selectNextWord): handle insets inside inset by calling
9694 always the bv->text functions so that we can go up the_locking_inset!
9696 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9697 in strange locations when inside an inset!
9699 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9700 handling to include insets.
9702 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9704 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * LyXAction.C (init):
9708 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9709 LIGATURE_BREAK, since the name is so stupid.
9711 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9713 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9716 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9718 * sp_form.[Ch]: remove.
9720 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9722 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9725 * src/buffer.C (readInset): ditto.
9727 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9729 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9730 menuSeparator(), endOfSentenceDot(), ldots() and
9731 hyphenationPoint(), which are therefore removed.
9732 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9734 * LyXAction.C (init):
9735 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9737 * paragraph.C (getWord): removed.
9739 * BufferView_pimpl.C (Dispatch): use last word or selection for
9740 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9742 * lyx_main.C (queryUserLyXDir): do not ask before creating
9743 user_dir, except if it has been named explicitely.
9745 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9747 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9748 a document of zero size.
9750 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9752 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9753 approriately in the c-tor and in require().
9754 (getPackages): output the appropriate LaTeX for natbib support.
9756 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9757 variables "use_natbib" and "use_numerical_citations" when reading the
9759 (readInset): read the various natbib cite commands.
9760 (validate): white-space change.
9762 * bufferparams.[Ch]: new variables "bool use_natbib" and
9763 "bool use_numerical_citations".
9764 (writeFile): output them in the LyX file.
9766 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9768 * lyxfunc.C (getStatus): add support for all the inset insertion
9771 * text2.C (insertInset):
9772 * paragraph.C (insetAllowed):
9773 * BufferView_pimpl.C (insertInset): update to take in account the
9774 renaming of insertInsetAllowed
9776 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9778 * text2.C (getInset): new method. returns inset at cursor position.
9780 * BufferView_pimpl.C (Dispatch): changes because of this.
9782 * LyXAction.C (init): rename open-stuff to inset-toggle.
9784 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9786 * text2.C (toggleInset): renamed from openStuff; use
9789 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9791 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9793 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9795 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9797 * buffer.C (readLyXformat2): Add filename to the error dialog
9799 2001-07-18 Juergen Vigna <jug@sad.it>
9801 * tabular.C (GetCellNumber): put an assert here instead of the check!
9803 2001-07-17 Juergen Vigna <jug@sad.it>
9805 * BufferView_pimpl.C (toggleSelection): adapted too.
9807 * text.C (selectNextWord): adapted for use with insets.
9808 (selectSelectedWord): ditto
9810 2001-07-17 Juergen Vigna <jug@sad.it>
9812 * sp_spell.C (PSpell): fix initialitation order.
9814 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * paragraph.C: spacing
9818 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9820 * sp_spell.C: repair language selection for pspell
9822 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9824 * lyxfunc.h: change more methods to begin with lower char.
9826 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9828 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9829 for unknown layouts.
9831 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9833 * buffer.C (readLyXformat2): Generate an error dialog if there are
9836 2001-07-16 Juergen Vigna <jug@sad.it>
9838 * sp_spell.C: always compile ISpell part.
9840 * lyxrc.C: added use_pspell entry and it's handling.
9842 2001-07-13 Juergen Vigna <jug@sad.it>
9844 * sp_spell.C: removed double includes.
9846 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9848 Consistent use of Lsstream.h:
9849 * Lsstream.h: added using std::stringstream for consistencies sake.
9851 * buffer.C: removed using std::stringstream
9853 * lyxfont.C (stateText):
9854 * paragraph.C (asString):
9855 * text.C (selectNextWord, selectSelectedWord):
9856 * text2.C (setCounter):
9857 * vspace.C (asString, asLatexString):
9858 std::ostringstream -> ostringstream.
9860 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9862 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9863 * commandtags.h: add LFUN_HELP_ABOUTLYX
9864 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9866 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9868 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9870 * lyx_gui_misc.C: remove spellchecker
9871 * lyxfunc.C: showSpellchecker
9873 * sp_ispell.h: added
9874 * sp_pspell.h: added
9876 * sp_form.[Ch]: removed
9877 * spellchecker.[Ch]: removed
9879 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9881 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9883 (simpleTeXSpecialChars): Simply print the input character without
9884 any special translation if pass_thru is set.
9886 * layout.h: Added bool pass_thru to layout class for being able to
9887 implement pass through of a paragraph for Literate Programming.
9889 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9890 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9891 * layout.C (Read): add "passthru" to list of layout tags and add
9892 code to set the pass_thru boolean when it is read.
9894 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9896 * trans_decl.h: remove allowed from KmodInfo
9898 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9902 * paragraph_pimpl.C (erase): use boost::prior
9904 * Painter.C (text): use data() instead of c_str() when length is
9906 * WorkArea.C (putClipboard): ditto
9907 * font.h (width): ditto
9909 * BufferView2.C: use it-> instead of (*it). for iterators
9911 * paragraph_pimpl.C: ditto
9912 * paragraph.C: ditto
9913 * minibuffer.C: ditto
9918 * converter.C: ditto
9920 * Variables.C: ditto
9921 * TextCache.C: ditto
9922 * MenuBackend.C: ditto
9923 * LyXAction.C: ditto
9925 * FloatList.C: ditto
9927 * ColorHandler.C (LyXColorHandler): ditto
9929 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9931 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9933 * text2.C (openStuff): reintroduce this method (which had been
9934 nuked in NEW_INSETS frenzy).
9936 * lyxfunc.C (Dispatch): when an action has not been handled, use
9937 its name in the error message, not its number.
9939 * paragraph.C (inInset): change method name to begin with lowercase.
9942 * text2.C: updates because of this.
9944 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9946 * ToolbarDefaults.C (add): add spaces in error message
9948 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9950 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9951 (readLyXformat2): rename return_par to first_par, use lyxlex's
9952 pushToken and remove the manual push handling.
9953 (parseSingleLyXformat2Token): add another ert comp. variable:
9954 in_tabular, rename return_par to first_par. handle newlines better
9956 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9958 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9960 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9962 * text2.C (getParFromID): removed
9964 * buffer.C (getParFromID): new method moved form lyxtext.
9965 * BufferView2.C (insertErrors): adjust
9966 (setCursorFromRow): adjust
9967 * BufferView_pimpl.C (restorePosition): adjust
9968 * lyxfunc.C (Dispatch): adjust
9969 * undo_funcs.C (textUndo): adjust
9971 (textHandleUndo): adjust
9972 (textHandleUndo): adjust
9974 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9976 * buffer.C: up' the LYX_FORMAT
9978 * lyxfont.h: turn NO_LATEX on as default
9980 * buffer.C (insertErtContents): new methods of tex style compability.
9981 (parseSingleLyXformat2Token): use it several places.
9982 * tabular.C (OldFormatRead): and here
9984 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * text2.C: remove some commented code.
9989 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9990 * trans.C: changes because of the above.
9992 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9994 * text2.C (setCounter): Fix counters bug with bibliography layout.
9996 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9998 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9999 own member functions
10000 (simpleTeXSpecialChars): ditto
10002 2001-07-06 Juergen Vigna <jug@sad.it>
10004 * a lot of files: changed the access to LyXText::status and the
10005 call of undo-functions.
10007 * undo.[Ch]: added a inset_id to the undo informations.
10009 * undo_funcs.[Ch]: added and moved here all undo functions.
10011 * lyxtext.h: give the status enum a weight, made status_ a private
10012 variable and made accessor functions for it, removed the whole bunch
10013 of undo-functions as they are now in their own file, make some
10014 functions publically available. Added function ownerParagraph with
10017 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10018 made InInset() a const function, added getParFromID() function.
10020 * buffer.[Ch]: added const version for inset_iterator functions,
10021 added getInsetFromID() function.
10023 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10024 changed undo functions for new version.
10026 2001-07-05 Juergen Vigna <jug@sad.it>
10028 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10029 unknow mechanism does not call the proper constructor but only this
10030 one also if I request the other!?
10032 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10036 * text2.C (LyXText): use initialization lists.
10038 * lyxtext.h (Selection): initialize set_ and mark_
10039 (init): remove method
10041 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10043 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10045 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10047 * screen.[Ch]: change method names to begin with lowercase
10049 * BufferView_pimpl.C (updateScrollbar): simplify further and
10050 hopefully make it a bit faster.
10052 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10054 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10055 calling directly xforms functions.
10057 * Painter.C (Painter):
10058 * lyx_cb.C (MenuWrite):
10059 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10062 * lyx_gui.C: remove bogus guiruntime extern declaration.
10064 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10066 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10068 (redoDrawingOfParagraph): ditto
10069 (redoParagraphs): ditto
10070 (cutSelection): don't create a object for CutAndPaste use the
10071 static method directly
10072 (pasteSelection): ditto
10074 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10077 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * modifications to some other files because of this.
10081 * Makefile.am (lyx_SOURCES): add XFormsView
10083 * XFormsView.[Ch]: new files
10085 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10086 the main window. Move the gui dependent stuff to XFormsView
10088 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10090 * tabular.C (GetCellInset): update cur_cell also in the row/col
10091 version of this function.
10093 * lyxfunc.C: no need to include figure_form.h here.
10099 * lyxvc.C: no need to include forms.h here.
10101 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10105 * lyxfunc.C (Dispatch):
10107 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10108 constructor argument.
10110 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10112 * paragraph.C (Paragraph): dont't clear, and just set layout.
10113 (makeSameLayout): use params's copy contructor.
10115 * ParagraphParameters.[Ch] (makeSame): delete method
10117 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10119 * Variables.[Ch]: fix indentation, rename set to isSet
10121 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10123 * lyxfunc.C (Dispatch): fix typo
10125 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10127 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10130 * bufferlist.C: include assert.h for emergencyWrite().
10132 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10134 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10135 give up at last (bug #425202) !
10137 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10143 * spellchecker.C: strip spellchecker options and bring up
10144 preferences tab instead
10146 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10148 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10149 the istringstream constructor
10151 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10153 * paragraph.C (getLayout): fix return value
10155 * paragraph.h: do not declare getLayout as inline.
10157 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10159 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10161 * lyxcursor.h (operator<): new func
10162 (operator>): new func
10163 (operator>=): new func
10164 (operator<=): new func
10166 * text.C (changeCase): use selection.start and selection.end
10167 (changeRegionCase): require from to be <= to. Require par to be a
10170 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10172 2001-06-27 Juergen Vigna <jug@sad.it>
10174 * text.C (cursorLeftOneWord): changed to return the cursor and added
10175 overlay with BufferView * parameter which calls this one.
10177 (selectWord): use new getWord function.
10178 (changeCase): renamed from changeWordCase as and extended to work
10179 also on selections.
10181 * lyxtext.h: added enum word_location
10183 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10184 changeCase as this operates now also on selections.
10186 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10188 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10190 * many files: send debug output to Debug::INFO instead of
10193 * converter.C (View):
10195 (Move): send debug output to Debug::FILES instead of console.
10197 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10199 * lyxfunc.C (getStatus): use func_status
10201 * func_status.h: new header, describing the results of
10202 LyXFunc::getStatus;
10204 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10207 2001-06-25 The LyX Project <jug@sad.it>
10209 * buffer.C (sgmlOpenTag):
10211 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10213 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10215 * text2.C: remove some dead code
10217 * tabular.C (GetCellInset): store the last cell checked (gotten)
10219 * tabular.h: add the helper for the speedup
10221 * lyxtext.h: remove some dead code
10223 2001-06-26 The LyX Project <Asger>
10225 * paragraph.C: Change export to LaTeX of alignment to
10226 \begin{center} and family for better roundtrip work with reLyX.
10228 * Tune the math drawing a bit.
10230 2001-06-25 The LyX Project <Asger>
10232 * LColor.C (LColor): New color for math background. New color
10235 2001-06-25 The LyX Project <jug@sad.it>
10237 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10239 * lyxfunc.C (Open):
10240 * bufferlist.C (newFile): do not restrict to files ending with
10243 * BufferView_pimpl.C (MenuInsertLyXFile):
10245 2001-06-24 The LyX Project <jug@sad.it>
10247 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10250 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10252 * lyxtext.h: rename most methods to begin with a small char.
10253 Lots of changes because of this.
10255 * paragraph.C (Paragraph): do not call fitToSize
10256 (erase): call Pimpl::erase
10257 (insertChar): call Pimpl::insertChar
10258 (insertInset): call Pipl::insertInset
10259 (breakParagraph): do not call fitToSize
10260 (breakParagraphConservative): do not call fitToSize
10261 (fitToSize): remove method
10263 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10265 2001-06-24 The LyX Project <Asger>
10267 * Fix Qt compilation^2
10269 2001-06-24 The LyX Project <jug@sad.it>
10271 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10272 depthHook(getDepth()-1).
10275 * ParagraphParameters.h:
10276 * ParameterStruct.h: change type of depth to unsigned int ==
10277 depth_type. Many adaptations to other files before of that.
10279 2001-06-24 The LyX Project <Asger>
10281 * Fix Qt compilation.
10283 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10285 * paragraph.h: renamed several methods to begin with small letter.
10286 several changes to many parts of the code because of this.
10288 2001-06-23 The LyX Project <jug@sad.it>
10290 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10291 rewritten to discard all double spaces when KeepEmpty is off
10292 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10293 to only handle newlines but not fiddle with spaces and friends.
10295 * lyxfunc.C (MenuNew): when doing 'new from template', use
10296 template_path as default directory
10298 2001-06-23 The LyX Project <Asger>
10300 * Clean-up of header file includes all over
10301 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10303 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10305 * paragraph.h: renamed from lyxparagraph.h
10307 2001-06-23 Asger <lyx@violet.home.sad.it>
10309 * Buffer.h: Removed Buffer::resize
10310 * BufferList.h: Removed BufferList::resize
10311 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10312 the document lazily when we change the width, or the font settings.
10314 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10316 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10318 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10320 * buffer.h: remove out of date comment
10322 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10325 * screen.C: fix "theoretical" GC leak
10327 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10329 * LaTeX.C (scanAuxFile):
10330 (deplog): remove trailing \r when reading stream (useful under
10333 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10335 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10336 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10337 and BufferView::theLockingInset(Inset*), so should use them and not
10338 access bv_->text->the_locking_inset directly.
10340 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10342 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10345 * tex-defs.h: remove old unused file
10347 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10349 * BufferView_pimpl.C: fix typo, remove minibuffer message
10350 when buffer has loaded
10352 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10354 * lyxfunc.C (Dispatch): use stringstream
10355 (MenuNew): use stringstream
10356 (Open): use stringstream
10358 * importer.C (Import): use stringstream
10360 * bufferview_funcs.C (CurrentState): use stringstream
10362 * LaTeX.C (run): use stringstream
10364 * BufferView_pimpl.C (savePosition): use stringstream
10365 (restorePosition): use stringstream
10366 (MenuInsertLyXFile): use stringstream
10368 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10381 * vspace.C: removed // -*- C++ -*- as first line.
10384 * version.h: added // -*- C++ -*- as first line.
10386 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10388 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10390 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10393 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10395 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10398 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10400 * gettext.C: include LString.h even when --disable-nls is on.
10402 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10404 * converter.h (Get): changed argument type from int to
10405 FormatList::size_type to avoid unnecessary conversion.
10407 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10410 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * gettext.h: include LString.h even when --disable-nls is on.
10414 2001-06-07 Juergen Vigna <jug@sad.it>
10416 * text.C (BreakAgain): subst spaces with tabs.
10418 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10419 (resizeInsetsLyXText): set force on resizeLyXText.
10421 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * gettext.h (gettext_init):
10424 (locale_init): use a real definition instead of a macro
10426 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10428 * Bufferview_pimpl.C:
10430 * LColor.C: further lcolor tidies
10432 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10434 * BufferView_pimpl.C (updateScrollbar): simplify.
10436 * BufferView2.C: don't include insets/insetinfo.h, change
10437 prototype for insertInset and call the Pimpl version. let
10438 updateInset call Pimpl version.
10440 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10441 gotoInset to BufferView::Pimpl
10443 2001-06-01 Juergen Vigna <jug@sad.it>
10445 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10446 inside a LockingInset (is the update needed at all?).
10448 2001-05-31 Juergen Vigna <jug@sad.it>
10450 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10451 here not the old one otherwise how should we compare it afterwards
10454 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10459 * FontInfo.C: bring C functions into global namespace when
10462 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10464 * LString.h: make sure config.h has been loaded before LString.h.
10466 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10467 (one for each char read by EatLine!).
10469 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10472 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10474 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10475 to the same as the par we break from
10477 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10481 * MenuBackend.C (expand): also create menu entries for wide
10482 versions of the floats.
10484 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10486 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10488 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10489 frontends/Makefile.am
10495 * tabular.C (getTokenValue): add std::
10497 * tabular-old.C (getTokenValue): add std::
10498 (getTokenValue): ditto
10499 (getTokenValue): ditto
10501 * screen.C (ToggleSelection): adjust
10503 * lyxtext.h: put selection cursors inside a Selection struct.
10505 * lyxfunc.C (moveCursorUpdate): adjust
10507 * lyxfont.C (latexWriteStartChanges): add std::
10509 * lyxfind.C: adjust
10511 * font.h: delete with(char const *, LyXFont const &)
10513 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10515 * FontInfo.C (getFontname): add std::
10517 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10518 (workAreaButtonPress): adjust
10519 (tripleClick): adjust
10521 (moveCursorUpdate): adjust
10524 * BufferView2.C (gotoInset): adjust
10526 2001-05-30 Juergen Vigna <jug@sad.it>
10528 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10529 to check pspell I add this as default as I now have new pspell
10530 libraries and they seem to use this.
10532 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10534 * text2.C (CutSelection): make the cursor valid before the call to
10537 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10539 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10540 relied on 0 terminated strings and other horrors. Bug found due to
10541 the new assert in lyxstring!
10543 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10546 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10551 * lyxfunc.C (processKeySym): change method of getting to the
10554 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10555 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10556 * BufferView_pimpl.[Ch]: here as private methods.
10558 2001-05-28 Juergen Vigna <jug@sad.it>
10560 * text.C (SetHeightOfRow): added the update() call again as it is
10561 needed to initialize inset dimensions!
10563 2001-05-16 Juergen Vigna <jug@sad.it>
10565 * text2.C (SetCharFont): Add new function with BufferView * and
10566 bool toggleall parameters for setting insets internal fonts.
10567 (SetFont): Freeze the undo as we may change fonts in Insets and
10568 all this change should be inside only one Undo!
10570 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10571 setting font's in insets as for them we have the SetFont function!
10573 2001-05-15 Juergen Vigna <jug@sad.it>
10575 * text2.C (ClearSelection): to be sure we REALLY don't have any
10578 * tabular.C (TeXCellPreamble): fixed the left border problem for
10581 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10583 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10586 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10589 LFUN_BREAKPARAGRAPH.
10591 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10592 help test to "internal only", similar for LFUN_INSERT_URL
10594 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10595 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10596 auto_region_delete and deadkeys.
10598 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10601 * LColor.C: remove some dead entries, tidy a little
10603 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10605 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10607 (Dispatch): implement LFUN_ESCAPE
10609 * commandtags.h: add LFUN_ESCAPE
10611 * LyXAction.C (init): add entry for LFUN_ESCAPE
10613 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10614 Remove commented code.
10615 (insertNote): moved here
10616 (open_new_inset): moved here
10618 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10621 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10623 * kbmap.C (findbinding): clean it up and make it work correctly.
10625 * lyx_main.C (init): do not pass argc and argv as parameters
10627 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10629 * buffer.C: fix path for OS/2 & Win32
10633 * lyx_main.C: Added os:: class.
10635 * os2_defines.h: update
10637 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10640 better by trying again with reduced state.
10642 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10644 * lyxrc.C (read): print error about invalid key sequence only when
10645 debugging (because not all latinX keysyms are known to some X
10648 * kbsequence.C (getiso): add a few std:: qualifiers
10649 (getiso): comment out extra return statement.
10651 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10653 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10655 (Dispatch): enhance the accent inset a bit. (not perfect)
10657 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10659 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10661 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10663 * bufferlist.C (emergencyWrite): fix assert() call
10665 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10667 * text.C (InsertChar): Added trivial patch to only send the "you
10668 can not do multiple spaces this way" message once during a
10671 2001-05-08 Baruch Even <baruch@lyx.org>
10673 * Makefile.am: Changed order of libraries to get LyX to link properly
10674 with the gnome frontend.
10676 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10678 * LaTeXFeatures.h: add a std:: qualifier
10680 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10682 * paragraph.C (String): use stringstream
10684 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10686 * paragraph.C (writeFile): remove footflag arg
10688 * buffer.C (makeLaTeXFile): use stringstream
10689 (latexParagraphs): remove footnot gurba
10691 * LaTeXFeatures.C (getPackages): use stringstream
10692 (getMacros): likewise
10693 (getTClassPreamble): likewise
10694 (getFloatDefinitions): new method
10696 * paragraph.C (writeFile): reindent
10699 * WorkArea.h: revert the xpos + etc changes.
10701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10703 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10705 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10706 (pasteSelection): likewise
10707 * text2.C (CreateUndo): likewise
10709 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * minibuffer.C (peek_event): temporarily reduce the functionality
10712 of the minibuffer (to allow args on lfuns)
10714 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10715 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10717 * buffer.C (readInset): add compability reading of old float
10718 lists, add reading of new style float list.
10719 (readInset): avoid reevaluation of inscmd.getCmdName()
10720 (getLists): reindent
10722 * MenuBackend.C (MenuItem): implement parsing of
10723 md_floatlistinsert and md_floatinsert.
10724 (expand::LastFiles): move initalizaton of iterators out of loop,
10725 avoid reevaluation.
10726 (expand::Documents): introduce typdedef vector<string> Strings,
10728 (expand::ExportFormats): introduce typedef vector<Format const *>
10729 Formats, and use it.
10730 (expand): implement FloatListInsert and FloatInsert.
10732 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10733 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10734 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10736 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10738 (Dispatch::LFUN_FLOAT_LIST): implement
10740 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10742 * LaTeX.C (run): Fix problem with --export code.
10744 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10746 * BufferView.[Ch] (workarea): removed.
10747 (getClipboard) new method; wrapper for workarea()->getClipboard()
10749 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10752 * WorkArea.h (width, height, xpos, ypos): These methods all
10753 returned the dimensions of the work_area sub-area of WorkArea,
10754 resulting in a position error if the WorkArea were resized. Now
10755 return the dimensions of the entire WorkArea.
10757 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10759 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10761 * LaTeX.C (deplog): correct the syntax of regex reg1
10763 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10765 * undo.C: remove !NEW_INSETS cruft
10767 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * text2.C: remove !NEW_INSETS cruft
10771 * text.C: remove !NEW_INSETS cruft
10773 * tabular.C: remove !NEW_INSETS cruft
10775 * spellchecker.C: remove !NEW_INSETS cruft
10777 * lyxtext.h: remove !NEW_INSETS cruft
10779 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10781 * lyxfunc.C: remove !NEW_INSETS cruft
10783 * lyxfind.C: remove !NEW_INSETS cruft
10785 * lyx_cb.C: remove !NEW_INSETS cruft
10787 * figureForm.C: remove !NEW_INSETS cruft
10789 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10791 * buffer.[Ch]: remove !NEW_INSETS cruft
10793 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10795 * CutAndPaste.C: remove !NEW_INSETS cruft
10797 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10799 * BufferView2.C: remove !NEW_INSETS cruft
10801 * BufferView.h: remove !NEW_INSETS cruft
10803 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * Lsstream.h: include LString.h before the sstream headers to
10806 fix problem with gcc 2.95.3 and lyxstring
10808 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * lyx_main.C: add using directives when needed for C functions
10811 declared in std:: namespace.
10813 2001-04-27 Juergen Vigna <jug@sad.it>
10815 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10816 (SetHeightOfRow): comment out the update call should not be needed!
10818 2001-04-13 Juergen Vigna <jug@sad.it>
10820 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10821 (LyXTabular): tried to minimize operator= operations (and realized
10822 hopfully Lars wish).
10824 2001-04-27 Juergen Vigna <jug@sad.it>
10826 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10828 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10832 * buffer.C (readInset): hack to make listof algorithm work
10834 * BufferView_pimpl.C: hack to make listof algorithm work
10836 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10838 * LyXAction.C: removed all !NEW_INSETS cruft
10839 (init): moved lfun_item in method
10841 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10843 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10845 * BufferView2.C (theLockingInset): white space.
10847 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10849 * minibuffer.C: include <iostream>
10851 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10853 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10855 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10857 * text.[Ch] (TransposeChars): new method
10859 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10861 * call message directly through LyXView instead of through LyXFunc
10862 * BufferView2.C: adjust
10863 * BufferView_pimpl.C: adjust
10864 * FontLoader.C: adjust
10866 * bufferview_funcs.C: adjust
10867 * converter.C: adjust
10868 * figureForm.C: adjust
10869 * importer.C: adjust
10871 * lyx_gui_misc.C: adjust
10872 * lyxfunc.C: adjust
10875 + more files in subdirs
10877 * lyxparagraph.h (size): move up int file
10880 * adjust all uses of Assert to lyx::Assert.
10882 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10883 lyxfunctional in namespace lyx
10884 * layout.C (hasLayout): ditto
10887 (delete_layout): ditto
10888 (NumberOfClass): ditto
10889 * converter.C (GetFormat): ditto
10894 * bufferlist.C (getFileNames): ditto
10895 (emergencyWriteAll): ditto
10898 * MenuBackend.C (hasSubmenu): ditto
10901 * BufferView_pimpl.C (getInsetByCode): ditto
10903 2001-04-18 Juergen Vigna <jug@sad.it>
10905 * vspace.C (asLatexString): fixed the 100% problem.
10907 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10909 * lyxfunc.C (Dispatch):
10911 * minibuffer.h: add a few std:: qualifiers
10913 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * minibuffer.[Ch]: reimplement so that commands is initiated and
10916 run from lyxfunc, simplified som handling, and made the completion
10917 and history code for complete. wip.
10919 * lyxfunc.C (processKeySym): call message
10920 (miniDispatch): new temporary method
10921 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10922 (LFUN_MESSAGE): implement
10923 (LFUN_MESSAGE_PUSH): implement
10924 (LFUN_MESSAGE_POP): implement
10925 (initMiniBuffer): the initial/defualt minibuffer message.
10927 * lyxfont.[Ch]: inline some more getters
10929 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10931 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10933 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10934 (AutoSave): use LFUN_MESSAGE
10935 (Reconfigure): ditto
10937 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10939 * figureForm.C: use LFUN_MESSAGE
10941 * converter.C (runLaTeX): use LFUN_MESSAGE
10943 * bufferview_funcs.C: use LFUN_MESSAGE
10945 (changeDepth): ditto
10947 * bufferparams.h: use boost::
10949 * bufferlist.h: inherit privately from noncopyable
10951 * bufferlist.C (loadLyXFile): remove some commented code.
10953 * buffer.C (runChktex): use LFUN_MESSAGE
10955 * ShareContainer.h: inherit privately from noncopyable
10957 * ParagraphParameters.[hC] (depth): inline it.
10959 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10961 (message): new method
10962 (messagePush): ditto
10963 (messagePop): ditto
10964 (show): init minibuffer
10965 (showState): direct call
10967 * LaTeX.[Ch]: inherit privately from noncopyable
10968 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10969 instead of WriteStatus.
10971 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10973 * BufferView_pimpl.C (buffer): don't init minibuffer
10974 (workAreaButtonPress): use LFUN_MESSAGE
10975 (workAreaButtonRelease): ditto
10976 (savePosition): ditto
10977 (restorePosition): ditto
10978 (MenuInsertLyXFile): ditto
10979 (workAreaExpose): don't init minibuffer
10980 (update): remove commented code, simplify
10982 * BufferView2.C (openStuff): use LFUN_MESSAGE
10983 (toggleFloat): ditto
10986 (copyEnvironment): ditto
10987 (pasteEnvironment): ditto
10992 (updateInset): remove some commented code
10994 * lastfiles.h: inherit privately from noncopyable
10997 * lyx_main.h: ditto
10999 * lyxlex_pimpl.h: ditto
11001 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11002 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11003 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11005 * LyXAction.h: inherit privately from noncopyable, add methods
11006 func_begin, func_end, returning iterators to the func map.
11008 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11009 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11010 (func_begin): new method
11011 (func_end): new method
11013 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11015 (copySelection): ditto
11016 (pasteSelection): ditto
11018 * BufferView.C: whitespace change
11019 * BufferView.h: inherit privately from noncopyable
11021 2001-04-16 Allan Rae <rae@lyx.org>
11023 * tabular-old.C (l_getline):
11024 * spellchecker.C (sc_check_word):
11025 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11026 an unrecognised preprocessor directive. So ensure they're wrapped.
11028 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11030 * src/exporter.C (Export): Give an error message when path to file
11033 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11035 * LaTeX.C (deplog): Always check that foundfile exists.
11037 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11040 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11042 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11044 * tabular.[Ch] (getLabelList): implement new method
11046 * minibuffer.h: comment ouf setTiimer
11048 * minibuffer.C (ExecutingCB): constify res
11049 (peek_event): constify s
11050 (Set): constify ntext
11051 (Init): constify nicename
11053 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11055 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11056 (savePosition): use two params to Minibuffer::Set
11057 (restorePosition): ditto
11059 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11061 * lyx_main.C: include language.h
11063 * Makefile.am (lyx_main.o): add language.h
11065 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11071 * CutAndPaste.C: include gettext.h
11073 * lyxfont.h: remove old hack with ON and OFF.
11076 * lyxfont.h: do not include language.h...
11081 * bufferview_funcs.C:
11087 * paragraph.C: ... but do it here instead
11089 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11091 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11093 * tabular.C: small reformat
11095 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11098 (BreakParagraph): ditto
11099 (SetOnlyLayout): ditto
11102 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11105 * lastfiles.C: removed most using decl, add std:: where needed
11107 * buffer.C: ws changes
11109 * MenuBackend.C (class compare_format): put into anon namespace
11110 (expand): constify label, names, action, action2
11113 * text.C (SingleWidth): constify font
11114 (IsBoundary): constify rtl2
11115 (GetVisibleRow): constify ww
11117 * LaTeX.C (deplog): constify logfile
11119 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11121 (workAreaExpose): constify widthChange, heightChange
11123 * lyxrow.C (par): moved
11126 * lyxrow.h: as inlines here
11128 * lyxfont.h (shape): moved from lyxfont.C
11129 (emph): moved from lyxfont.C
11131 * lyxfont.C (LyXFont): use initialization list for all
11133 (shape): move to lyxfont.h as inline
11134 (emph): move to lyxfont.h as inline
11137 2001-04-04 Juergen Vigna <jug@sad.it>
11139 * vspace.C: had to include stdio.h for use of sscanf
11141 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11144 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11145 independent of xforms.
11147 2001-04-02 Juergen Vigna <jug@sad.it>
11149 * spellchecker.C: fixed namespace placing!
11151 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11153 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11154 the LyXParagraph * is 0.
11156 2001-03-29 Juergen Vigna <jug@sad.it>
11158 * vspace.C: added support for %, c%, p%, l%.
11159 (stringFromUnit): added helper function.
11160 (asLatexString): changed to give right results for the %-values.
11162 * buffer.C: convert the widthp in a width%.
11164 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11166 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11169 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11170 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11172 * lyx_cb.[Ch]: see above.
11174 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11178 * lyx.[Ch]: replaced by figure_form.[Ch].
11182 * lyxfunc.C: changed headers associated with above changes.
11184 2001-03-27 Juergen Vigna <jug@sad.it>
11186 * BufferView_pimpl.C: set the temporary cursor right!
11188 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11190 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11192 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11194 * LString.h: removed "using std::getline"!
11196 * BufferView_pimpl.C (Dispatch): changes due to changes in
11197 InsetInclude::Params.
11199 * buffer.C (tag_name): removed redundant break statements as they were
11200 producing lots of warnings with my compiler.
11202 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11204 * LString.h: add "using std::getline" when using the real <string>.
11206 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11208 * buffer.C: removed bitset usage.
11209 PAR_TAG moved to an anonymous name space.
11210 (tag_name): new funtion, also in the anonymous namespace.
11211 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11212 (makeDocBookFile): clean code. Completed transition from string arrays
11214 (SimpleDocBookOnePar): code clean.
11216 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11218 * tabular.C: add some comments.
11220 2001-03-22 Juergen Vigna <jug@sad.it>
11222 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11223 compatibility read a bit and fixed bug with minipage in different
11226 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11228 * buffer.C (pop_tag): removed.
11229 (push_tag): removed.
11230 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11231 array replaced with vector. Added support for CDATA sections.
11232 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11234 (makeDocBookFile): XML conformant declaration of CDATA section,
11235 fixed bug related to <emphasis> in the first paragraph char.
11236 (sgmlOpenTag): exclude empty tags.
11237 (sgmlCloseTag): ditto.
11239 * buffer.h (pop_tag): removed.
11240 (push_tag): removed.
11242 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11244 * language.h (Languages): added size_type and size().
11246 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11248 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11249 response on compability reading of minipages. One probliem is that
11250 the old usage of minipages was «flertydig»
11252 * several files here and in subdirs: don't use static at file
11253 scope use anon namespaces instead.
11255 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11257 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11258 LaTeX output. This is necessary for Literate document
11261 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11263 * buffer.C: insert hfill when needed.
11265 * tabular.C (l_getline): use string::erase, small whitespace change.
11267 * BufferView_pimpl.C: try the anon namespace.
11268 * WorkArea.C: ditto
11270 2001-03-16 Juergen Vigna <jug@sad.it>
11272 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11273 otherwise it won't open options-dialogs.
11275 * buffer.C: honor pextraWidth(p) on converting minipages.
11277 * tabular.C (l_getline): changed the functions to strip trailing \r.
11279 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11281 * BufferView_pimpl.C:
11282 * minibuffer..C: added "using SigC::slot" declaration.
11284 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11286 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11292 * paragraph.C: ditto
11294 * lyxtext.h: NO_PEXTRA
11296 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11298 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11299 * ParameterStruct.h: ditto
11300 * ParagraphParameters.h: ditto
11301 * lyxparagraph.h: ditto
11303 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11305 * buffer.C: add compability for minipage alignment.
11306 (latexParagraphs): remove unwanted pextra check.
11308 * several files: remove CXX_WORKING_NAMESPACES
11310 * buffer.C (pop_tag): tie is in namespace boost
11312 * BufferView.h: noncopyable is in namespace boost
11314 * lyx_main.h: ditto
11317 * lastfiles.h: ditto
11318 * bufferlist.h: ditto
11319 * ShareContainer.h: ditto
11321 * LyXAction.h: ditto
11324 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11326 * Merging changes from BRANCH_MVC back into HEAD.
11328 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11330 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11332 * BufferView_pimpl.C: change from intl.C
11336 * Makefile.am: move combox.*
11342 * intl.C: remove dialog (covered by prefs)
11344 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11346 * lyxfunc.C (Dispatch): removed redundant break statement.
11348 2001-03-14 Juergen Vigna <jug@sad.it>
11350 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11352 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11354 * buffer.C: add hack to fix compability reading of minipages.
11356 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11358 * buffer.C (getLists): Cleanup.
11360 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11362 * lyxfont.C (update): don't honor toggleall on font size.
11364 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11368 * Makefile.am: moved to frontends/xforms/
11372 * BufferView_pimpl.C: changes for moved mathpanel
11374 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11376 * gettext.h: fix gettext_init() in --disable-nls
11378 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11380 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11382 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11385 * lyx.h: strip external form
11387 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11389 * BufferView_pimpl.C: add comment, destroySplash()
11391 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11393 * BufferView_pimpl.C:
11397 * lyxfunc.C: use re-worked insetinclude
11399 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11401 * buffer.C: add using std::stringstream.
11403 * lyx_cb.C: readd using std::ios.
11405 * buffer.C: add using std::map.
11407 * BufferView_pimpl.C: add using std::vector.
11409 * ShareContainer.h: add std:: to swap.
11411 * buffer.h: add some typedefs
11412 * buffer.C (getLists): use them
11413 (getLists): renamed from getTocList.
11414 add a counter for the different float types and use it in the
11416 (getLists): use the same counter for the NEW_INSETS and the "non"
11419 * lyx_cb.h: remove unused items, includes, using etc.
11421 * ShareContainer.h: remove some commented code, add more comments
11422 and "documentation".
11424 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11426 * buffer.C (getTocList): make the list also when NEW_INSETS is
11429 * buffer.h: remove TocType
11431 * buffer.C (getTocList): change to return a map<string,
11432 vector<TocItem> >, implement for dynamic number of list.
11434 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11435 * text2.C (PasteSelection): adjust
11436 * CutAndPaste.C (pasteSelection): adjust
11438 * FloatList.C (FloatList): update from the new_insets branch.
11439 * Floating.[Ch]: ditto
11440 * LaTeXFeatures.C: ditto
11442 * lyxlex_pimpl.C: ditto
11444 * paragraph.C (Last): remove when NEW_INSETS is defined.
11446 * other file: changes because of the above.
11448 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11450 * lyxparagraph.h: rename next to next_, previous to previous_,
11451 make them private for NEW_INSETS. Rename Next() to next(),
11452 Previous() to previous().
11454 * other files: changes because of the above.
11456 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11459 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11462 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11464 * main.C (main): pass lyx_localedir to gettext_init().
11466 * gettext.h: remove locale_init and gettext_init macros
11468 * gettext.C (locale_init): new function
11469 (gettext_init): new function
11471 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11474 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11476 * Moved credits to frontends:
11477 * credits.[Ch]: removed
11478 * credits_form.[Ch]: removed
11479 * lyx_gui_misc.C: remove credits stuff
11482 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11484 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11486 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11487 unneeded destructor.
11489 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11490 a standalone pointer again.
11492 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11494 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11500 * ToolbarDefaults.C:
11509 * BufferView_pimpl.C: use new file dialog in GUII
11512 * lyx_cb.C: remove LayoutsCB to Toolbar
11514 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11516 * ShareContainer.h (get): add std:: qualifier
11518 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * ShareContainer.h: define a proper ShareContainer::value_type
11521 type (and use typename to please compaq cxx)
11523 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11525 * lyxparagraph.h: move serveral local vars to
11526 ParameterStruct/ParagraphParameters., use ShareContainer in
11527 FontTable., make vars in FontTable private and add getter and
11530 * paragraph.C: changes because of the above.
11532 * lyxfont.h: remove copy constructor and copy assignment. (the
11533 default ones is ok), move number inside FontBits. move inlines to
11536 * lyxfont.C: add number to initializaton of statics, move several
11537 inlines here. constify several local vars. some whitespace
11538 cleanup. Dont hide outerscope variables.
11540 * Spacing.h: add two new constructors to match the set methods.
11542 * ShareContainer.h: new file, will perhaps be moved to support
11544 * ParameterStruct.h: new file
11546 * ParagraphParameters.h: new file
11548 * ParagraphParameters.C: new file
11550 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11551 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11553 * BufferView_pimpl.C: ParagraphParameter changes.
11554 * buffer.C: Likewise.
11555 * bufferview_funcs.C: Likewise.
11556 * text.C: Likewise.
11557 * text2.C: Likewise.
11559 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11561 * lyxfind.C (LyXReplace): do not redefine default argument in
11563 (IsStringInText): ditto
11564 (SearchForward): ditto
11565 (SearchBackward): ditto
11567 2001-03-06 Juergen Vigna <jug@sad.it>
11569 * lyxfind.C (IsStringInText): put parentes around expressions.
11571 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11573 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11575 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11577 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11579 * stl_string_fwd.h: add comment
11581 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11584 * tabular.C: remove unused DocBook methods
11590 killed DO_USE_DEFAULT_LANGUAGE
11592 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11594 * lyx_gui.C: do not include language.h.
11596 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11597 arguments in function implementation.
11599 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11601 * BufferView_pimpl.C: add <ctime>
11603 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11605 * BufferView_pimpl.C: add using std::find_if
11607 2001-02-27 José Matos <jamatos@fep.up.pt>
11609 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11612 2001-02-11 José Matos <jamatos@fep.up.pt>
11614 * buffer.C (makeDocBookFile): command styles now have a parameter as
11615 "title" by default.
11617 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11619 * layout_forms.[Ch]: removed
11620 * lyx_cb.[Ch]: out character
11621 * lyx_gui.C: out character
11622 * lyx_gui_misc.C: out character
11623 * bufferview_funcs.C: : out character,
11624 added toggleall as parameter in ToggleAndShow
11626 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11628 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11630 * text2.C (SetCurrentFont): Disable number property at boundary.
11632 2001-02-26 Juergen Vigna <jug@sad.it>
11634 * lyxfunc.C (getStatus): added a string argument override function so
11635 that this is correctly called from LyXFunc::Dispatch if it contains a
11636 do_not_use_argument which is used!
11637 (Dispatch): added check for "custom" export and call appropriate func.
11639 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11641 * lyxrc.C: Add language_command_local, language_use_babel and
11642 language_global_options.
11644 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11646 * buffer.C (makeLaTeXFile): Use language_use_babel and
11647 language_global_options.
11649 2001-02-23 Juergen Vigna <jug@sad.it>
11651 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11652 which works with LyXText and putted it inside BufferView. Here now we
11653 only call for that part the BufferView::Dispatch() function.
11655 * BufferView.C (Dispatch): added.
11657 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11658 functions which needs to use a LyXText over from LyXFunc.
11659 (MenuInsertLyXFile): added
11660 (getInsetByCode): added
11661 (moveCursorUpdate): added
11662 (static TEXT): added
11664 2001-02-22 Juergen Vigna <jug@sad.it>
11666 * BufferView_pimpl.C (update): call a status update to see if LyXText
11669 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11671 * vc-backend.C (revert): implement for CVS
11672 (getLog): implement for CVS
11674 2001-02-20 Juergen Vigna <jug@sad.it>
11676 * text2.C (ClearSelection): added BufferView param for inset_owner call
11678 * lyxfunc.C (TEXT): added this function and use it instead of
11679 directly owner->view()-text of getLyXText().
11681 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11683 * src/layout_forms.C: out preamble
11684 * src/layout_forms.h: out preamble
11685 * src/lyx_cb.C: out preamble
11686 * src/lyx_cb.h: out preamble
11687 * src/lyx_gui.C: out preamble
11688 * src/lyx_gui_misc.C: out preamble
11689 * src/lyxfunc.C: connect with guii preamble
11691 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11693 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11695 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11697 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11698 whether to run bibtex.
11700 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11702 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11704 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11706 * Makefile.am (lyx_SOURCES): removed bibforms.h
11708 * vspace.h: doxygen
11710 * text.C (GetVisibleRow): make several local vars const
11712 * tabular.C: small cleanup.
11714 * lyxserver.C (callback): use compare instead of strncmp
11716 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11717 inlines to after class or to paragraph.C
11719 * lyxfont.h: remove friend operator!=
11721 * converter.h: move friend bool operator< to non friend and after
11724 * combox.h: small cleanup
11726 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11727 to inlines after class def.
11729 * buffer.C (pop_tag): use string operations instead of strcmp
11731 * bmtable.c: doxygen, small cleanup
11733 * LaTeX.h: remove friend operator==
11735 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11747 * BufferView_pimpl.C:
11748 * BufferView.[Ch]: remove cruft
11750 2001-02-14 Juergen Vigna <jug@sad.it>
11752 * lyxfunc.C: removed #if 0 unused code
11754 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11756 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11758 * text2.C (SetSelection): added a BufferView * parameter
11760 2001-02-13 Juergen Vigna <jug@sad.it>
11762 * lyxfunc.C (Dispatch): fixed protected blank problem.
11763 * BufferView2.C (protectedBlank): added LyxText * parameter.
11765 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11766 (AppendColumn): same as above for column_info.
11768 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11769 (moveCursorUpdate): use a LyXText param for support of InsetText.
11771 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11772 (tripleClick): ditto
11774 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11776 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11778 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11780 * text2.C (SetSelection): set correct update status if inset_owner
11781 (ToggleFree): ditto
11783 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11785 * tabular.C: remove some commented code.
11787 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11789 * BufferView_pimpl.C: call hideSplash()
11791 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11794 * bibforms.h: remove
11797 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11798 add LFUN_CHILD_CREATE
11800 * counters.h: fix tiny typo
11805 * lyx.C: move splash to frontends/xforms/
11807 * lyx_gui_misc.C: move Include and Bibform to frontends
11809 * lyxvc.h: clarify comment
11811 * vspace.C: tiny housekeeping
11813 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11815 * text.C (PrepareToPrint): RTL Fix.
11817 * paragraph.C (GetUChar): New method.
11818 (String): Use GetUChar.
11820 * buffer.C (asciiParagraph): Use GetUChar.
11822 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11824 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11826 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11829 * buffer.C: rename to getLogName(), handle
11830 build log / latex log nicely
11832 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11835 * MenuBackend.h: remove support for reference menuitem type.
11837 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11839 * BufferView_pimpl.C: housekeeping
11840 * BufferView_pimpl.h:
11845 * minibuffer.h: move Timeout GUI-I
11847 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11849 * lyxrc.C (read): Update converters data-structures.
11851 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11853 * LaTeX.h (operator!=): add operator != for Aux_Info
11855 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11857 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11859 * LaTeXLog.C: deleted, useful code moved to Buffer
11862 * buffer.C: new function getLatexLogName()
11868 * lyxfunc.C: use frontends for LaTeX and VC logs
11870 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11872 * LaTeX.h: yet another std:: that Allan forgot.
11874 * Variables.C (set): renamed from isset(), because this clashes
11875 with some HP-UX macros (grr).
11877 2001-02-06 Allan Rae <rae@lyx.org>
11879 * LaTeX.h: Another bug fix. Missing std:: this time.
11881 2001-02-04 Allan Rae <rae@lyx.org>
11883 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11884 floats problem. I've left it commented out because it's not quite
11885 correct. It should also test that the current object is a table or
11886 figure inset. But I haven't gotten around to figuring out how to do
11887 that. I *think* it'll be something like: "table" == inset.type()
11889 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11892 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11894 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11895 all the citation/databases/styles in the auxilary file.
11896 (run): Rerun latex if there was a babel language error.
11898 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11900 * text.C (Backspace): Preserve the font when changing newline char
11902 (BreakParagraph): If the cursor is before a space, delete the space.
11904 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11906 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11908 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11909 new argument (code).
11910 (ChangeCitationsIfUnique): New method.
11912 * paragraph.C (GetPositionOfInset): Handle bibkey.
11914 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11916 * BufferView_pimpl.h: change type of Position::par_pos to
11917 LyXParagraph::size_type.
11919 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11921 * BufferView_pimpl.C (savePosition, restorePosition): Write
11922 messages to minibuffer.
11924 2001-01-28 José Matos <jamatos@fep.up.pt>
11926 * buffer.C (makeDocBookFile): adds support for document language.
11927 A silly restriction on the name of LatexCommand types where removed.
11928 Added support for CDATA sections, allows to chars unescaped, used
11929 among others in code, to avoid escape < and >.
11931 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11933 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11934 saved positions instrad of a stack. Furthermore, a position is
11935 stored using paragraph id/paragraph position.
11937 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11938 Remove LFUN_REF_BACK.
11940 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11942 * converter.C (dvipdfm_options): New method.
11944 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11946 * vspace.C (isValidLength): Fix for empty input string.
11948 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11950 * LyXAction.C (init): change description of LFUN_FIGURE to
11953 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11955 * LaTeX.C: add using directive
11957 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11959 * MenuBackend.C (expand): Fix the sorting of the formats.
11961 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11963 * lyx_main.C: tiny error message fix
11965 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11967 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11968 calling fl_initialize(). This fixes the problem with ',' as
11969 decimal separator in text files.
11971 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11973 * trans.C (process): Fix the keymap bug.
11975 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11977 * LaTeX.C (scanAuxFiles): New method. Provides support for
11978 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11979 (scanLogFile) Scan for "run BibTeX" messages.
11981 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11982 OT1 font encoding. Also, load the aecompl package if the ae
11985 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11987 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11989 * texrow.C (increasePos): turn two error messages into debug
11992 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11994 * LaTeX.C (scanAux): Handle the \@input macro.
11995 (runBibTeX): Use scanAux().
11997 * language.C (latex_options_): New field.
11999 * LaTeXFeatures.C (getMacros): Add language macros.
12001 * buffer.C (makeLaTeXFile): Small fix.
12003 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12005 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12007 * text2.C: add a using directive.
12009 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12014 * lyxfunc.C: kill LyXBell.
12016 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12018 * text.C (IsBoundary): Remove the error message
12020 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12022 * lyxrc.C (setDefaults): Correct initialization value for
12025 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12027 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12030 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12031 and GotoNextNote().
12033 * src/LyXAction.C: Added reference-next.
12035 * text.C (InsertChar): Use contains instead of strchr.
12037 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12039 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12041 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12042 alignment commands (when needed).
12044 * text.C (InsertChar): Add ':' to number separator chars.