1 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3 * boost.C (assertion_failed): use lyx::support::abort instead of
6 2003-09-10 Angus Leeming <leeming@lyx.org>
8 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
11 2003-09-09 Angus Leeming <leeming@lyx.org>
13 134 files throughtout the source tree: replace 'using namespace abc;'
14 directives with the appropriate 'using abc::xyz;' declarations.
16 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
18 * boost.C (emergencyCleanup): moved here from LAssert.c
19 (assertion_failed): new function, called by BOOST_ASSERT
21 * several files: change Assert to BOOST_ASSERT
23 2003-09-09 Angus Leeming <leeming@lyx.org>
25 * buffer.[Ch]: Add an Impl class and move Buffer's member
26 variables into it. As a result move several header files out of
29 Add header files to lots of .C files all over the tree as a result.
31 2003-09-09 Angus Leeming <leeming@lyx.org>
33 * buffer.[Ch]: make Buffer's member variables private. Add
36 Lots of changes all over the tree as a result.
38 2003-09-08 Angus Leeming <leeming@lyx.org>
40 * graph.C: #include <config.h>.
42 2003-09-08 Angus Leeming <leeming@lyx.org>
75 * toc.C: remove redundant using directives.
77 2003-09-07 Angus Leeming <leeming@lyx.org>
79 * LaTeXFeatures.h: remove #include "support/types.h".
80 * ToolbarBackend.h: remove #include <algorithm>.
81 * changes.h: remove #include <ctime>.
82 * debug.h: remove #include <iosfwd>.
83 * graph.h: remove #include "support/std_string.h".
84 * lyx_main.h: remove #include <csignal>.
85 * lyxlex_pimpl.h: remove #include <fstream>.
86 * sgml.h: remove #include <algorithm>, <utility>.
87 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
89 2003-09-07 Angus Leeming <leeming@lyx.org>
91 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
93 * converter.h: forward declare LatexRunParams.
94 * encoding.h: remove #include "lyxrc.h".
95 * lyxtext.h: remove #include "LColor.h".
96 * lyxtextclass.h: remove #include "support/types.h".
97 * trans.h: remove #include "tex-accent.h".
98 * trans_mgr.h: remove #include "tex-accent.h".
99 * insets/inset.h: remove #include "support/types.h", <vector>.
100 * insets/insetcollapsable.h: remove #include "LColor.h".
101 * insets/insetinclude.h: remove #include "dimension.h".
102 * insets/insetlatexaccent.h: remove #include "dimension.h".
103 * insets/insetoptarg.h:: remove #include "insettext.h".
104 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
106 * insets/renderers.h: add #include "dimension.h".
107 * insets/updatableinset.h: add #include "support/types.h".
109 * many .C files: Associated changes.
111 2003-09-06 Angus Leeming <leeming@lyx.org>
113 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
114 inside testInvariant.
116 * PrinterParams.C: new file.
117 * PrinterParams.[Ch]: move the function bodies out of line.
119 2003-09-06 Angus Leeming <leeming@lyx.org>
121 * ParagraphParameters.h: forward declare ParameterStruct rather than
122 including its header file.
123 (depth): moved out-of-line.
125 2003-09-06 Angus Leeming <leeming@lyx.org>
127 * BufferView_pimpl.h:
130 * lyxfunc.h: forward declare LyXKeySym rather than
131 #include "frontends/LyXKeySym.h".
133 * BufferView_pimpl.C:
136 * lyxfunc.C: associated changes.
138 2003-09-06 Angus Leeming <leeming@lyx.org>
140 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
141 As a result, can remove the #include "insets/inset.h" from BufferView.h
143 2003-09-06 Angus Leeming <leeming@lyx.org>
145 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
146 As a result, can remove the #include "insets/inset.h" from BufferView.h
148 2003-09-06 Angus Leeming <leeming@lyx.org>
154 * bufferview_funcs.C:
155 * BufferView_pimpl.C:
160 * ParagraphParameters.C:
165 * frontends/controllers/ControlDocument.C:
166 * insets/insetcaption.C: rearrange the #includes into some sort of
169 * buffer.h: remove #includes ErrorList.h, undo.h
171 2003-09-06 Angus Leeming <leeming@lyx.org>
173 * support/types.h: add a 'depth_type' typedef, used to store the
174 nesting depth of a paragraph.
177 * ParameterStruct.h: use this lyx::depth_type typedef rather than
182 * ParagraphParameters.h:
183 * sgml.h: use lyx::depth_type rather than Paragraph or
184 ParameterStruct's depth_type.
187 * paragraph_funcs.h: no need to #include paragraph.h anymore.
190 * BufferView_pimpl.C:
192 * ParagraphParameters.C:
195 * bufferview_funcs.C:
202 * frontends/LyXView.C:
203 * frontends/controllers/ControlDocument.C:
204 * frontends/controllers/ControlErrorList.C:
205 * insets/insetbibitem.C:
206 * insets/insetbranch.C:
207 * insets/insetcaption.C:
208 * insets/insetcollapsable.C:
211 * insets/insetfloat.C:
212 * insets/insetfoot.C:
213 * insets/insetfootlike.C:
214 * insets/insetnewline.C:
215 * insets/insetquotes.C:
216 * insets/insettabular.C:
217 * insets/insettext.C:
218 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
220 * frontends/controllers/ControlChanges.C: #include "changes.h".
222 2003-09-06 Angus Leeming <leeming@lyx.org>
224 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
225 #including paragraph.h.
228 * RowList.h: deleted. Superfluous.
238 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
240 * paragraph.h: don't forward declare ParagraphList.
243 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
244 rather than ParagraphList.h. paragraph.h is still needed for the
245 Paragraph::depth_type parameters.
247 * textcursor.h: enable it to compile stand-alone in light of the
250 * bufferview_funcs.C:
262 * frontends/controllers/ControlParagraph.C:
263 * frontends/controllers/ControlTabular.C:
264 * insets/insetmarginal.C:
265 * insets/insetminipage.C:
266 * insets/insetnote.C:
267 * insets/insetoptarg.C: add header files needed to compile again.
269 2003-09-06 Angus Leeming <leeming@lyx.org>
271 * RowList_fwd.h: new file, forward-declaring Row rather than
277 * insets/insettext.h: use it instead of RowList.h
279 * bufferview_funcs.C:
286 * text3.C: #include "RowList.h".
288 2003-09-05 Angus Leeming <leeming@lyx.org>
290 * factory.C (createInset):
291 * vspace.C (c-tor): replace sscanf call with an istringstream.
292 * ispell.C: re-add missing HP/UX headers.
293 * lyxserver.C: re-add missing os2 headers.
295 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
304 * text3.C: re-add missing system headers, needed for 2.95.2.
306 2003-09-05 Angus Leeming <leeming@lyx.org>
308 Changes most place everywhere due to the removal of using directives
309 from support/std_sstream.h.
311 2003-09-05 Angus Leeming <leeming@lyx.org>
313 Replace LString.h with support/std_string.h,
314 Lsstream.h with support/std_sstream.h,
315 support/LIstream.h with support/std_istream.h,
316 support/LOstream.h with support/std_ostream.h.
318 Changes resulting throughout the tree.
320 2003-09-05 Angus Leeming <leeming@lyx.org>
322 * sgml.h: ensure that the header file can be compiled stand-alone.
323 * *.C: strip out redundant #includes. (320 in total.)
325 2003-09-04 Angus Leeming <leeming@lyx.org>
327 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
328 here (from getPackages).
330 * debug.[Ch]: add a new EXTERNAL tag.
332 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
334 * text2.C (cursorEnd): simplify
336 (getColumnNearX): adjust
338 * text.C (computeBidiTables): adjust
341 * rowpainter.C (paintChars): adjust
342 (paintSelection): adjust
343 (paintChangeBar): adjust
346 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
348 (numberOfSeparators): adjust
350 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
356 * text3.C: Restricts the mouse click functionality
357 of insets like bibtex, include, toc and floatlist to the visible
358 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
359 up the dialogs. Cursor has to be in front of the inset (i.e.
360 start of row) for this to function.
362 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
364 * bufferview_funcs.C (currentState): output row information
366 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
368 * bufferview_funcs.C (currentState): output paragraph position
370 2003-09-04 Angus Leeming <leeming@lyx.org>
372 * FloatList.h: move out #include "Floating.h".
373 * LaTeX.h: move out #include "DepTable.h".
374 * LyXAction.h: move out #include "funcrequest.h".
375 * buffer.h: move out #include "author.h", "iterators.h".
376 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
377 * lyx_main.h: move out #include "errorlist.h".
378 * lyxfunc.h: move out #include "FuncStatus.h".
379 * lyxtext: move out #include "lyxcursor.h".
380 * paragraph_pimpl.h: move out #include "counters.h".
382 2003-09-03 Angus Leeming <leeming@lyx.org>
384 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
385 preamble_snippets list, enabling us to add snippets to the preamble only
386 if the snippet was not there already.
388 2003-09-04 Angus Leeming <leeming@lyx.org>
390 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
392 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
394 * lyxfunc.C (dispatch): if fitCursor did something be sure to
397 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
399 * BranchList.C: point fix, earlier forgotten
401 2003-09-02 Angus Leeming <leeming@lyx.org>
403 * box.C (contains): renamed from 'contained' after a fantastic
406 2003-09-02 John Levon <levon@movementarian.org>
412 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
414 2003-09-02 John Levon <levon@movementarian.org>
416 * text2.C: simplification of cursorEnd(), including partial
419 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * buffer.C (readFile): add a space
423 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
425 * BufferView_pimpl.C (update): remove bogus fitCursor() call
427 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
429 * buffer.C (readFile): new function, take a filename and a
430 ParagraphList::iterator
432 (readFile): adjust, make it private. don't use setStream, make
433 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
434 always contain the filename.
436 * BufferView.C (insertLyXFile): simplify and make it work for
439 2003-08-30 John Levon <levon@movementarian.org>
441 * Makefile.am: fix dist (from Kayvan)
443 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
445 * most files: change to use const Buffer refs
447 2003-08-27 André Pönitz <poenitz@gmx.net>
449 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
450 on top of ownerPar().
452 2003-08-27 John Levon <levon@movementarian.org>
454 * funcrequest.C: properly initialise POD members
456 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
458 * lyxtext.h (top_y): move top_y from here
463 * BufferView_pimpl.[Ch]: to here
464 * frontends/screen.C:
465 * insets/insettabular.C:
466 * insets/insettext.C: adjust
467 * rowpainter.[Ch] (paintRows): remove LyXText & argument
469 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
472 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
474 2003-08-26 André Pönitz <poenitz@gmx.net>
476 * paragraph_func.[Ch] (outerPar): new function
482 * text2.C: remove Inset::par_owner
484 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
489 * text2.C: eliminates the needFullRow/display() stuff
490 altogether, putting the logic in metrics/draw in the insets.
492 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
494 * text2.C (redoParagraphInternal, redoParagraphs):
495 * text.C (redoParagraph): add a call to updateRowPositions at the
496 end of each 'metrics-like' call. Remove all others.
497 (getRow): remove the 'y-computing' version.
498 (getRowNearY): do not compute nor return the real y. Solve the
499 'y < 0' problem and simplify.
501 2003-08-22 Angus Leeming <leeming@lyx.org>
503 * *.[Ch]: clean-up of licence and author blurbs.
504 Also move config.h out of a few .h files and into a few .C files.
506 2003-08-22 André Pönitz <poenitz@gmx.net>
508 * lyxrow.[Ch]: add x_ and *fill_ members
513 * text2.C: adjust/remove prepareToPrint() calls
515 2003-08-22 André Pönitz <poenitz@gmx.net>
517 * lyxrow.[Ch]: add end_ member
519 * lyxrow_funcs.C: use LyXRow::end_
521 * lyxtext.h (singleWidth): add LyXFont parameter
524 * text2.C: adjust LyXText::singleWidth() calls
526 * text.C (redoParagraph): simplify row breaking logic
529 2003-08-19 André Pönitz <poenitz@gmx.net>
531 * funcrequest.C: initialize button_ member
534 * rowpainter.[Ch]: interface consolidation
536 2003-08-18 André Pönitz <poenitz@gmx.net>
539 * BufferView_pimpl.C:
543 * text3.C: remove LyXScreen::draw() and fitCursor calls
545 * BranchList.h: remove spurious semicolons
547 * MenuBackend.C: fix branchlist related crash
549 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
561 * text3.C: implements the 'branch inset'
562 idea. This allows the output of various versions of a document
563 from a single source version, selectively outputing or suppressing
564 output of parts of the text.
565 This implementation contains a 'branch list editor' in a separate
566 tab of the document settings dialog. Branches are user definable
567 and have a "display colour" to distinguish them on-screen.
569 ColorHandler was somewhat cleaned up.
570 (1) make possible a dynamically growing LColor list by allowing
571 the graphic context cache to grow along (vector);
572 (2) eliminate an IMHO unnecessary step in colour allocation.
574 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
576 * BufferView_pimpl.C: compile fix
578 2003-08-15 André Pönitz <poenitz@gmx.net>
580 * rowpainter.C: remove extra metrics calls
582 * lyxtext.h: merge the two constructors into a single one,
583 pass reference to owner's par list
585 * BufferView_pimpl.C:
589 2003-08-15 André Pönitz <poenitz@gmx.net>
599 * text_funcs.C: split LyXText::rowlist_ into individual
600 Paragraph::rows_ chunks
603 * BufferView_pimpl.[Ch]:
606 * text3.C: remove toggleSelection()
608 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
610 * bufferlist.C: beautify two alerts (shorter text of buttons)
611 * buffer.C: Remove redundant ' ' from message
613 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
614 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
615 rename VALIGN_CENTER to VALIGN_MIDDLE
617 2003-08-11 André Pönitz <poenitz@gmx.net>
619 * lyxtext.h (getPar):
620 * text.C: new function
622 2003-08-11 André Pönitz <poenitz@gmx.net>
625 * tracer.[Ch]: remove unneeded files
627 * InsetList.[Ch]: remove resizeInsetsLyXText()
632 * text3.C: merge insertParagraphs() and appendParagraph()
633 remove breakAgain(), update()
635 * BufferView_pimpl.[Ch]:
636 * bufferview_funcs.[Ch]:
640 * tabular.C: adjust after text & InsetList changes.
642 2003-08-08 André Pönitz <poenitz@gmx.net>
644 * text.C (insertChar, backspace): replace rowlist fiddling
645 with rebreak of full par
648 * text.C (breakAgainOneRow, redoHeightOfParagraph,
649 checkParagraph, updateInset): removed
651 2003-08-07 André Pönitz <poenitz@gmx.net>
654 * text3.C: merge some LFUN handlers, remove dead code
656 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
660 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
662 * text2.C (DEPM): fix part of bug 1255 and 1256
664 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * BufferView_pimpl.C (workAreaDispatch): change to use
667 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
668 that are no mouse related.
670 2003-08-05 André Pönitz <poenitz@gmx.net>
673 * BufferView_pimpl.[Ch]:
674 * bufferview_funcs.C:
676 * text3.C: rip out "deep update"
678 * textcursor.[Ch] (last_sel_cursor): remove unused member
680 2003-08-04 André Pönitz <poenitz@gmx.net>
683 * BufferView_pimpl.[Ch]:
684 * ParagraphParameters.C:
685 * bufferview_funcs.C:
691 * text3.C: replace "complicated" BufferView::update(...) calls with
694 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
696 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
698 * Makefile.am (lyx_SOURCES): add paper.h
700 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
702 * Makefile.am: move things around so that both lyx-qt and
703 lyx-xforms can be built (according to --with-frontend). Then lyx
704 is a symbolic link to lyx-[firstfrontend]
706 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
708 * Always use std::endl with lyxerr
710 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
712 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
714 2003-08-01 André Pönitz <poenitz@gmx.net>
717 * BufferView_pimpl.[Ch]:
719 * text3.C: merge BufferView::repaint() and BufferView::update()
721 2003-08-01 José Matos <jamatos@lyx.org>
723 * buffer.[Ch]: file_format is no longer a buffer data element.
725 2003-08-01 André Pönitz <poenitz@gmx.net>
730 * text2.C: make redoParagraph more independent of current cursor
732 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
734 * text2.C: remove unneeded members
736 2003-07-30 André Pönitz <poenitz@gmx.net>
738 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
740 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
741 create a single function...
743 * paragraph_funcs.C (moveItem): ... here.
746 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
748 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
750 * LColor.[Ch]: Add comment and greyedout logical colors.
752 2003-07-30 André Pönitz <poenitz@gmx.net>
754 * tabular.C: don't use Assert too heavily. This crashes where it
757 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
759 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
760 is disabled (bug 1232)
762 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
764 * factory.C: limited 'arg' scope
766 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
768 * factory.C: fixed Note submenu issues
770 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
772 * factory.C: submenu for Note/Comment/Greyedout
774 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
777 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
779 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
782 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
783 greyedout. Patch provided by Jürgen Spitzmüller.
785 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
787 * kbmap.C (read): fix error message when reading bind files
789 2003-07-29 Angus Leeming <leeming@lyx.org>
791 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
792 certainly does not do what it purports to do. I am doing it, and
793 us, a favour by killing it.
795 2003-07-28 José Matos <jamatos@lyx.org>
797 * buffer.C (readBody, do_writeFile):
798 * paragraph.C(readParagraph): \end_document replaces \the_end.
800 2003-07-29 André Pönitz <poenitz@gmx.net>
803 * BufferView_pimpl.[Ch]:
807 * textcursor.[Ch]: remove toggleToggle & Co
809 2003-07-28 José Matos <jamatos@fep.up.pt>
811 * buffer.C (readParagraph):
812 * params_func (readParToken, readParagraph):
813 * paragraph.C (write): \layout -> \begin_layout.
815 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * lyxlex_pimpl.C (setFile): clean up slightly.
819 * bufferparams.h: add compressed var
821 * buffer_funcs.C (readFile): adjust for LyXLex change
822 (newFile): ditto + simplify
824 * buffer.C (writeFile): handle writing of compressed files
826 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
827 Check if the file is compressed and set a bufferparm if so.
829 * Makefile.am (lyx_LDADD): remove explicit -lz
831 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
834 makeDocBookFile): put the real LyX version in the first line of
838 * version.C.in: remove lyx_docversion
840 * tabular.C (write_attribute): add a template-based version to
843 2003-07-28 André Pönitz <poenitz@gmx.net>
848 * text3.C: use doubles again for x-coordinates. They are needed.
850 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * messages.C (getLocaleDir): use lyx_localedir()
854 * lyxlex_pimpl.C (setFile): compress stuff
856 * buffer.C (writeFile): add some compression stuff
857 (do_writeFile): new func, dont call expliti close... will this
860 * Makefile.am (lyx_LDADD): add -lz
862 2003-07-28 José Matos <jamatos@fep.up.pt>
864 * buffer.C: increment file format.
865 * paragraph_funcs (readParagraph, readParToken):
866 * paragraph.C (readParagraph): add \end_layout.
868 2003-07-27 Angus Leeming <leeming@lyx.org>
870 * Makefile.am: remove special casing for configure-time setting of
871 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
873 * lyx_main.C (init): remove all Jean-Marc's magic setting of
874 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
876 2003-07-26 André Pönitz <poenitz@gmx.net>
878 * paragraph_func.[Ch]:
879 * paragraph.C (realizeFont): inline it whereever it is used
884 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
887 2003-07-26 André Pönitz <poenitz@gmx.net>
891 * text2.C: get rid of LyXText::need_break_row
893 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
895 * toc.[Ch]: put namespace toc inside namespace lyx
897 * MenuBackend.C (expandToc2): adjust for lyx::toc
900 * lyxfunc.C (dispatch): adjust for lyx::find
902 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
903 lyx::find instead. Reorganize a bit.
904 (LyXReplace): rename to replace
905 (LyXFind): rename to find
907 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
910 2003-07-26 André Pönitz <poenitz@gmx.net>
912 * text.C (setHeightOfRow): restrict scope of temporary variable
914 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
915 code (never has been used?)
917 2003-07-27 Asger Alstrup <alstrup@local>
919 * text.C (fill): Optimise algorithm to exploit that we can reuse
920 the LyXFont for many characters.
921 (setHeightOfRow): Same thing.
922 (rowBreakPoint): Same thing.
924 2003-07-26 Asger Alstrup <alstrup@local>
926 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
928 * text.C (singleWidth): Spurious font copying in hot-spot
929 singleWidth avoided. Reorder tests for arabic for efficiency.
931 * text.C (fill): handle empty paragraphs better.
933 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * encoding.h: add includes
938 * lyxrc.C: remove reading of bind files
940 * lyx_main.C (init): setup bindings and menus only if we have a
943 * kbmap.C (read): new method. Do the actual reading of bind
946 * converter.C (dvipdfm_options):
949 (output): adapt PAPER_* enums.
951 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
953 * bufferparams.h: remove paper-related enums from there
955 * paper.h: New file. A trivial header file to hold paper-related
956 enums. It should later expand to contain many paper-related
959 * lyxrc.C: declare extern displayTranslator
961 2003-07-27 José Matos <jamatos@fep.up.pt>
963 * tabular.[Ch] (linuxdoc): add support for tables and figures
966 2003-07-27 José Matos <jamatos@fep.up.pt>
968 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
969 consistency in both functions.
970 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
972 2003-07-26 Asger Alstrup <alstrup@local>
974 * rowpainter.C (paintRows): Change algorithm to work directly on
975 the insets rather than asking every character in the document
976 whether its an inset.
978 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
980 * buffer.C (openFileWrite): factorize some code
982 2003-07-26 Angus Leeming <leeming@lyx.org>
985 * lyx_main.[Ch]: replace occurances of system_tempdir with
988 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * rename Inset to InsetOld
992 2003-07-25 Asger Alstrup <alstrup@diku.dk>
994 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
995 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
996 which I think is a bit clearer. EDIT is gone, since it was
997 premature optimisation, and broken for mathed anyway.
998 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
999 with cursor positioning in insets as well (math insets still do not
1000 work, but that's a different story anyway.) It mysteriously
1001 crashes sometimes with undo in the first paragraph, but I'm fairly
1002 confident that this is a compiler bug.
1004 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1006 * paragraph.C (Paragraph): adjust for new clone return type
1008 (copyIntoMinibuffer): ditto
1010 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1012 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1013 by not having a special case, and always doing a full rebreak of
1014 the document after undo.
1016 2003-07-23 Angus Leeming <leeming@lyx.org>
1018 * factory.C (createInset): InsetExternal::setParams now takes a
1021 2003-07-23 Angus Leeming <leeming@lyx.org>
1023 * factory.C (createInset): changed interface to the external and
1024 graphics mailers' string2params functions.
1026 2003-07-23 Angus Leeming <leeming@lyx.org>
1028 * factory.C (createInset): pass a
1029 Buffer const * parameter to InsetExternalMailer's string2params.
1031 2003-07-22 John Levon <levon@movementarian.org>
1033 * Thesaurus.h: include the right aiksaurus header
1035 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1037 * MenuBackend.C (expand): check menu shortcuts unconditionally
1039 2003-07-21 Angus Leeming <leeming@lyx.org>
1041 * factory.C (createInset): pass a
1042 buffer_path parameter to InsetGraphicsMailer's string2params.
1044 2003-07-21 Angus Leeming <leeming@lyx.org>
1046 * BufferView_pimpl.C (buffer):
1049 * lyxfunc.C (dispatch):
1050 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1051 rather than the grfx shortcut.
1053 2003-07-21 André Pönitz <poenitz@gmx.net>
1055 * rowpainter.C: remove unused variables
1058 * tabular_funcs.h: move to tabular.C
1059 * Makefile.am: adjust
1061 * tabular.[Ch]: basic optical cleaning
1063 * author.h: pass references, not values
1065 2003-07-18 André Pönitz <poenitz@gmx.net>
1073 * text3.C: two-phase drawing for InsetText and InsetTabular
1074 some float -> int changes.
1076 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1078 * lyx_main.C: fix the fix
1080 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1082 * lyx_main.C: fix a crash in batch mode if no files specified
1085 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1087 * format.[Ch] (papersize): moved to BufferParams
1088 * converter.[Ch] (dvips_options): moved to BufferParams
1089 (dvipdfm_options): moved to anon namespace
1090 * bufferparams.[Ch]: added above functions.
1092 2003-07-17 André Pönitz <poenitz@gmx.net>
1096 * text2.C: don't call inset->update() anymore
1098 * metricsinfo.[Ch]: add convenience constructor
1100 2003-07-16 André Pönitz <poenitz@gmx.net>
1105 * text2.C: replace the LyXCursor::irow_ member with
1106 on-demand computation of the value
1108 2003-07-16 John Levon <levon@movementarian.org>
1110 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1112 2003-07-15 André Pönitz <poenitz@gmx.net>
1115 * text2.C: remove no more needed refresh_row
1117 2003-07-15 André Pönitz <poenitz@gmx.net>
1122 * text3.C: refresh_status tristate -> need_update bool
1124 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1126 * lyxtext.h (init): remove reinit argument (act as if always true)
1127 * text2.C: adjust to that
1129 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1131 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1132 * text3.C: use it to delete selections in some cases
1133 (bugs 441, 673, 702, 954).
1135 2003-07-14 André Pönitz <poenitz@gmx.net>
1137 * rowpainter.[Ch]: reduce interface
1139 2003-07-14 André Pönitz <poenitz@gmx.net>
1141 * BufferView_pimpl.C:
1142 * text2.C: adjust after removing unused BufferView * argument
1144 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1146 * text2.C (init): fix a crash fired on resize
1148 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1150 * buffer.[Ch]: added new closing signal
1151 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1152 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1153 BufferView::Pimpl via the closing the signal
1155 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1157 * buffer.[Ch]: take out all bv-related from buffer
1159 * BufferView_pimpl.[Ch]: connect to new signals
1160 * CutAndPaste.C: removed useless asserts
1161 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1164 * lyxfunc.C: moved view-related funciontality from vc here
1165 * paragraph.C: removed outdated comments
1168 2003-07-10 André Pönitz <poenitz@gmx.net>
1170 * BufferView_pimpl.C:
1174 * text2.C: remove InsetText::InnerCache, clean up consequences
1176 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1178 * ispell.C: fix two typos in error messages
1180 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1182 * Extend Note inset to other forms of annotation like Comment
1183 and Greyedout. Right button click gives dialog.
1185 Files modified or added (+):
1189 * ControlNote.[Ch] +
1191 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1192 frontends/controllers
1196 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1198 * aspell.C: add missing namespace lyx::support
1200 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1202 * BufferView.[Ch] (newFile): Add
1203 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1204 * LaTeX.[Ch] (message): added this signal and use it
1205 * buffer.[Ch] (busy, message): added these signals and use them
1206 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1210 * importer.C: use buffer signals instead of direct bv calling
1211 * lyx_cb.[Ch] (ShowMessage): removed
1214 * paragraph_funcs.C:
1215 * text2.C: use buffer signals
1217 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * introduce namespace lyx::graphics
1221 2003-07-02 André Pönitz <poenitz@gmx.net>
1223 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1225 2003-07-01 André Pönitz <poenitz@gmx.net>
1232 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1233 text*.C to text_func.C
1235 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1237 * introduce namespace lyx::support
1239 2003-06-30 André Pönitz <poenitz@gmx.net>
1244 * text.C: re-enable --with-included-string
1246 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * textcursor.C: add <config.h>
1250 * text.C (getWord): remove const from word_location arg
1252 * lyxvc.C (getLogFile): fix const type order
1254 * lyxtext.h: remove const from word_location arg, add arg name
1256 * lyxlayout.h: currect type on labeltype.
1258 * importer.C: correct \file
1260 * converter.C (intToFormat): use std:: on ret val, ws changes
1262 * bufferlist.h: correct \file
1264 * buffer.C (makeLinuxDocFile): fix const type order
1265 (makeDocBookFile): ditto
1266 (fillWithBibKeys): use std:: on stdlib args.
1268 * CutAndPaste.C: fix authors.
1269 (availableSelections): use std:: on return vector
1271 2003-06-27 André Pönitz <poenitz@gmx.net>
1273 * BufferView_pimpl.C:
1274 * bufferview_funcs.C:
1282 * text3.C: remove LyXCursor::row_ member
1285 * text.C: rename fullRebreak() to partialRebreak() and implement
1286 a fullRebreak() that really bereks fully
1288 * textcursor.h: new struct for cursor-related data
1290 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1292 * lyx_main.C (LyX): get full path of document loaded on the
1295 2003-06-26 André Pönitz <poenitz@gmx.net>
1297 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1298 remove unused/broken operator>,<,>=.
1300 * text.C: remove only use of broken operator<= in an Assert().
1302 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1304 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1305 moved errorlist_.clear to showErrorList
1307 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1309 * converter.C (scanLog, runLaTeX):
1310 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1311 move the bv->showErrorList call to the callers
1312 * lyxfunc.C: i.e. here...
1314 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1315 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1316 namespace, the second to...
1317 * buffer_funcs (BufferFormat, parseErrors): added
1318 * errorlist.C (ErrorList(TeXErrors const &)): removed
1320 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1324 2003-06-24 "Garst R. Reese" <reese@isn.net>
1328 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1330 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1332 * version.C.in: change docversion to 1.4
1334 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1336 * buffer.C: fix a bug just introduced
1338 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1340 * buffer.[Ch]: added the parseError signal and use it, removed
1342 * BufferView.[Ch] (addError): moved to ...
1343 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1344 to the Buffer::parseError signal to catch (guess what) parse errors
1345 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1347 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1349 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1350 ability to create a buffer and to return an existing one from
1351 the list. Moved these functions to...
1352 * buffer_funcs.[Ch]: added
1353 * BufferView.[Ch] (loadLyXFile): added
1354 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1355 job removed from bufferlist::loadLyXFile.
1356 * buffer.C (setReadOnly): make it work without view
1357 (i.e added an if (users))
1359 2003-06-19 Angus Leeming <leeming@lyx.org>
1362 * LyXAction.C (init):
1363 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1364 with LFUN_DIALOG_SHOW <name> <data>.
1366 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1368 * CutAndPaste.C (availableSelections): small compilation fix for
1369 ancient (gcc 2.9x) compilers
1371 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * text3.C (cursorNext): add tmp var
1375 * text2.C (updateCounters): for function calling out of for clause
1376 (replaceSelectionWithString): ditto
1377 (insertStringAsParagraphs): ditto
1378 (getColumnNearX): add tmp var
1379 (setCursorFromCoordinates): add tmp var
1380 (cursorDownParagraph): add tmp var
1381 (deleteEmptyParagraphMechanism): add tmp var
1383 * text.C (insertChar): add tmp var
1385 * rowpainter.C (paintDepthBar): add tmp var
1387 * CutAndPaste.C (availableSelections): potentially check all
1388 paragraphs in a cut to fill the shown strings.
1390 2003-06-18 André Pönitz <poenitz@gmx.net>
1392 * kbmap.[Ch]: use vector<> instead of list<>
1394 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1396 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1397 pasteSelection with index
1399 * text2.C (pasteSelection): modify, call pasteSelection with index
1401 * paragraph.C (asString): reimplement version with no interval to
1402 call the one with interval.
1404 * lyxtext.h: add index arg to pasteSelection
1406 * MenuBackend.C (MenuItem): handle PasteRecent
1407 (Menu::read::Menutags): add md_pasterecent
1409 (expandPasteRecent): new function
1412 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1414 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1416 (availableSelections): new function
1418 2003-06-17 Angus Leeming <leeming@lyx.org>
1420 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1422 2003-06-17 Angus Leeming <leeming@lyx.org>
1425 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1427 * lyxfunc.C (dispatch): invoke it.
1429 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * iterators.C (operator++, ParPosition): reintroduce some
1432 const_cast for the benefit of older compilers.
1434 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * text3.C (dispatch): do not modify clipboard when doing
1437 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1438 LFUN_DELETE_SKIP on a selection selection
1440 2003-06-16 André Pönitz <poenitz@gmx.net>
1446 * tabular.[Ch]: IU of clone() and getLabelList();
1448 2003-06-13 André Pönitz <poenitz@gmx.net>
1450 * tabular.h: compactification
1452 2003-06-12 André Pönitz <poenitz@gmx.net>
1456 * tabular_funcs.h: some renaming plus whitespace
1458 2003-06-12 André Pönitz <poenitz@gmx.net>
1461 * BufferView_pimpl.C:
1467 * toc.C: Return a Paragraph & for ParIterator::operator*()
1469 2003-06-11 John Levon <levon@movementarian.org>
1473 * ToolbarBackend.C: add "Toolbars" section and
1476 2003-06-10 Angus Leeming <leeming@lyx.org>
1479 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1481 * lyxfunc.C (dispatch): invoke it.
1483 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1485 * main.C: protect <ios> with HAVE_IOS
1486 (main): protect sync_with_stdio with HAVE_IOS
1488 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1490 * text2.C (cutSelection): adjust
1491 (pasteSelection): adjust
1493 * messages.C: handle get of empty string
1495 * main.C (main): use sync_with_stdio(false)
1497 * lyxfunc.C (dispatch): adjust
1499 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1500 (WriteAs): remove unneeded BufferView arg.
1502 * bufferparams.h: use correct types on papersize, papersize2 and
1505 * bufferparams.C (readToken): adjust for type
1506 (writeLaTeX): add missing cases to switch.
1508 * bufferlist.C (quitWriteBuffer): adjust
1511 * buffer.C (asciiParagraph): remove some commented code.
1513 * CutAndPaste.C: remove current_view extern variable.
1514 (cutSelection): add BufferParams arg.
1515 (eraseSelection): add BufferParams arg.
1516 (pasteSelection): add Buffer const & arg
1518 2003-06-07 John Levon <levon@movementarian.org>
1521 * paragraph_funcs.C:
1522 * paragraph_pimpl.C:
1526 * paragraph.C: allow InsetERT to freely space lines,
1527 and some consolidation of code
1529 2003-06-06 José Matos <jamatos@fep.up.pt>
1531 * buffer.C (makeDocBookFile): fix bug #821
1533 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1535 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1537 2003-06-04 Angus Leeming <leeming@lyx.org>
1539 * buffer.C: bump format to 224.
1541 2003-06-05 André Pönitz <poenitz@gmx.net>
1543 * text2.C (redoParagraphs): remove two const_cast<>
1545 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1547 * ParagraphList.h: remove last remnants of NO_STD_LIST
1549 2003-06-03 Angus Leeming <leeming@lyx.org>
1551 * factory.C (createInset): small change to the way InsetExternal's params
1554 2003-06-04 André Pönitz <poenitz@gmx.net>
1556 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1558 * paragraph_pimpl.h:
1559 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1561 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1563 * undo_funcs.C: make some simple cases of undo work again
1565 2003-06-03 John Levon <levon@movementarian.org>
1567 * ispell.C: HPUX doesn't have sys/select.h
1570 2003-06-03 John Levon <levon@movementarian.org>
1572 * CutAndPaste.C: update tabular and include inset
1577 * paragraph.C: remove owningBuffer(), don't pass Buffer
1580 * factory.C: insetGraphicsParams changed
1582 2003-06-02 John Levon <levon@movementarian.org>
1588 * text3.C: remove insetparent
1590 2003-06-02 John Levon <levon@movementarian.org>
1593 * buffer.C: fix inset_iterator.end(), move out of line
1596 2003-06-01 John Levon <levon@movementarian.org>
1598 * text3.C: use a proper cut/paste when doing inset
1599 insert (from Jürgen Spitzmüller)
1601 2003-06-01 John Levon <levon@movementarian.org>
1603 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1605 2003-05-30 André Pönitz <poenitz@gmx.net>
1607 * rowpainter.C: unify second drawing phase
1609 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * trans_mgr.C: remove one case of current_view
1613 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1615 * paragraph_funcs.h: remove paragraph.h include
1617 * paragraph.h: delete NO_STD_LIST stuff
1619 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1621 * buffer.h: remove paragraph.h include
1623 * ParagraphList.C: delete file
1625 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1627 * toc.C (getTocList): adjust
1629 * paragraph_pimpl.C (validate): adjust
1631 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1633 * paragraph.C (Paragraph): adjust
1634 (getPositionOfInset): use const_iterator, adjust
1635 (bibitem): use const_iterator, adjust
1636 (setInsetOwner): adjust
1638 * iterators.C (operator++): adjust
1640 * InsetList.[Ch]: Replace selfmade iterator with standard
1641 vector::iterator also introduce const_iterator. Remove getPos,
1642 getInset and setInset from InsetTable. Adjust accordingly.
1644 * BufferView.C (lockInset): adjust
1645 (ChangeInsets): adjust
1647 * tabular.[Ch]: delete commented same_id functions
1649 2003-05-28 John Levon <levon@movementarian.org>
1651 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1653 2003-05-28 André Pönitz <poenitz@gmx.net>
1655 * metricsinfo.[Ch]: remove 'fullredraw' member
1657 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1659 * lyxtextclass.C (operator): remove caching.
1661 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1665 * text2.C (cursorBottom): adjust
1666 (setCounter): use ParagraphList::find, adjust
1668 * text.C (workWidth): use ParagraphList::find, adjust
1670 * lyxcursor.C (LyXCursor): adjust
1672 * buffer.C (inset_iterator): adjust
1674 * ParagraphList.h: make iterator(value_type) private, make
1675 ParagraphList a friend of iterator.
1677 * ParagraphList.C (find): new function
1679 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1681 2003-05-27 André Pönitz <poenitz@gmx.net>
1683 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1685 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1687 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1689 2003-05-26 John Levon <levon@movementarian.org>
1691 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1693 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * remove same_id from function signatures, adjust.
1697 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1701 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1703 * paragraph.C (Paragraph): get rid of same_ids parameter
1705 * ParagraphList.C (insert): adjust
1708 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * paragraph_funcs.C (breakParagraph): adjust
1711 (breakParagraphConservative): adjust
1713 * buffer.C (readParagraph): adjust
1715 * ParagraphList.C (insert): take a reference instead of a pointer
1718 * paragraph.[Ch] (id): new function
1720 * bufferlist.C (newFile): adjust
1722 * ParagraphList.C (ParagraphList): adjust
1724 (push_back): take a reference instead of a pointer.
1726 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1728 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1731 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1732 set else use old code.
1734 * ParagraphList.C: remove all NO_NEXT code and only compile this
1735 code of NO_STD_LIST is set.
1737 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1739 * BufferView_pimpl.C:
1749 * graphics/GraphicsConverter.C:
1750 * graphics/PreviewLoader.C: header adjustment
1752 2003-05-23 Angus Leeming <leeming@lyx.org>
1754 * LaTeXFeatures.[Ch] (useBabel): new method.
1755 * bufferparams.C (writeLaTeX): use it.
1757 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * ParagraphList.h (set): remove unused function.
1761 2003-05-23 André Pönitz <poenitz@gmx.net>
1764 * BufferView_pimpl.C:
1768 * undo_funcs.C: setUndo reworked
1770 * iterators.[Ch]: add access to topmost ParagraphList
1772 * lyxtext.[Ch] (workWidth): add a const
1774 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1776 * texrow.[Ch] (increasePos): remove function
1777 * exporter.C (export): removed unused var and outdated comment
1779 2003-05-23 Angus Leeming <leeming@lyx.org>
1781 * latexrunparams.h: rename fragile as moving_arg.
1782 * paragraph.C (simpleTeXOnePar): ditto.
1783 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1785 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1789 (textUndoOrRedo): comment out a currently unused var.
1791 * paragraph.h (NO_NEXT): enable NO_NEXT
1793 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1795 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1797 * exporter.C (Export): adjust for removeAutoInsets removal.
1799 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1801 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1803 * BufferView.[Ch] (removeAutoInsets): delete function
1805 2003-05-22 Angus Leeming <leeming@lyx.org>
1807 * latexrunparams.h: add a free_spacing variable.
1809 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1810 to pass moving_arg, as the data is stored in runparams.fragile.
1812 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1813 to Inset::latexOptional or to simpleTeXOnePar.
1815 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1816 free_spacing arg to Inset::latexOptional.
1818 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1821 2003-05-22 Angus Leeming <leeming@lyx.org>
1823 * latexrunparams.h: add fragile and use_babel variables.
1825 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1826 * buffer.C (makeLaTeXFile): store this returned value in
1827 runparams.use_babel, thus passing it to the inset::latex methods.
1829 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1830 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1832 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1833 longer has a fragile arg, as it is stored in runparams.fragile.
1835 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1836 moving_arg parameter as the data is stored in runparams.fragile.
1838 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1839 a fragile parameter as the data is stored in runparams.fragile.
1841 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1845 2003-05-22 Angus Leeming <leeming@lyx.org>
1847 * latexrunparams.h: add a 'bool nice' which defaults to false.
1849 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1850 now encapsulated within runparams.
1852 * bufferlist.C (updateIncludedTeXfiles):
1853 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1855 2003-05-22 Angus Leeming <leeming@lyx.org>
1857 * latexrunparams.h: new file containing struct LatexRunParams.
1858 * Makefile.am: add new file.
1860 * LaTeX.[Ch] (c-tor, run):
1861 * buffer.[Ch] (makeLaTeXFile):
1862 * bufferlist.[Ch] (updateIncludedTeXfiles):
1863 * converter.C (convert, scanLog):
1864 * converter.[Ch] (runLaTeX):
1865 * exporter.C (Export):
1866 * paragraph.[Ch] (simpleTeXOnePar):
1867 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1868 * paragraph_funcs.[Ch] (latexParagraphs):
1869 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1870 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1871 pass around a LatexRunParams parameter.
1873 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * paragraph.[Ch]: remove unused constructor
1877 * ParagraphList.C (erase): new function, taking two iterators
1879 2003-05-22 André Pönitz <poenitz@gmx.net>
1881 * undo_funcs.C: remove duplicated code
1883 * iterator.[Ch]: operator=
1885 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1887 * tabular.C (SetMultiColumn): ws changes
1889 * rowpainter.C (paintFirst): get rid of a ->previous
1891 * lyx_cb.C (getPossibleLabel): parlist simplification
1893 * BufferView.C (ChangeInsets): simplify slightly.
1895 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1897 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1898 * lfuns.h: new LFUN_SPACE
1899 * lyxfunc.C: protected space has a new lfun
1900 * paragraph_funcs.C: read new space insets
1902 * factory.C: handle new space insets
1904 2003-05-22 André Pönitz <poenitz@gmx.net>
1907 * BufferView_pimpl.C:
1910 * undo_funcs.C: return a ParIterator from getParFromID.
1912 * iterators.[Ch]: add two const's
1914 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * toc.C (getTocList): adjust
1918 * iterators.[Ch]: rework for parlist
1920 * buffer.C (par_iterator_begin): adjust
1921 (par_iterator_end): adjust
1923 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1925 * BufferView.C (removeAutoInsets): adjust
1926 (ChangeInsets): adjust
1928 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1930 * text.C (top_y): fix bug 1110
1932 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1934 * errorlist.[Ch]: added
1937 * BufferView_pimpl.C:
1938 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1941 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1943 * Makefile.am: ensure that lyx is relinked upon changes to the
1944 various "convenience" libs.
1946 2003-05-20 Angus Leeming <leeming@lyx.org>
1948 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1949 files are compiled in alphabetical order again.
1951 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1953 2003-05-19 Angus Leeming <leeming@lyx.org>
1955 * gettext.[Ch]: remove "char const * _(char const *)".
1957 2003-05-19 André Pönitz <poenitz@gmx.net>
1959 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1968 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1970 2003-05-19 André Pönitz <poenitz@gmx.net>
1974 * lyxtextclass.[Ch]:
1976 * paragraph_funcs.[Ch]:
1978 * text3.C: more insetenv work
1980 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1982 * ParagraphParameters.C (params2string): small bug fixed
1984 2003-05-16 André Pönitz <poenitz@gmx.net>
1987 * bufferview_funcs.C: patch from Kornel Benko to prevent
1988 crash when _(...) is called twice in a statement
1990 2003-05-16 André Pönitz <poenitz@gmx.net>
1997 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1999 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2001 * lyx_main.C (init): remove spurious static_cast
2003 2003-05-14 André Pönitz <poenitz@gmx.net>
2005 * BufferView.C: fix format string
2007 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2009 * BufferView.[Ch] (insertErrors): removed
2010 * BufferView.[Ch] (showErrorList): added
2011 * buffer.C (runChkTeX):
2012 * converter.C (scanLog): call showErrorList instead of inserterrors
2014 2003-05-13 André Pönitz <poenitz@gmx.net>
2016 * BufferView_pimpl.C:
2018 * bufferview_func.C:
2025 * tabular_funcs.h: tostr() from its own header
2027 * ParagraphParameters.C:
2032 * text3.C: STRCONV()
2034 2003-05-12 André Pönitz <poenitz@gmx.net>
2037 * BufferView_pimpl.C:
2041 * ParagraphParameters.C:
2045 * bufferview_funcs.C:
2058 * paragraph_funcs.C:
2062 * text3.C: boost::format -> bformat all over the place
2065 2003-05-09 André Pönitz <poenitz@gmx.net>
2067 * LColor.[Ch]: Pimpl the #include <map> away
2069 2003-05-09 John Levon <levon@movementarian.org>
2071 * bufferlist.C: never remove emergency saves
2073 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * Makefile.am: better lib building
2077 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2081 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2082 (simpleTeXSpecialChars): adjust
2083 (simpleTeXSpecialChars): adjust
2084 * paragraph.C (simpleTeXOnePar): adjust
2085 * buffer.C (makeLaTeXFile): adjust
2087 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2089 * text2.C (changeDepth): parlist cleanup
2090 (getColumnNearX): ditto
2092 * rowpainter.C (getLabelFont): parlist cleanup
2094 * bufferlist.C (newFile): parlist cleanup
2096 * CutAndPaste.C (eraseSelection): parlist cleanup
2098 * BufferView_pimpl.C (trackChanges): parlist cleanup
2101 * BufferView.C (lockInset): parlist cleanup.
2102 (ChangeInsets): ditto
2104 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2106 * CutAndPaste.h: Update file header.
2108 * CutAndPaste.C: Update file header.
2109 Store the parts cut out of the Document in a limited_stack.
2110 (copySelection): adjust
2111 (pasteSelection): new function, takes the index in the limited stack.
2112 (nrOfParagraphs): adjust
2113 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2114 simplify error inset insertion.
2115 (checkPastePossible): adjust
2117 2003-05-06 John Levon <levon@movementarian.org>
2119 * text2.C: don't cast wrap inset to float
2121 2003-05-05 André Pönitz <poenitz@gmx.net>
2124 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2126 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2127 few naked Paragraph *.
2129 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2131 * bufferparams.C: Output warning if a document with missing
2132 TeX document class is loaded
2133 * exporter.C: Disable TeX exports if the document class is missing
2136 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2137 isTeXClassAvailable()
2139 2003-05-03 John Levon <levon@movementarian.org>
2142 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2143 explicit cursor show/hide
2145 * BufferView_pimpl.h:
2146 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2147 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2149 * lyxfunc.C: hide cursor before dispatching.
2154 * text3.C: remove explicit cursor hides
2156 2003-05-02 André Pönitz <poenitz@gmx.net>
2158 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2161 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2164 * text2.C: tiny whitespace
2166 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * undo_funcs.C: almost only ws changes.
2170 * ParagraphList.C (splice): just return if pl is empty.
2172 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * ParagraphList.C (splice): new function.
2176 * CutAndPaste.C (pasteSelection): use it
2178 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * CutAndPaste.C (pasteSelection): remove the last next and
2181 previous from this file.
2183 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * CutAndPaste.C (pasteSelection): more clean up, user proper
2186 ParagraphList functions for pasteing.
2188 * ParagraphList.C (insert): new function, three arg insert
2190 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * ParagraphList.C (insert): new function, three arg insert
2194 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2197 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2199 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2201 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2205 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2208 (copySelection): clean up a bit.
2209 (pasteSelection): use make_pair
2211 * ParagraphList.C (ParagraphList): implement copy constructor
2212 (operator=): implement, base on copy constructor.
2215 * paragraph.C (erase): return a bool
2217 * paragraph_pimpl.C (erasePos): remove function, move contents...
2218 (erase): ... here. Return a bool.
2219 (erase): call erase instead of erasePos.
2221 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2223 * ParagraphList.h: define PitPosPair
2224 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2225 ParagraphList, fix a bug on pasting multiple pars
2226 * text2.C: change interface to C&P
2228 2003-04-30 André Pönitz <poenitz@gmx.net>
2230 * undo_func.C: revert part of yesterday's patch 2
2232 2003-04-30 John Levon <levon@movementarian.org>
2234 * LColor.C: s/tabular/table/
2236 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * text3.C (dispatch): do not convert iterator -> pointer
2239 * undo_funcs.C (setCursorParUndo): ditto
2240 * text_funcs.C (transposeChars): ditto
2242 * text2.C (setLayout): ws changes only
2244 * text.C (breakParagraph): do not convert iterator -> pointer
2246 (acceptChange): ditto
2247 (rejectChange): ditto
2252 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2255 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2257 * text3.C (gotoInset): YABG (yet another bad getChar)
2259 2003-04-29 André Pönitz <poenitz@gmx.net>
2261 * paragraph.h: make operator= private unimplemented as long as
2264 * ParagraphList.C: whitespace
2267 * paragraph_pimpl.[Ch]:
2268 * paragraph_funcs.C:
2270 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2273 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2275 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2277 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2278 * paragraph.[Ch] (erase):
2279 * paragraph_pimpl.[Ch] (erase): change return type and value
2280 * text2.C (cutSelection): some rework
2282 2003-04-28 John Levon <levon@movementarian.org>
2284 * bufferlist.C: changes for unsaved changes dialog
2286 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2288 * bufferlist.C (newFile): set language (messages_) for new
2291 * buffer.C (readFile): ws changes only.
2293 2003-04-28 André Pönitz <poenitz@gmx.net>
2298 * BufferView_pimpl.C:
2299 * BufferView.C: getParFromID related ParagraphList::iterator changes
2301 2003-04-28 André Pönitz <poenitz@gmx.net>
2303 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2306 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * messages.C: remove one more localedir class variable.
2310 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * messages.C (getLocaleDir): singleton generation function
2314 (Messages): add a default constructor.
2316 * main.C (main): do not setup localedir here, do not call
2319 * gettext.C (_): use it.
2320 (gettext_init): delete funciton
2322 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2324 * gettext.C (getLyXMessages): new singleton generating function.
2326 * buffer.C (updateDocLang): adjust
2328 * Makefile.am (messages.o): add target
2329 (main.o): remove target
2331 2003-04-27 John Levon <levon@movementarian.org>
2336 * lyxvc.C: specify cancel button in Alert::prompt
2338 2003-04-26 John Levon <levon@movementarian.org>
2343 * LyXAction.C: add LFUN_INSET_SETTINGS
2345 * lyxfunc.C: don't enable tabular-feature when there's
2346 just any locking inset
2348 2003-04-26 John Levon <levon@movementarian.org>
2350 * bufferlist.C: re-add Cancel to buffer close question
2352 * lyxfunc.C: fix import UI a bit
2354 2003-04-25 John Levon <levon@movementarian.org>
2356 * gettext.C: remove the broken asserts for now
2358 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * messages.C: make case where setlocale cannot comply work better.
2362 * buffer.C (updateDocLang): new function
2363 (changeLanguage): use it
2366 * text2.C (setCounter): use B_ a bit.
2368 * lyxlayout.C (Read): be sure to trim the label strings.
2370 * messages.C (Messages): fix typo in comment
2372 * buffer.C (readFile): set message_ after file is loaded.
2373 (makeDocBookFile): remove double return
2374 (changeLanguage): reset message_ upon language change.
2375 (B_): new func, use this to get translated buffer strings.
2377 * main.C: add myself and Jean Marc as authors.
2379 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * messages.[hC]: pimplify Messages, and three different pimpls to be
2382 used in different circumstances.
2384 * gettext.[Ch]: change for use with new message code.
2386 2003-04-24 André Pönitz <poenitz@gmx.net>
2388 * factory.C: support for eqref
2390 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * messages.[Ch]: add missing char
2394 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2396 * messages.[Ch]: New files
2398 2003-04-18 John Levon <levon@movementarian.org>
2402 * BufferView_pimpl.C:
2406 * text2.C: remove layout-copy/paste (bug 778)
2408 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2410 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2412 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2414 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2415 if they succeed. Act accordingly.
2417 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * text2.C (setCharFont): adjust
2420 (setCounter): adjust
2421 (insertStringAsLines): adjust
2423 * text.C (leftMargin): adjust
2424 (setHeightOfRow): adjust
2426 * rowpainter.C (paintFirst): adjust
2429 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2431 (isFirstInSequence): ditto
2432 (getEndLabel): ditto
2435 * paragraph.C (getParLanguage): comment out some hard stuff.
2437 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2439 (simpleDocBookOnePar): ditto
2440 (makeDocBookFile): use ParagraphList::iterator
2442 * CutAndPaste.C (pasteSelection): adjust
2444 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * text2.C (getFont): adjust
2447 (getLayoutFont): adjust
2448 (getLabelFont): adjust
2450 * paragraph_funcs.C (TeXOnePar): adjust
2452 * buffer.C (simpleLinuxDocOnePar): adjust
2453 (simpleDocBookOnePar): adjust
2455 * CutAndPaste.C (pasteSelection): adjust
2457 * BufferView.C (getEncoding): adjust
2459 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2461 2003-04-16 John Levon <levon@movementarian.org>
2463 * lyxfind.C: use parlist stuff for search/changes
2465 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2467 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2469 * text2.C (deleteEmptyParagraphMechanism): adjust
2471 * text2.[Ch] (ownerParagraph): delete func (both of them
2473 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2477 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * ParagraphList.C: prepare for NO_NEXT
2481 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * text2.C (getFont): adjust
2484 (getLayoutFont): adjust
2485 (getLabelFont): adjust
2487 * paragraph.C (getFont): adjust
2488 (getLabelFont): adjust
2489 (getLayoutFont): adjust
2491 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2493 2003-04-15 John Levon <levon@movementarian.org>
2497 * lyx_main.C: handle Include in .ui files
2499 2003-04-15 John Levon <levon@movementarian.org>
2501 * MenuBackend.C: make the doc files length shorter
2504 * ToolbarBackend.C: handle toolbar placement flags,
2507 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2509 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2512 * paragraph_funcs.C (TeXOnePar): adjust
2514 * paragraph.C (getLabelFont): add outerfont arg, adjust
2515 (getLayoutFont): ditto
2516 (simpleTeXOnePar): adjust
2518 * paragraph_pimpl.C (realizeFont): delete func
2520 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2522 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2523 row argument, constify cur argument.
2525 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * text2.C (getFont): adjust
2528 (getLayoutFont): adjust
2529 (getLabelFont): adjust
2531 * paragraph_funcs.C (TeXOnePar): adjust
2532 (outerFont): new func...
2533 (realizeFont): ...moved out from here, changed this to facilitate
2536 * paragraph.C (getFont): take outerfont as arg, adjust
2537 (simpleTeXOnePar): add outerfont arg, adjust
2539 * buffer.C (simpleLinuxDocOnePar): adjust
2540 (simpleDocBookOnePar): adjust
2542 * CutAndPaste.C (pasteSelection): adjust
2544 * BufferView.C (getEncoding): adjust
2546 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2548 * text2.C (setCharFont): adjust
2549 (setCounter): adjust
2551 * text.C (leftMargin): adjust
2552 (setHeightOfRow): adjust
2554 * rowpainter.C (paintFirst): adjust
2557 * paragraph_pimpl.C (realizeFont): adjust
2559 * paragraph.C (isFirstInSequence): move from here...
2560 * paragraph_funcs.C (isFirstInSequence): ...to here
2562 * paragraph.C (outerHook): move from here...
2563 * paragraph_funcs.C (outerHook): ...to here
2565 * paragraph.C (depthHook): move from here...
2566 * paragraph_funcs.C (depthHook): ...to here
2568 * paragraph.C (getEndLabel): move from here...
2569 * paragraph_funcs.C (getEndLabel): ...to here
2571 * text2.C (realizeFont): move from here...
2572 * paragraph_funcs.C (realizeFont): ...to here
2574 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2576 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2578 2003-04-14 Angus Leeming <leeming@lyx.org>
2580 * LColor.[Ch]: scrap LColor mathcursor.
2582 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * lyxlex.[Ch] (text): delete function
2585 * trans.C (Load): adjust
2586 * paragraph_funcs.C (readParToken): adjust
2588 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2591 vector<char> instead of a char[].
2593 * lyxlex_pimpl.C (getString): adjust
2595 (lex): use getString
2599 * lyxlex.C (text): use pimpl_->getString()
2603 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2605 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2606 (makeFontEntriesLayoutSpecific): temp var for par.size()
2607 (setLayout): temp var for ownerParagraphs().end()
2608 (fullRebreak): temp var for rows().end()
2609 (selectionAsString): temp var for boost::next(startpit), realize
2610 that the while really is a regular for loop.
2611 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2612 setCursor in one place.
2613 (setParagraph): temp vr for ownerParagraphs().end()
2614 (updateCounters): make the while loop a for loop
2615 (cutSelection): temp var for ownerParagraphs().end()
2616 (updateInset): make the do {} while() a regular for loop
2617 (getCursorX): use temp vars
2618 (setCurrentFont): use temp vars
2619 (getColumnNearX): use temp vars
2621 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * text.C (transformChar): use temp var for getChar
2624 (computeBidiTables): use temp var for row->par()
2625 (fill): move temp vars for row->par() and pit->layout() earlier in
2627 (labelFill): use temp var for row->par()
2628 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2629 asc and desc, realize that pit never changes and that firstpit is
2630 just a duplicate and not needed. Exchange rit->par() with pit in a
2632 (breakAgain): use a temp var for boost::next(rit)
2633 (breakAgainOneRow): ditto
2634 (breakParagraph): use a temp var for rows().begin()
2635 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2636 (cursorRightOneWord): use temp var for cursor.par() and
2637 cursor.pos(), remove usage of tmpcursor.
2638 (cursorLeftOneWord): use temp var for cursor.par() and
2639 cursor.pos() only set cur at end of function.
2641 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * text.C, text2.C: exchange all usage of Paragraph::next with
2644 boost::next(ParagraphList::iterator)
2646 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2648 * text2.C (cursorTop): simplify implementation
2649 (cursorBottom): ditto
2650 (setParagraph): use ParagraphList::iterator
2651 (setCurrentFont): adjust
2652 (getColumnNearX): adjust
2653 (cursorRight): adjust
2654 (cursorLeft): remove usage of Paragraph::previous
2655 (cursorUpParagraph): ditto
2656 (deleteEmptyParagraphMechanism): slight cleanup
2658 * text.C (isBoundary): take a Paragraph const & instead of a
2660 (addressBreakPoint): ditto
2661 (leftMargin): remove usage of Paragraph::previous.
2662 (setHeightOfRow): ditto
2663 (cursorLeftOneWord): ditto
2664 (selectNextWordToSpellcheck): ditto
2667 (breakParagraph): remove one usage of Paragraph::next
2668 (redoParagraph): ditto
2669 (acceptChange): ditto
2670 (insertChar): adjust
2671 (rowBreakPoint): adjust
2673 * bufferview_funcs.C (toggleAndShow): adjust
2675 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2677 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2678 methods to access it.
2680 * text.C: Added updateRowPositions to compute all row positions.
2681 Make top_y and getRowNearY() to use the cached y position
2683 2003-04-11 John Levon <levon@movementarian.org>
2685 * text.C (rowBreakPoint): reintroduce the labelEnd
2686 checks, code copied from the row fill stuff. Deep voodoo.
2688 * text.C (fill): add a comment and debugging for the
2691 2003-04-11 John Levon <levon@movementarian.org>
2693 * text.C: make sure fullrow insets get wrapped to the next line,
2694 even when they're in a manual label
2696 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2698 * text2.C (insertParagraph): make it take ParagraphList::iterator
2700 (setLayout): make it return ParagraphList::iterator
2701 (redoParagraphs): ditto
2703 (checkParagraph): ditto
2705 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2707 * text2.C: adjust several funcs.
2708 (realizeFont): take a ParagraphList::iterator as arg.
2709 (getLayoutFont): ditto
2710 (getLabelFont): ditto
2711 (setCharFont): ditto
2713 * text.C: adjust several funcs.
2715 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2717 * text.C (selectNextWordToSpellcheck): don't accidentally
2720 2003-04-10 John Levon <levon@movementarian.org>
2722 * ToolbarBackend.C (getIcon): special handling for
2725 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2727 * text2.C (cursorRight): a getChar assert fixed
2729 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * text2.C (getFont): change to take a ParagraphList::iterator
2732 instead of Paragraph*
2733 Adjust several functions.
2735 * text.C (transformChar): change to take a ParagraphList::iterator
2736 instead of Paragraph*
2737 (singleWidth): ditto
2738 Adjust several functions.
2740 * rowpainter.C: adjust several functions
2741 * rowpainter.h:store a ParagraphList::iterator and not a
2745 2003-04-09 John Levon <levon@movementarian.org>
2750 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2751 and the "help" bits as well
2753 2003-04-09 John Levon <levon@movementarian.org>
2756 * ToolbarBackend.C: allow multiple toolbars
2758 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * undo_funcs.C (setCursorParUndo): adjust
2762 * text_funcs.C (transposeChars): adjust
2764 * text3.C (gotoNextInset): adjust
2767 * text2.C (setLayout): adjust
2768 (changeDepth): adjust
2770 (redoParagraphs): adjust
2771 (selectionAsString): adjust
2772 (setParagraph): adjust
2773 (insertInset): adjust
2774 (cutSelection): adjust
2775 (copySelection): adjust
2776 (pasteSelection): adjust
2777 (insertStringAsLines): adjust
2778 (updateInset): adjust
2779 (setCursor): change to take a ParagraphList::iterator parameter
2780 (setCursorIntern): change to take a ParagraphList::iterator parameter
2781 (setCurrentFont): adjust
2782 (cursorLeft): adjust
2783 (cursorRight): adjust
2784 (deleteEmptyParagraphMechanism): adjust
2786 * text.C (breakParagraph): adjust
2787 (insertChar): adjust
2788 (acceptChange): adjust
2789 (rejectChange): adjust
2790 (selectNextWordToSpellcheck): adjust
2791 (changeCase): adjust
2795 * lyxfind.C (SearchForward): adjust
2796 (SearchBackward): adjust
2797 (nextChange): adjust
2799 * lyxcursor.C (par): adjust
2801 * lyxcursor.h: store a ParagraphList::iterator instead of a
2804 * lyx_cb.C (getPossibleLabel): adjust
2806 * bufferview_funcs.C (toggleAndShow): adjust
2808 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2811 * BufferView.C (removeAutoInsets): adjust
2812 (lockedInsetStoreUndo): adjust
2814 2003-04-09 John Levon <levon@movementarian.org>
2816 * ToolbarBackend.C: try icon without argument
2817 if with argument fails
2819 2003-04-08 John Levon <levon@movementarian.org>
2822 * ToolbarBackend.C: add getIcon(), handle tooltip,
2823 and change from "Icon" to "Item".
2825 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2827 * BufferView.C (lockInset): another bad getchar crunched
2829 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2831 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2834 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2836 * lyxfind.C (searchForward, searchBackwards): bug 782
2838 2003-04-07 John Levon <levon@movementarian.org>
2840 * paragraph.C: remove dead comment
2842 * text.C: remove troublesome depth-fiddling code
2843 in leftMargin() and rightMargin() (bug 1017)
2845 * text.C: fix breaking of rows in nested lists
2848 * text2.C (updateCounters): fix up depth values
2851 2003-04-07 John Levon <levon@movementarian.org>
2853 * BufferView_pimpl.C: clear message when doc finishes resizing,
2854 and after a mouse event
2856 * lyxfunc.C: clear message after exiting inset
2858 2003-04-07 John Levon <levon@movementarian.org>
2860 * bufferview_funcs.C: show math status not outside
2861 status in the statusbar
2863 2003-04-07 John Levon <levon@movementarian.org>
2865 * lyxfunc.C: note status changed after a depth change
2867 2003-04-04 Angus Leeming <leeming@lyx.org>
2869 * LaTeX.h: move AuxInfo operator==, != out of line.
2870 Remove LaTeX virtual destructor; nothing derives from it.
2871 Move operator()() out of public area and rename it startscript().
2872 Change protected for private.
2874 2003-04-04 Angus Leeming <leeming@lyx.org>
2877 * text2.C: remove unneeded #includes.
2879 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2881 * text2.C (dEPM): fix the heigth of the next row
2883 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2885 * text.C: squashed an invalid getChar requester + some ws changes
2887 2003-04-03 John Levon <levon@movementarian.org>
2889 * bufferview_funcs.h:
2890 * bufferview_funcs.C:
2893 * text2.C: make getStatus work for the env depth lfuns
2895 2003-04-03 John Levon <levon@movementarian.org>
2897 * bufferview_funcs.h:
2898 * bufferview_funcs.C:
2901 * text2.C: parlistize decDepth(), by merging it with incDepth()
2903 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * lyxrow.h: store a ParagraphList::iterator instead of a
2906 Paragraph* and adjust other class functions to suit.
2908 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2911 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2913 * text2.C (setCursor): do not anchor to cursor row for the time being
2915 2003-04-02 John Levon <levon@movementarian.org>
2922 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2924 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * paragraph.h: make ParagraphList and ParagraphList::iterator
2927 friends of Paragraph.
2929 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2931 * ParagraphList.C: Use the private next_ and previous_ from
2934 2003-04-01 John Levon <levon@movementarian.org>
2938 * Makefile.am: rename, remove defaults gunk
2941 * MenuBackend.C: remove defaults gunk
2944 * Languages.C: remove defaults gunk
2947 * lyx_main.C: error out if files couldn't be found.
2949 2003-04-02 John Levon <levon@movementarian.org>
2951 * text2.C: make incDepth() use parlist
2953 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2955 * undo_funcs.C (firstUndoParagraph): adjust
2957 * text3.C (gotoInset): adjust
2958 (dispatch): adjust, and rewrite loop.
2960 * text2.C (init): adjust, and rewrite loop.
2961 (redoParagraphs): adjust
2962 (updateInset): adjust, and rewrite loop.
2963 (deleteEmptyParagraphMechanism): adjust
2965 * tabular.C (LyXTabular): adjust
2966 (SetMultiColumn): adjust
2969 * lyxtext.[Ch] (ownerParagraph): delete function
2970 (ownerParagraphs): new function returns a ParagraphList.
2972 * BufferView.C (removeAutoInsets): adjust
2973 (insertErrors): adjust
2974 (setCursorFromRow): adjust
2976 2003-04-01 Angus Leeming <leeming@lyx.org>
2978 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2981 2003-04-02 John Levon <levon@movementarian.org>
2987 * text_funcs.C: make transposeChars a free function
2989 * lyxrow_funcs.C: remove wrong comment
2991 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * rowpainter.C: adjust
2999 * lyxrow_funcs. [Ch]: new files
3001 * lyxrow.[Ch]: remove next and previous pointers
3002 (next,previous): remove accessor functions
3003 (isParEnd): move to lyxrow_funcs
3004 (lastPos): move to lyxrow_funcs
3005 (nextRowIsAllInset): move to lyxrow_funcs
3006 (lastPrintablePos): move to lyxrow_funcs
3007 (numberOfSeparators): move to lyxrow_funcs
3008 (numberOfHfills): move to lyxrow_funcs
3009 (numberOfLabelHfills): move to lyxrow_funcs
3010 (hfillExpansion): move to lyxrow_funcs
3014 * bufferview_funcs.C (toggleAndShow): adjust
3016 * RowList.h: Remove class RowList from file leave just a
3019 * RowList.C: delete file
3021 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3024 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * text3.C (cursorPrevious): adjust
3027 (cursorNext): adjust
3030 * text2.C (redoHeightOfParagraph): adjust
3031 (redoDrawingOfParagraph): adjust
3034 * text.C (breakParagraph): adjust
3035 (insertChar): adjust
3038 * rowpainter.C (RowPainter): adjust
3039 (leftMargin): simplify and adjust
3040 (most rowpainter functions): adjust.
3042 * rowpainter.h: store the row as RowList::iterator not as Row*
3044 * lyxcursor.C (row): taka RowList::iterator as arg
3047 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3050 2003-04-01 Angus Leeming <leeming@lyx.org>
3052 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3053 stuff like bool Bool.
3055 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3057 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3060 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3065 * lyxtext.h (rows): drop one version and leve a const variant that
3066 returns a RowList::iterator.
3068 2003-03-31 Angus Leeming <leeming@lyx.org>
3070 * text.C (fill): ensure that the signature is the same as that in the
3073 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * text2.C (redoParagraphs): adjust
3076 (updateCounters): adjust
3077 (checkParagraph): adjust
3078 (getColumnNearX): adjust and reformat a bit.
3080 * text.C (top_y): adjust
3082 (leftMargin): adjust
3083 (prepareToPrint): adjust
3085 (getRowNearY): adjust
3087 * lyxtext.h: make rowlist_ mutable.
3089 * RowList.h: add const_iterator
3090 * RowList.C: adjust for RowList::const_iterator.
3092 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3095 2003-03-31 John Levon <levon@movementarian.org>
3098 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3100 * lyx_main.C: set default fonts from using lyx_gui funcs
3102 * exporter.C: pdf_mode moved from lyxrc
3105 * lyxfunc.C: changes from above
3107 2003-03-31 John Levon <levon@movementarian.org>
3109 * lyx_main.C: fix to the last fix
3111 2003-03-31 John Levon <levon@movementarian.org>
3113 * bufferlist.C: "Load original" -> "Load Original"
3119 * format.C: more Alert cleanups
3121 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * text2.C (removeParagraph): make it take a RowList::iterator as
3125 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3126 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3128 * text.C (anchor_row): make it take a RowList::iterator as arg,
3130 (computeBidiTables): make it take a const reference to Row instead
3131 of Row pointer, adjust.
3132 (leftMargin): make it take a RowList::iterator as arg, adjust.
3133 (rowBreakPoint): adjust
3134 (breakAgainOneRow): make it take a RowList::iterator as arg,
3136 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3138 * bufferview_funcs.C (toggleAndShow): adjust
3140 2003-03-30 John Levon <levon@movementarian.org>
3144 * boost-inst.C: moved to support
3146 * several files: changes as a result
3148 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * text2.C (LyXText): adjust.
3152 (removeRow): make it take a RowList::iterator as arg, adjust.
3153 (fullRebreak): adjust
3154 (deleteEmptyParagraphMechanism): adjust
3155 (clearPaint): adjust
3158 * text.C (top_y): adjust
3159 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3160 (breakAgain): make it take a RowList::iterator as arg, adjust.
3161 (breakParagraph): adjust
3162 (insertChar): adjust
3165 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3166 need_break_row, and refresh_row.
3168 * text3.C (dispatch): adjust
3170 * text2.C (checkParagraph): adjust
3172 (setCursorFromCoordinates): adjust
3174 * text.C (top_y): adjust
3176 (getRow): make it return a RowList::iterator, adjust
3177 (getRowNearY): make it return a RowList::iterator, adjust
3179 * text2.C (init): adjust
3180 (insertRow): remove function
3181 (insertParagraph): adjust
3182 (redoParagraphs): adjust
3183 (fullRebreak): adjust
3184 (updateCounters): adjust
3186 * text.C (top_y): rewrite to use RowList iterators.
3188 (setHeightOfRow): rewrite to sue RowList iterators.
3189 (appendParagraph): adjust
3190 (breakAgain): adjust
3191 (breakAgainOneRow): adjust
3192 (breakParagraph): adjust
3194 (getRowNearY): adjust, and remove commented code.
3196 * lyxtext.h (firstRow): delete function
3197 (lastRow): delete function
3198 (rows): new function (const and non-const versions.)
3199 (insertRow): delete function
3201 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3203 2003-03-29 John Levon <levon@movementarian.org>
3205 * BufferView_pimpl.C: always update scrollbar top
3206 because pasting text when we're anchored could mean we
3207 miss an update altogether
3209 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * text2.C (init): use rowlist_.end() and not 0.
3212 (insertRow): change to take a RowList::iterator as arg, adjust
3214 (insertParagraph): change to take a RowList::iterator as arg,
3216 (redoParagraphs): remove some debug msgs.
3218 * text.C (appendParagraph): change to take a RowList::iterator
3219 arg, adjust for this.
3220 (breakAgain): add an assert
3221 (breakAgainOneRow): ditto
3223 2003-03-29 John Levon <levon@movementarian.org>
3225 * text2.C: do not clear selection after inc/decDepth
3228 2003-03-29 John Levon <levon@movementarian.org>
3231 * buffer.C: fix broken strerrors according to Lars
3233 2003-03-29 John Levon <levon@movementarian.org>
3235 * converters.C: more Alert cleanups
3237 2003-03-29 John Levon <levon@movementarian.org>
3239 * bufferview_funcs.C: remove pointless Alert
3241 * buffer.C: fix confusing error message when
3242 a template is chmoded 000
3244 2003-03-29 John Levon <levon@movementarian.org>
3248 * BufferView_pimpl.C: Alert fixes
3252 * tabular-old.C: remove unused table compat reading
3254 2003-03-29 John Levon <levon@movementarian.org>
3259 * lyx_cb.C: more Alert cleanups
3261 * lyxfunc.C: don't allow chktex if not latex document
3263 2003-03-29 John Levon <levon@movementarian.org>
3267 * buffer.C: warnings pushed down from support/,
3270 2003-03-29 John Levon <levon@movementarian.org>
3272 * lyxfunc.C: safety check for C-r (revert)
3274 2003-03-29 John Levon <levon@movementarian.org>
3277 * bufferlist.C: several UI fixes using Alert::prompt.
3278 Fix the pointless looping quit code. Fix stupid revert
3283 * lyx_cb.C: use Alert::prompt
3285 * lyx_main.C: remove a silly question
3287 * lyxfunc.C: remove a couple of silly questions,
3290 2003-03-28 John Levon <levon@movementarian.org>
3292 * text2.C: fix bug 974 (End on empty par)
3294 2003-03-28 John Levon <levon@movementarian.org>
3296 * BufferView_pimpl.C:
3298 * lfuns.h: remove do-nothing math greek lfuns
3300 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3302 * lyxgluelength.h (isValidGlueLength): add default arg on
3303 parameter 2. Remove default arg from friend in class.
3305 * lyxlength.h (isValidLength): add default arg on parameter 2.
3306 Remove default arg from friend in class.
3308 * text2.C (LyXText): adjust, initialize refresh_row.
3312 (insertParagraph): adjst
3313 (redoParagraphs): adjust
3314 (fullRebreak): adjust
3315 (updateCounters): adjust
3316 (deleteEmptyParagraphMechanism): first attempt at fixing a
3319 * text.C (top_y): adjust
3320 (setHeightOfRow): adjust
3322 (getRowNearY): adjust
3324 * lyxtext.h: include RowList.h
3325 (~LyXText): not needed anymore, deleted.
3326 (firstRow): modify for RowList
3327 (lastRow): new function
3328 Delete firstrow and lastrow class variables, add a Rowlist
3329 rowlist_ class variable.
3331 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3334 * RowList.C (insert): fix case where it == begin().
3336 2003-03-26 Angus Leeming <leeming@lyx.org>
3338 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3339 the thesaurus dialog.
3341 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3345 * RowList.[Ch]: new files
3347 * ParagraphList.C (erase): handle the case where it == begin
3350 2003-03-25 John Levon <levon@movementarian.org>
3354 * aspell.C: add new aspell support
3357 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3360 2003-03-25 Angus Leeming <leeming@lyx.org>
3363 * LyXAction.C (init): new LFUN_INSET_INSERT.
3365 * BufferView_pimpl.C (dispatch): split out part of the
3366 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3368 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3371 2003-03-25 Angus Leeming <leeming@lyx.org>
3373 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3375 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3378 * text3.C: remove useless row->height(0)
3380 2003-03-25 John Levon <levon@movementarian.org>
3384 * text3.C: rename the refreshing stuff to better names
3386 2003-03-24 John Levon <levon@movementarian.org>
3388 * BufferView_pimpl.h:
3389 * BufferView_pimpl.C: update layout choice on a mouse
3392 2003-03-23 John Levon <levon@movementarian.org>
3394 * Makefile.am: fix commandtags.h reference
3396 2003-03-22 John Levon <levon@movementarian.org>
3398 * BufferView_pimpl.C:
3403 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3405 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3408 * text.C: take the rtl methods out of line
3410 2003-03-21 André Pönitz <poenitz@gmx.net>
3412 * metricsinfo.[Ch]: new files containing structures to be passed around
3413 during the two-phase-drawing...
3415 2003-03-21 André Pönitz <poenitz@gmx.net>
3417 * lyxtextclass.C: read 'environment' tag.
3419 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3421 * text2.C (removeRow): fix bug 964
3423 2003-03-20 John Levon <levon@movementarian.org>
3427 * text2.C: paint cleanups. Inset::update() dropped font
3430 2003-03-19 John Levon <levon@movementarian.org>
3432 * lyxfunc.C: only fitcursor/markDirty if available()
3434 2003-03-19 John Levon <levon@movementarian.org>
3436 * commandtags.h: rename to ...
3438 * lfuns.h: ... this, and renumber / cleanup
3440 2003-03-19 John Levon <levon@movementarian.org>
3442 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3443 fit the cursor after an lfun
3447 * BufferView_pimpl.h:
3448 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3450 * LyXAction.C: layout-character should have ReadOnly
3452 * ParagraphParameters.C:
3454 * bufferview_funcs.C:
3461 * undo_funcs.C: changes from above
3463 2003-03-18 John Levon <levon@movementarian.org>
3465 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3466 remove it from update()
3468 * lyxfunc.C: update layout choice after an lfun
3470 * text3.C: remove extra updateLayoutChoice()s
3472 2003-03-18 John Levon <levon@movementarian.org>
3474 * text.C: top_y change means full repaint, fix
3475 a drawing bug with cursor movement
3477 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3481 * text2.C: anchor row on setCursor
3483 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3485 * lyxtext.h: remove almost all mutable keywords
3488 * text3.C: remove const keywords accordingly
3490 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3494 (TeXEnvironment): ditto
3497 2003-03-17 John Levon <levon@movementarian.org>
3499 * text.C (rowBreakPoint): remove attempt to fix displayed
3500 math insets inside a manual label
3502 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * lyxtext.h: remove BufferView* as first arg from almost all class
3506 * other files: adjust.
3508 2003-03-17 John Levon <levon@movementarian.org>
3512 * text2.C: more paint cleanups
3514 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3517 * rowpainter.C: remove "smart" background painting code
3519 2003-03-16 John Levon <levon@movementarian.org>
3524 * text3.C: add helper functions for setting refresh_row/y
3526 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3528 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3529 newline inset which *can* get inserted in the pass_thru layouts.
3530 This is primarily for literate documents.
3532 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3534 * buffer.C: increment LYX_FORMAT to 223
3536 2003-03-14 André Pönitz <poenitz@gmx.net>
3538 * textclass.h: prepare for environment handling, ws changes
3539 * lyxlayout.C: read latexheader and latexfooter tags
3541 2003-03-14 John Levon <levon@movementarian.org>
3543 * text2.C: rewrite ::status() a bit
3545 2003-03-13 John Levon <levon@movementarian.org>
3547 * lyxtext.h: add some docs
3549 2003-03-13 John Levon <levon@movementarian.org>
3554 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3556 2003-03-13 John Levon <levon@movementarian.org>
3558 * text3.C: fix appendix redrawing
3560 2003-03-13 John Levon <levon@movementarian.org>
3562 * text.C (setHeightOfRow):
3564 * rowpainter.C: make appendix mark have the text
3565 "Appendix" so the user knows what it is
3568 * LColor.C: s/appendixline/appendix/ from above
3570 2003-03-13 John Levon <levon@movementarian.org>
3572 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3574 * text.C: fix a getChar(pos) bug properly
3576 2003-03-13 Angus Leeming <leeming@lyx.org>
3579 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3580 Probably only temporary. Let's see how things pan out.
3582 * BufferView.C (unlockInset):
3583 * BufferView_pimpl.C (fitCursor):
3584 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3586 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3587 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3589 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3590 new functions that convert ParagraphParameters to and from a string.
3592 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3593 BufferView::Pimpl's dispatch.
3594 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3596 2003-03-13 André Pönitz <poenitz@gmx.net>
3600 * factory.C: make it aware of InsetEnv
3602 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * text2.C (setCursor): never ask for one past last
3605 (setCursor): add some debugging messages.
3607 * text.C (singleWidth): never ask for one past last
3608 (singleWidth): ditto
3610 (rightMargin): ditto
3611 (rowBreakPoint): ditto
3612 (setHeightOfRow): ditto
3613 (prepareToPrint): ditto
3615 * rowpainter.C (paintBackground): never ask for one past last
3616 (paintText): never ask for one past last
3618 * paragraph_pimpl.C (getChar): make the assert stricter, never
3619 allow the one past last pos to be taken
3621 * paragraph.C (getChar): ws changes only
3623 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3624 (numberOfSeparators): ditto
3625 (numberOfHfills): ditto
3627 2003-03-12 John Levon <levon@movementarian.org>
3633 * paragraph_funcs.C: fix per-buffer authorlists
3635 2003-03-12 John Levon <levon@movementarian.org>
3637 * text.C: fix newline in right address
3639 2003-03-12 Angus Leeming <leeming@lyx.org>
3641 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3642 duplicate those in LyXFunc::dispatch.
3646 * ToolbarDefaults.C:
3647 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3648 Add LFUN_FONTFREE_UPDATE.
3650 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3651 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3653 * bufferview_func.[Ch]: several new functions to facilliate
3654 transfer of data to and from the character dialog.
3656 2003-03-12 John Levon <levon@movementarian.org>
3661 * paragraph_funcs.C:
3662 * paragraph_pimpl.C:
3666 * text3.C: remove META_NEWLINE in favour of an inset
3669 * rowpainter.C: remove paintNewline (done by inset)
3671 2003-03-12 John Levon <levon@movementarian.org>
3673 * paragraph_pimpl.C: complain about bad getChar()s
3674 for a while at least
3676 2003-03-12 John Levon <levon@movementarian.org>
3679 * buffer.C: move paragraph read into a separate function,
3680 a little renaming to reflect that.
3683 * bufferparams.C: remove the author_ids map, not necessary now
3686 * factory.C: moved Buffer::readInset to here
3688 * paragraph_funcs.h:
3689 * paragraph_funcs.C: readParagraph free function moved from
3692 * tabular.C: name change
3694 2003-03-12 John Levon <levon@movementarian.org>
3697 * ParagraphParameters.C: move par params input to
3700 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3701 behave like a normal read from the stream wrt reading
3702 a line vs. a \\token
3704 2003-03-12 John Levon <levon@movementarian.org>
3707 * ParagraphParameters.h:
3708 * ParagraphParameters.C: move output code to a
3711 2003-03-12 John Levon <levon@movementarian.org>
3713 * BufferView.C (insertLyXFile):
3716 * tabular.C: use a parlist iterator for creating the
3719 2003-03-12 John Levon <levon@movementarian.org>
3721 * buffer.C: make current_change static local not
3724 2003-03-12 John Levon <levon@movementarian.org>
3726 * buffer.C: fix insertStringAsLines for change tracking
3728 2003-03-12 John Levon <levon@movementarian.org>
3735 * bufferparams.C: move author list into params. Rename some
3736 functions. Move the header reading into a separate token
3737 loop. Move the header token reading into BufferParams.
3739 2003-03-12 John Levon <levon@movementarian.org>
3741 * changes.C: put debug inside lyxerr.debugging() checks
3743 2003-03-11 André Pönitz <poenitz@gmx.net>
3745 * factory.C: make it aware of InsetHFill
3747 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3749 * buffer.C (latexParagraphs): move function from here...
3750 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3753 2003-03-10 Angus Leeming <leeming@lyx.org>
3755 * LyXAction.C (init): fix bug in poplating array with multiple entries
3756 with the same LFUN (spotted by JMarc).
3758 2003-03-10 John Levon <levon@movementarian.org>
3761 * text2.C: move getColumnNearX() near its
3764 2003-03-10 John Levon <levon@movementarian.org>
3766 * text.C: fix break before a minipage
3768 2003-03-10 John Levon <levon@movementarian.org>
3770 * text.C: fix the last commit
3772 2003-03-09 John Levon <levon@movementarian.org>
3776 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3777 bug 365 (don't break before insets unless needed). Don't
3778 return a value > last under any circumstances.
3780 2003-03-09 Angus Leeming <leeming@lyx.org>
3782 * BufferView_pimpl.C (trackChanges, dispatch): call
3783 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3785 2003-03-09 Angus Leeming <leeming@lyx.org>
3787 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3788 than Dialogs::showAboutlyx().
3790 2003-03-09 Angus Leeming <leeming@lyx.org>
3792 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3793 than Dialogs::showTabularCreate().
3795 2003-03-09 John Levon <levon@movementarian.org>
3799 * text2.C: 3rd arg to nextBreakPoint was always the same.
3802 2003-03-08 John Levon <levon@movementarian.org>
3809 * text2.C: Remove the "main" bit from the "main body"
3812 2003-03-08 John Levon <levon@movementarian.org>
3814 * text.C (leftMargin): The left margin of an empty
3815 manual label paragraph should not include the label width
3818 * text.C (prepareToPrint): don't attempt to measure hfills
3819 for empty manual label paragraphs - the answer should be 0
3821 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * CutAndPaste.C: remove commented code and reindent.
3825 2003-03-08 John Levon <levon@movementarian.org>
3828 * lyxfunc.C: move reloadBuffer()
3831 * BufferView.C: to here
3833 * lyxvc.C: add comment
3836 * vc-backend.C: call bv->reload() to avoid
3837 getStatus() check on MENURELOAD
3839 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3841 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3842 to an old format .dep file.
3844 2003-03-07 Angus Leeming <leeming@lyx.org>
3846 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3847 when the LFUN_MOUSE_RELEASE should have been handled by
3848 inset->localDispatch.
3850 2003-03-07 Angus Leeming <leeming@lyx.org>
3852 * BufferView_pimpl.C (dispatch):
3853 * LyXAction.C (init):
3854 * ToolbarDefaults.C (init):
3856 * lyxfunc.C (getStatus):
3857 remove LFUN_INSET_GRAPHICS.
3859 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3861 2003-03-07 Angus Leeming <leeming@lyx.org>
3864 * LyXAction.C (init):
3865 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3867 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3870 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3872 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3873 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3875 2003-03-07 Angus Leeming <leeming@lyx.org>
3877 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3880 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * ParagraphList.C (front): new function
3885 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3887 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3888 and top_row_offset_. removed var first_y.
3890 * text2.C (LyXText, removeRow):
3892 * BufferView_pimpl.C:
3893 use these methods instead of using first_y
3895 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3897 * text2.C (pasteSelection): adjust for checkPastePossible
3899 * CutAndPaste.C: remove Paragraph * buf and replace with
3900 ParagraphList paragraphs.
3901 (DeleteBuffer): delete
3902 (cutSelection): change the tc type to textclass_type
3903 (copySelection): change the tc type to textclass_type
3904 (copySelection): adjust for ParagraphList
3905 (pasteSelection): change the tc type to textclass_type
3906 (pasteSelection): adjust for Paragraphlist
3907 (nrOfParagraphs): simplify for ParagraphList
3908 (checkPastePossible): simplify for ParagraphList
3909 (checkPastePossible): remove unused arg
3911 * ParagraphList.C (insert): handle the case where there are no
3914 * CutAndPaste.h: make CutAndPaste a namespace.
3916 * text3.C (dispatch): adjust
3918 * text.C (breakParagraph): add a ParagraphList as arg
3920 * paragraph_funcs.C (breakParagraph): change to take a
3921 BufferParams and a ParagraphList as args.
3922 (breakParagraphConservative): ditto
3923 (mergeParagraph): ditto
3924 (TeXDeeper): add a ParagraphList arg
3925 (TeXEnvironment): ditto
3928 * buffer.C (readLyXformat2): adjust
3929 (insertStringAsLines): adjust
3930 (latexParagraphs): adjust
3932 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3933 (cutSelection): adjust
3934 (pasteSelection): adjust
3936 * BufferView_pimpl.C (insertInset): adjust
3938 2003-03-05 Angus Leeming <leeming@lyx.org>
3941 * LyXAction.C (init):
3942 * BufferView_pimpl.C (dispatch):
3943 * lyxfunc.C (getStatus):
3944 remove LFUN_CHILD_INSERT.
3946 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3948 2003-03-05 Angus Leeming <leeming@lyx.org>
3951 * LyXAction.C (init):
3952 * src/factory.C (createInset):
3953 * lyxfunc.C (getStatus):
3954 * text3.C (dispatch):
3955 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3957 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3959 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * ParagraphList.C (insert): handle insert right before end()
3962 (erase): fix cases where it can be first or last paragraph.
3964 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3967 Paragraph::next and Paragraph::previous
3970 * text.C (breakParagraph): adjust
3972 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3973 BufferParams& as arg.
3974 (breakParagraph): use ParagraphList::insert
3975 (breakParagraphConservative): take a Buffer* instead of a
3976 BufferParams& as arg.
3977 (breakParagraphConservative): use ParagraphList::insert.
3979 * buffer.C (insertStringAsLines): un-const it
3980 (insertStringAsLines): adjust
3982 * ParagraphList.C (insert): new function
3984 * CutAndPaste.C (pasteSelection): adjust
3986 * text.C (backspace): adjust
3988 * tabular.C (SetMultiColumn): adjust
3990 * CutAndPaste.C (cutSelection): adjust
3991 (pasteSelection): adjust
3993 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3994 Buffer const * as arg
3996 * ParagraphList.C (erase): new function
3997 * paragraph_funcs.C (mergeParagraph): use it
3998 (mergeParagraph): make it take a Buffer* instead of a
3999 BufferParams* as arg
4001 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4003 (breakParagraphConservative): ditto
4005 * paragraph.h: remove the breakParagraph friend
4007 * paragraph.C (eraseIntern): new function
4008 (setChange): new function
4010 * paragraph_funcs.C (mergeParagraph): make it take a
4011 ParagraphList::iterator instead of a Paragraph *, adjust
4014 * paragraph.h: move an #endif so that the change tracking stuff
4015 also works in the NO_NEXT case.
4017 2003-03-04 Angus Leeming <leeming@lyx.org>
4020 * LyXAction.C: new LFUN_INSET_MODIFY.
4022 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4023 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4025 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * several files: ws changes only
4029 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4030 (TeXEnvironment): ditto
4033 * buffer.C (makeLaTeXFile): adjust
4034 (latexParagraphs): make it take ParagraphList::iterator as args
4036 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * buffer.C (latexParagraphs): adjust
4040 * paragraph.C (TeXOnePar): move function...
4041 (optArgInset): move function...
4042 (TeXEnvironment): move function...
4043 * paragraph_pimpl.C (TeXDeeper): move function...
4044 * paragraph_funcs.C: ...here
4046 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4048 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * buffer.C (readInset): remove compability code for old Figure and
4053 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * buffer.C: ws changes
4058 * BufferView_pimpl.C: ditto
4061 * bufferlist.h: ditto
4065 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4067 * converter.[Ch]: split into itself +
4070 * Makefile.am: += graph.[Ch] + format.[Ch]
4077 * lyxrc.C: added #include "format.h"
4079 2003-02-27 Angus Leeming <leeming@lyx.org>
4081 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4084 * factory.C (createInset): add "label" to the factory.
4086 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4087 string and do no more.
4089 2003-02-27 Angus Leeming <leeming@lyx.org>
4092 * LyXAction.C (init):
4093 * factory.C (createInset):
4094 * BufferView_pimpl.C (dispatch):
4095 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4097 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4099 * lyxfunc.C (dispatch):
4100 * text3.C (dispatch): pass name to params2string.
4102 2003-02-26 Angus Leeming <leeming@lyx.org>
4104 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4106 Rearrange the ~includes. Strip out the unnecessary ones.
4108 * factory.C (createInset): reformat.
4109 create new insets for the various LFUN_XYZ_APPLY lfuns.
4111 2003-02-26 John Levon <levon@movementarian.org>
4114 * lyxrow.C: add isParStart,isParEnd helpers
4116 * paragraph.h: make isInserted/DeletedText take refs
4118 * paragraph_funcs.h:
4119 * paragraph_funcs.C: remove #if 0'd code
4124 * text.C: use lyxrow helpers above.
4125 Move draw and paint routines to RowPainter.
4126 Make several methods use refs not pointers.
4127 Make backgroundColor() const.
4128 Add markChangeInDraw(), isInInset().
4129 Merge changeRegionCase into changeCase.
4130 Make workWidth() shouldn't-happen code into an Assert.
4133 * rowpainter.C: new class for painting a row.
4136 * vspace.C: make inPixels take a ref
4138 2003-02-26 Angus Leeming <leeming@lyx.org>
4140 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4143 2003-02-25 John Levon <levon@movementarian.org>
4145 * ispell.C: give the forked command a more accurate name
4147 2003-02-22 John Levon <levon@movementarian.org>
4150 * toc.C: make TocItem store an id not a Paragraph *
4153 2003-02-21 Angus Leeming <leeming@lyx.org>
4155 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4156 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4157 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4158 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4159 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4160 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4162 * BufferView_pimpl.C (dispatch):
4163 * LyXAction.C (init):
4164 * factory.C (createInset):
4165 * lyxfunc.C (getStatus, dispatch):
4166 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4168 2003-02-21 Angus Leeming <leeming@lyx.org>
4170 * BufferView_pimpl.C (MenuInsertLyXFile):
4171 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4172 * lyxfunc.C (menuNew, open, doImport):
4173 no longer pass a LyXView & to fileDlg.
4175 2003-02-21 Angus Leeming <leeming@lyx.org>
4177 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4178 * LyXAction.C: change, BIBKEY to BIBITEM.
4179 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4180 Change InsetBibKey to InsetBibitem.
4181 Change BIBKEY_CODE to BIBITEM_CODE.
4182 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4183 * factory.C: replace insetbib.h with insetbibitem.h.
4184 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4185 * paragraph.C: replace insetbib.h with insetbibitem.h.
4186 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4187 Change bibkey() to bibitem().
4188 * text.C: remove insetbib.h.
4189 * text2.C: replace insetbib.h with insetbibitem.h.
4190 change bibkey() to bibitem().
4191 * text3.C: remove insetbib.h.
4192 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4194 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4196 * lyxrc.C (output): enclose user email in quotes (in case there are
4199 2003-02-18 John Levon <levon@movementarian.org>
4201 * buffer.h: add std::
4203 2003-02-17 John Levon <levon@movementarian.org>
4209 * pspell.C: reworking. Especially in ispell, a large
4210 number of clean ups and bug fixes.
4212 * lyxfunc.C: fix revert to behave sensibly
4214 2003-02-17 André Pönitz <poenitz@gmx.net>
4217 * commandtags.h: new LFUN_INSERT_BIBKEY
4227 * paragraph_func.C: remove special bibkey handling
4229 2003-02-17 John Levon <levon@movementarian.org>
4231 * text.C (Delete): fix case where delete at the end of
4232 the very first paragraph would not merge the pars
4234 2003-02-17 John Levon <levon@movementarian.org>
4236 * lyxrow.C: fix lastPrintablePos()
4238 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4240 * bufferparams.C (writeLaTeX): add a std:here
4242 * buffer.C: and remove a using directive there
4244 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4246 * buffer.C (makeLaTeXFile): move the code that generates the
4249 * bufferparams.C (writeLaTeX): ... in this new method
4251 * LaTeXFeatures.C (getEncodingSet): make const
4252 (getLanguages): make const
4254 * MenuBackend.C (binding): returns the binding associated to this
4256 (add): sets the status of each item by calling getStatus. Adds
4258 (read): add support for OptSubMenu
4259 (expand): remove extra separator at the end of expanded menu
4261 2003-02-15 John Levon <levon@movementarian.org>
4264 * BufferView_pimpl.C:
4266 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4267 inset code that had no actual effect. Remove unneeded status
4270 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4272 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4275 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4277 * text.C (drawLengthMarker): also draw an arrow marker for
4278 symbolic lengths (medskip...)
4280 2003-02-14 John Levon <levon@movementarian.org>
4283 * tabular.C: better method names
4285 2003-02-14 John Levon <levon@movementarian.org>
4287 * BufferView_pimpl.C:
4292 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4293 it's a more accurate name. Remove some pointless uses.
4295 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4297 * text2.C (LyXText): change order of initilizers to shut off
4300 2003-02-14 John Levon <levon@movementarian.org>
4302 * buffer.C: use ParIterator for getParFromID()
4306 * paragraph_pimpl.h:
4307 * paragraph_pimpl.C: remove unused getParFromID()
4309 2003-02-14 John Levon <levon@movementarian.org>
4311 * buffer.C: remove some very old #if 0'd parse code
4313 2003-02-13 John Levon <levon@movementarian.org>
4317 * text2.C: move hfillExpansion(), numberOfSeparators(),
4318 rowLast(), rowLastPrintable(), numberofHfills(),
4319 numberOfLabelHfills() ...
4322 * lyxrow.C: ... to member functions here.
4327 * text.C: remove LyXText::beginningOfMainBody(), and call
4328 p->beginningOfMainBody() directly. Move the check for
4329 LABEL_MANUAL into the latter.
4336 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4342 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4343 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4345 2003-02-13 John Levon <levon@movementarian.org>
4347 * CutAndPaste.C: remove debug
4349 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4351 * paragraph.C (asString): remove two unused variables
4353 * lyxtextclass.C (readTitleType):
4355 (LyXTextClass): handle new members titletype_ and titlename_
4357 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4359 2003-02-09 John Levon <levon@movementarian.org>
4362 * buffer.C: replace hand-coded list with a map for the dep clean
4364 2003-02-08 John Levon <levon@movementarian.org>
4366 * LaTeX.C: consolidate code into showRunMessage() helper
4368 2003-02-08 John Levon <levon@movementarian.org>
4373 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4374 and pass the size in explicitly
4376 * BufferView_pimpl.h:
4377 * BufferView_pimpl.C:
4379 * BufferView.C: add getCurrentChange()
4381 * BufferView_pimpl.h:
4382 * BufferView_pimpl.C: handle change lfuns
4384 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4385 for changes. Mark pasted paragraphs as new.
4387 * support/lyxtime.h:
4388 * support/lyxtime.C:
4389 * DepTable.C: abstract time_t as lyx::time_type
4392 * LColor.C: add colours for new text, deleted text, changebars
4394 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4395 package use "usenames" option.
4399 * LyXAction.C: add change lfuns
4403 * author.C: author handling
4406 * buffer.C: add a per-buffer author list, with first entry as
4407 current author. Handle new .lyx tokens for change tracking. Output
4408 author list to .lyx file. Output dvipost stuff to .tex preamble.
4409 Bump lyx format to 222.
4412 * bufferlist.C: add setCurrentAuthor() to reset current author details
4416 * bufferparams.C: add param for tracking
4418 * bufferview_funcs.C: output change info in minibuffer
4422 * changes.C: add change-tracking structure
4425 * debug.C: add CHANGES debug flag
4428 * lyxfind.C: add code for finding the next change piece
4431 * lyxrc.C: add user_name and user_email
4434 * lyxrow.C: add a metric for the top of the text line
4437 * text.C: implement accept/rejectChange()
4440 * text.C: paint changebars. Paint new/deleted text in the chosen
4441 colours. Strike through deleted text.
4445 * paragraph_pimpl.h:
4446 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4447 in the current change to the insert functions. Rework erase to
4448 mark text as deleted, adding an eraseIntern() and a range-based
4449 erase(). Implement per-paragraph change lookup and
4452 * paragraph_funcs.C: Fixup paste for change tracking.
4454 * tabular.C: mark added row/columns as new.
4456 * text.C: fix rowLast() to never return -1. Don't allow
4457 spellchecking of deleted text. Track transpose changes. Don't
4458 allow paragraph break or merge where appropriate.
4460 * text2.C: leave cursor at end of selection after a cut.
4462 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4464 * text.C (getLengthMarkerHeight):
4465 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4466 visible on screen too.
4468 2003-02-07 John Levon <levon@movementarian.org>
4470 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4472 2003-02-05 Angus Leeming <leeming@lyx.org>
4474 * lyxserver.C (read_ready): revert my patch of 11 September last year
4475 as it sends PC cpu through the roof. Presumably this means that
4476 the lyxserver will no longer run on an Alpha...
4478 2003-01-30 Angus Leeming <leeming@lyx.org>
4480 * factory.C (createInset): create an InsetCommandParam of type "index"
4481 and use it to 'do the right thing'.
4483 * text2.C (getStringToIndex): ensure that cursor position is always
4484 reset to the reset_cursor position.
4486 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4488 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4491 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4495 * lyxfunc.C: Output messages with identical spelling, punctuation,
4498 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4500 * MenuBackend.C (expandFormats): List only viewable export formats
4503 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4506 * lyxfunc.C (getStatus): Make sure that formats other than
4507 "fax" can also be disabled
4509 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4511 * text3.C (dispatch): put the lfuns that insert insets in 3
4512 groups, and call doInsertInset with appropriate arguments.
4513 (doInsertInset): new function, that creates an inset and inserts
4514 it according to some boolean parameters.
4516 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * buffer.C (readFile): remember to pass on 'par' when calling
4519 readFile recursively.
4521 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4523 * MenuBackend.C (expandFormats): add "..." to import formats.
4525 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4527 * paragraph.C (asString): Remove XForms RTL hacks.
4529 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4530 * buffer.C: fix typo
4532 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * Makefile.am (LIBS): delete var
4535 (lyx_LDADD): add @LIBS@ here instead.
4537 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4539 * Clarify the meaning of "wheel mouse jump"
4541 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4543 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4546 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4548 * importer.C (Loaders): do not preallocate 3 elements in the
4549 vector, since one ends up with 6 elements otherwise
4551 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4553 * DepTable.C (write): write the file name as last element of the
4554 .dep file (because it may contain spaces)
4555 (read): read info in the right order
4557 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4559 * paragraph_pimpl.C (simpleTeXBlanks):
4560 (simpleTeXSpecialChars):
4561 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4563 * tabular.C (latex): add some missing case statements. Reindent.
4565 * MenuBackend.C (expandToc): remove unused variable.
4567 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4576 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4579 2003-01-05 John Levon <levon@movementarian.org>
4582 * BufferView.C: add getEncoding()
4585 * kbsequence.C: do not store last keypress
4588 * lyxfunc.C: store last keypress here instead. Pass encoding
4591 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4593 * lyx_main.C (init): remove annoying error message when following
4594 symbolic links (bug #780)
4596 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4598 * text.C (insertChar):
4599 * lyxrc.C (getDescription): remove extra spaces
4601 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4603 * lyxrc.C (getDescription): remove extra spaces
4605 2002-12-20 John Levon <levon@movementarian.org>
4607 * text3.C: hack fix for page up/down across tall rows
4609 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4611 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4614 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4616 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4617 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4618 thesaurus is not compiled in
4620 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4622 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4624 2002-12-16 Angus Leeming <leeming@lyx.org>
4627 * lyx_main.C (init): remove override_x_deadkeys stuff.
4629 2002-12-12 John Levon <levon@movementarian.org>
4631 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4632 insert. Only remove shift modifier under strict
4635 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * MenuBackend.C (expandToc): fix crash.
4639 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * MenuBackend.C (expandToc): gettext on float names.
4643 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4645 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4646 implement bool empty() [bug 490]
4648 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4652 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * several files: ws changes
4656 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * text2.C (setCounter): clean up a bit, use boost.format.
4659 (updateCounters): initialize par upon declaration.
4661 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4662 if the layout exists. We do not just store the layout any more.
4663 (SwitchLayoutsBetweenClasses): use boost.format
4665 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4667 * converter.C (convert): if from and to files are the same, use a
4668 temporary files as intermediary
4670 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4673 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4675 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4677 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4679 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * tabular.C (asciiPrintCell): use string(size, char) instead of
4684 * sgml.C (openTag): fix order of arguments to string constructor
4687 * lyxfunc.C (dispatch): use boost.format
4689 * lots of files: change "c" -> 'c'
4691 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4693 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4695 2002-11-25 Angus Leeming <leeming@lyx.org>
4697 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4699 * lyx_main.C (init): compile fix.
4701 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * lyx_cb.C (start): boost.formatify
4704 do not include <iostream>
4706 * lengthcommon.C: ws only
4708 * boost-inst.C,BoostFormat.h: add more explict instantations
4710 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * lots of files: handle USE_BOOST_FORMAT
4714 2002-11-21 John Levon <levon@movementarian.org>
4716 * pspell.C: fix compile
4718 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4720 * lyxfunc.C (dispatch): use boost::format
4724 * lyxfont.C (stateText): use boost::format
4726 * lyx_main.C (LyX): use boost::format
4728 (queryUserLyXDir): ditto
4731 (typedef boost::function): use the recommened syntax.
4733 * importer.C (Import): use boost::format
4735 * debug.C (showLevel): use boost::format
4737 * converter.C (view): use boost::format
4742 * bufferview_funcs.C (currentState): use boost::format
4744 * bufferlist.C (emergencyWrite): use boost::format
4746 * buffer.C (readLyXformat2): use boost::format
4747 (parseSingleLyXformat2Token): ditto
4749 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4751 * LaTeX.C (run): use boost::format
4753 * Chktex.C (scanLogFile): use boost::format
4755 * BufferView_pimpl.C (savePosition): use boost::format
4756 (restorePosition): ditto
4757 (MenuInsertLyXFile): ditto
4759 * BoostFormat.h: help file for explicit instation.
4761 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4763 * tabular.C (latex): Support for block alignment in fixed width
4766 2002-11-17 John Levon <levon@movementarian.org>
4768 * BufferView_pimpl.C:
4770 * lyxfunc.C: split filedialog into open/save
4772 2002-11-08 Juergen Vigna <jug@sad.it>
4774 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4775 by my last patch (hopefully).
4777 2002-11-08 John Levon <levon@movementarian.org>
4786 * toc.C: ParConstIterator, and use it (from Lars)
4788 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4790 * lyxtextclass.[Ch]: revise and add doxygen comments
4792 2002-11-07 John Levon <levon@movementarian.org>
4794 * text.C: fix progress value for spellchecker
4796 * toc.C: fix navigate menu for insetwrap inside minipage
4798 * paragraph_funcs.C: added FIXME for suspect code
4800 2002-11-07 John Levon <levon@movementarian.org>
4802 * BufferView_pimpl.C: fix redrawing of insets
4805 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4807 * text2.C (updateCounters): fix bug 668
4809 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4811 * text3.C (dispatch): Do not make the buffer dirty when moving the
4814 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * vc-backend.C: STRCONV
4819 * text2.C (setCounter): STRCONV
4821 * paragraph.C (asString): STRCONV
4823 * lyxlength.C (asString): STRCONV
4824 (asLatexString): ditto
4826 * lyxgluelength.C (asString): STRCONV
4827 (asLatexString): ditto
4829 * lyxfunc.C (dispatch): STRCONV
4832 * lyxfont.C (stateText): STRCONV
4834 * importer.C (Import): STRCONV
4836 * counters.C (labelItem): STRCONV
4837 (numberLabel): ditto
4838 (numberLabel): remove unused ostringstream o
4843 * bufferview_funcs.C (currentState): STRCONV
4845 * buffer.C (readFile): STRCONV
4846 (asciiParagraph): ditto
4847 (makeLaTeXFile): ditto
4849 * Spacing.C (writeEnvirBegin): STRCONV
4851 * LaTeXFeatures.C (getLanguages): STRCONV
4852 (getPackages): ditto
4854 (getBabelOptions): ditto
4855 (getTClassPreamble): ditto
4856 (getLyXSGMLEntities): ditto
4857 (getIncludedFiles): ditto
4861 (scanAuxFile): ditto
4864 * LString.h: add the STRCONV macros
4866 * BufferView_pimpl.C (savePosition): STRCONV
4867 (restorePosition): ditto
4868 (MenuInsertLyXFile): ditto
4870 * vc-backend.C (scanMaster): change from submatch[...] to
4873 * funcrequest.C: include config.h
4875 * factory.C: include config.h
4877 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4879 * box.C: include config.h
4881 * LaTeX.C (scanAuxFile): change from submatch[...] to
4885 2002-10-25 Angus Leeming <leeming@lyx.org>
4887 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4889 * ispell.[Ch] (setError): new method.
4890 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4891 Use setError() insetead of goto END.
4893 * lyx_cb.C (AutoSave): move out child process into new class
4896 2002-10-30 John Levon <levon@movementarian.org>
4898 * text3.C: make start appendix undoable
4900 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4902 * lyxlength.C (inPixels): Fix returned value.
4904 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4907 2002-10-24 Angus Leeming <leeming@lyx.org>
4909 * lyxgluelength.h: no need to forward declare BufferParams
4910 or BufferView, so don't.
4912 2002-10-21 John Levon <levon@movementarian.org>
4914 * BufferView.C: menuUndo ->undo, redo
4916 * BufferView.h: document, remove dead, make some methods private
4918 * paragraph_funcs.h:
4919 * paragraph_funcs.C:
4920 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4925 * sgml.C: move sgml open/close tag into sgml.C
4927 * bufferview_funcs.h: unused prototype
4930 * lyxfunc.C: remove unused
4933 * text.C: remove unused
4935 2002-10-21 John Levon <levon@movementarian.org>
4939 * BufferView_pimpl.h:
4940 * BufferView_pimpl.C: fix mouse wheel handling based on
4941 patch from Darren Freeman
4943 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4945 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4947 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4949 * lyxlength.C (inPixels): Fix hanfling of negative length.
4950 Fix LyXLength::MU case.
4952 2002-10-16 John Levon <levon@movementarian.org>
4954 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4956 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4958 * converter.C (view): add support for $$i (file name) and $$p
4959 (file path) for the viewer command. If $$i is not specified, then
4960 it is appended to the command (for compatibility with old syntax)
4962 2002-10-14 Juergen Vigna <jug@sad.it>
4964 * undo_funcs.C (textHandleUndo): alter the order in which the
4965 new undopar is added to the LyXText, as we have to set first
4966 the right prev/next and then add it as otherwise the rebuild of
4967 LyXText is not correct. Also reset the cursor to the right paragraph,
4968 with this IMO we could remove the hack in "redoParagraphs()".
4970 2002-10-09 Angus Leeming <leeming@lyx.org>
4972 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4973 to turn off an optimisation if a new inset is to be inserted.
4975 2002-10-11 André Pönitz <poenitz@gmx.net>
4977 * lyxtext.h: make some functions public to allow access
4978 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4980 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4982 * text3.C (dispatch): when changing layout, avoid an infinite loop
4985 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4987 * lyxrc.C (read): treat a viewer or converter command of "none" as
4990 * MenuBackend.C (expandFormats): for an update, also allow the
4991 formats that are not viewable
4993 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4994 script if it is newer than the lyxrc.defaults in user directory
4996 2002-10-07 André Pönitz <poenitz@gmx.net>
4998 * text.C: Vitaly Lipatov's small i18n fix
5000 2002-09-25 Angus Leeming <leeming@lyx.org>
5002 * ispell.h: doxygen fix.
5004 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5006 * buffer.h (readFile): Add a new argument to the method, to allow
5007 reading of old-format templates.
5009 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5011 * toc.C (getTocList): Get TOC from InsetWrap.
5013 2002-09-16 John Levon <levon@movementarian.org>
5015 * lyxfunc.C: check tabular for cut/copy too
5017 2002-09-12 John Levon <levon@movementarian.org>
5022 * factory.C: add header
5024 * paragraph_funcs.h:
5025 * paragraph_funcs.C: cleanup
5027 2002-09-11 John Levon <levon@movementarian.org>
5029 * PrinterParams.h: odd/even default to true
5031 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5033 * PrinterParams.h: update printer parameters for new xforms dialog
5035 2002-09-11 Angus Leeming <leeming@lyx.org>
5037 * lyxserver.C (read_ready): re-write to make it more transparent
5038 and to make it work in coherent fashion under Tru64 Unix.
5040 2002-09-11 André Pönitz <poenitz@gmx.net>
5044 * text3.C: implement LFUN_WORDSEL
5046 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5049 make floatlist_ a boost::shared_ptr<FloatList>
5051 * lyxtextclass.C: include FloatList.h
5052 (LyXTextClass): initialize floatlist_
5053 (TextClassTags): add TC_NOFLOAT
5054 (Read): match "nofloat" to TC_NOFLOAT and use it.
5055 (readFloat): modify call to floatlist_
5059 * FloatList.[Ch] (FloatList): remove commented out float
5061 (erase): new function
5063 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5065 * MenuBackend.C (expandToc): fix crash when there is no document
5068 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5070 * many files: Add insetwrap.
5072 2002-09-09 John Levon <levon@movementarian.org>
5074 * text2.C: remove confusing and awkward depth wraparound
5076 2002-09-09 John Levon <levon@movementarian.org>
5078 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5081 * buffer.C: remove getIncludeonlyList()
5084 * lyxfunc.C: remove headers
5086 2002-09-09 Juergen Vigna <jug@sad.it>
5088 * text.C (getColumnNearX): fix form Michael this is most
5089 probably a cut&paste bug.
5091 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5093 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5095 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5096 references, ws changes.
5098 * text2.C (init): update counters after init
5099 (insertParagraph): no need to set counter on idividual paragraphs.
5100 (setCounter): access the counters object in the textclass object
5101 on in the buffer object.
5102 (updateCounters): ditto
5104 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5105 shared_ptr<Counters> to avoid loading counters.h in all
5107 (LyXTextClass): initialize ctrs_
5108 (TextClassTags): add TC_COUNTER, and ...
5109 (Read): use it here.
5110 (CounterTags): new tags
5111 (readCounter): new function
5112 (counters): new funtion
5113 (defaultLayoutName): return a const reference
5115 * counters.C (Counters): remove contructor
5116 (newCounter): remove a couple of unneeded statements.
5117 (newCounter): simplify a bit.
5118 (numberLabel): some small formatting changes.
5120 * buffer.[Ch]: remove all traces of counters, move the Counters
5121 object to the LyXTextClass.
5123 2002-09-06 Alain Castera <castera@in2p3.fr>
5125 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5126 package to set the horizontal alignment on fixed width columns.
5129 * lyx_sty.h: added tabularnewline macro def.
5131 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5133 2002-09-06 John Levon <levon@movementarian.org>
5135 * LyXAction.C: tooltips for sub/superscript
5137 * MenuBackend.C: a bit more verbose
5139 * lyxfunc.C: tiny clean
5141 * undo_funcs.C: document undo_frozen
5143 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * counters.C (Counters): add missing algorithm counter.
5147 * text2.C (setCounter): lookup the counter with layouts latexname
5148 instead of by section number.
5149 (setCounter): use a hackish way to lookup the correct enum
5151 a float name->type change
5152 reset enum couners with counter name directly instead of depth value.
5154 * counters.C (Counters): remove the push_backs, change to use the
5155 float type not the float name.
5156 (labelItem): remove unused string, float name->type change
5158 * counters.h: don't include vector, loose the enums and sects vectors
5160 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5163 (Read): add float->TC_FLOAT to textclassTags
5164 (Read): and handle it in the switch
5165 (readFloat): new function
5167 * FloatList.C (FloatList): comment out the hardcoded float
5170 * lyxlayout.h: ws change.
5172 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5174 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5176 2002-09-03 Angus Leeming <leeming@lyx.org>
5178 * BufferView_pimpl.h: qualified name is not allowed in member
5179 declaration: WorkArea & Pimpl::workarea() const;
5181 * factory.C: added using std::endl directive.
5183 * text3.C: added using std::find and std::vector directives.
5185 2002-08-29 André Pönitz <poenitz@gmx.net>
5188 * text2.C: remove unused member number_of_rows
5191 * BufferView2.C: remove file, move contents to...
5192 * BufferView.C: ... here
5194 * BufferView_pimpl.C:
5195 * factory.C: move more inset creation to factory
5197 * vspace.C: avoid direct usage of LyXText, ws changes
5200 don't provide direct access to WorkArea, use two simple
5201 acessors haveSelction() and workHeight() instead
5204 2002-08-29 John Levon <levon@movementarian.org>
5206 * BufferView_pimpl.C (dispatch): do not continue when
5209 2002-08-28 André Pönitz <poenitz@gmx.net>
5211 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5214 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5216 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5218 * buffer.C: increment LYX_FORMAT to 221
5220 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5221 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5223 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5225 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5227 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5229 * factory.C (createInset): use LyXTextClass::floats
5231 * MenuBackend.C (expandFloatListInsert):
5232 (expandFloatInsert):
5235 * text2.C (setCounter):
5237 * LaTeXFeatures.C (useFloat):
5238 (getFloatDefinitions):
5240 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5242 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5243 floatlist_, with accessor floats().
5245 * FloatList.h: remove global FloatList
5247 2002-08-26 André Pönitz <poenitz@gmx.net>
5249 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5253 * BufferView_pimpl.C:
5254 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5256 2002-08-25 John Levon <levon@movementarian.org>
5258 * LyXAction.C: fix margin note description
5260 2002-08-24 John Levon <levon@movementarian.org>
5264 * bufferview_funcs.C:
5266 * undo_funcs.C: cleanups
5268 * lyxfunc.C: disable CUT/COPY when no selection
5270 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5272 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5273 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5275 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5276 Add backward compatibility to "mono", "gray" and "no".
5278 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5280 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5281 (and file_format >= 200).
5283 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5285 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5287 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5289 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5291 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5293 * BufferView_pimpl.C:
5300 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5301 inset and code to make it work with the paragraph code. The inset
5302 can be anywhere in the paragraph, but will only do the expected
5303 thing in LaTeX if the layout file contains the parameter line
5305 (or more generally, a nonzero value) for that layout.
5307 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * paragraph.h: remove the declaration of undefined counters class
5312 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5314 * text2.C (setCounter): fixed enumeration mis-count as reported by
5315 Dr. Richard Hawkins.
5317 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5319 * paragraph_funcs.h: remove some unneeded includes
5321 * text.C (backspace): pasteParagraph now in global scipe
5323 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5324 (pasteSelection): ditto
5326 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5327 * paragraph_funcs.C (pasteParagraph): ... here
5329 2002-08-20 André Pönitz <poenitz@gmx.net>
5331 * commandtags.h: new LFUNs for swapping/copying table row/colums
5334 * lyxfunc.C: support for new lfuns
5336 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * buffer.[Ch]: remove NO_COMPABILITY stuff
5341 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * boost.C (throw_exception): new file, with helper function for
5344 boost compiled without exceptions.
5349 * ParameterStruct.h:
5350 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5352 * bufferlist.C (emergencyWriteAll): use boost bind
5354 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5356 * text.C: include paragraph_funcs.h
5357 (breakParagraph): breakParagraph is now in global scope
5359 * paragraph_funcs.[Ch]: new files
5361 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5364 * buffer.C: include paragraph_funcs.h
5365 (insertStringAsLines): breakParagraph is now in global scope
5367 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5370 * CutAndPaste.C: include paragraph_funcs.h
5371 (cutSelection): breakParagraphConservative is now in global scope
5372 (pasteSelection): ditto
5374 * buffer.h: declare oprator== and operator!= for
5375 Buffer::inset_iterator
5377 * bufferlist.C (emergencyWrite): don't use fmt(...)
5379 * text3.C: add using std::endl
5381 * BufferView.C (moveCursorUpdate): remove default arg
5383 2002-08-20 André Pönitz <poenitz@gmx.net>
5385 * buffer.[Ch]: move inline functions to .C
5388 * BufferView_pimpl.C:
5390 * buffer.[Ch]: use improved inset_iterator
5393 * paragraph.[Ch]: write one paragraph at a time
5395 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5397 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5398 style if style is not specified.
5400 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5402 * text2.C (setCounter): when searching for right label for a
5403 caption, make sure to recurse to parent insets (so that a caption
5404 in a minipage in a figure float works) (bug #568)
5406 2002-08-20 André Pönitz <poenitz@gmx.net>
5408 * text3.C: new file for LyXText::dispatch() and helpers
5410 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5412 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5414 2002-08-19 André Pönitz <poenitz@gmx.net>
5417 * text.C: new LyXText::dispatch()
5419 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5421 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5423 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5425 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5428 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5430 * Makefile.am: use $(variables) instead of @substitutions@
5432 2002-08-15 André Pönitz <poenitz@gmx.net>
5435 * BufferView_pimpl.C: streamlining mathed <-> outer world
5439 * LyXAction.C: remove unused LFUN_MATH
5441 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5443 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5445 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5447 * paragraph.C (Paragraph): reformat a bit
5448 (cutIntoMinibuffer): use builtin InsetList function instad of
5452 * buffer.C: include boost/bind.hpp, add using std::for_each
5453 (writeFileAscii): use ParagraphList iterators
5454 (validate): use for_each for validate traversal of paragraphs
5455 (getBibkeyList): use ParagraphList iterators
5456 (resizeInsets): use for_each to resizeInsetsLyXText for all
5458 (getParFromID): use ParagraphList iterators
5460 * BufferView2.C (lockInset): use paragraph list and iterators
5462 2002-08-14 John Levon <levon@movementarian.org>
5464 * lyxserver.C: remove spurious xforms include
5466 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5468 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5470 2002-08-13 André Pönitz <poenitz@gmx.net>
5473 * lyxfunc.C: further cleaning
5475 2002-08-13 André Pönitz <poenitz@gmx.net>
5477 * funcrequest.h: new constructor
5479 * funcrequest.C: move stuff here from .h
5482 * BufferView_pimpl.C:
5485 * lyxfunc.C: subsequent changes
5487 * lyxfunc.h: new view() member function
5489 * lyxfunc.C: subsequent changes
5491 2002-08-13 Angus Leeming <leeming@lyx.org>
5494 * BufferView_pimpl.C:
5502 changes due to the changed LyXView interface that now returns references
5503 to member variables not pointers.
5505 2002-08-13 Angus Leeming <leeming@lyx.org>
5507 * WordLangTuple (word, lang_code): return references to strings,
5512 * lyxtext.h: forward-declare WordLangTuple.
5517 * text.C: #include "WordLangTuple.h".
5520 * text.C: (selectNextWordToSpellcheck): constify return type.
5522 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5528 * paragraph_pimpl.h:
5531 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5533 Made updateCounter always count from start of buffer, and removed
5534 second argument (par).
5535 Reverted floats number display to '#'. Perhaps I'll try again when the
5536 code base is sanitized a bit.
5538 2002-08-12 Angus Leeming <leeming@lyx.org>
5540 * buffer.[Ch] (getLabelList): constify.
5542 2002-08-07 André Pönitz <poenitz@gmx.net>
5544 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5546 * funcrequest.h: extension to keep mouse (x,y) position
5548 2002-08-12 Juergen Vigna <jug@sad.it>
5550 * BufferView2.C (insertErrors): forbid undo when inserting error
5553 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5555 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5557 * ParagraphList.[Ch]: new files
5559 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5561 * BufferView2.C (lockInset): ParagraphList changes
5564 * bufferlist.C: ditto
5568 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5571 unused class variable counter_,
5573 * paragraph.[Ch] (getFirstCounter): delete unused function
5575 * counters.C: include LAssert.h
5576 (reset): add a new function with no arg, change other version to
5577 not have def. arg and to not allow empty arg.
5579 * text2.C (setCounter): remove empty arg from call to Counters::reset
5581 2002-08-11 John Levon <levon@movementarian.org>
5583 * Makefile.am: add WordLangTuple.h
5585 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5588 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5590 * insets/insettext.C: InsetList changes
5592 * graphics/GraphicsSupport.C (operator()): InsetList changes
5594 * toc.C (getTocList): InsetList changes
5596 * paragraph_pimpl.[Ch]: InsetList changes
5598 * paragraph.[Ch]: InsetList changes
5600 * buffer.C (inset_iterator): InsetList changes
5601 (setParagraph): ditto
5602 * buffer.h (inset_iterator): ditto
5603 * iterators.C (operator++): ditto
5604 * iterators.h: ditto
5606 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5608 * InsetList.[Ch]: new files, most InsetList handling moved out of
5611 * BufferView2.C (removeAutoInsets): InsetList changes
5613 (ChangeInsets): ditto
5615 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5617 * paragraph_pimpl.h (empty): new function
5619 * paragraph.[Ch] (empty): new function
5621 * other files: use the new Paragraph::empty function
5623 2002-08-09 John Levon <levon@movementarian.org>
5625 * lyxtext.h: remove unused refresh_height
5627 2002-08-09 John Levon <levon@movementarian.org>
5634 * paragraph.C: move sgml char escaping out of paragraph
5637 * paragraph.C: remove id setter
5641 * paragraph_pimpl.C: remove dead tex_code_break_column
5643 * bufferview_funcs.C: small cleanup
5645 * lyxfunc.C: remove dead proto
5647 * lyxtext.h: make some stuff private. Remove some dead stuff.
5649 * lyxgluelength.C: make as[LyX]String() readable
5651 2002-08-08 John Levon <levon@movementarian.org>
5656 * ToolbarDefaults.C:
5659 * toc.C: lyxaction cleanup
5661 2002-08-08 John Levon <levon@movementarian.org>
5663 * BufferView2.C: small cleanup
5666 * lyxfind.C: move unnecessary header into the .C
5668 2002-08-08 John Levon <levon@movementarian.org>
5670 * funcrequest.h: just tedious nonsense
5673 * lyx_main.C: cleanups
5676 * vspace.C: remove dead header lyx_main.h
5678 2002-08-07 Angus Leeming <leeming@lyx.org>
5681 * paragraph_pimpl.h:
5682 Forward declare class Counters in paragraph.h by moving the ctrs member
5683 variable into Paragraph::Pimpl.
5684 (counters): new method, returning a reference to pimpl_->ctrs.
5686 * text2.C: ensuing changes.
5688 2002-08-07 John Levon <levon@movementarian.org>
5690 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5692 * BufferView_pimpl.C: announce X selection on double/triple
5695 * lyx_main.C: use correct bool in batch dispatch
5697 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5699 2002-08-07 André Pönitz <poenitz@gmx.net>
5701 * funcrequest.h: new class to wrap a kb_action and its argument
5704 * BufferView_pimpl[Ch]:
5708 * lyxrc.C: subsequent changes
5711 2002-08-07 John Levon <levon@movementarian.org>
5713 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5714 document options change.
5716 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5721 * makefile.am: move counters functionality over from
5722 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5724 2002-08-06 John Levon <levon@movementarian.org>
5726 * WordLangTuple.h: new file for word + language code tuple
5737 * BufferView2.C: use WordLangTuple
5740 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5742 2002-08-06 John Levon <levon@movementarian.org>
5744 * lyx_main.C: fix cmdline batch handling
5746 2002-08-06 André Pönitz <poenitz@gmx.net>
5748 * lyxrc.C: set default for show_banner to true
5750 2002-08-06 John Levon <levon@movementarian.org>
5752 * pspell.C: fix a crash, and allow new aspell to work
5754 2002-08-06 John Levon <levon@movementarian.org>
5757 * kbmap.C: small cleanup
5760 * vspace.C: add const
5762 2002-08-05 John Levon <levon@movementarian.org>
5764 * LyXAction.C: back to tabular-insert
5766 2002-08-04 John Levon <levon@movementarian.org>
5769 * BufferView.C: cosmetic change
5771 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5781 * BufferView2.C: purge all "Lyx" not "LyX" strings
5784 * lyxcursor.C: attempt to add some documentation
5789 * ToolbarDefaults.C:
5790 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5791 merge with LFUN_TABULAR_INSERT
5798 * pspell.C: split up i/pspell implementations into separate
5799 files, many cleanups
5801 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5803 * text2.C: some cleanup
5805 * lyxfunc.C: don't check for isp_command == "none" any more, it
5806 didn't make any sense
5808 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5813 * makefile.am: move counters functionality over
5814 from text2.C/paragraph.[Ch] to counters.[Ch], and
5816 2002-08-02 John Levon <levon@movementarian.org>
5818 * buffer.C: s/lyxconvert/lyx2lyx/
5820 2002-08-02 Angus Leeming <leeming@lyx.org>
5822 * lyxlex.C: revert John's change as it breaks reading of the user
5825 2002-08-02 Angus Leeming <leeming@lyx.org>
5827 * importer.C (Import):
5828 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5829 changes due to LyXView::view() now returning a boost::shared_ptr.
5831 2002-08-02 John Levon <levon@movementarian.org>
5833 * lyxlex.C: small cleanup
5835 2002-08-02 John Levon <levon@movementarian.org>
5837 * text2.C (status): small cleanup, no logic change
5839 2002-08-01 John Levon <levon@movementarian.org>
5842 * buffer.C (writeFile): don't output alerts, caller
5846 * lyx_cb.C: from above
5848 * lyxfunc.C: allow to open non-existent files
5850 2002-07-31 John Levon <levon@movementarian.org>
5852 * lyxserver.C: don't let incidental errors get
5855 2002-07-30 John Levon <levon@movementarian.org>
5857 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5859 2002-07-30 John Levon <levon@movementarian.org>
5862 * lyxserver.C: remove I/O callback too
5864 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5866 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5869 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5871 * many files: strip,frontStrip -> trim,ltrim,rtrim
5873 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * PrinterParams.h: remove extern containsOnly, and include
5876 support/lstrings.h instead.
5878 * LaTeX.C (scanAuxFile): modify because of strip changes
5880 * buffer.C (makeLaTeXFile): ditto
5881 * bufferparams.C (writeFile): ditt
5882 * lyxfont.C (stateText): ditto
5883 * lyxserver.C (read_ready): ditto
5884 * vc-backend.C (scanMaster): ditto
5886 * BufferView_pimpl.h: ws changes
5888 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5890 2002-07-26 André Pönitz <poenitz@gmx.net>
5892 * kb_sequence.C: remove unnedred usings
5894 2002-07-26 Juergen Vigna <jug@sad.it>
5896 * lyxfind.C (LyXReplace): we have to check better if the returned
5897 text is not of theLockingInset()->getLockingInset().
5899 2002-07-25 Juergen Vigna <jug@sad.it>
5901 * lyxfind.C (LyXReplace): don't replace if we don't get the
5904 * undo_funcs.C (createUndo): remove debugging code.
5906 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5908 * buffer.C (parseSingleLyXformat2Token): Use default placement
5909 when reading old floats.
5911 * FloatList.C (FloatList): Change the default placement of figure
5912 and tables to "tbp".
5914 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5916 * MenuBackend.C: using std::max
5918 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5920 * MenuBackend.C (expandToc):
5921 (expandToc2): code moved from xforms menu frontend. It is now
5922 generic and TOCs are transparent to menu frontends.
5924 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5926 * toc.C (getTocList): protect against buf=0
5928 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5929 Menu as first parameter. Now, this calls itself recursively to
5930 expand a whole tree (this will be useful for TOC handling)
5931 (expandFloatInsert): remove 'wide' version of floats
5933 * MenuBackend.h (submenuname): returns the name of the submenu.
5934 (submenu): returns the submenu itself, provided it has been
5935 created by MenuBackend::expand
5937 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5939 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5940 insets which have noFontChange == true. (bug #172)
5942 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5944 * BufferView_pimpl.C: add connection objects and use them...
5947 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5949 * MenuBackend.C (expandLastfiles):
5952 (expandFloatListInsert):
5953 (expandFloatInsert):
5954 (expand): split expand in parts
5956 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5958 * lyx_gui.C: use lyx_gui::exit()
5960 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5962 * LyXAction.C: show the failing pseudo action
5964 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5966 * buffer.C (readFile): Run the lyxconvert script in order to read
5969 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5973 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5975 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5979 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5981 2002-07-22 Herbert Voss <voss@lyx.org>
5984 * lyxlength.[Ch]: add support for the vertical lengths
5986 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5988 * toc.[Ch]: std:: fixes
5990 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5992 * lyxrc.C: do not include lyx_main.h
5994 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6000 * BufferView2.C: include "lyxlex.h"
6003 * bufferparams.h: do not #include "lyxlex.h"
6005 * lyxtextclasslist.C (Add): remove method
6006 (classlist): renamed to classlist_
6008 * paragraph_pimpl.C:
6012 * bufferview_funcs.C:
6017 * toc.C (getTocList): use BufferParams::getLyXTextClass
6019 * toc.C (getTocList): use InsetFloat::addToToc
6021 * toc.[Ch]: new files, containing helper functions to handle table
6024 * lyxfunc.C (dispatch): no need to remove spaces around command
6026 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6027 first command of the sequence; it is not very clever, but I do not
6028 have a better idea, actually
6030 * LyXAction.C (LookupFunc): make sure to remove space at the
6031 beginning and end of the command
6033 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6035 * MenuBackend.C (getMenubar): new method: return the menubar of
6037 (read): treat differently reading of menu and menubar (in
6038 particular, the menubar has no name now)
6039 (Menu::menubar): remove
6041 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6044 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6046 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6047 a bibitem inset in a RTL paragraph.
6049 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6051 * paragraph_pimpl.C: constify
6053 * BufferView_pimpl.C:
6055 * lyxfunc.C: fix dispatch in a nicer way
6057 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6059 * lyxfunc.C (dispatch):
6060 * BufferView_pimpl.C:
6061 * BufferView_pimpl.h:
6063 * BufferView.h: rename Dispatch() to dispatch()
6065 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6067 * lyxlayout.C (Read): honor DependsOn tag
6069 * lyxlayout.[Ch] (depends_on): new method
6071 * version.C.in: update lyx_docversion
6073 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6075 * paragraph.C (validate): remove from here...
6076 * paragraph_pimpl.C (validate): ... and move here
6077 (isTextAt): make it const
6079 * buffer.C (getLists): ws cleanup
6081 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6083 * language.C (read): Use iso8859-1 encoding in latex_lang
6084 (this prevents LyX from crashing when using iso10646-1 encoding).
6086 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6088 * text2.C (toggleInset): if cursor is inside an inset, close the
6089 inset and leave cursor _after_ it
6091 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6093 * lyxfunc.C: move minibuffer completion handling out of here
6095 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6097 * BufferView_pimpl.C:
6098 * LaTeX.C: fix dispatch calls
6100 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6102 * text.C (drawChars): Fix Arabic text rendering.
6104 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6108 * lyxfunc.C: remove message-push/pop
6112 * lyxfunc.C: rationalise some code by removing verboseDispatch
6113 in favour of a bool argument to dispatch()
6115 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6117 * lyx_main.C (init): make sure to read symlinks as absolute paths
6119 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6122 * lyxfunc.C: no need for commandshortcut to be a member
6124 2002-07-15 André Pönitz <poenitz@gmx.net>
6126 * converter.C: add support for $$s (scripts from lib/scripts dir)
6127 * lyx_main.C: white space
6129 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6133 * lyxrc.C: remove second exit confirmation
6135 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6140 * BufferView_pimpl.h:
6141 * BufferView_pimpl.C:
6142 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6144 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * MenuBackend.C (expand): add numeric shortcuts to document menu
6148 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6150 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6152 * lyxfont.C (setLyXFamily):
6159 * buffer.C (asciiParagraph): use ascii_lowercase
6161 2002-07-15 Mike Fabian <mfabian@suse.de>
6163 * lyxlex_pimpl.C (search_kw):
6164 * lyxlex.C (getLongString):
6165 * converter.h (operator<):
6166 * converter.C (operator<):
6167 * buffer.C (parseSingleLyXformat2Token):
6169 * ToolbarDefaults.C (read):
6170 * MenuBackend.C (checkShortcuts):
6172 * LColor.C (getFromGUIName):
6173 (getFromLyXName): use the compare_ascii_no_case instead of
6174 compare_no_case, because in turkish, 'i' is not the lowercase
6175 version of 'I', and thus turkish locale breaks parsing of tags.
6177 2002-07-16 Angus Leeming <leeming@lyx.org>
6179 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6180 now takes a Buffer const & argument.
6182 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6184 * BufferView.C (resize): check there's a buffer to resize
6186 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6188 * lyxfunc.C: remove dead code
6191 * lyxserver.C: use lyx_guii::set_read_callback
6193 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6195 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6196 an inset in a RTL paragraph.
6198 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6200 * lyxfunc.C: repaint after a font size update
6202 2002-07-15 André Pönitz <poenitz@gmx.net>
6204 * lyxlength.C: inBP should be able to return negative values
6206 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6208 * lyxfunc.C: use lyx_gui::update_fonts()
6210 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6212 * lyxfunc.C: use lyx_gui::update_color()
6214 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6220 * lyxrc.C: remove file->new asks for name option, and let
6221 buffer-new take an argument
6223 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6225 * BufferView_pimpl.C: remove unneeded extra repaint()
6227 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6229 * LyXAction.C: allow command-sequence with NoBuffer
6231 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6233 2002-07-10 Angus Leeming <leeming@lyx.org>
6235 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6237 2002-07-09 Angus Leeming <leeming@lyx.org>
6239 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6241 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6243 * lengthcommon.h: whitespace
6245 * lyxfunc.C: update scrollbar after goto paragraph
6247 * lyxtext.h: factor out page break drawing, and fix it so
6248 page break/added space paints as selected nicely
6250 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6252 * BufferView_pimpl.C: add FIXMEs, clean up a little
6254 2002-07-09 André Pönitz <poenitz@gmx.net>
6256 * lyxfont.[Ch]: support for wasy symbols
6258 2002-07-08 André Pönitz <poenitz@gmx.net>
6260 * BufferView_pimpl.C: apply John's patch for #93.
6262 2002-07-05 Angus Leeming <leeming@lyx.org>
6264 * BufferView_pimpl.C (buffer): generate previews if desired.
6266 * LColor.h: add "preview" to the color enum.
6268 * LColor.C (LColor): add a corresponding entry to the items array.
6270 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6273 2002-07-05 Angus Leeming <leeming@lyx.org>
6275 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6276 The body of the code is now in the method that is passed an ostream &
6277 rather than a file name.
6278 Pass an additional only_preamble parameter, useful for the forthcoming
6281 2002-07-03 André Pönitz <poenitz@gmx.net>
6283 * lyxfunc.C: simplify getStatus() a bit for math stuff
6285 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6287 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6289 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6291 * text.C (changeRegionCase): do not change case of all the
6292 document when region ends at paragraph end (bug #461)
6294 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6296 * paragraph.C (startTeXParParams):
6297 (endTeXParParams): add \protect when necessary
6299 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6301 * BufferView_pimpl.C (workAreaExpose): remove warning
6303 2002-06-27 Angus Leeming <leeming@lyx.org>
6305 * Makefile.am: add lyxlayout_ptr_fwd.h.
6307 2002-06-26 André Pönitz <poenitz@gmx.net>
6309 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6311 2002-06-25 Angus Leeming <leeming@lyx.org>
6313 * lyxfunc.C (dispatch): Comment out the call to
6314 grfx::GCache::changeDisplay. The method no longer exists now that the
6315 pixmap generation part of the graphics loader has been moved into
6318 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6320 * text2.C: layout as layout
6322 * text.C: layout as layout
6324 * tabular.C (OldFormatRead): layout as layout
6326 * paragraph_pimpl.C (TeXDeeper): layout as layout
6327 (realizeFont): layout as layout
6329 * paragraph.C (writeFile): layout as layout
6330 (validate): layout as layout
6331 (getFont): layout as layout
6332 (getLabelFont): layout as layout
6333 (getLayoutFont): layout as layout
6334 (breakParagraph): layout as layout
6335 (stripLeadingSpaces): layout as layout
6336 (getEndLabel): layout as layout
6337 (getMaxDepthAfter): layout as layout
6338 (applyLayout): layout as layout
6339 (TeXOnePar): layout as layout
6340 (simpleTeXOnePar): layout as layout
6341 (TeXEnvironment): layout as layout
6342 (layout): layout as layout
6343 (layout): layout as layout
6345 * lyxtextclass.C (compare_name): new functor to work with
6346 shared_ptr, layout as layout
6347 (Read): layout as layout
6348 (hasLayout): layout as layout
6349 (operator): layout as layout
6350 (delete_layout): layout as layout
6351 (defaultLayout): layout as layout
6353 * lyxlayout_ptr_fwd.h: new file
6355 * lyxlayout.C (Read): layout as layout
6357 * lyx_cb.C (MenuInsertLabel): layout as layout
6359 * bufferlist.C (newFile): layout as layout
6361 * buffer.C (readLyXformat2): layout as layout
6362 (parseSingleLyXformat2Token): layout as layout
6363 (insertStringAsLines): layout as layout
6364 (asciiParagraph): layout as layout
6365 (latexParagraphs): layout as layout
6366 (makeLinuxDocFile): layout as layout
6367 (simpleLinuxDocOnePar): layout as layout
6368 (makeDocBookFile): layout as layout
6369 (simpleDocBookOnePar): layout as layout
6370 (getLists): layout as layout
6372 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6374 * CutAndPaste.C (cutSelection): layout as layout
6375 (pasteSelection): layout as layout
6376 (SwitchLayoutsBetweenClasses): layout as layout
6378 * BufferView_pimpl.C (Dispatch): layout as layout
6379 (smartQuote): layout as layout
6381 * BufferView2.C (unlockInset): layout as layout
6383 2002-06-24 André Pönitz <poenitz@gmx.net>
6385 * lyxfunc.C: fix #487
6387 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6391 * lyxfunc.C: remove display_shortcuts, show_banner
6393 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6395 * Buffer_pimpl.C: oops, update on resize
6397 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6404 * BufferView.C: use repaint()
6406 * BufferView_pimpl.h:
6407 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6408 as it's a clearer description. Remove superfluous
6411 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6413 * text.C: fix bug 488. Not ideal, but getting
6414 getWord() to work properly for the insets that
6415 matter is more difficult ...
6417 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6419 * BufferView_pimpl.C:
6422 * lyxfunc.C: remove the six million index lyxfuncs to just
6423 one, and DTRT (bug 458)
6425 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6429 * BufferView_pimpl.h:
6430 * BufferView_pimpl.C: clean up resize() stuff,
6431 and unnecessary updateScreen()s
6433 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6437 * BufferView_pimpl.h:
6438 * BufferView_pimpl.C:
6441 * minibuffer.C: remove focus management of workarea,
6442 not needed. Use screen's greyOut()
6444 2002-06-17 Herbert Voss <voss@lyx.org>
6446 * converter.C: (convert) do not post a message, when converting
6447 fails, let the calling function decide what to do in this case
6449 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6451 * lyxfunc.C: tidy up a little
6453 2002-06-16 <alstrup@diku.dk>
6455 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6456 Got rid of FORMS_H_LOCATION include. Now we are
6459 2002-06-15 LyX Development team <lyx@rilke>
6461 * buffer.[Ch] (sgmlOpenTag):
6462 (sgmlCloseTag): Added support for avoiding pernicious mixed
6463 content. Return number of lines written.
6466 (makeDocBookFile): Fixed calls to sgml*Tag.
6467 Simple white space clean.
6469 (simpleDocBookOnePar): Simple white space clean.
6471 * tabular.[Ch] (docBook): Renamed to docbook and got another
6472 argument to related with the pernicious mixed content.
6474 (docbookRow): Fixed calls for docbook inset method.
6476 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6478 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6479 so it's X11 independent.
6483 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6485 2002-06-15 Lyx Development team <lyx@electronia>
6487 * intl.h: Renamed getTrans to getTransManager.
6489 2002-06-14 Angus Leeming <leeming@lyx.org>
6491 * Makefile.am: nuke forgotten stl_string_fwd.h.
6493 2002-06-12 Angus Leeming <leeming@lyx.org>
6495 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6497 2002-06-13 Angus Leeming <leeming@lyx.org>
6500 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6502 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6504 * kbmap.C (getiso): add support for cyrillic and greek
6506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6510 * BufferView_pimpl.h:
6511 * BufferView_pimpl.C: move bogus scrolling logic
6514 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6517 * BufferView_pimpl.C: view->resize() change
6519 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6521 * BufferView_pimpl.C: topCursorVisible
6524 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6528 * lyx_gui.C: move to frontends/
6532 * lyx_main.C: changes from above
6534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6541 * lyx_main.C: minor tidy
6543 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6545 * BufferView_pimpl.h:
6546 * BufferView_pimpl.C:
6548 * BufferView.C: make painter() const,
6551 * BufferView2.C: use screen() accessor
6554 * lyx_main.C: some minor cleanup
6556 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6558 * BufferView_pimpl.h:
6559 * BufferView_pimpl.C: remove enter/leaveView,
6562 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6567 * BufferView_pimpl.h:
6568 * BufferView_pimpl.C: only construct screen once,
6571 * lyxrc.C: remove pointless comment
6573 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6576 * BufferView.C: remove active() and belowMouse()
6578 * BufferView_pimpl.h:
6579 * BufferView_pimpl.C: use workarea() not workarea_,
6580 and make it use a scoped_ptr instead
6582 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6584 * lyx_gui.C: add debug message on BadWindow
6586 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6588 * sp_spell.C: fdopen is not part of the C++ standard.
6590 * paragraph.C (InsetIterator): use >= instead of ==
6592 2002-06-07 Angus Leeming <leeming@lyx.org>
6594 Fixes needed to compile with Compaq cxx 6.5.
6595 * BufferView_pimpl.C:
6602 * lyxtextclasslist.C:
6607 all c-library variables have been moved into namespace std. Wrap
6608 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6613 Add a using std::abs declaration.
6615 * kbmap.h (modifier_pair):
6616 * paragraph.h (InsetTable, InsetList):
6617 * lyxfont.h (FontBits):
6618 type definition made public.
6620 * bufferlist.C (emergencyWriteAll): the compiler complains that
6621 there is more than one possible lyx::class_fun template to choose from.
6622 I re-named the void specialisation as lyx::void_class_fun.
6624 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6626 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6627 the compiler is is unable to find tostr in write_attribute.
6629 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6631 * buffer.C (sgmlError): hide #warning
6633 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6635 * xtl/*: get rid of xtl, which is not in use anyway
6637 * LyXAction.C (init):
6638 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6639 were unimplemented xtl experimentation
6641 2002-06-04 André Pönitz <poenitz@gmx.net>
6643 * lyxfunc.C: disable array operation on simple formulae
6645 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6647 * converter.C: constify a bit
6649 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6651 * lyx_gui.C: check xforms version correctly
6653 2002-04-30 Herbert Voss <voss@lyx.org>
6655 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6658 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6660 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6661 attempt to register it with a VCS)
6663 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6665 * lyx_main.C (init): honor variables LYX_DIR_13x and
6668 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6672 * lyx_main.C: fix a crash on bad command line,
6673 and give a useful exit status on error
6675 * lyxfunc.C (doImport): allow -i lyx to work
6677 2002-03-30 André Pönitz <poenitz@gmx.net>
6679 * lyxfunc.C: mathed font changes
6681 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6696 * trans_mgr.h: srcdocs, and some minor cleanups
6698 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6700 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6701 call getFont all the time)
6703 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6705 * switch from SigC signals to boost::signals
6707 2002-05-29 André Pönitz <poenitz@gmx.net>
6709 * paragraph_pimpl.C (getChar): don't call size() too often...
6711 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6713 * paragraph_pimpl.C (insertChar): do not try to update tables when
6714 appending (pos == size())
6716 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6717 in order to reduce drastically the number of comparisons needed to
6718 parse a large document
6720 2002-05-29 André Pönitz <poenitz@gmx.net>
6726 * textclasslist.[Ch]:
6727 * sp_ispell.h: whitespace change
6729 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6731 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6732 lyxaction directly now.
6734 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6738 * lyxvc.C: remove unused headers
6740 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6747 * undo_funcs.C: some cleanups. Use shared_ptr
6748 and a template for the undo stacks.
6750 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6752 * BufferView_pimpl.h:
6753 * BufferView_pimpl.C:
6760 * text2.C: use key_state/mouse_state
6762 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6764 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6767 * chset.C: change include order
6768 (loadFile): use boost regex and get rid of LRegex and LSubstring
6770 * Makefile.am (BOOST_LIBS): new variable
6773 * LaTeX.C: change include order.
6774 (scanAuxFile): use boost regex and get rid of LRegex and
6778 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6783 * FontInfo.C: moved to frontends/xforms/
6786 * FontLoader.C: moved into frontends for GUIIzation
6791 * lyxfunc.C: changes from above
6793 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6795 * LColor.C: remove spurious X include
6797 * BufferView_pimpl.C:
6802 * text2.C: move font metrics to frontends/
6804 2002-05-24 Juergen Vigna <jug@sad.it>
6806 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6807 setting the undo_cursor.
6809 * ParagraphParameters.h: include local includes first.
6811 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6813 * BufferView_pimpl.C:
6814 * BufferView_pimpl.h:
6818 * screen.C: move WorkArea into frontends/
6824 * BufferView2.C: move LyXScreen into frontends/
6828 * lyx_gui.C: move lyxlookup into frontends/xforms/
6830 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6833 * BufferView_pimpl.C:
6843 * bufferview_funcs.C:
6856 * vc-backend.C: move LyX/XFormsView into frontends/
6858 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6870 * text2.C: move Painter to frontends/
6872 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6874 * buffer.C: comment out some some code that depend upon lyx_format
6877 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6878 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6880 * buffer.h (NO_COMPABILITY): turn off compability
6882 * ColorHandler.C: include scoped_array.hpp
6884 * font.C: Use more specific smart_ptr header.
6887 * ShareContainer.h: ditto
6891 * BufferView_pimpl.h: ditto
6892 * ColorHandler.h: ditto
6894 * kbmap.C (defkey): change call to shared_ptr::reset
6896 2002-05-21 Juergen Vigna <jug@sad.it>
6898 * buffer.C (insertErtContents): fix to insert ert asis if it is
6899 non empty. Skip it completely if it contains only whitespaces.
6901 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6903 * BufferView_pimpl.C:
6904 * BufferView2.C: clear selection on paste (bug 393)
6906 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6908 * DepTable.C: include ctime
6910 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6912 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6914 2002-05-14 Juergen Vigna <jug@sad.it>
6916 * text.C (breakParagraph): fixed function to honor the keepempty
6917 layout in the right maner and also to permit the right breaking
6918 algorithm on empty or non empyt keepempty paragraphs.
6920 * paragraph.C (breakParagraph): we have to check also if the par
6921 is really empty (!size()) for isempty otherwise we do the wrong
6924 2002-05-10 Juergen Vigna <jug@sad.it>
6926 * buffer.[Ch] : The following are only changes to the ert
6927 compatibility read reading old LaTeX layout and font stuff and
6928 convert it to ERTInsets.
6930 * buffer.h: added isErtInset().
6932 * buffer.C (struct ErtComp): add a fromlayout bool to check
6933 if we're inside a LaTeX layout.
6934 (isErtInset): new helper function.
6935 (insertErtContents): look for other ert insets before this one
6936 and insert the contents there, so that we don't have subsequent
6937 ERT insets with nothing between them. This way we create only one
6938 inset with multiple paragraphs. Also check if we don't insert only
6939 spaces ' ' as they are ignored anyway afterwards in the .tex file
6940 so if we have only spaces we will ignore this latex part in the
6942 (parseSingleLyXformat2Token \\layout): better compatibility when
6943 reading layout-latex stuff.
6944 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6946 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6947 stuff after reading the inset only get the information back from
6950 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6952 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6954 * LaTeXFeatures.C (getBabelOptions): New method.
6956 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6958 * BufferView_pimpl.C (Dispatch): work around missing argument for
6961 2002-05-08 Juergen Vigna <jug@sad.it>
6963 * text.C (leftMargin): handle paragraph leftindent.
6965 * paragraph.C (writeFile): write the new \\leftindent tag.
6966 (validate): handle leftindent code.
6967 (TeXEnvironment): handle paragraphleftindent code again.
6969 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6971 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6972 for paragrap_extra indent code and new token \\leftindent.
6973 (latexParagraphs): handle the leftindent as environment.
6975 * ParameterStruct.h: added leftindent support.
6977 * ParagraphParameters.C (leftIndent): added support functions for
6978 the paragraph left indent.
6980 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6983 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6985 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6988 * text.C (computeBidiTables): No bidi in insetERT.
6990 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6993 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6995 * version.C.in: pre 5
6997 2002-05-02 José Matos <jamatos@fep.up.pt>
6998 * buffer.C (makeDocBookFile): white space changes, add newline to
7000 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7002 * tabular.C (docBook): fix typo.
7004 2002-05-03 Juergen Vigna <jug@sad.it>
7006 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7007 change in LyXText as we can not be sure it was not freed.
7008 (drawOneRow): remove unused code.
7010 * text.C (drawInset): redo the calculation of the need_break_row as
7011 it could have a row which was already freed.
7012 (draw): look at the return value of drawInset and return false if
7013 it also returned false.
7014 (paintRowText): look at the return value of draw and return false if
7015 it also returned false.
7017 * lyxtext.h: added bool return type to drawInset() and draw() so that
7018 if we have a change in the row so that the rowbreak has to be redone
7019 we abort drawing as it will be called again.
7021 2002-05-02 Juergen Vigna <jug@sad.it>
7023 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7024 a change in the maintext also if we're inside an inset.
7025 (Dispatch): set the cursor again after a break line and after the
7026 screen has been updated as it could be we're in a different row.
7028 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7029 to set the cursor behind the pargraph with > size().
7030 (setCursor): check also for the same paragraph when checking where
7031 to put the cursor if we have a NFR inset.
7033 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7034 parts of layout read further up as it still was in the wrong
7037 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7039 * screen.C (drawFromTo): change sine fullRebreak always return
7042 * buffer.C (parseSingleLyXformat2Token): reindent some
7044 * BufferView_pimpl.C (update): change since fullRebreak always
7046 (Dispatch): git rid of the last hardcoded "Standard"s.
7048 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7050 * text2.[Ch] (fullRebreak): make it return void now that we always
7053 2002-04-30 Juergen Vigna <jug@sad.it>
7055 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7056 ert compatibility check for "latex" layout.
7058 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7060 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7061 minipages: use col% instead of p%, and also use the current font.
7062 (makeLaTeXFile): Fix use babel condition.
7063 (parseSingleLyXformat2Token): Correct font when reading old floats.
7065 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7067 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7068 inserting list of floats.
7070 2002-04-25 Herbert Voss <voss@lyx.org>
7072 * MenuBackend.C (expand): don't add the graphics extensions to the
7075 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7077 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7078 non-existing layout, do not complain if it was the default layout
7079 of the original class (bug #342)
7081 2002-04-24 Juergen Vigna <jug@sad.it>
7083 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7084 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7086 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7088 * buffer.C (getBibkeyList): If using \bibliography, return the
7089 option field with the reference itself. Enables us to provide natbib
7090 support when using \bibliography.
7092 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7094 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7096 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7097 natbib is provided by the LaTeX class.
7099 2002-04-23 Juergen Vigna <jug@sad.it>
7101 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7104 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7106 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7108 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7110 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7111 ensuremath around textordmasculine, textordfeminine and
7114 2002-04-19 Juergen Vigna <jug@sad.it>
7116 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7117 reinitializing the buffer otherwise row-dimensions may be wrong.
7118 (update): reset also the selection cursors if they do exits otherwise
7119 their x/y positions may be wrong.
7121 * text2.C (cursorDown): don't enter the inset if we came from a row
7122 above and are one row over the inset.
7124 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7125 really leaving an inset.
7127 2002-04-18 Juergen Vigna <jug@sad.it>
7129 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7130 of the selected paragraph does not have the selected layout also if
7133 * text2.C (setLayout): fixed bug which did not change last selected
7136 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7137 changed the read and substituted \\end_float with \\end_inset!
7139 * BufferView_pimpl.C (cursorPrevious):
7140 (cursorNext): fixed to make it work with rows heigher than the work
7141 area without moving the cursor only the draw of the row.
7142 (workAreaMotionNotify): fix jumping over high rows.
7144 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7146 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7149 2002-04-16 Juergen Vigna <jug@sad.it>
7151 * text2.C (setCursor): set also the irow().
7152 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7154 (cursorDown): support for locking an inset if the x_fix value goes
7155 inside it. That way I can transverse insets too with cursor up/down.
7157 * lyxrow.h: added irow helper function same as other (i) functions.
7159 * BufferView_pimpl.C (cursorPrevious):
7160 (cursorNext): fixed for insets!
7162 2002-04-15 Juergen Vigna <jug@sad.it>
7164 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7165 position otherwise it is wrong in some cases.
7167 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7168 inside the inset before the call.
7170 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7172 * buffer.[Ch] (getBibkeyList): make it const.
7174 2002-04-12 Juergen Vigna <jug@sad.it>
7176 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7178 * text2.C (getCursorX): new helper function
7179 (setCursor): compute also ix_
7180 (setCursorFromCoordinates): set also ix.
7182 * lyxcursor.h: added ix_ and helper functions.
7184 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7186 * buffer.C (insertStringAsLines): dont break paragraph if the this
7187 paragraph is inside an inset which does not permit it!
7189 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7190 also with no chars on this paragraph.
7191 (paintRowText): only paint stuff if it's inside the workarea!
7193 * paragraph.C (breakParagraph): honor keepempty flag and break the
7194 paragraph always below not above.
7196 * BufferView2.C (unlockInset): update the paragraph layout on inset
7197 unlock as we changed paragraph in such a case.
7199 * lyxfind.C (LyXFind): clear the former selection if not found!
7201 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7202 again called in insertChar().
7204 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7205 an inset which uses the whole row!
7206 (rightMargin): ditto.
7207 (insertChar): force a rebreak if we inserted an inset!
7209 2002-03-28 Herbert Voss <voss@lyx.org>
7211 * lyxlength.[Ch]: add inBP() to get the right PS-point
7212 units (BigPoint). With inPixels we have rounding errors
7214 2002-04-11 Juergen Vigna <jug@sad.it>
7216 * text2.C (setCursorFromCoordinates): set iy to the right value.
7217 (setCursor): add check if row->previous exists!
7219 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7220 an old float_type as this was the case in the old code!
7222 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7224 * BufferView2.C (showLockedInsetCursor): use iy
7225 (fitLockedInsetCursor): ditto
7227 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7228 locked insets as there we have the right value now.
7230 * lyxcursor.C: added iy_ variable and iy functions to set to the
7231 baseline of cursor-y of the locked inset.
7233 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7234 (setCursor): fixed for insets which need a full row.
7236 * text.C (rowLastPrintable): don't ignore the last space when before
7237 an inset which needs a full row.
7238 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7239 as last character of a row when before a inset which needs a full row.
7241 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7243 * version.C.in: update date
7245 * text2.C (fullRebreak): try to always return true and see what
7248 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7250 * MenuBackend.C (expand): use Floating::listName
7252 * FloatList.C (FloatList): add listName argument to the built-in
7255 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7256 text associated with the float.
7258 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7260 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7262 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7264 * ShareContainer.h: add a couple of missing typenames.
7266 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7268 * lyxrc.C (getDescription): use _() correctly rather than N_().
7270 2002-03-28 Herbert Voss <voss@lyx.org>
7272 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7273 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7275 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7278 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7280 2002-03-29 Juergen Vigna <jug@sad.it>
7282 * lyxfunc.C (dispatch): add a missing fitCursor call.
7284 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7285 it was scrolled by a cursor move, so return the bool status.
7287 * BufferView.C (fitCursor): return the bool flag also to the outside
7288 world as this is needed.
7290 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7292 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7293 call the edit() as it is not needed (and wrong) IMO.
7294 (workAreaButtonPress): set the screen_first variable before evt.
7295 unlock the inset as this may change screen_first and then we have
7296 a wrong y position for the click!
7298 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7300 * MenuBackend.C (expand): another translation that I missed
7302 2002-03-28 Juergen Vigna <jug@sad.it>
7304 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7306 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7308 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7310 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7312 * MenuBackend.C (expand): fix export/view/update when there is no
7315 2002-03-27 Herbert Voss <voss@lyx.org>
7317 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7320 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7322 * bufferview_funcs.C (currentState): only show paragraph number
7323 for is DEVEL_VERSION is set.
7325 * lyxfunc.C (dispatch): put warning in INFO channel
7327 * MenuBackend.C (expand): translate the name of floats
7329 * FloatList.C (FloatList): mark the float names for translation
7331 * converter.C (convert): use LibScriptSearch
7333 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7335 * MenuBackend.C (defaults): fix default menu (we might as well get
7338 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7343 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7345 * lyxvc.C: reorder includes.
7347 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7349 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7352 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7354 * CutAndPaste.C: change layouts earlier on paste
7355 to avoid crashing when calling getFont()
7357 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7359 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7362 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7364 * WorkArea.C: remove 'Pending' debug message.
7366 * most files: ws cleanup
7368 * buffer.[Ch]: ws changes
7370 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7372 2002-03-21 Juergen Vigna <jug@sad.it>
7374 * tabular.C (SetMultiColumn): collapse also the contents of the
7375 cells and set the last border right. Added a Buffer const * param.
7377 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7379 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7382 2002-03-19 Juergen Vigna <jug@sad.it>
7384 * text2.C (clearSelection): reset also xsel_cache.
7386 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7387 where it needs to be called (John tells us to do so too :)
7388 (selectionLost): reset sel_cache.
7390 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7392 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7394 * text2.C (setCursorIntern): put debuging code in INSETS channel
7396 2002-03-19 André Pönitz <poenitz@gmx.net>
7398 * lyxfunc.C: tiny whitespace change
7400 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7402 * ToolbarDefaults.C (init):
7403 * LyXAction.C (init):
7405 * BufferView_pimpl.C (Dispatch):
7406 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7408 2002-03-19 Allan Rae <rae@lyx.org>
7410 * exporter.C (Export): removeAutoInsets before doing anything else.
7411 While I've just introduced a dependency on BufferView this really is
7412 the best place to clean the buffer otherwise you need to cleanup in
7413 a dozen places before calling export or cleanup in a dozen functions
7416 * converter.C (runLaTeX):
7417 (scanLog): Better handling of removeAutoInsets and screen updates.
7419 * lyxfunc.C (dispatch): small whitespace changes
7421 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7423 * WorkArea.C (C_WorkAreaEvent): return a value.
7424 (event_cb): return 1 if we handled the event, 0 otherwise.
7426 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7428 2002-03-18 Juergen Vigna <jug@sad.it>
7430 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7431 (GetAdditionalWidth): ditto.
7435 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7436 inset if we're there actually (probably not used right now but this
7437 is the direction to go for unifying code).
7438 (paste): disable code to clear the selection.
7440 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7441 inside an InsetText and move the check further up as it is in the
7444 * text2.C (pasteSelection): set a selection over the pasted text.
7446 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7448 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7449 and libgraphics to build on Cygwin.
7451 2002-03-15 Juergen Vigna <jug@sad.it>
7453 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7454 inserting an Inset into the paragraph. I know this is not the best
7455 fix but we already use current_view in CutAndPaste so we will remove
7456 all of it's using at the same time.
7458 * buffer.C (sgmlError): deactivated function till it is rewritten in
7459 the right mode, now it can create problems.
7461 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7462 before accessing it.
7464 2002-03-14 Juergen Vigna <jug@sad.it>
7466 * undo_funcs.C (textHandleUndo): do the right thing when updating
7467 the inset after the undo/redo.
7469 * text2.C (setCursor): just some testcode for #44 not ready yet.
7471 * undo_funcs.C (textHandleUndo): set the next() and previous()
7472 pointers of the paragraph to 0 before deleting otherwise we have
7473 problems with the Paragraph::[destructor].
7475 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7476 on a paragraph insertion.
7478 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7480 * buffer.C (asciiParagraph): use += operator for char append to
7483 * paragraph.C (getFontSettings): compare >= not just >
7484 (highestFontInRange): ditto
7487 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7489 * paragraph.C: change several algorithm to be more appripriate for
7490 the problem domain. This is lookip in FontList and in the InsetList.
7492 2002-03-13 André Pönitz <poenitz@gmx.net>
7495 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7497 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7502 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7504 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7506 * Painter.C (display): anon helper function, adjust code for this
7508 (pixmap): remove function.
7510 * Painter.h: remove private display variable.
7512 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7514 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7516 * WorkArea.[Ch]: remove figinset_canvas cruft.
7518 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7520 * lyxtextclass.C (operator): add one item cache optimization.
7522 * bufferlist.h: doxy changes
7524 * bufferlist.C: ws changes
7526 * DepTable.[Ch] (ext_exist): place const in the right spot.
7528 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7530 (workAreaExpose): call resizeInsets when the with BufferView changes.
7531 (Dispatch): adjust for protectedBlank removal
7532 (specialChar): call updateInset if the insert went ok.
7534 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7535 specialChar instead.
7537 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7539 * BufferView.h: doxy change
7541 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7543 * lyxtextclass.C (operator[]): remove non-const version
7544 (defaultLayout): remove non-const version
7546 2002-03-12 Juergen Vigna <jug@sad.it>
7548 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7549 did resize the LyXText too.
7551 * buffer.C (readLyXformat2): set layout information on newly allocated
7554 * tabular.C (OldFormatRead): set layout information on the paragraph.
7556 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7558 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7560 2002-03-11 Juergen Vigna <jug@sad.it>
7562 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7564 (resizeCurrentBuffer): force also the insets to resize themselfes.
7565 (moveCursorUpdate): fixed up for InsetText.
7567 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7570 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7571 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7572 value of Dialogs::tooltipsEnabled().
7573 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7575 2002-03-08 Juergen Vigna <jug@sad.it>
7577 * BufferView_pimpl.C (updateInset): update inset inside inset also
7578 if it isn't inside theLockingInset().
7580 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7582 * buffer.C (asciiParagraph): redo some of the word and line length
7584 (getLists): look for Caption instead of caption.
7586 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7588 * buffer.C (Buffer): initialize niceFile to true
7591 (makeDocBookFile): make sure niceFile is true on exit
7593 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7595 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7597 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7599 * LyXSendto.C: remove.
7600 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7601 * lyx_gui.C: remove now-redundant comment.
7602 * ColorHandler.h: remove forward declaration of class WorkArea.
7603 * lyxfunc.C: remove #include "WorkArea.h".
7605 2002-03-07 Juergen Vigna <jug@sad.it>
7607 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7608 got moved away with the DEPM and also set the inset_owner always
7609 right which before could have been omitted.
7611 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7613 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7614 wanted layout is not found.
7616 2002-03-07 Juergen Vigna <jug@sad.it>
7618 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7620 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7622 * paragraph.C (breakParagraph): use default layout not layout of
7624 (Paragraph): clear ParagraphParameters.
7626 2002-03-06 Juergen Vigna <jug@sad.it>
7628 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7629 otherwise it would not be a valid lenght. Fixed a special case in
7630 the minipage compatibility read where we end the document with a
7633 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7634 was set as it could be 0 for InsetTexts first entry.
7636 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7638 * paragraph.C (writeFile): if layout is empty write out
7639 defaultLayoutName().
7641 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7642 file without named layout we set layout to defaultLayoutName().
7644 2002-03-06 Juergen Vigna <jug@sad.it>
7646 * CutAndPaste.C (copySelection): set layout for new paragraph.
7648 * text.C (prepareToPrint): leave ERT inset left aligned
7649 (leftMargin): don't indent paragraphs inside ERT insets
7651 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7653 * paragraph.C (breakParagraph): dont call clear do the work manually
7655 * paragraph.[Ch] (clear): remove function
7657 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7659 * paragraph.C (Paragraph): dont call clear, the work has already
7662 * lyxtextclass.C (operator): assert if n is empty
7664 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7665 work manually instead.
7667 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7669 * BufferView_pimpl.C: protect selectionLost against text == 0
7671 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7673 * text.C (breakParagraph): fix a setting layout to '0' problem.
7675 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7677 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7678 final location of file, for the included files, and graphics.
7680 2002-03-05 Juergen Vigna <jug@sad.it>
7682 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7684 2002-03-04 Juergen Vigna <jug@sad.it>
7686 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7688 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7689 last column of multicolumn cells.
7690 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7692 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7694 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7695 file if it doesn't go to a temporary file.
7697 * buffer.C (sgmlOpenTag):
7698 (sgmlCloseTag): remove extra newline insertion.
7700 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7702 * text.C (getRowNearY): comment out debug msg
7704 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7706 * text2.C: first -> first_y
7708 * text.C (getRowNearY): add some attemts at a possible
7709 optimization, not working.
7711 * tabular.[Ch]: add BufferParams to several function so that newly
7712 created paragraph can be initialized to he default layotu for the
7715 * tabular-old.C (ReadOld): add buf->params to call of Init
7717 * screen.C: rename text->first to text->first_y
7719 * paragraph.C (breakParagraph): always set layout in the broken
7722 * lyxtextclass.C (Read): remove lowercase
7725 (delete_layout): ditto
7727 * lyxtext.h: rename first -> first_y
7729 * lyxlayout.C (Read): remove lowercase
7732 (obsoleted_by): ditto
7734 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7736 * buffer.C (insertErtContents): add params are to InsetERT
7737 (parseSingleLyXformat2Token): add code to check if a paragraphs
7738 layout really exist.
7739 (parseSingleLyXformat2Token): add params to several inset
7741 (asciiParagraph): remove lowercase, do the layout comparisons with
7744 * BufferView_pimpl.C (cursorNext): first -> first_y
7745 (resizeCurrentBuffer): first -> first_y
7746 (updateScrollbar): first -> first_y
7747 (scrollCB): first -> first_y
7748 (workAreaMotionNotify): first -> first_y
7749 (workAreaButtonPress): first -> first_y
7750 (checkInsetHit): first -> first_y
7751 (cursorPrevious): first -> first_y
7752 (cursorNext): first -> first_y
7753 (Dispatch): add buffer_->params to severl inset contructors
7755 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7757 * lyxlayout.C (Read): remove some debug info that I forgot.
7759 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7760 clean up the code slightly.
7761 (makeLinuxDocFile): ditto
7762 (makeDocBookFile): ditto
7764 * text2.C: layout as string
7766 * text.C: layout as string
7768 * paragraph_pimpl.C: layout as string
7770 * paragraph.[Ch]: layout as string
7772 * lyxtextclasslist.[Ch]: layout as string
7774 * lyxtextclass.[Ch]: layout as string
7776 * lyxtext.h: layout as string
7778 * lyxlayout.[Ch]: layout as string
7780 * lyx_cb.C: layout as string
7782 * bufferview_funcs.C: layout as string
7784 * bufferparams.C: layout as string
7786 * buffer.C: layout as string
7788 * LyXView.[Ch]: layout as string
7790 * LaTeXFeatures.[Ch]: layout as string
7792 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7794 * BufferView_pimpl.C: change current_layout to string, remove
7799 (workAreaButtonRelease): layout as string
7801 * BufferView2.C (unlockInset): adjust
7803 * vspace.C (asLatexCommand): use an explict temp variable.
7805 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7807 * Makefile.am: use FRONTEND_*
7809 2002-03-01 Juergen Vigna <jug@sad.it>
7811 * tabular.C (SetWidthOfMulticolCell): changed to something better
7812 I hope but still work in progress.
7813 (recalculateMulticolumnsOfColumn): renamed function from
7814 recalculateMulticolCells as it is more appropriate now.
7815 (SetWidthOfCell): calculate multicols better.
7817 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7819 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7821 * lyxfunc.C (processKeySym): print sequence also if it is
7822 `deleted' (complete)
7824 * kbsequence.C (print): print sequence even if it is deleted
7825 (complete would be a better word, actually).
7827 * lyxfunc.C (dispatch): print complete options after a prefix key
7829 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7831 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7833 * text2.C (setCharFont): eliminate setCharFont code duplication.
7835 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7837 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7838 LFUN_TABULAR_FEATURE (bug #177)
7840 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7842 * Makefile.am: remove figure.h
7844 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7846 * Bufferview_pimpl.C:
7858 * text2.C: remove #include "lyx_gui_misc.h".
7860 * LaTeX.C: added #include <cstdio>
7862 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7864 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7865 that the paragraph following this one can have.
7867 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7869 * vspace.C (asLatexCommand): fix bogus gcc warning
7871 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7873 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7875 * text2.C (setLayout): get rid of redundant code
7877 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7879 * text2.C (incDepth): make sure depth cannot be increased beyond
7882 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7884 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7885 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7887 * PainterBase.h (image):
7888 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7891 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7895 * BufferView_pimpl.C:
7896 * BufferView_pimpl.h:
7916 * sp_spell.C: remove fig inset, and the crap house of
7917 cards that follows it
7919 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7925 * nt_defines.h: move .h into support/
7927 * vms_defines.h: remove
7929 * WorkArea.C: add space in debug output
7933 * buffer.C: add WITH_WARNINGS
7937 * bufferlist.C: s/retrive/retrieve/, add docs
7948 * lyxgui.C: add ID to X error handler
7950 * lyxtestclass.c: fix typo
7952 2002-02-26 Juergen Vigna <jug@sad.it>
7954 * tabular_funcs.C (write_attribute): changed so that some default
7955 attributes are not written at all.
7956 (getTokenValue): set default values before trying to read the
7957 value so we have the return value always set as default if we don't
7958 find the token we search for.
7960 * tabular.C (Write): write bools as bools not as strings!
7962 2002-02-22 Juergen Vigna <jug@sad.it>
7964 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7965 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7967 * text.C (leftMargin): don't add an indent for paragraphs inside
7968 tabular cells (fix #208).
7970 2002-02-21 José Matos <jamatos@fep.up.pt>
7972 * tabular.C (docBook): fixed support for long tables.
7974 2002-02-20 Juergen Vigna <jug@sad.it>
7976 * text2.C (getFont): get the drawing font of the Inset if this
7977 paragraph is inside an inset (only important for InsetERT for now).
7979 * buffer.C (insertErtContents): use new lanugage params in ERT
7982 * CutAndPaste.C: commenting out seemingly uneeded code.
7984 2002-02-19 Allan Rae <rae@lyx.org>
7986 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7987 Iterators might be simple to use but they also get invalidated.
7988 (removeAutoInsets): renamed saved cursor tracking variables and added
7989 some comments to clarify what everything does.
7991 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7998 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7999 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8002 * vc-backend.h: remove #include "support/syscall.h"
8006 * converter.C: rearrange #includes in Lars' approved fashion.
8008 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8009 forward declare class Timeout in the header file.
8011 * XFormsView.C: changes due to the above.
8013 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8016 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8017 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8019 2002-02-18 José Matos <jamatos@fep.up.pt>
8021 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8024 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8026 * a lot of small ws changes
8027 * add a lot of using std::XXX
8028 * use std construcs some places where approp.
8029 * use some exisint stuff from lyxfunctional where approp.
8030 * Make file changes to use partial linking (lets test this now...)
8032 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8036 remove #include "support/syscontr.h" as it's redundant. Always has been.
8044 change Systemcalls::System to Systemcalls::Wait and
8045 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8046 No change of functionality, just reflects the stripped down Systemcalls
8049 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8051 * debug.[Ch]: add a GRAPHICS type to the enum.
8053 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8055 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8057 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8060 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8062 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8063 match the changes below.
8065 * text2.C (toggleInset): if there is not editable inset at cursor
8066 position, try to see if cursor is _inside_ a collapsable inset
8069 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8071 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8072 document menu has a nice checkbox
8074 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8076 * lyxlength.C (asLatexString): change PW to output as percent of
8079 * lengthcommon.C: change '%' to 't%'
8081 * lyxfunc.C (dispatch): a few comments from Martin
8083 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8087 * BufferView_pimpl.h:
8088 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8091 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8093 * vspace.C (inPixels): fix compiler warning
8095 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8097 * lyxfunc.C (getStatus): fix status message for disabled commands.
8099 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8101 * BufferView_pimpl.C: fix crash on close buffer
8102 during selection (#227)
8104 2002-01-27 Herbert Voss <voss@lyx.org>
8106 * buffer.C: link old Figure to new graphic inset
8108 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8110 * FontLoader.C (getFontinfo): Change the latex font names in order
8111 to match the names of type1inst.
8113 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8117 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8120 (remove_files_with_extension): ditto
8121 (remove_file): ditto
8124 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8125 document is smaller than the work area height. Do not initialize
8126 static variables to 0.
8128 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8130 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8132 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8133 LFUN_LAYOUT_PARAGRAPHS.
8135 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8136 tabular. It is possible to provide a possible cell, which will
8137 typically be the actcell from the corresponding insettabular
8139 * lyxfunc.C (getStatus): small cleanup; disable
8140 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8143 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8145 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8147 * paragraph.C (startTeXParParams):
8148 (endTeXParParams): new methods. The LaTeX code to
8149 start/end paragraph formatting
8150 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8151 empty (fixes bug #200)
8153 * vspace.C (inPixels): adapt to the change below
8154 (inPixels): [later] more cleanups (remove unused variables)
8156 * lyxlength.C (inPixels): change to use a width and a height as
8159 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8161 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8162 Replaced with \paperwidth
8164 * DepTable.C (insert): add std:: qualifier
8166 2002-01-18 Allan Rae <rae@lyx.org>
8168 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8171 * text.C (drawInset): Turned out I didn't know enough about how
8172 rebreaking worked. This fixes most of the redraw problems. I see
8173 an occasional cursor trail when a line is broken now and the cursor
8174 placement can seem out by a few pixels also after a rebreak.
8176 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8178 * buffer.C (parseSingleLyXformat2Token): update because minipage
8179 width is now a LyXLength
8181 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8183 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8186 2002-01-17 Juergen Vigna <jug@sad.it>
8188 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8190 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8191 is set correctly and the inset is updated correctly.
8193 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8195 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8196 the beginning of the loop.
8198 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8200 * lyxrc.C: improve help for use_scalable_fonts
8202 2002-01-17 Allan Rae <rae@lyx.org>
8204 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8206 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8208 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8209 make sure to set their inset_owner to the right value (bug #171)
8211 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8214 * DepTable.C: Implement mtime checking to reduce time spent doing
8217 2002-01-16 Juergen Vigna <jug@sad.it>
8219 * tabular.C (GetAdditionalHeight): one of error fixed.
8221 * lyxrc.C (output): small fix in writing use_pspell.
8223 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8225 * sp_base.h: #include LString.h
8227 2002-01-16 Allan Rae <rae@lyx.org>
8229 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8230 Can someone check this please?
8232 * text.C (drawInset): It was possible that p.row would be removed by
8233 breakAgainOneRow upsetting a few other settings. There may be another
8234 small tweak possible by setting need_break_row = 0 when p.row has been
8235 removed but I don't know enough about the logic here.
8237 2002-01-15 Allan Rae <rae@lyx.org>
8239 * text.C (insertChar): removed conditional truism.
8241 * BufferView2.C (removeAutoInsets): More tweaks.
8242 cur_par_prev could be a stray pointer. Check for trailing empty line
8243 in case last line was cur_par and only had an error inset on it.
8245 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8247 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8250 * vc-backend.C (most methods):
8251 * exporter.C (Export):
8252 * converter.C (convert):
8254 * LyXSendto.C (SendtoApplyCB):
8255 * lyxfunc.C (dispatch):
8259 * lyx_cb.C (AutoSave):
8261 * BufferView_pimpl.C (MenuInsertLyXFile):
8262 * buffer.C (runChktex): use Buffer::filePath().
8264 * buffer.h: rename filename to filename_; rename filepath to
8265 filepath_ and make it private
8266 (filePath): new method
8268 * buffer.C (writeFile): use fileName()
8271 * lyx_main.C (init): fix starting of LyX when the binary is a
8272 link from so,ewhere else.
8274 * minibuffer.C: include <cctype> for isprint
8276 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8278 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8279 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8280 name clash with InsetCollapsable's width function.
8282 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8284 * lastfiles.C: include <iterator>
8286 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8288 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8291 * buffer.C (makeLaTeXFile): ditto.
8292 Also make loop operation more transparent.
8294 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8296 * ToolbarDefaults.C: remove trailing comma closing namespace.
8298 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8300 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8303 * trans.C (Load): comment out unused variable, allowed.
8305 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8307 * minibuffer.[Ch] (append_char): new method to recieve input from the
8308 drop-down completion browser. If a key was pressed, then recieve this
8309 char and append it to the existing string.
8310 (peek_event): modify the positioning data passed to the completion
8311 browser so that it can be placed above the minibuffer rather than below.
8312 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8314 * LyXAction.C (init): alloe error-next for readonly documents.
8316 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8319 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8321 * bufferlist.C (readFile): create the buffer _after_ checking that
8324 * lyxfunc.C (verboseDispatch): fix handling of arguments
8326 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8328 * lyxrc.C: use string::erase() instead of initializing to "".
8331 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8333 * BufferView_pimpl.h:
8334 * BufferView_pimpl.C:
8337 * text2.C: tell X when we have made a selection for copying
8339 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8341 * BufferView_pimpl.C (MenuInsertLyXFile):
8342 * lyxfunc.C (menuNew):
8344 (doImport): add shortcuts to directory buttons
8346 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8349 * lyxfunc.C (setStatusMessage):
8350 (getStatusMessage): new methods
8351 (getStatus):use setStatusMessage instead of setErrorMessage
8352 (dispatch): when function is disabled, set error message here
8353 [instead of in getStatus previously]
8355 * BufferView_pimpl.C (workAreaButtonRelease): update
8356 toolbar/menubar here too.
8358 2002-01-13 Allan Rae <rae@lyx.org>
8360 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8361 Now seems indestructible. Remaining task is to audit all other
8362 code affected by deleteEmptyParagraphMechanism. One small quirk
8363 left is that an empty document with an error in the preamble can
8364 be made to report an error but no error box appears. I don't know
8366 (removeAutoInsets): Improved comments.
8368 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8371 * Thesaurus.C: update for Aiksaurus 0.14
8373 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8375 * text2.C (firstParagraph): removed member function, all uses
8376 replaces with ownerParagraph
8377 (redoParagraphs): here
8379 (toggleAppendix): here
8380 * BufferView2.C (insertErrors): here
8381 (setCursorFromRow): here
8383 2002-01-13 Allan Rae <rae@lyx.org>
8385 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8386 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8387 There is still a way to segfault this although you may have to do this
8388 multiple times: Have an InsetERT with an unknown command in it.
8389 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8390 <down-arrow>, <Enter> again, View->DVI, BANG!
8392 * text2.C (setCursor):
8393 (deleteEmptyParagraphMechanism):
8394 * lyxtext.h (setCursor):
8395 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8396 Making use of the return value may help fix other bugs.
8398 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8400 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8402 * LyXView.C (updateMenubar): call MenuBar::update here
8403 (updateToolbar): but not here
8404 (showState): do not update toolbar/menubar
8406 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8407 should need to care about that.
8409 * lyxfunc.C (verboseDispatch): simplify a bit
8410 (getStatus): have a version which takes a pseudoaction, and
8411 another which requires a (kb_action,string).
8413 * LyXAction.C (retrieveActionArg): make it work also when action
8414 is not a pseudo-action.
8415 (getActionName): simplify a bit
8418 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8420 * lyxfunc.C (verboseDispatch): new families of methods with
8421 several ways to specify a command and a bool to indicate whether
8422 the command name and shortcut should be displayed in minibuffer
8423 (eventually, we could extend that to a finer bitmask like
8424 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8425 (dispatch): the pristine dispatch command which just, well,
8426 dispatchs! Note it still sets its result to minibuffer; I'm not
8429 * lyxfunc.h: remove setHintMessage
8431 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8433 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8435 * BufferView_pimpl.C (specialChar): delete new inset if we have
8436 not been able to insert it.
8438 * kbmap.C: revert to using int instead of kb_action, since all we
8439 are dealing with is pseudo-actions.
8441 * LyXAction.C (searchActionArg): change to return int instead of
8442 kb_action, since the result is a pseudoaction.
8444 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8446 * buffer.C (insertErtContents): Fix (partially) the font bug.
8448 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8450 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8451 as the other one is broken on my machine!
8453 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8456 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8458 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8460 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8461 reflect their actual use. Provide compatibility code for older lyxrc
8464 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8466 change names of popup font variables in line with the changes to lyxrc.C
8468 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8470 * buffer.C (asciiParagraph): avoid outputing a word twice after
8473 * lyxrc.C (getDescription): document that document_path and
8474 template_path can be empty.
8476 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8478 * LaTeXFeatures.C (getMacros):
8479 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8481 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8483 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8485 (getPackages): rename feature "floats" to "float". Use an array to
8486 iterate over 'simple' features (i.e. just a \usepackage). Add
8487 handling of "amsmath" (renamed from "amsstyle").
8489 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8491 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8494 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8496 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8497 FuncStaus::FuncStatus & FuncStaus::some_method().
8499 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8501 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8502 of the func_satus stuff. Edited and massaged in various ways by
8505 * lyxfunc.C (getStatus): use FuncStatus
8507 2002-01-08 Juergen Vigna <jug@sad.it>
8509 * text.C (nextBreakPoint): use function Inset::isChar().
8511 * paragraph.C (TeXOnePar): use function
8512 Inset::forceDefaultParagraphs.
8514 * buffer.C (latexParagraphs): use function
8515 Inset::forceDefaultParagraphs.
8517 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8519 * lyx_gui.C (init): set the style of the menu popups to
8520 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8522 2002-01-07 Juergen Vigna <jug@sad.it>
8524 * text.C (setHeightOfRow): small fix
8525 (prepareToPrint): don't look at alignment if we don't have the place
8528 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8530 * box.C: New file. Move the Box methods and functions out of box.h,
8531 following Lars' suggestion.
8533 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8535 * box.h: #include "support/LOstream.h", needed for inlined function.
8538 * lyxtextclasslist.C: added some using std declarations.
8540 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8542 * box.h: make signed dimensions to allow insets wider than
8543 the screen (bug #162)
8545 * BufferView_pimpl.C: add some insetHit debug
8547 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8549 * vc-backend.C: add FIXME
8551 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8553 * lyxfunc.C (getStatus): enable code for showing math font status
8556 2002-01-07 Juergen Vigna <jug@sad.it>
8558 * text.C (nextBreakPoint): removed debug output not needed anymore.
8560 2002-01-06 Juergen Vigna <jug@sad.it>
8562 * text.C (nextBreakPoint): fixed up this function we had this bug
8563 since ever but now hopefully we break row better.
8564 (insertChar): we have to check if an inset is the next char as it
8565 could now happen that a large inset is causing a break.
8567 2002-01-05 Juergen Vigna <jug@sad.it>
8569 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8570 if it doesn't like to be drawed.
8572 2002-01-04 Juergen Vigna <jug@sad.it>
8574 * BufferView2.C (lockInset): forgot to set a cursor.
8576 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8578 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8583 * form_maths_panel.C:
8584 * form_maths_panel.h:
8585 * form_maths_panel.fd: implemented sub- and super- buttons in math
8588 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8589 (or ^ space) to be used as in TeX (req'd by André).
8591 * lyxfunc.C: Allow ^ and _ again to be used both as
8592 super/subscript (mathed) and as themselves (in text).
8594 2002-01-03 Allan Rae <rae@lyx.org>
8596 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8597 "LyX" or the filename of the current buffer if it has one. This is a
8598 modified form of John Levon's patch.
8600 * XFormsView.C (setWindowTitle): also set icon title.
8602 * LyXView.h (setWindowTitle): signature changed.
8603 * XFormsView.h (setWindowTitle): ditto.
8605 2002-01-02 Juergen Vigna <jug@sad.it>
8607 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8609 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8611 * screen.C (topCursorVisible): introduce a temp var for
8612 text->cursor.row(), handle the case where this row is null. (kindo
8615 * text2.C (setCursor): add a couple of asserts.
8617 * paragraph.h (inset_iterator): add -> operator
8619 * paragraph.[Ch] (autoDeleteInsets): remove member function
8621 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8622 cursor pos correctly and handle inset deletion by itself.
8623 (insertErrors): move iterator declaration out of for expression
8625 * lyxtextclass.C: add <algorithm>
8627 * Makefile.am: added the new files to sources, removed layout.C
8629 * layout.C: removed file
8631 * layout.h: remove LYX_DUMMY_LAYOUT
8633 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8637 * lyxtextclass.[Ch]:
8638 * lyxtextclasslist.[Ch]: new files
8640 * include order changes to a lot of files, also changes because of
8643 2001-12-27 Juergen Vigna <jug@sad.it>
8645 * buffer.C (asciiParagraph): more fixes.
8647 * tabular.C (ascii): make ascii export support export of only the
8648 data separated by a column-delimiter.
8649 (ascii): better support for ascii export.
8651 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8653 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8655 * tabular_funcs.C: use a "using std::getline" instead of the
8656 previous fix from Angus (necessary for cxx + lyxstring)
8658 2001-12-24 Juergen Vigna <jug@sad.it>
8660 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8662 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8663 problems. First check a minipage also if we have some ert-contents
8664 (not only on par->size(), second set the right depth of the paragraph
8665 on the relink to the root-paragraph-list!
8667 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8668 which then did not anymore update the main paragraphs on undo/redo!
8670 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8672 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8673 code. Support all font-changing funcs (even those which are not in
8674 menu currently). Support for reporting font settings in
8675 mathed (disabled until Andre provides a function on mathed's side).
8677 * func_status.h (toggle): small helper function to set toggle
8680 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8682 * tabular_funcs.C: getline -> std::getline
8684 2001-12-21 Juergen Vigna <jug@sad.it>
8686 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8687 accessed and could be 0 (I couldn't generate this but it seems
8690 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8692 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8693 * tabular_funcs.h: here and include iosfwd
8695 2001-12-20 Juergen Vigna <jug@sad.it>
8697 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8698 inside inset but undo_par was.
8700 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8702 * Thesaurus.C: always include <config.h> in sources.
8706 * box.h: do not include <config.h> in header files
8708 * text.C (paintLastRow): remove unused variable
8710 * text.C (transformChar):
8712 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8715 * font.C (width): rewrite to use uppercase() instead of
8718 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8720 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8722 * lyxfind.C: clean up of find failure position change
8724 2001-12-20 Juergen Vigna <jug@sad.it>
8726 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8728 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8729 (TeXRow): added to LaTeX a single tabular row.
8730 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8731 (Latex): simplified and finally good LT-h/f support.
8732 (various_functions): just small adaptions for LT-h/f support.
8734 * tabular_funcs.[hC]: added and moved here all not classfunctions
8737 2001-12-19 Juergen Vigna <jug@sad.it>
8739 * tabular.[Ch]: better support for longtabular options (not finished
8742 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8744 * text.C (paintLastRow): use the label font instead of the font of
8745 the last character to compute the size of *_BOX. This makes more
8746 sense and avoids a crash with empty paragraphs.
8747 Use Painter::rectangle to draw EMPTY_BOX.
8749 2001-12-19 Juergen Vigna <jug@sad.it>
8751 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8752 the paragraphs if the replaced paragraph is not the first one!
8753 Tried to delete not used paragraphs but does not work yet so for
8754 now it's inside #ifdef's and by default off!
8756 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8758 * MenuBackend.C: include "lyx_main.h" instead of declaring
8759 lastfiles (actually was declared as LastFiles* instead of a
8762 2001-12-17 Juergen Vigna <jug@sad.it>
8764 * tabular.C (AppendColumn): applied John's fix
8766 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8770 * BufferView_pimpl.h:
8771 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8774 * box.h: new start of class for above
8776 * lyxfunc.C: ignore space-only minibuffer dispatches.
8777 Show the command name when it doesn't exist
8779 * minibuffer.C: don't add empty lines to the history
8781 * minibuffer.C: add a space on dropdown completion
8783 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8785 * text.C: fix line above/below drawing in insets
8787 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8789 * lyxlength.C (LyXLength): Initialize private variables.
8791 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8793 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8794 when inserting error insets.
8796 2001-12-13 Juergen Vigna <jug@sad.it>
8798 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8799 actually sometimes the before-paragraph.
8800 (setUndo): don't clear the redostack if we're not actually undoing!
8802 2001-12-06 Juergen Vigna <jug@sad.it>
8804 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8805 and fixed redoing of main paragraph, so we can use it now ;)
8807 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8809 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8811 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8814 2001-12-13 André Pönitz <poenitz@gmx.net>
8817 * undo_func.C: minor cleanup
8819 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8821 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8822 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8823 font in urw-fonts package which is marked as -urw-fontspecific and
8824 does not work (incidentally, changing the encoding in the
8825 fonts.dir of this package to -adobe-fontspecific fixes the
8828 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8829 is a crash when undoing first paragraph (Juergen, please take a
8830 look). THis does not mean the undo fix is wrong, just that it
8833 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8834 the (Paragraph*) version when needed instead of duplicating the
8837 * text.C (workWidth): use Inset::parOwner to find out where the
8838 inset has been inserted. This is a huge performance gain for large
8839 documents with lots of insets. If Inset::parOwner is not set, fall
8840 back on the brute force method
8842 * paragraph_pimpl.C (insertInset):
8843 * paragraph.C (Paragraph):
8844 (cutIntoMinibuffer): set parOwner of insets when
8845 inserting/removing them
8847 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8849 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8855 * mathed/formulabase.C:
8856 * mathed/math_cursor.[Ch]:
8857 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8860 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * lyxlength.[Ch] (operator!=): new function
8864 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * text.C (workWidth): use Inset::parOwner to find out where the
8867 inset has been inserted. This is a huge performance gain for large
8868 documents with lots of insets. If Inset::parOwner is not set, fall
8869 back on the brute force method
8871 * paragraph_pimpl.C (insertInset):
8872 * paragraph.C (Paragraph):
8873 (cutIntoMinibuffer): set parOwner of insets when
8874 inserting/removing them
8876 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8878 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8880 * tabular-old.C (getTokenValue):
8881 * tabular.C (getTokenValue):
8882 (write_attribute): new versions for LyXLength
8883 (everywhere): adjust the use of widths
8885 * tabular.h: change the type of widths from string to LyXLength
8887 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8889 * paragraph.C: fixed missing line number count when exporting
8890 Environments to LaTeX file
8892 * buffer.C: added informational message for checking line numbers.
8894 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8896 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8897 paragraph, do the 'double space' part, but not the 'empty
8900 * text.C (workWidth): small optimization
8901 (getLengthMarkerHeight): use minimal size for negative lengths.
8903 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8905 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8907 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8909 2001-12-11 André Pönitz <poenitz@gmx.net>
8912 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8914 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8916 * text2.C: keep selection on a setFont()
8918 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8920 * lyx_cb.C: another bv->text misuse, from insert label
8922 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8925 * kbsequence.C: re-instate nmodifier mask
8927 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8929 * lyx_main.h: make lyxGUI private.
8931 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8933 * lyxfind.C: place the cursor correctly on failed search
8935 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8937 * text.C (getLengthMarkerHeight): for small heights, the arrows
8938 are not always on top/bottom of the text
8939 (drawLengthMarker): smaller arrows; take the left margin in
8940 account; draw also vfills.
8942 (paintLastRow): remove special code for vfill and standard spaces,
8943 since everything is handled in drawLengthMarker now.
8945 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8947 * buffer.C (insertErtContents): try to handle font and language
8948 interaction a bit better.g
8950 * ColorHandler.C (updateColor): change the hash to cover the whole
8951 LColor enum, ws cleanup
8952 (getGCLinepars): ditto
8953 (getGCLinepars): only lookup in the linecache once.
8955 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8957 * iterators.C (operator++): Make the iterator more robust
8959 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8961 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8963 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8966 * text.C: better added space drawing
8968 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8971 * BufferView2.C: fix layout combo update on inset unlock
8973 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8975 * Makefile.am: don't compile unused files
8977 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8981 * LyXAction.C: remove old LFUN_LAYOUTNO
8983 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8985 * paragraph_pimpl.h:
8986 * paragraph_pimpl.C: isTextAt() doesn't need font param
8988 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8991 * lyxlex.C: little cleanup
8993 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8995 * BufferView_pimpl.C: fix insertAscii for insets
8997 2001-12-05 Juergen Vigna <jug@sad.it>
8999 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9000 set the right font on the "multi" paragraph paste!
9002 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9008 * lyxlength.C: remove out-commented code.
9024 * vc-backend.C: change "while(" to "while ("
9026 * lyxlength.[Ch]: add zero function to check if length is zero or
9028 * lyxgluelength.C: use it
9030 2001-12-05 Allan Rae <rae@lyx.org>
9032 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9033 Works for 2.95.3, from what I understand of Garst's reports this should
9034 work for other g++ versions. We're screwed if the abs(int) definition
9035 changed between bugfix releases of gcc.
9037 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9039 * text.C: fix chapter label offset !
9041 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9044 * text.C: fix hfill at end of line, clean up
9046 2001-12-04 Juergen Vigna <jug@sad.it>
9048 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9049 that we force an update of the inset and it's owners if neccessary.
9051 2001-12-03 Juergen Vigna <jug@sad.it>
9053 * text.C (rowLast): simplified code
9055 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9057 * lyxfunc.C: fix show options on timeout
9059 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9061 * screen.C (topCursorVisible): scroll half a page when the cursor
9062 reached top of bottom of screen
9064 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9066 * minibuffer.C: deactivate on loss of focus
9068 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * vspace.[Ch] (operator!=): add operator.
9072 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9074 * BufferView_pimpl.C: refuse to open an inset when
9075 there's a selection.
9077 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9079 * BufferView_pimpl.C: allow to click on RHS of full row insets
9081 2001-11-30 Juergen Vigna <jug@sad.it>
9083 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9084 insets for undo reasons.
9086 2001-11-28 André Pönitz <poenitz@gmx.net>
9088 * vspace.[Ch]: cosmetical changes
9090 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9100 * kbsequence.C: part re-write of old kb code
9103 * WorkArea.C: remove Lgb_bug_find_hack
9105 2001-11-30 José Matos <jamatos@fep.up.pt>
9107 * buffer.C (makeDocBookFile): add a comment to point a hack.
9108 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9109 Fixed a double write of labels.
9111 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9114 * LaTeX.h Fixed bug in LaTeX class where it would not
9115 re-run latex if no depfiles were changed, but the .dvi was removed.
9117 2001-11-28 André Pönitz <poenitz@gmx.net>
9119 * all the files from the change on 2001/11/26:
9120 use lyx::layout_type instead of LyXTextClass::size_type
9121 use lyx::textclass_type instead of LyXTextClassList::size_type
9123 2001-11-29 Juergen Vigna <jug@sad.it>
9125 * text.C: added support for paragraph::isFreeSpacing()
9127 * buffer.C: same as above
9129 * paragraph.h: inserted isFreeSpacing() function to enable
9130 FreeSpacing inside InsetERT.
9132 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9133 of the paragraph's in the cut/copy buffer to 0!
9135 * text2.C (removeRow): remove the assert as it can!
9137 * lyxtext.h: added helper function firstRow returning firstrow and
9138 made firstrow private again.
9140 * BufferView2.C (lockInset): don't relock if we're already locked!
9142 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9144 (removeRow): added Assert::(firstrow)
9146 * debug.C: forgot to add INSETTEXT here.
9148 2001-11-28 Juergen Vigna <jug@sad.it>
9150 * sp_spell.C (initialize): changed error text to more general
9151 spellchecker command use (not only ispell!)
9153 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9155 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9157 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9159 * vspace.C: initialise lyxgluelength on failure
9161 2001-11-28 Allan Rae <rae@lyx.org>
9163 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9164 declaration & definition that looks like a function declaration.
9166 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9168 * BufferView2.C (copy):
9169 (copyEnvironment): do not clear the selection when doing a copy.
9171 * text.C (paintFirstRow): compilation fix
9173 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9175 * tabular.C (Latex): correct line count when writing latex.
9177 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9179 * paragraph_pimpl.h:
9180 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9183 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9187 * LColor.C: change vfillline->added_space
9189 * text.C: add markers and text for added space
9191 * vspace.C: fix comment
9193 2001-11-28 André Pönitz <poenitz@gmx.net>
9195 * paragraph.C: whitespace changes
9196 * all the other files from the change on 2001/11/26:
9197 change *::pos_type into lyx::pos_type
9199 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9201 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9202 language of the document when inserting error insets.
9204 2001-11-26 André Pönitz <poenitz@gmx.net>
9206 * BufferView_pimpl.[Ch]:
9214 * paragraph_pimpl.[Ch]:
9217 * text2.C: reduce header dependencies, introduce type for positions
9219 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9221 * <various>: change to use Alert.h
9223 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9225 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9226 when encountering an unknown token.
9227 (readLyXformat2): Show an error message if there were unknown tokens.
9229 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9232 * BufferView_pimpl.C:
9236 * text2.C: use par->isInset()
9238 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9240 * paragraph_pimpl.h:
9241 * paragraph_pimpl.C: cleanup
9243 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9245 * text2.C (removeRow):
9246 * text.C (setHeightOfRow): remove useless (and costly) call to
9249 2001-11-20 Allan Rae <rae@lyx.org>
9251 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9252 Now need Inset*::checkInsertChar() to return true for appropriate
9253 cases so that the characters in the minibuffer will actually be
9256 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * text.C: change the order of the includes.
9259 (workWidth): initialize it at once.
9260 (workWidth): make maxw unsigned
9261 (setHeightOfRow): remove unused variable (inset)
9262 (selectSelectedWord): remove unused variable (inset)
9263 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9265 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9267 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9268 server is not running.
9270 (closeConnection): add debug info when server is disabled.
9272 * ColorHandler.C (getGCForeground): send debug message to GUI
9275 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9277 * kbmap.C (bind): modify because return conventions of
9278 kb_sequence::parse have changed.
9280 * kbsequence.C (parse): only ignore spaces and not any stupid
9281 control character. This avoids tests like s[i] <= ' ', which are
9282 guaranteed to fail with 8bit characters and signed chars.
9283 Change return code to string::npos when there have been no error
9284 (0 was a bad idea when error is at first character)
9286 2001-11-14 José Matos <jamatos@fep.up.pt>
9289 * buffer.C (simpleDocBookOnePar): removed unused argument.
9291 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9293 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9294 insets which are part of a word. Paragraph::isLetter takes care of
9295 that now. Use Paragraph::isInset to identify insets.
9296 (selectSelectedWord): do not test for hyphenation break.
9298 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9299 that protected spaces are considered as spaces.
9301 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9304 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9307 * lyxserver.C: fix it. and small cleanup.
9309 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9311 * BufferView_pimpl.C: use inline helpers
9314 * LaTeXFeatures.C: fix typos
9317 * Spacing.C: move spacing_string into class
9319 * ToolbarDefaults.C: move stuff into namespace anon
9321 * layout.h: update enum
9323 * lyxfunc.C: use better debug
9325 * minibuffer.h: fix typo
9329 * WorkArea.C: add and use Debug::WORKAREA
9333 * text2.C: code re-organisation, inline helpers
9335 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9337 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9338 std::vector.empty().
9340 2001-11-09 Allan Rae <rae@lyx.org>
9342 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9343 '\n's after tables. Tabular and ERT inset work now makes this no
9346 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9349 * minibuffer.C: fix crash, improve drop-down completion
9351 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9354 * lyxserver.C: invalidate fd's when doing endPipe()
9356 2001-11-08 José Matos <jamatos@fep.up.pt>
9358 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9359 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9362 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9364 2001-11-07 José Matos <jamatos@fep.up.pt>
9367 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9370 * buffer.C (sgmlOpenTag):
9371 * buffer.C (sgmlCloseTag): removed debug info.
9373 * buffer.h (sgmlOpenTag):
9374 * buffer.h (sgmlCloseTag): made public.
9376 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9378 * buffer.C (saveParamsAsDefaults):
9379 * lyx_cb.C (MenuLayoutSave): remove
9381 * LyXAction.C (init):
9383 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9385 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9387 * buffer.C (setPaperStuff): removed from here...
9389 * bufferparams.C (setPaperStuff): ... and moved there.
9391 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9395 * XFormsView.C: add support for drop-down completion
9397 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9399 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9402 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9404 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9407 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9409 * lyx_main.C: change ref to known bugs
9411 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9413 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9414 to work around older babel problems.
9416 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9418 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9420 2001-10-24 Juergen Vigna <jug@sad.it>
9422 * tabular-old.C (ReadOld): below variable changes reflected.
9424 * tabular.[Ch]: added ltType struct for longtable header/footer
9425 defines and changed all instances where they are used. Added
9426 future support for double top/bottom rows.
9428 2001-10-24 José Matos <jamatos@fep.up.pt>
9430 * buffer.h (docbookHandleCaption):
9431 * buffer.C (docbookHandleCaption): removed unused function.
9432 (makeDocBookFile): moved docbook supported version to v4.1.
9434 2001-10-24 José Matos <jamatos@fep.up.pt>
9437 * tabular.C (docbookRow): new function to export docbook code of a row.
9438 (DocBook): now honors the longtable flags.
9440 2001-10-23 José Matos <jamatos@fep.up.pt>
9443 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9444 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9446 * buffer.C (makeLinuxDocFile):
9447 (makeDocBookFile): reworked the preamble, more clean, and with
9448 support for lyx defined entities. Changed the document declaration
9449 to be more XML friendly.
9451 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9452 if we need to output XML that should be done with a filter.
9454 2001-10-22 Juergen Vigna <jug@sad.it>
9456 * sp_pspell.h (class PSpell): add alive function needed in the
9457 controller to see if the spellchecker could be started.
9459 2001-10-22 Juergen Vigna <jug@sad.it>
9461 * buffer.C (insertStringAsLines): modify the font for inserting
9462 chars in certain conditions by calling checkInsertChar(font).
9464 2001-10-19 Juergen Vigna <jug@sad.it>
9466 * text.C (workWidth): use getRow instead of wrong algorithm.
9467 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9469 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9474 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9476 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9478 * text.C (workWidth): do not search for the exact row when
9479 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9480 optimization for big documents.
9482 2001-10-18 Juergen Vigna <jug@sad.it>
9484 * text.C (workWidth): new function with added Inset * parameter.
9486 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9488 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9490 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9491 change return type of getColumnNearX.
9494 * text.C (changeRegionCase): use uppercase/lowercase instead of
9497 (rightMargin): simplify code by factoring out the uses of
9502 (appendParagraph): use Paragraph::size_type
9504 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9506 * vspace.C (asLatexString): add a missing break
9508 2001-10-15 Herbert Voss <voss@perce.de>
9510 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9512 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9514 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9517 2001-10-10 André Pönitz <poenitz@gmx.net>
9519 * lyxfunc.C: removed greek_kb_flag.
9521 2001-10-10 Herbert Voss <voss@perce.de>
9523 * lyx_main.C: delete global string help_lyxdir.
9525 2001-10-09 Herbert Voss <voss@perce.de>
9527 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9529 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9531 * lyx_main.C: added global string help_lyxdir.
9533 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9535 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9537 * lyxrc.C (set_font_norm_type): support iso8859-4
9539 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9541 * LaTeX.C (deplog): add another regex for MikTeX
9543 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9545 * lyxrc.C (set_font_norm_type): support iso8859-3
9547 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9549 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9551 * LaTeXFeatures.C: remove special case of french and index
9553 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9554 before \begin{document}). This solves several incompatibilities.
9556 2001-10-03 Garst Reese <reese@isn.net>
9558 * lyx_cb.C: change CheckTex error msg.
9560 2001-10-03 José Matos <jamatos@fep.up.pt>
9562 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9564 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9566 * .cvsignore: update
9568 * lyx_main.C (commandLineVersionInfo): use new style version info.
9570 * buffer.C (writeFile):
9573 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9575 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9577 * version.h: update to use stuff in version.C
9579 * version.C.in: new file. Contains version information determined
9580 at compile time. This is a merging of version.h and
9583 2001-10-03 Juergen Vigna <jug@sad.it>
9585 * BufferView_pimpl.C (update): don't change "dirty" status in
9588 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9590 * WorkArea.C (c-tor): re-position version string slightly.
9592 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9594 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9595 revert to previous code.
9597 WorkArea.[Ch]: (show, destroySplash): methods removed.
9599 WorkArea.C: rework code so that it's an amalgam of the codes before and
9600 after the splash screen was moved to WorkArea.
9602 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9605 * vspace.C (inPixels):
9608 * buffer.C (insertStringAsLines):
9609 (asciiParagraph): fix types to be large enough
9611 * lyxlex_pimpl.h: change member status from short to int
9613 * layout.h: fix type of endlabeltype
9616 * kbsequence.C (parse): change return type to string::size_type
9618 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9621 * Bullet.C (bulletSize):
9622 (bulletEntry): do not use short ints as parameters
9624 * BufferView2.C (insertLyXFile): change a char to an int.
9626 * WorkArea.C (WorkArea): remove unneeded floats in computation
9628 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9630 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9632 * paragraph.C (asString): Do not ignore newline/hfill chars when
9633 copying to the clipboard.
9635 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9637 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9638 after a multi-line inset.
9640 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9642 * paragraph.C (validate): Set NeedLyXFootnoteCode
9644 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9646 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9647 and decrease-error to decrease.
9649 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9651 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9652 it more readable (should be equivalent)
9654 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9656 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9658 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9660 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9661 of a cursor (row, etc.) after a character has been deleted
9662 (deleteEmptyParagraphMechanism): call the method above on _all_
9663 cursors held by the LyXText when a double space has been
9666 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9668 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9670 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9672 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9673 background. Use greyOut() and the new show() methods to toggle between
9674 the foreground and background. Add code to remove the splash after
9675 its initial showing.
9677 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9678 (create_forms): no longer call Dialogs::showSplash.
9680 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9682 * .cvsignore: add version_info.h
9684 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * version_info.h.in: new file
9688 * Makefile.am: add version_info.h.in
9690 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9691 version_info.h instead of VERSION_INFO
9693 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9695 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9696 The ERT inset now returns string().
9698 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9700 * lyxtext.h, text.C (selectNextWord): renamed as
9701 selectNextWordToSpellcheck.
9703 * text.C (selectNextWordToSpellcheck): Modified to not select
9704 words inside an ERT inset.
9706 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9708 * lyx_cb.C (MenuLayoutSave): change a bit the question
9710 * sp_base.h: include <sys/types.h>
9712 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9714 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9716 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9718 * several files: fix typos in user-visible strings
9720 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9722 * text2.C (pasteSelection): do not set the selection, since it
9723 will be cleared later. Actually, the intent was to fix the way the
9724 selection was set, but I figured rmoving the code was just as good.
9726 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9728 * FontLoader.C (available): Check if font is available without
9731 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9733 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9735 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9737 * lyxrc.[Ch]: added display_graphics variable and associated code.
9739 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9741 * bufferparams.C (hasClassDefaults): new method. Returns true if
9742 the buffer parameters correspond to known class defaults
9744 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9746 * XFormsView.C (show): set minimum size to the main window.
9748 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9750 * text2.C (copySelection):
9752 * lyxfind.C (LyXReplace):
9753 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9754 LyXText::selectionAsString.
9756 * paragraph.C (asString): add "label" argument to the second form
9758 * text2.C (selectionAsString): add "label" argument and pass it to
9759 Paragraph::asString.
9761 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9763 * lyx_main.C (commandLineHelp): remove version information
9765 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9767 * lyx_main.C: add -version commandline option
9769 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9771 * paragraph.h: make the optional constructor arg required instead.
9772 some modifications to other files because of this.
9774 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9776 * lyxserver.C (C_LyXComm_callback): make it static
9778 * lyx_main.C (error_handler): make it static
9780 * lyx_gui.C (LyX_XErrHandler): make it static
9782 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9784 * WorkArea.C: make the extern "C" methods static.
9786 * Makefile.am (lyx_LDADD): simplify
9788 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9790 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9791 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9793 * LyXAction.C (init):
9794 * lyxfunc.C (dispatch): associated code removal.
9796 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9798 * lyxfont.h (isSymbolFont): shut off warning
9800 * text.C (setHeightOfRow):
9801 (getVisibleRow): fix crash with empty paragraphs which have a
9804 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9806 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9809 2001-09-04 José Matos <jamatos@fep.up.pt>
9812 * tabular.C (docbook): rename docBook method to docbook.
9814 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9816 * Makefile.am: add dependencies to main.o.
9818 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9820 * FontLoader.C (available): Return false if !lyxrc.use_gui
9822 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9824 * FontInfo.C (query):
9825 * converter.C (view):
9826 * importer.C (Import):
9827 * exporter.C (Export): Can not -> cannot.
9829 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9831 * BufferView_pimpl.C: allow to create index inset even if
9834 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9836 * buffer.C (getLists): replace boost::tie code with an explicit pair
9837 as boost::tie can break some compilers.
9839 * iterators.h: Added a std:: declaration to the return type of
9842 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9844 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9847 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9849 * iterators.[Ch]: New files. Provide paragraph iterators.
9851 * buffer.C (changeLanguage): Use paragraph iterators.
9852 (isMultiLingual): ditto
9854 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9856 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9858 * FontLoader.C: Support for cmr font.
9860 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9862 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9863 (available): New method.
9865 * FontInfo.C (getFontname): Use scalable fonts even when
9866 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9869 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9871 * converter.C (Formats::view): reverted! Incorrect fix.
9873 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9875 * converter.C (Formats::view): only output the -paper option
9876 if the dvi viewer is xdvi, thereby fixing bug #233429.
9878 2001-08-23 Herbert Voss <voss@perce>
9880 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9882 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9884 * Spacing.h (Spacing): Set space to Default on in the default
9887 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * vc-backend.h (RCS::versionString): add RCS to version
9890 (CVS::versionString): add CVS to version
9892 * vc-backend.C (scanMaster): do not add CVS to version.
9893 (scanMaster): do not add RCS to version
9895 * lyxvc.C (versionString): new method
9897 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9899 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * Spacing.C (set): initialize fval
9903 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9905 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9908 2001-08-16 Juergen Vigna <jug@sad.it>
9910 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9912 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9914 * BufferView_pimpl.C:
9917 * text2.C: setParagraph takes linespacing now
9919 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9921 * LyxAction.C: add internal LFUN_CITATION_INSERT
9923 * LyXView.C: actually apply fix
9925 * bufferlist.C: fix open non-existent file
9927 * lyxfind.C: fix indentation
9929 * lyxfunc.C: remove unneeded assert, fix typo
9931 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9933 * MenuBackend.C: use "Floatname List"
9935 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9937 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9938 when converting LaTeX layout to insetERT.
9939 Generate a non-collapsed float when reading old float
9941 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9943 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9946 2001-08-13 Juergen Vigna <jug@sad.it>
9948 * text.C (fill): return 0 instead of 20 as this seems to be the more
9951 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9953 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9956 2001-08-13 Juergen Vigna <jug@sad.it>
9958 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9960 (SearchBackward): comment out the unlocking of the inset_owner this
9961 should not be needed!
9963 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9965 * Many files: Remove inherit_language, and add latex_language
9967 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9970 2001-08-10 Juergen Vigna <jug@sad.it>
9972 * text.C (prepareToPrint): fixed hfill-width in draw!
9974 * BufferView2.C (selectLastWord): save the selection cursor as this
9975 now is cleared in the function LyXText::clearSelection!
9977 2001-08-08 Juergen Vigna <jug@sad.it>
9979 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9980 BACKSPACE type functions.
9982 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9983 is only cutted from the document but not put in the cut-buffer, where
9984 still the old stuff should be.
9986 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9988 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9990 * tabular.C (SetWidthOfCell): fixed special case where the width
9992 (LeftLine): handle '|' in align_special.
9994 (LeftAlreadyDrawed): ditto
9995 (SetWidthOfCell): ditto
9997 2001-08-07 Juergen Vigna <jug@sad.it>
9999 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10001 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10004 * lyxlex.[hC]: ditto
10006 2001-08-06 Juergen Vigna <jug@sad.it>
10008 * text.C (getVisibleRow): fix up row clearing a bit.
10010 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * minibuffer.C: make sure the X server sees the changes in the input.
10014 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10016 * paragraph.C (getFont): split into...
10017 (getLabelFont): this
10018 (getLayoutFont): and this
10019 * paragraph_pimpl.C (realizeFont): calling this
10021 * text2.C (getFont): split into...
10022 (getLayoutFont): this
10023 (getLabelFont): and this
10024 (realizeFont): all three calling this
10026 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10029 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10031 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10033 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10035 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10036 layouts from the Quote inset insertion.
10038 2001-08-03 Juergen Vigna <jug@sad.it>
10040 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10042 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10043 only if status not is already CHANGED_IN_DRAW (second level).
10045 * text.C (draw): don't set the need_break_row when inside an
10048 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10050 * buffer.C (parseSingleLyXformat2Token): handle more latex
10053 * bufferview_funcs.[hC]: change function names to
10054 begin with small char, adjust other files.
10056 2001-08-02 André Pönitz <poenitz@gmx.net>
10059 BufferView_pimpl.C: remove broken special code for math-greek
10061 2001-08-02 Juergen Vigna <jug@sad.it>
10063 * BufferView_pimpl.C (update): redone this function so that we
10064 update the text again if there was a CHANGE_IN_DRAW.
10066 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10067 (drawFromTo): added a new internal bool which is used by draw() and
10069 (general): some cursor drawing problems fixed.
10071 2001-08-01 Juergen Vigna <jug@sad.it>
10073 * lyxfind.C (LyXFind): fixed
10074 (SearchForward): ditto
10075 (SearchBackward): ditto
10077 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10078 spurius drawing of the cursor in the main area.
10080 * text2.C (status): small fix which could lead to a segfault!
10081 (clearSelection): remove unneeded BufferView param.
10083 2001-08-01 André Pönitz <poenitz@gmx.net>
10085 * lyxfunc.C: small change due to changed mathed interface
10087 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10089 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10091 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10093 * lyxfunc.c: fail gracefully if file doesn't exist
10098 * BufferView_pimpl.C: IsDirWriteable() proto changed
10100 * LyXView.C: fix updateWindowTitle() to store the last title
10102 2001-07-31 Juergen Vigna <jug@sad.it>
10104 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10105 the font (wrong since using of Paragraph::highestFontInRange).
10107 * paragraph.C (highestFontInRange): added a default_size parameter.
10109 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10110 (setHeightOfRow): reformat
10112 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10114 * converter.[hC] + affected files: move to (inital-char)lowercase
10117 * ParagraphParameters.C (ParagraphParameters): remove commented code
10119 * PainterBase.[Ch]: remove commented code
10121 * LaTeXFeatures.h: add "bool floats" for float.sty
10123 * LaTeXFeatures.C (LaTeXFeatures): init floats
10124 (require): handle float
10125 (getPackages): do it with floats
10127 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10129 * BufferView_pimpl.C (Dispatch): improve handling of
10130 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10132 * commandtags.h: #include lyxfont.h here temporarily to avoid
10135 * bufferlist.h: include LString.h here.
10137 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10139 * text2.C (getStringToIndex): new method.
10141 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10143 * *: Reduced header file dependencies all over.
10145 2001-07-30 Baruch Even <baruch@lyx.org>
10147 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10149 2001-07-29 Baruch Even <baruch@lyx.org>
10151 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10153 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10155 * ParameterStruct.h (endif): add a default constructor to make
10156 sure that all variables is initialized.
10158 * ParagraphParameters.C (ParagraphParameters): adjust
10160 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10162 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10163 index; also, check that there is something to index, and that it
10164 does not span over several paragraphs.
10165 (doubleClick): use WHOLE_WORD_STRICT for double click.
10167 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10169 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10172 2001-07-26 Baruch Even <baruch@lyx.org>
10174 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10175 an InsetFig figure, backwards compatible reading of old figure code.
10177 2001-07-27 Juergen Vigna <jug@sad.it>
10179 * text2.C: font.realize function adaption.
10181 * text.C (draw): add a warnings lyxerr text if needed.
10183 * layout.C: font.realize function adaption.
10185 * language.C: add inherit_language and implement it's handlings
10187 * bufferview_funcs.C (StyleReset): remove language parameter from
10188 font creation (should be language_inherit now).
10190 * bufferparams.C (writeFile): handle ignore_language.
10192 * paragraph.C (getFontSettings): the language has to be resolved
10193 otherwise we have problems in LyXFont!
10195 * lyxfont.C (lyxWriteChanges): added document_language parameter
10196 (update): removed unneeded language parameter
10198 * paragraph.C (validate): fixed wrong output of color-package when
10199 using interface colors for certain fonts in certain environments,
10200 which should not seen as that on the final output.
10202 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10204 * BufferView_pimpl.C:
10209 * LyXAction.C: add thesaurus support
10212 * lyxfind.C: add "once" parameter, for thesaurus, to not
10213 move to the next match
10215 2001-07-26 Juergen Vigna <jug@sad.it>
10217 * lyxfont.C (realize): honor ignore_language too!
10220 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10222 * text.C (draw): one place more for ignore_language to not draw
10225 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10227 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10229 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10231 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10232 the minipage conversion problem.
10234 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10236 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10239 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10241 * BufferView.h: don't forward declare WorkArea
10243 * BufferView.C: don't include WorkArea.h
10245 2001-07-25 André Pönitz <poenitz@gmx.net>
10249 * lyxfunc.C: new LFUN 'math-space'
10251 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10253 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10255 * text2.C (toggleInset): call open/close
10257 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * lyxfunc.C (dispatch): add debug for the disabled case
10261 * font.C (buttonText): make similar to rectText
10263 * buffer.C (readInset): comment out parsing of insetlist and
10266 * PainterBase.C (rectText): small correction
10268 * BufferView_pimpl.C: comment out insettheorem and insetlist
10269 * LyXAction.C: ditto
10270 * commandtags.h: ditto
10272 2001-07-24 Juergen Vigna <jug@sad.it>
10274 * text.C (draw): honor the ignore_language.
10276 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10278 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10283 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10285 * lyxtext.h: remove unused (and unimplemented) methods
10287 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10289 * text.C (getVisibleRow): honor background color
10292 * Painter.h: remove default color argument for fillRectangle
10294 * text.C (backgroundColor): new method
10296 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10298 * text.C (getVisibleRow): adjust
10300 * font.[Ch] (rectText): new method, metrics
10301 (buttonText): new method, metrics
10303 * PainterBase.[hC]: make rectText and buttonText always draw and take
10306 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10308 * ToolbarDefaults.C (read):
10309 * MenuBackend.C (read): allow escaping in all strings
10311 * BufferView_pimpl.C (insertAndEditInset): new method.
10312 (Dispatch): use insertAndEditInset whenever appropriate.
10314 * BufferView_pimpl.C (insertNote): removed
10316 * BufferView_pimpl.C (smartQuote): new method, moved from
10317 BufferView; if an insetquote cannot be inserted, insert a '"'
10320 * BufferView2.C: remove insertCorrectQuote();
10322 * lyxfunc.C (getStatus): Add support for all remaingin
10323 inset-insert lfuns.
10325 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10327 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10328 command (necessary to pass " as parameter of self-insert.
10330 * text.C (selectWordWhenUnderCursor):
10331 (selectWord): add word_location parameter
10332 (selectWordWhenUnderCursor): same + remove special code for word
10334 (selectNextWord): use kind() to guess type of insetspecialchar,
10337 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10338 (insertErtContents): create ert insets as collapsed.
10339 (readInset): better compatibility code for Info inset.
10341 2001-07-20 Juergen Vigna <jug@sad.it>
10343 * lyxfunc.C (dispatch): use always LyXFind now!
10345 * text2.C (init): add a reinit flag so that the LyXText can be
10346 reinited instead of deleted and reallocated (used in InsetText).
10348 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10354 2001-07-18 Juergen Vigna <jug@sad.it>
10356 * text.C (selectNextWord): handle insets inside inset by calling
10357 always the bv->text functions so that we can go up the_locking_inset!
10359 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10360 in strange locations when inside an inset!
10362 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10363 handling to include insets.
10365 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10367 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10369 * LyXAction.C (init):
10371 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10372 LIGATURE_BREAK, since the name is so stupid.
10374 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10376 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10379 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10381 * sp_form.[Ch]: remove.
10383 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10385 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10388 * src/buffer.C (readInset): ditto.
10390 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10392 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10393 menuSeparator(), endOfSentenceDot(), ldots() and
10394 hyphenationPoint(), which are therefore removed.
10395 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10397 * LyXAction.C (init):
10398 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10400 * paragraph.C (getWord): removed.
10402 * BufferView_pimpl.C (Dispatch): use last word or selection for
10403 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10405 * lyx_main.C (queryUserLyXDir): do not ask before creating
10406 user_dir, except if it has been named explicitely.
10408 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10410 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10411 a document of zero size.
10413 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10415 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10416 approriately in the c-tor and in require().
10417 (getPackages): output the appropriate LaTeX for natbib support.
10419 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10420 variables "use_natbib" and "use_numerical_citations" when reading the
10422 (readInset): read the various natbib cite commands.
10423 (validate): white-space change.
10425 * bufferparams.[Ch]: new variables "bool use_natbib" and
10426 "bool use_numerical_citations".
10427 (writeFile): output them in the LyX file.
10429 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10431 * lyxfunc.C (getStatus): add support for all the inset insertion
10434 * text2.C (insertInset):
10435 * paragraph.C (insetAllowed):
10436 * BufferView_pimpl.C (insertInset): update to take in account the
10437 renaming of insertInsetAllowed
10439 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10441 * text2.C (getInset): new method. returns inset at cursor position.
10443 * BufferView_pimpl.C (Dispatch): changes because of this.
10445 * LyXAction.C (init): rename open-stuff to inset-toggle.
10447 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10449 * text2.C (toggleInset): renamed from openStuff; use
10452 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10454 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10456 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10458 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10460 * buffer.C (readLyXformat2): Add filename to the error dialog
10462 2001-07-18 Juergen Vigna <jug@sad.it>
10464 * tabular.C (GetCellNumber): put an assert here instead of the check!
10466 2001-07-17 Juergen Vigna <jug@sad.it>
10468 * BufferView_pimpl.C (toggleSelection): adapted too.
10470 * text.C (selectNextWord): adapted for use with insets.
10471 (selectSelectedWord): ditto
10473 2001-07-17 Juergen Vigna <jug@sad.it>
10475 * sp_spell.C (PSpell): fix initialitation order.
10477 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * paragraph.C: spacing
10481 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10483 * sp_spell.C: repair language selection for pspell
10485 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * lyxfunc.h: change more methods to begin with lower char.
10489 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10491 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10492 for unknown layouts.
10494 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10496 * buffer.C (readLyXformat2): Generate an error dialog if there are
10499 2001-07-16 Juergen Vigna <jug@sad.it>
10501 * sp_spell.C: always compile ISpell part.
10503 * lyxrc.C: added use_pspell entry and it's handling.
10505 2001-07-13 Juergen Vigna <jug@sad.it>
10507 * sp_spell.C: removed double includes.
10509 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10511 Consistent use of Lsstream.h:
10512 * Lsstream.h: added using std::stringstream for consistencies sake.
10514 * buffer.C: removed using std::stringstream
10516 * lyxfont.C (stateText):
10517 * paragraph.C (asString):
10518 * text.C (selectNextWord, selectSelectedWord):
10519 * text2.C (setCounter):
10520 * vspace.C (asString, asLatexString):
10521 std::ostringstream -> ostringstream.
10523 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10525 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10526 * commandtags.h: add LFUN_HELP_ABOUTLYX
10527 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10529 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10531 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10533 * lyx_gui_misc.C: remove spellchecker
10534 * lyxfunc.C: showSpellchecker
10536 * sp_ispell.h: added
10537 * sp_pspell.h: added
10538 * sp_spell.C: added
10539 * sp_form.[Ch]: removed
10540 * spellchecker.[Ch]: removed
10542 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10544 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10546 (simpleTeXSpecialChars): Simply print the input character without
10547 any special translation if pass_thru is set.
10549 * layout.h: Added bool pass_thru to layout class for being able to
10550 implement pass through of a paragraph for Literate Programming.
10552 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10553 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10554 * layout.C (Read): add "passthru" to list of layout tags and add
10555 code to set the pass_thru boolean when it is read.
10557 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10559 * trans_decl.h: remove allowed from KmodInfo
10561 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10562 remove allowed code
10565 * paragraph_pimpl.C (erase): use boost::prior
10567 * Painter.C (text): use data() instead of c_str() when length is
10569 * WorkArea.C (putClipboard): ditto
10570 * font.h (width): ditto
10572 * BufferView2.C: use it-> instead of (*it). for iterators
10574 * paragraph_pimpl.C: ditto
10575 * paragraph.C: ditto
10576 * minibuffer.C: ditto
10577 * language.C: ditto
10579 * encoding.C: ditto
10580 * counters.C: ditto
10581 * converter.C: ditto
10583 * Variables.C: ditto
10584 * TextCache.C: ditto
10585 * MenuBackend.C: ditto
10586 * LyXAction.C: ditto
10588 * FloatList.C: ditto
10589 * DepTable.C: ditto
10590 * ColorHandler.C (LyXColorHandler): ditto
10592 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10594 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10596 * text2.C (openStuff): reintroduce this method (which had been
10597 nuked in NEW_INSETS frenzy).
10599 * lyxfunc.C (Dispatch): when an action has not been handled, use
10600 its name in the error message, not its number.
10602 * paragraph.C (inInset): change method name to begin with lowercase.
10605 * text2.C: updates because of this.
10607 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10609 * ToolbarDefaults.C (add): add spaces in error message
10611 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10613 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10614 (readLyXformat2): rename return_par to first_par, use lyxlex's
10615 pushToken and remove the manual push handling.
10616 (parseSingleLyXformat2Token): add another ert comp. variable:
10617 in_tabular, rename return_par to first_par. handle newlines better
10619 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10623 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10625 * text2.C (getParFromID): removed
10627 * buffer.C (getParFromID): new method moved form lyxtext.
10628 * BufferView2.C (insertErrors): adjust
10629 (setCursorFromRow): adjust
10630 * BufferView_pimpl.C (restorePosition): adjust
10631 * lyxfunc.C (Dispatch): adjust
10632 * undo_funcs.C (textUndo): adjust
10634 (textHandleUndo): adjust
10635 (textHandleUndo): adjust
10637 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * buffer.C: up' the LYX_FORMAT
10641 * lyxfont.h: turn NO_LATEX on as default
10643 * buffer.C (insertErtContents): new methods of tex style compability.
10644 (parseSingleLyXformat2Token): use it several places.
10645 * tabular.C (OldFormatRead): and here
10647 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10649 * text2.C: remove some commented code.
10652 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10653 * trans.C: changes because of the above.
10655 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10657 * text2.C (setCounter): Fix counters bug with bibliography layout.
10659 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10661 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10662 own member functions
10663 (simpleTeXSpecialChars): ditto
10665 2001-07-06 Juergen Vigna <jug@sad.it>
10667 * a lot of files: changed the access to LyXText::status and the
10668 call of undo-functions.
10670 * undo.[Ch]: added a inset_id to the undo informations.
10672 * undo_funcs.[Ch]: added and moved here all undo functions.
10674 * lyxtext.h: give the status enum a weight, made status_ a private
10675 variable and made accessor functions for it, removed the whole bunch
10676 of undo-functions as they are now in their own file, make some
10677 functions publically available. Added function ownerParagraph with
10680 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10681 made InInset() a const function, added getParFromID() function.
10683 * buffer.[Ch]: added const version for inset_iterator functions,
10684 added getInsetFromID() function.
10686 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10687 changed undo functions for new version.
10689 2001-07-05 Juergen Vigna <jug@sad.it>
10691 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10692 unknow mechanism does not call the proper constructor but only this
10693 one also if I request the other!?
10695 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10697 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10699 * text2.C (LyXText): use initialization lists.
10701 * lyxtext.h (Selection): initialize set_ and mark_
10702 (init): remove method
10704 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10706 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10708 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * screen.[Ch]: change method names to begin with lowercase
10712 * BufferView_pimpl.C (updateScrollbar): simplify further and
10713 hopefully make it a bit faster.
10715 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10717 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10718 calling directly xforms functions.
10720 * Painter.C (Painter):
10721 * lyx_cb.C (MenuWrite):
10722 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10725 * lyx_gui.C: remove bogus guiruntime extern declaration.
10727 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10731 (redoDrawingOfParagraph): ditto
10732 (redoParagraphs): ditto
10733 (cutSelection): don't create a object for CutAndPaste use the
10734 static method directly
10735 (pasteSelection): ditto
10737 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10740 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10742 * modifications to some other files because of this.
10744 * Makefile.am (lyx_SOURCES): add XFormsView
10746 * XFormsView.[Ch]: new files
10748 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10749 the main window. Move the gui dependent stuff to XFormsView
10751 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * tabular.C (GetCellInset): update cur_cell also in the row/col
10754 version of this function.
10756 * lyxfunc.C: no need to include figure_form.h here.
10762 * lyxvc.C: no need to include forms.h here.
10764 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10766 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10768 * lyxfunc.C (Dispatch):
10770 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10771 constructor argument.
10773 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10775 * paragraph.C (Paragraph): dont't clear, and just set layout.
10776 (makeSameLayout): use params's copy contructor.
10778 * ParagraphParameters.[Ch] (makeSame): delete method
10780 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10782 * Variables.[Ch]: fix indentation, rename set to isSet
10784 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10786 * lyxfunc.C (Dispatch): fix typo
10788 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10793 * bufferlist.C: include assert.h for emergencyWrite().
10795 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10797 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10798 give up at last (bug #425202) !
10800 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10806 * spellchecker.C: strip spellchecker options and bring up
10807 preferences tab instead
10809 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10811 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10812 the istringstream constructor
10814 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10816 * paragraph.C (getLayout): fix return value
10818 * paragraph.h: do not declare getLayout as inline.
10820 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10822 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * lyxcursor.h (operator<): new func
10825 (operator>): new func
10826 (operator>=): new func
10827 (operator<=): new func
10829 * text.C (changeCase): use selection.start and selection.end
10830 (changeRegionCase): require from to be <= to. Require par to be a
10833 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10835 2001-06-27 Juergen Vigna <jug@sad.it>
10837 * text.C (cursorLeftOneWord): changed to return the cursor and added
10838 overlay with BufferView * parameter which calls this one.
10840 (selectWord): use new getWord function.
10841 (changeCase): renamed from changeWordCase as and extended to work
10842 also on selections.
10844 * lyxtext.h: added enum word_location
10846 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10847 changeCase as this operates now also on selections.
10849 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10851 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10853 * many files: send debug output to Debug::INFO instead of
10856 * converter.C (View):
10858 (Move): send debug output to Debug::FILES instead of console.
10860 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10862 * lyxfunc.C (getStatus): use func_status
10864 * func_status.h: new header, describing the results of
10865 LyXFunc::getStatus;
10867 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10870 2001-06-25 The LyX Project <jug@sad.it>
10872 * buffer.C (sgmlOpenTag):
10874 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10876 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10878 * text2.C: remove some dead code
10880 * tabular.C (GetCellInset): store the last cell checked (gotten)
10882 * tabular.h: add the helper for the speedup
10884 * lyxtext.h: remove some dead code
10886 2001-06-26 The LyX Project <Asger>
10888 * paragraph.C: Change export to LaTeX of alignment to
10889 \begin{center} and family for better roundtrip work with reLyX.
10891 * Tune the math drawing a bit.
10893 2001-06-25 The LyX Project <Asger>
10895 * LColor.C (LColor): New color for math background. New color
10898 2001-06-25 The LyX Project <jug@sad.it>
10900 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10902 * lyxfunc.C (Open):
10903 * bufferlist.C (newFile): do not restrict to files ending with
10906 * BufferView_pimpl.C (MenuInsertLyXFile):
10908 2001-06-24 The LyX Project <jug@sad.it>
10910 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10913 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * lyxtext.h: rename most methods to begin with a small char.
10916 Lots of changes because of this.
10918 * paragraph.C (Paragraph): do not call fitToSize
10919 (erase): call Pimpl::erase
10920 (insertChar): call Pimpl::insertChar
10921 (insertInset): call Pipl::insertInset
10922 (breakParagraph): do not call fitToSize
10923 (breakParagraphConservative): do not call fitToSize
10924 (fitToSize): remove method
10926 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10928 2001-06-24 The LyX Project <Asger>
10930 * Fix Qt compilation^2
10932 2001-06-24 The LyX Project <jug@sad.it>
10934 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10935 depthHook(getDepth()-1).
10938 * ParagraphParameters.h:
10939 * ParameterStruct.h: change type of depth to unsigned int ==
10940 depth_type. Many adaptations to other files before of that.
10942 2001-06-24 The LyX Project <Asger>
10944 * Fix Qt compilation.
10946 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10948 * paragraph.h: renamed several methods to begin with small letter.
10949 several changes to many parts of the code because of this.
10951 2001-06-23 The LyX Project <jug@sad.it>
10953 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10954 rewritten to discard all double spaces when KeepEmpty is off
10955 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10956 to only handle newlines but not fiddle with spaces and friends.
10958 * lyxfunc.C (MenuNew): when doing 'new from template', use
10959 template_path as default directory
10961 2001-06-23 The LyX Project <Asger>
10963 * Clean-up of header file includes all over
10964 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10966 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10968 * paragraph.h: renamed from lyxparagraph.h
10970 2001-06-23 Asger <lyx@violet.home.sad.it>
10972 * Buffer.h: Removed Buffer::resize
10973 * BufferList.h: Removed BufferList::resize
10974 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10975 the document lazily when we change the width, or the font settings.
10977 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10979 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10981 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10983 * buffer.h: remove out of date comment
10985 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10988 * screen.C: fix "theoretical" GC leak
10990 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10992 * LaTeX.C (scanAuxFile):
10993 (deplog): remove trailing \r when reading stream (useful under
10996 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10998 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10999 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11000 and BufferView::theLockingInset(Inset*), so should use them and not
11001 access bv_->text->the_locking_inset directly.
11003 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11005 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11008 * tex-defs.h: remove old unused file
11010 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11012 * BufferView_pimpl.C: fix typo, remove minibuffer message
11013 when buffer has loaded
11015 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11017 * lyxfunc.C (Dispatch): use stringstream
11018 (MenuNew): use stringstream
11019 (Open): use stringstream
11021 * importer.C (Import): use stringstream
11023 * bufferview_funcs.C (CurrentState): use stringstream
11025 * LaTeX.C (run): use stringstream
11027 * BufferView_pimpl.C (savePosition): use stringstream
11028 (restorePosition): use stringstream
11029 (MenuInsertLyXFile): use stringstream
11031 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11044 * vspace.C: removed // -*- C++ -*- as first line.
11047 * version.h: added // -*- C++ -*- as first line.
11049 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11051 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11053 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11056 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11058 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11061 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11063 * gettext.C: include LString.h even when --disable-nls is on.
11065 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11067 * converter.h (Get): changed argument type from int to
11068 FormatList::size_type to avoid unnecessary conversion.
11070 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11073 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11075 * gettext.h: include LString.h even when --disable-nls is on.
11077 2001-06-07 Juergen Vigna <jug@sad.it>
11079 * text.C (BreakAgain): subst spaces with tabs.
11081 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11082 (resizeInsetsLyXText): set force on resizeLyXText.
11084 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11086 * gettext.h (gettext_init):
11087 (locale_init): use a real definition instead of a macro
11089 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11091 * Bufferview_pimpl.C:
11093 * LColor.C: further lcolor tidies
11095 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11097 * BufferView_pimpl.C (updateScrollbar): simplify.
11099 * BufferView2.C: don't include insets/insetinfo.h, change
11100 prototype for insertInset and call the Pimpl version. let
11101 updateInset call Pimpl version.
11103 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11104 gotoInset to BufferView::Pimpl
11106 2001-06-01 Juergen Vigna <jug@sad.it>
11108 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11109 inside a LockingInset (is the update needed at all?).
11111 2001-05-31 Juergen Vigna <jug@sad.it>
11113 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11114 here not the old one otherwise how should we compare it afterwards
11117 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11122 * FontInfo.C: bring C functions into global namespace when
11125 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11127 * LString.h: make sure config.h has been loaded before LString.h.
11129 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11130 (one for each char read by EatLine!).
11132 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11135 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11138 to the same as the par we break from
11140 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11142 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11144 * MenuBackend.C (expand): also create menu entries for wide
11145 versions of the floats.
11147 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11149 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11151 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11152 frontends/Makefile.am
11158 * tabular.C (getTokenValue): add std::
11160 * tabular-old.C (getTokenValue): add std::
11161 (getTokenValue): ditto
11162 (getTokenValue): ditto
11164 * screen.C (ToggleSelection): adjust
11166 * lyxtext.h: put selection cursors inside a Selection struct.
11168 * lyxfunc.C (moveCursorUpdate): adjust
11170 * lyxfont.C (latexWriteStartChanges): add std::
11172 * lyxfind.C: adjust
11174 * font.h: delete with(char const *, LyXFont const &)
11176 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11178 * FontInfo.C (getFontname): add std::
11180 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11181 (workAreaButtonPress): adjust
11182 (tripleClick): adjust
11184 (moveCursorUpdate): adjust
11187 * BufferView2.C (gotoInset): adjust
11189 2001-05-30 Juergen Vigna <jug@sad.it>
11191 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11192 to check pspell I add this as default as I now have new pspell
11193 libraries and they seem to use this.
11195 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11197 * text2.C (CutSelection): make the cursor valid before the call to
11200 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11203 relied on 0 terminated strings and other horrors. Bug found due to
11204 the new assert in lyxstring!
11206 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11209 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11211 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11214 * lyxfunc.C (processKeySym): change method of getting to the
11217 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11218 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11219 * BufferView_pimpl.[Ch]: here as private methods.
11221 2001-05-28 Juergen Vigna <jug@sad.it>
11223 * text.C (SetHeightOfRow): added the update() call again as it is
11224 needed to initialize inset dimensions!
11226 2001-05-16 Juergen Vigna <jug@sad.it>
11228 * text2.C (SetCharFont): Add new function with BufferView * and
11229 bool toggleall parameters for setting insets internal fonts.
11230 (SetFont): Freeze the undo as we may change fonts in Insets and
11231 all this change should be inside only one Undo!
11233 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11234 setting font's in insets as for them we have the SetFont function!
11236 2001-05-15 Juergen Vigna <jug@sad.it>
11238 * text2.C (ClearSelection): to be sure we REALLY don't have any
11241 * tabular.C (TeXCellPreamble): fixed the left border problem for
11244 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11246 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11249 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11252 LFUN_BREAKPARAGRAPH.
11254 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11255 help test to "internal only", similar for LFUN_INSERT_URL
11257 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11258 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11259 auto_region_delete and deadkeys.
11261 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11264 * LColor.C: remove some dead entries, tidy a little
11266 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11268 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11270 (Dispatch): implement LFUN_ESCAPE
11272 * commandtags.h: add LFUN_ESCAPE
11274 * LyXAction.C (init): add entry for LFUN_ESCAPE
11276 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11277 Remove commented code.
11278 (insertNote): moved here
11279 (open_new_inset): moved here
11281 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11284 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11286 * kbmap.C (findbinding): clean it up and make it work correctly.
11288 * lyx_main.C (init): do not pass argc and argv as parameters
11290 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11292 * buffer.C: fix path for OS/2 & Win32
11296 * lyx_main.C: Added os:: class.
11298 * os2_defines.h: update
11300 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11303 better by trying again with reduced state.
11305 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11307 * lyxrc.C (read): print error about invalid key sequence only when
11308 debugging (because not all latinX keysyms are known to some X
11311 * kbsequence.C (getiso): add a few std:: qualifiers
11312 (getiso): comment out extra return statement.
11314 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11316 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11318 (Dispatch): enhance the accent inset a bit. (not perfect)
11320 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11322 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11324 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11326 * bufferlist.C (emergencyWrite): fix assert() call
11328 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11330 * text.C (InsertChar): Added trivial patch to only send the "you
11331 can not do multiple spaces this way" message once during a
11334 2001-05-08 Baruch Even <baruch@lyx.org>
11336 * Makefile.am: Changed order of libraries to get LyX to link properly
11337 with the gnome frontend.
11339 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11341 * LaTeXFeatures.h: add a std:: qualifier
11343 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * paragraph.C (String): use stringstream
11347 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * paragraph.C (writeFile): remove footflag arg
11351 * buffer.C (makeLaTeXFile): use stringstream
11352 (latexParagraphs): remove footnot gurba
11354 * LaTeXFeatures.C (getPackages): use stringstream
11355 (getMacros): likewise
11356 (getTClassPreamble): likewise
11357 (getFloatDefinitions): new method
11359 * paragraph.C (writeFile): reindent
11362 * WorkArea.h: revert the xpos + etc changes.
11364 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11366 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11368 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11369 (pasteSelection): likewise
11370 * text2.C (CreateUndo): likewise
11372 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11374 * minibuffer.C (peek_event): temporarily reduce the functionality
11375 of the minibuffer (to allow args on lfuns)
11377 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11378 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11380 * buffer.C (readInset): add compability reading of old float
11381 lists, add reading of new style float list.
11382 (readInset): avoid reevaluation of inscmd.getCmdName()
11383 (getLists): reindent
11385 * MenuBackend.C (MenuItem): implement parsing of
11386 md_floatlistinsert and md_floatinsert.
11387 (expand::LastFiles): move initalizaton of iterators out of loop,
11388 avoid reevaluation.
11389 (expand::Documents): introduce typdedef vector<string> Strings,
11391 (expand::ExportFormats): introduce typedef vector<Format const *>
11392 Formats, and use it.
11393 (expand): implement FloatListInsert and FloatInsert.
11395 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11396 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11397 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11399 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11401 (Dispatch::LFUN_FLOAT_LIST): implement
11403 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11405 * LaTeX.C (run): Fix problem with --export code.
11407 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11409 * BufferView.[Ch] (workarea): removed.
11410 (getClipboard) new method; wrapper for workarea()->getClipboard()
11412 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11415 * WorkArea.h (width, height, xpos, ypos): These methods all
11416 returned the dimensions of the work_area sub-area of WorkArea,
11417 resulting in a position error if the WorkArea were resized. Now
11418 return the dimensions of the entire WorkArea.
11420 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11422 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11424 * LaTeX.C (deplog): correct the syntax of regex reg1
11426 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * undo.C: remove !NEW_INSETS cruft
11430 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11432 * text2.C: remove !NEW_INSETS cruft
11434 * text.C: remove !NEW_INSETS cruft
11436 * tabular.C: remove !NEW_INSETS cruft
11438 * spellchecker.C: remove !NEW_INSETS cruft
11440 * lyxtext.h: remove !NEW_INSETS cruft
11442 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11444 * lyxfunc.C: remove !NEW_INSETS cruft
11446 * lyxfind.C: remove !NEW_INSETS cruft
11448 * lyx_cb.C: remove !NEW_INSETS cruft
11450 * figureForm.C: remove !NEW_INSETS cruft
11452 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11454 * buffer.[Ch]: remove !NEW_INSETS cruft
11456 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11458 * CutAndPaste.C: remove !NEW_INSETS cruft
11460 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11462 * BufferView2.C: remove !NEW_INSETS cruft
11464 * BufferView.h: remove !NEW_INSETS cruft
11466 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11468 * Lsstream.h: include LString.h before the sstream headers to
11469 fix problem with gcc 2.95.3 and lyxstring
11471 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11473 * lyx_main.C: add using directives when needed for C functions
11474 declared in std:: namespace.
11476 2001-04-27 Juergen Vigna <jug@sad.it>
11478 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11479 (SetHeightOfRow): comment out the update call should not be needed!
11481 2001-04-13 Juergen Vigna <jug@sad.it>
11483 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11484 (LyXTabular): tried to minimize operator= operations (and realized
11485 hopfully Lars wish).
11487 2001-04-27 Juergen Vigna <jug@sad.it>
11489 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11491 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11493 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11495 * buffer.C (readInset): hack to make listof algorithm work
11497 * BufferView_pimpl.C: hack to make listof algorithm work
11499 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11501 * LyXAction.C: removed all !NEW_INSETS cruft
11502 (init): moved lfun_item in method
11504 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11506 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11508 * BufferView2.C (theLockingInset): white space.
11510 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11512 * minibuffer.C: include <iostream>
11514 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11516 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11518 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11520 * text.[Ch] (TransposeChars): new method
11522 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11524 * call message directly through LyXView instead of through LyXFunc
11525 * BufferView2.C: adjust
11526 * BufferView_pimpl.C: adjust
11527 * FontLoader.C: adjust
11529 * bufferview_funcs.C: adjust
11530 * converter.C: adjust
11531 * figureForm.C: adjust
11532 * importer.C: adjust
11534 * lyx_gui_misc.C: adjust
11535 * lyxfunc.C: adjust
11538 + more files in subdirs
11540 * lyxparagraph.h (size): move up int file
11543 * adjust all uses of Assert to lyx::Assert.
11545 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11546 lyxfunctional in namespace lyx
11547 * layout.C (hasLayout): ditto
11550 (delete_layout): ditto
11551 (NumberOfClass): ditto
11552 * converter.C (GetFormat): ditto
11557 * bufferlist.C (getFileNames): ditto
11558 (emergencyWriteAll): ditto
11561 * MenuBackend.C (hasSubmenu): ditto
11564 * BufferView_pimpl.C (getInsetByCode): ditto
11566 2001-04-18 Juergen Vigna <jug@sad.it>
11568 * vspace.C (asLatexString): fixed the 100% problem.
11570 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11572 * lyxfunc.C (Dispatch):
11574 * minibuffer.h: add a few std:: qualifiers
11576 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * minibuffer.[Ch]: reimplement so that commands is initiated and
11579 run from lyxfunc, simplified som handling, and made the completion
11580 and history code for complete. wip.
11582 * lyxfunc.C (processKeySym): call message
11583 (miniDispatch): new temporary method
11584 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11585 (LFUN_MESSAGE): implement
11586 (LFUN_MESSAGE_PUSH): implement
11587 (LFUN_MESSAGE_POP): implement
11588 (initMiniBuffer): the initial/defualt minibuffer message.
11590 * lyxfont.[Ch]: inline some more getters
11592 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11594 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11596 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11597 (AutoSave): use LFUN_MESSAGE
11598 (Reconfigure): ditto
11600 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11602 * figureForm.C: use LFUN_MESSAGE
11604 * converter.C (runLaTeX): use LFUN_MESSAGE
11606 * bufferview_funcs.C: use LFUN_MESSAGE
11608 (changeDepth): ditto
11610 * bufferparams.h: use boost::
11612 * bufferlist.h: inherit privately from noncopyable
11614 * bufferlist.C (loadLyXFile): remove some commented code.
11616 * buffer.C (runChktex): use LFUN_MESSAGE
11618 * ShareContainer.h: inherit privately from noncopyable
11620 * ParagraphParameters.[hC] (depth): inline it.
11622 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11624 (message): new method
11625 (messagePush): ditto
11626 (messagePop): ditto
11627 (show): init minibuffer
11628 (showState): direct call
11630 * LaTeX.[Ch]: inherit privately from noncopyable
11631 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11632 instead of WriteStatus.
11634 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11636 * BufferView_pimpl.C (buffer): don't init minibuffer
11637 (workAreaButtonPress): use LFUN_MESSAGE
11638 (workAreaButtonRelease): ditto
11639 (savePosition): ditto
11640 (restorePosition): ditto
11641 (MenuInsertLyXFile): ditto
11642 (workAreaExpose): don't init minibuffer
11643 (update): remove commented code, simplify
11645 * BufferView2.C (openStuff): use LFUN_MESSAGE
11646 (toggleFloat): ditto
11649 (copyEnvironment): ditto
11650 (pasteEnvironment): ditto
11655 (updateInset): remove some commented code
11657 * lastfiles.h: inherit privately from noncopyable
11660 * lyx_main.h: ditto
11662 * lyxlex_pimpl.h: ditto
11664 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11665 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11666 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11668 * LyXAction.h: inherit privately from noncopyable, add methods
11669 func_begin, func_end, returning iterators to the func map.
11671 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11672 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11673 (func_begin): new method
11674 (func_end): new method
11676 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11678 (copySelection): ditto
11679 (pasteSelection): ditto
11681 * BufferView.C: whitespace change
11682 * BufferView.h: inherit privately from noncopyable
11684 2001-04-16 Allan Rae <rae@lyx.org>
11686 * tabular-old.C (l_getline):
11687 * spellchecker.C (sc_check_word):
11688 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11689 an unrecognised preprocessor directive. So ensure they're wrapped.
11691 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11693 * src/exporter.C (Export): Give an error message when path to file
11696 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11698 * LaTeX.C (deplog): Always check that foundfile exists.
11700 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11703 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11705 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11707 * tabular.[Ch] (getLabelList): implement new method
11709 * minibuffer.h: comment ouf setTiimer
11711 * minibuffer.C (ExecutingCB): constify res
11712 (peek_event): constify s
11713 (Set): constify ntext
11714 (Init): constify nicename
11716 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11718 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11719 (savePosition): use two params to Minibuffer::Set
11720 (restorePosition): ditto
11722 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11724 * lyx_main.C: include language.h
11726 * Makefile.am (lyx_main.o): add language.h
11728 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11734 * CutAndPaste.C: include gettext.h
11736 * lyxfont.h: remove old hack with ON and OFF.
11739 * lyxfont.h: do not include language.h...
11744 * bufferview_funcs.C:
11750 * paragraph.C: ... but do it here instead
11752 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11754 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11756 * tabular.C: small reformat
11758 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11761 (BreakParagraph): ditto
11762 (SetOnlyLayout): ditto
11765 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11768 * lastfiles.C: removed most using decl, add std:: where needed
11770 * buffer.C: ws changes
11772 * MenuBackend.C (class compare_format): put into anon namespace
11773 (expand): constify label, names, action, action2
11776 * text.C (SingleWidth): constify font
11777 (IsBoundary): constify rtl2
11778 (GetVisibleRow): constify ww
11780 * LaTeX.C (deplog): constify logfile
11782 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11784 (workAreaExpose): constify widthChange, heightChange
11786 * lyxrow.C (par): moved
11789 * lyxrow.h: as inlines here
11791 * lyxfont.h (shape): moved from lyxfont.C
11792 (emph): moved from lyxfont.C
11794 * lyxfont.C (LyXFont): use initialization list for all
11796 (shape): move to lyxfont.h as inline
11797 (emph): move to lyxfont.h as inline
11800 2001-04-04 Juergen Vigna <jug@sad.it>
11802 * vspace.C: had to include stdio.h for use of sscanf
11804 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11807 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11808 independent of xforms.
11810 2001-04-02 Juergen Vigna <jug@sad.it>
11812 * spellchecker.C: fixed namespace placing!
11814 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11816 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11817 the LyXParagraph * is 0.
11819 2001-03-29 Juergen Vigna <jug@sad.it>
11821 * vspace.C: added support for %, c%, p%, l%.
11822 (stringFromUnit): added helper function.
11823 (asLatexString): changed to give right results for the %-values.
11825 * buffer.C: convert the widthp in a width%.
11827 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11829 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11832 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11833 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11835 * lyx_cb.[Ch]: see above.
11837 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11841 * lyx.[Ch]: replaced by figure_form.[Ch].
11845 * lyxfunc.C: changed headers associated with above changes.
11847 2001-03-27 Juergen Vigna <jug@sad.it>
11849 * BufferView_pimpl.C: set the temporary cursor right!
11851 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11853 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11855 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11857 * LString.h: removed "using std::getline"!
11859 * BufferView_pimpl.C (Dispatch): changes due to changes in
11860 InsetInclude::Params.
11862 * buffer.C (tag_name): removed redundant break statements as they were
11863 producing lots of warnings with my compiler.
11865 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11867 * LString.h: add "using std::getline" when using the real <string>.
11869 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11871 * buffer.C: removed bitset usage.
11872 PAR_TAG moved to an anonymous name space.
11873 (tag_name): new funtion, also in the anonymous namespace.
11874 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11875 (makeDocBookFile): clean code. Completed transition from string arrays
11877 (SimpleDocBookOnePar): code clean.
11879 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11881 * tabular.C: add some comments.
11883 2001-03-22 Juergen Vigna <jug@sad.it>
11885 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11886 compatibility read a bit and fixed bug with minipage in different
11889 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11891 * buffer.C (pop_tag): removed.
11892 (push_tag): removed.
11893 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11894 array replaced with vector. Added support for CDATA sections.
11895 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11897 (makeDocBookFile): XML conformant declaration of CDATA section,
11898 fixed bug related to <emphasis> in the first paragraph char.
11899 (sgmlOpenTag): exclude empty tags.
11900 (sgmlCloseTag): ditto.
11902 * buffer.h (pop_tag): removed.
11903 (push_tag): removed.
11905 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11907 * language.h (Languages): added size_type and size().
11909 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11911 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11912 response on compability reading of minipages. One probliem is that
11913 the old usage of minipages was «flertydig»
11915 * several files here and in subdirs: don't use static at file
11916 scope use anon namespaces instead.
11918 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11920 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11921 LaTeX output. This is necessary for Literate document
11924 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11926 * buffer.C: insert hfill when needed.
11928 * tabular.C (l_getline): use string::erase, small whitespace change.
11930 * BufferView_pimpl.C: try the anon namespace.
11931 * WorkArea.C: ditto
11933 2001-03-16 Juergen Vigna <jug@sad.it>
11935 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11936 otherwise it won't open options-dialogs.
11938 * buffer.C: honor pextraWidth(p) on converting minipages.
11940 * tabular.C (l_getline): changed the functions to strip trailing \r.
11942 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11944 * BufferView_pimpl.C:
11945 * minibuffer..C: added "using SigC::slot" declaration.
11947 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11949 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11955 * paragraph.C: ditto
11957 * lyxtext.h: NO_PEXTRA
11959 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11961 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11962 * ParameterStruct.h: ditto
11963 * ParagraphParameters.h: ditto
11964 * lyxparagraph.h: ditto
11966 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11968 * buffer.C: add compability for minipage alignment.
11969 (latexParagraphs): remove unwanted pextra check.
11971 * several files: remove CXX_WORKING_NAMESPACES
11973 * buffer.C (pop_tag): tie is in namespace boost
11975 * BufferView.h: noncopyable is in namespace boost
11977 * lyx_main.h: ditto
11980 * lastfiles.h: ditto
11981 * bufferlist.h: ditto
11982 * ShareContainer.h: ditto
11984 * LyXAction.h: ditto
11987 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11989 * Merging changes from BRANCH_MVC back into HEAD.
11991 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11993 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11995 * BufferView_pimpl.C: change from intl.C
11999 * Makefile.am: move combox.*
12005 * intl.C: remove dialog (covered by prefs)
12007 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12009 * lyxfunc.C (Dispatch): removed redundant break statement.
12011 2001-03-14 Juergen Vigna <jug@sad.it>
12013 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12015 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12017 * buffer.C: add hack to fix compability reading of minipages.
12019 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12021 * buffer.C (getLists): Cleanup.
12023 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12025 * lyxfont.C (update): don't honor toggleall on font size.
12027 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12031 * Makefile.am: moved to frontends/xforms/
12035 * BufferView_pimpl.C: changes for moved mathpanel
12037 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12039 * gettext.h: fix gettext_init() in --disable-nls
12041 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12043 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12045 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12048 * lyx.h: strip external form
12050 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12052 * BufferView_pimpl.C: add comment, destroySplash()
12054 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12056 * BufferView_pimpl.C:
12060 * lyxfunc.C: use re-worked insetinclude
12062 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12064 * buffer.C: add using std::stringstream.
12066 * lyx_cb.C: readd using std::ios.
12068 * buffer.C: add using std::map.
12070 * BufferView_pimpl.C: add using std::vector.
12072 * ShareContainer.h: add std:: to swap.
12074 * buffer.h: add some typedefs
12075 * buffer.C (getLists): use them
12076 (getLists): renamed from getTocList.
12077 add a counter for the different float types and use it in the
12079 (getLists): use the same counter for the NEW_INSETS and the "non"
12082 * lyx_cb.h: remove unused items, includes, using etc.
12084 * ShareContainer.h: remove some commented code, add more comments
12085 and "documentation".
12087 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12089 * buffer.C (getTocList): make the list also when NEW_INSETS is
12092 * buffer.h: remove TocType
12094 * buffer.C (getTocList): change to return a map<string,
12095 vector<TocItem> >, implement for dynamic number of list.
12097 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12098 * text2.C (PasteSelection): adjust
12099 * CutAndPaste.C (pasteSelection): adjust
12101 * FloatList.C (FloatList): update from the new_insets branch.
12102 * Floating.[Ch]: ditto
12103 * LaTeXFeatures.C: ditto
12105 * lyxlex_pimpl.C: ditto
12107 * paragraph.C (Last): remove when NEW_INSETS is defined.
12109 * other file: changes because of the above.
12111 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12113 * lyxparagraph.h: rename next to next_, previous to previous_,
12114 make them private for NEW_INSETS. Rename Next() to next(),
12115 Previous() to previous().
12117 * other files: changes because of the above.
12119 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12122 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12125 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12127 * main.C (main): pass lyx_localedir to gettext_init().
12129 * gettext.h: remove locale_init and gettext_init macros
12131 * gettext.C (locale_init): new function
12132 (gettext_init): new function
12134 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12137 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12139 * Moved credits to frontends:
12140 * credits.[Ch]: removed
12141 * credits_form.[Ch]: removed
12142 * lyx_gui_misc.C: remove credits stuff
12145 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12147 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12149 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12150 unneeded destructor.
12152 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12153 a standalone pointer again.
12155 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12157 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12163 * ToolbarDefaults.C:
12172 * BufferView_pimpl.C: use new file dialog in GUII
12175 * lyx_cb.C: remove LayoutsCB to Toolbar
12177 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12179 * ShareContainer.h (get): add std:: qualifier
12181 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12183 * ShareContainer.h: define a proper ShareContainer::value_type
12184 type (and use typename to please compaq cxx)
12186 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12188 * lyxparagraph.h: move serveral local vars to
12189 ParameterStruct/ParagraphParameters., use ShareContainer in
12190 FontTable., make vars in FontTable private and add getter and
12193 * paragraph.C: changes because of the above.
12195 * lyxfont.h: remove copy constructor and copy assignment. (the
12196 default ones is ok), move number inside FontBits. move inlines to
12199 * lyxfont.C: add number to initializaton of statics, move several
12200 inlines here. constify several local vars. some whitespace
12201 cleanup. Dont hide outerscope variables.
12203 * Spacing.h: add two new constructors to match the set methods.
12205 * ShareContainer.h: new file, will perhaps be moved to support
12207 * ParameterStruct.h: new file
12209 * ParagraphParameters.h: new file
12211 * ParagraphParameters.C: new file
12213 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12214 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12216 * BufferView_pimpl.C: ParagraphParameter changes.
12217 * buffer.C: Likewise.
12218 * bufferview_funcs.C: Likewise.
12219 * text.C: Likewise.
12220 * text2.C: Likewise.
12222 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12224 * lyxfind.C (LyXReplace): do not redefine default argument in
12226 (IsStringInText): ditto
12227 (SearchForward): ditto
12228 (SearchBackward): ditto
12230 2001-03-06 Juergen Vigna <jug@sad.it>
12232 * lyxfind.C (IsStringInText): put parentes around expressions.
12234 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12236 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12238 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12240 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12242 * stl_string_fwd.h: add comment
12244 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12247 * tabular.C: remove unused DocBook methods
12253 killed DO_USE_DEFAULT_LANGUAGE
12255 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * lyx_gui.C: do not include language.h.
12259 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12260 arguments in function implementation.
12262 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12264 * BufferView_pimpl.C: add <ctime>
12266 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12268 * BufferView_pimpl.C: add using std::find_if
12270 2001-02-27 José Matos <jamatos@fep.up.pt>
12272 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12275 2001-02-11 José Matos <jamatos@fep.up.pt>
12277 * buffer.C (makeDocBookFile): command styles now have a parameter as
12278 "title" by default.
12280 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12282 * layout_forms.[Ch]: removed
12283 * lyx_cb.[Ch]: out character
12284 * lyx_gui.C: out character
12285 * lyx_gui_misc.C: out character
12286 * bufferview_funcs.C: : out character,
12287 added toggleall as parameter in ToggleAndShow
12289 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12291 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12293 * text2.C (SetCurrentFont): Disable number property at boundary.
12295 2001-02-26 Juergen Vigna <jug@sad.it>
12297 * lyxfunc.C (getStatus): added a string argument override function so
12298 that this is correctly called from LyXFunc::Dispatch if it contains a
12299 do_not_use_argument which is used!
12300 (Dispatch): added check for "custom" export and call appropriate func.
12302 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12304 * lyxrc.C: Add language_command_local, language_use_babel and
12305 language_global_options.
12307 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12309 * buffer.C (makeLaTeXFile): Use language_use_babel and
12310 language_global_options.
12312 2001-02-23 Juergen Vigna <jug@sad.it>
12314 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12315 which works with LyXText and putted it inside BufferView. Here now we
12316 only call for that part the BufferView::Dispatch() function.
12318 * BufferView.C (Dispatch): added.
12320 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12321 functions which needs to use a LyXText over from LyXFunc.
12322 (MenuInsertLyXFile): added
12323 (getInsetByCode): added
12324 (moveCursorUpdate): added
12325 (static TEXT): added
12327 2001-02-22 Juergen Vigna <jug@sad.it>
12329 * BufferView_pimpl.C (update): call a status update to see if LyXText
12332 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12334 * vc-backend.C (revert): implement for CVS
12335 (getLog): implement for CVS
12337 2001-02-20 Juergen Vigna <jug@sad.it>
12339 * text2.C (ClearSelection): added BufferView param for inset_owner call
12341 * lyxfunc.C (TEXT): added this function and use it instead of
12342 directly owner->view()-text of getLyXText().
12344 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12346 * src/layout_forms.C: out preamble
12347 * src/layout_forms.h: out preamble
12348 * src/lyx_cb.C: out preamble
12349 * src/lyx_cb.h: out preamble
12350 * src/lyx_gui.C: out preamble
12351 * src/lyx_gui_misc.C: out preamble
12352 * src/lyxfunc.C: connect with guii preamble
12354 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12356 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12358 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12360 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12361 whether to run bibtex.
12363 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12365 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12367 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12369 * Makefile.am (lyx_SOURCES): removed bibforms.h
12371 * vspace.h: doxygen
12373 * text.C (GetVisibleRow): make several local vars const
12375 * tabular.C: small cleanup.
12377 * lyxserver.C (callback): use compare instead of strncmp
12379 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12380 inlines to after class or to paragraph.C
12382 * lyxfont.h: remove friend operator!=
12384 * converter.h: move friend bool operator< to non friend and after
12387 * combox.h: small cleanup
12389 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12390 to inlines after class def.
12392 * buffer.C (pop_tag): use string operations instead of strcmp
12394 * bmtable.c: doxygen, small cleanup
12396 * LaTeX.h: remove friend operator==
12398 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12410 * BufferView_pimpl.C:
12411 * BufferView.[Ch]: remove cruft
12413 2001-02-14 Juergen Vigna <jug@sad.it>
12415 * lyxfunc.C: removed #if 0 unused code
12417 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12419 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12421 * text2.C (SetSelection): added a BufferView * parameter
12423 2001-02-13 Juergen Vigna <jug@sad.it>
12425 * lyxfunc.C (Dispatch): fixed protected blank problem.
12426 * BufferView2.C (protectedBlank): added LyxText * parameter.
12428 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12429 (AppendColumn): same as above for column_info.
12431 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12432 (moveCursorUpdate): use a LyXText param for support of InsetText.
12434 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12435 (tripleClick): ditto
12437 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12439 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12441 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12443 * text2.C (SetSelection): set correct update status if inset_owner
12444 (ToggleFree): ditto
12446 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12448 * tabular.C: remove some commented code.
12450 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12452 * BufferView_pimpl.C: call hideSplash()
12454 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12457 * bibforms.h: remove
12460 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12461 add LFUN_CHILD_CREATE
12463 * counters.h: fix tiny typo
12468 * lyx.C: move splash to frontends/xforms/
12470 * lyx_gui_misc.C: move Include and Bibform to frontends
12472 * lyxvc.h: clarify comment
12474 * vspace.C: tiny housekeeping
12476 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12478 * text.C (PrepareToPrint): RTL Fix.
12480 * paragraph.C (GetUChar): New method.
12481 (String): Use GetUChar.
12483 * buffer.C (asciiParagraph): Use GetUChar.
12485 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12487 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12489 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12492 * buffer.C: rename to getLogName(), handle
12493 build log / latex log nicely
12495 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12498 * MenuBackend.h: remove support for reference menuitem type.
12500 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12502 * BufferView_pimpl.C: housekeeping
12503 * BufferView_pimpl.h:
12508 * minibuffer.h: move Timeout GUI-I
12510 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12512 * lyxrc.C (read): Update converters data-structures.
12514 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12516 * LaTeX.h (operator!=): add operator != for Aux_Info
12518 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12520 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12522 * LaTeXLog.C: deleted, useful code moved to Buffer
12525 * buffer.C: new function getLatexLogName()
12531 * lyxfunc.C: use frontends for LaTeX and VC logs
12533 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * LaTeX.h: yet another std:: that Allan forgot.
12537 * Variables.C (set): renamed from isset(), because this clashes
12538 with some HP-UX macros (grr).
12540 2001-02-06 Allan Rae <rae@lyx.org>
12542 * LaTeX.h: Another bug fix. Missing std:: this time.
12544 2001-02-04 Allan Rae <rae@lyx.org>
12546 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12547 floats problem. I've left it commented out because it's not quite
12548 correct. It should also test that the current object is a table or
12549 figure inset. But I haven't gotten around to figuring out how to do
12550 that. I *think* it'll be something like: "table" == inset.type()
12552 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12555 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12557 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12558 all the citation/databases/styles in the auxilary file.
12559 (run): Rerun latex if there was a babel language error.
12561 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12563 * text.C (Backspace): Preserve the font when changing newline char
12565 (BreakParagraph): If the cursor is before a space, delete the space.
12567 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12569 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12571 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12572 new argument (code).
12573 (ChangeCitationsIfUnique): New method.
12575 * paragraph.C (GetPositionOfInset): Handle bibkey.
12577 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12579 * BufferView_pimpl.h: change type of Position::par_pos to
12580 LyXParagraph::size_type.
12582 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12584 * BufferView_pimpl.C (savePosition, restorePosition): Write
12585 messages to minibuffer.
12587 2001-01-28 José Matos <jamatos@fep.up.pt>
12589 * buffer.C (makeDocBookFile): adds support for document language.
12590 A silly restriction on the name of LatexCommand types where removed.
12591 Added support for CDATA sections, allows to chars unescaped, used
12592 among others in code, to avoid escape < and >.
12594 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12596 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12597 saved positions instrad of a stack. Furthermore, a position is
12598 stored using paragraph id/paragraph position.
12600 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12601 Remove LFUN_REF_BACK.
12603 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12605 * converter.C (dvipdfm_options): New method.
12607 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12609 * vspace.C (isValidLength): Fix for empty input string.
12611 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12613 * LyXAction.C (init): change description of LFUN_FIGURE to
12616 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12618 * LaTeX.C: add using directive
12620 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12622 * MenuBackend.C (expand): Fix the sorting of the formats.
12624 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12626 * lyx_main.C: tiny error message fix
12628 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12630 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12631 calling fl_initialize(). This fixes the problem with ',' as
12632 decimal separator in text files.
12634 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12636 * trans.C (process): Fix the keymap bug.
12638 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12640 * LaTeX.C (scanAuxFiles): New method. Provides support for
12641 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12642 (scanLogFile) Scan for "run BibTeX" messages.
12644 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12645 OT1 font encoding. Also, load the aecompl package if the ae
12648 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12650 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12652 * texrow.C (increasePos): turn two error messages into debug
12655 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12657 * LaTeX.C (scanAux): Handle the \@input macro.
12658 (runBibTeX): Use scanAux().
12660 * language.C (latex_options_): New field.
12662 * LaTeXFeatures.C (getMacros): Add language macros.
12664 * buffer.C (makeLaTeXFile): Small fix.
12666 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12668 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12670 * text2.C: add a using directive.
12672 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12677 * lyxfunc.C: kill LyXBell.
12679 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12681 * text.C (IsBoundary): Remove the error message
12683 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12685 * lyxrc.C (setDefaults): Correct initialization value for
12688 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12690 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12693 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12694 and GotoNextNote().
12696 * src/LyXAction.C: Added reference-next.
12698 * text.C (InsertChar): Use contains instead of strchr.
12700 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12702 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12704 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12705 alignment commands (when needed).
12707 * text.C (InsertChar): Add ':' to number separator chars.