1 2003-09-05 Angus Leeming <leeming@lyx.org>
3 Replace LString.h with support/std_string.h,
4 Lsstream.h with support/std_sstream.h,
5 support/LIstream.h with support/std_istream.h,
6 support/LOstream.h with support/std_ostream.h.
8 Changes resulting throughout the tree.
10 2003-09-05 Angus Leeming <leeming@lyx.org>
12 * sgml.h: ensure that the header file can be compiled stand-alone.
13 * *.C: strip out redundant #includes. (320 in total.)
15 2003-09-04 Angus Leeming <leeming@lyx.org>
17 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
18 here (from getPackages).
20 * debug.[Ch]: add a new EXTERNAL tag.
22 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
24 * text2.C (cursorEnd): simplify
26 (getColumnNearX): adjust
28 * text.C (computeBidiTables): adjust
31 * rowpainter.C (paintChars): adjust
32 (paintSelection): adjust
33 (paintChangeBar): adjust
36 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
38 (numberOfSeparators): adjust
40 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
46 * text3.C: Restricts the mouse click functionality
47 of insets like bibtex, include, toc and floatlist to the visible
48 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
49 up the dialogs. Cursor has to be in front of the inset (i.e.
50 start of row) for this to function.
52 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
54 * bufferview_funcs.C (currentState): output row information
56 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
58 * bufferview_funcs.C (currentState): output paragraph position
60 2003-09-04 Angus Leeming <leeming@lyx.org>
62 * FloatList.h: move out #include "Floating.h".
63 * LaTeX.h: move out #include "DepTable.h".
64 * LyXAction.h: move out #include "funcrequest.h".
65 * buffer.h: move out #include "author.h", "iterators.h".
66 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
67 * lyx_main.h: move out #include "errorlist.h".
68 * lyxfunc.h: move out #include "FuncStatus.h".
69 * lyxtext: move out #include "lyxcursor.h".
70 * paragraph_pimpl.h: move out #include "counters.h".
72 2003-09-03 Angus Leeming <leeming@lyx.org>
74 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
75 preamble_snippets list, enabling us to add snippets to the preamble only
76 if the snippet was not there already.
78 2003-09-04 Angus Leeming <leeming@lyx.org>
80 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
82 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
84 * lyxfunc.C (dispatch): if fitCursor did something be sure to
87 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
89 * BranchList.C: point fix, earlier forgotten
91 2003-09-02 Angus Leeming <leeming@lyx.org>
93 * box.C (contains): renamed from 'contained' after a fantastic
96 2003-09-02 John Levon <levon@movementarian.org>
102 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
104 2003-09-02 John Levon <levon@movementarian.org>
106 * text2.C: simplification of cursorEnd(), including partial
109 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
111 * buffer.C (readFile): add a space
113 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
115 * BufferView_pimpl.C (update): remove bogus fitCursor() call
117 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
119 * buffer.C (readFile): new function, take a filename and a
120 ParagraphList::iterator
122 (readFile): adjust, make it private. don't use setStream, make
123 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
124 always contain the filename.
126 * BufferView.C (insertLyXFile): simplify and make it work for
129 2003-08-30 John Levon <levon@movementarian.org>
131 * Makefile.am: fix dist (from Kayvan)
133 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
135 * most files: change to use const Buffer refs
137 2003-08-27 André Pönitz <poenitz@gmx.net>
139 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
140 on top of ownerPar().
142 2003-08-27 John Levon <levon@movementarian.org>
144 * funcrequest.C: properly initialise POD members
146 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
148 * lyxtext.h (top_y): move top_y from here
153 * BufferView_pimpl.[Ch]: to here
154 * frontends/screen.C:
155 * insets/insettabular.C:
156 * insets/insettext.C: adjust
157 * rowpainter.[Ch] (paintRows): remove LyXText & argument
159 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
162 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
164 2003-08-26 André Pönitz <poenitz@gmx.net>
166 * paragraph_func.[Ch] (outerPar): new function
172 * text2.C: remove Inset::par_owner
174 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
179 * text2.C: eliminates the needFullRow/display() stuff
180 altogether, putting the logic in metrics/draw in the insets.
182 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
184 * text2.C (redoParagraphInternal, redoParagraphs):
185 * text.C (redoParagraph): add a call to updateRowPositions at the
186 end of each 'metrics-like' call. Remove all others.
187 (getRow): remove the 'y-computing' version.
188 (getRowNearY): do not compute nor return the real y. Solve the
189 'y < 0' problem and simplify.
191 2003-08-22 Angus Leeming <leeming@lyx.org>
193 * *.[Ch]: clean-up of licence and author blurbs.
194 Also move config.h out of a few .h files and into a few .C files.
196 2003-08-22 André Pönitz <poenitz@gmx.net>
198 * lyxrow.[Ch]: add x_ and *fill_ members
203 * text2.C: adjust/remove prepareToPrint() calls
205 2003-08-22 André Pönitz <poenitz@gmx.net>
207 * lyxrow.[Ch]: add end_ member
209 * lyxrow_funcs.C: use LyXRow::end_
211 * lyxtext.h (singleWidth): add LyXFont parameter
214 * text2.C: adjust LyXText::singleWidth() calls
216 * text.C (redoParagraph): simplify row breaking logic
219 2003-08-19 André Pönitz <poenitz@gmx.net>
221 * funcrequest.C: initialize button_ member
224 * rowpainter.[Ch]: interface consolidation
226 2003-08-18 André Pönitz <poenitz@gmx.net>
229 * BufferView_pimpl.C:
233 * text3.C: remove LyXScreen::draw() and fitCursor calls
235 * BranchList.h: remove spurious semicolons
237 * MenuBackend.C: fix branchlist related crash
239 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
251 * text3.C: implements the 'branch inset'
252 idea. This allows the output of various versions of a document
253 from a single source version, selectively outputing or suppressing
254 output of parts of the text.
255 This implementation contains a 'branch list editor' in a separate
256 tab of the document settings dialog. Branches are user definable
257 and have a "display colour" to distinguish them on-screen.
259 ColorHandler was somewhat cleaned up.
260 (1) make possible a dynamically growing LColor list by allowing
261 the graphic context cache to grow along (vector);
262 (2) eliminate an IMHO unnecessary step in colour allocation.
264 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
266 * BufferView_pimpl.C: compile fix
268 2003-08-15 André Pönitz <poenitz@gmx.net>
270 * rowpainter.C: remove extra metrics calls
272 * lyxtext.h: merge the two constructors into a single one,
273 pass reference to owner's par list
275 * BufferView_pimpl.C:
279 2003-08-15 André Pönitz <poenitz@gmx.net>
289 * text_funcs.C: split LyXText::rowlist_ into individual
290 Paragraph::rows_ chunks
293 * BufferView_pimpl.[Ch]:
296 * text3.C: remove toggleSelection()
298 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
300 * bufferlist.C: beautify two alerts (shorter text of buttons)
301 * buffer.C: Remove redundant ' ' from message
303 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
304 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
305 rename VALIGN_CENTER to VALIGN_MIDDLE
307 2003-08-11 André Pönitz <poenitz@gmx.net>
309 * lyxtext.h (getPar):
310 * text.C: new function
312 2003-08-11 André Pönitz <poenitz@gmx.net>
315 * tracer.[Ch]: remove unneeded files
317 * InsetList.[Ch]: remove resizeInsetsLyXText()
322 * text3.C: merge insertParagraphs() and appendParagraph()
323 remove breakAgain(), update()
325 * BufferView_pimpl.[Ch]:
326 * bufferview_funcs.[Ch]:
330 * tabular.C: adjust after text & InsetList changes.
332 2003-08-08 André Pönitz <poenitz@gmx.net>
334 * text.C (insertChar, backspace): replace rowlist fiddling
335 with rebreak of full par
338 * text.C (breakAgainOneRow, redoHeightOfParagraph,
339 checkParagraph, updateInset): removed
341 2003-08-07 André Pönitz <poenitz@gmx.net>
344 * text3.C: merge some LFUN handlers, remove dead code
346 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
350 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
352 * text2.C (DEPM): fix part of bug 1255 and 1256
354 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * BufferView_pimpl.C (workAreaDispatch): change to use
357 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
358 that are no mouse related.
360 2003-08-05 André Pönitz <poenitz@gmx.net>
363 * BufferView_pimpl.[Ch]:
364 * bufferview_funcs.C:
366 * text3.C: rip out "deep update"
368 * textcursor.[Ch] (last_sel_cursor): remove unused member
370 2003-08-04 André Pönitz <poenitz@gmx.net>
373 * BufferView_pimpl.[Ch]:
374 * ParagraphParameters.C:
375 * bufferview_funcs.C:
381 * text3.C: replace "complicated" BufferView::update(...) calls with
384 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
386 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
388 * Makefile.am (lyx_SOURCES): add paper.h
390 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
392 * Makefile.am: move things around so that both lyx-qt and
393 lyx-xforms can be built (according to --with-frontend). Then lyx
394 is a symbolic link to lyx-[firstfrontend]
396 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
398 * Always use std::endl with lyxerr
400 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
402 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
404 2003-08-01 André Pönitz <poenitz@gmx.net>
407 * BufferView_pimpl.[Ch]:
409 * text3.C: merge BufferView::repaint() and BufferView::update()
411 2003-08-01 José Matos <jamatos@lyx.org>
413 * buffer.[Ch]: file_format is no longer a buffer data element.
415 2003-08-01 André Pönitz <poenitz@gmx.net>
420 * text2.C: make redoParagraph more independent of current cursor
422 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
424 * text2.C: remove unneeded members
426 2003-07-30 André Pönitz <poenitz@gmx.net>
428 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
430 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
431 create a single function...
433 * paragraph_funcs.C (moveItem): ... here.
436 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
438 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
440 * LColor.[Ch]: Add comment and greyedout logical colors.
442 2003-07-30 André Pönitz <poenitz@gmx.net>
444 * tabular.C: don't use Assert too heavily. This crashes where it
447 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
449 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
450 is disabled (bug 1232)
452 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
454 * factory.C: limited 'arg' scope
456 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
458 * factory.C: fixed Note submenu issues
460 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
462 * factory.C: submenu for Note/Comment/Greyedout
464 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
467 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
469 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
472 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
473 greyedout. Patch provided by Jürgen Spitzmüller.
475 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * kbmap.C (read): fix error message when reading bind files
479 2003-07-29 Angus Leeming <leeming@lyx.org>
481 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
482 certainly does not do what it purports to do. I am doing it, and
483 us, a favour by killing it.
485 2003-07-28 José Matos <jamatos@lyx.org>
487 * buffer.C (readBody, do_writeFile):
488 * paragraph.C(readParagraph): \end_document replaces \the_end.
490 2003-07-29 André Pönitz <poenitz@gmx.net>
493 * BufferView_pimpl.[Ch]:
497 * textcursor.[Ch]: remove toggleToggle & Co
499 2003-07-28 José Matos <jamatos@fep.up.pt>
501 * buffer.C (readParagraph):
502 * params_func (readParToken, readParagraph):
503 * paragraph.C (write): \layout -> \begin_layout.
505 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
507 * lyxlex_pimpl.C (setFile): clean up slightly.
509 * bufferparams.h: add compressed var
511 * buffer_funcs.C (readFile): adjust for LyXLex change
512 (newFile): ditto + simplify
514 * buffer.C (writeFile): handle writing of compressed files
516 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
517 Check if the file is compressed and set a bufferparm if so.
519 * Makefile.am (lyx_LDADD): remove explicit -lz
521 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
523 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
524 makeDocBookFile): put the real LyX version in the first line of
528 * version.C.in: remove lyx_docversion
530 * tabular.C (write_attribute): add a template-based version to
533 2003-07-28 André Pönitz <poenitz@gmx.net>
538 * text3.C: use doubles again for x-coordinates. They are needed.
540 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * messages.C (getLocaleDir): use lyx_localedir()
544 * lyxlex_pimpl.C (setFile): compress stuff
546 * buffer.C (writeFile): add some compression stuff
547 (do_writeFile): new func, dont call expliti close... will this
550 * Makefile.am (lyx_LDADD): add -lz
552 2003-07-28 José Matos <jamatos@fep.up.pt>
554 * buffer.C: increment file format.
555 * paragraph_funcs (readParagraph, readParToken):
556 * paragraph.C (readParagraph): add \end_layout.
558 2003-07-27 Angus Leeming <leeming@lyx.org>
560 * Makefile.am: remove special casing for configure-time setting of
561 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
563 * lyx_main.C (init): remove all Jean-Marc's magic setting of
564 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
566 2003-07-26 André Pönitz <poenitz@gmx.net>
568 * paragraph_func.[Ch]:
569 * paragraph.C (realizeFont): inline it whereever it is used
574 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
577 2003-07-26 André Pönitz <poenitz@gmx.net>
581 * text2.C: get rid of LyXText::need_break_row
583 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * toc.[Ch]: put namespace toc inside namespace lyx
587 * MenuBackend.C (expandToc2): adjust for lyx::toc
590 * lyxfunc.C (dispatch): adjust for lyx::find
592 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
593 lyx::find instead. Reorganize a bit.
594 (LyXReplace): rename to replace
595 (LyXFind): rename to find
597 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
600 2003-07-26 André Pönitz <poenitz@gmx.net>
602 * text.C (setHeightOfRow): restrict scope of temporary variable
604 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
605 code (never has been used?)
607 2003-07-27 Asger Alstrup <alstrup@local>
609 * text.C (fill): Optimise algorithm to exploit that we can reuse
610 the LyXFont for many characters.
611 (setHeightOfRow): Same thing.
612 (rowBreakPoint): Same thing.
614 2003-07-26 Asger Alstrup <alstrup@local>
616 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
618 * text.C (singleWidth): Spurious font copying in hot-spot
619 singleWidth avoided. Reorder tests for arabic for efficiency.
621 * text.C (fill): handle empty paragraphs better.
623 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * encoding.h: add includes
628 * lyxrc.C: remove reading of bind files
630 * lyx_main.C (init): setup bindings and menus only if we have a
633 * kbmap.C (read): new method. Do the actual reading of bind
636 * converter.C (dvipdfm_options):
639 (output): adapt PAPER_* enums.
641 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
643 * bufferparams.h: remove paper-related enums from there
645 * paper.h: New file. A trivial header file to hold paper-related
646 enums. It should later expand to contain many paper-related
649 * lyxrc.C: declare extern displayTranslator
651 2003-07-27 José Matos <jamatos@fep.up.pt>
653 * tabular.[Ch] (linuxdoc): add support for tables and figures
656 2003-07-27 José Matos <jamatos@fep.up.pt>
658 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
659 consistency in both functions.
660 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
662 2003-07-26 Asger Alstrup <alstrup@local>
664 * rowpainter.C (paintRows): Change algorithm to work directly on
665 the insets rather than asking every character in the document
666 whether its an inset.
668 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
670 * buffer.C (openFileWrite): factorize some code
672 2003-07-26 Angus Leeming <leeming@lyx.org>
675 * lyx_main.[Ch]: replace occurances of system_tempdir with
678 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
680 * rename Inset to InsetOld
682 2003-07-25 Asger Alstrup <alstrup@diku.dk>
684 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
685 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
686 which I think is a bit clearer. EDIT is gone, since it was
687 premature optimisation, and broken for mathed anyway.
688 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
689 with cursor positioning in insets as well (math insets still do not
690 work, but that's a different story anyway.) It mysteriously
691 crashes sometimes with undo in the first paragraph, but I'm fairly
692 confident that this is a compiler bug.
694 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
696 * paragraph.C (Paragraph): adjust for new clone return type
698 (copyIntoMinibuffer): ditto
700 2003-07-25 Asger Alstrup <alstrup@lyx.org>
702 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
703 by not having a special case, and always doing a full rebreak of
704 the document after undo.
706 2003-07-23 Angus Leeming <leeming@lyx.org>
708 * factory.C (createInset): InsetExternal::setParams now takes a
711 2003-07-23 Angus Leeming <leeming@lyx.org>
713 * factory.C (createInset): changed interface to the external and
714 graphics mailers' string2params functions.
716 2003-07-23 Angus Leeming <leeming@lyx.org>
718 * factory.C (createInset): pass a
719 Buffer const * parameter to InsetExternalMailer's string2params.
721 2003-07-22 John Levon <levon@movementarian.org>
723 * Thesaurus.h: include the right aiksaurus header
725 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * MenuBackend.C (expand): check menu shortcuts unconditionally
729 2003-07-21 Angus Leeming <leeming@lyx.org>
731 * factory.C (createInset): pass a
732 buffer_path parameter to InsetGraphicsMailer's string2params.
734 2003-07-21 Angus Leeming <leeming@lyx.org>
736 * BufferView_pimpl.C (buffer):
739 * lyxfunc.C (dispatch):
740 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
741 rather than the grfx shortcut.
743 2003-07-21 André Pönitz <poenitz@gmx.net>
745 * rowpainter.C: remove unused variables
748 * tabular_funcs.h: move to tabular.C
749 * Makefile.am: adjust
751 * tabular.[Ch]: basic optical cleaning
753 * author.h: pass references, not values
755 2003-07-18 André Pönitz <poenitz@gmx.net>
763 * text3.C: two-phase drawing for InsetText and InsetTabular
764 some float -> int changes.
766 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
768 * lyx_main.C: fix the fix
770 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
772 * lyx_main.C: fix a crash in batch mode if no files specified
775 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
777 * format.[Ch] (papersize): moved to BufferParams
778 * converter.[Ch] (dvips_options): moved to BufferParams
779 (dvipdfm_options): moved to anon namespace
780 * bufferparams.[Ch]: added above functions.
782 2003-07-17 André Pönitz <poenitz@gmx.net>
786 * text2.C: don't call inset->update() anymore
788 * metricsinfo.[Ch]: add convenience constructor
790 2003-07-16 André Pönitz <poenitz@gmx.net>
795 * text2.C: replace the LyXCursor::irow_ member with
796 on-demand computation of the value
798 2003-07-16 John Levon <levon@movementarian.org>
800 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
802 2003-07-15 André Pönitz <poenitz@gmx.net>
805 * text2.C: remove no more needed refresh_row
807 2003-07-15 André Pönitz <poenitz@gmx.net>
812 * text3.C: refresh_status tristate -> need_update bool
814 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
816 * lyxtext.h (init): remove reinit argument (act as if always true)
817 * text2.C: adjust to that
819 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
821 * bufferview_funcs.[Ch]: introduce function replaceSelection()
822 * text3.C: use it to delete selections in some cases
823 (bugs 441, 673, 702, 954).
825 2003-07-14 André Pönitz <poenitz@gmx.net>
827 * rowpainter.[Ch]: reduce interface
829 2003-07-14 André Pönitz <poenitz@gmx.net>
831 * BufferView_pimpl.C:
832 * text2.C: adjust after removing unused BufferView * argument
834 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
836 * text2.C (init): fix a crash fired on resize
838 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
840 * buffer.[Ch]: added new closing signal
841 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
842 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
843 BufferView::Pimpl via the closing the signal
845 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
847 * buffer.[Ch]: take out all bv-related from buffer
849 * BufferView_pimpl.[Ch]: connect to new signals
850 * CutAndPaste.C: removed useless asserts
851 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
854 * lyxfunc.C: moved view-related funciontality from vc here
855 * paragraph.C: removed outdated comments
858 2003-07-10 André Pönitz <poenitz@gmx.net>
860 * BufferView_pimpl.C:
864 * text2.C: remove InsetText::InnerCache, clean up consequences
866 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
868 * ispell.C: fix two typos in error messages
870 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
872 * Extend Note inset to other forms of annotation like Comment
873 and Greyedout. Right button click gives dialog.
875 Files modified or added (+):
881 * Makefile.am in frontends/xforms, frontends/xforms/forms,
882 frontends/controllers
886 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
888 * aspell.C: add missing namespace lyx::support
890 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
892 * BufferView.[Ch] (newFile): Add
893 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
894 * LaTeX.[Ch] (message): added this signal and use it
895 * buffer.[Ch] (busy, message): added these signals and use them
896 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
900 * importer.C: use buffer signals instead of direct bv calling
901 * lyx_cb.[Ch] (ShowMessage): removed
905 * text2.C: use buffer signals
907 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
909 * introduce namespace lyx::graphics
911 2003-07-02 André Pönitz <poenitz@gmx.net>
913 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
915 2003-07-01 André Pönitz <poenitz@gmx.net>
922 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
923 text*.C to text_func.C
925 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
927 * introduce namespace lyx::support
929 2003-06-30 André Pönitz <poenitz@gmx.net>
934 * text.C: re-enable --with-included-string
936 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
938 * textcursor.C: add <config.h>
940 * text.C (getWord): remove const from word_location arg
942 * lyxvc.C (getLogFile): fix const type order
944 * lyxtext.h: remove const from word_location arg, add arg name
946 * lyxlayout.h: currect type on labeltype.
948 * importer.C: correct \file
950 * converter.C (intToFormat): use std:: on ret val, ws changes
952 * bufferlist.h: correct \file
954 * buffer.C (makeLinuxDocFile): fix const type order
955 (makeDocBookFile): ditto
956 (fillWithBibKeys): use std:: on stdlib args.
958 * CutAndPaste.C: fix authors.
959 (availableSelections): use std:: on return vector
961 2003-06-27 André Pönitz <poenitz@gmx.net>
963 * BufferView_pimpl.C:
964 * bufferview_funcs.C:
972 * text3.C: remove LyXCursor::row_ member
975 * text.C: rename fullRebreak() to partialRebreak() and implement
976 a fullRebreak() that really bereks fully
978 * textcursor.h: new struct for cursor-related data
980 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
982 * lyx_main.C (LyX): get full path of document loaded on the
985 2003-06-26 André Pönitz <poenitz@gmx.net>
987 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
988 remove unused/broken operator>,<,>=.
990 * text.C: remove only use of broken operator<= in an Assert().
992 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
994 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
995 moved errorlist_.clear to showErrorList
997 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
999 * converter.C (scanLog, runLaTeX):
1000 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1001 move the bv->showErrorList call to the callers
1002 * lyxfunc.C: i.e. here...
1004 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1005 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1006 namespace, the second to...
1007 * buffer_funcs (BufferFormat, parseErrors): added
1008 * errorlist.C (ErrorList(TeXErrors const &)): removed
1010 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1012 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1014 2003-06-24 "Garst R. Reese" <reese@isn.net>
1018 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1022 * version.C.in: change docversion to 1.4
1024 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1026 * buffer.C: fix a bug just introduced
1028 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1030 * buffer.[Ch]: added the parseError signal and use it, removed
1032 * BufferView.[Ch] (addError): moved to ...
1033 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1034 to the Buffer::parseError signal to catch (guess what) parse errors
1035 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1037 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1039 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1040 ability to create a buffer and to return an existing one from
1041 the list. Moved these functions to...
1042 * buffer_funcs.[Ch]: added
1043 * BufferView.[Ch] (loadLyXFile): added
1044 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1045 job removed from bufferlist::loadLyXFile.
1046 * buffer.C (setReadOnly): make it work without view
1047 (i.e added an if (users))
1049 2003-06-19 Angus Leeming <leeming@lyx.org>
1052 * LyXAction.C (init):
1053 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1054 with LFUN_DIALOG_SHOW <name> <data>.
1056 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1058 * CutAndPaste.C (availableSelections): small compilation fix for
1059 ancient (gcc 2.9x) compilers
1061 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1063 * text3.C (cursorNext): add tmp var
1065 * text2.C (updateCounters): for function calling out of for clause
1066 (replaceSelectionWithString): ditto
1067 (insertStringAsParagraphs): ditto
1068 (getColumnNearX): add tmp var
1069 (setCursorFromCoordinates): add tmp var
1070 (cursorDownParagraph): add tmp var
1071 (deleteEmptyParagraphMechanism): add tmp var
1073 * text.C (insertChar): add tmp var
1075 * rowpainter.C (paintDepthBar): add tmp var
1077 * CutAndPaste.C (availableSelections): potentially check all
1078 paragraphs in a cut to fill the shown strings.
1080 2003-06-18 André Pönitz <poenitz@gmx.net>
1082 * kbmap.[Ch]: use vector<> instead of list<>
1084 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1086 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1087 pasteSelection with index
1089 * text2.C (pasteSelection): modify, call pasteSelection with index
1091 * paragraph.C (asString): reimplement version with no interval to
1092 call the one with interval.
1094 * lyxtext.h: add index arg to pasteSelection
1096 * MenuBackend.C (MenuItem): handle PasteRecent
1097 (Menu::read::Menutags): add md_pasterecent
1099 (expandPasteRecent): new function
1102 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1104 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1106 (availableSelections): new function
1108 2003-06-17 Angus Leeming <leeming@lyx.org>
1110 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1112 2003-06-17 Angus Leeming <leeming@lyx.org>
1115 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1117 * lyxfunc.C (dispatch): invoke it.
1119 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1121 * iterators.C (operator++, ParPosition): reintroduce some
1122 const_cast for the benefit of older compilers.
1124 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1126 * text3.C (dispatch): do not modify clipboard when doing
1127 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1128 LFUN_DELETE_SKIP on a selection selection
1130 2003-06-16 André Pönitz <poenitz@gmx.net>
1136 * tabular.[Ch]: IU of clone() and getLabelList();
1138 2003-06-13 André Pönitz <poenitz@gmx.net>
1140 * tabular.h: compactification
1142 2003-06-12 André Pönitz <poenitz@gmx.net>
1146 * tabular_funcs.h: some renaming plus whitespace
1148 2003-06-12 André Pönitz <poenitz@gmx.net>
1151 * BufferView_pimpl.C:
1157 * toc.C: Return a Paragraph & for ParIterator::operator*()
1159 2003-06-11 John Levon <levon@movementarian.org>
1163 * ToolbarBackend.C: add "Toolbars" section and
1166 2003-06-10 Angus Leeming <leeming@lyx.org>
1169 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1171 * lyxfunc.C (dispatch): invoke it.
1173 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * main.C: protect <ios> with HAVE_IOS
1176 (main): protect sync_with_stdio with HAVE_IOS
1178 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1180 * text2.C (cutSelection): adjust
1181 (pasteSelection): adjust
1183 * messages.C: handle get of empty string
1185 * main.C (main): use sync_with_stdio(false)
1187 * lyxfunc.C (dispatch): adjust
1189 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1190 (WriteAs): remove unneeded BufferView arg.
1192 * bufferparams.h: use correct types on papersize, papersize2 and
1195 * bufferparams.C (readToken): adjust for type
1196 (writeLaTeX): add missing cases to switch.
1198 * bufferlist.C (quitWriteBuffer): adjust
1201 * buffer.C (asciiParagraph): remove some commented code.
1203 * CutAndPaste.C: remove current_view extern variable.
1204 (cutSelection): add BufferParams arg.
1205 (eraseSelection): add BufferParams arg.
1206 (pasteSelection): add Buffer const & arg
1208 2003-06-07 John Levon <levon@movementarian.org>
1211 * paragraph_funcs.C:
1212 * paragraph_pimpl.C:
1216 * paragraph.C: allow InsetERT to freely space lines,
1217 and some consolidation of code
1219 2003-06-06 José Matos <jamatos@fep.up.pt>
1221 * buffer.C (makeDocBookFile): fix bug #821
1223 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1225 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1227 2003-06-04 Angus Leeming <leeming@lyx.org>
1229 * buffer.C: bump format to 224.
1231 2003-06-05 André Pönitz <poenitz@gmx.net>
1233 * text2.C (redoParagraphs): remove two const_cast<>
1235 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1237 * ParagraphList.h: remove last remnants of NO_STD_LIST
1239 2003-06-03 Angus Leeming <leeming@lyx.org>
1241 * factory.C (createInset): small change to the way InsetExternal's params
1244 2003-06-04 André Pönitz <poenitz@gmx.net>
1246 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1248 * paragraph_pimpl.h:
1249 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1251 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1253 * undo_funcs.C: make some simple cases of undo work again
1255 2003-06-03 John Levon <levon@movementarian.org>
1257 * ispell.C: HPUX doesn't have sys/select.h
1260 2003-06-03 John Levon <levon@movementarian.org>
1262 * CutAndPaste.C: update tabular and include inset
1267 * paragraph.C: remove owningBuffer(), don't pass Buffer
1270 * factory.C: insetGraphicsParams changed
1272 2003-06-02 John Levon <levon@movementarian.org>
1278 * text3.C: remove insetparent
1280 2003-06-02 John Levon <levon@movementarian.org>
1283 * buffer.C: fix inset_iterator.end(), move out of line
1286 2003-06-01 John Levon <levon@movementarian.org>
1288 * text3.C: use a proper cut/paste when doing inset
1289 insert (from Jürgen Spitzmüller)
1291 2003-06-01 John Levon <levon@movementarian.org>
1293 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1295 2003-05-30 André Pönitz <poenitz@gmx.net>
1297 * rowpainter.C: unify second drawing phase
1299 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * trans_mgr.C: remove one case of current_view
1303 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1305 * paragraph_funcs.h: remove paragraph.h include
1307 * paragraph.h: delete NO_STD_LIST stuff
1309 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1311 * buffer.h: remove paragraph.h include
1313 * ParagraphList.C: delete file
1315 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1317 * toc.C (getTocList): adjust
1319 * paragraph_pimpl.C (validate): adjust
1321 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1323 * paragraph.C (Paragraph): adjust
1324 (getPositionOfInset): use const_iterator, adjust
1325 (bibitem): use const_iterator, adjust
1326 (setInsetOwner): adjust
1328 * iterators.C (operator++): adjust
1330 * InsetList.[Ch]: Replace selfmade iterator with standard
1331 vector::iterator also introduce const_iterator. Remove getPos,
1332 getInset and setInset from InsetTable. Adjust accordingly.
1334 * BufferView.C (lockInset): adjust
1335 (ChangeInsets): adjust
1337 * tabular.[Ch]: delete commented same_id functions
1339 2003-05-28 John Levon <levon@movementarian.org>
1341 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1343 2003-05-28 André Pönitz <poenitz@gmx.net>
1345 * metricsinfo.[Ch]: remove 'fullredraw' member
1347 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1349 * lyxtextclass.C (operator): remove caching.
1351 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * text2.C (cursorBottom): adjust
1356 (setCounter): use ParagraphList::find, adjust
1358 * text.C (workWidth): use ParagraphList::find, adjust
1360 * lyxcursor.C (LyXCursor): adjust
1362 * buffer.C (inset_iterator): adjust
1364 * ParagraphList.h: make iterator(value_type) private, make
1365 ParagraphList a friend of iterator.
1367 * ParagraphList.C (find): new function
1369 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1371 2003-05-27 André Pönitz <poenitz@gmx.net>
1373 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1375 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1377 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1379 2003-05-26 John Levon <levon@movementarian.org>
1381 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1383 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * remove same_id from function signatures, adjust.
1387 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1391 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1393 * paragraph.C (Paragraph): get rid of same_ids parameter
1395 * ParagraphList.C (insert): adjust
1398 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1400 * paragraph_funcs.C (breakParagraph): adjust
1401 (breakParagraphConservative): adjust
1403 * buffer.C (readParagraph): adjust
1405 * ParagraphList.C (insert): take a reference instead of a pointer
1408 * paragraph.[Ch] (id): new function
1410 * bufferlist.C (newFile): adjust
1412 * ParagraphList.C (ParagraphList): adjust
1414 (push_back): take a reference instead of a pointer.
1416 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1418 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1421 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1422 set else use old code.
1424 * ParagraphList.C: remove all NO_NEXT code and only compile this
1425 code of NO_STD_LIST is set.
1427 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1429 * BufferView_pimpl.C:
1439 * graphics/GraphicsConverter.C:
1440 * graphics/PreviewLoader.C: header adjustment
1442 2003-05-23 Angus Leeming <leeming@lyx.org>
1444 * LaTeXFeatures.[Ch] (useBabel): new method.
1445 * bufferparams.C (writeLaTeX): use it.
1447 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1449 * ParagraphList.h (set): remove unused function.
1451 2003-05-23 André Pönitz <poenitz@gmx.net>
1454 * BufferView_pimpl.C:
1458 * undo_funcs.C: setUndo reworked
1460 * iterators.[Ch]: add access to topmost ParagraphList
1462 * lyxtext.[Ch] (workWidth): add a const
1464 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1466 * texrow.[Ch] (increasePos): remove function
1467 * exporter.C (export): removed unused var and outdated comment
1469 2003-05-23 Angus Leeming <leeming@lyx.org>
1471 * latexrunparams.h: rename fragile as moving_arg.
1472 * paragraph.C (simpleTeXOnePar): ditto.
1473 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1475 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1477 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1479 (textUndoOrRedo): comment out a currently unused var.
1481 * paragraph.h (NO_NEXT): enable NO_NEXT
1483 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1485 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1487 * exporter.C (Export): adjust for removeAutoInsets removal.
1489 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1491 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1493 * BufferView.[Ch] (removeAutoInsets): delete function
1495 2003-05-22 Angus Leeming <leeming@lyx.org>
1497 * latexrunparams.h: add a free_spacing variable.
1499 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1500 to pass moving_arg, as the data is stored in runparams.fragile.
1502 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1503 to Inset::latexOptional or to simpleTeXOnePar.
1505 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1506 free_spacing arg to Inset::latexOptional.
1508 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1511 2003-05-22 Angus Leeming <leeming@lyx.org>
1513 * latexrunparams.h: add fragile and use_babel variables.
1515 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1516 * buffer.C (makeLaTeXFile): store this returned value in
1517 runparams.use_babel, thus passing it to the inset::latex methods.
1519 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1520 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1522 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1523 longer has a fragile arg, as it is stored in runparams.fragile.
1525 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1526 moving_arg parameter as the data is stored in runparams.fragile.
1528 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1529 a fragile parameter as the data is stored in runparams.fragile.
1531 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1533 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1535 2003-05-22 Angus Leeming <leeming@lyx.org>
1537 * latexrunparams.h: add a 'bool nice' which defaults to false.
1539 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1540 now encapsulated within runparams.
1542 * bufferlist.C (updateIncludedTeXfiles):
1543 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1545 2003-05-22 Angus Leeming <leeming@lyx.org>
1547 * latexrunparams.h: new file containing struct LatexRunParams.
1548 * Makefile.am: add new file.
1550 * LaTeX.[Ch] (c-tor, run):
1551 * buffer.[Ch] (makeLaTeXFile):
1552 * bufferlist.[Ch] (updateIncludedTeXfiles):
1553 * converter.C (convert, scanLog):
1554 * converter.[Ch] (runLaTeX):
1555 * exporter.C (Export):
1556 * paragraph.[Ch] (simpleTeXOnePar):
1557 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1558 * paragraph_funcs.[Ch] (latexParagraphs):
1559 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1560 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1561 pass around a LatexRunParams parameter.
1563 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1565 * paragraph.[Ch]: remove unused constructor
1567 * ParagraphList.C (erase): new function, taking two iterators
1569 2003-05-22 André Pönitz <poenitz@gmx.net>
1571 * undo_funcs.C: remove duplicated code
1573 * iterator.[Ch]: operator=
1575 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1577 * tabular.C (SetMultiColumn): ws changes
1579 * rowpainter.C (paintFirst): get rid of a ->previous
1581 * lyx_cb.C (getPossibleLabel): parlist simplification
1583 * BufferView.C (ChangeInsets): simplify slightly.
1585 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1587 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1588 * lfuns.h: new LFUN_SPACE
1589 * lyxfunc.C: protected space has a new lfun
1590 * paragraph_funcs.C: read new space insets
1592 * factory.C: handle new space insets
1594 2003-05-22 André Pönitz <poenitz@gmx.net>
1597 * BufferView_pimpl.C:
1600 * undo_funcs.C: return a ParIterator from getParFromID.
1602 * iterators.[Ch]: add two const's
1604 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * toc.C (getTocList): adjust
1608 * iterators.[Ch]: rework for parlist
1610 * buffer.C (par_iterator_begin): adjust
1611 (par_iterator_end): adjust
1613 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1615 * BufferView.C (removeAutoInsets): adjust
1616 (ChangeInsets): adjust
1618 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1620 * text.C (top_y): fix bug 1110
1622 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1624 * errorlist.[Ch]: added
1627 * BufferView_pimpl.C:
1628 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1631 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * Makefile.am: ensure that lyx is relinked upon changes to the
1634 various "convenience" libs.
1636 2003-05-20 Angus Leeming <leeming@lyx.org>
1638 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1639 files are compiled in alphabetical order again.
1641 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1643 2003-05-19 Angus Leeming <leeming@lyx.org>
1645 * gettext.[Ch]: remove "char const * _(char const *)".
1647 2003-05-19 André Pönitz <poenitz@gmx.net>
1649 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1658 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1660 2003-05-19 André Pönitz <poenitz@gmx.net>
1664 * lyxtextclass.[Ch]:
1666 * paragraph_funcs.[Ch]:
1668 * text3.C: more insetenv work
1670 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1672 * ParagraphParameters.C (params2string): small bug fixed
1674 2003-05-16 André Pönitz <poenitz@gmx.net>
1677 * bufferview_funcs.C: patch from Kornel Benko to prevent
1678 crash when _(...) is called twice in a statement
1680 2003-05-16 André Pönitz <poenitz@gmx.net>
1687 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1689 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1691 * lyx_main.C (init): remove spurious static_cast
1693 2003-05-14 André Pönitz <poenitz@gmx.net>
1695 * BufferView.C: fix format string
1697 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1699 * BufferView.[Ch] (insertErrors): removed
1700 * BufferView.[Ch] (showErrorList): added
1701 * buffer.C (runChkTeX):
1702 * converter.C (scanLog): call showErrorList instead of inserterrors
1704 2003-05-13 André Pönitz <poenitz@gmx.net>
1706 * BufferView_pimpl.C:
1708 * bufferview_func.C:
1715 * tabular_funcs.h: tostr() from its own header
1717 * ParagraphParameters.C:
1722 * text3.C: STRCONV()
1724 2003-05-12 André Pönitz <poenitz@gmx.net>
1727 * BufferView_pimpl.C:
1731 * ParagraphParameters.C:
1735 * bufferview_funcs.C:
1748 * paragraph_funcs.C:
1752 * text3.C: boost::format -> bformat all over the place
1755 2003-05-09 André Pönitz <poenitz@gmx.net>
1757 * LColor.[Ch]: Pimpl the #include <map> away
1759 2003-05-09 John Levon <levon@movementarian.org>
1761 * bufferlist.C: never remove emergency saves
1763 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * Makefile.am: better lib building
1767 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1771 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1772 (simpleTeXSpecialChars): adjust
1773 (simpleTeXSpecialChars): adjust
1774 * paragraph.C (simpleTeXOnePar): adjust
1775 * buffer.C (makeLaTeXFile): adjust
1777 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1779 * text2.C (changeDepth): parlist cleanup
1780 (getColumnNearX): ditto
1782 * rowpainter.C (getLabelFont): parlist cleanup
1784 * bufferlist.C (newFile): parlist cleanup
1786 * CutAndPaste.C (eraseSelection): parlist cleanup
1788 * BufferView_pimpl.C (trackChanges): parlist cleanup
1791 * BufferView.C (lockInset): parlist cleanup.
1792 (ChangeInsets): ditto
1794 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * CutAndPaste.h: Update file header.
1798 * CutAndPaste.C: Update file header.
1799 Store the parts cut out of the Document in a limited_stack.
1800 (copySelection): adjust
1801 (pasteSelection): new function, takes the index in the limited stack.
1802 (nrOfParagraphs): adjust
1803 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1804 simplify error inset insertion.
1805 (checkPastePossible): adjust
1807 2003-05-06 John Levon <levon@movementarian.org>
1809 * text2.C: don't cast wrap inset to float
1811 2003-05-05 André Pönitz <poenitz@gmx.net>
1814 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1816 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1817 few naked Paragraph *.
1819 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1821 * bufferparams.C: Output warning if a document with missing
1822 TeX document class is loaded
1823 * exporter.C: Disable TeX exports if the document class is missing
1826 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1827 isTeXClassAvailable()
1829 2003-05-03 John Levon <levon@movementarian.org>
1832 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1833 explicit cursor show/hide
1835 * BufferView_pimpl.h:
1836 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1837 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1839 * lyxfunc.C: hide cursor before dispatching.
1844 * text3.C: remove explicit cursor hides
1846 2003-05-02 André Pönitz <poenitz@gmx.net>
1848 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1851 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1854 * text2.C: tiny whitespace
1856 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1858 * undo_funcs.C: almost only ws changes.
1860 * ParagraphList.C (splice): just return if pl is empty.
1862 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * ParagraphList.C (splice): new function.
1866 * CutAndPaste.C (pasteSelection): use it
1868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * CutAndPaste.C (pasteSelection): remove the last next and
1871 previous from this file.
1873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * CutAndPaste.C (pasteSelection): more clean up, user proper
1876 ParagraphList functions for pasteing.
1878 * ParagraphList.C (insert): new function, three arg insert
1880 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1882 * ParagraphList.C (insert): new function, three arg insert
1884 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1887 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1889 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1891 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1895 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1898 (copySelection): clean up a bit.
1899 (pasteSelection): use make_pair
1901 * ParagraphList.C (ParagraphList): implement copy constructor
1902 (operator=): implement, base on copy constructor.
1905 * paragraph.C (erase): return a bool
1907 * paragraph_pimpl.C (erasePos): remove function, move contents...
1908 (erase): ... here. Return a bool.
1909 (erase): call erase instead of erasePos.
1911 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1913 * ParagraphList.h: define PitPosPair
1914 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1915 ParagraphList, fix a bug on pasting multiple pars
1916 * text2.C: change interface to C&P
1918 2003-04-30 André Pönitz <poenitz@gmx.net>
1920 * undo_func.C: revert part of yesterday's patch 2
1922 2003-04-30 John Levon <levon@movementarian.org>
1924 * LColor.C: s/tabular/table/
1926 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1928 * text3.C (dispatch): do not convert iterator -> pointer
1929 * undo_funcs.C (setCursorParUndo): ditto
1930 * text_funcs.C (transposeChars): ditto
1932 * text2.C (setLayout): ws changes only
1934 * text.C (breakParagraph): do not convert iterator -> pointer
1936 (acceptChange): ditto
1937 (rejectChange): ditto
1942 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1945 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1947 * text3.C (gotoInset): YABG (yet another bad getChar)
1949 2003-04-29 André Pönitz <poenitz@gmx.net>
1951 * paragraph.h: make operator= private unimplemented as long as
1954 * ParagraphList.C: whitespace
1957 * paragraph_pimpl.[Ch]:
1958 * paragraph_funcs.C:
1960 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1963 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1965 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1967 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1968 * paragraph.[Ch] (erase):
1969 * paragraph_pimpl.[Ch] (erase): change return type and value
1970 * text2.C (cutSelection): some rework
1972 2003-04-28 John Levon <levon@movementarian.org>
1974 * bufferlist.C: changes for unsaved changes dialog
1976 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * bufferlist.C (newFile): set language (messages_) for new
1981 * buffer.C (readFile): ws changes only.
1983 2003-04-28 André Pönitz <poenitz@gmx.net>
1988 * BufferView_pimpl.C:
1989 * BufferView.C: getParFromID related ParagraphList::iterator changes
1991 2003-04-28 André Pönitz <poenitz@gmx.net>
1993 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1996 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1998 * messages.C: remove one more localedir class variable.
2000 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2002 * messages.C (getLocaleDir): singleton generation function
2004 (Messages): add a default constructor.
2006 * main.C (main): do not setup localedir here, do not call
2009 * gettext.C (_): use it.
2010 (gettext_init): delete funciton
2012 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * gettext.C (getLyXMessages): new singleton generating function.
2016 * buffer.C (updateDocLang): adjust
2018 * Makefile.am (messages.o): add target
2019 (main.o): remove target
2021 2003-04-27 John Levon <levon@movementarian.org>
2026 * lyxvc.C: specify cancel button in Alert::prompt
2028 2003-04-26 John Levon <levon@movementarian.org>
2033 * LyXAction.C: add LFUN_INSET_SETTINGS
2035 * lyxfunc.C: don't enable tabular-feature when there's
2036 just any locking inset
2038 2003-04-26 John Levon <levon@movementarian.org>
2040 * bufferlist.C: re-add Cancel to buffer close question
2042 * lyxfunc.C: fix import UI a bit
2044 2003-04-25 John Levon <levon@movementarian.org>
2046 * gettext.C: remove the broken asserts for now
2048 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * messages.C: make case where setlocale cannot comply work better.
2052 * buffer.C (updateDocLang): new function
2053 (changeLanguage): use it
2056 * text2.C (setCounter): use B_ a bit.
2058 * lyxlayout.C (Read): be sure to trim the label strings.
2060 * messages.C (Messages): fix typo in comment
2062 * buffer.C (readFile): set message_ after file is loaded.
2063 (makeDocBookFile): remove double return
2064 (changeLanguage): reset message_ upon language change.
2065 (B_): new func, use this to get translated buffer strings.
2067 * main.C: add myself and Jean Marc as authors.
2069 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2071 * messages.[hC]: pimplify Messages, and three different pimpls to be
2072 used in different circumstances.
2074 * gettext.[Ch]: change for use with new message code.
2076 2003-04-24 André Pönitz <poenitz@gmx.net>
2078 * factory.C: support for eqref
2080 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * messages.[Ch]: add missing char
2084 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2086 * messages.[Ch]: New files
2088 2003-04-18 John Levon <levon@movementarian.org>
2092 * BufferView_pimpl.C:
2096 * text2.C: remove layout-copy/paste (bug 778)
2098 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2100 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2102 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2104 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2105 if they succeed. Act accordingly.
2107 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * text2.C (setCharFont): adjust
2110 (setCounter): adjust
2111 (insertStringAsLines): adjust
2113 * text.C (leftMargin): adjust
2114 (setHeightOfRow): adjust
2116 * rowpainter.C (paintFirst): adjust
2119 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2121 (isFirstInSequence): ditto
2122 (getEndLabel): ditto
2125 * paragraph.C (getParLanguage): comment out some hard stuff.
2127 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2129 (simpleDocBookOnePar): ditto
2130 (makeDocBookFile): use ParagraphList::iterator
2132 * CutAndPaste.C (pasteSelection): adjust
2134 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * text2.C (getFont): adjust
2137 (getLayoutFont): adjust
2138 (getLabelFont): adjust
2140 * paragraph_funcs.C (TeXOnePar): adjust
2142 * buffer.C (simpleLinuxDocOnePar): adjust
2143 (simpleDocBookOnePar): adjust
2145 * CutAndPaste.C (pasteSelection): adjust
2147 * BufferView.C (getEncoding): adjust
2149 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2151 2003-04-16 John Levon <levon@movementarian.org>
2153 * lyxfind.C: use parlist stuff for search/changes
2155 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2159 * text2.C (deleteEmptyParagraphMechanism): adjust
2161 * text2.[Ch] (ownerParagraph): delete func (both of them
2163 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2167 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2169 * ParagraphList.C: prepare for NO_NEXT
2171 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2173 * text2.C (getFont): adjust
2174 (getLayoutFont): adjust
2175 (getLabelFont): adjust
2177 * paragraph.C (getFont): adjust
2178 (getLabelFont): adjust
2179 (getLayoutFont): adjust
2181 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2183 2003-04-15 John Levon <levon@movementarian.org>
2187 * lyx_main.C: handle Include in .ui files
2189 2003-04-15 John Levon <levon@movementarian.org>
2191 * MenuBackend.C: make the doc files length shorter
2194 * ToolbarBackend.C: handle toolbar placement flags,
2197 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2199 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2202 * paragraph_funcs.C (TeXOnePar): adjust
2204 * paragraph.C (getLabelFont): add outerfont arg, adjust
2205 (getLayoutFont): ditto
2206 (simpleTeXOnePar): adjust
2208 * paragraph_pimpl.C (realizeFont): delete func
2210 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2212 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2213 row argument, constify cur argument.
2215 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * text2.C (getFont): adjust
2218 (getLayoutFont): adjust
2219 (getLabelFont): adjust
2221 * paragraph_funcs.C (TeXOnePar): adjust
2222 (outerFont): new func...
2223 (realizeFont): ...moved out from here, changed this to facilitate
2226 * paragraph.C (getFont): take outerfont as arg, adjust
2227 (simpleTeXOnePar): add outerfont arg, adjust
2229 * buffer.C (simpleLinuxDocOnePar): adjust
2230 (simpleDocBookOnePar): adjust
2232 * CutAndPaste.C (pasteSelection): adjust
2234 * BufferView.C (getEncoding): adjust
2236 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * text2.C (setCharFont): adjust
2239 (setCounter): adjust
2241 * text.C (leftMargin): adjust
2242 (setHeightOfRow): adjust
2244 * rowpainter.C (paintFirst): adjust
2247 * paragraph_pimpl.C (realizeFont): adjust
2249 * paragraph.C (isFirstInSequence): move from here...
2250 * paragraph_funcs.C (isFirstInSequence): ...to here
2252 * paragraph.C (outerHook): move from here...
2253 * paragraph_funcs.C (outerHook): ...to here
2255 * paragraph.C (depthHook): move from here...
2256 * paragraph_funcs.C (depthHook): ...to here
2258 * paragraph.C (getEndLabel): move from here...
2259 * paragraph_funcs.C (getEndLabel): ...to here
2261 * text2.C (realizeFont): move from here...
2262 * paragraph_funcs.C (realizeFont): ...to here
2264 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2266 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2268 2003-04-14 Angus Leeming <leeming@lyx.org>
2270 * LColor.[Ch]: scrap LColor mathcursor.
2272 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2274 * lyxlex.[Ch] (text): delete function
2275 * trans.C (Load): adjust
2276 * paragraph_funcs.C (readParToken): adjust
2278 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2281 vector<char> instead of a char[].
2283 * lyxlex_pimpl.C (getString): adjust
2285 (lex): use getString
2289 * lyxlex.C (text): use pimpl_->getString()
2293 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2295 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2296 (makeFontEntriesLayoutSpecific): temp var for par.size()
2297 (setLayout): temp var for ownerParagraphs().end()
2298 (fullRebreak): temp var for rows().end()
2299 (selectionAsString): temp var for boost::next(startpit), realize
2300 that the while really is a regular for loop.
2301 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2302 setCursor in one place.
2303 (setParagraph): temp vr for ownerParagraphs().end()
2304 (updateCounters): make the while loop a for loop
2305 (cutSelection): temp var for ownerParagraphs().end()
2306 (updateInset): make the do {} while() a regular for loop
2307 (getCursorX): use temp vars
2308 (setCurrentFont): use temp vars
2309 (getColumnNearX): use temp vars
2311 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2313 * text.C (transformChar): use temp var for getChar
2314 (computeBidiTables): use temp var for row->par()
2315 (fill): move temp vars for row->par() and pit->layout() earlier in
2317 (labelFill): use temp var for row->par()
2318 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2319 asc and desc, realize that pit never changes and that firstpit is
2320 just a duplicate and not needed. Exchange rit->par() with pit in a
2322 (breakAgain): use a temp var for boost::next(rit)
2323 (breakAgainOneRow): ditto
2324 (breakParagraph): use a temp var for rows().begin()
2325 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2326 (cursorRightOneWord): use temp var for cursor.par() and
2327 cursor.pos(), remove usage of tmpcursor.
2328 (cursorLeftOneWord): use temp var for cursor.par() and
2329 cursor.pos() only set cur at end of function.
2331 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2333 * text.C, text2.C: exchange all usage of Paragraph::next with
2334 boost::next(ParagraphList::iterator)
2336 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2338 * text2.C (cursorTop): simplify implementation
2339 (cursorBottom): ditto
2340 (setParagraph): use ParagraphList::iterator
2341 (setCurrentFont): adjust
2342 (getColumnNearX): adjust
2343 (cursorRight): adjust
2344 (cursorLeft): remove usage of Paragraph::previous
2345 (cursorUpParagraph): ditto
2346 (deleteEmptyParagraphMechanism): slight cleanup
2348 * text.C (isBoundary): take a Paragraph const & instead of a
2350 (addressBreakPoint): ditto
2351 (leftMargin): remove usage of Paragraph::previous.
2352 (setHeightOfRow): ditto
2353 (cursorLeftOneWord): ditto
2354 (selectNextWordToSpellcheck): ditto
2357 (breakParagraph): remove one usage of Paragraph::next
2358 (redoParagraph): ditto
2359 (acceptChange): ditto
2360 (insertChar): adjust
2361 (rowBreakPoint): adjust
2363 * bufferview_funcs.C (toggleAndShow): adjust
2365 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2367 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2368 methods to access it.
2370 * text.C: Added updateRowPositions to compute all row positions.
2371 Make top_y and getRowNearY() to use the cached y position
2373 2003-04-11 John Levon <levon@movementarian.org>
2375 * text.C (rowBreakPoint): reintroduce the labelEnd
2376 checks, code copied from the row fill stuff. Deep voodoo.
2378 * text.C (fill): add a comment and debugging for the
2381 2003-04-11 John Levon <levon@movementarian.org>
2383 * text.C: make sure fullrow insets get wrapped to the next line,
2384 even when they're in a manual label
2386 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * text2.C (insertParagraph): make it take ParagraphList::iterator
2390 (setLayout): make it return ParagraphList::iterator
2391 (redoParagraphs): ditto
2393 (checkParagraph): ditto
2395 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2397 * text2.C: adjust several funcs.
2398 (realizeFont): take a ParagraphList::iterator as arg.
2399 (getLayoutFont): ditto
2400 (getLabelFont): ditto
2401 (setCharFont): ditto
2403 * text.C: adjust several funcs.
2405 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2407 * text.C (selectNextWordToSpellcheck): don't accidentally
2410 2003-04-10 John Levon <levon@movementarian.org>
2412 * ToolbarBackend.C (getIcon): special handling for
2415 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2417 * text2.C (cursorRight): a getChar assert fixed
2419 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * text2.C (getFont): change to take a ParagraphList::iterator
2422 instead of Paragraph*
2423 Adjust several functions.
2425 * text.C (transformChar): change to take a ParagraphList::iterator
2426 instead of Paragraph*
2427 (singleWidth): ditto
2428 Adjust several functions.
2430 * rowpainter.C: adjust several functions
2431 * rowpainter.h:store a ParagraphList::iterator and not a
2435 2003-04-09 John Levon <levon@movementarian.org>
2440 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2441 and the "help" bits as well
2443 2003-04-09 John Levon <levon@movementarian.org>
2446 * ToolbarBackend.C: allow multiple toolbars
2448 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * undo_funcs.C (setCursorParUndo): adjust
2452 * text_funcs.C (transposeChars): adjust
2454 * text3.C (gotoNextInset): adjust
2457 * text2.C (setLayout): adjust
2458 (changeDepth): adjust
2460 (redoParagraphs): adjust
2461 (selectionAsString): adjust
2462 (setParagraph): adjust
2463 (insertInset): adjust
2464 (cutSelection): adjust
2465 (copySelection): adjust
2466 (pasteSelection): adjust
2467 (insertStringAsLines): adjust
2468 (updateInset): adjust
2469 (setCursor): change to take a ParagraphList::iterator parameter
2470 (setCursorIntern): change to take a ParagraphList::iterator parameter
2471 (setCurrentFont): adjust
2472 (cursorLeft): adjust
2473 (cursorRight): adjust
2474 (deleteEmptyParagraphMechanism): adjust
2476 * text.C (breakParagraph): adjust
2477 (insertChar): adjust
2478 (acceptChange): adjust
2479 (rejectChange): adjust
2480 (selectNextWordToSpellcheck): adjust
2481 (changeCase): adjust
2485 * lyxfind.C (SearchForward): adjust
2486 (SearchBackward): adjust
2487 (nextChange): adjust
2489 * lyxcursor.C (par): adjust
2491 * lyxcursor.h: store a ParagraphList::iterator instead of a
2494 * lyx_cb.C (getPossibleLabel): adjust
2496 * bufferview_funcs.C (toggleAndShow): adjust
2498 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2501 * BufferView.C (removeAutoInsets): adjust
2502 (lockedInsetStoreUndo): adjust
2504 2003-04-09 John Levon <levon@movementarian.org>
2506 * ToolbarBackend.C: try icon without argument
2507 if with argument fails
2509 2003-04-08 John Levon <levon@movementarian.org>
2512 * ToolbarBackend.C: add getIcon(), handle tooltip,
2513 and change from "Icon" to "Item".
2515 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2517 * BufferView.C (lockInset): another bad getchar crunched
2519 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2521 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2524 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2526 * lyxfind.C (searchForward, searchBackwards): bug 782
2528 2003-04-07 John Levon <levon@movementarian.org>
2530 * paragraph.C: remove dead comment
2532 * text.C: remove troublesome depth-fiddling code
2533 in leftMargin() and rightMargin() (bug 1017)
2535 * text.C: fix breaking of rows in nested lists
2538 * text2.C (updateCounters): fix up depth values
2541 2003-04-07 John Levon <levon@movementarian.org>
2543 * BufferView_pimpl.C: clear message when doc finishes resizing,
2544 and after a mouse event
2546 * lyxfunc.C: clear message after exiting inset
2548 2003-04-07 John Levon <levon@movementarian.org>
2550 * bufferview_funcs.C: show math status not outside
2551 status in the statusbar
2553 2003-04-07 John Levon <levon@movementarian.org>
2555 * lyxfunc.C: note status changed after a depth change
2557 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2559 * LaTeX.h: move AuxInfo operator==, != out of line.
2560 Remove LaTeX virtual destructor; nothing derives from it.
2561 Move operator()() out of public area and rename it startscript().
2562 Change protected for private.
2564 2003-04-04 Angus Leeming <leeming@lyx.org>
2567 * text2.C: remove unneeded #includes.
2569 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2571 * text2.C (dEPM): fix the heigth of the next row
2573 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2575 * text.C: squashed an invalid getChar requester + some ws changes
2577 2003-04-03 John Levon <levon@movementarian.org>
2579 * bufferview_funcs.h:
2580 * bufferview_funcs.C:
2583 * text2.C: make getStatus work for the env depth lfuns
2585 2003-04-03 John Levon <levon@movementarian.org>
2587 * bufferview_funcs.h:
2588 * bufferview_funcs.C:
2591 * text2.C: parlistize decDepth(), by merging it with incDepth()
2593 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2595 * lyxrow.h: store a ParagraphList::iterator instead of a
2596 Paragraph* and adjust other class functions to suit.
2598 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2601 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2603 * text2.C (setCursor): do not anchor to cursor row for the time being
2605 2003-04-02 John Levon <levon@movementarian.org>
2612 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2614 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * paragraph.h: make ParagraphList and ParagraphList::iterator
2617 friends of Paragraph.
2619 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2621 * ParagraphList.C: Use the private next_ and previous_ from
2624 2003-04-01 John Levon <levon@movementarian.org>
2628 * Makefile.am: rename, remove defaults gunk
2631 * MenuBackend.C: remove defaults gunk
2634 * Languages.C: remove defaults gunk
2637 * lyx_main.C: error out if files couldn't be found.
2639 2003-04-02 John Levon <levon@movementarian.org>
2641 * text2.C: make incDepth() use parlist
2643 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * undo_funcs.C (firstUndoParagraph): adjust
2647 * text3.C (gotoInset): adjust
2648 (dispatch): adjust, and rewrite loop.
2650 * text2.C (init): adjust, and rewrite loop.
2651 (redoParagraphs): adjust
2652 (updateInset): adjust, and rewrite loop.
2653 (deleteEmptyParagraphMechanism): adjust
2655 * tabular.C (LyXTabular): adjust
2656 (SetMultiColumn): adjust
2659 * lyxtext.[Ch] (ownerParagraph): delete function
2660 (ownerParagraphs): new function returns a ParagraphList.
2662 * BufferView.C (removeAutoInsets): adjust
2663 (insertErrors): adjust
2664 (setCursorFromRow): adjust
2666 2003-04-01 Angus Leeming <leeming@lyx.org>
2668 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2671 2003-04-02 John Levon <levon@movementarian.org>
2677 * text_funcs.C: make transposeChars a free function
2679 * lyxrow_funcs.C: remove wrong comment
2681 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * rowpainter.C: adjust
2689 * lyxrow_funcs. [Ch]: new files
2691 * lyxrow.[Ch]: remove next and previous pointers
2692 (next,previous): remove accessor functions
2693 (isParEnd): move to lyxrow_funcs
2694 (lastPos): move to lyxrow_funcs
2695 (nextRowIsAllInset): move to lyxrow_funcs
2696 (lastPrintablePos): move to lyxrow_funcs
2697 (numberOfSeparators): move to lyxrow_funcs
2698 (numberOfHfills): move to lyxrow_funcs
2699 (numberOfLabelHfills): move to lyxrow_funcs
2700 (hfillExpansion): move to lyxrow_funcs
2704 * bufferview_funcs.C (toggleAndShow): adjust
2706 * RowList.h: Remove class RowList from file leave just a
2709 * RowList.C: delete file
2711 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2714 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * text3.C (cursorPrevious): adjust
2717 (cursorNext): adjust
2720 * text2.C (redoHeightOfParagraph): adjust
2721 (redoDrawingOfParagraph): adjust
2724 * text.C (breakParagraph): adjust
2725 (insertChar): adjust
2728 * rowpainter.C (RowPainter): adjust
2729 (leftMargin): simplify and adjust
2730 (most rowpainter functions): adjust.
2732 * rowpainter.h: store the row as RowList::iterator not as Row*
2734 * lyxcursor.C (row): taka RowList::iterator as arg
2737 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2740 2003-04-01 Angus Leeming <leeming@lyx.org>
2742 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2743 stuff like bool Bool.
2745 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2747 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2750 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2755 * lyxtext.h (rows): drop one version and leve a const variant that
2756 returns a RowList::iterator.
2758 2003-03-31 Angus Leeming <leeming@lyx.org>
2760 * text.C (fill): ensure that the signature is the same as that in the
2763 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * text2.C (redoParagraphs): adjust
2766 (updateCounters): adjust
2767 (checkParagraph): adjust
2768 (getColumnNearX): adjust and reformat a bit.
2770 * text.C (top_y): adjust
2772 (leftMargin): adjust
2773 (prepareToPrint): adjust
2775 (getRowNearY): adjust
2777 * lyxtext.h: make rowlist_ mutable.
2779 * RowList.h: add const_iterator
2780 * RowList.C: adjust for RowList::const_iterator.
2782 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2785 2003-03-31 John Levon <levon@movementarian.org>
2788 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2790 * lyx_main.C: set default fonts from using lyx_gui funcs
2792 * exporter.C: pdf_mode moved from lyxrc
2795 * lyxfunc.C: changes from above
2797 2003-03-31 John Levon <levon@movementarian.org>
2799 * lyx_main.C: fix to the last fix
2801 2003-03-31 John Levon <levon@movementarian.org>
2803 * bufferlist.C: "Load original" -> "Load Original"
2809 * format.C: more Alert cleanups
2811 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2813 * text2.C (removeParagraph): make it take a RowList::iterator as
2815 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2816 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2818 * text.C (anchor_row): make it take a RowList::iterator as arg,
2820 (computeBidiTables): make it take a const reference to Row instead
2821 of Row pointer, adjust.
2822 (leftMargin): make it take a RowList::iterator as arg, adjust.
2823 (rowBreakPoint): adjust
2824 (breakAgainOneRow): make it take a RowList::iterator as arg,
2826 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2828 * bufferview_funcs.C (toggleAndShow): adjust
2830 2003-03-30 John Levon <levon@movementarian.org>
2834 * boost-inst.C: moved to support
2836 * several files: changes as a result
2838 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2840 * text2.C (LyXText): adjust.
2842 (removeRow): make it take a RowList::iterator as arg, adjust.
2843 (fullRebreak): adjust
2844 (deleteEmptyParagraphMechanism): adjust
2845 (clearPaint): adjust
2848 * text.C (top_y): adjust
2849 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2850 (breakAgain): make it take a RowList::iterator as arg, adjust.
2851 (breakParagraph): adjust
2852 (insertChar): adjust
2855 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2856 need_break_row, and refresh_row.
2858 * text3.C (dispatch): adjust
2860 * text2.C (checkParagraph): adjust
2862 (setCursorFromCoordinates): adjust
2864 * text.C (top_y): adjust
2866 (getRow): make it return a RowList::iterator, adjust
2867 (getRowNearY): make it return a RowList::iterator, adjust
2869 * text2.C (init): adjust
2870 (insertRow): remove function
2871 (insertParagraph): adjust
2872 (redoParagraphs): adjust
2873 (fullRebreak): adjust
2874 (updateCounters): adjust
2876 * text.C (top_y): rewrite to use RowList iterators.
2878 (setHeightOfRow): rewrite to sue RowList iterators.
2879 (appendParagraph): adjust
2880 (breakAgain): adjust
2881 (breakAgainOneRow): adjust
2882 (breakParagraph): adjust
2884 (getRowNearY): adjust, and remove commented code.
2886 * lyxtext.h (firstRow): delete function
2887 (lastRow): delete function
2888 (rows): new function (const and non-const versions.)
2889 (insertRow): delete function
2891 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2893 2003-03-29 John Levon <levon@movementarian.org>
2895 * BufferView_pimpl.C: always update scrollbar top
2896 because pasting text when we're anchored could mean we
2897 miss an update altogether
2899 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2901 * text2.C (init): use rowlist_.end() and not 0.
2902 (insertRow): change to take a RowList::iterator as arg, adjust
2904 (insertParagraph): change to take a RowList::iterator as arg,
2906 (redoParagraphs): remove some debug msgs.
2908 * text.C (appendParagraph): change to take a RowList::iterator
2909 arg, adjust for this.
2910 (breakAgain): add an assert
2911 (breakAgainOneRow): ditto
2913 2003-03-29 John Levon <levon@movementarian.org>
2915 * text2.C: do not clear selection after inc/decDepth
2918 2003-03-29 John Levon <levon@movementarian.org>
2921 * buffer.C: fix broken strerrors according to Lars
2923 2003-03-29 John Levon <levon@movementarian.org>
2925 * converters.C: more Alert cleanups
2927 2003-03-29 John Levon <levon@movementarian.org>
2929 * bufferview_funcs.C: remove pointless Alert
2931 * buffer.C: fix confusing error message when
2932 a template is chmoded 000
2934 2003-03-29 John Levon <levon@movementarian.org>
2938 * BufferView_pimpl.C: Alert fixes
2942 * tabular-old.C: remove unused table compat reading
2944 2003-03-29 John Levon <levon@movementarian.org>
2949 * lyx_cb.C: more Alert cleanups
2951 * lyxfunc.C: don't allow chktex if not latex document
2953 2003-03-29 John Levon <levon@movementarian.org>
2957 * buffer.C: warnings pushed down from support/,
2960 2003-03-29 John Levon <levon@movementarian.org>
2962 * lyxfunc.C: safety check for C-r (revert)
2964 2003-03-29 John Levon <levon@movementarian.org>
2967 * bufferlist.C: several UI fixes using Alert::prompt.
2968 Fix the pointless looping quit code. Fix stupid revert
2973 * lyx_cb.C: use Alert::prompt
2975 * lyx_main.C: remove a silly question
2977 * lyxfunc.C: remove a couple of silly questions,
2980 2003-03-28 John Levon <levon@movementarian.org>
2982 * text2.C: fix bug 974 (End on empty par)
2984 2003-03-28 John Levon <levon@movementarian.org>
2986 * BufferView_pimpl.C:
2988 * lfuns.h: remove do-nothing math greek lfuns
2990 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2992 * lyxgluelength.h (isValidGlueLength): add default arg on
2993 parameter 2. Remove default arg from friend in class.
2995 * lyxlength.h (isValidLength): add default arg on parameter 2.
2996 Remove default arg from friend in class.
2998 * text2.C (LyXText): adjust, initialize refresh_row.
3002 (insertParagraph): adjst
3003 (redoParagraphs): adjust
3004 (fullRebreak): adjust
3005 (updateCounters): adjust
3006 (deleteEmptyParagraphMechanism): first attempt at fixing a
3009 * text.C (top_y): adjust
3010 (setHeightOfRow): adjust
3012 (getRowNearY): adjust
3014 * lyxtext.h: include RowList.h
3015 (~LyXText): not needed anymore, deleted.
3016 (firstRow): modify for RowList
3017 (lastRow): new function
3018 Delete firstrow and lastrow class variables, add a Rowlist
3019 rowlist_ class variable.
3021 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3024 * RowList.C (insert): fix case where it == begin().
3026 2003-03-26 Angus Leeming <leeming@lyx.org>
3028 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3029 the thesaurus dialog.
3031 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3033 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3035 * RowList.[Ch]: new files
3037 * ParagraphList.C (erase): handle the case where it == begin
3040 2003-03-25 John Levon <levon@movementarian.org>
3044 * aspell.C: add new aspell support
3047 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3050 2003-03-25 Angus Leeming <leeming@lyx.org>
3053 * LyXAction.C (init): new LFUN_INSET_INSERT.
3055 * BufferView_pimpl.C (dispatch): split out part of the
3056 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3058 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3061 2003-03-25 Angus Leeming <leeming@lyx.org>
3063 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3065 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3068 * text3.C: remove useless row->height(0)
3070 2003-03-25 John Levon <levon@movementarian.org>
3074 * text3.C: rename the refreshing stuff to better names
3076 2003-03-24 John Levon <levon@movementarian.org>
3078 * BufferView_pimpl.h:
3079 * BufferView_pimpl.C: update layout choice on a mouse
3082 2003-03-23 John Levon <levon@movementarian.org>
3084 * Makefile.am: fix commandtags.h reference
3086 2003-03-22 John Levon <levon@movementarian.org>
3088 * BufferView_pimpl.C:
3093 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3095 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3098 * text.C: take the rtl methods out of line
3100 2003-03-21 André Pönitz <poenitz@gmx.net>
3102 * metricsinfo.[Ch]: new files containing structures to be passed around
3103 during the two-phase-drawing...
3105 2003-03-21 André Pönitz <poenitz@gmx.net>
3107 * lyxtextclass.C: read 'environment' tag.
3109 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3111 * text2.C (removeRow): fix bug 964
3113 2003-03-20 John Levon <levon@movementarian.org>
3117 * text2.C: paint cleanups. Inset::update() dropped font
3120 2003-03-19 John Levon <levon@movementarian.org>
3122 * lyxfunc.C: only fitcursor/markDirty if available()
3124 2003-03-19 John Levon <levon@movementarian.org>
3126 * commandtags.h: rename to ...
3128 * lfuns.h: ... this, and renumber / cleanup
3130 2003-03-19 John Levon <levon@movementarian.org>
3132 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3133 fit the cursor after an lfun
3137 * BufferView_pimpl.h:
3138 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3140 * LyXAction.C: layout-character should have ReadOnly
3142 * ParagraphParameters.C:
3144 * bufferview_funcs.C:
3151 * undo_funcs.C: changes from above
3153 2003-03-18 John Levon <levon@movementarian.org>
3155 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3156 remove it from update()
3158 * lyxfunc.C: update layout choice after an lfun
3160 * text3.C: remove extra updateLayoutChoice()s
3162 2003-03-18 John Levon <levon@movementarian.org>
3164 * text.C: top_y change means full repaint, fix
3165 a drawing bug with cursor movement
3167 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3171 * text2.C: anchor row on setCursor
3173 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3175 * lyxtext.h: remove almost all mutable keywords
3178 * text3.C: remove const keywords accordingly
3180 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3184 (TeXEnvironment): ditto
3187 2003-03-17 John Levon <levon@movementarian.org>
3189 * text.C (rowBreakPoint): remove attempt to fix displayed
3190 math insets inside a manual label
3192 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * lyxtext.h: remove BufferView* as first arg from almost all class
3196 * other files: adjust.
3198 2003-03-17 John Levon <levon@movementarian.org>
3202 * text2.C: more paint cleanups
3204 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3207 * rowpainter.C: remove "smart" background painting code
3209 2003-03-16 John Levon <levon@movementarian.org>
3214 * text3.C: add helper functions for setting refresh_row/y
3216 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3218 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3219 newline inset which *can* get inserted in the pass_thru layouts.
3220 This is primarily for literate documents.
3222 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3224 * buffer.C: increment LYX_FORMAT to 223
3226 2003-03-14 André Pönitz <poenitz@gmx.net>
3228 * textclass.h: prepare for environment handling, ws changes
3229 * lyxlayout.C: read latexheader and latexfooter tags
3231 2003-03-14 John Levon <levon@movementarian.org>
3233 * text2.C: rewrite ::status() a bit
3235 2003-03-13 John Levon <levon@movementarian.org>
3237 * lyxtext.h: add some docs
3239 2003-03-13 John Levon <levon@movementarian.org>
3244 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3246 2003-03-13 John Levon <levon@movementarian.org>
3248 * text3.C: fix appendix redrawing
3250 2003-03-13 John Levon <levon@movementarian.org>
3252 * text.C (setHeightOfRow):
3254 * rowpainter.C: make appendix mark have the text
3255 "Appendix" so the user knows what it is
3258 * LColor.C: s/appendixline/appendix/ from above
3260 2003-03-13 John Levon <levon@movementarian.org>
3262 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3264 * text.C: fix a getChar(pos) bug properly
3266 2003-03-13 Angus Leeming <leeming@lyx.org>
3269 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3270 Probably only temporary. Let's see how things pan out.
3272 * BufferView.C (unlockInset):
3273 * BufferView_pimpl.C (fitCursor):
3274 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3276 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3277 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3279 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3280 new functions that convert ParagraphParameters to and from a string.
3282 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3283 BufferView::Pimpl's dispatch.
3284 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3286 2003-03-13 André Pönitz <poenitz@gmx.net>
3290 * factory.C: make it aware of InsetEnv
3292 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * text2.C (setCursor): never ask for one past last
3295 (setCursor): add some debugging messages.
3297 * text.C (singleWidth): never ask for one past last
3298 (singleWidth): ditto
3300 (rightMargin): ditto
3301 (rowBreakPoint): ditto
3302 (setHeightOfRow): ditto
3303 (prepareToPrint): ditto
3305 * rowpainter.C (paintBackground): never ask for one past last
3306 (paintText): never ask for one past last
3308 * paragraph_pimpl.C (getChar): make the assert stricter, never
3309 allow the one past last pos to be taken
3311 * paragraph.C (getChar): ws changes only
3313 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3314 (numberOfSeparators): ditto
3315 (numberOfHfills): ditto
3317 2003-03-12 John Levon <levon@movementarian.org>
3323 * paragraph_funcs.C: fix per-buffer authorlists
3325 2003-03-12 John Levon <levon@movementarian.org>
3327 * text.C: fix newline in right address
3329 2003-03-12 Angus Leeming <leeming@lyx.org>
3331 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3332 duplicate those in LyXFunc::dispatch.
3336 * ToolbarDefaults.C:
3337 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3338 Add LFUN_FONTFREE_UPDATE.
3340 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3341 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3343 * bufferview_func.[Ch]: several new functions to facilliate
3344 transfer of data to and from the character dialog.
3346 2003-03-12 John Levon <levon@movementarian.org>
3351 * paragraph_funcs.C:
3352 * paragraph_pimpl.C:
3356 * text3.C: remove META_NEWLINE in favour of an inset
3359 * rowpainter.C: remove paintNewline (done by inset)
3361 2003-03-12 John Levon <levon@movementarian.org>
3363 * paragraph_pimpl.C: complain about bad getChar()s
3364 for a while at least
3366 2003-03-12 John Levon <levon@movementarian.org>
3369 * buffer.C: move paragraph read into a separate function,
3370 a little renaming to reflect that.
3373 * bufferparams.C: remove the author_ids map, not necessary now
3376 * factory.C: moved Buffer::readInset to here
3378 * paragraph_funcs.h:
3379 * paragraph_funcs.C: readParagraph free function moved from
3382 * tabular.C: name change
3384 2003-03-12 John Levon <levon@movementarian.org>
3387 * ParagraphParameters.C: move par params input to
3390 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3391 behave like a normal read from the stream wrt reading
3392 a line vs. a \\token
3394 2003-03-12 John Levon <levon@movementarian.org>
3397 * ParagraphParameters.h:
3398 * ParagraphParameters.C: move output code to a
3401 2003-03-12 John Levon <levon@movementarian.org>
3403 * BufferView.C (insertLyXFile):
3406 * tabular.C: use a parlist iterator for creating the
3409 2003-03-12 John Levon <levon@movementarian.org>
3411 * buffer.C: make current_change static local not
3414 2003-03-12 John Levon <levon@movementarian.org>
3416 * buffer.C: fix insertStringAsLines for change tracking
3418 2003-03-12 John Levon <levon@movementarian.org>
3425 * bufferparams.C: move author list into params. Rename some
3426 functions. Move the header reading into a separate token
3427 loop. Move the header token reading into BufferParams.
3429 2003-03-12 John Levon <levon@movementarian.org>
3431 * changes.C: put debug inside lyxerr.debugging() checks
3433 2003-03-11 André Pönitz <poenitz@gmx.net>
3435 * factory.C: make it aware of InsetHFill
3437 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3439 * buffer.C (latexParagraphs): move function from here...
3440 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3443 2003-03-10 Angus Leeming <leeming@lyx.org>
3445 * LyXAction.C (init): fix bug in poplating array with multiple entries
3446 with the same LFUN (spotted by JMarc).
3448 2003-03-10 John Levon <levon@movementarian.org>
3451 * text2.C: move getColumnNearX() near its
3454 2003-03-10 John Levon <levon@movementarian.org>
3456 * text.C: fix break before a minipage
3458 2003-03-10 John Levon <levon@movementarian.org>
3460 * text.C: fix the last commit
3462 2003-03-09 John Levon <levon@movementarian.org>
3466 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3467 bug 365 (don't break before insets unless needed). Don't
3468 return a value > last under any circumstances.
3470 2003-03-09 Angus Leeming <leeming@lyx.org>
3472 * BufferView_pimpl.C (trackChanges, dispatch): call
3473 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3475 2003-03-09 Angus Leeming <leeming@lyx.org>
3477 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3478 than Dialogs::showAboutlyx().
3480 2003-03-09 Angus Leeming <leeming@lyx.org>
3482 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3483 than Dialogs::showTabularCreate().
3485 2003-03-09 John Levon <levon@movementarian.org>
3489 * text2.C: 3rd arg to nextBreakPoint was always the same.
3492 2003-03-08 John Levon <levon@movementarian.org>
3499 * text2.C: Remove the "main" bit from the "main body"
3502 2003-03-08 John Levon <levon@movementarian.org>
3504 * text.C (leftMargin): The left margin of an empty
3505 manual label paragraph should not include the label width
3508 * text.C (prepareToPrint): don't attempt to measure hfills
3509 for empty manual label paragraphs - the answer should be 0
3511 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * CutAndPaste.C: remove commented code and reindent.
3515 2003-03-08 John Levon <levon@movementarian.org>
3518 * lyxfunc.C: move reloadBuffer()
3521 * BufferView.C: to here
3523 * lyxvc.C: add comment
3526 * vc-backend.C: call bv->reload() to avoid
3527 getStatus() check on MENURELOAD
3529 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3531 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3532 to an old format .dep file.
3534 2003-03-07 Angus Leeming <leeming@lyx.org>
3536 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3537 when the LFUN_MOUSE_RELEASE should have been handled by
3538 inset->localDispatch.
3540 2003-03-07 Angus Leeming <leeming@lyx.org>
3542 * BufferView_pimpl.C (dispatch):
3543 * LyXAction.C (init):
3544 * ToolbarDefaults.C (init):
3546 * lyxfunc.C (getStatus):
3547 remove LFUN_INSET_GRAPHICS.
3549 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3551 2003-03-07 Angus Leeming <leeming@lyx.org>
3554 * LyXAction.C (init):
3555 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3557 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3560 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3562 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3563 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3565 2003-03-07 Angus Leeming <leeming@lyx.org>
3567 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3570 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * ParagraphList.C (front): new function
3575 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3577 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3578 and top_row_offset_. removed var first_y.
3580 * text2.C (LyXText, removeRow):
3582 * BufferView_pimpl.C:
3583 use these methods instead of using first_y
3585 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * text2.C (pasteSelection): adjust for checkPastePossible
3589 * CutAndPaste.C: remove Paragraph * buf and replace with
3590 ParagraphList paragraphs.
3591 (DeleteBuffer): delete
3592 (cutSelection): change the tc type to textclass_type
3593 (copySelection): change the tc type to textclass_type
3594 (copySelection): adjust for ParagraphList
3595 (pasteSelection): change the tc type to textclass_type
3596 (pasteSelection): adjust for Paragraphlist
3597 (nrOfParagraphs): simplify for ParagraphList
3598 (checkPastePossible): simplify for ParagraphList
3599 (checkPastePossible): remove unused arg
3601 * ParagraphList.C (insert): handle the case where there are no
3604 * CutAndPaste.h: make CutAndPaste a namespace.
3606 * text3.C (dispatch): adjust
3608 * text.C (breakParagraph): add a ParagraphList as arg
3610 * paragraph_funcs.C (breakParagraph): change to take a
3611 BufferParams and a ParagraphList as args.
3612 (breakParagraphConservative): ditto
3613 (mergeParagraph): ditto
3614 (TeXDeeper): add a ParagraphList arg
3615 (TeXEnvironment): ditto
3618 * buffer.C (readLyXformat2): adjust
3619 (insertStringAsLines): adjust
3620 (latexParagraphs): adjust
3622 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3623 (cutSelection): adjust
3624 (pasteSelection): adjust
3626 * BufferView_pimpl.C (insertInset): adjust
3628 2003-03-05 Angus Leeming <leeming@lyx.org>
3631 * LyXAction.C (init):
3632 * BufferView_pimpl.C (dispatch):
3633 * lyxfunc.C (getStatus):
3634 remove LFUN_CHILD_INSERT.
3636 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3638 2003-03-05 Angus Leeming <leeming@lyx.org>
3641 * LyXAction.C (init):
3642 * src/factory.C (createInset):
3643 * lyxfunc.C (getStatus):
3644 * text3.C (dispatch):
3645 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3647 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3649 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * ParagraphList.C (insert): handle insert right before end()
3652 (erase): fix cases where it can be first or last paragraph.
3654 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3657 Paragraph::next and Paragraph::previous
3660 * text.C (breakParagraph): adjust
3662 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3663 BufferParams& as arg.
3664 (breakParagraph): use ParagraphList::insert
3665 (breakParagraphConservative): take a Buffer* instead of a
3666 BufferParams& as arg.
3667 (breakParagraphConservative): use ParagraphList::insert.
3669 * buffer.C (insertStringAsLines): un-const it
3670 (insertStringAsLines): adjust
3672 * ParagraphList.C (insert): new function
3674 * CutAndPaste.C (pasteSelection): adjust
3676 * text.C (backspace): adjust
3678 * tabular.C (SetMultiColumn): adjust
3680 * CutAndPaste.C (cutSelection): adjust
3681 (pasteSelection): adjust
3683 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3684 Buffer const * as arg
3686 * ParagraphList.C (erase): new function
3687 * paragraph_funcs.C (mergeParagraph): use it
3688 (mergeParagraph): make it take a Buffer* instead of a
3689 BufferParams* as arg
3691 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3693 (breakParagraphConservative): ditto
3695 * paragraph.h: remove the breakParagraph friend
3697 * paragraph.C (eraseIntern): new function
3698 (setChange): new function
3700 * paragraph_funcs.C (mergeParagraph): make it take a
3701 ParagraphList::iterator instead of a Paragraph *, adjust
3704 * paragraph.h: move an #endif so that the change tracking stuff
3705 also works in the NO_NEXT case.
3707 2003-03-04 Angus Leeming <leeming@lyx.org>
3710 * LyXAction.C: new LFUN_INSET_MODIFY.
3712 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3713 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3715 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * several files: ws changes only
3719 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3720 (TeXEnvironment): ditto
3723 * buffer.C (makeLaTeXFile): adjust
3724 (latexParagraphs): make it take ParagraphList::iterator as args
3726 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * buffer.C (latexParagraphs): adjust
3730 * paragraph.C (TeXOnePar): move function...
3731 (optArgInset): move function...
3732 (TeXEnvironment): move function...
3733 * paragraph_pimpl.C (TeXDeeper): move function...
3734 * paragraph_funcs.C: ...here
3736 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3738 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * buffer.C (readInset): remove compability code for old Figure and
3743 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * buffer.C: ws changes
3748 * BufferView_pimpl.C: ditto
3751 * bufferlist.h: ditto
3755 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3757 * converter.[Ch]: split into itself +
3760 * Makefile.am: += graph.[Ch] + format.[Ch]
3767 * lyxrc.C: added #include "format.h"
3769 2003-02-27 Angus Leeming <leeming@lyx.org>
3771 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3774 * factory.C (createInset): add "label" to the factory.
3776 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3777 string and do no more.
3779 2003-02-27 Angus Leeming <leeming@lyx.org>
3782 * LyXAction.C (init):
3783 * factory.C (createInset):
3784 * BufferView_pimpl.C (dispatch):
3785 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3787 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3789 * lyxfunc.C (dispatch):
3790 * text3.C (dispatch): pass name to params2string.
3792 2003-02-26 Angus Leeming <leeming@lyx.org>
3794 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3796 Rearrange the ~includes. Strip out the unnecessary ones.
3798 * factory.C (createInset): reformat.
3799 create new insets for the various LFUN_XYZ_APPLY lfuns.
3801 2003-02-26 John Levon <levon@movementarian.org>
3804 * lyxrow.C: add isParStart,isParEnd helpers
3806 * paragraph.h: make isInserted/DeletedText take refs
3808 * paragraph_funcs.h:
3809 * paragraph_funcs.C: remove #if 0'd code
3814 * text.C: use lyxrow helpers above.
3815 Move draw and paint routines to RowPainter.
3816 Make several methods use refs not pointers.
3817 Make backgroundColor() const.
3818 Add markChangeInDraw(), isInInset().
3819 Merge changeRegionCase into changeCase.
3820 Make workWidth() shouldn't-happen code into an Assert.
3823 * rowpainter.C: new class for painting a row.
3826 * vspace.C: make inPixels take a ref
3828 2003-02-26 Angus Leeming <leeming@lyx.org>
3830 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3833 2003-02-25 John Levon <levon@movementarian.org>
3835 * ispell.C: give the forked command a more accurate name
3837 2003-02-22 John Levon <levon@movementarian.org>
3840 * toc.C: make TocItem store an id not a Paragraph *
3843 2003-02-21 Angus Leeming <leeming@lyx.org>
3845 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3846 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3847 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3848 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3849 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3850 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3852 * BufferView_pimpl.C (dispatch):
3853 * LyXAction.C (init):
3854 * factory.C (createInset):
3855 * lyxfunc.C (getStatus, dispatch):
3856 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3858 2003-02-21 Angus Leeming <leeming@lyx.org>
3860 * BufferView_pimpl.C (MenuInsertLyXFile):
3861 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3862 * lyxfunc.C (menuNew, open, doImport):
3863 no longer pass a LyXView & to fileDlg.
3865 2003-02-21 Angus Leeming <leeming@lyx.org>
3867 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3868 * LyXAction.C: change, BIBKEY to BIBITEM.
3869 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3870 Change InsetBibKey to InsetBibitem.
3871 Change BIBKEY_CODE to BIBITEM_CODE.
3872 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3873 * factory.C: replace insetbib.h with insetbibitem.h.
3874 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3875 * paragraph.C: replace insetbib.h with insetbibitem.h.
3876 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3877 Change bibkey() to bibitem().
3878 * text.C: remove insetbib.h.
3879 * text2.C: replace insetbib.h with insetbibitem.h.
3880 change bibkey() to bibitem().
3881 * text3.C: remove insetbib.h.
3882 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3884 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3886 * lyxrc.C (output): enclose user email in quotes (in case there are
3889 2003-02-18 John Levon <levon@movementarian.org>
3891 * buffer.h: add std::
3893 2003-02-17 John Levon <levon@movementarian.org>
3899 * pspell.C: reworking. Especially in ispell, a large
3900 number of clean ups and bug fixes.
3902 * lyxfunc.C: fix revert to behave sensibly
3904 2003-02-17 André Pönitz <poenitz@gmx.net>
3907 * commandtags.h: new LFUN_INSERT_BIBKEY
3917 * paragraph_func.C: remove special bibkey handling
3919 2003-02-17 John Levon <levon@movementarian.org>
3921 * text.C (Delete): fix case where delete at the end of
3922 the very first paragraph would not merge the pars
3924 2003-02-17 John Levon <levon@movementarian.org>
3926 * lyxrow.C: fix lastPrintablePos()
3928 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3930 * bufferparams.C (writeLaTeX): add a std:here
3932 * buffer.C: and remove a using directive there
3934 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3936 * buffer.C (makeLaTeXFile): move the code that generates the
3939 * bufferparams.C (writeLaTeX): ... in this new method
3941 * LaTeXFeatures.C (getEncodingSet): make const
3942 (getLanguages): make const
3944 * MenuBackend.C (binding): returns the binding associated to this
3946 (add): sets the status of each item by calling getStatus. Adds
3948 (read): add support for OptSubMenu
3949 (expand): remove extra separator at the end of expanded menu
3951 2003-02-15 John Levon <levon@movementarian.org>
3954 * BufferView_pimpl.C:
3956 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3957 inset code that had no actual effect. Remove unneeded status
3960 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3962 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3965 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3967 * text.C (drawLengthMarker): also draw an arrow marker for
3968 symbolic lengths (medskip...)
3970 2003-02-14 John Levon <levon@movementarian.org>
3973 * tabular.C: better method names
3975 2003-02-14 John Levon <levon@movementarian.org>
3977 * BufferView_pimpl.C:
3982 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3983 it's a more accurate name. Remove some pointless uses.
3985 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3987 * text2.C (LyXText): change order of initilizers to shut off
3990 2003-02-14 John Levon <levon@movementarian.org>
3992 * buffer.C: use ParIterator for getParFromID()
3996 * paragraph_pimpl.h:
3997 * paragraph_pimpl.C: remove unused getParFromID()
3999 2003-02-14 John Levon <levon@movementarian.org>
4001 * buffer.C: remove some very old #if 0'd parse code
4003 2003-02-13 John Levon <levon@movementarian.org>
4007 * text2.C: move hfillExpansion(), numberOfSeparators(),
4008 rowLast(), rowLastPrintable(), numberofHfills(),
4009 numberOfLabelHfills() ...
4012 * lyxrow.C: ... to member functions here.
4017 * text.C: remove LyXText::beginningOfMainBody(), and call
4018 p->beginningOfMainBody() directly. Move the check for
4019 LABEL_MANUAL into the latter.
4026 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4032 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4033 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4035 2003-02-13 John Levon <levon@movementarian.org>
4037 * CutAndPaste.C: remove debug
4039 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4041 * paragraph.C (asString): remove two unused variables
4043 * lyxtextclass.C (readTitleType):
4045 (LyXTextClass): handle new members titletype_ and titlename_
4047 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4049 2003-02-09 John Levon <levon@movementarian.org>
4052 * buffer.C: replace hand-coded list with a map for the dep clean
4054 2003-02-08 John Levon <levon@movementarian.org>
4056 * LaTeX.C: consolidate code into showRunMessage() helper
4058 2003-02-08 John Levon <levon@movementarian.org>
4063 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4064 and pass the size in explicitly
4066 * BufferView_pimpl.h:
4067 * BufferView_pimpl.C:
4069 * BufferView.C: add getCurrentChange()
4071 * BufferView_pimpl.h:
4072 * BufferView_pimpl.C: handle change lfuns
4074 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4075 for changes. Mark pasted paragraphs as new.
4077 * support/lyxtime.h:
4078 * support/lyxtime.C:
4079 * DepTable.C: abstract time_t as lyx::time_type
4082 * LColor.C: add colours for new text, deleted text, changebars
4084 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4085 package use "usenames" option.
4089 * LyXAction.C: add change lfuns
4093 * author.C: author handling
4096 * buffer.C: add a per-buffer author list, with first entry as
4097 current author. Handle new .lyx tokens for change tracking. Output
4098 author list to .lyx file. Output dvipost stuff to .tex preamble.
4099 Bump lyx format to 222.
4102 * bufferlist.C: add setCurrentAuthor() to reset current author details
4106 * bufferparams.C: add param for tracking
4108 * bufferview_funcs.C: output change info in minibuffer
4112 * changes.C: add change-tracking structure
4115 * debug.C: add CHANGES debug flag
4118 * lyxfind.C: add code for finding the next change piece
4121 * lyxrc.C: add user_name and user_email
4124 * lyxrow.C: add a metric for the top of the text line
4127 * text.C: implement accept/rejectChange()
4130 * text.C: paint changebars. Paint new/deleted text in the chosen
4131 colours. Strike through deleted text.
4135 * paragraph_pimpl.h:
4136 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4137 in the current change to the insert functions. Rework erase to
4138 mark text as deleted, adding an eraseIntern() and a range-based
4139 erase(). Implement per-paragraph change lookup and
4142 * paragraph_funcs.C: Fixup paste for change tracking.
4144 * tabular.C: mark added row/columns as new.
4146 * text.C: fix rowLast() to never return -1. Don't allow
4147 spellchecking of deleted text. Track transpose changes. Don't
4148 allow paragraph break or merge where appropriate.
4150 * text2.C: leave cursor at end of selection after a cut.
4152 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4154 * text.C (getLengthMarkerHeight):
4155 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4156 visible on screen too.
4158 2003-02-07 John Levon <levon@movementarian.org>
4160 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4162 2003-02-05 Angus Leeming <leeming@lyx.org>
4164 * lyxserver.C (read_ready): revert my patch of 11 September last year
4165 as it sends PC cpu through the roof. Presumably this means that
4166 the lyxserver will no longer run on an Alpha...
4168 2003-01-30 Angus Leeming <leeming@lyx.org>
4170 * factory.C (createInset): create an InsetCommandParam of type "index"
4171 and use it to 'do the right thing'.
4173 * text2.C (getStringToIndex): ensure that cursor position is always
4174 reset to the reset_cursor position.
4176 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4178 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4181 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4185 * lyxfunc.C: Output messages with identical spelling, punctuation,
4188 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4190 * MenuBackend.C (expandFormats): List only viewable export formats
4193 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4196 * lyxfunc.C (getStatus): Make sure that formats other than
4197 "fax" can also be disabled
4199 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4201 * text3.C (dispatch): put the lfuns that insert insets in 3
4202 groups, and call doInsertInset with appropriate arguments.
4203 (doInsertInset): new function, that creates an inset and inserts
4204 it according to some boolean parameters.
4206 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * buffer.C (readFile): remember to pass on 'par' when calling
4209 readFile recursively.
4211 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4213 * MenuBackend.C (expandFormats): add "..." to import formats.
4215 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4217 * paragraph.C (asString): Remove XForms RTL hacks.
4219 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4220 * buffer.C: fix typo
4222 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * Makefile.am (LIBS): delete var
4225 (lyx_LDADD): add @LIBS@ here instead.
4227 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4229 * Clarify the meaning of "wheel mouse jump"
4231 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4233 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4236 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4238 * importer.C (Loaders): do not preallocate 3 elements in the
4239 vector, since one ends up with 6 elements otherwise
4241 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4243 * DepTable.C (write): write the file name as last element of the
4244 .dep file (because it may contain spaces)
4245 (read): read info in the right order
4247 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4249 * paragraph_pimpl.C (simpleTeXBlanks):
4250 (simpleTeXSpecialChars):
4251 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4253 * tabular.C (latex): add some missing case statements. Reindent.
4255 * MenuBackend.C (expandToc): remove unused variable.
4257 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4266 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4269 2003-01-05 John Levon <levon@movementarian.org>
4272 * BufferView.C: add getEncoding()
4275 * kbsequence.C: do not store last keypress
4278 * lyxfunc.C: store last keypress here instead. Pass encoding
4281 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4283 * lyx_main.C (init): remove annoying error message when following
4284 symbolic links (bug #780)
4286 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4288 * text.C (insertChar):
4289 * lyxrc.C (getDescription): remove extra spaces
4291 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4293 * lyxrc.C (getDescription): remove extra spaces
4295 2002-12-20 John Levon <levon@movementarian.org>
4297 * text3.C: hack fix for page up/down across tall rows
4299 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4301 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4304 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4306 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4307 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4308 thesaurus is not compiled in
4310 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4312 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4314 2002-12-16 Angus Leeming <leeming@lyx.org>
4317 * lyx_main.C (init): remove override_x_deadkeys stuff.
4319 2002-12-12 John Levon <levon@movementarian.org>
4321 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4322 insert. Only remove shift modifier under strict
4325 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * MenuBackend.C (expandToc): fix crash.
4329 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * MenuBackend.C (expandToc): gettext on float names.
4333 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4335 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4336 implement bool empty() [bug 490]
4338 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4342 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * several files: ws changes
4346 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * text2.C (setCounter): clean up a bit, use boost.format.
4349 (updateCounters): initialize par upon declaration.
4351 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4352 if the layout exists. We do not just store the layout any more.
4353 (SwitchLayoutsBetweenClasses): use boost.format
4355 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4357 * converter.C (convert): if from and to files are the same, use a
4358 temporary files as intermediary
4360 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4363 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4365 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4367 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4369 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * tabular.C (asciiPrintCell): use string(size, char) instead of
4374 * sgml.C (openTag): fix order of arguments to string constructor
4377 * lyxfunc.C (dispatch): use boost.format
4379 * lots of files: change "c" -> 'c'
4381 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4383 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4385 2002-11-25 Angus Leeming <leeming@lyx.org>
4387 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4389 * lyx_main.C (init): compile fix.
4391 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * lyx_cb.C (start): boost.formatify
4394 do not include <iostream>
4396 * lengthcommon.C: ws only
4398 * boost-inst.C,BoostFormat.h: add more explict instantations
4400 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * lots of files: handle USE_BOOST_FORMAT
4404 2002-11-21 John Levon <levon@movementarian.org>
4406 * pspell.C: fix compile
4408 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4410 * lyxfunc.C (dispatch): use boost::format
4414 * lyxfont.C (stateText): use boost::format
4416 * lyx_main.C (LyX): use boost::format
4418 (queryUserLyXDir): ditto
4421 (typedef boost::function): use the recommened syntax.
4423 * importer.C (Import): use boost::format
4425 * debug.C (showLevel): use boost::format
4427 * converter.C (view): use boost::format
4432 * bufferview_funcs.C (currentState): use boost::format
4434 * bufferlist.C (emergencyWrite): use boost::format
4436 * buffer.C (readLyXformat2): use boost::format
4437 (parseSingleLyXformat2Token): ditto
4439 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4441 * LaTeX.C (run): use boost::format
4443 * Chktex.C (scanLogFile): use boost::format
4445 * BufferView_pimpl.C (savePosition): use boost::format
4446 (restorePosition): ditto
4447 (MenuInsertLyXFile): ditto
4449 * BoostFormat.h: help file for explicit instation.
4451 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4453 * tabular.C (latex): Support for block alignment in fixed width
4456 2002-11-17 John Levon <levon@movementarian.org>
4458 * BufferView_pimpl.C:
4460 * lyxfunc.C: split filedialog into open/save
4462 2002-11-08 Juergen Vigna <jug@sad.it>
4464 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4465 by my last patch (hopefully).
4467 2002-11-08 John Levon <levon@movementarian.org>
4476 * toc.C: ParConstIterator, and use it (from Lars)
4478 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4480 * lyxtextclass.[Ch]: revise and add doxygen comments
4482 2002-11-07 John Levon <levon@movementarian.org>
4484 * text.C: fix progress value for spellchecker
4486 * toc.C: fix navigate menu for insetwrap inside minipage
4488 * paragraph_funcs.C: added FIXME for suspect code
4490 2002-11-07 John Levon <levon@movementarian.org>
4492 * BufferView_pimpl.C: fix redrawing of insets
4495 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4497 * text2.C (updateCounters): fix bug 668
4499 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4501 * text3.C (dispatch): Do not make the buffer dirty when moving the
4504 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * vc-backend.C: STRCONV
4509 * text2.C (setCounter): STRCONV
4511 * paragraph.C (asString): STRCONV
4513 * lyxlength.C (asString): STRCONV
4514 (asLatexString): ditto
4516 * lyxgluelength.C (asString): STRCONV
4517 (asLatexString): ditto
4519 * lyxfunc.C (dispatch): STRCONV
4522 * lyxfont.C (stateText): STRCONV
4524 * importer.C (Import): STRCONV
4526 * counters.C (labelItem): STRCONV
4527 (numberLabel): ditto
4528 (numberLabel): remove unused ostringstream o
4533 * bufferview_funcs.C (currentState): STRCONV
4535 * buffer.C (readFile): STRCONV
4536 (asciiParagraph): ditto
4537 (makeLaTeXFile): ditto
4539 * Spacing.C (writeEnvirBegin): STRCONV
4541 * LaTeXFeatures.C (getLanguages): STRCONV
4542 (getPackages): ditto
4544 (getBabelOptions): ditto
4545 (getTClassPreamble): ditto
4546 (getLyXSGMLEntities): ditto
4547 (getIncludedFiles): ditto
4551 (scanAuxFile): ditto
4554 * LString.h: add the STRCONV macros
4556 * BufferView_pimpl.C (savePosition): STRCONV
4557 (restorePosition): ditto
4558 (MenuInsertLyXFile): ditto
4560 * vc-backend.C (scanMaster): change from submatch[...] to
4563 * funcrequest.C: include config.h
4565 * factory.C: include config.h
4567 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4569 * box.C: include config.h
4571 * LaTeX.C (scanAuxFile): change from submatch[...] to
4575 2002-10-25 Angus Leeming <leeming@lyx.org>
4577 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4579 * ispell.[Ch] (setError): new method.
4580 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4581 Use setError() insetead of goto END.
4583 * lyx_cb.C (AutoSave): move out child process into new class
4586 2002-10-30 John Levon <levon@movementarian.org>
4588 * text3.C: make start appendix undoable
4590 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4592 * lyxlength.C (inPixels): Fix returned value.
4594 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4597 2002-10-24 Angus Leeming <leeming@lyx.org>
4599 * lyxgluelength.h: no need to forward declare BufferParams
4600 or BufferView, so don't.
4602 2002-10-21 John Levon <levon@movementarian.org>
4604 * BufferView.C: menuUndo ->undo, redo
4606 * BufferView.h: document, remove dead, make some methods private
4608 * paragraph_funcs.h:
4609 * paragraph_funcs.C:
4610 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4615 * sgml.C: move sgml open/close tag into sgml.C
4617 * bufferview_funcs.h: unused prototype
4620 * lyxfunc.C: remove unused
4623 * text.C: remove unused
4625 2002-10-21 John Levon <levon@movementarian.org>
4629 * BufferView_pimpl.h:
4630 * BufferView_pimpl.C: fix mouse wheel handling based on
4631 patch from Darren Freeman
4633 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4635 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4637 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4639 * lyxlength.C (inPixels): Fix hanfling of negative length.
4640 Fix LyXLength::MU case.
4642 2002-10-16 John Levon <levon@movementarian.org>
4644 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4646 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4648 * converter.C (view): add support for $$i (file name) and $$p
4649 (file path) for the viewer command. If $$i is not specified, then
4650 it is appended to the command (for compatibility with old syntax)
4652 2002-10-14 Juergen Vigna <jug@sad.it>
4654 * undo_funcs.C (textHandleUndo): alter the order in which the
4655 new undopar is added to the LyXText, as we have to set first
4656 the right prev/next and then add it as otherwise the rebuild of
4657 LyXText is not correct. Also reset the cursor to the right paragraph,
4658 with this IMO we could remove the hack in "redoParagraphs()".
4660 2002-10-09 Angus Leeming <leeming@lyx.org>
4662 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4663 to turn off an optimisation if a new inset is to be inserted.
4665 2002-10-11 André Pönitz <poenitz@gmx.net>
4667 * lyxtext.h: make some functions public to allow access
4668 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4670 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4672 * text3.C (dispatch): when changing layout, avoid an infinite loop
4675 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4677 * lyxrc.C (read): treat a viewer or converter command of "none" as
4680 * MenuBackend.C (expandFormats): for an update, also allow the
4681 formats that are not viewable
4683 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4684 script if it is newer than the lyxrc.defaults in user directory
4686 2002-10-07 André Pönitz <poenitz@gmx.net>
4688 * text.C: Vitaly Lipatov's small i18n fix
4690 2002-09-25 Angus Leeming <leeming@lyx.org>
4692 * ispell.h: doxygen fix.
4694 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4696 * buffer.h (readFile): Add a new argument to the method, to allow
4697 reading of old-format templates.
4699 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4701 * toc.C (getTocList): Get TOC from InsetWrap.
4703 2002-09-16 John Levon <levon@movementarian.org>
4705 * lyxfunc.C: check tabular for cut/copy too
4707 2002-09-12 John Levon <levon@movementarian.org>
4712 * factory.C: add header
4714 * paragraph_funcs.h:
4715 * paragraph_funcs.C: cleanup
4717 2002-09-11 John Levon <levon@movementarian.org>
4719 * PrinterParams.h: odd/even default to true
4721 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4723 * PrinterParams.h: update printer parameters for new xforms dialog
4725 2002-09-11 Angus Leeming <leeming@lyx.org>
4727 * lyxserver.C (read_ready): re-write to make it more transparent
4728 and to make it work in coherent fashion under Tru64 Unix.
4730 2002-09-11 André Pönitz <poenitz@gmx.net>
4734 * text3.C: implement LFUN_WORDSEL
4736 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4739 make floatlist_ a boost::shared_ptr<FloatList>
4741 * lyxtextclass.C: include FloatList.h
4742 (LyXTextClass): initialize floatlist_
4743 (TextClassTags): add TC_NOFLOAT
4744 (Read): match "nofloat" to TC_NOFLOAT and use it.
4745 (readFloat): modify call to floatlist_
4749 * FloatList.[Ch] (FloatList): remove commented out float
4751 (erase): new function
4753 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4755 * MenuBackend.C (expandToc): fix crash when there is no document
4758 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4760 * many files: Add insetwrap.
4762 2002-09-09 John Levon <levon@movementarian.org>
4764 * text2.C: remove confusing and awkward depth wraparound
4766 2002-09-09 John Levon <levon@movementarian.org>
4768 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4771 * buffer.C: remove getIncludeonlyList()
4774 * lyxfunc.C: remove headers
4776 2002-09-09 Juergen Vigna <jug@sad.it>
4778 * text.C (getColumnNearX): fix form Michael this is most
4779 probably a cut&paste bug.
4781 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4785 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4786 references, ws changes.
4788 * text2.C (init): update counters after init
4789 (insertParagraph): no need to set counter on idividual paragraphs.
4790 (setCounter): access the counters object in the textclass object
4791 on in the buffer object.
4792 (updateCounters): ditto
4794 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4795 shared_ptr<Counters> to avoid loading counters.h in all
4797 (LyXTextClass): initialize ctrs_
4798 (TextClassTags): add TC_COUNTER, and ...
4799 (Read): use it here.
4800 (CounterTags): new tags
4801 (readCounter): new function
4802 (counters): new funtion
4803 (defaultLayoutName): return a const reference
4805 * counters.C (Counters): remove contructor
4806 (newCounter): remove a couple of unneeded statements.
4807 (newCounter): simplify a bit.
4808 (numberLabel): some small formatting changes.
4810 * buffer.[Ch]: remove all traces of counters, move the Counters
4811 object to the LyXTextClass.
4813 2002-09-06 Alain Castera <castera@in2p3.fr>
4815 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4816 package to set the horizontal alignment on fixed width columns.
4819 * lyx_sty.h: added tabularnewline macro def.
4821 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4823 2002-09-06 John Levon <levon@movementarian.org>
4825 * LyXAction.C: tooltips for sub/superscript
4827 * MenuBackend.C: a bit more verbose
4829 * lyxfunc.C: tiny clean
4831 * undo_funcs.C: document undo_frozen
4833 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * counters.C (Counters): add missing algorithm counter.
4837 * text2.C (setCounter): lookup the counter with layouts latexname
4838 instead of by section number.
4839 (setCounter): use a hackish way to lookup the correct enum
4841 a float name->type change
4842 reset enum couners with counter name directly instead of depth value.
4844 * counters.C (Counters): remove the push_backs, change to use the
4845 float type not the float name.
4846 (labelItem): remove unused string, float name->type change
4848 * counters.h: don't include vector, loose the enums and sects vectors
4850 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4853 (Read): add float->TC_FLOAT to textclassTags
4854 (Read): and handle it in the switch
4855 (readFloat): new function
4857 * FloatList.C (FloatList): comment out the hardcoded float
4860 * lyxlayout.h: ws change.
4862 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4864 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4866 2002-09-03 Angus Leeming <leeming@lyx.org>
4868 * BufferView_pimpl.h: qualified name is not allowed in member
4869 declaration: WorkArea & Pimpl::workarea() const;
4871 * factory.C: added using std::endl directive.
4873 * text3.C: added using std::find and std::vector directives.
4875 2002-08-29 André Pönitz <poenitz@gmx.net>
4878 * text2.C: remove unused member number_of_rows
4881 * BufferView2.C: remove file, move contents to...
4882 * BufferView.C: ... here
4884 * BufferView_pimpl.C:
4885 * factory.C: move more inset creation to factory
4887 * vspace.C: avoid direct usage of LyXText, ws changes
4890 don't provide direct access to WorkArea, use two simple
4891 acessors haveSelction() and workHeight() instead
4894 2002-08-29 John Levon <levon@movementarian.org>
4896 * BufferView_pimpl.C (dispatch): do not continue when
4899 2002-08-28 André Pönitz <poenitz@gmx.net>
4901 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4904 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4906 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4908 * buffer.C: increment LYX_FORMAT to 221
4910 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4911 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4913 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4915 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4917 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4919 * factory.C (createInset): use LyXTextClass::floats
4921 * MenuBackend.C (expandFloatListInsert):
4922 (expandFloatInsert):
4925 * text2.C (setCounter):
4927 * LaTeXFeatures.C (useFloat):
4928 (getFloatDefinitions):
4930 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4932 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4933 floatlist_, with accessor floats().
4935 * FloatList.h: remove global FloatList
4937 2002-08-26 André Pönitz <poenitz@gmx.net>
4939 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4943 * BufferView_pimpl.C:
4944 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4946 2002-08-25 John Levon <levon@movementarian.org>
4948 * LyXAction.C: fix margin note description
4950 2002-08-24 John Levon <levon@movementarian.org>
4954 * bufferview_funcs.C:
4956 * undo_funcs.C: cleanups
4958 * lyxfunc.C: disable CUT/COPY when no selection
4960 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4962 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4963 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4965 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4966 Add backward compatibility to "mono", "gray" and "no".
4968 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4970 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4971 (and file_format >= 200).
4973 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4975 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4977 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4979 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4981 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4983 * BufferView_pimpl.C:
4990 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4991 inset and code to make it work with the paragraph code. The inset
4992 can be anywhere in the paragraph, but will only do the expected
4993 thing in LaTeX if the layout file contains the parameter line
4995 (or more generally, a nonzero value) for that layout.
4997 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * paragraph.h: remove the declaration of undefined counters class
5002 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5004 * text2.C (setCounter): fixed enumeration mis-count as reported by
5005 Dr. Richard Hawkins.
5007 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5009 * paragraph_funcs.h: remove some unneeded includes
5011 * text.C (backspace): pasteParagraph now in global scipe
5013 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5014 (pasteSelection): ditto
5016 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5017 * paragraph_funcs.C (pasteParagraph): ... here
5019 2002-08-20 André Pönitz <poenitz@gmx.net>
5021 * commandtags.h: new LFUNs for swapping/copying table row/colums
5024 * lyxfunc.C: support for new lfuns
5026 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * buffer.[Ch]: remove NO_COMPABILITY stuff
5031 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * boost.C (throw_exception): new file, with helper function for
5034 boost compiled without exceptions.
5039 * ParameterStruct.h:
5040 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5042 * bufferlist.C (emergencyWriteAll): use boost bind
5044 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5046 * text.C: include paragraph_funcs.h
5047 (breakParagraph): breakParagraph is now in global scope
5049 * paragraph_funcs.[Ch]: new files
5051 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5054 * buffer.C: include paragraph_funcs.h
5055 (insertStringAsLines): breakParagraph is now in global scope
5057 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5060 * CutAndPaste.C: include paragraph_funcs.h
5061 (cutSelection): breakParagraphConservative is now in global scope
5062 (pasteSelection): ditto
5064 * buffer.h: declare oprator== and operator!= for
5065 Buffer::inset_iterator
5067 * bufferlist.C (emergencyWrite): don't use fmt(...)
5069 * text3.C: add using std::endl
5071 * BufferView.C (moveCursorUpdate): remove default arg
5073 2002-08-20 André Pönitz <poenitz@gmx.net>
5075 * buffer.[Ch]: move inline functions to .C
5078 * BufferView_pimpl.C:
5080 * buffer.[Ch]: use improved inset_iterator
5083 * paragraph.[Ch]: write one paragraph at a time
5085 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5087 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5088 style if style is not specified.
5090 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5092 * text2.C (setCounter): when searching for right label for a
5093 caption, make sure to recurse to parent insets (so that a caption
5094 in a minipage in a figure float works) (bug #568)
5096 2002-08-20 André Pönitz <poenitz@gmx.net>
5098 * text3.C: new file for LyXText::dispatch() and helpers
5100 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5102 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5104 2002-08-19 André Pönitz <poenitz@gmx.net>
5107 * text.C: new LyXText::dispatch()
5109 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5111 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5113 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5115 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5118 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5120 * Makefile.am: use $(variables) instead of @substitutions@
5122 2002-08-15 André Pönitz <poenitz@gmx.net>
5125 * BufferView_pimpl.C: streamlining mathed <-> outer world
5129 * LyXAction.C: remove unused LFUN_MATH
5131 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5133 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5135 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * paragraph.C (Paragraph): reformat a bit
5138 (cutIntoMinibuffer): use builtin InsetList function instad of
5142 * buffer.C: include boost/bind.hpp, add using std::for_each
5143 (writeFileAscii): use ParagraphList iterators
5144 (validate): use for_each for validate traversal of paragraphs
5145 (getBibkeyList): use ParagraphList iterators
5146 (resizeInsets): use for_each to resizeInsetsLyXText for all
5148 (getParFromID): use ParagraphList iterators
5150 * BufferView2.C (lockInset): use paragraph list and iterators
5152 2002-08-14 John Levon <levon@movementarian.org>
5154 * lyxserver.C: remove spurious xforms include
5156 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5158 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5160 2002-08-13 André Pönitz <poenitz@gmx.net>
5163 * lyxfunc.C: further cleaning
5165 2002-08-13 André Pönitz <poenitz@gmx.net>
5167 * funcrequest.h: new constructor
5169 * funcrequest.C: move stuff here from .h
5172 * BufferView_pimpl.C:
5175 * lyxfunc.C: subsequent changes
5177 * lyxfunc.h: new view() member function
5179 * lyxfunc.C: subsequent changes
5181 2002-08-13 Angus Leeming <leeming@lyx.org>
5184 * BufferView_pimpl.C:
5192 changes due to the changed LyXView interface that now returns references
5193 to member variables not pointers.
5195 2002-08-13 Angus Leeming <leeming@lyx.org>
5197 * WordLangTuple (word, lang_code): return references to strings,
5202 * lyxtext.h: forward-declare WordLangTuple.
5207 * text.C: #include "WordLangTuple.h".
5210 * text.C: (selectNextWordToSpellcheck): constify return type.
5212 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5218 * paragraph_pimpl.h:
5221 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5223 Made updateCounter always count from start of buffer, and removed
5224 second argument (par).
5225 Reverted floats number display to '#'. Perhaps I'll try again when the
5226 code base is sanitized a bit.
5228 2002-08-12 Angus Leeming <leeming@lyx.org>
5230 * buffer.[Ch] (getLabelList): constify.
5232 2002-08-07 André Pönitz <poenitz@gmx.net>
5234 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5236 * funcrequest.h: extension to keep mouse (x,y) position
5238 2002-08-12 Juergen Vigna <jug@sad.it>
5240 * BufferView2.C (insertErrors): forbid undo when inserting error
5243 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5245 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5247 * ParagraphList.[Ch]: new files
5249 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5251 * BufferView2.C (lockInset): ParagraphList changes
5254 * bufferlist.C: ditto
5258 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5261 unused class variable counter_,
5263 * paragraph.[Ch] (getFirstCounter): delete unused function
5265 * counters.C: include LAssert.h
5266 (reset): add a new function with no arg, change other version to
5267 not have def. arg and to not allow empty arg.
5269 * text2.C (setCounter): remove empty arg from call to Counters::reset
5271 2002-08-11 John Levon <levon@movementarian.org>
5273 * Makefile.am: add WordLangTuple.h
5275 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5278 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5280 * insets/insettext.C: InsetList changes
5282 * graphics/GraphicsSupport.C (operator()): InsetList changes
5284 * toc.C (getTocList): InsetList changes
5286 * paragraph_pimpl.[Ch]: InsetList changes
5288 * paragraph.[Ch]: InsetList changes
5290 * buffer.C (inset_iterator): InsetList changes
5291 (setParagraph): ditto
5292 * buffer.h (inset_iterator): ditto
5293 * iterators.C (operator++): ditto
5294 * iterators.h: ditto
5296 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5298 * InsetList.[Ch]: new files, most InsetList handling moved out of
5301 * BufferView2.C (removeAutoInsets): InsetList changes
5303 (ChangeInsets): ditto
5305 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * paragraph_pimpl.h (empty): new function
5309 * paragraph.[Ch] (empty): new function
5311 * other files: use the new Paragraph::empty function
5313 2002-08-09 John Levon <levon@movementarian.org>
5315 * lyxtext.h: remove unused refresh_height
5317 2002-08-09 John Levon <levon@movementarian.org>
5324 * paragraph.C: move sgml char escaping out of paragraph
5327 * paragraph.C: remove id setter
5331 * paragraph_pimpl.C: remove dead tex_code_break_column
5333 * bufferview_funcs.C: small cleanup
5335 * lyxfunc.C: remove dead proto
5337 * lyxtext.h: make some stuff private. Remove some dead stuff.
5339 * lyxgluelength.C: make as[LyX]String() readable
5341 2002-08-08 John Levon <levon@movementarian.org>
5346 * ToolbarDefaults.C:
5349 * toc.C: lyxaction cleanup
5351 2002-08-08 John Levon <levon@movementarian.org>
5353 * BufferView2.C: small cleanup
5356 * lyxfind.C: move unnecessary header into the .C
5358 2002-08-08 John Levon <levon@movementarian.org>
5360 * funcrequest.h: just tedious nonsense
5363 * lyx_main.C: cleanups
5366 * vspace.C: remove dead header lyx_main.h
5368 2002-08-07 Angus Leeming <leeming@lyx.org>
5371 * paragraph_pimpl.h:
5372 Forward declare class Counters in paragraph.h by moving the ctrs member
5373 variable into Paragraph::Pimpl.
5374 (counters): new method, returning a reference to pimpl_->ctrs.
5376 * text2.C: ensuing changes.
5378 2002-08-07 John Levon <levon@movementarian.org>
5380 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5382 * BufferView_pimpl.C: announce X selection on double/triple
5385 * lyx_main.C: use correct bool in batch dispatch
5387 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5389 2002-08-07 André Pönitz <poenitz@gmx.net>
5391 * funcrequest.h: new class to wrap a kb_action and its argument
5394 * BufferView_pimpl[Ch]:
5398 * lyxrc.C: subsequent changes
5401 2002-08-07 John Levon <levon@movementarian.org>
5403 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5404 document options change.
5406 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5411 * makefile.am: move counters functionality over from
5412 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5414 2002-08-06 John Levon <levon@movementarian.org>
5416 * WordLangTuple.h: new file for word + language code tuple
5427 * BufferView2.C: use WordLangTuple
5430 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5432 2002-08-06 John Levon <levon@movementarian.org>
5434 * lyx_main.C: fix cmdline batch handling
5436 2002-08-06 André Pönitz <poenitz@gmx.net>
5438 * lyxrc.C: set default for show_banner to true
5440 2002-08-06 John Levon <levon@movementarian.org>
5442 * pspell.C: fix a crash, and allow new aspell to work
5444 2002-08-06 John Levon <levon@movementarian.org>
5447 * kbmap.C: small cleanup
5450 * vspace.C: add const
5452 2002-08-05 John Levon <levon@movementarian.org>
5454 * LyXAction.C: back to tabular-insert
5456 2002-08-04 John Levon <levon@movementarian.org>
5459 * BufferView.C: cosmetic change
5461 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5471 * BufferView2.C: purge all "Lyx" not "LyX" strings
5474 * lyxcursor.C: attempt to add some documentation
5479 * ToolbarDefaults.C:
5480 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5481 merge with LFUN_TABULAR_INSERT
5488 * pspell.C: split up i/pspell implementations into separate
5489 files, many cleanups
5491 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5493 * text2.C: some cleanup
5495 * lyxfunc.C: don't check for isp_command == "none" any more, it
5496 didn't make any sense
5498 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5503 * makefile.am: move counters functionality over
5504 from text2.C/paragraph.[Ch] to counters.[Ch], and
5506 2002-08-02 John Levon <levon@movementarian.org>
5508 * buffer.C: s/lyxconvert/lyx2lyx/
5510 2002-08-02 Angus Leeming <leeming@lyx.org>
5512 * lyxlex.C: revert John's change as it breaks reading of the user
5515 2002-08-02 Angus Leeming <leeming@lyx.org>
5517 * importer.C (Import):
5518 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5519 changes due to LyXView::view() now returning a boost::shared_ptr.
5521 2002-08-02 John Levon <levon@movementarian.org>
5523 * lyxlex.C: small cleanup
5525 2002-08-02 John Levon <levon@movementarian.org>
5527 * text2.C (status): small cleanup, no logic change
5529 2002-08-01 John Levon <levon@movementarian.org>
5532 * buffer.C (writeFile): don't output alerts, caller
5536 * lyx_cb.C: from above
5538 * lyxfunc.C: allow to open non-existent files
5540 2002-07-31 John Levon <levon@movementarian.org>
5542 * lyxserver.C: don't let incidental errors get
5545 2002-07-30 John Levon <levon@movementarian.org>
5547 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5549 2002-07-30 John Levon <levon@movementarian.org>
5552 * lyxserver.C: remove I/O callback too
5554 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5556 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5559 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * many files: strip,frontStrip -> trim,ltrim,rtrim
5563 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * PrinterParams.h: remove extern containsOnly, and include
5566 support/lstrings.h instead.
5568 * LaTeX.C (scanAuxFile): modify because of strip changes
5570 * buffer.C (makeLaTeXFile): ditto
5571 * bufferparams.C (writeFile): ditt
5572 * lyxfont.C (stateText): ditto
5573 * lyxserver.C (read_ready): ditto
5574 * vc-backend.C (scanMaster): ditto
5576 * BufferView_pimpl.h: ws changes
5578 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5580 2002-07-26 André Pönitz <poenitz@gmx.net>
5582 * kb_sequence.C: remove unnedred usings
5584 2002-07-26 Juergen Vigna <jug@sad.it>
5586 * lyxfind.C (LyXReplace): we have to check better if the returned
5587 text is not of theLockingInset()->getLockingInset().
5589 2002-07-25 Juergen Vigna <jug@sad.it>
5591 * lyxfind.C (LyXReplace): don't replace if we don't get the
5594 * undo_funcs.C (createUndo): remove debugging code.
5596 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5598 * buffer.C (parseSingleLyXformat2Token): Use default placement
5599 when reading old floats.
5601 * FloatList.C (FloatList): Change the default placement of figure
5602 and tables to "tbp".
5604 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5606 * MenuBackend.C: using std::max
5608 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5610 * MenuBackend.C (expandToc):
5611 (expandToc2): code moved from xforms menu frontend. It is now
5612 generic and TOCs are transparent to menu frontends.
5614 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5616 * toc.C (getTocList): protect against buf=0
5618 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5619 Menu as first parameter. Now, this calls itself recursively to
5620 expand a whole tree (this will be useful for TOC handling)
5621 (expandFloatInsert): remove 'wide' version of floats
5623 * MenuBackend.h (submenuname): returns the name of the submenu.
5624 (submenu): returns the submenu itself, provided it has been
5625 created by MenuBackend::expand
5627 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5629 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5630 insets which have noFontChange == true. (bug #172)
5632 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5634 * BufferView_pimpl.C: add connection objects and use them...
5637 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5639 * MenuBackend.C (expandLastfiles):
5642 (expandFloatListInsert):
5643 (expandFloatInsert):
5644 (expand): split expand in parts
5646 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5648 * lyx_gui.C: use lyx_gui::exit()
5650 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5652 * LyXAction.C: show the failing pseudo action
5654 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5656 * buffer.C (readFile): Run the lyxconvert script in order to read
5659 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5663 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5665 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5669 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5671 2002-07-22 Herbert Voss <voss@lyx.org>
5674 * lyxlength.[Ch]: add support for the vertical lengths
5676 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5678 * toc.[Ch]: std:: fixes
5680 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5682 * lyxrc.C: do not include lyx_main.h
5684 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5690 * BufferView2.C: include "lyxlex.h"
5693 * bufferparams.h: do not #include "lyxlex.h"
5695 * lyxtextclasslist.C (Add): remove method
5696 (classlist): renamed to classlist_
5698 * paragraph_pimpl.C:
5702 * bufferview_funcs.C:
5707 * toc.C (getTocList): use BufferParams::getLyXTextClass
5709 * toc.C (getTocList): use InsetFloat::addToToc
5711 * toc.[Ch]: new files, containing helper functions to handle table
5714 * lyxfunc.C (dispatch): no need to remove spaces around command
5716 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5717 first command of the sequence; it is not very clever, but I do not
5718 have a better idea, actually
5720 * LyXAction.C (LookupFunc): make sure to remove space at the
5721 beginning and end of the command
5723 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5725 * MenuBackend.C (getMenubar): new method: return the menubar of
5727 (read): treat differently reading of menu and menubar (in
5728 particular, the menubar has no name now)
5729 (Menu::menubar): remove
5731 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5734 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5736 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5737 a bibitem inset in a RTL paragraph.
5739 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5741 * paragraph_pimpl.C: constify
5743 * BufferView_pimpl.C:
5745 * lyxfunc.C: fix dispatch in a nicer way
5747 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5749 * lyxfunc.C (dispatch):
5750 * BufferView_pimpl.C:
5751 * BufferView_pimpl.h:
5753 * BufferView.h: rename Dispatch() to dispatch()
5755 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5757 * lyxlayout.C (Read): honor DependsOn tag
5759 * lyxlayout.[Ch] (depends_on): new method
5761 * version.C.in: update lyx_docversion
5763 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5765 * paragraph.C (validate): remove from here...
5766 * paragraph_pimpl.C (validate): ... and move here
5767 (isTextAt): make it const
5769 * buffer.C (getLists): ws cleanup
5771 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5773 * language.C (read): Use iso8859-1 encoding in latex_lang
5774 (this prevents LyX from crashing when using iso10646-1 encoding).
5776 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5778 * text2.C (toggleInset): if cursor is inside an inset, close the
5779 inset and leave cursor _after_ it
5781 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5783 * lyxfunc.C: move minibuffer completion handling out of here
5785 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5787 * BufferView_pimpl.C:
5788 * LaTeX.C: fix dispatch calls
5790 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5792 * text.C (drawChars): Fix Arabic text rendering.
5794 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5798 * lyxfunc.C: remove message-push/pop
5802 * lyxfunc.C: rationalise some code by removing verboseDispatch
5803 in favour of a bool argument to dispatch()
5805 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5807 * lyx_main.C (init): make sure to read symlinks as absolute paths
5809 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5812 * lyxfunc.C: no need for commandshortcut to be a member
5814 2002-07-15 André Pönitz <poenitz@gmx.net>
5816 * converter.C: add support for $$s (scripts from lib/scripts dir)
5817 * lyx_main.C: white space
5819 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5823 * lyxrc.C: remove second exit confirmation
5825 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5830 * BufferView_pimpl.h:
5831 * BufferView_pimpl.C:
5832 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5834 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5836 * MenuBackend.C (expand): add numeric shortcuts to document menu
5838 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5840 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5842 * lyxfont.C (setLyXFamily):
5849 * buffer.C (asciiParagraph): use ascii_lowercase
5851 2002-07-15 Mike Fabian <mfabian@suse.de>
5853 * lyxlex_pimpl.C (search_kw):
5854 * lyxlex.C (getLongString):
5855 * converter.h (operator<):
5856 * converter.C (operator<):
5857 * buffer.C (parseSingleLyXformat2Token):
5859 * ToolbarDefaults.C (read):
5860 * MenuBackend.C (checkShortcuts):
5862 * LColor.C (getFromGUIName):
5863 (getFromLyXName): use the compare_ascii_no_case instead of
5864 compare_no_case, because in turkish, 'i' is not the lowercase
5865 version of 'I', and thus turkish locale breaks parsing of tags.
5867 2002-07-16 Angus Leeming <leeming@lyx.org>
5869 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5870 now takes a Buffer const & argument.
5872 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5874 * BufferView.C (resize): check there's a buffer to resize
5876 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5878 * lyxfunc.C: remove dead code
5881 * lyxserver.C: use lyx_guii::set_read_callback
5883 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5885 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5886 an inset in a RTL paragraph.
5888 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5890 * lyxfunc.C: repaint after a font size update
5892 2002-07-15 André Pönitz <poenitz@gmx.net>
5894 * lyxlength.C: inBP should be able to return negative values
5896 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5898 * lyxfunc.C: use lyx_gui::update_fonts()
5900 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5902 * lyxfunc.C: use lyx_gui::update_color()
5904 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5910 * lyxrc.C: remove file->new asks for name option, and let
5911 buffer-new take an argument
5913 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5915 * BufferView_pimpl.C: remove unneeded extra repaint()
5917 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5919 * LyXAction.C: allow command-sequence with NoBuffer
5921 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5923 2002-07-10 Angus Leeming <leeming@lyx.org>
5925 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5927 2002-07-09 Angus Leeming <leeming@lyx.org>
5929 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5931 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5933 * lengthcommon.h: whitespace
5935 * lyxfunc.C: update scrollbar after goto paragraph
5937 * lyxtext.h: factor out page break drawing, and fix it so
5938 page break/added space paints as selected nicely
5940 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5942 * BufferView_pimpl.C: add FIXMEs, clean up a little
5944 2002-07-09 André Pönitz <poenitz@gmx.net>
5946 * lyxfont.[Ch]: support for wasy symbols
5948 2002-07-08 André Pönitz <poenitz@gmx.net>
5950 * BufferView_pimpl.C: apply John's patch for #93.
5952 2002-07-05 Angus Leeming <leeming@lyx.org>
5954 * BufferView_pimpl.C (buffer): generate previews if desired.
5956 * LColor.h: add "preview" to the color enum.
5958 * LColor.C (LColor): add a corresponding entry to the items array.
5960 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5963 2002-07-05 Angus Leeming <leeming@lyx.org>
5965 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5966 The body of the code is now in the method that is passed an ostream &
5967 rather than a file name.
5968 Pass an additional only_preamble parameter, useful for the forthcoming
5971 2002-07-03 André Pönitz <poenitz@gmx.net>
5973 * lyxfunc.C: simplify getStatus() a bit for math stuff
5975 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5977 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5979 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5981 * text.C (changeRegionCase): do not change case of all the
5982 document when region ends at paragraph end (bug #461)
5984 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5986 * paragraph.C (startTeXParParams):
5987 (endTeXParParams): add \protect when necessary
5989 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * BufferView_pimpl.C (workAreaExpose): remove warning
5993 2002-06-27 Angus Leeming <leeming@lyx.org>
5995 * Makefile.am: add lyxlayout_ptr_fwd.h.
5997 2002-06-26 André Pönitz <poenitz@gmx.net>
5999 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6001 2002-06-25 Angus Leeming <leeming@lyx.org>
6003 * lyxfunc.C (dispatch): Comment out the call to
6004 grfx::GCache::changeDisplay. The method no longer exists now that the
6005 pixmap generation part of the graphics loader has been moved into
6008 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6010 * text2.C: layout as layout
6012 * text.C: layout as layout
6014 * tabular.C (OldFormatRead): layout as layout
6016 * paragraph_pimpl.C (TeXDeeper): layout as layout
6017 (realizeFont): layout as layout
6019 * paragraph.C (writeFile): layout as layout
6020 (validate): layout as layout
6021 (getFont): layout as layout
6022 (getLabelFont): layout as layout
6023 (getLayoutFont): layout as layout
6024 (breakParagraph): layout as layout
6025 (stripLeadingSpaces): layout as layout
6026 (getEndLabel): layout as layout
6027 (getMaxDepthAfter): layout as layout
6028 (applyLayout): layout as layout
6029 (TeXOnePar): layout as layout
6030 (simpleTeXOnePar): layout as layout
6031 (TeXEnvironment): layout as layout
6032 (layout): layout as layout
6033 (layout): layout as layout
6035 * lyxtextclass.C (compare_name): new functor to work with
6036 shared_ptr, layout as layout
6037 (Read): layout as layout
6038 (hasLayout): layout as layout
6039 (operator): layout as layout
6040 (delete_layout): layout as layout
6041 (defaultLayout): layout as layout
6043 * lyxlayout_ptr_fwd.h: new file
6045 * lyxlayout.C (Read): layout as layout
6047 * lyx_cb.C (MenuInsertLabel): layout as layout
6049 * bufferlist.C (newFile): layout as layout
6051 * buffer.C (readLyXformat2): layout as layout
6052 (parseSingleLyXformat2Token): layout as layout
6053 (insertStringAsLines): layout as layout
6054 (asciiParagraph): layout as layout
6055 (latexParagraphs): layout as layout
6056 (makeLinuxDocFile): layout as layout
6057 (simpleLinuxDocOnePar): layout as layout
6058 (makeDocBookFile): layout as layout
6059 (simpleDocBookOnePar): layout as layout
6060 (getLists): layout as layout
6062 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6064 * CutAndPaste.C (cutSelection): layout as layout
6065 (pasteSelection): layout as layout
6066 (SwitchLayoutsBetweenClasses): layout as layout
6068 * BufferView_pimpl.C (Dispatch): layout as layout
6069 (smartQuote): layout as layout
6071 * BufferView2.C (unlockInset): layout as layout
6073 2002-06-24 André Pönitz <poenitz@gmx.net>
6075 * lyxfunc.C: fix #487
6077 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6081 * lyxfunc.C: remove display_shortcuts, show_banner
6083 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6085 * Buffer_pimpl.C: oops, update on resize
6087 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6094 * BufferView.C: use repaint()
6096 * BufferView_pimpl.h:
6097 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6098 as it's a clearer description. Remove superfluous
6101 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6103 * text.C: fix bug 488. Not ideal, but getting
6104 getWord() to work properly for the insets that
6105 matter is more difficult ...
6107 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6109 * BufferView_pimpl.C:
6112 * lyxfunc.C: remove the six million index lyxfuncs to just
6113 one, and DTRT (bug 458)
6115 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6119 * BufferView_pimpl.h:
6120 * BufferView_pimpl.C: clean up resize() stuff,
6121 and unnecessary updateScreen()s
6123 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6127 * BufferView_pimpl.h:
6128 * BufferView_pimpl.C:
6131 * minibuffer.C: remove focus management of workarea,
6132 not needed. Use screen's greyOut()
6134 2002-06-17 Herbert Voss <voss@lyx.org>
6136 * converter.C: (convert) do not post a message, when converting
6137 fails, let the calling function decide what to do in this case
6139 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6141 * lyxfunc.C: tidy up a little
6143 2002-06-16 <alstrup@diku.dk>
6145 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6146 Got rid of FORMS_H_LOCATION include. Now we are
6149 2002-06-15 LyX Development team <lyx@rilke>
6151 * buffer.[Ch] (sgmlOpenTag):
6152 (sgmlCloseTag): Added support for avoiding pernicious mixed
6153 content. Return number of lines written.
6156 (makeDocBookFile): Fixed calls to sgml*Tag.
6157 Simple white space clean.
6159 (simpleDocBookOnePar): Simple white space clean.
6161 * tabular.[Ch] (docBook): Renamed to docbook and got another
6162 argument to related with the pernicious mixed content.
6164 (docbookRow): Fixed calls for docbook inset method.
6166 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6168 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6169 so it's X11 independent.
6173 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6175 2002-06-15 Lyx Development team <lyx@electronia>
6177 * intl.h: Renamed getTrans to getTransManager.
6179 2002-06-14 Angus Leeming <leeming@lyx.org>
6181 * Makefile.am: nuke forgotten stl_string_fwd.h.
6183 2002-06-12 Angus Leeming <leeming@lyx.org>
6185 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6187 2002-06-13 Angus Leeming <leeming@lyx.org>
6190 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6192 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6194 * kbmap.C (getiso): add support for cyrillic and greek
6196 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6200 * BufferView_pimpl.h:
6201 * BufferView_pimpl.C: move bogus scrolling logic
6204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6207 * BufferView_pimpl.C: view->resize() change
6209 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6211 * BufferView_pimpl.C: topCursorVisible
6214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6218 * lyx_gui.C: move to frontends/
6222 * lyx_main.C: changes from above
6224 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6231 * lyx_main.C: minor tidy
6233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6235 * BufferView_pimpl.h:
6236 * BufferView_pimpl.C:
6238 * BufferView.C: make painter() const,
6241 * BufferView2.C: use screen() accessor
6244 * lyx_main.C: some minor cleanup
6246 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6248 * BufferView_pimpl.h:
6249 * BufferView_pimpl.C: remove enter/leaveView,
6252 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6257 * BufferView_pimpl.h:
6258 * BufferView_pimpl.C: only construct screen once,
6261 * lyxrc.C: remove pointless comment
6263 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6266 * BufferView.C: remove active() and belowMouse()
6268 * BufferView_pimpl.h:
6269 * BufferView_pimpl.C: use workarea() not workarea_,
6270 and make it use a scoped_ptr instead
6272 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6274 * lyx_gui.C: add debug message on BadWindow
6276 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6278 * sp_spell.C: fdopen is not part of the C++ standard.
6280 * paragraph.C (InsetIterator): use >= instead of ==
6282 2002-06-07 Angus Leeming <leeming@lyx.org>
6284 Fixes needed to compile with Compaq cxx 6.5.
6285 * BufferView_pimpl.C:
6292 * lyxtextclasslist.C:
6297 all c-library variables have been moved into namespace std. Wrap
6298 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6303 Add a using std::abs declaration.
6305 * kbmap.h (modifier_pair):
6306 * paragraph.h (InsetTable, InsetList):
6307 * lyxfont.h (FontBits):
6308 type definition made public.
6310 * bufferlist.C (emergencyWriteAll): the compiler complains that
6311 there is more than one possible lyx::class_fun template to choose from.
6312 I re-named the void specialisation as lyx::void_class_fun.
6314 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6316 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6317 the compiler is is unable to find tostr in write_attribute.
6319 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6321 * buffer.C (sgmlError): hide #warning
6323 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6325 * xtl/*: get rid of xtl, which is not in use anyway
6327 * LyXAction.C (init):
6328 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6329 were unimplemented xtl experimentation
6331 2002-06-04 André Pönitz <poenitz@gmx.net>
6333 * lyxfunc.C: disable array operation on simple formulae
6335 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6337 * converter.C: constify a bit
6339 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6341 * lyx_gui.C: check xforms version correctly
6343 2002-04-30 Herbert Voss <voss@lyx.org>
6345 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6348 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6350 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6351 attempt to register it with a VCS)
6353 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6355 * lyx_main.C (init): honor variables LYX_DIR_13x and
6358 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6362 * lyx_main.C: fix a crash on bad command line,
6363 and give a useful exit status on error
6365 * lyxfunc.C (doImport): allow -i lyx to work
6367 2002-03-30 André Pönitz <poenitz@gmx.net>
6369 * lyxfunc.C: mathed font changes
6371 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6386 * trans_mgr.h: srcdocs, and some minor cleanups
6388 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6390 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6391 call getFont all the time)
6393 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6395 * switch from SigC signals to boost::signals
6397 2002-05-29 André Pönitz <poenitz@gmx.net>
6399 * paragraph_pimpl.C (getChar): don't call size() too often...
6401 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6403 * paragraph_pimpl.C (insertChar): do not try to update tables when
6404 appending (pos == size())
6406 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6407 in order to reduce drastically the number of comparisons needed to
6408 parse a large document
6410 2002-05-29 André Pönitz <poenitz@gmx.net>
6416 * textclasslist.[Ch]:
6417 * sp_ispell.h: whitespace change
6419 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6421 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6422 lyxaction directly now.
6424 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6428 * lyxvc.C: remove unused headers
6430 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6437 * undo_funcs.C: some cleanups. Use shared_ptr
6438 and a template for the undo stacks.
6440 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6442 * BufferView_pimpl.h:
6443 * BufferView_pimpl.C:
6450 * text2.C: use key_state/mouse_state
6452 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6454 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6457 * chset.C: change include order
6458 (loadFile): use boost regex and get rid of LRegex and LSubstring
6460 * Makefile.am (BOOST_LIBS): new variable
6463 * LaTeX.C: change include order.
6464 (scanAuxFile): use boost regex and get rid of LRegex and
6468 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6473 * FontInfo.C: moved to frontends/xforms/
6476 * FontLoader.C: moved into frontends for GUIIzation
6481 * lyxfunc.C: changes from above
6483 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6485 * LColor.C: remove spurious X include
6487 * BufferView_pimpl.C:
6492 * text2.C: move font metrics to frontends/
6494 2002-05-24 Juergen Vigna <jug@sad.it>
6496 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6497 setting the undo_cursor.
6499 * ParagraphParameters.h: include local includes first.
6501 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6503 * BufferView_pimpl.C:
6504 * BufferView_pimpl.h:
6508 * screen.C: move WorkArea into frontends/
6514 * BufferView2.C: move LyXScreen into frontends/
6518 * lyx_gui.C: move lyxlookup into frontends/xforms/
6520 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6523 * BufferView_pimpl.C:
6533 * bufferview_funcs.C:
6546 * vc-backend.C: move LyX/XFormsView into frontends/
6548 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6560 * text2.C: move Painter to frontends/
6562 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6564 * buffer.C: comment out some some code that depend upon lyx_format
6567 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6568 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6570 * buffer.h (NO_COMPABILITY): turn off compability
6572 * ColorHandler.C: include scoped_array.hpp
6574 * font.C: Use more specific smart_ptr header.
6577 * ShareContainer.h: ditto
6581 * BufferView_pimpl.h: ditto
6582 * ColorHandler.h: ditto
6584 * kbmap.C (defkey): change call to shared_ptr::reset
6586 2002-05-21 Juergen Vigna <jug@sad.it>
6588 * buffer.C (insertErtContents): fix to insert ert asis if it is
6589 non empty. Skip it completely if it contains only whitespaces.
6591 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6593 * BufferView_pimpl.C:
6594 * BufferView2.C: clear selection on paste (bug 393)
6596 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6598 * DepTable.C: include ctime
6600 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6602 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6604 2002-05-14 Juergen Vigna <jug@sad.it>
6606 * text.C (breakParagraph): fixed function to honor the keepempty
6607 layout in the right maner and also to permit the right breaking
6608 algorithm on empty or non empyt keepempty paragraphs.
6610 * paragraph.C (breakParagraph): we have to check also if the par
6611 is really empty (!size()) for isempty otherwise we do the wrong
6614 2002-05-10 Juergen Vigna <jug@sad.it>
6616 * buffer.[Ch] : The following are only changes to the ert
6617 compatibility read reading old LaTeX layout and font stuff and
6618 convert it to ERTInsets.
6620 * buffer.h: added isErtInset().
6622 * buffer.C (struct ErtComp): add a fromlayout bool to check
6623 if we're inside a LaTeX layout.
6624 (isErtInset): new helper function.
6625 (insertErtContents): look for other ert insets before this one
6626 and insert the contents there, so that we don't have subsequent
6627 ERT insets with nothing between them. This way we create only one
6628 inset with multiple paragraphs. Also check if we don't insert only
6629 spaces ' ' as they are ignored anyway afterwards in the .tex file
6630 so if we have only spaces we will ignore this latex part in the
6632 (parseSingleLyXformat2Token \\layout): better compatibility when
6633 reading layout-latex stuff.
6634 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6636 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6637 stuff after reading the inset only get the information back from
6640 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6642 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6644 * LaTeXFeatures.C (getBabelOptions): New method.
6646 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6648 * BufferView_pimpl.C (Dispatch): work around missing argument for
6651 2002-05-08 Juergen Vigna <jug@sad.it>
6653 * text.C (leftMargin): handle paragraph leftindent.
6655 * paragraph.C (writeFile): write the new \\leftindent tag.
6656 (validate): handle leftindent code.
6657 (TeXEnvironment): handle paragraphleftindent code again.
6659 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6661 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6662 for paragrap_extra indent code and new token \\leftindent.
6663 (latexParagraphs): handle the leftindent as environment.
6665 * ParameterStruct.h: added leftindent support.
6667 * ParagraphParameters.C (leftIndent): added support functions for
6668 the paragraph left indent.
6670 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6673 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6675 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6678 * text.C (computeBidiTables): No bidi in insetERT.
6680 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6683 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6685 * version.C.in: pre 5
6687 2002-05-02 José Matos <jamatos@fep.up.pt>
6688 * buffer.C (makeDocBookFile): white space changes, add newline to
6690 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6692 * tabular.C (docBook): fix typo.
6694 2002-05-03 Juergen Vigna <jug@sad.it>
6696 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6697 change in LyXText as we can not be sure it was not freed.
6698 (drawOneRow): remove unused code.
6700 * text.C (drawInset): redo the calculation of the need_break_row as
6701 it could have a row which was already freed.
6702 (draw): look at the return value of drawInset and return false if
6703 it also returned false.
6704 (paintRowText): look at the return value of draw and return false if
6705 it also returned false.
6707 * lyxtext.h: added bool return type to drawInset() and draw() so that
6708 if we have a change in the row so that the rowbreak has to be redone
6709 we abort drawing as it will be called again.
6711 2002-05-02 Juergen Vigna <jug@sad.it>
6713 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6714 a change in the maintext also if we're inside an inset.
6715 (Dispatch): set the cursor again after a break line and after the
6716 screen has been updated as it could be we're in a different row.
6718 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6719 to set the cursor behind the pargraph with > size().
6720 (setCursor): check also for the same paragraph when checking where
6721 to put the cursor if we have a NFR inset.
6723 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6724 parts of layout read further up as it still was in the wrong
6727 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6729 * screen.C (drawFromTo): change sine fullRebreak always return
6732 * buffer.C (parseSingleLyXformat2Token): reindent some
6734 * BufferView_pimpl.C (update): change since fullRebreak always
6736 (Dispatch): git rid of the last hardcoded "Standard"s.
6738 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6740 * text2.[Ch] (fullRebreak): make it return void now that we always
6743 2002-04-30 Juergen Vigna <jug@sad.it>
6745 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6746 ert compatibility check for "latex" layout.
6748 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6750 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6751 minipages: use col% instead of p%, and also use the current font.
6752 (makeLaTeXFile): Fix use babel condition.
6753 (parseSingleLyXformat2Token): Correct font when reading old floats.
6755 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6757 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6758 inserting list of floats.
6760 2002-04-25 Herbert Voss <voss@lyx.org>
6762 * MenuBackend.C (expand): don't add the graphics extensions to the
6765 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6767 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6768 non-existing layout, do not complain if it was the default layout
6769 of the original class (bug #342)
6771 2002-04-24 Juergen Vigna <jug@sad.it>
6773 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6774 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6776 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6778 * buffer.C (getBibkeyList): If using \bibliography, return the
6779 option field with the reference itself. Enables us to provide natbib
6780 support when using \bibliography.
6782 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6784 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6786 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6787 natbib is provided by the LaTeX class.
6789 2002-04-23 Juergen Vigna <jug@sad.it>
6791 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6794 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6796 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6798 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6800 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6801 ensuremath around textordmasculine, textordfeminine and
6804 2002-04-19 Juergen Vigna <jug@sad.it>
6806 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6807 reinitializing the buffer otherwise row-dimensions may be wrong.
6808 (update): reset also the selection cursors if they do exits otherwise
6809 their x/y positions may be wrong.
6811 * text2.C (cursorDown): don't enter the inset if we came from a row
6812 above and are one row over the inset.
6814 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6815 really leaving an inset.
6817 2002-04-18 Juergen Vigna <jug@sad.it>
6819 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6820 of the selected paragraph does not have the selected layout also if
6823 * text2.C (setLayout): fixed bug which did not change last selected
6826 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6827 changed the read and substituted \\end_float with \\end_inset!
6829 * BufferView_pimpl.C (cursorPrevious):
6830 (cursorNext): fixed to make it work with rows heigher than the work
6831 area without moving the cursor only the draw of the row.
6832 (workAreaMotionNotify): fix jumping over high rows.
6834 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6836 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6839 2002-04-16 Juergen Vigna <jug@sad.it>
6841 * text2.C (setCursor): set also the irow().
6842 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6844 (cursorDown): support for locking an inset if the x_fix value goes
6845 inside it. That way I can transverse insets too with cursor up/down.
6847 * lyxrow.h: added irow helper function same as other (i) functions.
6849 * BufferView_pimpl.C (cursorPrevious):
6850 (cursorNext): fixed for insets!
6852 2002-04-15 Juergen Vigna <jug@sad.it>
6854 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6855 position otherwise it is wrong in some cases.
6857 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6858 inside the inset before the call.
6860 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6862 * buffer.[Ch] (getBibkeyList): make it const.
6864 2002-04-12 Juergen Vigna <jug@sad.it>
6866 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6868 * text2.C (getCursorX): new helper function
6869 (setCursor): compute also ix_
6870 (setCursorFromCoordinates): set also ix.
6872 * lyxcursor.h: added ix_ and helper functions.
6874 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6876 * buffer.C (insertStringAsLines): dont break paragraph if the this
6877 paragraph is inside an inset which does not permit it!
6879 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6880 also with no chars on this paragraph.
6881 (paintRowText): only paint stuff if it's inside the workarea!
6883 * paragraph.C (breakParagraph): honor keepempty flag and break the
6884 paragraph always below not above.
6886 * BufferView2.C (unlockInset): update the paragraph layout on inset
6887 unlock as we changed paragraph in such a case.
6889 * lyxfind.C (LyXFind): clear the former selection if not found!
6891 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6892 again called in insertChar().
6894 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6895 an inset which uses the whole row!
6896 (rightMargin): ditto.
6897 (insertChar): force a rebreak if we inserted an inset!
6899 2002-03-28 Herbert Voss <voss@lyx.org>
6901 * lyxlength.[Ch]: add inBP() to get the right PS-point
6902 units (BigPoint). With inPixels we have rounding errors
6904 2002-04-11 Juergen Vigna <jug@sad.it>
6906 * text2.C (setCursorFromCoordinates): set iy to the right value.
6907 (setCursor): add check if row->previous exists!
6909 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6910 an old float_type as this was the case in the old code!
6912 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6914 * BufferView2.C (showLockedInsetCursor): use iy
6915 (fitLockedInsetCursor): ditto
6917 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6918 locked insets as there we have the right value now.
6920 * lyxcursor.C: added iy_ variable and iy functions to set to the
6921 baseline of cursor-y of the locked inset.
6923 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6924 (setCursor): fixed for insets which need a full row.
6926 * text.C (rowLastPrintable): don't ignore the last space when before
6927 an inset which needs a full row.
6928 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6929 as last character of a row when before a inset which needs a full row.
6931 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6933 * version.C.in: update date
6935 * text2.C (fullRebreak): try to always return true and see what
6938 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6940 * MenuBackend.C (expand): use Floating::listName
6942 * FloatList.C (FloatList): add listName argument to the built-in
6945 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6946 text associated with the float.
6948 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6950 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6952 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6954 * ShareContainer.h: add a couple of missing typenames.
6956 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6958 * lyxrc.C (getDescription): use _() correctly rather than N_().
6960 2002-03-28 Herbert Voss <voss@lyx.org>
6962 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6963 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6965 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6967 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6968 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6970 2002-03-29 Juergen Vigna <jug@sad.it>
6972 * lyxfunc.C (dispatch): add a missing fitCursor call.
6974 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6975 it was scrolled by a cursor move, so return the bool status.
6977 * BufferView.C (fitCursor): return the bool flag also to the outside
6978 world as this is needed.
6980 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6982 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6983 call the edit() as it is not needed (and wrong) IMO.
6984 (workAreaButtonPress): set the screen_first variable before evt.
6985 unlock the inset as this may change screen_first and then we have
6986 a wrong y position for the click!
6988 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6990 * MenuBackend.C (expand): another translation that I missed
6992 2002-03-28 Juergen Vigna <jug@sad.it>
6994 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6996 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6998 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7000 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7002 * MenuBackend.C (expand): fix export/view/update when there is no
7005 2002-03-27 Herbert Voss <voss@lyx.org>
7007 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7010 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * bufferview_funcs.C (currentState): only show paragraph number
7013 for is DEVEL_VERSION is set.
7015 * lyxfunc.C (dispatch): put warning in INFO channel
7017 * MenuBackend.C (expand): translate the name of floats
7019 * FloatList.C (FloatList): mark the float names for translation
7021 * converter.C (convert): use LibScriptSearch
7023 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7025 * MenuBackend.C (defaults): fix default menu (we might as well get
7028 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7030 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7033 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7035 * lyxvc.C: reorder includes.
7037 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7039 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7042 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7044 * CutAndPaste.C: change layouts earlier on paste
7045 to avoid crashing when calling getFont()
7047 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7049 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7052 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7054 * WorkArea.C: remove 'Pending' debug message.
7056 * most files: ws cleanup
7058 * buffer.[Ch]: ws changes
7060 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7062 2002-03-21 Juergen Vigna <jug@sad.it>
7064 * tabular.C (SetMultiColumn): collapse also the contents of the
7065 cells and set the last border right. Added a Buffer const * param.
7067 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7069 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7072 2002-03-19 Juergen Vigna <jug@sad.it>
7074 * text2.C (clearSelection): reset also xsel_cache.
7076 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7077 where it needs to be called (John tells us to do so too :)
7078 (selectionLost): reset sel_cache.
7080 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7082 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7084 * text2.C (setCursorIntern): put debuging code in INSETS channel
7086 2002-03-19 André Pönitz <poenitz@gmx.net>
7088 * lyxfunc.C: tiny whitespace change
7090 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7092 * ToolbarDefaults.C (init):
7093 * LyXAction.C (init):
7095 * BufferView_pimpl.C (Dispatch):
7096 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7098 2002-03-19 Allan Rae <rae@lyx.org>
7100 * exporter.C (Export): removeAutoInsets before doing anything else.
7101 While I've just introduced a dependency on BufferView this really is
7102 the best place to clean the buffer otherwise you need to cleanup in
7103 a dozen places before calling export or cleanup in a dozen functions
7106 * converter.C (runLaTeX):
7107 (scanLog): Better handling of removeAutoInsets and screen updates.
7109 * lyxfunc.C (dispatch): small whitespace changes
7111 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7113 * WorkArea.C (C_WorkAreaEvent): return a value.
7114 (event_cb): return 1 if we handled the event, 0 otherwise.
7116 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7118 2002-03-18 Juergen Vigna <jug@sad.it>
7120 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7121 (GetAdditionalWidth): ditto.
7125 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7126 inset if we're there actually (probably not used right now but this
7127 is the direction to go for unifying code).
7128 (paste): disable code to clear the selection.
7130 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7131 inside an InsetText and move the check further up as it is in the
7134 * text2.C (pasteSelection): set a selection over the pasted text.
7136 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7138 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7139 and libgraphics to build on Cygwin.
7141 2002-03-15 Juergen Vigna <jug@sad.it>
7143 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7144 inserting an Inset into the paragraph. I know this is not the best
7145 fix but we already use current_view in CutAndPaste so we will remove
7146 all of it's using at the same time.
7148 * buffer.C (sgmlError): deactivated function till it is rewritten in
7149 the right mode, now it can create problems.
7151 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7152 before accessing it.
7154 2002-03-14 Juergen Vigna <jug@sad.it>
7156 * undo_funcs.C (textHandleUndo): do the right thing when updating
7157 the inset after the undo/redo.
7159 * text2.C (setCursor): just some testcode for #44 not ready yet.
7161 * undo_funcs.C (textHandleUndo): set the next() and previous()
7162 pointers of the paragraph to 0 before deleting otherwise we have
7163 problems with the Paragraph::[destructor].
7165 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7166 on a paragraph insertion.
7168 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7170 * buffer.C (asciiParagraph): use += operator for char append to
7173 * paragraph.C (getFontSettings): compare >= not just >
7174 (highestFontInRange): ditto
7177 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7179 * paragraph.C: change several algorithm to be more appripriate for
7180 the problem domain. This is lookip in FontList and in the InsetList.
7182 2002-03-13 André Pönitz <poenitz@gmx.net>
7185 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7187 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7192 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7194 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7196 * Painter.C (display): anon helper function, adjust code for this
7198 (pixmap): remove function.
7200 * Painter.h: remove private display variable.
7202 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7204 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7206 * WorkArea.[Ch]: remove figinset_canvas cruft.
7208 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7210 * lyxtextclass.C (operator): add one item cache optimization.
7212 * bufferlist.h: doxy changes
7214 * bufferlist.C: ws changes
7216 * DepTable.[Ch] (ext_exist): place const in the right spot.
7218 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7220 (workAreaExpose): call resizeInsets when the with BufferView changes.
7221 (Dispatch): adjust for protectedBlank removal
7222 (specialChar): call updateInset if the insert went ok.
7224 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7225 specialChar instead.
7227 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7229 * BufferView.h: doxy change
7231 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7233 * lyxtextclass.C (operator[]): remove non-const version
7234 (defaultLayout): remove non-const version
7236 2002-03-12 Juergen Vigna <jug@sad.it>
7238 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7239 did resize the LyXText too.
7241 * buffer.C (readLyXformat2): set layout information on newly allocated
7244 * tabular.C (OldFormatRead): set layout information on the paragraph.
7246 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7248 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7250 2002-03-11 Juergen Vigna <jug@sad.it>
7252 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7254 (resizeCurrentBuffer): force also the insets to resize themselfes.
7255 (moveCursorUpdate): fixed up for InsetText.
7257 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7260 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7261 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7262 value of Dialogs::tooltipsEnabled().
7263 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7265 2002-03-08 Juergen Vigna <jug@sad.it>
7267 * BufferView_pimpl.C (updateInset): update inset inside inset also
7268 if it isn't inside theLockingInset().
7270 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7272 * buffer.C (asciiParagraph): redo some of the word and line length
7274 (getLists): look for Caption instead of caption.
7276 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7278 * buffer.C (Buffer): initialize niceFile to true
7281 (makeDocBookFile): make sure niceFile is true on exit
7283 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7285 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7287 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7289 * LyXSendto.C: remove.
7290 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7291 * lyx_gui.C: remove now-redundant comment.
7292 * ColorHandler.h: remove forward declaration of class WorkArea.
7293 * lyxfunc.C: remove #include "WorkArea.h".
7295 2002-03-07 Juergen Vigna <jug@sad.it>
7297 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7298 got moved away with the DEPM and also set the inset_owner always
7299 right which before could have been omitted.
7301 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7303 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7304 wanted layout is not found.
7306 2002-03-07 Juergen Vigna <jug@sad.it>
7308 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7310 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7312 * paragraph.C (breakParagraph): use default layout not layout of
7314 (Paragraph): clear ParagraphParameters.
7316 2002-03-06 Juergen Vigna <jug@sad.it>
7318 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7319 otherwise it would not be a valid lenght. Fixed a special case in
7320 the minipage compatibility read where we end the document with a
7323 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7324 was set as it could be 0 for InsetTexts first entry.
7326 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7328 * paragraph.C (writeFile): if layout is empty write out
7329 defaultLayoutName().
7331 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7332 file without named layout we set layout to defaultLayoutName().
7334 2002-03-06 Juergen Vigna <jug@sad.it>
7336 * CutAndPaste.C (copySelection): set layout for new paragraph.
7338 * text.C (prepareToPrint): leave ERT inset left aligned
7339 (leftMargin): don't indent paragraphs inside ERT insets
7341 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7343 * paragraph.C (breakParagraph): dont call clear do the work manually
7345 * paragraph.[Ch] (clear): remove function
7347 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7349 * paragraph.C (Paragraph): dont call clear, the work has already
7352 * lyxtextclass.C (operator): assert if n is empty
7354 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7355 work manually instead.
7357 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7359 * BufferView_pimpl.C: protect selectionLost against text == 0
7361 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7363 * text.C (breakParagraph): fix a setting layout to '0' problem.
7365 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7367 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7368 final location of file, for the included files, and graphics.
7370 2002-03-05 Juergen Vigna <jug@sad.it>
7372 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7374 2002-03-04 Juergen Vigna <jug@sad.it>
7376 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7378 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7379 last column of multicolumn cells.
7380 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7382 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7384 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7385 file if it doesn't go to a temporary file.
7387 * buffer.C (sgmlOpenTag):
7388 (sgmlCloseTag): remove extra newline insertion.
7390 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7392 * text.C (getRowNearY): comment out debug msg
7394 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * text2.C: first -> first_y
7398 * text.C (getRowNearY): add some attemts at a possible
7399 optimization, not working.
7401 * tabular.[Ch]: add BufferParams to several function so that newly
7402 created paragraph can be initialized to he default layotu for the
7405 * tabular-old.C (ReadOld): add buf->params to call of Init
7407 * screen.C: rename text->first to text->first_y
7409 * paragraph.C (breakParagraph): always set layout in the broken
7412 * lyxtextclass.C (Read): remove lowercase
7415 (delete_layout): ditto
7417 * lyxtext.h: rename first -> first_y
7419 * lyxlayout.C (Read): remove lowercase
7422 (obsoleted_by): ditto
7424 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7426 * buffer.C (insertErtContents): add params are to InsetERT
7427 (parseSingleLyXformat2Token): add code to check if a paragraphs
7428 layout really exist.
7429 (parseSingleLyXformat2Token): add params to several inset
7431 (asciiParagraph): remove lowercase, do the layout comparisons with
7434 * BufferView_pimpl.C (cursorNext): first -> first_y
7435 (resizeCurrentBuffer): first -> first_y
7436 (updateScrollbar): first -> first_y
7437 (scrollCB): first -> first_y
7438 (workAreaMotionNotify): first -> first_y
7439 (workAreaButtonPress): first -> first_y
7440 (checkInsetHit): first -> first_y
7441 (cursorPrevious): first -> first_y
7442 (cursorNext): first -> first_y
7443 (Dispatch): add buffer_->params to severl inset contructors
7445 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7447 * lyxlayout.C (Read): remove some debug info that I forgot.
7449 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7450 clean up the code slightly.
7451 (makeLinuxDocFile): ditto
7452 (makeDocBookFile): ditto
7454 * text2.C: layout as string
7456 * text.C: layout as string
7458 * paragraph_pimpl.C: layout as string
7460 * paragraph.[Ch]: layout as string
7462 * lyxtextclasslist.[Ch]: layout as string
7464 * lyxtextclass.[Ch]: layout as string
7466 * lyxtext.h: layout as string
7468 * lyxlayout.[Ch]: layout as string
7470 * lyx_cb.C: layout as string
7472 * bufferview_funcs.C: layout as string
7474 * bufferparams.C: layout as string
7476 * buffer.C: layout as string
7478 * LyXView.[Ch]: layout as string
7480 * LaTeXFeatures.[Ch]: layout as string
7482 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7484 * BufferView_pimpl.C: change current_layout to string, remove
7489 (workAreaButtonRelease): layout as string
7491 * BufferView2.C (unlockInset): adjust
7493 * vspace.C (asLatexCommand): use an explict temp variable.
7495 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7497 * Makefile.am: use FRONTEND_*
7499 2002-03-01 Juergen Vigna <jug@sad.it>
7501 * tabular.C (SetWidthOfMulticolCell): changed to something better
7502 I hope but still work in progress.
7503 (recalculateMulticolumnsOfColumn): renamed function from
7504 recalculateMulticolCells as it is more appropriate now.
7505 (SetWidthOfCell): calculate multicols better.
7507 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7509 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7511 * lyxfunc.C (processKeySym): print sequence also if it is
7512 `deleted' (complete)
7514 * kbsequence.C (print): print sequence even if it is deleted
7515 (complete would be a better word, actually).
7517 * lyxfunc.C (dispatch): print complete options after a prefix key
7519 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7521 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7523 * text2.C (setCharFont): eliminate setCharFont code duplication.
7525 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7527 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7528 LFUN_TABULAR_FEATURE (bug #177)
7530 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7532 * Makefile.am: remove figure.h
7534 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7536 * Bufferview_pimpl.C:
7548 * text2.C: remove #include "lyx_gui_misc.h".
7550 * LaTeX.C: added #include <cstdio>
7552 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7554 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7555 that the paragraph following this one can have.
7557 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7559 * vspace.C (asLatexCommand): fix bogus gcc warning
7561 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7563 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7565 * text2.C (setLayout): get rid of redundant code
7567 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7569 * text2.C (incDepth): make sure depth cannot be increased beyond
7572 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7574 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7575 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7577 * PainterBase.h (image):
7578 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7581 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7585 * BufferView_pimpl.C:
7586 * BufferView_pimpl.h:
7606 * sp_spell.C: remove fig inset, and the crap house of
7607 cards that follows it
7609 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7615 * nt_defines.h: move .h into support/
7617 * vms_defines.h: remove
7619 * WorkArea.C: add space in debug output
7623 * buffer.C: add WITH_WARNINGS
7627 * bufferlist.C: s/retrive/retrieve/, add docs
7638 * lyxgui.C: add ID to X error handler
7640 * lyxtestclass.c: fix typo
7642 2002-02-26 Juergen Vigna <jug@sad.it>
7644 * tabular_funcs.C (write_attribute): changed so that some default
7645 attributes are not written at all.
7646 (getTokenValue): set default values before trying to read the
7647 value so we have the return value always set as default if we don't
7648 find the token we search for.
7650 * tabular.C (Write): write bools as bools not as strings!
7652 2002-02-22 Juergen Vigna <jug@sad.it>
7654 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7655 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7657 * text.C (leftMargin): don't add an indent for paragraphs inside
7658 tabular cells (fix #208).
7660 2002-02-21 José Matos <jamatos@fep.up.pt>
7662 * tabular.C (docBook): fixed support for long tables.
7664 2002-02-20 Juergen Vigna <jug@sad.it>
7666 * text2.C (getFont): get the drawing font of the Inset if this
7667 paragraph is inside an inset (only important for InsetERT for now).
7669 * buffer.C (insertErtContents): use new lanugage params in ERT
7672 * CutAndPaste.C: commenting out seemingly uneeded code.
7674 2002-02-19 Allan Rae <rae@lyx.org>
7676 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7677 Iterators might be simple to use but they also get invalidated.
7678 (removeAutoInsets): renamed saved cursor tracking variables and added
7679 some comments to clarify what everything does.
7681 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7688 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7689 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7692 * vc-backend.h: remove #include "support/syscall.h"
7696 * converter.C: rearrange #includes in Lars' approved fashion.
7698 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7699 forward declare class Timeout in the header file.
7701 * XFormsView.C: changes due to the above.
7703 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7706 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7707 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7709 2002-02-18 José Matos <jamatos@fep.up.pt>
7711 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7714 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7716 * a lot of small ws changes
7717 * add a lot of using std::XXX
7718 * use std construcs some places where approp.
7719 * use some exisint stuff from lyxfunctional where approp.
7720 * Make file changes to use partial linking (lets test this now...)
7722 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7726 remove #include "support/syscontr.h" as it's redundant. Always has been.
7734 change Systemcalls::System to Systemcalls::Wait and
7735 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7736 No change of functionality, just reflects the stripped down Systemcalls
7739 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7741 * debug.[Ch]: add a GRAPHICS type to the enum.
7743 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7745 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7747 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7750 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7752 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7753 match the changes below.
7755 * text2.C (toggleInset): if there is not editable inset at cursor
7756 position, try to see if cursor is _inside_ a collapsable inset
7759 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7762 document menu has a nice checkbox
7764 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7766 * lyxlength.C (asLatexString): change PW to output as percent of
7769 * lengthcommon.C: change '%' to 't%'
7771 * lyxfunc.C (dispatch): a few comments from Martin
7773 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7777 * BufferView_pimpl.h:
7778 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7781 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * vspace.C (inPixels): fix compiler warning
7785 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7787 * lyxfunc.C (getStatus): fix status message for disabled commands.
7789 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7791 * BufferView_pimpl.C: fix crash on close buffer
7792 during selection (#227)
7794 2002-01-27 Herbert Voss <voss@lyx.org>
7796 * buffer.C: link old Figure to new graphic inset
7798 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7800 * FontLoader.C (getFontinfo): Change the latex font names in order
7801 to match the names of type1inst.
7803 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7805 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7807 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7810 (remove_files_with_extension): ditto
7811 (remove_file): ditto
7814 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7815 document is smaller than the work area height. Do not initialize
7816 static variables to 0.
7818 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7822 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7823 LFUN_LAYOUT_PARAGRAPHS.
7825 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7826 tabular. It is possible to provide a possible cell, which will
7827 typically be the actcell from the corresponding insettabular
7829 * lyxfunc.C (getStatus): small cleanup; disable
7830 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7833 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7835 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7837 * paragraph.C (startTeXParParams):
7838 (endTeXParParams): new methods. The LaTeX code to
7839 start/end paragraph formatting
7840 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7841 empty (fixes bug #200)
7843 * vspace.C (inPixels): adapt to the change below
7844 (inPixels): [later] more cleanups (remove unused variables)
7846 * lyxlength.C (inPixels): change to use a width and a height as
7849 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7852 Replaced with \paperwidth
7854 * DepTable.C (insert): add std:: qualifier
7856 2002-01-18 Allan Rae <rae@lyx.org>
7858 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7861 * text.C (drawInset): Turned out I didn't know enough about how
7862 rebreaking worked. This fixes most of the redraw problems. I see
7863 an occasional cursor trail when a line is broken now and the cursor
7864 placement can seem out by a few pixels also after a rebreak.
7866 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7868 * buffer.C (parseSingleLyXformat2Token): update because minipage
7869 width is now a LyXLength
7871 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7873 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7876 2002-01-17 Juergen Vigna <jug@sad.it>
7878 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7880 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7881 is set correctly and the inset is updated correctly.
7883 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7885 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7886 the beginning of the loop.
7888 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7890 * lyxrc.C: improve help for use_scalable_fonts
7892 2002-01-17 Allan Rae <rae@lyx.org>
7894 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7896 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7898 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7899 make sure to set their inset_owner to the right value (bug #171)
7901 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7904 * DepTable.C: Implement mtime checking to reduce time spent doing
7907 2002-01-16 Juergen Vigna <jug@sad.it>
7909 * tabular.C (GetAdditionalHeight): one of error fixed.
7911 * lyxrc.C (output): small fix in writing use_pspell.
7913 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7915 * sp_base.h: #include LString.h
7917 2002-01-16 Allan Rae <rae@lyx.org>
7919 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7920 Can someone check this please?
7922 * text.C (drawInset): It was possible that p.row would be removed by
7923 breakAgainOneRow upsetting a few other settings. There may be another
7924 small tweak possible by setting need_break_row = 0 when p.row has been
7925 removed but I don't know enough about the logic here.
7927 2002-01-15 Allan Rae <rae@lyx.org>
7929 * text.C (insertChar): removed conditional truism.
7931 * BufferView2.C (removeAutoInsets): More tweaks.
7932 cur_par_prev could be a stray pointer. Check for trailing empty line
7933 in case last line was cur_par and only had an error inset on it.
7935 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7937 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7940 * vc-backend.C (most methods):
7941 * exporter.C (Export):
7942 * converter.C (convert):
7944 * LyXSendto.C (SendtoApplyCB):
7945 * lyxfunc.C (dispatch):
7949 * lyx_cb.C (AutoSave):
7951 * BufferView_pimpl.C (MenuInsertLyXFile):
7952 * buffer.C (runChktex): use Buffer::filePath().
7954 * buffer.h: rename filename to filename_; rename filepath to
7955 filepath_ and make it private
7956 (filePath): new method
7958 * buffer.C (writeFile): use fileName()
7961 * lyx_main.C (init): fix starting of LyX when the binary is a
7962 link from so,ewhere else.
7964 * minibuffer.C: include <cctype> for isprint
7966 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7968 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7969 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7970 name clash with InsetCollapsable's width function.
7972 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7974 * lastfiles.C: include <iterator>
7976 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7978 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7981 * buffer.C (makeLaTeXFile): ditto.
7982 Also make loop operation more transparent.
7984 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7986 * ToolbarDefaults.C: remove trailing comma closing namespace.
7988 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7990 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7993 * trans.C (Load): comment out unused variable, allowed.
7995 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7997 * minibuffer.[Ch] (append_char): new method to recieve input from the
7998 drop-down completion browser. If a key was pressed, then recieve this
7999 char and append it to the existing string.
8000 (peek_event): modify the positioning data passed to the completion
8001 browser so that it can be placed above the minibuffer rather than below.
8002 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * LyXAction.C (init): alloe error-next for readonly documents.
8006 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8009 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8011 * bufferlist.C (readFile): create the buffer _after_ checking that
8014 * lyxfunc.C (verboseDispatch): fix handling of arguments
8016 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8018 * lyxrc.C: use string::erase() instead of initializing to "".
8021 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8023 * BufferView_pimpl.h:
8024 * BufferView_pimpl.C:
8027 * text2.C: tell X when we have made a selection for copying
8029 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8031 * BufferView_pimpl.C (MenuInsertLyXFile):
8032 * lyxfunc.C (menuNew):
8034 (doImport): add shortcuts to directory buttons
8036 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8039 * lyxfunc.C (setStatusMessage):
8040 (getStatusMessage): new methods
8041 (getStatus):use setStatusMessage instead of setErrorMessage
8042 (dispatch): when function is disabled, set error message here
8043 [instead of in getStatus previously]
8045 * BufferView_pimpl.C (workAreaButtonRelease): update
8046 toolbar/menubar here too.
8048 2002-01-13 Allan Rae <rae@lyx.org>
8050 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8051 Now seems indestructible. Remaining task is to audit all other
8052 code affected by deleteEmptyParagraphMechanism. One small quirk
8053 left is that an empty document with an error in the preamble can
8054 be made to report an error but no error box appears. I don't know
8056 (removeAutoInsets): Improved comments.
8058 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8061 * Thesaurus.C: update for Aiksaurus 0.14
8063 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8065 * text2.C (firstParagraph): removed member function, all uses
8066 replaces with ownerParagraph
8067 (redoParagraphs): here
8069 (toggleAppendix): here
8070 * BufferView2.C (insertErrors): here
8071 (setCursorFromRow): here
8073 2002-01-13 Allan Rae <rae@lyx.org>
8075 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8076 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8077 There is still a way to segfault this although you may have to do this
8078 multiple times: Have an InsetERT with an unknown command in it.
8079 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8080 <down-arrow>, <Enter> again, View->DVI, BANG!
8082 * text2.C (setCursor):
8083 (deleteEmptyParagraphMechanism):
8084 * lyxtext.h (setCursor):
8085 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8086 Making use of the return value may help fix other bugs.
8088 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8090 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8092 * LyXView.C (updateMenubar): call MenuBar::update here
8093 (updateToolbar): but not here
8094 (showState): do not update toolbar/menubar
8096 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8097 should need to care about that.
8099 * lyxfunc.C (verboseDispatch): simplify a bit
8100 (getStatus): have a version which takes a pseudoaction, and
8101 another which requires a (kb_action,string).
8103 * LyXAction.C (retrieveActionArg): make it work also when action
8104 is not a pseudo-action.
8105 (getActionName): simplify a bit
8108 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8110 * lyxfunc.C (verboseDispatch): new families of methods with
8111 several ways to specify a command and a bool to indicate whether
8112 the command name and shortcut should be displayed in minibuffer
8113 (eventually, we could extend that to a finer bitmask like
8114 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8115 (dispatch): the pristine dispatch command which just, well,
8116 dispatchs! Note it still sets its result to minibuffer; I'm not
8119 * lyxfunc.h: remove setHintMessage
8121 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8123 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8125 * BufferView_pimpl.C (specialChar): delete new inset if we have
8126 not been able to insert it.
8128 * kbmap.C: revert to using int instead of kb_action, since all we
8129 are dealing with is pseudo-actions.
8131 * LyXAction.C (searchActionArg): change to return int instead of
8132 kb_action, since the result is a pseudoaction.
8134 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8136 * buffer.C (insertErtContents): Fix (partially) the font bug.
8138 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8140 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8141 as the other one is broken on my machine!
8143 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8146 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8148 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8150 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8151 reflect their actual use. Provide compatibility code for older lyxrc
8154 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8156 change names of popup font variables in line with the changes to lyxrc.C
8158 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8160 * buffer.C (asciiParagraph): avoid outputing a word twice after
8163 * lyxrc.C (getDescription): document that document_path and
8164 template_path can be empty.
8166 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8168 * LaTeXFeatures.C (getMacros):
8169 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8171 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8173 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8175 (getPackages): rename feature "floats" to "float". Use an array to
8176 iterate over 'simple' features (i.e. just a \usepackage). Add
8177 handling of "amsmath" (renamed from "amsstyle").
8179 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8181 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8184 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8186 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8187 FuncStaus::FuncStatus & FuncStaus::some_method().
8189 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8191 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8192 of the func_satus stuff. Edited and massaged in various ways by
8195 * lyxfunc.C (getStatus): use FuncStatus
8197 2002-01-08 Juergen Vigna <jug@sad.it>
8199 * text.C (nextBreakPoint): use function Inset::isChar().
8201 * paragraph.C (TeXOnePar): use function
8202 Inset::forceDefaultParagraphs.
8204 * buffer.C (latexParagraphs): use function
8205 Inset::forceDefaultParagraphs.
8207 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8209 * lyx_gui.C (init): set the style of the menu popups to
8210 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8212 2002-01-07 Juergen Vigna <jug@sad.it>
8214 * text.C (setHeightOfRow): small fix
8215 (prepareToPrint): don't look at alignment if we don't have the place
8218 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8220 * box.C: New file. Move the Box methods and functions out of box.h,
8221 following Lars' suggestion.
8223 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8225 * box.h: #include "support/LOstream.h", needed for inlined function.
8228 * lyxtextclasslist.C: added some using std declarations.
8230 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8232 * box.h: make signed dimensions to allow insets wider than
8233 the screen (bug #162)
8235 * BufferView_pimpl.C: add some insetHit debug
8237 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8239 * vc-backend.C: add FIXME
8241 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8243 * lyxfunc.C (getStatus): enable code for showing math font status
8246 2002-01-07 Juergen Vigna <jug@sad.it>
8248 * text.C (nextBreakPoint): removed debug output not needed anymore.
8250 2002-01-06 Juergen Vigna <jug@sad.it>
8252 * text.C (nextBreakPoint): fixed up this function we had this bug
8253 since ever but now hopefully we break row better.
8254 (insertChar): we have to check if an inset is the next char as it
8255 could now happen that a large inset is causing a break.
8257 2002-01-05 Juergen Vigna <jug@sad.it>
8259 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8260 if it doesn't like to be drawed.
8262 2002-01-04 Juergen Vigna <jug@sad.it>
8264 * BufferView2.C (lockInset): forgot to set a cursor.
8266 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8268 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8273 * form_maths_panel.C:
8274 * form_maths_panel.h:
8275 * form_maths_panel.fd: implemented sub- and super- buttons in math
8278 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8279 (or ^ space) to be used as in TeX (req'd by André).
8281 * lyxfunc.C: Allow ^ and _ again to be used both as
8282 super/subscript (mathed) and as themselves (in text).
8284 2002-01-03 Allan Rae <rae@lyx.org>
8286 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8287 "LyX" or the filename of the current buffer if it has one. This is a
8288 modified form of John Levon's patch.
8290 * XFormsView.C (setWindowTitle): also set icon title.
8292 * LyXView.h (setWindowTitle): signature changed.
8293 * XFormsView.h (setWindowTitle): ditto.
8295 2002-01-02 Juergen Vigna <jug@sad.it>
8297 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8299 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8301 * screen.C (topCursorVisible): introduce a temp var for
8302 text->cursor.row(), handle the case where this row is null. (kindo
8305 * text2.C (setCursor): add a couple of asserts.
8307 * paragraph.h (inset_iterator): add -> operator
8309 * paragraph.[Ch] (autoDeleteInsets): remove member function
8311 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8312 cursor pos correctly and handle inset deletion by itself.
8313 (insertErrors): move iterator declaration out of for expression
8315 * lyxtextclass.C: add <algorithm>
8317 * Makefile.am: added the new files to sources, removed layout.C
8319 * layout.C: removed file
8321 * layout.h: remove LYX_DUMMY_LAYOUT
8323 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8327 * lyxtextclass.[Ch]:
8328 * lyxtextclasslist.[Ch]: new files
8330 * include order changes to a lot of files, also changes because of
8333 2001-12-27 Juergen Vigna <jug@sad.it>
8335 * buffer.C (asciiParagraph): more fixes.
8337 * tabular.C (ascii): make ascii export support export of only the
8338 data separated by a column-delimiter.
8339 (ascii): better support for ascii export.
8341 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8343 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8345 * tabular_funcs.C: use a "using std::getline" instead of the
8346 previous fix from Angus (necessary for cxx + lyxstring)
8348 2001-12-24 Juergen Vigna <jug@sad.it>
8350 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8352 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8353 problems. First check a minipage also if we have some ert-contents
8354 (not only on par->size(), second set the right depth of the paragraph
8355 on the relink to the root-paragraph-list!
8357 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8358 which then did not anymore update the main paragraphs on undo/redo!
8360 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8363 code. Support all font-changing funcs (even those which are not in
8364 menu currently). Support for reporting font settings in
8365 mathed (disabled until Andre provides a function on mathed's side).
8367 * func_status.h (toggle): small helper function to set toggle
8370 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8372 * tabular_funcs.C: getline -> std::getline
8374 2001-12-21 Juergen Vigna <jug@sad.it>
8376 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8377 accessed and could be 0 (I couldn't generate this but it seems
8380 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8382 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8383 * tabular_funcs.h: here and include iosfwd
8385 2001-12-20 Juergen Vigna <jug@sad.it>
8387 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8388 inside inset but undo_par was.
8390 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8392 * Thesaurus.C: always include <config.h> in sources.
8396 * box.h: do not include <config.h> in header files
8398 * text.C (paintLastRow): remove unused variable
8400 * text.C (transformChar):
8402 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8405 * font.C (width): rewrite to use uppercase() instead of
8408 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8410 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8412 * lyxfind.C: clean up of find failure position change
8414 2001-12-20 Juergen Vigna <jug@sad.it>
8416 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8418 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8419 (TeXRow): added to LaTeX a single tabular row.
8420 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8421 (Latex): simplified and finally good LT-h/f support.
8422 (various_functions): just small adaptions for LT-h/f support.
8424 * tabular_funcs.[hC]: added and moved here all not classfunctions
8427 2001-12-19 Juergen Vigna <jug@sad.it>
8429 * tabular.[Ch]: better support for longtabular options (not finished
8432 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8434 * text.C (paintLastRow): use the label font instead of the font of
8435 the last character to compute the size of *_BOX. This makes more
8436 sense and avoids a crash with empty paragraphs.
8437 Use Painter::rectangle to draw EMPTY_BOX.
8439 2001-12-19 Juergen Vigna <jug@sad.it>
8441 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8442 the paragraphs if the replaced paragraph is not the first one!
8443 Tried to delete not used paragraphs but does not work yet so for
8444 now it's inside #ifdef's and by default off!
8446 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8448 * MenuBackend.C: include "lyx_main.h" instead of declaring
8449 lastfiles (actually was declared as LastFiles* instead of a
8452 2001-12-17 Juergen Vigna <jug@sad.it>
8454 * tabular.C (AppendColumn): applied John's fix
8456 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8460 * BufferView_pimpl.h:
8461 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8464 * box.h: new start of class for above
8466 * lyxfunc.C: ignore space-only minibuffer dispatches.
8467 Show the command name when it doesn't exist
8469 * minibuffer.C: don't add empty lines to the history
8471 * minibuffer.C: add a space on dropdown completion
8473 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8475 * text.C: fix line above/below drawing in insets
8477 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8479 * lyxlength.C (LyXLength): Initialize private variables.
8481 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8483 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8484 when inserting error insets.
8486 2001-12-13 Juergen Vigna <jug@sad.it>
8488 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8489 actually sometimes the before-paragraph.
8490 (setUndo): don't clear the redostack if we're not actually undoing!
8492 2001-12-06 Juergen Vigna <jug@sad.it>
8494 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8495 and fixed redoing of main paragraph, so we can use it now ;)
8497 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8499 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8501 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8504 2001-12-13 André Pönitz <poenitz@gmx.net>
8507 * undo_func.C: minor cleanup
8509 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8511 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8512 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8513 font in urw-fonts package which is marked as -urw-fontspecific and
8514 does not work (incidentally, changing the encoding in the
8515 fonts.dir of this package to -adobe-fontspecific fixes the
8518 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8519 is a crash when undoing first paragraph (Juergen, please take a
8520 look). THis does not mean the undo fix is wrong, just that it
8523 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8524 the (Paragraph*) version when needed instead of duplicating the
8527 * text.C (workWidth): use Inset::parOwner to find out where the
8528 inset has been inserted. This is a huge performance gain for large
8529 documents with lots of insets. If Inset::parOwner is not set, fall
8530 back on the brute force method
8532 * paragraph_pimpl.C (insertInset):
8533 * paragraph.C (Paragraph):
8534 (cutIntoMinibuffer): set parOwner of insets when
8535 inserting/removing them
8537 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8539 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8545 * mathed/formulabase.C:
8546 * mathed/math_cursor.[Ch]:
8547 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8550 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8552 * lyxlength.[Ch] (operator!=): new function
8554 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8556 * text.C (workWidth): use Inset::parOwner to find out where the
8557 inset has been inserted. This is a huge performance gain for large
8558 documents with lots of insets. If Inset::parOwner is not set, fall
8559 back on the brute force method
8561 * paragraph_pimpl.C (insertInset):
8562 * paragraph.C (Paragraph):
8563 (cutIntoMinibuffer): set parOwner of insets when
8564 inserting/removing them
8566 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8568 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8570 * tabular-old.C (getTokenValue):
8571 * tabular.C (getTokenValue):
8572 (write_attribute): new versions for LyXLength
8573 (everywhere): adjust the use of widths
8575 * tabular.h: change the type of widths from string to LyXLength
8577 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8579 * paragraph.C: fixed missing line number count when exporting
8580 Environments to LaTeX file
8582 * buffer.C: added informational message for checking line numbers.
8584 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8586 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8587 paragraph, do the 'double space' part, but not the 'empty
8590 * text.C (workWidth): small optimization
8591 (getLengthMarkerHeight): use minimal size for negative lengths.
8593 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8595 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8597 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8599 2001-12-11 André Pönitz <poenitz@gmx.net>
8602 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8604 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8606 * text2.C: keep selection on a setFont()
8608 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8610 * lyx_cb.C: another bv->text misuse, from insert label
8612 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8615 * kbsequence.C: re-instate nmodifier mask
8617 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8619 * lyx_main.h: make lyxGUI private.
8621 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8623 * lyxfind.C: place the cursor correctly on failed search
8625 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8627 * text.C (getLengthMarkerHeight): for small heights, the arrows
8628 are not always on top/bottom of the text
8629 (drawLengthMarker): smaller arrows; take the left margin in
8630 account; draw also vfills.
8632 (paintLastRow): remove special code for vfill and standard spaces,
8633 since everything is handled in drawLengthMarker now.
8635 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8637 * buffer.C (insertErtContents): try to handle font and language
8638 interaction a bit better.g
8640 * ColorHandler.C (updateColor): change the hash to cover the whole
8641 LColor enum, ws cleanup
8642 (getGCLinepars): ditto
8643 (getGCLinepars): only lookup in the linecache once.
8645 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8647 * iterators.C (operator++): Make the iterator more robust
8649 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8656 * text.C: better added space drawing
8658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView2.C: fix layout combo update on inset unlock
8663 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8665 * Makefile.am: don't compile unused files
8667 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8671 * LyXAction.C: remove old LFUN_LAYOUTNO
8673 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8675 * paragraph_pimpl.h:
8676 * paragraph_pimpl.C: isTextAt() doesn't need font param
8678 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8681 * lyxlex.C: little cleanup
8683 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8685 * BufferView_pimpl.C: fix insertAscii for insets
8687 2001-12-05 Juergen Vigna <jug@sad.it>
8689 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8690 set the right font on the "multi" paragraph paste!
8692 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8698 * lyxlength.C: remove out-commented code.
8714 * vc-backend.C: change "while(" to "while ("
8716 * lyxlength.[Ch]: add zero function to check if length is zero or
8718 * lyxgluelength.C: use it
8720 2001-12-05 Allan Rae <rae@lyx.org>
8722 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8723 Works for 2.95.3, from what I understand of Garst's reports this should
8724 work for other g++ versions. We're screwed if the abs(int) definition
8725 changed between bugfix releases of gcc.
8727 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8729 * text.C: fix chapter label offset !
8731 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8734 * text.C: fix hfill at end of line, clean up
8736 2001-12-04 Juergen Vigna <jug@sad.it>
8738 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8739 that we force an update of the inset and it's owners if neccessary.
8741 2001-12-03 Juergen Vigna <jug@sad.it>
8743 * text.C (rowLast): simplified code
8745 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8747 * lyxfunc.C: fix show options on timeout
8749 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8751 * screen.C (topCursorVisible): scroll half a page when the cursor
8752 reached top of bottom of screen
8754 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8756 * minibuffer.C: deactivate on loss of focus
8758 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8760 * vspace.[Ch] (operator!=): add operator.
8762 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8764 * BufferView_pimpl.C: refuse to open an inset when
8765 there's a selection.
8767 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8769 * BufferView_pimpl.C: allow to click on RHS of full row insets
8771 2001-11-30 Juergen Vigna <jug@sad.it>
8773 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8774 insets for undo reasons.
8776 2001-11-28 André Pönitz <poenitz@gmx.net>
8778 * vspace.[Ch]: cosmetical changes
8780 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8790 * kbsequence.C: part re-write of old kb code
8793 * WorkArea.C: remove Lgb_bug_find_hack
8795 2001-11-30 José Matos <jamatos@fep.up.pt>
8797 * buffer.C (makeDocBookFile): add a comment to point a hack.
8798 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8799 Fixed a double write of labels.
8801 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8804 * LaTeX.h Fixed bug in LaTeX class where it would not
8805 re-run latex if no depfiles were changed, but the .dvi was removed.
8807 2001-11-28 André Pönitz <poenitz@gmx.net>
8809 * all the files from the change on 2001/11/26:
8810 use lyx::layout_type instead of LyXTextClass::size_type
8811 use lyx::textclass_type instead of LyXTextClassList::size_type
8813 2001-11-29 Juergen Vigna <jug@sad.it>
8815 * text.C: added support for paragraph::isFreeSpacing()
8817 * buffer.C: same as above
8819 * paragraph.h: inserted isFreeSpacing() function to enable
8820 FreeSpacing inside InsetERT.
8822 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8823 of the paragraph's in the cut/copy buffer to 0!
8825 * text2.C (removeRow): remove the assert as it can!
8827 * lyxtext.h: added helper function firstRow returning firstrow and
8828 made firstrow private again.
8830 * BufferView2.C (lockInset): don't relock if we're already locked!
8832 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8834 (removeRow): added Assert::(firstrow)
8836 * debug.C: forgot to add INSETTEXT here.
8838 2001-11-28 Juergen Vigna <jug@sad.it>
8840 * sp_spell.C (initialize): changed error text to more general
8841 spellchecker command use (not only ispell!)
8843 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8845 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8847 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8849 * vspace.C: initialise lyxgluelength on failure
8851 2001-11-28 Allan Rae <rae@lyx.org>
8853 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8854 declaration & definition that looks like a function declaration.
8856 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8858 * BufferView2.C (copy):
8859 (copyEnvironment): do not clear the selection when doing a copy.
8861 * text.C (paintFirstRow): compilation fix
8863 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8865 * tabular.C (Latex): correct line count when writing latex.
8867 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8869 * paragraph_pimpl.h:
8870 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8873 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8877 * LColor.C: change vfillline->added_space
8879 * text.C: add markers and text for added space
8881 * vspace.C: fix comment
8883 2001-11-28 André Pönitz <poenitz@gmx.net>
8885 * paragraph.C: whitespace changes
8886 * all the other files from the change on 2001/11/26:
8887 change *::pos_type into lyx::pos_type
8889 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8891 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8892 language of the document when inserting error insets.
8894 2001-11-26 André Pönitz <poenitz@gmx.net>
8896 * BufferView_pimpl.[Ch]:
8904 * paragraph_pimpl.[Ch]:
8907 * text2.C: reduce header dependencies, introduce type for positions
8909 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8911 * <various>: change to use Alert.h
8913 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8915 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8916 when encountering an unknown token.
8917 (readLyXformat2): Show an error message if there were unknown tokens.
8919 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8922 * BufferView_pimpl.C:
8926 * text2.C: use par->isInset()
8928 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8930 * paragraph_pimpl.h:
8931 * paragraph_pimpl.C: cleanup
8933 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8935 * text2.C (removeRow):
8936 * text.C (setHeightOfRow): remove useless (and costly) call to
8939 2001-11-20 Allan Rae <rae@lyx.org>
8941 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8942 Now need Inset*::checkInsertChar() to return true for appropriate
8943 cases so that the characters in the minibuffer will actually be
8946 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8948 * text.C: change the order of the includes.
8949 (workWidth): initialize it at once.
8950 (workWidth): make maxw unsigned
8951 (setHeightOfRow): remove unused variable (inset)
8952 (selectSelectedWord): remove unused variable (inset)
8953 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8955 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8957 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8958 server is not running.
8960 (closeConnection): add debug info when server is disabled.
8962 * ColorHandler.C (getGCForeground): send debug message to GUI
8965 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8967 * kbmap.C (bind): modify because return conventions of
8968 kb_sequence::parse have changed.
8970 * kbsequence.C (parse): only ignore spaces and not any stupid
8971 control character. This avoids tests like s[i] <= ' ', which are
8972 guaranteed to fail with 8bit characters and signed chars.
8973 Change return code to string::npos when there have been no error
8974 (0 was a bad idea when error is at first character)
8976 2001-11-14 José Matos <jamatos@fep.up.pt>
8979 * buffer.C (simpleDocBookOnePar): removed unused argument.
8981 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8983 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8984 insets which are part of a word. Paragraph::isLetter takes care of
8985 that now. Use Paragraph::isInset to identify insets.
8986 (selectSelectedWord): do not test for hyphenation break.
8988 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8989 that protected spaces are considered as spaces.
8991 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8994 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8997 * lyxserver.C: fix it. and small cleanup.
8999 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9001 * BufferView_pimpl.C: use inline helpers
9004 * LaTeXFeatures.C: fix typos
9007 * Spacing.C: move spacing_string into class
9009 * ToolbarDefaults.C: move stuff into namespace anon
9011 * layout.h: update enum
9013 * lyxfunc.C: use better debug
9015 * minibuffer.h: fix typo
9019 * WorkArea.C: add and use Debug::WORKAREA
9023 * text2.C: code re-organisation, inline helpers
9025 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9027 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9028 std::vector.empty().
9030 2001-11-09 Allan Rae <rae@lyx.org>
9032 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9033 '\n's after tables. Tabular and ERT inset work now makes this no
9036 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9039 * minibuffer.C: fix crash, improve drop-down completion
9041 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9044 * lyxserver.C: invalidate fd's when doing endPipe()
9046 2001-11-08 José Matos <jamatos@fep.up.pt>
9048 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9049 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9052 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9054 2001-11-07 José Matos <jamatos@fep.up.pt>
9057 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9060 * buffer.C (sgmlOpenTag):
9061 * buffer.C (sgmlCloseTag): removed debug info.
9063 * buffer.h (sgmlOpenTag):
9064 * buffer.h (sgmlCloseTag): made public.
9066 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9068 * buffer.C (saveParamsAsDefaults):
9069 * lyx_cb.C (MenuLayoutSave): remove
9071 * LyXAction.C (init):
9073 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9075 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9077 * buffer.C (setPaperStuff): removed from here...
9079 * bufferparams.C (setPaperStuff): ... and moved there.
9081 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9085 * XFormsView.C: add support for drop-down completion
9087 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9089 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9092 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9094 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9097 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9099 * lyx_main.C: change ref to known bugs
9101 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9103 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9104 to work around older babel problems.
9106 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9108 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9110 2001-10-24 Juergen Vigna <jug@sad.it>
9112 * tabular-old.C (ReadOld): below variable changes reflected.
9114 * tabular.[Ch]: added ltType struct for longtable header/footer
9115 defines and changed all instances where they are used. Added
9116 future support for double top/bottom rows.
9118 2001-10-24 José Matos <jamatos@fep.up.pt>
9120 * buffer.h (docbookHandleCaption):
9121 * buffer.C (docbookHandleCaption): removed unused function.
9122 (makeDocBookFile): moved docbook supported version to v4.1.
9124 2001-10-24 José Matos <jamatos@fep.up.pt>
9127 * tabular.C (docbookRow): new function to export docbook code of a row.
9128 (DocBook): now honors the longtable flags.
9130 2001-10-23 José Matos <jamatos@fep.up.pt>
9133 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9134 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9136 * buffer.C (makeLinuxDocFile):
9137 (makeDocBookFile): reworked the preamble, more clean, and with
9138 support for lyx defined entities. Changed the document declaration
9139 to be more XML friendly.
9141 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9142 if we need to output XML that should be done with a filter.
9144 2001-10-22 Juergen Vigna <jug@sad.it>
9146 * sp_pspell.h (class PSpell): add alive function needed in the
9147 controller to see if the spellchecker could be started.
9149 2001-10-22 Juergen Vigna <jug@sad.it>
9151 * buffer.C (insertStringAsLines): modify the font for inserting
9152 chars in certain conditions by calling checkInsertChar(font).
9154 2001-10-19 Juergen Vigna <jug@sad.it>
9156 * text.C (workWidth): use getRow instead of wrong algorithm.
9157 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9159 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9164 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9166 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9168 * text.C (workWidth): do not search for the exact row when
9169 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9170 optimization for big documents.
9172 2001-10-18 Juergen Vigna <jug@sad.it>
9174 * text.C (workWidth): new function with added Inset * parameter.
9176 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9178 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9180 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9181 change return type of getColumnNearX.
9184 * text.C (changeRegionCase): use uppercase/lowercase instead of
9187 (rightMargin): simplify code by factoring out the uses of
9192 (appendParagraph): use Paragraph::size_type
9194 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9196 * vspace.C (asLatexString): add a missing break
9198 2001-10-15 Herbert Voss <voss@perce.de>
9200 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9202 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9204 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9207 2001-10-10 André Pönitz <poenitz@gmx.net>
9209 * lyxfunc.C: removed greek_kb_flag.
9211 2001-10-10 Herbert Voss <voss@perce.de>
9213 * lyx_main.C: delete global string help_lyxdir.
9215 2001-10-09 Herbert Voss <voss@perce.de>
9217 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9219 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9221 * lyx_main.C: added global string help_lyxdir.
9223 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9225 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9227 * lyxrc.C (set_font_norm_type): support iso8859-4
9229 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9231 * LaTeX.C (deplog): add another regex for MikTeX
9233 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9235 * lyxrc.C (set_font_norm_type): support iso8859-3
9237 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9239 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9241 * LaTeXFeatures.C: remove special case of french and index
9243 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9244 before \begin{document}). This solves several incompatibilities.
9246 2001-10-03 Garst Reese <reese@isn.net>
9248 * lyx_cb.C: change CheckTex error msg.
9250 2001-10-03 José Matos <jamatos@fep.up.pt>
9252 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9254 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9256 * .cvsignore: update
9258 * lyx_main.C (commandLineVersionInfo): use new style version info.
9260 * buffer.C (writeFile):
9263 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9265 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9267 * version.h: update to use stuff in version.C
9269 * version.C.in: new file. Contains version information determined
9270 at compile time. This is a merging of version.h and
9273 2001-10-03 Juergen Vigna <jug@sad.it>
9275 * BufferView_pimpl.C (update): don't change "dirty" status in
9278 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9280 * WorkArea.C (c-tor): re-position version string slightly.
9282 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9284 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9285 revert to previous code.
9287 WorkArea.[Ch]: (show, destroySplash): methods removed.
9289 WorkArea.C: rework code so that it's an amalgam of the codes before and
9290 after the splash screen was moved to WorkArea.
9292 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9295 * vspace.C (inPixels):
9298 * buffer.C (insertStringAsLines):
9299 (asciiParagraph): fix types to be large enough
9301 * lyxlex_pimpl.h: change member status from short to int
9303 * layout.h: fix type of endlabeltype
9306 * kbsequence.C (parse): change return type to string::size_type
9308 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9311 * Bullet.C (bulletSize):
9312 (bulletEntry): do not use short ints as parameters
9314 * BufferView2.C (insertLyXFile): change a char to an int.
9316 * WorkArea.C (WorkArea): remove unneeded floats in computation
9318 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9320 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9322 * paragraph.C (asString): Do not ignore newline/hfill chars when
9323 copying to the clipboard.
9325 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9327 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9328 after a multi-line inset.
9330 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9332 * paragraph.C (validate): Set NeedLyXFootnoteCode
9334 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9336 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9337 and decrease-error to decrease.
9339 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9341 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9342 it more readable (should be equivalent)
9344 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9346 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9348 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9350 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9351 of a cursor (row, etc.) after a character has been deleted
9352 (deleteEmptyParagraphMechanism): call the method above on _all_
9353 cursors held by the LyXText when a double space has been
9356 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9358 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9360 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9362 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9363 background. Use greyOut() and the new show() methods to toggle between
9364 the foreground and background. Add code to remove the splash after
9365 its initial showing.
9367 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9368 (create_forms): no longer call Dialogs::showSplash.
9370 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9372 * .cvsignore: add version_info.h
9374 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9376 * version_info.h.in: new file
9378 * Makefile.am: add version_info.h.in
9380 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9381 version_info.h instead of VERSION_INFO
9383 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9385 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9386 The ERT inset now returns string().
9388 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9390 * lyxtext.h, text.C (selectNextWord): renamed as
9391 selectNextWordToSpellcheck.
9393 * text.C (selectNextWordToSpellcheck): Modified to not select
9394 words inside an ERT inset.
9396 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9398 * lyx_cb.C (MenuLayoutSave): change a bit the question
9400 * sp_base.h: include <sys/types.h>
9402 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9404 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9406 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9408 * several files: fix typos in user-visible strings
9410 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9412 * text2.C (pasteSelection): do not set the selection, since it
9413 will be cleared later. Actually, the intent was to fix the way the
9414 selection was set, but I figured rmoving the code was just as good.
9416 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9418 * FontLoader.C (available): Check if font is available without
9421 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9423 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9425 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9427 * lyxrc.[Ch]: added display_graphics variable and associated code.
9429 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9431 * bufferparams.C (hasClassDefaults): new method. Returns true if
9432 the buffer parameters correspond to known class defaults
9434 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9436 * XFormsView.C (show): set minimum size to the main window.
9438 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9440 * text2.C (copySelection):
9442 * lyxfind.C (LyXReplace):
9443 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9444 LyXText::selectionAsString.
9446 * paragraph.C (asString): add "label" argument to the second form
9448 * text2.C (selectionAsString): add "label" argument and pass it to
9449 Paragraph::asString.
9451 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9453 * lyx_main.C (commandLineHelp): remove version information
9455 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9457 * lyx_main.C: add -version commandline option
9459 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9461 * paragraph.h: make the optional constructor arg required instead.
9462 some modifications to other files because of this.
9464 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9466 * lyxserver.C (C_LyXComm_callback): make it static
9468 * lyx_main.C (error_handler): make it static
9470 * lyx_gui.C (LyX_XErrHandler): make it static
9472 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9474 * WorkArea.C: make the extern "C" methods static.
9476 * Makefile.am (lyx_LDADD): simplify
9478 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9480 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9481 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9483 * LyXAction.C (init):
9484 * lyxfunc.C (dispatch): associated code removal.
9486 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9488 * lyxfont.h (isSymbolFont): shut off warning
9490 * text.C (setHeightOfRow):
9491 (getVisibleRow): fix crash with empty paragraphs which have a
9494 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9496 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9499 2001-09-04 José Matos <jamatos@fep.up.pt>
9502 * tabular.C (docbook): rename docBook method to docbook.
9504 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9506 * Makefile.am: add dependencies to main.o.
9508 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9510 * FontLoader.C (available): Return false if !lyxrc.use_gui
9512 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9514 * FontInfo.C (query):
9515 * converter.C (view):
9516 * importer.C (Import):
9517 * exporter.C (Export): Can not -> cannot.
9519 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9521 * BufferView_pimpl.C: allow to create index inset even if
9524 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9526 * buffer.C (getLists): replace boost::tie code with an explicit pair
9527 as boost::tie can break some compilers.
9529 * iterators.h: Added a std:: declaration to the return type of
9532 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9534 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9537 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9539 * iterators.[Ch]: New files. Provide paragraph iterators.
9541 * buffer.C (changeLanguage): Use paragraph iterators.
9542 (isMultiLingual): ditto
9544 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9546 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9548 * FontLoader.C: Support for cmr font.
9550 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9552 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9553 (available): New method.
9555 * FontInfo.C (getFontname): Use scalable fonts even when
9556 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9559 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9561 * converter.C (Formats::view): reverted! Incorrect fix.
9563 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9565 * converter.C (Formats::view): only output the -paper option
9566 if the dvi viewer is xdvi, thereby fixing bug #233429.
9568 2001-08-23 Herbert Voss <voss@perce>
9570 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9572 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9574 * Spacing.h (Spacing): Set space to Default on in the default
9577 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9579 * vc-backend.h (RCS::versionString): add RCS to version
9580 (CVS::versionString): add CVS to version
9582 * vc-backend.C (scanMaster): do not add CVS to version.
9583 (scanMaster): do not add RCS to version
9585 * lyxvc.C (versionString): new method
9587 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9589 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9591 * Spacing.C (set): initialize fval
9593 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9595 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9598 2001-08-16 Juergen Vigna <jug@sad.it>
9600 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9602 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9604 * BufferView_pimpl.C:
9607 * text2.C: setParagraph takes linespacing now
9609 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9611 * LyxAction.C: add internal LFUN_CITATION_INSERT
9613 * LyXView.C: actually apply fix
9615 * bufferlist.C: fix open non-existent file
9617 * lyxfind.C: fix indentation
9619 * lyxfunc.C: remove unneeded assert, fix typo
9621 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9623 * MenuBackend.C: use "Floatname List"
9625 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9627 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9628 when converting LaTeX layout to insetERT.
9629 Generate a non-collapsed float when reading old float
9631 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9633 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9636 2001-08-13 Juergen Vigna <jug@sad.it>
9638 * text.C (fill): return 0 instead of 20 as this seems to be the more
9641 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9643 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9646 2001-08-13 Juergen Vigna <jug@sad.it>
9648 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9650 (SearchBackward): comment out the unlocking of the inset_owner this
9651 should not be needed!
9653 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9655 * Many files: Remove inherit_language, and add latex_language
9657 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9660 2001-08-10 Juergen Vigna <jug@sad.it>
9662 * text.C (prepareToPrint): fixed hfill-width in draw!
9664 * BufferView2.C (selectLastWord): save the selection cursor as this
9665 now is cleared in the function LyXText::clearSelection!
9667 2001-08-08 Juergen Vigna <jug@sad.it>
9669 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9670 BACKSPACE type functions.
9672 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9673 is only cutted from the document but not put in the cut-buffer, where
9674 still the old stuff should be.
9676 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9678 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9680 * tabular.C (SetWidthOfCell): fixed special case where the width
9682 (LeftLine): handle '|' in align_special.
9684 (LeftAlreadyDrawed): ditto
9685 (SetWidthOfCell): ditto
9687 2001-08-07 Juergen Vigna <jug@sad.it>
9689 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9691 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9693 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9694 * lyxlex.[hC]: ditto
9696 2001-08-06 Juergen Vigna <jug@sad.it>
9698 * text.C (getVisibleRow): fix up row clearing a bit.
9700 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9702 * minibuffer.C: make sure the X server sees the changes in the input.
9704 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9706 * paragraph.C (getFont): split into...
9707 (getLabelFont): this
9708 (getLayoutFont): and this
9709 * paragraph_pimpl.C (realizeFont): calling this
9711 * text2.C (getFont): split into...
9712 (getLayoutFont): this
9713 (getLabelFont): and this
9714 (realizeFont): all three calling this
9716 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9719 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9721 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9723 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9725 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9726 layouts from the Quote inset insertion.
9728 2001-08-03 Juergen Vigna <jug@sad.it>
9730 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9732 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9733 only if status not is already CHANGED_IN_DRAW (second level).
9735 * text.C (draw): don't set the need_break_row when inside an
9738 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9740 * buffer.C (parseSingleLyXformat2Token): handle more latex
9743 * bufferview_funcs.[hC]: change function names to
9744 begin with small char, adjust other files.
9746 2001-08-02 André Pönitz <poenitz@gmx.net>
9749 BufferView_pimpl.C: remove broken special code for math-greek
9751 2001-08-02 Juergen Vigna <jug@sad.it>
9753 * BufferView_pimpl.C (update): redone this function so that we
9754 update the text again if there was a CHANGE_IN_DRAW.
9756 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9757 (drawFromTo): added a new internal bool which is used by draw() and
9759 (general): some cursor drawing problems fixed.
9761 2001-08-01 Juergen Vigna <jug@sad.it>
9763 * lyxfind.C (LyXFind): fixed
9764 (SearchForward): ditto
9765 (SearchBackward): ditto
9767 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9768 spurius drawing of the cursor in the main area.
9770 * text2.C (status): small fix which could lead to a segfault!
9771 (clearSelection): remove unneeded BufferView param.
9773 2001-08-01 André Pönitz <poenitz@gmx.net>
9775 * lyxfunc.C: small change due to changed mathed interface
9777 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9779 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9781 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9783 * lyxfunc.c: fail gracefully if file doesn't exist
9788 * BufferView_pimpl.C: IsDirWriteable() proto changed
9790 * LyXView.C: fix updateWindowTitle() to store the last title
9792 2001-07-31 Juergen Vigna <jug@sad.it>
9794 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9795 the font (wrong since using of Paragraph::highestFontInRange).
9797 * paragraph.C (highestFontInRange): added a default_size parameter.
9799 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9800 (setHeightOfRow): reformat
9802 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9804 * converter.[hC] + affected files: move to (inital-char)lowercase
9807 * ParagraphParameters.C (ParagraphParameters): remove commented code
9809 * PainterBase.[Ch]: remove commented code
9811 * LaTeXFeatures.h: add "bool floats" for float.sty
9813 * LaTeXFeatures.C (LaTeXFeatures): init floats
9814 (require): handle float
9815 (getPackages): do it with floats
9817 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9819 * BufferView_pimpl.C (Dispatch): improve handling of
9820 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9822 * commandtags.h: #include lyxfont.h here temporarily to avoid
9825 * bufferlist.h: include LString.h here.
9827 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * text2.C (getStringToIndex): new method.
9831 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9833 * *: Reduced header file dependencies all over.
9835 2001-07-30 Baruch Even <baruch@lyx.org>
9837 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9839 2001-07-29 Baruch Even <baruch@lyx.org>
9841 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9843 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * ParameterStruct.h (endif): add a default constructor to make
9846 sure that all variables is initialized.
9848 * ParagraphParameters.C (ParagraphParameters): adjust
9850 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9852 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9853 index; also, check that there is something to index, and that it
9854 does not span over several paragraphs.
9855 (doubleClick): use WHOLE_WORD_STRICT for double click.
9857 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9859 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9862 2001-07-26 Baruch Even <baruch@lyx.org>
9864 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9865 an InsetFig figure, backwards compatible reading of old figure code.
9867 2001-07-27 Juergen Vigna <jug@sad.it>
9869 * text2.C: font.realize function adaption.
9871 * text.C (draw): add a warnings lyxerr text if needed.
9873 * layout.C: font.realize function adaption.
9875 * language.C: add inherit_language and implement it's handlings
9877 * bufferview_funcs.C (StyleReset): remove language parameter from
9878 font creation (should be language_inherit now).
9880 * bufferparams.C (writeFile): handle ignore_language.
9882 * paragraph.C (getFontSettings): the language has to be resolved
9883 otherwise we have problems in LyXFont!
9885 * lyxfont.C (lyxWriteChanges): added document_language parameter
9886 (update): removed unneeded language parameter
9888 * paragraph.C (validate): fixed wrong output of color-package when
9889 using interface colors for certain fonts in certain environments,
9890 which should not seen as that on the final output.
9892 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9894 * BufferView_pimpl.C:
9899 * LyXAction.C: add thesaurus support
9902 * lyxfind.C: add "once" parameter, for thesaurus, to not
9903 move to the next match
9905 2001-07-26 Juergen Vigna <jug@sad.it>
9907 * lyxfont.C (realize): honor ignore_language too!
9910 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9912 * text.C (draw): one place more for ignore_language to not draw
9915 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9917 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9919 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9921 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9922 the minipage conversion problem.
9924 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9926 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9929 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9931 * BufferView.h: don't forward declare WorkArea
9933 * BufferView.C: don't include WorkArea.h
9935 2001-07-25 André Pönitz <poenitz@gmx.net>
9939 * lyxfunc.C: new LFUN 'math-space'
9941 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9943 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9945 * text2.C (toggleInset): call open/close
9947 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9949 * lyxfunc.C (dispatch): add debug for the disabled case
9951 * font.C (buttonText): make similar to rectText
9953 * buffer.C (readInset): comment out parsing of insetlist and
9956 * PainterBase.C (rectText): small correction
9958 * BufferView_pimpl.C: comment out insettheorem and insetlist
9959 * LyXAction.C: ditto
9960 * commandtags.h: ditto
9962 2001-07-24 Juergen Vigna <jug@sad.it>
9964 * text.C (draw): honor the ignore_language.
9966 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9968 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9973 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9975 * lyxtext.h: remove unused (and unimplemented) methods
9977 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9979 * text.C (getVisibleRow): honor background color
9982 * Painter.h: remove default color argument for fillRectangle
9984 * text.C (backgroundColor): new method
9986 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * text.C (getVisibleRow): adjust
9990 * font.[Ch] (rectText): new method, metrics
9991 (buttonText): new method, metrics
9993 * PainterBase.[hC]: make rectText and buttonText always draw and take
9996 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9998 * ToolbarDefaults.C (read):
9999 * MenuBackend.C (read): allow escaping in all strings
10001 * BufferView_pimpl.C (insertAndEditInset): new method.
10002 (Dispatch): use insertAndEditInset whenever appropriate.
10004 * BufferView_pimpl.C (insertNote): removed
10006 * BufferView_pimpl.C (smartQuote): new method, moved from
10007 BufferView; if an insetquote cannot be inserted, insert a '"'
10010 * BufferView2.C: remove insertCorrectQuote();
10012 * lyxfunc.C (getStatus): Add support for all remaingin
10013 inset-insert lfuns.
10015 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10017 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10018 command (necessary to pass " as parameter of self-insert.
10020 * text.C (selectWordWhenUnderCursor):
10021 (selectWord): add word_location parameter
10022 (selectWordWhenUnderCursor): same + remove special code for word
10024 (selectNextWord): use kind() to guess type of insetspecialchar,
10027 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10028 (insertErtContents): create ert insets as collapsed.
10029 (readInset): better compatibility code for Info inset.
10031 2001-07-20 Juergen Vigna <jug@sad.it>
10033 * lyxfunc.C (dispatch): use always LyXFind now!
10035 * text2.C (init): add a reinit flag so that the LyXText can be
10036 reinited instead of deleted and reallocated (used in InsetText).
10038 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10044 2001-07-18 Juergen Vigna <jug@sad.it>
10046 * text.C (selectNextWord): handle insets inside inset by calling
10047 always the bv->text functions so that we can go up the_locking_inset!
10049 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10050 in strange locations when inside an inset!
10052 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10053 handling to include insets.
10055 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10057 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10059 * LyXAction.C (init):
10061 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10062 LIGATURE_BREAK, since the name is so stupid.
10064 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10066 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10069 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10071 * sp_form.[Ch]: remove.
10073 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10075 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10078 * src/buffer.C (readInset): ditto.
10080 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10082 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10083 menuSeparator(), endOfSentenceDot(), ldots() and
10084 hyphenationPoint(), which are therefore removed.
10085 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10087 * LyXAction.C (init):
10088 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10090 * paragraph.C (getWord): removed.
10092 * BufferView_pimpl.C (Dispatch): use last word or selection for
10093 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10095 * lyx_main.C (queryUserLyXDir): do not ask before creating
10096 user_dir, except if it has been named explicitely.
10098 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10100 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10101 a document of zero size.
10103 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10105 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10106 approriately in the c-tor and in require().
10107 (getPackages): output the appropriate LaTeX for natbib support.
10109 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10110 variables "use_natbib" and "use_numerical_citations" when reading the
10112 (readInset): read the various natbib cite commands.
10113 (validate): white-space change.
10115 * bufferparams.[Ch]: new variables "bool use_natbib" and
10116 "bool use_numerical_citations".
10117 (writeFile): output them in the LyX file.
10119 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10121 * lyxfunc.C (getStatus): add support for all the inset insertion
10124 * text2.C (insertInset):
10125 * paragraph.C (insetAllowed):
10126 * BufferView_pimpl.C (insertInset): update to take in account the
10127 renaming of insertInsetAllowed
10129 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10131 * text2.C (getInset): new method. returns inset at cursor position.
10133 * BufferView_pimpl.C (Dispatch): changes because of this.
10135 * LyXAction.C (init): rename open-stuff to inset-toggle.
10137 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10139 * text2.C (toggleInset): renamed from openStuff; use
10142 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10144 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10146 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10148 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10150 * buffer.C (readLyXformat2): Add filename to the error dialog
10152 2001-07-18 Juergen Vigna <jug@sad.it>
10154 * tabular.C (GetCellNumber): put an assert here instead of the check!
10156 2001-07-17 Juergen Vigna <jug@sad.it>
10158 * BufferView_pimpl.C (toggleSelection): adapted too.
10160 * text.C (selectNextWord): adapted for use with insets.
10161 (selectSelectedWord): ditto
10163 2001-07-17 Juergen Vigna <jug@sad.it>
10165 * sp_spell.C (PSpell): fix initialitation order.
10167 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * paragraph.C: spacing
10171 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10173 * sp_spell.C: repair language selection for pspell
10175 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10177 * lyxfunc.h: change more methods to begin with lower char.
10179 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10181 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10182 for unknown layouts.
10184 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10186 * buffer.C (readLyXformat2): Generate an error dialog if there are
10189 2001-07-16 Juergen Vigna <jug@sad.it>
10191 * sp_spell.C: always compile ISpell part.
10193 * lyxrc.C: added use_pspell entry and it's handling.
10195 2001-07-13 Juergen Vigna <jug@sad.it>
10197 * sp_spell.C: removed double includes.
10199 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10201 Consistent use of Lsstream.h:
10202 * Lsstream.h: added using std::stringstream for consistencies sake.
10204 * buffer.C: removed using std::stringstream
10206 * lyxfont.C (stateText):
10207 * paragraph.C (asString):
10208 * text.C (selectNextWord, selectSelectedWord):
10209 * text2.C (setCounter):
10210 * vspace.C (asString, asLatexString):
10211 std::ostringstream -> ostringstream.
10213 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10215 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10216 * commandtags.h: add LFUN_HELP_ABOUTLYX
10217 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10219 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10221 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10223 * lyx_gui_misc.C: remove spellchecker
10224 * lyxfunc.C: showSpellchecker
10226 * sp_ispell.h: added
10227 * sp_pspell.h: added
10228 * sp_spell.C: added
10229 * sp_form.[Ch]: removed
10230 * spellchecker.[Ch]: removed
10232 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10234 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10236 (simpleTeXSpecialChars): Simply print the input character without
10237 any special translation if pass_thru is set.
10239 * layout.h: Added bool pass_thru to layout class for being able to
10240 implement pass through of a paragraph for Literate Programming.
10242 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10243 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10244 * layout.C (Read): add "passthru" to list of layout tags and add
10245 code to set the pass_thru boolean when it is read.
10247 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * trans_decl.h: remove allowed from KmodInfo
10251 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10252 remove allowed code
10255 * paragraph_pimpl.C (erase): use boost::prior
10257 * Painter.C (text): use data() instead of c_str() when length is
10259 * WorkArea.C (putClipboard): ditto
10260 * font.h (width): ditto
10262 * BufferView2.C: use it-> instead of (*it). for iterators
10264 * paragraph_pimpl.C: ditto
10265 * paragraph.C: ditto
10266 * minibuffer.C: ditto
10267 * language.C: ditto
10269 * encoding.C: ditto
10270 * counters.C: ditto
10271 * converter.C: ditto
10273 * Variables.C: ditto
10274 * TextCache.C: ditto
10275 * MenuBackend.C: ditto
10276 * LyXAction.C: ditto
10278 * FloatList.C: ditto
10279 * DepTable.C: ditto
10280 * ColorHandler.C (LyXColorHandler): ditto
10282 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10284 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10286 * text2.C (openStuff): reintroduce this method (which had been
10287 nuked in NEW_INSETS frenzy).
10289 * lyxfunc.C (Dispatch): when an action has not been handled, use
10290 its name in the error message, not its number.
10292 * paragraph.C (inInset): change method name to begin with lowercase.
10295 * text2.C: updates because of this.
10297 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10299 * ToolbarDefaults.C (add): add spaces in error message
10301 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10304 (readLyXformat2): rename return_par to first_par, use lyxlex's
10305 pushToken and remove the manual push handling.
10306 (parseSingleLyXformat2Token): add another ert comp. variable:
10307 in_tabular, rename return_par to first_par. handle newlines better
10309 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10311 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10313 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10315 * text2.C (getParFromID): removed
10317 * buffer.C (getParFromID): new method moved form lyxtext.
10318 * BufferView2.C (insertErrors): adjust
10319 (setCursorFromRow): adjust
10320 * BufferView_pimpl.C (restorePosition): adjust
10321 * lyxfunc.C (Dispatch): adjust
10322 * undo_funcs.C (textUndo): adjust
10324 (textHandleUndo): adjust
10325 (textHandleUndo): adjust
10327 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * buffer.C: up' the LYX_FORMAT
10331 * lyxfont.h: turn NO_LATEX on as default
10333 * buffer.C (insertErtContents): new methods of tex style compability.
10334 (parseSingleLyXformat2Token): use it several places.
10335 * tabular.C (OldFormatRead): and here
10337 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10339 * text2.C: remove some commented code.
10342 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10343 * trans.C: changes because of the above.
10345 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10347 * text2.C (setCounter): Fix counters bug with bibliography layout.
10349 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10351 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10352 own member functions
10353 (simpleTeXSpecialChars): ditto
10355 2001-07-06 Juergen Vigna <jug@sad.it>
10357 * a lot of files: changed the access to LyXText::status and the
10358 call of undo-functions.
10360 * undo.[Ch]: added a inset_id to the undo informations.
10362 * undo_funcs.[Ch]: added and moved here all undo functions.
10364 * lyxtext.h: give the status enum a weight, made status_ a private
10365 variable and made accessor functions for it, removed the whole bunch
10366 of undo-functions as they are now in their own file, make some
10367 functions publically available. Added function ownerParagraph with
10370 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10371 made InInset() a const function, added getParFromID() function.
10373 * buffer.[Ch]: added const version for inset_iterator functions,
10374 added getInsetFromID() function.
10376 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10377 changed undo functions for new version.
10379 2001-07-05 Juergen Vigna <jug@sad.it>
10381 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10382 unknow mechanism does not call the proper constructor but only this
10383 one also if I request the other!?
10385 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10387 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10389 * text2.C (LyXText): use initialization lists.
10391 * lyxtext.h (Selection): initialize set_ and mark_
10392 (init): remove method
10394 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10396 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10398 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10400 * screen.[Ch]: change method names to begin with lowercase
10402 * BufferView_pimpl.C (updateScrollbar): simplify further and
10403 hopefully make it a bit faster.
10405 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10408 calling directly xforms functions.
10410 * Painter.C (Painter):
10411 * lyx_cb.C (MenuWrite):
10412 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10415 * lyx_gui.C: remove bogus guiruntime extern declaration.
10417 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10419 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10421 (redoDrawingOfParagraph): ditto
10422 (redoParagraphs): ditto
10423 (cutSelection): don't create a object for CutAndPaste use the
10424 static method directly
10425 (pasteSelection): ditto
10427 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10430 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * modifications to some other files because of this.
10434 * Makefile.am (lyx_SOURCES): add XFormsView
10436 * XFormsView.[Ch]: new files
10438 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10439 the main window. Move the gui dependent stuff to XFormsView
10441 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10443 * tabular.C (GetCellInset): update cur_cell also in the row/col
10444 version of this function.
10446 * lyxfunc.C: no need to include figure_form.h here.
10452 * lyxvc.C: no need to include forms.h here.
10454 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10456 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10458 * lyxfunc.C (Dispatch):
10460 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10461 constructor argument.
10463 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10465 * paragraph.C (Paragraph): dont't clear, and just set layout.
10466 (makeSameLayout): use params's copy contructor.
10468 * ParagraphParameters.[Ch] (makeSame): delete method
10470 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10472 * Variables.[Ch]: fix indentation, rename set to isSet
10474 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10476 * lyxfunc.C (Dispatch): fix typo
10478 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10483 * bufferlist.C: include assert.h for emergencyWrite().
10485 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10487 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10488 give up at last (bug #425202) !
10490 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10496 * spellchecker.C: strip spellchecker options and bring up
10497 preferences tab instead
10499 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10501 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10502 the istringstream constructor
10504 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10506 * paragraph.C (getLayout): fix return value
10508 * paragraph.h: do not declare getLayout as inline.
10510 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10512 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * lyxcursor.h (operator<): new func
10515 (operator>): new func
10516 (operator>=): new func
10517 (operator<=): new func
10519 * text.C (changeCase): use selection.start and selection.end
10520 (changeRegionCase): require from to be <= to. Require par to be a
10523 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10525 2001-06-27 Juergen Vigna <jug@sad.it>
10527 * text.C (cursorLeftOneWord): changed to return the cursor and added
10528 overlay with BufferView * parameter which calls this one.
10530 (selectWord): use new getWord function.
10531 (changeCase): renamed from changeWordCase as and extended to work
10532 also on selections.
10534 * lyxtext.h: added enum word_location
10536 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10537 changeCase as this operates now also on selections.
10539 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10541 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10543 * many files: send debug output to Debug::INFO instead of
10546 * converter.C (View):
10548 (Move): send debug output to Debug::FILES instead of console.
10550 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10552 * lyxfunc.C (getStatus): use func_status
10554 * func_status.h: new header, describing the results of
10555 LyXFunc::getStatus;
10557 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10560 2001-06-25 The LyX Project <jug@sad.it>
10562 * buffer.C (sgmlOpenTag):
10564 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10566 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * text2.C: remove some dead code
10570 * tabular.C (GetCellInset): store the last cell checked (gotten)
10572 * tabular.h: add the helper for the speedup
10574 * lyxtext.h: remove some dead code
10576 2001-06-26 The LyX Project <Asger>
10578 * paragraph.C: Change export to LaTeX of alignment to
10579 \begin{center} and family for better roundtrip work with reLyX.
10581 * Tune the math drawing a bit.
10583 2001-06-25 The LyX Project <Asger>
10585 * LColor.C (LColor): New color for math background. New color
10588 2001-06-25 The LyX Project <jug@sad.it>
10590 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10592 * lyxfunc.C (Open):
10593 * bufferlist.C (newFile): do not restrict to files ending with
10596 * BufferView_pimpl.C (MenuInsertLyXFile):
10598 2001-06-24 The LyX Project <jug@sad.it>
10600 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10603 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10605 * lyxtext.h: rename most methods to begin with a small char.
10606 Lots of changes because of this.
10608 * paragraph.C (Paragraph): do not call fitToSize
10609 (erase): call Pimpl::erase
10610 (insertChar): call Pimpl::insertChar
10611 (insertInset): call Pipl::insertInset
10612 (breakParagraph): do not call fitToSize
10613 (breakParagraphConservative): do not call fitToSize
10614 (fitToSize): remove method
10616 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10618 2001-06-24 The LyX Project <Asger>
10620 * Fix Qt compilation^2
10622 2001-06-24 The LyX Project <jug@sad.it>
10624 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10625 depthHook(getDepth()-1).
10628 * ParagraphParameters.h:
10629 * ParameterStruct.h: change type of depth to unsigned int ==
10630 depth_type. Many adaptations to other files before of that.
10632 2001-06-24 The LyX Project <Asger>
10634 * Fix Qt compilation.
10636 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10638 * paragraph.h: renamed several methods to begin with small letter.
10639 several changes to many parts of the code because of this.
10641 2001-06-23 The LyX Project <jug@sad.it>
10643 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10644 rewritten to discard all double spaces when KeepEmpty is off
10645 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10646 to only handle newlines but not fiddle with spaces and friends.
10648 * lyxfunc.C (MenuNew): when doing 'new from template', use
10649 template_path as default directory
10651 2001-06-23 The LyX Project <Asger>
10653 * Clean-up of header file includes all over
10654 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10656 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10658 * paragraph.h: renamed from lyxparagraph.h
10660 2001-06-23 Asger <lyx@violet.home.sad.it>
10662 * Buffer.h: Removed Buffer::resize
10663 * BufferList.h: Removed BufferList::resize
10664 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10665 the document lazily when we change the width, or the font settings.
10667 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10669 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10671 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10673 * buffer.h: remove out of date comment
10675 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10678 * screen.C: fix "theoretical" GC leak
10680 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10682 * LaTeX.C (scanAuxFile):
10683 (deplog): remove trailing \r when reading stream (useful under
10686 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10688 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10689 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10690 and BufferView::theLockingInset(Inset*), so should use them and not
10691 access bv_->text->the_locking_inset directly.
10693 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10695 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10698 * tex-defs.h: remove old unused file
10700 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10702 * BufferView_pimpl.C: fix typo, remove minibuffer message
10703 when buffer has loaded
10705 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * lyxfunc.C (Dispatch): use stringstream
10708 (MenuNew): use stringstream
10709 (Open): use stringstream
10711 * importer.C (Import): use stringstream
10713 * bufferview_funcs.C (CurrentState): use stringstream
10715 * LaTeX.C (run): use stringstream
10717 * BufferView_pimpl.C (savePosition): use stringstream
10718 (restorePosition): use stringstream
10719 (MenuInsertLyXFile): use stringstream
10721 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10734 * vspace.C: removed // -*- C++ -*- as first line.
10737 * version.h: added // -*- C++ -*- as first line.
10739 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10741 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10743 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10746 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10751 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * gettext.C: include LString.h even when --disable-nls is on.
10755 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10757 * converter.h (Get): changed argument type from int to
10758 FormatList::size_type to avoid unnecessary conversion.
10760 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10763 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10765 * gettext.h: include LString.h even when --disable-nls is on.
10767 2001-06-07 Juergen Vigna <jug@sad.it>
10769 * text.C (BreakAgain): subst spaces with tabs.
10771 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10772 (resizeInsetsLyXText): set force on resizeLyXText.
10774 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10776 * gettext.h (gettext_init):
10777 (locale_init): use a real definition instead of a macro
10779 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10781 * Bufferview_pimpl.C:
10783 * LColor.C: further lcolor tidies
10785 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10787 * BufferView_pimpl.C (updateScrollbar): simplify.
10789 * BufferView2.C: don't include insets/insetinfo.h, change
10790 prototype for insertInset and call the Pimpl version. let
10791 updateInset call Pimpl version.
10793 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10794 gotoInset to BufferView::Pimpl
10796 2001-06-01 Juergen Vigna <jug@sad.it>
10798 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10799 inside a LockingInset (is the update needed at all?).
10801 2001-05-31 Juergen Vigna <jug@sad.it>
10803 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10804 here not the old one otherwise how should we compare it afterwards
10807 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10812 * FontInfo.C: bring C functions into global namespace when
10815 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10817 * LString.h: make sure config.h has been loaded before LString.h.
10819 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10820 (one for each char read by EatLine!).
10822 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10825 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10828 to the same as the par we break from
10830 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10832 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10834 * MenuBackend.C (expand): also create menu entries for wide
10835 versions of the floats.
10837 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10839 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10841 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10842 frontends/Makefile.am
10848 * tabular.C (getTokenValue): add std::
10850 * tabular-old.C (getTokenValue): add std::
10851 (getTokenValue): ditto
10852 (getTokenValue): ditto
10854 * screen.C (ToggleSelection): adjust
10856 * lyxtext.h: put selection cursors inside a Selection struct.
10858 * lyxfunc.C (moveCursorUpdate): adjust
10860 * lyxfont.C (latexWriteStartChanges): add std::
10862 * lyxfind.C: adjust
10864 * font.h: delete with(char const *, LyXFont const &)
10866 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10868 * FontInfo.C (getFontname): add std::
10870 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10871 (workAreaButtonPress): adjust
10872 (tripleClick): adjust
10874 (moveCursorUpdate): adjust
10877 * BufferView2.C (gotoInset): adjust
10879 2001-05-30 Juergen Vigna <jug@sad.it>
10881 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10882 to check pspell I add this as default as I now have new pspell
10883 libraries and they seem to use this.
10885 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * text2.C (CutSelection): make the cursor valid before the call to
10890 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10892 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10893 relied on 0 terminated strings and other horrors. Bug found due to
10894 the new assert in lyxstring!
10896 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10899 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10904 * lyxfunc.C (processKeySym): change method of getting to the
10907 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10908 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10909 * BufferView_pimpl.[Ch]: here as private methods.
10911 2001-05-28 Juergen Vigna <jug@sad.it>
10913 * text.C (SetHeightOfRow): added the update() call again as it is
10914 needed to initialize inset dimensions!
10916 2001-05-16 Juergen Vigna <jug@sad.it>
10918 * text2.C (SetCharFont): Add new function with BufferView * and
10919 bool toggleall parameters for setting insets internal fonts.
10920 (SetFont): Freeze the undo as we may change fonts in Insets and
10921 all this change should be inside only one Undo!
10923 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10924 setting font's in insets as for them we have the SetFont function!
10926 2001-05-15 Juergen Vigna <jug@sad.it>
10928 * text2.C (ClearSelection): to be sure we REALLY don't have any
10931 * tabular.C (TeXCellPreamble): fixed the left border problem for
10934 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10936 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10939 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10941 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10942 LFUN_BREAKPARAGRAPH.
10944 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10945 help test to "internal only", similar for LFUN_INSERT_URL
10947 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10948 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10949 auto_region_delete and deadkeys.
10951 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10954 * LColor.C: remove some dead entries, tidy a little
10956 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10960 (Dispatch): implement LFUN_ESCAPE
10962 * commandtags.h: add LFUN_ESCAPE
10964 * LyXAction.C (init): add entry for LFUN_ESCAPE
10966 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10967 Remove commented code.
10968 (insertNote): moved here
10969 (open_new_inset): moved here
10971 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10974 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10976 * kbmap.C (findbinding): clean it up and make it work correctly.
10978 * lyx_main.C (init): do not pass argc and argv as parameters
10980 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10982 * buffer.C: fix path for OS/2 & Win32
10986 * lyx_main.C: Added os:: class.
10988 * os2_defines.h: update
10990 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10992 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10993 better by trying again with reduced state.
10995 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10997 * lyxrc.C (read): print error about invalid key sequence only when
10998 debugging (because not all latinX keysyms are known to some X
11001 * kbsequence.C (getiso): add a few std:: qualifiers
11002 (getiso): comment out extra return statement.
11004 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11006 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11008 (Dispatch): enhance the accent inset a bit. (not perfect)
11010 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11012 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11014 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11016 * bufferlist.C (emergencyWrite): fix assert() call
11018 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11020 * text.C (InsertChar): Added trivial patch to only send the "you
11021 can not do multiple spaces this way" message once during a
11024 2001-05-08 Baruch Even <baruch@lyx.org>
11026 * Makefile.am: Changed order of libraries to get LyX to link properly
11027 with the gnome frontend.
11029 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11031 * LaTeXFeatures.h: add a std:: qualifier
11033 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * paragraph.C (String): use stringstream
11037 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11039 * paragraph.C (writeFile): remove footflag arg
11041 * buffer.C (makeLaTeXFile): use stringstream
11042 (latexParagraphs): remove footnot gurba
11044 * LaTeXFeatures.C (getPackages): use stringstream
11045 (getMacros): likewise
11046 (getTClassPreamble): likewise
11047 (getFloatDefinitions): new method
11049 * paragraph.C (writeFile): reindent
11052 * WorkArea.h: revert the xpos + etc changes.
11054 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11056 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11058 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11059 (pasteSelection): likewise
11060 * text2.C (CreateUndo): likewise
11062 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11064 * minibuffer.C (peek_event): temporarily reduce the functionality
11065 of the minibuffer (to allow args on lfuns)
11067 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11068 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11070 * buffer.C (readInset): add compability reading of old float
11071 lists, add reading of new style float list.
11072 (readInset): avoid reevaluation of inscmd.getCmdName()
11073 (getLists): reindent
11075 * MenuBackend.C (MenuItem): implement parsing of
11076 md_floatlistinsert and md_floatinsert.
11077 (expand::LastFiles): move initalizaton of iterators out of loop,
11078 avoid reevaluation.
11079 (expand::Documents): introduce typdedef vector<string> Strings,
11081 (expand::ExportFormats): introduce typedef vector<Format const *>
11082 Formats, and use it.
11083 (expand): implement FloatListInsert and FloatInsert.
11085 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11086 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11087 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11089 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11091 (Dispatch::LFUN_FLOAT_LIST): implement
11093 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11095 * LaTeX.C (run): Fix problem with --export code.
11097 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11099 * BufferView.[Ch] (workarea): removed.
11100 (getClipboard) new method; wrapper for workarea()->getClipboard()
11102 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11105 * WorkArea.h (width, height, xpos, ypos): These methods all
11106 returned the dimensions of the work_area sub-area of WorkArea,
11107 resulting in a position error if the WorkArea were resized. Now
11108 return the dimensions of the entire WorkArea.
11110 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11112 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11114 * LaTeX.C (deplog): correct the syntax of regex reg1
11116 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11118 * undo.C: remove !NEW_INSETS cruft
11120 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11122 * text2.C: remove !NEW_INSETS cruft
11124 * text.C: remove !NEW_INSETS cruft
11126 * tabular.C: remove !NEW_INSETS cruft
11128 * spellchecker.C: remove !NEW_INSETS cruft
11130 * lyxtext.h: remove !NEW_INSETS cruft
11132 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11134 * lyxfunc.C: remove !NEW_INSETS cruft
11136 * lyxfind.C: remove !NEW_INSETS cruft
11138 * lyx_cb.C: remove !NEW_INSETS cruft
11140 * figureForm.C: remove !NEW_INSETS cruft
11142 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11144 * buffer.[Ch]: remove !NEW_INSETS cruft
11146 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11148 * CutAndPaste.C: remove !NEW_INSETS cruft
11150 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11152 * BufferView2.C: remove !NEW_INSETS cruft
11154 * BufferView.h: remove !NEW_INSETS cruft
11156 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11158 * Lsstream.h: include LString.h before the sstream headers to
11159 fix problem with gcc 2.95.3 and lyxstring
11161 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11163 * lyx_main.C: add using directives when needed for C functions
11164 declared in std:: namespace.
11166 2001-04-27 Juergen Vigna <jug@sad.it>
11168 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11169 (SetHeightOfRow): comment out the update call should not be needed!
11171 2001-04-13 Juergen Vigna <jug@sad.it>
11173 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11174 (LyXTabular): tried to minimize operator= operations (and realized
11175 hopfully Lars wish).
11177 2001-04-27 Juergen Vigna <jug@sad.it>
11179 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11181 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11183 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11185 * buffer.C (readInset): hack to make listof algorithm work
11187 * BufferView_pimpl.C: hack to make listof algorithm work
11189 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11191 * LyXAction.C: removed all !NEW_INSETS cruft
11192 (init): moved lfun_item in method
11194 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11196 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11198 * BufferView2.C (theLockingInset): white space.
11200 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * minibuffer.C: include <iostream>
11204 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11206 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11208 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11210 * text.[Ch] (TransposeChars): new method
11212 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * call message directly through LyXView instead of through LyXFunc
11215 * BufferView2.C: adjust
11216 * BufferView_pimpl.C: adjust
11217 * FontLoader.C: adjust
11219 * bufferview_funcs.C: adjust
11220 * converter.C: adjust
11221 * figureForm.C: adjust
11222 * importer.C: adjust
11224 * lyx_gui_misc.C: adjust
11225 * lyxfunc.C: adjust
11228 + more files in subdirs
11230 * lyxparagraph.h (size): move up int file
11233 * adjust all uses of Assert to lyx::Assert.
11235 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11236 lyxfunctional in namespace lyx
11237 * layout.C (hasLayout): ditto
11240 (delete_layout): ditto
11241 (NumberOfClass): ditto
11242 * converter.C (GetFormat): ditto
11247 * bufferlist.C (getFileNames): ditto
11248 (emergencyWriteAll): ditto
11251 * MenuBackend.C (hasSubmenu): ditto
11254 * BufferView_pimpl.C (getInsetByCode): ditto
11256 2001-04-18 Juergen Vigna <jug@sad.it>
11258 * vspace.C (asLatexString): fixed the 100% problem.
11260 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11262 * lyxfunc.C (Dispatch):
11264 * minibuffer.h: add a few std:: qualifiers
11266 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11268 * minibuffer.[Ch]: reimplement so that commands is initiated and
11269 run from lyxfunc, simplified som handling, and made the completion
11270 and history code for complete. wip.
11272 * lyxfunc.C (processKeySym): call message
11273 (miniDispatch): new temporary method
11274 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11275 (LFUN_MESSAGE): implement
11276 (LFUN_MESSAGE_PUSH): implement
11277 (LFUN_MESSAGE_POP): implement
11278 (initMiniBuffer): the initial/defualt minibuffer message.
11280 * lyxfont.[Ch]: inline some more getters
11282 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11284 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11286 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11287 (AutoSave): use LFUN_MESSAGE
11288 (Reconfigure): ditto
11290 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11292 * figureForm.C: use LFUN_MESSAGE
11294 * converter.C (runLaTeX): use LFUN_MESSAGE
11296 * bufferview_funcs.C: use LFUN_MESSAGE
11298 (changeDepth): ditto
11300 * bufferparams.h: use boost::
11302 * bufferlist.h: inherit privately from noncopyable
11304 * bufferlist.C (loadLyXFile): remove some commented code.
11306 * buffer.C (runChktex): use LFUN_MESSAGE
11308 * ShareContainer.h: inherit privately from noncopyable
11310 * ParagraphParameters.[hC] (depth): inline it.
11312 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11314 (message): new method
11315 (messagePush): ditto
11316 (messagePop): ditto
11317 (show): init minibuffer
11318 (showState): direct call
11320 * LaTeX.[Ch]: inherit privately from noncopyable
11321 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11322 instead of WriteStatus.
11324 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11326 * BufferView_pimpl.C (buffer): don't init minibuffer
11327 (workAreaButtonPress): use LFUN_MESSAGE
11328 (workAreaButtonRelease): ditto
11329 (savePosition): ditto
11330 (restorePosition): ditto
11331 (MenuInsertLyXFile): ditto
11332 (workAreaExpose): don't init minibuffer
11333 (update): remove commented code, simplify
11335 * BufferView2.C (openStuff): use LFUN_MESSAGE
11336 (toggleFloat): ditto
11339 (copyEnvironment): ditto
11340 (pasteEnvironment): ditto
11345 (updateInset): remove some commented code
11347 * lastfiles.h: inherit privately from noncopyable
11350 * lyx_main.h: ditto
11352 * lyxlex_pimpl.h: ditto
11354 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11355 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11356 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11358 * LyXAction.h: inherit privately from noncopyable, add methods
11359 func_begin, func_end, returning iterators to the func map.
11361 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11362 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11363 (func_begin): new method
11364 (func_end): new method
11366 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11368 (copySelection): ditto
11369 (pasteSelection): ditto
11371 * BufferView.C: whitespace change
11372 * BufferView.h: inherit privately from noncopyable
11374 2001-04-16 Allan Rae <rae@lyx.org>
11376 * tabular-old.C (l_getline):
11377 * spellchecker.C (sc_check_word):
11378 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11379 an unrecognised preprocessor directive. So ensure they're wrapped.
11381 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11383 * src/exporter.C (Export): Give an error message when path to file
11386 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11388 * LaTeX.C (deplog): Always check that foundfile exists.
11390 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11393 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11395 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * tabular.[Ch] (getLabelList): implement new method
11399 * minibuffer.h: comment ouf setTiimer
11401 * minibuffer.C (ExecutingCB): constify res
11402 (peek_event): constify s
11403 (Set): constify ntext
11404 (Init): constify nicename
11406 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11408 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11409 (savePosition): use two params to Minibuffer::Set
11410 (restorePosition): ditto
11412 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11414 * lyx_main.C: include language.h
11416 * Makefile.am (lyx_main.o): add language.h
11418 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11424 * CutAndPaste.C: include gettext.h
11426 * lyxfont.h: remove old hack with ON and OFF.
11429 * lyxfont.h: do not include language.h...
11434 * bufferview_funcs.C:
11440 * paragraph.C: ... but do it here instead
11442 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11446 * tabular.C: small reformat
11448 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11451 (BreakParagraph): ditto
11452 (SetOnlyLayout): ditto
11455 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11458 * lastfiles.C: removed most using decl, add std:: where needed
11460 * buffer.C: ws changes
11462 * MenuBackend.C (class compare_format): put into anon namespace
11463 (expand): constify label, names, action, action2
11466 * text.C (SingleWidth): constify font
11467 (IsBoundary): constify rtl2
11468 (GetVisibleRow): constify ww
11470 * LaTeX.C (deplog): constify logfile
11472 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11474 (workAreaExpose): constify widthChange, heightChange
11476 * lyxrow.C (par): moved
11479 * lyxrow.h: as inlines here
11481 * lyxfont.h (shape): moved from lyxfont.C
11482 (emph): moved from lyxfont.C
11484 * lyxfont.C (LyXFont): use initialization list for all
11486 (shape): move to lyxfont.h as inline
11487 (emph): move to lyxfont.h as inline
11490 2001-04-04 Juergen Vigna <jug@sad.it>
11492 * vspace.C: had to include stdio.h for use of sscanf
11494 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11497 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11498 independent of xforms.
11500 2001-04-02 Juergen Vigna <jug@sad.it>
11502 * spellchecker.C: fixed namespace placing!
11504 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11506 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11507 the LyXParagraph * is 0.
11509 2001-03-29 Juergen Vigna <jug@sad.it>
11511 * vspace.C: added support for %, c%, p%, l%.
11512 (stringFromUnit): added helper function.
11513 (asLatexString): changed to give right results for the %-values.
11515 * buffer.C: convert the widthp in a width%.
11517 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11519 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11522 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11523 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11525 * lyx_cb.[Ch]: see above.
11527 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11531 * lyx.[Ch]: replaced by figure_form.[Ch].
11535 * lyxfunc.C: changed headers associated with above changes.
11537 2001-03-27 Juergen Vigna <jug@sad.it>
11539 * BufferView_pimpl.C: set the temporary cursor right!
11541 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11543 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11545 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11547 * LString.h: removed "using std::getline"!
11549 * BufferView_pimpl.C (Dispatch): changes due to changes in
11550 InsetInclude::Params.
11552 * buffer.C (tag_name): removed redundant break statements as they were
11553 producing lots of warnings with my compiler.
11555 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11557 * LString.h: add "using std::getline" when using the real <string>.
11559 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11561 * buffer.C: removed bitset usage.
11562 PAR_TAG moved to an anonymous name space.
11563 (tag_name): new funtion, also in the anonymous namespace.
11564 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11565 (makeDocBookFile): clean code. Completed transition from string arrays
11567 (SimpleDocBookOnePar): code clean.
11569 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11571 * tabular.C: add some comments.
11573 2001-03-22 Juergen Vigna <jug@sad.it>
11575 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11576 compatibility read a bit and fixed bug with minipage in different
11579 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11581 * buffer.C (pop_tag): removed.
11582 (push_tag): removed.
11583 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11584 array replaced with vector. Added support for CDATA sections.
11585 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11587 (makeDocBookFile): XML conformant declaration of CDATA section,
11588 fixed bug related to <emphasis> in the first paragraph char.
11589 (sgmlOpenTag): exclude empty tags.
11590 (sgmlCloseTag): ditto.
11592 * buffer.h (pop_tag): removed.
11593 (push_tag): removed.
11595 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11597 * language.h (Languages): added size_type and size().
11599 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11601 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11602 response on compability reading of minipages. One probliem is that
11603 the old usage of minipages was «flertydig»
11605 * several files here and in subdirs: don't use static at file
11606 scope use anon namespaces instead.
11608 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11610 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11611 LaTeX output. This is necessary for Literate document
11614 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11616 * buffer.C: insert hfill when needed.
11618 * tabular.C (l_getline): use string::erase, small whitespace change.
11620 * BufferView_pimpl.C: try the anon namespace.
11621 * WorkArea.C: ditto
11623 2001-03-16 Juergen Vigna <jug@sad.it>
11625 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11626 otherwise it won't open options-dialogs.
11628 * buffer.C: honor pextraWidth(p) on converting minipages.
11630 * tabular.C (l_getline): changed the functions to strip trailing \r.
11632 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11634 * BufferView_pimpl.C:
11635 * minibuffer..C: added "using SigC::slot" declaration.
11637 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11639 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11645 * paragraph.C: ditto
11647 * lyxtext.h: NO_PEXTRA
11649 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11651 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11652 * ParameterStruct.h: ditto
11653 * ParagraphParameters.h: ditto
11654 * lyxparagraph.h: ditto
11656 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11658 * buffer.C: add compability for minipage alignment.
11659 (latexParagraphs): remove unwanted pextra check.
11661 * several files: remove CXX_WORKING_NAMESPACES
11663 * buffer.C (pop_tag): tie is in namespace boost
11665 * BufferView.h: noncopyable is in namespace boost
11667 * lyx_main.h: ditto
11670 * lastfiles.h: ditto
11671 * bufferlist.h: ditto
11672 * ShareContainer.h: ditto
11674 * LyXAction.h: ditto
11677 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11679 * Merging changes from BRANCH_MVC back into HEAD.
11681 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11683 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11685 * BufferView_pimpl.C: change from intl.C
11689 * Makefile.am: move combox.*
11695 * intl.C: remove dialog (covered by prefs)
11697 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11699 * lyxfunc.C (Dispatch): removed redundant break statement.
11701 2001-03-14 Juergen Vigna <jug@sad.it>
11703 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11705 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11707 * buffer.C: add hack to fix compability reading of minipages.
11709 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11711 * buffer.C (getLists): Cleanup.
11713 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * lyxfont.C (update): don't honor toggleall on font size.
11717 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11721 * Makefile.am: moved to frontends/xforms/
11725 * BufferView_pimpl.C: changes for moved mathpanel
11727 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11729 * gettext.h: fix gettext_init() in --disable-nls
11731 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11735 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11738 * lyx.h: strip external form
11740 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11742 * BufferView_pimpl.C: add comment, destroySplash()
11744 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11746 * BufferView_pimpl.C:
11750 * lyxfunc.C: use re-worked insetinclude
11752 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11754 * buffer.C: add using std::stringstream.
11756 * lyx_cb.C: readd using std::ios.
11758 * buffer.C: add using std::map.
11760 * BufferView_pimpl.C: add using std::vector.
11762 * ShareContainer.h: add std:: to swap.
11764 * buffer.h: add some typedefs
11765 * buffer.C (getLists): use them
11766 (getLists): renamed from getTocList.
11767 add a counter for the different float types and use it in the
11769 (getLists): use the same counter for the NEW_INSETS and the "non"
11772 * lyx_cb.h: remove unused items, includes, using etc.
11774 * ShareContainer.h: remove some commented code, add more comments
11775 and "documentation".
11777 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11779 * buffer.C (getTocList): make the list also when NEW_INSETS is
11782 * buffer.h: remove TocType
11784 * buffer.C (getTocList): change to return a map<string,
11785 vector<TocItem> >, implement for dynamic number of list.
11787 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11788 * text2.C (PasteSelection): adjust
11789 * CutAndPaste.C (pasteSelection): adjust
11791 * FloatList.C (FloatList): update from the new_insets branch.
11792 * Floating.[Ch]: ditto
11793 * LaTeXFeatures.C: ditto
11795 * lyxlex_pimpl.C: ditto
11797 * paragraph.C (Last): remove when NEW_INSETS is defined.
11799 * other file: changes because of the above.
11801 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11803 * lyxparagraph.h: rename next to next_, previous to previous_,
11804 make them private for NEW_INSETS. Rename Next() to next(),
11805 Previous() to previous().
11807 * other files: changes because of the above.
11809 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11812 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11815 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11817 * main.C (main): pass lyx_localedir to gettext_init().
11819 * gettext.h: remove locale_init and gettext_init macros
11821 * gettext.C (locale_init): new function
11822 (gettext_init): new function
11824 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11827 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11829 * Moved credits to frontends:
11830 * credits.[Ch]: removed
11831 * credits_form.[Ch]: removed
11832 * lyx_gui_misc.C: remove credits stuff
11835 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11837 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11839 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11840 unneeded destructor.
11842 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11843 a standalone pointer again.
11845 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11847 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11853 * ToolbarDefaults.C:
11862 * BufferView_pimpl.C: use new file dialog in GUII
11865 * lyx_cb.C: remove LayoutsCB to Toolbar
11867 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11869 * ShareContainer.h (get): add std:: qualifier
11871 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11873 * ShareContainer.h: define a proper ShareContainer::value_type
11874 type (and use typename to please compaq cxx)
11876 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11878 * lyxparagraph.h: move serveral local vars to
11879 ParameterStruct/ParagraphParameters., use ShareContainer in
11880 FontTable., make vars in FontTable private and add getter and
11883 * paragraph.C: changes because of the above.
11885 * lyxfont.h: remove copy constructor and copy assignment. (the
11886 default ones is ok), move number inside FontBits. move inlines to
11889 * lyxfont.C: add number to initializaton of statics, move several
11890 inlines here. constify several local vars. some whitespace
11891 cleanup. Dont hide outerscope variables.
11893 * Spacing.h: add two new constructors to match the set methods.
11895 * ShareContainer.h: new file, will perhaps be moved to support
11897 * ParameterStruct.h: new file
11899 * ParagraphParameters.h: new file
11901 * ParagraphParameters.C: new file
11903 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11904 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11906 * BufferView_pimpl.C: ParagraphParameter changes.
11907 * buffer.C: Likewise.
11908 * bufferview_funcs.C: Likewise.
11909 * text.C: Likewise.
11910 * text2.C: Likewise.
11912 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11914 * lyxfind.C (LyXReplace): do not redefine default argument in
11916 (IsStringInText): ditto
11917 (SearchForward): ditto
11918 (SearchBackward): ditto
11920 2001-03-06 Juergen Vigna <jug@sad.it>
11922 * lyxfind.C (IsStringInText): put parentes around expressions.
11924 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11926 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11928 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11930 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11932 * stl_string_fwd.h: add comment
11934 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11937 * tabular.C: remove unused DocBook methods
11943 killed DO_USE_DEFAULT_LANGUAGE
11945 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11947 * lyx_gui.C: do not include language.h.
11949 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11950 arguments in function implementation.
11952 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11954 * BufferView_pimpl.C: add <ctime>
11956 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11958 * BufferView_pimpl.C: add using std::find_if
11960 2001-02-27 José Matos <jamatos@fep.up.pt>
11962 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11965 2001-02-11 José Matos <jamatos@fep.up.pt>
11967 * buffer.C (makeDocBookFile): command styles now have a parameter as
11968 "title" by default.
11970 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11972 * layout_forms.[Ch]: removed
11973 * lyx_cb.[Ch]: out character
11974 * lyx_gui.C: out character
11975 * lyx_gui_misc.C: out character
11976 * bufferview_funcs.C: : out character,
11977 added toggleall as parameter in ToggleAndShow
11979 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11981 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11983 * text2.C (SetCurrentFont): Disable number property at boundary.
11985 2001-02-26 Juergen Vigna <jug@sad.it>
11987 * lyxfunc.C (getStatus): added a string argument override function so
11988 that this is correctly called from LyXFunc::Dispatch if it contains a
11989 do_not_use_argument which is used!
11990 (Dispatch): added check for "custom" export and call appropriate func.
11992 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11994 * lyxrc.C: Add language_command_local, language_use_babel and
11995 language_global_options.
11997 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11999 * buffer.C (makeLaTeXFile): Use language_use_babel and
12000 language_global_options.
12002 2001-02-23 Juergen Vigna <jug@sad.it>
12004 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12005 which works with LyXText and putted it inside BufferView. Here now we
12006 only call for that part the BufferView::Dispatch() function.
12008 * BufferView.C (Dispatch): added.
12010 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12011 functions which needs to use a LyXText over from LyXFunc.
12012 (MenuInsertLyXFile): added
12013 (getInsetByCode): added
12014 (moveCursorUpdate): added
12015 (static TEXT): added
12017 2001-02-22 Juergen Vigna <jug@sad.it>
12019 * BufferView_pimpl.C (update): call a status update to see if LyXText
12022 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12024 * vc-backend.C (revert): implement for CVS
12025 (getLog): implement for CVS
12027 2001-02-20 Juergen Vigna <jug@sad.it>
12029 * text2.C (ClearSelection): added BufferView param for inset_owner call
12031 * lyxfunc.C (TEXT): added this function and use it instead of
12032 directly owner->view()-text of getLyXText().
12034 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12036 * src/layout_forms.C: out preamble
12037 * src/layout_forms.h: out preamble
12038 * src/lyx_cb.C: out preamble
12039 * src/lyx_cb.h: out preamble
12040 * src/lyx_gui.C: out preamble
12041 * src/lyx_gui_misc.C: out preamble
12042 * src/lyxfunc.C: connect with guii preamble
12044 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12046 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12048 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12050 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12051 whether to run bibtex.
12053 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12055 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12057 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12059 * Makefile.am (lyx_SOURCES): removed bibforms.h
12061 * vspace.h: doxygen
12063 * text.C (GetVisibleRow): make several local vars const
12065 * tabular.C: small cleanup.
12067 * lyxserver.C (callback): use compare instead of strncmp
12069 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12070 inlines to after class or to paragraph.C
12072 * lyxfont.h: remove friend operator!=
12074 * converter.h: move friend bool operator< to non friend and after
12077 * combox.h: small cleanup
12079 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12080 to inlines after class def.
12082 * buffer.C (pop_tag): use string operations instead of strcmp
12084 * bmtable.c: doxygen, small cleanup
12086 * LaTeX.h: remove friend operator==
12088 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12100 * BufferView_pimpl.C:
12101 * BufferView.[Ch]: remove cruft
12103 2001-02-14 Juergen Vigna <jug@sad.it>
12105 * lyxfunc.C: removed #if 0 unused code
12107 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12109 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12111 * text2.C (SetSelection): added a BufferView * parameter
12113 2001-02-13 Juergen Vigna <jug@sad.it>
12115 * lyxfunc.C (Dispatch): fixed protected blank problem.
12116 * BufferView2.C (protectedBlank): added LyxText * parameter.
12118 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12119 (AppendColumn): same as above for column_info.
12121 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12122 (moveCursorUpdate): use a LyXText param for support of InsetText.
12124 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12125 (tripleClick): ditto
12127 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12129 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12131 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12133 * text2.C (SetSelection): set correct update status if inset_owner
12134 (ToggleFree): ditto
12136 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12138 * tabular.C: remove some commented code.
12140 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12142 * BufferView_pimpl.C: call hideSplash()
12144 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12147 * bibforms.h: remove
12150 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12151 add LFUN_CHILD_CREATE
12153 * counters.h: fix tiny typo
12158 * lyx.C: move splash to frontends/xforms/
12160 * lyx_gui_misc.C: move Include and Bibform to frontends
12162 * lyxvc.h: clarify comment
12164 * vspace.C: tiny housekeeping
12166 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12168 * text.C (PrepareToPrint): RTL Fix.
12170 * paragraph.C (GetUChar): New method.
12171 (String): Use GetUChar.
12173 * buffer.C (asciiParagraph): Use GetUChar.
12175 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12177 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12179 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12182 * buffer.C: rename to getLogName(), handle
12183 build log / latex log nicely
12185 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12188 * MenuBackend.h: remove support for reference menuitem type.
12190 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12192 * BufferView_pimpl.C: housekeeping
12193 * BufferView_pimpl.h:
12198 * minibuffer.h: move Timeout GUI-I
12200 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12202 * lyxrc.C (read): Update converters data-structures.
12204 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12206 * LaTeX.h (operator!=): add operator != for Aux_Info
12208 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12210 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12212 * LaTeXLog.C: deleted, useful code moved to Buffer
12215 * buffer.C: new function getLatexLogName()
12221 * lyxfunc.C: use frontends for LaTeX and VC logs
12223 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * LaTeX.h: yet another std:: that Allan forgot.
12227 * Variables.C (set): renamed from isset(), because this clashes
12228 with some HP-UX macros (grr).
12230 2001-02-06 Allan Rae <rae@lyx.org>
12232 * LaTeX.h: Another bug fix. Missing std:: this time.
12234 2001-02-04 Allan Rae <rae@lyx.org>
12236 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12237 floats problem. I've left it commented out because it's not quite
12238 correct. It should also test that the current object is a table or
12239 figure inset. But I haven't gotten around to figuring out how to do
12240 that. I *think* it'll be something like: "table" == inset.type()
12242 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12245 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12247 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12248 all the citation/databases/styles in the auxilary file.
12249 (run): Rerun latex if there was a babel language error.
12251 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12253 * text.C (Backspace): Preserve the font when changing newline char
12255 (BreakParagraph): If the cursor is before a space, delete the space.
12257 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12259 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12261 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12262 new argument (code).
12263 (ChangeCitationsIfUnique): New method.
12265 * paragraph.C (GetPositionOfInset): Handle bibkey.
12267 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * BufferView_pimpl.h: change type of Position::par_pos to
12270 LyXParagraph::size_type.
12272 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12274 * BufferView_pimpl.C (savePosition, restorePosition): Write
12275 messages to minibuffer.
12277 2001-01-28 José Matos <jamatos@fep.up.pt>
12279 * buffer.C (makeDocBookFile): adds support for document language.
12280 A silly restriction on the name of LatexCommand types where removed.
12281 Added support for CDATA sections, allows to chars unescaped, used
12282 among others in code, to avoid escape < and >.
12284 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12286 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12287 saved positions instrad of a stack. Furthermore, a position is
12288 stored using paragraph id/paragraph position.
12290 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12291 Remove LFUN_REF_BACK.
12293 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12295 * converter.C (dvipdfm_options): New method.
12297 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12299 * vspace.C (isValidLength): Fix for empty input string.
12301 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12303 * LyXAction.C (init): change description of LFUN_FIGURE to
12306 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * LaTeX.C: add using directive
12310 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12312 * MenuBackend.C (expand): Fix the sorting of the formats.
12314 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12316 * lyx_main.C: tiny error message fix
12318 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12320 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12321 calling fl_initialize(). This fixes the problem with ',' as
12322 decimal separator in text files.
12324 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12326 * trans.C (process): Fix the keymap bug.
12328 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12330 * LaTeX.C (scanAuxFiles): New method. Provides support for
12331 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12332 (scanLogFile) Scan for "run BibTeX" messages.
12334 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12335 OT1 font encoding. Also, load the aecompl package if the ae
12338 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12340 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12342 * texrow.C (increasePos): turn two error messages into debug
12345 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12347 * LaTeX.C (scanAux): Handle the \@input macro.
12348 (runBibTeX): Use scanAux().
12350 * language.C (latex_options_): New field.
12352 * LaTeXFeatures.C (getMacros): Add language macros.
12354 * buffer.C (makeLaTeXFile): Small fix.
12356 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12358 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12360 * text2.C: add a using directive.
12362 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12367 * lyxfunc.C: kill LyXBell.
12369 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12371 * text.C (IsBoundary): Remove the error message
12373 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12375 * lyxrc.C (setDefaults): Correct initialization value for
12378 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12380 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12383 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12384 and GotoNextNote().
12386 * src/LyXAction.C: Added reference-next.
12388 * text.C (InsertChar): Use contains instead of strchr.
12390 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12392 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12394 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12395 alignment commands (when needed).
12397 * text.C (InsertChar): Add ':' to number separator chars.