1 2003-09-08 Angus Leeming <leeming@lyx.org>
3 * graph.C: #include <config.h>.
5 2003-09-08 Angus Leeming <leeming@lyx.org>
38 * toc.C: remove redundant using directives.
40 2003-09-07 Angus Leeming <leeming@lyx.org>
42 * LaTeXFeatures.h: remove #include "support/types.h".
43 * ToolbarBackend.h: remove #include <algorithm>.
44 * changes.h: remove #include <ctime>.
45 * debug.h: remove #include <iosfwd>.
46 * graph.h: remove #include "support/std_string.h".
47 * lyx_main.h: remove #include <csignal>.
48 * lyxlex_pimpl.h: remove #include <fstream>.
49 * sgml.h: remove #include <algorithm>, <utility>.
50 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
52 2003-09-07 Angus Leeming <leeming@lyx.org>
54 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
56 * converter.h: forward declare LatexRunParams.
57 * encoding.h: remove #include "lyxrc.h".
58 * lyxtext.h: remove #include "LColor.h".
59 * lyxtextclass.h: remove #include "support/types.h".
60 * trans.h: remove #include "tex-accent.h".
61 * trans_mgr.h: remove #include "tex-accent.h".
62 * insets/inset.h: remove #include "support/types.h", <vector>.
63 * insets/insetcollapsable.h: remove #include "LColor.h".
64 * insets/insetinclude.h: remove #include "dimension.h".
65 * insets/insetlatexaccent.h: remove #include "dimension.h".
66 * insets/insetoptarg.h:: remove #include "insettext.h".
67 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
69 * insets/renderers.h: add #include "dimension.h".
70 * insets/updatableinset.h: add #include "support/types.h".
72 * many .C files: Associated changes.
74 2003-09-06 Angus Leeming <leeming@lyx.org>
76 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
79 * PrinterParams.C: new file.
80 * PrinterParams.[Ch]: move the function bodies out of line.
82 2003-09-06 Angus Leeming <leeming@lyx.org>
84 * ParagraphParameters.h: forward declare ParameterStruct rather than
85 including its header file.
86 (depth): moved out-of-line.
88 2003-09-06 Angus Leeming <leeming@lyx.org>
93 * lyxfunc.h: forward declare LyXKeySym rather than
94 #include "frontends/LyXKeySym.h".
99 * lyxfunc.C: associated changes.
101 2003-09-06 Angus Leeming <leeming@lyx.org>
103 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
104 As a result, can remove the #include "insets/inset.h" from BufferView.h
106 2003-09-06 Angus Leeming <leeming@lyx.org>
108 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
109 As a result, can remove the #include "insets/inset.h" from BufferView.h
111 2003-09-06 Angus Leeming <leeming@lyx.org>
117 * bufferview_funcs.C:
118 * BufferView_pimpl.C:
123 * ParagraphParameters.C:
128 * frontends/controllers/ControlDocument.C:
129 * insets/insetcaption.C: rearrange the #includes into some sort of
132 * buffer.h: remove #includes ErrorList.h, undo.h
134 2003-09-06 Angus Leeming <leeming@lyx.org>
136 * support/types.h: add a 'depth_type' typedef, used to store the
137 nesting depth of a paragraph.
140 * ParameterStruct.h: use this lyx::depth_type typedef rather than
145 * ParagraphParameters.h:
146 * sgml.h: use lyx::depth_type rather than Paragraph or
147 ParameterStruct's depth_type.
150 * paragraph_funcs.h: no need to #include paragraph.h anymore.
153 * BufferView_pimpl.C:
155 * ParagraphParameters.C:
158 * bufferview_funcs.C:
165 * frontends/LyXView.C:
166 * frontends/controllers/ControlDocument.C:
167 * frontends/controllers/ControlErrorList.C:
168 * insets/insetbibitem.C:
169 * insets/insetbranch.C:
170 * insets/insetcaption.C:
171 * insets/insetcollapsable.C:
174 * insets/insetfloat.C:
175 * insets/insetfoot.C:
176 * insets/insetfootlike.C:
177 * insets/insetnewline.C:
178 * insets/insetquotes.C:
179 * insets/insettabular.C:
180 * insets/insettext.C:
181 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
183 * frontends/controllers/ControlChanges.C: #include "changes.h".
185 2003-09-06 Angus Leeming <leeming@lyx.org>
187 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
188 #including paragraph.h.
191 * RowList.h: deleted. Superfluous.
201 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
203 * paragraph.h: don't forward declare ParagraphList.
206 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
207 rather than ParagraphList.h. paragraph.h is still needed for the
208 Paragraph::depth_type parameters.
210 * textcursor.h: enable it to compile stand-alone in light of the
213 * bufferview_funcs.C:
225 * frontends/controllers/ControlParagraph.C:
226 * frontends/controllers/ControlTabular.C:
227 * insets/insetmarginal.C:
228 * insets/insetminipage.C:
229 * insets/insetnote.C:
230 * insets/insetoptarg.C: add header files needed to compile again.
232 2003-09-06 Angus Leeming <leeming@lyx.org>
234 * RowList_fwd.h: new file, forward-declaring Row rather than
240 * insets/insettext.h: use it instead of RowList.h
242 * bufferview_funcs.C:
249 * text3.C: #include "RowList.h".
251 2003-09-05 Angus Leeming <leeming@lyx.org>
253 * factory.C (createInset):
254 * vspace.C (c-tor): replace sscanf call with an istringstream.
255 * ispell.C: re-add missing HP/UX headers.
256 * lyxserver.C: re-add missing os2 headers.
258 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
267 * text3.C: re-add missing system headers, needed for 2.95.2.
269 2003-09-05 Angus Leeming <leeming@lyx.org>
271 Changes most place everywhere due to the removal of using directives
272 from support/std_sstream.h.
274 2003-09-05 Angus Leeming <leeming@lyx.org>
276 Replace LString.h with support/std_string.h,
277 Lsstream.h with support/std_sstream.h,
278 support/LIstream.h with support/std_istream.h,
279 support/LOstream.h with support/std_ostream.h.
281 Changes resulting throughout the tree.
283 2003-09-05 Angus Leeming <leeming@lyx.org>
285 * sgml.h: ensure that the header file can be compiled stand-alone.
286 * *.C: strip out redundant #includes. (320 in total.)
288 2003-09-04 Angus Leeming <leeming@lyx.org>
290 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
291 here (from getPackages).
293 * debug.[Ch]: add a new EXTERNAL tag.
295 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
297 * text2.C (cursorEnd): simplify
299 (getColumnNearX): adjust
301 * text.C (computeBidiTables): adjust
304 * rowpainter.C (paintChars): adjust
305 (paintSelection): adjust
306 (paintChangeBar): adjust
309 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
311 (numberOfSeparators): adjust
313 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
319 * text3.C: Restricts the mouse click functionality
320 of insets like bibtex, include, toc and floatlist to the visible
321 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
322 up the dialogs. Cursor has to be in front of the inset (i.e.
323 start of row) for this to function.
325 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
327 * bufferview_funcs.C (currentState): output row information
329 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
331 * bufferview_funcs.C (currentState): output paragraph position
333 2003-09-04 Angus Leeming <leeming@lyx.org>
335 * FloatList.h: move out #include "Floating.h".
336 * LaTeX.h: move out #include "DepTable.h".
337 * LyXAction.h: move out #include "funcrequest.h".
338 * buffer.h: move out #include "author.h", "iterators.h".
339 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
340 * lyx_main.h: move out #include "errorlist.h".
341 * lyxfunc.h: move out #include "FuncStatus.h".
342 * lyxtext: move out #include "lyxcursor.h".
343 * paragraph_pimpl.h: move out #include "counters.h".
345 2003-09-03 Angus Leeming <leeming@lyx.org>
347 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
348 preamble_snippets list, enabling us to add snippets to the preamble only
349 if the snippet was not there already.
351 2003-09-04 Angus Leeming <leeming@lyx.org>
353 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
355 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
357 * lyxfunc.C (dispatch): if fitCursor did something be sure to
360 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
362 * BranchList.C: point fix, earlier forgotten
364 2003-09-02 Angus Leeming <leeming@lyx.org>
366 * box.C (contains): renamed from 'contained' after a fantastic
369 2003-09-02 John Levon <levon@movementarian.org>
375 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
377 2003-09-02 John Levon <levon@movementarian.org>
379 * text2.C: simplification of cursorEnd(), including partial
382 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
384 * buffer.C (readFile): add a space
386 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
388 * BufferView_pimpl.C (update): remove bogus fitCursor() call
390 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
392 * buffer.C (readFile): new function, take a filename and a
393 ParagraphList::iterator
395 (readFile): adjust, make it private. don't use setStream, make
396 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
397 always contain the filename.
399 * BufferView.C (insertLyXFile): simplify and make it work for
402 2003-08-30 John Levon <levon@movementarian.org>
404 * Makefile.am: fix dist (from Kayvan)
406 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
408 * most files: change to use const Buffer refs
410 2003-08-27 André Pönitz <poenitz@gmx.net>
412 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
413 on top of ownerPar().
415 2003-08-27 John Levon <levon@movementarian.org>
417 * funcrequest.C: properly initialise POD members
419 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
421 * lyxtext.h (top_y): move top_y from here
426 * BufferView_pimpl.[Ch]: to here
427 * frontends/screen.C:
428 * insets/insettabular.C:
429 * insets/insettext.C: adjust
430 * rowpainter.[Ch] (paintRows): remove LyXText & argument
432 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
435 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
437 2003-08-26 André Pönitz <poenitz@gmx.net>
439 * paragraph_func.[Ch] (outerPar): new function
445 * text2.C: remove Inset::par_owner
447 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
452 * text2.C: eliminates the needFullRow/display() stuff
453 altogether, putting the logic in metrics/draw in the insets.
455 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
457 * text2.C (redoParagraphInternal, redoParagraphs):
458 * text.C (redoParagraph): add a call to updateRowPositions at the
459 end of each 'metrics-like' call. Remove all others.
460 (getRow): remove the 'y-computing' version.
461 (getRowNearY): do not compute nor return the real y. Solve the
462 'y < 0' problem and simplify.
464 2003-08-22 Angus Leeming <leeming@lyx.org>
466 * *.[Ch]: clean-up of licence and author blurbs.
467 Also move config.h out of a few .h files and into a few .C files.
469 2003-08-22 André Pönitz <poenitz@gmx.net>
471 * lyxrow.[Ch]: add x_ and *fill_ members
476 * text2.C: adjust/remove prepareToPrint() calls
478 2003-08-22 André Pönitz <poenitz@gmx.net>
480 * lyxrow.[Ch]: add end_ member
482 * lyxrow_funcs.C: use LyXRow::end_
484 * lyxtext.h (singleWidth): add LyXFont parameter
487 * text2.C: adjust LyXText::singleWidth() calls
489 * text.C (redoParagraph): simplify row breaking logic
492 2003-08-19 André Pönitz <poenitz@gmx.net>
494 * funcrequest.C: initialize button_ member
497 * rowpainter.[Ch]: interface consolidation
499 2003-08-18 André Pönitz <poenitz@gmx.net>
502 * BufferView_pimpl.C:
506 * text3.C: remove LyXScreen::draw() and fitCursor calls
508 * BranchList.h: remove spurious semicolons
510 * MenuBackend.C: fix branchlist related crash
512 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
524 * text3.C: implements the 'branch inset'
525 idea. This allows the output of various versions of a document
526 from a single source version, selectively outputing or suppressing
527 output of parts of the text.
528 This implementation contains a 'branch list editor' in a separate
529 tab of the document settings dialog. Branches are user definable
530 and have a "display colour" to distinguish them on-screen.
532 ColorHandler was somewhat cleaned up.
533 (1) make possible a dynamically growing LColor list by allowing
534 the graphic context cache to grow along (vector);
535 (2) eliminate an IMHO unnecessary step in colour allocation.
537 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
539 * BufferView_pimpl.C: compile fix
541 2003-08-15 André Pönitz <poenitz@gmx.net>
543 * rowpainter.C: remove extra metrics calls
545 * lyxtext.h: merge the two constructors into a single one,
546 pass reference to owner's par list
548 * BufferView_pimpl.C:
552 2003-08-15 André Pönitz <poenitz@gmx.net>
562 * text_funcs.C: split LyXText::rowlist_ into individual
563 Paragraph::rows_ chunks
566 * BufferView_pimpl.[Ch]:
569 * text3.C: remove toggleSelection()
571 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
573 * bufferlist.C: beautify two alerts (shorter text of buttons)
574 * buffer.C: Remove redundant ' ' from message
576 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
577 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
578 rename VALIGN_CENTER to VALIGN_MIDDLE
580 2003-08-11 André Pönitz <poenitz@gmx.net>
582 * lyxtext.h (getPar):
583 * text.C: new function
585 2003-08-11 André Pönitz <poenitz@gmx.net>
588 * tracer.[Ch]: remove unneeded files
590 * InsetList.[Ch]: remove resizeInsetsLyXText()
595 * text3.C: merge insertParagraphs() and appendParagraph()
596 remove breakAgain(), update()
598 * BufferView_pimpl.[Ch]:
599 * bufferview_funcs.[Ch]:
603 * tabular.C: adjust after text & InsetList changes.
605 2003-08-08 André Pönitz <poenitz@gmx.net>
607 * text.C (insertChar, backspace): replace rowlist fiddling
608 with rebreak of full par
611 * text.C (breakAgainOneRow, redoHeightOfParagraph,
612 checkParagraph, updateInset): removed
614 2003-08-07 André Pönitz <poenitz@gmx.net>
617 * text3.C: merge some LFUN handlers, remove dead code
619 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
623 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
625 * text2.C (DEPM): fix part of bug 1255 and 1256
627 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * BufferView_pimpl.C (workAreaDispatch): change to use
630 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
631 that are no mouse related.
633 2003-08-05 André Pönitz <poenitz@gmx.net>
636 * BufferView_pimpl.[Ch]:
637 * bufferview_funcs.C:
639 * text3.C: rip out "deep update"
641 * textcursor.[Ch] (last_sel_cursor): remove unused member
643 2003-08-04 André Pönitz <poenitz@gmx.net>
646 * BufferView_pimpl.[Ch]:
647 * ParagraphParameters.C:
648 * bufferview_funcs.C:
654 * text3.C: replace "complicated" BufferView::update(...) calls with
657 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
659 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
661 * Makefile.am (lyx_SOURCES): add paper.h
663 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
665 * Makefile.am: move things around so that both lyx-qt and
666 lyx-xforms can be built (according to --with-frontend). Then lyx
667 is a symbolic link to lyx-[firstfrontend]
669 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
671 * Always use std::endl with lyxerr
673 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
675 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
677 2003-08-01 André Pönitz <poenitz@gmx.net>
680 * BufferView_pimpl.[Ch]:
682 * text3.C: merge BufferView::repaint() and BufferView::update()
684 2003-08-01 José Matos <jamatos@lyx.org>
686 * buffer.[Ch]: file_format is no longer a buffer data element.
688 2003-08-01 André Pönitz <poenitz@gmx.net>
693 * text2.C: make redoParagraph more independent of current cursor
695 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
697 * text2.C: remove unneeded members
699 2003-07-30 André Pönitz <poenitz@gmx.net>
701 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
703 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
704 create a single function...
706 * paragraph_funcs.C (moveItem): ... here.
709 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
711 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
713 * LColor.[Ch]: Add comment and greyedout logical colors.
715 2003-07-30 André Pönitz <poenitz@gmx.net>
717 * tabular.C: don't use Assert too heavily. This crashes where it
720 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
722 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
723 is disabled (bug 1232)
725 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
727 * factory.C: limited 'arg' scope
729 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
731 * factory.C: fixed Note submenu issues
733 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
735 * factory.C: submenu for Note/Comment/Greyedout
737 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
740 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
742 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
745 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
746 greyedout. Patch provided by Jürgen Spitzmüller.
748 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
750 * kbmap.C (read): fix error message when reading bind files
752 2003-07-29 Angus Leeming <leeming@lyx.org>
754 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
755 certainly does not do what it purports to do. I am doing it, and
756 us, a favour by killing it.
758 2003-07-28 José Matos <jamatos@lyx.org>
760 * buffer.C (readBody, do_writeFile):
761 * paragraph.C(readParagraph): \end_document replaces \the_end.
763 2003-07-29 André Pönitz <poenitz@gmx.net>
766 * BufferView_pimpl.[Ch]:
770 * textcursor.[Ch]: remove toggleToggle & Co
772 2003-07-28 José Matos <jamatos@fep.up.pt>
774 * buffer.C (readParagraph):
775 * params_func (readParToken, readParagraph):
776 * paragraph.C (write): \layout -> \begin_layout.
778 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * lyxlex_pimpl.C (setFile): clean up slightly.
782 * bufferparams.h: add compressed var
784 * buffer_funcs.C (readFile): adjust for LyXLex change
785 (newFile): ditto + simplify
787 * buffer.C (writeFile): handle writing of compressed files
789 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
790 Check if the file is compressed and set a bufferparm if so.
792 * Makefile.am (lyx_LDADD): remove explicit -lz
794 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
797 makeDocBookFile): put the real LyX version in the first line of
801 * version.C.in: remove lyx_docversion
803 * tabular.C (write_attribute): add a template-based version to
806 2003-07-28 André Pönitz <poenitz@gmx.net>
811 * text3.C: use doubles again for x-coordinates. They are needed.
813 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * messages.C (getLocaleDir): use lyx_localedir()
817 * lyxlex_pimpl.C (setFile): compress stuff
819 * buffer.C (writeFile): add some compression stuff
820 (do_writeFile): new func, dont call expliti close... will this
823 * Makefile.am (lyx_LDADD): add -lz
825 2003-07-28 José Matos <jamatos@fep.up.pt>
827 * buffer.C: increment file format.
828 * paragraph_funcs (readParagraph, readParToken):
829 * paragraph.C (readParagraph): add \end_layout.
831 2003-07-27 Angus Leeming <leeming@lyx.org>
833 * Makefile.am: remove special casing for configure-time setting of
834 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
836 * lyx_main.C (init): remove all Jean-Marc's magic setting of
837 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
839 2003-07-26 André Pönitz <poenitz@gmx.net>
841 * paragraph_func.[Ch]:
842 * paragraph.C (realizeFont): inline it whereever it is used
847 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
850 2003-07-26 André Pönitz <poenitz@gmx.net>
854 * text2.C: get rid of LyXText::need_break_row
856 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
858 * toc.[Ch]: put namespace toc inside namespace lyx
860 * MenuBackend.C (expandToc2): adjust for lyx::toc
863 * lyxfunc.C (dispatch): adjust for lyx::find
865 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
866 lyx::find instead. Reorganize a bit.
867 (LyXReplace): rename to replace
868 (LyXFind): rename to find
870 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
873 2003-07-26 André Pönitz <poenitz@gmx.net>
875 * text.C (setHeightOfRow): restrict scope of temporary variable
877 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
878 code (never has been used?)
880 2003-07-27 Asger Alstrup <alstrup@local>
882 * text.C (fill): Optimise algorithm to exploit that we can reuse
883 the LyXFont for many characters.
884 (setHeightOfRow): Same thing.
885 (rowBreakPoint): Same thing.
887 2003-07-26 Asger Alstrup <alstrup@local>
889 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
891 * text.C (singleWidth): Spurious font copying in hot-spot
892 singleWidth avoided. Reorder tests for arabic for efficiency.
894 * text.C (fill): handle empty paragraphs better.
896 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * encoding.h: add includes
901 * lyxrc.C: remove reading of bind files
903 * lyx_main.C (init): setup bindings and menus only if we have a
906 * kbmap.C (read): new method. Do the actual reading of bind
909 * converter.C (dvipdfm_options):
912 (output): adapt PAPER_* enums.
914 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
916 * bufferparams.h: remove paper-related enums from there
918 * paper.h: New file. A trivial header file to hold paper-related
919 enums. It should later expand to contain many paper-related
922 * lyxrc.C: declare extern displayTranslator
924 2003-07-27 José Matos <jamatos@fep.up.pt>
926 * tabular.[Ch] (linuxdoc): add support for tables and figures
929 2003-07-27 José Matos <jamatos@fep.up.pt>
931 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
932 consistency in both functions.
933 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
935 2003-07-26 Asger Alstrup <alstrup@local>
937 * rowpainter.C (paintRows): Change algorithm to work directly on
938 the insets rather than asking every character in the document
939 whether its an inset.
941 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
943 * buffer.C (openFileWrite): factorize some code
945 2003-07-26 Angus Leeming <leeming@lyx.org>
948 * lyx_main.[Ch]: replace occurances of system_tempdir with
951 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * rename Inset to InsetOld
955 2003-07-25 Asger Alstrup <alstrup@diku.dk>
957 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
958 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
959 which I think is a bit clearer. EDIT is gone, since it was
960 premature optimisation, and broken for mathed anyway.
961 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
962 with cursor positioning in insets as well (math insets still do not
963 work, but that's a different story anyway.) It mysteriously
964 crashes sometimes with undo in the first paragraph, but I'm fairly
965 confident that this is a compiler bug.
967 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * paragraph.C (Paragraph): adjust for new clone return type
971 (copyIntoMinibuffer): ditto
973 2003-07-25 Asger Alstrup <alstrup@lyx.org>
975 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
976 by not having a special case, and always doing a full rebreak of
977 the document after undo.
979 2003-07-23 Angus Leeming <leeming@lyx.org>
981 * factory.C (createInset): InsetExternal::setParams now takes a
984 2003-07-23 Angus Leeming <leeming@lyx.org>
986 * factory.C (createInset): changed interface to the external and
987 graphics mailers' string2params functions.
989 2003-07-23 Angus Leeming <leeming@lyx.org>
991 * factory.C (createInset): pass a
992 Buffer const * parameter to InsetExternalMailer's string2params.
994 2003-07-22 John Levon <levon@movementarian.org>
996 * Thesaurus.h: include the right aiksaurus header
998 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1000 * MenuBackend.C (expand): check menu shortcuts unconditionally
1002 2003-07-21 Angus Leeming <leeming@lyx.org>
1004 * factory.C (createInset): pass a
1005 buffer_path parameter to InsetGraphicsMailer's string2params.
1007 2003-07-21 Angus Leeming <leeming@lyx.org>
1009 * BufferView_pimpl.C (buffer):
1012 * lyxfunc.C (dispatch):
1013 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1014 rather than the grfx shortcut.
1016 2003-07-21 André Pönitz <poenitz@gmx.net>
1018 * rowpainter.C: remove unused variables
1021 * tabular_funcs.h: move to tabular.C
1022 * Makefile.am: adjust
1024 * tabular.[Ch]: basic optical cleaning
1026 * author.h: pass references, not values
1028 2003-07-18 André Pönitz <poenitz@gmx.net>
1036 * text3.C: two-phase drawing for InsetText and InsetTabular
1037 some float -> int changes.
1039 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1041 * lyx_main.C: fix the fix
1043 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1045 * lyx_main.C: fix a crash in batch mode if no files specified
1048 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1050 * format.[Ch] (papersize): moved to BufferParams
1051 * converter.[Ch] (dvips_options): moved to BufferParams
1052 (dvipdfm_options): moved to anon namespace
1053 * bufferparams.[Ch]: added above functions.
1055 2003-07-17 André Pönitz <poenitz@gmx.net>
1059 * text2.C: don't call inset->update() anymore
1061 * metricsinfo.[Ch]: add convenience constructor
1063 2003-07-16 André Pönitz <poenitz@gmx.net>
1068 * text2.C: replace the LyXCursor::irow_ member with
1069 on-demand computation of the value
1071 2003-07-16 John Levon <levon@movementarian.org>
1073 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1075 2003-07-15 André Pönitz <poenitz@gmx.net>
1078 * text2.C: remove no more needed refresh_row
1080 2003-07-15 André Pönitz <poenitz@gmx.net>
1085 * text3.C: refresh_status tristate -> need_update bool
1087 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1089 * lyxtext.h (init): remove reinit argument (act as if always true)
1090 * text2.C: adjust to that
1092 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1094 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1095 * text3.C: use it to delete selections in some cases
1096 (bugs 441, 673, 702, 954).
1098 2003-07-14 André Pönitz <poenitz@gmx.net>
1100 * rowpainter.[Ch]: reduce interface
1102 2003-07-14 André Pönitz <poenitz@gmx.net>
1104 * BufferView_pimpl.C:
1105 * text2.C: adjust after removing unused BufferView * argument
1107 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1109 * text2.C (init): fix a crash fired on resize
1111 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1113 * buffer.[Ch]: added new closing signal
1114 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1115 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1116 BufferView::Pimpl via the closing the signal
1118 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1120 * buffer.[Ch]: take out all bv-related from buffer
1122 * BufferView_pimpl.[Ch]: connect to new signals
1123 * CutAndPaste.C: removed useless asserts
1124 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1127 * lyxfunc.C: moved view-related funciontality from vc here
1128 * paragraph.C: removed outdated comments
1131 2003-07-10 André Pönitz <poenitz@gmx.net>
1133 * BufferView_pimpl.C:
1137 * text2.C: remove InsetText::InnerCache, clean up consequences
1139 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1141 * ispell.C: fix two typos in error messages
1143 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1145 * Extend Note inset to other forms of annotation like Comment
1146 and Greyedout. Right button click gives dialog.
1148 Files modified or added (+):
1152 * ControlNote.[Ch] +
1154 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1155 frontends/controllers
1159 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1161 * aspell.C: add missing namespace lyx::support
1163 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1165 * BufferView.[Ch] (newFile): Add
1166 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1167 * LaTeX.[Ch] (message): added this signal and use it
1168 * buffer.[Ch] (busy, message): added these signals and use them
1169 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1173 * importer.C: use buffer signals instead of direct bv calling
1174 * lyx_cb.[Ch] (ShowMessage): removed
1177 * paragraph_funcs.C:
1178 * text2.C: use buffer signals
1180 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * introduce namespace lyx::graphics
1184 2003-07-02 André Pönitz <poenitz@gmx.net>
1186 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1188 2003-07-01 André Pönitz <poenitz@gmx.net>
1195 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1196 text*.C to text_func.C
1198 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * introduce namespace lyx::support
1202 2003-06-30 André Pönitz <poenitz@gmx.net>
1207 * text.C: re-enable --with-included-string
1209 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1211 * textcursor.C: add <config.h>
1213 * text.C (getWord): remove const from word_location arg
1215 * lyxvc.C (getLogFile): fix const type order
1217 * lyxtext.h: remove const from word_location arg, add arg name
1219 * lyxlayout.h: currect type on labeltype.
1221 * importer.C: correct \file
1223 * converter.C (intToFormat): use std:: on ret val, ws changes
1225 * bufferlist.h: correct \file
1227 * buffer.C (makeLinuxDocFile): fix const type order
1228 (makeDocBookFile): ditto
1229 (fillWithBibKeys): use std:: on stdlib args.
1231 * CutAndPaste.C: fix authors.
1232 (availableSelections): use std:: on return vector
1234 2003-06-27 André Pönitz <poenitz@gmx.net>
1236 * BufferView_pimpl.C:
1237 * bufferview_funcs.C:
1245 * text3.C: remove LyXCursor::row_ member
1248 * text.C: rename fullRebreak() to partialRebreak() and implement
1249 a fullRebreak() that really bereks fully
1251 * textcursor.h: new struct for cursor-related data
1253 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1255 * lyx_main.C (LyX): get full path of document loaded on the
1258 2003-06-26 André Pönitz <poenitz@gmx.net>
1260 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1261 remove unused/broken operator>,<,>=.
1263 * text.C: remove only use of broken operator<= in an Assert().
1265 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1267 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1268 moved errorlist_.clear to showErrorList
1270 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1272 * converter.C (scanLog, runLaTeX):
1273 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1274 move the bv->showErrorList call to the callers
1275 * lyxfunc.C: i.e. here...
1277 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1278 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1279 namespace, the second to...
1280 * buffer_funcs (BufferFormat, parseErrors): added
1281 * errorlist.C (ErrorList(TeXErrors const &)): removed
1283 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1285 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1287 2003-06-24 "Garst R. Reese" <reese@isn.net>
1291 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1295 * version.C.in: change docversion to 1.4
1297 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1299 * buffer.C: fix a bug just introduced
1301 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1303 * buffer.[Ch]: added the parseError signal and use it, removed
1305 * BufferView.[Ch] (addError): moved to ...
1306 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1307 to the Buffer::parseError signal to catch (guess what) parse errors
1308 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1310 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1312 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1313 ability to create a buffer and to return an existing one from
1314 the list. Moved these functions to...
1315 * buffer_funcs.[Ch]: added
1316 * BufferView.[Ch] (loadLyXFile): added
1317 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1318 job removed from bufferlist::loadLyXFile.
1319 * buffer.C (setReadOnly): make it work without view
1320 (i.e added an if (users))
1322 2003-06-19 Angus Leeming <leeming@lyx.org>
1325 * LyXAction.C (init):
1326 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1327 with LFUN_DIALOG_SHOW <name> <data>.
1329 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * CutAndPaste.C (availableSelections): small compilation fix for
1332 ancient (gcc 2.9x) compilers
1334 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * text3.C (cursorNext): add tmp var
1338 * text2.C (updateCounters): for function calling out of for clause
1339 (replaceSelectionWithString): ditto
1340 (insertStringAsParagraphs): ditto
1341 (getColumnNearX): add tmp var
1342 (setCursorFromCoordinates): add tmp var
1343 (cursorDownParagraph): add tmp var
1344 (deleteEmptyParagraphMechanism): add tmp var
1346 * text.C (insertChar): add tmp var
1348 * rowpainter.C (paintDepthBar): add tmp var
1350 * CutAndPaste.C (availableSelections): potentially check all
1351 paragraphs in a cut to fill the shown strings.
1353 2003-06-18 André Pönitz <poenitz@gmx.net>
1355 * kbmap.[Ch]: use vector<> instead of list<>
1357 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1359 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1360 pasteSelection with index
1362 * text2.C (pasteSelection): modify, call pasteSelection with index
1364 * paragraph.C (asString): reimplement version with no interval to
1365 call the one with interval.
1367 * lyxtext.h: add index arg to pasteSelection
1369 * MenuBackend.C (MenuItem): handle PasteRecent
1370 (Menu::read::Menutags): add md_pasterecent
1372 (expandPasteRecent): new function
1375 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1377 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1379 (availableSelections): new function
1381 2003-06-17 Angus Leeming <leeming@lyx.org>
1383 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1385 2003-06-17 Angus Leeming <leeming@lyx.org>
1388 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1390 * lyxfunc.C (dispatch): invoke it.
1392 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * iterators.C (operator++, ParPosition): reintroduce some
1395 const_cast for the benefit of older compilers.
1397 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1399 * text3.C (dispatch): do not modify clipboard when doing
1400 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1401 LFUN_DELETE_SKIP on a selection selection
1403 2003-06-16 André Pönitz <poenitz@gmx.net>
1409 * tabular.[Ch]: IU of clone() and getLabelList();
1411 2003-06-13 André Pönitz <poenitz@gmx.net>
1413 * tabular.h: compactification
1415 2003-06-12 André Pönitz <poenitz@gmx.net>
1419 * tabular_funcs.h: some renaming plus whitespace
1421 2003-06-12 André Pönitz <poenitz@gmx.net>
1424 * BufferView_pimpl.C:
1430 * toc.C: Return a Paragraph & for ParIterator::operator*()
1432 2003-06-11 John Levon <levon@movementarian.org>
1436 * ToolbarBackend.C: add "Toolbars" section and
1439 2003-06-10 Angus Leeming <leeming@lyx.org>
1442 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1444 * lyxfunc.C (dispatch): invoke it.
1446 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1448 * main.C: protect <ios> with HAVE_IOS
1449 (main): protect sync_with_stdio with HAVE_IOS
1451 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1453 * text2.C (cutSelection): adjust
1454 (pasteSelection): adjust
1456 * messages.C: handle get of empty string
1458 * main.C (main): use sync_with_stdio(false)
1460 * lyxfunc.C (dispatch): adjust
1462 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1463 (WriteAs): remove unneeded BufferView arg.
1465 * bufferparams.h: use correct types on papersize, papersize2 and
1468 * bufferparams.C (readToken): adjust for type
1469 (writeLaTeX): add missing cases to switch.
1471 * bufferlist.C (quitWriteBuffer): adjust
1474 * buffer.C (asciiParagraph): remove some commented code.
1476 * CutAndPaste.C: remove current_view extern variable.
1477 (cutSelection): add BufferParams arg.
1478 (eraseSelection): add BufferParams arg.
1479 (pasteSelection): add Buffer const & arg
1481 2003-06-07 John Levon <levon@movementarian.org>
1484 * paragraph_funcs.C:
1485 * paragraph_pimpl.C:
1489 * paragraph.C: allow InsetERT to freely space lines,
1490 and some consolidation of code
1492 2003-06-06 José Matos <jamatos@fep.up.pt>
1494 * buffer.C (makeDocBookFile): fix bug #821
1496 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1498 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1500 2003-06-04 Angus Leeming <leeming@lyx.org>
1502 * buffer.C: bump format to 224.
1504 2003-06-05 André Pönitz <poenitz@gmx.net>
1506 * text2.C (redoParagraphs): remove two const_cast<>
1508 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1510 * ParagraphList.h: remove last remnants of NO_STD_LIST
1512 2003-06-03 Angus Leeming <leeming@lyx.org>
1514 * factory.C (createInset): small change to the way InsetExternal's params
1517 2003-06-04 André Pönitz <poenitz@gmx.net>
1519 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1521 * paragraph_pimpl.h:
1522 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1524 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1526 * undo_funcs.C: make some simple cases of undo work again
1528 2003-06-03 John Levon <levon@movementarian.org>
1530 * ispell.C: HPUX doesn't have sys/select.h
1533 2003-06-03 John Levon <levon@movementarian.org>
1535 * CutAndPaste.C: update tabular and include inset
1540 * paragraph.C: remove owningBuffer(), don't pass Buffer
1543 * factory.C: insetGraphicsParams changed
1545 2003-06-02 John Levon <levon@movementarian.org>
1551 * text3.C: remove insetparent
1553 2003-06-02 John Levon <levon@movementarian.org>
1556 * buffer.C: fix inset_iterator.end(), move out of line
1559 2003-06-01 John Levon <levon@movementarian.org>
1561 * text3.C: use a proper cut/paste when doing inset
1562 insert (from Jürgen Spitzmüller)
1564 2003-06-01 John Levon <levon@movementarian.org>
1566 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1568 2003-05-30 André Pönitz <poenitz@gmx.net>
1570 * rowpainter.C: unify second drawing phase
1572 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * trans_mgr.C: remove one case of current_view
1576 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1578 * paragraph_funcs.h: remove paragraph.h include
1580 * paragraph.h: delete NO_STD_LIST stuff
1582 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1584 * buffer.h: remove paragraph.h include
1586 * ParagraphList.C: delete file
1588 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1590 * toc.C (getTocList): adjust
1592 * paragraph_pimpl.C (validate): adjust
1594 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1596 * paragraph.C (Paragraph): adjust
1597 (getPositionOfInset): use const_iterator, adjust
1598 (bibitem): use const_iterator, adjust
1599 (setInsetOwner): adjust
1601 * iterators.C (operator++): adjust
1603 * InsetList.[Ch]: Replace selfmade iterator with standard
1604 vector::iterator also introduce const_iterator. Remove getPos,
1605 getInset and setInset from InsetTable. Adjust accordingly.
1607 * BufferView.C (lockInset): adjust
1608 (ChangeInsets): adjust
1610 * tabular.[Ch]: delete commented same_id functions
1612 2003-05-28 John Levon <levon@movementarian.org>
1614 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1616 2003-05-28 André Pönitz <poenitz@gmx.net>
1618 * metricsinfo.[Ch]: remove 'fullredraw' member
1620 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1622 * lyxtextclass.C (operator): remove caching.
1624 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * text2.C (cursorBottom): adjust
1629 (setCounter): use ParagraphList::find, adjust
1631 * text.C (workWidth): use ParagraphList::find, adjust
1633 * lyxcursor.C (LyXCursor): adjust
1635 * buffer.C (inset_iterator): adjust
1637 * ParagraphList.h: make iterator(value_type) private, make
1638 ParagraphList a friend of iterator.
1640 * ParagraphList.C (find): new function
1642 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1644 2003-05-27 André Pönitz <poenitz@gmx.net>
1646 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1648 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1650 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1652 2003-05-26 John Levon <levon@movementarian.org>
1654 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1656 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * remove same_id from function signatures, adjust.
1660 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1664 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1666 * paragraph.C (Paragraph): get rid of same_ids parameter
1668 * ParagraphList.C (insert): adjust
1671 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1673 * paragraph_funcs.C (breakParagraph): adjust
1674 (breakParagraphConservative): adjust
1676 * buffer.C (readParagraph): adjust
1678 * ParagraphList.C (insert): take a reference instead of a pointer
1681 * paragraph.[Ch] (id): new function
1683 * bufferlist.C (newFile): adjust
1685 * ParagraphList.C (ParagraphList): adjust
1687 (push_back): take a reference instead of a pointer.
1689 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1691 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1694 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1695 set else use old code.
1697 * ParagraphList.C: remove all NO_NEXT code and only compile this
1698 code of NO_STD_LIST is set.
1700 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1702 * BufferView_pimpl.C:
1712 * graphics/GraphicsConverter.C:
1713 * graphics/PreviewLoader.C: header adjustment
1715 2003-05-23 Angus Leeming <leeming@lyx.org>
1717 * LaTeXFeatures.[Ch] (useBabel): new method.
1718 * bufferparams.C (writeLaTeX): use it.
1720 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * ParagraphList.h (set): remove unused function.
1724 2003-05-23 André Pönitz <poenitz@gmx.net>
1727 * BufferView_pimpl.C:
1731 * undo_funcs.C: setUndo reworked
1733 * iterators.[Ch]: add access to topmost ParagraphList
1735 * lyxtext.[Ch] (workWidth): add a const
1737 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1739 * texrow.[Ch] (increasePos): remove function
1740 * exporter.C (export): removed unused var and outdated comment
1742 2003-05-23 Angus Leeming <leeming@lyx.org>
1744 * latexrunparams.h: rename fragile as moving_arg.
1745 * paragraph.C (simpleTeXOnePar): ditto.
1746 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1748 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1750 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1752 (textUndoOrRedo): comment out a currently unused var.
1754 * paragraph.h (NO_NEXT): enable NO_NEXT
1756 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1758 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1760 * exporter.C (Export): adjust for removeAutoInsets removal.
1762 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1764 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1766 * BufferView.[Ch] (removeAutoInsets): delete function
1768 2003-05-22 Angus Leeming <leeming@lyx.org>
1770 * latexrunparams.h: add a free_spacing variable.
1772 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1773 to pass moving_arg, as the data is stored in runparams.fragile.
1775 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1776 to Inset::latexOptional or to simpleTeXOnePar.
1778 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1779 free_spacing arg to Inset::latexOptional.
1781 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1784 2003-05-22 Angus Leeming <leeming@lyx.org>
1786 * latexrunparams.h: add fragile and use_babel variables.
1788 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1789 * buffer.C (makeLaTeXFile): store this returned value in
1790 runparams.use_babel, thus passing it to the inset::latex methods.
1792 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1793 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1795 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1796 longer has a fragile arg, as it is stored in runparams.fragile.
1798 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1799 moving_arg parameter as the data is stored in runparams.fragile.
1801 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1802 a fragile parameter as the data is stored in runparams.fragile.
1804 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1806 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1808 2003-05-22 Angus Leeming <leeming@lyx.org>
1810 * latexrunparams.h: add a 'bool nice' which defaults to false.
1812 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1813 now encapsulated within runparams.
1815 * bufferlist.C (updateIncludedTeXfiles):
1816 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1818 2003-05-22 Angus Leeming <leeming@lyx.org>
1820 * latexrunparams.h: new file containing struct LatexRunParams.
1821 * Makefile.am: add new file.
1823 * LaTeX.[Ch] (c-tor, run):
1824 * buffer.[Ch] (makeLaTeXFile):
1825 * bufferlist.[Ch] (updateIncludedTeXfiles):
1826 * converter.C (convert, scanLog):
1827 * converter.[Ch] (runLaTeX):
1828 * exporter.C (Export):
1829 * paragraph.[Ch] (simpleTeXOnePar):
1830 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1831 * paragraph_funcs.[Ch] (latexParagraphs):
1832 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1833 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1834 pass around a LatexRunParams parameter.
1836 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * paragraph.[Ch]: remove unused constructor
1840 * ParagraphList.C (erase): new function, taking two iterators
1842 2003-05-22 André Pönitz <poenitz@gmx.net>
1844 * undo_funcs.C: remove duplicated code
1846 * iterator.[Ch]: operator=
1848 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * tabular.C (SetMultiColumn): ws changes
1852 * rowpainter.C (paintFirst): get rid of a ->previous
1854 * lyx_cb.C (getPossibleLabel): parlist simplification
1856 * BufferView.C (ChangeInsets): simplify slightly.
1858 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1860 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1861 * lfuns.h: new LFUN_SPACE
1862 * lyxfunc.C: protected space has a new lfun
1863 * paragraph_funcs.C: read new space insets
1865 * factory.C: handle new space insets
1867 2003-05-22 André Pönitz <poenitz@gmx.net>
1870 * BufferView_pimpl.C:
1873 * undo_funcs.C: return a ParIterator from getParFromID.
1875 * iterators.[Ch]: add two const's
1877 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * toc.C (getTocList): adjust
1881 * iterators.[Ch]: rework for parlist
1883 * buffer.C (par_iterator_begin): adjust
1884 (par_iterator_end): adjust
1886 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1888 * BufferView.C (removeAutoInsets): adjust
1889 (ChangeInsets): adjust
1891 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1893 * text.C (top_y): fix bug 1110
1895 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1897 * errorlist.[Ch]: added
1900 * BufferView_pimpl.C:
1901 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1904 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1906 * Makefile.am: ensure that lyx is relinked upon changes to the
1907 various "convenience" libs.
1909 2003-05-20 Angus Leeming <leeming@lyx.org>
1911 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1912 files are compiled in alphabetical order again.
1914 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1916 2003-05-19 Angus Leeming <leeming@lyx.org>
1918 * gettext.[Ch]: remove "char const * _(char const *)".
1920 2003-05-19 André Pönitz <poenitz@gmx.net>
1922 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1931 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1933 2003-05-19 André Pönitz <poenitz@gmx.net>
1937 * lyxtextclass.[Ch]:
1939 * paragraph_funcs.[Ch]:
1941 * text3.C: more insetenv work
1943 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1945 * ParagraphParameters.C (params2string): small bug fixed
1947 2003-05-16 André Pönitz <poenitz@gmx.net>
1950 * bufferview_funcs.C: patch from Kornel Benko to prevent
1951 crash when _(...) is called twice in a statement
1953 2003-05-16 André Pönitz <poenitz@gmx.net>
1960 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1962 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1964 * lyx_main.C (init): remove spurious static_cast
1966 2003-05-14 André Pönitz <poenitz@gmx.net>
1968 * BufferView.C: fix format string
1970 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1972 * BufferView.[Ch] (insertErrors): removed
1973 * BufferView.[Ch] (showErrorList): added
1974 * buffer.C (runChkTeX):
1975 * converter.C (scanLog): call showErrorList instead of inserterrors
1977 2003-05-13 André Pönitz <poenitz@gmx.net>
1979 * BufferView_pimpl.C:
1981 * bufferview_func.C:
1988 * tabular_funcs.h: tostr() from its own header
1990 * ParagraphParameters.C:
1995 * text3.C: STRCONV()
1997 2003-05-12 André Pönitz <poenitz@gmx.net>
2000 * BufferView_pimpl.C:
2004 * ParagraphParameters.C:
2008 * bufferview_funcs.C:
2021 * paragraph_funcs.C:
2025 * text3.C: boost::format -> bformat all over the place
2028 2003-05-09 André Pönitz <poenitz@gmx.net>
2030 * LColor.[Ch]: Pimpl the #include <map> away
2032 2003-05-09 John Levon <levon@movementarian.org>
2034 * bufferlist.C: never remove emergency saves
2036 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * Makefile.am: better lib building
2040 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2044 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2045 (simpleTeXSpecialChars): adjust
2046 (simpleTeXSpecialChars): adjust
2047 * paragraph.C (simpleTeXOnePar): adjust
2048 * buffer.C (makeLaTeXFile): adjust
2050 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2052 * text2.C (changeDepth): parlist cleanup
2053 (getColumnNearX): ditto
2055 * rowpainter.C (getLabelFont): parlist cleanup
2057 * bufferlist.C (newFile): parlist cleanup
2059 * CutAndPaste.C (eraseSelection): parlist cleanup
2061 * BufferView_pimpl.C (trackChanges): parlist cleanup
2064 * BufferView.C (lockInset): parlist cleanup.
2065 (ChangeInsets): ditto
2067 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * CutAndPaste.h: Update file header.
2071 * CutAndPaste.C: Update file header.
2072 Store the parts cut out of the Document in a limited_stack.
2073 (copySelection): adjust
2074 (pasteSelection): new function, takes the index in the limited stack.
2075 (nrOfParagraphs): adjust
2076 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2077 simplify error inset insertion.
2078 (checkPastePossible): adjust
2080 2003-05-06 John Levon <levon@movementarian.org>
2082 * text2.C: don't cast wrap inset to float
2084 2003-05-05 André Pönitz <poenitz@gmx.net>
2087 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2089 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2090 few naked Paragraph *.
2092 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2094 * bufferparams.C: Output warning if a document with missing
2095 TeX document class is loaded
2096 * exporter.C: Disable TeX exports if the document class is missing
2099 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2100 isTeXClassAvailable()
2102 2003-05-03 John Levon <levon@movementarian.org>
2105 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2106 explicit cursor show/hide
2108 * BufferView_pimpl.h:
2109 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2110 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2112 * lyxfunc.C: hide cursor before dispatching.
2117 * text3.C: remove explicit cursor hides
2119 2003-05-02 André Pönitz <poenitz@gmx.net>
2121 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2124 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2127 * text2.C: tiny whitespace
2129 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * undo_funcs.C: almost only ws changes.
2133 * ParagraphList.C (splice): just return if pl is empty.
2135 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * ParagraphList.C (splice): new function.
2139 * CutAndPaste.C (pasteSelection): use it
2141 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2143 * CutAndPaste.C (pasteSelection): remove the last next and
2144 previous from this file.
2146 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * CutAndPaste.C (pasteSelection): more clean up, user proper
2149 ParagraphList functions for pasteing.
2151 * ParagraphList.C (insert): new function, three arg insert
2153 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2155 * ParagraphList.C (insert): new function, three arg insert
2157 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2160 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2162 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2164 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2166 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2168 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2171 (copySelection): clean up a bit.
2172 (pasteSelection): use make_pair
2174 * ParagraphList.C (ParagraphList): implement copy constructor
2175 (operator=): implement, base on copy constructor.
2178 * paragraph.C (erase): return a bool
2180 * paragraph_pimpl.C (erasePos): remove function, move contents...
2181 (erase): ... here. Return a bool.
2182 (erase): call erase instead of erasePos.
2184 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2186 * ParagraphList.h: define PitPosPair
2187 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2188 ParagraphList, fix a bug on pasting multiple pars
2189 * text2.C: change interface to C&P
2191 2003-04-30 André Pönitz <poenitz@gmx.net>
2193 * undo_func.C: revert part of yesterday's patch 2
2195 2003-04-30 John Levon <levon@movementarian.org>
2197 * LColor.C: s/tabular/table/
2199 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * text3.C (dispatch): do not convert iterator -> pointer
2202 * undo_funcs.C (setCursorParUndo): ditto
2203 * text_funcs.C (transposeChars): ditto
2205 * text2.C (setLayout): ws changes only
2207 * text.C (breakParagraph): do not convert iterator -> pointer
2209 (acceptChange): ditto
2210 (rejectChange): ditto
2215 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2218 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2220 * text3.C (gotoInset): YABG (yet another bad getChar)
2222 2003-04-29 André Pönitz <poenitz@gmx.net>
2224 * paragraph.h: make operator= private unimplemented as long as
2227 * ParagraphList.C: whitespace
2230 * paragraph_pimpl.[Ch]:
2231 * paragraph_funcs.C:
2233 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2236 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2238 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2240 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2241 * paragraph.[Ch] (erase):
2242 * paragraph_pimpl.[Ch] (erase): change return type and value
2243 * text2.C (cutSelection): some rework
2245 2003-04-28 John Levon <levon@movementarian.org>
2247 * bufferlist.C: changes for unsaved changes dialog
2249 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * bufferlist.C (newFile): set language (messages_) for new
2254 * buffer.C (readFile): ws changes only.
2256 2003-04-28 André Pönitz <poenitz@gmx.net>
2261 * BufferView_pimpl.C:
2262 * BufferView.C: getParFromID related ParagraphList::iterator changes
2264 2003-04-28 André Pönitz <poenitz@gmx.net>
2266 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2269 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * messages.C: remove one more localedir class variable.
2273 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2275 * messages.C (getLocaleDir): singleton generation function
2277 (Messages): add a default constructor.
2279 * main.C (main): do not setup localedir here, do not call
2282 * gettext.C (_): use it.
2283 (gettext_init): delete funciton
2285 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * gettext.C (getLyXMessages): new singleton generating function.
2289 * buffer.C (updateDocLang): adjust
2291 * Makefile.am (messages.o): add target
2292 (main.o): remove target
2294 2003-04-27 John Levon <levon@movementarian.org>
2299 * lyxvc.C: specify cancel button in Alert::prompt
2301 2003-04-26 John Levon <levon@movementarian.org>
2306 * LyXAction.C: add LFUN_INSET_SETTINGS
2308 * lyxfunc.C: don't enable tabular-feature when there's
2309 just any locking inset
2311 2003-04-26 John Levon <levon@movementarian.org>
2313 * bufferlist.C: re-add Cancel to buffer close question
2315 * lyxfunc.C: fix import UI a bit
2317 2003-04-25 John Levon <levon@movementarian.org>
2319 * gettext.C: remove the broken asserts for now
2321 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * messages.C: make case where setlocale cannot comply work better.
2325 * buffer.C (updateDocLang): new function
2326 (changeLanguage): use it
2329 * text2.C (setCounter): use B_ a bit.
2331 * lyxlayout.C (Read): be sure to trim the label strings.
2333 * messages.C (Messages): fix typo in comment
2335 * buffer.C (readFile): set message_ after file is loaded.
2336 (makeDocBookFile): remove double return
2337 (changeLanguage): reset message_ upon language change.
2338 (B_): new func, use this to get translated buffer strings.
2340 * main.C: add myself and Jean Marc as authors.
2342 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2344 * messages.[hC]: pimplify Messages, and three different pimpls to be
2345 used in different circumstances.
2347 * gettext.[Ch]: change for use with new message code.
2349 2003-04-24 André Pönitz <poenitz@gmx.net>
2351 * factory.C: support for eqref
2353 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * messages.[Ch]: add missing char
2357 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2359 * messages.[Ch]: New files
2361 2003-04-18 John Levon <levon@movementarian.org>
2365 * BufferView_pimpl.C:
2369 * text2.C: remove layout-copy/paste (bug 778)
2371 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2373 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2375 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2377 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2378 if they succeed. Act accordingly.
2380 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * text2.C (setCharFont): adjust
2383 (setCounter): adjust
2384 (insertStringAsLines): adjust
2386 * text.C (leftMargin): adjust
2387 (setHeightOfRow): adjust
2389 * rowpainter.C (paintFirst): adjust
2392 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2394 (isFirstInSequence): ditto
2395 (getEndLabel): ditto
2398 * paragraph.C (getParLanguage): comment out some hard stuff.
2400 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2402 (simpleDocBookOnePar): ditto
2403 (makeDocBookFile): use ParagraphList::iterator
2405 * CutAndPaste.C (pasteSelection): adjust
2407 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * text2.C (getFont): adjust
2410 (getLayoutFont): adjust
2411 (getLabelFont): adjust
2413 * paragraph_funcs.C (TeXOnePar): adjust
2415 * buffer.C (simpleLinuxDocOnePar): adjust
2416 (simpleDocBookOnePar): adjust
2418 * CutAndPaste.C (pasteSelection): adjust
2420 * BufferView.C (getEncoding): adjust
2422 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2424 2003-04-16 John Levon <levon@movementarian.org>
2426 * lyxfind.C: use parlist stuff for search/changes
2428 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2432 * text2.C (deleteEmptyParagraphMechanism): adjust
2434 * text2.[Ch] (ownerParagraph): delete func (both of them
2436 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2440 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * ParagraphList.C: prepare for NO_NEXT
2444 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * text2.C (getFont): adjust
2447 (getLayoutFont): adjust
2448 (getLabelFont): adjust
2450 * paragraph.C (getFont): adjust
2451 (getLabelFont): adjust
2452 (getLayoutFont): adjust
2454 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2456 2003-04-15 John Levon <levon@movementarian.org>
2460 * lyx_main.C: handle Include in .ui files
2462 2003-04-15 John Levon <levon@movementarian.org>
2464 * MenuBackend.C: make the doc files length shorter
2467 * ToolbarBackend.C: handle toolbar placement flags,
2470 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2475 * paragraph_funcs.C (TeXOnePar): adjust
2477 * paragraph.C (getLabelFont): add outerfont arg, adjust
2478 (getLayoutFont): ditto
2479 (simpleTeXOnePar): adjust
2481 * paragraph_pimpl.C (realizeFont): delete func
2483 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2485 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2486 row argument, constify cur argument.
2488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2490 * text2.C (getFont): adjust
2491 (getLayoutFont): adjust
2492 (getLabelFont): adjust
2494 * paragraph_funcs.C (TeXOnePar): adjust
2495 (outerFont): new func...
2496 (realizeFont): ...moved out from here, changed this to facilitate
2499 * paragraph.C (getFont): take outerfont as arg, adjust
2500 (simpleTeXOnePar): add outerfont arg, adjust
2502 * buffer.C (simpleLinuxDocOnePar): adjust
2503 (simpleDocBookOnePar): adjust
2505 * CutAndPaste.C (pasteSelection): adjust
2507 * BufferView.C (getEncoding): adjust
2509 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * text2.C (setCharFont): adjust
2512 (setCounter): adjust
2514 * text.C (leftMargin): adjust
2515 (setHeightOfRow): adjust
2517 * rowpainter.C (paintFirst): adjust
2520 * paragraph_pimpl.C (realizeFont): adjust
2522 * paragraph.C (isFirstInSequence): move from here...
2523 * paragraph_funcs.C (isFirstInSequence): ...to here
2525 * paragraph.C (outerHook): move from here...
2526 * paragraph_funcs.C (outerHook): ...to here
2528 * paragraph.C (depthHook): move from here...
2529 * paragraph_funcs.C (depthHook): ...to here
2531 * paragraph.C (getEndLabel): move from here...
2532 * paragraph_funcs.C (getEndLabel): ...to here
2534 * text2.C (realizeFont): move from here...
2535 * paragraph_funcs.C (realizeFont): ...to here
2537 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2541 2003-04-14 Angus Leeming <leeming@lyx.org>
2543 * LColor.[Ch]: scrap LColor mathcursor.
2545 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * lyxlex.[Ch] (text): delete function
2548 * trans.C (Load): adjust
2549 * paragraph_funcs.C (readParToken): adjust
2551 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2553 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2554 vector<char> instead of a char[].
2556 * lyxlex_pimpl.C (getString): adjust
2558 (lex): use getString
2562 * lyxlex.C (text): use pimpl_->getString()
2566 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2569 (makeFontEntriesLayoutSpecific): temp var for par.size()
2570 (setLayout): temp var for ownerParagraphs().end()
2571 (fullRebreak): temp var for rows().end()
2572 (selectionAsString): temp var for boost::next(startpit), realize
2573 that the while really is a regular for loop.
2574 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2575 setCursor in one place.
2576 (setParagraph): temp vr for ownerParagraphs().end()
2577 (updateCounters): make the while loop a for loop
2578 (cutSelection): temp var for ownerParagraphs().end()
2579 (updateInset): make the do {} while() a regular for loop
2580 (getCursorX): use temp vars
2581 (setCurrentFont): use temp vars
2582 (getColumnNearX): use temp vars
2584 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * text.C (transformChar): use temp var for getChar
2587 (computeBidiTables): use temp var for row->par()
2588 (fill): move temp vars for row->par() and pit->layout() earlier in
2590 (labelFill): use temp var for row->par()
2591 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2592 asc and desc, realize that pit never changes and that firstpit is
2593 just a duplicate and not needed. Exchange rit->par() with pit in a
2595 (breakAgain): use a temp var for boost::next(rit)
2596 (breakAgainOneRow): ditto
2597 (breakParagraph): use a temp var for rows().begin()
2598 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2599 (cursorRightOneWord): use temp var for cursor.par() and
2600 cursor.pos(), remove usage of tmpcursor.
2601 (cursorLeftOneWord): use temp var for cursor.par() and
2602 cursor.pos() only set cur at end of function.
2604 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2606 * text.C, text2.C: exchange all usage of Paragraph::next with
2607 boost::next(ParagraphList::iterator)
2609 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2611 * text2.C (cursorTop): simplify implementation
2612 (cursorBottom): ditto
2613 (setParagraph): use ParagraphList::iterator
2614 (setCurrentFont): adjust
2615 (getColumnNearX): adjust
2616 (cursorRight): adjust
2617 (cursorLeft): remove usage of Paragraph::previous
2618 (cursorUpParagraph): ditto
2619 (deleteEmptyParagraphMechanism): slight cleanup
2621 * text.C (isBoundary): take a Paragraph const & instead of a
2623 (addressBreakPoint): ditto
2624 (leftMargin): remove usage of Paragraph::previous.
2625 (setHeightOfRow): ditto
2626 (cursorLeftOneWord): ditto
2627 (selectNextWordToSpellcheck): ditto
2630 (breakParagraph): remove one usage of Paragraph::next
2631 (redoParagraph): ditto
2632 (acceptChange): ditto
2633 (insertChar): adjust
2634 (rowBreakPoint): adjust
2636 * bufferview_funcs.C (toggleAndShow): adjust
2638 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2640 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2641 methods to access it.
2643 * text.C: Added updateRowPositions to compute all row positions.
2644 Make top_y and getRowNearY() to use the cached y position
2646 2003-04-11 John Levon <levon@movementarian.org>
2648 * text.C (rowBreakPoint): reintroduce the labelEnd
2649 checks, code copied from the row fill stuff. Deep voodoo.
2651 * text.C (fill): add a comment and debugging for the
2654 2003-04-11 John Levon <levon@movementarian.org>
2656 * text.C: make sure fullrow insets get wrapped to the next line,
2657 even when they're in a manual label
2659 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * text2.C (insertParagraph): make it take ParagraphList::iterator
2663 (setLayout): make it return ParagraphList::iterator
2664 (redoParagraphs): ditto
2666 (checkParagraph): ditto
2668 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2670 * text2.C: adjust several funcs.
2671 (realizeFont): take a ParagraphList::iterator as arg.
2672 (getLayoutFont): ditto
2673 (getLabelFont): ditto
2674 (setCharFont): ditto
2676 * text.C: adjust several funcs.
2678 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2680 * text.C (selectNextWordToSpellcheck): don't accidentally
2683 2003-04-10 John Levon <levon@movementarian.org>
2685 * ToolbarBackend.C (getIcon): special handling for
2688 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2690 * text2.C (cursorRight): a getChar assert fixed
2692 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2694 * text2.C (getFont): change to take a ParagraphList::iterator
2695 instead of Paragraph*
2696 Adjust several functions.
2698 * text.C (transformChar): change to take a ParagraphList::iterator
2699 instead of Paragraph*
2700 (singleWidth): ditto
2701 Adjust several functions.
2703 * rowpainter.C: adjust several functions
2704 * rowpainter.h:store a ParagraphList::iterator and not a
2708 2003-04-09 John Levon <levon@movementarian.org>
2713 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2714 and the "help" bits as well
2716 2003-04-09 John Levon <levon@movementarian.org>
2719 * ToolbarBackend.C: allow multiple toolbars
2721 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * undo_funcs.C (setCursorParUndo): adjust
2725 * text_funcs.C (transposeChars): adjust
2727 * text3.C (gotoNextInset): adjust
2730 * text2.C (setLayout): adjust
2731 (changeDepth): adjust
2733 (redoParagraphs): adjust
2734 (selectionAsString): adjust
2735 (setParagraph): adjust
2736 (insertInset): adjust
2737 (cutSelection): adjust
2738 (copySelection): adjust
2739 (pasteSelection): adjust
2740 (insertStringAsLines): adjust
2741 (updateInset): adjust
2742 (setCursor): change to take a ParagraphList::iterator parameter
2743 (setCursorIntern): change to take a ParagraphList::iterator parameter
2744 (setCurrentFont): adjust
2745 (cursorLeft): adjust
2746 (cursorRight): adjust
2747 (deleteEmptyParagraphMechanism): adjust
2749 * text.C (breakParagraph): adjust
2750 (insertChar): adjust
2751 (acceptChange): adjust
2752 (rejectChange): adjust
2753 (selectNextWordToSpellcheck): adjust
2754 (changeCase): adjust
2758 * lyxfind.C (SearchForward): adjust
2759 (SearchBackward): adjust
2760 (nextChange): adjust
2762 * lyxcursor.C (par): adjust
2764 * lyxcursor.h: store a ParagraphList::iterator instead of a
2767 * lyx_cb.C (getPossibleLabel): adjust
2769 * bufferview_funcs.C (toggleAndShow): adjust
2771 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2774 * BufferView.C (removeAutoInsets): adjust
2775 (lockedInsetStoreUndo): adjust
2777 2003-04-09 John Levon <levon@movementarian.org>
2779 * ToolbarBackend.C: try icon without argument
2780 if with argument fails
2782 2003-04-08 John Levon <levon@movementarian.org>
2785 * ToolbarBackend.C: add getIcon(), handle tooltip,
2786 and change from "Icon" to "Item".
2788 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2790 * BufferView.C (lockInset): another bad getchar crunched
2792 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2794 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2797 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2799 * lyxfind.C (searchForward, searchBackwards): bug 782
2801 2003-04-07 John Levon <levon@movementarian.org>
2803 * paragraph.C: remove dead comment
2805 * text.C: remove troublesome depth-fiddling code
2806 in leftMargin() and rightMargin() (bug 1017)
2808 * text.C: fix breaking of rows in nested lists
2811 * text2.C (updateCounters): fix up depth values
2814 2003-04-07 John Levon <levon@movementarian.org>
2816 * BufferView_pimpl.C: clear message when doc finishes resizing,
2817 and after a mouse event
2819 * lyxfunc.C: clear message after exiting inset
2821 2003-04-07 John Levon <levon@movementarian.org>
2823 * bufferview_funcs.C: show math status not outside
2824 status in the statusbar
2826 2003-04-07 John Levon <levon@movementarian.org>
2828 * lyxfunc.C: note status changed after a depth change
2830 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2832 * LaTeX.h: move AuxInfo operator==, != out of line.
2833 Remove LaTeX virtual destructor; nothing derives from it.
2834 Move operator()() out of public area and rename it startscript().
2835 Change protected for private.
2837 2003-04-04 Angus Leeming <leeming@lyx.org>
2840 * text2.C: remove unneeded #includes.
2842 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2844 * text2.C (dEPM): fix the heigth of the next row
2846 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2848 * text.C: squashed an invalid getChar requester + some ws changes
2850 2003-04-03 John Levon <levon@movementarian.org>
2852 * bufferview_funcs.h:
2853 * bufferview_funcs.C:
2856 * text2.C: make getStatus work for the env depth lfuns
2858 2003-04-03 John Levon <levon@movementarian.org>
2860 * bufferview_funcs.h:
2861 * bufferview_funcs.C:
2864 * text2.C: parlistize decDepth(), by merging it with incDepth()
2866 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * lyxrow.h: store a ParagraphList::iterator instead of a
2869 Paragraph* and adjust other class functions to suit.
2871 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2874 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2876 * text2.C (setCursor): do not anchor to cursor row for the time being
2878 2003-04-02 John Levon <levon@movementarian.org>
2885 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2887 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * paragraph.h: make ParagraphList and ParagraphList::iterator
2890 friends of Paragraph.
2892 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2894 * ParagraphList.C: Use the private next_ and previous_ from
2897 2003-04-01 John Levon <levon@movementarian.org>
2901 * Makefile.am: rename, remove defaults gunk
2904 * MenuBackend.C: remove defaults gunk
2907 * Languages.C: remove defaults gunk
2910 * lyx_main.C: error out if files couldn't be found.
2912 2003-04-02 John Levon <levon@movementarian.org>
2914 * text2.C: make incDepth() use parlist
2916 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2918 * undo_funcs.C (firstUndoParagraph): adjust
2920 * text3.C (gotoInset): adjust
2921 (dispatch): adjust, and rewrite loop.
2923 * text2.C (init): adjust, and rewrite loop.
2924 (redoParagraphs): adjust
2925 (updateInset): adjust, and rewrite loop.
2926 (deleteEmptyParagraphMechanism): adjust
2928 * tabular.C (LyXTabular): adjust
2929 (SetMultiColumn): adjust
2932 * lyxtext.[Ch] (ownerParagraph): delete function
2933 (ownerParagraphs): new function returns a ParagraphList.
2935 * BufferView.C (removeAutoInsets): adjust
2936 (insertErrors): adjust
2937 (setCursorFromRow): adjust
2939 2003-04-01 Angus Leeming <leeming@lyx.org>
2941 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2944 2003-04-02 John Levon <levon@movementarian.org>
2950 * text_funcs.C: make transposeChars a free function
2952 * lyxrow_funcs.C: remove wrong comment
2954 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * rowpainter.C: adjust
2962 * lyxrow_funcs. [Ch]: new files
2964 * lyxrow.[Ch]: remove next and previous pointers
2965 (next,previous): remove accessor functions
2966 (isParEnd): move to lyxrow_funcs
2967 (lastPos): move to lyxrow_funcs
2968 (nextRowIsAllInset): move to lyxrow_funcs
2969 (lastPrintablePos): move to lyxrow_funcs
2970 (numberOfSeparators): move to lyxrow_funcs
2971 (numberOfHfills): move to lyxrow_funcs
2972 (numberOfLabelHfills): move to lyxrow_funcs
2973 (hfillExpansion): move to lyxrow_funcs
2977 * bufferview_funcs.C (toggleAndShow): adjust
2979 * RowList.h: Remove class RowList from file leave just a
2982 * RowList.C: delete file
2984 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2987 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * text3.C (cursorPrevious): adjust
2990 (cursorNext): adjust
2993 * text2.C (redoHeightOfParagraph): adjust
2994 (redoDrawingOfParagraph): adjust
2997 * text.C (breakParagraph): adjust
2998 (insertChar): adjust
3001 * rowpainter.C (RowPainter): adjust
3002 (leftMargin): simplify and adjust
3003 (most rowpainter functions): adjust.
3005 * rowpainter.h: store the row as RowList::iterator not as Row*
3007 * lyxcursor.C (row): taka RowList::iterator as arg
3010 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3013 2003-04-01 Angus Leeming <leeming@lyx.org>
3015 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3016 stuff like bool Bool.
3018 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3020 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3023 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3028 * lyxtext.h (rows): drop one version and leve a const variant that
3029 returns a RowList::iterator.
3031 2003-03-31 Angus Leeming <leeming@lyx.org>
3033 * text.C (fill): ensure that the signature is the same as that in the
3036 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * text2.C (redoParagraphs): adjust
3039 (updateCounters): adjust
3040 (checkParagraph): adjust
3041 (getColumnNearX): adjust and reformat a bit.
3043 * text.C (top_y): adjust
3045 (leftMargin): adjust
3046 (prepareToPrint): adjust
3048 (getRowNearY): adjust
3050 * lyxtext.h: make rowlist_ mutable.
3052 * RowList.h: add const_iterator
3053 * RowList.C: adjust for RowList::const_iterator.
3055 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3058 2003-03-31 John Levon <levon@movementarian.org>
3061 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3063 * lyx_main.C: set default fonts from using lyx_gui funcs
3065 * exporter.C: pdf_mode moved from lyxrc
3068 * lyxfunc.C: changes from above
3070 2003-03-31 John Levon <levon@movementarian.org>
3072 * lyx_main.C: fix to the last fix
3074 2003-03-31 John Levon <levon@movementarian.org>
3076 * bufferlist.C: "Load original" -> "Load Original"
3082 * format.C: more Alert cleanups
3084 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3086 * text2.C (removeParagraph): make it take a RowList::iterator as
3088 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3089 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3091 * text.C (anchor_row): make it take a RowList::iterator as arg,
3093 (computeBidiTables): make it take a const reference to Row instead
3094 of Row pointer, adjust.
3095 (leftMargin): make it take a RowList::iterator as arg, adjust.
3096 (rowBreakPoint): adjust
3097 (breakAgainOneRow): make it take a RowList::iterator as arg,
3099 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3101 * bufferview_funcs.C (toggleAndShow): adjust
3103 2003-03-30 John Levon <levon@movementarian.org>
3107 * boost-inst.C: moved to support
3109 * several files: changes as a result
3111 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * text2.C (LyXText): adjust.
3115 (removeRow): make it take a RowList::iterator as arg, adjust.
3116 (fullRebreak): adjust
3117 (deleteEmptyParagraphMechanism): adjust
3118 (clearPaint): adjust
3121 * text.C (top_y): adjust
3122 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3123 (breakAgain): make it take a RowList::iterator as arg, adjust.
3124 (breakParagraph): adjust
3125 (insertChar): adjust
3128 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3129 need_break_row, and refresh_row.
3131 * text3.C (dispatch): adjust
3133 * text2.C (checkParagraph): adjust
3135 (setCursorFromCoordinates): adjust
3137 * text.C (top_y): adjust
3139 (getRow): make it return a RowList::iterator, adjust
3140 (getRowNearY): make it return a RowList::iterator, adjust
3142 * text2.C (init): adjust
3143 (insertRow): remove function
3144 (insertParagraph): adjust
3145 (redoParagraphs): adjust
3146 (fullRebreak): adjust
3147 (updateCounters): adjust
3149 * text.C (top_y): rewrite to use RowList iterators.
3151 (setHeightOfRow): rewrite to sue RowList iterators.
3152 (appendParagraph): adjust
3153 (breakAgain): adjust
3154 (breakAgainOneRow): adjust
3155 (breakParagraph): adjust
3157 (getRowNearY): adjust, and remove commented code.
3159 * lyxtext.h (firstRow): delete function
3160 (lastRow): delete function
3161 (rows): new function (const and non-const versions.)
3162 (insertRow): delete function
3164 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3166 2003-03-29 John Levon <levon@movementarian.org>
3168 * BufferView_pimpl.C: always update scrollbar top
3169 because pasting text when we're anchored could mean we
3170 miss an update altogether
3172 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * text2.C (init): use rowlist_.end() and not 0.
3175 (insertRow): change to take a RowList::iterator as arg, adjust
3177 (insertParagraph): change to take a RowList::iterator as arg,
3179 (redoParagraphs): remove some debug msgs.
3181 * text.C (appendParagraph): change to take a RowList::iterator
3182 arg, adjust for this.
3183 (breakAgain): add an assert
3184 (breakAgainOneRow): ditto
3186 2003-03-29 John Levon <levon@movementarian.org>
3188 * text2.C: do not clear selection after inc/decDepth
3191 2003-03-29 John Levon <levon@movementarian.org>
3194 * buffer.C: fix broken strerrors according to Lars
3196 2003-03-29 John Levon <levon@movementarian.org>
3198 * converters.C: more Alert cleanups
3200 2003-03-29 John Levon <levon@movementarian.org>
3202 * bufferview_funcs.C: remove pointless Alert
3204 * buffer.C: fix confusing error message when
3205 a template is chmoded 000
3207 2003-03-29 John Levon <levon@movementarian.org>
3211 * BufferView_pimpl.C: Alert fixes
3215 * tabular-old.C: remove unused table compat reading
3217 2003-03-29 John Levon <levon@movementarian.org>
3222 * lyx_cb.C: more Alert cleanups
3224 * lyxfunc.C: don't allow chktex if not latex document
3226 2003-03-29 John Levon <levon@movementarian.org>
3230 * buffer.C: warnings pushed down from support/,
3233 2003-03-29 John Levon <levon@movementarian.org>
3235 * lyxfunc.C: safety check for C-r (revert)
3237 2003-03-29 John Levon <levon@movementarian.org>
3240 * bufferlist.C: several UI fixes using Alert::prompt.
3241 Fix the pointless looping quit code. Fix stupid revert
3246 * lyx_cb.C: use Alert::prompt
3248 * lyx_main.C: remove a silly question
3250 * lyxfunc.C: remove a couple of silly questions,
3253 2003-03-28 John Levon <levon@movementarian.org>
3255 * text2.C: fix bug 974 (End on empty par)
3257 2003-03-28 John Levon <levon@movementarian.org>
3259 * BufferView_pimpl.C:
3261 * lfuns.h: remove do-nothing math greek lfuns
3263 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * lyxgluelength.h (isValidGlueLength): add default arg on
3266 parameter 2. Remove default arg from friend in class.
3268 * lyxlength.h (isValidLength): add default arg on parameter 2.
3269 Remove default arg from friend in class.
3271 * text2.C (LyXText): adjust, initialize refresh_row.
3275 (insertParagraph): adjst
3276 (redoParagraphs): adjust
3277 (fullRebreak): adjust
3278 (updateCounters): adjust
3279 (deleteEmptyParagraphMechanism): first attempt at fixing a
3282 * text.C (top_y): adjust
3283 (setHeightOfRow): adjust
3285 (getRowNearY): adjust
3287 * lyxtext.h: include RowList.h
3288 (~LyXText): not needed anymore, deleted.
3289 (firstRow): modify for RowList
3290 (lastRow): new function
3291 Delete firstrow and lastrow class variables, add a Rowlist
3292 rowlist_ class variable.
3294 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3297 * RowList.C (insert): fix case where it == begin().
3299 2003-03-26 Angus Leeming <leeming@lyx.org>
3301 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3302 the thesaurus dialog.
3304 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3308 * RowList.[Ch]: new files
3310 * ParagraphList.C (erase): handle the case where it == begin
3313 2003-03-25 John Levon <levon@movementarian.org>
3317 * aspell.C: add new aspell support
3320 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3323 2003-03-25 Angus Leeming <leeming@lyx.org>
3326 * LyXAction.C (init): new LFUN_INSET_INSERT.
3328 * BufferView_pimpl.C (dispatch): split out part of the
3329 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3331 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3334 2003-03-25 Angus Leeming <leeming@lyx.org>
3336 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3338 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3341 * text3.C: remove useless row->height(0)
3343 2003-03-25 John Levon <levon@movementarian.org>
3347 * text3.C: rename the refreshing stuff to better names
3349 2003-03-24 John Levon <levon@movementarian.org>
3351 * BufferView_pimpl.h:
3352 * BufferView_pimpl.C: update layout choice on a mouse
3355 2003-03-23 John Levon <levon@movementarian.org>
3357 * Makefile.am: fix commandtags.h reference
3359 2003-03-22 John Levon <levon@movementarian.org>
3361 * BufferView_pimpl.C:
3366 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3368 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3371 * text.C: take the rtl methods out of line
3373 2003-03-21 André Pönitz <poenitz@gmx.net>
3375 * metricsinfo.[Ch]: new files containing structures to be passed around
3376 during the two-phase-drawing...
3378 2003-03-21 André Pönitz <poenitz@gmx.net>
3380 * lyxtextclass.C: read 'environment' tag.
3382 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3384 * text2.C (removeRow): fix bug 964
3386 2003-03-20 John Levon <levon@movementarian.org>
3390 * text2.C: paint cleanups. Inset::update() dropped font
3393 2003-03-19 John Levon <levon@movementarian.org>
3395 * lyxfunc.C: only fitcursor/markDirty if available()
3397 2003-03-19 John Levon <levon@movementarian.org>
3399 * commandtags.h: rename to ...
3401 * lfuns.h: ... this, and renumber / cleanup
3403 2003-03-19 John Levon <levon@movementarian.org>
3405 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3406 fit the cursor after an lfun
3410 * BufferView_pimpl.h:
3411 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3413 * LyXAction.C: layout-character should have ReadOnly
3415 * ParagraphParameters.C:
3417 * bufferview_funcs.C:
3424 * undo_funcs.C: changes from above
3426 2003-03-18 John Levon <levon@movementarian.org>
3428 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3429 remove it from update()
3431 * lyxfunc.C: update layout choice after an lfun
3433 * text3.C: remove extra updateLayoutChoice()s
3435 2003-03-18 John Levon <levon@movementarian.org>
3437 * text.C: top_y change means full repaint, fix
3438 a drawing bug with cursor movement
3440 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3444 * text2.C: anchor row on setCursor
3446 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3448 * lyxtext.h: remove almost all mutable keywords
3451 * text3.C: remove const keywords accordingly
3453 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3457 (TeXEnvironment): ditto
3460 2003-03-17 John Levon <levon@movementarian.org>
3462 * text.C (rowBreakPoint): remove attempt to fix displayed
3463 math insets inside a manual label
3465 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * lyxtext.h: remove BufferView* as first arg from almost all class
3469 * other files: adjust.
3471 2003-03-17 John Levon <levon@movementarian.org>
3475 * text2.C: more paint cleanups
3477 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3480 * rowpainter.C: remove "smart" background painting code
3482 2003-03-16 John Levon <levon@movementarian.org>
3487 * text3.C: add helper functions for setting refresh_row/y
3489 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3491 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3492 newline inset which *can* get inserted in the pass_thru layouts.
3493 This is primarily for literate documents.
3495 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3497 * buffer.C: increment LYX_FORMAT to 223
3499 2003-03-14 André Pönitz <poenitz@gmx.net>
3501 * textclass.h: prepare for environment handling, ws changes
3502 * lyxlayout.C: read latexheader and latexfooter tags
3504 2003-03-14 John Levon <levon@movementarian.org>
3506 * text2.C: rewrite ::status() a bit
3508 2003-03-13 John Levon <levon@movementarian.org>
3510 * lyxtext.h: add some docs
3512 2003-03-13 John Levon <levon@movementarian.org>
3517 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3519 2003-03-13 John Levon <levon@movementarian.org>
3521 * text3.C: fix appendix redrawing
3523 2003-03-13 John Levon <levon@movementarian.org>
3525 * text.C (setHeightOfRow):
3527 * rowpainter.C: make appendix mark have the text
3528 "Appendix" so the user knows what it is
3531 * LColor.C: s/appendixline/appendix/ from above
3533 2003-03-13 John Levon <levon@movementarian.org>
3535 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3537 * text.C: fix a getChar(pos) bug properly
3539 2003-03-13 Angus Leeming <leeming@lyx.org>
3542 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3543 Probably only temporary. Let's see how things pan out.
3545 * BufferView.C (unlockInset):
3546 * BufferView_pimpl.C (fitCursor):
3547 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3549 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3550 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3552 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3553 new functions that convert ParagraphParameters to and from a string.
3555 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3556 BufferView::Pimpl's dispatch.
3557 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3559 2003-03-13 André Pönitz <poenitz@gmx.net>
3563 * factory.C: make it aware of InsetEnv
3565 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * text2.C (setCursor): never ask for one past last
3568 (setCursor): add some debugging messages.
3570 * text.C (singleWidth): never ask for one past last
3571 (singleWidth): ditto
3573 (rightMargin): ditto
3574 (rowBreakPoint): ditto
3575 (setHeightOfRow): ditto
3576 (prepareToPrint): ditto
3578 * rowpainter.C (paintBackground): never ask for one past last
3579 (paintText): never ask for one past last
3581 * paragraph_pimpl.C (getChar): make the assert stricter, never
3582 allow the one past last pos to be taken
3584 * paragraph.C (getChar): ws changes only
3586 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3587 (numberOfSeparators): ditto
3588 (numberOfHfills): ditto
3590 2003-03-12 John Levon <levon@movementarian.org>
3596 * paragraph_funcs.C: fix per-buffer authorlists
3598 2003-03-12 John Levon <levon@movementarian.org>
3600 * text.C: fix newline in right address
3602 2003-03-12 Angus Leeming <leeming@lyx.org>
3604 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3605 duplicate those in LyXFunc::dispatch.
3609 * ToolbarDefaults.C:
3610 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3611 Add LFUN_FONTFREE_UPDATE.
3613 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3614 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3616 * bufferview_func.[Ch]: several new functions to facilliate
3617 transfer of data to and from the character dialog.
3619 2003-03-12 John Levon <levon@movementarian.org>
3624 * paragraph_funcs.C:
3625 * paragraph_pimpl.C:
3629 * text3.C: remove META_NEWLINE in favour of an inset
3632 * rowpainter.C: remove paintNewline (done by inset)
3634 2003-03-12 John Levon <levon@movementarian.org>
3636 * paragraph_pimpl.C: complain about bad getChar()s
3637 for a while at least
3639 2003-03-12 John Levon <levon@movementarian.org>
3642 * buffer.C: move paragraph read into a separate function,
3643 a little renaming to reflect that.
3646 * bufferparams.C: remove the author_ids map, not necessary now
3649 * factory.C: moved Buffer::readInset to here
3651 * paragraph_funcs.h:
3652 * paragraph_funcs.C: readParagraph free function moved from
3655 * tabular.C: name change
3657 2003-03-12 John Levon <levon@movementarian.org>
3660 * ParagraphParameters.C: move par params input to
3663 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3664 behave like a normal read from the stream wrt reading
3665 a line vs. a \\token
3667 2003-03-12 John Levon <levon@movementarian.org>
3670 * ParagraphParameters.h:
3671 * ParagraphParameters.C: move output code to a
3674 2003-03-12 John Levon <levon@movementarian.org>
3676 * BufferView.C (insertLyXFile):
3679 * tabular.C: use a parlist iterator for creating the
3682 2003-03-12 John Levon <levon@movementarian.org>
3684 * buffer.C: make current_change static local not
3687 2003-03-12 John Levon <levon@movementarian.org>
3689 * buffer.C: fix insertStringAsLines for change tracking
3691 2003-03-12 John Levon <levon@movementarian.org>
3698 * bufferparams.C: move author list into params. Rename some
3699 functions. Move the header reading into a separate token
3700 loop. Move the header token reading into BufferParams.
3702 2003-03-12 John Levon <levon@movementarian.org>
3704 * changes.C: put debug inside lyxerr.debugging() checks
3706 2003-03-11 André Pönitz <poenitz@gmx.net>
3708 * factory.C: make it aware of InsetHFill
3710 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3712 * buffer.C (latexParagraphs): move function from here...
3713 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3716 2003-03-10 Angus Leeming <leeming@lyx.org>
3718 * LyXAction.C (init): fix bug in poplating array with multiple entries
3719 with the same LFUN (spotted by JMarc).
3721 2003-03-10 John Levon <levon@movementarian.org>
3724 * text2.C: move getColumnNearX() near its
3727 2003-03-10 John Levon <levon@movementarian.org>
3729 * text.C: fix break before a minipage
3731 2003-03-10 John Levon <levon@movementarian.org>
3733 * text.C: fix the last commit
3735 2003-03-09 John Levon <levon@movementarian.org>
3739 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3740 bug 365 (don't break before insets unless needed). Don't
3741 return a value > last under any circumstances.
3743 2003-03-09 Angus Leeming <leeming@lyx.org>
3745 * BufferView_pimpl.C (trackChanges, dispatch): call
3746 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3748 2003-03-09 Angus Leeming <leeming@lyx.org>
3750 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3751 than Dialogs::showAboutlyx().
3753 2003-03-09 Angus Leeming <leeming@lyx.org>
3755 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3756 than Dialogs::showTabularCreate().
3758 2003-03-09 John Levon <levon@movementarian.org>
3762 * text2.C: 3rd arg to nextBreakPoint was always the same.
3765 2003-03-08 John Levon <levon@movementarian.org>
3772 * text2.C: Remove the "main" bit from the "main body"
3775 2003-03-08 John Levon <levon@movementarian.org>
3777 * text.C (leftMargin): The left margin of an empty
3778 manual label paragraph should not include the label width
3781 * text.C (prepareToPrint): don't attempt to measure hfills
3782 for empty manual label paragraphs - the answer should be 0
3784 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3786 * CutAndPaste.C: remove commented code and reindent.
3788 2003-03-08 John Levon <levon@movementarian.org>
3791 * lyxfunc.C: move reloadBuffer()
3794 * BufferView.C: to here
3796 * lyxvc.C: add comment
3799 * vc-backend.C: call bv->reload() to avoid
3800 getStatus() check on MENURELOAD
3802 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3804 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3805 to an old format .dep file.
3807 2003-03-07 Angus Leeming <leeming@lyx.org>
3809 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3810 when the LFUN_MOUSE_RELEASE should have been handled by
3811 inset->localDispatch.
3813 2003-03-07 Angus Leeming <leeming@lyx.org>
3815 * BufferView_pimpl.C (dispatch):
3816 * LyXAction.C (init):
3817 * ToolbarDefaults.C (init):
3819 * lyxfunc.C (getStatus):
3820 remove LFUN_INSET_GRAPHICS.
3822 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3824 2003-03-07 Angus Leeming <leeming@lyx.org>
3827 * LyXAction.C (init):
3828 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3830 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3833 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3835 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3836 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3838 2003-03-07 Angus Leeming <leeming@lyx.org>
3840 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3843 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3845 * ParagraphList.C (front): new function
3848 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3850 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3851 and top_row_offset_. removed var first_y.
3853 * text2.C (LyXText, removeRow):
3855 * BufferView_pimpl.C:
3856 use these methods instead of using first_y
3858 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * text2.C (pasteSelection): adjust for checkPastePossible
3862 * CutAndPaste.C: remove Paragraph * buf and replace with
3863 ParagraphList paragraphs.
3864 (DeleteBuffer): delete
3865 (cutSelection): change the tc type to textclass_type
3866 (copySelection): change the tc type to textclass_type
3867 (copySelection): adjust for ParagraphList
3868 (pasteSelection): change the tc type to textclass_type
3869 (pasteSelection): adjust for Paragraphlist
3870 (nrOfParagraphs): simplify for ParagraphList
3871 (checkPastePossible): simplify for ParagraphList
3872 (checkPastePossible): remove unused arg
3874 * ParagraphList.C (insert): handle the case where there are no
3877 * CutAndPaste.h: make CutAndPaste a namespace.
3879 * text3.C (dispatch): adjust
3881 * text.C (breakParagraph): add a ParagraphList as arg
3883 * paragraph_funcs.C (breakParagraph): change to take a
3884 BufferParams and a ParagraphList as args.
3885 (breakParagraphConservative): ditto
3886 (mergeParagraph): ditto
3887 (TeXDeeper): add a ParagraphList arg
3888 (TeXEnvironment): ditto
3891 * buffer.C (readLyXformat2): adjust
3892 (insertStringAsLines): adjust
3893 (latexParagraphs): adjust
3895 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3896 (cutSelection): adjust
3897 (pasteSelection): adjust
3899 * BufferView_pimpl.C (insertInset): adjust
3901 2003-03-05 Angus Leeming <leeming@lyx.org>
3904 * LyXAction.C (init):
3905 * BufferView_pimpl.C (dispatch):
3906 * lyxfunc.C (getStatus):
3907 remove LFUN_CHILD_INSERT.
3909 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3911 2003-03-05 Angus Leeming <leeming@lyx.org>
3914 * LyXAction.C (init):
3915 * src/factory.C (createInset):
3916 * lyxfunc.C (getStatus):
3917 * text3.C (dispatch):
3918 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3920 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3922 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * ParagraphList.C (insert): handle insert right before end()
3925 (erase): fix cases where it can be first or last paragraph.
3927 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3929 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3930 Paragraph::next and Paragraph::previous
3933 * text.C (breakParagraph): adjust
3935 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3936 BufferParams& as arg.
3937 (breakParagraph): use ParagraphList::insert
3938 (breakParagraphConservative): take a Buffer* instead of a
3939 BufferParams& as arg.
3940 (breakParagraphConservative): use ParagraphList::insert.
3942 * buffer.C (insertStringAsLines): un-const it
3943 (insertStringAsLines): adjust
3945 * ParagraphList.C (insert): new function
3947 * CutAndPaste.C (pasteSelection): adjust
3949 * text.C (backspace): adjust
3951 * tabular.C (SetMultiColumn): adjust
3953 * CutAndPaste.C (cutSelection): adjust
3954 (pasteSelection): adjust
3956 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3957 Buffer const * as arg
3959 * ParagraphList.C (erase): new function
3960 * paragraph_funcs.C (mergeParagraph): use it
3961 (mergeParagraph): make it take a Buffer* instead of a
3962 BufferParams* as arg
3964 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3966 (breakParagraphConservative): ditto
3968 * paragraph.h: remove the breakParagraph friend
3970 * paragraph.C (eraseIntern): new function
3971 (setChange): new function
3973 * paragraph_funcs.C (mergeParagraph): make it take a
3974 ParagraphList::iterator instead of a Paragraph *, adjust
3977 * paragraph.h: move an #endif so that the change tracking stuff
3978 also works in the NO_NEXT case.
3980 2003-03-04 Angus Leeming <leeming@lyx.org>
3983 * LyXAction.C: new LFUN_INSET_MODIFY.
3985 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3986 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3988 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * several files: ws changes only
3992 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3993 (TeXEnvironment): ditto
3996 * buffer.C (makeLaTeXFile): adjust
3997 (latexParagraphs): make it take ParagraphList::iterator as args
3999 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * buffer.C (latexParagraphs): adjust
4003 * paragraph.C (TeXOnePar): move function...
4004 (optArgInset): move function...
4005 (TeXEnvironment): move function...
4006 * paragraph_pimpl.C (TeXDeeper): move function...
4007 * paragraph_funcs.C: ...here
4009 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4011 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * buffer.C (readInset): remove compability code for old Figure and
4016 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * buffer.C: ws changes
4021 * BufferView_pimpl.C: ditto
4024 * bufferlist.h: ditto
4028 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4030 * converter.[Ch]: split into itself +
4033 * Makefile.am: += graph.[Ch] + format.[Ch]
4040 * lyxrc.C: added #include "format.h"
4042 2003-02-27 Angus Leeming <leeming@lyx.org>
4044 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4047 * factory.C (createInset): add "label" to the factory.
4049 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4050 string and do no more.
4052 2003-02-27 Angus Leeming <leeming@lyx.org>
4055 * LyXAction.C (init):
4056 * factory.C (createInset):
4057 * BufferView_pimpl.C (dispatch):
4058 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4060 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4062 * lyxfunc.C (dispatch):
4063 * text3.C (dispatch): pass name to params2string.
4065 2003-02-26 Angus Leeming <leeming@lyx.org>
4067 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4069 Rearrange the ~includes. Strip out the unnecessary ones.
4071 * factory.C (createInset): reformat.
4072 create new insets for the various LFUN_XYZ_APPLY lfuns.
4074 2003-02-26 John Levon <levon@movementarian.org>
4077 * lyxrow.C: add isParStart,isParEnd helpers
4079 * paragraph.h: make isInserted/DeletedText take refs
4081 * paragraph_funcs.h:
4082 * paragraph_funcs.C: remove #if 0'd code
4087 * text.C: use lyxrow helpers above.
4088 Move draw and paint routines to RowPainter.
4089 Make several methods use refs not pointers.
4090 Make backgroundColor() const.
4091 Add markChangeInDraw(), isInInset().
4092 Merge changeRegionCase into changeCase.
4093 Make workWidth() shouldn't-happen code into an Assert.
4096 * rowpainter.C: new class for painting a row.
4099 * vspace.C: make inPixels take a ref
4101 2003-02-26 Angus Leeming <leeming@lyx.org>
4103 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4106 2003-02-25 John Levon <levon@movementarian.org>
4108 * ispell.C: give the forked command a more accurate name
4110 2003-02-22 John Levon <levon@movementarian.org>
4113 * toc.C: make TocItem store an id not a Paragraph *
4116 2003-02-21 Angus Leeming <leeming@lyx.org>
4118 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4119 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4120 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4121 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4122 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4123 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4125 * BufferView_pimpl.C (dispatch):
4126 * LyXAction.C (init):
4127 * factory.C (createInset):
4128 * lyxfunc.C (getStatus, dispatch):
4129 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4131 2003-02-21 Angus Leeming <leeming@lyx.org>
4133 * BufferView_pimpl.C (MenuInsertLyXFile):
4134 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4135 * lyxfunc.C (menuNew, open, doImport):
4136 no longer pass a LyXView & to fileDlg.
4138 2003-02-21 Angus Leeming <leeming@lyx.org>
4140 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4141 * LyXAction.C: change, BIBKEY to BIBITEM.
4142 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4143 Change InsetBibKey to InsetBibitem.
4144 Change BIBKEY_CODE to BIBITEM_CODE.
4145 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4146 * factory.C: replace insetbib.h with insetbibitem.h.
4147 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4148 * paragraph.C: replace insetbib.h with insetbibitem.h.
4149 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4150 Change bibkey() to bibitem().
4151 * text.C: remove insetbib.h.
4152 * text2.C: replace insetbib.h with insetbibitem.h.
4153 change bibkey() to bibitem().
4154 * text3.C: remove insetbib.h.
4155 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4157 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4159 * lyxrc.C (output): enclose user email in quotes (in case there are
4162 2003-02-18 John Levon <levon@movementarian.org>
4164 * buffer.h: add std::
4166 2003-02-17 John Levon <levon@movementarian.org>
4172 * pspell.C: reworking. Especially in ispell, a large
4173 number of clean ups and bug fixes.
4175 * lyxfunc.C: fix revert to behave sensibly
4177 2003-02-17 André Pönitz <poenitz@gmx.net>
4180 * commandtags.h: new LFUN_INSERT_BIBKEY
4190 * paragraph_func.C: remove special bibkey handling
4192 2003-02-17 John Levon <levon@movementarian.org>
4194 * text.C (Delete): fix case where delete at the end of
4195 the very first paragraph would not merge the pars
4197 2003-02-17 John Levon <levon@movementarian.org>
4199 * lyxrow.C: fix lastPrintablePos()
4201 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4203 * bufferparams.C (writeLaTeX): add a std:here
4205 * buffer.C: and remove a using directive there
4207 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4209 * buffer.C (makeLaTeXFile): move the code that generates the
4212 * bufferparams.C (writeLaTeX): ... in this new method
4214 * LaTeXFeatures.C (getEncodingSet): make const
4215 (getLanguages): make const
4217 * MenuBackend.C (binding): returns the binding associated to this
4219 (add): sets the status of each item by calling getStatus. Adds
4221 (read): add support for OptSubMenu
4222 (expand): remove extra separator at the end of expanded menu
4224 2003-02-15 John Levon <levon@movementarian.org>
4227 * BufferView_pimpl.C:
4229 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4230 inset code that had no actual effect. Remove unneeded status
4233 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4235 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4238 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4240 * text.C (drawLengthMarker): also draw an arrow marker for
4241 symbolic lengths (medskip...)
4243 2003-02-14 John Levon <levon@movementarian.org>
4246 * tabular.C: better method names
4248 2003-02-14 John Levon <levon@movementarian.org>
4250 * BufferView_pimpl.C:
4255 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4256 it's a more accurate name. Remove some pointless uses.
4258 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4260 * text2.C (LyXText): change order of initilizers to shut off
4263 2003-02-14 John Levon <levon@movementarian.org>
4265 * buffer.C: use ParIterator for getParFromID()
4269 * paragraph_pimpl.h:
4270 * paragraph_pimpl.C: remove unused getParFromID()
4272 2003-02-14 John Levon <levon@movementarian.org>
4274 * buffer.C: remove some very old #if 0'd parse code
4276 2003-02-13 John Levon <levon@movementarian.org>
4280 * text2.C: move hfillExpansion(), numberOfSeparators(),
4281 rowLast(), rowLastPrintable(), numberofHfills(),
4282 numberOfLabelHfills() ...
4285 * lyxrow.C: ... to member functions here.
4290 * text.C: remove LyXText::beginningOfMainBody(), and call
4291 p->beginningOfMainBody() directly. Move the check for
4292 LABEL_MANUAL into the latter.
4299 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4305 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4306 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4308 2003-02-13 John Levon <levon@movementarian.org>
4310 * CutAndPaste.C: remove debug
4312 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4314 * paragraph.C (asString): remove two unused variables
4316 * lyxtextclass.C (readTitleType):
4318 (LyXTextClass): handle new members titletype_ and titlename_
4320 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4322 2003-02-09 John Levon <levon@movementarian.org>
4325 * buffer.C: replace hand-coded list with a map for the dep clean
4327 2003-02-08 John Levon <levon@movementarian.org>
4329 * LaTeX.C: consolidate code into showRunMessage() helper
4331 2003-02-08 John Levon <levon@movementarian.org>
4336 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4337 and pass the size in explicitly
4339 * BufferView_pimpl.h:
4340 * BufferView_pimpl.C:
4342 * BufferView.C: add getCurrentChange()
4344 * BufferView_pimpl.h:
4345 * BufferView_pimpl.C: handle change lfuns
4347 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4348 for changes. Mark pasted paragraphs as new.
4350 * support/lyxtime.h:
4351 * support/lyxtime.C:
4352 * DepTable.C: abstract time_t as lyx::time_type
4355 * LColor.C: add colours for new text, deleted text, changebars
4357 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4358 package use "usenames" option.
4362 * LyXAction.C: add change lfuns
4366 * author.C: author handling
4369 * buffer.C: add a per-buffer author list, with first entry as
4370 current author. Handle new .lyx tokens for change tracking. Output
4371 author list to .lyx file. Output dvipost stuff to .tex preamble.
4372 Bump lyx format to 222.
4375 * bufferlist.C: add setCurrentAuthor() to reset current author details
4379 * bufferparams.C: add param for tracking
4381 * bufferview_funcs.C: output change info in minibuffer
4385 * changes.C: add change-tracking structure
4388 * debug.C: add CHANGES debug flag
4391 * lyxfind.C: add code for finding the next change piece
4394 * lyxrc.C: add user_name and user_email
4397 * lyxrow.C: add a metric for the top of the text line
4400 * text.C: implement accept/rejectChange()
4403 * text.C: paint changebars. Paint new/deleted text in the chosen
4404 colours. Strike through deleted text.
4408 * paragraph_pimpl.h:
4409 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4410 in the current change to the insert functions. Rework erase to
4411 mark text as deleted, adding an eraseIntern() and a range-based
4412 erase(). Implement per-paragraph change lookup and
4415 * paragraph_funcs.C: Fixup paste for change tracking.
4417 * tabular.C: mark added row/columns as new.
4419 * text.C: fix rowLast() to never return -1. Don't allow
4420 spellchecking of deleted text. Track transpose changes. Don't
4421 allow paragraph break or merge where appropriate.
4423 * text2.C: leave cursor at end of selection after a cut.
4425 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4427 * text.C (getLengthMarkerHeight):
4428 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4429 visible on screen too.
4431 2003-02-07 John Levon <levon@movementarian.org>
4433 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4435 2003-02-05 Angus Leeming <leeming@lyx.org>
4437 * lyxserver.C (read_ready): revert my patch of 11 September last year
4438 as it sends PC cpu through the roof. Presumably this means that
4439 the lyxserver will no longer run on an Alpha...
4441 2003-01-30 Angus Leeming <leeming@lyx.org>
4443 * factory.C (createInset): create an InsetCommandParam of type "index"
4444 and use it to 'do the right thing'.
4446 * text2.C (getStringToIndex): ensure that cursor position is always
4447 reset to the reset_cursor position.
4449 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4451 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4454 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4458 * lyxfunc.C: Output messages with identical spelling, punctuation,
4461 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4463 * MenuBackend.C (expandFormats): List only viewable export formats
4466 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4469 * lyxfunc.C (getStatus): Make sure that formats other than
4470 "fax" can also be disabled
4472 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4474 * text3.C (dispatch): put the lfuns that insert insets in 3
4475 groups, and call doInsertInset with appropriate arguments.
4476 (doInsertInset): new function, that creates an inset and inserts
4477 it according to some boolean parameters.
4479 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * buffer.C (readFile): remember to pass on 'par' when calling
4482 readFile recursively.
4484 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4486 * MenuBackend.C (expandFormats): add "..." to import formats.
4488 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4490 * paragraph.C (asString): Remove XForms RTL hacks.
4492 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4493 * buffer.C: fix typo
4495 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4497 * Makefile.am (LIBS): delete var
4498 (lyx_LDADD): add @LIBS@ here instead.
4500 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4502 * Clarify the meaning of "wheel mouse jump"
4504 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4506 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4509 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4511 * importer.C (Loaders): do not preallocate 3 elements in the
4512 vector, since one ends up with 6 elements otherwise
4514 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4516 * DepTable.C (write): write the file name as last element of the
4517 .dep file (because it may contain spaces)
4518 (read): read info in the right order
4520 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4522 * paragraph_pimpl.C (simpleTeXBlanks):
4523 (simpleTeXSpecialChars):
4524 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4526 * tabular.C (latex): add some missing case statements. Reindent.
4528 * MenuBackend.C (expandToc): remove unused variable.
4530 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4539 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4542 2003-01-05 John Levon <levon@movementarian.org>
4545 * BufferView.C: add getEncoding()
4548 * kbsequence.C: do not store last keypress
4551 * lyxfunc.C: store last keypress here instead. Pass encoding
4554 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4556 * lyx_main.C (init): remove annoying error message when following
4557 symbolic links (bug #780)
4559 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4561 * text.C (insertChar):
4562 * lyxrc.C (getDescription): remove extra spaces
4564 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4566 * lyxrc.C (getDescription): remove extra spaces
4568 2002-12-20 John Levon <levon@movementarian.org>
4570 * text3.C: hack fix for page up/down across tall rows
4572 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4574 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4577 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4579 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4580 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4581 thesaurus is not compiled in
4583 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4585 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4587 2002-12-16 Angus Leeming <leeming@lyx.org>
4590 * lyx_main.C (init): remove override_x_deadkeys stuff.
4592 2002-12-12 John Levon <levon@movementarian.org>
4594 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4595 insert. Only remove shift modifier under strict
4598 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4600 * MenuBackend.C (expandToc): fix crash.
4602 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * MenuBackend.C (expandToc): gettext on float names.
4606 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4608 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4609 implement bool empty() [bug 490]
4611 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4615 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4617 * several files: ws changes
4619 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * text2.C (setCounter): clean up a bit, use boost.format.
4622 (updateCounters): initialize par upon declaration.
4624 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4625 if the layout exists. We do not just store the layout any more.
4626 (SwitchLayoutsBetweenClasses): use boost.format
4628 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4630 * converter.C (convert): if from and to files are the same, use a
4631 temporary files as intermediary
4633 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4636 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4638 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4640 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4642 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * tabular.C (asciiPrintCell): use string(size, char) instead of
4647 * sgml.C (openTag): fix order of arguments to string constructor
4650 * lyxfunc.C (dispatch): use boost.format
4652 * lots of files: change "c" -> 'c'
4654 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4656 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4658 2002-11-25 Angus Leeming <leeming@lyx.org>
4660 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4662 * lyx_main.C (init): compile fix.
4664 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * lyx_cb.C (start): boost.formatify
4667 do not include <iostream>
4669 * lengthcommon.C: ws only
4671 * boost-inst.C,BoostFormat.h: add more explict instantations
4673 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * lots of files: handle USE_BOOST_FORMAT
4677 2002-11-21 John Levon <levon@movementarian.org>
4679 * pspell.C: fix compile
4681 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4683 * lyxfunc.C (dispatch): use boost::format
4687 * lyxfont.C (stateText): use boost::format
4689 * lyx_main.C (LyX): use boost::format
4691 (queryUserLyXDir): ditto
4694 (typedef boost::function): use the recommened syntax.
4696 * importer.C (Import): use boost::format
4698 * debug.C (showLevel): use boost::format
4700 * converter.C (view): use boost::format
4705 * bufferview_funcs.C (currentState): use boost::format
4707 * bufferlist.C (emergencyWrite): use boost::format
4709 * buffer.C (readLyXformat2): use boost::format
4710 (parseSingleLyXformat2Token): ditto
4712 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4714 * LaTeX.C (run): use boost::format
4716 * Chktex.C (scanLogFile): use boost::format
4718 * BufferView_pimpl.C (savePosition): use boost::format
4719 (restorePosition): ditto
4720 (MenuInsertLyXFile): ditto
4722 * BoostFormat.h: help file for explicit instation.
4724 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4726 * tabular.C (latex): Support for block alignment in fixed width
4729 2002-11-17 John Levon <levon@movementarian.org>
4731 * BufferView_pimpl.C:
4733 * lyxfunc.C: split filedialog into open/save
4735 2002-11-08 Juergen Vigna <jug@sad.it>
4737 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4738 by my last patch (hopefully).
4740 2002-11-08 John Levon <levon@movementarian.org>
4749 * toc.C: ParConstIterator, and use it (from Lars)
4751 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4753 * lyxtextclass.[Ch]: revise and add doxygen comments
4755 2002-11-07 John Levon <levon@movementarian.org>
4757 * text.C: fix progress value for spellchecker
4759 * toc.C: fix navigate menu for insetwrap inside minipage
4761 * paragraph_funcs.C: added FIXME for suspect code
4763 2002-11-07 John Levon <levon@movementarian.org>
4765 * BufferView_pimpl.C: fix redrawing of insets
4768 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4770 * text2.C (updateCounters): fix bug 668
4772 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4774 * text3.C (dispatch): Do not make the buffer dirty when moving the
4777 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * vc-backend.C: STRCONV
4782 * text2.C (setCounter): STRCONV
4784 * paragraph.C (asString): STRCONV
4786 * lyxlength.C (asString): STRCONV
4787 (asLatexString): ditto
4789 * lyxgluelength.C (asString): STRCONV
4790 (asLatexString): ditto
4792 * lyxfunc.C (dispatch): STRCONV
4795 * lyxfont.C (stateText): STRCONV
4797 * importer.C (Import): STRCONV
4799 * counters.C (labelItem): STRCONV
4800 (numberLabel): ditto
4801 (numberLabel): remove unused ostringstream o
4806 * bufferview_funcs.C (currentState): STRCONV
4808 * buffer.C (readFile): STRCONV
4809 (asciiParagraph): ditto
4810 (makeLaTeXFile): ditto
4812 * Spacing.C (writeEnvirBegin): STRCONV
4814 * LaTeXFeatures.C (getLanguages): STRCONV
4815 (getPackages): ditto
4817 (getBabelOptions): ditto
4818 (getTClassPreamble): ditto
4819 (getLyXSGMLEntities): ditto
4820 (getIncludedFiles): ditto
4824 (scanAuxFile): ditto
4827 * LString.h: add the STRCONV macros
4829 * BufferView_pimpl.C (savePosition): STRCONV
4830 (restorePosition): ditto
4831 (MenuInsertLyXFile): ditto
4833 * vc-backend.C (scanMaster): change from submatch[...] to
4836 * funcrequest.C: include config.h
4838 * factory.C: include config.h
4840 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4842 * box.C: include config.h
4844 * LaTeX.C (scanAuxFile): change from submatch[...] to
4848 2002-10-25 Angus Leeming <leeming@lyx.org>
4850 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4852 * ispell.[Ch] (setError): new method.
4853 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4854 Use setError() insetead of goto END.
4856 * lyx_cb.C (AutoSave): move out child process into new class
4859 2002-10-30 John Levon <levon@movementarian.org>
4861 * text3.C: make start appendix undoable
4863 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4865 * lyxlength.C (inPixels): Fix returned value.
4867 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4870 2002-10-24 Angus Leeming <leeming@lyx.org>
4872 * lyxgluelength.h: no need to forward declare BufferParams
4873 or BufferView, so don't.
4875 2002-10-21 John Levon <levon@movementarian.org>
4877 * BufferView.C: menuUndo ->undo, redo
4879 * BufferView.h: document, remove dead, make some methods private
4881 * paragraph_funcs.h:
4882 * paragraph_funcs.C:
4883 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4888 * sgml.C: move sgml open/close tag into sgml.C
4890 * bufferview_funcs.h: unused prototype
4893 * lyxfunc.C: remove unused
4896 * text.C: remove unused
4898 2002-10-21 John Levon <levon@movementarian.org>
4902 * BufferView_pimpl.h:
4903 * BufferView_pimpl.C: fix mouse wheel handling based on
4904 patch from Darren Freeman
4906 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4908 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4910 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4912 * lyxlength.C (inPixels): Fix hanfling of negative length.
4913 Fix LyXLength::MU case.
4915 2002-10-16 John Levon <levon@movementarian.org>
4917 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4919 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4921 * converter.C (view): add support for $$i (file name) and $$p
4922 (file path) for the viewer command. If $$i is not specified, then
4923 it is appended to the command (for compatibility with old syntax)
4925 2002-10-14 Juergen Vigna <jug@sad.it>
4927 * undo_funcs.C (textHandleUndo): alter the order in which the
4928 new undopar is added to the LyXText, as we have to set first
4929 the right prev/next and then add it as otherwise the rebuild of
4930 LyXText is not correct. Also reset the cursor to the right paragraph,
4931 with this IMO we could remove the hack in "redoParagraphs()".
4933 2002-10-09 Angus Leeming <leeming@lyx.org>
4935 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4936 to turn off an optimisation if a new inset is to be inserted.
4938 2002-10-11 André Pönitz <poenitz@gmx.net>
4940 * lyxtext.h: make some functions public to allow access
4941 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4943 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4945 * text3.C (dispatch): when changing layout, avoid an infinite loop
4948 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4950 * lyxrc.C (read): treat a viewer or converter command of "none" as
4953 * MenuBackend.C (expandFormats): for an update, also allow the
4954 formats that are not viewable
4956 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4957 script if it is newer than the lyxrc.defaults in user directory
4959 2002-10-07 André Pönitz <poenitz@gmx.net>
4961 * text.C: Vitaly Lipatov's small i18n fix
4963 2002-09-25 Angus Leeming <leeming@lyx.org>
4965 * ispell.h: doxygen fix.
4967 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4969 * buffer.h (readFile): Add a new argument to the method, to allow
4970 reading of old-format templates.
4972 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4974 * toc.C (getTocList): Get TOC from InsetWrap.
4976 2002-09-16 John Levon <levon@movementarian.org>
4978 * lyxfunc.C: check tabular for cut/copy too
4980 2002-09-12 John Levon <levon@movementarian.org>
4985 * factory.C: add header
4987 * paragraph_funcs.h:
4988 * paragraph_funcs.C: cleanup
4990 2002-09-11 John Levon <levon@movementarian.org>
4992 * PrinterParams.h: odd/even default to true
4994 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4996 * PrinterParams.h: update printer parameters for new xforms dialog
4998 2002-09-11 Angus Leeming <leeming@lyx.org>
5000 * lyxserver.C (read_ready): re-write to make it more transparent
5001 and to make it work in coherent fashion under Tru64 Unix.
5003 2002-09-11 André Pönitz <poenitz@gmx.net>
5007 * text3.C: implement LFUN_WORDSEL
5009 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5012 make floatlist_ a boost::shared_ptr<FloatList>
5014 * lyxtextclass.C: include FloatList.h
5015 (LyXTextClass): initialize floatlist_
5016 (TextClassTags): add TC_NOFLOAT
5017 (Read): match "nofloat" to TC_NOFLOAT and use it.
5018 (readFloat): modify call to floatlist_
5022 * FloatList.[Ch] (FloatList): remove commented out float
5024 (erase): new function
5026 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5028 * MenuBackend.C (expandToc): fix crash when there is no document
5031 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5033 * many files: Add insetwrap.
5035 2002-09-09 John Levon <levon@movementarian.org>
5037 * text2.C: remove confusing and awkward depth wraparound
5039 2002-09-09 John Levon <levon@movementarian.org>
5041 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5044 * buffer.C: remove getIncludeonlyList()
5047 * lyxfunc.C: remove headers
5049 2002-09-09 Juergen Vigna <jug@sad.it>
5051 * text.C (getColumnNearX): fix form Michael this is most
5052 probably a cut&paste bug.
5054 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5058 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5059 references, ws changes.
5061 * text2.C (init): update counters after init
5062 (insertParagraph): no need to set counter on idividual paragraphs.
5063 (setCounter): access the counters object in the textclass object
5064 on in the buffer object.
5065 (updateCounters): ditto
5067 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5068 shared_ptr<Counters> to avoid loading counters.h in all
5070 (LyXTextClass): initialize ctrs_
5071 (TextClassTags): add TC_COUNTER, and ...
5072 (Read): use it here.
5073 (CounterTags): new tags
5074 (readCounter): new function
5075 (counters): new funtion
5076 (defaultLayoutName): return a const reference
5078 * counters.C (Counters): remove contructor
5079 (newCounter): remove a couple of unneeded statements.
5080 (newCounter): simplify a bit.
5081 (numberLabel): some small formatting changes.
5083 * buffer.[Ch]: remove all traces of counters, move the Counters
5084 object to the LyXTextClass.
5086 2002-09-06 Alain Castera <castera@in2p3.fr>
5088 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5089 package to set the horizontal alignment on fixed width columns.
5092 * lyx_sty.h: added tabularnewline macro def.
5094 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5096 2002-09-06 John Levon <levon@movementarian.org>
5098 * LyXAction.C: tooltips for sub/superscript
5100 * MenuBackend.C: a bit more verbose
5102 * lyxfunc.C: tiny clean
5104 * undo_funcs.C: document undo_frozen
5106 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * counters.C (Counters): add missing algorithm counter.
5110 * text2.C (setCounter): lookup the counter with layouts latexname
5111 instead of by section number.
5112 (setCounter): use a hackish way to lookup the correct enum
5114 a float name->type change
5115 reset enum couners with counter name directly instead of depth value.
5117 * counters.C (Counters): remove the push_backs, change to use the
5118 float type not the float name.
5119 (labelItem): remove unused string, float name->type change
5121 * counters.h: don't include vector, loose the enums and sects vectors
5123 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5126 (Read): add float->TC_FLOAT to textclassTags
5127 (Read): and handle it in the switch
5128 (readFloat): new function
5130 * FloatList.C (FloatList): comment out the hardcoded float
5133 * lyxlayout.h: ws change.
5135 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5137 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5139 2002-09-03 Angus Leeming <leeming@lyx.org>
5141 * BufferView_pimpl.h: qualified name is not allowed in member
5142 declaration: WorkArea & Pimpl::workarea() const;
5144 * factory.C: added using std::endl directive.
5146 * text3.C: added using std::find and std::vector directives.
5148 2002-08-29 André Pönitz <poenitz@gmx.net>
5151 * text2.C: remove unused member number_of_rows
5154 * BufferView2.C: remove file, move contents to...
5155 * BufferView.C: ... here
5157 * BufferView_pimpl.C:
5158 * factory.C: move more inset creation to factory
5160 * vspace.C: avoid direct usage of LyXText, ws changes
5163 don't provide direct access to WorkArea, use two simple
5164 acessors haveSelction() and workHeight() instead
5167 2002-08-29 John Levon <levon@movementarian.org>
5169 * BufferView_pimpl.C (dispatch): do not continue when
5172 2002-08-28 André Pönitz <poenitz@gmx.net>
5174 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5177 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5179 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5181 * buffer.C: increment LYX_FORMAT to 221
5183 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5184 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5186 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5188 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5190 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5192 * factory.C (createInset): use LyXTextClass::floats
5194 * MenuBackend.C (expandFloatListInsert):
5195 (expandFloatInsert):
5198 * text2.C (setCounter):
5200 * LaTeXFeatures.C (useFloat):
5201 (getFloatDefinitions):
5203 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5205 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5206 floatlist_, with accessor floats().
5208 * FloatList.h: remove global FloatList
5210 2002-08-26 André Pönitz <poenitz@gmx.net>
5212 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5216 * BufferView_pimpl.C:
5217 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5219 2002-08-25 John Levon <levon@movementarian.org>
5221 * LyXAction.C: fix margin note description
5223 2002-08-24 John Levon <levon@movementarian.org>
5227 * bufferview_funcs.C:
5229 * undo_funcs.C: cleanups
5231 * lyxfunc.C: disable CUT/COPY when no selection
5233 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5235 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5236 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5238 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5239 Add backward compatibility to "mono", "gray" and "no".
5241 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5243 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5244 (and file_format >= 200).
5246 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5248 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5250 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5252 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5254 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5256 * BufferView_pimpl.C:
5263 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5264 inset and code to make it work with the paragraph code. The inset
5265 can be anywhere in the paragraph, but will only do the expected
5266 thing in LaTeX if the layout file contains the parameter line
5268 (or more generally, a nonzero value) for that layout.
5270 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * paragraph.h: remove the declaration of undefined counters class
5275 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5277 * text2.C (setCounter): fixed enumeration mis-count as reported by
5278 Dr. Richard Hawkins.
5280 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5282 * paragraph_funcs.h: remove some unneeded includes
5284 * text.C (backspace): pasteParagraph now in global scipe
5286 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5287 (pasteSelection): ditto
5289 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5290 * paragraph_funcs.C (pasteParagraph): ... here
5292 2002-08-20 André Pönitz <poenitz@gmx.net>
5294 * commandtags.h: new LFUNs for swapping/copying table row/colums
5297 * lyxfunc.C: support for new lfuns
5299 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * buffer.[Ch]: remove NO_COMPABILITY stuff
5304 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * boost.C (throw_exception): new file, with helper function for
5307 boost compiled without exceptions.
5312 * ParameterStruct.h:
5313 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5315 * bufferlist.C (emergencyWriteAll): use boost bind
5317 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5319 * text.C: include paragraph_funcs.h
5320 (breakParagraph): breakParagraph is now in global scope
5322 * paragraph_funcs.[Ch]: new files
5324 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5327 * buffer.C: include paragraph_funcs.h
5328 (insertStringAsLines): breakParagraph is now in global scope
5330 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5333 * CutAndPaste.C: include paragraph_funcs.h
5334 (cutSelection): breakParagraphConservative is now in global scope
5335 (pasteSelection): ditto
5337 * buffer.h: declare oprator== and operator!= for
5338 Buffer::inset_iterator
5340 * bufferlist.C (emergencyWrite): don't use fmt(...)
5342 * text3.C: add using std::endl
5344 * BufferView.C (moveCursorUpdate): remove default arg
5346 2002-08-20 André Pönitz <poenitz@gmx.net>
5348 * buffer.[Ch]: move inline functions to .C
5351 * BufferView_pimpl.C:
5353 * buffer.[Ch]: use improved inset_iterator
5356 * paragraph.[Ch]: write one paragraph at a time
5358 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5360 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5361 style if style is not specified.
5363 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5365 * text2.C (setCounter): when searching for right label for a
5366 caption, make sure to recurse to parent insets (so that a caption
5367 in a minipage in a figure float works) (bug #568)
5369 2002-08-20 André Pönitz <poenitz@gmx.net>
5371 * text3.C: new file for LyXText::dispatch() and helpers
5373 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5375 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5377 2002-08-19 André Pönitz <poenitz@gmx.net>
5380 * text.C: new LyXText::dispatch()
5382 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5384 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5386 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5388 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5391 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5393 * Makefile.am: use $(variables) instead of @substitutions@
5395 2002-08-15 André Pönitz <poenitz@gmx.net>
5398 * BufferView_pimpl.C: streamlining mathed <-> outer world
5402 * LyXAction.C: remove unused LFUN_MATH
5404 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5408 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5410 * paragraph.C (Paragraph): reformat a bit
5411 (cutIntoMinibuffer): use builtin InsetList function instad of
5415 * buffer.C: include boost/bind.hpp, add using std::for_each
5416 (writeFileAscii): use ParagraphList iterators
5417 (validate): use for_each for validate traversal of paragraphs
5418 (getBibkeyList): use ParagraphList iterators
5419 (resizeInsets): use for_each to resizeInsetsLyXText for all
5421 (getParFromID): use ParagraphList iterators
5423 * BufferView2.C (lockInset): use paragraph list and iterators
5425 2002-08-14 John Levon <levon@movementarian.org>
5427 * lyxserver.C: remove spurious xforms include
5429 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5431 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5433 2002-08-13 André Pönitz <poenitz@gmx.net>
5436 * lyxfunc.C: further cleaning
5438 2002-08-13 André Pönitz <poenitz@gmx.net>
5440 * funcrequest.h: new constructor
5442 * funcrequest.C: move stuff here from .h
5445 * BufferView_pimpl.C:
5448 * lyxfunc.C: subsequent changes
5450 * lyxfunc.h: new view() member function
5452 * lyxfunc.C: subsequent changes
5454 2002-08-13 Angus Leeming <leeming@lyx.org>
5457 * BufferView_pimpl.C:
5465 changes due to the changed LyXView interface that now returns references
5466 to member variables not pointers.
5468 2002-08-13 Angus Leeming <leeming@lyx.org>
5470 * WordLangTuple (word, lang_code): return references to strings,
5475 * lyxtext.h: forward-declare WordLangTuple.
5480 * text.C: #include "WordLangTuple.h".
5483 * text.C: (selectNextWordToSpellcheck): constify return type.
5485 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5491 * paragraph_pimpl.h:
5494 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5496 Made updateCounter always count from start of buffer, and removed
5497 second argument (par).
5498 Reverted floats number display to '#'. Perhaps I'll try again when the
5499 code base is sanitized a bit.
5501 2002-08-12 Angus Leeming <leeming@lyx.org>
5503 * buffer.[Ch] (getLabelList): constify.
5505 2002-08-07 André Pönitz <poenitz@gmx.net>
5507 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5509 * funcrequest.h: extension to keep mouse (x,y) position
5511 2002-08-12 Juergen Vigna <jug@sad.it>
5513 * BufferView2.C (insertErrors): forbid undo when inserting error
5516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5518 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * ParagraphList.[Ch]: new files
5522 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5524 * BufferView2.C (lockInset): ParagraphList changes
5527 * bufferlist.C: ditto
5531 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5533 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5534 unused class variable counter_,
5536 * paragraph.[Ch] (getFirstCounter): delete unused function
5538 * counters.C: include LAssert.h
5539 (reset): add a new function with no arg, change other version to
5540 not have def. arg and to not allow empty arg.
5542 * text2.C (setCounter): remove empty arg from call to Counters::reset
5544 2002-08-11 John Levon <levon@movementarian.org>
5546 * Makefile.am: add WordLangTuple.h
5548 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5551 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5553 * insets/insettext.C: InsetList changes
5555 * graphics/GraphicsSupport.C (operator()): InsetList changes
5557 * toc.C (getTocList): InsetList changes
5559 * paragraph_pimpl.[Ch]: InsetList changes
5561 * paragraph.[Ch]: InsetList changes
5563 * buffer.C (inset_iterator): InsetList changes
5564 (setParagraph): ditto
5565 * buffer.h (inset_iterator): ditto
5566 * iterators.C (operator++): ditto
5567 * iterators.h: ditto
5569 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5571 * InsetList.[Ch]: new files, most InsetList handling moved out of
5574 * BufferView2.C (removeAutoInsets): InsetList changes
5576 (ChangeInsets): ditto
5578 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * paragraph_pimpl.h (empty): new function
5582 * paragraph.[Ch] (empty): new function
5584 * other files: use the new Paragraph::empty function
5586 2002-08-09 John Levon <levon@movementarian.org>
5588 * lyxtext.h: remove unused refresh_height
5590 2002-08-09 John Levon <levon@movementarian.org>
5597 * paragraph.C: move sgml char escaping out of paragraph
5600 * paragraph.C: remove id setter
5604 * paragraph_pimpl.C: remove dead tex_code_break_column
5606 * bufferview_funcs.C: small cleanup
5608 * lyxfunc.C: remove dead proto
5610 * lyxtext.h: make some stuff private. Remove some dead stuff.
5612 * lyxgluelength.C: make as[LyX]String() readable
5614 2002-08-08 John Levon <levon@movementarian.org>
5619 * ToolbarDefaults.C:
5622 * toc.C: lyxaction cleanup
5624 2002-08-08 John Levon <levon@movementarian.org>
5626 * BufferView2.C: small cleanup
5629 * lyxfind.C: move unnecessary header into the .C
5631 2002-08-08 John Levon <levon@movementarian.org>
5633 * funcrequest.h: just tedious nonsense
5636 * lyx_main.C: cleanups
5639 * vspace.C: remove dead header lyx_main.h
5641 2002-08-07 Angus Leeming <leeming@lyx.org>
5644 * paragraph_pimpl.h:
5645 Forward declare class Counters in paragraph.h by moving the ctrs member
5646 variable into Paragraph::Pimpl.
5647 (counters): new method, returning a reference to pimpl_->ctrs.
5649 * text2.C: ensuing changes.
5651 2002-08-07 John Levon <levon@movementarian.org>
5653 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5655 * BufferView_pimpl.C: announce X selection on double/triple
5658 * lyx_main.C: use correct bool in batch dispatch
5660 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5662 2002-08-07 André Pönitz <poenitz@gmx.net>
5664 * funcrequest.h: new class to wrap a kb_action and its argument
5667 * BufferView_pimpl[Ch]:
5671 * lyxrc.C: subsequent changes
5674 2002-08-07 John Levon <levon@movementarian.org>
5676 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5677 document options change.
5679 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5684 * makefile.am: move counters functionality over from
5685 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5687 2002-08-06 John Levon <levon@movementarian.org>
5689 * WordLangTuple.h: new file for word + language code tuple
5700 * BufferView2.C: use WordLangTuple
5703 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5705 2002-08-06 John Levon <levon@movementarian.org>
5707 * lyx_main.C: fix cmdline batch handling
5709 2002-08-06 André Pönitz <poenitz@gmx.net>
5711 * lyxrc.C: set default for show_banner to true
5713 2002-08-06 John Levon <levon@movementarian.org>
5715 * pspell.C: fix a crash, and allow new aspell to work
5717 2002-08-06 John Levon <levon@movementarian.org>
5720 * kbmap.C: small cleanup
5723 * vspace.C: add const
5725 2002-08-05 John Levon <levon@movementarian.org>
5727 * LyXAction.C: back to tabular-insert
5729 2002-08-04 John Levon <levon@movementarian.org>
5732 * BufferView.C: cosmetic change
5734 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5744 * BufferView2.C: purge all "Lyx" not "LyX" strings
5747 * lyxcursor.C: attempt to add some documentation
5752 * ToolbarDefaults.C:
5753 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5754 merge with LFUN_TABULAR_INSERT
5761 * pspell.C: split up i/pspell implementations into separate
5762 files, many cleanups
5764 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5766 * text2.C: some cleanup
5768 * lyxfunc.C: don't check for isp_command == "none" any more, it
5769 didn't make any sense
5771 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5776 * makefile.am: move counters functionality over
5777 from text2.C/paragraph.[Ch] to counters.[Ch], and
5779 2002-08-02 John Levon <levon@movementarian.org>
5781 * buffer.C: s/lyxconvert/lyx2lyx/
5783 2002-08-02 Angus Leeming <leeming@lyx.org>
5785 * lyxlex.C: revert John's change as it breaks reading of the user
5788 2002-08-02 Angus Leeming <leeming@lyx.org>
5790 * importer.C (Import):
5791 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5792 changes due to LyXView::view() now returning a boost::shared_ptr.
5794 2002-08-02 John Levon <levon@movementarian.org>
5796 * lyxlex.C: small cleanup
5798 2002-08-02 John Levon <levon@movementarian.org>
5800 * text2.C (status): small cleanup, no logic change
5802 2002-08-01 John Levon <levon@movementarian.org>
5805 * buffer.C (writeFile): don't output alerts, caller
5809 * lyx_cb.C: from above
5811 * lyxfunc.C: allow to open non-existent files
5813 2002-07-31 John Levon <levon@movementarian.org>
5815 * lyxserver.C: don't let incidental errors get
5818 2002-07-30 John Levon <levon@movementarian.org>
5820 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5822 2002-07-30 John Levon <levon@movementarian.org>
5825 * lyxserver.C: remove I/O callback too
5827 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5829 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5832 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5834 * many files: strip,frontStrip -> trim,ltrim,rtrim
5836 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * PrinterParams.h: remove extern containsOnly, and include
5839 support/lstrings.h instead.
5841 * LaTeX.C (scanAuxFile): modify because of strip changes
5843 * buffer.C (makeLaTeXFile): ditto
5844 * bufferparams.C (writeFile): ditt
5845 * lyxfont.C (stateText): ditto
5846 * lyxserver.C (read_ready): ditto
5847 * vc-backend.C (scanMaster): ditto
5849 * BufferView_pimpl.h: ws changes
5851 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5853 2002-07-26 André Pönitz <poenitz@gmx.net>
5855 * kb_sequence.C: remove unnedred usings
5857 2002-07-26 Juergen Vigna <jug@sad.it>
5859 * lyxfind.C (LyXReplace): we have to check better if the returned
5860 text is not of theLockingInset()->getLockingInset().
5862 2002-07-25 Juergen Vigna <jug@sad.it>
5864 * lyxfind.C (LyXReplace): don't replace if we don't get the
5867 * undo_funcs.C (createUndo): remove debugging code.
5869 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5871 * buffer.C (parseSingleLyXformat2Token): Use default placement
5872 when reading old floats.
5874 * FloatList.C (FloatList): Change the default placement of figure
5875 and tables to "tbp".
5877 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5879 * MenuBackend.C: using std::max
5881 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * MenuBackend.C (expandToc):
5884 (expandToc2): code moved from xforms menu frontend. It is now
5885 generic and TOCs are transparent to menu frontends.
5887 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5889 * toc.C (getTocList): protect against buf=0
5891 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5892 Menu as first parameter. Now, this calls itself recursively to
5893 expand a whole tree (this will be useful for TOC handling)
5894 (expandFloatInsert): remove 'wide' version of floats
5896 * MenuBackend.h (submenuname): returns the name of the submenu.
5897 (submenu): returns the submenu itself, provided it has been
5898 created by MenuBackend::expand
5900 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5902 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5903 insets which have noFontChange == true. (bug #172)
5905 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5907 * BufferView_pimpl.C: add connection objects and use them...
5910 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5912 * MenuBackend.C (expandLastfiles):
5915 (expandFloatListInsert):
5916 (expandFloatInsert):
5917 (expand): split expand in parts
5919 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5921 * lyx_gui.C: use lyx_gui::exit()
5923 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5925 * LyXAction.C: show the failing pseudo action
5927 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5929 * buffer.C (readFile): Run the lyxconvert script in order to read
5932 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5936 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5938 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5942 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5944 2002-07-22 Herbert Voss <voss@lyx.org>
5947 * lyxlength.[Ch]: add support for the vertical lengths
5949 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5951 * toc.[Ch]: std:: fixes
5953 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5955 * lyxrc.C: do not include lyx_main.h
5957 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5963 * BufferView2.C: include "lyxlex.h"
5966 * bufferparams.h: do not #include "lyxlex.h"
5968 * lyxtextclasslist.C (Add): remove method
5969 (classlist): renamed to classlist_
5971 * paragraph_pimpl.C:
5975 * bufferview_funcs.C:
5980 * toc.C (getTocList): use BufferParams::getLyXTextClass
5982 * toc.C (getTocList): use InsetFloat::addToToc
5984 * toc.[Ch]: new files, containing helper functions to handle table
5987 * lyxfunc.C (dispatch): no need to remove spaces around command
5989 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5990 first command of the sequence; it is not very clever, but I do not
5991 have a better idea, actually
5993 * LyXAction.C (LookupFunc): make sure to remove space at the
5994 beginning and end of the command
5996 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5998 * MenuBackend.C (getMenubar): new method: return the menubar of
6000 (read): treat differently reading of menu and menubar (in
6001 particular, the menubar has no name now)
6002 (Menu::menubar): remove
6004 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6007 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6009 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6010 a bibitem inset in a RTL paragraph.
6012 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6014 * paragraph_pimpl.C: constify
6016 * BufferView_pimpl.C:
6018 * lyxfunc.C: fix dispatch in a nicer way
6020 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6022 * lyxfunc.C (dispatch):
6023 * BufferView_pimpl.C:
6024 * BufferView_pimpl.h:
6026 * BufferView.h: rename Dispatch() to dispatch()
6028 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6030 * lyxlayout.C (Read): honor DependsOn tag
6032 * lyxlayout.[Ch] (depends_on): new method
6034 * version.C.in: update lyx_docversion
6036 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6038 * paragraph.C (validate): remove from here...
6039 * paragraph_pimpl.C (validate): ... and move here
6040 (isTextAt): make it const
6042 * buffer.C (getLists): ws cleanup
6044 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6046 * language.C (read): Use iso8859-1 encoding in latex_lang
6047 (this prevents LyX from crashing when using iso10646-1 encoding).
6049 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6051 * text2.C (toggleInset): if cursor is inside an inset, close the
6052 inset and leave cursor _after_ it
6054 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6056 * lyxfunc.C: move minibuffer completion handling out of here
6058 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6060 * BufferView_pimpl.C:
6061 * LaTeX.C: fix dispatch calls
6063 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6065 * text.C (drawChars): Fix Arabic text rendering.
6067 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6071 * lyxfunc.C: remove message-push/pop
6075 * lyxfunc.C: rationalise some code by removing verboseDispatch
6076 in favour of a bool argument to dispatch()
6078 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6080 * lyx_main.C (init): make sure to read symlinks as absolute paths
6082 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6085 * lyxfunc.C: no need for commandshortcut to be a member
6087 2002-07-15 André Pönitz <poenitz@gmx.net>
6089 * converter.C: add support for $$s (scripts from lib/scripts dir)
6090 * lyx_main.C: white space
6092 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6096 * lyxrc.C: remove second exit confirmation
6098 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6103 * BufferView_pimpl.h:
6104 * BufferView_pimpl.C:
6105 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6107 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6109 * MenuBackend.C (expand): add numeric shortcuts to document menu
6111 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6113 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6115 * lyxfont.C (setLyXFamily):
6122 * buffer.C (asciiParagraph): use ascii_lowercase
6124 2002-07-15 Mike Fabian <mfabian@suse.de>
6126 * lyxlex_pimpl.C (search_kw):
6127 * lyxlex.C (getLongString):
6128 * converter.h (operator<):
6129 * converter.C (operator<):
6130 * buffer.C (parseSingleLyXformat2Token):
6132 * ToolbarDefaults.C (read):
6133 * MenuBackend.C (checkShortcuts):
6135 * LColor.C (getFromGUIName):
6136 (getFromLyXName): use the compare_ascii_no_case instead of
6137 compare_no_case, because in turkish, 'i' is not the lowercase
6138 version of 'I', and thus turkish locale breaks parsing of tags.
6140 2002-07-16 Angus Leeming <leeming@lyx.org>
6142 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6143 now takes a Buffer const & argument.
6145 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6147 * BufferView.C (resize): check there's a buffer to resize
6149 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6151 * lyxfunc.C: remove dead code
6154 * lyxserver.C: use lyx_guii::set_read_callback
6156 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6158 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6159 an inset in a RTL paragraph.
6161 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6163 * lyxfunc.C: repaint after a font size update
6165 2002-07-15 André Pönitz <poenitz@gmx.net>
6167 * lyxlength.C: inBP should be able to return negative values
6169 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6171 * lyxfunc.C: use lyx_gui::update_fonts()
6173 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6175 * lyxfunc.C: use lyx_gui::update_color()
6177 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6183 * lyxrc.C: remove file->new asks for name option, and let
6184 buffer-new take an argument
6186 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6188 * BufferView_pimpl.C: remove unneeded extra repaint()
6190 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6192 * LyXAction.C: allow command-sequence with NoBuffer
6194 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6196 2002-07-10 Angus Leeming <leeming@lyx.org>
6198 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6200 2002-07-09 Angus Leeming <leeming@lyx.org>
6202 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6204 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6206 * lengthcommon.h: whitespace
6208 * lyxfunc.C: update scrollbar after goto paragraph
6210 * lyxtext.h: factor out page break drawing, and fix it so
6211 page break/added space paints as selected nicely
6213 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6215 * BufferView_pimpl.C: add FIXMEs, clean up a little
6217 2002-07-09 André Pönitz <poenitz@gmx.net>
6219 * lyxfont.[Ch]: support for wasy symbols
6221 2002-07-08 André Pönitz <poenitz@gmx.net>
6223 * BufferView_pimpl.C: apply John's patch for #93.
6225 2002-07-05 Angus Leeming <leeming@lyx.org>
6227 * BufferView_pimpl.C (buffer): generate previews if desired.
6229 * LColor.h: add "preview" to the color enum.
6231 * LColor.C (LColor): add a corresponding entry to the items array.
6233 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6236 2002-07-05 Angus Leeming <leeming@lyx.org>
6238 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6239 The body of the code is now in the method that is passed an ostream &
6240 rather than a file name.
6241 Pass an additional only_preamble parameter, useful for the forthcoming
6244 2002-07-03 André Pönitz <poenitz@gmx.net>
6246 * lyxfunc.C: simplify getStatus() a bit for math stuff
6248 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6250 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6252 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6254 * text.C (changeRegionCase): do not change case of all the
6255 document when region ends at paragraph end (bug #461)
6257 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6259 * paragraph.C (startTeXParParams):
6260 (endTeXParParams): add \protect when necessary
6262 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6264 * BufferView_pimpl.C (workAreaExpose): remove warning
6266 2002-06-27 Angus Leeming <leeming@lyx.org>
6268 * Makefile.am: add lyxlayout_ptr_fwd.h.
6270 2002-06-26 André Pönitz <poenitz@gmx.net>
6272 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6274 2002-06-25 Angus Leeming <leeming@lyx.org>
6276 * lyxfunc.C (dispatch): Comment out the call to
6277 grfx::GCache::changeDisplay. The method no longer exists now that the
6278 pixmap generation part of the graphics loader has been moved into
6281 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6283 * text2.C: layout as layout
6285 * text.C: layout as layout
6287 * tabular.C (OldFormatRead): layout as layout
6289 * paragraph_pimpl.C (TeXDeeper): layout as layout
6290 (realizeFont): layout as layout
6292 * paragraph.C (writeFile): layout as layout
6293 (validate): layout as layout
6294 (getFont): layout as layout
6295 (getLabelFont): layout as layout
6296 (getLayoutFont): layout as layout
6297 (breakParagraph): layout as layout
6298 (stripLeadingSpaces): layout as layout
6299 (getEndLabel): layout as layout
6300 (getMaxDepthAfter): layout as layout
6301 (applyLayout): layout as layout
6302 (TeXOnePar): layout as layout
6303 (simpleTeXOnePar): layout as layout
6304 (TeXEnvironment): layout as layout
6305 (layout): layout as layout
6306 (layout): layout as layout
6308 * lyxtextclass.C (compare_name): new functor to work with
6309 shared_ptr, layout as layout
6310 (Read): layout as layout
6311 (hasLayout): layout as layout
6312 (operator): layout as layout
6313 (delete_layout): layout as layout
6314 (defaultLayout): layout as layout
6316 * lyxlayout_ptr_fwd.h: new file
6318 * lyxlayout.C (Read): layout as layout
6320 * lyx_cb.C (MenuInsertLabel): layout as layout
6322 * bufferlist.C (newFile): layout as layout
6324 * buffer.C (readLyXformat2): layout as layout
6325 (parseSingleLyXformat2Token): layout as layout
6326 (insertStringAsLines): layout as layout
6327 (asciiParagraph): layout as layout
6328 (latexParagraphs): layout as layout
6329 (makeLinuxDocFile): layout as layout
6330 (simpleLinuxDocOnePar): layout as layout
6331 (makeDocBookFile): layout as layout
6332 (simpleDocBookOnePar): layout as layout
6333 (getLists): layout as layout
6335 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6337 * CutAndPaste.C (cutSelection): layout as layout
6338 (pasteSelection): layout as layout
6339 (SwitchLayoutsBetweenClasses): layout as layout
6341 * BufferView_pimpl.C (Dispatch): layout as layout
6342 (smartQuote): layout as layout
6344 * BufferView2.C (unlockInset): layout as layout
6346 2002-06-24 André Pönitz <poenitz@gmx.net>
6348 * lyxfunc.C: fix #487
6350 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6354 * lyxfunc.C: remove display_shortcuts, show_banner
6356 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6358 * Buffer_pimpl.C: oops, update on resize
6360 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6367 * BufferView.C: use repaint()
6369 * BufferView_pimpl.h:
6370 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6371 as it's a clearer description. Remove superfluous
6374 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6376 * text.C: fix bug 488. Not ideal, but getting
6377 getWord() to work properly for the insets that
6378 matter is more difficult ...
6380 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6382 * BufferView_pimpl.C:
6385 * lyxfunc.C: remove the six million index lyxfuncs to just
6386 one, and DTRT (bug 458)
6388 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6392 * BufferView_pimpl.h:
6393 * BufferView_pimpl.C: clean up resize() stuff,
6394 and unnecessary updateScreen()s
6396 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6400 * BufferView_pimpl.h:
6401 * BufferView_pimpl.C:
6404 * minibuffer.C: remove focus management of workarea,
6405 not needed. Use screen's greyOut()
6407 2002-06-17 Herbert Voss <voss@lyx.org>
6409 * converter.C: (convert) do not post a message, when converting
6410 fails, let the calling function decide what to do in this case
6412 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6414 * lyxfunc.C: tidy up a little
6416 2002-06-16 <alstrup@diku.dk>
6418 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6419 Got rid of FORMS_H_LOCATION include. Now we are
6422 2002-06-15 LyX Development team <lyx@rilke>
6424 * buffer.[Ch] (sgmlOpenTag):
6425 (sgmlCloseTag): Added support for avoiding pernicious mixed
6426 content. Return number of lines written.
6429 (makeDocBookFile): Fixed calls to sgml*Tag.
6430 Simple white space clean.
6432 (simpleDocBookOnePar): Simple white space clean.
6434 * tabular.[Ch] (docBook): Renamed to docbook and got another
6435 argument to related with the pernicious mixed content.
6437 (docbookRow): Fixed calls for docbook inset method.
6439 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6441 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6442 so it's X11 independent.
6446 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6448 2002-06-15 Lyx Development team <lyx@electronia>
6450 * intl.h: Renamed getTrans to getTransManager.
6452 2002-06-14 Angus Leeming <leeming@lyx.org>
6454 * Makefile.am: nuke forgotten stl_string_fwd.h.
6456 2002-06-12 Angus Leeming <leeming@lyx.org>
6458 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6460 2002-06-13 Angus Leeming <leeming@lyx.org>
6463 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6465 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6467 * kbmap.C (getiso): add support for cyrillic and greek
6469 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6473 * BufferView_pimpl.h:
6474 * BufferView_pimpl.C: move bogus scrolling logic
6477 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6480 * BufferView_pimpl.C: view->resize() change
6482 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6484 * BufferView_pimpl.C: topCursorVisible
6487 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6491 * lyx_gui.C: move to frontends/
6495 * lyx_main.C: changes from above
6497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6504 * lyx_main.C: minor tidy
6506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6508 * BufferView_pimpl.h:
6509 * BufferView_pimpl.C:
6511 * BufferView.C: make painter() const,
6514 * BufferView2.C: use screen() accessor
6517 * lyx_main.C: some minor cleanup
6519 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6521 * BufferView_pimpl.h:
6522 * BufferView_pimpl.C: remove enter/leaveView,
6525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6530 * BufferView_pimpl.h:
6531 * BufferView_pimpl.C: only construct screen once,
6534 * lyxrc.C: remove pointless comment
6536 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6539 * BufferView.C: remove active() and belowMouse()
6541 * BufferView_pimpl.h:
6542 * BufferView_pimpl.C: use workarea() not workarea_,
6543 and make it use a scoped_ptr instead
6545 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6547 * lyx_gui.C: add debug message on BadWindow
6549 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6551 * sp_spell.C: fdopen is not part of the C++ standard.
6553 * paragraph.C (InsetIterator): use >= instead of ==
6555 2002-06-07 Angus Leeming <leeming@lyx.org>
6557 Fixes needed to compile with Compaq cxx 6.5.
6558 * BufferView_pimpl.C:
6565 * lyxtextclasslist.C:
6570 all c-library variables have been moved into namespace std. Wrap
6571 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6576 Add a using std::abs declaration.
6578 * kbmap.h (modifier_pair):
6579 * paragraph.h (InsetTable, InsetList):
6580 * lyxfont.h (FontBits):
6581 type definition made public.
6583 * bufferlist.C (emergencyWriteAll): the compiler complains that
6584 there is more than one possible lyx::class_fun template to choose from.
6585 I re-named the void specialisation as lyx::void_class_fun.
6587 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6589 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6590 the compiler is is unable to find tostr in write_attribute.
6592 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6594 * buffer.C (sgmlError): hide #warning
6596 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6598 * xtl/*: get rid of xtl, which is not in use anyway
6600 * LyXAction.C (init):
6601 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6602 were unimplemented xtl experimentation
6604 2002-06-04 André Pönitz <poenitz@gmx.net>
6606 * lyxfunc.C: disable array operation on simple formulae
6608 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6610 * converter.C: constify a bit
6612 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6614 * lyx_gui.C: check xforms version correctly
6616 2002-04-30 Herbert Voss <voss@lyx.org>
6618 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6621 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6623 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6624 attempt to register it with a VCS)
6626 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6628 * lyx_main.C (init): honor variables LYX_DIR_13x and
6631 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6635 * lyx_main.C: fix a crash on bad command line,
6636 and give a useful exit status on error
6638 * lyxfunc.C (doImport): allow -i lyx to work
6640 2002-03-30 André Pönitz <poenitz@gmx.net>
6642 * lyxfunc.C: mathed font changes
6644 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6659 * trans_mgr.h: srcdocs, and some minor cleanups
6661 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6663 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6664 call getFont all the time)
6666 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6668 * switch from SigC signals to boost::signals
6670 2002-05-29 André Pönitz <poenitz@gmx.net>
6672 * paragraph_pimpl.C (getChar): don't call size() too often...
6674 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6676 * paragraph_pimpl.C (insertChar): do not try to update tables when
6677 appending (pos == size())
6679 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6680 in order to reduce drastically the number of comparisons needed to
6681 parse a large document
6683 2002-05-29 André Pönitz <poenitz@gmx.net>
6689 * textclasslist.[Ch]:
6690 * sp_ispell.h: whitespace change
6692 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6694 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6695 lyxaction directly now.
6697 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6701 * lyxvc.C: remove unused headers
6703 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6710 * undo_funcs.C: some cleanups. Use shared_ptr
6711 and a template for the undo stacks.
6713 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6715 * BufferView_pimpl.h:
6716 * BufferView_pimpl.C:
6723 * text2.C: use key_state/mouse_state
6725 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6727 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6730 * chset.C: change include order
6731 (loadFile): use boost regex and get rid of LRegex and LSubstring
6733 * Makefile.am (BOOST_LIBS): new variable
6736 * LaTeX.C: change include order.
6737 (scanAuxFile): use boost regex and get rid of LRegex and
6741 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6746 * FontInfo.C: moved to frontends/xforms/
6749 * FontLoader.C: moved into frontends for GUIIzation
6754 * lyxfunc.C: changes from above
6756 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6758 * LColor.C: remove spurious X include
6760 * BufferView_pimpl.C:
6765 * text2.C: move font metrics to frontends/
6767 2002-05-24 Juergen Vigna <jug@sad.it>
6769 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6770 setting the undo_cursor.
6772 * ParagraphParameters.h: include local includes first.
6774 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6776 * BufferView_pimpl.C:
6777 * BufferView_pimpl.h:
6781 * screen.C: move WorkArea into frontends/
6787 * BufferView2.C: move LyXScreen into frontends/
6791 * lyx_gui.C: move lyxlookup into frontends/xforms/
6793 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6796 * BufferView_pimpl.C:
6806 * bufferview_funcs.C:
6819 * vc-backend.C: move LyX/XFormsView into frontends/
6821 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6833 * text2.C: move Painter to frontends/
6835 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6837 * buffer.C: comment out some some code that depend upon lyx_format
6840 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6841 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6843 * buffer.h (NO_COMPABILITY): turn off compability
6845 * ColorHandler.C: include scoped_array.hpp
6847 * font.C: Use more specific smart_ptr header.
6850 * ShareContainer.h: ditto
6854 * BufferView_pimpl.h: ditto
6855 * ColorHandler.h: ditto
6857 * kbmap.C (defkey): change call to shared_ptr::reset
6859 2002-05-21 Juergen Vigna <jug@sad.it>
6861 * buffer.C (insertErtContents): fix to insert ert asis if it is
6862 non empty. Skip it completely if it contains only whitespaces.
6864 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6866 * BufferView_pimpl.C:
6867 * BufferView2.C: clear selection on paste (bug 393)
6869 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6871 * DepTable.C: include ctime
6873 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6875 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6877 2002-05-14 Juergen Vigna <jug@sad.it>
6879 * text.C (breakParagraph): fixed function to honor the keepempty
6880 layout in the right maner and also to permit the right breaking
6881 algorithm on empty or non empyt keepempty paragraphs.
6883 * paragraph.C (breakParagraph): we have to check also if the par
6884 is really empty (!size()) for isempty otherwise we do the wrong
6887 2002-05-10 Juergen Vigna <jug@sad.it>
6889 * buffer.[Ch] : The following are only changes to the ert
6890 compatibility read reading old LaTeX layout and font stuff and
6891 convert it to ERTInsets.
6893 * buffer.h: added isErtInset().
6895 * buffer.C (struct ErtComp): add a fromlayout bool to check
6896 if we're inside a LaTeX layout.
6897 (isErtInset): new helper function.
6898 (insertErtContents): look for other ert insets before this one
6899 and insert the contents there, so that we don't have subsequent
6900 ERT insets with nothing between them. This way we create only one
6901 inset with multiple paragraphs. Also check if we don't insert only
6902 spaces ' ' as they are ignored anyway afterwards in the .tex file
6903 so if we have only spaces we will ignore this latex part in the
6905 (parseSingleLyXformat2Token \\layout): better compatibility when
6906 reading layout-latex stuff.
6907 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6909 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6910 stuff after reading the inset only get the information back from
6913 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6915 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6917 * LaTeXFeatures.C (getBabelOptions): New method.
6919 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6921 * BufferView_pimpl.C (Dispatch): work around missing argument for
6924 2002-05-08 Juergen Vigna <jug@sad.it>
6926 * text.C (leftMargin): handle paragraph leftindent.
6928 * paragraph.C (writeFile): write the new \\leftindent tag.
6929 (validate): handle leftindent code.
6930 (TeXEnvironment): handle paragraphleftindent code again.
6932 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6934 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6935 for paragrap_extra indent code and new token \\leftindent.
6936 (latexParagraphs): handle the leftindent as environment.
6938 * ParameterStruct.h: added leftindent support.
6940 * ParagraphParameters.C (leftIndent): added support functions for
6941 the paragraph left indent.
6943 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6946 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6948 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6951 * text.C (computeBidiTables): No bidi in insetERT.
6953 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6956 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6958 * version.C.in: pre 5
6960 2002-05-02 José Matos <jamatos@fep.up.pt>
6961 * buffer.C (makeDocBookFile): white space changes, add newline to
6963 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6965 * tabular.C (docBook): fix typo.
6967 2002-05-03 Juergen Vigna <jug@sad.it>
6969 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6970 change in LyXText as we can not be sure it was not freed.
6971 (drawOneRow): remove unused code.
6973 * text.C (drawInset): redo the calculation of the need_break_row as
6974 it could have a row which was already freed.
6975 (draw): look at the return value of drawInset and return false if
6976 it also returned false.
6977 (paintRowText): look at the return value of draw and return false if
6978 it also returned false.
6980 * lyxtext.h: added bool return type to drawInset() and draw() so that
6981 if we have a change in the row so that the rowbreak has to be redone
6982 we abort drawing as it will be called again.
6984 2002-05-02 Juergen Vigna <jug@sad.it>
6986 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6987 a change in the maintext also if we're inside an inset.
6988 (Dispatch): set the cursor again after a break line and after the
6989 screen has been updated as it could be we're in a different row.
6991 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6992 to set the cursor behind the pargraph with > size().
6993 (setCursor): check also for the same paragraph when checking where
6994 to put the cursor if we have a NFR inset.
6996 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6997 parts of layout read further up as it still was in the wrong
7000 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7002 * screen.C (drawFromTo): change sine fullRebreak always return
7005 * buffer.C (parseSingleLyXformat2Token): reindent some
7007 * BufferView_pimpl.C (update): change since fullRebreak always
7009 (Dispatch): git rid of the last hardcoded "Standard"s.
7011 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7013 * text2.[Ch] (fullRebreak): make it return void now that we always
7016 2002-04-30 Juergen Vigna <jug@sad.it>
7018 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7019 ert compatibility check for "latex" layout.
7021 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7023 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7024 minipages: use col% instead of p%, and also use the current font.
7025 (makeLaTeXFile): Fix use babel condition.
7026 (parseSingleLyXformat2Token): Correct font when reading old floats.
7028 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7030 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7031 inserting list of floats.
7033 2002-04-25 Herbert Voss <voss@lyx.org>
7035 * MenuBackend.C (expand): don't add the graphics extensions to the
7038 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7040 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7041 non-existing layout, do not complain if it was the default layout
7042 of the original class (bug #342)
7044 2002-04-24 Juergen Vigna <jug@sad.it>
7046 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7047 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7049 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7051 * buffer.C (getBibkeyList): If using \bibliography, return the
7052 option field with the reference itself. Enables us to provide natbib
7053 support when using \bibliography.
7055 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7057 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7059 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7060 natbib is provided by the LaTeX class.
7062 2002-04-23 Juergen Vigna <jug@sad.it>
7064 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7067 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7069 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7071 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7073 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7074 ensuremath around textordmasculine, textordfeminine and
7077 2002-04-19 Juergen Vigna <jug@sad.it>
7079 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7080 reinitializing the buffer otherwise row-dimensions may be wrong.
7081 (update): reset also the selection cursors if they do exits otherwise
7082 their x/y positions may be wrong.
7084 * text2.C (cursorDown): don't enter the inset if we came from a row
7085 above and are one row over the inset.
7087 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7088 really leaving an inset.
7090 2002-04-18 Juergen Vigna <jug@sad.it>
7092 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7093 of the selected paragraph does not have the selected layout also if
7096 * text2.C (setLayout): fixed bug which did not change last selected
7099 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7100 changed the read and substituted \\end_float with \\end_inset!
7102 * BufferView_pimpl.C (cursorPrevious):
7103 (cursorNext): fixed to make it work with rows heigher than the work
7104 area without moving the cursor only the draw of the row.
7105 (workAreaMotionNotify): fix jumping over high rows.
7107 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7109 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7112 2002-04-16 Juergen Vigna <jug@sad.it>
7114 * text2.C (setCursor): set also the irow().
7115 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7117 (cursorDown): support for locking an inset if the x_fix value goes
7118 inside it. That way I can transverse insets too with cursor up/down.
7120 * lyxrow.h: added irow helper function same as other (i) functions.
7122 * BufferView_pimpl.C (cursorPrevious):
7123 (cursorNext): fixed for insets!
7125 2002-04-15 Juergen Vigna <jug@sad.it>
7127 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7128 position otherwise it is wrong in some cases.
7130 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7131 inside the inset before the call.
7133 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7135 * buffer.[Ch] (getBibkeyList): make it const.
7137 2002-04-12 Juergen Vigna <jug@sad.it>
7139 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7141 * text2.C (getCursorX): new helper function
7142 (setCursor): compute also ix_
7143 (setCursorFromCoordinates): set also ix.
7145 * lyxcursor.h: added ix_ and helper functions.
7147 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7149 * buffer.C (insertStringAsLines): dont break paragraph if the this
7150 paragraph is inside an inset which does not permit it!
7152 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7153 also with no chars on this paragraph.
7154 (paintRowText): only paint stuff if it's inside the workarea!
7156 * paragraph.C (breakParagraph): honor keepempty flag and break the
7157 paragraph always below not above.
7159 * BufferView2.C (unlockInset): update the paragraph layout on inset
7160 unlock as we changed paragraph in such a case.
7162 * lyxfind.C (LyXFind): clear the former selection if not found!
7164 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7165 again called in insertChar().
7167 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7168 an inset which uses the whole row!
7169 (rightMargin): ditto.
7170 (insertChar): force a rebreak if we inserted an inset!
7172 2002-03-28 Herbert Voss <voss@lyx.org>
7174 * lyxlength.[Ch]: add inBP() to get the right PS-point
7175 units (BigPoint). With inPixels we have rounding errors
7177 2002-04-11 Juergen Vigna <jug@sad.it>
7179 * text2.C (setCursorFromCoordinates): set iy to the right value.
7180 (setCursor): add check if row->previous exists!
7182 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7183 an old float_type as this was the case in the old code!
7185 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7187 * BufferView2.C (showLockedInsetCursor): use iy
7188 (fitLockedInsetCursor): ditto
7190 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7191 locked insets as there we have the right value now.
7193 * lyxcursor.C: added iy_ variable and iy functions to set to the
7194 baseline of cursor-y of the locked inset.
7196 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7197 (setCursor): fixed for insets which need a full row.
7199 * text.C (rowLastPrintable): don't ignore the last space when before
7200 an inset which needs a full row.
7201 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7202 as last character of a row when before a inset which needs a full row.
7204 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7206 * version.C.in: update date
7208 * text2.C (fullRebreak): try to always return true and see what
7211 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7213 * MenuBackend.C (expand): use Floating::listName
7215 * FloatList.C (FloatList): add listName argument to the built-in
7218 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7219 text associated with the float.
7221 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7223 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7225 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7227 * ShareContainer.h: add a couple of missing typenames.
7229 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7231 * lyxrc.C (getDescription): use _() correctly rather than N_().
7233 2002-03-28 Herbert Voss <voss@lyx.org>
7235 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7236 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7238 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7240 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7241 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7243 2002-03-29 Juergen Vigna <jug@sad.it>
7245 * lyxfunc.C (dispatch): add a missing fitCursor call.
7247 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7248 it was scrolled by a cursor move, so return the bool status.
7250 * BufferView.C (fitCursor): return the bool flag also to the outside
7251 world as this is needed.
7253 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7255 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7256 call the edit() as it is not needed (and wrong) IMO.
7257 (workAreaButtonPress): set the screen_first variable before evt.
7258 unlock the inset as this may change screen_first and then we have
7259 a wrong y position for the click!
7261 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7263 * MenuBackend.C (expand): another translation that I missed
7265 2002-03-28 Juergen Vigna <jug@sad.it>
7267 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7269 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7271 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7273 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7275 * MenuBackend.C (expand): fix export/view/update when there is no
7278 2002-03-27 Herbert Voss <voss@lyx.org>
7280 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7283 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7285 * bufferview_funcs.C (currentState): only show paragraph number
7286 for is DEVEL_VERSION is set.
7288 * lyxfunc.C (dispatch): put warning in INFO channel
7290 * MenuBackend.C (expand): translate the name of floats
7292 * FloatList.C (FloatList): mark the float names for translation
7294 * converter.C (convert): use LibScriptSearch
7296 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7298 * MenuBackend.C (defaults): fix default menu (we might as well get
7301 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7303 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7306 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7308 * lyxvc.C: reorder includes.
7310 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7312 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7315 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7317 * CutAndPaste.C: change layouts earlier on paste
7318 to avoid crashing when calling getFont()
7320 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7322 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7325 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * WorkArea.C: remove 'Pending' debug message.
7329 * most files: ws cleanup
7331 * buffer.[Ch]: ws changes
7333 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7335 2002-03-21 Juergen Vigna <jug@sad.it>
7337 * tabular.C (SetMultiColumn): collapse also the contents of the
7338 cells and set the last border right. Added a Buffer const * param.
7340 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7342 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7345 2002-03-19 Juergen Vigna <jug@sad.it>
7347 * text2.C (clearSelection): reset also xsel_cache.
7349 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7350 where it needs to be called (John tells us to do so too :)
7351 (selectionLost): reset sel_cache.
7353 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7355 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7357 * text2.C (setCursorIntern): put debuging code in INSETS channel
7359 2002-03-19 André Pönitz <poenitz@gmx.net>
7361 * lyxfunc.C: tiny whitespace change
7363 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7365 * ToolbarDefaults.C (init):
7366 * LyXAction.C (init):
7368 * BufferView_pimpl.C (Dispatch):
7369 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7371 2002-03-19 Allan Rae <rae@lyx.org>
7373 * exporter.C (Export): removeAutoInsets before doing anything else.
7374 While I've just introduced a dependency on BufferView this really is
7375 the best place to clean the buffer otherwise you need to cleanup in
7376 a dozen places before calling export or cleanup in a dozen functions
7379 * converter.C (runLaTeX):
7380 (scanLog): Better handling of removeAutoInsets and screen updates.
7382 * lyxfunc.C (dispatch): small whitespace changes
7384 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7386 * WorkArea.C (C_WorkAreaEvent): return a value.
7387 (event_cb): return 1 if we handled the event, 0 otherwise.
7389 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7391 2002-03-18 Juergen Vigna <jug@sad.it>
7393 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7394 (GetAdditionalWidth): ditto.
7398 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7399 inset if we're there actually (probably not used right now but this
7400 is the direction to go for unifying code).
7401 (paste): disable code to clear the selection.
7403 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7404 inside an InsetText and move the check further up as it is in the
7407 * text2.C (pasteSelection): set a selection over the pasted text.
7409 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7411 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7412 and libgraphics to build on Cygwin.
7414 2002-03-15 Juergen Vigna <jug@sad.it>
7416 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7417 inserting an Inset into the paragraph. I know this is not the best
7418 fix but we already use current_view in CutAndPaste so we will remove
7419 all of it's using at the same time.
7421 * buffer.C (sgmlError): deactivated function till it is rewritten in
7422 the right mode, now it can create problems.
7424 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7425 before accessing it.
7427 2002-03-14 Juergen Vigna <jug@sad.it>
7429 * undo_funcs.C (textHandleUndo): do the right thing when updating
7430 the inset after the undo/redo.
7432 * text2.C (setCursor): just some testcode for #44 not ready yet.
7434 * undo_funcs.C (textHandleUndo): set the next() and previous()
7435 pointers of the paragraph to 0 before deleting otherwise we have
7436 problems with the Paragraph::[destructor].
7438 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7439 on a paragraph insertion.
7441 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7443 * buffer.C (asciiParagraph): use += operator for char append to
7446 * paragraph.C (getFontSettings): compare >= not just >
7447 (highestFontInRange): ditto
7450 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * paragraph.C: change several algorithm to be more appripriate for
7453 the problem domain. This is lookip in FontList and in the InsetList.
7455 2002-03-13 André Pönitz <poenitz@gmx.net>
7458 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7460 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7465 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7467 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7469 * Painter.C (display): anon helper function, adjust code for this
7471 (pixmap): remove function.
7473 * Painter.h: remove private display variable.
7475 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7477 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7479 * WorkArea.[Ch]: remove figinset_canvas cruft.
7481 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7483 * lyxtextclass.C (operator): add one item cache optimization.
7485 * bufferlist.h: doxy changes
7487 * bufferlist.C: ws changes
7489 * DepTable.[Ch] (ext_exist): place const in the right spot.
7491 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7493 (workAreaExpose): call resizeInsets when the with BufferView changes.
7494 (Dispatch): adjust for protectedBlank removal
7495 (specialChar): call updateInset if the insert went ok.
7497 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7498 specialChar instead.
7500 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7502 * BufferView.h: doxy change
7504 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7506 * lyxtextclass.C (operator[]): remove non-const version
7507 (defaultLayout): remove non-const version
7509 2002-03-12 Juergen Vigna <jug@sad.it>
7511 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7512 did resize the LyXText too.
7514 * buffer.C (readLyXformat2): set layout information on newly allocated
7517 * tabular.C (OldFormatRead): set layout information on the paragraph.
7519 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7521 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7523 2002-03-11 Juergen Vigna <jug@sad.it>
7525 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7527 (resizeCurrentBuffer): force also the insets to resize themselfes.
7528 (moveCursorUpdate): fixed up for InsetText.
7530 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7533 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7534 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7535 value of Dialogs::tooltipsEnabled().
7536 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7538 2002-03-08 Juergen Vigna <jug@sad.it>
7540 * BufferView_pimpl.C (updateInset): update inset inside inset also
7541 if it isn't inside theLockingInset().
7543 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7545 * buffer.C (asciiParagraph): redo some of the word and line length
7547 (getLists): look for Caption instead of caption.
7549 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7551 * buffer.C (Buffer): initialize niceFile to true
7554 (makeDocBookFile): make sure niceFile is true on exit
7556 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7558 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7560 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7562 * LyXSendto.C: remove.
7563 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7564 * lyx_gui.C: remove now-redundant comment.
7565 * ColorHandler.h: remove forward declaration of class WorkArea.
7566 * lyxfunc.C: remove #include "WorkArea.h".
7568 2002-03-07 Juergen Vigna <jug@sad.it>
7570 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7571 got moved away with the DEPM and also set the inset_owner always
7572 right which before could have been omitted.
7574 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7576 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7577 wanted layout is not found.
7579 2002-03-07 Juergen Vigna <jug@sad.it>
7581 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7583 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7585 * paragraph.C (breakParagraph): use default layout not layout of
7587 (Paragraph): clear ParagraphParameters.
7589 2002-03-06 Juergen Vigna <jug@sad.it>
7591 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7592 otherwise it would not be a valid lenght. Fixed a special case in
7593 the minipage compatibility read where we end the document with a
7596 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7597 was set as it could be 0 for InsetTexts first entry.
7599 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7601 * paragraph.C (writeFile): if layout is empty write out
7602 defaultLayoutName().
7604 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7605 file without named layout we set layout to defaultLayoutName().
7607 2002-03-06 Juergen Vigna <jug@sad.it>
7609 * CutAndPaste.C (copySelection): set layout for new paragraph.
7611 * text.C (prepareToPrint): leave ERT inset left aligned
7612 (leftMargin): don't indent paragraphs inside ERT insets
7614 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7616 * paragraph.C (breakParagraph): dont call clear do the work manually
7618 * paragraph.[Ch] (clear): remove function
7620 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7622 * paragraph.C (Paragraph): dont call clear, the work has already
7625 * lyxtextclass.C (operator): assert if n is empty
7627 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7628 work manually instead.
7630 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7632 * BufferView_pimpl.C: protect selectionLost against text == 0
7634 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7636 * text.C (breakParagraph): fix a setting layout to '0' problem.
7638 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7640 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7641 final location of file, for the included files, and graphics.
7643 2002-03-05 Juergen Vigna <jug@sad.it>
7645 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7647 2002-03-04 Juergen Vigna <jug@sad.it>
7649 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7651 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7652 last column of multicolumn cells.
7653 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7655 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7657 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7658 file if it doesn't go to a temporary file.
7660 * buffer.C (sgmlOpenTag):
7661 (sgmlCloseTag): remove extra newline insertion.
7663 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7665 * text.C (getRowNearY): comment out debug msg
7667 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * text2.C: first -> first_y
7671 * text.C (getRowNearY): add some attemts at a possible
7672 optimization, not working.
7674 * tabular.[Ch]: add BufferParams to several function so that newly
7675 created paragraph can be initialized to he default layotu for the
7678 * tabular-old.C (ReadOld): add buf->params to call of Init
7680 * screen.C: rename text->first to text->first_y
7682 * paragraph.C (breakParagraph): always set layout in the broken
7685 * lyxtextclass.C (Read): remove lowercase
7688 (delete_layout): ditto
7690 * lyxtext.h: rename first -> first_y
7692 * lyxlayout.C (Read): remove lowercase
7695 (obsoleted_by): ditto
7697 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7699 * buffer.C (insertErtContents): add params are to InsetERT
7700 (parseSingleLyXformat2Token): add code to check if a paragraphs
7701 layout really exist.
7702 (parseSingleLyXformat2Token): add params to several inset
7704 (asciiParagraph): remove lowercase, do the layout comparisons with
7707 * BufferView_pimpl.C (cursorNext): first -> first_y
7708 (resizeCurrentBuffer): first -> first_y
7709 (updateScrollbar): first -> first_y
7710 (scrollCB): first -> first_y
7711 (workAreaMotionNotify): first -> first_y
7712 (workAreaButtonPress): first -> first_y
7713 (checkInsetHit): first -> first_y
7714 (cursorPrevious): first -> first_y
7715 (cursorNext): first -> first_y
7716 (Dispatch): add buffer_->params to severl inset contructors
7718 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7720 * lyxlayout.C (Read): remove some debug info that I forgot.
7722 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7723 clean up the code slightly.
7724 (makeLinuxDocFile): ditto
7725 (makeDocBookFile): ditto
7727 * text2.C: layout as string
7729 * text.C: layout as string
7731 * paragraph_pimpl.C: layout as string
7733 * paragraph.[Ch]: layout as string
7735 * lyxtextclasslist.[Ch]: layout as string
7737 * lyxtextclass.[Ch]: layout as string
7739 * lyxtext.h: layout as string
7741 * lyxlayout.[Ch]: layout as string
7743 * lyx_cb.C: layout as string
7745 * bufferview_funcs.C: layout as string
7747 * bufferparams.C: layout as string
7749 * buffer.C: layout as string
7751 * LyXView.[Ch]: layout as string
7753 * LaTeXFeatures.[Ch]: layout as string
7755 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7757 * BufferView_pimpl.C: change current_layout to string, remove
7762 (workAreaButtonRelease): layout as string
7764 * BufferView2.C (unlockInset): adjust
7766 * vspace.C (asLatexCommand): use an explict temp variable.
7768 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7770 * Makefile.am: use FRONTEND_*
7772 2002-03-01 Juergen Vigna <jug@sad.it>
7774 * tabular.C (SetWidthOfMulticolCell): changed to something better
7775 I hope but still work in progress.
7776 (recalculateMulticolumnsOfColumn): renamed function from
7777 recalculateMulticolCells as it is more appropriate now.
7778 (SetWidthOfCell): calculate multicols better.
7780 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7782 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7784 * lyxfunc.C (processKeySym): print sequence also if it is
7785 `deleted' (complete)
7787 * kbsequence.C (print): print sequence even if it is deleted
7788 (complete would be a better word, actually).
7790 * lyxfunc.C (dispatch): print complete options after a prefix key
7792 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7794 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7796 * text2.C (setCharFont): eliminate setCharFont code duplication.
7798 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7800 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7801 LFUN_TABULAR_FEATURE (bug #177)
7803 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7805 * Makefile.am: remove figure.h
7807 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7809 * Bufferview_pimpl.C:
7821 * text2.C: remove #include "lyx_gui_misc.h".
7823 * LaTeX.C: added #include <cstdio>
7825 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7827 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7828 that the paragraph following this one can have.
7830 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7832 * vspace.C (asLatexCommand): fix bogus gcc warning
7834 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7836 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7838 * text2.C (setLayout): get rid of redundant code
7840 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7842 * text2.C (incDepth): make sure depth cannot be increased beyond
7845 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7847 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7848 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7850 * PainterBase.h (image):
7851 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7854 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7858 * BufferView_pimpl.C:
7859 * BufferView_pimpl.h:
7879 * sp_spell.C: remove fig inset, and the crap house of
7880 cards that follows it
7882 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7888 * nt_defines.h: move .h into support/
7890 * vms_defines.h: remove
7892 * WorkArea.C: add space in debug output
7896 * buffer.C: add WITH_WARNINGS
7900 * bufferlist.C: s/retrive/retrieve/, add docs
7911 * lyxgui.C: add ID to X error handler
7913 * lyxtestclass.c: fix typo
7915 2002-02-26 Juergen Vigna <jug@sad.it>
7917 * tabular_funcs.C (write_attribute): changed so that some default
7918 attributes are not written at all.
7919 (getTokenValue): set default values before trying to read the
7920 value so we have the return value always set as default if we don't
7921 find the token we search for.
7923 * tabular.C (Write): write bools as bools not as strings!
7925 2002-02-22 Juergen Vigna <jug@sad.it>
7927 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7928 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7930 * text.C (leftMargin): don't add an indent for paragraphs inside
7931 tabular cells (fix #208).
7933 2002-02-21 José Matos <jamatos@fep.up.pt>
7935 * tabular.C (docBook): fixed support for long tables.
7937 2002-02-20 Juergen Vigna <jug@sad.it>
7939 * text2.C (getFont): get the drawing font of the Inset if this
7940 paragraph is inside an inset (only important for InsetERT for now).
7942 * buffer.C (insertErtContents): use new lanugage params in ERT
7945 * CutAndPaste.C: commenting out seemingly uneeded code.
7947 2002-02-19 Allan Rae <rae@lyx.org>
7949 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7950 Iterators might be simple to use but they also get invalidated.
7951 (removeAutoInsets): renamed saved cursor tracking variables and added
7952 some comments to clarify what everything does.
7954 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7961 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7962 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7965 * vc-backend.h: remove #include "support/syscall.h"
7969 * converter.C: rearrange #includes in Lars' approved fashion.
7971 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7972 forward declare class Timeout in the header file.
7974 * XFormsView.C: changes due to the above.
7976 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7979 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7980 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7982 2002-02-18 José Matos <jamatos@fep.up.pt>
7984 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7987 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7989 * a lot of small ws changes
7990 * add a lot of using std::XXX
7991 * use std construcs some places where approp.
7992 * use some exisint stuff from lyxfunctional where approp.
7993 * Make file changes to use partial linking (lets test this now...)
7995 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7999 remove #include "support/syscontr.h" as it's redundant. Always has been.
8007 change Systemcalls::System to Systemcalls::Wait and
8008 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8009 No change of functionality, just reflects the stripped down Systemcalls
8012 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8014 * debug.[Ch]: add a GRAPHICS type to the enum.
8016 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8018 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8020 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8023 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8025 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8026 match the changes below.
8028 * text2.C (toggleInset): if there is not editable inset at cursor
8029 position, try to see if cursor is _inside_ a collapsable inset
8032 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8034 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8035 document menu has a nice checkbox
8037 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * lyxlength.C (asLatexString): change PW to output as percent of
8042 * lengthcommon.C: change '%' to 't%'
8044 * lyxfunc.C (dispatch): a few comments from Martin
8046 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8050 * BufferView_pimpl.h:
8051 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8054 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8056 * vspace.C (inPixels): fix compiler warning
8058 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8060 * lyxfunc.C (getStatus): fix status message for disabled commands.
8062 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8064 * BufferView_pimpl.C: fix crash on close buffer
8065 during selection (#227)
8067 2002-01-27 Herbert Voss <voss@lyx.org>
8069 * buffer.C: link old Figure to new graphic inset
8071 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8073 * FontLoader.C (getFontinfo): Change the latex font names in order
8074 to match the names of type1inst.
8076 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8078 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8080 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8083 (remove_files_with_extension): ditto
8084 (remove_file): ditto
8087 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8088 document is smaller than the work area height. Do not initialize
8089 static variables to 0.
8091 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8093 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8095 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8096 LFUN_LAYOUT_PARAGRAPHS.
8098 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8099 tabular. It is possible to provide a possible cell, which will
8100 typically be the actcell from the corresponding insettabular
8102 * lyxfunc.C (getStatus): small cleanup; disable
8103 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8106 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8108 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8110 * paragraph.C (startTeXParParams):
8111 (endTeXParParams): new methods. The LaTeX code to
8112 start/end paragraph formatting
8113 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8114 empty (fixes bug #200)
8116 * vspace.C (inPixels): adapt to the change below
8117 (inPixels): [later] more cleanups (remove unused variables)
8119 * lyxlength.C (inPixels): change to use a width and a height as
8122 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8124 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8125 Replaced with \paperwidth
8127 * DepTable.C (insert): add std:: qualifier
8129 2002-01-18 Allan Rae <rae@lyx.org>
8131 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8134 * text.C (drawInset): Turned out I didn't know enough about how
8135 rebreaking worked. This fixes most of the redraw problems. I see
8136 an occasional cursor trail when a line is broken now and the cursor
8137 placement can seem out by a few pixels also after a rebreak.
8139 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8141 * buffer.C (parseSingleLyXformat2Token): update because minipage
8142 width is now a LyXLength
8144 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8146 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8149 2002-01-17 Juergen Vigna <jug@sad.it>
8151 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8153 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8154 is set correctly and the inset is updated correctly.
8156 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8158 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8159 the beginning of the loop.
8161 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8163 * lyxrc.C: improve help for use_scalable_fonts
8165 2002-01-17 Allan Rae <rae@lyx.org>
8167 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8169 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8171 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8172 make sure to set their inset_owner to the right value (bug #171)
8174 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8177 * DepTable.C: Implement mtime checking to reduce time spent doing
8180 2002-01-16 Juergen Vigna <jug@sad.it>
8182 * tabular.C (GetAdditionalHeight): one of error fixed.
8184 * lyxrc.C (output): small fix in writing use_pspell.
8186 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8188 * sp_base.h: #include LString.h
8190 2002-01-16 Allan Rae <rae@lyx.org>
8192 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8193 Can someone check this please?
8195 * text.C (drawInset): It was possible that p.row would be removed by
8196 breakAgainOneRow upsetting a few other settings. There may be another
8197 small tweak possible by setting need_break_row = 0 when p.row has been
8198 removed but I don't know enough about the logic here.
8200 2002-01-15 Allan Rae <rae@lyx.org>
8202 * text.C (insertChar): removed conditional truism.
8204 * BufferView2.C (removeAutoInsets): More tweaks.
8205 cur_par_prev could be a stray pointer. Check for trailing empty line
8206 in case last line was cur_par and only had an error inset on it.
8208 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8210 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8213 * vc-backend.C (most methods):
8214 * exporter.C (Export):
8215 * converter.C (convert):
8217 * LyXSendto.C (SendtoApplyCB):
8218 * lyxfunc.C (dispatch):
8222 * lyx_cb.C (AutoSave):
8224 * BufferView_pimpl.C (MenuInsertLyXFile):
8225 * buffer.C (runChktex): use Buffer::filePath().
8227 * buffer.h: rename filename to filename_; rename filepath to
8228 filepath_ and make it private
8229 (filePath): new method
8231 * buffer.C (writeFile): use fileName()
8234 * lyx_main.C (init): fix starting of LyX when the binary is a
8235 link from so,ewhere else.
8237 * minibuffer.C: include <cctype> for isprint
8239 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8241 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8242 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8243 name clash with InsetCollapsable's width function.
8245 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8247 * lastfiles.C: include <iterator>
8249 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8251 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8254 * buffer.C (makeLaTeXFile): ditto.
8255 Also make loop operation more transparent.
8257 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8259 * ToolbarDefaults.C: remove trailing comma closing namespace.
8261 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8263 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8266 * trans.C (Load): comment out unused variable, allowed.
8268 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8270 * minibuffer.[Ch] (append_char): new method to recieve input from the
8271 drop-down completion browser. If a key was pressed, then recieve this
8272 char and append it to the existing string.
8273 (peek_event): modify the positioning data passed to the completion
8274 browser so that it can be placed above the minibuffer rather than below.
8275 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8277 * LyXAction.C (init): alloe error-next for readonly documents.
8279 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8282 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8284 * bufferlist.C (readFile): create the buffer _after_ checking that
8287 * lyxfunc.C (verboseDispatch): fix handling of arguments
8289 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8291 * lyxrc.C: use string::erase() instead of initializing to "".
8294 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8296 * BufferView_pimpl.h:
8297 * BufferView_pimpl.C:
8300 * text2.C: tell X when we have made a selection for copying
8302 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8304 * BufferView_pimpl.C (MenuInsertLyXFile):
8305 * lyxfunc.C (menuNew):
8307 (doImport): add shortcuts to directory buttons
8309 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8312 * lyxfunc.C (setStatusMessage):
8313 (getStatusMessage): new methods
8314 (getStatus):use setStatusMessage instead of setErrorMessage
8315 (dispatch): when function is disabled, set error message here
8316 [instead of in getStatus previously]
8318 * BufferView_pimpl.C (workAreaButtonRelease): update
8319 toolbar/menubar here too.
8321 2002-01-13 Allan Rae <rae@lyx.org>
8323 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8324 Now seems indestructible. Remaining task is to audit all other
8325 code affected by deleteEmptyParagraphMechanism. One small quirk
8326 left is that an empty document with an error in the preamble can
8327 be made to report an error but no error box appears. I don't know
8329 (removeAutoInsets): Improved comments.
8331 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8334 * Thesaurus.C: update for Aiksaurus 0.14
8336 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * text2.C (firstParagraph): removed member function, all uses
8339 replaces with ownerParagraph
8340 (redoParagraphs): here
8342 (toggleAppendix): here
8343 * BufferView2.C (insertErrors): here
8344 (setCursorFromRow): here
8346 2002-01-13 Allan Rae <rae@lyx.org>
8348 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8349 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8350 There is still a way to segfault this although you may have to do this
8351 multiple times: Have an InsetERT with an unknown command in it.
8352 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8353 <down-arrow>, <Enter> again, View->DVI, BANG!
8355 * text2.C (setCursor):
8356 (deleteEmptyParagraphMechanism):
8357 * lyxtext.h (setCursor):
8358 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8359 Making use of the return value may help fix other bugs.
8361 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8363 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8365 * LyXView.C (updateMenubar): call MenuBar::update here
8366 (updateToolbar): but not here
8367 (showState): do not update toolbar/menubar
8369 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8370 should need to care about that.
8372 * lyxfunc.C (verboseDispatch): simplify a bit
8373 (getStatus): have a version which takes a pseudoaction, and
8374 another which requires a (kb_action,string).
8376 * LyXAction.C (retrieveActionArg): make it work also when action
8377 is not a pseudo-action.
8378 (getActionName): simplify a bit
8381 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * lyxfunc.C (verboseDispatch): new families of methods with
8384 several ways to specify a command and a bool to indicate whether
8385 the command name and shortcut should be displayed in minibuffer
8386 (eventually, we could extend that to a finer bitmask like
8387 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8388 (dispatch): the pristine dispatch command which just, well,
8389 dispatchs! Note it still sets its result to minibuffer; I'm not
8392 * lyxfunc.h: remove setHintMessage
8394 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8396 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8398 * BufferView_pimpl.C (specialChar): delete new inset if we have
8399 not been able to insert it.
8401 * kbmap.C: revert to using int instead of kb_action, since all we
8402 are dealing with is pseudo-actions.
8404 * LyXAction.C (searchActionArg): change to return int instead of
8405 kb_action, since the result is a pseudoaction.
8407 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8409 * buffer.C (insertErtContents): Fix (partially) the font bug.
8411 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8413 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8414 as the other one is broken on my machine!
8416 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8419 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8421 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8423 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8424 reflect their actual use. Provide compatibility code for older lyxrc
8427 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8429 change names of popup font variables in line with the changes to lyxrc.C
8431 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8433 * buffer.C (asciiParagraph): avoid outputing a word twice after
8436 * lyxrc.C (getDescription): document that document_path and
8437 template_path can be empty.
8439 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8441 * LaTeXFeatures.C (getMacros):
8442 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8444 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8446 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8448 (getPackages): rename feature "floats" to "float". Use an array to
8449 iterate over 'simple' features (i.e. just a \usepackage). Add
8450 handling of "amsmath" (renamed from "amsstyle").
8452 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8454 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8457 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8459 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8460 FuncStaus::FuncStatus & FuncStaus::some_method().
8462 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8464 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8465 of the func_satus stuff. Edited and massaged in various ways by
8468 * lyxfunc.C (getStatus): use FuncStatus
8470 2002-01-08 Juergen Vigna <jug@sad.it>
8472 * text.C (nextBreakPoint): use function Inset::isChar().
8474 * paragraph.C (TeXOnePar): use function
8475 Inset::forceDefaultParagraphs.
8477 * buffer.C (latexParagraphs): use function
8478 Inset::forceDefaultParagraphs.
8480 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8482 * lyx_gui.C (init): set the style of the menu popups to
8483 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8485 2002-01-07 Juergen Vigna <jug@sad.it>
8487 * text.C (setHeightOfRow): small fix
8488 (prepareToPrint): don't look at alignment if we don't have the place
8491 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8493 * box.C: New file. Move the Box methods and functions out of box.h,
8494 following Lars' suggestion.
8496 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8498 * box.h: #include "support/LOstream.h", needed for inlined function.
8501 * lyxtextclasslist.C: added some using std declarations.
8503 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8505 * box.h: make signed dimensions to allow insets wider than
8506 the screen (bug #162)
8508 * BufferView_pimpl.C: add some insetHit debug
8510 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8512 * vc-backend.C: add FIXME
8514 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8516 * lyxfunc.C (getStatus): enable code for showing math font status
8519 2002-01-07 Juergen Vigna <jug@sad.it>
8521 * text.C (nextBreakPoint): removed debug output not needed anymore.
8523 2002-01-06 Juergen Vigna <jug@sad.it>
8525 * text.C (nextBreakPoint): fixed up this function we had this bug
8526 since ever but now hopefully we break row better.
8527 (insertChar): we have to check if an inset is the next char as it
8528 could now happen that a large inset is causing a break.
8530 2002-01-05 Juergen Vigna <jug@sad.it>
8532 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8533 if it doesn't like to be drawed.
8535 2002-01-04 Juergen Vigna <jug@sad.it>
8537 * BufferView2.C (lockInset): forgot to set a cursor.
8539 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8541 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8546 * form_maths_panel.C:
8547 * form_maths_panel.h:
8548 * form_maths_panel.fd: implemented sub- and super- buttons in math
8551 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8552 (or ^ space) to be used as in TeX (req'd by André).
8554 * lyxfunc.C: Allow ^ and _ again to be used both as
8555 super/subscript (mathed) and as themselves (in text).
8557 2002-01-03 Allan Rae <rae@lyx.org>
8559 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8560 "LyX" or the filename of the current buffer if it has one. This is a
8561 modified form of John Levon's patch.
8563 * XFormsView.C (setWindowTitle): also set icon title.
8565 * LyXView.h (setWindowTitle): signature changed.
8566 * XFormsView.h (setWindowTitle): ditto.
8568 2002-01-02 Juergen Vigna <jug@sad.it>
8570 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8572 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8574 * screen.C (topCursorVisible): introduce a temp var for
8575 text->cursor.row(), handle the case where this row is null. (kindo
8578 * text2.C (setCursor): add a couple of asserts.
8580 * paragraph.h (inset_iterator): add -> operator
8582 * paragraph.[Ch] (autoDeleteInsets): remove member function
8584 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8585 cursor pos correctly and handle inset deletion by itself.
8586 (insertErrors): move iterator declaration out of for expression
8588 * lyxtextclass.C: add <algorithm>
8590 * Makefile.am: added the new files to sources, removed layout.C
8592 * layout.C: removed file
8594 * layout.h: remove LYX_DUMMY_LAYOUT
8596 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8600 * lyxtextclass.[Ch]:
8601 * lyxtextclasslist.[Ch]: new files
8603 * include order changes to a lot of files, also changes because of
8606 2001-12-27 Juergen Vigna <jug@sad.it>
8608 * buffer.C (asciiParagraph): more fixes.
8610 * tabular.C (ascii): make ascii export support export of only the
8611 data separated by a column-delimiter.
8612 (ascii): better support for ascii export.
8614 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8616 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8618 * tabular_funcs.C: use a "using std::getline" instead of the
8619 previous fix from Angus (necessary for cxx + lyxstring)
8621 2001-12-24 Juergen Vigna <jug@sad.it>
8623 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8625 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8626 problems. First check a minipage also if we have some ert-contents
8627 (not only on par->size(), second set the right depth of the paragraph
8628 on the relink to the root-paragraph-list!
8630 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8631 which then did not anymore update the main paragraphs on undo/redo!
8633 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8635 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8636 code. Support all font-changing funcs (even those which are not in
8637 menu currently). Support for reporting font settings in
8638 mathed (disabled until Andre provides a function on mathed's side).
8640 * func_status.h (toggle): small helper function to set toggle
8643 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8645 * tabular_funcs.C: getline -> std::getline
8647 2001-12-21 Juergen Vigna <jug@sad.it>
8649 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8650 accessed and could be 0 (I couldn't generate this but it seems
8653 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8655 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8656 * tabular_funcs.h: here and include iosfwd
8658 2001-12-20 Juergen Vigna <jug@sad.it>
8660 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8661 inside inset but undo_par was.
8663 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8665 * Thesaurus.C: always include <config.h> in sources.
8669 * box.h: do not include <config.h> in header files
8671 * text.C (paintLastRow): remove unused variable
8673 * text.C (transformChar):
8675 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8678 * font.C (width): rewrite to use uppercase() instead of
8681 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8683 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8685 * lyxfind.C: clean up of find failure position change
8687 2001-12-20 Juergen Vigna <jug@sad.it>
8689 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8691 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8692 (TeXRow): added to LaTeX a single tabular row.
8693 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8694 (Latex): simplified and finally good LT-h/f support.
8695 (various_functions): just small adaptions for LT-h/f support.
8697 * tabular_funcs.[hC]: added and moved here all not classfunctions
8700 2001-12-19 Juergen Vigna <jug@sad.it>
8702 * tabular.[Ch]: better support for longtabular options (not finished
8705 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8707 * text.C (paintLastRow): use the label font instead of the font of
8708 the last character to compute the size of *_BOX. This makes more
8709 sense and avoids a crash with empty paragraphs.
8710 Use Painter::rectangle to draw EMPTY_BOX.
8712 2001-12-19 Juergen Vigna <jug@sad.it>
8714 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8715 the paragraphs if the replaced paragraph is not the first one!
8716 Tried to delete not used paragraphs but does not work yet so for
8717 now it's inside #ifdef's and by default off!
8719 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8721 * MenuBackend.C: include "lyx_main.h" instead of declaring
8722 lastfiles (actually was declared as LastFiles* instead of a
8725 2001-12-17 Juergen Vigna <jug@sad.it>
8727 * tabular.C (AppendColumn): applied John's fix
8729 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8733 * BufferView_pimpl.h:
8734 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8737 * box.h: new start of class for above
8739 * lyxfunc.C: ignore space-only minibuffer dispatches.
8740 Show the command name when it doesn't exist
8742 * minibuffer.C: don't add empty lines to the history
8744 * minibuffer.C: add a space on dropdown completion
8746 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8748 * text.C: fix line above/below drawing in insets
8750 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8752 * lyxlength.C (LyXLength): Initialize private variables.
8754 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8756 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8757 when inserting error insets.
8759 2001-12-13 Juergen Vigna <jug@sad.it>
8761 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8762 actually sometimes the before-paragraph.
8763 (setUndo): don't clear the redostack if we're not actually undoing!
8765 2001-12-06 Juergen Vigna <jug@sad.it>
8767 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8768 and fixed redoing of main paragraph, so we can use it now ;)
8770 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8772 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8774 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8777 2001-12-13 André Pönitz <poenitz@gmx.net>
8780 * undo_func.C: minor cleanup
8782 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8784 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8785 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8786 font in urw-fonts package which is marked as -urw-fontspecific and
8787 does not work (incidentally, changing the encoding in the
8788 fonts.dir of this package to -adobe-fontspecific fixes the
8791 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8792 is a crash when undoing first paragraph (Juergen, please take a
8793 look). THis does not mean the undo fix is wrong, just that it
8796 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8797 the (Paragraph*) version when needed instead of duplicating the
8800 * text.C (workWidth): use Inset::parOwner to find out where the
8801 inset has been inserted. This is a huge performance gain for large
8802 documents with lots of insets. If Inset::parOwner is not set, fall
8803 back on the brute force method
8805 * paragraph_pimpl.C (insertInset):
8806 * paragraph.C (Paragraph):
8807 (cutIntoMinibuffer): set parOwner of insets when
8808 inserting/removing them
8810 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8812 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8818 * mathed/formulabase.C:
8819 * mathed/math_cursor.[Ch]:
8820 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8823 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8825 * lyxlength.[Ch] (operator!=): new function
8827 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * text.C (workWidth): use Inset::parOwner to find out where the
8830 inset has been inserted. This is a huge performance gain for large
8831 documents with lots of insets. If Inset::parOwner is not set, fall
8832 back on the brute force method
8834 * paragraph_pimpl.C (insertInset):
8835 * paragraph.C (Paragraph):
8836 (cutIntoMinibuffer): set parOwner of insets when
8837 inserting/removing them
8839 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8841 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8843 * tabular-old.C (getTokenValue):
8844 * tabular.C (getTokenValue):
8845 (write_attribute): new versions for LyXLength
8846 (everywhere): adjust the use of widths
8848 * tabular.h: change the type of widths from string to LyXLength
8850 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8852 * paragraph.C: fixed missing line number count when exporting
8853 Environments to LaTeX file
8855 * buffer.C: added informational message for checking line numbers.
8857 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8859 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8860 paragraph, do the 'double space' part, but not the 'empty
8863 * text.C (workWidth): small optimization
8864 (getLengthMarkerHeight): use minimal size for negative lengths.
8866 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8868 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8870 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8872 2001-12-11 André Pönitz <poenitz@gmx.net>
8875 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8877 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8879 * text2.C: keep selection on a setFont()
8881 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8883 * lyx_cb.C: another bv->text misuse, from insert label
8885 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8888 * kbsequence.C: re-instate nmodifier mask
8890 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8892 * lyx_main.h: make lyxGUI private.
8894 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8896 * lyxfind.C: place the cursor correctly on failed search
8898 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8900 * text.C (getLengthMarkerHeight): for small heights, the arrows
8901 are not always on top/bottom of the text
8902 (drawLengthMarker): smaller arrows; take the left margin in
8903 account; draw also vfills.
8905 (paintLastRow): remove special code for vfill and standard spaces,
8906 since everything is handled in drawLengthMarker now.
8908 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8910 * buffer.C (insertErtContents): try to handle font and language
8911 interaction a bit better.g
8913 * ColorHandler.C (updateColor): change the hash to cover the whole
8914 LColor enum, ws cleanup
8915 (getGCLinepars): ditto
8916 (getGCLinepars): only lookup in the linecache once.
8918 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8920 * iterators.C (operator++): Make the iterator more robust
8922 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8924 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8926 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8929 * text.C: better added space drawing
8931 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8934 * BufferView2.C: fix layout combo update on inset unlock
8936 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8938 * Makefile.am: don't compile unused files
8940 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8944 * LyXAction.C: remove old LFUN_LAYOUTNO
8946 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8948 * paragraph_pimpl.h:
8949 * paragraph_pimpl.C: isTextAt() doesn't need font param
8951 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8954 * lyxlex.C: little cleanup
8956 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8958 * BufferView_pimpl.C: fix insertAscii for insets
8960 2001-12-05 Juergen Vigna <jug@sad.it>
8962 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8963 set the right font on the "multi" paragraph paste!
8965 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * lyxlength.C: remove out-commented code.
8987 * vc-backend.C: change "while(" to "while ("
8989 * lyxlength.[Ch]: add zero function to check if length is zero or
8991 * lyxgluelength.C: use it
8993 2001-12-05 Allan Rae <rae@lyx.org>
8995 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8996 Works for 2.95.3, from what I understand of Garst's reports this should
8997 work for other g++ versions. We're screwed if the abs(int) definition
8998 changed between bugfix releases of gcc.
9000 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9002 * text.C: fix chapter label offset !
9004 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9007 * text.C: fix hfill at end of line, clean up
9009 2001-12-04 Juergen Vigna <jug@sad.it>
9011 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9012 that we force an update of the inset and it's owners if neccessary.
9014 2001-12-03 Juergen Vigna <jug@sad.it>
9016 * text.C (rowLast): simplified code
9018 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9020 * lyxfunc.C: fix show options on timeout
9022 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9024 * screen.C (topCursorVisible): scroll half a page when the cursor
9025 reached top of bottom of screen
9027 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9029 * minibuffer.C: deactivate on loss of focus
9031 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9033 * vspace.[Ch] (operator!=): add operator.
9035 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9037 * BufferView_pimpl.C: refuse to open an inset when
9038 there's a selection.
9040 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9042 * BufferView_pimpl.C: allow to click on RHS of full row insets
9044 2001-11-30 Juergen Vigna <jug@sad.it>
9046 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9047 insets for undo reasons.
9049 2001-11-28 André Pönitz <poenitz@gmx.net>
9051 * vspace.[Ch]: cosmetical changes
9053 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9063 * kbsequence.C: part re-write of old kb code
9066 * WorkArea.C: remove Lgb_bug_find_hack
9068 2001-11-30 José Matos <jamatos@fep.up.pt>
9070 * buffer.C (makeDocBookFile): add a comment to point a hack.
9071 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9072 Fixed a double write of labels.
9074 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9077 * LaTeX.h Fixed bug in LaTeX class where it would not
9078 re-run latex if no depfiles were changed, but the .dvi was removed.
9080 2001-11-28 André Pönitz <poenitz@gmx.net>
9082 * all the files from the change on 2001/11/26:
9083 use lyx::layout_type instead of LyXTextClass::size_type
9084 use lyx::textclass_type instead of LyXTextClassList::size_type
9086 2001-11-29 Juergen Vigna <jug@sad.it>
9088 * text.C: added support for paragraph::isFreeSpacing()
9090 * buffer.C: same as above
9092 * paragraph.h: inserted isFreeSpacing() function to enable
9093 FreeSpacing inside InsetERT.
9095 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9096 of the paragraph's in the cut/copy buffer to 0!
9098 * text2.C (removeRow): remove the assert as it can!
9100 * lyxtext.h: added helper function firstRow returning firstrow and
9101 made firstrow private again.
9103 * BufferView2.C (lockInset): don't relock if we're already locked!
9105 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9107 (removeRow): added Assert::(firstrow)
9109 * debug.C: forgot to add INSETTEXT here.
9111 2001-11-28 Juergen Vigna <jug@sad.it>
9113 * sp_spell.C (initialize): changed error text to more general
9114 spellchecker command use (not only ispell!)
9116 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9118 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9120 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9122 * vspace.C: initialise lyxgluelength on failure
9124 2001-11-28 Allan Rae <rae@lyx.org>
9126 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9127 declaration & definition that looks like a function declaration.
9129 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * BufferView2.C (copy):
9132 (copyEnvironment): do not clear the selection when doing a copy.
9134 * text.C (paintFirstRow): compilation fix
9136 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9138 * tabular.C (Latex): correct line count when writing latex.
9140 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9142 * paragraph_pimpl.h:
9143 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9146 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9150 * LColor.C: change vfillline->added_space
9152 * text.C: add markers and text for added space
9154 * vspace.C: fix comment
9156 2001-11-28 André Pönitz <poenitz@gmx.net>
9158 * paragraph.C: whitespace changes
9159 * all the other files from the change on 2001/11/26:
9160 change *::pos_type into lyx::pos_type
9162 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9164 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9165 language of the document when inserting error insets.
9167 2001-11-26 André Pönitz <poenitz@gmx.net>
9169 * BufferView_pimpl.[Ch]:
9177 * paragraph_pimpl.[Ch]:
9180 * text2.C: reduce header dependencies, introduce type for positions
9182 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9184 * <various>: change to use Alert.h
9186 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9188 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9189 when encountering an unknown token.
9190 (readLyXformat2): Show an error message if there were unknown tokens.
9192 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9195 * BufferView_pimpl.C:
9199 * text2.C: use par->isInset()
9201 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9203 * paragraph_pimpl.h:
9204 * paragraph_pimpl.C: cleanup
9206 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9208 * text2.C (removeRow):
9209 * text.C (setHeightOfRow): remove useless (and costly) call to
9212 2001-11-20 Allan Rae <rae@lyx.org>
9214 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9215 Now need Inset*::checkInsertChar() to return true for appropriate
9216 cases so that the characters in the minibuffer will actually be
9219 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9221 * text.C: change the order of the includes.
9222 (workWidth): initialize it at once.
9223 (workWidth): make maxw unsigned
9224 (setHeightOfRow): remove unused variable (inset)
9225 (selectSelectedWord): remove unused variable (inset)
9226 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9228 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9230 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9231 server is not running.
9233 (closeConnection): add debug info when server is disabled.
9235 * ColorHandler.C (getGCForeground): send debug message to GUI
9238 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9240 * kbmap.C (bind): modify because return conventions of
9241 kb_sequence::parse have changed.
9243 * kbsequence.C (parse): only ignore spaces and not any stupid
9244 control character. This avoids tests like s[i] <= ' ', which are
9245 guaranteed to fail with 8bit characters and signed chars.
9246 Change return code to string::npos when there have been no error
9247 (0 was a bad idea when error is at first character)
9249 2001-11-14 José Matos <jamatos@fep.up.pt>
9252 * buffer.C (simpleDocBookOnePar): removed unused argument.
9254 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9256 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9257 insets which are part of a word. Paragraph::isLetter takes care of
9258 that now. Use Paragraph::isInset to identify insets.
9259 (selectSelectedWord): do not test for hyphenation break.
9261 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9262 that protected spaces are considered as spaces.
9264 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9267 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9270 * lyxserver.C: fix it. and small cleanup.
9272 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9274 * BufferView_pimpl.C: use inline helpers
9277 * LaTeXFeatures.C: fix typos
9280 * Spacing.C: move spacing_string into class
9282 * ToolbarDefaults.C: move stuff into namespace anon
9284 * layout.h: update enum
9286 * lyxfunc.C: use better debug
9288 * minibuffer.h: fix typo
9292 * WorkArea.C: add and use Debug::WORKAREA
9296 * text2.C: code re-organisation, inline helpers
9298 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9300 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9301 std::vector.empty().
9303 2001-11-09 Allan Rae <rae@lyx.org>
9305 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9306 '\n's after tables. Tabular and ERT inset work now makes this no
9309 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9312 * minibuffer.C: fix crash, improve drop-down completion
9314 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9317 * lyxserver.C: invalidate fd's when doing endPipe()
9319 2001-11-08 José Matos <jamatos@fep.up.pt>
9321 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9322 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9325 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9327 2001-11-07 José Matos <jamatos@fep.up.pt>
9330 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9333 * buffer.C (sgmlOpenTag):
9334 * buffer.C (sgmlCloseTag): removed debug info.
9336 * buffer.h (sgmlOpenTag):
9337 * buffer.h (sgmlCloseTag): made public.
9339 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9341 * buffer.C (saveParamsAsDefaults):
9342 * lyx_cb.C (MenuLayoutSave): remove
9344 * LyXAction.C (init):
9346 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9348 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9350 * buffer.C (setPaperStuff): removed from here...
9352 * bufferparams.C (setPaperStuff): ... and moved there.
9354 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9358 * XFormsView.C: add support for drop-down completion
9360 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9362 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9365 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9367 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9370 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9372 * lyx_main.C: change ref to known bugs
9374 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9376 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9377 to work around older babel problems.
9379 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9381 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9383 2001-10-24 Juergen Vigna <jug@sad.it>
9385 * tabular-old.C (ReadOld): below variable changes reflected.
9387 * tabular.[Ch]: added ltType struct for longtable header/footer
9388 defines and changed all instances where they are used. Added
9389 future support for double top/bottom rows.
9391 2001-10-24 José Matos <jamatos@fep.up.pt>
9393 * buffer.h (docbookHandleCaption):
9394 * buffer.C (docbookHandleCaption): removed unused function.
9395 (makeDocBookFile): moved docbook supported version to v4.1.
9397 2001-10-24 José Matos <jamatos@fep.up.pt>
9400 * tabular.C (docbookRow): new function to export docbook code of a row.
9401 (DocBook): now honors the longtable flags.
9403 2001-10-23 José Matos <jamatos@fep.up.pt>
9406 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9407 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9409 * buffer.C (makeLinuxDocFile):
9410 (makeDocBookFile): reworked the preamble, more clean, and with
9411 support for lyx defined entities. Changed the document declaration
9412 to be more XML friendly.
9414 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9415 if we need to output XML that should be done with a filter.
9417 2001-10-22 Juergen Vigna <jug@sad.it>
9419 * sp_pspell.h (class PSpell): add alive function needed in the
9420 controller to see if the spellchecker could be started.
9422 2001-10-22 Juergen Vigna <jug@sad.it>
9424 * buffer.C (insertStringAsLines): modify the font for inserting
9425 chars in certain conditions by calling checkInsertChar(font).
9427 2001-10-19 Juergen Vigna <jug@sad.it>
9429 * text.C (workWidth): use getRow instead of wrong algorithm.
9430 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9432 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9437 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9439 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9441 * text.C (workWidth): do not search for the exact row when
9442 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9443 optimization for big documents.
9445 2001-10-18 Juergen Vigna <jug@sad.it>
9447 * text.C (workWidth): new function with added Inset * parameter.
9449 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9451 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9453 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9454 change return type of getColumnNearX.
9457 * text.C (changeRegionCase): use uppercase/lowercase instead of
9460 (rightMargin): simplify code by factoring out the uses of
9465 (appendParagraph): use Paragraph::size_type
9467 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9469 * vspace.C (asLatexString): add a missing break
9471 2001-10-15 Herbert Voss <voss@perce.de>
9473 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9475 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9477 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9480 2001-10-10 André Pönitz <poenitz@gmx.net>
9482 * lyxfunc.C: removed greek_kb_flag.
9484 2001-10-10 Herbert Voss <voss@perce.de>
9486 * lyx_main.C: delete global string help_lyxdir.
9488 2001-10-09 Herbert Voss <voss@perce.de>
9490 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9492 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9494 * lyx_main.C: added global string help_lyxdir.
9496 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9498 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9500 * lyxrc.C (set_font_norm_type): support iso8859-4
9502 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9504 * LaTeX.C (deplog): add another regex for MikTeX
9506 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9508 * lyxrc.C (set_font_norm_type): support iso8859-3
9510 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9512 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9514 * LaTeXFeatures.C: remove special case of french and index
9516 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9517 before \begin{document}). This solves several incompatibilities.
9519 2001-10-03 Garst Reese <reese@isn.net>
9521 * lyx_cb.C: change CheckTex error msg.
9523 2001-10-03 José Matos <jamatos@fep.up.pt>
9525 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9527 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9529 * .cvsignore: update
9531 * lyx_main.C (commandLineVersionInfo): use new style version info.
9533 * buffer.C (writeFile):
9536 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9538 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9540 * version.h: update to use stuff in version.C
9542 * version.C.in: new file. Contains version information determined
9543 at compile time. This is a merging of version.h and
9546 2001-10-03 Juergen Vigna <jug@sad.it>
9548 * BufferView_pimpl.C (update): don't change "dirty" status in
9551 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9553 * WorkArea.C (c-tor): re-position version string slightly.
9555 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9557 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9558 revert to previous code.
9560 WorkArea.[Ch]: (show, destroySplash): methods removed.
9562 WorkArea.C: rework code so that it's an amalgam of the codes before and
9563 after the splash screen was moved to WorkArea.
9565 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9568 * vspace.C (inPixels):
9571 * buffer.C (insertStringAsLines):
9572 (asciiParagraph): fix types to be large enough
9574 * lyxlex_pimpl.h: change member status from short to int
9576 * layout.h: fix type of endlabeltype
9579 * kbsequence.C (parse): change return type to string::size_type
9581 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9584 * Bullet.C (bulletSize):
9585 (bulletEntry): do not use short ints as parameters
9587 * BufferView2.C (insertLyXFile): change a char to an int.
9589 * WorkArea.C (WorkArea): remove unneeded floats in computation
9591 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9593 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9595 * paragraph.C (asString): Do not ignore newline/hfill chars when
9596 copying to the clipboard.
9598 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9600 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9601 after a multi-line inset.
9603 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9605 * paragraph.C (validate): Set NeedLyXFootnoteCode
9607 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9609 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9610 and decrease-error to decrease.
9612 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9614 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9615 it more readable (should be equivalent)
9617 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9619 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9621 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9623 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9624 of a cursor (row, etc.) after a character has been deleted
9625 (deleteEmptyParagraphMechanism): call the method above on _all_
9626 cursors held by the LyXText when a double space has been
9629 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9631 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9633 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9635 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9636 background. Use greyOut() and the new show() methods to toggle between
9637 the foreground and background. Add code to remove the splash after
9638 its initial showing.
9640 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9641 (create_forms): no longer call Dialogs::showSplash.
9643 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9645 * .cvsignore: add version_info.h
9647 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9649 * version_info.h.in: new file
9651 * Makefile.am: add version_info.h.in
9653 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9654 version_info.h instead of VERSION_INFO
9656 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9658 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9659 The ERT inset now returns string().
9661 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9663 * lyxtext.h, text.C (selectNextWord): renamed as
9664 selectNextWordToSpellcheck.
9666 * text.C (selectNextWordToSpellcheck): Modified to not select
9667 words inside an ERT inset.
9669 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9671 * lyx_cb.C (MenuLayoutSave): change a bit the question
9673 * sp_base.h: include <sys/types.h>
9675 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9677 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9679 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9681 * several files: fix typos in user-visible strings
9683 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9685 * text2.C (pasteSelection): do not set the selection, since it
9686 will be cleared later. Actually, the intent was to fix the way the
9687 selection was set, but I figured rmoving the code was just as good.
9689 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9691 * FontLoader.C (available): Check if font is available without
9694 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9696 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9698 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9700 * lyxrc.[Ch]: added display_graphics variable and associated code.
9702 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9704 * bufferparams.C (hasClassDefaults): new method. Returns true if
9705 the buffer parameters correspond to known class defaults
9707 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9709 * XFormsView.C (show): set minimum size to the main window.
9711 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9713 * text2.C (copySelection):
9715 * lyxfind.C (LyXReplace):
9716 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9717 LyXText::selectionAsString.
9719 * paragraph.C (asString): add "label" argument to the second form
9721 * text2.C (selectionAsString): add "label" argument and pass it to
9722 Paragraph::asString.
9724 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * lyx_main.C (commandLineHelp): remove version information
9728 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9730 * lyx_main.C: add -version commandline option
9732 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9734 * paragraph.h: make the optional constructor arg required instead.
9735 some modifications to other files because of this.
9737 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9739 * lyxserver.C (C_LyXComm_callback): make it static
9741 * lyx_main.C (error_handler): make it static
9743 * lyx_gui.C (LyX_XErrHandler): make it static
9745 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9747 * WorkArea.C: make the extern "C" methods static.
9749 * Makefile.am (lyx_LDADD): simplify
9751 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9753 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9754 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9756 * LyXAction.C (init):
9757 * lyxfunc.C (dispatch): associated code removal.
9759 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9761 * lyxfont.h (isSymbolFont): shut off warning
9763 * text.C (setHeightOfRow):
9764 (getVisibleRow): fix crash with empty paragraphs which have a
9767 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9769 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9772 2001-09-04 José Matos <jamatos@fep.up.pt>
9775 * tabular.C (docbook): rename docBook method to docbook.
9777 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9779 * Makefile.am: add dependencies to main.o.
9781 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9783 * FontLoader.C (available): Return false if !lyxrc.use_gui
9785 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9787 * FontInfo.C (query):
9788 * converter.C (view):
9789 * importer.C (Import):
9790 * exporter.C (Export): Can not -> cannot.
9792 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9794 * BufferView_pimpl.C: allow to create index inset even if
9797 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9799 * buffer.C (getLists): replace boost::tie code with an explicit pair
9800 as boost::tie can break some compilers.
9802 * iterators.h: Added a std:: declaration to the return type of
9805 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9807 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9810 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9812 * iterators.[Ch]: New files. Provide paragraph iterators.
9814 * buffer.C (changeLanguage): Use paragraph iterators.
9815 (isMultiLingual): ditto
9817 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9819 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9821 * FontLoader.C: Support for cmr font.
9823 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9825 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9826 (available): New method.
9828 * FontInfo.C (getFontname): Use scalable fonts even when
9829 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9832 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9834 * converter.C (Formats::view): reverted! Incorrect fix.
9836 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9838 * converter.C (Formats::view): only output the -paper option
9839 if the dvi viewer is xdvi, thereby fixing bug #233429.
9841 2001-08-23 Herbert Voss <voss@perce>
9843 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9845 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9847 * Spacing.h (Spacing): Set space to Default on in the default
9850 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9852 * vc-backend.h (RCS::versionString): add RCS to version
9853 (CVS::versionString): add CVS to version
9855 * vc-backend.C (scanMaster): do not add CVS to version.
9856 (scanMaster): do not add RCS to version
9858 * lyxvc.C (versionString): new method
9860 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9862 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9864 * Spacing.C (set): initialize fval
9866 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9868 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9871 2001-08-16 Juergen Vigna <jug@sad.it>
9873 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9875 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9877 * BufferView_pimpl.C:
9880 * text2.C: setParagraph takes linespacing now
9882 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9884 * LyxAction.C: add internal LFUN_CITATION_INSERT
9886 * LyXView.C: actually apply fix
9888 * bufferlist.C: fix open non-existent file
9890 * lyxfind.C: fix indentation
9892 * lyxfunc.C: remove unneeded assert, fix typo
9894 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9896 * MenuBackend.C: use "Floatname List"
9898 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9900 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9901 when converting LaTeX layout to insetERT.
9902 Generate a non-collapsed float when reading old float
9904 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9906 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9909 2001-08-13 Juergen Vigna <jug@sad.it>
9911 * text.C (fill): return 0 instead of 20 as this seems to be the more
9914 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9916 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9919 2001-08-13 Juergen Vigna <jug@sad.it>
9921 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9923 (SearchBackward): comment out the unlocking of the inset_owner this
9924 should not be needed!
9926 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9928 * Many files: Remove inherit_language, and add latex_language
9930 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9933 2001-08-10 Juergen Vigna <jug@sad.it>
9935 * text.C (prepareToPrint): fixed hfill-width in draw!
9937 * BufferView2.C (selectLastWord): save the selection cursor as this
9938 now is cleared in the function LyXText::clearSelection!
9940 2001-08-08 Juergen Vigna <jug@sad.it>
9942 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9943 BACKSPACE type functions.
9945 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9946 is only cutted from the document but not put in the cut-buffer, where
9947 still the old stuff should be.
9949 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9951 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9953 * tabular.C (SetWidthOfCell): fixed special case where the width
9955 (LeftLine): handle '|' in align_special.
9957 (LeftAlreadyDrawed): ditto
9958 (SetWidthOfCell): ditto
9960 2001-08-07 Juergen Vigna <jug@sad.it>
9962 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9964 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9966 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9967 * lyxlex.[hC]: ditto
9969 2001-08-06 Juergen Vigna <jug@sad.it>
9971 * text.C (getVisibleRow): fix up row clearing a bit.
9973 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9975 * minibuffer.C: make sure the X server sees the changes in the input.
9977 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9979 * paragraph.C (getFont): split into...
9980 (getLabelFont): this
9981 (getLayoutFont): and this
9982 * paragraph_pimpl.C (realizeFont): calling this
9984 * text2.C (getFont): split into...
9985 (getLayoutFont): this
9986 (getLabelFont): and this
9987 (realizeFont): all three calling this
9989 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9992 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9994 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9996 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9998 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9999 layouts from the Quote inset insertion.
10001 2001-08-03 Juergen Vigna <jug@sad.it>
10003 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10005 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10006 only if status not is already CHANGED_IN_DRAW (second level).
10008 * text.C (draw): don't set the need_break_row when inside an
10011 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10013 * buffer.C (parseSingleLyXformat2Token): handle more latex
10016 * bufferview_funcs.[hC]: change function names to
10017 begin with small char, adjust other files.
10019 2001-08-02 André Pönitz <poenitz@gmx.net>
10022 BufferView_pimpl.C: remove broken special code for math-greek
10024 2001-08-02 Juergen Vigna <jug@sad.it>
10026 * BufferView_pimpl.C (update): redone this function so that we
10027 update the text again if there was a CHANGE_IN_DRAW.
10029 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10030 (drawFromTo): added a new internal bool which is used by draw() and
10032 (general): some cursor drawing problems fixed.
10034 2001-08-01 Juergen Vigna <jug@sad.it>
10036 * lyxfind.C (LyXFind): fixed
10037 (SearchForward): ditto
10038 (SearchBackward): ditto
10040 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10041 spurius drawing of the cursor in the main area.
10043 * text2.C (status): small fix which could lead to a segfault!
10044 (clearSelection): remove unneeded BufferView param.
10046 2001-08-01 André Pönitz <poenitz@gmx.net>
10048 * lyxfunc.C: small change due to changed mathed interface
10050 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10052 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10054 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10056 * lyxfunc.c: fail gracefully if file doesn't exist
10061 * BufferView_pimpl.C: IsDirWriteable() proto changed
10063 * LyXView.C: fix updateWindowTitle() to store the last title
10065 2001-07-31 Juergen Vigna <jug@sad.it>
10067 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10068 the font (wrong since using of Paragraph::highestFontInRange).
10070 * paragraph.C (highestFontInRange): added a default_size parameter.
10072 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10073 (setHeightOfRow): reformat
10075 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10077 * converter.[hC] + affected files: move to (inital-char)lowercase
10080 * ParagraphParameters.C (ParagraphParameters): remove commented code
10082 * PainterBase.[Ch]: remove commented code
10084 * LaTeXFeatures.h: add "bool floats" for float.sty
10086 * LaTeXFeatures.C (LaTeXFeatures): init floats
10087 (require): handle float
10088 (getPackages): do it with floats
10090 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10092 * BufferView_pimpl.C (Dispatch): improve handling of
10093 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10095 * commandtags.h: #include lyxfont.h here temporarily to avoid
10098 * bufferlist.h: include LString.h here.
10100 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10102 * text2.C (getStringToIndex): new method.
10104 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10106 * *: Reduced header file dependencies all over.
10108 2001-07-30 Baruch Even <baruch@lyx.org>
10110 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10112 2001-07-29 Baruch Even <baruch@lyx.org>
10114 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10116 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10118 * ParameterStruct.h (endif): add a default constructor to make
10119 sure that all variables is initialized.
10121 * ParagraphParameters.C (ParagraphParameters): adjust
10123 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10125 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10126 index; also, check that there is something to index, and that it
10127 does not span over several paragraphs.
10128 (doubleClick): use WHOLE_WORD_STRICT for double click.
10130 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10132 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10135 2001-07-26 Baruch Even <baruch@lyx.org>
10137 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10138 an InsetFig figure, backwards compatible reading of old figure code.
10140 2001-07-27 Juergen Vigna <jug@sad.it>
10142 * text2.C: font.realize function adaption.
10144 * text.C (draw): add a warnings lyxerr text if needed.
10146 * layout.C: font.realize function adaption.
10148 * language.C: add inherit_language and implement it's handlings
10150 * bufferview_funcs.C (StyleReset): remove language parameter from
10151 font creation (should be language_inherit now).
10153 * bufferparams.C (writeFile): handle ignore_language.
10155 * paragraph.C (getFontSettings): the language has to be resolved
10156 otherwise we have problems in LyXFont!
10158 * lyxfont.C (lyxWriteChanges): added document_language parameter
10159 (update): removed unneeded language parameter
10161 * paragraph.C (validate): fixed wrong output of color-package when
10162 using interface colors for certain fonts in certain environments,
10163 which should not seen as that on the final output.
10165 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10167 * BufferView_pimpl.C:
10172 * LyXAction.C: add thesaurus support
10175 * lyxfind.C: add "once" parameter, for thesaurus, to not
10176 move to the next match
10178 2001-07-26 Juergen Vigna <jug@sad.it>
10180 * lyxfont.C (realize): honor ignore_language too!
10183 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10185 * text.C (draw): one place more for ignore_language to not draw
10188 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10190 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10192 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10195 the minipage conversion problem.
10197 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10199 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10202 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10204 * BufferView.h: don't forward declare WorkArea
10206 * BufferView.C: don't include WorkArea.h
10208 2001-07-25 André Pönitz <poenitz@gmx.net>
10212 * lyxfunc.C: new LFUN 'math-space'
10214 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10216 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * text2.C (toggleInset): call open/close
10220 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * lyxfunc.C (dispatch): add debug for the disabled case
10224 * font.C (buttonText): make similar to rectText
10226 * buffer.C (readInset): comment out parsing of insetlist and
10229 * PainterBase.C (rectText): small correction
10231 * BufferView_pimpl.C: comment out insettheorem and insetlist
10232 * LyXAction.C: ditto
10233 * commandtags.h: ditto
10235 2001-07-24 Juergen Vigna <jug@sad.it>
10237 * text.C (draw): honor the ignore_language.
10239 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10241 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10243 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10246 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10248 * lyxtext.h: remove unused (and unimplemented) methods
10250 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10252 * text.C (getVisibleRow): honor background color
10255 * Painter.h: remove default color argument for fillRectangle
10257 * text.C (backgroundColor): new method
10259 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10261 * text.C (getVisibleRow): adjust
10263 * font.[Ch] (rectText): new method, metrics
10264 (buttonText): new method, metrics
10266 * PainterBase.[hC]: make rectText and buttonText always draw and take
10269 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10271 * ToolbarDefaults.C (read):
10272 * MenuBackend.C (read): allow escaping in all strings
10274 * BufferView_pimpl.C (insertAndEditInset): new method.
10275 (Dispatch): use insertAndEditInset whenever appropriate.
10277 * BufferView_pimpl.C (insertNote): removed
10279 * BufferView_pimpl.C (smartQuote): new method, moved from
10280 BufferView; if an insetquote cannot be inserted, insert a '"'
10283 * BufferView2.C: remove insertCorrectQuote();
10285 * lyxfunc.C (getStatus): Add support for all remaingin
10286 inset-insert lfuns.
10288 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10290 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10291 command (necessary to pass " as parameter of self-insert.
10293 * text.C (selectWordWhenUnderCursor):
10294 (selectWord): add word_location parameter
10295 (selectWordWhenUnderCursor): same + remove special code for word
10297 (selectNextWord): use kind() to guess type of insetspecialchar,
10300 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10301 (insertErtContents): create ert insets as collapsed.
10302 (readInset): better compatibility code for Info inset.
10304 2001-07-20 Juergen Vigna <jug@sad.it>
10306 * lyxfunc.C (dispatch): use always LyXFind now!
10308 * text2.C (init): add a reinit flag so that the LyXText can be
10309 reinited instead of deleted and reallocated (used in InsetText).
10311 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10317 2001-07-18 Juergen Vigna <jug@sad.it>
10319 * text.C (selectNextWord): handle insets inside inset by calling
10320 always the bv->text functions so that we can go up the_locking_inset!
10322 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10323 in strange locations when inside an inset!
10325 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10326 handling to include insets.
10328 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10330 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10332 * LyXAction.C (init):
10334 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10335 LIGATURE_BREAK, since the name is so stupid.
10337 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10339 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10342 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10344 * sp_form.[Ch]: remove.
10346 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10348 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10351 * src/buffer.C (readInset): ditto.
10353 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10355 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10356 menuSeparator(), endOfSentenceDot(), ldots() and
10357 hyphenationPoint(), which are therefore removed.
10358 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10360 * LyXAction.C (init):
10361 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10363 * paragraph.C (getWord): removed.
10365 * BufferView_pimpl.C (Dispatch): use last word or selection for
10366 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10368 * lyx_main.C (queryUserLyXDir): do not ask before creating
10369 user_dir, except if it has been named explicitely.
10371 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10373 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10374 a document of zero size.
10376 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10378 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10379 approriately in the c-tor and in require().
10380 (getPackages): output the appropriate LaTeX for natbib support.
10382 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10383 variables "use_natbib" and "use_numerical_citations" when reading the
10385 (readInset): read the various natbib cite commands.
10386 (validate): white-space change.
10388 * bufferparams.[Ch]: new variables "bool use_natbib" and
10389 "bool use_numerical_citations".
10390 (writeFile): output them in the LyX file.
10392 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10394 * lyxfunc.C (getStatus): add support for all the inset insertion
10397 * text2.C (insertInset):
10398 * paragraph.C (insetAllowed):
10399 * BufferView_pimpl.C (insertInset): update to take in account the
10400 renaming of insertInsetAllowed
10402 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10404 * text2.C (getInset): new method. returns inset at cursor position.
10406 * BufferView_pimpl.C (Dispatch): changes because of this.
10408 * LyXAction.C (init): rename open-stuff to inset-toggle.
10410 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10412 * text2.C (toggleInset): renamed from openStuff; use
10415 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10417 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10419 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10421 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10423 * buffer.C (readLyXformat2): Add filename to the error dialog
10425 2001-07-18 Juergen Vigna <jug@sad.it>
10427 * tabular.C (GetCellNumber): put an assert here instead of the check!
10429 2001-07-17 Juergen Vigna <jug@sad.it>
10431 * BufferView_pimpl.C (toggleSelection): adapted too.
10433 * text.C (selectNextWord): adapted for use with insets.
10434 (selectSelectedWord): ditto
10436 2001-07-17 Juergen Vigna <jug@sad.it>
10438 * sp_spell.C (PSpell): fix initialitation order.
10440 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10442 * paragraph.C: spacing
10444 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10446 * sp_spell.C: repair language selection for pspell
10448 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10450 * lyxfunc.h: change more methods to begin with lower char.
10452 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10454 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10455 for unknown layouts.
10457 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10459 * buffer.C (readLyXformat2): Generate an error dialog if there are
10462 2001-07-16 Juergen Vigna <jug@sad.it>
10464 * sp_spell.C: always compile ISpell part.
10466 * lyxrc.C: added use_pspell entry and it's handling.
10468 2001-07-13 Juergen Vigna <jug@sad.it>
10470 * sp_spell.C: removed double includes.
10472 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10474 Consistent use of Lsstream.h:
10475 * Lsstream.h: added using std::stringstream for consistencies sake.
10477 * buffer.C: removed using std::stringstream
10479 * lyxfont.C (stateText):
10480 * paragraph.C (asString):
10481 * text.C (selectNextWord, selectSelectedWord):
10482 * text2.C (setCounter):
10483 * vspace.C (asString, asLatexString):
10484 std::ostringstream -> ostringstream.
10486 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10488 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10489 * commandtags.h: add LFUN_HELP_ABOUTLYX
10490 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10492 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10494 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10496 * lyx_gui_misc.C: remove spellchecker
10497 * lyxfunc.C: showSpellchecker
10499 * sp_ispell.h: added
10500 * sp_pspell.h: added
10501 * sp_spell.C: added
10502 * sp_form.[Ch]: removed
10503 * spellchecker.[Ch]: removed
10505 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10507 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10509 (simpleTeXSpecialChars): Simply print the input character without
10510 any special translation if pass_thru is set.
10512 * layout.h: Added bool pass_thru to layout class for being able to
10513 implement pass through of a paragraph for Literate Programming.
10515 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10516 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10517 * layout.C (Read): add "passthru" to list of layout tags and add
10518 code to set the pass_thru boolean when it is read.
10520 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * trans_decl.h: remove allowed from KmodInfo
10524 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10525 remove allowed code
10528 * paragraph_pimpl.C (erase): use boost::prior
10530 * Painter.C (text): use data() instead of c_str() when length is
10532 * WorkArea.C (putClipboard): ditto
10533 * font.h (width): ditto
10535 * BufferView2.C: use it-> instead of (*it). for iterators
10537 * paragraph_pimpl.C: ditto
10538 * paragraph.C: ditto
10539 * minibuffer.C: ditto
10540 * language.C: ditto
10542 * encoding.C: ditto
10543 * counters.C: ditto
10544 * converter.C: ditto
10546 * Variables.C: ditto
10547 * TextCache.C: ditto
10548 * MenuBackend.C: ditto
10549 * LyXAction.C: ditto
10551 * FloatList.C: ditto
10552 * DepTable.C: ditto
10553 * ColorHandler.C (LyXColorHandler): ditto
10555 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10557 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10559 * text2.C (openStuff): reintroduce this method (which had been
10560 nuked in NEW_INSETS frenzy).
10562 * lyxfunc.C (Dispatch): when an action has not been handled, use
10563 its name in the error message, not its number.
10565 * paragraph.C (inInset): change method name to begin with lowercase.
10568 * text2.C: updates because of this.
10570 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10572 * ToolbarDefaults.C (add): add spaces in error message
10574 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10576 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10577 (readLyXformat2): rename return_par to first_par, use lyxlex's
10578 pushToken and remove the manual push handling.
10579 (parseSingleLyXformat2Token): add another ert comp. variable:
10580 in_tabular, rename return_par to first_par. handle newlines better
10582 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10584 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10586 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * text2.C (getParFromID): removed
10590 * buffer.C (getParFromID): new method moved form lyxtext.
10591 * BufferView2.C (insertErrors): adjust
10592 (setCursorFromRow): adjust
10593 * BufferView_pimpl.C (restorePosition): adjust
10594 * lyxfunc.C (Dispatch): adjust
10595 * undo_funcs.C (textUndo): adjust
10597 (textHandleUndo): adjust
10598 (textHandleUndo): adjust
10600 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10602 * buffer.C: up' the LYX_FORMAT
10604 * lyxfont.h: turn NO_LATEX on as default
10606 * buffer.C (insertErtContents): new methods of tex style compability.
10607 (parseSingleLyXformat2Token): use it several places.
10608 * tabular.C (OldFormatRead): and here
10610 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * text2.C: remove some commented code.
10615 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10616 * trans.C: changes because of the above.
10618 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10620 * text2.C (setCounter): Fix counters bug with bibliography layout.
10622 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10625 own member functions
10626 (simpleTeXSpecialChars): ditto
10628 2001-07-06 Juergen Vigna <jug@sad.it>
10630 * a lot of files: changed the access to LyXText::status and the
10631 call of undo-functions.
10633 * undo.[Ch]: added a inset_id to the undo informations.
10635 * undo_funcs.[Ch]: added and moved here all undo functions.
10637 * lyxtext.h: give the status enum a weight, made status_ a private
10638 variable and made accessor functions for it, removed the whole bunch
10639 of undo-functions as they are now in their own file, make some
10640 functions publically available. Added function ownerParagraph with
10643 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10644 made InInset() a const function, added getParFromID() function.
10646 * buffer.[Ch]: added const version for inset_iterator functions,
10647 added getInsetFromID() function.
10649 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10650 changed undo functions for new version.
10652 2001-07-05 Juergen Vigna <jug@sad.it>
10654 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10655 unknow mechanism does not call the proper constructor but only this
10656 one also if I request the other!?
10658 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10662 * text2.C (LyXText): use initialization lists.
10664 * lyxtext.h (Selection): initialize set_ and mark_
10665 (init): remove method
10667 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10669 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10671 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10673 * screen.[Ch]: change method names to begin with lowercase
10675 * BufferView_pimpl.C (updateScrollbar): simplify further and
10676 hopefully make it a bit faster.
10678 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10681 calling directly xforms functions.
10683 * Painter.C (Painter):
10684 * lyx_cb.C (MenuWrite):
10685 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10688 * lyx_gui.C: remove bogus guiruntime extern declaration.
10690 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10694 (redoDrawingOfParagraph): ditto
10695 (redoParagraphs): ditto
10696 (cutSelection): don't create a object for CutAndPaste use the
10697 static method directly
10698 (pasteSelection): ditto
10700 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10703 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10705 * modifications to some other files because of this.
10707 * Makefile.am (lyx_SOURCES): add XFormsView
10709 * XFormsView.[Ch]: new files
10711 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10712 the main window. Move the gui dependent stuff to XFormsView
10714 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10716 * tabular.C (GetCellInset): update cur_cell also in the row/col
10717 version of this function.
10719 * lyxfunc.C: no need to include figure_form.h here.
10725 * lyxvc.C: no need to include forms.h here.
10727 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10729 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10731 * lyxfunc.C (Dispatch):
10733 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10734 constructor argument.
10736 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * paragraph.C (Paragraph): dont't clear, and just set layout.
10739 (makeSameLayout): use params's copy contructor.
10741 * ParagraphParameters.[Ch] (makeSame): delete method
10743 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10745 * Variables.[Ch]: fix indentation, rename set to isSet
10747 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * lyxfunc.C (Dispatch): fix typo
10751 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10756 * bufferlist.C: include assert.h for emergencyWrite().
10758 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10760 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10761 give up at last (bug #425202) !
10763 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10769 * spellchecker.C: strip spellchecker options and bring up
10770 preferences tab instead
10772 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10775 the istringstream constructor
10777 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * paragraph.C (getLayout): fix return value
10781 * paragraph.h: do not declare getLayout as inline.
10783 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10785 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10787 * lyxcursor.h (operator<): new func
10788 (operator>): new func
10789 (operator>=): new func
10790 (operator<=): new func
10792 * text.C (changeCase): use selection.start and selection.end
10793 (changeRegionCase): require from to be <= to. Require par to be a
10796 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10798 2001-06-27 Juergen Vigna <jug@sad.it>
10800 * text.C (cursorLeftOneWord): changed to return the cursor and added
10801 overlay with BufferView * parameter which calls this one.
10803 (selectWord): use new getWord function.
10804 (changeCase): renamed from changeWordCase as and extended to work
10805 also on selections.
10807 * lyxtext.h: added enum word_location
10809 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10810 changeCase as this operates now also on selections.
10812 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10814 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10816 * many files: send debug output to Debug::INFO instead of
10819 * converter.C (View):
10821 (Move): send debug output to Debug::FILES instead of console.
10823 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10825 * lyxfunc.C (getStatus): use func_status
10827 * func_status.h: new header, describing the results of
10828 LyXFunc::getStatus;
10830 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10833 2001-06-25 The LyX Project <jug@sad.it>
10835 * buffer.C (sgmlOpenTag):
10837 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10839 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10841 * text2.C: remove some dead code
10843 * tabular.C (GetCellInset): store the last cell checked (gotten)
10845 * tabular.h: add the helper for the speedup
10847 * lyxtext.h: remove some dead code
10849 2001-06-26 The LyX Project <Asger>
10851 * paragraph.C: Change export to LaTeX of alignment to
10852 \begin{center} and family for better roundtrip work with reLyX.
10854 * Tune the math drawing a bit.
10856 2001-06-25 The LyX Project <Asger>
10858 * LColor.C (LColor): New color for math background. New color
10861 2001-06-25 The LyX Project <jug@sad.it>
10863 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10865 * lyxfunc.C (Open):
10866 * bufferlist.C (newFile): do not restrict to files ending with
10869 * BufferView_pimpl.C (MenuInsertLyXFile):
10871 2001-06-24 The LyX Project <jug@sad.it>
10873 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10876 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10878 * lyxtext.h: rename most methods to begin with a small char.
10879 Lots of changes because of this.
10881 * paragraph.C (Paragraph): do not call fitToSize
10882 (erase): call Pimpl::erase
10883 (insertChar): call Pimpl::insertChar
10884 (insertInset): call Pipl::insertInset
10885 (breakParagraph): do not call fitToSize
10886 (breakParagraphConservative): do not call fitToSize
10887 (fitToSize): remove method
10889 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10891 2001-06-24 The LyX Project <Asger>
10893 * Fix Qt compilation^2
10895 2001-06-24 The LyX Project <jug@sad.it>
10897 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10898 depthHook(getDepth()-1).
10901 * ParagraphParameters.h:
10902 * ParameterStruct.h: change type of depth to unsigned int ==
10903 depth_type. Many adaptations to other files before of that.
10905 2001-06-24 The LyX Project <Asger>
10907 * Fix Qt compilation.
10909 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10911 * paragraph.h: renamed several methods to begin with small letter.
10912 several changes to many parts of the code because of this.
10914 2001-06-23 The LyX Project <jug@sad.it>
10916 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10917 rewritten to discard all double spaces when KeepEmpty is off
10918 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10919 to only handle newlines but not fiddle with spaces and friends.
10921 * lyxfunc.C (MenuNew): when doing 'new from template', use
10922 template_path as default directory
10924 2001-06-23 The LyX Project <Asger>
10926 * Clean-up of header file includes all over
10927 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10929 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10931 * paragraph.h: renamed from lyxparagraph.h
10933 2001-06-23 Asger <lyx@violet.home.sad.it>
10935 * Buffer.h: Removed Buffer::resize
10936 * BufferList.h: Removed BufferList::resize
10937 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10938 the document lazily when we change the width, or the font settings.
10940 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10942 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10944 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10946 * buffer.h: remove out of date comment
10948 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10951 * screen.C: fix "theoretical" GC leak
10953 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10955 * LaTeX.C (scanAuxFile):
10956 (deplog): remove trailing \r when reading stream (useful under
10959 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10961 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10962 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10963 and BufferView::theLockingInset(Inset*), so should use them and not
10964 access bv_->text->the_locking_inset directly.
10966 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10968 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10971 * tex-defs.h: remove old unused file
10973 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10975 * BufferView_pimpl.C: fix typo, remove minibuffer message
10976 when buffer has loaded
10978 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10980 * lyxfunc.C (Dispatch): use stringstream
10981 (MenuNew): use stringstream
10982 (Open): use stringstream
10984 * importer.C (Import): use stringstream
10986 * bufferview_funcs.C (CurrentState): use stringstream
10988 * LaTeX.C (run): use stringstream
10990 * BufferView_pimpl.C (savePosition): use stringstream
10991 (restorePosition): use stringstream
10992 (MenuInsertLyXFile): use stringstream
10994 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11007 * vspace.C: removed // -*- C++ -*- as first line.
11010 * version.h: added // -*- C++ -*- as first line.
11012 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11014 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11016 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11019 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11024 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11026 * gettext.C: include LString.h even when --disable-nls is on.
11028 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11030 * converter.h (Get): changed argument type from int to
11031 FormatList::size_type to avoid unnecessary conversion.
11033 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11036 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11038 * gettext.h: include LString.h even when --disable-nls is on.
11040 2001-06-07 Juergen Vigna <jug@sad.it>
11042 * text.C (BreakAgain): subst spaces with tabs.
11044 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11045 (resizeInsetsLyXText): set force on resizeLyXText.
11047 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11049 * gettext.h (gettext_init):
11050 (locale_init): use a real definition instead of a macro
11052 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11054 * Bufferview_pimpl.C:
11056 * LColor.C: further lcolor tidies
11058 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11060 * BufferView_pimpl.C (updateScrollbar): simplify.
11062 * BufferView2.C: don't include insets/insetinfo.h, change
11063 prototype for insertInset and call the Pimpl version. let
11064 updateInset call Pimpl version.
11066 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11067 gotoInset to BufferView::Pimpl
11069 2001-06-01 Juergen Vigna <jug@sad.it>
11071 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11072 inside a LockingInset (is the update needed at all?).
11074 2001-05-31 Juergen Vigna <jug@sad.it>
11076 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11077 here not the old one otherwise how should we compare it afterwards
11080 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11085 * FontInfo.C: bring C functions into global namespace when
11088 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11090 * LString.h: make sure config.h has been loaded before LString.h.
11092 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11093 (one for each char read by EatLine!).
11095 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11098 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11100 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11101 to the same as the par we break from
11103 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11105 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11107 * MenuBackend.C (expand): also create menu entries for wide
11108 versions of the floats.
11110 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11112 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11114 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11115 frontends/Makefile.am
11121 * tabular.C (getTokenValue): add std::
11123 * tabular-old.C (getTokenValue): add std::
11124 (getTokenValue): ditto
11125 (getTokenValue): ditto
11127 * screen.C (ToggleSelection): adjust
11129 * lyxtext.h: put selection cursors inside a Selection struct.
11131 * lyxfunc.C (moveCursorUpdate): adjust
11133 * lyxfont.C (latexWriteStartChanges): add std::
11135 * lyxfind.C: adjust
11137 * font.h: delete with(char const *, LyXFont const &)
11139 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11141 * FontInfo.C (getFontname): add std::
11143 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11144 (workAreaButtonPress): adjust
11145 (tripleClick): adjust
11147 (moveCursorUpdate): adjust
11150 * BufferView2.C (gotoInset): adjust
11152 2001-05-30 Juergen Vigna <jug@sad.it>
11154 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11155 to check pspell I add this as default as I now have new pspell
11156 libraries and they seem to use this.
11158 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11160 * text2.C (CutSelection): make the cursor valid before the call to
11163 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11165 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11166 relied on 0 terminated strings and other horrors. Bug found due to
11167 the new assert in lyxstring!
11169 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11172 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11177 * lyxfunc.C (processKeySym): change method of getting to the
11180 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11181 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11182 * BufferView_pimpl.[Ch]: here as private methods.
11184 2001-05-28 Juergen Vigna <jug@sad.it>
11186 * text.C (SetHeightOfRow): added the update() call again as it is
11187 needed to initialize inset dimensions!
11189 2001-05-16 Juergen Vigna <jug@sad.it>
11191 * text2.C (SetCharFont): Add new function with BufferView * and
11192 bool toggleall parameters for setting insets internal fonts.
11193 (SetFont): Freeze the undo as we may change fonts in Insets and
11194 all this change should be inside only one Undo!
11196 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11197 setting font's in insets as for them we have the SetFont function!
11199 2001-05-15 Juergen Vigna <jug@sad.it>
11201 * text2.C (ClearSelection): to be sure we REALLY don't have any
11204 * tabular.C (TeXCellPreamble): fixed the left border problem for
11207 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11209 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11212 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11215 LFUN_BREAKPARAGRAPH.
11217 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11218 help test to "internal only", similar for LFUN_INSERT_URL
11220 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11221 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11222 auto_region_delete and deadkeys.
11224 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11227 * LColor.C: remove some dead entries, tidy a little
11229 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11233 (Dispatch): implement LFUN_ESCAPE
11235 * commandtags.h: add LFUN_ESCAPE
11237 * LyXAction.C (init): add entry for LFUN_ESCAPE
11239 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11240 Remove commented code.
11241 (insertNote): moved here
11242 (open_new_inset): moved here
11244 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11247 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11249 * kbmap.C (findbinding): clean it up and make it work correctly.
11251 * lyx_main.C (init): do not pass argc and argv as parameters
11253 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11255 * buffer.C: fix path for OS/2 & Win32
11259 * lyx_main.C: Added os:: class.
11261 * os2_defines.h: update
11263 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11265 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11266 better by trying again with reduced state.
11268 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11270 * lyxrc.C (read): print error about invalid key sequence only when
11271 debugging (because not all latinX keysyms are known to some X
11274 * kbsequence.C (getiso): add a few std:: qualifiers
11275 (getiso): comment out extra return statement.
11277 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11279 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11281 (Dispatch): enhance the accent inset a bit. (not perfect)
11283 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11285 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11287 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11289 * bufferlist.C (emergencyWrite): fix assert() call
11291 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11293 * text.C (InsertChar): Added trivial patch to only send the "you
11294 can not do multiple spaces this way" message once during a
11297 2001-05-08 Baruch Even <baruch@lyx.org>
11299 * Makefile.am: Changed order of libraries to get LyX to link properly
11300 with the gnome frontend.
11302 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11304 * LaTeXFeatures.h: add a std:: qualifier
11306 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * paragraph.C (String): use stringstream
11310 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * paragraph.C (writeFile): remove footflag arg
11314 * buffer.C (makeLaTeXFile): use stringstream
11315 (latexParagraphs): remove footnot gurba
11317 * LaTeXFeatures.C (getPackages): use stringstream
11318 (getMacros): likewise
11319 (getTClassPreamble): likewise
11320 (getFloatDefinitions): new method
11322 * paragraph.C (writeFile): reindent
11325 * WorkArea.h: revert the xpos + etc changes.
11327 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11329 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11331 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11332 (pasteSelection): likewise
11333 * text2.C (CreateUndo): likewise
11335 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11337 * minibuffer.C (peek_event): temporarily reduce the functionality
11338 of the minibuffer (to allow args on lfuns)
11340 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11341 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11343 * buffer.C (readInset): add compability reading of old float
11344 lists, add reading of new style float list.
11345 (readInset): avoid reevaluation of inscmd.getCmdName()
11346 (getLists): reindent
11348 * MenuBackend.C (MenuItem): implement parsing of
11349 md_floatlistinsert and md_floatinsert.
11350 (expand::LastFiles): move initalizaton of iterators out of loop,
11351 avoid reevaluation.
11352 (expand::Documents): introduce typdedef vector<string> Strings,
11354 (expand::ExportFormats): introduce typedef vector<Format const *>
11355 Formats, and use it.
11356 (expand): implement FloatListInsert and FloatInsert.
11358 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11359 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11360 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11362 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11364 (Dispatch::LFUN_FLOAT_LIST): implement
11366 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11368 * LaTeX.C (run): Fix problem with --export code.
11370 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11372 * BufferView.[Ch] (workarea): removed.
11373 (getClipboard) new method; wrapper for workarea()->getClipboard()
11375 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11378 * WorkArea.h (width, height, xpos, ypos): These methods all
11379 returned the dimensions of the work_area sub-area of WorkArea,
11380 resulting in a position error if the WorkArea were resized. Now
11381 return the dimensions of the entire WorkArea.
11383 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11385 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11387 * LaTeX.C (deplog): correct the syntax of regex reg1
11389 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11391 * undo.C: remove !NEW_INSETS cruft
11393 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11395 * text2.C: remove !NEW_INSETS cruft
11397 * text.C: remove !NEW_INSETS cruft
11399 * tabular.C: remove !NEW_INSETS cruft
11401 * spellchecker.C: remove !NEW_INSETS cruft
11403 * lyxtext.h: remove !NEW_INSETS cruft
11405 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11407 * lyxfunc.C: remove !NEW_INSETS cruft
11409 * lyxfind.C: remove !NEW_INSETS cruft
11411 * lyx_cb.C: remove !NEW_INSETS cruft
11413 * figureForm.C: remove !NEW_INSETS cruft
11415 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11417 * buffer.[Ch]: remove !NEW_INSETS cruft
11419 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11421 * CutAndPaste.C: remove !NEW_INSETS cruft
11423 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11425 * BufferView2.C: remove !NEW_INSETS cruft
11427 * BufferView.h: remove !NEW_INSETS cruft
11429 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11431 * Lsstream.h: include LString.h before the sstream headers to
11432 fix problem with gcc 2.95.3 and lyxstring
11434 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11436 * lyx_main.C: add using directives when needed for C functions
11437 declared in std:: namespace.
11439 2001-04-27 Juergen Vigna <jug@sad.it>
11441 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11442 (SetHeightOfRow): comment out the update call should not be needed!
11444 2001-04-13 Juergen Vigna <jug@sad.it>
11446 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11447 (LyXTabular): tried to minimize operator= operations (and realized
11448 hopfully Lars wish).
11450 2001-04-27 Juergen Vigna <jug@sad.it>
11452 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11454 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11456 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11458 * buffer.C (readInset): hack to make listof algorithm work
11460 * BufferView_pimpl.C: hack to make listof algorithm work
11462 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11464 * LyXAction.C: removed all !NEW_INSETS cruft
11465 (init): moved lfun_item in method
11467 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11469 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11471 * BufferView2.C (theLockingInset): white space.
11473 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11475 * minibuffer.C: include <iostream>
11477 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11479 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11481 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11483 * text.[Ch] (TransposeChars): new method
11485 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * call message directly through LyXView instead of through LyXFunc
11488 * BufferView2.C: adjust
11489 * BufferView_pimpl.C: adjust
11490 * FontLoader.C: adjust
11492 * bufferview_funcs.C: adjust
11493 * converter.C: adjust
11494 * figureForm.C: adjust
11495 * importer.C: adjust
11497 * lyx_gui_misc.C: adjust
11498 * lyxfunc.C: adjust
11501 + more files in subdirs
11503 * lyxparagraph.h (size): move up int file
11506 * adjust all uses of Assert to lyx::Assert.
11508 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11509 lyxfunctional in namespace lyx
11510 * layout.C (hasLayout): ditto
11513 (delete_layout): ditto
11514 (NumberOfClass): ditto
11515 * converter.C (GetFormat): ditto
11520 * bufferlist.C (getFileNames): ditto
11521 (emergencyWriteAll): ditto
11524 * MenuBackend.C (hasSubmenu): ditto
11527 * BufferView_pimpl.C (getInsetByCode): ditto
11529 2001-04-18 Juergen Vigna <jug@sad.it>
11531 * vspace.C (asLatexString): fixed the 100% problem.
11533 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11535 * lyxfunc.C (Dispatch):
11537 * minibuffer.h: add a few std:: qualifiers
11539 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * minibuffer.[Ch]: reimplement so that commands is initiated and
11542 run from lyxfunc, simplified som handling, and made the completion
11543 and history code for complete. wip.
11545 * lyxfunc.C (processKeySym): call message
11546 (miniDispatch): new temporary method
11547 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11548 (LFUN_MESSAGE): implement
11549 (LFUN_MESSAGE_PUSH): implement
11550 (LFUN_MESSAGE_POP): implement
11551 (initMiniBuffer): the initial/defualt minibuffer message.
11553 * lyxfont.[Ch]: inline some more getters
11555 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11557 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11559 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11560 (AutoSave): use LFUN_MESSAGE
11561 (Reconfigure): ditto
11563 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11565 * figureForm.C: use LFUN_MESSAGE
11567 * converter.C (runLaTeX): use LFUN_MESSAGE
11569 * bufferview_funcs.C: use LFUN_MESSAGE
11571 (changeDepth): ditto
11573 * bufferparams.h: use boost::
11575 * bufferlist.h: inherit privately from noncopyable
11577 * bufferlist.C (loadLyXFile): remove some commented code.
11579 * buffer.C (runChktex): use LFUN_MESSAGE
11581 * ShareContainer.h: inherit privately from noncopyable
11583 * ParagraphParameters.[hC] (depth): inline it.
11585 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11587 (message): new method
11588 (messagePush): ditto
11589 (messagePop): ditto
11590 (show): init minibuffer
11591 (showState): direct call
11593 * LaTeX.[Ch]: inherit privately from noncopyable
11594 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11595 instead of WriteStatus.
11597 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11599 * BufferView_pimpl.C (buffer): don't init minibuffer
11600 (workAreaButtonPress): use LFUN_MESSAGE
11601 (workAreaButtonRelease): ditto
11602 (savePosition): ditto
11603 (restorePosition): ditto
11604 (MenuInsertLyXFile): ditto
11605 (workAreaExpose): don't init minibuffer
11606 (update): remove commented code, simplify
11608 * BufferView2.C (openStuff): use LFUN_MESSAGE
11609 (toggleFloat): ditto
11612 (copyEnvironment): ditto
11613 (pasteEnvironment): ditto
11618 (updateInset): remove some commented code
11620 * lastfiles.h: inherit privately from noncopyable
11623 * lyx_main.h: ditto
11625 * lyxlex_pimpl.h: ditto
11627 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11628 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11629 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11631 * LyXAction.h: inherit privately from noncopyable, add methods
11632 func_begin, func_end, returning iterators to the func map.
11634 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11635 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11636 (func_begin): new method
11637 (func_end): new method
11639 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11641 (copySelection): ditto
11642 (pasteSelection): ditto
11644 * BufferView.C: whitespace change
11645 * BufferView.h: inherit privately from noncopyable
11647 2001-04-16 Allan Rae <rae@lyx.org>
11649 * tabular-old.C (l_getline):
11650 * spellchecker.C (sc_check_word):
11651 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11652 an unrecognised preprocessor directive. So ensure they're wrapped.
11654 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11656 * src/exporter.C (Export): Give an error message when path to file
11659 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11661 * LaTeX.C (deplog): Always check that foundfile exists.
11663 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11666 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11668 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * tabular.[Ch] (getLabelList): implement new method
11672 * minibuffer.h: comment ouf setTiimer
11674 * minibuffer.C (ExecutingCB): constify res
11675 (peek_event): constify s
11676 (Set): constify ntext
11677 (Init): constify nicename
11679 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11681 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11682 (savePosition): use two params to Minibuffer::Set
11683 (restorePosition): ditto
11685 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11687 * lyx_main.C: include language.h
11689 * Makefile.am (lyx_main.o): add language.h
11691 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11697 * CutAndPaste.C: include gettext.h
11699 * lyxfont.h: remove old hack with ON and OFF.
11702 * lyxfont.h: do not include language.h...
11707 * bufferview_funcs.C:
11713 * paragraph.C: ... but do it here instead
11715 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11719 * tabular.C: small reformat
11721 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11724 (BreakParagraph): ditto
11725 (SetOnlyLayout): ditto
11728 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11731 * lastfiles.C: removed most using decl, add std:: where needed
11733 * buffer.C: ws changes
11735 * MenuBackend.C (class compare_format): put into anon namespace
11736 (expand): constify label, names, action, action2
11739 * text.C (SingleWidth): constify font
11740 (IsBoundary): constify rtl2
11741 (GetVisibleRow): constify ww
11743 * LaTeX.C (deplog): constify logfile
11745 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11747 (workAreaExpose): constify widthChange, heightChange
11749 * lyxrow.C (par): moved
11752 * lyxrow.h: as inlines here
11754 * lyxfont.h (shape): moved from lyxfont.C
11755 (emph): moved from lyxfont.C
11757 * lyxfont.C (LyXFont): use initialization list for all
11759 (shape): move to lyxfont.h as inline
11760 (emph): move to lyxfont.h as inline
11763 2001-04-04 Juergen Vigna <jug@sad.it>
11765 * vspace.C: had to include stdio.h for use of sscanf
11767 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11770 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11771 independent of xforms.
11773 2001-04-02 Juergen Vigna <jug@sad.it>
11775 * spellchecker.C: fixed namespace placing!
11777 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11779 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11780 the LyXParagraph * is 0.
11782 2001-03-29 Juergen Vigna <jug@sad.it>
11784 * vspace.C: added support for %, c%, p%, l%.
11785 (stringFromUnit): added helper function.
11786 (asLatexString): changed to give right results for the %-values.
11788 * buffer.C: convert the widthp in a width%.
11790 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11792 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11795 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11796 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11798 * lyx_cb.[Ch]: see above.
11800 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11804 * lyx.[Ch]: replaced by figure_form.[Ch].
11808 * lyxfunc.C: changed headers associated with above changes.
11810 2001-03-27 Juergen Vigna <jug@sad.it>
11812 * BufferView_pimpl.C: set the temporary cursor right!
11814 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11816 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11818 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11820 * LString.h: removed "using std::getline"!
11822 * BufferView_pimpl.C (Dispatch): changes due to changes in
11823 InsetInclude::Params.
11825 * buffer.C (tag_name): removed redundant break statements as they were
11826 producing lots of warnings with my compiler.
11828 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * LString.h: add "using std::getline" when using the real <string>.
11832 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11834 * buffer.C: removed bitset usage.
11835 PAR_TAG moved to an anonymous name space.
11836 (tag_name): new funtion, also in the anonymous namespace.
11837 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11838 (makeDocBookFile): clean code. Completed transition from string arrays
11840 (SimpleDocBookOnePar): code clean.
11842 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11844 * tabular.C: add some comments.
11846 2001-03-22 Juergen Vigna <jug@sad.it>
11848 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11849 compatibility read a bit and fixed bug with minipage in different
11852 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11854 * buffer.C (pop_tag): removed.
11855 (push_tag): removed.
11856 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11857 array replaced with vector. Added support for CDATA sections.
11858 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11860 (makeDocBookFile): XML conformant declaration of CDATA section,
11861 fixed bug related to <emphasis> in the first paragraph char.
11862 (sgmlOpenTag): exclude empty tags.
11863 (sgmlCloseTag): ditto.
11865 * buffer.h (pop_tag): removed.
11866 (push_tag): removed.
11868 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11870 * language.h (Languages): added size_type and size().
11872 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11874 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11875 response on compability reading of minipages. One probliem is that
11876 the old usage of minipages was «flertydig»
11878 * several files here and in subdirs: don't use static at file
11879 scope use anon namespaces instead.
11881 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11883 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11884 LaTeX output. This is necessary for Literate document
11887 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11889 * buffer.C: insert hfill when needed.
11891 * tabular.C (l_getline): use string::erase, small whitespace change.
11893 * BufferView_pimpl.C: try the anon namespace.
11894 * WorkArea.C: ditto
11896 2001-03-16 Juergen Vigna <jug@sad.it>
11898 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11899 otherwise it won't open options-dialogs.
11901 * buffer.C: honor pextraWidth(p) on converting minipages.
11903 * tabular.C (l_getline): changed the functions to strip trailing \r.
11905 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11907 * BufferView_pimpl.C:
11908 * minibuffer..C: added "using SigC::slot" declaration.
11910 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11912 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11918 * paragraph.C: ditto
11920 * lyxtext.h: NO_PEXTRA
11922 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11924 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11925 * ParameterStruct.h: ditto
11926 * ParagraphParameters.h: ditto
11927 * lyxparagraph.h: ditto
11929 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11931 * buffer.C: add compability for minipage alignment.
11932 (latexParagraphs): remove unwanted pextra check.
11934 * several files: remove CXX_WORKING_NAMESPACES
11936 * buffer.C (pop_tag): tie is in namespace boost
11938 * BufferView.h: noncopyable is in namespace boost
11940 * lyx_main.h: ditto
11943 * lastfiles.h: ditto
11944 * bufferlist.h: ditto
11945 * ShareContainer.h: ditto
11947 * LyXAction.h: ditto
11950 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11952 * Merging changes from BRANCH_MVC back into HEAD.
11954 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11956 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11958 * BufferView_pimpl.C: change from intl.C
11962 * Makefile.am: move combox.*
11968 * intl.C: remove dialog (covered by prefs)
11970 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11972 * lyxfunc.C (Dispatch): removed redundant break statement.
11974 2001-03-14 Juergen Vigna <jug@sad.it>
11976 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11978 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11980 * buffer.C: add hack to fix compability reading of minipages.
11982 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11984 * buffer.C (getLists): Cleanup.
11986 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11988 * lyxfont.C (update): don't honor toggleall on font size.
11990 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11994 * Makefile.am: moved to frontends/xforms/
11998 * BufferView_pimpl.C: changes for moved mathpanel
12000 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12002 * gettext.h: fix gettext_init() in --disable-nls
12004 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12006 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12008 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12011 * lyx.h: strip external form
12013 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12015 * BufferView_pimpl.C: add comment, destroySplash()
12017 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12019 * BufferView_pimpl.C:
12023 * lyxfunc.C: use re-worked insetinclude
12025 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12027 * buffer.C: add using std::stringstream.
12029 * lyx_cb.C: readd using std::ios.
12031 * buffer.C: add using std::map.
12033 * BufferView_pimpl.C: add using std::vector.
12035 * ShareContainer.h: add std:: to swap.
12037 * buffer.h: add some typedefs
12038 * buffer.C (getLists): use them
12039 (getLists): renamed from getTocList.
12040 add a counter for the different float types and use it in the
12042 (getLists): use the same counter for the NEW_INSETS and the "non"
12045 * lyx_cb.h: remove unused items, includes, using etc.
12047 * ShareContainer.h: remove some commented code, add more comments
12048 and "documentation".
12050 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12052 * buffer.C (getTocList): make the list also when NEW_INSETS is
12055 * buffer.h: remove TocType
12057 * buffer.C (getTocList): change to return a map<string,
12058 vector<TocItem> >, implement for dynamic number of list.
12060 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12061 * text2.C (PasteSelection): adjust
12062 * CutAndPaste.C (pasteSelection): adjust
12064 * FloatList.C (FloatList): update from the new_insets branch.
12065 * Floating.[Ch]: ditto
12066 * LaTeXFeatures.C: ditto
12068 * lyxlex_pimpl.C: ditto
12070 * paragraph.C (Last): remove when NEW_INSETS is defined.
12072 * other file: changes because of the above.
12074 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12076 * lyxparagraph.h: rename next to next_, previous to previous_,
12077 make them private for NEW_INSETS. Rename Next() to next(),
12078 Previous() to previous().
12080 * other files: changes because of the above.
12082 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12085 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12088 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12090 * main.C (main): pass lyx_localedir to gettext_init().
12092 * gettext.h: remove locale_init and gettext_init macros
12094 * gettext.C (locale_init): new function
12095 (gettext_init): new function
12097 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12100 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12102 * Moved credits to frontends:
12103 * credits.[Ch]: removed
12104 * credits_form.[Ch]: removed
12105 * lyx_gui_misc.C: remove credits stuff
12108 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12110 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12112 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12113 unneeded destructor.
12115 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12116 a standalone pointer again.
12118 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12120 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12126 * ToolbarDefaults.C:
12135 * BufferView_pimpl.C: use new file dialog in GUII
12138 * lyx_cb.C: remove LayoutsCB to Toolbar
12140 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12142 * ShareContainer.h (get): add std:: qualifier
12144 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12146 * ShareContainer.h: define a proper ShareContainer::value_type
12147 type (and use typename to please compaq cxx)
12149 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12151 * lyxparagraph.h: move serveral local vars to
12152 ParameterStruct/ParagraphParameters., use ShareContainer in
12153 FontTable., make vars in FontTable private and add getter and
12156 * paragraph.C: changes because of the above.
12158 * lyxfont.h: remove copy constructor and copy assignment. (the
12159 default ones is ok), move number inside FontBits. move inlines to
12162 * lyxfont.C: add number to initializaton of statics, move several
12163 inlines here. constify several local vars. some whitespace
12164 cleanup. Dont hide outerscope variables.
12166 * Spacing.h: add two new constructors to match the set methods.
12168 * ShareContainer.h: new file, will perhaps be moved to support
12170 * ParameterStruct.h: new file
12172 * ParagraphParameters.h: new file
12174 * ParagraphParameters.C: new file
12176 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12177 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12179 * BufferView_pimpl.C: ParagraphParameter changes.
12180 * buffer.C: Likewise.
12181 * bufferview_funcs.C: Likewise.
12182 * text.C: Likewise.
12183 * text2.C: Likewise.
12185 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12187 * lyxfind.C (LyXReplace): do not redefine default argument in
12189 (IsStringInText): ditto
12190 (SearchForward): ditto
12191 (SearchBackward): ditto
12193 2001-03-06 Juergen Vigna <jug@sad.it>
12195 * lyxfind.C (IsStringInText): put parentes around expressions.
12197 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12199 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12201 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12203 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12205 * stl_string_fwd.h: add comment
12207 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12210 * tabular.C: remove unused DocBook methods
12216 killed DO_USE_DEFAULT_LANGUAGE
12218 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12220 * lyx_gui.C: do not include language.h.
12222 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12223 arguments in function implementation.
12225 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12227 * BufferView_pimpl.C: add <ctime>
12229 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12231 * BufferView_pimpl.C: add using std::find_if
12233 2001-02-27 José Matos <jamatos@fep.up.pt>
12235 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12238 2001-02-11 José Matos <jamatos@fep.up.pt>
12240 * buffer.C (makeDocBookFile): command styles now have a parameter as
12241 "title" by default.
12243 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12245 * layout_forms.[Ch]: removed
12246 * lyx_cb.[Ch]: out character
12247 * lyx_gui.C: out character
12248 * lyx_gui_misc.C: out character
12249 * bufferview_funcs.C: : out character,
12250 added toggleall as parameter in ToggleAndShow
12252 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12254 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12256 * text2.C (SetCurrentFont): Disable number property at boundary.
12258 2001-02-26 Juergen Vigna <jug@sad.it>
12260 * lyxfunc.C (getStatus): added a string argument override function so
12261 that this is correctly called from LyXFunc::Dispatch if it contains a
12262 do_not_use_argument which is used!
12263 (Dispatch): added check for "custom" export and call appropriate func.
12265 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12267 * lyxrc.C: Add language_command_local, language_use_babel and
12268 language_global_options.
12270 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12272 * buffer.C (makeLaTeXFile): Use language_use_babel and
12273 language_global_options.
12275 2001-02-23 Juergen Vigna <jug@sad.it>
12277 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12278 which works with LyXText and putted it inside BufferView. Here now we
12279 only call for that part the BufferView::Dispatch() function.
12281 * BufferView.C (Dispatch): added.
12283 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12284 functions which needs to use a LyXText over from LyXFunc.
12285 (MenuInsertLyXFile): added
12286 (getInsetByCode): added
12287 (moveCursorUpdate): added
12288 (static TEXT): added
12290 2001-02-22 Juergen Vigna <jug@sad.it>
12292 * BufferView_pimpl.C (update): call a status update to see if LyXText
12295 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12297 * vc-backend.C (revert): implement for CVS
12298 (getLog): implement for CVS
12300 2001-02-20 Juergen Vigna <jug@sad.it>
12302 * text2.C (ClearSelection): added BufferView param for inset_owner call
12304 * lyxfunc.C (TEXT): added this function and use it instead of
12305 directly owner->view()-text of getLyXText().
12307 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12309 * src/layout_forms.C: out preamble
12310 * src/layout_forms.h: out preamble
12311 * src/lyx_cb.C: out preamble
12312 * src/lyx_cb.h: out preamble
12313 * src/lyx_gui.C: out preamble
12314 * src/lyx_gui_misc.C: out preamble
12315 * src/lyxfunc.C: connect with guii preamble
12317 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12319 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12321 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12323 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12324 whether to run bibtex.
12326 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12328 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12330 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12332 * Makefile.am (lyx_SOURCES): removed bibforms.h
12334 * vspace.h: doxygen
12336 * text.C (GetVisibleRow): make several local vars const
12338 * tabular.C: small cleanup.
12340 * lyxserver.C (callback): use compare instead of strncmp
12342 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12343 inlines to after class or to paragraph.C
12345 * lyxfont.h: remove friend operator!=
12347 * converter.h: move friend bool operator< to non friend and after
12350 * combox.h: small cleanup
12352 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12353 to inlines after class def.
12355 * buffer.C (pop_tag): use string operations instead of strcmp
12357 * bmtable.c: doxygen, small cleanup
12359 * LaTeX.h: remove friend operator==
12361 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12373 * BufferView_pimpl.C:
12374 * BufferView.[Ch]: remove cruft
12376 2001-02-14 Juergen Vigna <jug@sad.it>
12378 * lyxfunc.C: removed #if 0 unused code
12380 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12382 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12384 * text2.C (SetSelection): added a BufferView * parameter
12386 2001-02-13 Juergen Vigna <jug@sad.it>
12388 * lyxfunc.C (Dispatch): fixed protected blank problem.
12389 * BufferView2.C (protectedBlank): added LyxText * parameter.
12391 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12392 (AppendColumn): same as above for column_info.
12394 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12395 (moveCursorUpdate): use a LyXText param for support of InsetText.
12397 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12398 (tripleClick): ditto
12400 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12402 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12404 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12406 * text2.C (SetSelection): set correct update status if inset_owner
12407 (ToggleFree): ditto
12409 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12411 * tabular.C: remove some commented code.
12413 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12415 * BufferView_pimpl.C: call hideSplash()
12417 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12420 * bibforms.h: remove
12423 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12424 add LFUN_CHILD_CREATE
12426 * counters.h: fix tiny typo
12431 * lyx.C: move splash to frontends/xforms/
12433 * lyx_gui_misc.C: move Include and Bibform to frontends
12435 * lyxvc.h: clarify comment
12437 * vspace.C: tiny housekeeping
12439 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12441 * text.C (PrepareToPrint): RTL Fix.
12443 * paragraph.C (GetUChar): New method.
12444 (String): Use GetUChar.
12446 * buffer.C (asciiParagraph): Use GetUChar.
12448 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12450 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12452 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12455 * buffer.C: rename to getLogName(), handle
12456 build log / latex log nicely
12458 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12461 * MenuBackend.h: remove support for reference menuitem type.
12463 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12465 * BufferView_pimpl.C: housekeeping
12466 * BufferView_pimpl.h:
12471 * minibuffer.h: move Timeout GUI-I
12473 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12475 * lyxrc.C (read): Update converters data-structures.
12477 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12479 * LaTeX.h (operator!=): add operator != for Aux_Info
12481 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12483 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12485 * LaTeXLog.C: deleted, useful code moved to Buffer
12488 * buffer.C: new function getLatexLogName()
12494 * lyxfunc.C: use frontends for LaTeX and VC logs
12496 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12498 * LaTeX.h: yet another std:: that Allan forgot.
12500 * Variables.C (set): renamed from isset(), because this clashes
12501 with some HP-UX macros (grr).
12503 2001-02-06 Allan Rae <rae@lyx.org>
12505 * LaTeX.h: Another bug fix. Missing std:: this time.
12507 2001-02-04 Allan Rae <rae@lyx.org>
12509 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12510 floats problem. I've left it commented out because it's not quite
12511 correct. It should also test that the current object is a table or
12512 figure inset. But I haven't gotten around to figuring out how to do
12513 that. I *think* it'll be something like: "table" == inset.type()
12515 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12518 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12520 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12521 all the citation/databases/styles in the auxilary file.
12522 (run): Rerun latex if there was a babel language error.
12524 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12526 * text.C (Backspace): Preserve the font when changing newline char
12528 (BreakParagraph): If the cursor is before a space, delete the space.
12530 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12532 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12534 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12535 new argument (code).
12536 (ChangeCitationsIfUnique): New method.
12538 * paragraph.C (GetPositionOfInset): Handle bibkey.
12540 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12542 * BufferView_pimpl.h: change type of Position::par_pos to
12543 LyXParagraph::size_type.
12545 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12547 * BufferView_pimpl.C (savePosition, restorePosition): Write
12548 messages to minibuffer.
12550 2001-01-28 José Matos <jamatos@fep.up.pt>
12552 * buffer.C (makeDocBookFile): adds support for document language.
12553 A silly restriction on the name of LatexCommand types where removed.
12554 Added support for CDATA sections, allows to chars unescaped, used
12555 among others in code, to avoid escape < and >.
12557 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12559 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12560 saved positions instrad of a stack. Furthermore, a position is
12561 stored using paragraph id/paragraph position.
12563 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12564 Remove LFUN_REF_BACK.
12566 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12568 * converter.C (dvipdfm_options): New method.
12570 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12572 * vspace.C (isValidLength): Fix for empty input string.
12574 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12576 * LyXAction.C (init): change description of LFUN_FIGURE to
12579 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12581 * LaTeX.C: add using directive
12583 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12585 * MenuBackend.C (expand): Fix the sorting of the formats.
12587 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12589 * lyx_main.C: tiny error message fix
12591 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12594 calling fl_initialize(). This fixes the problem with ',' as
12595 decimal separator in text files.
12597 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12599 * trans.C (process): Fix the keymap bug.
12601 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12603 * LaTeX.C (scanAuxFiles): New method. Provides support for
12604 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12605 (scanLogFile) Scan for "run BibTeX" messages.
12607 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12608 OT1 font encoding. Also, load the aecompl package if the ae
12611 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12613 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12615 * texrow.C (increasePos): turn two error messages into debug
12618 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12620 * LaTeX.C (scanAux): Handle the \@input macro.
12621 (runBibTeX): Use scanAux().
12623 * language.C (latex_options_): New field.
12625 * LaTeXFeatures.C (getMacros): Add language macros.
12627 * buffer.C (makeLaTeXFile): Small fix.
12629 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12631 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12633 * text2.C: add a using directive.
12635 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12640 * lyxfunc.C: kill LyXBell.
12642 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12644 * text.C (IsBoundary): Remove the error message
12646 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12648 * lyxrc.C (setDefaults): Correct initialization value for
12651 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12653 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12656 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12657 and GotoNextNote().
12659 * src/LyXAction.C: Added reference-next.
12661 * text.C (InsertChar): Use contains instead of strchr.
12663 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12665 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12667 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12668 alignment commands (when needed).
12670 * text.C (InsertChar): Add ':' to number separator chars.