1 2003-09-06 Angus Leeming <leeming@lyx.org>
6 * lyxfunc.h: forward declare LyXKeySym rather than
7 #include "frontends/LyXKeySym.h".
12 * lyxfunc.C: associated changes.
14 2003-09-06 Angus Leeming <leeming@lyx.org>
16 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
17 As a result, can remove the #include "insets/inset.h" from BufferView.h
19 2003-09-06 Angus Leeming <leeming@lyx.org>
21 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
22 As a result, can remove the #include "insets/inset.h" from BufferView.h
24 2003-09-06 Angus Leeming <leeming@lyx.org>
36 * ParagraphParameters.C:
41 * frontends/controllers/ControlDocument.C:
42 * insets/insetcaption.C: rearrange the #includes into some sort of
45 * buffer.h: remove #includes ErrorList.h, undo.h
47 2003-09-06 Angus Leeming <leeming@lyx.org>
49 * support/types.h: add a 'depth_type' typedef, used to store the
50 nesting depth of a paragraph.
53 * ParameterStruct.h: use this lyx::depth_type typedef rather than
58 * ParagraphParameters.h:
59 * sgml.h: use lyx::depth_type rather than Paragraph or
60 ParameterStruct's depth_type.
63 * paragraph_funcs.h: no need to #include paragraph.h anymore.
68 * ParagraphParameters.C:
78 * frontends/LyXView.C:
79 * frontends/controllers/ControlDocument.C:
80 * frontends/controllers/ControlErrorList.C:
81 * insets/insetbibitem.C:
82 * insets/insetbranch.C:
83 * insets/insetcaption.C:
84 * insets/insetcollapsable.C:
87 * insets/insetfloat.C:
89 * insets/insetfootlike.C:
90 * insets/insetnewline.C:
91 * insets/insetquotes.C:
92 * insets/insettabular.C:
94 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
96 * frontends/controllers/ControlChanges.C: #include "changes.h".
98 2003-09-06 Angus Leeming <leeming@lyx.org>
100 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
101 #including paragraph.h.
104 * RowList.h: deleted. Superfluous.
114 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
116 * paragraph.h: don't forward declare ParagraphList.
119 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
120 rather than ParagraphList.h. paragraph.h is still needed for the
121 Paragraph::depth_type parameters.
123 * textcursor.h: enable it to compile stand-alone in light of the
126 * bufferview_funcs.C:
138 * frontends/controllers/ControlParagraph.C:
139 * frontends/controllers/ControlTabular.C:
140 * insets/insetmarginal.C:
141 * insets/insetminipage.C:
142 * insets/insetnote.C:
143 * insets/insetoptarg.C: add header files needed to compile again.
145 2003-09-06 Angus Leeming <leeming@lyx.org>
147 * RowList_fwd.h: new file, forward-declaring Row rather than
153 * insets/insettext.h: use it instead of RowList.h
155 * bufferview_funcs.C:
162 * text3.C: #include "RowList.h".
164 2003-09-05 Angus Leeming <leeming@lyx.org>
166 * factory.C (createInset):
167 * vspace.C (c-tor): replace sscanf call with an istringstream.
168 * ispell.C: re-add missing HP/UX headers.
169 * lyxserver.C: re-add missing os2 headers.
171 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
180 * text3.C: re-add missing system headers, needed for 2.95.2.
182 2003-09-05 Angus Leeming <leeming@lyx.org>
184 Changes most place everywhere due to the removal of using directives
185 from support/std_sstream.h.
187 2003-09-05 Angus Leeming <leeming@lyx.org>
189 Replace LString.h with support/std_string.h,
190 Lsstream.h with support/std_sstream.h,
191 support/LIstream.h with support/std_istream.h,
192 support/LOstream.h with support/std_ostream.h.
194 Changes resulting throughout the tree.
196 2003-09-05 Angus Leeming <leeming@lyx.org>
198 * sgml.h: ensure that the header file can be compiled stand-alone.
199 * *.C: strip out redundant #includes. (320 in total.)
201 2003-09-04 Angus Leeming <leeming@lyx.org>
203 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
204 here (from getPackages).
206 * debug.[Ch]: add a new EXTERNAL tag.
208 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
210 * text2.C (cursorEnd): simplify
212 (getColumnNearX): adjust
214 * text.C (computeBidiTables): adjust
217 * rowpainter.C (paintChars): adjust
218 (paintSelection): adjust
219 (paintChangeBar): adjust
222 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
224 (numberOfSeparators): adjust
226 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
232 * text3.C: Restricts the mouse click functionality
233 of insets like bibtex, include, toc and floatlist to the visible
234 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
235 up the dialogs. Cursor has to be in front of the inset (i.e.
236 start of row) for this to function.
238 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
240 * bufferview_funcs.C (currentState): output row information
242 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
244 * bufferview_funcs.C (currentState): output paragraph position
246 2003-09-04 Angus Leeming <leeming@lyx.org>
248 * FloatList.h: move out #include "Floating.h".
249 * LaTeX.h: move out #include "DepTable.h".
250 * LyXAction.h: move out #include "funcrequest.h".
251 * buffer.h: move out #include "author.h", "iterators.h".
252 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
253 * lyx_main.h: move out #include "errorlist.h".
254 * lyxfunc.h: move out #include "FuncStatus.h".
255 * lyxtext: move out #include "lyxcursor.h".
256 * paragraph_pimpl.h: move out #include "counters.h".
258 2003-09-03 Angus Leeming <leeming@lyx.org>
260 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
261 preamble_snippets list, enabling us to add snippets to the preamble only
262 if the snippet was not there already.
264 2003-09-04 Angus Leeming <leeming@lyx.org>
266 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
268 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
270 * lyxfunc.C (dispatch): if fitCursor did something be sure to
273 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
275 * BranchList.C: point fix, earlier forgotten
277 2003-09-02 Angus Leeming <leeming@lyx.org>
279 * box.C (contains): renamed from 'contained' after a fantastic
282 2003-09-02 John Levon <levon@movementarian.org>
288 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
290 2003-09-02 John Levon <levon@movementarian.org>
292 * text2.C: simplification of cursorEnd(), including partial
295 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
297 * buffer.C (readFile): add a space
299 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
301 * BufferView_pimpl.C (update): remove bogus fitCursor() call
303 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * buffer.C (readFile): new function, take a filename and a
306 ParagraphList::iterator
308 (readFile): adjust, make it private. don't use setStream, make
309 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
310 always contain the filename.
312 * BufferView.C (insertLyXFile): simplify and make it work for
315 2003-08-30 John Levon <levon@movementarian.org>
317 * Makefile.am: fix dist (from Kayvan)
319 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
321 * most files: change to use const Buffer refs
323 2003-08-27 André Pönitz <poenitz@gmx.net>
325 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
326 on top of ownerPar().
328 2003-08-27 John Levon <levon@movementarian.org>
330 * funcrequest.C: properly initialise POD members
332 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
334 * lyxtext.h (top_y): move top_y from here
339 * BufferView_pimpl.[Ch]: to here
340 * frontends/screen.C:
341 * insets/insettabular.C:
342 * insets/insettext.C: adjust
343 * rowpainter.[Ch] (paintRows): remove LyXText & argument
345 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
348 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
350 2003-08-26 André Pönitz <poenitz@gmx.net>
352 * paragraph_func.[Ch] (outerPar): new function
358 * text2.C: remove Inset::par_owner
360 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
365 * text2.C: eliminates the needFullRow/display() stuff
366 altogether, putting the logic in metrics/draw in the insets.
368 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
370 * text2.C (redoParagraphInternal, redoParagraphs):
371 * text.C (redoParagraph): add a call to updateRowPositions at the
372 end of each 'metrics-like' call. Remove all others.
373 (getRow): remove the 'y-computing' version.
374 (getRowNearY): do not compute nor return the real y. Solve the
375 'y < 0' problem and simplify.
377 2003-08-22 Angus Leeming <leeming@lyx.org>
379 * *.[Ch]: clean-up of licence and author blurbs.
380 Also move config.h out of a few .h files and into a few .C files.
382 2003-08-22 André Pönitz <poenitz@gmx.net>
384 * lyxrow.[Ch]: add x_ and *fill_ members
389 * text2.C: adjust/remove prepareToPrint() calls
391 2003-08-22 André Pönitz <poenitz@gmx.net>
393 * lyxrow.[Ch]: add end_ member
395 * lyxrow_funcs.C: use LyXRow::end_
397 * lyxtext.h (singleWidth): add LyXFont parameter
400 * text2.C: adjust LyXText::singleWidth() calls
402 * text.C (redoParagraph): simplify row breaking logic
405 2003-08-19 André Pönitz <poenitz@gmx.net>
407 * funcrequest.C: initialize button_ member
410 * rowpainter.[Ch]: interface consolidation
412 2003-08-18 André Pönitz <poenitz@gmx.net>
415 * BufferView_pimpl.C:
419 * text3.C: remove LyXScreen::draw() and fitCursor calls
421 * BranchList.h: remove spurious semicolons
423 * MenuBackend.C: fix branchlist related crash
425 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
437 * text3.C: implements the 'branch inset'
438 idea. This allows the output of various versions of a document
439 from a single source version, selectively outputing or suppressing
440 output of parts of the text.
441 This implementation contains a 'branch list editor' in a separate
442 tab of the document settings dialog. Branches are user definable
443 and have a "display colour" to distinguish them on-screen.
445 ColorHandler was somewhat cleaned up.
446 (1) make possible a dynamically growing LColor list by allowing
447 the graphic context cache to grow along (vector);
448 (2) eliminate an IMHO unnecessary step in colour allocation.
450 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
452 * BufferView_pimpl.C: compile fix
454 2003-08-15 André Pönitz <poenitz@gmx.net>
456 * rowpainter.C: remove extra metrics calls
458 * lyxtext.h: merge the two constructors into a single one,
459 pass reference to owner's par list
461 * BufferView_pimpl.C:
465 2003-08-15 André Pönitz <poenitz@gmx.net>
475 * text_funcs.C: split LyXText::rowlist_ into individual
476 Paragraph::rows_ chunks
479 * BufferView_pimpl.[Ch]:
482 * text3.C: remove toggleSelection()
484 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
486 * bufferlist.C: beautify two alerts (shorter text of buttons)
487 * buffer.C: Remove redundant ' ' from message
489 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
490 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
491 rename VALIGN_CENTER to VALIGN_MIDDLE
493 2003-08-11 André Pönitz <poenitz@gmx.net>
495 * lyxtext.h (getPar):
496 * text.C: new function
498 2003-08-11 André Pönitz <poenitz@gmx.net>
501 * tracer.[Ch]: remove unneeded files
503 * InsetList.[Ch]: remove resizeInsetsLyXText()
508 * text3.C: merge insertParagraphs() and appendParagraph()
509 remove breakAgain(), update()
511 * BufferView_pimpl.[Ch]:
512 * bufferview_funcs.[Ch]:
516 * tabular.C: adjust after text & InsetList changes.
518 2003-08-08 André Pönitz <poenitz@gmx.net>
520 * text.C (insertChar, backspace): replace rowlist fiddling
521 with rebreak of full par
524 * text.C (breakAgainOneRow, redoHeightOfParagraph,
525 checkParagraph, updateInset): removed
527 2003-08-07 André Pönitz <poenitz@gmx.net>
530 * text3.C: merge some LFUN handlers, remove dead code
532 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
536 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
538 * text2.C (DEPM): fix part of bug 1255 and 1256
540 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * BufferView_pimpl.C (workAreaDispatch): change to use
543 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
544 that are no mouse related.
546 2003-08-05 André Pönitz <poenitz@gmx.net>
549 * BufferView_pimpl.[Ch]:
550 * bufferview_funcs.C:
552 * text3.C: rip out "deep update"
554 * textcursor.[Ch] (last_sel_cursor): remove unused member
556 2003-08-04 André Pönitz <poenitz@gmx.net>
559 * BufferView_pimpl.[Ch]:
560 * ParagraphParameters.C:
561 * bufferview_funcs.C:
567 * text3.C: replace "complicated" BufferView::update(...) calls with
570 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
572 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
574 * Makefile.am (lyx_SOURCES): add paper.h
576 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
578 * Makefile.am: move things around so that both lyx-qt and
579 lyx-xforms can be built (according to --with-frontend). Then lyx
580 is a symbolic link to lyx-[firstfrontend]
582 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
584 * Always use std::endl with lyxerr
586 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
588 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
590 2003-08-01 André Pönitz <poenitz@gmx.net>
593 * BufferView_pimpl.[Ch]:
595 * text3.C: merge BufferView::repaint() and BufferView::update()
597 2003-08-01 José Matos <jamatos@lyx.org>
599 * buffer.[Ch]: file_format is no longer a buffer data element.
601 2003-08-01 André Pönitz <poenitz@gmx.net>
606 * text2.C: make redoParagraph more independent of current cursor
608 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
610 * text2.C: remove unneeded members
612 2003-07-30 André Pönitz <poenitz@gmx.net>
614 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
616 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
617 create a single function...
619 * paragraph_funcs.C (moveItem): ... here.
622 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
624 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
626 * LColor.[Ch]: Add comment and greyedout logical colors.
628 2003-07-30 André Pönitz <poenitz@gmx.net>
630 * tabular.C: don't use Assert too heavily. This crashes where it
633 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
635 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
636 is disabled (bug 1232)
638 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
640 * factory.C: limited 'arg' scope
642 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
644 * factory.C: fixed Note submenu issues
646 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
648 * factory.C: submenu for Note/Comment/Greyedout
650 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
653 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
655 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
658 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
659 greyedout. Patch provided by Jürgen Spitzmüller.
661 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * kbmap.C (read): fix error message when reading bind files
665 2003-07-29 Angus Leeming <leeming@lyx.org>
667 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
668 certainly does not do what it purports to do. I am doing it, and
669 us, a favour by killing it.
671 2003-07-28 José Matos <jamatos@lyx.org>
673 * buffer.C (readBody, do_writeFile):
674 * paragraph.C(readParagraph): \end_document replaces \the_end.
676 2003-07-29 André Pönitz <poenitz@gmx.net>
679 * BufferView_pimpl.[Ch]:
683 * textcursor.[Ch]: remove toggleToggle & Co
685 2003-07-28 José Matos <jamatos@fep.up.pt>
687 * buffer.C (readParagraph):
688 * params_func (readParToken, readParagraph):
689 * paragraph.C (write): \layout -> \begin_layout.
691 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * lyxlex_pimpl.C (setFile): clean up slightly.
695 * bufferparams.h: add compressed var
697 * buffer_funcs.C (readFile): adjust for LyXLex change
698 (newFile): ditto + simplify
700 * buffer.C (writeFile): handle writing of compressed files
702 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
703 Check if the file is compressed and set a bufferparm if so.
705 * Makefile.am (lyx_LDADD): remove explicit -lz
707 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
710 makeDocBookFile): put the real LyX version in the first line of
714 * version.C.in: remove lyx_docversion
716 * tabular.C (write_attribute): add a template-based version to
719 2003-07-28 André Pönitz <poenitz@gmx.net>
724 * text3.C: use doubles again for x-coordinates. They are needed.
726 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * messages.C (getLocaleDir): use lyx_localedir()
730 * lyxlex_pimpl.C (setFile): compress stuff
732 * buffer.C (writeFile): add some compression stuff
733 (do_writeFile): new func, dont call expliti close... will this
736 * Makefile.am (lyx_LDADD): add -lz
738 2003-07-28 José Matos <jamatos@fep.up.pt>
740 * buffer.C: increment file format.
741 * paragraph_funcs (readParagraph, readParToken):
742 * paragraph.C (readParagraph): add \end_layout.
744 2003-07-27 Angus Leeming <leeming@lyx.org>
746 * Makefile.am: remove special casing for configure-time setting of
747 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
749 * lyx_main.C (init): remove all Jean-Marc's magic setting of
750 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
752 2003-07-26 André Pönitz <poenitz@gmx.net>
754 * paragraph_func.[Ch]:
755 * paragraph.C (realizeFont): inline it whereever it is used
760 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
763 2003-07-26 André Pönitz <poenitz@gmx.net>
767 * text2.C: get rid of LyXText::need_break_row
769 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
771 * toc.[Ch]: put namespace toc inside namespace lyx
773 * MenuBackend.C (expandToc2): adjust for lyx::toc
776 * lyxfunc.C (dispatch): adjust for lyx::find
778 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
779 lyx::find instead. Reorganize a bit.
780 (LyXReplace): rename to replace
781 (LyXFind): rename to find
783 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
786 2003-07-26 André Pönitz <poenitz@gmx.net>
788 * text.C (setHeightOfRow): restrict scope of temporary variable
790 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
791 code (never has been used?)
793 2003-07-27 Asger Alstrup <alstrup@local>
795 * text.C (fill): Optimise algorithm to exploit that we can reuse
796 the LyXFont for many characters.
797 (setHeightOfRow): Same thing.
798 (rowBreakPoint): Same thing.
800 2003-07-26 Asger Alstrup <alstrup@local>
802 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
804 * text.C (singleWidth): Spurious font copying in hot-spot
805 singleWidth avoided. Reorder tests for arabic for efficiency.
807 * text.C (fill): handle empty paragraphs better.
809 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
812 * encoding.h: add includes
814 * lyxrc.C: remove reading of bind files
816 * lyx_main.C (init): setup bindings and menus only if we have a
819 * kbmap.C (read): new method. Do the actual reading of bind
822 * converter.C (dvipdfm_options):
825 (output): adapt PAPER_* enums.
827 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
829 * bufferparams.h: remove paper-related enums from there
831 * paper.h: New file. A trivial header file to hold paper-related
832 enums. It should later expand to contain many paper-related
835 * lyxrc.C: declare extern displayTranslator
837 2003-07-27 José Matos <jamatos@fep.up.pt>
839 * tabular.[Ch] (linuxdoc): add support for tables and figures
842 2003-07-27 José Matos <jamatos@fep.up.pt>
844 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
845 consistency in both functions.
846 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
848 2003-07-26 Asger Alstrup <alstrup@local>
850 * rowpainter.C (paintRows): Change algorithm to work directly on
851 the insets rather than asking every character in the document
852 whether its an inset.
854 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
856 * buffer.C (openFileWrite): factorize some code
858 2003-07-26 Angus Leeming <leeming@lyx.org>
861 * lyx_main.[Ch]: replace occurances of system_tempdir with
864 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * rename Inset to InsetOld
868 2003-07-25 Asger Alstrup <alstrup@diku.dk>
870 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
871 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
872 which I think is a bit clearer. EDIT is gone, since it was
873 premature optimisation, and broken for mathed anyway.
874 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
875 with cursor positioning in insets as well (math insets still do not
876 work, but that's a different story anyway.) It mysteriously
877 crashes sometimes with undo in the first paragraph, but I'm fairly
878 confident that this is a compiler bug.
880 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * paragraph.C (Paragraph): adjust for new clone return type
884 (copyIntoMinibuffer): ditto
886 2003-07-25 Asger Alstrup <alstrup@lyx.org>
888 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
889 by not having a special case, and always doing a full rebreak of
890 the document after undo.
892 2003-07-23 Angus Leeming <leeming@lyx.org>
894 * factory.C (createInset): InsetExternal::setParams now takes a
897 2003-07-23 Angus Leeming <leeming@lyx.org>
899 * factory.C (createInset): changed interface to the external and
900 graphics mailers' string2params functions.
902 2003-07-23 Angus Leeming <leeming@lyx.org>
904 * factory.C (createInset): pass a
905 Buffer const * parameter to InsetExternalMailer's string2params.
907 2003-07-22 John Levon <levon@movementarian.org>
909 * Thesaurus.h: include the right aiksaurus header
911 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
913 * MenuBackend.C (expand): check menu shortcuts unconditionally
915 2003-07-21 Angus Leeming <leeming@lyx.org>
917 * factory.C (createInset): pass a
918 buffer_path parameter to InsetGraphicsMailer's string2params.
920 2003-07-21 Angus Leeming <leeming@lyx.org>
922 * BufferView_pimpl.C (buffer):
925 * lyxfunc.C (dispatch):
926 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
927 rather than the grfx shortcut.
929 2003-07-21 André Pönitz <poenitz@gmx.net>
931 * rowpainter.C: remove unused variables
934 * tabular_funcs.h: move to tabular.C
935 * Makefile.am: adjust
937 * tabular.[Ch]: basic optical cleaning
939 * author.h: pass references, not values
941 2003-07-18 André Pönitz <poenitz@gmx.net>
949 * text3.C: two-phase drawing for InsetText and InsetTabular
950 some float -> int changes.
952 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
954 * lyx_main.C: fix the fix
956 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
958 * lyx_main.C: fix a crash in batch mode if no files specified
961 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
963 * format.[Ch] (papersize): moved to BufferParams
964 * converter.[Ch] (dvips_options): moved to BufferParams
965 (dvipdfm_options): moved to anon namespace
966 * bufferparams.[Ch]: added above functions.
968 2003-07-17 André Pönitz <poenitz@gmx.net>
972 * text2.C: don't call inset->update() anymore
974 * metricsinfo.[Ch]: add convenience constructor
976 2003-07-16 André Pönitz <poenitz@gmx.net>
981 * text2.C: replace the LyXCursor::irow_ member with
982 on-demand computation of the value
984 2003-07-16 John Levon <levon@movementarian.org>
986 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
988 2003-07-15 André Pönitz <poenitz@gmx.net>
991 * text2.C: remove no more needed refresh_row
993 2003-07-15 André Pönitz <poenitz@gmx.net>
998 * text3.C: refresh_status tristate -> need_update bool
1000 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1002 * lyxtext.h (init): remove reinit argument (act as if always true)
1003 * text2.C: adjust to that
1005 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1007 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1008 * text3.C: use it to delete selections in some cases
1009 (bugs 441, 673, 702, 954).
1011 2003-07-14 André Pönitz <poenitz@gmx.net>
1013 * rowpainter.[Ch]: reduce interface
1015 2003-07-14 André Pönitz <poenitz@gmx.net>
1017 * BufferView_pimpl.C:
1018 * text2.C: adjust after removing unused BufferView * argument
1020 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1022 * text2.C (init): fix a crash fired on resize
1024 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1026 * buffer.[Ch]: added new closing signal
1027 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1028 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1029 BufferView::Pimpl via the closing the signal
1031 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1033 * buffer.[Ch]: take out all bv-related from buffer
1035 * BufferView_pimpl.[Ch]: connect to new signals
1036 * CutAndPaste.C: removed useless asserts
1037 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1040 * lyxfunc.C: moved view-related funciontality from vc here
1041 * paragraph.C: removed outdated comments
1044 2003-07-10 André Pönitz <poenitz@gmx.net>
1046 * BufferView_pimpl.C:
1050 * text2.C: remove InsetText::InnerCache, clean up consequences
1052 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1054 * ispell.C: fix two typos in error messages
1056 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1058 * Extend Note inset to other forms of annotation like Comment
1059 and Greyedout. Right button click gives dialog.
1061 Files modified or added (+):
1065 * ControlNote.[Ch] +
1067 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1068 frontends/controllers
1072 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1074 * aspell.C: add missing namespace lyx::support
1076 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1078 * BufferView.[Ch] (newFile): Add
1079 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1080 * LaTeX.[Ch] (message): added this signal and use it
1081 * buffer.[Ch] (busy, message): added these signals and use them
1082 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1086 * importer.C: use buffer signals instead of direct bv calling
1087 * lyx_cb.[Ch] (ShowMessage): removed
1090 * paragraph_funcs.C:
1091 * text2.C: use buffer signals
1093 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * introduce namespace lyx::graphics
1097 2003-07-02 André Pönitz <poenitz@gmx.net>
1099 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1101 2003-07-01 André Pönitz <poenitz@gmx.net>
1108 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1109 text*.C to text_func.C
1111 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * introduce namespace lyx::support
1115 2003-06-30 André Pönitz <poenitz@gmx.net>
1120 * text.C: re-enable --with-included-string
1122 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * textcursor.C: add <config.h>
1126 * text.C (getWord): remove const from word_location arg
1128 * lyxvc.C (getLogFile): fix const type order
1130 * lyxtext.h: remove const from word_location arg, add arg name
1132 * lyxlayout.h: currect type on labeltype.
1134 * importer.C: correct \file
1136 * converter.C (intToFormat): use std:: on ret val, ws changes
1138 * bufferlist.h: correct \file
1140 * buffer.C (makeLinuxDocFile): fix const type order
1141 (makeDocBookFile): ditto
1142 (fillWithBibKeys): use std:: on stdlib args.
1144 * CutAndPaste.C: fix authors.
1145 (availableSelections): use std:: on return vector
1147 2003-06-27 André Pönitz <poenitz@gmx.net>
1149 * BufferView_pimpl.C:
1150 * bufferview_funcs.C:
1158 * text3.C: remove LyXCursor::row_ member
1161 * text.C: rename fullRebreak() to partialRebreak() and implement
1162 a fullRebreak() that really bereks fully
1164 * textcursor.h: new struct for cursor-related data
1166 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1168 * lyx_main.C (LyX): get full path of document loaded on the
1171 2003-06-26 André Pönitz <poenitz@gmx.net>
1173 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1174 remove unused/broken operator>,<,>=.
1176 * text.C: remove only use of broken operator<= in an Assert().
1178 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1180 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1181 moved errorlist_.clear to showErrorList
1183 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1185 * converter.C (scanLog, runLaTeX):
1186 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1187 move the bv->showErrorList call to the callers
1188 * lyxfunc.C: i.e. here...
1190 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1191 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1192 namespace, the second to...
1193 * buffer_funcs (BufferFormat, parseErrors): added
1194 * errorlist.C (ErrorList(TeXErrors const &)): removed
1196 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1198 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1200 2003-06-24 "Garst R. Reese" <reese@isn.net>
1204 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1206 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1208 * version.C.in: change docversion to 1.4
1210 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1212 * buffer.C: fix a bug just introduced
1214 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1216 * buffer.[Ch]: added the parseError signal and use it, removed
1218 * BufferView.[Ch] (addError): moved to ...
1219 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1220 to the Buffer::parseError signal to catch (guess what) parse errors
1221 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1223 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1225 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1226 ability to create a buffer and to return an existing one from
1227 the list. Moved these functions to...
1228 * buffer_funcs.[Ch]: added
1229 * BufferView.[Ch] (loadLyXFile): added
1230 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1231 job removed from bufferlist::loadLyXFile.
1232 * buffer.C (setReadOnly): make it work without view
1233 (i.e added an if (users))
1235 2003-06-19 Angus Leeming <leeming@lyx.org>
1238 * LyXAction.C (init):
1239 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1240 with LFUN_DIALOG_SHOW <name> <data>.
1242 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * CutAndPaste.C (availableSelections): small compilation fix for
1245 ancient (gcc 2.9x) compilers
1247 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * text3.C (cursorNext): add tmp var
1251 * text2.C (updateCounters): for function calling out of for clause
1252 (replaceSelectionWithString): ditto
1253 (insertStringAsParagraphs): ditto
1254 (getColumnNearX): add tmp var
1255 (setCursorFromCoordinates): add tmp var
1256 (cursorDownParagraph): add tmp var
1257 (deleteEmptyParagraphMechanism): add tmp var
1259 * text.C (insertChar): add tmp var
1261 * rowpainter.C (paintDepthBar): add tmp var
1263 * CutAndPaste.C (availableSelections): potentially check all
1264 paragraphs in a cut to fill the shown strings.
1266 2003-06-18 André Pönitz <poenitz@gmx.net>
1268 * kbmap.[Ch]: use vector<> instead of list<>
1270 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1272 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1273 pasteSelection with index
1275 * text2.C (pasteSelection): modify, call pasteSelection with index
1277 * paragraph.C (asString): reimplement version with no interval to
1278 call the one with interval.
1280 * lyxtext.h: add index arg to pasteSelection
1282 * MenuBackend.C (MenuItem): handle PasteRecent
1283 (Menu::read::Menutags): add md_pasterecent
1285 (expandPasteRecent): new function
1288 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1290 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1292 (availableSelections): new function
1294 2003-06-17 Angus Leeming <leeming@lyx.org>
1296 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1298 2003-06-17 Angus Leeming <leeming@lyx.org>
1301 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1303 * lyxfunc.C (dispatch): invoke it.
1305 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1307 * iterators.C (operator++, ParPosition): reintroduce some
1308 const_cast for the benefit of older compilers.
1310 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1312 * text3.C (dispatch): do not modify clipboard when doing
1313 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1314 LFUN_DELETE_SKIP on a selection selection
1316 2003-06-16 André Pönitz <poenitz@gmx.net>
1322 * tabular.[Ch]: IU of clone() and getLabelList();
1324 2003-06-13 André Pönitz <poenitz@gmx.net>
1326 * tabular.h: compactification
1328 2003-06-12 André Pönitz <poenitz@gmx.net>
1332 * tabular_funcs.h: some renaming plus whitespace
1334 2003-06-12 André Pönitz <poenitz@gmx.net>
1337 * BufferView_pimpl.C:
1343 * toc.C: Return a Paragraph & for ParIterator::operator*()
1345 2003-06-11 John Levon <levon@movementarian.org>
1349 * ToolbarBackend.C: add "Toolbars" section and
1352 2003-06-10 Angus Leeming <leeming@lyx.org>
1355 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1357 * lyxfunc.C (dispatch): invoke it.
1359 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1361 * main.C: protect <ios> with HAVE_IOS
1362 (main): protect sync_with_stdio with HAVE_IOS
1364 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1366 * text2.C (cutSelection): adjust
1367 (pasteSelection): adjust
1369 * messages.C: handle get of empty string
1371 * main.C (main): use sync_with_stdio(false)
1373 * lyxfunc.C (dispatch): adjust
1375 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1376 (WriteAs): remove unneeded BufferView arg.
1378 * bufferparams.h: use correct types on papersize, papersize2 and
1381 * bufferparams.C (readToken): adjust for type
1382 (writeLaTeX): add missing cases to switch.
1384 * bufferlist.C (quitWriteBuffer): adjust
1387 * buffer.C (asciiParagraph): remove some commented code.
1389 * CutAndPaste.C: remove current_view extern variable.
1390 (cutSelection): add BufferParams arg.
1391 (eraseSelection): add BufferParams arg.
1392 (pasteSelection): add Buffer const & arg
1394 2003-06-07 John Levon <levon@movementarian.org>
1397 * paragraph_funcs.C:
1398 * paragraph_pimpl.C:
1402 * paragraph.C: allow InsetERT to freely space lines,
1403 and some consolidation of code
1405 2003-06-06 José Matos <jamatos@fep.up.pt>
1407 * buffer.C (makeDocBookFile): fix bug #821
1409 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1411 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1413 2003-06-04 Angus Leeming <leeming@lyx.org>
1415 * buffer.C: bump format to 224.
1417 2003-06-05 André Pönitz <poenitz@gmx.net>
1419 * text2.C (redoParagraphs): remove two const_cast<>
1421 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1423 * ParagraphList.h: remove last remnants of NO_STD_LIST
1425 2003-06-03 Angus Leeming <leeming@lyx.org>
1427 * factory.C (createInset): small change to the way InsetExternal's params
1430 2003-06-04 André Pönitz <poenitz@gmx.net>
1432 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1434 * paragraph_pimpl.h:
1435 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1437 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1439 * undo_funcs.C: make some simple cases of undo work again
1441 2003-06-03 John Levon <levon@movementarian.org>
1443 * ispell.C: HPUX doesn't have sys/select.h
1446 2003-06-03 John Levon <levon@movementarian.org>
1448 * CutAndPaste.C: update tabular and include inset
1453 * paragraph.C: remove owningBuffer(), don't pass Buffer
1456 * factory.C: insetGraphicsParams changed
1458 2003-06-02 John Levon <levon@movementarian.org>
1464 * text3.C: remove insetparent
1466 2003-06-02 John Levon <levon@movementarian.org>
1469 * buffer.C: fix inset_iterator.end(), move out of line
1472 2003-06-01 John Levon <levon@movementarian.org>
1474 * text3.C: use a proper cut/paste when doing inset
1475 insert (from Jürgen Spitzmüller)
1477 2003-06-01 John Levon <levon@movementarian.org>
1479 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1481 2003-05-30 André Pönitz <poenitz@gmx.net>
1483 * rowpainter.C: unify second drawing phase
1485 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * trans_mgr.C: remove one case of current_view
1489 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1491 * paragraph_funcs.h: remove paragraph.h include
1493 * paragraph.h: delete NO_STD_LIST stuff
1495 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1497 * buffer.h: remove paragraph.h include
1499 * ParagraphList.C: delete file
1501 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1503 * toc.C (getTocList): adjust
1505 * paragraph_pimpl.C (validate): adjust
1507 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1509 * paragraph.C (Paragraph): adjust
1510 (getPositionOfInset): use const_iterator, adjust
1511 (bibitem): use const_iterator, adjust
1512 (setInsetOwner): adjust
1514 * iterators.C (operator++): adjust
1516 * InsetList.[Ch]: Replace selfmade iterator with standard
1517 vector::iterator also introduce const_iterator. Remove getPos,
1518 getInset and setInset from InsetTable. Adjust accordingly.
1520 * BufferView.C (lockInset): adjust
1521 (ChangeInsets): adjust
1523 * tabular.[Ch]: delete commented same_id functions
1525 2003-05-28 John Levon <levon@movementarian.org>
1527 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1529 2003-05-28 André Pönitz <poenitz@gmx.net>
1531 * metricsinfo.[Ch]: remove 'fullredraw' member
1533 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1535 * lyxtextclass.C (operator): remove caching.
1537 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1541 * text2.C (cursorBottom): adjust
1542 (setCounter): use ParagraphList::find, adjust
1544 * text.C (workWidth): use ParagraphList::find, adjust
1546 * lyxcursor.C (LyXCursor): adjust
1548 * buffer.C (inset_iterator): adjust
1550 * ParagraphList.h: make iterator(value_type) private, make
1551 ParagraphList a friend of iterator.
1553 * ParagraphList.C (find): new function
1555 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1557 2003-05-27 André Pönitz <poenitz@gmx.net>
1559 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1561 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1563 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1565 2003-05-26 John Levon <levon@movementarian.org>
1567 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1569 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * remove same_id from function signatures, adjust.
1573 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1577 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1579 * paragraph.C (Paragraph): get rid of same_ids parameter
1581 * ParagraphList.C (insert): adjust
1584 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1586 * paragraph_funcs.C (breakParagraph): adjust
1587 (breakParagraphConservative): adjust
1589 * buffer.C (readParagraph): adjust
1591 * ParagraphList.C (insert): take a reference instead of a pointer
1594 * paragraph.[Ch] (id): new function
1596 * bufferlist.C (newFile): adjust
1598 * ParagraphList.C (ParagraphList): adjust
1600 (push_back): take a reference instead of a pointer.
1602 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1604 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1607 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1608 set else use old code.
1610 * ParagraphList.C: remove all NO_NEXT code and only compile this
1611 code of NO_STD_LIST is set.
1613 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1615 * BufferView_pimpl.C:
1625 * graphics/GraphicsConverter.C:
1626 * graphics/PreviewLoader.C: header adjustment
1628 2003-05-23 Angus Leeming <leeming@lyx.org>
1630 * LaTeXFeatures.[Ch] (useBabel): new method.
1631 * bufferparams.C (writeLaTeX): use it.
1633 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1635 * ParagraphList.h (set): remove unused function.
1637 2003-05-23 André Pönitz <poenitz@gmx.net>
1640 * BufferView_pimpl.C:
1644 * undo_funcs.C: setUndo reworked
1646 * iterators.[Ch]: add access to topmost ParagraphList
1648 * lyxtext.[Ch] (workWidth): add a const
1650 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1652 * texrow.[Ch] (increasePos): remove function
1653 * exporter.C (export): removed unused var and outdated comment
1655 2003-05-23 Angus Leeming <leeming@lyx.org>
1657 * latexrunparams.h: rename fragile as moving_arg.
1658 * paragraph.C (simpleTeXOnePar): ditto.
1659 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1661 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1663 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1665 (textUndoOrRedo): comment out a currently unused var.
1667 * paragraph.h (NO_NEXT): enable NO_NEXT
1669 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1671 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1673 * exporter.C (Export): adjust for removeAutoInsets removal.
1675 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1677 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1679 * BufferView.[Ch] (removeAutoInsets): delete function
1681 2003-05-22 Angus Leeming <leeming@lyx.org>
1683 * latexrunparams.h: add a free_spacing variable.
1685 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1686 to pass moving_arg, as the data is stored in runparams.fragile.
1688 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1689 to Inset::latexOptional or to simpleTeXOnePar.
1691 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1692 free_spacing arg to Inset::latexOptional.
1694 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1697 2003-05-22 Angus Leeming <leeming@lyx.org>
1699 * latexrunparams.h: add fragile and use_babel variables.
1701 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1702 * buffer.C (makeLaTeXFile): store this returned value in
1703 runparams.use_babel, thus passing it to the inset::latex methods.
1705 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1706 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1708 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1709 longer has a fragile arg, as it is stored in runparams.fragile.
1711 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1712 moving_arg parameter as the data is stored in runparams.fragile.
1714 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1715 a fragile parameter as the data is stored in runparams.fragile.
1717 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1721 2003-05-22 Angus Leeming <leeming@lyx.org>
1723 * latexrunparams.h: add a 'bool nice' which defaults to false.
1725 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1726 now encapsulated within runparams.
1728 * bufferlist.C (updateIncludedTeXfiles):
1729 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1731 2003-05-22 Angus Leeming <leeming@lyx.org>
1733 * latexrunparams.h: new file containing struct LatexRunParams.
1734 * Makefile.am: add new file.
1736 * LaTeX.[Ch] (c-tor, run):
1737 * buffer.[Ch] (makeLaTeXFile):
1738 * bufferlist.[Ch] (updateIncludedTeXfiles):
1739 * converter.C (convert, scanLog):
1740 * converter.[Ch] (runLaTeX):
1741 * exporter.C (Export):
1742 * paragraph.[Ch] (simpleTeXOnePar):
1743 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1744 * paragraph_funcs.[Ch] (latexParagraphs):
1745 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1746 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1747 pass around a LatexRunParams parameter.
1749 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * paragraph.[Ch]: remove unused constructor
1753 * ParagraphList.C (erase): new function, taking two iterators
1755 2003-05-22 André Pönitz <poenitz@gmx.net>
1757 * undo_funcs.C: remove duplicated code
1759 * iterator.[Ch]: operator=
1761 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1763 * tabular.C (SetMultiColumn): ws changes
1765 * rowpainter.C (paintFirst): get rid of a ->previous
1767 * lyx_cb.C (getPossibleLabel): parlist simplification
1769 * BufferView.C (ChangeInsets): simplify slightly.
1771 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1773 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1774 * lfuns.h: new LFUN_SPACE
1775 * lyxfunc.C: protected space has a new lfun
1776 * paragraph_funcs.C: read new space insets
1778 * factory.C: handle new space insets
1780 2003-05-22 André Pönitz <poenitz@gmx.net>
1783 * BufferView_pimpl.C:
1786 * undo_funcs.C: return a ParIterator from getParFromID.
1788 * iterators.[Ch]: add two const's
1790 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * toc.C (getTocList): adjust
1794 * iterators.[Ch]: rework for parlist
1796 * buffer.C (par_iterator_begin): adjust
1797 (par_iterator_end): adjust
1799 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1801 * BufferView.C (removeAutoInsets): adjust
1802 (ChangeInsets): adjust
1804 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1806 * text.C (top_y): fix bug 1110
1808 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1810 * errorlist.[Ch]: added
1813 * BufferView_pimpl.C:
1814 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1817 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * Makefile.am: ensure that lyx is relinked upon changes to the
1820 various "convenience" libs.
1822 2003-05-20 Angus Leeming <leeming@lyx.org>
1824 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1825 files are compiled in alphabetical order again.
1827 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1829 2003-05-19 Angus Leeming <leeming@lyx.org>
1831 * gettext.[Ch]: remove "char const * _(char const *)".
1833 2003-05-19 André Pönitz <poenitz@gmx.net>
1835 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1844 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1846 2003-05-19 André Pönitz <poenitz@gmx.net>
1850 * lyxtextclass.[Ch]:
1852 * paragraph_funcs.[Ch]:
1854 * text3.C: more insetenv work
1856 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1858 * ParagraphParameters.C (params2string): small bug fixed
1860 2003-05-16 André Pönitz <poenitz@gmx.net>
1863 * bufferview_funcs.C: patch from Kornel Benko to prevent
1864 crash when _(...) is called twice in a statement
1866 2003-05-16 André Pönitz <poenitz@gmx.net>
1873 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1875 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1877 * lyx_main.C (init): remove spurious static_cast
1879 2003-05-14 André Pönitz <poenitz@gmx.net>
1881 * BufferView.C: fix format string
1883 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1885 * BufferView.[Ch] (insertErrors): removed
1886 * BufferView.[Ch] (showErrorList): added
1887 * buffer.C (runChkTeX):
1888 * converter.C (scanLog): call showErrorList instead of inserterrors
1890 2003-05-13 André Pönitz <poenitz@gmx.net>
1892 * BufferView_pimpl.C:
1894 * bufferview_func.C:
1901 * tabular_funcs.h: tostr() from its own header
1903 * ParagraphParameters.C:
1908 * text3.C: STRCONV()
1910 2003-05-12 André Pönitz <poenitz@gmx.net>
1913 * BufferView_pimpl.C:
1917 * ParagraphParameters.C:
1921 * bufferview_funcs.C:
1934 * paragraph_funcs.C:
1938 * text3.C: boost::format -> bformat all over the place
1941 2003-05-09 André Pönitz <poenitz@gmx.net>
1943 * LColor.[Ch]: Pimpl the #include <map> away
1945 2003-05-09 John Levon <levon@movementarian.org>
1947 * bufferlist.C: never remove emergency saves
1949 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1951 * Makefile.am: better lib building
1953 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1957 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1958 (simpleTeXSpecialChars): adjust
1959 (simpleTeXSpecialChars): adjust
1960 * paragraph.C (simpleTeXOnePar): adjust
1961 * buffer.C (makeLaTeXFile): adjust
1963 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1965 * text2.C (changeDepth): parlist cleanup
1966 (getColumnNearX): ditto
1968 * rowpainter.C (getLabelFont): parlist cleanup
1970 * bufferlist.C (newFile): parlist cleanup
1972 * CutAndPaste.C (eraseSelection): parlist cleanup
1974 * BufferView_pimpl.C (trackChanges): parlist cleanup
1977 * BufferView.C (lockInset): parlist cleanup.
1978 (ChangeInsets): ditto
1980 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * CutAndPaste.h: Update file header.
1984 * CutAndPaste.C: Update file header.
1985 Store the parts cut out of the Document in a limited_stack.
1986 (copySelection): adjust
1987 (pasteSelection): new function, takes the index in the limited stack.
1988 (nrOfParagraphs): adjust
1989 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1990 simplify error inset insertion.
1991 (checkPastePossible): adjust
1993 2003-05-06 John Levon <levon@movementarian.org>
1995 * text2.C: don't cast wrap inset to float
1997 2003-05-05 André Pönitz <poenitz@gmx.net>
2000 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2002 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2003 few naked Paragraph *.
2005 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2007 * bufferparams.C: Output warning if a document with missing
2008 TeX document class is loaded
2009 * exporter.C: Disable TeX exports if the document class is missing
2012 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2013 isTeXClassAvailable()
2015 2003-05-03 John Levon <levon@movementarian.org>
2018 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2019 explicit cursor show/hide
2021 * BufferView_pimpl.h:
2022 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2023 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2025 * lyxfunc.C: hide cursor before dispatching.
2030 * text3.C: remove explicit cursor hides
2032 2003-05-02 André Pönitz <poenitz@gmx.net>
2034 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2037 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2040 * text2.C: tiny whitespace
2042 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * undo_funcs.C: almost only ws changes.
2046 * ParagraphList.C (splice): just return if pl is empty.
2048 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * ParagraphList.C (splice): new function.
2052 * CutAndPaste.C (pasteSelection): use it
2054 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * CutAndPaste.C (pasteSelection): remove the last next and
2057 previous from this file.
2059 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * CutAndPaste.C (pasteSelection): more clean up, user proper
2062 ParagraphList functions for pasteing.
2064 * ParagraphList.C (insert): new function, three arg insert
2066 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * ParagraphList.C (insert): new function, three arg insert
2070 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2073 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2077 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2081 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2084 (copySelection): clean up a bit.
2085 (pasteSelection): use make_pair
2087 * ParagraphList.C (ParagraphList): implement copy constructor
2088 (operator=): implement, base on copy constructor.
2091 * paragraph.C (erase): return a bool
2093 * paragraph_pimpl.C (erasePos): remove function, move contents...
2094 (erase): ... here. Return a bool.
2095 (erase): call erase instead of erasePos.
2097 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2099 * ParagraphList.h: define PitPosPair
2100 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2101 ParagraphList, fix a bug on pasting multiple pars
2102 * text2.C: change interface to C&P
2104 2003-04-30 André Pönitz <poenitz@gmx.net>
2106 * undo_func.C: revert part of yesterday's patch 2
2108 2003-04-30 John Levon <levon@movementarian.org>
2110 * LColor.C: s/tabular/table/
2112 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * text3.C (dispatch): do not convert iterator -> pointer
2115 * undo_funcs.C (setCursorParUndo): ditto
2116 * text_funcs.C (transposeChars): ditto
2118 * text2.C (setLayout): ws changes only
2120 * text.C (breakParagraph): do not convert iterator -> pointer
2122 (acceptChange): ditto
2123 (rejectChange): ditto
2128 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2131 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2133 * text3.C (gotoInset): YABG (yet another bad getChar)
2135 2003-04-29 André Pönitz <poenitz@gmx.net>
2137 * paragraph.h: make operator= private unimplemented as long as
2140 * ParagraphList.C: whitespace
2143 * paragraph_pimpl.[Ch]:
2144 * paragraph_funcs.C:
2146 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2149 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2151 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2153 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2154 * paragraph.[Ch] (erase):
2155 * paragraph_pimpl.[Ch] (erase): change return type and value
2156 * text2.C (cutSelection): some rework
2158 2003-04-28 John Levon <levon@movementarian.org>
2160 * bufferlist.C: changes for unsaved changes dialog
2162 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2164 * bufferlist.C (newFile): set language (messages_) for new
2167 * buffer.C (readFile): ws changes only.
2169 2003-04-28 André Pönitz <poenitz@gmx.net>
2174 * BufferView_pimpl.C:
2175 * BufferView.C: getParFromID related ParagraphList::iterator changes
2177 2003-04-28 André Pönitz <poenitz@gmx.net>
2179 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2182 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * messages.C: remove one more localedir class variable.
2186 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * messages.C (getLocaleDir): singleton generation function
2190 (Messages): add a default constructor.
2192 * main.C (main): do not setup localedir here, do not call
2195 * gettext.C (_): use it.
2196 (gettext_init): delete funciton
2198 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * gettext.C (getLyXMessages): new singleton generating function.
2202 * buffer.C (updateDocLang): adjust
2204 * Makefile.am (messages.o): add target
2205 (main.o): remove target
2207 2003-04-27 John Levon <levon@movementarian.org>
2212 * lyxvc.C: specify cancel button in Alert::prompt
2214 2003-04-26 John Levon <levon@movementarian.org>
2219 * LyXAction.C: add LFUN_INSET_SETTINGS
2221 * lyxfunc.C: don't enable tabular-feature when there's
2222 just any locking inset
2224 2003-04-26 John Levon <levon@movementarian.org>
2226 * bufferlist.C: re-add Cancel to buffer close question
2228 * lyxfunc.C: fix import UI a bit
2230 2003-04-25 John Levon <levon@movementarian.org>
2232 * gettext.C: remove the broken asserts for now
2234 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * messages.C: make case where setlocale cannot comply work better.
2238 * buffer.C (updateDocLang): new function
2239 (changeLanguage): use it
2242 * text2.C (setCounter): use B_ a bit.
2244 * lyxlayout.C (Read): be sure to trim the label strings.
2246 * messages.C (Messages): fix typo in comment
2248 * buffer.C (readFile): set message_ after file is loaded.
2249 (makeDocBookFile): remove double return
2250 (changeLanguage): reset message_ upon language change.
2251 (B_): new func, use this to get translated buffer strings.
2253 * main.C: add myself and Jean Marc as authors.
2255 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2257 * messages.[hC]: pimplify Messages, and three different pimpls to be
2258 used in different circumstances.
2260 * gettext.[Ch]: change for use with new message code.
2262 2003-04-24 André Pönitz <poenitz@gmx.net>
2264 * factory.C: support for eqref
2266 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2268 * messages.[Ch]: add missing char
2270 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2272 * messages.[Ch]: New files
2274 2003-04-18 John Levon <levon@movementarian.org>
2278 * BufferView_pimpl.C:
2282 * text2.C: remove layout-copy/paste (bug 778)
2284 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2286 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2288 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2290 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2291 if they succeed. Act accordingly.
2293 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2295 * text2.C (setCharFont): adjust
2296 (setCounter): adjust
2297 (insertStringAsLines): adjust
2299 * text.C (leftMargin): adjust
2300 (setHeightOfRow): adjust
2302 * rowpainter.C (paintFirst): adjust
2305 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2307 (isFirstInSequence): ditto
2308 (getEndLabel): ditto
2311 * paragraph.C (getParLanguage): comment out some hard stuff.
2313 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2315 (simpleDocBookOnePar): ditto
2316 (makeDocBookFile): use ParagraphList::iterator
2318 * CutAndPaste.C (pasteSelection): adjust
2320 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * text2.C (getFont): adjust
2323 (getLayoutFont): adjust
2324 (getLabelFont): adjust
2326 * paragraph_funcs.C (TeXOnePar): adjust
2328 * buffer.C (simpleLinuxDocOnePar): adjust
2329 (simpleDocBookOnePar): adjust
2331 * CutAndPaste.C (pasteSelection): adjust
2333 * BufferView.C (getEncoding): adjust
2335 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2337 2003-04-16 John Levon <levon@movementarian.org>
2339 * lyxfind.C: use parlist stuff for search/changes
2341 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2343 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2345 * text2.C (deleteEmptyParagraphMechanism): adjust
2347 * text2.[Ch] (ownerParagraph): delete func (both of them
2349 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2353 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * ParagraphList.C: prepare for NO_NEXT
2357 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2359 * text2.C (getFont): adjust
2360 (getLayoutFont): adjust
2361 (getLabelFont): adjust
2363 * paragraph.C (getFont): adjust
2364 (getLabelFont): adjust
2365 (getLayoutFont): adjust
2367 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2369 2003-04-15 John Levon <levon@movementarian.org>
2373 * lyx_main.C: handle Include in .ui files
2375 2003-04-15 John Levon <levon@movementarian.org>
2377 * MenuBackend.C: make the doc files length shorter
2380 * ToolbarBackend.C: handle toolbar placement flags,
2383 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2385 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2388 * paragraph_funcs.C (TeXOnePar): adjust
2390 * paragraph.C (getLabelFont): add outerfont arg, adjust
2391 (getLayoutFont): ditto
2392 (simpleTeXOnePar): adjust
2394 * paragraph_pimpl.C (realizeFont): delete func
2396 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2398 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2399 row argument, constify cur argument.
2401 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2403 * text2.C (getFont): adjust
2404 (getLayoutFont): adjust
2405 (getLabelFont): adjust
2407 * paragraph_funcs.C (TeXOnePar): adjust
2408 (outerFont): new func...
2409 (realizeFont): ...moved out from here, changed this to facilitate
2412 * paragraph.C (getFont): take outerfont as arg, adjust
2413 (simpleTeXOnePar): add outerfont arg, adjust
2415 * buffer.C (simpleLinuxDocOnePar): adjust
2416 (simpleDocBookOnePar): adjust
2418 * CutAndPaste.C (pasteSelection): adjust
2420 * BufferView.C (getEncoding): adjust
2422 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * text2.C (setCharFont): adjust
2425 (setCounter): adjust
2427 * text.C (leftMargin): adjust
2428 (setHeightOfRow): adjust
2430 * rowpainter.C (paintFirst): adjust
2433 * paragraph_pimpl.C (realizeFont): adjust
2435 * paragraph.C (isFirstInSequence): move from here...
2436 * paragraph_funcs.C (isFirstInSequence): ...to here
2438 * paragraph.C (outerHook): move from here...
2439 * paragraph_funcs.C (outerHook): ...to here
2441 * paragraph.C (depthHook): move from here...
2442 * paragraph_funcs.C (depthHook): ...to here
2444 * paragraph.C (getEndLabel): move from here...
2445 * paragraph_funcs.C (getEndLabel): ...to here
2447 * text2.C (realizeFont): move from here...
2448 * paragraph_funcs.C (realizeFont): ...to here
2450 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2454 2003-04-14 Angus Leeming <leeming@lyx.org>
2456 * LColor.[Ch]: scrap LColor mathcursor.
2458 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * lyxlex.[Ch] (text): delete function
2461 * trans.C (Load): adjust
2462 * paragraph_funcs.C (readParToken): adjust
2464 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2467 vector<char> instead of a char[].
2469 * lyxlex_pimpl.C (getString): adjust
2471 (lex): use getString
2475 * lyxlex.C (text): use pimpl_->getString()
2479 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2481 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2482 (makeFontEntriesLayoutSpecific): temp var for par.size()
2483 (setLayout): temp var for ownerParagraphs().end()
2484 (fullRebreak): temp var for rows().end()
2485 (selectionAsString): temp var for boost::next(startpit), realize
2486 that the while really is a regular for loop.
2487 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2488 setCursor in one place.
2489 (setParagraph): temp vr for ownerParagraphs().end()
2490 (updateCounters): make the while loop a for loop
2491 (cutSelection): temp var for ownerParagraphs().end()
2492 (updateInset): make the do {} while() a regular for loop
2493 (getCursorX): use temp vars
2494 (setCurrentFont): use temp vars
2495 (getColumnNearX): use temp vars
2497 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * text.C (transformChar): use temp var for getChar
2500 (computeBidiTables): use temp var for row->par()
2501 (fill): move temp vars for row->par() and pit->layout() earlier in
2503 (labelFill): use temp var for row->par()
2504 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2505 asc and desc, realize that pit never changes and that firstpit is
2506 just a duplicate and not needed. Exchange rit->par() with pit in a
2508 (breakAgain): use a temp var for boost::next(rit)
2509 (breakAgainOneRow): ditto
2510 (breakParagraph): use a temp var for rows().begin()
2511 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2512 (cursorRightOneWord): use temp var for cursor.par() and
2513 cursor.pos(), remove usage of tmpcursor.
2514 (cursorLeftOneWord): use temp var for cursor.par() and
2515 cursor.pos() only set cur at end of function.
2517 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * text.C, text2.C: exchange all usage of Paragraph::next with
2520 boost::next(ParagraphList::iterator)
2522 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2524 * text2.C (cursorTop): simplify implementation
2525 (cursorBottom): ditto
2526 (setParagraph): use ParagraphList::iterator
2527 (setCurrentFont): adjust
2528 (getColumnNearX): adjust
2529 (cursorRight): adjust
2530 (cursorLeft): remove usage of Paragraph::previous
2531 (cursorUpParagraph): ditto
2532 (deleteEmptyParagraphMechanism): slight cleanup
2534 * text.C (isBoundary): take a Paragraph const & instead of a
2536 (addressBreakPoint): ditto
2537 (leftMargin): remove usage of Paragraph::previous.
2538 (setHeightOfRow): ditto
2539 (cursorLeftOneWord): ditto
2540 (selectNextWordToSpellcheck): ditto
2543 (breakParagraph): remove one usage of Paragraph::next
2544 (redoParagraph): ditto
2545 (acceptChange): ditto
2546 (insertChar): adjust
2547 (rowBreakPoint): adjust
2549 * bufferview_funcs.C (toggleAndShow): adjust
2551 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2553 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2554 methods to access it.
2556 * text.C: Added updateRowPositions to compute all row positions.
2557 Make top_y and getRowNearY() to use the cached y position
2559 2003-04-11 John Levon <levon@movementarian.org>
2561 * text.C (rowBreakPoint): reintroduce the labelEnd
2562 checks, code copied from the row fill stuff. Deep voodoo.
2564 * text.C (fill): add a comment and debugging for the
2567 2003-04-11 John Levon <levon@movementarian.org>
2569 * text.C: make sure fullrow insets get wrapped to the next line,
2570 even when they're in a manual label
2572 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * text2.C (insertParagraph): make it take ParagraphList::iterator
2576 (setLayout): make it return ParagraphList::iterator
2577 (redoParagraphs): ditto
2579 (checkParagraph): ditto
2581 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2583 * text2.C: adjust several funcs.
2584 (realizeFont): take a ParagraphList::iterator as arg.
2585 (getLayoutFont): ditto
2586 (getLabelFont): ditto
2587 (setCharFont): ditto
2589 * text.C: adjust several funcs.
2591 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2593 * text.C (selectNextWordToSpellcheck): don't accidentally
2596 2003-04-10 John Levon <levon@movementarian.org>
2598 * ToolbarBackend.C (getIcon): special handling for
2601 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2603 * text2.C (cursorRight): a getChar assert fixed
2605 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2607 * text2.C (getFont): change to take a ParagraphList::iterator
2608 instead of Paragraph*
2609 Adjust several functions.
2611 * text.C (transformChar): change to take a ParagraphList::iterator
2612 instead of Paragraph*
2613 (singleWidth): ditto
2614 Adjust several functions.
2616 * rowpainter.C: adjust several functions
2617 * rowpainter.h:store a ParagraphList::iterator and not a
2621 2003-04-09 John Levon <levon@movementarian.org>
2626 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2627 and the "help" bits as well
2629 2003-04-09 John Levon <levon@movementarian.org>
2632 * ToolbarBackend.C: allow multiple toolbars
2634 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2636 * undo_funcs.C (setCursorParUndo): adjust
2638 * text_funcs.C (transposeChars): adjust
2640 * text3.C (gotoNextInset): adjust
2643 * text2.C (setLayout): adjust
2644 (changeDepth): adjust
2646 (redoParagraphs): adjust
2647 (selectionAsString): adjust
2648 (setParagraph): adjust
2649 (insertInset): adjust
2650 (cutSelection): adjust
2651 (copySelection): adjust
2652 (pasteSelection): adjust
2653 (insertStringAsLines): adjust
2654 (updateInset): adjust
2655 (setCursor): change to take a ParagraphList::iterator parameter
2656 (setCursorIntern): change to take a ParagraphList::iterator parameter
2657 (setCurrentFont): adjust
2658 (cursorLeft): adjust
2659 (cursorRight): adjust
2660 (deleteEmptyParagraphMechanism): adjust
2662 * text.C (breakParagraph): adjust
2663 (insertChar): adjust
2664 (acceptChange): adjust
2665 (rejectChange): adjust
2666 (selectNextWordToSpellcheck): adjust
2667 (changeCase): adjust
2671 * lyxfind.C (SearchForward): adjust
2672 (SearchBackward): adjust
2673 (nextChange): adjust
2675 * lyxcursor.C (par): adjust
2677 * lyxcursor.h: store a ParagraphList::iterator instead of a
2680 * lyx_cb.C (getPossibleLabel): adjust
2682 * bufferview_funcs.C (toggleAndShow): adjust
2684 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2687 * BufferView.C (removeAutoInsets): adjust
2688 (lockedInsetStoreUndo): adjust
2690 2003-04-09 John Levon <levon@movementarian.org>
2692 * ToolbarBackend.C: try icon without argument
2693 if with argument fails
2695 2003-04-08 John Levon <levon@movementarian.org>
2698 * ToolbarBackend.C: add getIcon(), handle tooltip,
2699 and change from "Icon" to "Item".
2701 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2703 * BufferView.C (lockInset): another bad getchar crunched
2705 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2707 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2710 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2712 * lyxfind.C (searchForward, searchBackwards): bug 782
2714 2003-04-07 John Levon <levon@movementarian.org>
2716 * paragraph.C: remove dead comment
2718 * text.C: remove troublesome depth-fiddling code
2719 in leftMargin() and rightMargin() (bug 1017)
2721 * text.C: fix breaking of rows in nested lists
2724 * text2.C (updateCounters): fix up depth values
2727 2003-04-07 John Levon <levon@movementarian.org>
2729 * BufferView_pimpl.C: clear message when doc finishes resizing,
2730 and after a mouse event
2732 * lyxfunc.C: clear message after exiting inset
2734 2003-04-07 John Levon <levon@movementarian.org>
2736 * bufferview_funcs.C: show math status not outside
2737 status in the statusbar
2739 2003-04-07 John Levon <levon@movementarian.org>
2741 * lyxfunc.C: note status changed after a depth change
2743 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2745 * LaTeX.h: move AuxInfo operator==, != out of line.
2746 Remove LaTeX virtual destructor; nothing derives from it.
2747 Move operator()() out of public area and rename it startscript().
2748 Change protected for private.
2750 2003-04-04 Angus Leeming <leeming@lyx.org>
2753 * text2.C: remove unneeded #includes.
2755 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2757 * text2.C (dEPM): fix the heigth of the next row
2759 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2761 * text.C: squashed an invalid getChar requester + some ws changes
2763 2003-04-03 John Levon <levon@movementarian.org>
2765 * bufferview_funcs.h:
2766 * bufferview_funcs.C:
2769 * text2.C: make getStatus work for the env depth lfuns
2771 2003-04-03 John Levon <levon@movementarian.org>
2773 * bufferview_funcs.h:
2774 * bufferview_funcs.C:
2777 * text2.C: parlistize decDepth(), by merging it with incDepth()
2779 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2781 * lyxrow.h: store a ParagraphList::iterator instead of a
2782 Paragraph* and adjust other class functions to suit.
2784 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2787 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2789 * text2.C (setCursor): do not anchor to cursor row for the time being
2791 2003-04-02 John Levon <levon@movementarian.org>
2798 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2800 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * paragraph.h: make ParagraphList and ParagraphList::iterator
2803 friends of Paragraph.
2805 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2807 * ParagraphList.C: Use the private next_ and previous_ from
2810 2003-04-01 John Levon <levon@movementarian.org>
2814 * Makefile.am: rename, remove defaults gunk
2817 * MenuBackend.C: remove defaults gunk
2820 * Languages.C: remove defaults gunk
2823 * lyx_main.C: error out if files couldn't be found.
2825 2003-04-02 John Levon <levon@movementarian.org>
2827 * text2.C: make incDepth() use parlist
2829 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2831 * undo_funcs.C (firstUndoParagraph): adjust
2833 * text3.C (gotoInset): adjust
2834 (dispatch): adjust, and rewrite loop.
2836 * text2.C (init): adjust, and rewrite loop.
2837 (redoParagraphs): adjust
2838 (updateInset): adjust, and rewrite loop.
2839 (deleteEmptyParagraphMechanism): adjust
2841 * tabular.C (LyXTabular): adjust
2842 (SetMultiColumn): adjust
2845 * lyxtext.[Ch] (ownerParagraph): delete function
2846 (ownerParagraphs): new function returns a ParagraphList.
2848 * BufferView.C (removeAutoInsets): adjust
2849 (insertErrors): adjust
2850 (setCursorFromRow): adjust
2852 2003-04-01 Angus Leeming <leeming@lyx.org>
2854 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2857 2003-04-02 John Levon <levon@movementarian.org>
2863 * text_funcs.C: make transposeChars a free function
2865 * lyxrow_funcs.C: remove wrong comment
2867 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * rowpainter.C: adjust
2875 * lyxrow_funcs. [Ch]: new files
2877 * lyxrow.[Ch]: remove next and previous pointers
2878 (next,previous): remove accessor functions
2879 (isParEnd): move to lyxrow_funcs
2880 (lastPos): move to lyxrow_funcs
2881 (nextRowIsAllInset): move to lyxrow_funcs
2882 (lastPrintablePos): move to lyxrow_funcs
2883 (numberOfSeparators): move to lyxrow_funcs
2884 (numberOfHfills): move to lyxrow_funcs
2885 (numberOfLabelHfills): move to lyxrow_funcs
2886 (hfillExpansion): move to lyxrow_funcs
2890 * bufferview_funcs.C (toggleAndShow): adjust
2892 * RowList.h: Remove class RowList from file leave just a
2895 * RowList.C: delete file
2897 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2900 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * text3.C (cursorPrevious): adjust
2903 (cursorNext): adjust
2906 * text2.C (redoHeightOfParagraph): adjust
2907 (redoDrawingOfParagraph): adjust
2910 * text.C (breakParagraph): adjust
2911 (insertChar): adjust
2914 * rowpainter.C (RowPainter): adjust
2915 (leftMargin): simplify and adjust
2916 (most rowpainter functions): adjust.
2918 * rowpainter.h: store the row as RowList::iterator not as Row*
2920 * lyxcursor.C (row): taka RowList::iterator as arg
2923 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2926 2003-04-01 Angus Leeming <leeming@lyx.org>
2928 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2929 stuff like bool Bool.
2931 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2933 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2936 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2941 * lyxtext.h (rows): drop one version and leve a const variant that
2942 returns a RowList::iterator.
2944 2003-03-31 Angus Leeming <leeming@lyx.org>
2946 * text.C (fill): ensure that the signature is the same as that in the
2949 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * text2.C (redoParagraphs): adjust
2952 (updateCounters): adjust
2953 (checkParagraph): adjust
2954 (getColumnNearX): adjust and reformat a bit.
2956 * text.C (top_y): adjust
2958 (leftMargin): adjust
2959 (prepareToPrint): adjust
2961 (getRowNearY): adjust
2963 * lyxtext.h: make rowlist_ mutable.
2965 * RowList.h: add const_iterator
2966 * RowList.C: adjust for RowList::const_iterator.
2968 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2971 2003-03-31 John Levon <levon@movementarian.org>
2974 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2976 * lyx_main.C: set default fonts from using lyx_gui funcs
2978 * exporter.C: pdf_mode moved from lyxrc
2981 * lyxfunc.C: changes from above
2983 2003-03-31 John Levon <levon@movementarian.org>
2985 * lyx_main.C: fix to the last fix
2987 2003-03-31 John Levon <levon@movementarian.org>
2989 * bufferlist.C: "Load original" -> "Load Original"
2995 * format.C: more Alert cleanups
2997 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * text2.C (removeParagraph): make it take a RowList::iterator as
3001 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3002 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3004 * text.C (anchor_row): make it take a RowList::iterator as arg,
3006 (computeBidiTables): make it take a const reference to Row instead
3007 of Row pointer, adjust.
3008 (leftMargin): make it take a RowList::iterator as arg, adjust.
3009 (rowBreakPoint): adjust
3010 (breakAgainOneRow): make it take a RowList::iterator as arg,
3012 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3014 * bufferview_funcs.C (toggleAndShow): adjust
3016 2003-03-30 John Levon <levon@movementarian.org>
3020 * boost-inst.C: moved to support
3022 * several files: changes as a result
3024 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * text2.C (LyXText): adjust.
3028 (removeRow): make it take a RowList::iterator as arg, adjust.
3029 (fullRebreak): adjust
3030 (deleteEmptyParagraphMechanism): adjust
3031 (clearPaint): adjust
3034 * text.C (top_y): adjust
3035 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3036 (breakAgain): make it take a RowList::iterator as arg, adjust.
3037 (breakParagraph): adjust
3038 (insertChar): adjust
3041 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3042 need_break_row, and refresh_row.
3044 * text3.C (dispatch): adjust
3046 * text2.C (checkParagraph): adjust
3048 (setCursorFromCoordinates): adjust
3050 * text.C (top_y): adjust
3052 (getRow): make it return a RowList::iterator, adjust
3053 (getRowNearY): make it return a RowList::iterator, adjust
3055 * text2.C (init): adjust
3056 (insertRow): remove function
3057 (insertParagraph): adjust
3058 (redoParagraphs): adjust
3059 (fullRebreak): adjust
3060 (updateCounters): adjust
3062 * text.C (top_y): rewrite to use RowList iterators.
3064 (setHeightOfRow): rewrite to sue RowList iterators.
3065 (appendParagraph): adjust
3066 (breakAgain): adjust
3067 (breakAgainOneRow): adjust
3068 (breakParagraph): adjust
3070 (getRowNearY): adjust, and remove commented code.
3072 * lyxtext.h (firstRow): delete function
3073 (lastRow): delete function
3074 (rows): new function (const and non-const versions.)
3075 (insertRow): delete function
3077 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3079 2003-03-29 John Levon <levon@movementarian.org>
3081 * BufferView_pimpl.C: always update scrollbar top
3082 because pasting text when we're anchored could mean we
3083 miss an update altogether
3085 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * text2.C (init): use rowlist_.end() and not 0.
3088 (insertRow): change to take a RowList::iterator as arg, adjust
3090 (insertParagraph): change to take a RowList::iterator as arg,
3092 (redoParagraphs): remove some debug msgs.
3094 * text.C (appendParagraph): change to take a RowList::iterator
3095 arg, adjust for this.
3096 (breakAgain): add an assert
3097 (breakAgainOneRow): ditto
3099 2003-03-29 John Levon <levon@movementarian.org>
3101 * text2.C: do not clear selection after inc/decDepth
3104 2003-03-29 John Levon <levon@movementarian.org>
3107 * buffer.C: fix broken strerrors according to Lars
3109 2003-03-29 John Levon <levon@movementarian.org>
3111 * converters.C: more Alert cleanups
3113 2003-03-29 John Levon <levon@movementarian.org>
3115 * bufferview_funcs.C: remove pointless Alert
3117 * buffer.C: fix confusing error message when
3118 a template is chmoded 000
3120 2003-03-29 John Levon <levon@movementarian.org>
3124 * BufferView_pimpl.C: Alert fixes
3128 * tabular-old.C: remove unused table compat reading
3130 2003-03-29 John Levon <levon@movementarian.org>
3135 * lyx_cb.C: more Alert cleanups
3137 * lyxfunc.C: don't allow chktex if not latex document
3139 2003-03-29 John Levon <levon@movementarian.org>
3143 * buffer.C: warnings pushed down from support/,
3146 2003-03-29 John Levon <levon@movementarian.org>
3148 * lyxfunc.C: safety check for C-r (revert)
3150 2003-03-29 John Levon <levon@movementarian.org>
3153 * bufferlist.C: several UI fixes using Alert::prompt.
3154 Fix the pointless looping quit code. Fix stupid revert
3159 * lyx_cb.C: use Alert::prompt
3161 * lyx_main.C: remove a silly question
3163 * lyxfunc.C: remove a couple of silly questions,
3166 2003-03-28 John Levon <levon@movementarian.org>
3168 * text2.C: fix bug 974 (End on empty par)
3170 2003-03-28 John Levon <levon@movementarian.org>
3172 * BufferView_pimpl.C:
3174 * lfuns.h: remove do-nothing math greek lfuns
3176 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * lyxgluelength.h (isValidGlueLength): add default arg on
3179 parameter 2. Remove default arg from friend in class.
3181 * lyxlength.h (isValidLength): add default arg on parameter 2.
3182 Remove default arg from friend in class.
3184 * text2.C (LyXText): adjust, initialize refresh_row.
3188 (insertParagraph): adjst
3189 (redoParagraphs): adjust
3190 (fullRebreak): adjust
3191 (updateCounters): adjust
3192 (deleteEmptyParagraphMechanism): first attempt at fixing a
3195 * text.C (top_y): adjust
3196 (setHeightOfRow): adjust
3198 (getRowNearY): adjust
3200 * lyxtext.h: include RowList.h
3201 (~LyXText): not needed anymore, deleted.
3202 (firstRow): modify for RowList
3203 (lastRow): new function
3204 Delete firstrow and lastrow class variables, add a Rowlist
3205 rowlist_ class variable.
3207 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3210 * RowList.C (insert): fix case where it == begin().
3212 2003-03-26 Angus Leeming <leeming@lyx.org>
3214 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3215 the thesaurus dialog.
3217 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3221 * RowList.[Ch]: new files
3223 * ParagraphList.C (erase): handle the case where it == begin
3226 2003-03-25 John Levon <levon@movementarian.org>
3230 * aspell.C: add new aspell support
3233 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3236 2003-03-25 Angus Leeming <leeming@lyx.org>
3239 * LyXAction.C (init): new LFUN_INSET_INSERT.
3241 * BufferView_pimpl.C (dispatch): split out part of the
3242 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3244 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3247 2003-03-25 Angus Leeming <leeming@lyx.org>
3249 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3251 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3254 * text3.C: remove useless row->height(0)
3256 2003-03-25 John Levon <levon@movementarian.org>
3260 * text3.C: rename the refreshing stuff to better names
3262 2003-03-24 John Levon <levon@movementarian.org>
3264 * BufferView_pimpl.h:
3265 * BufferView_pimpl.C: update layout choice on a mouse
3268 2003-03-23 John Levon <levon@movementarian.org>
3270 * Makefile.am: fix commandtags.h reference
3272 2003-03-22 John Levon <levon@movementarian.org>
3274 * BufferView_pimpl.C:
3279 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3281 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3284 * text.C: take the rtl methods out of line
3286 2003-03-21 André Pönitz <poenitz@gmx.net>
3288 * metricsinfo.[Ch]: new files containing structures to be passed around
3289 during the two-phase-drawing...
3291 2003-03-21 André Pönitz <poenitz@gmx.net>
3293 * lyxtextclass.C: read 'environment' tag.
3295 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3297 * text2.C (removeRow): fix bug 964
3299 2003-03-20 John Levon <levon@movementarian.org>
3303 * text2.C: paint cleanups. Inset::update() dropped font
3306 2003-03-19 John Levon <levon@movementarian.org>
3308 * lyxfunc.C: only fitcursor/markDirty if available()
3310 2003-03-19 John Levon <levon@movementarian.org>
3312 * commandtags.h: rename to ...
3314 * lfuns.h: ... this, and renumber / cleanup
3316 2003-03-19 John Levon <levon@movementarian.org>
3318 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3319 fit the cursor after an lfun
3323 * BufferView_pimpl.h:
3324 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3326 * LyXAction.C: layout-character should have ReadOnly
3328 * ParagraphParameters.C:
3330 * bufferview_funcs.C:
3337 * undo_funcs.C: changes from above
3339 2003-03-18 John Levon <levon@movementarian.org>
3341 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3342 remove it from update()
3344 * lyxfunc.C: update layout choice after an lfun
3346 * text3.C: remove extra updateLayoutChoice()s
3348 2003-03-18 John Levon <levon@movementarian.org>
3350 * text.C: top_y change means full repaint, fix
3351 a drawing bug with cursor movement
3353 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3357 * text2.C: anchor row on setCursor
3359 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3361 * lyxtext.h: remove almost all mutable keywords
3364 * text3.C: remove const keywords accordingly
3366 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3370 (TeXEnvironment): ditto
3373 2003-03-17 John Levon <levon@movementarian.org>
3375 * text.C (rowBreakPoint): remove attempt to fix displayed
3376 math insets inside a manual label
3378 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * lyxtext.h: remove BufferView* as first arg from almost all class
3382 * other files: adjust.
3384 2003-03-17 John Levon <levon@movementarian.org>
3388 * text2.C: more paint cleanups
3390 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3393 * rowpainter.C: remove "smart" background painting code
3395 2003-03-16 John Levon <levon@movementarian.org>
3400 * text3.C: add helper functions for setting refresh_row/y
3402 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3404 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3405 newline inset which *can* get inserted in the pass_thru layouts.
3406 This is primarily for literate documents.
3408 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3410 * buffer.C: increment LYX_FORMAT to 223
3412 2003-03-14 André Pönitz <poenitz@gmx.net>
3414 * textclass.h: prepare for environment handling, ws changes
3415 * lyxlayout.C: read latexheader and latexfooter tags
3417 2003-03-14 John Levon <levon@movementarian.org>
3419 * text2.C: rewrite ::status() a bit
3421 2003-03-13 John Levon <levon@movementarian.org>
3423 * lyxtext.h: add some docs
3425 2003-03-13 John Levon <levon@movementarian.org>
3430 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3432 2003-03-13 John Levon <levon@movementarian.org>
3434 * text3.C: fix appendix redrawing
3436 2003-03-13 John Levon <levon@movementarian.org>
3438 * text.C (setHeightOfRow):
3440 * rowpainter.C: make appendix mark have the text
3441 "Appendix" so the user knows what it is
3444 * LColor.C: s/appendixline/appendix/ from above
3446 2003-03-13 John Levon <levon@movementarian.org>
3448 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3450 * text.C: fix a getChar(pos) bug properly
3452 2003-03-13 Angus Leeming <leeming@lyx.org>
3455 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3456 Probably only temporary. Let's see how things pan out.
3458 * BufferView.C (unlockInset):
3459 * BufferView_pimpl.C (fitCursor):
3460 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3462 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3463 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3465 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3466 new functions that convert ParagraphParameters to and from a string.
3468 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3469 BufferView::Pimpl's dispatch.
3470 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3472 2003-03-13 André Pönitz <poenitz@gmx.net>
3476 * factory.C: make it aware of InsetEnv
3478 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * text2.C (setCursor): never ask for one past last
3481 (setCursor): add some debugging messages.
3483 * text.C (singleWidth): never ask for one past last
3484 (singleWidth): ditto
3486 (rightMargin): ditto
3487 (rowBreakPoint): ditto
3488 (setHeightOfRow): ditto
3489 (prepareToPrint): ditto
3491 * rowpainter.C (paintBackground): never ask for one past last
3492 (paintText): never ask for one past last
3494 * paragraph_pimpl.C (getChar): make the assert stricter, never
3495 allow the one past last pos to be taken
3497 * paragraph.C (getChar): ws changes only
3499 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3500 (numberOfSeparators): ditto
3501 (numberOfHfills): ditto
3503 2003-03-12 John Levon <levon@movementarian.org>
3509 * paragraph_funcs.C: fix per-buffer authorlists
3511 2003-03-12 John Levon <levon@movementarian.org>
3513 * text.C: fix newline in right address
3515 2003-03-12 Angus Leeming <leeming@lyx.org>
3517 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3518 duplicate those in LyXFunc::dispatch.
3522 * ToolbarDefaults.C:
3523 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3524 Add LFUN_FONTFREE_UPDATE.
3526 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3527 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3529 * bufferview_func.[Ch]: several new functions to facilliate
3530 transfer of data to and from the character dialog.
3532 2003-03-12 John Levon <levon@movementarian.org>
3537 * paragraph_funcs.C:
3538 * paragraph_pimpl.C:
3542 * text3.C: remove META_NEWLINE in favour of an inset
3545 * rowpainter.C: remove paintNewline (done by inset)
3547 2003-03-12 John Levon <levon@movementarian.org>
3549 * paragraph_pimpl.C: complain about bad getChar()s
3550 for a while at least
3552 2003-03-12 John Levon <levon@movementarian.org>
3555 * buffer.C: move paragraph read into a separate function,
3556 a little renaming to reflect that.
3559 * bufferparams.C: remove the author_ids map, not necessary now
3562 * factory.C: moved Buffer::readInset to here
3564 * paragraph_funcs.h:
3565 * paragraph_funcs.C: readParagraph free function moved from
3568 * tabular.C: name change
3570 2003-03-12 John Levon <levon@movementarian.org>
3573 * ParagraphParameters.C: move par params input to
3576 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3577 behave like a normal read from the stream wrt reading
3578 a line vs. a \\token
3580 2003-03-12 John Levon <levon@movementarian.org>
3583 * ParagraphParameters.h:
3584 * ParagraphParameters.C: move output code to a
3587 2003-03-12 John Levon <levon@movementarian.org>
3589 * BufferView.C (insertLyXFile):
3592 * tabular.C: use a parlist iterator for creating the
3595 2003-03-12 John Levon <levon@movementarian.org>
3597 * buffer.C: make current_change static local not
3600 2003-03-12 John Levon <levon@movementarian.org>
3602 * buffer.C: fix insertStringAsLines for change tracking
3604 2003-03-12 John Levon <levon@movementarian.org>
3611 * bufferparams.C: move author list into params. Rename some
3612 functions. Move the header reading into a separate token
3613 loop. Move the header token reading into BufferParams.
3615 2003-03-12 John Levon <levon@movementarian.org>
3617 * changes.C: put debug inside lyxerr.debugging() checks
3619 2003-03-11 André Pönitz <poenitz@gmx.net>
3621 * factory.C: make it aware of InsetHFill
3623 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3625 * buffer.C (latexParagraphs): move function from here...
3626 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3629 2003-03-10 Angus Leeming <leeming@lyx.org>
3631 * LyXAction.C (init): fix bug in poplating array with multiple entries
3632 with the same LFUN (spotted by JMarc).
3634 2003-03-10 John Levon <levon@movementarian.org>
3637 * text2.C: move getColumnNearX() near its
3640 2003-03-10 John Levon <levon@movementarian.org>
3642 * text.C: fix break before a minipage
3644 2003-03-10 John Levon <levon@movementarian.org>
3646 * text.C: fix the last commit
3648 2003-03-09 John Levon <levon@movementarian.org>
3652 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3653 bug 365 (don't break before insets unless needed). Don't
3654 return a value > last under any circumstances.
3656 2003-03-09 Angus Leeming <leeming@lyx.org>
3658 * BufferView_pimpl.C (trackChanges, dispatch): call
3659 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3661 2003-03-09 Angus Leeming <leeming@lyx.org>
3663 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3664 than Dialogs::showAboutlyx().
3666 2003-03-09 Angus Leeming <leeming@lyx.org>
3668 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3669 than Dialogs::showTabularCreate().
3671 2003-03-09 John Levon <levon@movementarian.org>
3675 * text2.C: 3rd arg to nextBreakPoint was always the same.
3678 2003-03-08 John Levon <levon@movementarian.org>
3685 * text2.C: Remove the "main" bit from the "main body"
3688 2003-03-08 John Levon <levon@movementarian.org>
3690 * text.C (leftMargin): The left margin of an empty
3691 manual label paragraph should not include the label width
3694 * text.C (prepareToPrint): don't attempt to measure hfills
3695 for empty manual label paragraphs - the answer should be 0
3697 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * CutAndPaste.C: remove commented code and reindent.
3701 2003-03-08 John Levon <levon@movementarian.org>
3704 * lyxfunc.C: move reloadBuffer()
3707 * BufferView.C: to here
3709 * lyxvc.C: add comment
3712 * vc-backend.C: call bv->reload() to avoid
3713 getStatus() check on MENURELOAD
3715 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3717 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3718 to an old format .dep file.
3720 2003-03-07 Angus Leeming <leeming@lyx.org>
3722 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3723 when the LFUN_MOUSE_RELEASE should have been handled by
3724 inset->localDispatch.
3726 2003-03-07 Angus Leeming <leeming@lyx.org>
3728 * BufferView_pimpl.C (dispatch):
3729 * LyXAction.C (init):
3730 * ToolbarDefaults.C (init):
3732 * lyxfunc.C (getStatus):
3733 remove LFUN_INSET_GRAPHICS.
3735 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3737 2003-03-07 Angus Leeming <leeming@lyx.org>
3740 * LyXAction.C (init):
3741 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3743 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3746 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3748 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3749 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3751 2003-03-07 Angus Leeming <leeming@lyx.org>
3753 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3756 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * ParagraphList.C (front): new function
3761 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3763 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3764 and top_row_offset_. removed var first_y.
3766 * text2.C (LyXText, removeRow):
3768 * BufferView_pimpl.C:
3769 use these methods instead of using first_y
3771 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * text2.C (pasteSelection): adjust for checkPastePossible
3775 * CutAndPaste.C: remove Paragraph * buf and replace with
3776 ParagraphList paragraphs.
3777 (DeleteBuffer): delete
3778 (cutSelection): change the tc type to textclass_type
3779 (copySelection): change the tc type to textclass_type
3780 (copySelection): adjust for ParagraphList
3781 (pasteSelection): change the tc type to textclass_type
3782 (pasteSelection): adjust for Paragraphlist
3783 (nrOfParagraphs): simplify for ParagraphList
3784 (checkPastePossible): simplify for ParagraphList
3785 (checkPastePossible): remove unused arg
3787 * ParagraphList.C (insert): handle the case where there are no
3790 * CutAndPaste.h: make CutAndPaste a namespace.
3792 * text3.C (dispatch): adjust
3794 * text.C (breakParagraph): add a ParagraphList as arg
3796 * paragraph_funcs.C (breakParagraph): change to take a
3797 BufferParams and a ParagraphList as args.
3798 (breakParagraphConservative): ditto
3799 (mergeParagraph): ditto
3800 (TeXDeeper): add a ParagraphList arg
3801 (TeXEnvironment): ditto
3804 * buffer.C (readLyXformat2): adjust
3805 (insertStringAsLines): adjust
3806 (latexParagraphs): adjust
3808 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3809 (cutSelection): adjust
3810 (pasteSelection): adjust
3812 * BufferView_pimpl.C (insertInset): adjust
3814 2003-03-05 Angus Leeming <leeming@lyx.org>
3817 * LyXAction.C (init):
3818 * BufferView_pimpl.C (dispatch):
3819 * lyxfunc.C (getStatus):
3820 remove LFUN_CHILD_INSERT.
3822 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3824 2003-03-05 Angus Leeming <leeming@lyx.org>
3827 * LyXAction.C (init):
3828 * src/factory.C (createInset):
3829 * lyxfunc.C (getStatus):
3830 * text3.C (dispatch):
3831 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3833 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3835 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * ParagraphList.C (insert): handle insert right before end()
3838 (erase): fix cases where it can be first or last paragraph.
3840 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3843 Paragraph::next and Paragraph::previous
3846 * text.C (breakParagraph): adjust
3848 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3849 BufferParams& as arg.
3850 (breakParagraph): use ParagraphList::insert
3851 (breakParagraphConservative): take a Buffer* instead of a
3852 BufferParams& as arg.
3853 (breakParagraphConservative): use ParagraphList::insert.
3855 * buffer.C (insertStringAsLines): un-const it
3856 (insertStringAsLines): adjust
3858 * ParagraphList.C (insert): new function
3860 * CutAndPaste.C (pasteSelection): adjust
3862 * text.C (backspace): adjust
3864 * tabular.C (SetMultiColumn): adjust
3866 * CutAndPaste.C (cutSelection): adjust
3867 (pasteSelection): adjust
3869 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3870 Buffer const * as arg
3872 * ParagraphList.C (erase): new function
3873 * paragraph_funcs.C (mergeParagraph): use it
3874 (mergeParagraph): make it take a Buffer* instead of a
3875 BufferParams* as arg
3877 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3879 (breakParagraphConservative): ditto
3881 * paragraph.h: remove the breakParagraph friend
3883 * paragraph.C (eraseIntern): new function
3884 (setChange): new function
3886 * paragraph_funcs.C (mergeParagraph): make it take a
3887 ParagraphList::iterator instead of a Paragraph *, adjust
3890 * paragraph.h: move an #endif so that the change tracking stuff
3891 also works in the NO_NEXT case.
3893 2003-03-04 Angus Leeming <leeming@lyx.org>
3896 * LyXAction.C: new LFUN_INSET_MODIFY.
3898 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3899 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3901 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3903 * several files: ws changes only
3905 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3906 (TeXEnvironment): ditto
3909 * buffer.C (makeLaTeXFile): adjust
3910 (latexParagraphs): make it take ParagraphList::iterator as args
3912 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * buffer.C (latexParagraphs): adjust
3916 * paragraph.C (TeXOnePar): move function...
3917 (optArgInset): move function...
3918 (TeXEnvironment): move function...
3919 * paragraph_pimpl.C (TeXDeeper): move function...
3920 * paragraph_funcs.C: ...here
3922 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3924 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * buffer.C (readInset): remove compability code for old Figure and
3929 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * buffer.C: ws changes
3934 * BufferView_pimpl.C: ditto
3937 * bufferlist.h: ditto
3941 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3943 * converter.[Ch]: split into itself +
3946 * Makefile.am: += graph.[Ch] + format.[Ch]
3953 * lyxrc.C: added #include "format.h"
3955 2003-02-27 Angus Leeming <leeming@lyx.org>
3957 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3960 * factory.C (createInset): add "label" to the factory.
3962 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3963 string and do no more.
3965 2003-02-27 Angus Leeming <leeming@lyx.org>
3968 * LyXAction.C (init):
3969 * factory.C (createInset):
3970 * BufferView_pimpl.C (dispatch):
3971 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3973 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3975 * lyxfunc.C (dispatch):
3976 * text3.C (dispatch): pass name to params2string.
3978 2003-02-26 Angus Leeming <leeming@lyx.org>
3980 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3982 Rearrange the ~includes. Strip out the unnecessary ones.
3984 * factory.C (createInset): reformat.
3985 create new insets for the various LFUN_XYZ_APPLY lfuns.
3987 2003-02-26 John Levon <levon@movementarian.org>
3990 * lyxrow.C: add isParStart,isParEnd helpers
3992 * paragraph.h: make isInserted/DeletedText take refs
3994 * paragraph_funcs.h:
3995 * paragraph_funcs.C: remove #if 0'd code
4000 * text.C: use lyxrow helpers above.
4001 Move draw and paint routines to RowPainter.
4002 Make several methods use refs not pointers.
4003 Make backgroundColor() const.
4004 Add markChangeInDraw(), isInInset().
4005 Merge changeRegionCase into changeCase.
4006 Make workWidth() shouldn't-happen code into an Assert.
4009 * rowpainter.C: new class for painting a row.
4012 * vspace.C: make inPixels take a ref
4014 2003-02-26 Angus Leeming <leeming@lyx.org>
4016 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4019 2003-02-25 John Levon <levon@movementarian.org>
4021 * ispell.C: give the forked command a more accurate name
4023 2003-02-22 John Levon <levon@movementarian.org>
4026 * toc.C: make TocItem store an id not a Paragraph *
4029 2003-02-21 Angus Leeming <leeming@lyx.org>
4031 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4032 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4033 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4034 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4035 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4036 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4038 * BufferView_pimpl.C (dispatch):
4039 * LyXAction.C (init):
4040 * factory.C (createInset):
4041 * lyxfunc.C (getStatus, dispatch):
4042 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4044 2003-02-21 Angus Leeming <leeming@lyx.org>
4046 * BufferView_pimpl.C (MenuInsertLyXFile):
4047 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4048 * lyxfunc.C (menuNew, open, doImport):
4049 no longer pass a LyXView & to fileDlg.
4051 2003-02-21 Angus Leeming <leeming@lyx.org>
4053 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4054 * LyXAction.C: change, BIBKEY to BIBITEM.
4055 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4056 Change InsetBibKey to InsetBibitem.
4057 Change BIBKEY_CODE to BIBITEM_CODE.
4058 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4059 * factory.C: replace insetbib.h with insetbibitem.h.
4060 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4061 * paragraph.C: replace insetbib.h with insetbibitem.h.
4062 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4063 Change bibkey() to bibitem().
4064 * text.C: remove insetbib.h.
4065 * text2.C: replace insetbib.h with insetbibitem.h.
4066 change bibkey() to bibitem().
4067 * text3.C: remove insetbib.h.
4068 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4070 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4072 * lyxrc.C (output): enclose user email in quotes (in case there are
4075 2003-02-18 John Levon <levon@movementarian.org>
4077 * buffer.h: add std::
4079 2003-02-17 John Levon <levon@movementarian.org>
4085 * pspell.C: reworking. Especially in ispell, a large
4086 number of clean ups and bug fixes.
4088 * lyxfunc.C: fix revert to behave sensibly
4090 2003-02-17 André Pönitz <poenitz@gmx.net>
4093 * commandtags.h: new LFUN_INSERT_BIBKEY
4103 * paragraph_func.C: remove special bibkey handling
4105 2003-02-17 John Levon <levon@movementarian.org>
4107 * text.C (Delete): fix case where delete at the end of
4108 the very first paragraph would not merge the pars
4110 2003-02-17 John Levon <levon@movementarian.org>
4112 * lyxrow.C: fix lastPrintablePos()
4114 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4116 * bufferparams.C (writeLaTeX): add a std:here
4118 * buffer.C: and remove a using directive there
4120 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4122 * buffer.C (makeLaTeXFile): move the code that generates the
4125 * bufferparams.C (writeLaTeX): ... in this new method
4127 * LaTeXFeatures.C (getEncodingSet): make const
4128 (getLanguages): make const
4130 * MenuBackend.C (binding): returns the binding associated to this
4132 (add): sets the status of each item by calling getStatus. Adds
4134 (read): add support for OptSubMenu
4135 (expand): remove extra separator at the end of expanded menu
4137 2003-02-15 John Levon <levon@movementarian.org>
4140 * BufferView_pimpl.C:
4142 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4143 inset code that had no actual effect. Remove unneeded status
4146 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4148 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4151 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4153 * text.C (drawLengthMarker): also draw an arrow marker for
4154 symbolic lengths (medskip...)
4156 2003-02-14 John Levon <levon@movementarian.org>
4159 * tabular.C: better method names
4161 2003-02-14 John Levon <levon@movementarian.org>
4163 * BufferView_pimpl.C:
4168 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4169 it's a more accurate name. Remove some pointless uses.
4171 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4173 * text2.C (LyXText): change order of initilizers to shut off
4176 2003-02-14 John Levon <levon@movementarian.org>
4178 * buffer.C: use ParIterator for getParFromID()
4182 * paragraph_pimpl.h:
4183 * paragraph_pimpl.C: remove unused getParFromID()
4185 2003-02-14 John Levon <levon@movementarian.org>
4187 * buffer.C: remove some very old #if 0'd parse code
4189 2003-02-13 John Levon <levon@movementarian.org>
4193 * text2.C: move hfillExpansion(), numberOfSeparators(),
4194 rowLast(), rowLastPrintable(), numberofHfills(),
4195 numberOfLabelHfills() ...
4198 * lyxrow.C: ... to member functions here.
4203 * text.C: remove LyXText::beginningOfMainBody(), and call
4204 p->beginningOfMainBody() directly. Move the check for
4205 LABEL_MANUAL into the latter.
4212 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4218 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4219 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4221 2003-02-13 John Levon <levon@movementarian.org>
4223 * CutAndPaste.C: remove debug
4225 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4227 * paragraph.C (asString): remove two unused variables
4229 * lyxtextclass.C (readTitleType):
4231 (LyXTextClass): handle new members titletype_ and titlename_
4233 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4235 2003-02-09 John Levon <levon@movementarian.org>
4238 * buffer.C: replace hand-coded list with a map for the dep clean
4240 2003-02-08 John Levon <levon@movementarian.org>
4242 * LaTeX.C: consolidate code into showRunMessage() helper
4244 2003-02-08 John Levon <levon@movementarian.org>
4249 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4250 and pass the size in explicitly
4252 * BufferView_pimpl.h:
4253 * BufferView_pimpl.C:
4255 * BufferView.C: add getCurrentChange()
4257 * BufferView_pimpl.h:
4258 * BufferView_pimpl.C: handle change lfuns
4260 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4261 for changes. Mark pasted paragraphs as new.
4263 * support/lyxtime.h:
4264 * support/lyxtime.C:
4265 * DepTable.C: abstract time_t as lyx::time_type
4268 * LColor.C: add colours for new text, deleted text, changebars
4270 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4271 package use "usenames" option.
4275 * LyXAction.C: add change lfuns
4279 * author.C: author handling
4282 * buffer.C: add a per-buffer author list, with first entry as
4283 current author. Handle new .lyx tokens for change tracking. Output
4284 author list to .lyx file. Output dvipost stuff to .tex preamble.
4285 Bump lyx format to 222.
4288 * bufferlist.C: add setCurrentAuthor() to reset current author details
4292 * bufferparams.C: add param for tracking
4294 * bufferview_funcs.C: output change info in minibuffer
4298 * changes.C: add change-tracking structure
4301 * debug.C: add CHANGES debug flag
4304 * lyxfind.C: add code for finding the next change piece
4307 * lyxrc.C: add user_name and user_email
4310 * lyxrow.C: add a metric for the top of the text line
4313 * text.C: implement accept/rejectChange()
4316 * text.C: paint changebars. Paint new/deleted text in the chosen
4317 colours. Strike through deleted text.
4321 * paragraph_pimpl.h:
4322 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4323 in the current change to the insert functions. Rework erase to
4324 mark text as deleted, adding an eraseIntern() and a range-based
4325 erase(). Implement per-paragraph change lookup and
4328 * paragraph_funcs.C: Fixup paste for change tracking.
4330 * tabular.C: mark added row/columns as new.
4332 * text.C: fix rowLast() to never return -1. Don't allow
4333 spellchecking of deleted text. Track transpose changes. Don't
4334 allow paragraph break or merge where appropriate.
4336 * text2.C: leave cursor at end of selection after a cut.
4338 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4340 * text.C (getLengthMarkerHeight):
4341 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4342 visible on screen too.
4344 2003-02-07 John Levon <levon@movementarian.org>
4346 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4348 2003-02-05 Angus Leeming <leeming@lyx.org>
4350 * lyxserver.C (read_ready): revert my patch of 11 September last year
4351 as it sends PC cpu through the roof. Presumably this means that
4352 the lyxserver will no longer run on an Alpha...
4354 2003-01-30 Angus Leeming <leeming@lyx.org>
4356 * factory.C (createInset): create an InsetCommandParam of type "index"
4357 and use it to 'do the right thing'.
4359 * text2.C (getStringToIndex): ensure that cursor position is always
4360 reset to the reset_cursor position.
4362 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4364 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4367 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4371 * lyxfunc.C: Output messages with identical spelling, punctuation,
4374 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4376 * MenuBackend.C (expandFormats): List only viewable export formats
4379 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4382 * lyxfunc.C (getStatus): Make sure that formats other than
4383 "fax" can also be disabled
4385 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4387 * text3.C (dispatch): put the lfuns that insert insets in 3
4388 groups, and call doInsertInset with appropriate arguments.
4389 (doInsertInset): new function, that creates an inset and inserts
4390 it according to some boolean parameters.
4392 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * buffer.C (readFile): remember to pass on 'par' when calling
4395 readFile recursively.
4397 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4399 * MenuBackend.C (expandFormats): add "..." to import formats.
4401 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4403 * paragraph.C (asString): Remove XForms RTL hacks.
4405 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4406 * buffer.C: fix typo
4408 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * Makefile.am (LIBS): delete var
4411 (lyx_LDADD): add @LIBS@ here instead.
4413 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4415 * Clarify the meaning of "wheel mouse jump"
4417 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4419 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4422 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4424 * importer.C (Loaders): do not preallocate 3 elements in the
4425 vector, since one ends up with 6 elements otherwise
4427 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4429 * DepTable.C (write): write the file name as last element of the
4430 .dep file (because it may contain spaces)
4431 (read): read info in the right order
4433 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4435 * paragraph_pimpl.C (simpleTeXBlanks):
4436 (simpleTeXSpecialChars):
4437 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4439 * tabular.C (latex): add some missing case statements. Reindent.
4441 * MenuBackend.C (expandToc): remove unused variable.
4443 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4452 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4455 2003-01-05 John Levon <levon@movementarian.org>
4458 * BufferView.C: add getEncoding()
4461 * kbsequence.C: do not store last keypress
4464 * lyxfunc.C: store last keypress here instead. Pass encoding
4467 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4469 * lyx_main.C (init): remove annoying error message when following
4470 symbolic links (bug #780)
4472 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4474 * text.C (insertChar):
4475 * lyxrc.C (getDescription): remove extra spaces
4477 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4479 * lyxrc.C (getDescription): remove extra spaces
4481 2002-12-20 John Levon <levon@movementarian.org>
4483 * text3.C: hack fix for page up/down across tall rows
4485 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4487 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4490 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4492 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4493 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4494 thesaurus is not compiled in
4496 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4498 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4500 2002-12-16 Angus Leeming <leeming@lyx.org>
4503 * lyx_main.C (init): remove override_x_deadkeys stuff.
4505 2002-12-12 John Levon <levon@movementarian.org>
4507 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4508 insert. Only remove shift modifier under strict
4511 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4513 * MenuBackend.C (expandToc): fix crash.
4515 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * MenuBackend.C (expandToc): gettext on float names.
4519 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4521 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4522 implement bool empty() [bug 490]
4524 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4528 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * several files: ws changes
4532 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * text2.C (setCounter): clean up a bit, use boost.format.
4535 (updateCounters): initialize par upon declaration.
4537 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4538 if the layout exists. We do not just store the layout any more.
4539 (SwitchLayoutsBetweenClasses): use boost.format
4541 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4543 * converter.C (convert): if from and to files are the same, use a
4544 temporary files as intermediary
4546 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4549 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4551 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4553 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4555 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * tabular.C (asciiPrintCell): use string(size, char) instead of
4560 * sgml.C (openTag): fix order of arguments to string constructor
4563 * lyxfunc.C (dispatch): use boost.format
4565 * lots of files: change "c" -> 'c'
4567 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4569 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4571 2002-11-25 Angus Leeming <leeming@lyx.org>
4573 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4575 * lyx_main.C (init): compile fix.
4577 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4579 * lyx_cb.C (start): boost.formatify
4580 do not include <iostream>
4582 * lengthcommon.C: ws only
4584 * boost-inst.C,BoostFormat.h: add more explict instantations
4586 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * lots of files: handle USE_BOOST_FORMAT
4590 2002-11-21 John Levon <levon@movementarian.org>
4592 * pspell.C: fix compile
4594 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4596 * lyxfunc.C (dispatch): use boost::format
4600 * lyxfont.C (stateText): use boost::format
4602 * lyx_main.C (LyX): use boost::format
4604 (queryUserLyXDir): ditto
4607 (typedef boost::function): use the recommened syntax.
4609 * importer.C (Import): use boost::format
4611 * debug.C (showLevel): use boost::format
4613 * converter.C (view): use boost::format
4618 * bufferview_funcs.C (currentState): use boost::format
4620 * bufferlist.C (emergencyWrite): use boost::format
4622 * buffer.C (readLyXformat2): use boost::format
4623 (parseSingleLyXformat2Token): ditto
4625 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4627 * LaTeX.C (run): use boost::format
4629 * Chktex.C (scanLogFile): use boost::format
4631 * BufferView_pimpl.C (savePosition): use boost::format
4632 (restorePosition): ditto
4633 (MenuInsertLyXFile): ditto
4635 * BoostFormat.h: help file for explicit instation.
4637 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4639 * tabular.C (latex): Support for block alignment in fixed width
4642 2002-11-17 John Levon <levon@movementarian.org>
4644 * BufferView_pimpl.C:
4646 * lyxfunc.C: split filedialog into open/save
4648 2002-11-08 Juergen Vigna <jug@sad.it>
4650 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4651 by my last patch (hopefully).
4653 2002-11-08 John Levon <levon@movementarian.org>
4662 * toc.C: ParConstIterator, and use it (from Lars)
4664 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4666 * lyxtextclass.[Ch]: revise and add doxygen comments
4668 2002-11-07 John Levon <levon@movementarian.org>
4670 * text.C: fix progress value for spellchecker
4672 * toc.C: fix navigate menu for insetwrap inside minipage
4674 * paragraph_funcs.C: added FIXME for suspect code
4676 2002-11-07 John Levon <levon@movementarian.org>
4678 * BufferView_pimpl.C: fix redrawing of insets
4681 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4683 * text2.C (updateCounters): fix bug 668
4685 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4687 * text3.C (dispatch): Do not make the buffer dirty when moving the
4690 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4692 * vc-backend.C: STRCONV
4695 * text2.C (setCounter): STRCONV
4697 * paragraph.C (asString): STRCONV
4699 * lyxlength.C (asString): STRCONV
4700 (asLatexString): ditto
4702 * lyxgluelength.C (asString): STRCONV
4703 (asLatexString): ditto
4705 * lyxfunc.C (dispatch): STRCONV
4708 * lyxfont.C (stateText): STRCONV
4710 * importer.C (Import): STRCONV
4712 * counters.C (labelItem): STRCONV
4713 (numberLabel): ditto
4714 (numberLabel): remove unused ostringstream o
4719 * bufferview_funcs.C (currentState): STRCONV
4721 * buffer.C (readFile): STRCONV
4722 (asciiParagraph): ditto
4723 (makeLaTeXFile): ditto
4725 * Spacing.C (writeEnvirBegin): STRCONV
4727 * LaTeXFeatures.C (getLanguages): STRCONV
4728 (getPackages): ditto
4730 (getBabelOptions): ditto
4731 (getTClassPreamble): ditto
4732 (getLyXSGMLEntities): ditto
4733 (getIncludedFiles): ditto
4737 (scanAuxFile): ditto
4740 * LString.h: add the STRCONV macros
4742 * BufferView_pimpl.C (savePosition): STRCONV
4743 (restorePosition): ditto
4744 (MenuInsertLyXFile): ditto
4746 * vc-backend.C (scanMaster): change from submatch[...] to
4749 * funcrequest.C: include config.h
4751 * factory.C: include config.h
4753 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4755 * box.C: include config.h
4757 * LaTeX.C (scanAuxFile): change from submatch[...] to
4761 2002-10-25 Angus Leeming <leeming@lyx.org>
4763 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4765 * ispell.[Ch] (setError): new method.
4766 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4767 Use setError() insetead of goto END.
4769 * lyx_cb.C (AutoSave): move out child process into new class
4772 2002-10-30 John Levon <levon@movementarian.org>
4774 * text3.C: make start appendix undoable
4776 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4778 * lyxlength.C (inPixels): Fix returned value.
4780 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4783 2002-10-24 Angus Leeming <leeming@lyx.org>
4785 * lyxgluelength.h: no need to forward declare BufferParams
4786 or BufferView, so don't.
4788 2002-10-21 John Levon <levon@movementarian.org>
4790 * BufferView.C: menuUndo ->undo, redo
4792 * BufferView.h: document, remove dead, make some methods private
4794 * paragraph_funcs.h:
4795 * paragraph_funcs.C:
4796 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4801 * sgml.C: move sgml open/close tag into sgml.C
4803 * bufferview_funcs.h: unused prototype
4806 * lyxfunc.C: remove unused
4809 * text.C: remove unused
4811 2002-10-21 John Levon <levon@movementarian.org>
4815 * BufferView_pimpl.h:
4816 * BufferView_pimpl.C: fix mouse wheel handling based on
4817 patch from Darren Freeman
4819 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4821 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4823 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4825 * lyxlength.C (inPixels): Fix hanfling of negative length.
4826 Fix LyXLength::MU case.
4828 2002-10-16 John Levon <levon@movementarian.org>
4830 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4832 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4834 * converter.C (view): add support for $$i (file name) and $$p
4835 (file path) for the viewer command. If $$i is not specified, then
4836 it is appended to the command (for compatibility with old syntax)
4838 2002-10-14 Juergen Vigna <jug@sad.it>
4840 * undo_funcs.C (textHandleUndo): alter the order in which the
4841 new undopar is added to the LyXText, as we have to set first
4842 the right prev/next and then add it as otherwise the rebuild of
4843 LyXText is not correct. Also reset the cursor to the right paragraph,
4844 with this IMO we could remove the hack in "redoParagraphs()".
4846 2002-10-09 Angus Leeming <leeming@lyx.org>
4848 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4849 to turn off an optimisation if a new inset is to be inserted.
4851 2002-10-11 André Pönitz <poenitz@gmx.net>
4853 * lyxtext.h: make some functions public to allow access
4854 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4856 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4858 * text3.C (dispatch): when changing layout, avoid an infinite loop
4861 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4863 * lyxrc.C (read): treat a viewer or converter command of "none" as
4866 * MenuBackend.C (expandFormats): for an update, also allow the
4867 formats that are not viewable
4869 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4870 script if it is newer than the lyxrc.defaults in user directory
4872 2002-10-07 André Pönitz <poenitz@gmx.net>
4874 * text.C: Vitaly Lipatov's small i18n fix
4876 2002-09-25 Angus Leeming <leeming@lyx.org>
4878 * ispell.h: doxygen fix.
4880 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4882 * buffer.h (readFile): Add a new argument to the method, to allow
4883 reading of old-format templates.
4885 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4887 * toc.C (getTocList): Get TOC from InsetWrap.
4889 2002-09-16 John Levon <levon@movementarian.org>
4891 * lyxfunc.C: check tabular for cut/copy too
4893 2002-09-12 John Levon <levon@movementarian.org>
4898 * factory.C: add header
4900 * paragraph_funcs.h:
4901 * paragraph_funcs.C: cleanup
4903 2002-09-11 John Levon <levon@movementarian.org>
4905 * PrinterParams.h: odd/even default to true
4907 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4909 * PrinterParams.h: update printer parameters for new xforms dialog
4911 2002-09-11 Angus Leeming <leeming@lyx.org>
4913 * lyxserver.C (read_ready): re-write to make it more transparent
4914 and to make it work in coherent fashion under Tru64 Unix.
4916 2002-09-11 André Pönitz <poenitz@gmx.net>
4920 * text3.C: implement LFUN_WORDSEL
4922 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4925 make floatlist_ a boost::shared_ptr<FloatList>
4927 * lyxtextclass.C: include FloatList.h
4928 (LyXTextClass): initialize floatlist_
4929 (TextClassTags): add TC_NOFLOAT
4930 (Read): match "nofloat" to TC_NOFLOAT and use it.
4931 (readFloat): modify call to floatlist_
4935 * FloatList.[Ch] (FloatList): remove commented out float
4937 (erase): new function
4939 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4941 * MenuBackend.C (expandToc): fix crash when there is no document
4944 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4946 * many files: Add insetwrap.
4948 2002-09-09 John Levon <levon@movementarian.org>
4950 * text2.C: remove confusing and awkward depth wraparound
4952 2002-09-09 John Levon <levon@movementarian.org>
4954 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4957 * buffer.C: remove getIncludeonlyList()
4960 * lyxfunc.C: remove headers
4962 2002-09-09 Juergen Vigna <jug@sad.it>
4964 * text.C (getColumnNearX): fix form Michael this is most
4965 probably a cut&paste bug.
4967 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4971 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4972 references, ws changes.
4974 * text2.C (init): update counters after init
4975 (insertParagraph): no need to set counter on idividual paragraphs.
4976 (setCounter): access the counters object in the textclass object
4977 on in the buffer object.
4978 (updateCounters): ditto
4980 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4981 shared_ptr<Counters> to avoid loading counters.h in all
4983 (LyXTextClass): initialize ctrs_
4984 (TextClassTags): add TC_COUNTER, and ...
4985 (Read): use it here.
4986 (CounterTags): new tags
4987 (readCounter): new function
4988 (counters): new funtion
4989 (defaultLayoutName): return a const reference
4991 * counters.C (Counters): remove contructor
4992 (newCounter): remove a couple of unneeded statements.
4993 (newCounter): simplify a bit.
4994 (numberLabel): some small formatting changes.
4996 * buffer.[Ch]: remove all traces of counters, move the Counters
4997 object to the LyXTextClass.
4999 2002-09-06 Alain Castera <castera@in2p3.fr>
5001 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5002 package to set the horizontal alignment on fixed width columns.
5005 * lyx_sty.h: added tabularnewline macro def.
5007 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5009 2002-09-06 John Levon <levon@movementarian.org>
5011 * LyXAction.C: tooltips for sub/superscript
5013 * MenuBackend.C: a bit more verbose
5015 * lyxfunc.C: tiny clean
5017 * undo_funcs.C: document undo_frozen
5019 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * counters.C (Counters): add missing algorithm counter.
5023 * text2.C (setCounter): lookup the counter with layouts latexname
5024 instead of by section number.
5025 (setCounter): use a hackish way to lookup the correct enum
5027 a float name->type change
5028 reset enum couners with counter name directly instead of depth value.
5030 * counters.C (Counters): remove the push_backs, change to use the
5031 float type not the float name.
5032 (labelItem): remove unused string, float name->type change
5034 * counters.h: don't include vector, loose the enums and sects vectors
5036 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5039 (Read): add float->TC_FLOAT to textclassTags
5040 (Read): and handle it in the switch
5041 (readFloat): new function
5043 * FloatList.C (FloatList): comment out the hardcoded float
5046 * lyxlayout.h: ws change.
5048 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5050 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5052 2002-09-03 Angus Leeming <leeming@lyx.org>
5054 * BufferView_pimpl.h: qualified name is not allowed in member
5055 declaration: WorkArea & Pimpl::workarea() const;
5057 * factory.C: added using std::endl directive.
5059 * text3.C: added using std::find and std::vector directives.
5061 2002-08-29 André Pönitz <poenitz@gmx.net>
5064 * text2.C: remove unused member number_of_rows
5067 * BufferView2.C: remove file, move contents to...
5068 * BufferView.C: ... here
5070 * BufferView_pimpl.C:
5071 * factory.C: move more inset creation to factory
5073 * vspace.C: avoid direct usage of LyXText, ws changes
5076 don't provide direct access to WorkArea, use two simple
5077 acessors haveSelction() and workHeight() instead
5080 2002-08-29 John Levon <levon@movementarian.org>
5082 * BufferView_pimpl.C (dispatch): do not continue when
5085 2002-08-28 André Pönitz <poenitz@gmx.net>
5087 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5090 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5092 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5094 * buffer.C: increment LYX_FORMAT to 221
5096 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5097 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5099 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5101 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5103 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5105 * factory.C (createInset): use LyXTextClass::floats
5107 * MenuBackend.C (expandFloatListInsert):
5108 (expandFloatInsert):
5111 * text2.C (setCounter):
5113 * LaTeXFeatures.C (useFloat):
5114 (getFloatDefinitions):
5116 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5118 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5119 floatlist_, with accessor floats().
5121 * FloatList.h: remove global FloatList
5123 2002-08-26 André Pönitz <poenitz@gmx.net>
5125 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5129 * BufferView_pimpl.C:
5130 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5132 2002-08-25 John Levon <levon@movementarian.org>
5134 * LyXAction.C: fix margin note description
5136 2002-08-24 John Levon <levon@movementarian.org>
5140 * bufferview_funcs.C:
5142 * undo_funcs.C: cleanups
5144 * lyxfunc.C: disable CUT/COPY when no selection
5146 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5148 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5149 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5151 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5152 Add backward compatibility to "mono", "gray" and "no".
5154 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5156 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5157 (and file_format >= 200).
5159 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5161 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5163 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5165 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5167 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5169 * BufferView_pimpl.C:
5176 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5177 inset and code to make it work with the paragraph code. The inset
5178 can be anywhere in the paragraph, but will only do the expected
5179 thing in LaTeX if the layout file contains the parameter line
5181 (or more generally, a nonzero value) for that layout.
5183 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * paragraph.h: remove the declaration of undefined counters class
5188 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5190 * text2.C (setCounter): fixed enumeration mis-count as reported by
5191 Dr. Richard Hawkins.
5193 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5195 * paragraph_funcs.h: remove some unneeded includes
5197 * text.C (backspace): pasteParagraph now in global scipe
5199 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5200 (pasteSelection): ditto
5202 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5203 * paragraph_funcs.C (pasteParagraph): ... here
5205 2002-08-20 André Pönitz <poenitz@gmx.net>
5207 * commandtags.h: new LFUNs for swapping/copying table row/colums
5210 * lyxfunc.C: support for new lfuns
5212 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * buffer.[Ch]: remove NO_COMPABILITY stuff
5217 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * boost.C (throw_exception): new file, with helper function for
5220 boost compiled without exceptions.
5225 * ParameterStruct.h:
5226 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5228 * bufferlist.C (emergencyWriteAll): use boost bind
5230 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5232 * text.C: include paragraph_funcs.h
5233 (breakParagraph): breakParagraph is now in global scope
5235 * paragraph_funcs.[Ch]: new files
5237 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5240 * buffer.C: include paragraph_funcs.h
5241 (insertStringAsLines): breakParagraph is now in global scope
5243 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5246 * CutAndPaste.C: include paragraph_funcs.h
5247 (cutSelection): breakParagraphConservative is now in global scope
5248 (pasteSelection): ditto
5250 * buffer.h: declare oprator== and operator!= for
5251 Buffer::inset_iterator
5253 * bufferlist.C (emergencyWrite): don't use fmt(...)
5255 * text3.C: add using std::endl
5257 * BufferView.C (moveCursorUpdate): remove default arg
5259 2002-08-20 André Pönitz <poenitz@gmx.net>
5261 * buffer.[Ch]: move inline functions to .C
5264 * BufferView_pimpl.C:
5266 * buffer.[Ch]: use improved inset_iterator
5269 * paragraph.[Ch]: write one paragraph at a time
5271 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5273 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5274 style if style is not specified.
5276 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5278 * text2.C (setCounter): when searching for right label for a
5279 caption, make sure to recurse to parent insets (so that a caption
5280 in a minipage in a figure float works) (bug #568)
5282 2002-08-20 André Pönitz <poenitz@gmx.net>
5284 * text3.C: new file for LyXText::dispatch() and helpers
5286 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5288 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5290 2002-08-19 André Pönitz <poenitz@gmx.net>
5293 * text.C: new LyXText::dispatch()
5295 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5297 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5299 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5301 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5304 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5306 * Makefile.am: use $(variables) instead of @substitutions@
5308 2002-08-15 André Pönitz <poenitz@gmx.net>
5311 * BufferView_pimpl.C: streamlining mathed <-> outer world
5315 * LyXAction.C: remove unused LFUN_MATH
5317 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5321 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * paragraph.C (Paragraph): reformat a bit
5324 (cutIntoMinibuffer): use builtin InsetList function instad of
5328 * buffer.C: include boost/bind.hpp, add using std::for_each
5329 (writeFileAscii): use ParagraphList iterators
5330 (validate): use for_each for validate traversal of paragraphs
5331 (getBibkeyList): use ParagraphList iterators
5332 (resizeInsets): use for_each to resizeInsetsLyXText for all
5334 (getParFromID): use ParagraphList iterators
5336 * BufferView2.C (lockInset): use paragraph list and iterators
5338 2002-08-14 John Levon <levon@movementarian.org>
5340 * lyxserver.C: remove spurious xforms include
5342 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5344 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5346 2002-08-13 André Pönitz <poenitz@gmx.net>
5349 * lyxfunc.C: further cleaning
5351 2002-08-13 André Pönitz <poenitz@gmx.net>
5353 * funcrequest.h: new constructor
5355 * funcrequest.C: move stuff here from .h
5358 * BufferView_pimpl.C:
5361 * lyxfunc.C: subsequent changes
5363 * lyxfunc.h: new view() member function
5365 * lyxfunc.C: subsequent changes
5367 2002-08-13 Angus Leeming <leeming@lyx.org>
5370 * BufferView_pimpl.C:
5378 changes due to the changed LyXView interface that now returns references
5379 to member variables not pointers.
5381 2002-08-13 Angus Leeming <leeming@lyx.org>
5383 * WordLangTuple (word, lang_code): return references to strings,
5388 * lyxtext.h: forward-declare WordLangTuple.
5393 * text.C: #include "WordLangTuple.h".
5396 * text.C: (selectNextWordToSpellcheck): constify return type.
5398 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5404 * paragraph_pimpl.h:
5407 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5409 Made updateCounter always count from start of buffer, and removed
5410 second argument (par).
5411 Reverted floats number display to '#'. Perhaps I'll try again when the
5412 code base is sanitized a bit.
5414 2002-08-12 Angus Leeming <leeming@lyx.org>
5416 * buffer.[Ch] (getLabelList): constify.
5418 2002-08-07 André Pönitz <poenitz@gmx.net>
5420 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5422 * funcrequest.h: extension to keep mouse (x,y) position
5424 2002-08-12 Juergen Vigna <jug@sad.it>
5426 * BufferView2.C (insertErrors): forbid undo when inserting error
5429 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5431 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5433 * ParagraphList.[Ch]: new files
5435 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5437 * BufferView2.C (lockInset): ParagraphList changes
5440 * bufferlist.C: ditto
5444 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5447 unused class variable counter_,
5449 * paragraph.[Ch] (getFirstCounter): delete unused function
5451 * counters.C: include LAssert.h
5452 (reset): add a new function with no arg, change other version to
5453 not have def. arg and to not allow empty arg.
5455 * text2.C (setCounter): remove empty arg from call to Counters::reset
5457 2002-08-11 John Levon <levon@movementarian.org>
5459 * Makefile.am: add WordLangTuple.h
5461 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5464 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5466 * insets/insettext.C: InsetList changes
5468 * graphics/GraphicsSupport.C (operator()): InsetList changes
5470 * toc.C (getTocList): InsetList changes
5472 * paragraph_pimpl.[Ch]: InsetList changes
5474 * paragraph.[Ch]: InsetList changes
5476 * buffer.C (inset_iterator): InsetList changes
5477 (setParagraph): ditto
5478 * buffer.h (inset_iterator): ditto
5479 * iterators.C (operator++): ditto
5480 * iterators.h: ditto
5482 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5484 * InsetList.[Ch]: new files, most InsetList handling moved out of
5487 * BufferView2.C (removeAutoInsets): InsetList changes
5489 (ChangeInsets): ditto
5491 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * paragraph_pimpl.h (empty): new function
5495 * paragraph.[Ch] (empty): new function
5497 * other files: use the new Paragraph::empty function
5499 2002-08-09 John Levon <levon@movementarian.org>
5501 * lyxtext.h: remove unused refresh_height
5503 2002-08-09 John Levon <levon@movementarian.org>
5510 * paragraph.C: move sgml char escaping out of paragraph
5513 * paragraph.C: remove id setter
5517 * paragraph_pimpl.C: remove dead tex_code_break_column
5519 * bufferview_funcs.C: small cleanup
5521 * lyxfunc.C: remove dead proto
5523 * lyxtext.h: make some stuff private. Remove some dead stuff.
5525 * lyxgluelength.C: make as[LyX]String() readable
5527 2002-08-08 John Levon <levon@movementarian.org>
5532 * ToolbarDefaults.C:
5535 * toc.C: lyxaction cleanup
5537 2002-08-08 John Levon <levon@movementarian.org>
5539 * BufferView2.C: small cleanup
5542 * lyxfind.C: move unnecessary header into the .C
5544 2002-08-08 John Levon <levon@movementarian.org>
5546 * funcrequest.h: just tedious nonsense
5549 * lyx_main.C: cleanups
5552 * vspace.C: remove dead header lyx_main.h
5554 2002-08-07 Angus Leeming <leeming@lyx.org>
5557 * paragraph_pimpl.h:
5558 Forward declare class Counters in paragraph.h by moving the ctrs member
5559 variable into Paragraph::Pimpl.
5560 (counters): new method, returning a reference to pimpl_->ctrs.
5562 * text2.C: ensuing changes.
5564 2002-08-07 John Levon <levon@movementarian.org>
5566 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5568 * BufferView_pimpl.C: announce X selection on double/triple
5571 * lyx_main.C: use correct bool in batch dispatch
5573 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5575 2002-08-07 André Pönitz <poenitz@gmx.net>
5577 * funcrequest.h: new class to wrap a kb_action and its argument
5580 * BufferView_pimpl[Ch]:
5584 * lyxrc.C: subsequent changes
5587 2002-08-07 John Levon <levon@movementarian.org>
5589 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5590 document options change.
5592 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5597 * makefile.am: move counters functionality over from
5598 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5600 2002-08-06 John Levon <levon@movementarian.org>
5602 * WordLangTuple.h: new file for word + language code tuple
5613 * BufferView2.C: use WordLangTuple
5616 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5618 2002-08-06 John Levon <levon@movementarian.org>
5620 * lyx_main.C: fix cmdline batch handling
5622 2002-08-06 André Pönitz <poenitz@gmx.net>
5624 * lyxrc.C: set default for show_banner to true
5626 2002-08-06 John Levon <levon@movementarian.org>
5628 * pspell.C: fix a crash, and allow new aspell to work
5630 2002-08-06 John Levon <levon@movementarian.org>
5633 * kbmap.C: small cleanup
5636 * vspace.C: add const
5638 2002-08-05 John Levon <levon@movementarian.org>
5640 * LyXAction.C: back to tabular-insert
5642 2002-08-04 John Levon <levon@movementarian.org>
5645 * BufferView.C: cosmetic change
5647 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5657 * BufferView2.C: purge all "Lyx" not "LyX" strings
5660 * lyxcursor.C: attempt to add some documentation
5665 * ToolbarDefaults.C:
5666 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5667 merge with LFUN_TABULAR_INSERT
5674 * pspell.C: split up i/pspell implementations into separate
5675 files, many cleanups
5677 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5679 * text2.C: some cleanup
5681 * lyxfunc.C: don't check for isp_command == "none" any more, it
5682 didn't make any sense
5684 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5689 * makefile.am: move counters functionality over
5690 from text2.C/paragraph.[Ch] to counters.[Ch], and
5692 2002-08-02 John Levon <levon@movementarian.org>
5694 * buffer.C: s/lyxconvert/lyx2lyx/
5696 2002-08-02 Angus Leeming <leeming@lyx.org>
5698 * lyxlex.C: revert John's change as it breaks reading of the user
5701 2002-08-02 Angus Leeming <leeming@lyx.org>
5703 * importer.C (Import):
5704 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5705 changes due to LyXView::view() now returning a boost::shared_ptr.
5707 2002-08-02 John Levon <levon@movementarian.org>
5709 * lyxlex.C: small cleanup
5711 2002-08-02 John Levon <levon@movementarian.org>
5713 * text2.C (status): small cleanup, no logic change
5715 2002-08-01 John Levon <levon@movementarian.org>
5718 * buffer.C (writeFile): don't output alerts, caller
5722 * lyx_cb.C: from above
5724 * lyxfunc.C: allow to open non-existent files
5726 2002-07-31 John Levon <levon@movementarian.org>
5728 * lyxserver.C: don't let incidental errors get
5731 2002-07-30 John Levon <levon@movementarian.org>
5733 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5735 2002-07-30 John Levon <levon@movementarian.org>
5738 * lyxserver.C: remove I/O callback too
5740 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5742 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5745 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * many files: strip,frontStrip -> trim,ltrim,rtrim
5749 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * PrinterParams.h: remove extern containsOnly, and include
5752 support/lstrings.h instead.
5754 * LaTeX.C (scanAuxFile): modify because of strip changes
5756 * buffer.C (makeLaTeXFile): ditto
5757 * bufferparams.C (writeFile): ditt
5758 * lyxfont.C (stateText): ditto
5759 * lyxserver.C (read_ready): ditto
5760 * vc-backend.C (scanMaster): ditto
5762 * BufferView_pimpl.h: ws changes
5764 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5766 2002-07-26 André Pönitz <poenitz@gmx.net>
5768 * kb_sequence.C: remove unnedred usings
5770 2002-07-26 Juergen Vigna <jug@sad.it>
5772 * lyxfind.C (LyXReplace): we have to check better if the returned
5773 text is not of theLockingInset()->getLockingInset().
5775 2002-07-25 Juergen Vigna <jug@sad.it>
5777 * lyxfind.C (LyXReplace): don't replace if we don't get the
5780 * undo_funcs.C (createUndo): remove debugging code.
5782 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5784 * buffer.C (parseSingleLyXformat2Token): Use default placement
5785 when reading old floats.
5787 * FloatList.C (FloatList): Change the default placement of figure
5788 and tables to "tbp".
5790 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5792 * MenuBackend.C: using std::max
5794 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5796 * MenuBackend.C (expandToc):
5797 (expandToc2): code moved from xforms menu frontend. It is now
5798 generic and TOCs are transparent to menu frontends.
5800 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5802 * toc.C (getTocList): protect against buf=0
5804 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5805 Menu as first parameter. Now, this calls itself recursively to
5806 expand a whole tree (this will be useful for TOC handling)
5807 (expandFloatInsert): remove 'wide' version of floats
5809 * MenuBackend.h (submenuname): returns the name of the submenu.
5810 (submenu): returns the submenu itself, provided it has been
5811 created by MenuBackend::expand
5813 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5815 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5816 insets which have noFontChange == true. (bug #172)
5818 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5820 * BufferView_pimpl.C: add connection objects and use them...
5823 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5825 * MenuBackend.C (expandLastfiles):
5828 (expandFloatListInsert):
5829 (expandFloatInsert):
5830 (expand): split expand in parts
5832 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5834 * lyx_gui.C: use lyx_gui::exit()
5836 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5838 * LyXAction.C: show the failing pseudo action
5840 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5842 * buffer.C (readFile): Run the lyxconvert script in order to read
5845 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5849 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5851 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5855 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5857 2002-07-22 Herbert Voss <voss@lyx.org>
5860 * lyxlength.[Ch]: add support for the vertical lengths
5862 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5864 * toc.[Ch]: std:: fixes
5866 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5868 * lyxrc.C: do not include lyx_main.h
5870 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5876 * BufferView2.C: include "lyxlex.h"
5879 * bufferparams.h: do not #include "lyxlex.h"
5881 * lyxtextclasslist.C (Add): remove method
5882 (classlist): renamed to classlist_
5884 * paragraph_pimpl.C:
5888 * bufferview_funcs.C:
5893 * toc.C (getTocList): use BufferParams::getLyXTextClass
5895 * toc.C (getTocList): use InsetFloat::addToToc
5897 * toc.[Ch]: new files, containing helper functions to handle table
5900 * lyxfunc.C (dispatch): no need to remove spaces around command
5902 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5903 first command of the sequence; it is not very clever, but I do not
5904 have a better idea, actually
5906 * LyXAction.C (LookupFunc): make sure to remove space at the
5907 beginning and end of the command
5909 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5911 * MenuBackend.C (getMenubar): new method: return the menubar of
5913 (read): treat differently reading of menu and menubar (in
5914 particular, the menubar has no name now)
5915 (Menu::menubar): remove
5917 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5920 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5922 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5923 a bibitem inset in a RTL paragraph.
5925 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5927 * paragraph_pimpl.C: constify
5929 * BufferView_pimpl.C:
5931 * lyxfunc.C: fix dispatch in a nicer way
5933 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5935 * lyxfunc.C (dispatch):
5936 * BufferView_pimpl.C:
5937 * BufferView_pimpl.h:
5939 * BufferView.h: rename Dispatch() to dispatch()
5941 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5943 * lyxlayout.C (Read): honor DependsOn tag
5945 * lyxlayout.[Ch] (depends_on): new method
5947 * version.C.in: update lyx_docversion
5949 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5951 * paragraph.C (validate): remove from here...
5952 * paragraph_pimpl.C (validate): ... and move here
5953 (isTextAt): make it const
5955 * buffer.C (getLists): ws cleanup
5957 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5959 * language.C (read): Use iso8859-1 encoding in latex_lang
5960 (this prevents LyX from crashing when using iso10646-1 encoding).
5962 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5964 * text2.C (toggleInset): if cursor is inside an inset, close the
5965 inset and leave cursor _after_ it
5967 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5969 * lyxfunc.C: move minibuffer completion handling out of here
5971 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5973 * BufferView_pimpl.C:
5974 * LaTeX.C: fix dispatch calls
5976 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5978 * text.C (drawChars): Fix Arabic text rendering.
5980 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5984 * lyxfunc.C: remove message-push/pop
5988 * lyxfunc.C: rationalise some code by removing verboseDispatch
5989 in favour of a bool argument to dispatch()
5991 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5993 * lyx_main.C (init): make sure to read symlinks as absolute paths
5995 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5998 * lyxfunc.C: no need for commandshortcut to be a member
6000 2002-07-15 André Pönitz <poenitz@gmx.net>
6002 * converter.C: add support for $$s (scripts from lib/scripts dir)
6003 * lyx_main.C: white space
6005 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6009 * lyxrc.C: remove second exit confirmation
6011 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6016 * BufferView_pimpl.h:
6017 * BufferView_pimpl.C:
6018 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6020 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6022 * MenuBackend.C (expand): add numeric shortcuts to document menu
6024 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6026 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6028 * lyxfont.C (setLyXFamily):
6035 * buffer.C (asciiParagraph): use ascii_lowercase
6037 2002-07-15 Mike Fabian <mfabian@suse.de>
6039 * lyxlex_pimpl.C (search_kw):
6040 * lyxlex.C (getLongString):
6041 * converter.h (operator<):
6042 * converter.C (operator<):
6043 * buffer.C (parseSingleLyXformat2Token):
6045 * ToolbarDefaults.C (read):
6046 * MenuBackend.C (checkShortcuts):
6048 * LColor.C (getFromGUIName):
6049 (getFromLyXName): use the compare_ascii_no_case instead of
6050 compare_no_case, because in turkish, 'i' is not the lowercase
6051 version of 'I', and thus turkish locale breaks parsing of tags.
6053 2002-07-16 Angus Leeming <leeming@lyx.org>
6055 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6056 now takes a Buffer const & argument.
6058 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6060 * BufferView.C (resize): check there's a buffer to resize
6062 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6064 * lyxfunc.C: remove dead code
6067 * lyxserver.C: use lyx_guii::set_read_callback
6069 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6071 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6072 an inset in a RTL paragraph.
6074 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6076 * lyxfunc.C: repaint after a font size update
6078 2002-07-15 André Pönitz <poenitz@gmx.net>
6080 * lyxlength.C: inBP should be able to return negative values
6082 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6084 * lyxfunc.C: use lyx_gui::update_fonts()
6086 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6088 * lyxfunc.C: use lyx_gui::update_color()
6090 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6096 * lyxrc.C: remove file->new asks for name option, and let
6097 buffer-new take an argument
6099 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6101 * BufferView_pimpl.C: remove unneeded extra repaint()
6103 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6105 * LyXAction.C: allow command-sequence with NoBuffer
6107 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6109 2002-07-10 Angus Leeming <leeming@lyx.org>
6111 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6113 2002-07-09 Angus Leeming <leeming@lyx.org>
6115 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6117 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6119 * lengthcommon.h: whitespace
6121 * lyxfunc.C: update scrollbar after goto paragraph
6123 * lyxtext.h: factor out page break drawing, and fix it so
6124 page break/added space paints as selected nicely
6126 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6128 * BufferView_pimpl.C: add FIXMEs, clean up a little
6130 2002-07-09 André Pönitz <poenitz@gmx.net>
6132 * lyxfont.[Ch]: support for wasy symbols
6134 2002-07-08 André Pönitz <poenitz@gmx.net>
6136 * BufferView_pimpl.C: apply John's patch for #93.
6138 2002-07-05 Angus Leeming <leeming@lyx.org>
6140 * BufferView_pimpl.C (buffer): generate previews if desired.
6142 * LColor.h: add "preview" to the color enum.
6144 * LColor.C (LColor): add a corresponding entry to the items array.
6146 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6149 2002-07-05 Angus Leeming <leeming@lyx.org>
6151 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6152 The body of the code is now in the method that is passed an ostream &
6153 rather than a file name.
6154 Pass an additional only_preamble parameter, useful for the forthcoming
6157 2002-07-03 André Pönitz <poenitz@gmx.net>
6159 * lyxfunc.C: simplify getStatus() a bit for math stuff
6161 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6163 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6165 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6167 * text.C (changeRegionCase): do not change case of all the
6168 document when region ends at paragraph end (bug #461)
6170 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6172 * paragraph.C (startTeXParParams):
6173 (endTeXParParams): add \protect when necessary
6175 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6177 * BufferView_pimpl.C (workAreaExpose): remove warning
6179 2002-06-27 Angus Leeming <leeming@lyx.org>
6181 * Makefile.am: add lyxlayout_ptr_fwd.h.
6183 2002-06-26 André Pönitz <poenitz@gmx.net>
6185 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6187 2002-06-25 Angus Leeming <leeming@lyx.org>
6189 * lyxfunc.C (dispatch): Comment out the call to
6190 grfx::GCache::changeDisplay. The method no longer exists now that the
6191 pixmap generation part of the graphics loader has been moved into
6194 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6196 * text2.C: layout as layout
6198 * text.C: layout as layout
6200 * tabular.C (OldFormatRead): layout as layout
6202 * paragraph_pimpl.C (TeXDeeper): layout as layout
6203 (realizeFont): layout as layout
6205 * paragraph.C (writeFile): layout as layout
6206 (validate): layout as layout
6207 (getFont): layout as layout
6208 (getLabelFont): layout as layout
6209 (getLayoutFont): layout as layout
6210 (breakParagraph): layout as layout
6211 (stripLeadingSpaces): layout as layout
6212 (getEndLabel): layout as layout
6213 (getMaxDepthAfter): layout as layout
6214 (applyLayout): layout as layout
6215 (TeXOnePar): layout as layout
6216 (simpleTeXOnePar): layout as layout
6217 (TeXEnvironment): layout as layout
6218 (layout): layout as layout
6219 (layout): layout as layout
6221 * lyxtextclass.C (compare_name): new functor to work with
6222 shared_ptr, layout as layout
6223 (Read): layout as layout
6224 (hasLayout): layout as layout
6225 (operator): layout as layout
6226 (delete_layout): layout as layout
6227 (defaultLayout): layout as layout
6229 * lyxlayout_ptr_fwd.h: new file
6231 * lyxlayout.C (Read): layout as layout
6233 * lyx_cb.C (MenuInsertLabel): layout as layout
6235 * bufferlist.C (newFile): layout as layout
6237 * buffer.C (readLyXformat2): layout as layout
6238 (parseSingleLyXformat2Token): layout as layout
6239 (insertStringAsLines): layout as layout
6240 (asciiParagraph): layout as layout
6241 (latexParagraphs): layout as layout
6242 (makeLinuxDocFile): layout as layout
6243 (simpleLinuxDocOnePar): layout as layout
6244 (makeDocBookFile): layout as layout
6245 (simpleDocBookOnePar): layout as layout
6246 (getLists): layout as layout
6248 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6250 * CutAndPaste.C (cutSelection): layout as layout
6251 (pasteSelection): layout as layout
6252 (SwitchLayoutsBetweenClasses): layout as layout
6254 * BufferView_pimpl.C (Dispatch): layout as layout
6255 (smartQuote): layout as layout
6257 * BufferView2.C (unlockInset): layout as layout
6259 2002-06-24 André Pönitz <poenitz@gmx.net>
6261 * lyxfunc.C: fix #487
6263 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6267 * lyxfunc.C: remove display_shortcuts, show_banner
6269 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6271 * Buffer_pimpl.C: oops, update on resize
6273 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6280 * BufferView.C: use repaint()
6282 * BufferView_pimpl.h:
6283 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6284 as it's a clearer description. Remove superfluous
6287 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6289 * text.C: fix bug 488. Not ideal, but getting
6290 getWord() to work properly for the insets that
6291 matter is more difficult ...
6293 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6295 * BufferView_pimpl.C:
6298 * lyxfunc.C: remove the six million index lyxfuncs to just
6299 one, and DTRT (bug 458)
6301 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6305 * BufferView_pimpl.h:
6306 * BufferView_pimpl.C: clean up resize() stuff,
6307 and unnecessary updateScreen()s
6309 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6313 * BufferView_pimpl.h:
6314 * BufferView_pimpl.C:
6317 * minibuffer.C: remove focus management of workarea,
6318 not needed. Use screen's greyOut()
6320 2002-06-17 Herbert Voss <voss@lyx.org>
6322 * converter.C: (convert) do not post a message, when converting
6323 fails, let the calling function decide what to do in this case
6325 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6327 * lyxfunc.C: tidy up a little
6329 2002-06-16 <alstrup@diku.dk>
6331 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6332 Got rid of FORMS_H_LOCATION include. Now we are
6335 2002-06-15 LyX Development team <lyx@rilke>
6337 * buffer.[Ch] (sgmlOpenTag):
6338 (sgmlCloseTag): Added support for avoiding pernicious mixed
6339 content. Return number of lines written.
6342 (makeDocBookFile): Fixed calls to sgml*Tag.
6343 Simple white space clean.
6345 (simpleDocBookOnePar): Simple white space clean.
6347 * tabular.[Ch] (docBook): Renamed to docbook and got another
6348 argument to related with the pernicious mixed content.
6350 (docbookRow): Fixed calls for docbook inset method.
6352 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6354 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6355 so it's X11 independent.
6359 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6361 2002-06-15 Lyx Development team <lyx@electronia>
6363 * intl.h: Renamed getTrans to getTransManager.
6365 2002-06-14 Angus Leeming <leeming@lyx.org>
6367 * Makefile.am: nuke forgotten stl_string_fwd.h.
6369 2002-06-12 Angus Leeming <leeming@lyx.org>
6371 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6373 2002-06-13 Angus Leeming <leeming@lyx.org>
6376 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6378 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6380 * kbmap.C (getiso): add support for cyrillic and greek
6382 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6386 * BufferView_pimpl.h:
6387 * BufferView_pimpl.C: move bogus scrolling logic
6390 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6393 * BufferView_pimpl.C: view->resize() change
6395 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6397 * BufferView_pimpl.C: topCursorVisible
6400 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6404 * lyx_gui.C: move to frontends/
6408 * lyx_main.C: changes from above
6410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6417 * lyx_main.C: minor tidy
6419 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6421 * BufferView_pimpl.h:
6422 * BufferView_pimpl.C:
6424 * BufferView.C: make painter() const,
6427 * BufferView2.C: use screen() accessor
6430 * lyx_main.C: some minor cleanup
6432 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6434 * BufferView_pimpl.h:
6435 * BufferView_pimpl.C: remove enter/leaveView,
6438 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6443 * BufferView_pimpl.h:
6444 * BufferView_pimpl.C: only construct screen once,
6447 * lyxrc.C: remove pointless comment
6449 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6452 * BufferView.C: remove active() and belowMouse()
6454 * BufferView_pimpl.h:
6455 * BufferView_pimpl.C: use workarea() not workarea_,
6456 and make it use a scoped_ptr instead
6458 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6460 * lyx_gui.C: add debug message on BadWindow
6462 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6464 * sp_spell.C: fdopen is not part of the C++ standard.
6466 * paragraph.C (InsetIterator): use >= instead of ==
6468 2002-06-07 Angus Leeming <leeming@lyx.org>
6470 Fixes needed to compile with Compaq cxx 6.5.
6471 * BufferView_pimpl.C:
6478 * lyxtextclasslist.C:
6483 all c-library variables have been moved into namespace std. Wrap
6484 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6489 Add a using std::abs declaration.
6491 * kbmap.h (modifier_pair):
6492 * paragraph.h (InsetTable, InsetList):
6493 * lyxfont.h (FontBits):
6494 type definition made public.
6496 * bufferlist.C (emergencyWriteAll): the compiler complains that
6497 there is more than one possible lyx::class_fun template to choose from.
6498 I re-named the void specialisation as lyx::void_class_fun.
6500 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6502 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6503 the compiler is is unable to find tostr in write_attribute.
6505 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6507 * buffer.C (sgmlError): hide #warning
6509 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6511 * xtl/*: get rid of xtl, which is not in use anyway
6513 * LyXAction.C (init):
6514 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6515 were unimplemented xtl experimentation
6517 2002-06-04 André Pönitz <poenitz@gmx.net>
6519 * lyxfunc.C: disable array operation on simple formulae
6521 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6523 * converter.C: constify a bit
6525 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6527 * lyx_gui.C: check xforms version correctly
6529 2002-04-30 Herbert Voss <voss@lyx.org>
6531 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6534 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6536 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6537 attempt to register it with a VCS)
6539 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6541 * lyx_main.C (init): honor variables LYX_DIR_13x and
6544 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6548 * lyx_main.C: fix a crash on bad command line,
6549 and give a useful exit status on error
6551 * lyxfunc.C (doImport): allow -i lyx to work
6553 2002-03-30 André Pönitz <poenitz@gmx.net>
6555 * lyxfunc.C: mathed font changes
6557 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6572 * trans_mgr.h: srcdocs, and some minor cleanups
6574 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6576 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6577 call getFont all the time)
6579 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6581 * switch from SigC signals to boost::signals
6583 2002-05-29 André Pönitz <poenitz@gmx.net>
6585 * paragraph_pimpl.C (getChar): don't call size() too often...
6587 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6589 * paragraph_pimpl.C (insertChar): do not try to update tables when
6590 appending (pos == size())
6592 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6593 in order to reduce drastically the number of comparisons needed to
6594 parse a large document
6596 2002-05-29 André Pönitz <poenitz@gmx.net>
6602 * textclasslist.[Ch]:
6603 * sp_ispell.h: whitespace change
6605 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6607 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6608 lyxaction directly now.
6610 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6614 * lyxvc.C: remove unused headers
6616 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6623 * undo_funcs.C: some cleanups. Use shared_ptr
6624 and a template for the undo stacks.
6626 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6628 * BufferView_pimpl.h:
6629 * BufferView_pimpl.C:
6636 * text2.C: use key_state/mouse_state
6638 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6640 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6643 * chset.C: change include order
6644 (loadFile): use boost regex and get rid of LRegex and LSubstring
6646 * Makefile.am (BOOST_LIBS): new variable
6649 * LaTeX.C: change include order.
6650 (scanAuxFile): use boost regex and get rid of LRegex and
6654 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6659 * FontInfo.C: moved to frontends/xforms/
6662 * FontLoader.C: moved into frontends for GUIIzation
6667 * lyxfunc.C: changes from above
6669 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6671 * LColor.C: remove spurious X include
6673 * BufferView_pimpl.C:
6678 * text2.C: move font metrics to frontends/
6680 2002-05-24 Juergen Vigna <jug@sad.it>
6682 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6683 setting the undo_cursor.
6685 * ParagraphParameters.h: include local includes first.
6687 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6689 * BufferView_pimpl.C:
6690 * BufferView_pimpl.h:
6694 * screen.C: move WorkArea into frontends/
6700 * BufferView2.C: move LyXScreen into frontends/
6704 * lyx_gui.C: move lyxlookup into frontends/xforms/
6706 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6709 * BufferView_pimpl.C:
6719 * bufferview_funcs.C:
6732 * vc-backend.C: move LyX/XFormsView into frontends/
6734 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6746 * text2.C: move Painter to frontends/
6748 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * buffer.C: comment out some some code that depend upon lyx_format
6753 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6754 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6756 * buffer.h (NO_COMPABILITY): turn off compability
6758 * ColorHandler.C: include scoped_array.hpp
6760 * font.C: Use more specific smart_ptr header.
6763 * ShareContainer.h: ditto
6767 * BufferView_pimpl.h: ditto
6768 * ColorHandler.h: ditto
6770 * kbmap.C (defkey): change call to shared_ptr::reset
6772 2002-05-21 Juergen Vigna <jug@sad.it>
6774 * buffer.C (insertErtContents): fix to insert ert asis if it is
6775 non empty. Skip it completely if it contains only whitespaces.
6777 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6779 * BufferView_pimpl.C:
6780 * BufferView2.C: clear selection on paste (bug 393)
6782 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6784 * DepTable.C: include ctime
6786 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6788 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6790 2002-05-14 Juergen Vigna <jug@sad.it>
6792 * text.C (breakParagraph): fixed function to honor the keepempty
6793 layout in the right maner and also to permit the right breaking
6794 algorithm on empty or non empyt keepempty paragraphs.
6796 * paragraph.C (breakParagraph): we have to check also if the par
6797 is really empty (!size()) for isempty otherwise we do the wrong
6800 2002-05-10 Juergen Vigna <jug@sad.it>
6802 * buffer.[Ch] : The following are only changes to the ert
6803 compatibility read reading old LaTeX layout and font stuff and
6804 convert it to ERTInsets.
6806 * buffer.h: added isErtInset().
6808 * buffer.C (struct ErtComp): add a fromlayout bool to check
6809 if we're inside a LaTeX layout.
6810 (isErtInset): new helper function.
6811 (insertErtContents): look for other ert insets before this one
6812 and insert the contents there, so that we don't have subsequent
6813 ERT insets with nothing between them. This way we create only one
6814 inset with multiple paragraphs. Also check if we don't insert only
6815 spaces ' ' as they are ignored anyway afterwards in the .tex file
6816 so if we have only spaces we will ignore this latex part in the
6818 (parseSingleLyXformat2Token \\layout): better compatibility when
6819 reading layout-latex stuff.
6820 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6822 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6823 stuff after reading the inset only get the information back from
6826 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6828 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6830 * LaTeXFeatures.C (getBabelOptions): New method.
6832 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6834 * BufferView_pimpl.C (Dispatch): work around missing argument for
6837 2002-05-08 Juergen Vigna <jug@sad.it>
6839 * text.C (leftMargin): handle paragraph leftindent.
6841 * paragraph.C (writeFile): write the new \\leftindent tag.
6842 (validate): handle leftindent code.
6843 (TeXEnvironment): handle paragraphleftindent code again.
6845 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6847 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6848 for paragrap_extra indent code and new token \\leftindent.
6849 (latexParagraphs): handle the leftindent as environment.
6851 * ParameterStruct.h: added leftindent support.
6853 * ParagraphParameters.C (leftIndent): added support functions for
6854 the paragraph left indent.
6856 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6859 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6861 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6864 * text.C (computeBidiTables): No bidi in insetERT.
6866 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6869 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6871 * version.C.in: pre 5
6873 2002-05-02 José Matos <jamatos@fep.up.pt>
6874 * buffer.C (makeDocBookFile): white space changes, add newline to
6876 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6878 * tabular.C (docBook): fix typo.
6880 2002-05-03 Juergen Vigna <jug@sad.it>
6882 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6883 change in LyXText as we can not be sure it was not freed.
6884 (drawOneRow): remove unused code.
6886 * text.C (drawInset): redo the calculation of the need_break_row as
6887 it could have a row which was already freed.
6888 (draw): look at the return value of drawInset and return false if
6889 it also returned false.
6890 (paintRowText): look at the return value of draw and return false if
6891 it also returned false.
6893 * lyxtext.h: added bool return type to drawInset() and draw() so that
6894 if we have a change in the row so that the rowbreak has to be redone
6895 we abort drawing as it will be called again.
6897 2002-05-02 Juergen Vigna <jug@sad.it>
6899 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6900 a change in the maintext also if we're inside an inset.
6901 (Dispatch): set the cursor again after a break line and after the
6902 screen has been updated as it could be we're in a different row.
6904 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6905 to set the cursor behind the pargraph with > size().
6906 (setCursor): check also for the same paragraph when checking where
6907 to put the cursor if we have a NFR inset.
6909 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6910 parts of layout read further up as it still was in the wrong
6913 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6915 * screen.C (drawFromTo): change sine fullRebreak always return
6918 * buffer.C (parseSingleLyXformat2Token): reindent some
6920 * BufferView_pimpl.C (update): change since fullRebreak always
6922 (Dispatch): git rid of the last hardcoded "Standard"s.
6924 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6926 * text2.[Ch] (fullRebreak): make it return void now that we always
6929 2002-04-30 Juergen Vigna <jug@sad.it>
6931 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6932 ert compatibility check for "latex" layout.
6934 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6936 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6937 minipages: use col% instead of p%, and also use the current font.
6938 (makeLaTeXFile): Fix use babel condition.
6939 (parseSingleLyXformat2Token): Correct font when reading old floats.
6941 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6943 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6944 inserting list of floats.
6946 2002-04-25 Herbert Voss <voss@lyx.org>
6948 * MenuBackend.C (expand): don't add the graphics extensions to the
6951 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6954 non-existing layout, do not complain if it was the default layout
6955 of the original class (bug #342)
6957 2002-04-24 Juergen Vigna <jug@sad.it>
6959 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6960 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6962 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6964 * buffer.C (getBibkeyList): If using \bibliography, return the
6965 option field with the reference itself. Enables us to provide natbib
6966 support when using \bibliography.
6968 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6970 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6972 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6973 natbib is provided by the LaTeX class.
6975 2002-04-23 Juergen Vigna <jug@sad.it>
6977 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6980 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6982 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6984 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6986 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6987 ensuremath around textordmasculine, textordfeminine and
6990 2002-04-19 Juergen Vigna <jug@sad.it>
6992 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6993 reinitializing the buffer otherwise row-dimensions may be wrong.
6994 (update): reset also the selection cursors if they do exits otherwise
6995 their x/y positions may be wrong.
6997 * text2.C (cursorDown): don't enter the inset if we came from a row
6998 above and are one row over the inset.
7000 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7001 really leaving an inset.
7003 2002-04-18 Juergen Vigna <jug@sad.it>
7005 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7006 of the selected paragraph does not have the selected layout also if
7009 * text2.C (setLayout): fixed bug which did not change last selected
7012 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7013 changed the read and substituted \\end_float with \\end_inset!
7015 * BufferView_pimpl.C (cursorPrevious):
7016 (cursorNext): fixed to make it work with rows heigher than the work
7017 area without moving the cursor only the draw of the row.
7018 (workAreaMotionNotify): fix jumping over high rows.
7020 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7022 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7025 2002-04-16 Juergen Vigna <jug@sad.it>
7027 * text2.C (setCursor): set also the irow().
7028 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7030 (cursorDown): support for locking an inset if the x_fix value goes
7031 inside it. That way I can transverse insets too with cursor up/down.
7033 * lyxrow.h: added irow helper function same as other (i) functions.
7035 * BufferView_pimpl.C (cursorPrevious):
7036 (cursorNext): fixed for insets!
7038 2002-04-15 Juergen Vigna <jug@sad.it>
7040 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7041 position otherwise it is wrong in some cases.
7043 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7044 inside the inset before the call.
7046 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7048 * buffer.[Ch] (getBibkeyList): make it const.
7050 2002-04-12 Juergen Vigna <jug@sad.it>
7052 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7054 * text2.C (getCursorX): new helper function
7055 (setCursor): compute also ix_
7056 (setCursorFromCoordinates): set also ix.
7058 * lyxcursor.h: added ix_ and helper functions.
7060 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7062 * buffer.C (insertStringAsLines): dont break paragraph if the this
7063 paragraph is inside an inset which does not permit it!
7065 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7066 also with no chars on this paragraph.
7067 (paintRowText): only paint stuff if it's inside the workarea!
7069 * paragraph.C (breakParagraph): honor keepempty flag and break the
7070 paragraph always below not above.
7072 * BufferView2.C (unlockInset): update the paragraph layout on inset
7073 unlock as we changed paragraph in such a case.
7075 * lyxfind.C (LyXFind): clear the former selection if not found!
7077 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7078 again called in insertChar().
7080 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7081 an inset which uses the whole row!
7082 (rightMargin): ditto.
7083 (insertChar): force a rebreak if we inserted an inset!
7085 2002-03-28 Herbert Voss <voss@lyx.org>
7087 * lyxlength.[Ch]: add inBP() to get the right PS-point
7088 units (BigPoint). With inPixels we have rounding errors
7090 2002-04-11 Juergen Vigna <jug@sad.it>
7092 * text2.C (setCursorFromCoordinates): set iy to the right value.
7093 (setCursor): add check if row->previous exists!
7095 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7096 an old float_type as this was the case in the old code!
7098 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7100 * BufferView2.C (showLockedInsetCursor): use iy
7101 (fitLockedInsetCursor): ditto
7103 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7104 locked insets as there we have the right value now.
7106 * lyxcursor.C: added iy_ variable and iy functions to set to the
7107 baseline of cursor-y of the locked inset.
7109 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7110 (setCursor): fixed for insets which need a full row.
7112 * text.C (rowLastPrintable): don't ignore the last space when before
7113 an inset which needs a full row.
7114 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7115 as last character of a row when before a inset which needs a full row.
7117 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7119 * version.C.in: update date
7121 * text2.C (fullRebreak): try to always return true and see what
7124 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7126 * MenuBackend.C (expand): use Floating::listName
7128 * FloatList.C (FloatList): add listName argument to the built-in
7131 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7132 text associated with the float.
7134 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7138 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7140 * ShareContainer.h: add a couple of missing typenames.
7142 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7144 * lyxrc.C (getDescription): use _() correctly rather than N_().
7146 2002-03-28 Herbert Voss <voss@lyx.org>
7148 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7149 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7151 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7153 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7154 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7156 2002-03-29 Juergen Vigna <jug@sad.it>
7158 * lyxfunc.C (dispatch): add a missing fitCursor call.
7160 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7161 it was scrolled by a cursor move, so return the bool status.
7163 * BufferView.C (fitCursor): return the bool flag also to the outside
7164 world as this is needed.
7166 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7168 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7169 call the edit() as it is not needed (and wrong) IMO.
7170 (workAreaButtonPress): set the screen_first variable before evt.
7171 unlock the inset as this may change screen_first and then we have
7172 a wrong y position for the click!
7174 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7176 * MenuBackend.C (expand): another translation that I missed
7178 2002-03-28 Juergen Vigna <jug@sad.it>
7180 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7182 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7184 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7186 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7188 * MenuBackend.C (expand): fix export/view/update when there is no
7191 2002-03-27 Herbert Voss <voss@lyx.org>
7193 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7196 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7198 * bufferview_funcs.C (currentState): only show paragraph number
7199 for is DEVEL_VERSION is set.
7201 * lyxfunc.C (dispatch): put warning in INFO channel
7203 * MenuBackend.C (expand): translate the name of floats
7205 * FloatList.C (FloatList): mark the float names for translation
7207 * converter.C (convert): use LibScriptSearch
7209 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7211 * MenuBackend.C (defaults): fix default menu (we might as well get
7214 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7216 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7219 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7221 * lyxvc.C: reorder includes.
7223 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7225 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7228 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7230 * CutAndPaste.C: change layouts earlier on paste
7231 to avoid crashing when calling getFont()
7233 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7235 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7238 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7240 * WorkArea.C: remove 'Pending' debug message.
7242 * most files: ws cleanup
7244 * buffer.[Ch]: ws changes
7246 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7248 2002-03-21 Juergen Vigna <jug@sad.it>
7250 * tabular.C (SetMultiColumn): collapse also the contents of the
7251 cells and set the last border right. Added a Buffer const * param.
7253 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7255 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7258 2002-03-19 Juergen Vigna <jug@sad.it>
7260 * text2.C (clearSelection): reset also xsel_cache.
7262 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7263 where it needs to be called (John tells us to do so too :)
7264 (selectionLost): reset sel_cache.
7266 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7268 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7270 * text2.C (setCursorIntern): put debuging code in INSETS channel
7272 2002-03-19 André Pönitz <poenitz@gmx.net>
7274 * lyxfunc.C: tiny whitespace change
7276 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7278 * ToolbarDefaults.C (init):
7279 * LyXAction.C (init):
7281 * BufferView_pimpl.C (Dispatch):
7282 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7284 2002-03-19 Allan Rae <rae@lyx.org>
7286 * exporter.C (Export): removeAutoInsets before doing anything else.
7287 While I've just introduced a dependency on BufferView this really is
7288 the best place to clean the buffer otherwise you need to cleanup in
7289 a dozen places before calling export or cleanup in a dozen functions
7292 * converter.C (runLaTeX):
7293 (scanLog): Better handling of removeAutoInsets and screen updates.
7295 * lyxfunc.C (dispatch): small whitespace changes
7297 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7299 * WorkArea.C (C_WorkAreaEvent): return a value.
7300 (event_cb): return 1 if we handled the event, 0 otherwise.
7302 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7304 2002-03-18 Juergen Vigna <jug@sad.it>
7306 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7307 (GetAdditionalWidth): ditto.
7311 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7312 inset if we're there actually (probably not used right now but this
7313 is the direction to go for unifying code).
7314 (paste): disable code to clear the selection.
7316 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7317 inside an InsetText and move the check further up as it is in the
7320 * text2.C (pasteSelection): set a selection over the pasted text.
7322 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7324 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7325 and libgraphics to build on Cygwin.
7327 2002-03-15 Juergen Vigna <jug@sad.it>
7329 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7330 inserting an Inset into the paragraph. I know this is not the best
7331 fix but we already use current_view in CutAndPaste so we will remove
7332 all of it's using at the same time.
7334 * buffer.C (sgmlError): deactivated function till it is rewritten in
7335 the right mode, now it can create problems.
7337 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7338 before accessing it.
7340 2002-03-14 Juergen Vigna <jug@sad.it>
7342 * undo_funcs.C (textHandleUndo): do the right thing when updating
7343 the inset after the undo/redo.
7345 * text2.C (setCursor): just some testcode for #44 not ready yet.
7347 * undo_funcs.C (textHandleUndo): set the next() and previous()
7348 pointers of the paragraph to 0 before deleting otherwise we have
7349 problems with the Paragraph::[destructor].
7351 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7352 on a paragraph insertion.
7354 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7356 * buffer.C (asciiParagraph): use += operator for char append to
7359 * paragraph.C (getFontSettings): compare >= not just >
7360 (highestFontInRange): ditto
7363 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7365 * paragraph.C: change several algorithm to be more appripriate for
7366 the problem domain. This is lookip in FontList and in the InsetList.
7368 2002-03-13 André Pönitz <poenitz@gmx.net>
7371 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7373 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7378 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7380 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7382 * Painter.C (display): anon helper function, adjust code for this
7384 (pixmap): remove function.
7386 * Painter.h: remove private display variable.
7388 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7390 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7392 * WorkArea.[Ch]: remove figinset_canvas cruft.
7394 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * lyxtextclass.C (operator): add one item cache optimization.
7398 * bufferlist.h: doxy changes
7400 * bufferlist.C: ws changes
7402 * DepTable.[Ch] (ext_exist): place const in the right spot.
7404 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7406 (workAreaExpose): call resizeInsets when the with BufferView changes.
7407 (Dispatch): adjust for protectedBlank removal
7408 (specialChar): call updateInset if the insert went ok.
7410 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7411 specialChar instead.
7413 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7415 * BufferView.h: doxy change
7417 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7419 * lyxtextclass.C (operator[]): remove non-const version
7420 (defaultLayout): remove non-const version
7422 2002-03-12 Juergen Vigna <jug@sad.it>
7424 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7425 did resize the LyXText too.
7427 * buffer.C (readLyXformat2): set layout information on newly allocated
7430 * tabular.C (OldFormatRead): set layout information on the paragraph.
7432 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7434 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7436 2002-03-11 Juergen Vigna <jug@sad.it>
7438 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7440 (resizeCurrentBuffer): force also the insets to resize themselfes.
7441 (moveCursorUpdate): fixed up for InsetText.
7443 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7446 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7447 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7448 value of Dialogs::tooltipsEnabled().
7449 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7451 2002-03-08 Juergen Vigna <jug@sad.it>
7453 * BufferView_pimpl.C (updateInset): update inset inside inset also
7454 if it isn't inside theLockingInset().
7456 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7458 * buffer.C (asciiParagraph): redo some of the word and line length
7460 (getLists): look for Caption instead of caption.
7462 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7464 * buffer.C (Buffer): initialize niceFile to true
7467 (makeDocBookFile): make sure niceFile is true on exit
7469 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7471 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7473 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7475 * LyXSendto.C: remove.
7476 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7477 * lyx_gui.C: remove now-redundant comment.
7478 * ColorHandler.h: remove forward declaration of class WorkArea.
7479 * lyxfunc.C: remove #include "WorkArea.h".
7481 2002-03-07 Juergen Vigna <jug@sad.it>
7483 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7484 got moved away with the DEPM and also set the inset_owner always
7485 right which before could have been omitted.
7487 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7489 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7490 wanted layout is not found.
7492 2002-03-07 Juergen Vigna <jug@sad.it>
7494 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7496 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7498 * paragraph.C (breakParagraph): use default layout not layout of
7500 (Paragraph): clear ParagraphParameters.
7502 2002-03-06 Juergen Vigna <jug@sad.it>
7504 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7505 otherwise it would not be a valid lenght. Fixed a special case in
7506 the minipage compatibility read where we end the document with a
7509 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7510 was set as it could be 0 for InsetTexts first entry.
7512 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7514 * paragraph.C (writeFile): if layout is empty write out
7515 defaultLayoutName().
7517 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7518 file without named layout we set layout to defaultLayoutName().
7520 2002-03-06 Juergen Vigna <jug@sad.it>
7522 * CutAndPaste.C (copySelection): set layout for new paragraph.
7524 * text.C (prepareToPrint): leave ERT inset left aligned
7525 (leftMargin): don't indent paragraphs inside ERT insets
7527 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7529 * paragraph.C (breakParagraph): dont call clear do the work manually
7531 * paragraph.[Ch] (clear): remove function
7533 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7535 * paragraph.C (Paragraph): dont call clear, the work has already
7538 * lyxtextclass.C (operator): assert if n is empty
7540 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7541 work manually instead.
7543 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7545 * BufferView_pimpl.C: protect selectionLost against text == 0
7547 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7549 * text.C (breakParagraph): fix a setting layout to '0' problem.
7551 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7553 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7554 final location of file, for the included files, and graphics.
7556 2002-03-05 Juergen Vigna <jug@sad.it>
7558 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7560 2002-03-04 Juergen Vigna <jug@sad.it>
7562 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7564 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7565 last column of multicolumn cells.
7566 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7568 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7570 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7571 file if it doesn't go to a temporary file.
7573 * buffer.C (sgmlOpenTag):
7574 (sgmlCloseTag): remove extra newline insertion.
7576 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7578 * text.C (getRowNearY): comment out debug msg
7580 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7582 * text2.C: first -> first_y
7584 * text.C (getRowNearY): add some attemts at a possible
7585 optimization, not working.
7587 * tabular.[Ch]: add BufferParams to several function so that newly
7588 created paragraph can be initialized to he default layotu for the
7591 * tabular-old.C (ReadOld): add buf->params to call of Init
7593 * screen.C: rename text->first to text->first_y
7595 * paragraph.C (breakParagraph): always set layout in the broken
7598 * lyxtextclass.C (Read): remove lowercase
7601 (delete_layout): ditto
7603 * lyxtext.h: rename first -> first_y
7605 * lyxlayout.C (Read): remove lowercase
7608 (obsoleted_by): ditto
7610 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7612 * buffer.C (insertErtContents): add params are to InsetERT
7613 (parseSingleLyXformat2Token): add code to check if a paragraphs
7614 layout really exist.
7615 (parseSingleLyXformat2Token): add params to several inset
7617 (asciiParagraph): remove lowercase, do the layout comparisons with
7620 * BufferView_pimpl.C (cursorNext): first -> first_y
7621 (resizeCurrentBuffer): first -> first_y
7622 (updateScrollbar): first -> first_y
7623 (scrollCB): first -> first_y
7624 (workAreaMotionNotify): first -> first_y
7625 (workAreaButtonPress): first -> first_y
7626 (checkInsetHit): first -> first_y
7627 (cursorPrevious): first -> first_y
7628 (cursorNext): first -> first_y
7629 (Dispatch): add buffer_->params to severl inset contructors
7631 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7633 * lyxlayout.C (Read): remove some debug info that I forgot.
7635 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7636 clean up the code slightly.
7637 (makeLinuxDocFile): ditto
7638 (makeDocBookFile): ditto
7640 * text2.C: layout as string
7642 * text.C: layout as string
7644 * paragraph_pimpl.C: layout as string
7646 * paragraph.[Ch]: layout as string
7648 * lyxtextclasslist.[Ch]: layout as string
7650 * lyxtextclass.[Ch]: layout as string
7652 * lyxtext.h: layout as string
7654 * lyxlayout.[Ch]: layout as string
7656 * lyx_cb.C: layout as string
7658 * bufferview_funcs.C: layout as string
7660 * bufferparams.C: layout as string
7662 * buffer.C: layout as string
7664 * LyXView.[Ch]: layout as string
7666 * LaTeXFeatures.[Ch]: layout as string
7668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7670 * BufferView_pimpl.C: change current_layout to string, remove
7675 (workAreaButtonRelease): layout as string
7677 * BufferView2.C (unlockInset): adjust
7679 * vspace.C (asLatexCommand): use an explict temp variable.
7681 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7683 * Makefile.am: use FRONTEND_*
7685 2002-03-01 Juergen Vigna <jug@sad.it>
7687 * tabular.C (SetWidthOfMulticolCell): changed to something better
7688 I hope but still work in progress.
7689 (recalculateMulticolumnsOfColumn): renamed function from
7690 recalculateMulticolCells as it is more appropriate now.
7691 (SetWidthOfCell): calculate multicols better.
7693 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7695 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7697 * lyxfunc.C (processKeySym): print sequence also if it is
7698 `deleted' (complete)
7700 * kbsequence.C (print): print sequence even if it is deleted
7701 (complete would be a better word, actually).
7703 * lyxfunc.C (dispatch): print complete options after a prefix key
7705 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7707 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7709 * text2.C (setCharFont): eliminate setCharFont code duplication.
7711 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7713 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7714 LFUN_TABULAR_FEATURE (bug #177)
7716 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7718 * Makefile.am: remove figure.h
7720 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7722 * Bufferview_pimpl.C:
7734 * text2.C: remove #include "lyx_gui_misc.h".
7736 * LaTeX.C: added #include <cstdio>
7738 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7740 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7741 that the paragraph following this one can have.
7743 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7745 * vspace.C (asLatexCommand): fix bogus gcc warning
7747 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7749 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7751 * text2.C (setLayout): get rid of redundant code
7753 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7755 * text2.C (incDepth): make sure depth cannot be increased beyond
7758 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7760 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7761 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7763 * PainterBase.h (image):
7764 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7767 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7771 * BufferView_pimpl.C:
7772 * BufferView_pimpl.h:
7792 * sp_spell.C: remove fig inset, and the crap house of
7793 cards that follows it
7795 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7801 * nt_defines.h: move .h into support/
7803 * vms_defines.h: remove
7805 * WorkArea.C: add space in debug output
7809 * buffer.C: add WITH_WARNINGS
7813 * bufferlist.C: s/retrive/retrieve/, add docs
7824 * lyxgui.C: add ID to X error handler
7826 * lyxtestclass.c: fix typo
7828 2002-02-26 Juergen Vigna <jug@sad.it>
7830 * tabular_funcs.C (write_attribute): changed so that some default
7831 attributes are not written at all.
7832 (getTokenValue): set default values before trying to read the
7833 value so we have the return value always set as default if we don't
7834 find the token we search for.
7836 * tabular.C (Write): write bools as bools not as strings!
7838 2002-02-22 Juergen Vigna <jug@sad.it>
7840 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7841 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7843 * text.C (leftMargin): don't add an indent for paragraphs inside
7844 tabular cells (fix #208).
7846 2002-02-21 José Matos <jamatos@fep.up.pt>
7848 * tabular.C (docBook): fixed support for long tables.
7850 2002-02-20 Juergen Vigna <jug@sad.it>
7852 * text2.C (getFont): get the drawing font of the Inset if this
7853 paragraph is inside an inset (only important for InsetERT for now).
7855 * buffer.C (insertErtContents): use new lanugage params in ERT
7858 * CutAndPaste.C: commenting out seemingly uneeded code.
7860 2002-02-19 Allan Rae <rae@lyx.org>
7862 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7863 Iterators might be simple to use but they also get invalidated.
7864 (removeAutoInsets): renamed saved cursor tracking variables and added
7865 some comments to clarify what everything does.
7867 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7874 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7875 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7878 * vc-backend.h: remove #include "support/syscall.h"
7882 * converter.C: rearrange #includes in Lars' approved fashion.
7884 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7885 forward declare class Timeout in the header file.
7887 * XFormsView.C: changes due to the above.
7889 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7892 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7893 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7895 2002-02-18 José Matos <jamatos@fep.up.pt>
7897 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7900 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7902 * a lot of small ws changes
7903 * add a lot of using std::XXX
7904 * use std construcs some places where approp.
7905 * use some exisint stuff from lyxfunctional where approp.
7906 * Make file changes to use partial linking (lets test this now...)
7908 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7912 remove #include "support/syscontr.h" as it's redundant. Always has been.
7920 change Systemcalls::System to Systemcalls::Wait and
7921 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7922 No change of functionality, just reflects the stripped down Systemcalls
7925 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7927 * debug.[Ch]: add a GRAPHICS type to the enum.
7929 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7931 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7933 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7936 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7938 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7939 match the changes below.
7941 * text2.C (toggleInset): if there is not editable inset at cursor
7942 position, try to see if cursor is _inside_ a collapsable inset
7945 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7947 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7948 document menu has a nice checkbox
7950 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7952 * lyxlength.C (asLatexString): change PW to output as percent of
7955 * lengthcommon.C: change '%' to 't%'
7957 * lyxfunc.C (dispatch): a few comments from Martin
7959 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7963 * BufferView_pimpl.h:
7964 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7967 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7969 * vspace.C (inPixels): fix compiler warning
7971 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7973 * lyxfunc.C (getStatus): fix status message for disabled commands.
7975 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7977 * BufferView_pimpl.C: fix crash on close buffer
7978 during selection (#227)
7980 2002-01-27 Herbert Voss <voss@lyx.org>
7982 * buffer.C: link old Figure to new graphic inset
7984 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7986 * FontLoader.C (getFontinfo): Change the latex font names in order
7987 to match the names of type1inst.
7989 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7991 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7993 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7996 (remove_files_with_extension): ditto
7997 (remove_file): ditto
8000 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8001 document is smaller than the work area height. Do not initialize
8002 static variables to 0.
8004 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8006 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8008 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8009 LFUN_LAYOUT_PARAGRAPHS.
8011 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8012 tabular. It is possible to provide a possible cell, which will
8013 typically be the actcell from the corresponding insettabular
8015 * lyxfunc.C (getStatus): small cleanup; disable
8016 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8019 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8021 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8023 * paragraph.C (startTeXParParams):
8024 (endTeXParParams): new methods. The LaTeX code to
8025 start/end paragraph formatting
8026 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8027 empty (fixes bug #200)
8029 * vspace.C (inPixels): adapt to the change below
8030 (inPixels): [later] more cleanups (remove unused variables)
8032 * lyxlength.C (inPixels): change to use a width and a height as
8035 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8037 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8038 Replaced with \paperwidth
8040 * DepTable.C (insert): add std:: qualifier
8042 2002-01-18 Allan Rae <rae@lyx.org>
8044 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8047 * text.C (drawInset): Turned out I didn't know enough about how
8048 rebreaking worked. This fixes most of the redraw problems. I see
8049 an occasional cursor trail when a line is broken now and the cursor
8050 placement can seem out by a few pixels also after a rebreak.
8052 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8054 * buffer.C (parseSingleLyXformat2Token): update because minipage
8055 width is now a LyXLength
8057 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8059 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8062 2002-01-17 Juergen Vigna <jug@sad.it>
8064 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8066 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8067 is set correctly and the inset is updated correctly.
8069 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8071 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8072 the beginning of the loop.
8074 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8076 * lyxrc.C: improve help for use_scalable_fonts
8078 2002-01-17 Allan Rae <rae@lyx.org>
8080 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8082 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8084 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8085 make sure to set their inset_owner to the right value (bug #171)
8087 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8090 * DepTable.C: Implement mtime checking to reduce time spent doing
8093 2002-01-16 Juergen Vigna <jug@sad.it>
8095 * tabular.C (GetAdditionalHeight): one of error fixed.
8097 * lyxrc.C (output): small fix in writing use_pspell.
8099 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8101 * sp_base.h: #include LString.h
8103 2002-01-16 Allan Rae <rae@lyx.org>
8105 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8106 Can someone check this please?
8108 * text.C (drawInset): It was possible that p.row would be removed by
8109 breakAgainOneRow upsetting a few other settings. There may be another
8110 small tweak possible by setting need_break_row = 0 when p.row has been
8111 removed but I don't know enough about the logic here.
8113 2002-01-15 Allan Rae <rae@lyx.org>
8115 * text.C (insertChar): removed conditional truism.
8117 * BufferView2.C (removeAutoInsets): More tweaks.
8118 cur_par_prev could be a stray pointer. Check for trailing empty line
8119 in case last line was cur_par and only had an error inset on it.
8121 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8123 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8126 * vc-backend.C (most methods):
8127 * exporter.C (Export):
8128 * converter.C (convert):
8130 * LyXSendto.C (SendtoApplyCB):
8131 * lyxfunc.C (dispatch):
8135 * lyx_cb.C (AutoSave):
8137 * BufferView_pimpl.C (MenuInsertLyXFile):
8138 * buffer.C (runChktex): use Buffer::filePath().
8140 * buffer.h: rename filename to filename_; rename filepath to
8141 filepath_ and make it private
8142 (filePath): new method
8144 * buffer.C (writeFile): use fileName()
8147 * lyx_main.C (init): fix starting of LyX when the binary is a
8148 link from so,ewhere else.
8150 * minibuffer.C: include <cctype> for isprint
8152 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8154 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8155 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8156 name clash with InsetCollapsable's width function.
8158 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8160 * lastfiles.C: include <iterator>
8162 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8164 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8167 * buffer.C (makeLaTeXFile): ditto.
8168 Also make loop operation more transparent.
8170 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8172 * ToolbarDefaults.C: remove trailing comma closing namespace.
8174 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8176 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8179 * trans.C (Load): comment out unused variable, allowed.
8181 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8183 * minibuffer.[Ch] (append_char): new method to recieve input from the
8184 drop-down completion browser. If a key was pressed, then recieve this
8185 char and append it to the existing string.
8186 (peek_event): modify the positioning data passed to the completion
8187 browser so that it can be placed above the minibuffer rather than below.
8188 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8190 * LyXAction.C (init): alloe error-next for readonly documents.
8192 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8195 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8197 * bufferlist.C (readFile): create the buffer _after_ checking that
8200 * lyxfunc.C (verboseDispatch): fix handling of arguments
8202 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8204 * lyxrc.C: use string::erase() instead of initializing to "".
8207 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8209 * BufferView_pimpl.h:
8210 * BufferView_pimpl.C:
8213 * text2.C: tell X when we have made a selection for copying
8215 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8217 * BufferView_pimpl.C (MenuInsertLyXFile):
8218 * lyxfunc.C (menuNew):
8220 (doImport): add shortcuts to directory buttons
8222 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8225 * lyxfunc.C (setStatusMessage):
8226 (getStatusMessage): new methods
8227 (getStatus):use setStatusMessage instead of setErrorMessage
8228 (dispatch): when function is disabled, set error message here
8229 [instead of in getStatus previously]
8231 * BufferView_pimpl.C (workAreaButtonRelease): update
8232 toolbar/menubar here too.
8234 2002-01-13 Allan Rae <rae@lyx.org>
8236 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8237 Now seems indestructible. Remaining task is to audit all other
8238 code affected by deleteEmptyParagraphMechanism. One small quirk
8239 left is that an empty document with an error in the preamble can
8240 be made to report an error but no error box appears. I don't know
8242 (removeAutoInsets): Improved comments.
8244 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8247 * Thesaurus.C: update for Aiksaurus 0.14
8249 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8251 * text2.C (firstParagraph): removed member function, all uses
8252 replaces with ownerParagraph
8253 (redoParagraphs): here
8255 (toggleAppendix): here
8256 * BufferView2.C (insertErrors): here
8257 (setCursorFromRow): here
8259 2002-01-13 Allan Rae <rae@lyx.org>
8261 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8262 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8263 There is still a way to segfault this although you may have to do this
8264 multiple times: Have an InsetERT with an unknown command in it.
8265 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8266 <down-arrow>, <Enter> again, View->DVI, BANG!
8268 * text2.C (setCursor):
8269 (deleteEmptyParagraphMechanism):
8270 * lyxtext.h (setCursor):
8271 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8272 Making use of the return value may help fix other bugs.
8274 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8276 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8278 * LyXView.C (updateMenubar): call MenuBar::update here
8279 (updateToolbar): but not here
8280 (showState): do not update toolbar/menubar
8282 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8283 should need to care about that.
8285 * lyxfunc.C (verboseDispatch): simplify a bit
8286 (getStatus): have a version which takes a pseudoaction, and
8287 another which requires a (kb_action,string).
8289 * LyXAction.C (retrieveActionArg): make it work also when action
8290 is not a pseudo-action.
8291 (getActionName): simplify a bit
8294 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8296 * lyxfunc.C (verboseDispatch): new families of methods with
8297 several ways to specify a command and a bool to indicate whether
8298 the command name and shortcut should be displayed in minibuffer
8299 (eventually, we could extend that to a finer bitmask like
8300 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8301 (dispatch): the pristine dispatch command which just, well,
8302 dispatchs! Note it still sets its result to minibuffer; I'm not
8305 * lyxfunc.h: remove setHintMessage
8307 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8309 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8311 * BufferView_pimpl.C (specialChar): delete new inset if we have
8312 not been able to insert it.
8314 * kbmap.C: revert to using int instead of kb_action, since all we
8315 are dealing with is pseudo-actions.
8317 * LyXAction.C (searchActionArg): change to return int instead of
8318 kb_action, since the result is a pseudoaction.
8320 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8322 * buffer.C (insertErtContents): Fix (partially) the font bug.
8324 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8326 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8327 as the other one is broken on my machine!
8329 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8332 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8334 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8336 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8337 reflect their actual use. Provide compatibility code for older lyxrc
8340 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8342 change names of popup font variables in line with the changes to lyxrc.C
8344 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8346 * buffer.C (asciiParagraph): avoid outputing a word twice after
8349 * lyxrc.C (getDescription): document that document_path and
8350 template_path can be empty.
8352 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8354 * LaTeXFeatures.C (getMacros):
8355 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8357 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8359 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8361 (getPackages): rename feature "floats" to "float". Use an array to
8362 iterate over 'simple' features (i.e. just a \usepackage). Add
8363 handling of "amsmath" (renamed from "amsstyle").
8365 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8367 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8370 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8372 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8373 FuncStaus::FuncStatus & FuncStaus::some_method().
8375 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8377 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8378 of the func_satus stuff. Edited and massaged in various ways by
8381 * lyxfunc.C (getStatus): use FuncStatus
8383 2002-01-08 Juergen Vigna <jug@sad.it>
8385 * text.C (nextBreakPoint): use function Inset::isChar().
8387 * paragraph.C (TeXOnePar): use function
8388 Inset::forceDefaultParagraphs.
8390 * buffer.C (latexParagraphs): use function
8391 Inset::forceDefaultParagraphs.
8393 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8395 * lyx_gui.C (init): set the style of the menu popups to
8396 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8398 2002-01-07 Juergen Vigna <jug@sad.it>
8400 * text.C (setHeightOfRow): small fix
8401 (prepareToPrint): don't look at alignment if we don't have the place
8404 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8406 * box.C: New file. Move the Box methods and functions out of box.h,
8407 following Lars' suggestion.
8409 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8411 * box.h: #include "support/LOstream.h", needed for inlined function.
8414 * lyxtextclasslist.C: added some using std declarations.
8416 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8418 * box.h: make signed dimensions to allow insets wider than
8419 the screen (bug #162)
8421 * BufferView_pimpl.C: add some insetHit debug
8423 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8425 * vc-backend.C: add FIXME
8427 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8429 * lyxfunc.C (getStatus): enable code for showing math font status
8432 2002-01-07 Juergen Vigna <jug@sad.it>
8434 * text.C (nextBreakPoint): removed debug output not needed anymore.
8436 2002-01-06 Juergen Vigna <jug@sad.it>
8438 * text.C (nextBreakPoint): fixed up this function we had this bug
8439 since ever but now hopefully we break row better.
8440 (insertChar): we have to check if an inset is the next char as it
8441 could now happen that a large inset is causing a break.
8443 2002-01-05 Juergen Vigna <jug@sad.it>
8445 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8446 if it doesn't like to be drawed.
8448 2002-01-04 Juergen Vigna <jug@sad.it>
8450 * BufferView2.C (lockInset): forgot to set a cursor.
8452 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8454 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8459 * form_maths_panel.C:
8460 * form_maths_panel.h:
8461 * form_maths_panel.fd: implemented sub- and super- buttons in math
8464 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8465 (or ^ space) to be used as in TeX (req'd by André).
8467 * lyxfunc.C: Allow ^ and _ again to be used both as
8468 super/subscript (mathed) and as themselves (in text).
8470 2002-01-03 Allan Rae <rae@lyx.org>
8472 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8473 "LyX" or the filename of the current buffer if it has one. This is a
8474 modified form of John Levon's patch.
8476 * XFormsView.C (setWindowTitle): also set icon title.
8478 * LyXView.h (setWindowTitle): signature changed.
8479 * XFormsView.h (setWindowTitle): ditto.
8481 2002-01-02 Juergen Vigna <jug@sad.it>
8483 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8485 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8487 * screen.C (topCursorVisible): introduce a temp var for
8488 text->cursor.row(), handle the case where this row is null. (kindo
8491 * text2.C (setCursor): add a couple of asserts.
8493 * paragraph.h (inset_iterator): add -> operator
8495 * paragraph.[Ch] (autoDeleteInsets): remove member function
8497 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8498 cursor pos correctly and handle inset deletion by itself.
8499 (insertErrors): move iterator declaration out of for expression
8501 * lyxtextclass.C: add <algorithm>
8503 * Makefile.am: added the new files to sources, removed layout.C
8505 * layout.C: removed file
8507 * layout.h: remove LYX_DUMMY_LAYOUT
8509 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8513 * lyxtextclass.[Ch]:
8514 * lyxtextclasslist.[Ch]: new files
8516 * include order changes to a lot of files, also changes because of
8519 2001-12-27 Juergen Vigna <jug@sad.it>
8521 * buffer.C (asciiParagraph): more fixes.
8523 * tabular.C (ascii): make ascii export support export of only the
8524 data separated by a column-delimiter.
8525 (ascii): better support for ascii export.
8527 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8529 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8531 * tabular_funcs.C: use a "using std::getline" instead of the
8532 previous fix from Angus (necessary for cxx + lyxstring)
8534 2001-12-24 Juergen Vigna <jug@sad.it>
8536 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8538 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8539 problems. First check a minipage also if we have some ert-contents
8540 (not only on par->size(), second set the right depth of the paragraph
8541 on the relink to the root-paragraph-list!
8543 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8544 which then did not anymore update the main paragraphs on undo/redo!
8546 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8548 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8549 code. Support all font-changing funcs (even those which are not in
8550 menu currently). Support for reporting font settings in
8551 mathed (disabled until Andre provides a function on mathed's side).
8553 * func_status.h (toggle): small helper function to set toggle
8556 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8558 * tabular_funcs.C: getline -> std::getline
8560 2001-12-21 Juergen Vigna <jug@sad.it>
8562 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8563 accessed and could be 0 (I couldn't generate this but it seems
8566 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8568 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8569 * tabular_funcs.h: here and include iosfwd
8571 2001-12-20 Juergen Vigna <jug@sad.it>
8573 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8574 inside inset but undo_par was.
8576 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8578 * Thesaurus.C: always include <config.h> in sources.
8582 * box.h: do not include <config.h> in header files
8584 * text.C (paintLastRow): remove unused variable
8586 * text.C (transformChar):
8588 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8591 * font.C (width): rewrite to use uppercase() instead of
8594 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8596 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8598 * lyxfind.C: clean up of find failure position change
8600 2001-12-20 Juergen Vigna <jug@sad.it>
8602 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8604 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8605 (TeXRow): added to LaTeX a single tabular row.
8606 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8607 (Latex): simplified and finally good LT-h/f support.
8608 (various_functions): just small adaptions for LT-h/f support.
8610 * tabular_funcs.[hC]: added and moved here all not classfunctions
8613 2001-12-19 Juergen Vigna <jug@sad.it>
8615 * tabular.[Ch]: better support for longtabular options (not finished
8618 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8620 * text.C (paintLastRow): use the label font instead of the font of
8621 the last character to compute the size of *_BOX. This makes more
8622 sense and avoids a crash with empty paragraphs.
8623 Use Painter::rectangle to draw EMPTY_BOX.
8625 2001-12-19 Juergen Vigna <jug@sad.it>
8627 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8628 the paragraphs if the replaced paragraph is not the first one!
8629 Tried to delete not used paragraphs but does not work yet so for
8630 now it's inside #ifdef's and by default off!
8632 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8634 * MenuBackend.C: include "lyx_main.h" instead of declaring
8635 lastfiles (actually was declared as LastFiles* instead of a
8638 2001-12-17 Juergen Vigna <jug@sad.it>
8640 * tabular.C (AppendColumn): applied John's fix
8642 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8646 * BufferView_pimpl.h:
8647 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8650 * box.h: new start of class for above
8652 * lyxfunc.C: ignore space-only minibuffer dispatches.
8653 Show the command name when it doesn't exist
8655 * minibuffer.C: don't add empty lines to the history
8657 * minibuffer.C: add a space on dropdown completion
8659 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8661 * text.C: fix line above/below drawing in insets
8663 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8665 * lyxlength.C (LyXLength): Initialize private variables.
8667 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8669 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8670 when inserting error insets.
8672 2001-12-13 Juergen Vigna <jug@sad.it>
8674 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8675 actually sometimes the before-paragraph.
8676 (setUndo): don't clear the redostack if we're not actually undoing!
8678 2001-12-06 Juergen Vigna <jug@sad.it>
8680 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8681 and fixed redoing of main paragraph, so we can use it now ;)
8683 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8685 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8687 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8690 2001-12-13 André Pönitz <poenitz@gmx.net>
8693 * undo_func.C: minor cleanup
8695 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8697 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8698 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8699 font in urw-fonts package which is marked as -urw-fontspecific and
8700 does not work (incidentally, changing the encoding in the
8701 fonts.dir of this package to -adobe-fontspecific fixes the
8704 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8705 is a crash when undoing first paragraph (Juergen, please take a
8706 look). THis does not mean the undo fix is wrong, just that it
8709 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8710 the (Paragraph*) version when needed instead of duplicating the
8713 * text.C (workWidth): use Inset::parOwner to find out where the
8714 inset has been inserted. This is a huge performance gain for large
8715 documents with lots of insets. If Inset::parOwner is not set, fall
8716 back on the brute force method
8718 * paragraph_pimpl.C (insertInset):
8719 * paragraph.C (Paragraph):
8720 (cutIntoMinibuffer): set parOwner of insets when
8721 inserting/removing them
8723 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8725 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8731 * mathed/formulabase.C:
8732 * mathed/math_cursor.[Ch]:
8733 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8736 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8738 * lyxlength.[Ch] (operator!=): new function
8740 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8742 * text.C (workWidth): use Inset::parOwner to find out where the
8743 inset has been inserted. This is a huge performance gain for large
8744 documents with lots of insets. If Inset::parOwner is not set, fall
8745 back on the brute force method
8747 * paragraph_pimpl.C (insertInset):
8748 * paragraph.C (Paragraph):
8749 (cutIntoMinibuffer): set parOwner of insets when
8750 inserting/removing them
8752 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8754 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8756 * tabular-old.C (getTokenValue):
8757 * tabular.C (getTokenValue):
8758 (write_attribute): new versions for LyXLength
8759 (everywhere): adjust the use of widths
8761 * tabular.h: change the type of widths from string to LyXLength
8763 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8765 * paragraph.C: fixed missing line number count when exporting
8766 Environments to LaTeX file
8768 * buffer.C: added informational message for checking line numbers.
8770 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8772 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8773 paragraph, do the 'double space' part, but not the 'empty
8776 * text.C (workWidth): small optimization
8777 (getLengthMarkerHeight): use minimal size for negative lengths.
8779 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8781 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8783 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8785 2001-12-11 André Pönitz <poenitz@gmx.net>
8788 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8790 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8792 * text2.C: keep selection on a setFont()
8794 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8796 * lyx_cb.C: another bv->text misuse, from insert label
8798 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8801 * kbsequence.C: re-instate nmodifier mask
8803 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8805 * lyx_main.h: make lyxGUI private.
8807 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8809 * lyxfind.C: place the cursor correctly on failed search
8811 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * text.C (getLengthMarkerHeight): for small heights, the arrows
8814 are not always on top/bottom of the text
8815 (drawLengthMarker): smaller arrows; take the left margin in
8816 account; draw also vfills.
8818 (paintLastRow): remove special code for vfill and standard spaces,
8819 since everything is handled in drawLengthMarker now.
8821 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8823 * buffer.C (insertErtContents): try to handle font and language
8824 interaction a bit better.g
8826 * ColorHandler.C (updateColor): change the hash to cover the whole
8827 LColor enum, ws cleanup
8828 (getGCLinepars): ditto
8829 (getGCLinepars): only lookup in the linecache once.
8831 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8833 * iterators.C (operator++): Make the iterator more robust
8835 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8837 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8839 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8842 * text.C: better added space drawing
8844 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8847 * BufferView2.C: fix layout combo update on inset unlock
8849 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8851 * Makefile.am: don't compile unused files
8853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8857 * LyXAction.C: remove old LFUN_LAYOUTNO
8859 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8861 * paragraph_pimpl.h:
8862 * paragraph_pimpl.C: isTextAt() doesn't need font param
8864 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8867 * lyxlex.C: little cleanup
8869 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8871 * BufferView_pimpl.C: fix insertAscii for insets
8873 2001-12-05 Juergen Vigna <jug@sad.it>
8875 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8876 set the right font on the "multi" paragraph paste!
8878 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8884 * lyxlength.C: remove out-commented code.
8900 * vc-backend.C: change "while(" to "while ("
8902 * lyxlength.[Ch]: add zero function to check if length is zero or
8904 * lyxgluelength.C: use it
8906 2001-12-05 Allan Rae <rae@lyx.org>
8908 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8909 Works for 2.95.3, from what I understand of Garst's reports this should
8910 work for other g++ versions. We're screwed if the abs(int) definition
8911 changed between bugfix releases of gcc.
8913 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8915 * text.C: fix chapter label offset !
8917 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8920 * text.C: fix hfill at end of line, clean up
8922 2001-12-04 Juergen Vigna <jug@sad.it>
8924 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8925 that we force an update of the inset and it's owners if neccessary.
8927 2001-12-03 Juergen Vigna <jug@sad.it>
8929 * text.C (rowLast): simplified code
8931 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8933 * lyxfunc.C: fix show options on timeout
8935 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8937 * screen.C (topCursorVisible): scroll half a page when the cursor
8938 reached top of bottom of screen
8940 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8942 * minibuffer.C: deactivate on loss of focus
8944 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8946 * vspace.[Ch] (operator!=): add operator.
8948 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8950 * BufferView_pimpl.C: refuse to open an inset when
8951 there's a selection.
8953 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8955 * BufferView_pimpl.C: allow to click on RHS of full row insets
8957 2001-11-30 Juergen Vigna <jug@sad.it>
8959 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8960 insets for undo reasons.
8962 2001-11-28 André Pönitz <poenitz@gmx.net>
8964 * vspace.[Ch]: cosmetical changes
8966 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8976 * kbsequence.C: part re-write of old kb code
8979 * WorkArea.C: remove Lgb_bug_find_hack
8981 2001-11-30 José Matos <jamatos@fep.up.pt>
8983 * buffer.C (makeDocBookFile): add a comment to point a hack.
8984 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8985 Fixed a double write of labels.
8987 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8990 * LaTeX.h Fixed bug in LaTeX class where it would not
8991 re-run latex if no depfiles were changed, but the .dvi was removed.
8993 2001-11-28 André Pönitz <poenitz@gmx.net>
8995 * all the files from the change on 2001/11/26:
8996 use lyx::layout_type instead of LyXTextClass::size_type
8997 use lyx::textclass_type instead of LyXTextClassList::size_type
8999 2001-11-29 Juergen Vigna <jug@sad.it>
9001 * text.C: added support for paragraph::isFreeSpacing()
9003 * buffer.C: same as above
9005 * paragraph.h: inserted isFreeSpacing() function to enable
9006 FreeSpacing inside InsetERT.
9008 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9009 of the paragraph's in the cut/copy buffer to 0!
9011 * text2.C (removeRow): remove the assert as it can!
9013 * lyxtext.h: added helper function firstRow returning firstrow and
9014 made firstrow private again.
9016 * BufferView2.C (lockInset): don't relock if we're already locked!
9018 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9020 (removeRow): added Assert::(firstrow)
9022 * debug.C: forgot to add INSETTEXT here.
9024 2001-11-28 Juergen Vigna <jug@sad.it>
9026 * sp_spell.C (initialize): changed error text to more general
9027 spellchecker command use (not only ispell!)
9029 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9031 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9033 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9035 * vspace.C: initialise lyxgluelength on failure
9037 2001-11-28 Allan Rae <rae@lyx.org>
9039 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9040 declaration & definition that looks like a function declaration.
9042 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9044 * BufferView2.C (copy):
9045 (copyEnvironment): do not clear the selection when doing a copy.
9047 * text.C (paintFirstRow): compilation fix
9049 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9051 * tabular.C (Latex): correct line count when writing latex.
9053 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9055 * paragraph_pimpl.h:
9056 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9059 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9063 * LColor.C: change vfillline->added_space
9065 * text.C: add markers and text for added space
9067 * vspace.C: fix comment
9069 2001-11-28 André Pönitz <poenitz@gmx.net>
9071 * paragraph.C: whitespace changes
9072 * all the other files from the change on 2001/11/26:
9073 change *::pos_type into lyx::pos_type
9075 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9077 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9078 language of the document when inserting error insets.
9080 2001-11-26 André Pönitz <poenitz@gmx.net>
9082 * BufferView_pimpl.[Ch]:
9090 * paragraph_pimpl.[Ch]:
9093 * text2.C: reduce header dependencies, introduce type for positions
9095 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9097 * <various>: change to use Alert.h
9099 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9101 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9102 when encountering an unknown token.
9103 (readLyXformat2): Show an error message if there were unknown tokens.
9105 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9108 * BufferView_pimpl.C:
9112 * text2.C: use par->isInset()
9114 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9116 * paragraph_pimpl.h:
9117 * paragraph_pimpl.C: cleanup
9119 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * text2.C (removeRow):
9122 * text.C (setHeightOfRow): remove useless (and costly) call to
9125 2001-11-20 Allan Rae <rae@lyx.org>
9127 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9128 Now need Inset*::checkInsertChar() to return true for appropriate
9129 cases so that the characters in the minibuffer will actually be
9132 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9134 * text.C: change the order of the includes.
9135 (workWidth): initialize it at once.
9136 (workWidth): make maxw unsigned
9137 (setHeightOfRow): remove unused variable (inset)
9138 (selectSelectedWord): remove unused variable (inset)
9139 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9141 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9143 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9144 server is not running.
9146 (closeConnection): add debug info when server is disabled.
9148 * ColorHandler.C (getGCForeground): send debug message to GUI
9151 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9153 * kbmap.C (bind): modify because return conventions of
9154 kb_sequence::parse have changed.
9156 * kbsequence.C (parse): only ignore spaces and not any stupid
9157 control character. This avoids tests like s[i] <= ' ', which are
9158 guaranteed to fail with 8bit characters and signed chars.
9159 Change return code to string::npos when there have been no error
9160 (0 was a bad idea when error is at first character)
9162 2001-11-14 José Matos <jamatos@fep.up.pt>
9165 * buffer.C (simpleDocBookOnePar): removed unused argument.
9167 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9169 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9170 insets which are part of a word. Paragraph::isLetter takes care of
9171 that now. Use Paragraph::isInset to identify insets.
9172 (selectSelectedWord): do not test for hyphenation break.
9174 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9175 that protected spaces are considered as spaces.
9177 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9180 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9183 * lyxserver.C: fix it. and small cleanup.
9185 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9187 * BufferView_pimpl.C: use inline helpers
9190 * LaTeXFeatures.C: fix typos
9193 * Spacing.C: move spacing_string into class
9195 * ToolbarDefaults.C: move stuff into namespace anon
9197 * layout.h: update enum
9199 * lyxfunc.C: use better debug
9201 * minibuffer.h: fix typo
9205 * WorkArea.C: add and use Debug::WORKAREA
9209 * text2.C: code re-organisation, inline helpers
9211 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9213 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9214 std::vector.empty().
9216 2001-11-09 Allan Rae <rae@lyx.org>
9218 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9219 '\n's after tables. Tabular and ERT inset work now makes this no
9222 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9225 * minibuffer.C: fix crash, improve drop-down completion
9227 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9230 * lyxserver.C: invalidate fd's when doing endPipe()
9232 2001-11-08 José Matos <jamatos@fep.up.pt>
9234 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9235 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9238 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9240 2001-11-07 José Matos <jamatos@fep.up.pt>
9243 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9246 * buffer.C (sgmlOpenTag):
9247 * buffer.C (sgmlCloseTag): removed debug info.
9249 * buffer.h (sgmlOpenTag):
9250 * buffer.h (sgmlCloseTag): made public.
9252 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9254 * buffer.C (saveParamsAsDefaults):
9255 * lyx_cb.C (MenuLayoutSave): remove
9257 * LyXAction.C (init):
9259 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9261 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9263 * buffer.C (setPaperStuff): removed from here...
9265 * bufferparams.C (setPaperStuff): ... and moved there.
9267 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9271 * XFormsView.C: add support for drop-down completion
9273 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9275 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9278 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9280 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9283 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9285 * lyx_main.C: change ref to known bugs
9287 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9289 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9290 to work around older babel problems.
9292 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9294 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9296 2001-10-24 Juergen Vigna <jug@sad.it>
9298 * tabular-old.C (ReadOld): below variable changes reflected.
9300 * tabular.[Ch]: added ltType struct for longtable header/footer
9301 defines and changed all instances where they are used. Added
9302 future support for double top/bottom rows.
9304 2001-10-24 José Matos <jamatos@fep.up.pt>
9306 * buffer.h (docbookHandleCaption):
9307 * buffer.C (docbookHandleCaption): removed unused function.
9308 (makeDocBookFile): moved docbook supported version to v4.1.
9310 2001-10-24 José Matos <jamatos@fep.up.pt>
9313 * tabular.C (docbookRow): new function to export docbook code of a row.
9314 (DocBook): now honors the longtable flags.
9316 2001-10-23 José Matos <jamatos@fep.up.pt>
9319 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9320 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9322 * buffer.C (makeLinuxDocFile):
9323 (makeDocBookFile): reworked the preamble, more clean, and with
9324 support for lyx defined entities. Changed the document declaration
9325 to be more XML friendly.
9327 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9328 if we need to output XML that should be done with a filter.
9330 2001-10-22 Juergen Vigna <jug@sad.it>
9332 * sp_pspell.h (class PSpell): add alive function needed in the
9333 controller to see if the spellchecker could be started.
9335 2001-10-22 Juergen Vigna <jug@sad.it>
9337 * buffer.C (insertStringAsLines): modify the font for inserting
9338 chars in certain conditions by calling checkInsertChar(font).
9340 2001-10-19 Juergen Vigna <jug@sad.it>
9342 * text.C (workWidth): use getRow instead of wrong algorithm.
9343 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9345 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9350 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9352 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * text.C (workWidth): do not search for the exact row when
9355 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9356 optimization for big documents.
9358 2001-10-18 Juergen Vigna <jug@sad.it>
9360 * text.C (workWidth): new function with added Inset * parameter.
9362 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9364 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9366 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9367 change return type of getColumnNearX.
9370 * text.C (changeRegionCase): use uppercase/lowercase instead of
9373 (rightMargin): simplify code by factoring out the uses of
9378 (appendParagraph): use Paragraph::size_type
9380 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9382 * vspace.C (asLatexString): add a missing break
9384 2001-10-15 Herbert Voss <voss@perce.de>
9386 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9388 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9390 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9393 2001-10-10 André Pönitz <poenitz@gmx.net>
9395 * lyxfunc.C: removed greek_kb_flag.
9397 2001-10-10 Herbert Voss <voss@perce.de>
9399 * lyx_main.C: delete global string help_lyxdir.
9401 2001-10-09 Herbert Voss <voss@perce.de>
9403 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9405 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9407 * lyx_main.C: added global string help_lyxdir.
9409 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9411 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9413 * lyxrc.C (set_font_norm_type): support iso8859-4
9415 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9417 * LaTeX.C (deplog): add another regex for MikTeX
9419 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9421 * lyxrc.C (set_font_norm_type): support iso8859-3
9423 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9425 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9427 * LaTeXFeatures.C: remove special case of french and index
9429 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9430 before \begin{document}). This solves several incompatibilities.
9432 2001-10-03 Garst Reese <reese@isn.net>
9434 * lyx_cb.C: change CheckTex error msg.
9436 2001-10-03 José Matos <jamatos@fep.up.pt>
9438 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9440 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9442 * .cvsignore: update
9444 * lyx_main.C (commandLineVersionInfo): use new style version info.
9446 * buffer.C (writeFile):
9449 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9451 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9453 * version.h: update to use stuff in version.C
9455 * version.C.in: new file. Contains version information determined
9456 at compile time. This is a merging of version.h and
9459 2001-10-03 Juergen Vigna <jug@sad.it>
9461 * BufferView_pimpl.C (update): don't change "dirty" status in
9464 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9466 * WorkArea.C (c-tor): re-position version string slightly.
9468 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9470 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9471 revert to previous code.
9473 WorkArea.[Ch]: (show, destroySplash): methods removed.
9475 WorkArea.C: rework code so that it's an amalgam of the codes before and
9476 after the splash screen was moved to WorkArea.
9478 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9481 * vspace.C (inPixels):
9484 * buffer.C (insertStringAsLines):
9485 (asciiParagraph): fix types to be large enough
9487 * lyxlex_pimpl.h: change member status from short to int
9489 * layout.h: fix type of endlabeltype
9492 * kbsequence.C (parse): change return type to string::size_type
9494 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9497 * Bullet.C (bulletSize):
9498 (bulletEntry): do not use short ints as parameters
9500 * BufferView2.C (insertLyXFile): change a char to an int.
9502 * WorkArea.C (WorkArea): remove unneeded floats in computation
9504 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9506 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9508 * paragraph.C (asString): Do not ignore newline/hfill chars when
9509 copying to the clipboard.
9511 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9513 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9514 after a multi-line inset.
9516 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9518 * paragraph.C (validate): Set NeedLyXFootnoteCode
9520 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9522 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9523 and decrease-error to decrease.
9525 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9527 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9528 it more readable (should be equivalent)
9530 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9532 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9534 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9536 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9537 of a cursor (row, etc.) after a character has been deleted
9538 (deleteEmptyParagraphMechanism): call the method above on _all_
9539 cursors held by the LyXText when a double space has been
9542 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9544 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9546 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9548 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9549 background. Use greyOut() and the new show() methods to toggle between
9550 the foreground and background. Add code to remove the splash after
9551 its initial showing.
9553 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9554 (create_forms): no longer call Dialogs::showSplash.
9556 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9558 * .cvsignore: add version_info.h
9560 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9562 * version_info.h.in: new file
9564 * Makefile.am: add version_info.h.in
9566 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9567 version_info.h instead of VERSION_INFO
9569 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9571 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9572 The ERT inset now returns string().
9574 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9576 * lyxtext.h, text.C (selectNextWord): renamed as
9577 selectNextWordToSpellcheck.
9579 * text.C (selectNextWordToSpellcheck): Modified to not select
9580 words inside an ERT inset.
9582 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9584 * lyx_cb.C (MenuLayoutSave): change a bit the question
9586 * sp_base.h: include <sys/types.h>
9588 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9590 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9592 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9594 * several files: fix typos in user-visible strings
9596 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9598 * text2.C (pasteSelection): do not set the selection, since it
9599 will be cleared later. Actually, the intent was to fix the way the
9600 selection was set, but I figured rmoving the code was just as good.
9602 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9604 * FontLoader.C (available): Check if font is available without
9607 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9609 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9611 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9613 * lyxrc.[Ch]: added display_graphics variable and associated code.
9615 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * bufferparams.C (hasClassDefaults): new method. Returns true if
9618 the buffer parameters correspond to known class defaults
9620 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9622 * XFormsView.C (show): set minimum size to the main window.
9624 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9626 * text2.C (copySelection):
9628 * lyxfind.C (LyXReplace):
9629 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9630 LyXText::selectionAsString.
9632 * paragraph.C (asString): add "label" argument to the second form
9634 * text2.C (selectionAsString): add "label" argument and pass it to
9635 Paragraph::asString.
9637 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9639 * lyx_main.C (commandLineHelp): remove version information
9641 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9643 * lyx_main.C: add -version commandline option
9645 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9647 * paragraph.h: make the optional constructor arg required instead.
9648 some modifications to other files because of this.
9650 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9652 * lyxserver.C (C_LyXComm_callback): make it static
9654 * lyx_main.C (error_handler): make it static
9656 * lyx_gui.C (LyX_XErrHandler): make it static
9658 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9660 * WorkArea.C: make the extern "C" methods static.
9662 * Makefile.am (lyx_LDADD): simplify
9664 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9666 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9667 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9669 * LyXAction.C (init):
9670 * lyxfunc.C (dispatch): associated code removal.
9672 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9674 * lyxfont.h (isSymbolFont): shut off warning
9676 * text.C (setHeightOfRow):
9677 (getVisibleRow): fix crash with empty paragraphs which have a
9680 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9682 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9685 2001-09-04 José Matos <jamatos@fep.up.pt>
9688 * tabular.C (docbook): rename docBook method to docbook.
9690 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9692 * Makefile.am: add dependencies to main.o.
9694 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9696 * FontLoader.C (available): Return false if !lyxrc.use_gui
9698 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9700 * FontInfo.C (query):
9701 * converter.C (view):
9702 * importer.C (Import):
9703 * exporter.C (Export): Can not -> cannot.
9705 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9707 * BufferView_pimpl.C: allow to create index inset even if
9710 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9712 * buffer.C (getLists): replace boost::tie code with an explicit pair
9713 as boost::tie can break some compilers.
9715 * iterators.h: Added a std:: declaration to the return type of
9718 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9720 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9723 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9725 * iterators.[Ch]: New files. Provide paragraph iterators.
9727 * buffer.C (changeLanguage): Use paragraph iterators.
9728 (isMultiLingual): ditto
9730 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9732 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9734 * FontLoader.C: Support for cmr font.
9736 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9738 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9739 (available): New method.
9741 * FontInfo.C (getFontname): Use scalable fonts even when
9742 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9745 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9747 * converter.C (Formats::view): reverted! Incorrect fix.
9749 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9751 * converter.C (Formats::view): only output the -paper option
9752 if the dvi viewer is xdvi, thereby fixing bug #233429.
9754 2001-08-23 Herbert Voss <voss@perce>
9756 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9758 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9760 * Spacing.h (Spacing): Set space to Default on in the default
9763 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9765 * vc-backend.h (RCS::versionString): add RCS to version
9766 (CVS::versionString): add CVS to version
9768 * vc-backend.C (scanMaster): do not add CVS to version.
9769 (scanMaster): do not add RCS to version
9771 * lyxvc.C (versionString): new method
9773 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9775 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * Spacing.C (set): initialize fval
9779 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9781 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9784 2001-08-16 Juergen Vigna <jug@sad.it>
9786 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9788 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9790 * BufferView_pimpl.C:
9793 * text2.C: setParagraph takes linespacing now
9795 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9797 * LyxAction.C: add internal LFUN_CITATION_INSERT
9799 * LyXView.C: actually apply fix
9801 * bufferlist.C: fix open non-existent file
9803 * lyxfind.C: fix indentation
9805 * lyxfunc.C: remove unneeded assert, fix typo
9807 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9809 * MenuBackend.C: use "Floatname List"
9811 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9813 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9814 when converting LaTeX layout to insetERT.
9815 Generate a non-collapsed float when reading old float
9817 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9819 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9822 2001-08-13 Juergen Vigna <jug@sad.it>
9824 * text.C (fill): return 0 instead of 20 as this seems to be the more
9827 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9829 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9832 2001-08-13 Juergen Vigna <jug@sad.it>
9834 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9836 (SearchBackward): comment out the unlocking of the inset_owner this
9837 should not be needed!
9839 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9841 * Many files: Remove inherit_language, and add latex_language
9843 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9846 2001-08-10 Juergen Vigna <jug@sad.it>
9848 * text.C (prepareToPrint): fixed hfill-width in draw!
9850 * BufferView2.C (selectLastWord): save the selection cursor as this
9851 now is cleared in the function LyXText::clearSelection!
9853 2001-08-08 Juergen Vigna <jug@sad.it>
9855 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9856 BACKSPACE type functions.
9858 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9859 is only cutted from the document but not put in the cut-buffer, where
9860 still the old stuff should be.
9862 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9864 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9866 * tabular.C (SetWidthOfCell): fixed special case where the width
9868 (LeftLine): handle '|' in align_special.
9870 (LeftAlreadyDrawed): ditto
9871 (SetWidthOfCell): ditto
9873 2001-08-07 Juergen Vigna <jug@sad.it>
9875 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9877 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9880 * lyxlex.[hC]: ditto
9882 2001-08-06 Juergen Vigna <jug@sad.it>
9884 * text.C (getVisibleRow): fix up row clearing a bit.
9886 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9888 * minibuffer.C: make sure the X server sees the changes in the input.
9890 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9892 * paragraph.C (getFont): split into...
9893 (getLabelFont): this
9894 (getLayoutFont): and this
9895 * paragraph_pimpl.C (realizeFont): calling this
9897 * text2.C (getFont): split into...
9898 (getLayoutFont): this
9899 (getLabelFont): and this
9900 (realizeFont): all three calling this
9902 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9905 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9907 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9909 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9911 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9912 layouts from the Quote inset insertion.
9914 2001-08-03 Juergen Vigna <jug@sad.it>
9916 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9918 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9919 only if status not is already CHANGED_IN_DRAW (second level).
9921 * text.C (draw): don't set the need_break_row when inside an
9924 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9926 * buffer.C (parseSingleLyXformat2Token): handle more latex
9929 * bufferview_funcs.[hC]: change function names to
9930 begin with small char, adjust other files.
9932 2001-08-02 André Pönitz <poenitz@gmx.net>
9935 BufferView_pimpl.C: remove broken special code for math-greek
9937 2001-08-02 Juergen Vigna <jug@sad.it>
9939 * BufferView_pimpl.C (update): redone this function so that we
9940 update the text again if there was a CHANGE_IN_DRAW.
9942 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9943 (drawFromTo): added a new internal bool which is used by draw() and
9945 (general): some cursor drawing problems fixed.
9947 2001-08-01 Juergen Vigna <jug@sad.it>
9949 * lyxfind.C (LyXFind): fixed
9950 (SearchForward): ditto
9951 (SearchBackward): ditto
9953 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9954 spurius drawing of the cursor in the main area.
9956 * text2.C (status): small fix which could lead to a segfault!
9957 (clearSelection): remove unneeded BufferView param.
9959 2001-08-01 André Pönitz <poenitz@gmx.net>
9961 * lyxfunc.C: small change due to changed mathed interface
9963 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9965 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9967 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9969 * lyxfunc.c: fail gracefully if file doesn't exist
9974 * BufferView_pimpl.C: IsDirWriteable() proto changed
9976 * LyXView.C: fix updateWindowTitle() to store the last title
9978 2001-07-31 Juergen Vigna <jug@sad.it>
9980 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9981 the font (wrong since using of Paragraph::highestFontInRange).
9983 * paragraph.C (highestFontInRange): added a default_size parameter.
9985 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9986 (setHeightOfRow): reformat
9988 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * converter.[hC] + affected files: move to (inital-char)lowercase
9993 * ParagraphParameters.C (ParagraphParameters): remove commented code
9995 * PainterBase.[Ch]: remove commented code
9997 * LaTeXFeatures.h: add "bool floats" for float.sty
9999 * LaTeXFeatures.C (LaTeXFeatures): init floats
10000 (require): handle float
10001 (getPackages): do it with floats
10003 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10005 * BufferView_pimpl.C (Dispatch): improve handling of
10006 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10008 * commandtags.h: #include lyxfont.h here temporarily to avoid
10011 * bufferlist.h: include LString.h here.
10013 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10015 * text2.C (getStringToIndex): new method.
10017 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10019 * *: Reduced header file dependencies all over.
10021 2001-07-30 Baruch Even <baruch@lyx.org>
10023 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10025 2001-07-29 Baruch Even <baruch@lyx.org>
10027 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10029 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10031 * ParameterStruct.h (endif): add a default constructor to make
10032 sure that all variables is initialized.
10034 * ParagraphParameters.C (ParagraphParameters): adjust
10036 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10038 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10039 index; also, check that there is something to index, and that it
10040 does not span over several paragraphs.
10041 (doubleClick): use WHOLE_WORD_STRICT for double click.
10043 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10045 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10048 2001-07-26 Baruch Even <baruch@lyx.org>
10050 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10051 an InsetFig figure, backwards compatible reading of old figure code.
10053 2001-07-27 Juergen Vigna <jug@sad.it>
10055 * text2.C: font.realize function adaption.
10057 * text.C (draw): add a warnings lyxerr text if needed.
10059 * layout.C: font.realize function adaption.
10061 * language.C: add inherit_language and implement it's handlings
10063 * bufferview_funcs.C (StyleReset): remove language parameter from
10064 font creation (should be language_inherit now).
10066 * bufferparams.C (writeFile): handle ignore_language.
10068 * paragraph.C (getFontSettings): the language has to be resolved
10069 otherwise we have problems in LyXFont!
10071 * lyxfont.C (lyxWriteChanges): added document_language parameter
10072 (update): removed unneeded language parameter
10074 * paragraph.C (validate): fixed wrong output of color-package when
10075 using interface colors for certain fonts in certain environments,
10076 which should not seen as that on the final output.
10078 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10080 * BufferView_pimpl.C:
10085 * LyXAction.C: add thesaurus support
10088 * lyxfind.C: add "once" parameter, for thesaurus, to not
10089 move to the next match
10091 2001-07-26 Juergen Vigna <jug@sad.it>
10093 * lyxfont.C (realize): honor ignore_language too!
10096 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10098 * text.C (draw): one place more for ignore_language to not draw
10101 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10103 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10105 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10107 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10108 the minipage conversion problem.
10110 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10112 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10115 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * BufferView.h: don't forward declare WorkArea
10119 * BufferView.C: don't include WorkArea.h
10121 2001-07-25 André Pönitz <poenitz@gmx.net>
10125 * lyxfunc.C: new LFUN 'math-space'
10127 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10129 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10131 * text2.C (toggleInset): call open/close
10133 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * lyxfunc.C (dispatch): add debug for the disabled case
10137 * font.C (buttonText): make similar to rectText
10139 * buffer.C (readInset): comment out parsing of insetlist and
10142 * PainterBase.C (rectText): small correction
10144 * BufferView_pimpl.C: comment out insettheorem and insetlist
10145 * LyXAction.C: ditto
10146 * commandtags.h: ditto
10148 2001-07-24 Juergen Vigna <jug@sad.it>
10150 * text.C (draw): honor the ignore_language.
10152 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10154 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10156 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10159 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10161 * lyxtext.h: remove unused (and unimplemented) methods
10163 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10165 * text.C (getVisibleRow): honor background color
10168 * Painter.h: remove default color argument for fillRectangle
10170 * text.C (backgroundColor): new method
10172 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10174 * text.C (getVisibleRow): adjust
10176 * font.[Ch] (rectText): new method, metrics
10177 (buttonText): new method, metrics
10179 * PainterBase.[hC]: make rectText and buttonText always draw and take
10182 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10184 * ToolbarDefaults.C (read):
10185 * MenuBackend.C (read): allow escaping in all strings
10187 * BufferView_pimpl.C (insertAndEditInset): new method.
10188 (Dispatch): use insertAndEditInset whenever appropriate.
10190 * BufferView_pimpl.C (insertNote): removed
10192 * BufferView_pimpl.C (smartQuote): new method, moved from
10193 BufferView; if an insetquote cannot be inserted, insert a '"'
10196 * BufferView2.C: remove insertCorrectQuote();
10198 * lyxfunc.C (getStatus): Add support for all remaingin
10199 inset-insert lfuns.
10201 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10203 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10204 command (necessary to pass " as parameter of self-insert.
10206 * text.C (selectWordWhenUnderCursor):
10207 (selectWord): add word_location parameter
10208 (selectWordWhenUnderCursor): same + remove special code for word
10210 (selectNextWord): use kind() to guess type of insetspecialchar,
10213 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10214 (insertErtContents): create ert insets as collapsed.
10215 (readInset): better compatibility code for Info inset.
10217 2001-07-20 Juergen Vigna <jug@sad.it>
10219 * lyxfunc.C (dispatch): use always LyXFind now!
10221 * text2.C (init): add a reinit flag so that the LyXText can be
10222 reinited instead of deleted and reallocated (used in InsetText).
10224 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10230 2001-07-18 Juergen Vigna <jug@sad.it>
10232 * text.C (selectNextWord): handle insets inside inset by calling
10233 always the bv->text functions so that we can go up the_locking_inset!
10235 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10236 in strange locations when inside an inset!
10238 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10239 handling to include insets.
10241 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10243 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * LyXAction.C (init):
10247 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10248 LIGATURE_BREAK, since the name is so stupid.
10250 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10252 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10255 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10257 * sp_form.[Ch]: remove.
10259 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10261 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10264 * src/buffer.C (readInset): ditto.
10266 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10268 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10269 menuSeparator(), endOfSentenceDot(), ldots() and
10270 hyphenationPoint(), which are therefore removed.
10271 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10273 * LyXAction.C (init):
10274 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10276 * paragraph.C (getWord): removed.
10278 * BufferView_pimpl.C (Dispatch): use last word or selection for
10279 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10281 * lyx_main.C (queryUserLyXDir): do not ask before creating
10282 user_dir, except if it has been named explicitely.
10284 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10286 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10287 a document of zero size.
10289 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10291 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10292 approriately in the c-tor and in require().
10293 (getPackages): output the appropriate LaTeX for natbib support.
10295 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10296 variables "use_natbib" and "use_numerical_citations" when reading the
10298 (readInset): read the various natbib cite commands.
10299 (validate): white-space change.
10301 * bufferparams.[Ch]: new variables "bool use_natbib" and
10302 "bool use_numerical_citations".
10303 (writeFile): output them in the LyX file.
10305 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10307 * lyxfunc.C (getStatus): add support for all the inset insertion
10310 * text2.C (insertInset):
10311 * paragraph.C (insetAllowed):
10312 * BufferView_pimpl.C (insertInset): update to take in account the
10313 renaming of insertInsetAllowed
10315 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10317 * text2.C (getInset): new method. returns inset at cursor position.
10319 * BufferView_pimpl.C (Dispatch): changes because of this.
10321 * LyXAction.C (init): rename open-stuff to inset-toggle.
10323 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10325 * text2.C (toggleInset): renamed from openStuff; use
10328 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10330 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10332 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10334 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10336 * buffer.C (readLyXformat2): Add filename to the error dialog
10338 2001-07-18 Juergen Vigna <jug@sad.it>
10340 * tabular.C (GetCellNumber): put an assert here instead of the check!
10342 2001-07-17 Juergen Vigna <jug@sad.it>
10344 * BufferView_pimpl.C (toggleSelection): adapted too.
10346 * text.C (selectNextWord): adapted for use with insets.
10347 (selectSelectedWord): ditto
10349 2001-07-17 Juergen Vigna <jug@sad.it>
10351 * sp_spell.C (PSpell): fix initialitation order.
10353 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * paragraph.C: spacing
10357 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10359 * sp_spell.C: repair language selection for pspell
10361 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10363 * lyxfunc.h: change more methods to begin with lower char.
10365 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10367 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10368 for unknown layouts.
10370 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10372 * buffer.C (readLyXformat2): Generate an error dialog if there are
10375 2001-07-16 Juergen Vigna <jug@sad.it>
10377 * sp_spell.C: always compile ISpell part.
10379 * lyxrc.C: added use_pspell entry and it's handling.
10381 2001-07-13 Juergen Vigna <jug@sad.it>
10383 * sp_spell.C: removed double includes.
10385 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10387 Consistent use of Lsstream.h:
10388 * Lsstream.h: added using std::stringstream for consistencies sake.
10390 * buffer.C: removed using std::stringstream
10392 * lyxfont.C (stateText):
10393 * paragraph.C (asString):
10394 * text.C (selectNextWord, selectSelectedWord):
10395 * text2.C (setCounter):
10396 * vspace.C (asString, asLatexString):
10397 std::ostringstream -> ostringstream.
10399 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10401 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10402 * commandtags.h: add LFUN_HELP_ABOUTLYX
10403 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10405 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10407 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10409 * lyx_gui_misc.C: remove spellchecker
10410 * lyxfunc.C: showSpellchecker
10412 * sp_ispell.h: added
10413 * sp_pspell.h: added
10414 * sp_spell.C: added
10415 * sp_form.[Ch]: removed
10416 * spellchecker.[Ch]: removed
10418 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10420 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10422 (simpleTeXSpecialChars): Simply print the input character without
10423 any special translation if pass_thru is set.
10425 * layout.h: Added bool pass_thru to layout class for being able to
10426 implement pass through of a paragraph for Literate Programming.
10428 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10429 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10430 * layout.C (Read): add "passthru" to list of layout tags and add
10431 code to set the pass_thru boolean when it is read.
10433 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * trans_decl.h: remove allowed from KmodInfo
10437 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10438 remove allowed code
10441 * paragraph_pimpl.C (erase): use boost::prior
10443 * Painter.C (text): use data() instead of c_str() when length is
10445 * WorkArea.C (putClipboard): ditto
10446 * font.h (width): ditto
10448 * BufferView2.C: use it-> instead of (*it). for iterators
10450 * paragraph_pimpl.C: ditto
10451 * paragraph.C: ditto
10452 * minibuffer.C: ditto
10453 * language.C: ditto
10455 * encoding.C: ditto
10456 * counters.C: ditto
10457 * converter.C: ditto
10459 * Variables.C: ditto
10460 * TextCache.C: ditto
10461 * MenuBackend.C: ditto
10462 * LyXAction.C: ditto
10464 * FloatList.C: ditto
10465 * DepTable.C: ditto
10466 * ColorHandler.C (LyXColorHandler): ditto
10468 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10470 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10472 * text2.C (openStuff): reintroduce this method (which had been
10473 nuked in NEW_INSETS frenzy).
10475 * lyxfunc.C (Dispatch): when an action has not been handled, use
10476 its name in the error message, not its number.
10478 * paragraph.C (inInset): change method name to begin with lowercase.
10481 * text2.C: updates because of this.
10483 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10485 * ToolbarDefaults.C (add): add spaces in error message
10487 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10489 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10490 (readLyXformat2): rename return_par to first_par, use lyxlex's
10491 pushToken and remove the manual push handling.
10492 (parseSingleLyXformat2Token): add another ert comp. variable:
10493 in_tabular, rename return_par to first_par. handle newlines better
10495 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10497 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10499 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * text2.C (getParFromID): removed
10503 * buffer.C (getParFromID): new method moved form lyxtext.
10504 * BufferView2.C (insertErrors): adjust
10505 (setCursorFromRow): adjust
10506 * BufferView_pimpl.C (restorePosition): adjust
10507 * lyxfunc.C (Dispatch): adjust
10508 * undo_funcs.C (textUndo): adjust
10510 (textHandleUndo): adjust
10511 (textHandleUndo): adjust
10513 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10515 * buffer.C: up' the LYX_FORMAT
10517 * lyxfont.h: turn NO_LATEX on as default
10519 * buffer.C (insertErtContents): new methods of tex style compability.
10520 (parseSingleLyXformat2Token): use it several places.
10521 * tabular.C (OldFormatRead): and here
10523 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10525 * text2.C: remove some commented code.
10528 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10529 * trans.C: changes because of the above.
10531 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10533 * text2.C (setCounter): Fix counters bug with bibliography layout.
10535 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10537 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10538 own member functions
10539 (simpleTeXSpecialChars): ditto
10541 2001-07-06 Juergen Vigna <jug@sad.it>
10543 * a lot of files: changed the access to LyXText::status and the
10544 call of undo-functions.
10546 * undo.[Ch]: added a inset_id to the undo informations.
10548 * undo_funcs.[Ch]: added and moved here all undo functions.
10550 * lyxtext.h: give the status enum a weight, made status_ a private
10551 variable and made accessor functions for it, removed the whole bunch
10552 of undo-functions as they are now in their own file, make some
10553 functions publically available. Added function ownerParagraph with
10556 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10557 made InInset() a const function, added getParFromID() function.
10559 * buffer.[Ch]: added const version for inset_iterator functions,
10560 added getInsetFromID() function.
10562 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10563 changed undo functions for new version.
10565 2001-07-05 Juergen Vigna <jug@sad.it>
10567 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10568 unknow mechanism does not call the proper constructor but only this
10569 one also if I request the other!?
10571 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10575 * text2.C (LyXText): use initialization lists.
10577 * lyxtext.h (Selection): initialize set_ and mark_
10578 (init): remove method
10580 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10582 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10584 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10586 * screen.[Ch]: change method names to begin with lowercase
10588 * BufferView_pimpl.C (updateScrollbar): simplify further and
10589 hopefully make it a bit faster.
10591 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10593 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10594 calling directly xforms functions.
10596 * Painter.C (Painter):
10597 * lyx_cb.C (MenuWrite):
10598 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10601 * lyx_gui.C: remove bogus guiruntime extern declaration.
10603 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10605 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10607 (redoDrawingOfParagraph): ditto
10608 (redoParagraphs): ditto
10609 (cutSelection): don't create a object for CutAndPaste use the
10610 static method directly
10611 (pasteSelection): ditto
10613 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10616 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10618 * modifications to some other files because of this.
10620 * Makefile.am (lyx_SOURCES): add XFormsView
10622 * XFormsView.[Ch]: new files
10624 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10625 the main window. Move the gui dependent stuff to XFormsView
10627 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10629 * tabular.C (GetCellInset): update cur_cell also in the row/col
10630 version of this function.
10632 * lyxfunc.C: no need to include figure_form.h here.
10638 * lyxvc.C: no need to include forms.h here.
10640 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10642 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10644 * lyxfunc.C (Dispatch):
10646 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10647 constructor argument.
10649 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10651 * paragraph.C (Paragraph): dont't clear, and just set layout.
10652 (makeSameLayout): use params's copy contructor.
10654 * ParagraphParameters.[Ch] (makeSame): delete method
10656 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10658 * Variables.[Ch]: fix indentation, rename set to isSet
10660 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * lyxfunc.C (Dispatch): fix typo
10664 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10666 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10669 * bufferlist.C: include assert.h for emergencyWrite().
10671 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10673 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10674 give up at last (bug #425202) !
10676 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10682 * spellchecker.C: strip spellchecker options and bring up
10683 preferences tab instead
10685 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10687 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10688 the istringstream constructor
10690 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10692 * paragraph.C (getLayout): fix return value
10694 * paragraph.h: do not declare getLayout as inline.
10696 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10698 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10700 * lyxcursor.h (operator<): new func
10701 (operator>): new func
10702 (operator>=): new func
10703 (operator<=): new func
10705 * text.C (changeCase): use selection.start and selection.end
10706 (changeRegionCase): require from to be <= to. Require par to be a
10709 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10711 2001-06-27 Juergen Vigna <jug@sad.it>
10713 * text.C (cursorLeftOneWord): changed to return the cursor and added
10714 overlay with BufferView * parameter which calls this one.
10716 (selectWord): use new getWord function.
10717 (changeCase): renamed from changeWordCase as and extended to work
10718 also on selections.
10720 * lyxtext.h: added enum word_location
10722 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10723 changeCase as this operates now also on selections.
10725 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10727 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10729 * many files: send debug output to Debug::INFO instead of
10732 * converter.C (View):
10734 (Move): send debug output to Debug::FILES instead of console.
10736 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10738 * lyxfunc.C (getStatus): use func_status
10740 * func_status.h: new header, describing the results of
10741 LyXFunc::getStatus;
10743 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10746 2001-06-25 The LyX Project <jug@sad.it>
10748 * buffer.C (sgmlOpenTag):
10750 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10752 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10754 * text2.C: remove some dead code
10756 * tabular.C (GetCellInset): store the last cell checked (gotten)
10758 * tabular.h: add the helper for the speedup
10760 * lyxtext.h: remove some dead code
10762 2001-06-26 The LyX Project <Asger>
10764 * paragraph.C: Change export to LaTeX of alignment to
10765 \begin{center} and family for better roundtrip work with reLyX.
10767 * Tune the math drawing a bit.
10769 2001-06-25 The LyX Project <Asger>
10771 * LColor.C (LColor): New color for math background. New color
10774 2001-06-25 The LyX Project <jug@sad.it>
10776 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10778 * lyxfunc.C (Open):
10779 * bufferlist.C (newFile): do not restrict to files ending with
10782 * BufferView_pimpl.C (MenuInsertLyXFile):
10784 2001-06-24 The LyX Project <jug@sad.it>
10786 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10789 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10791 * lyxtext.h: rename most methods to begin with a small char.
10792 Lots of changes because of this.
10794 * paragraph.C (Paragraph): do not call fitToSize
10795 (erase): call Pimpl::erase
10796 (insertChar): call Pimpl::insertChar
10797 (insertInset): call Pipl::insertInset
10798 (breakParagraph): do not call fitToSize
10799 (breakParagraphConservative): do not call fitToSize
10800 (fitToSize): remove method
10802 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10804 2001-06-24 The LyX Project <Asger>
10806 * Fix Qt compilation^2
10808 2001-06-24 The LyX Project <jug@sad.it>
10810 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10811 depthHook(getDepth()-1).
10814 * ParagraphParameters.h:
10815 * ParameterStruct.h: change type of depth to unsigned int ==
10816 depth_type. Many adaptations to other files before of that.
10818 2001-06-24 The LyX Project <Asger>
10820 * Fix Qt compilation.
10822 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * paragraph.h: renamed several methods to begin with small letter.
10825 several changes to many parts of the code because of this.
10827 2001-06-23 The LyX Project <jug@sad.it>
10829 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10830 rewritten to discard all double spaces when KeepEmpty is off
10831 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10832 to only handle newlines but not fiddle with spaces and friends.
10834 * lyxfunc.C (MenuNew): when doing 'new from template', use
10835 template_path as default directory
10837 2001-06-23 The LyX Project <Asger>
10839 * Clean-up of header file includes all over
10840 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10842 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * paragraph.h: renamed from lyxparagraph.h
10846 2001-06-23 Asger <lyx@violet.home.sad.it>
10848 * Buffer.h: Removed Buffer::resize
10849 * BufferList.h: Removed BufferList::resize
10850 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10851 the document lazily when we change the width, or the font settings.
10853 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10855 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10857 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10859 * buffer.h: remove out of date comment
10861 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10864 * screen.C: fix "theoretical" GC leak
10866 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10868 * LaTeX.C (scanAuxFile):
10869 (deplog): remove trailing \r when reading stream (useful under
10872 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10874 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10875 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10876 and BufferView::theLockingInset(Inset*), so should use them and not
10877 access bv_->text->the_locking_inset directly.
10879 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10881 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10884 * tex-defs.h: remove old unused file
10886 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10888 * BufferView_pimpl.C: fix typo, remove minibuffer message
10889 when buffer has loaded
10891 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10893 * lyxfunc.C (Dispatch): use stringstream
10894 (MenuNew): use stringstream
10895 (Open): use stringstream
10897 * importer.C (Import): use stringstream
10899 * bufferview_funcs.C (CurrentState): use stringstream
10901 * LaTeX.C (run): use stringstream
10903 * BufferView_pimpl.C (savePosition): use stringstream
10904 (restorePosition): use stringstream
10905 (MenuInsertLyXFile): use stringstream
10907 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10920 * vspace.C: removed // -*- C++ -*- as first line.
10923 * version.h: added // -*- C++ -*- as first line.
10925 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10927 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10929 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10932 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10937 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10939 * gettext.C: include LString.h even when --disable-nls is on.
10941 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10943 * converter.h (Get): changed argument type from int to
10944 FormatList::size_type to avoid unnecessary conversion.
10946 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10949 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10951 * gettext.h: include LString.h even when --disable-nls is on.
10953 2001-06-07 Juergen Vigna <jug@sad.it>
10955 * text.C (BreakAgain): subst spaces with tabs.
10957 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10958 (resizeInsetsLyXText): set force on resizeLyXText.
10960 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10962 * gettext.h (gettext_init):
10963 (locale_init): use a real definition instead of a macro
10965 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10967 * Bufferview_pimpl.C:
10969 * LColor.C: further lcolor tidies
10971 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10973 * BufferView_pimpl.C (updateScrollbar): simplify.
10975 * BufferView2.C: don't include insets/insetinfo.h, change
10976 prototype for insertInset and call the Pimpl version. let
10977 updateInset call Pimpl version.
10979 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10980 gotoInset to BufferView::Pimpl
10982 2001-06-01 Juergen Vigna <jug@sad.it>
10984 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10985 inside a LockingInset (is the update needed at all?).
10987 2001-05-31 Juergen Vigna <jug@sad.it>
10989 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10990 here not the old one otherwise how should we compare it afterwards
10993 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10998 * FontInfo.C: bring C functions into global namespace when
11001 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11003 * LString.h: make sure config.h has been loaded before LString.h.
11005 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11006 (one for each char read by EatLine!).
11008 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11011 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11013 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11014 to the same as the par we break from
11016 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11020 * MenuBackend.C (expand): also create menu entries for wide
11021 versions of the floats.
11023 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11025 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11027 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11028 frontends/Makefile.am
11034 * tabular.C (getTokenValue): add std::
11036 * tabular-old.C (getTokenValue): add std::
11037 (getTokenValue): ditto
11038 (getTokenValue): ditto
11040 * screen.C (ToggleSelection): adjust
11042 * lyxtext.h: put selection cursors inside a Selection struct.
11044 * lyxfunc.C (moveCursorUpdate): adjust
11046 * lyxfont.C (latexWriteStartChanges): add std::
11048 * lyxfind.C: adjust
11050 * font.h: delete with(char const *, LyXFont const &)
11052 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11054 * FontInfo.C (getFontname): add std::
11056 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11057 (workAreaButtonPress): adjust
11058 (tripleClick): adjust
11060 (moveCursorUpdate): adjust
11063 * BufferView2.C (gotoInset): adjust
11065 2001-05-30 Juergen Vigna <jug@sad.it>
11067 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11068 to check pspell I add this as default as I now have new pspell
11069 libraries and they seem to use this.
11071 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11073 * text2.C (CutSelection): make the cursor valid before the call to
11076 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11078 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11079 relied on 0 terminated strings and other horrors. Bug found due to
11080 the new assert in lyxstring!
11082 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11085 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11087 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11090 * lyxfunc.C (processKeySym): change method of getting to the
11093 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11094 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11095 * BufferView_pimpl.[Ch]: here as private methods.
11097 2001-05-28 Juergen Vigna <jug@sad.it>
11099 * text.C (SetHeightOfRow): added the update() call again as it is
11100 needed to initialize inset dimensions!
11102 2001-05-16 Juergen Vigna <jug@sad.it>
11104 * text2.C (SetCharFont): Add new function with BufferView * and
11105 bool toggleall parameters for setting insets internal fonts.
11106 (SetFont): Freeze the undo as we may change fonts in Insets and
11107 all this change should be inside only one Undo!
11109 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11110 setting font's in insets as for them we have the SetFont function!
11112 2001-05-15 Juergen Vigna <jug@sad.it>
11114 * text2.C (ClearSelection): to be sure we REALLY don't have any
11117 * tabular.C (TeXCellPreamble): fixed the left border problem for
11120 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11122 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11125 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11128 LFUN_BREAKPARAGRAPH.
11130 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11131 help test to "internal only", similar for LFUN_INSERT_URL
11133 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11134 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11135 auto_region_delete and deadkeys.
11137 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11140 * LColor.C: remove some dead entries, tidy a little
11142 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11146 (Dispatch): implement LFUN_ESCAPE
11148 * commandtags.h: add LFUN_ESCAPE
11150 * LyXAction.C (init): add entry for LFUN_ESCAPE
11152 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11153 Remove commented code.
11154 (insertNote): moved here
11155 (open_new_inset): moved here
11157 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11160 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11162 * kbmap.C (findbinding): clean it up and make it work correctly.
11164 * lyx_main.C (init): do not pass argc and argv as parameters
11166 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11168 * buffer.C: fix path for OS/2 & Win32
11172 * lyx_main.C: Added os:: class.
11174 * os2_defines.h: update
11176 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11179 better by trying again with reduced state.
11181 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11183 * lyxrc.C (read): print error about invalid key sequence only when
11184 debugging (because not all latinX keysyms are known to some X
11187 * kbsequence.C (getiso): add a few std:: qualifiers
11188 (getiso): comment out extra return statement.
11190 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11192 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11194 (Dispatch): enhance the accent inset a bit. (not perfect)
11196 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11198 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11200 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * bufferlist.C (emergencyWrite): fix assert() call
11204 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11206 * text.C (InsertChar): Added trivial patch to only send the "you
11207 can not do multiple spaces this way" message once during a
11210 2001-05-08 Baruch Even <baruch@lyx.org>
11212 * Makefile.am: Changed order of libraries to get LyX to link properly
11213 with the gnome frontend.
11215 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11217 * LaTeXFeatures.h: add a std:: qualifier
11219 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * paragraph.C (String): use stringstream
11223 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * paragraph.C (writeFile): remove footflag arg
11227 * buffer.C (makeLaTeXFile): use stringstream
11228 (latexParagraphs): remove footnot gurba
11230 * LaTeXFeatures.C (getPackages): use stringstream
11231 (getMacros): likewise
11232 (getTClassPreamble): likewise
11233 (getFloatDefinitions): new method
11235 * paragraph.C (writeFile): reindent
11238 * WorkArea.h: revert the xpos + etc changes.
11240 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11242 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11244 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11245 (pasteSelection): likewise
11246 * text2.C (CreateUndo): likewise
11248 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11250 * minibuffer.C (peek_event): temporarily reduce the functionality
11251 of the minibuffer (to allow args on lfuns)
11253 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11254 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11256 * buffer.C (readInset): add compability reading of old float
11257 lists, add reading of new style float list.
11258 (readInset): avoid reevaluation of inscmd.getCmdName()
11259 (getLists): reindent
11261 * MenuBackend.C (MenuItem): implement parsing of
11262 md_floatlistinsert and md_floatinsert.
11263 (expand::LastFiles): move initalizaton of iterators out of loop,
11264 avoid reevaluation.
11265 (expand::Documents): introduce typdedef vector<string> Strings,
11267 (expand::ExportFormats): introduce typedef vector<Format const *>
11268 Formats, and use it.
11269 (expand): implement FloatListInsert and FloatInsert.
11271 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11272 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11273 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11275 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11277 (Dispatch::LFUN_FLOAT_LIST): implement
11279 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11281 * LaTeX.C (run): Fix problem with --export code.
11283 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11285 * BufferView.[Ch] (workarea): removed.
11286 (getClipboard) new method; wrapper for workarea()->getClipboard()
11288 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11291 * WorkArea.h (width, height, xpos, ypos): These methods all
11292 returned the dimensions of the work_area sub-area of WorkArea,
11293 resulting in a position error if the WorkArea were resized. Now
11294 return the dimensions of the entire WorkArea.
11296 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11298 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11300 * LaTeX.C (deplog): correct the syntax of regex reg1
11302 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * undo.C: remove !NEW_INSETS cruft
11306 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * text2.C: remove !NEW_INSETS cruft
11310 * text.C: remove !NEW_INSETS cruft
11312 * tabular.C: remove !NEW_INSETS cruft
11314 * spellchecker.C: remove !NEW_INSETS cruft
11316 * lyxtext.h: remove !NEW_INSETS cruft
11318 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11320 * lyxfunc.C: remove !NEW_INSETS cruft
11322 * lyxfind.C: remove !NEW_INSETS cruft
11324 * lyx_cb.C: remove !NEW_INSETS cruft
11326 * figureForm.C: remove !NEW_INSETS cruft
11328 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11330 * buffer.[Ch]: remove !NEW_INSETS cruft
11332 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11334 * CutAndPaste.C: remove !NEW_INSETS cruft
11336 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11338 * BufferView2.C: remove !NEW_INSETS cruft
11340 * BufferView.h: remove !NEW_INSETS cruft
11342 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11344 * Lsstream.h: include LString.h before the sstream headers to
11345 fix problem with gcc 2.95.3 and lyxstring
11347 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11349 * lyx_main.C: add using directives when needed for C functions
11350 declared in std:: namespace.
11352 2001-04-27 Juergen Vigna <jug@sad.it>
11354 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11355 (SetHeightOfRow): comment out the update call should not be needed!
11357 2001-04-13 Juergen Vigna <jug@sad.it>
11359 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11360 (LyXTabular): tried to minimize operator= operations (and realized
11361 hopfully Lars wish).
11363 2001-04-27 Juergen Vigna <jug@sad.it>
11365 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11367 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11369 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11371 * buffer.C (readInset): hack to make listof algorithm work
11373 * BufferView_pimpl.C: hack to make listof algorithm work
11375 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * LyXAction.C: removed all !NEW_INSETS cruft
11378 (init): moved lfun_item in method
11380 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11382 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11384 * BufferView2.C (theLockingInset): white space.
11386 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * minibuffer.C: include <iostream>
11390 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11392 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11394 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11396 * text.[Ch] (TransposeChars): new method
11398 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11400 * call message directly through LyXView instead of through LyXFunc
11401 * BufferView2.C: adjust
11402 * BufferView_pimpl.C: adjust
11403 * FontLoader.C: adjust
11405 * bufferview_funcs.C: adjust
11406 * converter.C: adjust
11407 * figureForm.C: adjust
11408 * importer.C: adjust
11410 * lyx_gui_misc.C: adjust
11411 * lyxfunc.C: adjust
11414 + more files in subdirs
11416 * lyxparagraph.h (size): move up int file
11419 * adjust all uses of Assert to lyx::Assert.
11421 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11422 lyxfunctional in namespace lyx
11423 * layout.C (hasLayout): ditto
11426 (delete_layout): ditto
11427 (NumberOfClass): ditto
11428 * converter.C (GetFormat): ditto
11433 * bufferlist.C (getFileNames): ditto
11434 (emergencyWriteAll): ditto
11437 * MenuBackend.C (hasSubmenu): ditto
11440 * BufferView_pimpl.C (getInsetByCode): ditto
11442 2001-04-18 Juergen Vigna <jug@sad.it>
11444 * vspace.C (asLatexString): fixed the 100% problem.
11446 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11448 * lyxfunc.C (Dispatch):
11450 * minibuffer.h: add a few std:: qualifiers
11452 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11454 * minibuffer.[Ch]: reimplement so that commands is initiated and
11455 run from lyxfunc, simplified som handling, and made the completion
11456 and history code for complete. wip.
11458 * lyxfunc.C (processKeySym): call message
11459 (miniDispatch): new temporary method
11460 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11461 (LFUN_MESSAGE): implement
11462 (LFUN_MESSAGE_PUSH): implement
11463 (LFUN_MESSAGE_POP): implement
11464 (initMiniBuffer): the initial/defualt minibuffer message.
11466 * lyxfont.[Ch]: inline some more getters
11468 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11470 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11472 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11473 (AutoSave): use LFUN_MESSAGE
11474 (Reconfigure): ditto
11476 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11478 * figureForm.C: use LFUN_MESSAGE
11480 * converter.C (runLaTeX): use LFUN_MESSAGE
11482 * bufferview_funcs.C: use LFUN_MESSAGE
11484 (changeDepth): ditto
11486 * bufferparams.h: use boost::
11488 * bufferlist.h: inherit privately from noncopyable
11490 * bufferlist.C (loadLyXFile): remove some commented code.
11492 * buffer.C (runChktex): use LFUN_MESSAGE
11494 * ShareContainer.h: inherit privately from noncopyable
11496 * ParagraphParameters.[hC] (depth): inline it.
11498 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11500 (message): new method
11501 (messagePush): ditto
11502 (messagePop): ditto
11503 (show): init minibuffer
11504 (showState): direct call
11506 * LaTeX.[Ch]: inherit privately from noncopyable
11507 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11508 instead of WriteStatus.
11510 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11512 * BufferView_pimpl.C (buffer): don't init minibuffer
11513 (workAreaButtonPress): use LFUN_MESSAGE
11514 (workAreaButtonRelease): ditto
11515 (savePosition): ditto
11516 (restorePosition): ditto
11517 (MenuInsertLyXFile): ditto
11518 (workAreaExpose): don't init minibuffer
11519 (update): remove commented code, simplify
11521 * BufferView2.C (openStuff): use LFUN_MESSAGE
11522 (toggleFloat): ditto
11525 (copyEnvironment): ditto
11526 (pasteEnvironment): ditto
11531 (updateInset): remove some commented code
11533 * lastfiles.h: inherit privately from noncopyable
11536 * lyx_main.h: ditto
11538 * lyxlex_pimpl.h: ditto
11540 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11541 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11542 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11544 * LyXAction.h: inherit privately from noncopyable, add methods
11545 func_begin, func_end, returning iterators to the func map.
11547 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11548 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11549 (func_begin): new method
11550 (func_end): new method
11552 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11554 (copySelection): ditto
11555 (pasteSelection): ditto
11557 * BufferView.C: whitespace change
11558 * BufferView.h: inherit privately from noncopyable
11560 2001-04-16 Allan Rae <rae@lyx.org>
11562 * tabular-old.C (l_getline):
11563 * spellchecker.C (sc_check_word):
11564 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11565 an unrecognised preprocessor directive. So ensure they're wrapped.
11567 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11569 * src/exporter.C (Export): Give an error message when path to file
11572 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11574 * LaTeX.C (deplog): Always check that foundfile exists.
11576 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11579 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11581 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * tabular.[Ch] (getLabelList): implement new method
11585 * minibuffer.h: comment ouf setTiimer
11587 * minibuffer.C (ExecutingCB): constify res
11588 (peek_event): constify s
11589 (Set): constify ntext
11590 (Init): constify nicename
11592 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11594 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11595 (savePosition): use two params to Minibuffer::Set
11596 (restorePosition): ditto
11598 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11600 * lyx_main.C: include language.h
11602 * Makefile.am (lyx_main.o): add language.h
11604 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11610 * CutAndPaste.C: include gettext.h
11612 * lyxfont.h: remove old hack with ON and OFF.
11615 * lyxfont.h: do not include language.h...
11620 * bufferview_funcs.C:
11626 * paragraph.C: ... but do it here instead
11628 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11630 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11632 * tabular.C: small reformat
11634 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11637 (BreakParagraph): ditto
11638 (SetOnlyLayout): ditto
11641 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11644 * lastfiles.C: removed most using decl, add std:: where needed
11646 * buffer.C: ws changes
11648 * MenuBackend.C (class compare_format): put into anon namespace
11649 (expand): constify label, names, action, action2
11652 * text.C (SingleWidth): constify font
11653 (IsBoundary): constify rtl2
11654 (GetVisibleRow): constify ww
11656 * LaTeX.C (deplog): constify logfile
11658 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11660 (workAreaExpose): constify widthChange, heightChange
11662 * lyxrow.C (par): moved
11665 * lyxrow.h: as inlines here
11667 * lyxfont.h (shape): moved from lyxfont.C
11668 (emph): moved from lyxfont.C
11670 * lyxfont.C (LyXFont): use initialization list for all
11672 (shape): move to lyxfont.h as inline
11673 (emph): move to lyxfont.h as inline
11676 2001-04-04 Juergen Vigna <jug@sad.it>
11678 * vspace.C: had to include stdio.h for use of sscanf
11680 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11683 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11684 independent of xforms.
11686 2001-04-02 Juergen Vigna <jug@sad.it>
11688 * spellchecker.C: fixed namespace placing!
11690 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11692 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11693 the LyXParagraph * is 0.
11695 2001-03-29 Juergen Vigna <jug@sad.it>
11697 * vspace.C: added support for %, c%, p%, l%.
11698 (stringFromUnit): added helper function.
11699 (asLatexString): changed to give right results for the %-values.
11701 * buffer.C: convert the widthp in a width%.
11703 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11705 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11708 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11709 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11711 * lyx_cb.[Ch]: see above.
11713 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11717 * lyx.[Ch]: replaced by figure_form.[Ch].
11721 * lyxfunc.C: changed headers associated with above changes.
11723 2001-03-27 Juergen Vigna <jug@sad.it>
11725 * BufferView_pimpl.C: set the temporary cursor right!
11727 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11729 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11731 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11733 * LString.h: removed "using std::getline"!
11735 * BufferView_pimpl.C (Dispatch): changes due to changes in
11736 InsetInclude::Params.
11738 * buffer.C (tag_name): removed redundant break statements as they were
11739 producing lots of warnings with my compiler.
11741 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11743 * LString.h: add "using std::getline" when using the real <string>.
11745 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11747 * buffer.C: removed bitset usage.
11748 PAR_TAG moved to an anonymous name space.
11749 (tag_name): new funtion, also in the anonymous namespace.
11750 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11751 (makeDocBookFile): clean code. Completed transition from string arrays
11753 (SimpleDocBookOnePar): code clean.
11755 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11757 * tabular.C: add some comments.
11759 2001-03-22 Juergen Vigna <jug@sad.it>
11761 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11762 compatibility read a bit and fixed bug with minipage in different
11765 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11767 * buffer.C (pop_tag): removed.
11768 (push_tag): removed.
11769 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11770 array replaced with vector. Added support for CDATA sections.
11771 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11773 (makeDocBookFile): XML conformant declaration of CDATA section,
11774 fixed bug related to <emphasis> in the first paragraph char.
11775 (sgmlOpenTag): exclude empty tags.
11776 (sgmlCloseTag): ditto.
11778 * buffer.h (pop_tag): removed.
11779 (push_tag): removed.
11781 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11783 * language.h (Languages): added size_type and size().
11785 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11787 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11788 response on compability reading of minipages. One probliem is that
11789 the old usage of minipages was «flertydig»
11791 * several files here and in subdirs: don't use static at file
11792 scope use anon namespaces instead.
11794 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11796 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11797 LaTeX output. This is necessary for Literate document
11800 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11802 * buffer.C: insert hfill when needed.
11804 * tabular.C (l_getline): use string::erase, small whitespace change.
11806 * BufferView_pimpl.C: try the anon namespace.
11807 * WorkArea.C: ditto
11809 2001-03-16 Juergen Vigna <jug@sad.it>
11811 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11812 otherwise it won't open options-dialogs.
11814 * buffer.C: honor pextraWidth(p) on converting minipages.
11816 * tabular.C (l_getline): changed the functions to strip trailing \r.
11818 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11820 * BufferView_pimpl.C:
11821 * minibuffer..C: added "using SigC::slot" declaration.
11823 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11825 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11831 * paragraph.C: ditto
11833 * lyxtext.h: NO_PEXTRA
11835 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11837 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11838 * ParameterStruct.h: ditto
11839 * ParagraphParameters.h: ditto
11840 * lyxparagraph.h: ditto
11842 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11844 * buffer.C: add compability for minipage alignment.
11845 (latexParagraphs): remove unwanted pextra check.
11847 * several files: remove CXX_WORKING_NAMESPACES
11849 * buffer.C (pop_tag): tie is in namespace boost
11851 * BufferView.h: noncopyable is in namespace boost
11853 * lyx_main.h: ditto
11856 * lastfiles.h: ditto
11857 * bufferlist.h: ditto
11858 * ShareContainer.h: ditto
11860 * LyXAction.h: ditto
11863 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11865 * Merging changes from BRANCH_MVC back into HEAD.
11867 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11869 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11871 * BufferView_pimpl.C: change from intl.C
11875 * Makefile.am: move combox.*
11881 * intl.C: remove dialog (covered by prefs)
11883 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11885 * lyxfunc.C (Dispatch): removed redundant break statement.
11887 2001-03-14 Juergen Vigna <jug@sad.it>
11889 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11891 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11893 * buffer.C: add hack to fix compability reading of minipages.
11895 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11897 * buffer.C (getLists): Cleanup.
11899 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11901 * lyxfont.C (update): don't honor toggleall on font size.
11903 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11907 * Makefile.am: moved to frontends/xforms/
11911 * BufferView_pimpl.C: changes for moved mathpanel
11913 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11915 * gettext.h: fix gettext_init() in --disable-nls
11917 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11919 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11921 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11924 * lyx.h: strip external form
11926 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11928 * BufferView_pimpl.C: add comment, destroySplash()
11930 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11932 * BufferView_pimpl.C:
11936 * lyxfunc.C: use re-worked insetinclude
11938 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11940 * buffer.C: add using std::stringstream.
11942 * lyx_cb.C: readd using std::ios.
11944 * buffer.C: add using std::map.
11946 * BufferView_pimpl.C: add using std::vector.
11948 * ShareContainer.h: add std:: to swap.
11950 * buffer.h: add some typedefs
11951 * buffer.C (getLists): use them
11952 (getLists): renamed from getTocList.
11953 add a counter for the different float types and use it in the
11955 (getLists): use the same counter for the NEW_INSETS and the "non"
11958 * lyx_cb.h: remove unused items, includes, using etc.
11960 * ShareContainer.h: remove some commented code, add more comments
11961 and "documentation".
11963 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11965 * buffer.C (getTocList): make the list also when NEW_INSETS is
11968 * buffer.h: remove TocType
11970 * buffer.C (getTocList): change to return a map<string,
11971 vector<TocItem> >, implement for dynamic number of list.
11973 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11974 * text2.C (PasteSelection): adjust
11975 * CutAndPaste.C (pasteSelection): adjust
11977 * FloatList.C (FloatList): update from the new_insets branch.
11978 * Floating.[Ch]: ditto
11979 * LaTeXFeatures.C: ditto
11981 * lyxlex_pimpl.C: ditto
11983 * paragraph.C (Last): remove when NEW_INSETS is defined.
11985 * other file: changes because of the above.
11987 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11989 * lyxparagraph.h: rename next to next_, previous to previous_,
11990 make them private for NEW_INSETS. Rename Next() to next(),
11991 Previous() to previous().
11993 * other files: changes because of the above.
11995 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11998 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12001 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12003 * main.C (main): pass lyx_localedir to gettext_init().
12005 * gettext.h: remove locale_init and gettext_init macros
12007 * gettext.C (locale_init): new function
12008 (gettext_init): new function
12010 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12013 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12015 * Moved credits to frontends:
12016 * credits.[Ch]: removed
12017 * credits_form.[Ch]: removed
12018 * lyx_gui_misc.C: remove credits stuff
12021 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12023 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12025 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12026 unneeded destructor.
12028 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12029 a standalone pointer again.
12031 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12033 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12039 * ToolbarDefaults.C:
12048 * BufferView_pimpl.C: use new file dialog in GUII
12051 * lyx_cb.C: remove LayoutsCB to Toolbar
12053 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12055 * ShareContainer.h (get): add std:: qualifier
12057 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12059 * ShareContainer.h: define a proper ShareContainer::value_type
12060 type (and use typename to please compaq cxx)
12062 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12064 * lyxparagraph.h: move serveral local vars to
12065 ParameterStruct/ParagraphParameters., use ShareContainer in
12066 FontTable., make vars in FontTable private and add getter and
12069 * paragraph.C: changes because of the above.
12071 * lyxfont.h: remove copy constructor and copy assignment. (the
12072 default ones is ok), move number inside FontBits. move inlines to
12075 * lyxfont.C: add number to initializaton of statics, move several
12076 inlines here. constify several local vars. some whitespace
12077 cleanup. Dont hide outerscope variables.
12079 * Spacing.h: add two new constructors to match the set methods.
12081 * ShareContainer.h: new file, will perhaps be moved to support
12083 * ParameterStruct.h: new file
12085 * ParagraphParameters.h: new file
12087 * ParagraphParameters.C: new file
12089 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12090 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12092 * BufferView_pimpl.C: ParagraphParameter changes.
12093 * buffer.C: Likewise.
12094 * bufferview_funcs.C: Likewise.
12095 * text.C: Likewise.
12096 * text2.C: Likewise.
12098 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12100 * lyxfind.C (LyXReplace): do not redefine default argument in
12102 (IsStringInText): ditto
12103 (SearchForward): ditto
12104 (SearchBackward): ditto
12106 2001-03-06 Juergen Vigna <jug@sad.it>
12108 * lyxfind.C (IsStringInText): put parentes around expressions.
12110 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12112 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12114 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12116 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12118 * stl_string_fwd.h: add comment
12120 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12123 * tabular.C: remove unused DocBook methods
12129 killed DO_USE_DEFAULT_LANGUAGE
12131 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12133 * lyx_gui.C: do not include language.h.
12135 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12136 arguments in function implementation.
12138 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12140 * BufferView_pimpl.C: add <ctime>
12142 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12144 * BufferView_pimpl.C: add using std::find_if
12146 2001-02-27 José Matos <jamatos@fep.up.pt>
12148 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12151 2001-02-11 José Matos <jamatos@fep.up.pt>
12153 * buffer.C (makeDocBookFile): command styles now have a parameter as
12154 "title" by default.
12156 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12158 * layout_forms.[Ch]: removed
12159 * lyx_cb.[Ch]: out character
12160 * lyx_gui.C: out character
12161 * lyx_gui_misc.C: out character
12162 * bufferview_funcs.C: : out character,
12163 added toggleall as parameter in ToggleAndShow
12165 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12167 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12169 * text2.C (SetCurrentFont): Disable number property at boundary.
12171 2001-02-26 Juergen Vigna <jug@sad.it>
12173 * lyxfunc.C (getStatus): added a string argument override function so
12174 that this is correctly called from LyXFunc::Dispatch if it contains a
12175 do_not_use_argument which is used!
12176 (Dispatch): added check for "custom" export and call appropriate func.
12178 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12180 * lyxrc.C: Add language_command_local, language_use_babel and
12181 language_global_options.
12183 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12185 * buffer.C (makeLaTeXFile): Use language_use_babel and
12186 language_global_options.
12188 2001-02-23 Juergen Vigna <jug@sad.it>
12190 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12191 which works with LyXText and putted it inside BufferView. Here now we
12192 only call for that part the BufferView::Dispatch() function.
12194 * BufferView.C (Dispatch): added.
12196 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12197 functions which needs to use a LyXText over from LyXFunc.
12198 (MenuInsertLyXFile): added
12199 (getInsetByCode): added
12200 (moveCursorUpdate): added
12201 (static TEXT): added
12203 2001-02-22 Juergen Vigna <jug@sad.it>
12205 * BufferView_pimpl.C (update): call a status update to see if LyXText
12208 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12210 * vc-backend.C (revert): implement for CVS
12211 (getLog): implement for CVS
12213 2001-02-20 Juergen Vigna <jug@sad.it>
12215 * text2.C (ClearSelection): added BufferView param for inset_owner call
12217 * lyxfunc.C (TEXT): added this function and use it instead of
12218 directly owner->view()-text of getLyXText().
12220 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12222 * src/layout_forms.C: out preamble
12223 * src/layout_forms.h: out preamble
12224 * src/lyx_cb.C: out preamble
12225 * src/lyx_cb.h: out preamble
12226 * src/lyx_gui.C: out preamble
12227 * src/lyx_gui_misc.C: out preamble
12228 * src/lyxfunc.C: connect with guii preamble
12230 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12232 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12234 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12236 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12237 whether to run bibtex.
12239 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12241 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12243 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12245 * Makefile.am (lyx_SOURCES): removed bibforms.h
12247 * vspace.h: doxygen
12249 * text.C (GetVisibleRow): make several local vars const
12251 * tabular.C: small cleanup.
12253 * lyxserver.C (callback): use compare instead of strncmp
12255 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12256 inlines to after class or to paragraph.C
12258 * lyxfont.h: remove friend operator!=
12260 * converter.h: move friend bool operator< to non friend and after
12263 * combox.h: small cleanup
12265 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12266 to inlines after class def.
12268 * buffer.C (pop_tag): use string operations instead of strcmp
12270 * bmtable.c: doxygen, small cleanup
12272 * LaTeX.h: remove friend operator==
12274 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12286 * BufferView_pimpl.C:
12287 * BufferView.[Ch]: remove cruft
12289 2001-02-14 Juergen Vigna <jug@sad.it>
12291 * lyxfunc.C: removed #if 0 unused code
12293 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12295 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12297 * text2.C (SetSelection): added a BufferView * parameter
12299 2001-02-13 Juergen Vigna <jug@sad.it>
12301 * lyxfunc.C (Dispatch): fixed protected blank problem.
12302 * BufferView2.C (protectedBlank): added LyxText * parameter.
12304 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12305 (AppendColumn): same as above for column_info.
12307 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12308 (moveCursorUpdate): use a LyXText param for support of InsetText.
12310 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12311 (tripleClick): ditto
12313 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12315 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12317 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12319 * text2.C (SetSelection): set correct update status if inset_owner
12320 (ToggleFree): ditto
12322 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12324 * tabular.C: remove some commented code.
12326 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12328 * BufferView_pimpl.C: call hideSplash()
12330 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12333 * bibforms.h: remove
12336 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12337 add LFUN_CHILD_CREATE
12339 * counters.h: fix tiny typo
12344 * lyx.C: move splash to frontends/xforms/
12346 * lyx_gui_misc.C: move Include and Bibform to frontends
12348 * lyxvc.h: clarify comment
12350 * vspace.C: tiny housekeeping
12352 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12354 * text.C (PrepareToPrint): RTL Fix.
12356 * paragraph.C (GetUChar): New method.
12357 (String): Use GetUChar.
12359 * buffer.C (asciiParagraph): Use GetUChar.
12361 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12363 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12365 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12368 * buffer.C: rename to getLogName(), handle
12369 build log / latex log nicely
12371 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12374 * MenuBackend.h: remove support for reference menuitem type.
12376 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12378 * BufferView_pimpl.C: housekeeping
12379 * BufferView_pimpl.h:
12384 * minibuffer.h: move Timeout GUI-I
12386 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12388 * lyxrc.C (read): Update converters data-structures.
12390 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12392 * LaTeX.h (operator!=): add operator != for Aux_Info
12394 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12396 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12398 * LaTeXLog.C: deleted, useful code moved to Buffer
12401 * buffer.C: new function getLatexLogName()
12407 * lyxfunc.C: use frontends for LaTeX and VC logs
12409 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12411 * LaTeX.h: yet another std:: that Allan forgot.
12413 * Variables.C (set): renamed from isset(), because this clashes
12414 with some HP-UX macros (grr).
12416 2001-02-06 Allan Rae <rae@lyx.org>
12418 * LaTeX.h: Another bug fix. Missing std:: this time.
12420 2001-02-04 Allan Rae <rae@lyx.org>
12422 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12423 floats problem. I've left it commented out because it's not quite
12424 correct. It should also test that the current object is a table or
12425 figure inset. But I haven't gotten around to figuring out how to do
12426 that. I *think* it'll be something like: "table" == inset.type()
12428 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12431 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12433 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12434 all the citation/databases/styles in the auxilary file.
12435 (run): Rerun latex if there was a babel language error.
12437 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12439 * text.C (Backspace): Preserve the font when changing newline char
12441 (BreakParagraph): If the cursor is before a space, delete the space.
12443 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12445 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12447 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12448 new argument (code).
12449 (ChangeCitationsIfUnique): New method.
12451 * paragraph.C (GetPositionOfInset): Handle bibkey.
12453 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12455 * BufferView_pimpl.h: change type of Position::par_pos to
12456 LyXParagraph::size_type.
12458 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12460 * BufferView_pimpl.C (savePosition, restorePosition): Write
12461 messages to minibuffer.
12463 2001-01-28 José Matos <jamatos@fep.up.pt>
12465 * buffer.C (makeDocBookFile): adds support for document language.
12466 A silly restriction on the name of LatexCommand types where removed.
12467 Added support for CDATA sections, allows to chars unescaped, used
12468 among others in code, to avoid escape < and >.
12470 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12472 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12473 saved positions instrad of a stack. Furthermore, a position is
12474 stored using paragraph id/paragraph position.
12476 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12477 Remove LFUN_REF_BACK.
12479 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12481 * converter.C (dvipdfm_options): New method.
12483 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12485 * vspace.C (isValidLength): Fix for empty input string.
12487 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12489 * LyXAction.C (init): change description of LFUN_FIGURE to
12492 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12494 * LaTeX.C: add using directive
12496 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12498 * MenuBackend.C (expand): Fix the sorting of the formats.
12500 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12502 * lyx_main.C: tiny error message fix
12504 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12506 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12507 calling fl_initialize(). This fixes the problem with ',' as
12508 decimal separator in text files.
12510 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12512 * trans.C (process): Fix the keymap bug.
12514 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12516 * LaTeX.C (scanAuxFiles): New method. Provides support for
12517 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12518 (scanLogFile) Scan for "run BibTeX" messages.
12520 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12521 OT1 font encoding. Also, load the aecompl package if the ae
12524 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12526 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12528 * texrow.C (increasePos): turn two error messages into debug
12531 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12533 * LaTeX.C (scanAux): Handle the \@input macro.
12534 (runBibTeX): Use scanAux().
12536 * language.C (latex_options_): New field.
12538 * LaTeXFeatures.C (getMacros): Add language macros.
12540 * buffer.C (makeLaTeXFile): Small fix.
12542 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12546 * text2.C: add a using directive.
12548 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12553 * lyxfunc.C: kill LyXBell.
12555 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12557 * text.C (IsBoundary): Remove the error message
12559 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12561 * lyxrc.C (setDefaults): Correct initialization value for
12564 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12566 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12569 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12570 and GotoNextNote().
12572 * src/LyXAction.C: Added reference-next.
12574 * text.C (InsertChar): Use contains instead of strchr.
12576 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12578 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12580 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12581 alignment commands (when needed).
12583 * text.C (InsertChar): Add ':' to number separator chars.