1 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * Always use std::endl with lyxerr
5 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
7 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
9 2003-08-01 André Pönitz <poenitz@gmx.net>
12 * BufferView_pimpl.[Ch]:
14 * text3.C: merge BufferView::repaint() and BufferView::update()
16 2003-08-01 José Matos <jamatos@lyx.org>
18 * buffer.[Ch]: file_format is no longer a buffer data element.
20 2003-08-01 André Pönitz <poenitz@gmx.net>
25 * text2.C: make redoParagraph more independent of current cursor
27 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
29 * text2.C: remove unneeded members
31 2003-07-30 André Pönitz <poenitz@gmx.net>
33 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
35 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
36 create a single function...
38 * paragraph_funcs.C (moveItem): ... here.
41 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
43 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
45 * LColor.[Ch]: Add comment and greyedout logical colors.
47 2003-07-30 André Pönitz <poenitz@gmx.net>
49 * tabular.C: don't use Assert too heavily. This crashes where it
52 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
54 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
55 is disabled (bug 1232)
57 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
59 * factory.C: limited 'arg' scope
61 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
63 * factory.C: fixed Note submenu issues
65 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
67 * factory.C: submenu for Note/Comment/Greyedout
69 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
72 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
74 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
77 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
78 greyedout. Patch provided by Jürgen Spitzmüller.
80 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * kbmap.C (read): fix error message when reading bind files
84 2003-07-29 Angus Leeming <leeming@lyx.org>
86 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
87 certainly does not do what it purports to do. I am doing it, and
88 us, a favour by killing it.
90 2003-07-28 José Matos <jamatos@lyx.org>
92 * buffer.C (readBody, do_writeFile):
93 * paragraph.C(readParagraph): \end_document replaces \the_end.
95 2003-07-29 André Pönitz <poenitz@gmx.net>
98 * BufferView_pimpl.[Ch]:
102 * textcursor.[Ch]: remove toggleToggle & Co
104 2003-07-28 José Matos <jamatos@fep.up.pt>
106 * buffer.C (readParagraph):
107 * params_func (readParToken, readParagraph):
108 * paragraph.C (write): \layout -> \begin_layout.
110 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
112 * lyxlex_pimpl.C (setFile): clean up slightly.
114 * bufferparams.h: add compressed var
116 * buffer_funcs.C (readFile): adjust for LyXLex change
117 (newFile): ditto + simplify
119 * buffer.C (writeFile): handle writing of compressed files
121 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
122 Check if the file is compressed and set a bufferparm if so.
124 * Makefile.am (lyx_LDADD): remove explicit -lz
126 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
129 makeDocBookFile): put the real LyX version in the first line of
133 * version.C.in: remove lyx_docversion
135 * tabular.C (write_attribute): add a template-based version to
138 2003-07-28 André Pönitz <poenitz@gmx.net>
143 * text3.C: use doubles again for x-coordinates. They are needed.
145 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
147 * messages.C (getLocaleDir): use lyx_localedir()
149 * lyxlex_pimpl.C (setFile): compress stuff
151 * buffer.C (writeFile): add some compression stuff
152 (do_writeFile): new func, dont call expliti close... will this
155 * Makefile.am (lyx_LDADD): add -lz
157 2003-07-28 José Matos <jamatos@fep.up.pt>
159 * buffer.C: increment file format.
160 * paragraph_funcs (readParagraph, readParToken):
161 * paragraph.C (readParagraph): add \end_layout.
163 2003-07-27 Angus Leeming <leeming@lyx.org>
165 * Makefile.am: remove special casing for configure-time setting of
166 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
168 * lyx_main.C (init): remove all Jean-Marc's magic setting of
169 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
171 2003-07-26 André Pönitz <poenitz@gmx.net>
173 * paragraph_func.[Ch]:
174 * paragraph.C (realizeFont): inline it whereever it is used
179 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
182 2003-07-26 André Pönitz <poenitz@gmx.net>
186 * text2.C: get rid of LyXText::need_break_row
188 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
190 * toc.[Ch]: put namespace toc inside namespace lyx
192 * MenuBackend.C (expandToc2): adjust for lyx::toc
195 * lyxfunc.C (dispatch): adjust for lyx::find
197 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
198 lyx::find instead. Reorganize a bit.
199 (LyXReplace): rename to replace
200 (LyXFind): rename to find
202 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
205 2003-07-26 André Pönitz <poenitz@gmx.net>
207 * text.C (setHeightOfRow): restrict scope of temporary variable
209 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
210 code (never has been used?)
212 2003-07-27 Asger Alstrup <alstrup@local>
214 * text.C (fill): Optimise algorithm to exploit that we can reuse
215 the LyXFont for many characters.
216 (setHeightOfRow): Same thing.
217 (rowBreakPoint): Same thing.
219 2003-07-26 Asger Alstrup <alstrup@local>
221 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
223 * text.C (singleWidth): Spurious font copying in hot-spot
224 singleWidth avoided. Reorder tests for arabic for efficiency.
226 * text.C (fill): handle empty paragraphs better.
228 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * encoding.h: add includes
233 * lyxrc.C: remove reading of bind files
235 * lyx_main.C (init): setup bindings and menus only if we have a
238 * kbmap.C (read): new method. Do the actual reading of bind
241 * converter.C (dvipdfm_options):
244 (output): adapt PAPER_* enums.
246 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
248 * bufferparams.h: remove paper-related enums from there
250 * paper.h: New file. A trivial header file to hold paper-related
251 enums. It should later expand to contain many paper-related
254 * lyxrc.C: declare extern displayTranslator
256 2003-07-27 José Matos <jamatos@fep.up.pt>
258 * tabular.[Ch] (linuxdoc): add support for tables and figures
261 2003-07-27 José Matos <jamatos@fep.up.pt>
263 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
264 consistency in both functions.
265 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
267 2003-07-26 Asger Alstrup <alstrup@local>
269 * rowpainter.C (paintRows): Change algorithm to work directly on
270 the insets rather than asking every character in the document
271 whether its an inset.
273 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
275 * buffer.C (openFileWrite): factorize some code
277 2003-07-26 Angus Leeming <leeming@lyx.org>
280 * lyx_main.[Ch]: replace occurances of system_tempdir with
283 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
285 * rename Inset to InsetOld
287 2003-07-25 Asger Alstrup <alstrup@diku.dk>
289 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
290 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
291 which I think is a bit clearer. EDIT is gone, since it was
292 premature optimisation, and broken for mathed anyway.
293 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
294 with cursor positioning in insets as well (math insets still do not
295 work, but that's a different story anyway.) It mysteriously
296 crashes sometimes with undo in the first paragraph, but I'm fairly
297 confident that this is a compiler bug.
299 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
301 * paragraph.C (Paragraph): adjust for new clone return type
303 (copyIntoMinibuffer): ditto
305 2003-07-25 Asger Alstrup <alstrup@lyx.org>
307 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
308 by not having a special case, and always doing a full rebreak of
309 the document after undo.
311 2003-07-23 Angus Leeming <leeming@lyx.org>
313 * factory.C (createInset): InsetExternal::setParams now takes a
316 2003-07-23 Angus Leeming <leeming@lyx.org>
318 * factory.C (createInset): changed interface to the external and
319 graphics mailers' string2params functions.
321 2003-07-23 Angus Leeming <leeming@lyx.org>
323 * factory.C (createInset): pass a
324 Buffer const * parameter to InsetExternalMailer's string2params.
326 2003-07-22 John Levon <levon@movementarian.org>
328 * Thesaurus.h: include the right aiksaurus header
330 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * MenuBackend.C (expand): check menu shortcuts unconditionally
334 2003-07-21 Angus Leeming <leeming@lyx.org>
336 * factory.C (createInset): pass a
337 buffer_path parameter to InsetGraphicsMailer's string2params.
339 2003-07-21 Angus Leeming <leeming@lyx.org>
341 * BufferView_pimpl.C (buffer):
344 * lyxfunc.C (dispatch):
345 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
346 rather than the grfx shortcut.
348 2003-07-21 André Pönitz <poenitz@gmx.net>
350 * rowpainter.C: remove unused variables
353 * tabular_funcs.h: move to tabular.C
354 * Makefile.am: adjust
356 * tabular.[Ch]: basic optical cleaning
358 * author.h: pass references, not values
360 2003-07-18 André Pönitz <poenitz@gmx.net>
368 * text3.C: two-phase drawing for InsetText and InsetTabular
369 some float -> int changes.
371 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
373 * lyx_main.C: fix the fix
375 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
377 * lyx_main.C: fix a crash in batch mode if no files specified
380 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
382 * format.[Ch] (papersize): moved to BufferParams
383 * converter.[Ch] (dvips_options): moved to BufferParams
384 (dvipdfm_options): moved to anon namespace
385 * bufferparams.[Ch]: added above functions.
387 2003-07-17 André Pönitz <poenitz@gmx.net>
391 * text2.C: don't call inset->update() anymore
393 * metricsinfo.[Ch]: add convenience constructor
395 2003-07-16 André Pönitz <poenitz@gmx.net>
400 * text2.C: replace the LyXCursor::irow_ member with
401 on-demand computation of the value
403 2003-07-16 John Levon <levon@movementarian.org>
405 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
407 2003-07-15 André Pönitz <poenitz@gmx.net>
410 * text2.C: remove no more needed refresh_row
412 2003-07-15 André Pönitz <poenitz@gmx.net>
417 * text3.C: refresh_status tristate -> need_update bool
419 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
421 * lyxtext.h (init): remove reinit argument (act as if always true)
422 * text2.C: adjust to that
424 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
426 * bufferview_funcs.[Ch]: introduce function replaceSelection()
427 * text3.C: use it to delete selections in some cases
428 (bugs 441, 673, 702, 954).
430 2003-07-14 André Pönitz <poenitz@gmx.net>
432 * rowpainter.[Ch]: reduce interface
434 2003-07-14 André Pönitz <poenitz@gmx.net>
436 * BufferView_pimpl.C:
437 * text2.C: adjust after removing unused BufferView * argument
439 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
441 * text2.C (init): fix a crash fired on resize
443 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
445 * buffer.[Ch]: added new closing signal
446 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
447 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
448 BufferView::Pimpl via the closing the signal
450 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
452 * buffer.[Ch]: take out all bv-related from buffer
454 * BufferView_pimpl.[Ch]: connect to new signals
455 * CutAndPaste.C: removed useless asserts
456 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
459 * lyxfunc.C: moved view-related funciontality from vc here
460 * paragraph.C: removed outdated comments
463 2003-07-10 André Pönitz <poenitz@gmx.net>
465 * BufferView_pimpl.C:
469 * text2.C: remove InsetText::InnerCache, clean up consequences
471 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
473 * ispell.C: fix two typos in error messages
475 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
477 * Extend Note inset to other forms of annotation like Comment
478 and Greyedout. Right button click gives dialog.
480 Files modified or added (+):
486 * Makefile.am in frontends/xforms, frontends/xforms/forms,
487 frontends/controllers
491 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
493 * aspell.C: add missing namespace lyx::support
495 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
497 * BufferView.[Ch] (newFile): Add
498 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
499 * LaTeX.[Ch] (message): added this signal and use it
500 * buffer.[Ch] (busy, message): added these signals and use them
501 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
505 * importer.C: use buffer signals instead of direct bv calling
506 * lyx_cb.[Ch] (ShowMessage): removed
510 * text2.C: use buffer signals
512 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
514 * introduce namespace lyx::graphics
516 2003-07-02 André Pönitz <poenitz@gmx.net>
518 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
520 2003-07-01 André Pönitz <poenitz@gmx.net>
527 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
528 text*.C to text_func.C
530 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
532 * introduce namespace lyx::support
534 2003-06-30 André Pönitz <poenitz@gmx.net>
539 * text.C: re-enable --with-included-string
541 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * textcursor.C: add <config.h>
545 * text.C (getWord): remove const from word_location arg
547 * lyxvc.C (getLogFile): fix const type order
549 * lyxtext.h: remove const from word_location arg, add arg name
551 * lyxlayout.h: currect type on labeltype.
553 * importer.C: correct \file
555 * converter.C (intToFormat): use std:: on ret val, ws changes
557 * bufferlist.h: correct \file
559 * buffer.C (makeLinuxDocFile): fix const type order
560 (makeDocBookFile): ditto
561 (fillWithBibKeys): use std:: on stdlib args.
563 * CutAndPaste.C: fix authors.
564 (availableSelections): use std:: on return vector
566 2003-06-27 André Pönitz <poenitz@gmx.net>
568 * BufferView_pimpl.C:
569 * bufferview_funcs.C:
577 * text3.C: remove LyXCursor::row_ member
580 * text.C: rename fullRebreak() to partialRebreak() and implement
581 a fullRebreak() that really bereks fully
583 * textcursor.h: new struct for cursor-related data
585 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
587 * lyx_main.C (LyX): get full path of document loaded on the
590 2003-06-26 André Pönitz <poenitz@gmx.net>
592 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
593 remove unused/broken operator>,<,>=.
595 * text.C: remove only use of broken operator<= in an Assert().
597 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
599 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
600 moved errorlist_.clear to showErrorList
602 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
604 * converter.C (scanLog, runLaTeX):
605 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
606 move the bv->showErrorList call to the callers
607 * lyxfunc.C: i.e. here...
609 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
610 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
611 namespace, the second to...
612 * buffer_funcs (BufferFormat, parseErrors): added
613 * errorlist.C (ErrorList(TeXErrors const &)): removed
615 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 * ToolbarBackend.C (getIcon): complain when icon cannot be found
619 2003-06-24 "Garst R. Reese" <reese@isn.net>
623 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
627 * version.C.in: change docversion to 1.4
629 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
631 * buffer.C: fix a bug just introduced
633 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
635 * buffer.[Ch]: added the parseError signal and use it, removed
637 * BufferView.[Ch] (addError): moved to ...
638 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
639 to the Buffer::parseError signal to catch (guess what) parse errors
640 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
642 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
644 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
645 ability to create a buffer and to return an existing one from
646 the list. Moved these functions to...
647 * buffer_funcs.[Ch]: added
648 * BufferView.[Ch] (loadLyXFile): added
649 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
650 job removed from bufferlist::loadLyXFile.
651 * buffer.C (setReadOnly): make it work without view
652 (i.e added an if (users))
654 2003-06-19 Angus Leeming <leeming@lyx.org>
657 * LyXAction.C (init):
658 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
659 with LFUN_DIALOG_SHOW <name> <data>.
661 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * CutAndPaste.C (availableSelections): small compilation fix for
664 ancient (gcc 2.9x) compilers
666 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * text3.C (cursorNext): add tmp var
670 * text2.C (updateCounters): for function calling out of for clause
671 (replaceSelectionWithString): ditto
672 (insertStringAsParagraphs): ditto
673 (getColumnNearX): add tmp var
674 (setCursorFromCoordinates): add tmp var
675 (cursorDownParagraph): add tmp var
676 (deleteEmptyParagraphMechanism): add tmp var
678 * text.C (insertChar): add tmp var
680 * rowpainter.C (paintDepthBar): add tmp var
682 * CutAndPaste.C (availableSelections): potentially check all
683 paragraphs in a cut to fill the shown strings.
685 2003-06-18 André Pönitz <poenitz@gmx.net>
687 * kbmap.[Ch]: use vector<> instead of list<>
689 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
691 * text3.C (dispatch): handle arg to LFUN_PASTE, call
692 pasteSelection with index
694 * text2.C (pasteSelection): modify, call pasteSelection with index
696 * paragraph.C (asString): reimplement version with no interval to
697 call the one with interval.
699 * lyxtext.h: add index arg to pasteSelection
701 * MenuBackend.C (MenuItem): handle PasteRecent
702 (Menu::read::Menutags): add md_pasterecent
704 (expandPasteRecent): new function
707 * MenuBackend.h: add PasteRecent to MenuItem::Kind
709 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
711 (availableSelections): new function
713 2003-06-17 Angus Leeming <leeming@lyx.org>
715 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
717 2003-06-17 Angus Leeming <leeming@lyx.org>
720 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
722 * lyxfunc.C (dispatch): invoke it.
724 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * iterators.C (operator++, ParPosition): reintroduce some
727 const_cast for the benefit of older compilers.
729 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
731 * text3.C (dispatch): do not modify clipboard when doing
732 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
733 LFUN_DELETE_SKIP on a selection selection
735 2003-06-16 André Pönitz <poenitz@gmx.net>
741 * tabular.[Ch]: IU of clone() and getLabelList();
743 2003-06-13 André Pönitz <poenitz@gmx.net>
745 * tabular.h: compactification
747 2003-06-12 André Pönitz <poenitz@gmx.net>
751 * tabular_funcs.h: some renaming plus whitespace
753 2003-06-12 André Pönitz <poenitz@gmx.net>
756 * BufferView_pimpl.C:
762 * toc.C: Return a Paragraph & for ParIterator::operator*()
764 2003-06-11 John Levon <levon@movementarian.org>
768 * ToolbarBackend.C: add "Toolbars" section and
771 2003-06-10 Angus Leeming <leeming@lyx.org>
774 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
776 * lyxfunc.C (dispatch): invoke it.
778 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * main.C: protect <ios> with HAVE_IOS
781 (main): protect sync_with_stdio with HAVE_IOS
783 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
785 * text2.C (cutSelection): adjust
786 (pasteSelection): adjust
788 * messages.C: handle get of empty string
790 * main.C (main): use sync_with_stdio(false)
792 * lyxfunc.C (dispatch): adjust
794 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
795 (WriteAs): remove unneeded BufferView arg.
797 * bufferparams.h: use correct types on papersize, papersize2 and
800 * bufferparams.C (readToken): adjust for type
801 (writeLaTeX): add missing cases to switch.
803 * bufferlist.C (quitWriteBuffer): adjust
806 * buffer.C (asciiParagraph): remove some commented code.
808 * CutAndPaste.C: remove current_view extern variable.
809 (cutSelection): add BufferParams arg.
810 (eraseSelection): add BufferParams arg.
811 (pasteSelection): add Buffer const & arg
813 2003-06-07 John Levon <levon@movementarian.org>
821 * paragraph.C: allow InsetERT to freely space lines,
822 and some consolidation of code
824 2003-06-06 José Matos <jamatos@fep.up.pt>
826 * buffer.C (makeDocBookFile): fix bug #821
828 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
830 * BufferView_pimpl.C (dispatch): use Dialogs::visible
832 2003-06-04 Angus Leeming <leeming@lyx.org>
834 * buffer.C: bump format to 224.
836 2003-06-05 André Pönitz <poenitz@gmx.net>
838 * text2.C (redoParagraphs): remove two const_cast<>
840 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
842 * ParagraphList.h: remove last remnants of NO_STD_LIST
844 2003-06-03 Angus Leeming <leeming@lyx.org>
846 * factory.C (createInset): small change to the way InsetExternal's params
849 2003-06-04 André Pönitz <poenitz@gmx.net>
851 * buffer.h: use Undo directly instead of shared_ptr<Undo>
854 * paragraph.[Ch]: some Inset -> UpdatableInset changes
856 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
858 * undo_funcs.C: make some simple cases of undo work again
860 2003-06-03 John Levon <levon@movementarian.org>
862 * ispell.C: HPUX doesn't have sys/select.h
865 2003-06-03 John Levon <levon@movementarian.org>
867 * CutAndPaste.C: update tabular and include inset
872 * paragraph.C: remove owningBuffer(), don't pass Buffer
875 * factory.C: insetGraphicsParams changed
877 2003-06-02 John Levon <levon@movementarian.org>
883 * text3.C: remove insetparent
885 2003-06-02 John Levon <levon@movementarian.org>
888 * buffer.C: fix inset_iterator.end(), move out of line
891 2003-06-01 John Levon <levon@movementarian.org>
893 * text3.C: use a proper cut/paste when doing inset
894 insert (from Jürgen Spitzmüller)
896 2003-06-01 John Levon <levon@movementarian.org>
898 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
900 2003-05-30 André Pönitz <poenitz@gmx.net>
902 * rowpainter.C: unify second drawing phase
904 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
906 * trans_mgr.C: remove one case of current_view
908 * text2.C (cursorBottom): delete NO_STD_LIST stuff
910 * paragraph_funcs.h: remove paragraph.h include
912 * paragraph.h: delete NO_STD_LIST stuff
914 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
916 * buffer.h: remove paragraph.h include
918 * ParagraphList.C: delete file
920 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
922 * toc.C (getTocList): adjust
924 * paragraph_pimpl.C (validate): adjust
926 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
928 * paragraph.C (Paragraph): adjust
929 (getPositionOfInset): use const_iterator, adjust
930 (bibitem): use const_iterator, adjust
931 (setInsetOwner): adjust
933 * iterators.C (operator++): adjust
935 * InsetList.[Ch]: Replace selfmade iterator with standard
936 vector::iterator also introduce const_iterator. Remove getPos,
937 getInset and setInset from InsetTable. Adjust accordingly.
939 * BufferView.C (lockInset): adjust
940 (ChangeInsets): adjust
942 * tabular.[Ch]: delete commented same_id functions
944 2003-05-28 John Levon <levon@movementarian.org>
946 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
948 2003-05-28 André Pönitz <poenitz@gmx.net>
950 * metricsinfo.[Ch]: remove 'fullredraw' member
952 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
954 * lyxtextclass.C (operator): remove caching.
956 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * text2.C (cursorBottom): adjust
961 (setCounter): use ParagraphList::find, adjust
963 * text.C (workWidth): use ParagraphList::find, adjust
965 * lyxcursor.C (LyXCursor): adjust
967 * buffer.C (inset_iterator): adjust
969 * ParagraphList.h: make iterator(value_type) private, make
970 ParagraphList a friend of iterator.
972 * ParagraphList.C (find): new function
974 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
976 2003-05-27 André Pönitz <poenitz@gmx.net>
978 * dimension.[Ch]: a -> asc, d -> des, w -> wid
980 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
982 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
984 2003-05-26 John Levon <levon@movementarian.org>
986 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
988 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * remove same_id from function signatures, adjust.
992 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * undo_funcs.C (createUndo): use the id functions directly, adjust.
996 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
998 * paragraph.C (Paragraph): get rid of same_ids parameter
1000 * ParagraphList.C (insert): adjust
1003 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1005 * paragraph_funcs.C (breakParagraph): adjust
1006 (breakParagraphConservative): adjust
1008 * buffer.C (readParagraph): adjust
1010 * ParagraphList.C (insert): take a reference instead of a pointer
1013 * paragraph.[Ch] (id): new function
1015 * bufferlist.C (newFile): adjust
1017 * ParagraphList.C (ParagraphList): adjust
1019 (push_back): take a reference instead of a pointer.
1021 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1023 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1026 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1027 set else use old code.
1029 * ParagraphList.C: remove all NO_NEXT code and only compile this
1030 code of NO_STD_LIST is set.
1032 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1034 * BufferView_pimpl.C:
1044 * graphics/GraphicsConverter.C:
1045 * graphics/PreviewLoader.C: header adjustment
1047 2003-05-23 Angus Leeming <leeming@lyx.org>
1049 * LaTeXFeatures.[Ch] (useBabel): new method.
1050 * bufferparams.C (writeLaTeX): use it.
1052 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * ParagraphList.h (set): remove unused function.
1056 2003-05-23 André Pönitz <poenitz@gmx.net>
1059 * BufferView_pimpl.C:
1063 * undo_funcs.C: setUndo reworked
1065 * iterators.[Ch]: add access to topmost ParagraphList
1067 * lyxtext.[Ch] (workWidth): add a const
1069 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1071 * texrow.[Ch] (increasePos): remove function
1072 * exporter.C (export): removed unused var and outdated comment
1074 2003-05-23 Angus Leeming <leeming@lyx.org>
1076 * latexrunparams.h: rename fragile as moving_arg.
1077 * paragraph.C (simpleTeXOnePar): ditto.
1078 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1080 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1084 (textUndoOrRedo): comment out a currently unused var.
1086 * paragraph.h (NO_NEXT): enable NO_NEXT
1088 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1090 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1092 * exporter.C (Export): adjust for removeAutoInsets removal.
1094 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1096 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1098 * BufferView.[Ch] (removeAutoInsets): delete function
1100 2003-05-22 Angus Leeming <leeming@lyx.org>
1102 * latexrunparams.h: add a free_spacing variable.
1104 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1105 to pass moving_arg, as the data is stored in runparams.fragile.
1107 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1108 to Inset::latexOptional or to simpleTeXOnePar.
1110 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1111 free_spacing arg to Inset::latexOptional.
1113 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1116 2003-05-22 Angus Leeming <leeming@lyx.org>
1118 * latexrunparams.h: add fragile and use_babel variables.
1120 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1121 * buffer.C (makeLaTeXFile): store this returned value in
1122 runparams.use_babel, thus passing it to the inset::latex methods.
1124 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1125 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1127 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1128 longer has a fragile arg, as it is stored in runparams.fragile.
1130 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1131 moving_arg parameter as the data is stored in runparams.fragile.
1133 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1134 a fragile parameter as the data is stored in runparams.fragile.
1136 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1140 2003-05-22 Angus Leeming <leeming@lyx.org>
1142 * latexrunparams.h: add a 'bool nice' which defaults to false.
1144 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1145 now encapsulated within runparams.
1147 * bufferlist.C (updateIncludedTeXfiles):
1148 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1150 2003-05-22 Angus Leeming <leeming@lyx.org>
1152 * latexrunparams.h: new file containing struct LatexRunParams.
1153 * Makefile.am: add new file.
1155 * LaTeX.[Ch] (c-tor, run):
1156 * buffer.[Ch] (makeLaTeXFile):
1157 * bufferlist.[Ch] (updateIncludedTeXfiles):
1158 * converter.C (convert, scanLog):
1159 * converter.[Ch] (runLaTeX):
1160 * exporter.C (Export):
1161 * paragraph.[Ch] (simpleTeXOnePar):
1162 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1163 * paragraph_funcs.[Ch] (latexParagraphs):
1164 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1165 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1166 pass around a LatexRunParams parameter.
1168 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1170 * paragraph.[Ch]: remove unused constructor
1172 * ParagraphList.C (erase): new function, taking two iterators
1174 2003-05-22 André Pönitz <poenitz@gmx.net>
1176 * undo_funcs.C: remove duplicated code
1178 * iterator.[Ch]: operator=
1180 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * tabular.C (SetMultiColumn): ws changes
1184 * rowpainter.C (paintFirst): get rid of a ->previous
1186 * lyx_cb.C (getPossibleLabel): parlist simplification
1188 * BufferView.C (ChangeInsets): simplify slightly.
1190 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1192 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1193 * lfuns.h: new LFUN_SPACE
1194 * lyxfunc.C: protected space has a new lfun
1195 * paragraph_funcs.C: read new space insets
1197 * factory.C: handle new space insets
1199 2003-05-22 André Pönitz <poenitz@gmx.net>
1202 * BufferView_pimpl.C:
1205 * undo_funcs.C: return a ParIterator from getParFromID.
1207 * iterators.[Ch]: add two const's
1209 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1211 * toc.C (getTocList): adjust
1213 * iterators.[Ch]: rework for parlist
1215 * buffer.C (par_iterator_begin): adjust
1216 (par_iterator_end): adjust
1218 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1220 * BufferView.C (removeAutoInsets): adjust
1221 (ChangeInsets): adjust
1223 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1225 * text.C (top_y): fix bug 1110
1227 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1229 * errorlist.[Ch]: added
1232 * BufferView_pimpl.C:
1233 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1236 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * Makefile.am: ensure that lyx is relinked upon changes to the
1239 various "convenience" libs.
1241 2003-05-20 Angus Leeming <leeming@lyx.org>
1243 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1244 files are compiled in alphabetical order again.
1246 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1248 2003-05-19 Angus Leeming <leeming@lyx.org>
1250 * gettext.[Ch]: remove "char const * _(char const *)".
1252 2003-05-19 André Pönitz <poenitz@gmx.net>
1254 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1263 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1265 2003-05-19 André Pönitz <poenitz@gmx.net>
1269 * lyxtextclass.[Ch]:
1271 * paragraph_funcs.[Ch]:
1273 * text3.C: more insetenv work
1275 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1277 * ParagraphParameters.C (params2string): small bug fixed
1279 2003-05-16 André Pönitz <poenitz@gmx.net>
1282 * bufferview_funcs.C: patch from Kornel Benko to prevent
1283 crash when _(...) is called twice in a statement
1285 2003-05-16 André Pönitz <poenitz@gmx.net>
1292 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1294 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1296 * lyx_main.C (init): remove spurious static_cast
1298 2003-05-14 André Pönitz <poenitz@gmx.net>
1300 * BufferView.C: fix format string
1302 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1304 * BufferView.[Ch] (insertErrors): removed
1305 * BufferView.[Ch] (showErrorList): added
1306 * buffer.C (runChkTeX):
1307 * converter.C (scanLog): call showErrorList instead of inserterrors
1309 2003-05-13 André Pönitz <poenitz@gmx.net>
1311 * BufferView_pimpl.C:
1313 * bufferview_func.C:
1320 * tabular_funcs.h: tostr() from its own header
1322 * ParagraphParameters.C:
1327 * text3.C: STRCONV()
1329 2003-05-12 André Pönitz <poenitz@gmx.net>
1332 * BufferView_pimpl.C:
1336 * ParagraphParameters.C:
1340 * bufferview_funcs.C:
1353 * paragraph_funcs.C:
1357 * text3.C: boost::format -> bformat all over the place
1360 2003-05-09 André Pönitz <poenitz@gmx.net>
1362 * LColor.[Ch]: Pimpl the #include <map> away
1364 2003-05-09 John Levon <levon@movementarian.org>
1366 * bufferlist.C: never remove emergency saves
1368 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1370 * Makefile.am: better lib building
1372 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1374 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1376 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1377 (simpleTeXSpecialChars): adjust
1378 (simpleTeXSpecialChars): adjust
1379 * paragraph.C (simpleTeXOnePar): adjust
1380 * buffer.C (makeLaTeXFile): adjust
1382 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1384 * text2.C (changeDepth): parlist cleanup
1385 (getColumnNearX): ditto
1387 * rowpainter.C (getLabelFont): parlist cleanup
1389 * bufferlist.C (newFile): parlist cleanup
1391 * CutAndPaste.C (eraseSelection): parlist cleanup
1393 * BufferView_pimpl.C (trackChanges): parlist cleanup
1396 * BufferView.C (lockInset): parlist cleanup.
1397 (ChangeInsets): ditto
1399 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1401 * CutAndPaste.h: Update file header.
1403 * CutAndPaste.C: Update file header.
1404 Store the parts cut out of the Document in a limited_stack.
1405 (copySelection): adjust
1406 (pasteSelection): new function, takes the index in the limited stack.
1407 (nrOfParagraphs): adjust
1408 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1409 simplify error inset insertion.
1410 (checkPastePossible): adjust
1412 2003-05-06 John Levon <levon@movementarian.org>
1414 * text2.C: don't cast wrap inset to float
1416 2003-05-05 André Pönitz <poenitz@gmx.net>
1419 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1421 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1422 few naked Paragraph *.
1424 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1426 * bufferparams.C: Output warning if a document with missing
1427 TeX document class is loaded
1428 * exporter.C: Disable TeX exports if the document class is missing
1431 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1432 isTeXClassAvailable()
1434 2003-05-03 John Levon <levon@movementarian.org>
1437 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1438 explicit cursor show/hide
1440 * BufferView_pimpl.h:
1441 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1442 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1444 * lyxfunc.C: hide cursor before dispatching.
1449 * text3.C: remove explicit cursor hides
1451 2003-05-02 André Pönitz <poenitz@gmx.net>
1453 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1456 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1459 * text2.C: tiny whitespace
1461 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * undo_funcs.C: almost only ws changes.
1465 * ParagraphList.C (splice): just return if pl is empty.
1467 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * ParagraphList.C (splice): new function.
1471 * CutAndPaste.C (pasteSelection): use it
1473 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1475 * CutAndPaste.C (pasteSelection): remove the last next and
1476 previous from this file.
1478 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * CutAndPaste.C (pasteSelection): more clean up, user proper
1481 ParagraphList functions for pasteing.
1483 * ParagraphList.C (insert): new function, three arg insert
1485 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * ParagraphList.C (insert): new function, three arg insert
1489 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1492 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1494 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1496 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1500 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1502 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1503 (copySelection): clean up a bit.
1504 (pasteSelection): use make_pair
1506 * ParagraphList.C (ParagraphList): implement copy constructor
1507 (operator=): implement, base on copy constructor.
1510 * paragraph.C (erase): return a bool
1512 * paragraph_pimpl.C (erasePos): remove function, move contents...
1513 (erase): ... here. Return a bool.
1514 (erase): call erase instead of erasePos.
1516 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1518 * ParagraphList.h: define PitPosPair
1519 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1520 ParagraphList, fix a bug on pasting multiple pars
1521 * text2.C: change interface to C&P
1523 2003-04-30 André Pönitz <poenitz@gmx.net>
1525 * undo_func.C: revert part of yesterday's patch 2
1527 2003-04-30 John Levon <levon@movementarian.org>
1529 * LColor.C: s/tabular/table/
1531 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1533 * text3.C (dispatch): do not convert iterator -> pointer
1534 * undo_funcs.C (setCursorParUndo): ditto
1535 * text_funcs.C (transposeChars): ditto
1537 * text2.C (setLayout): ws changes only
1539 * text.C (breakParagraph): do not convert iterator -> pointer
1541 (acceptChange): ditto
1542 (rejectChange): ditto
1547 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1550 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1552 * text3.C (gotoInset): YABG (yet another bad getChar)
1554 2003-04-29 André Pönitz <poenitz@gmx.net>
1556 * paragraph.h: make operator= private unimplemented as long as
1559 * ParagraphList.C: whitespace
1562 * paragraph_pimpl.[Ch]:
1563 * paragraph_funcs.C:
1565 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1568 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1570 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1572 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1573 * paragraph.[Ch] (erase):
1574 * paragraph_pimpl.[Ch] (erase): change return type and value
1575 * text2.C (cutSelection): some rework
1577 2003-04-28 John Levon <levon@movementarian.org>
1579 * bufferlist.C: changes for unsaved changes dialog
1581 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * bufferlist.C (newFile): set language (messages_) for new
1586 * buffer.C (readFile): ws changes only.
1588 2003-04-28 André Pönitz <poenitz@gmx.net>
1593 * BufferView_pimpl.C:
1594 * BufferView.C: getParFromID related ParagraphList::iterator changes
1596 2003-04-28 André Pönitz <poenitz@gmx.net>
1598 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1601 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * messages.C: remove one more localedir class variable.
1605 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * messages.C (getLocaleDir): singleton generation function
1609 (Messages): add a default constructor.
1611 * main.C (main): do not setup localedir here, do not call
1614 * gettext.C (_): use it.
1615 (gettext_init): delete funciton
1617 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * gettext.C (getLyXMessages): new singleton generating function.
1621 * buffer.C (updateDocLang): adjust
1623 * Makefile.am (messages.o): add target
1624 (main.o): remove target
1626 2003-04-27 John Levon <levon@movementarian.org>
1631 * lyxvc.C: specify cancel button in Alert::prompt
1633 2003-04-26 John Levon <levon@movementarian.org>
1638 * LyXAction.C: add LFUN_INSET_SETTINGS
1640 * lyxfunc.C: don't enable tabular-feature when there's
1641 just any locking inset
1643 2003-04-26 John Levon <levon@movementarian.org>
1645 * bufferlist.C: re-add Cancel to buffer close question
1647 * lyxfunc.C: fix import UI a bit
1649 2003-04-25 John Levon <levon@movementarian.org>
1651 * gettext.C: remove the broken asserts for now
1653 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * messages.C: make case where setlocale cannot comply work better.
1657 * buffer.C (updateDocLang): new function
1658 (changeLanguage): use it
1661 * text2.C (setCounter): use B_ a bit.
1663 * lyxlayout.C (Read): be sure to trim the label strings.
1665 * messages.C (Messages): fix typo in comment
1667 * buffer.C (readFile): set message_ after file is loaded.
1668 (makeDocBookFile): remove double return
1669 (changeLanguage): reset message_ upon language change.
1670 (B_): new func, use this to get translated buffer strings.
1672 * main.C: add myself and Jean Marc as authors.
1674 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * messages.[hC]: pimplify Messages, and three different pimpls to be
1677 used in different circumstances.
1679 * gettext.[Ch]: change for use with new message code.
1681 2003-04-24 André Pönitz <poenitz@gmx.net>
1683 * factory.C: support for eqref
1685 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * messages.[Ch]: add missing char
1689 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1691 * messages.[Ch]: New files
1693 2003-04-18 John Levon <levon@movementarian.org>
1697 * BufferView_pimpl.C:
1701 * text2.C: remove layout-copy/paste (bug 778)
1703 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1705 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1707 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1709 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1710 if they succeed. Act accordingly.
1712 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1714 * text2.C (setCharFont): adjust
1715 (setCounter): adjust
1716 (insertStringAsLines): adjust
1718 * text.C (leftMargin): adjust
1719 (setHeightOfRow): adjust
1721 * rowpainter.C (paintFirst): adjust
1724 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1726 (isFirstInSequence): ditto
1727 (getEndLabel): ditto
1730 * paragraph.C (getParLanguage): comment out some hard stuff.
1732 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1734 (simpleDocBookOnePar): ditto
1735 (makeDocBookFile): use ParagraphList::iterator
1737 * CutAndPaste.C (pasteSelection): adjust
1739 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * text2.C (getFont): adjust
1742 (getLayoutFont): adjust
1743 (getLabelFont): adjust
1745 * paragraph_funcs.C (TeXOnePar): adjust
1747 * buffer.C (simpleLinuxDocOnePar): adjust
1748 (simpleDocBookOnePar): adjust
1750 * CutAndPaste.C (pasteSelection): adjust
1752 * BufferView.C (getEncoding): adjust
1754 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1756 2003-04-16 John Levon <levon@movementarian.org>
1758 * lyxfind.C: use parlist stuff for search/changes
1760 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1762 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1764 * text2.C (deleteEmptyParagraphMechanism): adjust
1766 * text2.[Ch] (ownerParagraph): delete func (both of them
1768 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1772 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * ParagraphList.C: prepare for NO_NEXT
1776 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * text2.C (getFont): adjust
1779 (getLayoutFont): adjust
1780 (getLabelFont): adjust
1782 * paragraph.C (getFont): adjust
1783 (getLabelFont): adjust
1784 (getLayoutFont): adjust
1786 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1788 2003-04-15 John Levon <levon@movementarian.org>
1792 * lyx_main.C: handle Include in .ui files
1794 2003-04-15 John Levon <levon@movementarian.org>
1796 * MenuBackend.C: make the doc files length shorter
1799 * ToolbarBackend.C: handle toolbar placement flags,
1802 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1807 * paragraph_funcs.C (TeXOnePar): adjust
1809 * paragraph.C (getLabelFont): add outerfont arg, adjust
1810 (getLayoutFont): ditto
1811 (simpleTeXOnePar): adjust
1813 * paragraph_pimpl.C (realizeFont): delete func
1815 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1817 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1818 row argument, constify cur argument.
1820 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * text2.C (getFont): adjust
1823 (getLayoutFont): adjust
1824 (getLabelFont): adjust
1826 * paragraph_funcs.C (TeXOnePar): adjust
1827 (outerFont): new func...
1828 (realizeFont): ...moved out from here, changed this to facilitate
1831 * paragraph.C (getFont): take outerfont as arg, adjust
1832 (simpleTeXOnePar): add outerfont arg, adjust
1834 * buffer.C (simpleLinuxDocOnePar): adjust
1835 (simpleDocBookOnePar): adjust
1837 * CutAndPaste.C (pasteSelection): adjust
1839 * BufferView.C (getEncoding): adjust
1841 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * text2.C (setCharFont): adjust
1844 (setCounter): adjust
1846 * text.C (leftMargin): adjust
1847 (setHeightOfRow): adjust
1849 * rowpainter.C (paintFirst): adjust
1852 * paragraph_pimpl.C (realizeFont): adjust
1854 * paragraph.C (isFirstInSequence): move from here...
1855 * paragraph_funcs.C (isFirstInSequence): ...to here
1857 * paragraph.C (outerHook): move from here...
1858 * paragraph_funcs.C (outerHook): ...to here
1860 * paragraph.C (depthHook): move from here...
1861 * paragraph_funcs.C (depthHook): ...to here
1863 * paragraph.C (getEndLabel): move from here...
1864 * paragraph_funcs.C (getEndLabel): ...to here
1866 * text2.C (realizeFont): move from here...
1867 * paragraph_funcs.C (realizeFont): ...to here
1869 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1873 2003-04-14 Angus Leeming <leeming@lyx.org>
1875 * LColor.[Ch]: scrap LColor mathcursor.
1877 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * lyxlex.[Ch] (text): delete function
1880 * trans.C (Load): adjust
1881 * paragraph_funcs.C (readParToken): adjust
1883 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1886 vector<char> instead of a char[].
1888 * lyxlex_pimpl.C (getString): adjust
1890 (lex): use getString
1894 * lyxlex.C (text): use pimpl_->getString()
1898 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1900 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1901 (makeFontEntriesLayoutSpecific): temp var for par.size()
1902 (setLayout): temp var for ownerParagraphs().end()
1903 (fullRebreak): temp var for rows().end()
1904 (selectionAsString): temp var for boost::next(startpit), realize
1905 that the while really is a regular for loop.
1906 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1907 setCursor in one place.
1908 (setParagraph): temp vr for ownerParagraphs().end()
1909 (updateCounters): make the while loop a for loop
1910 (cutSelection): temp var for ownerParagraphs().end()
1911 (updateInset): make the do {} while() a regular for loop
1912 (getCursorX): use temp vars
1913 (setCurrentFont): use temp vars
1914 (getColumnNearX): use temp vars
1916 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * text.C (transformChar): use temp var for getChar
1919 (computeBidiTables): use temp var for row->par()
1920 (fill): move temp vars for row->par() and pit->layout() earlier in
1922 (labelFill): use temp var for row->par()
1923 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1924 asc and desc, realize that pit never changes and that firstpit is
1925 just a duplicate and not needed. Exchange rit->par() with pit in a
1927 (breakAgain): use a temp var for boost::next(rit)
1928 (breakAgainOneRow): ditto
1929 (breakParagraph): use a temp var for rows().begin()
1930 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1931 (cursorRightOneWord): use temp var for cursor.par() and
1932 cursor.pos(), remove usage of tmpcursor.
1933 (cursorLeftOneWord): use temp var for cursor.par() and
1934 cursor.pos() only set cur at end of function.
1936 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1938 * text.C, text2.C: exchange all usage of Paragraph::next with
1939 boost::next(ParagraphList::iterator)
1941 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1943 * text2.C (cursorTop): simplify implementation
1944 (cursorBottom): ditto
1945 (setParagraph): use ParagraphList::iterator
1946 (setCurrentFont): adjust
1947 (getColumnNearX): adjust
1948 (cursorRight): adjust
1949 (cursorLeft): remove usage of Paragraph::previous
1950 (cursorUpParagraph): ditto
1951 (deleteEmptyParagraphMechanism): slight cleanup
1953 * text.C (isBoundary): take a Paragraph const & instead of a
1955 (addressBreakPoint): ditto
1956 (leftMargin): remove usage of Paragraph::previous.
1957 (setHeightOfRow): ditto
1958 (cursorLeftOneWord): ditto
1959 (selectNextWordToSpellcheck): ditto
1962 (breakParagraph): remove one usage of Paragraph::next
1963 (redoParagraph): ditto
1964 (acceptChange): ditto
1965 (insertChar): adjust
1966 (rowBreakPoint): adjust
1968 * bufferview_funcs.C (toggleAndShow): adjust
1970 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1972 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1973 methods to access it.
1975 * text.C: Added updateRowPositions to compute all row positions.
1976 Make top_y and getRowNearY() to use the cached y position
1978 2003-04-11 John Levon <levon@movementarian.org>
1980 * text.C (rowBreakPoint): reintroduce the labelEnd
1981 checks, code copied from the row fill stuff. Deep voodoo.
1983 * text.C (fill): add a comment and debugging for the
1986 2003-04-11 John Levon <levon@movementarian.org>
1988 * text.C: make sure fullrow insets get wrapped to the next line,
1989 even when they're in a manual label
1991 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1993 * text2.C (insertParagraph): make it take ParagraphList::iterator
1995 (setLayout): make it return ParagraphList::iterator
1996 (redoParagraphs): ditto
1998 (checkParagraph): ditto
2000 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2002 * text2.C: adjust several funcs.
2003 (realizeFont): take a ParagraphList::iterator as arg.
2004 (getLayoutFont): ditto
2005 (getLabelFont): ditto
2006 (setCharFont): ditto
2008 * text.C: adjust several funcs.
2010 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2012 * text.C (selectNextWordToSpellcheck): don't accidentally
2015 2003-04-10 John Levon <levon@movementarian.org>
2017 * ToolbarBackend.C (getIcon): special handling for
2020 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2022 * text2.C (cursorRight): a getChar assert fixed
2024 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * text2.C (getFont): change to take a ParagraphList::iterator
2027 instead of Paragraph*
2028 Adjust several functions.
2030 * text.C (transformChar): change to take a ParagraphList::iterator
2031 instead of Paragraph*
2032 (singleWidth): ditto
2033 Adjust several functions.
2035 * rowpainter.C: adjust several functions
2036 * rowpainter.h:store a ParagraphList::iterator and not a
2040 2003-04-09 John Levon <levon@movementarian.org>
2045 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2046 and the "help" bits as well
2048 2003-04-09 John Levon <levon@movementarian.org>
2051 * ToolbarBackend.C: allow multiple toolbars
2053 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * undo_funcs.C (setCursorParUndo): adjust
2057 * text_funcs.C (transposeChars): adjust
2059 * text3.C (gotoNextInset): adjust
2062 * text2.C (setLayout): adjust
2063 (changeDepth): adjust
2065 (redoParagraphs): adjust
2066 (selectionAsString): adjust
2067 (setParagraph): adjust
2068 (insertInset): adjust
2069 (cutSelection): adjust
2070 (copySelection): adjust
2071 (pasteSelection): adjust
2072 (insertStringAsLines): adjust
2073 (updateInset): adjust
2074 (setCursor): change to take a ParagraphList::iterator parameter
2075 (setCursorIntern): change to take a ParagraphList::iterator parameter
2076 (setCurrentFont): adjust
2077 (cursorLeft): adjust
2078 (cursorRight): adjust
2079 (deleteEmptyParagraphMechanism): adjust
2081 * text.C (breakParagraph): adjust
2082 (insertChar): adjust
2083 (acceptChange): adjust
2084 (rejectChange): adjust
2085 (selectNextWordToSpellcheck): adjust
2086 (changeCase): adjust
2090 * lyxfind.C (SearchForward): adjust
2091 (SearchBackward): adjust
2092 (nextChange): adjust
2094 * lyxcursor.C (par): adjust
2096 * lyxcursor.h: store a ParagraphList::iterator instead of a
2099 * lyx_cb.C (getPossibleLabel): adjust
2101 * bufferview_funcs.C (toggleAndShow): adjust
2103 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2106 * BufferView.C (removeAutoInsets): adjust
2107 (lockedInsetStoreUndo): adjust
2109 2003-04-09 John Levon <levon@movementarian.org>
2111 * ToolbarBackend.C: try icon without argument
2112 if with argument fails
2114 2003-04-08 John Levon <levon@movementarian.org>
2117 * ToolbarBackend.C: add getIcon(), handle tooltip,
2118 and change from "Icon" to "Item".
2120 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2122 * BufferView.C (lockInset): another bad getchar crunched
2124 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2126 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2129 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2131 * lyxfind.C (searchForward, searchBackwards): bug 782
2133 2003-04-07 John Levon <levon@movementarian.org>
2135 * paragraph.C: remove dead comment
2137 * text.C: remove troublesome depth-fiddling code
2138 in leftMargin() and rightMargin() (bug 1017)
2140 * text.C: fix breaking of rows in nested lists
2143 * text2.C (updateCounters): fix up depth values
2146 2003-04-07 John Levon <levon@movementarian.org>
2148 * BufferView_pimpl.C: clear message when doc finishes resizing,
2149 and after a mouse event
2151 * lyxfunc.C: clear message after exiting inset
2153 2003-04-07 John Levon <levon@movementarian.org>
2155 * bufferview_funcs.C: show math status not outside
2156 status in the statusbar
2158 2003-04-07 John Levon <levon@movementarian.org>
2160 * lyxfunc.C: note status changed after a depth change
2162 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2164 * LaTeX.h: move AuxInfo operator==, != out of line.
2165 Remove LaTeX virtual destructor; nothing derives from it.
2166 Move operator()() out of public area and rename it startscript().
2167 Change protected for private.
2169 2003-04-04 Angus Leeming <leeming@lyx.org>
2172 * text2.C: remove unneeded #includes.
2174 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2176 * text2.C (dEPM): fix the heigth of the next row
2178 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2180 * text.C: squashed an invalid getChar requester + some ws changes
2182 2003-04-03 John Levon <levon@movementarian.org>
2184 * bufferview_funcs.h:
2185 * bufferview_funcs.C:
2188 * text2.C: make getStatus work for the env depth lfuns
2190 2003-04-03 John Levon <levon@movementarian.org>
2192 * bufferview_funcs.h:
2193 * bufferview_funcs.C:
2196 * text2.C: parlistize decDepth(), by merging it with incDepth()
2198 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * lyxrow.h: store a ParagraphList::iterator instead of a
2201 Paragraph* and adjust other class functions to suit.
2203 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2206 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2208 * text2.C (setCursor): do not anchor to cursor row for the time being
2210 2003-04-02 John Levon <levon@movementarian.org>
2217 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2219 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2221 * paragraph.h: make ParagraphList and ParagraphList::iterator
2222 friends of Paragraph.
2224 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2226 * ParagraphList.C: Use the private next_ and previous_ from
2229 2003-04-01 John Levon <levon@movementarian.org>
2233 * Makefile.am: rename, remove defaults gunk
2236 * MenuBackend.C: remove defaults gunk
2239 * Languages.C: remove defaults gunk
2242 * lyx_main.C: error out if files couldn't be found.
2244 2003-04-02 John Levon <levon@movementarian.org>
2246 * text2.C: make incDepth() use parlist
2248 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * undo_funcs.C (firstUndoParagraph): adjust
2252 * text3.C (gotoInset): adjust
2253 (dispatch): adjust, and rewrite loop.
2255 * text2.C (init): adjust, and rewrite loop.
2256 (redoParagraphs): adjust
2257 (updateInset): adjust, and rewrite loop.
2258 (deleteEmptyParagraphMechanism): adjust
2260 * tabular.C (LyXTabular): adjust
2261 (SetMultiColumn): adjust
2264 * lyxtext.[Ch] (ownerParagraph): delete function
2265 (ownerParagraphs): new function returns a ParagraphList.
2267 * BufferView.C (removeAutoInsets): adjust
2268 (insertErrors): adjust
2269 (setCursorFromRow): adjust
2271 2003-04-01 Angus Leeming <leeming@lyx.org>
2273 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2276 2003-04-02 John Levon <levon@movementarian.org>
2282 * text_funcs.C: make transposeChars a free function
2284 * lyxrow_funcs.C: remove wrong comment
2286 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * rowpainter.C: adjust
2294 * lyxrow_funcs. [Ch]: new files
2296 * lyxrow.[Ch]: remove next and previous pointers
2297 (next,previous): remove accessor functions
2298 (isParEnd): move to lyxrow_funcs
2299 (lastPos): move to lyxrow_funcs
2300 (nextRowIsAllInset): move to lyxrow_funcs
2301 (lastPrintablePos): move to lyxrow_funcs
2302 (numberOfSeparators): move to lyxrow_funcs
2303 (numberOfHfills): move to lyxrow_funcs
2304 (numberOfLabelHfills): move to lyxrow_funcs
2305 (hfillExpansion): move to lyxrow_funcs
2309 * bufferview_funcs.C (toggleAndShow): adjust
2311 * RowList.h: Remove class RowList from file leave just a
2314 * RowList.C: delete file
2316 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2319 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2321 * text3.C (cursorPrevious): adjust
2322 (cursorNext): adjust
2325 * text2.C (redoHeightOfParagraph): adjust
2326 (redoDrawingOfParagraph): adjust
2329 * text.C (breakParagraph): adjust
2330 (insertChar): adjust
2333 * rowpainter.C (RowPainter): adjust
2334 (leftMargin): simplify and adjust
2335 (most rowpainter functions): adjust.
2337 * rowpainter.h: store the row as RowList::iterator not as Row*
2339 * lyxcursor.C (row): taka RowList::iterator as arg
2342 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2345 2003-04-01 Angus Leeming <leeming@lyx.org>
2347 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2348 stuff like bool Bool.
2350 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2352 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2355 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2360 * lyxtext.h (rows): drop one version and leve a const variant that
2361 returns a RowList::iterator.
2363 2003-03-31 Angus Leeming <leeming@lyx.org>
2365 * text.C (fill): ensure that the signature is the same as that in the
2368 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2370 * text2.C (redoParagraphs): adjust
2371 (updateCounters): adjust
2372 (checkParagraph): adjust
2373 (getColumnNearX): adjust and reformat a bit.
2375 * text.C (top_y): adjust
2377 (leftMargin): adjust
2378 (prepareToPrint): adjust
2380 (getRowNearY): adjust
2382 * lyxtext.h: make rowlist_ mutable.
2384 * RowList.h: add const_iterator
2385 * RowList.C: adjust for RowList::const_iterator.
2387 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2390 2003-03-31 John Levon <levon@movementarian.org>
2393 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2395 * lyx_main.C: set default fonts from using lyx_gui funcs
2397 * exporter.C: pdf_mode moved from lyxrc
2400 * lyxfunc.C: changes from above
2402 2003-03-31 John Levon <levon@movementarian.org>
2404 * lyx_main.C: fix to the last fix
2406 2003-03-31 John Levon <levon@movementarian.org>
2408 * bufferlist.C: "Load original" -> "Load Original"
2414 * format.C: more Alert cleanups
2416 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * text2.C (removeParagraph): make it take a RowList::iterator as
2420 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2421 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2423 * text.C (anchor_row): make it take a RowList::iterator as arg,
2425 (computeBidiTables): make it take a const reference to Row instead
2426 of Row pointer, adjust.
2427 (leftMargin): make it take a RowList::iterator as arg, adjust.
2428 (rowBreakPoint): adjust
2429 (breakAgainOneRow): make it take a RowList::iterator as arg,
2431 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2433 * bufferview_funcs.C (toggleAndShow): adjust
2435 2003-03-30 John Levon <levon@movementarian.org>
2439 * boost-inst.C: moved to support
2441 * several files: changes as a result
2443 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2445 * text2.C (LyXText): adjust.
2447 (removeRow): make it take a RowList::iterator as arg, adjust.
2448 (fullRebreak): adjust
2449 (deleteEmptyParagraphMechanism): adjust
2450 (clearPaint): adjust
2453 * text.C (top_y): adjust
2454 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2455 (breakAgain): make it take a RowList::iterator as arg, adjust.
2456 (breakParagraph): adjust
2457 (insertChar): adjust
2460 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2461 need_break_row, and refresh_row.
2463 * text3.C (dispatch): adjust
2465 * text2.C (checkParagraph): adjust
2467 (setCursorFromCoordinates): adjust
2469 * text.C (top_y): adjust
2471 (getRow): make it return a RowList::iterator, adjust
2472 (getRowNearY): make it return a RowList::iterator, adjust
2474 * text2.C (init): adjust
2475 (insertRow): remove function
2476 (insertParagraph): adjust
2477 (redoParagraphs): adjust
2478 (fullRebreak): adjust
2479 (updateCounters): adjust
2481 * text.C (top_y): rewrite to use RowList iterators.
2483 (setHeightOfRow): rewrite to sue RowList iterators.
2484 (appendParagraph): adjust
2485 (breakAgain): adjust
2486 (breakAgainOneRow): adjust
2487 (breakParagraph): adjust
2489 (getRowNearY): adjust, and remove commented code.
2491 * lyxtext.h (firstRow): delete function
2492 (lastRow): delete function
2493 (rows): new function (const and non-const versions.)
2494 (insertRow): delete function
2496 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2498 2003-03-29 John Levon <levon@movementarian.org>
2500 * BufferView_pimpl.C: always update scrollbar top
2501 because pasting text when we're anchored could mean we
2502 miss an update altogether
2504 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * text2.C (init): use rowlist_.end() and not 0.
2507 (insertRow): change to take a RowList::iterator as arg, adjust
2509 (insertParagraph): change to take a RowList::iterator as arg,
2511 (redoParagraphs): remove some debug msgs.
2513 * text.C (appendParagraph): change to take a RowList::iterator
2514 arg, adjust for this.
2515 (breakAgain): add an assert
2516 (breakAgainOneRow): ditto
2518 2003-03-29 John Levon <levon@movementarian.org>
2520 * text2.C: do not clear selection after inc/decDepth
2523 2003-03-29 John Levon <levon@movementarian.org>
2526 * buffer.C: fix broken strerrors according to Lars
2528 2003-03-29 John Levon <levon@movementarian.org>
2530 * converters.C: more Alert cleanups
2532 2003-03-29 John Levon <levon@movementarian.org>
2534 * bufferview_funcs.C: remove pointless Alert
2536 * buffer.C: fix confusing error message when
2537 a template is chmoded 000
2539 2003-03-29 John Levon <levon@movementarian.org>
2543 * BufferView_pimpl.C: Alert fixes
2547 * tabular-old.C: remove unused table compat reading
2549 2003-03-29 John Levon <levon@movementarian.org>
2554 * lyx_cb.C: more Alert cleanups
2556 * lyxfunc.C: don't allow chktex if not latex document
2558 2003-03-29 John Levon <levon@movementarian.org>
2562 * buffer.C: warnings pushed down from support/,
2565 2003-03-29 John Levon <levon@movementarian.org>
2567 * lyxfunc.C: safety check for C-r (revert)
2569 2003-03-29 John Levon <levon@movementarian.org>
2572 * bufferlist.C: several UI fixes using Alert::prompt.
2573 Fix the pointless looping quit code. Fix stupid revert
2578 * lyx_cb.C: use Alert::prompt
2580 * lyx_main.C: remove a silly question
2582 * lyxfunc.C: remove a couple of silly questions,
2585 2003-03-28 John Levon <levon@movementarian.org>
2587 * text2.C: fix bug 974 (End on empty par)
2589 2003-03-28 John Levon <levon@movementarian.org>
2591 * BufferView_pimpl.C:
2593 * lfuns.h: remove do-nothing math greek lfuns
2595 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2597 * lyxgluelength.h (isValidGlueLength): add default arg on
2598 parameter 2. Remove default arg from friend in class.
2600 * lyxlength.h (isValidLength): add default arg on parameter 2.
2601 Remove default arg from friend in class.
2603 * text2.C (LyXText): adjust, initialize refresh_row.
2607 (insertParagraph): adjst
2608 (redoParagraphs): adjust
2609 (fullRebreak): adjust
2610 (updateCounters): adjust
2611 (deleteEmptyParagraphMechanism): first attempt at fixing a
2614 * text.C (top_y): adjust
2615 (setHeightOfRow): adjust
2617 (getRowNearY): adjust
2619 * lyxtext.h: include RowList.h
2620 (~LyXText): not needed anymore, deleted.
2621 (firstRow): modify for RowList
2622 (lastRow): new function
2623 Delete firstrow and lastrow class variables, add a Rowlist
2624 rowlist_ class variable.
2626 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2629 * RowList.C (insert): fix case where it == begin().
2631 2003-03-26 Angus Leeming <leeming@lyx.org>
2633 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2634 the thesaurus dialog.
2636 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2640 * RowList.[Ch]: new files
2642 * ParagraphList.C (erase): handle the case where it == begin
2645 2003-03-25 John Levon <levon@movementarian.org>
2649 * aspell.C: add new aspell support
2652 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2655 2003-03-25 Angus Leeming <leeming@lyx.org>
2658 * LyXAction.C (init): new LFUN_INSET_INSERT.
2660 * BufferView_pimpl.C (dispatch): split out part of the
2661 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2663 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2666 2003-03-25 Angus Leeming <leeming@lyx.org>
2668 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2670 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2673 * text3.C: remove useless row->height(0)
2675 2003-03-25 John Levon <levon@movementarian.org>
2679 * text3.C: rename the refreshing stuff to better names
2681 2003-03-24 John Levon <levon@movementarian.org>
2683 * BufferView_pimpl.h:
2684 * BufferView_pimpl.C: update layout choice on a mouse
2687 2003-03-23 John Levon <levon@movementarian.org>
2689 * Makefile.am: fix commandtags.h reference
2691 2003-03-22 John Levon <levon@movementarian.org>
2693 * BufferView_pimpl.C:
2698 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2700 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2703 * text.C: take the rtl methods out of line
2705 2003-03-21 André Pönitz <poenitz@gmx.net>
2707 * metricsinfo.[Ch]: new files containing structures to be passed around
2708 during the two-phase-drawing...
2710 2003-03-21 André Pönitz <poenitz@gmx.net>
2712 * lyxtextclass.C: read 'environment' tag.
2714 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2716 * text2.C (removeRow): fix bug 964
2718 2003-03-20 John Levon <levon@movementarian.org>
2722 * text2.C: paint cleanups. Inset::update() dropped font
2725 2003-03-19 John Levon <levon@movementarian.org>
2727 * lyxfunc.C: only fitcursor/markDirty if available()
2729 2003-03-19 John Levon <levon@movementarian.org>
2731 * commandtags.h: rename to ...
2733 * lfuns.h: ... this, and renumber / cleanup
2735 2003-03-19 John Levon <levon@movementarian.org>
2737 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2738 fit the cursor after an lfun
2742 * BufferView_pimpl.h:
2743 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2745 * LyXAction.C: layout-character should have ReadOnly
2747 * ParagraphParameters.C:
2749 * bufferview_funcs.C:
2756 * undo_funcs.C: changes from above
2758 2003-03-18 John Levon <levon@movementarian.org>
2760 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2761 remove it from update()
2763 * lyxfunc.C: update layout choice after an lfun
2765 * text3.C: remove extra updateLayoutChoice()s
2767 2003-03-18 John Levon <levon@movementarian.org>
2769 * text.C: top_y change means full repaint, fix
2770 a drawing bug with cursor movement
2772 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2776 * text2.C: anchor row on setCursor
2778 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2780 * lyxtext.h: remove almost all mutable keywords
2783 * text3.C: remove const keywords accordingly
2785 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2789 (TeXEnvironment): ditto
2792 2003-03-17 John Levon <levon@movementarian.org>
2794 * text.C (rowBreakPoint): remove attempt to fix displayed
2795 math insets inside a manual label
2797 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2799 * lyxtext.h: remove BufferView* as first arg from almost all class
2801 * other files: adjust.
2803 2003-03-17 John Levon <levon@movementarian.org>
2807 * text2.C: more paint cleanups
2809 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2812 * rowpainter.C: remove "smart" background painting code
2814 2003-03-16 John Levon <levon@movementarian.org>
2819 * text3.C: add helper functions for setting refresh_row/y
2821 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2823 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2824 newline inset which *can* get inserted in the pass_thru layouts.
2825 This is primarily for literate documents.
2827 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2829 * buffer.C: increment LYX_FORMAT to 223
2831 2003-03-14 André Pönitz <poenitz@gmx.net>
2833 * textclass.h: prepare for environment handling, ws changes
2834 * lyxlayout.C: read latexheader and latexfooter tags
2836 2003-03-14 John Levon <levon@movementarian.org>
2838 * text2.C: rewrite ::status() a bit
2840 2003-03-13 John Levon <levon@movementarian.org>
2842 * lyxtext.h: add some docs
2844 2003-03-13 John Levon <levon@movementarian.org>
2849 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2851 2003-03-13 John Levon <levon@movementarian.org>
2853 * text3.C: fix appendix redrawing
2855 2003-03-13 John Levon <levon@movementarian.org>
2857 * text.C (setHeightOfRow):
2859 * rowpainter.C: make appendix mark have the text
2860 "Appendix" so the user knows what it is
2863 * LColor.C: s/appendixline/appendix/ from above
2865 2003-03-13 John Levon <levon@movementarian.org>
2867 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2869 * text.C: fix a getChar(pos) bug properly
2871 2003-03-13 Angus Leeming <leeming@lyx.org>
2874 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2875 Probably only temporary. Let's see how things pan out.
2877 * BufferView.C (unlockInset):
2878 * BufferView_pimpl.C (fitCursor):
2879 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2881 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2882 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2884 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2885 new functions that convert ParagraphParameters to and from a string.
2887 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2888 BufferView::Pimpl's dispatch.
2889 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2891 2003-03-13 André Pönitz <poenitz@gmx.net>
2895 * factory.C: make it aware of InsetEnv
2897 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2899 * text2.C (setCursor): never ask for one past last
2900 (setCursor): add some debugging messages.
2902 * text.C (singleWidth): never ask for one past last
2903 (singleWidth): ditto
2905 (rightMargin): ditto
2906 (rowBreakPoint): ditto
2907 (setHeightOfRow): ditto
2908 (prepareToPrint): ditto
2910 * rowpainter.C (paintBackground): never ask for one past last
2911 (paintText): never ask for one past last
2913 * paragraph_pimpl.C (getChar): make the assert stricter, never
2914 allow the one past last pos to be taken
2916 * paragraph.C (getChar): ws changes only
2918 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2919 (numberOfSeparators): ditto
2920 (numberOfHfills): ditto
2922 2003-03-12 John Levon <levon@movementarian.org>
2928 * paragraph_funcs.C: fix per-buffer authorlists
2930 2003-03-12 John Levon <levon@movementarian.org>
2932 * text.C: fix newline in right address
2934 2003-03-12 Angus Leeming <leeming@lyx.org>
2936 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2937 duplicate those in LyXFunc::dispatch.
2941 * ToolbarDefaults.C:
2942 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2943 Add LFUN_FONTFREE_UPDATE.
2945 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2946 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2948 * bufferview_func.[Ch]: several new functions to facilliate
2949 transfer of data to and from the character dialog.
2951 2003-03-12 John Levon <levon@movementarian.org>
2956 * paragraph_funcs.C:
2957 * paragraph_pimpl.C:
2961 * text3.C: remove META_NEWLINE in favour of an inset
2964 * rowpainter.C: remove paintNewline (done by inset)
2966 2003-03-12 John Levon <levon@movementarian.org>
2968 * paragraph_pimpl.C: complain about bad getChar()s
2969 for a while at least
2971 2003-03-12 John Levon <levon@movementarian.org>
2974 * buffer.C: move paragraph read into a separate function,
2975 a little renaming to reflect that.
2978 * bufferparams.C: remove the author_ids map, not necessary now
2981 * factory.C: moved Buffer::readInset to here
2983 * paragraph_funcs.h:
2984 * paragraph_funcs.C: readParagraph free function moved from
2987 * tabular.C: name change
2989 2003-03-12 John Levon <levon@movementarian.org>
2992 * ParagraphParameters.C: move par params input to
2995 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2996 behave like a normal read from the stream wrt reading
2997 a line vs. a \\token
2999 2003-03-12 John Levon <levon@movementarian.org>
3002 * ParagraphParameters.h:
3003 * ParagraphParameters.C: move output code to a
3006 2003-03-12 John Levon <levon@movementarian.org>
3008 * BufferView.C (insertLyXFile):
3011 * tabular.C: use a parlist iterator for creating the
3014 2003-03-12 John Levon <levon@movementarian.org>
3016 * buffer.C: make current_change static local not
3019 2003-03-12 John Levon <levon@movementarian.org>
3021 * buffer.C: fix insertStringAsLines for change tracking
3023 2003-03-12 John Levon <levon@movementarian.org>
3030 * bufferparams.C: move author list into params. Rename some
3031 functions. Move the header reading into a separate token
3032 loop. Move the header token reading into BufferParams.
3034 2003-03-12 John Levon <levon@movementarian.org>
3036 * changes.C: put debug inside lyxerr.debugging() checks
3038 2003-03-11 André Pönitz <poenitz@gmx.net>
3040 * factory.C: make it aware of InsetHFill
3042 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3044 * buffer.C (latexParagraphs): move function from here...
3045 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3048 2003-03-10 Angus Leeming <leeming@lyx.org>
3050 * LyXAction.C (init): fix bug in poplating array with multiple entries
3051 with the same LFUN (spotted by JMarc).
3053 2003-03-10 John Levon <levon@movementarian.org>
3056 * text2.C: move getColumnNearX() near its
3059 2003-03-10 John Levon <levon@movementarian.org>
3061 * text.C: fix break before a minipage
3063 2003-03-10 John Levon <levon@movementarian.org>
3065 * text.C: fix the last commit
3067 2003-03-09 John Levon <levon@movementarian.org>
3071 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3072 bug 365 (don't break before insets unless needed). Don't
3073 return a value > last under any circumstances.
3075 2003-03-09 Angus Leeming <leeming@lyx.org>
3077 * BufferView_pimpl.C (trackChanges, dispatch): call
3078 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3080 2003-03-09 Angus Leeming <leeming@lyx.org>
3082 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3083 than Dialogs::showAboutlyx().
3085 2003-03-09 Angus Leeming <leeming@lyx.org>
3087 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3088 than Dialogs::showTabularCreate().
3090 2003-03-09 John Levon <levon@movementarian.org>
3094 * text2.C: 3rd arg to nextBreakPoint was always the same.
3097 2003-03-08 John Levon <levon@movementarian.org>
3104 * text2.C: Remove the "main" bit from the "main body"
3107 2003-03-08 John Levon <levon@movementarian.org>
3109 * text.C (leftMargin): The left margin of an empty
3110 manual label paragraph should not include the label width
3113 * text.C (prepareToPrint): don't attempt to measure hfills
3114 for empty manual label paragraphs - the answer should be 0
3116 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * CutAndPaste.C: remove commented code and reindent.
3120 2003-03-08 John Levon <levon@movementarian.org>
3123 * lyxfunc.C: move reloadBuffer()
3126 * BufferView.C: to here
3128 * lyxvc.C: add comment
3131 * vc-backend.C: call bv->reload() to avoid
3132 getStatus() check on MENURELOAD
3134 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3136 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3137 to an old format .dep file.
3139 2003-03-07 Angus Leeming <leeming@lyx.org>
3141 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3142 when the LFUN_MOUSE_RELEASE should have been handled by
3143 inset->localDispatch.
3145 2003-03-07 Angus Leeming <leeming@lyx.org>
3147 * BufferView_pimpl.C (dispatch):
3148 * LyXAction.C (init):
3149 * ToolbarDefaults.C (init):
3151 * lyxfunc.C (getStatus):
3152 remove LFUN_INSET_GRAPHICS.
3154 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3156 2003-03-07 Angus Leeming <leeming@lyx.org>
3159 * LyXAction.C (init):
3160 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3162 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3165 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3167 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3168 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3170 2003-03-07 Angus Leeming <leeming@lyx.org>
3172 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3175 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * ParagraphList.C (front): new function
3180 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3182 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3183 and top_row_offset_. removed var first_y.
3185 * text2.C (LyXText, removeRow):
3187 * BufferView_pimpl.C:
3188 use these methods instead of using first_y
3190 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * text2.C (pasteSelection): adjust for checkPastePossible
3194 * CutAndPaste.C: remove Paragraph * buf and replace with
3195 ParagraphList paragraphs.
3196 (DeleteBuffer): delete
3197 (cutSelection): change the tc type to textclass_type
3198 (copySelection): change the tc type to textclass_type
3199 (copySelection): adjust for ParagraphList
3200 (pasteSelection): change the tc type to textclass_type
3201 (pasteSelection): adjust for Paragraphlist
3202 (nrOfParagraphs): simplify for ParagraphList
3203 (checkPastePossible): simplify for ParagraphList
3204 (checkPastePossible): remove unused arg
3206 * ParagraphList.C (insert): handle the case where there are no
3209 * CutAndPaste.h: make CutAndPaste a namespace.
3211 * text3.C (dispatch): adjust
3213 * text.C (breakParagraph): add a ParagraphList as arg
3215 * paragraph_funcs.C (breakParagraph): change to take a
3216 BufferParams and a ParagraphList as args.
3217 (breakParagraphConservative): ditto
3218 (mergeParagraph): ditto
3219 (TeXDeeper): add a ParagraphList arg
3220 (TeXEnvironment): ditto
3223 * buffer.C (readLyXformat2): adjust
3224 (insertStringAsLines): adjust
3225 (latexParagraphs): adjust
3227 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3228 (cutSelection): adjust
3229 (pasteSelection): adjust
3231 * BufferView_pimpl.C (insertInset): adjust
3233 2003-03-05 Angus Leeming <leeming@lyx.org>
3236 * LyXAction.C (init):
3237 * BufferView_pimpl.C (dispatch):
3238 * lyxfunc.C (getStatus):
3239 remove LFUN_CHILD_INSERT.
3241 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3243 2003-03-05 Angus Leeming <leeming@lyx.org>
3246 * LyXAction.C (init):
3247 * src/factory.C (createInset):
3248 * lyxfunc.C (getStatus):
3249 * text3.C (dispatch):
3250 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3252 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3254 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * ParagraphList.C (insert): handle insert right before end()
3257 (erase): fix cases where it can be first or last paragraph.
3259 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3262 Paragraph::next and Paragraph::previous
3265 * text.C (breakParagraph): adjust
3267 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3268 BufferParams& as arg.
3269 (breakParagraph): use ParagraphList::insert
3270 (breakParagraphConservative): take a Buffer* instead of a
3271 BufferParams& as arg.
3272 (breakParagraphConservative): use ParagraphList::insert.
3274 * buffer.C (insertStringAsLines): un-const it
3275 (insertStringAsLines): adjust
3277 * ParagraphList.C (insert): new function
3279 * CutAndPaste.C (pasteSelection): adjust
3281 * text.C (backspace): adjust
3283 * tabular.C (SetMultiColumn): adjust
3285 * CutAndPaste.C (cutSelection): adjust
3286 (pasteSelection): adjust
3288 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3289 Buffer const * as arg
3291 * ParagraphList.C (erase): new function
3292 * paragraph_funcs.C (mergeParagraph): use it
3293 (mergeParagraph): make it take a Buffer* instead of a
3294 BufferParams* as arg
3296 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3298 (breakParagraphConservative): ditto
3300 * paragraph.h: remove the breakParagraph friend
3302 * paragraph.C (eraseIntern): new function
3303 (setChange): new function
3305 * paragraph_funcs.C (mergeParagraph): make it take a
3306 ParagraphList::iterator instead of a Paragraph *, adjust
3309 * paragraph.h: move an #endif so that the change tracking stuff
3310 also works in the NO_NEXT case.
3312 2003-03-04 Angus Leeming <leeming@lyx.org>
3315 * LyXAction.C: new LFUN_INSET_MODIFY.
3317 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3318 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3320 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * several files: ws changes only
3324 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3325 (TeXEnvironment): ditto
3328 * buffer.C (makeLaTeXFile): adjust
3329 (latexParagraphs): make it take ParagraphList::iterator as args
3331 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * buffer.C (latexParagraphs): adjust
3335 * paragraph.C (TeXOnePar): move function...
3336 (optArgInset): move function...
3337 (TeXEnvironment): move function...
3338 * paragraph_pimpl.C (TeXDeeper): move function...
3339 * paragraph_funcs.C: ...here
3341 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3343 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * buffer.C (readInset): remove compability code for old Figure and
3348 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * buffer.C: ws changes
3353 * BufferView_pimpl.C: ditto
3356 * bufferlist.h: ditto
3360 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3362 * converter.[Ch]: split into itself +
3365 * Makefile.am: += graph.[Ch] + format.[Ch]
3372 * lyxrc.C: added #include "format.h"
3374 2003-02-27 Angus Leeming <leeming@lyx.org>
3376 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3379 * factory.C (createInset): add "label" to the factory.
3381 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3382 string and do no more.
3384 2003-02-27 Angus Leeming <leeming@lyx.org>
3387 * LyXAction.C (init):
3388 * factory.C (createInset):
3389 * BufferView_pimpl.C (dispatch):
3390 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3392 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3394 * lyxfunc.C (dispatch):
3395 * text3.C (dispatch): pass name to params2string.
3397 2003-02-26 Angus Leeming <leeming@lyx.org>
3399 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3401 Rearrange the ~includes. Strip out the unnecessary ones.
3403 * factory.C (createInset): reformat.
3404 create new insets for the various LFUN_XYZ_APPLY lfuns.
3406 2003-02-26 John Levon <levon@movementarian.org>
3409 * lyxrow.C: add isParStart,isParEnd helpers
3411 * paragraph.h: make isInserted/DeletedText take refs
3413 * paragraph_funcs.h:
3414 * paragraph_funcs.C: remove #if 0'd code
3419 * text.C: use lyxrow helpers above.
3420 Move draw and paint routines to RowPainter.
3421 Make several methods use refs not pointers.
3422 Make backgroundColor() const.
3423 Add markChangeInDraw(), isInInset().
3424 Merge changeRegionCase into changeCase.
3425 Make workWidth() shouldn't-happen code into an Assert.
3428 * rowpainter.C: new class for painting a row.
3431 * vspace.C: make inPixels take a ref
3433 2003-02-26 Angus Leeming <leeming@lyx.org>
3435 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3438 2003-02-25 John Levon <levon@movementarian.org>
3440 * ispell.C: give the forked command a more accurate name
3442 2003-02-22 John Levon <levon@movementarian.org>
3445 * toc.C: make TocItem store an id not a Paragraph *
3448 2003-02-21 Angus Leeming <leeming@lyx.org>
3450 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3451 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3452 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3453 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3454 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3455 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3457 * BufferView_pimpl.C (dispatch):
3458 * LyXAction.C (init):
3459 * factory.C (createInset):
3460 * lyxfunc.C (getStatus, dispatch):
3461 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3463 2003-02-21 Angus Leeming <leeming@lyx.org>
3465 * BufferView_pimpl.C (MenuInsertLyXFile):
3466 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3467 * lyxfunc.C (menuNew, open, doImport):
3468 no longer pass a LyXView & to fileDlg.
3470 2003-02-21 Angus Leeming <leeming@lyx.org>
3472 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3473 * LyXAction.C: change, BIBKEY to BIBITEM.
3474 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3475 Change InsetBibKey to InsetBibitem.
3476 Change BIBKEY_CODE to BIBITEM_CODE.
3477 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3478 * factory.C: replace insetbib.h with insetbibitem.h.
3479 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3480 * paragraph.C: replace insetbib.h with insetbibitem.h.
3481 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3482 Change bibkey() to bibitem().
3483 * text.C: remove insetbib.h.
3484 * text2.C: replace insetbib.h with insetbibitem.h.
3485 change bibkey() to bibitem().
3486 * text3.C: remove insetbib.h.
3487 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3489 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3491 * lyxrc.C (output): enclose user email in quotes (in case there are
3494 2003-02-18 John Levon <levon@movementarian.org>
3496 * buffer.h: add std::
3498 2003-02-17 John Levon <levon@movementarian.org>
3504 * pspell.C: reworking. Especially in ispell, a large
3505 number of clean ups and bug fixes.
3507 * lyxfunc.C: fix revert to behave sensibly
3509 2003-02-17 André Pönitz <poenitz@gmx.net>
3512 * commandtags.h: new LFUN_INSERT_BIBKEY
3522 * paragraph_func.C: remove special bibkey handling
3524 2003-02-17 John Levon <levon@movementarian.org>
3526 * text.C (Delete): fix case where delete at the end of
3527 the very first paragraph would not merge the pars
3529 2003-02-17 John Levon <levon@movementarian.org>
3531 * lyxrow.C: fix lastPrintablePos()
3533 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3535 * bufferparams.C (writeLaTeX): add a std:here
3537 * buffer.C: and remove a using directive there
3539 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3541 * buffer.C (makeLaTeXFile): move the code that generates the
3544 * bufferparams.C (writeLaTeX): ... in this new method
3546 * LaTeXFeatures.C (getEncodingSet): make const
3547 (getLanguages): make const
3549 * MenuBackend.C (binding): returns the binding associated to this
3551 (add): sets the status of each item by calling getStatus. Adds
3553 (read): add support for OptSubMenu
3554 (expand): remove extra separator at the end of expanded menu
3556 2003-02-15 John Levon <levon@movementarian.org>
3559 * BufferView_pimpl.C:
3561 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3562 inset code that had no actual effect. Remove unneeded status
3565 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3567 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3570 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3572 * text.C (drawLengthMarker): also draw an arrow marker for
3573 symbolic lengths (medskip...)
3575 2003-02-14 John Levon <levon@movementarian.org>
3578 * tabular.C: better method names
3580 2003-02-14 John Levon <levon@movementarian.org>
3582 * BufferView_pimpl.C:
3587 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3588 it's a more accurate name. Remove some pointless uses.
3590 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3592 * text2.C (LyXText): change order of initilizers to shut off
3595 2003-02-14 John Levon <levon@movementarian.org>
3597 * buffer.C: use ParIterator for getParFromID()
3601 * paragraph_pimpl.h:
3602 * paragraph_pimpl.C: remove unused getParFromID()
3604 2003-02-14 John Levon <levon@movementarian.org>
3606 * buffer.C: remove some very old #if 0'd parse code
3608 2003-02-13 John Levon <levon@movementarian.org>
3612 * text2.C: move hfillExpansion(), numberOfSeparators(),
3613 rowLast(), rowLastPrintable(), numberofHfills(),
3614 numberOfLabelHfills() ...
3617 * lyxrow.C: ... to member functions here.
3622 * text.C: remove LyXText::beginningOfMainBody(), and call
3623 p->beginningOfMainBody() directly. Move the check for
3624 LABEL_MANUAL into the latter.
3631 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3637 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3638 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3640 2003-02-13 John Levon <levon@movementarian.org>
3642 * CutAndPaste.C: remove debug
3644 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3646 * paragraph.C (asString): remove two unused variables
3648 * lyxtextclass.C (readTitleType):
3650 (LyXTextClass): handle new members titletype_ and titlename_
3652 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3654 2003-02-09 John Levon <levon@movementarian.org>
3657 * buffer.C: replace hand-coded list with a map for the dep clean
3659 2003-02-08 John Levon <levon@movementarian.org>
3661 * LaTeX.C: consolidate code into showRunMessage() helper
3663 2003-02-08 John Levon <levon@movementarian.org>
3668 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3669 and pass the size in explicitly
3671 * BufferView_pimpl.h:
3672 * BufferView_pimpl.C:
3674 * BufferView.C: add getCurrentChange()
3676 * BufferView_pimpl.h:
3677 * BufferView_pimpl.C: handle change lfuns
3679 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3680 for changes. Mark pasted paragraphs as new.
3682 * support/lyxtime.h:
3683 * support/lyxtime.C:
3684 * DepTable.C: abstract time_t as lyx::time_type
3687 * LColor.C: add colours for new text, deleted text, changebars
3689 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3690 package use "usenames" option.
3694 * LyXAction.C: add change lfuns
3698 * author.C: author handling
3701 * buffer.C: add a per-buffer author list, with first entry as
3702 current author. Handle new .lyx tokens for change tracking. Output
3703 author list to .lyx file. Output dvipost stuff to .tex preamble.
3704 Bump lyx format to 222.
3707 * bufferlist.C: add setCurrentAuthor() to reset current author details
3711 * bufferparams.C: add param for tracking
3713 * bufferview_funcs.C: output change info in minibuffer
3717 * changes.C: add change-tracking structure
3720 * debug.C: add CHANGES debug flag
3723 * lyxfind.C: add code for finding the next change piece
3726 * lyxrc.C: add user_name and user_email
3729 * lyxrow.C: add a metric for the top of the text line
3732 * text.C: implement accept/rejectChange()
3735 * text.C: paint changebars. Paint new/deleted text in the chosen
3736 colours. Strike through deleted text.
3740 * paragraph_pimpl.h:
3741 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3742 in the current change to the insert functions. Rework erase to
3743 mark text as deleted, adding an eraseIntern() and a range-based
3744 erase(). Implement per-paragraph change lookup and
3747 * paragraph_funcs.C: Fixup paste for change tracking.
3749 * tabular.C: mark added row/columns as new.
3751 * text.C: fix rowLast() to never return -1. Don't allow
3752 spellchecking of deleted text. Track transpose changes. Don't
3753 allow paragraph break or merge where appropriate.
3755 * text2.C: leave cursor at end of selection after a cut.
3757 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3759 * text.C (getLengthMarkerHeight):
3760 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3761 visible on screen too.
3763 2003-02-07 John Levon <levon@movementarian.org>
3765 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3767 2003-02-05 Angus Leeming <leeming@lyx.org>
3769 * lyxserver.C (read_ready): revert my patch of 11 September last year
3770 as it sends PC cpu through the roof. Presumably this means that
3771 the lyxserver will no longer run on an Alpha...
3773 2003-01-30 Angus Leeming <leeming@lyx.org>
3775 * factory.C (createInset): create an InsetCommandParam of type "index"
3776 and use it to 'do the right thing'.
3778 * text2.C (getStringToIndex): ensure that cursor position is always
3779 reset to the reset_cursor position.
3781 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3783 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3786 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3790 * lyxfunc.C: Output messages with identical spelling, punctuation,
3793 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3795 * MenuBackend.C (expandFormats): List only viewable export formats
3798 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3801 * lyxfunc.C (getStatus): Make sure that formats other than
3802 "fax" can also be disabled
3804 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3806 * text3.C (dispatch): put the lfuns that insert insets in 3
3807 groups, and call doInsertInset with appropriate arguments.
3808 (doInsertInset): new function, that creates an inset and inserts
3809 it according to some boolean parameters.
3811 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * buffer.C (readFile): remember to pass on 'par' when calling
3814 readFile recursively.
3816 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3818 * MenuBackend.C (expandFormats): add "..." to import formats.
3820 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3822 * paragraph.C (asString): Remove XForms RTL hacks.
3824 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3825 * buffer.C: fix typo
3827 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * Makefile.am (LIBS): delete var
3830 (lyx_LDADD): add @LIBS@ here instead.
3832 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3834 * Clarify the meaning of "wheel mouse jump"
3836 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3838 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3841 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3843 * importer.C (Loaders): do not preallocate 3 elements in the
3844 vector, since one ends up with 6 elements otherwise
3846 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3848 * DepTable.C (write): write the file name as last element of the
3849 .dep file (because it may contain spaces)
3850 (read): read info in the right order
3852 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3854 * paragraph_pimpl.C (simpleTeXBlanks):
3855 (simpleTeXSpecialChars):
3856 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3858 * tabular.C (latex): add some missing case statements. Reindent.
3860 * MenuBackend.C (expandToc): remove unused variable.
3862 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3871 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3874 2003-01-05 John Levon <levon@movementarian.org>
3877 * BufferView.C: add getEncoding()
3880 * kbsequence.C: do not store last keypress
3883 * lyxfunc.C: store last keypress here instead. Pass encoding
3886 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3888 * lyx_main.C (init): remove annoying error message when following
3889 symbolic links (bug #780)
3891 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3893 * text.C (insertChar):
3894 * lyxrc.C (getDescription): remove extra spaces
3896 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3898 * lyxrc.C (getDescription): remove extra spaces
3900 2002-12-20 John Levon <levon@movementarian.org>
3902 * text3.C: hack fix for page up/down across tall rows
3904 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3906 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3909 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3911 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3912 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3913 thesaurus is not compiled in
3915 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3917 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3919 2002-12-16 Angus Leeming <leeming@lyx.org>
3922 * lyx_main.C (init): remove override_x_deadkeys stuff.
3924 2002-12-12 John Levon <levon@movementarian.org>
3926 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3927 insert. Only remove shift modifier under strict
3930 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * MenuBackend.C (expandToc): fix crash.
3934 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * MenuBackend.C (expandToc): gettext on float names.
3938 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3940 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3941 implement bool empty() [bug 490]
3943 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3947 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3949 * several files: ws changes
3951 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * text2.C (setCounter): clean up a bit, use boost.format.
3954 (updateCounters): initialize par upon declaration.
3956 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3957 if the layout exists. We do not just store the layout any more.
3958 (SwitchLayoutsBetweenClasses): use boost.format
3960 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3962 * converter.C (convert): if from and to files are the same, use a
3963 temporary files as intermediary
3965 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3968 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3970 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3972 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3974 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * tabular.C (asciiPrintCell): use string(size, char) instead of
3979 * sgml.C (openTag): fix order of arguments to string constructor
3982 * lyxfunc.C (dispatch): use boost.format
3984 * lots of files: change "c" -> 'c'
3986 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3988 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3990 2002-11-25 Angus Leeming <leeming@lyx.org>
3992 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3994 * lyx_main.C (init): compile fix.
3996 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * lyx_cb.C (start): boost.formatify
3999 do not include <iostream>
4001 * lengthcommon.C: ws only
4003 * boost-inst.C,BoostFormat.h: add more explict instantations
4005 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * lots of files: handle USE_BOOST_FORMAT
4009 2002-11-21 John Levon <levon@movementarian.org>
4011 * pspell.C: fix compile
4013 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4015 * lyxfunc.C (dispatch): use boost::format
4019 * lyxfont.C (stateText): use boost::format
4021 * lyx_main.C (LyX): use boost::format
4023 (queryUserLyXDir): ditto
4026 (typedef boost::function): use the recommened syntax.
4028 * importer.C (Import): use boost::format
4030 * debug.C (showLevel): use boost::format
4032 * converter.C (view): use boost::format
4037 * bufferview_funcs.C (currentState): use boost::format
4039 * bufferlist.C (emergencyWrite): use boost::format
4041 * buffer.C (readLyXformat2): use boost::format
4042 (parseSingleLyXformat2Token): ditto
4044 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4046 * LaTeX.C (run): use boost::format
4048 * Chktex.C (scanLogFile): use boost::format
4050 * BufferView_pimpl.C (savePosition): use boost::format
4051 (restorePosition): ditto
4052 (MenuInsertLyXFile): ditto
4054 * BoostFormat.h: help file for explicit instation.
4056 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4058 * tabular.C (latex): Support for block alignment in fixed width
4061 2002-11-17 John Levon <levon@movementarian.org>
4063 * BufferView_pimpl.C:
4065 * lyxfunc.C: split filedialog into open/save
4067 2002-11-08 Juergen Vigna <jug@sad.it>
4069 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4070 by my last patch (hopefully).
4072 2002-11-08 John Levon <levon@movementarian.org>
4081 * toc.C: ParConstIterator, and use it (from Lars)
4083 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4085 * lyxtextclass.[Ch]: revise and add doxygen comments
4087 2002-11-07 John Levon <levon@movementarian.org>
4089 * text.C: fix progress value for spellchecker
4091 * toc.C: fix navigate menu for insetwrap inside minipage
4093 * paragraph_funcs.C: added FIXME for suspect code
4095 2002-11-07 John Levon <levon@movementarian.org>
4097 * BufferView_pimpl.C: fix redrawing of insets
4100 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4102 * text2.C (updateCounters): fix bug 668
4104 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4106 * text3.C (dispatch): Do not make the buffer dirty when moving the
4109 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4111 * vc-backend.C: STRCONV
4114 * text2.C (setCounter): STRCONV
4116 * paragraph.C (asString): STRCONV
4118 * lyxlength.C (asString): STRCONV
4119 (asLatexString): ditto
4121 * lyxgluelength.C (asString): STRCONV
4122 (asLatexString): ditto
4124 * lyxfunc.C (dispatch): STRCONV
4127 * lyxfont.C (stateText): STRCONV
4129 * importer.C (Import): STRCONV
4131 * counters.C (labelItem): STRCONV
4132 (numberLabel): ditto
4133 (numberLabel): remove unused ostringstream o
4138 * bufferview_funcs.C (currentState): STRCONV
4140 * buffer.C (readFile): STRCONV
4141 (asciiParagraph): ditto
4142 (makeLaTeXFile): ditto
4144 * Spacing.C (writeEnvirBegin): STRCONV
4146 * LaTeXFeatures.C (getLanguages): STRCONV
4147 (getPackages): ditto
4149 (getBabelOptions): ditto
4150 (getTClassPreamble): ditto
4151 (getLyXSGMLEntities): ditto
4152 (getIncludedFiles): ditto
4156 (scanAuxFile): ditto
4159 * LString.h: add the STRCONV macros
4161 * BufferView_pimpl.C (savePosition): STRCONV
4162 (restorePosition): ditto
4163 (MenuInsertLyXFile): ditto
4165 * vc-backend.C (scanMaster): change from submatch[...] to
4168 * funcrequest.C: include config.h
4170 * factory.C: include config.h
4172 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4174 * box.C: include config.h
4176 * LaTeX.C (scanAuxFile): change from submatch[...] to
4180 2002-10-25 Angus Leeming <leeming@lyx.org>
4182 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4184 * ispell.[Ch] (setError): new method.
4185 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4186 Use setError() insetead of goto END.
4188 * lyx_cb.C (AutoSave): move out child process into new class
4191 2002-10-30 John Levon <levon@movementarian.org>
4193 * text3.C: make start appendix undoable
4195 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4197 * lyxlength.C (inPixels): Fix returned value.
4199 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4202 2002-10-24 Angus Leeming <leeming@lyx.org>
4204 * lyxgluelength.h: no need to forward declare BufferParams
4205 or BufferView, so don't.
4207 2002-10-21 John Levon <levon@movementarian.org>
4209 * BufferView.C: menuUndo ->undo, redo
4211 * BufferView.h: document, remove dead, make some methods private
4213 * paragraph_funcs.h:
4214 * paragraph_funcs.C:
4215 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4220 * sgml.C: move sgml open/close tag into sgml.C
4222 * bufferview_funcs.h: unused prototype
4225 * lyxfunc.C: remove unused
4228 * text.C: remove unused
4230 2002-10-21 John Levon <levon@movementarian.org>
4234 * BufferView_pimpl.h:
4235 * BufferView_pimpl.C: fix mouse wheel handling based on
4236 patch from Darren Freeman
4238 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4240 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4242 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4244 * lyxlength.C (inPixels): Fix hanfling of negative length.
4245 Fix LyXLength::MU case.
4247 2002-10-16 John Levon <levon@movementarian.org>
4249 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4251 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4253 * converter.C (view): add support for $$i (file name) and $$p
4254 (file path) for the viewer command. If $$i is not specified, then
4255 it is appended to the command (for compatibility with old syntax)
4257 2002-10-14 Juergen Vigna <jug@sad.it>
4259 * undo_funcs.C (textHandleUndo): alter the order in which the
4260 new undopar is added to the LyXText, as we have to set first
4261 the right prev/next and then add it as otherwise the rebuild of
4262 LyXText is not correct. Also reset the cursor to the right paragraph,
4263 with this IMO we could remove the hack in "redoParagraphs()".
4265 2002-10-09 Angus Leeming <leeming@lyx.org>
4267 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4268 to turn off an optimisation if a new inset is to be inserted.
4270 2002-10-11 André Pönitz <poenitz@gmx.net>
4272 * lyxtext.h: make some functions public to allow access
4273 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4275 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4277 * text3.C (dispatch): when changing layout, avoid an infinite loop
4280 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4282 * lyxrc.C (read): treat a viewer or converter command of "none" as
4285 * MenuBackend.C (expandFormats): for an update, also allow the
4286 formats that are not viewable
4288 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4289 script if it is newer than the lyxrc.defaults in user directory
4291 2002-10-07 André Pönitz <poenitz@gmx.net>
4293 * text.C: Vitaly Lipatov's small i18n fix
4295 2002-09-25 Angus Leeming <leeming@lyx.org>
4297 * ispell.h: doxygen fix.
4299 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4301 * buffer.h (readFile): Add a new argument to the method, to allow
4302 reading of old-format templates.
4304 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4306 * toc.C (getTocList): Get TOC from InsetWrap.
4308 2002-09-16 John Levon <levon@movementarian.org>
4310 * lyxfunc.C: check tabular for cut/copy too
4312 2002-09-12 John Levon <levon@movementarian.org>
4317 * factory.C: add header
4319 * paragraph_funcs.h:
4320 * paragraph_funcs.C: cleanup
4322 2002-09-11 John Levon <levon@movementarian.org>
4324 * PrinterParams.h: odd/even default to true
4326 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4328 * PrinterParams.h: update printer parameters for new xforms dialog
4330 2002-09-11 Angus Leeming <leeming@lyx.org>
4332 * lyxserver.C (read_ready): re-write to make it more transparent
4333 and to make it work in coherent fashion under Tru64 Unix.
4335 2002-09-11 André Pönitz <poenitz@gmx.net>
4339 * text3.C: implement LFUN_WORDSEL
4341 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4344 make floatlist_ a boost::shared_ptr<FloatList>
4346 * lyxtextclass.C: include FloatList.h
4347 (LyXTextClass): initialize floatlist_
4348 (TextClassTags): add TC_NOFLOAT
4349 (Read): match "nofloat" to TC_NOFLOAT and use it.
4350 (readFloat): modify call to floatlist_
4354 * FloatList.[Ch] (FloatList): remove commented out float
4356 (erase): new function
4358 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4360 * MenuBackend.C (expandToc): fix crash when there is no document
4363 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4365 * many files: Add insetwrap.
4367 2002-09-09 John Levon <levon@movementarian.org>
4369 * text2.C: remove confusing and awkward depth wraparound
4371 2002-09-09 John Levon <levon@movementarian.org>
4373 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4376 * buffer.C: remove getIncludeonlyList()
4379 * lyxfunc.C: remove headers
4381 2002-09-09 Juergen Vigna <jug@sad.it>
4383 * text.C (getColumnNearX): fix form Michael this is most
4384 probably a cut&paste bug.
4386 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4390 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4391 references, ws changes.
4393 * text2.C (init): update counters after init
4394 (insertParagraph): no need to set counter on idividual paragraphs.
4395 (setCounter): access the counters object in the textclass object
4396 on in the buffer object.
4397 (updateCounters): ditto
4399 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4400 shared_ptr<Counters> to avoid loading counters.h in all
4402 (LyXTextClass): initialize ctrs_
4403 (TextClassTags): add TC_COUNTER, and ...
4404 (Read): use it here.
4405 (CounterTags): new tags
4406 (readCounter): new function
4407 (counters): new funtion
4408 (defaultLayoutName): return a const reference
4410 * counters.C (Counters): remove contructor
4411 (newCounter): remove a couple of unneeded statements.
4412 (newCounter): simplify a bit.
4413 (numberLabel): some small formatting changes.
4415 * buffer.[Ch]: remove all traces of counters, move the Counters
4416 object to the LyXTextClass.
4418 2002-09-06 Alain Castera <castera@in2p3.fr>
4420 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4421 package to set the horizontal alignment on fixed width columns.
4424 * lyx_sty.h: added tabularnewline macro def.
4426 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4428 2002-09-06 John Levon <levon@movementarian.org>
4430 * LyXAction.C: tooltips for sub/superscript
4432 * MenuBackend.C: a bit more verbose
4434 * lyxfunc.C: tiny clean
4436 * undo_funcs.C: document undo_frozen
4438 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * counters.C (Counters): add missing algorithm counter.
4442 * text2.C (setCounter): lookup the counter with layouts latexname
4443 instead of by section number.
4444 (setCounter): use a hackish way to lookup the correct enum
4446 a float name->type change
4447 reset enum couners with counter name directly instead of depth value.
4449 * counters.C (Counters): remove the push_backs, change to use the
4450 float type not the float name.
4451 (labelItem): remove unused string, float name->type change
4453 * counters.h: don't include vector, loose the enums and sects vectors
4455 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4457 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4458 (Read): add float->TC_FLOAT to textclassTags
4459 (Read): and handle it in the switch
4460 (readFloat): new function
4462 * FloatList.C (FloatList): comment out the hardcoded float
4465 * lyxlayout.h: ws change.
4467 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4469 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4471 2002-09-03 Angus Leeming <leeming@lyx.org>
4473 * BufferView_pimpl.h: qualified name is not allowed in member
4474 declaration: WorkArea & Pimpl::workarea() const;
4476 * factory.C: added using std::endl directive.
4478 * text3.C: added using std::find and std::vector directives.
4480 2002-08-29 André Pönitz <poenitz@gmx.net>
4483 * text2.C: remove unused member number_of_rows
4486 * BufferView2.C: remove file, move contents to...
4487 * BufferView.C: ... here
4489 * BufferView_pimpl.C:
4490 * factory.C: move more inset creation to factory
4492 * vspace.C: avoid direct usage of LyXText, ws changes
4495 don't provide direct access to WorkArea, use two simple
4496 acessors haveSelction() and workHeight() instead
4499 2002-08-29 John Levon <levon@movementarian.org>
4501 * BufferView_pimpl.C (dispatch): do not continue when
4504 2002-08-28 André Pönitz <poenitz@gmx.net>
4506 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4509 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4511 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4513 * buffer.C: increment LYX_FORMAT to 221
4515 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4516 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4518 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4520 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4522 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4524 * factory.C (createInset): use LyXTextClass::floats
4526 * MenuBackend.C (expandFloatListInsert):
4527 (expandFloatInsert):
4530 * text2.C (setCounter):
4532 * LaTeXFeatures.C (useFloat):
4533 (getFloatDefinitions):
4535 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4537 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4538 floatlist_, with accessor floats().
4540 * FloatList.h: remove global FloatList
4542 2002-08-26 André Pönitz <poenitz@gmx.net>
4544 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4548 * BufferView_pimpl.C:
4549 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4551 2002-08-25 John Levon <levon@movementarian.org>
4553 * LyXAction.C: fix margin note description
4555 2002-08-24 John Levon <levon@movementarian.org>
4559 * bufferview_funcs.C:
4561 * undo_funcs.C: cleanups
4563 * lyxfunc.C: disable CUT/COPY when no selection
4565 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4567 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4568 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4570 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4571 Add backward compatibility to "mono", "gray" and "no".
4573 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4575 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4576 (and file_format >= 200).
4578 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4580 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4582 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4584 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4586 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4588 * BufferView_pimpl.C:
4595 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4596 inset and code to make it work with the paragraph code. The inset
4597 can be anywhere in the paragraph, but will only do the expected
4598 thing in LaTeX if the layout file contains the parameter line
4600 (or more generally, a nonzero value) for that layout.
4602 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * paragraph.h: remove the declaration of undefined counters class
4607 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4609 * text2.C (setCounter): fixed enumeration mis-count as reported by
4610 Dr. Richard Hawkins.
4612 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4614 * paragraph_funcs.h: remove some unneeded includes
4616 * text.C (backspace): pasteParagraph now in global scipe
4618 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4619 (pasteSelection): ditto
4621 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4622 * paragraph_funcs.C (pasteParagraph): ... here
4624 2002-08-20 André Pönitz <poenitz@gmx.net>
4626 * commandtags.h: new LFUNs for swapping/copying table row/colums
4629 * lyxfunc.C: support for new lfuns
4631 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * buffer.[Ch]: remove NO_COMPABILITY stuff
4636 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * boost.C (throw_exception): new file, with helper function for
4639 boost compiled without exceptions.
4644 * ParameterStruct.h:
4645 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4647 * bufferlist.C (emergencyWriteAll): use boost bind
4649 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4651 * text.C: include paragraph_funcs.h
4652 (breakParagraph): breakParagraph is now in global scope
4654 * paragraph_funcs.[Ch]: new files
4656 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4659 * buffer.C: include paragraph_funcs.h
4660 (insertStringAsLines): breakParagraph is now in global scope
4662 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4665 * CutAndPaste.C: include paragraph_funcs.h
4666 (cutSelection): breakParagraphConservative is now in global scope
4667 (pasteSelection): ditto
4669 * buffer.h: declare oprator== and operator!= for
4670 Buffer::inset_iterator
4672 * bufferlist.C (emergencyWrite): don't use fmt(...)
4674 * text3.C: add using std::endl
4676 * BufferView.C (moveCursorUpdate): remove default arg
4678 2002-08-20 André Pönitz <poenitz@gmx.net>
4680 * buffer.[Ch]: move inline functions to .C
4683 * BufferView_pimpl.C:
4685 * buffer.[Ch]: use improved inset_iterator
4688 * paragraph.[Ch]: write one paragraph at a time
4690 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4692 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4693 style if style is not specified.
4695 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4697 * text2.C (setCounter): when searching for right label for a
4698 caption, make sure to recurse to parent insets (so that a caption
4699 in a minipage in a figure float works) (bug #568)
4701 2002-08-20 André Pönitz <poenitz@gmx.net>
4703 * text3.C: new file for LyXText::dispatch() and helpers
4705 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4707 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4709 2002-08-19 André Pönitz <poenitz@gmx.net>
4712 * text.C: new LyXText::dispatch()
4714 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4716 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4718 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4720 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4723 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4725 * Makefile.am: use $(variables) instead of @substitutions@
4727 2002-08-15 André Pönitz <poenitz@gmx.net>
4730 * BufferView_pimpl.C: streamlining mathed <-> outer world
4734 * LyXAction.C: remove unused LFUN_MATH
4736 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4740 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * paragraph.C (Paragraph): reformat a bit
4743 (cutIntoMinibuffer): use builtin InsetList function instad of
4747 * buffer.C: include boost/bind.hpp, add using std::for_each
4748 (writeFileAscii): use ParagraphList iterators
4749 (validate): use for_each for validate traversal of paragraphs
4750 (getBibkeyList): use ParagraphList iterators
4751 (resizeInsets): use for_each to resizeInsetsLyXText for all
4753 (getParFromID): use ParagraphList iterators
4755 * BufferView2.C (lockInset): use paragraph list and iterators
4757 2002-08-14 John Levon <levon@movementarian.org>
4759 * lyxserver.C: remove spurious xforms include
4761 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4763 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4765 2002-08-13 André Pönitz <poenitz@gmx.net>
4768 * lyxfunc.C: further cleaning
4770 2002-08-13 André Pönitz <poenitz@gmx.net>
4772 * funcrequest.h: new constructor
4774 * funcrequest.C: move stuff here from .h
4777 * BufferView_pimpl.C:
4780 * lyxfunc.C: subsequent changes
4782 * lyxfunc.h: new view() member function
4784 * lyxfunc.C: subsequent changes
4786 2002-08-13 Angus Leeming <leeming@lyx.org>
4789 * BufferView_pimpl.C:
4797 changes due to the changed LyXView interface that now returns references
4798 to member variables not pointers.
4800 2002-08-13 Angus Leeming <leeming@lyx.org>
4802 * WordLangTuple (word, lang_code): return references to strings,
4807 * lyxtext.h: forward-declare WordLangTuple.
4812 * text.C: #include "WordLangTuple.h".
4815 * text.C: (selectNextWordToSpellcheck): constify return type.
4817 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4823 * paragraph_pimpl.h:
4826 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4828 Made updateCounter always count from start of buffer, and removed
4829 second argument (par).
4830 Reverted floats number display to '#'. Perhaps I'll try again when the
4831 code base is sanitized a bit.
4833 2002-08-12 Angus Leeming <leeming@lyx.org>
4835 * buffer.[Ch] (getLabelList): constify.
4837 2002-08-07 André Pönitz <poenitz@gmx.net>
4839 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4841 * funcrequest.h: extension to keep mouse (x,y) position
4843 2002-08-12 Juergen Vigna <jug@sad.it>
4845 * BufferView2.C (insertErrors): forbid undo when inserting error
4848 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4850 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * ParagraphList.[Ch]: new files
4854 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4856 * BufferView2.C (lockInset): ParagraphList changes
4859 * bufferlist.C: ditto
4863 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4866 unused class variable counter_,
4868 * paragraph.[Ch] (getFirstCounter): delete unused function
4870 * counters.C: include LAssert.h
4871 (reset): add a new function with no arg, change other version to
4872 not have def. arg and to not allow empty arg.
4874 * text2.C (setCounter): remove empty arg from call to Counters::reset
4876 2002-08-11 John Levon <levon@movementarian.org>
4878 * Makefile.am: add WordLangTuple.h
4880 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4882 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4883 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4885 * insets/insettext.C: InsetList changes
4887 * graphics/GraphicsSupport.C (operator()): InsetList changes
4889 * toc.C (getTocList): InsetList changes
4891 * paragraph_pimpl.[Ch]: InsetList changes
4893 * paragraph.[Ch]: InsetList changes
4895 * buffer.C (inset_iterator): InsetList changes
4896 (setParagraph): ditto
4897 * buffer.h (inset_iterator): ditto
4898 * iterators.C (operator++): ditto
4899 * iterators.h: ditto
4901 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4903 * InsetList.[Ch]: new files, most InsetList handling moved out of
4906 * BufferView2.C (removeAutoInsets): InsetList changes
4908 (ChangeInsets): ditto
4910 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * paragraph_pimpl.h (empty): new function
4914 * paragraph.[Ch] (empty): new function
4916 * other files: use the new Paragraph::empty function
4918 2002-08-09 John Levon <levon@movementarian.org>
4920 * lyxtext.h: remove unused refresh_height
4922 2002-08-09 John Levon <levon@movementarian.org>
4929 * paragraph.C: move sgml char escaping out of paragraph
4932 * paragraph.C: remove id setter
4936 * paragraph_pimpl.C: remove dead tex_code_break_column
4938 * bufferview_funcs.C: small cleanup
4940 * lyxfunc.C: remove dead proto
4942 * lyxtext.h: make some stuff private. Remove some dead stuff.
4944 * lyxgluelength.C: make as[LyX]String() readable
4946 2002-08-08 John Levon <levon@movementarian.org>
4951 * ToolbarDefaults.C:
4954 * toc.C: lyxaction cleanup
4956 2002-08-08 John Levon <levon@movementarian.org>
4958 * BufferView2.C: small cleanup
4961 * lyxfind.C: move unnecessary header into the .C
4963 2002-08-08 John Levon <levon@movementarian.org>
4965 * funcrequest.h: just tedious nonsense
4968 * lyx_main.C: cleanups
4971 * vspace.C: remove dead header lyx_main.h
4973 2002-08-07 Angus Leeming <leeming@lyx.org>
4976 * paragraph_pimpl.h:
4977 Forward declare class Counters in paragraph.h by moving the ctrs member
4978 variable into Paragraph::Pimpl.
4979 (counters): new method, returning a reference to pimpl_->ctrs.
4981 * text2.C: ensuing changes.
4983 2002-08-07 John Levon <levon@movementarian.org>
4985 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4987 * BufferView_pimpl.C: announce X selection on double/triple
4990 * lyx_main.C: use correct bool in batch dispatch
4992 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4994 2002-08-07 André Pönitz <poenitz@gmx.net>
4996 * funcrequest.h: new class to wrap a kb_action and its argument
4999 * BufferView_pimpl[Ch]:
5003 * lyxrc.C: subsequent changes
5006 2002-08-07 John Levon <levon@movementarian.org>
5008 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5009 document options change.
5011 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5016 * makefile.am: move counters functionality over from
5017 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5019 2002-08-06 John Levon <levon@movementarian.org>
5021 * WordLangTuple.h: new file for word + language code tuple
5032 * BufferView2.C: use WordLangTuple
5035 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5037 2002-08-06 John Levon <levon@movementarian.org>
5039 * lyx_main.C: fix cmdline batch handling
5041 2002-08-06 André Pönitz <poenitz@gmx.net>
5043 * lyxrc.C: set default for show_banner to true
5045 2002-08-06 John Levon <levon@movementarian.org>
5047 * pspell.C: fix a crash, and allow new aspell to work
5049 2002-08-06 John Levon <levon@movementarian.org>
5052 * kbmap.C: small cleanup
5055 * vspace.C: add const
5057 2002-08-05 John Levon <levon@movementarian.org>
5059 * LyXAction.C: back to tabular-insert
5061 2002-08-04 John Levon <levon@movementarian.org>
5064 * BufferView.C: cosmetic change
5066 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5076 * BufferView2.C: purge all "Lyx" not "LyX" strings
5079 * lyxcursor.C: attempt to add some documentation
5084 * ToolbarDefaults.C:
5085 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5086 merge with LFUN_TABULAR_INSERT
5093 * pspell.C: split up i/pspell implementations into separate
5094 files, many cleanups
5096 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5098 * text2.C: some cleanup
5100 * lyxfunc.C: don't check for isp_command == "none" any more, it
5101 didn't make any sense
5103 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5108 * makefile.am: move counters functionality over
5109 from text2.C/paragraph.[Ch] to counters.[Ch], and
5111 2002-08-02 John Levon <levon@movementarian.org>
5113 * buffer.C: s/lyxconvert/lyx2lyx/
5115 2002-08-02 Angus Leeming <leeming@lyx.org>
5117 * lyxlex.C: revert John's change as it breaks reading of the user
5120 2002-08-02 Angus Leeming <leeming@lyx.org>
5122 * importer.C (Import):
5123 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5124 changes due to LyXView::view() now returning a boost::shared_ptr.
5126 2002-08-02 John Levon <levon@movementarian.org>
5128 * lyxlex.C: small cleanup
5130 2002-08-02 John Levon <levon@movementarian.org>
5132 * text2.C (status): small cleanup, no logic change
5134 2002-08-01 John Levon <levon@movementarian.org>
5137 * buffer.C (writeFile): don't output alerts, caller
5141 * lyx_cb.C: from above
5143 * lyxfunc.C: allow to open non-existent files
5145 2002-07-31 John Levon <levon@movementarian.org>
5147 * lyxserver.C: don't let incidental errors get
5150 2002-07-30 John Levon <levon@movementarian.org>
5152 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5154 2002-07-30 John Levon <levon@movementarian.org>
5157 * lyxserver.C: remove I/O callback too
5159 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5161 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5164 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * many files: strip,frontStrip -> trim,ltrim,rtrim
5168 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * PrinterParams.h: remove extern containsOnly, and include
5171 support/lstrings.h instead.
5173 * LaTeX.C (scanAuxFile): modify because of strip changes
5175 * buffer.C (makeLaTeXFile): ditto
5176 * bufferparams.C (writeFile): ditt
5177 * lyxfont.C (stateText): ditto
5178 * lyxserver.C (read_ready): ditto
5179 * vc-backend.C (scanMaster): ditto
5181 * BufferView_pimpl.h: ws changes
5183 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5185 2002-07-26 André Pönitz <poenitz@gmx.net>
5187 * kb_sequence.C: remove unnedred usings
5189 2002-07-26 Juergen Vigna <jug@sad.it>
5191 * lyxfind.C (LyXReplace): we have to check better if the returned
5192 text is not of theLockingInset()->getLockingInset().
5194 2002-07-25 Juergen Vigna <jug@sad.it>
5196 * lyxfind.C (LyXReplace): don't replace if we don't get the
5199 * undo_funcs.C (createUndo): remove debugging code.
5201 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5203 * buffer.C (parseSingleLyXformat2Token): Use default placement
5204 when reading old floats.
5206 * FloatList.C (FloatList): Change the default placement of figure
5207 and tables to "tbp".
5209 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5211 * MenuBackend.C: using std::max
5213 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * MenuBackend.C (expandToc):
5216 (expandToc2): code moved from xforms menu frontend. It is now
5217 generic and TOCs are transparent to menu frontends.
5219 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5221 * toc.C (getTocList): protect against buf=0
5223 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5224 Menu as first parameter. Now, this calls itself recursively to
5225 expand a whole tree (this will be useful for TOC handling)
5226 (expandFloatInsert): remove 'wide' version of floats
5228 * MenuBackend.h (submenuname): returns the name of the submenu.
5229 (submenu): returns the submenu itself, provided it has been
5230 created by MenuBackend::expand
5232 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5234 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5235 insets which have noFontChange == true. (bug #172)
5237 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5239 * BufferView_pimpl.C: add connection objects and use them...
5242 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5244 * MenuBackend.C (expandLastfiles):
5247 (expandFloatListInsert):
5248 (expandFloatInsert):
5249 (expand): split expand in parts
5251 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5253 * lyx_gui.C: use lyx_gui::exit()
5255 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5257 * LyXAction.C: show the failing pseudo action
5259 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5261 * buffer.C (readFile): Run the lyxconvert script in order to read
5264 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5268 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5270 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5274 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5276 2002-07-22 Herbert Voss <voss@lyx.org>
5279 * lyxlength.[Ch]: add support for the vertical lengths
5281 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5283 * toc.[Ch]: std:: fixes
5285 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5287 * lyxrc.C: do not include lyx_main.h
5289 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5295 * BufferView2.C: include "lyxlex.h"
5298 * bufferparams.h: do not #include "lyxlex.h"
5300 * lyxtextclasslist.C (Add): remove method
5301 (classlist): renamed to classlist_
5303 * paragraph_pimpl.C:
5307 * bufferview_funcs.C:
5312 * toc.C (getTocList): use BufferParams::getLyXTextClass
5314 * toc.C (getTocList): use InsetFloat::addToToc
5316 * toc.[Ch]: new files, containing helper functions to handle table
5319 * lyxfunc.C (dispatch): no need to remove spaces around command
5321 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5322 first command of the sequence; it is not very clever, but I do not
5323 have a better idea, actually
5325 * LyXAction.C (LookupFunc): make sure to remove space at the
5326 beginning and end of the command
5328 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5330 * MenuBackend.C (getMenubar): new method: return the menubar of
5332 (read): treat differently reading of menu and menubar (in
5333 particular, the menubar has no name now)
5334 (Menu::menubar): remove
5336 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5339 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5341 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5342 a bibitem inset in a RTL paragraph.
5344 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5346 * paragraph_pimpl.C: constify
5348 * BufferView_pimpl.C:
5350 * lyxfunc.C: fix dispatch in a nicer way
5352 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5354 * lyxfunc.C (dispatch):
5355 * BufferView_pimpl.C:
5356 * BufferView_pimpl.h:
5358 * BufferView.h: rename Dispatch() to dispatch()
5360 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5362 * lyxlayout.C (Read): honor DependsOn tag
5364 * lyxlayout.[Ch] (depends_on): new method
5366 * version.C.in: update lyx_docversion
5368 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5370 * paragraph.C (validate): remove from here...
5371 * paragraph_pimpl.C (validate): ... and move here
5372 (isTextAt): make it const
5374 * buffer.C (getLists): ws cleanup
5376 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5378 * language.C (read): Use iso8859-1 encoding in latex_lang
5379 (this prevents LyX from crashing when using iso10646-1 encoding).
5381 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5383 * text2.C (toggleInset): if cursor is inside an inset, close the
5384 inset and leave cursor _after_ it
5386 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5388 * lyxfunc.C: move minibuffer completion handling out of here
5390 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5392 * BufferView_pimpl.C:
5393 * LaTeX.C: fix dispatch calls
5395 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5397 * text.C (drawChars): Fix Arabic text rendering.
5399 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5403 * lyxfunc.C: remove message-push/pop
5407 * lyxfunc.C: rationalise some code by removing verboseDispatch
5408 in favour of a bool argument to dispatch()
5410 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * lyx_main.C (init): make sure to read symlinks as absolute paths
5414 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5417 * lyxfunc.C: no need for commandshortcut to be a member
5419 2002-07-15 André Pönitz <poenitz@gmx.net>
5421 * converter.C: add support for $$s (scripts from lib/scripts dir)
5422 * lyx_main.C: white space
5424 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5428 * lyxrc.C: remove second exit confirmation
5430 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5435 * BufferView_pimpl.h:
5436 * BufferView_pimpl.C:
5437 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5439 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5441 * MenuBackend.C (expand): add numeric shortcuts to document menu
5443 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5445 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5447 * lyxfont.C (setLyXFamily):
5454 * buffer.C (asciiParagraph): use ascii_lowercase
5456 2002-07-15 Mike Fabian <mfabian@suse.de>
5458 * lyxlex_pimpl.C (search_kw):
5459 * lyxlex.C (getLongString):
5460 * converter.h (operator<):
5461 * converter.C (operator<):
5462 * buffer.C (parseSingleLyXformat2Token):
5464 * ToolbarDefaults.C (read):
5465 * MenuBackend.C (checkShortcuts):
5467 * LColor.C (getFromGUIName):
5468 (getFromLyXName): use the compare_ascii_no_case instead of
5469 compare_no_case, because in turkish, 'i' is not the lowercase
5470 version of 'I', and thus turkish locale breaks parsing of tags.
5472 2002-07-16 Angus Leeming <leeming@lyx.org>
5474 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5475 now takes a Buffer const & argument.
5477 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5479 * BufferView.C (resize): check there's a buffer to resize
5481 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5483 * lyxfunc.C: remove dead code
5486 * lyxserver.C: use lyx_guii::set_read_callback
5488 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5490 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5491 an inset in a RTL paragraph.
5493 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5495 * lyxfunc.C: repaint after a font size update
5497 2002-07-15 André Pönitz <poenitz@gmx.net>
5499 * lyxlength.C: inBP should be able to return negative values
5501 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5503 * lyxfunc.C: use lyx_gui::update_fonts()
5505 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5507 * lyxfunc.C: use lyx_gui::update_color()
5509 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5515 * lyxrc.C: remove file->new asks for name option, and let
5516 buffer-new take an argument
5518 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5520 * BufferView_pimpl.C: remove unneeded extra repaint()
5522 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5524 * LyXAction.C: allow command-sequence with NoBuffer
5526 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5528 2002-07-10 Angus Leeming <leeming@lyx.org>
5530 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5532 2002-07-09 Angus Leeming <leeming@lyx.org>
5534 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5536 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5538 * lengthcommon.h: whitespace
5540 * lyxfunc.C: update scrollbar after goto paragraph
5542 * lyxtext.h: factor out page break drawing, and fix it so
5543 page break/added space paints as selected nicely
5545 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5547 * BufferView_pimpl.C: add FIXMEs, clean up a little
5549 2002-07-09 André Pönitz <poenitz@gmx.net>
5551 * lyxfont.[Ch]: support for wasy symbols
5553 2002-07-08 André Pönitz <poenitz@gmx.net>
5555 * BufferView_pimpl.C: apply John's patch for #93.
5557 2002-07-05 Angus Leeming <leeming@lyx.org>
5559 * BufferView_pimpl.C (buffer): generate previews if desired.
5561 * LColor.h: add "preview" to the color enum.
5563 * LColor.C (LColor): add a corresponding entry to the items array.
5565 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5568 2002-07-05 Angus Leeming <leeming@lyx.org>
5570 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5571 The body of the code is now in the method that is passed an ostream &
5572 rather than a file name.
5573 Pass an additional only_preamble parameter, useful for the forthcoming
5576 2002-07-03 André Pönitz <poenitz@gmx.net>
5578 * lyxfunc.C: simplify getStatus() a bit for math stuff
5580 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5582 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5584 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5586 * text.C (changeRegionCase): do not change case of all the
5587 document when region ends at paragraph end (bug #461)
5589 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5591 * paragraph.C (startTeXParParams):
5592 (endTeXParParams): add \protect when necessary
5594 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5596 * BufferView_pimpl.C (workAreaExpose): remove warning
5598 2002-06-27 Angus Leeming <leeming@lyx.org>
5600 * Makefile.am: add lyxlayout_ptr_fwd.h.
5602 2002-06-26 André Pönitz <poenitz@gmx.net>
5604 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5606 2002-06-25 Angus Leeming <leeming@lyx.org>
5608 * lyxfunc.C (dispatch): Comment out the call to
5609 grfx::GCache::changeDisplay. The method no longer exists now that the
5610 pixmap generation part of the graphics loader has been moved into
5613 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5615 * text2.C: layout as layout
5617 * text.C: layout as layout
5619 * tabular.C (OldFormatRead): layout as layout
5621 * paragraph_pimpl.C (TeXDeeper): layout as layout
5622 (realizeFont): layout as layout
5624 * paragraph.C (writeFile): layout as layout
5625 (validate): layout as layout
5626 (getFont): layout as layout
5627 (getLabelFont): layout as layout
5628 (getLayoutFont): layout as layout
5629 (breakParagraph): layout as layout
5630 (stripLeadingSpaces): layout as layout
5631 (getEndLabel): layout as layout
5632 (getMaxDepthAfter): layout as layout
5633 (applyLayout): layout as layout
5634 (TeXOnePar): layout as layout
5635 (simpleTeXOnePar): layout as layout
5636 (TeXEnvironment): layout as layout
5637 (layout): layout as layout
5638 (layout): layout as layout
5640 * lyxtextclass.C (compare_name): new functor to work with
5641 shared_ptr, layout as layout
5642 (Read): layout as layout
5643 (hasLayout): layout as layout
5644 (operator): layout as layout
5645 (delete_layout): layout as layout
5646 (defaultLayout): layout as layout
5648 * lyxlayout_ptr_fwd.h: new file
5650 * lyxlayout.C (Read): layout as layout
5652 * lyx_cb.C (MenuInsertLabel): layout as layout
5654 * bufferlist.C (newFile): layout as layout
5656 * buffer.C (readLyXformat2): layout as layout
5657 (parseSingleLyXformat2Token): layout as layout
5658 (insertStringAsLines): layout as layout
5659 (asciiParagraph): layout as layout
5660 (latexParagraphs): layout as layout
5661 (makeLinuxDocFile): layout as layout
5662 (simpleLinuxDocOnePar): layout as layout
5663 (makeDocBookFile): layout as layout
5664 (simpleDocBookOnePar): layout as layout
5665 (getLists): layout as layout
5667 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5669 * CutAndPaste.C (cutSelection): layout as layout
5670 (pasteSelection): layout as layout
5671 (SwitchLayoutsBetweenClasses): layout as layout
5673 * BufferView_pimpl.C (Dispatch): layout as layout
5674 (smartQuote): layout as layout
5676 * BufferView2.C (unlockInset): layout as layout
5678 2002-06-24 André Pönitz <poenitz@gmx.net>
5680 * lyxfunc.C: fix #487
5682 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5686 * lyxfunc.C: remove display_shortcuts, show_banner
5688 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5690 * Buffer_pimpl.C: oops, update on resize
5692 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5699 * BufferView.C: use repaint()
5701 * BufferView_pimpl.h:
5702 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5703 as it's a clearer description. Remove superfluous
5706 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5708 * text.C: fix bug 488. Not ideal, but getting
5709 getWord() to work properly for the insets that
5710 matter is more difficult ...
5712 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5714 * BufferView_pimpl.C:
5717 * lyxfunc.C: remove the six million index lyxfuncs to just
5718 one, and DTRT (bug 458)
5720 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5724 * BufferView_pimpl.h:
5725 * BufferView_pimpl.C: clean up resize() stuff,
5726 and unnecessary updateScreen()s
5728 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5732 * BufferView_pimpl.h:
5733 * BufferView_pimpl.C:
5736 * minibuffer.C: remove focus management of workarea,
5737 not needed. Use screen's greyOut()
5739 2002-06-17 Herbert Voss <voss@lyx.org>
5741 * converter.C: (convert) do not post a message, when converting
5742 fails, let the calling function decide what to do in this case
5744 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5746 * lyxfunc.C: tidy up a little
5748 2002-06-16 <alstrup@diku.dk>
5750 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5751 Got rid of FORMS_H_LOCATION include. Now we are
5754 2002-06-15 LyX Development team <lyx@rilke>
5756 * buffer.[Ch] (sgmlOpenTag):
5757 (sgmlCloseTag): Added support for avoiding pernicious mixed
5758 content. Return number of lines written.
5761 (makeDocBookFile): Fixed calls to sgml*Tag.
5762 Simple white space clean.
5764 (simpleDocBookOnePar): Simple white space clean.
5766 * tabular.[Ch] (docBook): Renamed to docbook and got another
5767 argument to related with the pernicious mixed content.
5769 (docbookRow): Fixed calls for docbook inset method.
5771 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5773 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5774 so it's X11 independent.
5778 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5780 2002-06-15 Lyx Development team <lyx@electronia>
5782 * intl.h: Renamed getTrans to getTransManager.
5784 2002-06-14 Angus Leeming <leeming@lyx.org>
5786 * Makefile.am: nuke forgotten stl_string_fwd.h.
5788 2002-06-12 Angus Leeming <leeming@lyx.org>
5790 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5792 2002-06-13 Angus Leeming <leeming@lyx.org>
5795 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5797 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5799 * kbmap.C (getiso): add support for cyrillic and greek
5801 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5805 * BufferView_pimpl.h:
5806 * BufferView_pimpl.C: move bogus scrolling logic
5809 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5812 * BufferView_pimpl.C: view->resize() change
5814 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5816 * BufferView_pimpl.C: topCursorVisible
5819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5823 * lyx_gui.C: move to frontends/
5827 * lyx_main.C: changes from above
5829 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5836 * lyx_main.C: minor tidy
5838 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5840 * BufferView_pimpl.h:
5841 * BufferView_pimpl.C:
5843 * BufferView.C: make painter() const,
5846 * BufferView2.C: use screen() accessor
5849 * lyx_main.C: some minor cleanup
5851 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5853 * BufferView_pimpl.h:
5854 * BufferView_pimpl.C: remove enter/leaveView,
5857 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5862 * BufferView_pimpl.h:
5863 * BufferView_pimpl.C: only construct screen once,
5866 * lyxrc.C: remove pointless comment
5868 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5871 * BufferView.C: remove active() and belowMouse()
5873 * BufferView_pimpl.h:
5874 * BufferView_pimpl.C: use workarea() not workarea_,
5875 and make it use a scoped_ptr instead
5877 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5879 * lyx_gui.C: add debug message on BadWindow
5881 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5883 * sp_spell.C: fdopen is not part of the C++ standard.
5885 * paragraph.C (InsetIterator): use >= instead of ==
5887 2002-06-07 Angus Leeming <leeming@lyx.org>
5889 Fixes needed to compile with Compaq cxx 6.5.
5890 * BufferView_pimpl.C:
5897 * lyxtextclasslist.C:
5902 all c-library variables have been moved into namespace std. Wrap
5903 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5908 Add a using std::abs declaration.
5910 * kbmap.h (modifier_pair):
5911 * paragraph.h (InsetTable, InsetList):
5912 * lyxfont.h (FontBits):
5913 type definition made public.
5915 * bufferlist.C (emergencyWriteAll): the compiler complains that
5916 there is more than one possible lyx::class_fun template to choose from.
5917 I re-named the void specialisation as lyx::void_class_fun.
5919 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5921 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5922 the compiler is is unable to find tostr in write_attribute.
5924 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5926 * buffer.C (sgmlError): hide #warning
5928 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5930 * xtl/*: get rid of xtl, which is not in use anyway
5932 * LyXAction.C (init):
5933 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5934 were unimplemented xtl experimentation
5936 2002-06-04 André Pönitz <poenitz@gmx.net>
5938 * lyxfunc.C: disable array operation on simple formulae
5940 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5942 * converter.C: constify a bit
5944 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5946 * lyx_gui.C: check xforms version correctly
5948 2002-04-30 Herbert Voss <voss@lyx.org>
5950 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5953 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5955 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5956 attempt to register it with a VCS)
5958 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5960 * lyx_main.C (init): honor variables LYX_DIR_13x and
5963 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5967 * lyx_main.C: fix a crash on bad command line,
5968 and give a useful exit status on error
5970 * lyxfunc.C (doImport): allow -i lyx to work
5972 2002-03-30 André Pönitz <poenitz@gmx.net>
5974 * lyxfunc.C: mathed font changes
5976 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5991 * trans_mgr.h: srcdocs, and some minor cleanups
5993 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5995 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5996 call getFont all the time)
5998 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6000 * switch from SigC signals to boost::signals
6002 2002-05-29 André Pönitz <poenitz@gmx.net>
6004 * paragraph_pimpl.C (getChar): don't call size() too often...
6006 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6008 * paragraph_pimpl.C (insertChar): do not try to update tables when
6009 appending (pos == size())
6011 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6012 in order to reduce drastically the number of comparisons needed to
6013 parse a large document
6015 2002-05-29 André Pönitz <poenitz@gmx.net>
6021 * textclasslist.[Ch]:
6022 * sp_ispell.h: whitespace change
6024 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6026 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6027 lyxaction directly now.
6029 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6033 * lyxvc.C: remove unused headers
6035 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6042 * undo_funcs.C: some cleanups. Use shared_ptr
6043 and a template for the undo stacks.
6045 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6047 * BufferView_pimpl.h:
6048 * BufferView_pimpl.C:
6055 * text2.C: use key_state/mouse_state
6057 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6059 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6062 * chset.C: change include order
6063 (loadFile): use boost regex and get rid of LRegex and LSubstring
6065 * Makefile.am (BOOST_LIBS): new variable
6068 * LaTeX.C: change include order.
6069 (scanAuxFile): use boost regex and get rid of LRegex and
6073 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6078 * FontInfo.C: moved to frontends/xforms/
6081 * FontLoader.C: moved into frontends for GUIIzation
6086 * lyxfunc.C: changes from above
6088 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6090 * LColor.C: remove spurious X include
6092 * BufferView_pimpl.C:
6097 * text2.C: move font metrics to frontends/
6099 2002-05-24 Juergen Vigna <jug@sad.it>
6101 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6102 setting the undo_cursor.
6104 * ParagraphParameters.h: include local includes first.
6106 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6108 * BufferView_pimpl.C:
6109 * BufferView_pimpl.h:
6113 * screen.C: move WorkArea into frontends/
6119 * BufferView2.C: move LyXScreen into frontends/
6123 * lyx_gui.C: move lyxlookup into frontends/xforms/
6125 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6128 * BufferView_pimpl.C:
6138 * bufferview_funcs.C:
6151 * vc-backend.C: move LyX/XFormsView into frontends/
6153 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6165 * text2.C: move Painter to frontends/
6167 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * buffer.C: comment out some some code that depend upon lyx_format
6172 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6173 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6175 * buffer.h (NO_COMPABILITY): turn off compability
6177 * ColorHandler.C: include scoped_array.hpp
6179 * font.C: Use more specific smart_ptr header.
6182 * ShareContainer.h: ditto
6186 * BufferView_pimpl.h: ditto
6187 * ColorHandler.h: ditto
6189 * kbmap.C (defkey): change call to shared_ptr::reset
6191 2002-05-21 Juergen Vigna <jug@sad.it>
6193 * buffer.C (insertErtContents): fix to insert ert asis if it is
6194 non empty. Skip it completely if it contains only whitespaces.
6196 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6198 * BufferView_pimpl.C:
6199 * BufferView2.C: clear selection on paste (bug 393)
6201 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6203 * DepTable.C: include ctime
6205 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6207 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6209 2002-05-14 Juergen Vigna <jug@sad.it>
6211 * text.C (breakParagraph): fixed function to honor the keepempty
6212 layout in the right maner and also to permit the right breaking
6213 algorithm on empty or non empyt keepempty paragraphs.
6215 * paragraph.C (breakParagraph): we have to check also if the par
6216 is really empty (!size()) for isempty otherwise we do the wrong
6219 2002-05-10 Juergen Vigna <jug@sad.it>
6221 * buffer.[Ch] : The following are only changes to the ert
6222 compatibility read reading old LaTeX layout and font stuff and
6223 convert it to ERTInsets.
6225 * buffer.h: added isErtInset().
6227 * buffer.C (struct ErtComp): add a fromlayout bool to check
6228 if we're inside a LaTeX layout.
6229 (isErtInset): new helper function.
6230 (insertErtContents): look for other ert insets before this one
6231 and insert the contents there, so that we don't have subsequent
6232 ERT insets with nothing between them. This way we create only one
6233 inset with multiple paragraphs. Also check if we don't insert only
6234 spaces ' ' as they are ignored anyway afterwards in the .tex file
6235 so if we have only spaces we will ignore this latex part in the
6237 (parseSingleLyXformat2Token \\layout): better compatibility when
6238 reading layout-latex stuff.
6239 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6241 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6242 stuff after reading the inset only get the information back from
6245 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6247 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6249 * LaTeXFeatures.C (getBabelOptions): New method.
6251 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6253 * BufferView_pimpl.C (Dispatch): work around missing argument for
6256 2002-05-08 Juergen Vigna <jug@sad.it>
6258 * text.C (leftMargin): handle paragraph leftindent.
6260 * paragraph.C (writeFile): write the new \\leftindent tag.
6261 (validate): handle leftindent code.
6262 (TeXEnvironment): handle paragraphleftindent code again.
6264 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6266 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6267 for paragrap_extra indent code and new token \\leftindent.
6268 (latexParagraphs): handle the leftindent as environment.
6270 * ParameterStruct.h: added leftindent support.
6272 * ParagraphParameters.C (leftIndent): added support functions for
6273 the paragraph left indent.
6275 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6278 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6280 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6283 * text.C (computeBidiTables): No bidi in insetERT.
6285 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6288 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6290 * version.C.in: pre 5
6292 2002-05-02 José Matos <jamatos@fep.up.pt>
6293 * buffer.C (makeDocBookFile): white space changes, add newline to
6295 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6297 * tabular.C (docBook): fix typo.
6299 2002-05-03 Juergen Vigna <jug@sad.it>
6301 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6302 change in LyXText as we can not be sure it was not freed.
6303 (drawOneRow): remove unused code.
6305 * text.C (drawInset): redo the calculation of the need_break_row as
6306 it could have a row which was already freed.
6307 (draw): look at the return value of drawInset and return false if
6308 it also returned false.
6309 (paintRowText): look at the return value of draw and return false if
6310 it also returned false.
6312 * lyxtext.h: added bool return type to drawInset() and draw() so that
6313 if we have a change in the row so that the rowbreak has to be redone
6314 we abort drawing as it will be called again.
6316 2002-05-02 Juergen Vigna <jug@sad.it>
6318 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6319 a change in the maintext also if we're inside an inset.
6320 (Dispatch): set the cursor again after a break line and after the
6321 screen has been updated as it could be we're in a different row.
6323 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6324 to set the cursor behind the pargraph with > size().
6325 (setCursor): check also for the same paragraph when checking where
6326 to put the cursor if we have a NFR inset.
6328 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6329 parts of layout read further up as it still was in the wrong
6332 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6334 * screen.C (drawFromTo): change sine fullRebreak always return
6337 * buffer.C (parseSingleLyXformat2Token): reindent some
6339 * BufferView_pimpl.C (update): change since fullRebreak always
6341 (Dispatch): git rid of the last hardcoded "Standard"s.
6343 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6345 * text2.[Ch] (fullRebreak): make it return void now that we always
6348 2002-04-30 Juergen Vigna <jug@sad.it>
6350 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6351 ert compatibility check for "latex" layout.
6353 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6355 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6356 minipages: use col% instead of p%, and also use the current font.
6357 (makeLaTeXFile): Fix use babel condition.
6358 (parseSingleLyXformat2Token): Correct font when reading old floats.
6360 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6362 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6363 inserting list of floats.
6365 2002-04-25 Herbert Voss <voss@lyx.org>
6367 * MenuBackend.C (expand): don't add the graphics extensions to the
6370 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6372 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6373 non-existing layout, do not complain if it was the default layout
6374 of the original class (bug #342)
6376 2002-04-24 Juergen Vigna <jug@sad.it>
6378 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6379 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6381 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6383 * buffer.C (getBibkeyList): If using \bibliography, return the
6384 option field with the reference itself. Enables us to provide natbib
6385 support when using \bibliography.
6387 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6389 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6391 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6392 natbib is provided by the LaTeX class.
6394 2002-04-23 Juergen Vigna <jug@sad.it>
6396 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6399 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6401 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6403 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6405 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6406 ensuremath around textordmasculine, textordfeminine and
6409 2002-04-19 Juergen Vigna <jug@sad.it>
6411 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6412 reinitializing the buffer otherwise row-dimensions may be wrong.
6413 (update): reset also the selection cursors if they do exits otherwise
6414 their x/y positions may be wrong.
6416 * text2.C (cursorDown): don't enter the inset if we came from a row
6417 above and are one row over the inset.
6419 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6420 really leaving an inset.
6422 2002-04-18 Juergen Vigna <jug@sad.it>
6424 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6425 of the selected paragraph does not have the selected layout also if
6428 * text2.C (setLayout): fixed bug which did not change last selected
6431 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6432 changed the read and substituted \\end_float with \\end_inset!
6434 * BufferView_pimpl.C (cursorPrevious):
6435 (cursorNext): fixed to make it work with rows heigher than the work
6436 area without moving the cursor only the draw of the row.
6437 (workAreaMotionNotify): fix jumping over high rows.
6439 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6441 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6444 2002-04-16 Juergen Vigna <jug@sad.it>
6446 * text2.C (setCursor): set also the irow().
6447 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6449 (cursorDown): support for locking an inset if the x_fix value goes
6450 inside it. That way I can transverse insets too with cursor up/down.
6452 * lyxrow.h: added irow helper function same as other (i) functions.
6454 * BufferView_pimpl.C (cursorPrevious):
6455 (cursorNext): fixed for insets!
6457 2002-04-15 Juergen Vigna <jug@sad.it>
6459 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6460 position otherwise it is wrong in some cases.
6462 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6463 inside the inset before the call.
6465 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6467 * buffer.[Ch] (getBibkeyList): make it const.
6469 2002-04-12 Juergen Vigna <jug@sad.it>
6471 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6473 * text2.C (getCursorX): new helper function
6474 (setCursor): compute also ix_
6475 (setCursorFromCoordinates): set also ix.
6477 * lyxcursor.h: added ix_ and helper functions.
6479 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6481 * buffer.C (insertStringAsLines): dont break paragraph if the this
6482 paragraph is inside an inset which does not permit it!
6484 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6485 also with no chars on this paragraph.
6486 (paintRowText): only paint stuff if it's inside the workarea!
6488 * paragraph.C (breakParagraph): honor keepempty flag and break the
6489 paragraph always below not above.
6491 * BufferView2.C (unlockInset): update the paragraph layout on inset
6492 unlock as we changed paragraph in such a case.
6494 * lyxfind.C (LyXFind): clear the former selection if not found!
6496 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6497 again called in insertChar().
6499 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6500 an inset which uses the whole row!
6501 (rightMargin): ditto.
6502 (insertChar): force a rebreak if we inserted an inset!
6504 2002-03-28 Herbert Voss <voss@lyx.org>
6506 * lyxlength.[Ch]: add inBP() to get the right PS-point
6507 units (BigPoint). With inPixels we have rounding errors
6509 2002-04-11 Juergen Vigna <jug@sad.it>
6511 * text2.C (setCursorFromCoordinates): set iy to the right value.
6512 (setCursor): add check if row->previous exists!
6514 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6515 an old float_type as this was the case in the old code!
6517 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6519 * BufferView2.C (showLockedInsetCursor): use iy
6520 (fitLockedInsetCursor): ditto
6522 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6523 locked insets as there we have the right value now.
6525 * lyxcursor.C: added iy_ variable and iy functions to set to the
6526 baseline of cursor-y of the locked inset.
6528 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6529 (setCursor): fixed for insets which need a full row.
6531 * text.C (rowLastPrintable): don't ignore the last space when before
6532 an inset which needs a full row.
6533 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6534 as last character of a row when before a inset which needs a full row.
6536 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6538 * version.C.in: update date
6540 * text2.C (fullRebreak): try to always return true and see what
6543 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6545 * MenuBackend.C (expand): use Floating::listName
6547 * FloatList.C (FloatList): add listName argument to the built-in
6550 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6551 text associated with the float.
6553 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6555 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6557 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6559 * ShareContainer.h: add a couple of missing typenames.
6561 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6563 * lyxrc.C (getDescription): use _() correctly rather than N_().
6565 2002-03-28 Herbert Voss <voss@lyx.org>
6567 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6568 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6570 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6572 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6573 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6575 2002-03-29 Juergen Vigna <jug@sad.it>
6577 * lyxfunc.C (dispatch): add a missing fitCursor call.
6579 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6580 it was scrolled by a cursor move, so return the bool status.
6582 * BufferView.C (fitCursor): return the bool flag also to the outside
6583 world as this is needed.
6585 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6587 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6588 call the edit() as it is not needed (and wrong) IMO.
6589 (workAreaButtonPress): set the screen_first variable before evt.
6590 unlock the inset as this may change screen_first and then we have
6591 a wrong y position for the click!
6593 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6595 * MenuBackend.C (expand): another translation that I missed
6597 2002-03-28 Juergen Vigna <jug@sad.it>
6599 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6601 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6603 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6605 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6607 * MenuBackend.C (expand): fix export/view/update when there is no
6610 2002-03-27 Herbert Voss <voss@lyx.org>
6612 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6615 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6617 * bufferview_funcs.C (currentState): only show paragraph number
6618 for is DEVEL_VERSION is set.
6620 * lyxfunc.C (dispatch): put warning in INFO channel
6622 * MenuBackend.C (expand): translate the name of floats
6624 * FloatList.C (FloatList): mark the float names for translation
6626 * converter.C (convert): use LibScriptSearch
6628 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6630 * MenuBackend.C (defaults): fix default menu (we might as well get
6633 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6635 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6638 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6640 * lyxvc.C: reorder includes.
6642 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6644 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6647 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6649 * CutAndPaste.C: change layouts earlier on paste
6650 to avoid crashing when calling getFont()
6652 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6654 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6657 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6659 * WorkArea.C: remove 'Pending' debug message.
6661 * most files: ws cleanup
6663 * buffer.[Ch]: ws changes
6665 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6667 2002-03-21 Juergen Vigna <jug@sad.it>
6669 * tabular.C (SetMultiColumn): collapse also the contents of the
6670 cells and set the last border right. Added a Buffer const * param.
6672 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6674 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6677 2002-03-19 Juergen Vigna <jug@sad.it>
6679 * text2.C (clearSelection): reset also xsel_cache.
6681 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6682 where it needs to be called (John tells us to do so too :)
6683 (selectionLost): reset sel_cache.
6685 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6687 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6689 * text2.C (setCursorIntern): put debuging code in INSETS channel
6691 2002-03-19 André Pönitz <poenitz@gmx.net>
6693 * lyxfunc.C: tiny whitespace change
6695 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6697 * ToolbarDefaults.C (init):
6698 * LyXAction.C (init):
6700 * BufferView_pimpl.C (Dispatch):
6701 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6703 2002-03-19 Allan Rae <rae@lyx.org>
6705 * exporter.C (Export): removeAutoInsets before doing anything else.
6706 While I've just introduced a dependency on BufferView this really is
6707 the best place to clean the buffer otherwise you need to cleanup in
6708 a dozen places before calling export or cleanup in a dozen functions
6711 * converter.C (runLaTeX):
6712 (scanLog): Better handling of removeAutoInsets and screen updates.
6714 * lyxfunc.C (dispatch): small whitespace changes
6716 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6718 * WorkArea.C (C_WorkAreaEvent): return a value.
6719 (event_cb): return 1 if we handled the event, 0 otherwise.
6721 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6723 2002-03-18 Juergen Vigna <jug@sad.it>
6725 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6726 (GetAdditionalWidth): ditto.
6730 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6731 inset if we're there actually (probably not used right now but this
6732 is the direction to go for unifying code).
6733 (paste): disable code to clear the selection.
6735 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6736 inside an InsetText and move the check further up as it is in the
6739 * text2.C (pasteSelection): set a selection over the pasted text.
6741 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6743 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6744 and libgraphics to build on Cygwin.
6746 2002-03-15 Juergen Vigna <jug@sad.it>
6748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6749 inserting an Inset into the paragraph. I know this is not the best
6750 fix but we already use current_view in CutAndPaste so we will remove
6751 all of it's using at the same time.
6753 * buffer.C (sgmlError): deactivated function till it is rewritten in
6754 the right mode, now it can create problems.
6756 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6757 before accessing it.
6759 2002-03-14 Juergen Vigna <jug@sad.it>
6761 * undo_funcs.C (textHandleUndo): do the right thing when updating
6762 the inset after the undo/redo.
6764 * text2.C (setCursor): just some testcode for #44 not ready yet.
6766 * undo_funcs.C (textHandleUndo): set the next() and previous()
6767 pointers of the paragraph to 0 before deleting otherwise we have
6768 problems with the Paragraph::[destructor].
6770 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6771 on a paragraph insertion.
6773 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6775 * buffer.C (asciiParagraph): use += operator for char append to
6778 * paragraph.C (getFontSettings): compare >= not just >
6779 (highestFontInRange): ditto
6782 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6784 * paragraph.C: change several algorithm to be more appripriate for
6785 the problem domain. This is lookip in FontList and in the InsetList.
6787 2002-03-13 André Pönitz <poenitz@gmx.net>
6790 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6792 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6797 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6799 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6801 * Painter.C (display): anon helper function, adjust code for this
6803 (pixmap): remove function.
6805 * Painter.h: remove private display variable.
6807 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6809 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6811 * WorkArea.[Ch]: remove figinset_canvas cruft.
6813 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6815 * lyxtextclass.C (operator): add one item cache optimization.
6817 * bufferlist.h: doxy changes
6819 * bufferlist.C: ws changes
6821 * DepTable.[Ch] (ext_exist): place const in the right spot.
6823 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6825 (workAreaExpose): call resizeInsets when the with BufferView changes.
6826 (Dispatch): adjust for protectedBlank removal
6827 (specialChar): call updateInset if the insert went ok.
6829 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6830 specialChar instead.
6832 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6834 * BufferView.h: doxy change
6836 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6838 * lyxtextclass.C (operator[]): remove non-const version
6839 (defaultLayout): remove non-const version
6841 2002-03-12 Juergen Vigna <jug@sad.it>
6843 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6844 did resize the LyXText too.
6846 * buffer.C (readLyXformat2): set layout information on newly allocated
6849 * tabular.C (OldFormatRead): set layout information on the paragraph.
6851 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6853 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6855 2002-03-11 Juergen Vigna <jug@sad.it>
6857 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6859 (resizeCurrentBuffer): force also the insets to resize themselfes.
6860 (moveCursorUpdate): fixed up for InsetText.
6862 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6865 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6866 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6867 value of Dialogs::tooltipsEnabled().
6868 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6870 2002-03-08 Juergen Vigna <jug@sad.it>
6872 * BufferView_pimpl.C (updateInset): update inset inside inset also
6873 if it isn't inside theLockingInset().
6875 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6877 * buffer.C (asciiParagraph): redo some of the word and line length
6879 (getLists): look for Caption instead of caption.
6881 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6883 * buffer.C (Buffer): initialize niceFile to true
6886 (makeDocBookFile): make sure niceFile is true on exit
6888 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6890 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6892 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6894 * LyXSendto.C: remove.
6895 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6896 * lyx_gui.C: remove now-redundant comment.
6897 * ColorHandler.h: remove forward declaration of class WorkArea.
6898 * lyxfunc.C: remove #include "WorkArea.h".
6900 2002-03-07 Juergen Vigna <jug@sad.it>
6902 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6903 got moved away with the DEPM and also set the inset_owner always
6904 right which before could have been omitted.
6906 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6908 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6909 wanted layout is not found.
6911 2002-03-07 Juergen Vigna <jug@sad.it>
6913 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6915 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6917 * paragraph.C (breakParagraph): use default layout not layout of
6919 (Paragraph): clear ParagraphParameters.
6921 2002-03-06 Juergen Vigna <jug@sad.it>
6923 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6924 otherwise it would not be a valid lenght. Fixed a special case in
6925 the minipage compatibility read where we end the document with a
6928 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6929 was set as it could be 0 for InsetTexts first entry.
6931 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6933 * paragraph.C (writeFile): if layout is empty write out
6934 defaultLayoutName().
6936 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6937 file without named layout we set layout to defaultLayoutName().
6939 2002-03-06 Juergen Vigna <jug@sad.it>
6941 * CutAndPaste.C (copySelection): set layout for new paragraph.
6943 * text.C (prepareToPrint): leave ERT inset left aligned
6944 (leftMargin): don't indent paragraphs inside ERT insets
6946 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6948 * paragraph.C (breakParagraph): dont call clear do the work manually
6950 * paragraph.[Ch] (clear): remove function
6952 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6954 * paragraph.C (Paragraph): dont call clear, the work has already
6957 * lyxtextclass.C (operator): assert if n is empty
6959 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6960 work manually instead.
6962 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6964 * BufferView_pimpl.C: protect selectionLost against text == 0
6966 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * text.C (breakParagraph): fix a setting layout to '0' problem.
6970 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6972 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6973 final location of file, for the included files, and graphics.
6975 2002-03-05 Juergen Vigna <jug@sad.it>
6977 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6979 2002-03-04 Juergen Vigna <jug@sad.it>
6981 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6983 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6984 last column of multicolumn cells.
6985 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6987 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6989 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6990 file if it doesn't go to a temporary file.
6992 * buffer.C (sgmlOpenTag):
6993 (sgmlCloseTag): remove extra newline insertion.
6995 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6997 * text.C (getRowNearY): comment out debug msg
6999 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7001 * text2.C: first -> first_y
7003 * text.C (getRowNearY): add some attemts at a possible
7004 optimization, not working.
7006 * tabular.[Ch]: add BufferParams to several function so that newly
7007 created paragraph can be initialized to he default layotu for the
7010 * tabular-old.C (ReadOld): add buf->params to call of Init
7012 * screen.C: rename text->first to text->first_y
7014 * paragraph.C (breakParagraph): always set layout in the broken
7017 * lyxtextclass.C (Read): remove lowercase
7020 (delete_layout): ditto
7022 * lyxtext.h: rename first -> first_y
7024 * lyxlayout.C (Read): remove lowercase
7027 (obsoleted_by): ditto
7029 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7031 * buffer.C (insertErtContents): add params are to InsetERT
7032 (parseSingleLyXformat2Token): add code to check if a paragraphs
7033 layout really exist.
7034 (parseSingleLyXformat2Token): add params to several inset
7036 (asciiParagraph): remove lowercase, do the layout comparisons with
7039 * BufferView_pimpl.C (cursorNext): first -> first_y
7040 (resizeCurrentBuffer): first -> first_y
7041 (updateScrollbar): first -> first_y
7042 (scrollCB): first -> first_y
7043 (workAreaMotionNotify): first -> first_y
7044 (workAreaButtonPress): first -> first_y
7045 (checkInsetHit): first -> first_y
7046 (cursorPrevious): first -> first_y
7047 (cursorNext): first -> first_y
7048 (Dispatch): add buffer_->params to severl inset contructors
7050 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7052 * lyxlayout.C (Read): remove some debug info that I forgot.
7054 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7055 clean up the code slightly.
7056 (makeLinuxDocFile): ditto
7057 (makeDocBookFile): ditto
7059 * text2.C: layout as string
7061 * text.C: layout as string
7063 * paragraph_pimpl.C: layout as string
7065 * paragraph.[Ch]: layout as string
7067 * lyxtextclasslist.[Ch]: layout as string
7069 * lyxtextclass.[Ch]: layout as string
7071 * lyxtext.h: layout as string
7073 * lyxlayout.[Ch]: layout as string
7075 * lyx_cb.C: layout as string
7077 * bufferview_funcs.C: layout as string
7079 * bufferparams.C: layout as string
7081 * buffer.C: layout as string
7083 * LyXView.[Ch]: layout as string
7085 * LaTeXFeatures.[Ch]: layout as string
7087 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7089 * BufferView_pimpl.C: change current_layout to string, remove
7094 (workAreaButtonRelease): layout as string
7096 * BufferView2.C (unlockInset): adjust
7098 * vspace.C (asLatexCommand): use an explict temp variable.
7100 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7102 * Makefile.am: use FRONTEND_*
7104 2002-03-01 Juergen Vigna <jug@sad.it>
7106 * tabular.C (SetWidthOfMulticolCell): changed to something better
7107 I hope but still work in progress.
7108 (recalculateMulticolumnsOfColumn): renamed function from
7109 recalculateMulticolCells as it is more appropriate now.
7110 (SetWidthOfCell): calculate multicols better.
7112 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7114 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7116 * lyxfunc.C (processKeySym): print sequence also if it is
7117 `deleted' (complete)
7119 * kbsequence.C (print): print sequence even if it is deleted
7120 (complete would be a better word, actually).
7122 * lyxfunc.C (dispatch): print complete options after a prefix key
7124 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7126 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7128 * text2.C (setCharFont): eliminate setCharFont code duplication.
7130 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7132 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7133 LFUN_TABULAR_FEATURE (bug #177)
7135 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7137 * Makefile.am: remove figure.h
7139 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7141 * Bufferview_pimpl.C:
7153 * text2.C: remove #include "lyx_gui_misc.h".
7155 * LaTeX.C: added #include <cstdio>
7157 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7159 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7160 that the paragraph following this one can have.
7162 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7164 * vspace.C (asLatexCommand): fix bogus gcc warning
7166 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7168 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7170 * text2.C (setLayout): get rid of redundant code
7172 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7174 * text2.C (incDepth): make sure depth cannot be increased beyond
7177 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7179 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7180 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7182 * PainterBase.h (image):
7183 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7186 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7190 * BufferView_pimpl.C:
7191 * BufferView_pimpl.h:
7211 * sp_spell.C: remove fig inset, and the crap house of
7212 cards that follows it
7214 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7220 * nt_defines.h: move .h into support/
7222 * vms_defines.h: remove
7224 * WorkArea.C: add space in debug output
7228 * buffer.C: add WITH_WARNINGS
7232 * bufferlist.C: s/retrive/retrieve/, add docs
7243 * lyxgui.C: add ID to X error handler
7245 * lyxtestclass.c: fix typo
7247 2002-02-26 Juergen Vigna <jug@sad.it>
7249 * tabular_funcs.C (write_attribute): changed so that some default
7250 attributes are not written at all.
7251 (getTokenValue): set default values before trying to read the
7252 value so we have the return value always set as default if we don't
7253 find the token we search for.
7255 * tabular.C (Write): write bools as bools not as strings!
7257 2002-02-22 Juergen Vigna <jug@sad.it>
7259 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7260 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7262 * text.C (leftMargin): don't add an indent for paragraphs inside
7263 tabular cells (fix #208).
7265 2002-02-21 José Matos <jamatos@fep.up.pt>
7267 * tabular.C (docBook): fixed support for long tables.
7269 2002-02-20 Juergen Vigna <jug@sad.it>
7271 * text2.C (getFont): get the drawing font of the Inset if this
7272 paragraph is inside an inset (only important for InsetERT for now).
7274 * buffer.C (insertErtContents): use new lanugage params in ERT
7277 * CutAndPaste.C: commenting out seemingly uneeded code.
7279 2002-02-19 Allan Rae <rae@lyx.org>
7281 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7282 Iterators might be simple to use but they also get invalidated.
7283 (removeAutoInsets): renamed saved cursor tracking variables and added
7284 some comments to clarify what everything does.
7286 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7293 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7294 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7297 * vc-backend.h: remove #include "support/syscall.h"
7301 * converter.C: rearrange #includes in Lars' approved fashion.
7303 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7304 forward declare class Timeout in the header file.
7306 * XFormsView.C: changes due to the above.
7308 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7311 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7312 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7314 2002-02-18 José Matos <jamatos@fep.up.pt>
7316 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7319 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7321 * a lot of small ws changes
7322 * add a lot of using std::XXX
7323 * use std construcs some places where approp.
7324 * use some exisint stuff from lyxfunctional where approp.
7325 * Make file changes to use partial linking (lets test this now...)
7327 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7331 remove #include "support/syscontr.h" as it's redundant. Always has been.
7339 change Systemcalls::System to Systemcalls::Wait and
7340 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7341 No change of functionality, just reflects the stripped down Systemcalls
7344 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7346 * debug.[Ch]: add a GRAPHICS type to the enum.
7348 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7350 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7352 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7355 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7357 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7358 match the changes below.
7360 * text2.C (toggleInset): if there is not editable inset at cursor
7361 position, try to see if cursor is _inside_ a collapsable inset
7364 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7366 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7367 document menu has a nice checkbox
7369 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * lyxlength.C (asLatexString): change PW to output as percent of
7374 * lengthcommon.C: change '%' to 't%'
7376 * lyxfunc.C (dispatch): a few comments from Martin
7378 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7382 * BufferView_pimpl.h:
7383 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7386 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7388 * vspace.C (inPixels): fix compiler warning
7390 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7392 * lyxfunc.C (getStatus): fix status message for disabled commands.
7394 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7396 * BufferView_pimpl.C: fix crash on close buffer
7397 during selection (#227)
7399 2002-01-27 Herbert Voss <voss@lyx.org>
7401 * buffer.C: link old Figure to new graphic inset
7403 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7405 * FontLoader.C (getFontinfo): Change the latex font names in order
7406 to match the names of type1inst.
7408 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7410 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7412 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7415 (remove_files_with_extension): ditto
7416 (remove_file): ditto
7419 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7420 document is smaller than the work area height. Do not initialize
7421 static variables to 0.
7423 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7425 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7427 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7428 LFUN_LAYOUT_PARAGRAPHS.
7430 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7431 tabular. It is possible to provide a possible cell, which will
7432 typically be the actcell from the corresponding insettabular
7434 * lyxfunc.C (getStatus): small cleanup; disable
7435 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7438 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7440 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7442 * paragraph.C (startTeXParParams):
7443 (endTeXParParams): new methods. The LaTeX code to
7444 start/end paragraph formatting
7445 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7446 empty (fixes bug #200)
7448 * vspace.C (inPixels): adapt to the change below
7449 (inPixels): [later] more cleanups (remove unused variables)
7451 * lyxlength.C (inPixels): change to use a width and a height as
7454 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7456 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7457 Replaced with \paperwidth
7459 * DepTable.C (insert): add std:: qualifier
7461 2002-01-18 Allan Rae <rae@lyx.org>
7463 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7466 * text.C (drawInset): Turned out I didn't know enough about how
7467 rebreaking worked. This fixes most of the redraw problems. I see
7468 an occasional cursor trail when a line is broken now and the cursor
7469 placement can seem out by a few pixels also after a rebreak.
7471 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7473 * buffer.C (parseSingleLyXformat2Token): update because minipage
7474 width is now a LyXLength
7476 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7478 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7481 2002-01-17 Juergen Vigna <jug@sad.it>
7483 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7485 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7486 is set correctly and the inset is updated correctly.
7488 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7490 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7491 the beginning of the loop.
7493 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7495 * lyxrc.C: improve help for use_scalable_fonts
7497 2002-01-17 Allan Rae <rae@lyx.org>
7499 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7501 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7503 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7504 make sure to set their inset_owner to the right value (bug #171)
7506 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7509 * DepTable.C: Implement mtime checking to reduce time spent doing
7512 2002-01-16 Juergen Vigna <jug@sad.it>
7514 * tabular.C (GetAdditionalHeight): one of error fixed.
7516 * lyxrc.C (output): small fix in writing use_pspell.
7518 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7520 * sp_base.h: #include LString.h
7522 2002-01-16 Allan Rae <rae@lyx.org>
7524 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7525 Can someone check this please?
7527 * text.C (drawInset): It was possible that p.row would be removed by
7528 breakAgainOneRow upsetting a few other settings. There may be another
7529 small tweak possible by setting need_break_row = 0 when p.row has been
7530 removed but I don't know enough about the logic here.
7532 2002-01-15 Allan Rae <rae@lyx.org>
7534 * text.C (insertChar): removed conditional truism.
7536 * BufferView2.C (removeAutoInsets): More tweaks.
7537 cur_par_prev could be a stray pointer. Check for trailing empty line
7538 in case last line was cur_par and only had an error inset on it.
7540 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7542 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7545 * vc-backend.C (most methods):
7546 * exporter.C (Export):
7547 * converter.C (convert):
7549 * LyXSendto.C (SendtoApplyCB):
7550 * lyxfunc.C (dispatch):
7554 * lyx_cb.C (AutoSave):
7556 * BufferView_pimpl.C (MenuInsertLyXFile):
7557 * buffer.C (runChktex): use Buffer::filePath().
7559 * buffer.h: rename filename to filename_; rename filepath to
7560 filepath_ and make it private
7561 (filePath): new method
7563 * buffer.C (writeFile): use fileName()
7566 * lyx_main.C (init): fix starting of LyX when the binary is a
7567 link from so,ewhere else.
7569 * minibuffer.C: include <cctype> for isprint
7571 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7573 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7574 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7575 name clash with InsetCollapsable's width function.
7577 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7579 * lastfiles.C: include <iterator>
7581 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7583 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7586 * buffer.C (makeLaTeXFile): ditto.
7587 Also make loop operation more transparent.
7589 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7591 * ToolbarDefaults.C: remove trailing comma closing namespace.
7593 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7595 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7598 * trans.C (Load): comment out unused variable, allowed.
7600 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7602 * minibuffer.[Ch] (append_char): new method to recieve input from the
7603 drop-down completion browser. If a key was pressed, then recieve this
7604 char and append it to the existing string.
7605 (peek_event): modify the positioning data passed to the completion
7606 browser so that it can be placed above the minibuffer rather than below.
7607 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * LyXAction.C (init): alloe error-next for readonly documents.
7611 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7614 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * bufferlist.C (readFile): create the buffer _after_ checking that
7619 * lyxfunc.C (verboseDispatch): fix handling of arguments
7621 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7623 * lyxrc.C: use string::erase() instead of initializing to "".
7626 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7628 * BufferView_pimpl.h:
7629 * BufferView_pimpl.C:
7632 * text2.C: tell X when we have made a selection for copying
7634 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7636 * BufferView_pimpl.C (MenuInsertLyXFile):
7637 * lyxfunc.C (menuNew):
7639 (doImport): add shortcuts to directory buttons
7641 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7644 * lyxfunc.C (setStatusMessage):
7645 (getStatusMessage): new methods
7646 (getStatus):use setStatusMessage instead of setErrorMessage
7647 (dispatch): when function is disabled, set error message here
7648 [instead of in getStatus previously]
7650 * BufferView_pimpl.C (workAreaButtonRelease): update
7651 toolbar/menubar here too.
7653 2002-01-13 Allan Rae <rae@lyx.org>
7655 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7656 Now seems indestructible. Remaining task is to audit all other
7657 code affected by deleteEmptyParagraphMechanism. One small quirk
7658 left is that an empty document with an error in the preamble can
7659 be made to report an error but no error box appears. I don't know
7661 (removeAutoInsets): Improved comments.
7663 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7666 * Thesaurus.C: update for Aiksaurus 0.14
7668 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7670 * text2.C (firstParagraph): removed member function, all uses
7671 replaces with ownerParagraph
7672 (redoParagraphs): here
7674 (toggleAppendix): here
7675 * BufferView2.C (insertErrors): here
7676 (setCursorFromRow): here
7678 2002-01-13 Allan Rae <rae@lyx.org>
7680 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7681 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7682 There is still a way to segfault this although you may have to do this
7683 multiple times: Have an InsetERT with an unknown command in it.
7684 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7685 <down-arrow>, <Enter> again, View->DVI, BANG!
7687 * text2.C (setCursor):
7688 (deleteEmptyParagraphMechanism):
7689 * lyxtext.h (setCursor):
7690 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7691 Making use of the return value may help fix other bugs.
7693 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7695 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7697 * LyXView.C (updateMenubar): call MenuBar::update here
7698 (updateToolbar): but not here
7699 (showState): do not update toolbar/menubar
7701 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7702 should need to care about that.
7704 * lyxfunc.C (verboseDispatch): simplify a bit
7705 (getStatus): have a version which takes a pseudoaction, and
7706 another which requires a (kb_action,string).
7708 * LyXAction.C (retrieveActionArg): make it work also when action
7709 is not a pseudo-action.
7710 (getActionName): simplify a bit
7713 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7715 * lyxfunc.C (verboseDispatch): new families of methods with
7716 several ways to specify a command and a bool to indicate whether
7717 the command name and shortcut should be displayed in minibuffer
7718 (eventually, we could extend that to a finer bitmask like
7719 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7720 (dispatch): the pristine dispatch command which just, well,
7721 dispatchs! Note it still sets its result to minibuffer; I'm not
7724 * lyxfunc.h: remove setHintMessage
7726 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7728 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7730 * BufferView_pimpl.C (specialChar): delete new inset if we have
7731 not been able to insert it.
7733 * kbmap.C: revert to using int instead of kb_action, since all we
7734 are dealing with is pseudo-actions.
7736 * LyXAction.C (searchActionArg): change to return int instead of
7737 kb_action, since the result is a pseudoaction.
7739 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7741 * buffer.C (insertErtContents): Fix (partially) the font bug.
7743 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7745 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7746 as the other one is broken on my machine!
7748 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7751 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7753 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7755 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7756 reflect their actual use. Provide compatibility code for older lyxrc
7759 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7761 change names of popup font variables in line with the changes to lyxrc.C
7763 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7765 * buffer.C (asciiParagraph): avoid outputing a word twice after
7768 * lyxrc.C (getDescription): document that document_path and
7769 template_path can be empty.
7771 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7773 * LaTeXFeatures.C (getMacros):
7774 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7776 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7778 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7780 (getPackages): rename feature "floats" to "float". Use an array to
7781 iterate over 'simple' features (i.e. just a \usepackage). Add
7782 handling of "amsmath" (renamed from "amsstyle").
7784 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7786 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7789 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7791 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7792 FuncStaus::FuncStatus & FuncStaus::some_method().
7794 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7796 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7797 of the func_satus stuff. Edited and massaged in various ways by
7800 * lyxfunc.C (getStatus): use FuncStatus
7802 2002-01-08 Juergen Vigna <jug@sad.it>
7804 * text.C (nextBreakPoint): use function Inset::isChar().
7806 * paragraph.C (TeXOnePar): use function
7807 Inset::forceDefaultParagraphs.
7809 * buffer.C (latexParagraphs): use function
7810 Inset::forceDefaultParagraphs.
7812 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7814 * lyx_gui.C (init): set the style of the menu popups to
7815 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7817 2002-01-07 Juergen Vigna <jug@sad.it>
7819 * text.C (setHeightOfRow): small fix
7820 (prepareToPrint): don't look at alignment if we don't have the place
7823 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7825 * box.C: New file. Move the Box methods and functions out of box.h,
7826 following Lars' suggestion.
7828 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7830 * box.h: #include "support/LOstream.h", needed for inlined function.
7833 * lyxtextclasslist.C: added some using std declarations.
7835 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7837 * box.h: make signed dimensions to allow insets wider than
7838 the screen (bug #162)
7840 * BufferView_pimpl.C: add some insetHit debug
7842 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7844 * vc-backend.C: add FIXME
7846 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7848 * lyxfunc.C (getStatus): enable code for showing math font status
7851 2002-01-07 Juergen Vigna <jug@sad.it>
7853 * text.C (nextBreakPoint): removed debug output not needed anymore.
7855 2002-01-06 Juergen Vigna <jug@sad.it>
7857 * text.C (nextBreakPoint): fixed up this function we had this bug
7858 since ever but now hopefully we break row better.
7859 (insertChar): we have to check if an inset is the next char as it
7860 could now happen that a large inset is causing a break.
7862 2002-01-05 Juergen Vigna <jug@sad.it>
7864 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7865 if it doesn't like to be drawed.
7867 2002-01-04 Juergen Vigna <jug@sad.it>
7869 * BufferView2.C (lockInset): forgot to set a cursor.
7871 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7873 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7878 * form_maths_panel.C:
7879 * form_maths_panel.h:
7880 * form_maths_panel.fd: implemented sub- and super- buttons in math
7883 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7884 (or ^ space) to be used as in TeX (req'd by André).
7886 * lyxfunc.C: Allow ^ and _ again to be used both as
7887 super/subscript (mathed) and as themselves (in text).
7889 2002-01-03 Allan Rae <rae@lyx.org>
7891 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7892 "LyX" or the filename of the current buffer if it has one. This is a
7893 modified form of John Levon's patch.
7895 * XFormsView.C (setWindowTitle): also set icon title.
7897 * LyXView.h (setWindowTitle): signature changed.
7898 * XFormsView.h (setWindowTitle): ditto.
7900 2002-01-02 Juergen Vigna <jug@sad.it>
7902 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7904 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7906 * screen.C (topCursorVisible): introduce a temp var for
7907 text->cursor.row(), handle the case where this row is null. (kindo
7910 * text2.C (setCursor): add a couple of asserts.
7912 * paragraph.h (inset_iterator): add -> operator
7914 * paragraph.[Ch] (autoDeleteInsets): remove member function
7916 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7917 cursor pos correctly and handle inset deletion by itself.
7918 (insertErrors): move iterator declaration out of for expression
7920 * lyxtextclass.C: add <algorithm>
7922 * Makefile.am: added the new files to sources, removed layout.C
7924 * layout.C: removed file
7926 * layout.h: remove LYX_DUMMY_LAYOUT
7928 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7932 * lyxtextclass.[Ch]:
7933 * lyxtextclasslist.[Ch]: new files
7935 * include order changes to a lot of files, also changes because of
7938 2001-12-27 Juergen Vigna <jug@sad.it>
7940 * buffer.C (asciiParagraph): more fixes.
7942 * tabular.C (ascii): make ascii export support export of only the
7943 data separated by a column-delimiter.
7944 (ascii): better support for ascii export.
7946 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7948 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7950 * tabular_funcs.C: use a "using std::getline" instead of the
7951 previous fix from Angus (necessary for cxx + lyxstring)
7953 2001-12-24 Juergen Vigna <jug@sad.it>
7955 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7957 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7958 problems. First check a minipage also if we have some ert-contents
7959 (not only on par->size(), second set the right depth of the paragraph
7960 on the relink to the root-paragraph-list!
7962 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7963 which then did not anymore update the main paragraphs on undo/redo!
7965 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7967 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7968 code. Support all font-changing funcs (even those which are not in
7969 menu currently). Support for reporting font settings in
7970 mathed (disabled until Andre provides a function on mathed's side).
7972 * func_status.h (toggle): small helper function to set toggle
7975 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7977 * tabular_funcs.C: getline -> std::getline
7979 2001-12-21 Juergen Vigna <jug@sad.it>
7981 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7982 accessed and could be 0 (I couldn't generate this but it seems
7985 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7987 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7988 * tabular_funcs.h: here and include iosfwd
7990 2001-12-20 Juergen Vigna <jug@sad.it>
7992 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7993 inside inset but undo_par was.
7995 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7997 * Thesaurus.C: always include <config.h> in sources.
8001 * box.h: do not include <config.h> in header files
8003 * text.C (paintLastRow): remove unused variable
8005 * text.C (transformChar):
8007 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8010 * font.C (width): rewrite to use uppercase() instead of
8013 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8015 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxfind.C: clean up of find failure position change
8019 2001-12-20 Juergen Vigna <jug@sad.it>
8021 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8023 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8024 (TeXRow): added to LaTeX a single tabular row.
8025 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8026 (Latex): simplified and finally good LT-h/f support.
8027 (various_functions): just small adaptions for LT-h/f support.
8029 * tabular_funcs.[hC]: added and moved here all not classfunctions
8032 2001-12-19 Juergen Vigna <jug@sad.it>
8034 * tabular.[Ch]: better support for longtabular options (not finished
8037 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * text.C (paintLastRow): use the label font instead of the font of
8040 the last character to compute the size of *_BOX. This makes more
8041 sense and avoids a crash with empty paragraphs.
8042 Use Painter::rectangle to draw EMPTY_BOX.
8044 2001-12-19 Juergen Vigna <jug@sad.it>
8046 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8047 the paragraphs if the replaced paragraph is not the first one!
8048 Tried to delete not used paragraphs but does not work yet so for
8049 now it's inside #ifdef's and by default off!
8051 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8053 * MenuBackend.C: include "lyx_main.h" instead of declaring
8054 lastfiles (actually was declared as LastFiles* instead of a
8057 2001-12-17 Juergen Vigna <jug@sad.it>
8059 * tabular.C (AppendColumn): applied John's fix
8061 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8065 * BufferView_pimpl.h:
8066 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8069 * box.h: new start of class for above
8071 * lyxfunc.C: ignore space-only minibuffer dispatches.
8072 Show the command name when it doesn't exist
8074 * minibuffer.C: don't add empty lines to the history
8076 * minibuffer.C: add a space on dropdown completion
8078 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8080 * text.C: fix line above/below drawing in insets
8082 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8084 * lyxlength.C (LyXLength): Initialize private variables.
8086 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8089 when inserting error insets.
8091 2001-12-13 Juergen Vigna <jug@sad.it>
8093 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8094 actually sometimes the before-paragraph.
8095 (setUndo): don't clear the redostack if we're not actually undoing!
8097 2001-12-06 Juergen Vigna <jug@sad.it>
8099 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8100 and fixed redoing of main paragraph, so we can use it now ;)
8102 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8104 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8106 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8109 2001-12-13 André Pönitz <poenitz@gmx.net>
8112 * undo_func.C: minor cleanup
8114 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8116 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8117 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8118 font in urw-fonts package which is marked as -urw-fontspecific and
8119 does not work (incidentally, changing the encoding in the
8120 fonts.dir of this package to -adobe-fontspecific fixes the
8123 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8124 is a crash when undoing first paragraph (Juergen, please take a
8125 look). THis does not mean the undo fix is wrong, just that it
8128 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8129 the (Paragraph*) version when needed instead of duplicating the
8132 * text.C (workWidth): use Inset::parOwner to find out where the
8133 inset has been inserted. This is a huge performance gain for large
8134 documents with lots of insets. If Inset::parOwner is not set, fall
8135 back on the brute force method
8137 * paragraph_pimpl.C (insertInset):
8138 * paragraph.C (Paragraph):
8139 (cutIntoMinibuffer): set parOwner of insets when
8140 inserting/removing them
8142 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8144 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8150 * mathed/formulabase.C:
8151 * mathed/math_cursor.[Ch]:
8152 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8155 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8157 * lyxlength.[Ch] (operator!=): new function
8159 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8161 * text.C (workWidth): use Inset::parOwner to find out where the
8162 inset has been inserted. This is a huge performance gain for large
8163 documents with lots of insets. If Inset::parOwner is not set, fall
8164 back on the brute force method
8166 * paragraph_pimpl.C (insertInset):
8167 * paragraph.C (Paragraph):
8168 (cutIntoMinibuffer): set parOwner of insets when
8169 inserting/removing them
8171 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8173 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8175 * tabular-old.C (getTokenValue):
8176 * tabular.C (getTokenValue):
8177 (write_attribute): new versions for LyXLength
8178 (everywhere): adjust the use of widths
8180 * tabular.h: change the type of widths from string to LyXLength
8182 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8184 * paragraph.C: fixed missing line number count when exporting
8185 Environments to LaTeX file
8187 * buffer.C: added informational message for checking line numbers.
8189 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8192 paragraph, do the 'double space' part, but not the 'empty
8195 * text.C (workWidth): small optimization
8196 (getLengthMarkerHeight): use minimal size for negative lengths.
8198 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8200 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8202 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8204 2001-12-11 André Pönitz <poenitz@gmx.net>
8207 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8209 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8211 * text2.C: keep selection on a setFont()
8213 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8215 * lyx_cb.C: another bv->text misuse, from insert label
8217 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8220 * kbsequence.C: re-instate nmodifier mask
8222 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8224 * lyx_main.h: make lyxGUI private.
8226 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8228 * lyxfind.C: place the cursor correctly on failed search
8230 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8232 * text.C (getLengthMarkerHeight): for small heights, the arrows
8233 are not always on top/bottom of the text
8234 (drawLengthMarker): smaller arrows; take the left margin in
8235 account; draw also vfills.
8237 (paintLastRow): remove special code for vfill and standard spaces,
8238 since everything is handled in drawLengthMarker now.
8240 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * buffer.C (insertErtContents): try to handle font and language
8243 interaction a bit better.g
8245 * ColorHandler.C (updateColor): change the hash to cover the whole
8246 LColor enum, ws cleanup
8247 (getGCLinepars): ditto
8248 (getGCLinepars): only lookup in the linecache once.
8250 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8252 * iterators.C (operator++): Make the iterator more robust
8254 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8256 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8258 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8261 * text.C: better added space drawing
8263 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8266 * BufferView2.C: fix layout combo update on inset unlock
8268 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8270 * Makefile.am: don't compile unused files
8272 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8276 * LyXAction.C: remove old LFUN_LAYOUTNO
8278 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8280 * paragraph_pimpl.h:
8281 * paragraph_pimpl.C: isTextAt() doesn't need font param
8283 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8286 * lyxlex.C: little cleanup
8288 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8290 * BufferView_pimpl.C: fix insertAscii for insets
8292 2001-12-05 Juergen Vigna <jug@sad.it>
8294 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8295 set the right font on the "multi" paragraph paste!
8297 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8303 * lyxlength.C: remove out-commented code.
8319 * vc-backend.C: change "while(" to "while ("
8321 * lyxlength.[Ch]: add zero function to check if length is zero or
8323 * lyxgluelength.C: use it
8325 2001-12-05 Allan Rae <rae@lyx.org>
8327 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8328 Works for 2.95.3, from what I understand of Garst's reports this should
8329 work for other g++ versions. We're screwed if the abs(int) definition
8330 changed between bugfix releases of gcc.
8332 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8334 * text.C: fix chapter label offset !
8336 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8339 * text.C: fix hfill at end of line, clean up
8341 2001-12-04 Juergen Vigna <jug@sad.it>
8343 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8344 that we force an update of the inset and it's owners if neccessary.
8346 2001-12-03 Juergen Vigna <jug@sad.it>
8348 * text.C (rowLast): simplified code
8350 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8352 * lyxfunc.C: fix show options on timeout
8354 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8356 * screen.C (topCursorVisible): scroll half a page when the cursor
8357 reached top of bottom of screen
8359 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8361 * minibuffer.C: deactivate on loss of focus
8363 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8365 * vspace.[Ch] (operator!=): add operator.
8367 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8369 * BufferView_pimpl.C: refuse to open an inset when
8370 there's a selection.
8372 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8374 * BufferView_pimpl.C: allow to click on RHS of full row insets
8376 2001-11-30 Juergen Vigna <jug@sad.it>
8378 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8379 insets for undo reasons.
8381 2001-11-28 André Pönitz <poenitz@gmx.net>
8383 * vspace.[Ch]: cosmetical changes
8385 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8395 * kbsequence.C: part re-write of old kb code
8398 * WorkArea.C: remove Lgb_bug_find_hack
8400 2001-11-30 José Matos <jamatos@fep.up.pt>
8402 * buffer.C (makeDocBookFile): add a comment to point a hack.
8403 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8404 Fixed a double write of labels.
8406 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8409 * LaTeX.h Fixed bug in LaTeX class where it would not
8410 re-run latex if no depfiles were changed, but the .dvi was removed.
8412 2001-11-28 André Pönitz <poenitz@gmx.net>
8414 * all the files from the change on 2001/11/26:
8415 use lyx::layout_type instead of LyXTextClass::size_type
8416 use lyx::textclass_type instead of LyXTextClassList::size_type
8418 2001-11-29 Juergen Vigna <jug@sad.it>
8420 * text.C: added support for paragraph::isFreeSpacing()
8422 * buffer.C: same as above
8424 * paragraph.h: inserted isFreeSpacing() function to enable
8425 FreeSpacing inside InsetERT.
8427 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8428 of the paragraph's in the cut/copy buffer to 0!
8430 * text2.C (removeRow): remove the assert as it can!
8432 * lyxtext.h: added helper function firstRow returning firstrow and
8433 made firstrow private again.
8435 * BufferView2.C (lockInset): don't relock if we're already locked!
8437 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8439 (removeRow): added Assert::(firstrow)
8441 * debug.C: forgot to add INSETTEXT here.
8443 2001-11-28 Juergen Vigna <jug@sad.it>
8445 * sp_spell.C (initialize): changed error text to more general
8446 spellchecker command use (not only ispell!)
8448 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8450 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8452 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8454 * vspace.C: initialise lyxgluelength on failure
8456 2001-11-28 Allan Rae <rae@lyx.org>
8458 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8459 declaration & definition that looks like a function declaration.
8461 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8463 * BufferView2.C (copy):
8464 (copyEnvironment): do not clear the selection when doing a copy.
8466 * text.C (paintFirstRow): compilation fix
8468 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8470 * tabular.C (Latex): correct line count when writing latex.
8472 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8474 * paragraph_pimpl.h:
8475 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8478 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8482 * LColor.C: change vfillline->added_space
8484 * text.C: add markers and text for added space
8486 * vspace.C: fix comment
8488 2001-11-28 André Pönitz <poenitz@gmx.net>
8490 * paragraph.C: whitespace changes
8491 * all the other files from the change on 2001/11/26:
8492 change *::pos_type into lyx::pos_type
8494 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8496 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8497 language of the document when inserting error insets.
8499 2001-11-26 André Pönitz <poenitz@gmx.net>
8501 * BufferView_pimpl.[Ch]:
8509 * paragraph_pimpl.[Ch]:
8512 * text2.C: reduce header dependencies, introduce type for positions
8514 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8516 * <various>: change to use Alert.h
8518 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8520 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8521 when encountering an unknown token.
8522 (readLyXformat2): Show an error message if there were unknown tokens.
8524 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8527 * BufferView_pimpl.C:
8531 * text2.C: use par->isInset()
8533 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8535 * paragraph_pimpl.h:
8536 * paragraph_pimpl.C: cleanup
8538 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8540 * text2.C (removeRow):
8541 * text.C (setHeightOfRow): remove useless (and costly) call to
8544 2001-11-20 Allan Rae <rae@lyx.org>
8546 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8547 Now need Inset*::checkInsertChar() to return true for appropriate
8548 cases so that the characters in the minibuffer will actually be
8551 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8553 * text.C: change the order of the includes.
8554 (workWidth): initialize it at once.
8555 (workWidth): make maxw unsigned
8556 (setHeightOfRow): remove unused variable (inset)
8557 (selectSelectedWord): remove unused variable (inset)
8558 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8560 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8562 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8563 server is not running.
8565 (closeConnection): add debug info when server is disabled.
8567 * ColorHandler.C (getGCForeground): send debug message to GUI
8570 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8572 * kbmap.C (bind): modify because return conventions of
8573 kb_sequence::parse have changed.
8575 * kbsequence.C (parse): only ignore spaces and not any stupid
8576 control character. This avoids tests like s[i] <= ' ', which are
8577 guaranteed to fail with 8bit characters and signed chars.
8578 Change return code to string::npos when there have been no error
8579 (0 was a bad idea when error is at first character)
8581 2001-11-14 José Matos <jamatos@fep.up.pt>
8584 * buffer.C (simpleDocBookOnePar): removed unused argument.
8586 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8589 insets which are part of a word. Paragraph::isLetter takes care of
8590 that now. Use Paragraph::isInset to identify insets.
8591 (selectSelectedWord): do not test for hyphenation break.
8593 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8594 that protected spaces are considered as spaces.
8596 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8599 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8602 * lyxserver.C: fix it. and small cleanup.
8604 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8606 * BufferView_pimpl.C: use inline helpers
8609 * LaTeXFeatures.C: fix typos
8612 * Spacing.C: move spacing_string into class
8614 * ToolbarDefaults.C: move stuff into namespace anon
8616 * layout.h: update enum
8618 * lyxfunc.C: use better debug
8620 * minibuffer.h: fix typo
8624 * WorkArea.C: add and use Debug::WORKAREA
8628 * text2.C: code re-organisation, inline helpers
8630 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8632 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8633 std::vector.empty().
8635 2001-11-09 Allan Rae <rae@lyx.org>
8637 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8638 '\n's after tables. Tabular and ERT inset work now makes this no
8641 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8644 * minibuffer.C: fix crash, improve drop-down completion
8646 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8649 * lyxserver.C: invalidate fd's when doing endPipe()
8651 2001-11-08 José Matos <jamatos@fep.up.pt>
8653 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8654 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8657 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8659 2001-11-07 José Matos <jamatos@fep.up.pt>
8662 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8665 * buffer.C (sgmlOpenTag):
8666 * buffer.C (sgmlCloseTag): removed debug info.
8668 * buffer.h (sgmlOpenTag):
8669 * buffer.h (sgmlCloseTag): made public.
8671 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8673 * buffer.C (saveParamsAsDefaults):
8674 * lyx_cb.C (MenuLayoutSave): remove
8676 * LyXAction.C (init):
8678 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8680 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * buffer.C (setPaperStuff): removed from here...
8684 * bufferparams.C (setPaperStuff): ... and moved there.
8686 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8690 * XFormsView.C: add support for drop-down completion
8692 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8694 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8697 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8702 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8704 * lyx_main.C: change ref to known bugs
8706 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8708 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8709 to work around older babel problems.
8711 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8713 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8715 2001-10-24 Juergen Vigna <jug@sad.it>
8717 * tabular-old.C (ReadOld): below variable changes reflected.
8719 * tabular.[Ch]: added ltType struct for longtable header/footer
8720 defines and changed all instances where they are used. Added
8721 future support for double top/bottom rows.
8723 2001-10-24 José Matos <jamatos@fep.up.pt>
8725 * buffer.h (docbookHandleCaption):
8726 * buffer.C (docbookHandleCaption): removed unused function.
8727 (makeDocBookFile): moved docbook supported version to v4.1.
8729 2001-10-24 José Matos <jamatos@fep.up.pt>
8732 * tabular.C (docbookRow): new function to export docbook code of a row.
8733 (DocBook): now honors the longtable flags.
8735 2001-10-23 José Matos <jamatos@fep.up.pt>
8738 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8739 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8741 * buffer.C (makeLinuxDocFile):
8742 (makeDocBookFile): reworked the preamble, more clean, and with
8743 support for lyx defined entities. Changed the document declaration
8744 to be more XML friendly.
8746 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8747 if we need to output XML that should be done with a filter.
8749 2001-10-22 Juergen Vigna <jug@sad.it>
8751 * sp_pspell.h (class PSpell): add alive function needed in the
8752 controller to see if the spellchecker could be started.
8754 2001-10-22 Juergen Vigna <jug@sad.it>
8756 * buffer.C (insertStringAsLines): modify the font for inserting
8757 chars in certain conditions by calling checkInsertChar(font).
8759 2001-10-19 Juergen Vigna <jug@sad.it>
8761 * text.C (workWidth): use getRow instead of wrong algorithm.
8762 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8764 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8769 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8771 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8773 * text.C (workWidth): do not search for the exact row when
8774 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8775 optimization for big documents.
8777 2001-10-18 Juergen Vigna <jug@sad.it>
8779 * text.C (workWidth): new function with added Inset * parameter.
8781 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8783 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8785 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8786 change return type of getColumnNearX.
8789 * text.C (changeRegionCase): use uppercase/lowercase instead of
8792 (rightMargin): simplify code by factoring out the uses of
8797 (appendParagraph): use Paragraph::size_type
8799 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8801 * vspace.C (asLatexString): add a missing break
8803 2001-10-15 Herbert Voss <voss@perce.de>
8805 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8807 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8809 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8812 2001-10-10 André Pönitz <poenitz@gmx.net>
8814 * lyxfunc.C: removed greek_kb_flag.
8816 2001-10-10 Herbert Voss <voss@perce.de>
8818 * lyx_main.C: delete global string help_lyxdir.
8820 2001-10-09 Herbert Voss <voss@perce.de>
8822 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8824 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8826 * lyx_main.C: added global string help_lyxdir.
8828 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8830 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8832 * lyxrc.C (set_font_norm_type): support iso8859-4
8834 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8836 * LaTeX.C (deplog): add another regex for MikTeX
8838 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8840 * lyxrc.C (set_font_norm_type): support iso8859-3
8842 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8844 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8846 * LaTeXFeatures.C: remove special case of french and index
8848 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8849 before \begin{document}). This solves several incompatibilities.
8851 2001-10-03 Garst Reese <reese@isn.net>
8853 * lyx_cb.C: change CheckTex error msg.
8855 2001-10-03 José Matos <jamatos@fep.up.pt>
8857 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8859 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8861 * .cvsignore: update
8863 * lyx_main.C (commandLineVersionInfo): use new style version info.
8865 * buffer.C (writeFile):
8868 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8870 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8872 * version.h: update to use stuff in version.C
8874 * version.C.in: new file. Contains version information determined
8875 at compile time. This is a merging of version.h and
8878 2001-10-03 Juergen Vigna <jug@sad.it>
8880 * BufferView_pimpl.C (update): don't change "dirty" status in
8883 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8885 * WorkArea.C (c-tor): re-position version string slightly.
8887 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8889 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8890 revert to previous code.
8892 WorkArea.[Ch]: (show, destroySplash): methods removed.
8894 WorkArea.C: rework code so that it's an amalgam of the codes before and
8895 after the splash screen was moved to WorkArea.
8897 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8900 * vspace.C (inPixels):
8903 * buffer.C (insertStringAsLines):
8904 (asciiParagraph): fix types to be large enough
8906 * lyxlex_pimpl.h: change member status from short to int
8908 * layout.h: fix type of endlabeltype
8911 * kbsequence.C (parse): change return type to string::size_type
8913 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8916 * Bullet.C (bulletSize):
8917 (bulletEntry): do not use short ints as parameters
8919 * BufferView2.C (insertLyXFile): change a char to an int.
8921 * WorkArea.C (WorkArea): remove unneeded floats in computation
8923 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8925 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8927 * paragraph.C (asString): Do not ignore newline/hfill chars when
8928 copying to the clipboard.
8930 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8932 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8933 after a multi-line inset.
8935 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8937 * paragraph.C (validate): Set NeedLyXFootnoteCode
8939 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8941 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8942 and decrease-error to decrease.
8944 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8946 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8947 it more readable (should be equivalent)
8949 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8951 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8953 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8955 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8956 of a cursor (row, etc.) after a character has been deleted
8957 (deleteEmptyParagraphMechanism): call the method above on _all_
8958 cursors held by the LyXText when a double space has been
8961 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8963 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8965 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8967 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8968 background. Use greyOut() and the new show() methods to toggle between
8969 the foreground and background. Add code to remove the splash after
8970 its initial showing.
8972 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8973 (create_forms): no longer call Dialogs::showSplash.
8975 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8977 * .cvsignore: add version_info.h
8979 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8981 * version_info.h.in: new file
8983 * Makefile.am: add version_info.h.in
8985 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8986 version_info.h instead of VERSION_INFO
8988 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8990 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8991 The ERT inset now returns string().
8993 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8995 * lyxtext.h, text.C (selectNextWord): renamed as
8996 selectNextWordToSpellcheck.
8998 * text.C (selectNextWordToSpellcheck): Modified to not select
8999 words inside an ERT inset.
9001 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9003 * lyx_cb.C (MenuLayoutSave): change a bit the question
9005 * sp_base.h: include <sys/types.h>
9007 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9009 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9011 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9013 * several files: fix typos in user-visible strings
9015 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9017 * text2.C (pasteSelection): do not set the selection, since it
9018 will be cleared later. Actually, the intent was to fix the way the
9019 selection was set, but I figured rmoving the code was just as good.
9021 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9023 * FontLoader.C (available): Check if font is available without
9026 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9028 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9030 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9032 * lyxrc.[Ch]: added display_graphics variable and associated code.
9034 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9036 * bufferparams.C (hasClassDefaults): new method. Returns true if
9037 the buffer parameters correspond to known class defaults
9039 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9041 * XFormsView.C (show): set minimum size to the main window.
9043 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9045 * text2.C (copySelection):
9047 * lyxfind.C (LyXReplace):
9048 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9049 LyXText::selectionAsString.
9051 * paragraph.C (asString): add "label" argument to the second form
9053 * text2.C (selectionAsString): add "label" argument and pass it to
9054 Paragraph::asString.
9056 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9058 * lyx_main.C (commandLineHelp): remove version information
9060 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9062 * lyx_main.C: add -version commandline option
9064 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9066 * paragraph.h: make the optional constructor arg required instead.
9067 some modifications to other files because of this.
9069 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9071 * lyxserver.C (C_LyXComm_callback): make it static
9073 * lyx_main.C (error_handler): make it static
9075 * lyx_gui.C (LyX_XErrHandler): make it static
9077 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9079 * WorkArea.C: make the extern "C" methods static.
9081 * Makefile.am (lyx_LDADD): simplify
9083 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9085 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9086 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9088 * LyXAction.C (init):
9089 * lyxfunc.C (dispatch): associated code removal.
9091 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9093 * lyxfont.h (isSymbolFont): shut off warning
9095 * text.C (setHeightOfRow):
9096 (getVisibleRow): fix crash with empty paragraphs which have a
9099 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9101 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9104 2001-09-04 José Matos <jamatos@fep.up.pt>
9107 * tabular.C (docbook): rename docBook method to docbook.
9109 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9111 * Makefile.am: add dependencies to main.o.
9113 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9115 * FontLoader.C (available): Return false if !lyxrc.use_gui
9117 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9119 * FontInfo.C (query):
9120 * converter.C (view):
9121 * importer.C (Import):
9122 * exporter.C (Export): Can not -> cannot.
9124 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9126 * BufferView_pimpl.C: allow to create index inset even if
9129 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9131 * buffer.C (getLists): replace boost::tie code with an explicit pair
9132 as boost::tie can break some compilers.
9134 * iterators.h: Added a std:: declaration to the return type of
9137 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9139 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9142 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9144 * iterators.[Ch]: New files. Provide paragraph iterators.
9146 * buffer.C (changeLanguage): Use paragraph iterators.
9147 (isMultiLingual): ditto
9149 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9151 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9153 * FontLoader.C: Support for cmr font.
9155 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9157 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9158 (available): New method.
9160 * FontInfo.C (getFontname): Use scalable fonts even when
9161 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9164 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9166 * converter.C (Formats::view): reverted! Incorrect fix.
9168 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9170 * converter.C (Formats::view): only output the -paper option
9171 if the dvi viewer is xdvi, thereby fixing bug #233429.
9173 2001-08-23 Herbert Voss <voss@perce>
9175 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9177 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9179 * Spacing.h (Spacing): Set space to Default on in the default
9182 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9184 * vc-backend.h (RCS::versionString): add RCS to version
9185 (CVS::versionString): add CVS to version
9187 * vc-backend.C (scanMaster): do not add CVS to version.
9188 (scanMaster): do not add RCS to version
9190 * lyxvc.C (versionString): new method
9192 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9194 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9196 * Spacing.C (set): initialize fval
9198 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9200 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9203 2001-08-16 Juergen Vigna <jug@sad.it>
9205 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9207 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9209 * BufferView_pimpl.C:
9212 * text2.C: setParagraph takes linespacing now
9214 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9216 * LyxAction.C: add internal LFUN_CITATION_INSERT
9218 * LyXView.C: actually apply fix
9220 * bufferlist.C: fix open non-existent file
9222 * lyxfind.C: fix indentation
9224 * lyxfunc.C: remove unneeded assert, fix typo
9226 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9228 * MenuBackend.C: use "Floatname List"
9230 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9232 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9233 when converting LaTeX layout to insetERT.
9234 Generate a non-collapsed float when reading old float
9236 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9238 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9241 2001-08-13 Juergen Vigna <jug@sad.it>
9243 * text.C (fill): return 0 instead of 20 as this seems to be the more
9246 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9248 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9251 2001-08-13 Juergen Vigna <jug@sad.it>
9253 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9255 (SearchBackward): comment out the unlocking of the inset_owner this
9256 should not be needed!
9258 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9260 * Many files: Remove inherit_language, and add latex_language
9262 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9265 2001-08-10 Juergen Vigna <jug@sad.it>
9267 * text.C (prepareToPrint): fixed hfill-width in draw!
9269 * BufferView2.C (selectLastWord): save the selection cursor as this
9270 now is cleared in the function LyXText::clearSelection!
9272 2001-08-08 Juergen Vigna <jug@sad.it>
9274 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9275 BACKSPACE type functions.
9277 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9278 is only cutted from the document but not put in the cut-buffer, where
9279 still the old stuff should be.
9281 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9283 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9285 * tabular.C (SetWidthOfCell): fixed special case where the width
9287 (LeftLine): handle '|' in align_special.
9289 (LeftAlreadyDrawed): ditto
9290 (SetWidthOfCell): ditto
9292 2001-08-07 Juergen Vigna <jug@sad.it>
9294 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9296 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9299 * lyxlex.[hC]: ditto
9301 2001-08-06 Juergen Vigna <jug@sad.it>
9303 * text.C (getVisibleRow): fix up row clearing a bit.
9305 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9307 * minibuffer.C: make sure the X server sees the changes in the input.
9309 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9311 * paragraph.C (getFont): split into...
9312 (getLabelFont): this
9313 (getLayoutFont): and this
9314 * paragraph_pimpl.C (realizeFont): calling this
9316 * text2.C (getFont): split into...
9317 (getLayoutFont): this
9318 (getLabelFont): and this
9319 (realizeFont): all three calling this
9321 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9324 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9326 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9328 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9330 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9331 layouts from the Quote inset insertion.
9333 2001-08-03 Juergen Vigna <jug@sad.it>
9335 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9337 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9338 only if status not is already CHANGED_IN_DRAW (second level).
9340 * text.C (draw): don't set the need_break_row when inside an
9343 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9345 * buffer.C (parseSingleLyXformat2Token): handle more latex
9348 * bufferview_funcs.[hC]: change function names to
9349 begin with small char, adjust other files.
9351 2001-08-02 André Pönitz <poenitz@gmx.net>
9354 BufferView_pimpl.C: remove broken special code for math-greek
9356 2001-08-02 Juergen Vigna <jug@sad.it>
9358 * BufferView_pimpl.C (update): redone this function so that we
9359 update the text again if there was a CHANGE_IN_DRAW.
9361 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9362 (drawFromTo): added a new internal bool which is used by draw() and
9364 (general): some cursor drawing problems fixed.
9366 2001-08-01 Juergen Vigna <jug@sad.it>
9368 * lyxfind.C (LyXFind): fixed
9369 (SearchForward): ditto
9370 (SearchBackward): ditto
9372 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9373 spurius drawing of the cursor in the main area.
9375 * text2.C (status): small fix which could lead to a segfault!
9376 (clearSelection): remove unneeded BufferView param.
9378 2001-08-01 André Pönitz <poenitz@gmx.net>
9380 * lyxfunc.C: small change due to changed mathed interface
9382 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9384 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9386 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9388 * lyxfunc.c: fail gracefully if file doesn't exist
9393 * BufferView_pimpl.C: IsDirWriteable() proto changed
9395 * LyXView.C: fix updateWindowTitle() to store the last title
9397 2001-07-31 Juergen Vigna <jug@sad.it>
9399 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9400 the font (wrong since using of Paragraph::highestFontInRange).
9402 * paragraph.C (highestFontInRange): added a default_size parameter.
9404 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9405 (setHeightOfRow): reformat
9407 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * converter.[hC] + affected files: move to (inital-char)lowercase
9412 * ParagraphParameters.C (ParagraphParameters): remove commented code
9414 * PainterBase.[Ch]: remove commented code
9416 * LaTeXFeatures.h: add "bool floats" for float.sty
9418 * LaTeXFeatures.C (LaTeXFeatures): init floats
9419 (require): handle float
9420 (getPackages): do it with floats
9422 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9424 * BufferView_pimpl.C (Dispatch): improve handling of
9425 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9427 * commandtags.h: #include lyxfont.h here temporarily to avoid
9430 * bufferlist.h: include LString.h here.
9432 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9434 * text2.C (getStringToIndex): new method.
9436 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9438 * *: Reduced header file dependencies all over.
9440 2001-07-30 Baruch Even <baruch@lyx.org>
9442 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9444 2001-07-29 Baruch Even <baruch@lyx.org>
9446 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9448 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * ParameterStruct.h (endif): add a default constructor to make
9451 sure that all variables is initialized.
9453 * ParagraphParameters.C (ParagraphParameters): adjust
9455 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9457 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9458 index; also, check that there is something to index, and that it
9459 does not span over several paragraphs.
9460 (doubleClick): use WHOLE_WORD_STRICT for double click.
9462 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9464 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9467 2001-07-26 Baruch Even <baruch@lyx.org>
9469 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9470 an InsetFig figure, backwards compatible reading of old figure code.
9472 2001-07-27 Juergen Vigna <jug@sad.it>
9474 * text2.C: font.realize function adaption.
9476 * text.C (draw): add a warnings lyxerr text if needed.
9478 * layout.C: font.realize function adaption.
9480 * language.C: add inherit_language and implement it's handlings
9482 * bufferview_funcs.C (StyleReset): remove language parameter from
9483 font creation (should be language_inherit now).
9485 * bufferparams.C (writeFile): handle ignore_language.
9487 * paragraph.C (getFontSettings): the language has to be resolved
9488 otherwise we have problems in LyXFont!
9490 * lyxfont.C (lyxWriteChanges): added document_language parameter
9491 (update): removed unneeded language parameter
9493 * paragraph.C (validate): fixed wrong output of color-package when
9494 using interface colors for certain fonts in certain environments,
9495 which should not seen as that on the final output.
9497 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9499 * BufferView_pimpl.C:
9504 * LyXAction.C: add thesaurus support
9507 * lyxfind.C: add "once" parameter, for thesaurus, to not
9508 move to the next match
9510 2001-07-26 Juergen Vigna <jug@sad.it>
9512 * lyxfont.C (realize): honor ignore_language too!
9515 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9517 * text.C (draw): one place more for ignore_language to not draw
9520 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9522 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9524 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9526 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9527 the minipage conversion problem.
9529 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9534 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9536 * BufferView.h: don't forward declare WorkArea
9538 * BufferView.C: don't include WorkArea.h
9540 2001-07-25 André Pönitz <poenitz@gmx.net>
9544 * lyxfunc.C: new LFUN 'math-space'
9546 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9548 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * text2.C (toggleInset): call open/close
9552 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9554 * lyxfunc.C (dispatch): add debug for the disabled case
9556 * font.C (buttonText): make similar to rectText
9558 * buffer.C (readInset): comment out parsing of insetlist and
9561 * PainterBase.C (rectText): small correction
9563 * BufferView_pimpl.C: comment out insettheorem and insetlist
9564 * LyXAction.C: ditto
9565 * commandtags.h: ditto
9567 2001-07-24 Juergen Vigna <jug@sad.it>
9569 * text.C (draw): honor the ignore_language.
9571 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9573 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9575 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9578 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9580 * lyxtext.h: remove unused (and unimplemented) methods
9582 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9584 * text.C (getVisibleRow): honor background color
9587 * Painter.h: remove default color argument for fillRectangle
9589 * text.C (backgroundColor): new method
9591 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9593 * text.C (getVisibleRow): adjust
9595 * font.[Ch] (rectText): new method, metrics
9596 (buttonText): new method, metrics
9598 * PainterBase.[hC]: make rectText and buttonText always draw and take
9601 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9603 * ToolbarDefaults.C (read):
9604 * MenuBackend.C (read): allow escaping in all strings
9606 * BufferView_pimpl.C (insertAndEditInset): new method.
9607 (Dispatch): use insertAndEditInset whenever appropriate.
9609 * BufferView_pimpl.C (insertNote): removed
9611 * BufferView_pimpl.C (smartQuote): new method, moved from
9612 BufferView; if an insetquote cannot be inserted, insert a '"'
9615 * BufferView2.C: remove insertCorrectQuote();
9617 * lyxfunc.C (getStatus): Add support for all remaingin
9620 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9622 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9623 command (necessary to pass " as parameter of self-insert.
9625 * text.C (selectWordWhenUnderCursor):
9626 (selectWord): add word_location parameter
9627 (selectWordWhenUnderCursor): same + remove special code for word
9629 (selectNextWord): use kind() to guess type of insetspecialchar,
9632 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9633 (insertErtContents): create ert insets as collapsed.
9634 (readInset): better compatibility code for Info inset.
9636 2001-07-20 Juergen Vigna <jug@sad.it>
9638 * lyxfunc.C (dispatch): use always LyXFind now!
9640 * text2.C (init): add a reinit flag so that the LyXText can be
9641 reinited instead of deleted and reallocated (used in InsetText).
9643 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9649 2001-07-18 Juergen Vigna <jug@sad.it>
9651 * text.C (selectNextWord): handle insets inside inset by calling
9652 always the bv->text functions so that we can go up the_locking_inset!
9654 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9655 in strange locations when inside an inset!
9657 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9658 handling to include insets.
9660 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9662 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9664 * LyXAction.C (init):
9666 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9667 LIGATURE_BREAK, since the name is so stupid.
9669 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9671 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9674 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9676 * sp_form.[Ch]: remove.
9678 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9680 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9683 * src/buffer.C (readInset): ditto.
9685 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9687 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9688 menuSeparator(), endOfSentenceDot(), ldots() and
9689 hyphenationPoint(), which are therefore removed.
9690 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9692 * LyXAction.C (init):
9693 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9695 * paragraph.C (getWord): removed.
9697 * BufferView_pimpl.C (Dispatch): use last word or selection for
9698 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9700 * lyx_main.C (queryUserLyXDir): do not ask before creating
9701 user_dir, except if it has been named explicitely.
9703 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9705 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9706 a document of zero size.
9708 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9710 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9711 approriately in the c-tor and in require().
9712 (getPackages): output the appropriate LaTeX for natbib support.
9714 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9715 variables "use_natbib" and "use_numerical_citations" when reading the
9717 (readInset): read the various natbib cite commands.
9718 (validate): white-space change.
9720 * bufferparams.[Ch]: new variables "bool use_natbib" and
9721 "bool use_numerical_citations".
9722 (writeFile): output them in the LyX file.
9724 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9726 * lyxfunc.C (getStatus): add support for all the inset insertion
9729 * text2.C (insertInset):
9730 * paragraph.C (insetAllowed):
9731 * BufferView_pimpl.C (insertInset): update to take in account the
9732 renaming of insertInsetAllowed
9734 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9736 * text2.C (getInset): new method. returns inset at cursor position.
9738 * BufferView_pimpl.C (Dispatch): changes because of this.
9740 * LyXAction.C (init): rename open-stuff to inset-toggle.
9742 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9744 * text2.C (toggleInset): renamed from openStuff; use
9747 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9749 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9751 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9753 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9755 * buffer.C (readLyXformat2): Add filename to the error dialog
9757 2001-07-18 Juergen Vigna <jug@sad.it>
9759 * tabular.C (GetCellNumber): put an assert here instead of the check!
9761 2001-07-17 Juergen Vigna <jug@sad.it>
9763 * BufferView_pimpl.C (toggleSelection): adapted too.
9765 * text.C (selectNextWord): adapted for use with insets.
9766 (selectSelectedWord): ditto
9768 2001-07-17 Juergen Vigna <jug@sad.it>
9770 * sp_spell.C (PSpell): fix initialitation order.
9772 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9774 * paragraph.C: spacing
9776 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9778 * sp_spell.C: repair language selection for pspell
9780 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9782 * lyxfunc.h: change more methods to begin with lower char.
9784 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9786 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9787 for unknown layouts.
9789 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9791 * buffer.C (readLyXformat2): Generate an error dialog if there are
9794 2001-07-16 Juergen Vigna <jug@sad.it>
9796 * sp_spell.C: always compile ISpell part.
9798 * lyxrc.C: added use_pspell entry and it's handling.
9800 2001-07-13 Juergen Vigna <jug@sad.it>
9802 * sp_spell.C: removed double includes.
9804 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9806 Consistent use of Lsstream.h:
9807 * Lsstream.h: added using std::stringstream for consistencies sake.
9809 * buffer.C: removed using std::stringstream
9811 * lyxfont.C (stateText):
9812 * paragraph.C (asString):
9813 * text.C (selectNextWord, selectSelectedWord):
9814 * text2.C (setCounter):
9815 * vspace.C (asString, asLatexString):
9816 std::ostringstream -> ostringstream.
9818 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9820 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9821 * commandtags.h: add LFUN_HELP_ABOUTLYX
9822 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9824 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9826 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9828 * lyx_gui_misc.C: remove spellchecker
9829 * lyxfunc.C: showSpellchecker
9831 * sp_ispell.h: added
9832 * sp_pspell.h: added
9834 * sp_form.[Ch]: removed
9835 * spellchecker.[Ch]: removed
9837 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9839 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9841 (simpleTeXSpecialChars): Simply print the input character without
9842 any special translation if pass_thru is set.
9844 * layout.h: Added bool pass_thru to layout class for being able to
9845 implement pass through of a paragraph for Literate Programming.
9847 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9848 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9849 * layout.C (Read): add "passthru" to list of layout tags and add
9850 code to set the pass_thru boolean when it is read.
9852 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * trans_decl.h: remove allowed from KmodInfo
9856 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9860 * paragraph_pimpl.C (erase): use boost::prior
9862 * Painter.C (text): use data() instead of c_str() when length is
9864 * WorkArea.C (putClipboard): ditto
9865 * font.h (width): ditto
9867 * BufferView2.C: use it-> instead of (*it). for iterators
9869 * paragraph_pimpl.C: ditto
9870 * paragraph.C: ditto
9871 * minibuffer.C: ditto
9876 * converter.C: ditto
9878 * Variables.C: ditto
9879 * TextCache.C: ditto
9880 * MenuBackend.C: ditto
9881 * LyXAction.C: ditto
9883 * FloatList.C: ditto
9885 * ColorHandler.C (LyXColorHandler): ditto
9887 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9889 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9891 * text2.C (openStuff): reintroduce this method (which had been
9892 nuked in NEW_INSETS frenzy).
9894 * lyxfunc.C (Dispatch): when an action has not been handled, use
9895 its name in the error message, not its number.
9897 * paragraph.C (inInset): change method name to begin with lowercase.
9900 * text2.C: updates because of this.
9902 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9904 * ToolbarDefaults.C (add): add spaces in error message
9906 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9908 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9909 (readLyXformat2): rename return_par to first_par, use lyxlex's
9910 pushToken and remove the manual push handling.
9911 (parseSingleLyXformat2Token): add another ert comp. variable:
9912 in_tabular, rename return_par to first_par. handle newlines better
9914 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9916 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9918 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9920 * text2.C (getParFromID): removed
9922 * buffer.C (getParFromID): new method moved form lyxtext.
9923 * BufferView2.C (insertErrors): adjust
9924 (setCursorFromRow): adjust
9925 * BufferView_pimpl.C (restorePosition): adjust
9926 * lyxfunc.C (Dispatch): adjust
9927 * undo_funcs.C (textUndo): adjust
9929 (textHandleUndo): adjust
9930 (textHandleUndo): adjust
9932 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * buffer.C: up' the LYX_FORMAT
9936 * lyxfont.h: turn NO_LATEX on as default
9938 * buffer.C (insertErtContents): new methods of tex style compability.
9939 (parseSingleLyXformat2Token): use it several places.
9940 * tabular.C (OldFormatRead): and here
9942 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * text2.C: remove some commented code.
9947 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9948 * trans.C: changes because of the above.
9950 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9952 * text2.C (setCounter): Fix counters bug with bibliography layout.
9954 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9956 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9957 own member functions
9958 (simpleTeXSpecialChars): ditto
9960 2001-07-06 Juergen Vigna <jug@sad.it>
9962 * a lot of files: changed the access to LyXText::status and the
9963 call of undo-functions.
9965 * undo.[Ch]: added a inset_id to the undo informations.
9967 * undo_funcs.[Ch]: added and moved here all undo functions.
9969 * lyxtext.h: give the status enum a weight, made status_ a private
9970 variable and made accessor functions for it, removed the whole bunch
9971 of undo-functions as they are now in their own file, make some
9972 functions publically available. Added function ownerParagraph with
9975 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9976 made InInset() a const function, added getParFromID() function.
9978 * buffer.[Ch]: added const version for inset_iterator functions,
9979 added getInsetFromID() function.
9981 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9982 changed undo functions for new version.
9984 2001-07-05 Juergen Vigna <jug@sad.it>
9986 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9987 unknow mechanism does not call the proper constructor but only this
9988 one also if I request the other!?
9990 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9992 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9994 * text2.C (LyXText): use initialization lists.
9996 * lyxtext.h (Selection): initialize set_ and mark_
9997 (init): remove method
9999 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10001 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10003 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10005 * screen.[Ch]: change method names to begin with lowercase
10007 * BufferView_pimpl.C (updateScrollbar): simplify further and
10008 hopefully make it a bit faster.
10010 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10012 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10013 calling directly xforms functions.
10015 * Painter.C (Painter):
10016 * lyx_cb.C (MenuWrite):
10017 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10020 * lyx_gui.C: remove bogus guiruntime extern declaration.
10022 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10024 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10026 (redoDrawingOfParagraph): ditto
10027 (redoParagraphs): ditto
10028 (cutSelection): don't create a object for CutAndPaste use the
10029 static method directly
10030 (pasteSelection): ditto
10032 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10035 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10037 * modifications to some other files because of this.
10039 * Makefile.am (lyx_SOURCES): add XFormsView
10041 * XFormsView.[Ch]: new files
10043 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10044 the main window. Move the gui dependent stuff to XFormsView
10046 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10048 * tabular.C (GetCellInset): update cur_cell also in the row/col
10049 version of this function.
10051 * lyxfunc.C: no need to include figure_form.h here.
10057 * lyxvc.C: no need to include forms.h here.
10059 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10061 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10063 * lyxfunc.C (Dispatch):
10065 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10066 constructor argument.
10068 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10070 * paragraph.C (Paragraph): dont't clear, and just set layout.
10071 (makeSameLayout): use params's copy contructor.
10073 * ParagraphParameters.[Ch] (makeSame): delete method
10075 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10077 * Variables.[Ch]: fix indentation, rename set to isSet
10079 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10081 * lyxfunc.C (Dispatch): fix typo
10083 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10085 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10088 * bufferlist.C: include assert.h for emergencyWrite().
10090 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10092 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10093 give up at last (bug #425202) !
10095 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10101 * spellchecker.C: strip spellchecker options and bring up
10102 preferences tab instead
10104 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10106 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10107 the istringstream constructor
10109 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10111 * paragraph.C (getLayout): fix return value
10113 * paragraph.h: do not declare getLayout as inline.
10115 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10117 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10119 * lyxcursor.h (operator<): new func
10120 (operator>): new func
10121 (operator>=): new func
10122 (operator<=): new func
10124 * text.C (changeCase): use selection.start and selection.end
10125 (changeRegionCase): require from to be <= to. Require par to be a
10128 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10130 2001-06-27 Juergen Vigna <jug@sad.it>
10132 * text.C (cursorLeftOneWord): changed to return the cursor and added
10133 overlay with BufferView * parameter which calls this one.
10135 (selectWord): use new getWord function.
10136 (changeCase): renamed from changeWordCase as and extended to work
10137 also on selections.
10139 * lyxtext.h: added enum word_location
10141 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10142 changeCase as this operates now also on selections.
10144 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10146 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10148 * many files: send debug output to Debug::INFO instead of
10151 * converter.C (View):
10153 (Move): send debug output to Debug::FILES instead of console.
10155 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10157 * lyxfunc.C (getStatus): use func_status
10159 * func_status.h: new header, describing the results of
10160 LyXFunc::getStatus;
10162 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10165 2001-06-25 The LyX Project <jug@sad.it>
10167 * buffer.C (sgmlOpenTag):
10169 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10171 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10173 * text2.C: remove some dead code
10175 * tabular.C (GetCellInset): store the last cell checked (gotten)
10177 * tabular.h: add the helper for the speedup
10179 * lyxtext.h: remove some dead code
10181 2001-06-26 The LyX Project <Asger>
10183 * paragraph.C: Change export to LaTeX of alignment to
10184 \begin{center} and family for better roundtrip work with reLyX.
10186 * Tune the math drawing a bit.
10188 2001-06-25 The LyX Project <Asger>
10190 * LColor.C (LColor): New color for math background. New color
10193 2001-06-25 The LyX Project <jug@sad.it>
10195 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10197 * lyxfunc.C (Open):
10198 * bufferlist.C (newFile): do not restrict to files ending with
10201 * BufferView_pimpl.C (MenuInsertLyXFile):
10203 2001-06-24 The LyX Project <jug@sad.it>
10205 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10208 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * lyxtext.h: rename most methods to begin with a small char.
10211 Lots of changes because of this.
10213 * paragraph.C (Paragraph): do not call fitToSize
10214 (erase): call Pimpl::erase
10215 (insertChar): call Pimpl::insertChar
10216 (insertInset): call Pipl::insertInset
10217 (breakParagraph): do not call fitToSize
10218 (breakParagraphConservative): do not call fitToSize
10219 (fitToSize): remove method
10221 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10223 2001-06-24 The LyX Project <Asger>
10225 * Fix Qt compilation^2
10227 2001-06-24 The LyX Project <jug@sad.it>
10229 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10230 depthHook(getDepth()-1).
10233 * ParagraphParameters.h:
10234 * ParameterStruct.h: change type of depth to unsigned int ==
10235 depth_type. Many adaptations to other files before of that.
10237 2001-06-24 The LyX Project <Asger>
10239 * Fix Qt compilation.
10241 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * paragraph.h: renamed several methods to begin with small letter.
10244 several changes to many parts of the code because of this.
10246 2001-06-23 The LyX Project <jug@sad.it>
10248 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10249 rewritten to discard all double spaces when KeepEmpty is off
10250 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10251 to only handle newlines but not fiddle with spaces and friends.
10253 * lyxfunc.C (MenuNew): when doing 'new from template', use
10254 template_path as default directory
10256 2001-06-23 The LyX Project <Asger>
10258 * Clean-up of header file includes all over
10259 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10261 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * paragraph.h: renamed from lyxparagraph.h
10265 2001-06-23 Asger <lyx@violet.home.sad.it>
10267 * Buffer.h: Removed Buffer::resize
10268 * BufferList.h: Removed BufferList::resize
10269 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10270 the document lazily when we change the width, or the font settings.
10272 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10274 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10276 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10278 * buffer.h: remove out of date comment
10280 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10283 * screen.C: fix "theoretical" GC leak
10285 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10287 * LaTeX.C (scanAuxFile):
10288 (deplog): remove trailing \r when reading stream (useful under
10291 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10293 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10294 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10295 and BufferView::theLockingInset(Inset*), so should use them and not
10296 access bv_->text->the_locking_inset directly.
10298 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10300 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10303 * tex-defs.h: remove old unused file
10305 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10307 * BufferView_pimpl.C: fix typo, remove minibuffer message
10308 when buffer has loaded
10310 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10312 * lyxfunc.C (Dispatch): use stringstream
10313 (MenuNew): use stringstream
10314 (Open): use stringstream
10316 * importer.C (Import): use stringstream
10318 * bufferview_funcs.C (CurrentState): use stringstream
10320 * LaTeX.C (run): use stringstream
10322 * BufferView_pimpl.C (savePosition): use stringstream
10323 (restorePosition): use stringstream
10324 (MenuInsertLyXFile): use stringstream
10326 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10339 * vspace.C: removed // -*- C++ -*- as first line.
10342 * version.h: added // -*- C++ -*- as first line.
10344 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10348 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10351 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10353 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10356 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10358 * gettext.C: include LString.h even when --disable-nls is on.
10360 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10362 * converter.h (Get): changed argument type from int to
10363 FormatList::size_type to avoid unnecessary conversion.
10365 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10368 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * gettext.h: include LString.h even when --disable-nls is on.
10372 2001-06-07 Juergen Vigna <jug@sad.it>
10374 * text.C (BreakAgain): subst spaces with tabs.
10376 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10377 (resizeInsetsLyXText): set force on resizeLyXText.
10379 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10381 * gettext.h (gettext_init):
10382 (locale_init): use a real definition instead of a macro
10384 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10386 * Bufferview_pimpl.C:
10388 * LColor.C: further lcolor tidies
10390 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10392 * BufferView_pimpl.C (updateScrollbar): simplify.
10394 * BufferView2.C: don't include insets/insetinfo.h, change
10395 prototype for insertInset and call the Pimpl version. let
10396 updateInset call Pimpl version.
10398 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10399 gotoInset to BufferView::Pimpl
10401 2001-06-01 Juergen Vigna <jug@sad.it>
10403 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10404 inside a LockingInset (is the update needed at all?).
10406 2001-05-31 Juergen Vigna <jug@sad.it>
10408 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10409 here not the old one otherwise how should we compare it afterwards
10412 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10417 * FontInfo.C: bring C functions into global namespace when
10420 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10422 * LString.h: make sure config.h has been loaded before LString.h.
10424 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10425 (one for each char read by EatLine!).
10427 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10430 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10433 to the same as the par we break from
10435 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10437 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10439 * MenuBackend.C (expand): also create menu entries for wide
10440 versions of the floats.
10442 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10444 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10446 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10447 frontends/Makefile.am
10453 * tabular.C (getTokenValue): add std::
10455 * tabular-old.C (getTokenValue): add std::
10456 (getTokenValue): ditto
10457 (getTokenValue): ditto
10459 * screen.C (ToggleSelection): adjust
10461 * lyxtext.h: put selection cursors inside a Selection struct.
10463 * lyxfunc.C (moveCursorUpdate): adjust
10465 * lyxfont.C (latexWriteStartChanges): add std::
10467 * lyxfind.C: adjust
10469 * font.h: delete with(char const *, LyXFont const &)
10471 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10473 * FontInfo.C (getFontname): add std::
10475 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10476 (workAreaButtonPress): adjust
10477 (tripleClick): adjust
10479 (moveCursorUpdate): adjust
10482 * BufferView2.C (gotoInset): adjust
10484 2001-05-30 Juergen Vigna <jug@sad.it>
10486 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10487 to check pspell I add this as default as I now have new pspell
10488 libraries and they seem to use this.
10490 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10492 * text2.C (CutSelection): make the cursor valid before the call to
10495 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10497 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10498 relied on 0 terminated strings and other horrors. Bug found due to
10499 the new assert in lyxstring!
10501 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10504 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10506 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10509 * lyxfunc.C (processKeySym): change method of getting to the
10512 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10513 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10514 * BufferView_pimpl.[Ch]: here as private methods.
10516 2001-05-28 Juergen Vigna <jug@sad.it>
10518 * text.C (SetHeightOfRow): added the update() call again as it is
10519 needed to initialize inset dimensions!
10521 2001-05-16 Juergen Vigna <jug@sad.it>
10523 * text2.C (SetCharFont): Add new function with BufferView * and
10524 bool toggleall parameters for setting insets internal fonts.
10525 (SetFont): Freeze the undo as we may change fonts in Insets and
10526 all this change should be inside only one Undo!
10528 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10529 setting font's in insets as for them we have the SetFont function!
10531 2001-05-15 Juergen Vigna <jug@sad.it>
10533 * text2.C (ClearSelection): to be sure we REALLY don't have any
10536 * tabular.C (TeXCellPreamble): fixed the left border problem for
10539 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10541 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10544 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10546 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10547 LFUN_BREAKPARAGRAPH.
10549 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10550 help test to "internal only", similar for LFUN_INSERT_URL
10552 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10553 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10554 auto_region_delete and deadkeys.
10556 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10559 * LColor.C: remove some dead entries, tidy a little
10561 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10563 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10565 (Dispatch): implement LFUN_ESCAPE
10567 * commandtags.h: add LFUN_ESCAPE
10569 * LyXAction.C (init): add entry for LFUN_ESCAPE
10571 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10572 Remove commented code.
10573 (insertNote): moved here
10574 (open_new_inset): moved here
10576 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10579 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10581 * kbmap.C (findbinding): clean it up and make it work correctly.
10583 * lyx_main.C (init): do not pass argc and argv as parameters
10585 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10587 * buffer.C: fix path for OS/2 & Win32
10591 * lyx_main.C: Added os:: class.
10593 * os2_defines.h: update
10595 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10597 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10598 better by trying again with reduced state.
10600 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10602 * lyxrc.C (read): print error about invalid key sequence only when
10603 debugging (because not all latinX keysyms are known to some X
10606 * kbsequence.C (getiso): add a few std:: qualifiers
10607 (getiso): comment out extra return statement.
10609 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10613 (Dispatch): enhance the accent inset a bit. (not perfect)
10615 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10619 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * bufferlist.C (emergencyWrite): fix assert() call
10623 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10625 * text.C (InsertChar): Added trivial patch to only send the "you
10626 can not do multiple spaces this way" message once during a
10629 2001-05-08 Baruch Even <baruch@lyx.org>
10631 * Makefile.am: Changed order of libraries to get LyX to link properly
10632 with the gnome frontend.
10634 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10636 * LaTeXFeatures.h: add a std:: qualifier
10638 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10640 * paragraph.C (String): use stringstream
10642 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10644 * paragraph.C (writeFile): remove footflag arg
10646 * buffer.C (makeLaTeXFile): use stringstream
10647 (latexParagraphs): remove footnot gurba
10649 * LaTeXFeatures.C (getPackages): use stringstream
10650 (getMacros): likewise
10651 (getTClassPreamble): likewise
10652 (getFloatDefinitions): new method
10654 * paragraph.C (writeFile): reindent
10657 * WorkArea.h: revert the xpos + etc changes.
10659 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10661 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10663 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10664 (pasteSelection): likewise
10665 * text2.C (CreateUndo): likewise
10667 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10669 * minibuffer.C (peek_event): temporarily reduce the functionality
10670 of the minibuffer (to allow args on lfuns)
10672 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10673 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10675 * buffer.C (readInset): add compability reading of old float
10676 lists, add reading of new style float list.
10677 (readInset): avoid reevaluation of inscmd.getCmdName()
10678 (getLists): reindent
10680 * MenuBackend.C (MenuItem): implement parsing of
10681 md_floatlistinsert and md_floatinsert.
10682 (expand::LastFiles): move initalizaton of iterators out of loop,
10683 avoid reevaluation.
10684 (expand::Documents): introduce typdedef vector<string> Strings,
10686 (expand::ExportFormats): introduce typedef vector<Format const *>
10687 Formats, and use it.
10688 (expand): implement FloatListInsert and FloatInsert.
10690 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10691 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10692 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10694 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10696 (Dispatch::LFUN_FLOAT_LIST): implement
10698 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10700 * LaTeX.C (run): Fix problem with --export code.
10702 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10704 * BufferView.[Ch] (workarea): removed.
10705 (getClipboard) new method; wrapper for workarea()->getClipboard()
10707 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10710 * WorkArea.h (width, height, xpos, ypos): These methods all
10711 returned the dimensions of the work_area sub-area of WorkArea,
10712 resulting in a position error if the WorkArea were resized. Now
10713 return the dimensions of the entire WorkArea.
10715 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10717 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * LaTeX.C (deplog): correct the syntax of regex reg1
10721 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10723 * undo.C: remove !NEW_INSETS cruft
10725 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10727 * text2.C: remove !NEW_INSETS cruft
10729 * text.C: remove !NEW_INSETS cruft
10731 * tabular.C: remove !NEW_INSETS cruft
10733 * spellchecker.C: remove !NEW_INSETS cruft
10735 * lyxtext.h: remove !NEW_INSETS cruft
10737 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10739 * lyxfunc.C: remove !NEW_INSETS cruft
10741 * lyxfind.C: remove !NEW_INSETS cruft
10743 * lyx_cb.C: remove !NEW_INSETS cruft
10745 * figureForm.C: remove !NEW_INSETS cruft
10747 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10749 * buffer.[Ch]: remove !NEW_INSETS cruft
10751 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10753 * CutAndPaste.C: remove !NEW_INSETS cruft
10755 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10757 * BufferView2.C: remove !NEW_INSETS cruft
10759 * BufferView.h: remove !NEW_INSETS cruft
10761 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10763 * Lsstream.h: include LString.h before the sstream headers to
10764 fix problem with gcc 2.95.3 and lyxstring
10766 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10768 * lyx_main.C: add using directives when needed for C functions
10769 declared in std:: namespace.
10771 2001-04-27 Juergen Vigna <jug@sad.it>
10773 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10774 (SetHeightOfRow): comment out the update call should not be needed!
10776 2001-04-13 Juergen Vigna <jug@sad.it>
10778 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10779 (LyXTabular): tried to minimize operator= operations (and realized
10780 hopfully Lars wish).
10782 2001-04-27 Juergen Vigna <jug@sad.it>
10784 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10786 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10788 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10790 * buffer.C (readInset): hack to make listof algorithm work
10792 * BufferView_pimpl.C: hack to make listof algorithm work
10794 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10796 * LyXAction.C: removed all !NEW_INSETS cruft
10797 (init): moved lfun_item in method
10799 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10801 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10803 * BufferView2.C (theLockingInset): white space.
10805 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * minibuffer.C: include <iostream>
10809 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10811 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10813 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10815 * text.[Ch] (TransposeChars): new method
10817 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10819 * call message directly through LyXView instead of through LyXFunc
10820 * BufferView2.C: adjust
10821 * BufferView_pimpl.C: adjust
10822 * FontLoader.C: adjust
10824 * bufferview_funcs.C: adjust
10825 * converter.C: adjust
10826 * figureForm.C: adjust
10827 * importer.C: adjust
10829 * lyx_gui_misc.C: adjust
10830 * lyxfunc.C: adjust
10833 + more files in subdirs
10835 * lyxparagraph.h (size): move up int file
10838 * adjust all uses of Assert to lyx::Assert.
10840 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10841 lyxfunctional in namespace lyx
10842 * layout.C (hasLayout): ditto
10845 (delete_layout): ditto
10846 (NumberOfClass): ditto
10847 * converter.C (GetFormat): ditto
10852 * bufferlist.C (getFileNames): ditto
10853 (emergencyWriteAll): ditto
10856 * MenuBackend.C (hasSubmenu): ditto
10859 * BufferView_pimpl.C (getInsetByCode): ditto
10861 2001-04-18 Juergen Vigna <jug@sad.it>
10863 * vspace.C (asLatexString): fixed the 100% problem.
10865 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10867 * lyxfunc.C (Dispatch):
10869 * minibuffer.h: add a few std:: qualifiers
10871 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10873 * minibuffer.[Ch]: reimplement so that commands is initiated and
10874 run from lyxfunc, simplified som handling, and made the completion
10875 and history code for complete. wip.
10877 * lyxfunc.C (processKeySym): call message
10878 (miniDispatch): new temporary method
10879 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10880 (LFUN_MESSAGE): implement
10881 (LFUN_MESSAGE_PUSH): implement
10882 (LFUN_MESSAGE_POP): implement
10883 (initMiniBuffer): the initial/defualt minibuffer message.
10885 * lyxfont.[Ch]: inline some more getters
10887 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10889 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10891 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10892 (AutoSave): use LFUN_MESSAGE
10893 (Reconfigure): ditto
10895 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10897 * figureForm.C: use LFUN_MESSAGE
10899 * converter.C (runLaTeX): use LFUN_MESSAGE
10901 * bufferview_funcs.C: use LFUN_MESSAGE
10903 (changeDepth): ditto
10905 * bufferparams.h: use boost::
10907 * bufferlist.h: inherit privately from noncopyable
10909 * bufferlist.C (loadLyXFile): remove some commented code.
10911 * buffer.C (runChktex): use LFUN_MESSAGE
10913 * ShareContainer.h: inherit privately from noncopyable
10915 * ParagraphParameters.[hC] (depth): inline it.
10917 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10919 (message): new method
10920 (messagePush): ditto
10921 (messagePop): ditto
10922 (show): init minibuffer
10923 (showState): direct call
10925 * LaTeX.[Ch]: inherit privately from noncopyable
10926 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10927 instead of WriteStatus.
10929 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10931 * BufferView_pimpl.C (buffer): don't init minibuffer
10932 (workAreaButtonPress): use LFUN_MESSAGE
10933 (workAreaButtonRelease): ditto
10934 (savePosition): ditto
10935 (restorePosition): ditto
10936 (MenuInsertLyXFile): ditto
10937 (workAreaExpose): don't init minibuffer
10938 (update): remove commented code, simplify
10940 * BufferView2.C (openStuff): use LFUN_MESSAGE
10941 (toggleFloat): ditto
10944 (copyEnvironment): ditto
10945 (pasteEnvironment): ditto
10950 (updateInset): remove some commented code
10952 * lastfiles.h: inherit privately from noncopyable
10955 * lyx_main.h: ditto
10957 * lyxlex_pimpl.h: ditto
10959 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10960 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10961 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10963 * LyXAction.h: inherit privately from noncopyable, add methods
10964 func_begin, func_end, returning iterators to the func map.
10966 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10967 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10968 (func_begin): new method
10969 (func_end): new method
10971 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10973 (copySelection): ditto
10974 (pasteSelection): ditto
10976 * BufferView.C: whitespace change
10977 * BufferView.h: inherit privately from noncopyable
10979 2001-04-16 Allan Rae <rae@lyx.org>
10981 * tabular-old.C (l_getline):
10982 * spellchecker.C (sc_check_word):
10983 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10984 an unrecognised preprocessor directive. So ensure they're wrapped.
10986 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10988 * src/exporter.C (Export): Give an error message when path to file
10991 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10993 * LaTeX.C (deplog): Always check that foundfile exists.
10995 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10998 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11000 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11002 * tabular.[Ch] (getLabelList): implement new method
11004 * minibuffer.h: comment ouf setTiimer
11006 * minibuffer.C (ExecutingCB): constify res
11007 (peek_event): constify s
11008 (Set): constify ntext
11009 (Init): constify nicename
11011 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11013 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11014 (savePosition): use two params to Minibuffer::Set
11015 (restorePosition): ditto
11017 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * lyx_main.C: include language.h
11021 * Makefile.am (lyx_main.o): add language.h
11023 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11029 * CutAndPaste.C: include gettext.h
11031 * lyxfont.h: remove old hack with ON and OFF.
11034 * lyxfont.h: do not include language.h...
11039 * bufferview_funcs.C:
11045 * paragraph.C: ... but do it here instead
11047 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11051 * tabular.C: small reformat
11053 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11056 (BreakParagraph): ditto
11057 (SetOnlyLayout): ditto
11060 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11063 * lastfiles.C: removed most using decl, add std:: where needed
11065 * buffer.C: ws changes
11067 * MenuBackend.C (class compare_format): put into anon namespace
11068 (expand): constify label, names, action, action2
11071 * text.C (SingleWidth): constify font
11072 (IsBoundary): constify rtl2
11073 (GetVisibleRow): constify ww
11075 * LaTeX.C (deplog): constify logfile
11077 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11079 (workAreaExpose): constify widthChange, heightChange
11081 * lyxrow.C (par): moved
11084 * lyxrow.h: as inlines here
11086 * lyxfont.h (shape): moved from lyxfont.C
11087 (emph): moved from lyxfont.C
11089 * lyxfont.C (LyXFont): use initialization list for all
11091 (shape): move to lyxfont.h as inline
11092 (emph): move to lyxfont.h as inline
11095 2001-04-04 Juergen Vigna <jug@sad.it>
11097 * vspace.C: had to include stdio.h for use of sscanf
11099 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11102 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11103 independent of xforms.
11105 2001-04-02 Juergen Vigna <jug@sad.it>
11107 * spellchecker.C: fixed namespace placing!
11109 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11111 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11112 the LyXParagraph * is 0.
11114 2001-03-29 Juergen Vigna <jug@sad.it>
11116 * vspace.C: added support for %, c%, p%, l%.
11117 (stringFromUnit): added helper function.
11118 (asLatexString): changed to give right results for the %-values.
11120 * buffer.C: convert the widthp in a width%.
11122 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11124 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11127 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11128 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11130 * lyx_cb.[Ch]: see above.
11132 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11136 * lyx.[Ch]: replaced by figure_form.[Ch].
11140 * lyxfunc.C: changed headers associated with above changes.
11142 2001-03-27 Juergen Vigna <jug@sad.it>
11144 * BufferView_pimpl.C: set the temporary cursor right!
11146 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11148 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11150 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11152 * LString.h: removed "using std::getline"!
11154 * BufferView_pimpl.C (Dispatch): changes due to changes in
11155 InsetInclude::Params.
11157 * buffer.C (tag_name): removed redundant break statements as they were
11158 producing lots of warnings with my compiler.
11160 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11162 * LString.h: add "using std::getline" when using the real <string>.
11164 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11166 * buffer.C: removed bitset usage.
11167 PAR_TAG moved to an anonymous name space.
11168 (tag_name): new funtion, also in the anonymous namespace.
11169 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11170 (makeDocBookFile): clean code. Completed transition from string arrays
11172 (SimpleDocBookOnePar): code clean.
11174 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11176 * tabular.C: add some comments.
11178 2001-03-22 Juergen Vigna <jug@sad.it>
11180 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11181 compatibility read a bit and fixed bug with minipage in different
11184 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11186 * buffer.C (pop_tag): removed.
11187 (push_tag): removed.
11188 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11189 array replaced with vector. Added support for CDATA sections.
11190 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11192 (makeDocBookFile): XML conformant declaration of CDATA section,
11193 fixed bug related to <emphasis> in the first paragraph char.
11194 (sgmlOpenTag): exclude empty tags.
11195 (sgmlCloseTag): ditto.
11197 * buffer.h (pop_tag): removed.
11198 (push_tag): removed.
11200 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11202 * language.h (Languages): added size_type and size().
11204 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11206 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11207 response on compability reading of minipages. One probliem is that
11208 the old usage of minipages was «flertydig»
11210 * several files here and in subdirs: don't use static at file
11211 scope use anon namespaces instead.
11213 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11215 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11216 LaTeX output. This is necessary for Literate document
11219 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11221 * buffer.C: insert hfill when needed.
11223 * tabular.C (l_getline): use string::erase, small whitespace change.
11225 * BufferView_pimpl.C: try the anon namespace.
11226 * WorkArea.C: ditto
11228 2001-03-16 Juergen Vigna <jug@sad.it>
11230 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11231 otherwise it won't open options-dialogs.
11233 * buffer.C: honor pextraWidth(p) on converting minipages.
11235 * tabular.C (l_getline): changed the functions to strip trailing \r.
11237 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11239 * BufferView_pimpl.C:
11240 * minibuffer..C: added "using SigC::slot" declaration.
11242 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11244 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11250 * paragraph.C: ditto
11252 * lyxtext.h: NO_PEXTRA
11254 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11256 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11257 * ParameterStruct.h: ditto
11258 * ParagraphParameters.h: ditto
11259 * lyxparagraph.h: ditto
11261 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11263 * buffer.C: add compability for minipage alignment.
11264 (latexParagraphs): remove unwanted pextra check.
11266 * several files: remove CXX_WORKING_NAMESPACES
11268 * buffer.C (pop_tag): tie is in namespace boost
11270 * BufferView.h: noncopyable is in namespace boost
11272 * lyx_main.h: ditto
11275 * lastfiles.h: ditto
11276 * bufferlist.h: ditto
11277 * ShareContainer.h: ditto
11279 * LyXAction.h: ditto
11282 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11284 * Merging changes from BRANCH_MVC back into HEAD.
11286 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11288 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11290 * BufferView_pimpl.C: change from intl.C
11294 * Makefile.am: move combox.*
11300 * intl.C: remove dialog (covered by prefs)
11302 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11304 * lyxfunc.C (Dispatch): removed redundant break statement.
11306 2001-03-14 Juergen Vigna <jug@sad.it>
11308 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11310 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11312 * buffer.C: add hack to fix compability reading of minipages.
11314 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11316 * buffer.C (getLists): Cleanup.
11318 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11320 * lyxfont.C (update): don't honor toggleall on font size.
11322 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11326 * Makefile.am: moved to frontends/xforms/
11330 * BufferView_pimpl.C: changes for moved mathpanel
11332 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11334 * gettext.h: fix gettext_init() in --disable-nls
11336 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11338 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11340 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11343 * lyx.h: strip external form
11345 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11347 * BufferView_pimpl.C: add comment, destroySplash()
11349 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11351 * BufferView_pimpl.C:
11355 * lyxfunc.C: use re-worked insetinclude
11357 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11359 * buffer.C: add using std::stringstream.
11361 * lyx_cb.C: readd using std::ios.
11363 * buffer.C: add using std::map.
11365 * BufferView_pimpl.C: add using std::vector.
11367 * ShareContainer.h: add std:: to swap.
11369 * buffer.h: add some typedefs
11370 * buffer.C (getLists): use them
11371 (getLists): renamed from getTocList.
11372 add a counter for the different float types and use it in the
11374 (getLists): use the same counter for the NEW_INSETS and the "non"
11377 * lyx_cb.h: remove unused items, includes, using etc.
11379 * ShareContainer.h: remove some commented code, add more comments
11380 and "documentation".
11382 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11384 * buffer.C (getTocList): make the list also when NEW_INSETS is
11387 * buffer.h: remove TocType
11389 * buffer.C (getTocList): change to return a map<string,
11390 vector<TocItem> >, implement for dynamic number of list.
11392 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11393 * text2.C (PasteSelection): adjust
11394 * CutAndPaste.C (pasteSelection): adjust
11396 * FloatList.C (FloatList): update from the new_insets branch.
11397 * Floating.[Ch]: ditto
11398 * LaTeXFeatures.C: ditto
11400 * lyxlex_pimpl.C: ditto
11402 * paragraph.C (Last): remove when NEW_INSETS is defined.
11404 * other file: changes because of the above.
11406 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11408 * lyxparagraph.h: rename next to next_, previous to previous_,
11409 make them private for NEW_INSETS. Rename Next() to next(),
11410 Previous() to previous().
11412 * other files: changes because of the above.
11414 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11417 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11420 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11422 * main.C (main): pass lyx_localedir to gettext_init().
11424 * gettext.h: remove locale_init and gettext_init macros
11426 * gettext.C (locale_init): new function
11427 (gettext_init): new function
11429 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11432 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11434 * Moved credits to frontends:
11435 * credits.[Ch]: removed
11436 * credits_form.[Ch]: removed
11437 * lyx_gui_misc.C: remove credits stuff
11440 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11442 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11444 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11445 unneeded destructor.
11447 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11448 a standalone pointer again.
11450 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11452 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11458 * ToolbarDefaults.C:
11467 * BufferView_pimpl.C: use new file dialog in GUII
11470 * lyx_cb.C: remove LayoutsCB to Toolbar
11472 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11474 * ShareContainer.h (get): add std:: qualifier
11476 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11478 * ShareContainer.h: define a proper ShareContainer::value_type
11479 type (and use typename to please compaq cxx)
11481 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11483 * lyxparagraph.h: move serveral local vars to
11484 ParameterStruct/ParagraphParameters., use ShareContainer in
11485 FontTable., make vars in FontTable private and add getter and
11488 * paragraph.C: changes because of the above.
11490 * lyxfont.h: remove copy constructor and copy assignment. (the
11491 default ones is ok), move number inside FontBits. move inlines to
11494 * lyxfont.C: add number to initializaton of statics, move several
11495 inlines here. constify several local vars. some whitespace
11496 cleanup. Dont hide outerscope variables.
11498 * Spacing.h: add two new constructors to match the set methods.
11500 * ShareContainer.h: new file, will perhaps be moved to support
11502 * ParameterStruct.h: new file
11504 * ParagraphParameters.h: new file
11506 * ParagraphParameters.C: new file
11508 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11509 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11511 * BufferView_pimpl.C: ParagraphParameter changes.
11512 * buffer.C: Likewise.
11513 * bufferview_funcs.C: Likewise.
11514 * text.C: Likewise.
11515 * text2.C: Likewise.
11517 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11519 * lyxfind.C (LyXReplace): do not redefine default argument in
11521 (IsStringInText): ditto
11522 (SearchForward): ditto
11523 (SearchBackward): ditto
11525 2001-03-06 Juergen Vigna <jug@sad.it>
11527 * lyxfind.C (IsStringInText): put parentes around expressions.
11529 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11531 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11533 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11535 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11537 * stl_string_fwd.h: add comment
11539 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11542 * tabular.C: remove unused DocBook methods
11548 killed DO_USE_DEFAULT_LANGUAGE
11550 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11552 * lyx_gui.C: do not include language.h.
11554 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11555 arguments in function implementation.
11557 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11559 * BufferView_pimpl.C: add <ctime>
11561 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11563 * BufferView_pimpl.C: add using std::find_if
11565 2001-02-27 José Matos <jamatos@fep.up.pt>
11567 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11570 2001-02-11 José Matos <jamatos@fep.up.pt>
11572 * buffer.C (makeDocBookFile): command styles now have a parameter as
11573 "title" by default.
11575 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11577 * layout_forms.[Ch]: removed
11578 * lyx_cb.[Ch]: out character
11579 * lyx_gui.C: out character
11580 * lyx_gui_misc.C: out character
11581 * bufferview_funcs.C: : out character,
11582 added toggleall as parameter in ToggleAndShow
11584 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11586 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11588 * text2.C (SetCurrentFont): Disable number property at boundary.
11590 2001-02-26 Juergen Vigna <jug@sad.it>
11592 * lyxfunc.C (getStatus): added a string argument override function so
11593 that this is correctly called from LyXFunc::Dispatch if it contains a
11594 do_not_use_argument which is used!
11595 (Dispatch): added check for "custom" export and call appropriate func.
11597 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11599 * lyxrc.C: Add language_command_local, language_use_babel and
11600 language_global_options.
11602 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11604 * buffer.C (makeLaTeXFile): Use language_use_babel and
11605 language_global_options.
11607 2001-02-23 Juergen Vigna <jug@sad.it>
11609 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11610 which works with LyXText and putted it inside BufferView. Here now we
11611 only call for that part the BufferView::Dispatch() function.
11613 * BufferView.C (Dispatch): added.
11615 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11616 functions which needs to use a LyXText over from LyXFunc.
11617 (MenuInsertLyXFile): added
11618 (getInsetByCode): added
11619 (moveCursorUpdate): added
11620 (static TEXT): added
11622 2001-02-22 Juergen Vigna <jug@sad.it>
11624 * BufferView_pimpl.C (update): call a status update to see if LyXText
11627 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11629 * vc-backend.C (revert): implement for CVS
11630 (getLog): implement for CVS
11632 2001-02-20 Juergen Vigna <jug@sad.it>
11634 * text2.C (ClearSelection): added BufferView param for inset_owner call
11636 * lyxfunc.C (TEXT): added this function and use it instead of
11637 directly owner->view()-text of getLyXText().
11639 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11641 * src/layout_forms.C: out preamble
11642 * src/layout_forms.h: out preamble
11643 * src/lyx_cb.C: out preamble
11644 * src/lyx_cb.h: out preamble
11645 * src/lyx_gui.C: out preamble
11646 * src/lyx_gui_misc.C: out preamble
11647 * src/lyxfunc.C: connect with guii preamble
11649 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11651 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11653 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11655 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11656 whether to run bibtex.
11658 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11660 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11662 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11664 * Makefile.am (lyx_SOURCES): removed bibforms.h
11666 * vspace.h: doxygen
11668 * text.C (GetVisibleRow): make several local vars const
11670 * tabular.C: small cleanup.
11672 * lyxserver.C (callback): use compare instead of strncmp
11674 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11675 inlines to after class or to paragraph.C
11677 * lyxfont.h: remove friend operator!=
11679 * converter.h: move friend bool operator< to non friend and after
11682 * combox.h: small cleanup
11684 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11685 to inlines after class def.
11687 * buffer.C (pop_tag): use string operations instead of strcmp
11689 * bmtable.c: doxygen, small cleanup
11691 * LaTeX.h: remove friend operator==
11693 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11705 * BufferView_pimpl.C:
11706 * BufferView.[Ch]: remove cruft
11708 2001-02-14 Juergen Vigna <jug@sad.it>
11710 * lyxfunc.C: removed #if 0 unused code
11712 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11714 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11716 * text2.C (SetSelection): added a BufferView * parameter
11718 2001-02-13 Juergen Vigna <jug@sad.it>
11720 * lyxfunc.C (Dispatch): fixed protected blank problem.
11721 * BufferView2.C (protectedBlank): added LyxText * parameter.
11723 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11724 (AppendColumn): same as above for column_info.
11726 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11727 (moveCursorUpdate): use a LyXText param for support of InsetText.
11729 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11730 (tripleClick): ditto
11732 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11734 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11736 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11738 * text2.C (SetSelection): set correct update status if inset_owner
11739 (ToggleFree): ditto
11741 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11743 * tabular.C: remove some commented code.
11745 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11747 * BufferView_pimpl.C: call hideSplash()
11749 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11752 * bibforms.h: remove
11755 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11756 add LFUN_CHILD_CREATE
11758 * counters.h: fix tiny typo
11763 * lyx.C: move splash to frontends/xforms/
11765 * lyx_gui_misc.C: move Include and Bibform to frontends
11767 * lyxvc.h: clarify comment
11769 * vspace.C: tiny housekeeping
11771 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11773 * text.C (PrepareToPrint): RTL Fix.
11775 * paragraph.C (GetUChar): New method.
11776 (String): Use GetUChar.
11778 * buffer.C (asciiParagraph): Use GetUChar.
11780 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11782 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11784 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11787 * buffer.C: rename to getLogName(), handle
11788 build log / latex log nicely
11790 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11793 * MenuBackend.h: remove support for reference menuitem type.
11795 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11797 * BufferView_pimpl.C: housekeeping
11798 * BufferView_pimpl.h:
11803 * minibuffer.h: move Timeout GUI-I
11805 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11807 * lyxrc.C (read): Update converters data-structures.
11809 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11811 * LaTeX.h (operator!=): add operator != for Aux_Info
11813 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11815 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11817 * LaTeXLog.C: deleted, useful code moved to Buffer
11820 * buffer.C: new function getLatexLogName()
11826 * lyxfunc.C: use frontends for LaTeX and VC logs
11828 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * LaTeX.h: yet another std:: that Allan forgot.
11832 * Variables.C (set): renamed from isset(), because this clashes
11833 with some HP-UX macros (grr).
11835 2001-02-06 Allan Rae <rae@lyx.org>
11837 * LaTeX.h: Another bug fix. Missing std:: this time.
11839 2001-02-04 Allan Rae <rae@lyx.org>
11841 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11842 floats problem. I've left it commented out because it's not quite
11843 correct. It should also test that the current object is a table or
11844 figure inset. But I haven't gotten around to figuring out how to do
11845 that. I *think* it'll be something like: "table" == inset.type()
11847 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11850 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11852 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11853 all the citation/databases/styles in the auxilary file.
11854 (run): Rerun latex if there was a babel language error.
11856 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11858 * text.C (Backspace): Preserve the font when changing newline char
11860 (BreakParagraph): If the cursor is before a space, delete the space.
11862 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11864 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11866 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11867 new argument (code).
11868 (ChangeCitationsIfUnique): New method.
11870 * paragraph.C (GetPositionOfInset): Handle bibkey.
11872 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11874 * BufferView_pimpl.h: change type of Position::par_pos to
11875 LyXParagraph::size_type.
11877 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11879 * BufferView_pimpl.C (savePosition, restorePosition): Write
11880 messages to minibuffer.
11882 2001-01-28 José Matos <jamatos@fep.up.pt>
11884 * buffer.C (makeDocBookFile): adds support for document language.
11885 A silly restriction on the name of LatexCommand types where removed.
11886 Added support for CDATA sections, allows to chars unescaped, used
11887 among others in code, to avoid escape < and >.
11889 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11891 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11892 saved positions instrad of a stack. Furthermore, a position is
11893 stored using paragraph id/paragraph position.
11895 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11896 Remove LFUN_REF_BACK.
11898 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11900 * converter.C (dvipdfm_options): New method.
11902 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11904 * vspace.C (isValidLength): Fix for empty input string.
11906 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11908 * LyXAction.C (init): change description of LFUN_FIGURE to
11911 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * LaTeX.C: add using directive
11915 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11917 * MenuBackend.C (expand): Fix the sorting of the formats.
11919 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11921 * lyx_main.C: tiny error message fix
11923 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11925 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11926 calling fl_initialize(). This fixes the problem with ',' as
11927 decimal separator in text files.
11929 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11931 * trans.C (process): Fix the keymap bug.
11933 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11935 * LaTeX.C (scanAuxFiles): New method. Provides support for
11936 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11937 (scanLogFile) Scan for "run BibTeX" messages.
11939 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11940 OT1 font encoding. Also, load the aecompl package if the ae
11943 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11945 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11947 * texrow.C (increasePos): turn two error messages into debug
11950 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11952 * LaTeX.C (scanAux): Handle the \@input macro.
11953 (runBibTeX): Use scanAux().
11955 * language.C (latex_options_): New field.
11957 * LaTeXFeatures.C (getMacros): Add language macros.
11959 * buffer.C (makeLaTeXFile): Small fix.
11961 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11963 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11965 * text2.C: add a using directive.
11967 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11972 * lyxfunc.C: kill LyXBell.
11974 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11976 * text.C (IsBoundary): Remove the error message
11978 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11980 * lyxrc.C (setDefaults): Correct initialization value for
11983 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11985 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11988 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11989 and GotoNextNote().
11991 * src/LyXAction.C: Added reference-next.
11993 * text.C (InsertChar): Use contains instead of strchr.
11995 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11997 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11999 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12000 alignment commands (when needed).
12002 * text.C (InsertChar): Add ':' to number separator chars.