2 2003-09-12 André Pönitz <poenitz@gmx.net>
13 * Counters.[Ch]: finish the 'automatic counters' job
15 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
17 * aspell.C: include <boost/assert.cpp> (compile fix)
19 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
21 * boost.C (assertion_failed): use lyx::support::abort instead of
24 2003-09-10 Angus Leeming <leeming@lyx.org>
26 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
29 2003-09-09 Angus Leeming <leeming@lyx.org>
31 134 files throughtout the source tree: replace 'using namespace abc;'
32 directives with the appropriate 'using abc::xyz;' declarations.
34 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
36 * boost.C (emergencyCleanup): moved here from LAssert.c
37 (assertion_failed): new function, called by BOOST_ASSERT
39 * several files: change Assert to BOOST_ASSERT
41 2003-09-09 Angus Leeming <leeming@lyx.org>
43 * buffer.[Ch]: Add an Impl class and move Buffer's member
44 variables into it. As a result move several header files out of
47 Add header files to lots of .C files all over the tree as a result.
49 2003-09-09 Angus Leeming <leeming@lyx.org>
51 * buffer.[Ch]: make Buffer's member variables private. Add
54 Lots of changes all over the tree as a result.
56 2003-09-08 Angus Leeming <leeming@lyx.org>
58 * graph.C: #include <config.h>.
60 2003-09-08 Angus Leeming <leeming@lyx.org>
93 * toc.C: remove redundant using directives.
95 2003-09-07 Angus Leeming <leeming@lyx.org>
97 * LaTeXFeatures.h: remove #include "support/types.h".
98 * ToolbarBackend.h: remove #include <algorithm>.
99 * changes.h: remove #include <ctime>.
100 * debug.h: remove #include <iosfwd>.
101 * graph.h: remove #include "support/std_string.h".
102 * lyx_main.h: remove #include <csignal>.
103 * lyxlex_pimpl.h: remove #include <fstream>.
104 * sgml.h: remove #include <algorithm>, <utility>.
105 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
107 2003-09-07 Angus Leeming <leeming@lyx.org>
109 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
111 * converter.h: forward declare LatexRunParams.
112 * encoding.h: remove #include "lyxrc.h".
113 * lyxtext.h: remove #include "LColor.h".
114 * lyxtextclass.h: remove #include "support/types.h".
115 * trans.h: remove #include "tex-accent.h".
116 * trans_mgr.h: remove #include "tex-accent.h".
117 * insets/inset.h: remove #include "support/types.h", <vector>.
118 * insets/insetcollapsable.h: remove #include "LColor.h".
119 * insets/insetinclude.h: remove #include "dimension.h".
120 * insets/insetlatexaccent.h: remove #include "dimension.h".
121 * insets/insetoptarg.h:: remove #include "insettext.h".
122 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
124 * insets/renderers.h: add #include "dimension.h".
125 * insets/updatableinset.h: add #include "support/types.h".
127 * many .C files: Associated changes.
129 2003-09-06 Angus Leeming <leeming@lyx.org>
131 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
132 inside testInvariant.
134 * PrinterParams.C: new file.
135 * PrinterParams.[Ch]: move the function bodies out of line.
137 2003-09-06 Angus Leeming <leeming@lyx.org>
139 * ParagraphParameters.h: forward declare ParameterStruct rather than
140 including its header file.
141 (depth): moved out-of-line.
143 2003-09-06 Angus Leeming <leeming@lyx.org>
145 * BufferView_pimpl.h:
148 * lyxfunc.h: forward declare LyXKeySym rather than
149 #include "frontends/LyXKeySym.h".
151 * BufferView_pimpl.C:
154 * lyxfunc.C: associated changes.
156 2003-09-06 Angus Leeming <leeming@lyx.org>
158 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
159 As a result, can remove the #include "insets/inset.h" from BufferView.h
161 2003-09-06 Angus Leeming <leeming@lyx.org>
163 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
164 As a result, can remove the #include "insets/inset.h" from BufferView.h
166 2003-09-06 Angus Leeming <leeming@lyx.org>
172 * bufferview_funcs.C:
173 * BufferView_pimpl.C:
178 * ParagraphParameters.C:
183 * frontends/controllers/ControlDocument.C:
184 * insets/insetcaption.C: rearrange the #includes into some sort of
187 * buffer.h: remove #includes ErrorList.h, undo.h
189 2003-09-06 Angus Leeming <leeming@lyx.org>
191 * support/types.h: add a 'depth_type' typedef, used to store the
192 nesting depth of a paragraph.
195 * ParameterStruct.h: use this lyx::depth_type typedef rather than
200 * ParagraphParameters.h:
201 * sgml.h: use lyx::depth_type rather than Paragraph or
202 ParameterStruct's depth_type.
205 * paragraph_funcs.h: no need to #include paragraph.h anymore.
208 * BufferView_pimpl.C:
210 * ParagraphParameters.C:
213 * bufferview_funcs.C:
220 * frontends/LyXView.C:
221 * frontends/controllers/ControlDocument.C:
222 * frontends/controllers/ControlErrorList.C:
223 * insets/insetbibitem.C:
224 * insets/insetbranch.C:
225 * insets/insetcaption.C:
226 * insets/insetcollapsable.C:
229 * insets/insetfloat.C:
230 * insets/insetfoot.C:
231 * insets/insetfootlike.C:
232 * insets/insetnewline.C:
233 * insets/insetquotes.C:
234 * insets/insettabular.C:
235 * insets/insettext.C:
236 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
238 * frontends/controllers/ControlChanges.C: #include "changes.h".
240 2003-09-06 Angus Leeming <leeming@lyx.org>
242 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
243 #including paragraph.h.
246 * RowList.h: deleted. Superfluous.
256 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
258 * paragraph.h: don't forward declare ParagraphList.
261 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
262 rather than ParagraphList.h. paragraph.h is still needed for the
263 Paragraph::depth_type parameters.
265 * textcursor.h: enable it to compile stand-alone in light of the
268 * bufferview_funcs.C:
280 * frontends/controllers/ControlParagraph.C:
281 * frontends/controllers/ControlTabular.C:
282 * insets/insetmarginal.C:
283 * insets/insetminipage.C:
284 * insets/insetnote.C:
285 * insets/insetoptarg.C: add header files needed to compile again.
287 2003-09-06 Angus Leeming <leeming@lyx.org>
289 * RowList_fwd.h: new file, forward-declaring Row rather than
295 * insets/insettext.h: use it instead of RowList.h
297 * bufferview_funcs.C:
304 * text3.C: #include "RowList.h".
306 2003-09-05 Angus Leeming <leeming@lyx.org>
308 * factory.C (createInset):
309 * vspace.C (c-tor): replace sscanf call with an istringstream.
310 * ispell.C: re-add missing HP/UX headers.
311 * lyxserver.C: re-add missing os2 headers.
313 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
322 * text3.C: re-add missing system headers, needed for 2.95.2.
324 2003-09-05 Angus Leeming <leeming@lyx.org>
326 Changes most place everywhere due to the removal of using directives
327 from support/std_sstream.h.
329 2003-09-05 Angus Leeming <leeming@lyx.org>
331 Replace LString.h with support/std_string.h,
332 Lsstream.h with support/std_sstream.h,
333 support/LIstream.h with support/std_istream.h,
334 support/LOstream.h with support/std_ostream.h.
336 Changes resulting throughout the tree.
338 2003-09-05 Angus Leeming <leeming@lyx.org>
340 * sgml.h: ensure that the header file can be compiled stand-alone.
341 * *.C: strip out redundant #includes. (320 in total.)
343 2003-09-04 Angus Leeming <leeming@lyx.org>
345 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
346 here (from getPackages).
348 * debug.[Ch]: add a new EXTERNAL tag.
350 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
352 * text2.C (cursorEnd): simplify
354 (getColumnNearX): adjust
356 * text.C (computeBidiTables): adjust
359 * rowpainter.C (paintChars): adjust
360 (paintSelection): adjust
361 (paintChangeBar): adjust
364 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
366 (numberOfSeparators): adjust
368 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
374 * text3.C: Restricts the mouse click functionality
375 of insets like bibtex, include, toc and floatlist to the visible
376 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
377 up the dialogs. Cursor has to be in front of the inset (i.e.
378 start of row) for this to function.
380 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
382 * bufferview_funcs.C (currentState): output row information
384 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
386 * bufferview_funcs.C (currentState): output paragraph position
388 2003-09-04 Angus Leeming <leeming@lyx.org>
390 * FloatList.h: move out #include "Floating.h".
391 * LaTeX.h: move out #include "DepTable.h".
392 * LyXAction.h: move out #include "funcrequest.h".
393 * buffer.h: move out #include "author.h", "iterators.h".
394 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
395 * lyx_main.h: move out #include "errorlist.h".
396 * lyxfunc.h: move out #include "FuncStatus.h".
397 * lyxtext: move out #include "lyxcursor.h".
398 * paragraph_pimpl.h: move out #include "counters.h".
400 2003-09-03 Angus Leeming <leeming@lyx.org>
402 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
403 preamble_snippets list, enabling us to add snippets to the preamble only
404 if the snippet was not there already.
406 2003-09-04 Angus Leeming <leeming@lyx.org>
408 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
410 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
412 * lyxfunc.C (dispatch): if fitCursor did something be sure to
415 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
417 * BranchList.C: point fix, earlier forgotten
419 2003-09-02 Angus Leeming <leeming@lyx.org>
421 * box.C (contains): renamed from 'contained' after a fantastic
424 2003-09-02 John Levon <levon@movementarian.org>
430 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
432 2003-09-02 John Levon <levon@movementarian.org>
434 * text2.C: simplification of cursorEnd(), including partial
437 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
439 * buffer.C (readFile): add a space
441 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
443 * BufferView_pimpl.C (update): remove bogus fitCursor() call
445 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * buffer.C (readFile): new function, take a filename and a
448 ParagraphList::iterator
450 (readFile): adjust, make it private. don't use setStream, make
451 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
452 always contain the filename.
454 * BufferView.C (insertLyXFile): simplify and make it work for
457 2003-08-30 John Levon <levon@movementarian.org>
459 * Makefile.am: fix dist (from Kayvan)
461 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
463 * most files: change to use const Buffer refs
465 2003-08-27 André Pönitz <poenitz@gmx.net>
467 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
468 on top of ownerPar().
470 2003-08-27 John Levon <levon@movementarian.org>
472 * funcrequest.C: properly initialise POD members
474 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
476 * lyxtext.h (top_y): move top_y from here
481 * BufferView_pimpl.[Ch]: to here
482 * frontends/screen.C:
483 * insets/insettabular.C:
484 * insets/insettext.C: adjust
485 * rowpainter.[Ch] (paintRows): remove LyXText & argument
487 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
490 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
492 2003-08-26 André Pönitz <poenitz@gmx.net>
494 * paragraph_func.[Ch] (outerPar): new function
500 * text2.C: remove Inset::par_owner
502 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
507 * text2.C: eliminates the needFullRow/display() stuff
508 altogether, putting the logic in metrics/draw in the insets.
510 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
512 * text2.C (redoParagraphInternal, redoParagraphs):
513 * text.C (redoParagraph): add a call to updateRowPositions at the
514 end of each 'metrics-like' call. Remove all others.
515 (getRow): remove the 'y-computing' version.
516 (getRowNearY): do not compute nor return the real y. Solve the
517 'y < 0' problem and simplify.
519 2003-08-22 Angus Leeming <leeming@lyx.org>
521 * *.[Ch]: clean-up of licence and author blurbs.
522 Also move config.h out of a few .h files and into a few .C files.
524 2003-08-22 André Pönitz <poenitz@gmx.net>
526 * lyxrow.[Ch]: add x_ and *fill_ members
531 * text2.C: adjust/remove prepareToPrint() calls
533 2003-08-22 André Pönitz <poenitz@gmx.net>
535 * lyxrow.[Ch]: add end_ member
537 * lyxrow_funcs.C: use LyXRow::end_
539 * lyxtext.h (singleWidth): add LyXFont parameter
542 * text2.C: adjust LyXText::singleWidth() calls
544 * text.C (redoParagraph): simplify row breaking logic
547 2003-08-19 André Pönitz <poenitz@gmx.net>
549 * funcrequest.C: initialize button_ member
552 * rowpainter.[Ch]: interface consolidation
554 2003-08-18 André Pönitz <poenitz@gmx.net>
557 * BufferView_pimpl.C:
561 * text3.C: remove LyXScreen::draw() and fitCursor calls
563 * BranchList.h: remove spurious semicolons
565 * MenuBackend.C: fix branchlist related crash
567 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
579 * text3.C: implements the 'branch inset'
580 idea. This allows the output of various versions of a document
581 from a single source version, selectively outputing or suppressing
582 output of parts of the text.
583 This implementation contains a 'branch list editor' in a separate
584 tab of the document settings dialog. Branches are user definable
585 and have a "display colour" to distinguish them on-screen.
587 ColorHandler was somewhat cleaned up.
588 (1) make possible a dynamically growing LColor list by allowing
589 the graphic context cache to grow along (vector);
590 (2) eliminate an IMHO unnecessary step in colour allocation.
592 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
594 * BufferView_pimpl.C: compile fix
596 2003-08-15 André Pönitz <poenitz@gmx.net>
598 * rowpainter.C: remove extra metrics calls
600 * lyxtext.h: merge the two constructors into a single one,
601 pass reference to owner's par list
603 * BufferView_pimpl.C:
607 2003-08-15 André Pönitz <poenitz@gmx.net>
617 * text_funcs.C: split LyXText::rowlist_ into individual
618 Paragraph::rows_ chunks
621 * BufferView_pimpl.[Ch]:
624 * text3.C: remove toggleSelection()
626 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
628 * bufferlist.C: beautify two alerts (shorter text of buttons)
629 * buffer.C: Remove redundant ' ' from message
631 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
632 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
633 rename VALIGN_CENTER to VALIGN_MIDDLE
635 2003-08-11 André Pönitz <poenitz@gmx.net>
637 * lyxtext.h (getPar):
638 * text.C: new function
640 2003-08-11 André Pönitz <poenitz@gmx.net>
643 * tracer.[Ch]: remove unneeded files
645 * InsetList.[Ch]: remove resizeInsetsLyXText()
650 * text3.C: merge insertParagraphs() and appendParagraph()
651 remove breakAgain(), update()
653 * BufferView_pimpl.[Ch]:
654 * bufferview_funcs.[Ch]:
658 * tabular.C: adjust after text & InsetList changes.
660 2003-08-08 André Pönitz <poenitz@gmx.net>
662 * text.C (insertChar, backspace): replace rowlist fiddling
663 with rebreak of full par
666 * text.C (breakAgainOneRow, redoHeightOfParagraph,
667 checkParagraph, updateInset): removed
669 2003-08-07 André Pönitz <poenitz@gmx.net>
672 * text3.C: merge some LFUN handlers, remove dead code
674 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
678 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
680 * text2.C (DEPM): fix part of bug 1255 and 1256
682 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * BufferView_pimpl.C (workAreaDispatch): change to use
685 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
686 that are no mouse related.
688 2003-08-05 André Pönitz <poenitz@gmx.net>
691 * BufferView_pimpl.[Ch]:
692 * bufferview_funcs.C:
694 * text3.C: rip out "deep update"
696 * textcursor.[Ch] (last_sel_cursor): remove unused member
698 2003-08-04 André Pönitz <poenitz@gmx.net>
701 * BufferView_pimpl.[Ch]:
702 * ParagraphParameters.C:
703 * bufferview_funcs.C:
709 * text3.C: replace "complicated" BufferView::update(...) calls with
712 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
714 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
716 * Makefile.am (lyx_SOURCES): add paper.h
718 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
720 * Makefile.am: move things around so that both lyx-qt and
721 lyx-xforms can be built (according to --with-frontend). Then lyx
722 is a symbolic link to lyx-[firstfrontend]
724 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
726 * Always use std::endl with lyxerr
728 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
730 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
732 2003-08-01 André Pönitz <poenitz@gmx.net>
735 * BufferView_pimpl.[Ch]:
737 * text3.C: merge BufferView::repaint() and BufferView::update()
739 2003-08-01 José Matos <jamatos@lyx.org>
741 * buffer.[Ch]: file_format is no longer a buffer data element.
743 2003-08-01 André Pönitz <poenitz@gmx.net>
748 * text2.C: make redoParagraph more independent of current cursor
750 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
752 * text2.C: remove unneeded members
754 2003-07-30 André Pönitz <poenitz@gmx.net>
756 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
758 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
759 create a single function...
761 * paragraph_funcs.C (moveItem): ... here.
764 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
766 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
768 * LColor.[Ch]: Add comment and greyedout logical colors.
770 2003-07-30 André Pönitz <poenitz@gmx.net>
772 * tabular.C: don't use Assert too heavily. This crashes where it
775 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
777 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
778 is disabled (bug 1232)
780 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
782 * factory.C: limited 'arg' scope
784 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
786 * factory.C: fixed Note submenu issues
788 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
790 * factory.C: submenu for Note/Comment/Greyedout
792 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
795 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
797 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
800 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
801 greyedout. Patch provided by Jürgen Spitzmüller.
803 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
805 * kbmap.C (read): fix error message when reading bind files
807 2003-07-29 Angus Leeming <leeming@lyx.org>
809 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
810 certainly does not do what it purports to do. I am doing it, and
811 us, a favour by killing it.
813 2003-07-28 José Matos <jamatos@lyx.org>
815 * buffer.C (readBody, do_writeFile):
816 * paragraph.C(readParagraph): \end_document replaces \the_end.
818 2003-07-29 André Pönitz <poenitz@gmx.net>
821 * BufferView_pimpl.[Ch]:
825 * textcursor.[Ch]: remove toggleToggle & Co
827 2003-07-28 José Matos <jamatos@fep.up.pt>
829 * buffer.C (readParagraph):
830 * params_func (readParToken, readParagraph):
831 * paragraph.C (write): \layout -> \begin_layout.
833 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
835 * lyxlex_pimpl.C (setFile): clean up slightly.
837 * bufferparams.h: add compressed var
839 * buffer_funcs.C (readFile): adjust for LyXLex change
840 (newFile): ditto + simplify
842 * buffer.C (writeFile): handle writing of compressed files
844 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
845 Check if the file is compressed and set a bufferparm if so.
847 * Makefile.am (lyx_LDADD): remove explicit -lz
849 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
851 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
852 makeDocBookFile): put the real LyX version in the first line of
856 * version.C.in: remove lyx_docversion
858 * tabular.C (write_attribute): add a template-based version to
861 2003-07-28 André Pönitz <poenitz@gmx.net>
866 * text3.C: use doubles again for x-coordinates. They are needed.
868 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
870 * messages.C (getLocaleDir): use lyx_localedir()
872 * lyxlex_pimpl.C (setFile): compress stuff
874 * buffer.C (writeFile): add some compression stuff
875 (do_writeFile): new func, dont call expliti close... will this
878 * Makefile.am (lyx_LDADD): add -lz
880 2003-07-28 José Matos <jamatos@fep.up.pt>
882 * buffer.C: increment file format.
883 * paragraph_funcs (readParagraph, readParToken):
884 * paragraph.C (readParagraph): add \end_layout.
886 2003-07-27 Angus Leeming <leeming@lyx.org>
888 * Makefile.am: remove special casing for configure-time setting of
889 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
891 * lyx_main.C (init): remove all Jean-Marc's magic setting of
892 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
894 2003-07-26 André Pönitz <poenitz@gmx.net>
896 * paragraph_func.[Ch]:
897 * paragraph.C (realizeFont): inline it whereever it is used
902 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
905 2003-07-26 André Pönitz <poenitz@gmx.net>
909 * text2.C: get rid of LyXText::need_break_row
911 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
913 * toc.[Ch]: put namespace toc inside namespace lyx
915 * MenuBackend.C (expandToc2): adjust for lyx::toc
918 * lyxfunc.C (dispatch): adjust for lyx::find
920 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
921 lyx::find instead. Reorganize a bit.
922 (LyXReplace): rename to replace
923 (LyXFind): rename to find
925 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
928 2003-07-26 André Pönitz <poenitz@gmx.net>
930 * text.C (setHeightOfRow): restrict scope of temporary variable
932 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
933 code (never has been used?)
935 2003-07-27 Asger Alstrup <alstrup@local>
937 * text.C (fill): Optimise algorithm to exploit that we can reuse
938 the LyXFont for many characters.
939 (setHeightOfRow): Same thing.
940 (rowBreakPoint): Same thing.
942 2003-07-26 Asger Alstrup <alstrup@local>
944 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
946 * text.C (singleWidth): Spurious font copying in hot-spot
947 singleWidth avoided. Reorder tests for arabic for efficiency.
949 * text.C (fill): handle empty paragraphs better.
951 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
954 * encoding.h: add includes
956 * lyxrc.C: remove reading of bind files
958 * lyx_main.C (init): setup bindings and menus only if we have a
961 * kbmap.C (read): new method. Do the actual reading of bind
964 * converter.C (dvipdfm_options):
967 (output): adapt PAPER_* enums.
969 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
971 * bufferparams.h: remove paper-related enums from there
973 * paper.h: New file. A trivial header file to hold paper-related
974 enums. It should later expand to contain many paper-related
977 * lyxrc.C: declare extern displayTranslator
979 2003-07-27 José Matos <jamatos@fep.up.pt>
981 * tabular.[Ch] (linuxdoc): add support for tables and figures
984 2003-07-27 José Matos <jamatos@fep.up.pt>
986 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
987 consistency in both functions.
988 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
990 2003-07-26 Asger Alstrup <alstrup@local>
992 * rowpainter.C (paintRows): Change algorithm to work directly on
993 the insets rather than asking every character in the document
994 whether its an inset.
996 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
998 * buffer.C (openFileWrite): factorize some code
1000 2003-07-26 Angus Leeming <leeming@lyx.org>
1003 * lyx_main.[Ch]: replace occurances of system_tempdir with
1006 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1008 * rename Inset to InsetOld
1010 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1012 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1013 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1014 which I think is a bit clearer. EDIT is gone, since it was
1015 premature optimisation, and broken for mathed anyway.
1016 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1017 with cursor positioning in insets as well (math insets still do not
1018 work, but that's a different story anyway.) It mysteriously
1019 crashes sometimes with undo in the first paragraph, but I'm fairly
1020 confident that this is a compiler bug.
1022 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1024 * paragraph.C (Paragraph): adjust for new clone return type
1026 (copyIntoMinibuffer): ditto
1028 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1030 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1031 by not having a special case, and always doing a full rebreak of
1032 the document after undo.
1034 2003-07-23 Angus Leeming <leeming@lyx.org>
1036 * factory.C (createInset): InsetExternal::setParams now takes a
1039 2003-07-23 Angus Leeming <leeming@lyx.org>
1041 * factory.C (createInset): changed interface to the external and
1042 graphics mailers' string2params functions.
1044 2003-07-23 Angus Leeming <leeming@lyx.org>
1046 * factory.C (createInset): pass a
1047 Buffer const * parameter to InsetExternalMailer's string2params.
1049 2003-07-22 John Levon <levon@movementarian.org>
1051 * Thesaurus.h: include the right aiksaurus header
1053 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * MenuBackend.C (expand): check menu shortcuts unconditionally
1057 2003-07-21 Angus Leeming <leeming@lyx.org>
1059 * factory.C (createInset): pass a
1060 buffer_path parameter to InsetGraphicsMailer's string2params.
1062 2003-07-21 Angus Leeming <leeming@lyx.org>
1064 * BufferView_pimpl.C (buffer):
1067 * lyxfunc.C (dispatch):
1068 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1069 rather than the grfx shortcut.
1071 2003-07-21 André Pönitz <poenitz@gmx.net>
1073 * rowpainter.C: remove unused variables
1076 * tabular_funcs.h: move to tabular.C
1077 * Makefile.am: adjust
1079 * tabular.[Ch]: basic optical cleaning
1081 * author.h: pass references, not values
1083 2003-07-18 André Pönitz <poenitz@gmx.net>
1091 * text3.C: two-phase drawing for InsetText and InsetTabular
1092 some float -> int changes.
1094 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1096 * lyx_main.C: fix the fix
1098 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1100 * lyx_main.C: fix a crash in batch mode if no files specified
1103 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1105 * format.[Ch] (papersize): moved to BufferParams
1106 * converter.[Ch] (dvips_options): moved to BufferParams
1107 (dvipdfm_options): moved to anon namespace
1108 * bufferparams.[Ch]: added above functions.
1110 2003-07-17 André Pönitz <poenitz@gmx.net>
1114 * text2.C: don't call inset->update() anymore
1116 * metricsinfo.[Ch]: add convenience constructor
1118 2003-07-16 André Pönitz <poenitz@gmx.net>
1123 * text2.C: replace the LyXCursor::irow_ member with
1124 on-demand computation of the value
1126 2003-07-16 John Levon <levon@movementarian.org>
1128 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1130 2003-07-15 André Pönitz <poenitz@gmx.net>
1133 * text2.C: remove no more needed refresh_row
1135 2003-07-15 André Pönitz <poenitz@gmx.net>
1140 * text3.C: refresh_status tristate -> need_update bool
1142 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1144 * lyxtext.h (init): remove reinit argument (act as if always true)
1145 * text2.C: adjust to that
1147 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1149 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1150 * text3.C: use it to delete selections in some cases
1151 (bugs 441, 673, 702, 954).
1153 2003-07-14 André Pönitz <poenitz@gmx.net>
1155 * rowpainter.[Ch]: reduce interface
1157 2003-07-14 André Pönitz <poenitz@gmx.net>
1159 * BufferView_pimpl.C:
1160 * text2.C: adjust after removing unused BufferView * argument
1162 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1164 * text2.C (init): fix a crash fired on resize
1166 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1168 * buffer.[Ch]: added new closing signal
1169 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1170 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1171 BufferView::Pimpl via the closing the signal
1173 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1175 * buffer.[Ch]: take out all bv-related from buffer
1177 * BufferView_pimpl.[Ch]: connect to new signals
1178 * CutAndPaste.C: removed useless asserts
1179 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1182 * lyxfunc.C: moved view-related funciontality from vc here
1183 * paragraph.C: removed outdated comments
1186 2003-07-10 André Pönitz <poenitz@gmx.net>
1188 * BufferView_pimpl.C:
1192 * text2.C: remove InsetText::InnerCache, clean up consequences
1194 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1196 * ispell.C: fix two typos in error messages
1198 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1200 * Extend Note inset to other forms of annotation like Comment
1201 and Greyedout. Right button click gives dialog.
1203 Files modified or added (+):
1207 * ControlNote.[Ch] +
1209 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1210 frontends/controllers
1214 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1216 * aspell.C: add missing namespace lyx::support
1218 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1220 * BufferView.[Ch] (newFile): Add
1221 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1222 * LaTeX.[Ch] (message): added this signal and use it
1223 * buffer.[Ch] (busy, message): added these signals and use them
1224 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1228 * importer.C: use buffer signals instead of direct bv calling
1229 * lyx_cb.[Ch] (ShowMessage): removed
1232 * paragraph_funcs.C:
1233 * text2.C: use buffer signals
1235 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1237 * introduce namespace lyx::graphics
1239 2003-07-02 André Pönitz <poenitz@gmx.net>
1241 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1243 2003-07-01 André Pönitz <poenitz@gmx.net>
1250 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1251 text*.C to text_func.C
1253 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1255 * introduce namespace lyx::support
1257 2003-06-30 André Pönitz <poenitz@gmx.net>
1262 * text.C: re-enable --with-included-string
1264 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1266 * textcursor.C: add <config.h>
1268 * text.C (getWord): remove const from word_location arg
1270 * lyxvc.C (getLogFile): fix const type order
1272 * lyxtext.h: remove const from word_location arg, add arg name
1274 * lyxlayout.h: currect type on labeltype.
1276 * importer.C: correct \file
1278 * converter.C (intToFormat): use std:: on ret val, ws changes
1280 * bufferlist.h: correct \file
1282 * buffer.C (makeLinuxDocFile): fix const type order
1283 (makeDocBookFile): ditto
1284 (fillWithBibKeys): use std:: on stdlib args.
1286 * CutAndPaste.C: fix authors.
1287 (availableSelections): use std:: on return vector
1289 2003-06-27 André Pönitz <poenitz@gmx.net>
1291 * BufferView_pimpl.C:
1292 * bufferview_funcs.C:
1300 * text3.C: remove LyXCursor::row_ member
1303 * text.C: rename fullRebreak() to partialRebreak() and implement
1304 a fullRebreak() that really bereks fully
1306 * textcursor.h: new struct for cursor-related data
1308 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1310 * lyx_main.C (LyX): get full path of document loaded on the
1313 2003-06-26 André Pönitz <poenitz@gmx.net>
1315 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1316 remove unused/broken operator>,<,>=.
1318 * text.C: remove only use of broken operator<= in an Assert().
1320 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1322 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1323 moved errorlist_.clear to showErrorList
1325 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1327 * converter.C (scanLog, runLaTeX):
1328 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1329 move the bv->showErrorList call to the callers
1330 * lyxfunc.C: i.e. here...
1332 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1333 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1334 namespace, the second to...
1335 * buffer_funcs (BufferFormat, parseErrors): added
1336 * errorlist.C (ErrorList(TeXErrors const &)): removed
1338 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1340 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1342 2003-06-24 "Garst R. Reese" <reese@isn.net>
1346 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1350 * version.C.in: change docversion to 1.4
1352 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1354 * buffer.C: fix a bug just introduced
1356 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1358 * buffer.[Ch]: added the parseError signal and use it, removed
1360 * BufferView.[Ch] (addError): moved to ...
1361 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1362 to the Buffer::parseError signal to catch (guess what) parse errors
1363 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1365 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1367 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1368 ability to create a buffer and to return an existing one from
1369 the list. Moved these functions to...
1370 * buffer_funcs.[Ch]: added
1371 * BufferView.[Ch] (loadLyXFile): added
1372 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1373 job removed from bufferlist::loadLyXFile.
1374 * buffer.C (setReadOnly): make it work without view
1375 (i.e added an if (users))
1377 2003-06-19 Angus Leeming <leeming@lyx.org>
1380 * LyXAction.C (init):
1381 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1382 with LFUN_DIALOG_SHOW <name> <data>.
1384 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1386 * CutAndPaste.C (availableSelections): small compilation fix for
1387 ancient (gcc 2.9x) compilers
1389 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * text3.C (cursorNext): add tmp var
1393 * text2.C (updateCounters): for function calling out of for clause
1394 (replaceSelectionWithString): ditto
1395 (insertStringAsParagraphs): ditto
1396 (getColumnNearX): add tmp var
1397 (setCursorFromCoordinates): add tmp var
1398 (cursorDownParagraph): add tmp var
1399 (deleteEmptyParagraphMechanism): add tmp var
1401 * text.C (insertChar): add tmp var
1403 * rowpainter.C (paintDepthBar): add tmp var
1405 * CutAndPaste.C (availableSelections): potentially check all
1406 paragraphs in a cut to fill the shown strings.
1408 2003-06-18 André Pönitz <poenitz@gmx.net>
1410 * kbmap.[Ch]: use vector<> instead of list<>
1412 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1414 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1415 pasteSelection with index
1417 * text2.C (pasteSelection): modify, call pasteSelection with index
1419 * paragraph.C (asString): reimplement version with no interval to
1420 call the one with interval.
1422 * lyxtext.h: add index arg to pasteSelection
1424 * MenuBackend.C (MenuItem): handle PasteRecent
1425 (Menu::read::Menutags): add md_pasterecent
1427 (expandPasteRecent): new function
1430 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1432 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1434 (availableSelections): new function
1436 2003-06-17 Angus Leeming <leeming@lyx.org>
1438 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1440 2003-06-17 Angus Leeming <leeming@lyx.org>
1443 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1445 * lyxfunc.C (dispatch): invoke it.
1447 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * iterators.C (operator++, ParPosition): reintroduce some
1450 const_cast for the benefit of older compilers.
1452 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1454 * text3.C (dispatch): do not modify clipboard when doing
1455 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1456 LFUN_DELETE_SKIP on a selection selection
1458 2003-06-16 André Pönitz <poenitz@gmx.net>
1464 * tabular.[Ch]: IU of clone() and getLabelList();
1466 2003-06-13 André Pönitz <poenitz@gmx.net>
1468 * tabular.h: compactification
1470 2003-06-12 André Pönitz <poenitz@gmx.net>
1474 * tabular_funcs.h: some renaming plus whitespace
1476 2003-06-12 André Pönitz <poenitz@gmx.net>
1479 * BufferView_pimpl.C:
1485 * toc.C: Return a Paragraph & for ParIterator::operator*()
1487 2003-06-11 John Levon <levon@movementarian.org>
1491 * ToolbarBackend.C: add "Toolbars" section and
1494 2003-06-10 Angus Leeming <leeming@lyx.org>
1497 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1499 * lyxfunc.C (dispatch): invoke it.
1501 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1503 * main.C: protect <ios> with HAVE_IOS
1504 (main): protect sync_with_stdio with HAVE_IOS
1506 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1508 * text2.C (cutSelection): adjust
1509 (pasteSelection): adjust
1511 * messages.C: handle get of empty string
1513 * main.C (main): use sync_with_stdio(false)
1515 * lyxfunc.C (dispatch): adjust
1517 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1518 (WriteAs): remove unneeded BufferView arg.
1520 * bufferparams.h: use correct types on papersize, papersize2 and
1523 * bufferparams.C (readToken): adjust for type
1524 (writeLaTeX): add missing cases to switch.
1526 * bufferlist.C (quitWriteBuffer): adjust
1529 * buffer.C (asciiParagraph): remove some commented code.
1531 * CutAndPaste.C: remove current_view extern variable.
1532 (cutSelection): add BufferParams arg.
1533 (eraseSelection): add BufferParams arg.
1534 (pasteSelection): add Buffer const & arg
1536 2003-06-07 John Levon <levon@movementarian.org>
1539 * paragraph_funcs.C:
1540 * paragraph_pimpl.C:
1544 * paragraph.C: allow InsetERT to freely space lines,
1545 and some consolidation of code
1547 2003-06-06 José Matos <jamatos@fep.up.pt>
1549 * buffer.C (makeDocBookFile): fix bug #821
1551 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1553 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1555 2003-06-04 Angus Leeming <leeming@lyx.org>
1557 * buffer.C: bump format to 224.
1559 2003-06-05 André Pönitz <poenitz@gmx.net>
1561 * text2.C (redoParagraphs): remove two const_cast<>
1563 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1565 * ParagraphList.h: remove last remnants of NO_STD_LIST
1567 2003-06-03 Angus Leeming <leeming@lyx.org>
1569 * factory.C (createInset): small change to the way InsetExternal's params
1572 2003-06-04 André Pönitz <poenitz@gmx.net>
1574 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1576 * paragraph_pimpl.h:
1577 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1579 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1581 * undo_funcs.C: make some simple cases of undo work again
1583 2003-06-03 John Levon <levon@movementarian.org>
1585 * ispell.C: HPUX doesn't have sys/select.h
1588 2003-06-03 John Levon <levon@movementarian.org>
1590 * CutAndPaste.C: update tabular and include inset
1595 * paragraph.C: remove owningBuffer(), don't pass Buffer
1598 * factory.C: insetGraphicsParams changed
1600 2003-06-02 John Levon <levon@movementarian.org>
1606 * text3.C: remove insetparent
1608 2003-06-02 John Levon <levon@movementarian.org>
1611 * buffer.C: fix inset_iterator.end(), move out of line
1614 2003-06-01 John Levon <levon@movementarian.org>
1616 * text3.C: use a proper cut/paste when doing inset
1617 insert (from Jürgen Spitzmüller)
1619 2003-06-01 John Levon <levon@movementarian.org>
1621 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1623 2003-05-30 André Pönitz <poenitz@gmx.net>
1625 * rowpainter.C: unify second drawing phase
1627 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * trans_mgr.C: remove one case of current_view
1631 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1633 * paragraph_funcs.h: remove paragraph.h include
1635 * paragraph.h: delete NO_STD_LIST stuff
1637 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1639 * buffer.h: remove paragraph.h include
1641 * ParagraphList.C: delete file
1643 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1645 * toc.C (getTocList): adjust
1647 * paragraph_pimpl.C (validate): adjust
1649 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1651 * paragraph.C (Paragraph): adjust
1652 (getPositionOfInset): use const_iterator, adjust
1653 (bibitem): use const_iterator, adjust
1654 (setInsetOwner): adjust
1656 * iterators.C (operator++): adjust
1658 * InsetList.[Ch]: Replace selfmade iterator with standard
1659 vector::iterator also introduce const_iterator. Remove getPos,
1660 getInset and setInset from InsetTable. Adjust accordingly.
1662 * BufferView.C (lockInset): adjust
1663 (ChangeInsets): adjust
1665 * tabular.[Ch]: delete commented same_id functions
1667 2003-05-28 John Levon <levon@movementarian.org>
1669 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1671 2003-05-28 André Pönitz <poenitz@gmx.net>
1673 * metricsinfo.[Ch]: remove 'fullredraw' member
1675 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1677 * lyxtextclass.C (operator): remove caching.
1679 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1683 * text2.C (cursorBottom): adjust
1684 (setCounter): use ParagraphList::find, adjust
1686 * text.C (workWidth): use ParagraphList::find, adjust
1688 * lyxcursor.C (LyXCursor): adjust
1690 * buffer.C (inset_iterator): adjust
1692 * ParagraphList.h: make iterator(value_type) private, make
1693 ParagraphList a friend of iterator.
1695 * ParagraphList.C (find): new function
1697 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1699 2003-05-27 André Pönitz <poenitz@gmx.net>
1701 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1703 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1705 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1707 2003-05-26 John Levon <levon@movementarian.org>
1709 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1711 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * remove same_id from function signatures, adjust.
1715 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1717 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1719 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1721 * paragraph.C (Paragraph): get rid of same_ids parameter
1723 * ParagraphList.C (insert): adjust
1726 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1728 * paragraph_funcs.C (breakParagraph): adjust
1729 (breakParagraphConservative): adjust
1731 * buffer.C (readParagraph): adjust
1733 * ParagraphList.C (insert): take a reference instead of a pointer
1736 * paragraph.[Ch] (id): new function
1738 * bufferlist.C (newFile): adjust
1740 * ParagraphList.C (ParagraphList): adjust
1742 (push_back): take a reference instead of a pointer.
1744 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1746 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1749 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1750 set else use old code.
1752 * ParagraphList.C: remove all NO_NEXT code and only compile this
1753 code of NO_STD_LIST is set.
1755 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1757 * BufferView_pimpl.C:
1767 * graphics/GraphicsConverter.C:
1768 * graphics/PreviewLoader.C: header adjustment
1770 2003-05-23 Angus Leeming <leeming@lyx.org>
1772 * LaTeXFeatures.[Ch] (useBabel): new method.
1773 * bufferparams.C (writeLaTeX): use it.
1775 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * ParagraphList.h (set): remove unused function.
1779 2003-05-23 André Pönitz <poenitz@gmx.net>
1782 * BufferView_pimpl.C:
1786 * undo_funcs.C: setUndo reworked
1788 * iterators.[Ch]: add access to topmost ParagraphList
1790 * lyxtext.[Ch] (workWidth): add a const
1792 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1794 * texrow.[Ch] (increasePos): remove function
1795 * exporter.C (export): removed unused var and outdated comment
1797 2003-05-23 Angus Leeming <leeming@lyx.org>
1799 * latexrunparams.h: rename fragile as moving_arg.
1800 * paragraph.C (simpleTeXOnePar): ditto.
1801 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1803 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1807 (textUndoOrRedo): comment out a currently unused var.
1809 * paragraph.h (NO_NEXT): enable NO_NEXT
1811 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1813 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1815 * exporter.C (Export): adjust for removeAutoInsets removal.
1817 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1819 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1821 * BufferView.[Ch] (removeAutoInsets): delete function
1823 2003-05-22 Angus Leeming <leeming@lyx.org>
1825 * latexrunparams.h: add a free_spacing variable.
1827 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1828 to pass moving_arg, as the data is stored in runparams.fragile.
1830 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1831 to Inset::latexOptional or to simpleTeXOnePar.
1833 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1834 free_spacing arg to Inset::latexOptional.
1836 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1839 2003-05-22 Angus Leeming <leeming@lyx.org>
1841 * latexrunparams.h: add fragile and use_babel variables.
1843 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1844 * buffer.C (makeLaTeXFile): store this returned value in
1845 runparams.use_babel, thus passing it to the inset::latex methods.
1847 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1848 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1850 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1851 longer has a fragile arg, as it is stored in runparams.fragile.
1853 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1854 moving_arg parameter as the data is stored in runparams.fragile.
1856 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1857 a fragile parameter as the data is stored in runparams.fragile.
1859 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1863 2003-05-22 Angus Leeming <leeming@lyx.org>
1865 * latexrunparams.h: add a 'bool nice' which defaults to false.
1867 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1868 now encapsulated within runparams.
1870 * bufferlist.C (updateIncludedTeXfiles):
1871 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1873 2003-05-22 Angus Leeming <leeming@lyx.org>
1875 * latexrunparams.h: new file containing struct LatexRunParams.
1876 * Makefile.am: add new file.
1878 * LaTeX.[Ch] (c-tor, run):
1879 * buffer.[Ch] (makeLaTeXFile):
1880 * bufferlist.[Ch] (updateIncludedTeXfiles):
1881 * converter.C (convert, scanLog):
1882 * converter.[Ch] (runLaTeX):
1883 * exporter.C (Export):
1884 * paragraph.[Ch] (simpleTeXOnePar):
1885 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1886 * paragraph_funcs.[Ch] (latexParagraphs):
1887 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1888 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1889 pass around a LatexRunParams parameter.
1891 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * paragraph.[Ch]: remove unused constructor
1895 * ParagraphList.C (erase): new function, taking two iterators
1897 2003-05-22 André Pönitz <poenitz@gmx.net>
1899 * undo_funcs.C: remove duplicated code
1901 * iterator.[Ch]: operator=
1903 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * tabular.C (SetMultiColumn): ws changes
1907 * rowpainter.C (paintFirst): get rid of a ->previous
1909 * lyx_cb.C (getPossibleLabel): parlist simplification
1911 * BufferView.C (ChangeInsets): simplify slightly.
1913 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1915 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1916 * lfuns.h: new LFUN_SPACE
1917 * lyxfunc.C: protected space has a new lfun
1918 * paragraph_funcs.C: read new space insets
1920 * factory.C: handle new space insets
1922 2003-05-22 André Pönitz <poenitz@gmx.net>
1925 * BufferView_pimpl.C:
1928 * undo_funcs.C: return a ParIterator from getParFromID.
1930 * iterators.[Ch]: add two const's
1932 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * toc.C (getTocList): adjust
1936 * iterators.[Ch]: rework for parlist
1938 * buffer.C (par_iterator_begin): adjust
1939 (par_iterator_end): adjust
1941 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1943 * BufferView.C (removeAutoInsets): adjust
1944 (ChangeInsets): adjust
1946 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1948 * text.C (top_y): fix bug 1110
1950 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1952 * errorlist.[Ch]: added
1955 * BufferView_pimpl.C:
1956 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1959 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * Makefile.am: ensure that lyx is relinked upon changes to the
1962 various "convenience" libs.
1964 2003-05-20 Angus Leeming <leeming@lyx.org>
1966 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1967 files are compiled in alphabetical order again.
1969 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1971 2003-05-19 Angus Leeming <leeming@lyx.org>
1973 * gettext.[Ch]: remove "char const * _(char const *)".
1975 2003-05-19 André Pönitz <poenitz@gmx.net>
1977 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1986 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1988 2003-05-19 André Pönitz <poenitz@gmx.net>
1992 * lyxtextclass.[Ch]:
1994 * paragraph_funcs.[Ch]:
1996 * text3.C: more insetenv work
1998 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2000 * ParagraphParameters.C (params2string): small bug fixed
2002 2003-05-16 André Pönitz <poenitz@gmx.net>
2005 * bufferview_funcs.C: patch from Kornel Benko to prevent
2006 crash when _(...) is called twice in a statement
2008 2003-05-16 André Pönitz <poenitz@gmx.net>
2015 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2017 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2019 * lyx_main.C (init): remove spurious static_cast
2021 2003-05-14 André Pönitz <poenitz@gmx.net>
2023 * BufferView.C: fix format string
2025 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2027 * BufferView.[Ch] (insertErrors): removed
2028 * BufferView.[Ch] (showErrorList): added
2029 * buffer.C (runChkTeX):
2030 * converter.C (scanLog): call showErrorList instead of inserterrors
2032 2003-05-13 André Pönitz <poenitz@gmx.net>
2034 * BufferView_pimpl.C:
2036 * bufferview_func.C:
2043 * tabular_funcs.h: tostr() from its own header
2045 * ParagraphParameters.C:
2050 * text3.C: STRCONV()
2052 2003-05-12 André Pönitz <poenitz@gmx.net>
2055 * BufferView_pimpl.C:
2059 * ParagraphParameters.C:
2063 * bufferview_funcs.C:
2076 * paragraph_funcs.C:
2080 * text3.C: boost::format -> bformat all over the place
2083 2003-05-09 André Pönitz <poenitz@gmx.net>
2085 * LColor.[Ch]: Pimpl the #include <map> away
2087 2003-05-09 John Levon <levon@movementarian.org>
2089 * bufferlist.C: never remove emergency saves
2091 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * Makefile.am: better lib building
2095 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2099 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2100 (simpleTeXSpecialChars): adjust
2101 (simpleTeXSpecialChars): adjust
2102 * paragraph.C (simpleTeXOnePar): adjust
2103 * buffer.C (makeLaTeXFile): adjust
2105 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2107 * text2.C (changeDepth): parlist cleanup
2108 (getColumnNearX): ditto
2110 * rowpainter.C (getLabelFont): parlist cleanup
2112 * bufferlist.C (newFile): parlist cleanup
2114 * CutAndPaste.C (eraseSelection): parlist cleanup
2116 * BufferView_pimpl.C (trackChanges): parlist cleanup
2119 * BufferView.C (lockInset): parlist cleanup.
2120 (ChangeInsets): ditto
2122 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * CutAndPaste.h: Update file header.
2126 * CutAndPaste.C: Update file header.
2127 Store the parts cut out of the Document in a limited_stack.
2128 (copySelection): adjust
2129 (pasteSelection): new function, takes the index in the limited stack.
2130 (nrOfParagraphs): adjust
2131 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2132 simplify error inset insertion.
2133 (checkPastePossible): adjust
2135 2003-05-06 John Levon <levon@movementarian.org>
2137 * text2.C: don't cast wrap inset to float
2139 2003-05-05 André Pönitz <poenitz@gmx.net>
2142 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2144 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2145 few naked Paragraph *.
2147 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2149 * bufferparams.C: Output warning if a document with missing
2150 TeX document class is loaded
2151 * exporter.C: Disable TeX exports if the document class is missing
2154 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2155 isTeXClassAvailable()
2157 2003-05-03 John Levon <levon@movementarian.org>
2160 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2161 explicit cursor show/hide
2163 * BufferView_pimpl.h:
2164 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2165 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2167 * lyxfunc.C: hide cursor before dispatching.
2172 * text3.C: remove explicit cursor hides
2174 2003-05-02 André Pönitz <poenitz@gmx.net>
2176 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2179 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2182 * text2.C: tiny whitespace
2184 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2186 * undo_funcs.C: almost only ws changes.
2188 * ParagraphList.C (splice): just return if pl is empty.
2190 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * ParagraphList.C (splice): new function.
2194 * CutAndPaste.C (pasteSelection): use it
2196 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2198 * CutAndPaste.C (pasteSelection): remove the last next and
2199 previous from this file.
2201 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * CutAndPaste.C (pasteSelection): more clean up, user proper
2204 ParagraphList functions for pasteing.
2206 * ParagraphList.C (insert): new function, three arg insert
2208 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * ParagraphList.C (insert): new function, three arg insert
2212 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2215 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2219 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2221 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2223 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2226 (copySelection): clean up a bit.
2227 (pasteSelection): use make_pair
2229 * ParagraphList.C (ParagraphList): implement copy constructor
2230 (operator=): implement, base on copy constructor.
2233 * paragraph.C (erase): return a bool
2235 * paragraph_pimpl.C (erasePos): remove function, move contents...
2236 (erase): ... here. Return a bool.
2237 (erase): call erase instead of erasePos.
2239 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2241 * ParagraphList.h: define PitPosPair
2242 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2243 ParagraphList, fix a bug on pasting multiple pars
2244 * text2.C: change interface to C&P
2246 2003-04-30 André Pönitz <poenitz@gmx.net>
2248 * undo_func.C: revert part of yesterday's patch 2
2250 2003-04-30 John Levon <levon@movementarian.org>
2252 * LColor.C: s/tabular/table/
2254 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2256 * text3.C (dispatch): do not convert iterator -> pointer
2257 * undo_funcs.C (setCursorParUndo): ditto
2258 * text_funcs.C (transposeChars): ditto
2260 * text2.C (setLayout): ws changes only
2262 * text.C (breakParagraph): do not convert iterator -> pointer
2264 (acceptChange): ditto
2265 (rejectChange): ditto
2270 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2273 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2275 * text3.C (gotoInset): YABG (yet another bad getChar)
2277 2003-04-29 André Pönitz <poenitz@gmx.net>
2279 * paragraph.h: make operator= private unimplemented as long as
2282 * ParagraphList.C: whitespace
2285 * paragraph_pimpl.[Ch]:
2286 * paragraph_funcs.C:
2288 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2291 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2293 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2295 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2296 * paragraph.[Ch] (erase):
2297 * paragraph_pimpl.[Ch] (erase): change return type and value
2298 * text2.C (cutSelection): some rework
2300 2003-04-28 John Levon <levon@movementarian.org>
2302 * bufferlist.C: changes for unsaved changes dialog
2304 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * bufferlist.C (newFile): set language (messages_) for new
2309 * buffer.C (readFile): ws changes only.
2311 2003-04-28 André Pönitz <poenitz@gmx.net>
2316 * BufferView_pimpl.C:
2317 * BufferView.C: getParFromID related ParagraphList::iterator changes
2319 2003-04-28 André Pönitz <poenitz@gmx.net>
2321 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2324 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * messages.C: remove one more localedir class variable.
2328 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2330 * messages.C (getLocaleDir): singleton generation function
2332 (Messages): add a default constructor.
2334 * main.C (main): do not setup localedir here, do not call
2337 * gettext.C (_): use it.
2338 (gettext_init): delete funciton
2340 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * gettext.C (getLyXMessages): new singleton generating function.
2344 * buffer.C (updateDocLang): adjust
2346 * Makefile.am (messages.o): add target
2347 (main.o): remove target
2349 2003-04-27 John Levon <levon@movementarian.org>
2354 * lyxvc.C: specify cancel button in Alert::prompt
2356 2003-04-26 John Levon <levon@movementarian.org>
2361 * LyXAction.C: add LFUN_INSET_SETTINGS
2363 * lyxfunc.C: don't enable tabular-feature when there's
2364 just any locking inset
2366 2003-04-26 John Levon <levon@movementarian.org>
2368 * bufferlist.C: re-add Cancel to buffer close question
2370 * lyxfunc.C: fix import UI a bit
2372 2003-04-25 John Levon <levon@movementarian.org>
2374 * gettext.C: remove the broken asserts for now
2376 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * messages.C: make case where setlocale cannot comply work better.
2380 * buffer.C (updateDocLang): new function
2381 (changeLanguage): use it
2384 * text2.C (setCounter): use B_ a bit.
2386 * lyxlayout.C (Read): be sure to trim the label strings.
2388 * messages.C (Messages): fix typo in comment
2390 * buffer.C (readFile): set message_ after file is loaded.
2391 (makeDocBookFile): remove double return
2392 (changeLanguage): reset message_ upon language change.
2393 (B_): new func, use this to get translated buffer strings.
2395 * main.C: add myself and Jean Marc as authors.
2397 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * messages.[hC]: pimplify Messages, and three different pimpls to be
2400 used in different circumstances.
2402 * gettext.[Ch]: change for use with new message code.
2404 2003-04-24 André Pönitz <poenitz@gmx.net>
2406 * factory.C: support for eqref
2408 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * messages.[Ch]: add missing char
2412 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2414 * messages.[Ch]: New files
2416 2003-04-18 John Levon <levon@movementarian.org>
2420 * BufferView_pimpl.C:
2424 * text2.C: remove layout-copy/paste (bug 778)
2426 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2428 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2430 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2432 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2433 if they succeed. Act accordingly.
2435 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2437 * text2.C (setCharFont): adjust
2438 (setCounter): adjust
2439 (insertStringAsLines): adjust
2441 * text.C (leftMargin): adjust
2442 (setHeightOfRow): adjust
2444 * rowpainter.C (paintFirst): adjust
2447 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2449 (isFirstInSequence): ditto
2450 (getEndLabel): ditto
2453 * paragraph.C (getParLanguage): comment out some hard stuff.
2455 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2457 (simpleDocBookOnePar): ditto
2458 (makeDocBookFile): use ParagraphList::iterator
2460 * CutAndPaste.C (pasteSelection): adjust
2462 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2464 * text2.C (getFont): adjust
2465 (getLayoutFont): adjust
2466 (getLabelFont): adjust
2468 * paragraph_funcs.C (TeXOnePar): adjust
2470 * buffer.C (simpleLinuxDocOnePar): adjust
2471 (simpleDocBookOnePar): adjust
2473 * CutAndPaste.C (pasteSelection): adjust
2475 * BufferView.C (getEncoding): adjust
2477 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2479 2003-04-16 John Levon <levon@movementarian.org>
2481 * lyxfind.C: use parlist stuff for search/changes
2483 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2487 * text2.C (deleteEmptyParagraphMechanism): adjust
2489 * text2.[Ch] (ownerParagraph): delete func (both of them
2491 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2495 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * ParagraphList.C: prepare for NO_NEXT
2499 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * text2.C (getFont): adjust
2502 (getLayoutFont): adjust
2503 (getLabelFont): adjust
2505 * paragraph.C (getFont): adjust
2506 (getLabelFont): adjust
2507 (getLayoutFont): adjust
2509 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2511 2003-04-15 John Levon <levon@movementarian.org>
2515 * lyx_main.C: handle Include in .ui files
2517 2003-04-15 John Levon <levon@movementarian.org>
2519 * MenuBackend.C: make the doc files length shorter
2522 * ToolbarBackend.C: handle toolbar placement flags,
2525 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2530 * paragraph_funcs.C (TeXOnePar): adjust
2532 * paragraph.C (getLabelFont): add outerfont arg, adjust
2533 (getLayoutFont): ditto
2534 (simpleTeXOnePar): adjust
2536 * paragraph_pimpl.C (realizeFont): delete func
2538 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2540 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2541 row argument, constify cur argument.
2543 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * text2.C (getFont): adjust
2546 (getLayoutFont): adjust
2547 (getLabelFont): adjust
2549 * paragraph_funcs.C (TeXOnePar): adjust
2550 (outerFont): new func...
2551 (realizeFont): ...moved out from here, changed this to facilitate
2554 * paragraph.C (getFont): take outerfont as arg, adjust
2555 (simpleTeXOnePar): add outerfont arg, adjust
2557 * buffer.C (simpleLinuxDocOnePar): adjust
2558 (simpleDocBookOnePar): adjust
2560 * CutAndPaste.C (pasteSelection): adjust
2562 * BufferView.C (getEncoding): adjust
2564 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * text2.C (setCharFont): adjust
2567 (setCounter): adjust
2569 * text.C (leftMargin): adjust
2570 (setHeightOfRow): adjust
2572 * rowpainter.C (paintFirst): adjust
2575 * paragraph_pimpl.C (realizeFont): adjust
2577 * paragraph.C (isFirstInSequence): move from here...
2578 * paragraph_funcs.C (isFirstInSequence): ...to here
2580 * paragraph.C (outerHook): move from here...
2581 * paragraph_funcs.C (outerHook): ...to here
2583 * paragraph.C (depthHook): move from here...
2584 * paragraph_funcs.C (depthHook): ...to here
2586 * paragraph.C (getEndLabel): move from here...
2587 * paragraph_funcs.C (getEndLabel): ...to here
2589 * text2.C (realizeFont): move from here...
2590 * paragraph_funcs.C (realizeFont): ...to here
2592 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2596 2003-04-14 Angus Leeming <leeming@lyx.org>
2598 * LColor.[Ch]: scrap LColor mathcursor.
2600 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * lyxlex.[Ch] (text): delete function
2603 * trans.C (Load): adjust
2604 * paragraph_funcs.C (readParToken): adjust
2606 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2609 vector<char> instead of a char[].
2611 * lyxlex_pimpl.C (getString): adjust
2613 (lex): use getString
2617 * lyxlex.C (text): use pimpl_->getString()
2621 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2624 (makeFontEntriesLayoutSpecific): temp var for par.size()
2625 (setLayout): temp var for ownerParagraphs().end()
2626 (fullRebreak): temp var for rows().end()
2627 (selectionAsString): temp var for boost::next(startpit), realize
2628 that the while really is a regular for loop.
2629 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2630 setCursor in one place.
2631 (setParagraph): temp vr for ownerParagraphs().end()
2632 (updateCounters): make the while loop a for loop
2633 (cutSelection): temp var for ownerParagraphs().end()
2634 (updateInset): make the do {} while() a regular for loop
2635 (getCursorX): use temp vars
2636 (setCurrentFont): use temp vars
2637 (getColumnNearX): use temp vars
2639 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * text.C (transformChar): use temp var for getChar
2642 (computeBidiTables): use temp var for row->par()
2643 (fill): move temp vars for row->par() and pit->layout() earlier in
2645 (labelFill): use temp var for row->par()
2646 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2647 asc and desc, realize that pit never changes and that firstpit is
2648 just a duplicate and not needed. Exchange rit->par() with pit in a
2650 (breakAgain): use a temp var for boost::next(rit)
2651 (breakAgainOneRow): ditto
2652 (breakParagraph): use a temp var for rows().begin()
2653 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2654 (cursorRightOneWord): use temp var for cursor.par() and
2655 cursor.pos(), remove usage of tmpcursor.
2656 (cursorLeftOneWord): use temp var for cursor.par() and
2657 cursor.pos() only set cur at end of function.
2659 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * text.C, text2.C: exchange all usage of Paragraph::next with
2662 boost::next(ParagraphList::iterator)
2664 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2666 * text2.C (cursorTop): simplify implementation
2667 (cursorBottom): ditto
2668 (setParagraph): use ParagraphList::iterator
2669 (setCurrentFont): adjust
2670 (getColumnNearX): adjust
2671 (cursorRight): adjust
2672 (cursorLeft): remove usage of Paragraph::previous
2673 (cursorUpParagraph): ditto
2674 (deleteEmptyParagraphMechanism): slight cleanup
2676 * text.C (isBoundary): take a Paragraph const & instead of a
2678 (addressBreakPoint): ditto
2679 (leftMargin): remove usage of Paragraph::previous.
2680 (setHeightOfRow): ditto
2681 (cursorLeftOneWord): ditto
2682 (selectNextWordToSpellcheck): ditto
2685 (breakParagraph): remove one usage of Paragraph::next
2686 (redoParagraph): ditto
2687 (acceptChange): ditto
2688 (insertChar): adjust
2689 (rowBreakPoint): adjust
2691 * bufferview_funcs.C (toggleAndShow): adjust
2693 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2695 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2696 methods to access it.
2698 * text.C: Added updateRowPositions to compute all row positions.
2699 Make top_y and getRowNearY() to use the cached y position
2701 2003-04-11 John Levon <levon@movementarian.org>
2703 * text.C (rowBreakPoint): reintroduce the labelEnd
2704 checks, code copied from the row fill stuff. Deep voodoo.
2706 * text.C (fill): add a comment and debugging for the
2709 2003-04-11 John Levon <levon@movementarian.org>
2711 * text.C: make sure fullrow insets get wrapped to the next line,
2712 even when they're in a manual label
2714 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * text2.C (insertParagraph): make it take ParagraphList::iterator
2718 (setLayout): make it return ParagraphList::iterator
2719 (redoParagraphs): ditto
2721 (checkParagraph): ditto
2723 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2725 * text2.C: adjust several funcs.
2726 (realizeFont): take a ParagraphList::iterator as arg.
2727 (getLayoutFont): ditto
2728 (getLabelFont): ditto
2729 (setCharFont): ditto
2731 * text.C: adjust several funcs.
2733 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2735 * text.C (selectNextWordToSpellcheck): don't accidentally
2738 2003-04-10 John Levon <levon@movementarian.org>
2740 * ToolbarBackend.C (getIcon): special handling for
2743 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2745 * text2.C (cursorRight): a getChar assert fixed
2747 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * text2.C (getFont): change to take a ParagraphList::iterator
2750 instead of Paragraph*
2751 Adjust several functions.
2753 * text.C (transformChar): change to take a ParagraphList::iterator
2754 instead of Paragraph*
2755 (singleWidth): ditto
2756 Adjust several functions.
2758 * rowpainter.C: adjust several functions
2759 * rowpainter.h:store a ParagraphList::iterator and not a
2763 2003-04-09 John Levon <levon@movementarian.org>
2768 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2769 and the "help" bits as well
2771 2003-04-09 John Levon <levon@movementarian.org>
2774 * ToolbarBackend.C: allow multiple toolbars
2776 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * undo_funcs.C (setCursorParUndo): adjust
2780 * text_funcs.C (transposeChars): adjust
2782 * text3.C (gotoNextInset): adjust
2785 * text2.C (setLayout): adjust
2786 (changeDepth): adjust
2788 (redoParagraphs): adjust
2789 (selectionAsString): adjust
2790 (setParagraph): adjust
2791 (insertInset): adjust
2792 (cutSelection): adjust
2793 (copySelection): adjust
2794 (pasteSelection): adjust
2795 (insertStringAsLines): adjust
2796 (updateInset): adjust
2797 (setCursor): change to take a ParagraphList::iterator parameter
2798 (setCursorIntern): change to take a ParagraphList::iterator parameter
2799 (setCurrentFont): adjust
2800 (cursorLeft): adjust
2801 (cursorRight): adjust
2802 (deleteEmptyParagraphMechanism): adjust
2804 * text.C (breakParagraph): adjust
2805 (insertChar): adjust
2806 (acceptChange): adjust
2807 (rejectChange): adjust
2808 (selectNextWordToSpellcheck): adjust
2809 (changeCase): adjust
2813 * lyxfind.C (SearchForward): adjust
2814 (SearchBackward): adjust
2815 (nextChange): adjust
2817 * lyxcursor.C (par): adjust
2819 * lyxcursor.h: store a ParagraphList::iterator instead of a
2822 * lyx_cb.C (getPossibleLabel): adjust
2824 * bufferview_funcs.C (toggleAndShow): adjust
2826 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2829 * BufferView.C (removeAutoInsets): adjust
2830 (lockedInsetStoreUndo): adjust
2832 2003-04-09 John Levon <levon@movementarian.org>
2834 * ToolbarBackend.C: try icon without argument
2835 if with argument fails
2837 2003-04-08 John Levon <levon@movementarian.org>
2840 * ToolbarBackend.C: add getIcon(), handle tooltip,
2841 and change from "Icon" to "Item".
2843 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2845 * BufferView.C (lockInset): another bad getchar crunched
2847 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2849 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2852 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2854 * lyxfind.C (searchForward, searchBackwards): bug 782
2856 2003-04-07 John Levon <levon@movementarian.org>
2858 * paragraph.C: remove dead comment
2860 * text.C: remove troublesome depth-fiddling code
2861 in leftMargin() and rightMargin() (bug 1017)
2863 * text.C: fix breaking of rows in nested lists
2866 * text2.C (updateCounters): fix up depth values
2869 2003-04-07 John Levon <levon@movementarian.org>
2871 * BufferView_pimpl.C: clear message when doc finishes resizing,
2872 and after a mouse event
2874 * lyxfunc.C: clear message after exiting inset
2876 2003-04-07 John Levon <levon@movementarian.org>
2878 * bufferview_funcs.C: show math status not outside
2879 status in the statusbar
2881 2003-04-07 John Levon <levon@movementarian.org>
2883 * lyxfunc.C: note status changed after a depth change
2885 2003-04-04 Angus Leeming <leeming@lyx.org>
2887 * LaTeX.h: move AuxInfo operator==, != out of line.
2888 Remove LaTeX virtual destructor; nothing derives from it.
2889 Move operator()() out of public area and rename it startscript().
2890 Change protected for private.
2892 2003-04-04 Angus Leeming <leeming@lyx.org>
2895 * text2.C: remove unneeded #includes.
2897 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2899 * text2.C (dEPM): fix the heigth of the next row
2901 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2903 * text.C: squashed an invalid getChar requester + some ws changes
2905 2003-04-03 John Levon <levon@movementarian.org>
2907 * bufferview_funcs.h:
2908 * bufferview_funcs.C:
2911 * text2.C: make getStatus work for the env depth lfuns
2913 2003-04-03 John Levon <levon@movementarian.org>
2915 * bufferview_funcs.h:
2916 * bufferview_funcs.C:
2919 * text2.C: parlistize decDepth(), by merging it with incDepth()
2921 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * lyxrow.h: store a ParagraphList::iterator instead of a
2924 Paragraph* and adjust other class functions to suit.
2926 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2929 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2931 * text2.C (setCursor): do not anchor to cursor row for the time being
2933 2003-04-02 John Levon <levon@movementarian.org>
2940 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2942 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * paragraph.h: make ParagraphList and ParagraphList::iterator
2945 friends of Paragraph.
2947 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2949 * ParagraphList.C: Use the private next_ and previous_ from
2952 2003-04-01 John Levon <levon@movementarian.org>
2956 * Makefile.am: rename, remove defaults gunk
2959 * MenuBackend.C: remove defaults gunk
2962 * Languages.C: remove defaults gunk
2965 * lyx_main.C: error out if files couldn't be found.
2967 2003-04-02 John Levon <levon@movementarian.org>
2969 * text2.C: make incDepth() use parlist
2971 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * undo_funcs.C (firstUndoParagraph): adjust
2975 * text3.C (gotoInset): adjust
2976 (dispatch): adjust, and rewrite loop.
2978 * text2.C (init): adjust, and rewrite loop.
2979 (redoParagraphs): adjust
2980 (updateInset): adjust, and rewrite loop.
2981 (deleteEmptyParagraphMechanism): adjust
2983 * tabular.C (LyXTabular): adjust
2984 (SetMultiColumn): adjust
2987 * lyxtext.[Ch] (ownerParagraph): delete function
2988 (ownerParagraphs): new function returns a ParagraphList.
2990 * BufferView.C (removeAutoInsets): adjust
2991 (insertErrors): adjust
2992 (setCursorFromRow): adjust
2994 2003-04-01 Angus Leeming <leeming@lyx.org>
2996 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2999 2003-04-02 John Levon <levon@movementarian.org>
3005 * text_funcs.C: make transposeChars a free function
3007 * lyxrow_funcs.C: remove wrong comment
3009 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * rowpainter.C: adjust
3017 * lyxrow_funcs. [Ch]: new files
3019 * lyxrow.[Ch]: remove next and previous pointers
3020 (next,previous): remove accessor functions
3021 (isParEnd): move to lyxrow_funcs
3022 (lastPos): move to lyxrow_funcs
3023 (nextRowIsAllInset): move to lyxrow_funcs
3024 (lastPrintablePos): move to lyxrow_funcs
3025 (numberOfSeparators): move to lyxrow_funcs
3026 (numberOfHfills): move to lyxrow_funcs
3027 (numberOfLabelHfills): move to lyxrow_funcs
3028 (hfillExpansion): move to lyxrow_funcs
3032 * bufferview_funcs.C (toggleAndShow): adjust
3034 * RowList.h: Remove class RowList from file leave just a
3037 * RowList.C: delete file
3039 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3042 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * text3.C (cursorPrevious): adjust
3045 (cursorNext): adjust
3048 * text2.C (redoHeightOfParagraph): adjust
3049 (redoDrawingOfParagraph): adjust
3052 * text.C (breakParagraph): adjust
3053 (insertChar): adjust
3056 * rowpainter.C (RowPainter): adjust
3057 (leftMargin): simplify and adjust
3058 (most rowpainter functions): adjust.
3060 * rowpainter.h: store the row as RowList::iterator not as Row*
3062 * lyxcursor.C (row): taka RowList::iterator as arg
3065 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3068 2003-04-01 Angus Leeming <leeming@lyx.org>
3070 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3071 stuff like bool Bool.
3073 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3075 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3078 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3080 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3083 * lyxtext.h (rows): drop one version and leve a const variant that
3084 returns a RowList::iterator.
3086 2003-03-31 Angus Leeming <leeming@lyx.org>
3088 * text.C (fill): ensure that the signature is the same as that in the
3091 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3093 * text2.C (redoParagraphs): adjust
3094 (updateCounters): adjust
3095 (checkParagraph): adjust
3096 (getColumnNearX): adjust and reformat a bit.
3098 * text.C (top_y): adjust
3100 (leftMargin): adjust
3101 (prepareToPrint): adjust
3103 (getRowNearY): adjust
3105 * lyxtext.h: make rowlist_ mutable.
3107 * RowList.h: add const_iterator
3108 * RowList.C: adjust for RowList::const_iterator.
3110 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3113 2003-03-31 John Levon <levon@movementarian.org>
3116 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3118 * lyx_main.C: set default fonts from using lyx_gui funcs
3120 * exporter.C: pdf_mode moved from lyxrc
3123 * lyxfunc.C: changes from above
3125 2003-03-31 John Levon <levon@movementarian.org>
3127 * lyx_main.C: fix to the last fix
3129 2003-03-31 John Levon <levon@movementarian.org>
3131 * bufferlist.C: "Load original" -> "Load Original"
3137 * format.C: more Alert cleanups
3139 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * text2.C (removeParagraph): make it take a RowList::iterator as
3143 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3144 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3146 * text.C (anchor_row): make it take a RowList::iterator as arg,
3148 (computeBidiTables): make it take a const reference to Row instead
3149 of Row pointer, adjust.
3150 (leftMargin): make it take a RowList::iterator as arg, adjust.
3151 (rowBreakPoint): adjust
3152 (breakAgainOneRow): make it take a RowList::iterator as arg,
3154 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3156 * bufferview_funcs.C (toggleAndShow): adjust
3158 2003-03-30 John Levon <levon@movementarian.org>
3162 * boost-inst.C: moved to support
3164 * several files: changes as a result
3166 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3168 * text2.C (LyXText): adjust.
3170 (removeRow): make it take a RowList::iterator as arg, adjust.
3171 (fullRebreak): adjust
3172 (deleteEmptyParagraphMechanism): adjust
3173 (clearPaint): adjust
3176 * text.C (top_y): adjust
3177 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3178 (breakAgain): make it take a RowList::iterator as arg, adjust.
3179 (breakParagraph): adjust
3180 (insertChar): adjust
3183 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3184 need_break_row, and refresh_row.
3186 * text3.C (dispatch): adjust
3188 * text2.C (checkParagraph): adjust
3190 (setCursorFromCoordinates): adjust
3192 * text.C (top_y): adjust
3194 (getRow): make it return a RowList::iterator, adjust
3195 (getRowNearY): make it return a RowList::iterator, adjust
3197 * text2.C (init): adjust
3198 (insertRow): remove function
3199 (insertParagraph): adjust
3200 (redoParagraphs): adjust
3201 (fullRebreak): adjust
3202 (updateCounters): adjust
3204 * text.C (top_y): rewrite to use RowList iterators.
3206 (setHeightOfRow): rewrite to sue RowList iterators.
3207 (appendParagraph): adjust
3208 (breakAgain): adjust
3209 (breakAgainOneRow): adjust
3210 (breakParagraph): adjust
3212 (getRowNearY): adjust, and remove commented code.
3214 * lyxtext.h (firstRow): delete function
3215 (lastRow): delete function
3216 (rows): new function (const and non-const versions.)
3217 (insertRow): delete function
3219 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3221 2003-03-29 John Levon <levon@movementarian.org>
3223 * BufferView_pimpl.C: always update scrollbar top
3224 because pasting text when we're anchored could mean we
3225 miss an update altogether
3227 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3229 * text2.C (init): use rowlist_.end() and not 0.
3230 (insertRow): change to take a RowList::iterator as arg, adjust
3232 (insertParagraph): change to take a RowList::iterator as arg,
3234 (redoParagraphs): remove some debug msgs.
3236 * text.C (appendParagraph): change to take a RowList::iterator
3237 arg, adjust for this.
3238 (breakAgain): add an assert
3239 (breakAgainOneRow): ditto
3241 2003-03-29 John Levon <levon@movementarian.org>
3243 * text2.C: do not clear selection after inc/decDepth
3246 2003-03-29 John Levon <levon@movementarian.org>
3249 * buffer.C: fix broken strerrors according to Lars
3251 2003-03-29 John Levon <levon@movementarian.org>
3253 * converters.C: more Alert cleanups
3255 2003-03-29 John Levon <levon@movementarian.org>
3257 * bufferview_funcs.C: remove pointless Alert
3259 * buffer.C: fix confusing error message when
3260 a template is chmoded 000
3262 2003-03-29 John Levon <levon@movementarian.org>
3266 * BufferView_pimpl.C: Alert fixes
3270 * tabular-old.C: remove unused table compat reading
3272 2003-03-29 John Levon <levon@movementarian.org>
3277 * lyx_cb.C: more Alert cleanups
3279 * lyxfunc.C: don't allow chktex if not latex document
3281 2003-03-29 John Levon <levon@movementarian.org>
3285 * buffer.C: warnings pushed down from support/,
3288 2003-03-29 John Levon <levon@movementarian.org>
3290 * lyxfunc.C: safety check for C-r (revert)
3292 2003-03-29 John Levon <levon@movementarian.org>
3295 * bufferlist.C: several UI fixes using Alert::prompt.
3296 Fix the pointless looping quit code. Fix stupid revert
3301 * lyx_cb.C: use Alert::prompt
3303 * lyx_main.C: remove a silly question
3305 * lyxfunc.C: remove a couple of silly questions,
3308 2003-03-28 John Levon <levon@movementarian.org>
3310 * text2.C: fix bug 974 (End on empty par)
3312 2003-03-28 John Levon <levon@movementarian.org>
3314 * BufferView_pimpl.C:
3316 * lfuns.h: remove do-nothing math greek lfuns
3318 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * lyxgluelength.h (isValidGlueLength): add default arg on
3321 parameter 2. Remove default arg from friend in class.
3323 * lyxlength.h (isValidLength): add default arg on parameter 2.
3324 Remove default arg from friend in class.
3326 * text2.C (LyXText): adjust, initialize refresh_row.
3330 (insertParagraph): adjst
3331 (redoParagraphs): adjust
3332 (fullRebreak): adjust
3333 (updateCounters): adjust
3334 (deleteEmptyParagraphMechanism): first attempt at fixing a
3337 * text.C (top_y): adjust
3338 (setHeightOfRow): adjust
3340 (getRowNearY): adjust
3342 * lyxtext.h: include RowList.h
3343 (~LyXText): not needed anymore, deleted.
3344 (firstRow): modify for RowList
3345 (lastRow): new function
3346 Delete firstrow and lastrow class variables, add a Rowlist
3347 rowlist_ class variable.
3349 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3352 * RowList.C (insert): fix case where it == begin().
3354 2003-03-26 Angus Leeming <leeming@lyx.org>
3356 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3357 the thesaurus dialog.
3359 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3361 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3363 * RowList.[Ch]: new files
3365 * ParagraphList.C (erase): handle the case where it == begin
3368 2003-03-25 John Levon <levon@movementarian.org>
3372 * aspell.C: add new aspell support
3375 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3378 2003-03-25 Angus Leeming <leeming@lyx.org>
3381 * LyXAction.C (init): new LFUN_INSET_INSERT.
3383 * BufferView_pimpl.C (dispatch): split out part of the
3384 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3386 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3389 2003-03-25 Angus Leeming <leeming@lyx.org>
3391 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3393 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3396 * text3.C: remove useless row->height(0)
3398 2003-03-25 John Levon <levon@movementarian.org>
3402 * text3.C: rename the refreshing stuff to better names
3404 2003-03-24 John Levon <levon@movementarian.org>
3406 * BufferView_pimpl.h:
3407 * BufferView_pimpl.C: update layout choice on a mouse
3410 2003-03-23 John Levon <levon@movementarian.org>
3412 * Makefile.am: fix commandtags.h reference
3414 2003-03-22 John Levon <levon@movementarian.org>
3416 * BufferView_pimpl.C:
3421 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3423 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3426 * text.C: take the rtl methods out of line
3428 2003-03-21 André Pönitz <poenitz@gmx.net>
3430 * metricsinfo.[Ch]: new files containing structures to be passed around
3431 during the two-phase-drawing...
3433 2003-03-21 André Pönitz <poenitz@gmx.net>
3435 * lyxtextclass.C: read 'environment' tag.
3437 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3439 * text2.C (removeRow): fix bug 964
3441 2003-03-20 John Levon <levon@movementarian.org>
3445 * text2.C: paint cleanups. Inset::update() dropped font
3448 2003-03-19 John Levon <levon@movementarian.org>
3450 * lyxfunc.C: only fitcursor/markDirty if available()
3452 2003-03-19 John Levon <levon@movementarian.org>
3454 * commandtags.h: rename to ...
3456 * lfuns.h: ... this, and renumber / cleanup
3458 2003-03-19 John Levon <levon@movementarian.org>
3460 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3461 fit the cursor after an lfun
3465 * BufferView_pimpl.h:
3466 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3468 * LyXAction.C: layout-character should have ReadOnly
3470 * ParagraphParameters.C:
3472 * bufferview_funcs.C:
3479 * undo_funcs.C: changes from above
3481 2003-03-18 John Levon <levon@movementarian.org>
3483 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3484 remove it from update()
3486 * lyxfunc.C: update layout choice after an lfun
3488 * text3.C: remove extra updateLayoutChoice()s
3490 2003-03-18 John Levon <levon@movementarian.org>
3492 * text.C: top_y change means full repaint, fix
3493 a drawing bug with cursor movement
3495 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3499 * text2.C: anchor row on setCursor
3501 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3503 * lyxtext.h: remove almost all mutable keywords
3506 * text3.C: remove const keywords accordingly
3508 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3512 (TeXEnvironment): ditto
3515 2003-03-17 John Levon <levon@movementarian.org>
3517 * text.C (rowBreakPoint): remove attempt to fix displayed
3518 math insets inside a manual label
3520 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * lyxtext.h: remove BufferView* as first arg from almost all class
3524 * other files: adjust.
3526 2003-03-17 John Levon <levon@movementarian.org>
3530 * text2.C: more paint cleanups
3532 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3535 * rowpainter.C: remove "smart" background painting code
3537 2003-03-16 John Levon <levon@movementarian.org>
3542 * text3.C: add helper functions for setting refresh_row/y
3544 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3546 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3547 newline inset which *can* get inserted in the pass_thru layouts.
3548 This is primarily for literate documents.
3550 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3552 * buffer.C: increment LYX_FORMAT to 223
3554 2003-03-14 André Pönitz <poenitz@gmx.net>
3556 * textclass.h: prepare for environment handling, ws changes
3557 * lyxlayout.C: read latexheader and latexfooter tags
3559 2003-03-14 John Levon <levon@movementarian.org>
3561 * text2.C: rewrite ::status() a bit
3563 2003-03-13 John Levon <levon@movementarian.org>
3565 * lyxtext.h: add some docs
3567 2003-03-13 John Levon <levon@movementarian.org>
3572 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3574 2003-03-13 John Levon <levon@movementarian.org>
3576 * text3.C: fix appendix redrawing
3578 2003-03-13 John Levon <levon@movementarian.org>
3580 * text.C (setHeightOfRow):
3582 * rowpainter.C: make appendix mark have the text
3583 "Appendix" so the user knows what it is
3586 * LColor.C: s/appendixline/appendix/ from above
3588 2003-03-13 John Levon <levon@movementarian.org>
3590 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3592 * text.C: fix a getChar(pos) bug properly
3594 2003-03-13 Angus Leeming <leeming@lyx.org>
3597 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3598 Probably only temporary. Let's see how things pan out.
3600 * BufferView.C (unlockInset):
3601 * BufferView_pimpl.C (fitCursor):
3602 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3604 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3605 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3607 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3608 new functions that convert ParagraphParameters to and from a string.
3610 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3611 BufferView::Pimpl's dispatch.
3612 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3614 2003-03-13 André Pönitz <poenitz@gmx.net>
3618 * factory.C: make it aware of InsetEnv
3620 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * text2.C (setCursor): never ask for one past last
3623 (setCursor): add some debugging messages.
3625 * text.C (singleWidth): never ask for one past last
3626 (singleWidth): ditto
3628 (rightMargin): ditto
3629 (rowBreakPoint): ditto
3630 (setHeightOfRow): ditto
3631 (prepareToPrint): ditto
3633 * rowpainter.C (paintBackground): never ask for one past last
3634 (paintText): never ask for one past last
3636 * paragraph_pimpl.C (getChar): make the assert stricter, never
3637 allow the one past last pos to be taken
3639 * paragraph.C (getChar): ws changes only
3641 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3642 (numberOfSeparators): ditto
3643 (numberOfHfills): ditto
3645 2003-03-12 John Levon <levon@movementarian.org>
3651 * paragraph_funcs.C: fix per-buffer authorlists
3653 2003-03-12 John Levon <levon@movementarian.org>
3655 * text.C: fix newline in right address
3657 2003-03-12 Angus Leeming <leeming@lyx.org>
3659 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3660 duplicate those in LyXFunc::dispatch.
3664 * ToolbarDefaults.C:
3665 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3666 Add LFUN_FONTFREE_UPDATE.
3668 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3669 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3671 * bufferview_func.[Ch]: several new functions to facilliate
3672 transfer of data to and from the character dialog.
3674 2003-03-12 John Levon <levon@movementarian.org>
3679 * paragraph_funcs.C:
3680 * paragraph_pimpl.C:
3684 * text3.C: remove META_NEWLINE in favour of an inset
3687 * rowpainter.C: remove paintNewline (done by inset)
3689 2003-03-12 John Levon <levon@movementarian.org>
3691 * paragraph_pimpl.C: complain about bad getChar()s
3692 for a while at least
3694 2003-03-12 John Levon <levon@movementarian.org>
3697 * buffer.C: move paragraph read into a separate function,
3698 a little renaming to reflect that.
3701 * bufferparams.C: remove the author_ids map, not necessary now
3704 * factory.C: moved Buffer::readInset to here
3706 * paragraph_funcs.h:
3707 * paragraph_funcs.C: readParagraph free function moved from
3710 * tabular.C: name change
3712 2003-03-12 John Levon <levon@movementarian.org>
3715 * ParagraphParameters.C: move par params input to
3718 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3719 behave like a normal read from the stream wrt reading
3720 a line vs. a \\token
3722 2003-03-12 John Levon <levon@movementarian.org>
3725 * ParagraphParameters.h:
3726 * ParagraphParameters.C: move output code to a
3729 2003-03-12 John Levon <levon@movementarian.org>
3731 * BufferView.C (insertLyXFile):
3734 * tabular.C: use a parlist iterator for creating the
3737 2003-03-12 John Levon <levon@movementarian.org>
3739 * buffer.C: make current_change static local not
3742 2003-03-12 John Levon <levon@movementarian.org>
3744 * buffer.C: fix insertStringAsLines for change tracking
3746 2003-03-12 John Levon <levon@movementarian.org>
3753 * bufferparams.C: move author list into params. Rename some
3754 functions. Move the header reading into a separate token
3755 loop. Move the header token reading into BufferParams.
3757 2003-03-12 John Levon <levon@movementarian.org>
3759 * changes.C: put debug inside lyxerr.debugging() checks
3761 2003-03-11 André Pönitz <poenitz@gmx.net>
3763 * factory.C: make it aware of InsetHFill
3765 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3767 * buffer.C (latexParagraphs): move function from here...
3768 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3771 2003-03-10 Angus Leeming <leeming@lyx.org>
3773 * LyXAction.C (init): fix bug in poplating array with multiple entries
3774 with the same LFUN (spotted by JMarc).
3776 2003-03-10 John Levon <levon@movementarian.org>
3779 * text2.C: move getColumnNearX() near its
3782 2003-03-10 John Levon <levon@movementarian.org>
3784 * text.C: fix break before a minipage
3786 2003-03-10 John Levon <levon@movementarian.org>
3788 * text.C: fix the last commit
3790 2003-03-09 John Levon <levon@movementarian.org>
3794 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3795 bug 365 (don't break before insets unless needed). Don't
3796 return a value > last under any circumstances.
3798 2003-03-09 Angus Leeming <leeming@lyx.org>
3800 * BufferView_pimpl.C (trackChanges, dispatch): call
3801 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3803 2003-03-09 Angus Leeming <leeming@lyx.org>
3805 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3806 than Dialogs::showAboutlyx().
3808 2003-03-09 Angus Leeming <leeming@lyx.org>
3810 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3811 than Dialogs::showTabularCreate().
3813 2003-03-09 John Levon <levon@movementarian.org>
3817 * text2.C: 3rd arg to nextBreakPoint was always the same.
3820 2003-03-08 John Levon <levon@movementarian.org>
3827 * text2.C: Remove the "main" bit from the "main body"
3830 2003-03-08 John Levon <levon@movementarian.org>
3832 * text.C (leftMargin): The left margin of an empty
3833 manual label paragraph should not include the label width
3836 * text.C (prepareToPrint): don't attempt to measure hfills
3837 for empty manual label paragraphs - the answer should be 0
3839 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * CutAndPaste.C: remove commented code and reindent.
3843 2003-03-08 John Levon <levon@movementarian.org>
3846 * lyxfunc.C: move reloadBuffer()
3849 * BufferView.C: to here
3851 * lyxvc.C: add comment
3854 * vc-backend.C: call bv->reload() to avoid
3855 getStatus() check on MENURELOAD
3857 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3859 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3860 to an old format .dep file.
3862 2003-03-07 Angus Leeming <leeming@lyx.org>
3864 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3865 when the LFUN_MOUSE_RELEASE should have been handled by
3866 inset->localDispatch.
3868 2003-03-07 Angus Leeming <leeming@lyx.org>
3870 * BufferView_pimpl.C (dispatch):
3871 * LyXAction.C (init):
3872 * ToolbarDefaults.C (init):
3874 * lyxfunc.C (getStatus):
3875 remove LFUN_INSET_GRAPHICS.
3877 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3879 2003-03-07 Angus Leeming <leeming@lyx.org>
3882 * LyXAction.C (init):
3883 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3885 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3888 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3890 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3891 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3893 2003-03-07 Angus Leeming <leeming@lyx.org>
3895 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3898 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3900 * ParagraphList.C (front): new function
3903 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3905 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3906 and top_row_offset_. removed var first_y.
3908 * text2.C (LyXText, removeRow):
3910 * BufferView_pimpl.C:
3911 use these methods instead of using first_y
3913 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * text2.C (pasteSelection): adjust for checkPastePossible
3917 * CutAndPaste.C: remove Paragraph * buf and replace with
3918 ParagraphList paragraphs.
3919 (DeleteBuffer): delete
3920 (cutSelection): change the tc type to textclass_type
3921 (copySelection): change the tc type to textclass_type
3922 (copySelection): adjust for ParagraphList
3923 (pasteSelection): change the tc type to textclass_type
3924 (pasteSelection): adjust for Paragraphlist
3925 (nrOfParagraphs): simplify for ParagraphList
3926 (checkPastePossible): simplify for ParagraphList
3927 (checkPastePossible): remove unused arg
3929 * ParagraphList.C (insert): handle the case where there are no
3932 * CutAndPaste.h: make CutAndPaste a namespace.
3934 * text3.C (dispatch): adjust
3936 * text.C (breakParagraph): add a ParagraphList as arg
3938 * paragraph_funcs.C (breakParagraph): change to take a
3939 BufferParams and a ParagraphList as args.
3940 (breakParagraphConservative): ditto
3941 (mergeParagraph): ditto
3942 (TeXDeeper): add a ParagraphList arg
3943 (TeXEnvironment): ditto
3946 * buffer.C (readLyXformat2): adjust
3947 (insertStringAsLines): adjust
3948 (latexParagraphs): adjust
3950 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3951 (cutSelection): adjust
3952 (pasteSelection): adjust
3954 * BufferView_pimpl.C (insertInset): adjust
3956 2003-03-05 Angus Leeming <leeming@lyx.org>
3959 * LyXAction.C (init):
3960 * BufferView_pimpl.C (dispatch):
3961 * lyxfunc.C (getStatus):
3962 remove LFUN_CHILD_INSERT.
3964 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3966 2003-03-05 Angus Leeming <leeming@lyx.org>
3969 * LyXAction.C (init):
3970 * src/factory.C (createInset):
3971 * lyxfunc.C (getStatus):
3972 * text3.C (dispatch):
3973 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3975 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3977 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * ParagraphList.C (insert): handle insert right before end()
3980 (erase): fix cases where it can be first or last paragraph.
3982 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3984 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3985 Paragraph::next and Paragraph::previous
3988 * text.C (breakParagraph): adjust
3990 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3991 BufferParams& as arg.
3992 (breakParagraph): use ParagraphList::insert
3993 (breakParagraphConservative): take a Buffer* instead of a
3994 BufferParams& as arg.
3995 (breakParagraphConservative): use ParagraphList::insert.
3997 * buffer.C (insertStringAsLines): un-const it
3998 (insertStringAsLines): adjust
4000 * ParagraphList.C (insert): new function
4002 * CutAndPaste.C (pasteSelection): adjust
4004 * text.C (backspace): adjust
4006 * tabular.C (SetMultiColumn): adjust
4008 * CutAndPaste.C (cutSelection): adjust
4009 (pasteSelection): adjust
4011 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4012 Buffer const * as arg
4014 * ParagraphList.C (erase): new function
4015 * paragraph_funcs.C (mergeParagraph): use it
4016 (mergeParagraph): make it take a Buffer* instead of a
4017 BufferParams* as arg
4019 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4021 (breakParagraphConservative): ditto
4023 * paragraph.h: remove the breakParagraph friend
4025 * paragraph.C (eraseIntern): new function
4026 (setChange): new function
4028 * paragraph_funcs.C (mergeParagraph): make it take a
4029 ParagraphList::iterator instead of a Paragraph *, adjust
4032 * paragraph.h: move an #endif so that the change tracking stuff
4033 also works in the NO_NEXT case.
4035 2003-03-04 Angus Leeming <leeming@lyx.org>
4038 * LyXAction.C: new LFUN_INSET_MODIFY.
4040 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4041 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4043 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * several files: ws changes only
4047 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4048 (TeXEnvironment): ditto
4051 * buffer.C (makeLaTeXFile): adjust
4052 (latexParagraphs): make it take ParagraphList::iterator as args
4054 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * buffer.C (latexParagraphs): adjust
4058 * paragraph.C (TeXOnePar): move function...
4059 (optArgInset): move function...
4060 (TeXEnvironment): move function...
4061 * paragraph_pimpl.C (TeXDeeper): move function...
4062 * paragraph_funcs.C: ...here
4064 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4066 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * buffer.C (readInset): remove compability code for old Figure and
4071 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * buffer.C: ws changes
4076 * BufferView_pimpl.C: ditto
4079 * bufferlist.h: ditto
4083 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4085 * converter.[Ch]: split into itself +
4088 * Makefile.am: += graph.[Ch] + format.[Ch]
4095 * lyxrc.C: added #include "format.h"
4097 2003-02-27 Angus Leeming <leeming@lyx.org>
4099 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4102 * factory.C (createInset): add "label" to the factory.
4104 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4105 string and do no more.
4107 2003-02-27 Angus Leeming <leeming@lyx.org>
4110 * LyXAction.C (init):
4111 * factory.C (createInset):
4112 * BufferView_pimpl.C (dispatch):
4113 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4115 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4117 * lyxfunc.C (dispatch):
4118 * text3.C (dispatch): pass name to params2string.
4120 2003-02-26 Angus Leeming <leeming@lyx.org>
4122 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4124 Rearrange the ~includes. Strip out the unnecessary ones.
4126 * factory.C (createInset): reformat.
4127 create new insets for the various LFUN_XYZ_APPLY lfuns.
4129 2003-02-26 John Levon <levon@movementarian.org>
4132 * lyxrow.C: add isParStart,isParEnd helpers
4134 * paragraph.h: make isInserted/DeletedText take refs
4136 * paragraph_funcs.h:
4137 * paragraph_funcs.C: remove #if 0'd code
4142 * text.C: use lyxrow helpers above.
4143 Move draw and paint routines to RowPainter.
4144 Make several methods use refs not pointers.
4145 Make backgroundColor() const.
4146 Add markChangeInDraw(), isInInset().
4147 Merge changeRegionCase into changeCase.
4148 Make workWidth() shouldn't-happen code into an Assert.
4151 * rowpainter.C: new class for painting a row.
4154 * vspace.C: make inPixels take a ref
4156 2003-02-26 Angus Leeming <leeming@lyx.org>
4158 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4161 2003-02-25 John Levon <levon@movementarian.org>
4163 * ispell.C: give the forked command a more accurate name
4165 2003-02-22 John Levon <levon@movementarian.org>
4168 * toc.C: make TocItem store an id not a Paragraph *
4171 2003-02-21 Angus Leeming <leeming@lyx.org>
4173 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4174 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4175 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4176 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4177 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4178 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4180 * BufferView_pimpl.C (dispatch):
4181 * LyXAction.C (init):
4182 * factory.C (createInset):
4183 * lyxfunc.C (getStatus, dispatch):
4184 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4186 2003-02-21 Angus Leeming <leeming@lyx.org>
4188 * BufferView_pimpl.C (MenuInsertLyXFile):
4189 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4190 * lyxfunc.C (menuNew, open, doImport):
4191 no longer pass a LyXView & to fileDlg.
4193 2003-02-21 Angus Leeming <leeming@lyx.org>
4195 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4196 * LyXAction.C: change, BIBKEY to BIBITEM.
4197 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4198 Change InsetBibKey to InsetBibitem.
4199 Change BIBKEY_CODE to BIBITEM_CODE.
4200 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4201 * factory.C: replace insetbib.h with insetbibitem.h.
4202 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4203 * paragraph.C: replace insetbib.h with insetbibitem.h.
4204 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4205 Change bibkey() to bibitem().
4206 * text.C: remove insetbib.h.
4207 * text2.C: replace insetbib.h with insetbibitem.h.
4208 change bibkey() to bibitem().
4209 * text3.C: remove insetbib.h.
4210 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4212 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4214 * lyxrc.C (output): enclose user email in quotes (in case there are
4217 2003-02-18 John Levon <levon@movementarian.org>
4219 * buffer.h: add std::
4221 2003-02-17 John Levon <levon@movementarian.org>
4227 * pspell.C: reworking. Especially in ispell, a large
4228 number of clean ups and bug fixes.
4230 * lyxfunc.C: fix revert to behave sensibly
4232 2003-02-17 André Pönitz <poenitz@gmx.net>
4235 * commandtags.h: new LFUN_INSERT_BIBKEY
4245 * paragraph_func.C: remove special bibkey handling
4247 2003-02-17 John Levon <levon@movementarian.org>
4249 * text.C (Delete): fix case where delete at the end of
4250 the very first paragraph would not merge the pars
4252 2003-02-17 John Levon <levon@movementarian.org>
4254 * lyxrow.C: fix lastPrintablePos()
4256 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4258 * bufferparams.C (writeLaTeX): add a std:here
4260 * buffer.C: and remove a using directive there
4262 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4264 * buffer.C (makeLaTeXFile): move the code that generates the
4267 * bufferparams.C (writeLaTeX): ... in this new method
4269 * LaTeXFeatures.C (getEncodingSet): make const
4270 (getLanguages): make const
4272 * MenuBackend.C (binding): returns the binding associated to this
4274 (add): sets the status of each item by calling getStatus. Adds
4276 (read): add support for OptSubMenu
4277 (expand): remove extra separator at the end of expanded menu
4279 2003-02-15 John Levon <levon@movementarian.org>
4282 * BufferView_pimpl.C:
4284 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4285 inset code that had no actual effect. Remove unneeded status
4288 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4290 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4293 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4295 * text.C (drawLengthMarker): also draw an arrow marker for
4296 symbolic lengths (medskip...)
4298 2003-02-14 John Levon <levon@movementarian.org>
4301 * tabular.C: better method names
4303 2003-02-14 John Levon <levon@movementarian.org>
4305 * BufferView_pimpl.C:
4310 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4311 it's a more accurate name. Remove some pointless uses.
4313 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4315 * text2.C (LyXText): change order of initilizers to shut off
4318 2003-02-14 John Levon <levon@movementarian.org>
4320 * buffer.C: use ParIterator for getParFromID()
4324 * paragraph_pimpl.h:
4325 * paragraph_pimpl.C: remove unused getParFromID()
4327 2003-02-14 John Levon <levon@movementarian.org>
4329 * buffer.C: remove some very old #if 0'd parse code
4331 2003-02-13 John Levon <levon@movementarian.org>
4335 * text2.C: move hfillExpansion(), numberOfSeparators(),
4336 rowLast(), rowLastPrintable(), numberofHfills(),
4337 numberOfLabelHfills() ...
4340 * lyxrow.C: ... to member functions here.
4345 * text.C: remove LyXText::beginningOfMainBody(), and call
4346 p->beginningOfMainBody() directly. Move the check for
4347 LABEL_MANUAL into the latter.
4354 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4360 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4361 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4363 2003-02-13 John Levon <levon@movementarian.org>
4365 * CutAndPaste.C: remove debug
4367 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4369 * paragraph.C (asString): remove two unused variables
4371 * lyxtextclass.C (readTitleType):
4373 (LyXTextClass): handle new members titletype_ and titlename_
4375 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4377 2003-02-09 John Levon <levon@movementarian.org>
4380 * buffer.C: replace hand-coded list with a map for the dep clean
4382 2003-02-08 John Levon <levon@movementarian.org>
4384 * LaTeX.C: consolidate code into showRunMessage() helper
4386 2003-02-08 John Levon <levon@movementarian.org>
4391 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4392 and pass the size in explicitly
4394 * BufferView_pimpl.h:
4395 * BufferView_pimpl.C:
4397 * BufferView.C: add getCurrentChange()
4399 * BufferView_pimpl.h:
4400 * BufferView_pimpl.C: handle change lfuns
4402 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4403 for changes. Mark pasted paragraphs as new.
4405 * support/lyxtime.h:
4406 * support/lyxtime.C:
4407 * DepTable.C: abstract time_t as lyx::time_type
4410 * LColor.C: add colours for new text, deleted text, changebars
4412 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4413 package use "usenames" option.
4417 * LyXAction.C: add change lfuns
4421 * author.C: author handling
4424 * buffer.C: add a per-buffer author list, with first entry as
4425 current author. Handle new .lyx tokens for change tracking. Output
4426 author list to .lyx file. Output dvipost stuff to .tex preamble.
4427 Bump lyx format to 222.
4430 * bufferlist.C: add setCurrentAuthor() to reset current author details
4434 * bufferparams.C: add param for tracking
4436 * bufferview_funcs.C: output change info in minibuffer
4440 * changes.C: add change-tracking structure
4443 * debug.C: add CHANGES debug flag
4446 * lyxfind.C: add code for finding the next change piece
4449 * lyxrc.C: add user_name and user_email
4452 * lyxrow.C: add a metric for the top of the text line
4455 * text.C: implement accept/rejectChange()
4458 * text.C: paint changebars. Paint new/deleted text in the chosen
4459 colours. Strike through deleted text.
4463 * paragraph_pimpl.h:
4464 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4465 in the current change to the insert functions. Rework erase to
4466 mark text as deleted, adding an eraseIntern() and a range-based
4467 erase(). Implement per-paragraph change lookup and
4470 * paragraph_funcs.C: Fixup paste for change tracking.
4472 * tabular.C: mark added row/columns as new.
4474 * text.C: fix rowLast() to never return -1. Don't allow
4475 spellchecking of deleted text. Track transpose changes. Don't
4476 allow paragraph break or merge where appropriate.
4478 * text2.C: leave cursor at end of selection after a cut.
4480 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4482 * text.C (getLengthMarkerHeight):
4483 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4484 visible on screen too.
4486 2003-02-07 John Levon <levon@movementarian.org>
4488 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4490 2003-02-05 Angus Leeming <leeming@lyx.org>
4492 * lyxserver.C (read_ready): revert my patch of 11 September last year
4493 as it sends PC cpu through the roof. Presumably this means that
4494 the lyxserver will no longer run on an Alpha...
4496 2003-01-30 Angus Leeming <leeming@lyx.org>
4498 * factory.C (createInset): create an InsetCommandParam of type "index"
4499 and use it to 'do the right thing'.
4501 * text2.C (getStringToIndex): ensure that cursor position is always
4502 reset to the reset_cursor position.
4504 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4506 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4509 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4513 * lyxfunc.C: Output messages with identical spelling, punctuation,
4516 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4518 * MenuBackend.C (expandFormats): List only viewable export formats
4521 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4524 * lyxfunc.C (getStatus): Make sure that formats other than
4525 "fax" can also be disabled
4527 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4529 * text3.C (dispatch): put the lfuns that insert insets in 3
4530 groups, and call doInsertInset with appropriate arguments.
4531 (doInsertInset): new function, that creates an inset and inserts
4532 it according to some boolean parameters.
4534 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * buffer.C (readFile): remember to pass on 'par' when calling
4537 readFile recursively.
4539 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4541 * MenuBackend.C (expandFormats): add "..." to import formats.
4543 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4545 * paragraph.C (asString): Remove XForms RTL hacks.
4547 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4548 * buffer.C: fix typo
4550 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * Makefile.am (LIBS): delete var
4553 (lyx_LDADD): add @LIBS@ here instead.
4555 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4557 * Clarify the meaning of "wheel mouse jump"
4559 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4561 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4564 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4566 * importer.C (Loaders): do not preallocate 3 elements in the
4567 vector, since one ends up with 6 elements otherwise
4569 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4571 * DepTable.C (write): write the file name as last element of the
4572 .dep file (because it may contain spaces)
4573 (read): read info in the right order
4575 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4577 * paragraph_pimpl.C (simpleTeXBlanks):
4578 (simpleTeXSpecialChars):
4579 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4581 * tabular.C (latex): add some missing case statements. Reindent.
4583 * MenuBackend.C (expandToc): remove unused variable.
4585 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4594 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4597 2003-01-05 John Levon <levon@movementarian.org>
4600 * BufferView.C: add getEncoding()
4603 * kbsequence.C: do not store last keypress
4606 * lyxfunc.C: store last keypress here instead. Pass encoding
4609 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4611 * lyx_main.C (init): remove annoying error message when following
4612 symbolic links (bug #780)
4614 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4616 * text.C (insertChar):
4617 * lyxrc.C (getDescription): remove extra spaces
4619 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4621 * lyxrc.C (getDescription): remove extra spaces
4623 2002-12-20 John Levon <levon@movementarian.org>
4625 * text3.C: hack fix for page up/down across tall rows
4627 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4629 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4632 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4634 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4635 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4636 thesaurus is not compiled in
4638 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4640 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4642 2002-12-16 Angus Leeming <leeming@lyx.org>
4645 * lyx_main.C (init): remove override_x_deadkeys stuff.
4647 2002-12-12 John Levon <levon@movementarian.org>
4649 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4650 insert. Only remove shift modifier under strict
4653 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * MenuBackend.C (expandToc): fix crash.
4657 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * MenuBackend.C (expandToc): gettext on float names.
4661 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4663 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4664 implement bool empty() [bug 490]
4666 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4670 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * several files: ws changes
4674 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * text2.C (setCounter): clean up a bit, use boost.format.
4677 (updateCounters): initialize par upon declaration.
4679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4680 if the layout exists. We do not just store the layout any more.
4681 (SwitchLayoutsBetweenClasses): use boost.format
4683 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4685 * converter.C (convert): if from and to files are the same, use a
4686 temporary files as intermediary
4688 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4691 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4693 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4695 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4697 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * tabular.C (asciiPrintCell): use string(size, char) instead of
4702 * sgml.C (openTag): fix order of arguments to string constructor
4705 * lyxfunc.C (dispatch): use boost.format
4707 * lots of files: change "c" -> 'c'
4709 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4711 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4713 2002-11-25 Angus Leeming <leeming@lyx.org>
4715 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4717 * lyx_main.C (init): compile fix.
4719 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * lyx_cb.C (start): boost.formatify
4722 do not include <iostream>
4724 * lengthcommon.C: ws only
4726 * boost-inst.C,BoostFormat.h: add more explict instantations
4728 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4730 * lots of files: handle USE_BOOST_FORMAT
4732 2002-11-21 John Levon <levon@movementarian.org>
4734 * pspell.C: fix compile
4736 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4738 * lyxfunc.C (dispatch): use boost::format
4742 * lyxfont.C (stateText): use boost::format
4744 * lyx_main.C (LyX): use boost::format
4746 (queryUserLyXDir): ditto
4749 (typedef boost::function): use the recommened syntax.
4751 * importer.C (Import): use boost::format
4753 * debug.C (showLevel): use boost::format
4755 * converter.C (view): use boost::format
4760 * bufferview_funcs.C (currentState): use boost::format
4762 * bufferlist.C (emergencyWrite): use boost::format
4764 * buffer.C (readLyXformat2): use boost::format
4765 (parseSingleLyXformat2Token): ditto
4767 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4769 * LaTeX.C (run): use boost::format
4771 * Chktex.C (scanLogFile): use boost::format
4773 * BufferView_pimpl.C (savePosition): use boost::format
4774 (restorePosition): ditto
4775 (MenuInsertLyXFile): ditto
4777 * BoostFormat.h: help file for explicit instation.
4779 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4781 * tabular.C (latex): Support for block alignment in fixed width
4784 2002-11-17 John Levon <levon@movementarian.org>
4786 * BufferView_pimpl.C:
4788 * lyxfunc.C: split filedialog into open/save
4790 2002-11-08 Juergen Vigna <jug@sad.it>
4792 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4793 by my last patch (hopefully).
4795 2002-11-08 John Levon <levon@movementarian.org>
4804 * toc.C: ParConstIterator, and use it (from Lars)
4806 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4808 * lyxtextclass.[Ch]: revise and add doxygen comments
4810 2002-11-07 John Levon <levon@movementarian.org>
4812 * text.C: fix progress value for spellchecker
4814 * toc.C: fix navigate menu for insetwrap inside minipage
4816 * paragraph_funcs.C: added FIXME for suspect code
4818 2002-11-07 John Levon <levon@movementarian.org>
4820 * BufferView_pimpl.C: fix redrawing of insets
4823 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4825 * text2.C (updateCounters): fix bug 668
4827 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4829 * text3.C (dispatch): Do not make the buffer dirty when moving the
4832 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * vc-backend.C: STRCONV
4837 * text2.C (setCounter): STRCONV
4839 * paragraph.C (asString): STRCONV
4841 * lyxlength.C (asString): STRCONV
4842 (asLatexString): ditto
4844 * lyxgluelength.C (asString): STRCONV
4845 (asLatexString): ditto
4847 * lyxfunc.C (dispatch): STRCONV
4850 * lyxfont.C (stateText): STRCONV
4852 * importer.C (Import): STRCONV
4854 * counters.C (labelItem): STRCONV
4855 (numberLabel): ditto
4856 (numberLabel): remove unused ostringstream o
4861 * bufferview_funcs.C (currentState): STRCONV
4863 * buffer.C (readFile): STRCONV
4864 (asciiParagraph): ditto
4865 (makeLaTeXFile): ditto
4867 * Spacing.C (writeEnvirBegin): STRCONV
4869 * LaTeXFeatures.C (getLanguages): STRCONV
4870 (getPackages): ditto
4872 (getBabelOptions): ditto
4873 (getTClassPreamble): ditto
4874 (getLyXSGMLEntities): ditto
4875 (getIncludedFiles): ditto
4879 (scanAuxFile): ditto
4882 * LString.h: add the STRCONV macros
4884 * BufferView_pimpl.C (savePosition): STRCONV
4885 (restorePosition): ditto
4886 (MenuInsertLyXFile): ditto
4888 * vc-backend.C (scanMaster): change from submatch[...] to
4891 * funcrequest.C: include config.h
4893 * factory.C: include config.h
4895 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4897 * box.C: include config.h
4899 * LaTeX.C (scanAuxFile): change from submatch[...] to
4903 2002-10-25 Angus Leeming <leeming@lyx.org>
4905 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4907 * ispell.[Ch] (setError): new method.
4908 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4909 Use setError() insetead of goto END.
4911 * lyx_cb.C (AutoSave): move out child process into new class
4914 2002-10-30 John Levon <levon@movementarian.org>
4916 * text3.C: make start appendix undoable
4918 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4920 * lyxlength.C (inPixels): Fix returned value.
4922 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4925 2002-10-24 Angus Leeming <leeming@lyx.org>
4927 * lyxgluelength.h: no need to forward declare BufferParams
4928 or BufferView, so don't.
4930 2002-10-21 John Levon <levon@movementarian.org>
4932 * BufferView.C: menuUndo ->undo, redo
4934 * BufferView.h: document, remove dead, make some methods private
4936 * paragraph_funcs.h:
4937 * paragraph_funcs.C:
4938 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4943 * sgml.C: move sgml open/close tag into sgml.C
4945 * bufferview_funcs.h: unused prototype
4948 * lyxfunc.C: remove unused
4951 * text.C: remove unused
4953 2002-10-21 John Levon <levon@movementarian.org>
4957 * BufferView_pimpl.h:
4958 * BufferView_pimpl.C: fix mouse wheel handling based on
4959 patch from Darren Freeman
4961 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4963 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4965 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4967 * lyxlength.C (inPixels): Fix hanfling of negative length.
4968 Fix LyXLength::MU case.
4970 2002-10-16 John Levon <levon@movementarian.org>
4972 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4974 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4976 * converter.C (view): add support for $$i (file name) and $$p
4977 (file path) for the viewer command. If $$i is not specified, then
4978 it is appended to the command (for compatibility with old syntax)
4980 2002-10-14 Juergen Vigna <jug@sad.it>
4982 * undo_funcs.C (textHandleUndo): alter the order in which the
4983 new undopar is added to the LyXText, as we have to set first
4984 the right prev/next and then add it as otherwise the rebuild of
4985 LyXText is not correct. Also reset the cursor to the right paragraph,
4986 with this IMO we could remove the hack in "redoParagraphs()".
4988 2002-10-09 Angus Leeming <leeming@lyx.org>
4990 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4991 to turn off an optimisation if a new inset is to be inserted.
4993 2002-10-11 André Pönitz <poenitz@gmx.net>
4995 * lyxtext.h: make some functions public to allow access
4996 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4998 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5000 * text3.C (dispatch): when changing layout, avoid an infinite loop
5003 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5005 * lyxrc.C (read): treat a viewer or converter command of "none" as
5008 * MenuBackend.C (expandFormats): for an update, also allow the
5009 formats that are not viewable
5011 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5012 script if it is newer than the lyxrc.defaults in user directory
5014 2002-10-07 André Pönitz <poenitz@gmx.net>
5016 * text.C: Vitaly Lipatov's small i18n fix
5018 2002-09-25 Angus Leeming <leeming@lyx.org>
5020 * ispell.h: doxygen fix.
5022 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5024 * buffer.h (readFile): Add a new argument to the method, to allow
5025 reading of old-format templates.
5027 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5029 * toc.C (getTocList): Get TOC from InsetWrap.
5031 2002-09-16 John Levon <levon@movementarian.org>
5033 * lyxfunc.C: check tabular for cut/copy too
5035 2002-09-12 John Levon <levon@movementarian.org>
5040 * factory.C: add header
5042 * paragraph_funcs.h:
5043 * paragraph_funcs.C: cleanup
5045 2002-09-11 John Levon <levon@movementarian.org>
5047 * PrinterParams.h: odd/even default to true
5049 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5051 * PrinterParams.h: update printer parameters for new xforms dialog
5053 2002-09-11 Angus Leeming <leeming@lyx.org>
5055 * lyxserver.C (read_ready): re-write to make it more transparent
5056 and to make it work in coherent fashion under Tru64 Unix.
5058 2002-09-11 André Pönitz <poenitz@gmx.net>
5062 * text3.C: implement LFUN_WORDSEL
5064 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5067 make floatlist_ a boost::shared_ptr<FloatList>
5069 * lyxtextclass.C: include FloatList.h
5070 (LyXTextClass): initialize floatlist_
5071 (TextClassTags): add TC_NOFLOAT
5072 (Read): match "nofloat" to TC_NOFLOAT and use it.
5073 (readFloat): modify call to floatlist_
5077 * FloatList.[Ch] (FloatList): remove commented out float
5079 (erase): new function
5081 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5083 * MenuBackend.C (expandToc): fix crash when there is no document
5086 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5088 * many files: Add insetwrap.
5090 2002-09-09 John Levon <levon@movementarian.org>
5092 * text2.C: remove confusing and awkward depth wraparound
5094 2002-09-09 John Levon <levon@movementarian.org>
5096 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5099 * buffer.C: remove getIncludeonlyList()
5102 * lyxfunc.C: remove headers
5104 2002-09-09 Juergen Vigna <jug@sad.it>
5106 * text.C (getColumnNearX): fix form Michael this is most
5107 probably a cut&paste bug.
5109 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5113 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5114 references, ws changes.
5116 * text2.C (init): update counters after init
5117 (insertParagraph): no need to set counter on idividual paragraphs.
5118 (setCounter): access the counters object in the textclass object
5119 on in the buffer object.
5120 (updateCounters): ditto
5122 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5123 shared_ptr<Counters> to avoid loading counters.h in all
5125 (LyXTextClass): initialize ctrs_
5126 (TextClassTags): add TC_COUNTER, and ...
5127 (Read): use it here.
5128 (CounterTags): new tags
5129 (readCounter): new function
5130 (counters): new funtion
5131 (defaultLayoutName): return a const reference
5133 * counters.C (Counters): remove contructor
5134 (newCounter): remove a couple of unneeded statements.
5135 (newCounter): simplify a bit.
5136 (numberLabel): some small formatting changes.
5138 * buffer.[Ch]: remove all traces of counters, move the Counters
5139 object to the LyXTextClass.
5141 2002-09-06 Alain Castera <castera@in2p3.fr>
5143 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5144 package to set the horizontal alignment on fixed width columns.
5147 * lyx_sty.h: added tabularnewline macro def.
5149 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5151 2002-09-06 John Levon <levon@movementarian.org>
5153 * LyXAction.C: tooltips for sub/superscript
5155 * MenuBackend.C: a bit more verbose
5157 * lyxfunc.C: tiny clean
5159 * undo_funcs.C: document undo_frozen
5161 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * counters.C (Counters): add missing algorithm counter.
5165 * text2.C (setCounter): lookup the counter with layouts latexname
5166 instead of by section number.
5167 (setCounter): use a hackish way to lookup the correct enum
5169 a float name->type change
5170 reset enum couners with counter name directly instead of depth value.
5172 * counters.C (Counters): remove the push_backs, change to use the
5173 float type not the float name.
5174 (labelItem): remove unused string, float name->type change
5176 * counters.h: don't include vector, loose the enums and sects vectors
5178 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5181 (Read): add float->TC_FLOAT to textclassTags
5182 (Read): and handle it in the switch
5183 (readFloat): new function
5185 * FloatList.C (FloatList): comment out the hardcoded float
5188 * lyxlayout.h: ws change.
5190 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5192 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5194 2002-09-03 Angus Leeming <leeming@lyx.org>
5196 * BufferView_pimpl.h: qualified name is not allowed in member
5197 declaration: WorkArea & Pimpl::workarea() const;
5199 * factory.C: added using std::endl directive.
5201 * text3.C: added using std::find and std::vector directives.
5203 2002-08-29 André Pönitz <poenitz@gmx.net>
5206 * text2.C: remove unused member number_of_rows
5209 * BufferView2.C: remove file, move contents to...
5210 * BufferView.C: ... here
5212 * BufferView_pimpl.C:
5213 * factory.C: move more inset creation to factory
5215 * vspace.C: avoid direct usage of LyXText, ws changes
5218 don't provide direct access to WorkArea, use two simple
5219 acessors haveSelction() and workHeight() instead
5222 2002-08-29 John Levon <levon@movementarian.org>
5224 * BufferView_pimpl.C (dispatch): do not continue when
5227 2002-08-28 André Pönitz <poenitz@gmx.net>
5229 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5232 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5234 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5236 * buffer.C: increment LYX_FORMAT to 221
5238 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5239 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5241 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5243 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5245 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5247 * factory.C (createInset): use LyXTextClass::floats
5249 * MenuBackend.C (expandFloatListInsert):
5250 (expandFloatInsert):
5253 * text2.C (setCounter):
5255 * LaTeXFeatures.C (useFloat):
5256 (getFloatDefinitions):
5258 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5260 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5261 floatlist_, with accessor floats().
5263 * FloatList.h: remove global FloatList
5265 2002-08-26 André Pönitz <poenitz@gmx.net>
5267 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5271 * BufferView_pimpl.C:
5272 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5274 2002-08-25 John Levon <levon@movementarian.org>
5276 * LyXAction.C: fix margin note description
5278 2002-08-24 John Levon <levon@movementarian.org>
5282 * bufferview_funcs.C:
5284 * undo_funcs.C: cleanups
5286 * lyxfunc.C: disable CUT/COPY when no selection
5288 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5290 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5291 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5293 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5294 Add backward compatibility to "mono", "gray" and "no".
5296 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5298 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5299 (and file_format >= 200).
5301 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5303 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5305 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5307 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5309 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5311 * BufferView_pimpl.C:
5318 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5319 inset and code to make it work with the paragraph code. The inset
5320 can be anywhere in the paragraph, but will only do the expected
5321 thing in LaTeX if the layout file contains the parameter line
5323 (or more generally, a nonzero value) for that layout.
5325 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * paragraph.h: remove the declaration of undefined counters class
5330 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5332 * text2.C (setCounter): fixed enumeration mis-count as reported by
5333 Dr. Richard Hawkins.
5335 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5337 * paragraph_funcs.h: remove some unneeded includes
5339 * text.C (backspace): pasteParagraph now in global scipe
5341 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5342 (pasteSelection): ditto
5344 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5345 * paragraph_funcs.C (pasteParagraph): ... here
5347 2002-08-20 André Pönitz <poenitz@gmx.net>
5349 * commandtags.h: new LFUNs for swapping/copying table row/colums
5352 * lyxfunc.C: support for new lfuns
5354 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * buffer.[Ch]: remove NO_COMPABILITY stuff
5359 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * boost.C (throw_exception): new file, with helper function for
5362 boost compiled without exceptions.
5367 * ParameterStruct.h:
5368 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5370 * bufferlist.C (emergencyWriteAll): use boost bind
5372 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5374 * text.C: include paragraph_funcs.h
5375 (breakParagraph): breakParagraph is now in global scope
5377 * paragraph_funcs.[Ch]: new files
5379 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5382 * buffer.C: include paragraph_funcs.h
5383 (insertStringAsLines): breakParagraph is now in global scope
5385 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5388 * CutAndPaste.C: include paragraph_funcs.h
5389 (cutSelection): breakParagraphConservative is now in global scope
5390 (pasteSelection): ditto
5392 * buffer.h: declare oprator== and operator!= for
5393 Buffer::inset_iterator
5395 * bufferlist.C (emergencyWrite): don't use fmt(...)
5397 * text3.C: add using std::endl
5399 * BufferView.C (moveCursorUpdate): remove default arg
5401 2002-08-20 André Pönitz <poenitz@gmx.net>
5403 * buffer.[Ch]: move inline functions to .C
5406 * BufferView_pimpl.C:
5408 * buffer.[Ch]: use improved inset_iterator
5411 * paragraph.[Ch]: write one paragraph at a time
5413 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5415 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5416 style if style is not specified.
5418 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5420 * text2.C (setCounter): when searching for right label for a
5421 caption, make sure to recurse to parent insets (so that a caption
5422 in a minipage in a figure float works) (bug #568)
5424 2002-08-20 André Pönitz <poenitz@gmx.net>
5426 * text3.C: new file for LyXText::dispatch() and helpers
5428 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5430 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5432 2002-08-19 André Pönitz <poenitz@gmx.net>
5435 * text.C: new LyXText::dispatch()
5437 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5439 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5441 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5443 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5446 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5448 * Makefile.am: use $(variables) instead of @substitutions@
5450 2002-08-15 André Pönitz <poenitz@gmx.net>
5453 * BufferView_pimpl.C: streamlining mathed <-> outer world
5457 * LyXAction.C: remove unused LFUN_MATH
5459 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5463 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5465 * paragraph.C (Paragraph): reformat a bit
5466 (cutIntoMinibuffer): use builtin InsetList function instad of
5470 * buffer.C: include boost/bind.hpp, add using std::for_each
5471 (writeFileAscii): use ParagraphList iterators
5472 (validate): use for_each for validate traversal of paragraphs
5473 (getBibkeyList): use ParagraphList iterators
5474 (resizeInsets): use for_each to resizeInsetsLyXText for all
5476 (getParFromID): use ParagraphList iterators
5478 * BufferView2.C (lockInset): use paragraph list and iterators
5480 2002-08-14 John Levon <levon@movementarian.org>
5482 * lyxserver.C: remove spurious xforms include
5484 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5486 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5488 2002-08-13 André Pönitz <poenitz@gmx.net>
5491 * lyxfunc.C: further cleaning
5493 2002-08-13 André Pönitz <poenitz@gmx.net>
5495 * funcrequest.h: new constructor
5497 * funcrequest.C: move stuff here from .h
5500 * BufferView_pimpl.C:
5503 * lyxfunc.C: subsequent changes
5505 * lyxfunc.h: new view() member function
5507 * lyxfunc.C: subsequent changes
5509 2002-08-13 Angus Leeming <leeming@lyx.org>
5512 * BufferView_pimpl.C:
5520 changes due to the changed LyXView interface that now returns references
5521 to member variables not pointers.
5523 2002-08-13 Angus Leeming <leeming@lyx.org>
5525 * WordLangTuple (word, lang_code): return references to strings,
5530 * lyxtext.h: forward-declare WordLangTuple.
5535 * text.C: #include "WordLangTuple.h".
5538 * text.C: (selectNextWordToSpellcheck): constify return type.
5540 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5546 * paragraph_pimpl.h:
5549 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5551 Made updateCounter always count from start of buffer, and removed
5552 second argument (par).
5553 Reverted floats number display to '#'. Perhaps I'll try again when the
5554 code base is sanitized a bit.
5556 2002-08-12 Angus Leeming <leeming@lyx.org>
5558 * buffer.[Ch] (getLabelList): constify.
5560 2002-08-07 André Pönitz <poenitz@gmx.net>
5562 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5564 * funcrequest.h: extension to keep mouse (x,y) position
5566 2002-08-12 Juergen Vigna <jug@sad.it>
5568 * BufferView2.C (insertErrors): forbid undo when inserting error
5571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5573 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * ParagraphList.[Ch]: new files
5577 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5579 * BufferView2.C (lockInset): ParagraphList changes
5582 * bufferlist.C: ditto
5586 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5588 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5589 unused class variable counter_,
5591 * paragraph.[Ch] (getFirstCounter): delete unused function
5593 * counters.C: include LAssert.h
5594 (reset): add a new function with no arg, change other version to
5595 not have def. arg and to not allow empty arg.
5597 * text2.C (setCounter): remove empty arg from call to Counters::reset
5599 2002-08-11 John Levon <levon@movementarian.org>
5601 * Makefile.am: add WordLangTuple.h
5603 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5606 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5608 * insets/insettext.C: InsetList changes
5610 * graphics/GraphicsSupport.C (operator()): InsetList changes
5612 * toc.C (getTocList): InsetList changes
5614 * paragraph_pimpl.[Ch]: InsetList changes
5616 * paragraph.[Ch]: InsetList changes
5618 * buffer.C (inset_iterator): InsetList changes
5619 (setParagraph): ditto
5620 * buffer.h (inset_iterator): ditto
5621 * iterators.C (operator++): ditto
5622 * iterators.h: ditto
5624 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5626 * InsetList.[Ch]: new files, most InsetList handling moved out of
5629 * BufferView2.C (removeAutoInsets): InsetList changes
5631 (ChangeInsets): ditto
5633 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5635 * paragraph_pimpl.h (empty): new function
5637 * paragraph.[Ch] (empty): new function
5639 * other files: use the new Paragraph::empty function
5641 2002-08-09 John Levon <levon@movementarian.org>
5643 * lyxtext.h: remove unused refresh_height
5645 2002-08-09 John Levon <levon@movementarian.org>
5652 * paragraph.C: move sgml char escaping out of paragraph
5655 * paragraph.C: remove id setter
5659 * paragraph_pimpl.C: remove dead tex_code_break_column
5661 * bufferview_funcs.C: small cleanup
5663 * lyxfunc.C: remove dead proto
5665 * lyxtext.h: make some stuff private. Remove some dead stuff.
5667 * lyxgluelength.C: make as[LyX]String() readable
5669 2002-08-08 John Levon <levon@movementarian.org>
5674 * ToolbarDefaults.C:
5677 * toc.C: lyxaction cleanup
5679 2002-08-08 John Levon <levon@movementarian.org>
5681 * BufferView2.C: small cleanup
5684 * lyxfind.C: move unnecessary header into the .C
5686 2002-08-08 John Levon <levon@movementarian.org>
5688 * funcrequest.h: just tedious nonsense
5691 * lyx_main.C: cleanups
5694 * vspace.C: remove dead header lyx_main.h
5696 2002-08-07 Angus Leeming <leeming@lyx.org>
5699 * paragraph_pimpl.h:
5700 Forward declare class Counters in paragraph.h by moving the ctrs member
5701 variable into Paragraph::Pimpl.
5702 (counters): new method, returning a reference to pimpl_->ctrs.
5704 * text2.C: ensuing changes.
5706 2002-08-07 John Levon <levon@movementarian.org>
5708 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5710 * BufferView_pimpl.C: announce X selection on double/triple
5713 * lyx_main.C: use correct bool in batch dispatch
5715 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5717 2002-08-07 André Pönitz <poenitz@gmx.net>
5719 * funcrequest.h: new class to wrap a kb_action and its argument
5722 * BufferView_pimpl[Ch]:
5726 * lyxrc.C: subsequent changes
5729 2002-08-07 John Levon <levon@movementarian.org>
5731 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5732 document options change.
5734 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5739 * makefile.am: move counters functionality over from
5740 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5742 2002-08-06 John Levon <levon@movementarian.org>
5744 * WordLangTuple.h: new file for word + language code tuple
5755 * BufferView2.C: use WordLangTuple
5758 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5760 2002-08-06 John Levon <levon@movementarian.org>
5762 * lyx_main.C: fix cmdline batch handling
5764 2002-08-06 André Pönitz <poenitz@gmx.net>
5766 * lyxrc.C: set default for show_banner to true
5768 2002-08-06 John Levon <levon@movementarian.org>
5770 * pspell.C: fix a crash, and allow new aspell to work
5772 2002-08-06 John Levon <levon@movementarian.org>
5775 * kbmap.C: small cleanup
5778 * vspace.C: add const
5780 2002-08-05 John Levon <levon@movementarian.org>
5782 * LyXAction.C: back to tabular-insert
5784 2002-08-04 John Levon <levon@movementarian.org>
5787 * BufferView.C: cosmetic change
5789 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5799 * BufferView2.C: purge all "Lyx" not "LyX" strings
5802 * lyxcursor.C: attempt to add some documentation
5807 * ToolbarDefaults.C:
5808 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5809 merge with LFUN_TABULAR_INSERT
5816 * pspell.C: split up i/pspell implementations into separate
5817 files, many cleanups
5819 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5821 * text2.C: some cleanup
5823 * lyxfunc.C: don't check for isp_command == "none" any more, it
5824 didn't make any sense
5826 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5831 * makefile.am: move counters functionality over
5832 from text2.C/paragraph.[Ch] to counters.[Ch], and
5834 2002-08-02 John Levon <levon@movementarian.org>
5836 * buffer.C: s/lyxconvert/lyx2lyx/
5838 2002-08-02 Angus Leeming <leeming@lyx.org>
5840 * lyxlex.C: revert John's change as it breaks reading of the user
5843 2002-08-02 Angus Leeming <leeming@lyx.org>
5845 * importer.C (Import):
5846 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5847 changes due to LyXView::view() now returning a boost::shared_ptr.
5849 2002-08-02 John Levon <levon@movementarian.org>
5851 * lyxlex.C: small cleanup
5853 2002-08-02 John Levon <levon@movementarian.org>
5855 * text2.C (status): small cleanup, no logic change
5857 2002-08-01 John Levon <levon@movementarian.org>
5860 * buffer.C (writeFile): don't output alerts, caller
5864 * lyx_cb.C: from above
5866 * lyxfunc.C: allow to open non-existent files
5868 2002-07-31 John Levon <levon@movementarian.org>
5870 * lyxserver.C: don't let incidental errors get
5873 2002-07-30 John Levon <levon@movementarian.org>
5875 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5877 2002-07-30 John Levon <levon@movementarian.org>
5880 * lyxserver.C: remove I/O callback too
5882 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5884 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5887 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * many files: strip,frontStrip -> trim,ltrim,rtrim
5891 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5893 * PrinterParams.h: remove extern containsOnly, and include
5894 support/lstrings.h instead.
5896 * LaTeX.C (scanAuxFile): modify because of strip changes
5898 * buffer.C (makeLaTeXFile): ditto
5899 * bufferparams.C (writeFile): ditt
5900 * lyxfont.C (stateText): ditto
5901 * lyxserver.C (read_ready): ditto
5902 * vc-backend.C (scanMaster): ditto
5904 * BufferView_pimpl.h: ws changes
5906 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5908 2002-07-26 André Pönitz <poenitz@gmx.net>
5910 * kb_sequence.C: remove unnedred usings
5912 2002-07-26 Juergen Vigna <jug@sad.it>
5914 * lyxfind.C (LyXReplace): we have to check better if the returned
5915 text is not of theLockingInset()->getLockingInset().
5917 2002-07-25 Juergen Vigna <jug@sad.it>
5919 * lyxfind.C (LyXReplace): don't replace if we don't get the
5922 * undo_funcs.C (createUndo): remove debugging code.
5924 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5926 * buffer.C (parseSingleLyXformat2Token): Use default placement
5927 when reading old floats.
5929 * FloatList.C (FloatList): Change the default placement of figure
5930 and tables to "tbp".
5932 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5934 * MenuBackend.C: using std::max
5936 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5938 * MenuBackend.C (expandToc):
5939 (expandToc2): code moved from xforms menu frontend. It is now
5940 generic and TOCs are transparent to menu frontends.
5942 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5944 * toc.C (getTocList): protect against buf=0
5946 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5947 Menu as first parameter. Now, this calls itself recursively to
5948 expand a whole tree (this will be useful for TOC handling)
5949 (expandFloatInsert): remove 'wide' version of floats
5951 * MenuBackend.h (submenuname): returns the name of the submenu.
5952 (submenu): returns the submenu itself, provided it has been
5953 created by MenuBackend::expand
5955 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5957 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5958 insets which have noFontChange == true. (bug #172)
5960 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5962 * BufferView_pimpl.C: add connection objects and use them...
5965 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5967 * MenuBackend.C (expandLastfiles):
5970 (expandFloatListInsert):
5971 (expandFloatInsert):
5972 (expand): split expand in parts
5974 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5976 * lyx_gui.C: use lyx_gui::exit()
5978 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5980 * LyXAction.C: show the failing pseudo action
5982 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5984 * buffer.C (readFile): Run the lyxconvert script in order to read
5987 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5991 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5993 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5997 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5999 2002-07-22 Herbert Voss <voss@lyx.org>
6002 * lyxlength.[Ch]: add support for the vertical lengths
6004 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6006 * toc.[Ch]: std:: fixes
6008 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6010 * lyxrc.C: do not include lyx_main.h
6012 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6018 * BufferView2.C: include "lyxlex.h"
6021 * bufferparams.h: do not #include "lyxlex.h"
6023 * lyxtextclasslist.C (Add): remove method
6024 (classlist): renamed to classlist_
6026 * paragraph_pimpl.C:
6030 * bufferview_funcs.C:
6035 * toc.C (getTocList): use BufferParams::getLyXTextClass
6037 * toc.C (getTocList): use InsetFloat::addToToc
6039 * toc.[Ch]: new files, containing helper functions to handle table
6042 * lyxfunc.C (dispatch): no need to remove spaces around command
6044 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6045 first command of the sequence; it is not very clever, but I do not
6046 have a better idea, actually
6048 * LyXAction.C (LookupFunc): make sure to remove space at the
6049 beginning and end of the command
6051 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6053 * MenuBackend.C (getMenubar): new method: return the menubar of
6055 (read): treat differently reading of menu and menubar (in
6056 particular, the menubar has no name now)
6057 (Menu::menubar): remove
6059 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6062 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6064 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6065 a bibitem inset in a RTL paragraph.
6067 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6069 * paragraph_pimpl.C: constify
6071 * BufferView_pimpl.C:
6073 * lyxfunc.C: fix dispatch in a nicer way
6075 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6077 * lyxfunc.C (dispatch):
6078 * BufferView_pimpl.C:
6079 * BufferView_pimpl.h:
6081 * BufferView.h: rename Dispatch() to dispatch()
6083 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6085 * lyxlayout.C (Read): honor DependsOn tag
6087 * lyxlayout.[Ch] (depends_on): new method
6089 * version.C.in: update lyx_docversion
6091 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6093 * paragraph.C (validate): remove from here...
6094 * paragraph_pimpl.C (validate): ... and move here
6095 (isTextAt): make it const
6097 * buffer.C (getLists): ws cleanup
6099 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6101 * language.C (read): Use iso8859-1 encoding in latex_lang
6102 (this prevents LyX from crashing when using iso10646-1 encoding).
6104 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6106 * text2.C (toggleInset): if cursor is inside an inset, close the
6107 inset and leave cursor _after_ it
6109 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6111 * lyxfunc.C: move minibuffer completion handling out of here
6113 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6115 * BufferView_pimpl.C:
6116 * LaTeX.C: fix dispatch calls
6118 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6120 * text.C (drawChars): Fix Arabic text rendering.
6122 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6126 * lyxfunc.C: remove message-push/pop
6130 * lyxfunc.C: rationalise some code by removing verboseDispatch
6131 in favour of a bool argument to dispatch()
6133 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6135 * lyx_main.C (init): make sure to read symlinks as absolute paths
6137 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6140 * lyxfunc.C: no need for commandshortcut to be a member
6142 2002-07-15 André Pönitz <poenitz@gmx.net>
6144 * converter.C: add support for $$s (scripts from lib/scripts dir)
6145 * lyx_main.C: white space
6147 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6151 * lyxrc.C: remove second exit confirmation
6153 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6158 * BufferView_pimpl.h:
6159 * BufferView_pimpl.C:
6160 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6162 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6164 * MenuBackend.C (expand): add numeric shortcuts to document menu
6166 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6168 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6170 * lyxfont.C (setLyXFamily):
6177 * buffer.C (asciiParagraph): use ascii_lowercase
6179 2002-07-15 Mike Fabian <mfabian@suse.de>
6181 * lyxlex_pimpl.C (search_kw):
6182 * lyxlex.C (getLongString):
6183 * converter.h (operator<):
6184 * converter.C (operator<):
6185 * buffer.C (parseSingleLyXformat2Token):
6187 * ToolbarDefaults.C (read):
6188 * MenuBackend.C (checkShortcuts):
6190 * LColor.C (getFromGUIName):
6191 (getFromLyXName): use the compare_ascii_no_case instead of
6192 compare_no_case, because in turkish, 'i' is not the lowercase
6193 version of 'I', and thus turkish locale breaks parsing of tags.
6195 2002-07-16 Angus Leeming <leeming@lyx.org>
6197 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6198 now takes a Buffer const & argument.
6200 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6202 * BufferView.C (resize): check there's a buffer to resize
6204 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6206 * lyxfunc.C: remove dead code
6209 * lyxserver.C: use lyx_guii::set_read_callback
6211 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6213 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6214 an inset in a RTL paragraph.
6216 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6218 * lyxfunc.C: repaint after a font size update
6220 2002-07-15 André Pönitz <poenitz@gmx.net>
6222 * lyxlength.C: inBP should be able to return negative values
6224 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6226 * lyxfunc.C: use lyx_gui::update_fonts()
6228 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6230 * lyxfunc.C: use lyx_gui::update_color()
6232 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6238 * lyxrc.C: remove file->new asks for name option, and let
6239 buffer-new take an argument
6241 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6243 * BufferView_pimpl.C: remove unneeded extra repaint()
6245 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6247 * LyXAction.C: allow command-sequence with NoBuffer
6249 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6251 2002-07-10 Angus Leeming <leeming@lyx.org>
6253 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6255 2002-07-09 Angus Leeming <leeming@lyx.org>
6257 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6259 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6261 * lengthcommon.h: whitespace
6263 * lyxfunc.C: update scrollbar after goto paragraph
6265 * lyxtext.h: factor out page break drawing, and fix it so
6266 page break/added space paints as selected nicely
6268 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6270 * BufferView_pimpl.C: add FIXMEs, clean up a little
6272 2002-07-09 André Pönitz <poenitz@gmx.net>
6274 * lyxfont.[Ch]: support for wasy symbols
6276 2002-07-08 André Pönitz <poenitz@gmx.net>
6278 * BufferView_pimpl.C: apply John's patch for #93.
6280 2002-07-05 Angus Leeming <leeming@lyx.org>
6282 * BufferView_pimpl.C (buffer): generate previews if desired.
6284 * LColor.h: add "preview" to the color enum.
6286 * LColor.C (LColor): add a corresponding entry to the items array.
6288 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6291 2002-07-05 Angus Leeming <leeming@lyx.org>
6293 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6294 The body of the code is now in the method that is passed an ostream &
6295 rather than a file name.
6296 Pass an additional only_preamble parameter, useful for the forthcoming
6299 2002-07-03 André Pönitz <poenitz@gmx.net>
6301 * lyxfunc.C: simplify getStatus() a bit for math stuff
6303 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6305 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6307 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6309 * text.C (changeRegionCase): do not change case of all the
6310 document when region ends at paragraph end (bug #461)
6312 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6314 * paragraph.C (startTeXParParams):
6315 (endTeXParParams): add \protect when necessary
6317 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6319 * BufferView_pimpl.C (workAreaExpose): remove warning
6321 2002-06-27 Angus Leeming <leeming@lyx.org>
6323 * Makefile.am: add lyxlayout_ptr_fwd.h.
6325 2002-06-26 André Pönitz <poenitz@gmx.net>
6327 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6329 2002-06-25 Angus Leeming <leeming@lyx.org>
6331 * lyxfunc.C (dispatch): Comment out the call to
6332 grfx::GCache::changeDisplay. The method no longer exists now that the
6333 pixmap generation part of the graphics loader has been moved into
6336 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6338 * text2.C: layout as layout
6340 * text.C: layout as layout
6342 * tabular.C (OldFormatRead): layout as layout
6344 * paragraph_pimpl.C (TeXDeeper): layout as layout
6345 (realizeFont): layout as layout
6347 * paragraph.C (writeFile): layout as layout
6348 (validate): layout as layout
6349 (getFont): layout as layout
6350 (getLabelFont): layout as layout
6351 (getLayoutFont): layout as layout
6352 (breakParagraph): layout as layout
6353 (stripLeadingSpaces): layout as layout
6354 (getEndLabel): layout as layout
6355 (getMaxDepthAfter): layout as layout
6356 (applyLayout): layout as layout
6357 (TeXOnePar): layout as layout
6358 (simpleTeXOnePar): layout as layout
6359 (TeXEnvironment): layout as layout
6360 (layout): layout as layout
6361 (layout): layout as layout
6363 * lyxtextclass.C (compare_name): new functor to work with
6364 shared_ptr, layout as layout
6365 (Read): layout as layout
6366 (hasLayout): layout as layout
6367 (operator): layout as layout
6368 (delete_layout): layout as layout
6369 (defaultLayout): layout as layout
6371 * lyxlayout_ptr_fwd.h: new file
6373 * lyxlayout.C (Read): layout as layout
6375 * lyx_cb.C (MenuInsertLabel): layout as layout
6377 * bufferlist.C (newFile): layout as layout
6379 * buffer.C (readLyXformat2): layout as layout
6380 (parseSingleLyXformat2Token): layout as layout
6381 (insertStringAsLines): layout as layout
6382 (asciiParagraph): layout as layout
6383 (latexParagraphs): layout as layout
6384 (makeLinuxDocFile): layout as layout
6385 (simpleLinuxDocOnePar): layout as layout
6386 (makeDocBookFile): layout as layout
6387 (simpleDocBookOnePar): layout as layout
6388 (getLists): layout as layout
6390 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6392 * CutAndPaste.C (cutSelection): layout as layout
6393 (pasteSelection): layout as layout
6394 (SwitchLayoutsBetweenClasses): layout as layout
6396 * BufferView_pimpl.C (Dispatch): layout as layout
6397 (smartQuote): layout as layout
6399 * BufferView2.C (unlockInset): layout as layout
6401 2002-06-24 André Pönitz <poenitz@gmx.net>
6403 * lyxfunc.C: fix #487
6405 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6409 * lyxfunc.C: remove display_shortcuts, show_banner
6411 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6413 * Buffer_pimpl.C: oops, update on resize
6415 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6422 * BufferView.C: use repaint()
6424 * BufferView_pimpl.h:
6425 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6426 as it's a clearer description. Remove superfluous
6429 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6431 * text.C: fix bug 488. Not ideal, but getting
6432 getWord() to work properly for the insets that
6433 matter is more difficult ...
6435 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6437 * BufferView_pimpl.C:
6440 * lyxfunc.C: remove the six million index lyxfuncs to just
6441 one, and DTRT (bug 458)
6443 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6447 * BufferView_pimpl.h:
6448 * BufferView_pimpl.C: clean up resize() stuff,
6449 and unnecessary updateScreen()s
6451 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6455 * BufferView_pimpl.h:
6456 * BufferView_pimpl.C:
6459 * minibuffer.C: remove focus management of workarea,
6460 not needed. Use screen's greyOut()
6462 2002-06-17 Herbert Voss <voss@lyx.org>
6464 * converter.C: (convert) do not post a message, when converting
6465 fails, let the calling function decide what to do in this case
6467 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6469 * lyxfunc.C: tidy up a little
6471 2002-06-16 <alstrup@diku.dk>
6473 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6474 Got rid of FORMS_H_LOCATION include. Now we are
6477 2002-06-15 LyX Development team <lyx@rilke>
6479 * buffer.[Ch] (sgmlOpenTag):
6480 (sgmlCloseTag): Added support for avoiding pernicious mixed
6481 content. Return number of lines written.
6484 (makeDocBookFile): Fixed calls to sgml*Tag.
6485 Simple white space clean.
6487 (simpleDocBookOnePar): Simple white space clean.
6489 * tabular.[Ch] (docBook): Renamed to docbook and got another
6490 argument to related with the pernicious mixed content.
6492 (docbookRow): Fixed calls for docbook inset method.
6494 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6496 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6497 so it's X11 independent.
6501 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6503 2002-06-15 Lyx Development team <lyx@electronia>
6505 * intl.h: Renamed getTrans to getTransManager.
6507 2002-06-14 Angus Leeming <leeming@lyx.org>
6509 * Makefile.am: nuke forgotten stl_string_fwd.h.
6511 2002-06-12 Angus Leeming <leeming@lyx.org>
6513 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6515 2002-06-13 Angus Leeming <leeming@lyx.org>
6518 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6520 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6522 * kbmap.C (getiso): add support for cyrillic and greek
6524 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6528 * BufferView_pimpl.h:
6529 * BufferView_pimpl.C: move bogus scrolling logic
6532 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6535 * BufferView_pimpl.C: view->resize() change
6537 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6539 * BufferView_pimpl.C: topCursorVisible
6542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6546 * lyx_gui.C: move to frontends/
6550 * lyx_main.C: changes from above
6552 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6559 * lyx_main.C: minor tidy
6561 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6563 * BufferView_pimpl.h:
6564 * BufferView_pimpl.C:
6566 * BufferView.C: make painter() const,
6569 * BufferView2.C: use screen() accessor
6572 * lyx_main.C: some minor cleanup
6574 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6576 * BufferView_pimpl.h:
6577 * BufferView_pimpl.C: remove enter/leaveView,
6580 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6585 * BufferView_pimpl.h:
6586 * BufferView_pimpl.C: only construct screen once,
6589 * lyxrc.C: remove pointless comment
6591 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6594 * BufferView.C: remove active() and belowMouse()
6596 * BufferView_pimpl.h:
6597 * BufferView_pimpl.C: use workarea() not workarea_,
6598 and make it use a scoped_ptr instead
6600 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6602 * lyx_gui.C: add debug message on BadWindow
6604 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6606 * sp_spell.C: fdopen is not part of the C++ standard.
6608 * paragraph.C (InsetIterator): use >= instead of ==
6610 2002-06-07 Angus Leeming <leeming@lyx.org>
6612 Fixes needed to compile with Compaq cxx 6.5.
6613 * BufferView_pimpl.C:
6620 * lyxtextclasslist.C:
6625 all c-library variables have been moved into namespace std. Wrap
6626 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6631 Add a using std::abs declaration.
6633 * kbmap.h (modifier_pair):
6634 * paragraph.h (InsetTable, InsetList):
6635 * lyxfont.h (FontBits):
6636 type definition made public.
6638 * bufferlist.C (emergencyWriteAll): the compiler complains that
6639 there is more than one possible lyx::class_fun template to choose from.
6640 I re-named the void specialisation as lyx::void_class_fun.
6642 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6644 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6645 the compiler is is unable to find tostr in write_attribute.
6647 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6649 * buffer.C (sgmlError): hide #warning
6651 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6653 * xtl/*: get rid of xtl, which is not in use anyway
6655 * LyXAction.C (init):
6656 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6657 were unimplemented xtl experimentation
6659 2002-06-04 André Pönitz <poenitz@gmx.net>
6661 * lyxfunc.C: disable array operation on simple formulae
6663 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6665 * converter.C: constify a bit
6667 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6669 * lyx_gui.C: check xforms version correctly
6671 2002-04-30 Herbert Voss <voss@lyx.org>
6673 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6676 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6678 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6679 attempt to register it with a VCS)
6681 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6683 * lyx_main.C (init): honor variables LYX_DIR_13x and
6686 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6690 * lyx_main.C: fix a crash on bad command line,
6691 and give a useful exit status on error
6693 * lyxfunc.C (doImport): allow -i lyx to work
6695 2002-03-30 André Pönitz <poenitz@gmx.net>
6697 * lyxfunc.C: mathed font changes
6699 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6714 * trans_mgr.h: srcdocs, and some minor cleanups
6716 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6718 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6719 call getFont all the time)
6721 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6723 * switch from SigC signals to boost::signals
6725 2002-05-29 André Pönitz <poenitz@gmx.net>
6727 * paragraph_pimpl.C (getChar): don't call size() too often...
6729 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6731 * paragraph_pimpl.C (insertChar): do not try to update tables when
6732 appending (pos == size())
6734 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6735 in order to reduce drastically the number of comparisons needed to
6736 parse a large document
6738 2002-05-29 André Pönitz <poenitz@gmx.net>
6744 * textclasslist.[Ch]:
6745 * sp_ispell.h: whitespace change
6747 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6749 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6750 lyxaction directly now.
6752 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6756 * lyxvc.C: remove unused headers
6758 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6765 * undo_funcs.C: some cleanups. Use shared_ptr
6766 and a template for the undo stacks.
6768 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6770 * BufferView_pimpl.h:
6771 * BufferView_pimpl.C:
6778 * text2.C: use key_state/mouse_state
6780 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6782 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6785 * chset.C: change include order
6786 (loadFile): use boost regex and get rid of LRegex and LSubstring
6788 * Makefile.am (BOOST_LIBS): new variable
6791 * LaTeX.C: change include order.
6792 (scanAuxFile): use boost regex and get rid of LRegex and
6796 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6801 * FontInfo.C: moved to frontends/xforms/
6804 * FontLoader.C: moved into frontends for GUIIzation
6809 * lyxfunc.C: changes from above
6811 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6813 * LColor.C: remove spurious X include
6815 * BufferView_pimpl.C:
6820 * text2.C: move font metrics to frontends/
6822 2002-05-24 Juergen Vigna <jug@sad.it>
6824 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6825 setting the undo_cursor.
6827 * ParagraphParameters.h: include local includes first.
6829 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6831 * BufferView_pimpl.C:
6832 * BufferView_pimpl.h:
6836 * screen.C: move WorkArea into frontends/
6842 * BufferView2.C: move LyXScreen into frontends/
6846 * lyx_gui.C: move lyxlookup into frontends/xforms/
6848 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6851 * BufferView_pimpl.C:
6861 * bufferview_funcs.C:
6874 * vc-backend.C: move LyX/XFormsView into frontends/
6876 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6888 * text2.C: move Painter to frontends/
6890 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6892 * buffer.C: comment out some some code that depend upon lyx_format
6895 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6896 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6898 * buffer.h (NO_COMPABILITY): turn off compability
6900 * ColorHandler.C: include scoped_array.hpp
6902 * font.C: Use more specific smart_ptr header.
6905 * ShareContainer.h: ditto
6909 * BufferView_pimpl.h: ditto
6910 * ColorHandler.h: ditto
6912 * kbmap.C (defkey): change call to shared_ptr::reset
6914 2002-05-21 Juergen Vigna <jug@sad.it>
6916 * buffer.C (insertErtContents): fix to insert ert asis if it is
6917 non empty. Skip it completely if it contains only whitespaces.
6919 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6921 * BufferView_pimpl.C:
6922 * BufferView2.C: clear selection on paste (bug 393)
6924 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6926 * DepTable.C: include ctime
6928 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6930 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6932 2002-05-14 Juergen Vigna <jug@sad.it>
6934 * text.C (breakParagraph): fixed function to honor the keepempty
6935 layout in the right maner and also to permit the right breaking
6936 algorithm on empty or non empyt keepempty paragraphs.
6938 * paragraph.C (breakParagraph): we have to check also if the par
6939 is really empty (!size()) for isempty otherwise we do the wrong
6942 2002-05-10 Juergen Vigna <jug@sad.it>
6944 * buffer.[Ch] : The following are only changes to the ert
6945 compatibility read reading old LaTeX layout and font stuff and
6946 convert it to ERTInsets.
6948 * buffer.h: added isErtInset().
6950 * buffer.C (struct ErtComp): add a fromlayout bool to check
6951 if we're inside a LaTeX layout.
6952 (isErtInset): new helper function.
6953 (insertErtContents): look for other ert insets before this one
6954 and insert the contents there, so that we don't have subsequent
6955 ERT insets with nothing between them. This way we create only one
6956 inset with multiple paragraphs. Also check if we don't insert only
6957 spaces ' ' as they are ignored anyway afterwards in the .tex file
6958 so if we have only spaces we will ignore this latex part in the
6960 (parseSingleLyXformat2Token \\layout): better compatibility when
6961 reading layout-latex stuff.
6962 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6964 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6965 stuff after reading the inset only get the information back from
6968 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6970 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6972 * LaTeXFeatures.C (getBabelOptions): New method.
6974 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6976 * BufferView_pimpl.C (Dispatch): work around missing argument for
6979 2002-05-08 Juergen Vigna <jug@sad.it>
6981 * text.C (leftMargin): handle paragraph leftindent.
6983 * paragraph.C (writeFile): write the new \\leftindent tag.
6984 (validate): handle leftindent code.
6985 (TeXEnvironment): handle paragraphleftindent code again.
6987 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6989 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6990 for paragrap_extra indent code and new token \\leftindent.
6991 (latexParagraphs): handle the leftindent as environment.
6993 * ParameterStruct.h: added leftindent support.
6995 * ParagraphParameters.C (leftIndent): added support functions for
6996 the paragraph left indent.
6998 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7001 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7003 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7006 * text.C (computeBidiTables): No bidi in insetERT.
7008 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7011 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7013 * version.C.in: pre 5
7015 2002-05-02 José Matos <jamatos@fep.up.pt>
7016 * buffer.C (makeDocBookFile): white space changes, add newline to
7018 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7020 * tabular.C (docBook): fix typo.
7022 2002-05-03 Juergen Vigna <jug@sad.it>
7024 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7025 change in LyXText as we can not be sure it was not freed.
7026 (drawOneRow): remove unused code.
7028 * text.C (drawInset): redo the calculation of the need_break_row as
7029 it could have a row which was already freed.
7030 (draw): look at the return value of drawInset and return false if
7031 it also returned false.
7032 (paintRowText): look at the return value of draw and return false if
7033 it also returned false.
7035 * lyxtext.h: added bool return type to drawInset() and draw() so that
7036 if we have a change in the row so that the rowbreak has to be redone
7037 we abort drawing as it will be called again.
7039 2002-05-02 Juergen Vigna <jug@sad.it>
7041 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7042 a change in the maintext also if we're inside an inset.
7043 (Dispatch): set the cursor again after a break line and after the
7044 screen has been updated as it could be we're in a different row.
7046 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7047 to set the cursor behind the pargraph with > size().
7048 (setCursor): check also for the same paragraph when checking where
7049 to put the cursor if we have a NFR inset.
7051 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7052 parts of layout read further up as it still was in the wrong
7055 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7057 * screen.C (drawFromTo): change sine fullRebreak always return
7060 * buffer.C (parseSingleLyXformat2Token): reindent some
7062 * BufferView_pimpl.C (update): change since fullRebreak always
7064 (Dispatch): git rid of the last hardcoded "Standard"s.
7066 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7068 * text2.[Ch] (fullRebreak): make it return void now that we always
7071 2002-04-30 Juergen Vigna <jug@sad.it>
7073 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7074 ert compatibility check for "latex" layout.
7076 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7078 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7079 minipages: use col% instead of p%, and also use the current font.
7080 (makeLaTeXFile): Fix use babel condition.
7081 (parseSingleLyXformat2Token): Correct font when reading old floats.
7083 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7085 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7086 inserting list of floats.
7088 2002-04-25 Herbert Voss <voss@lyx.org>
7090 * MenuBackend.C (expand): don't add the graphics extensions to the
7093 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7095 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7096 non-existing layout, do not complain if it was the default layout
7097 of the original class (bug #342)
7099 2002-04-24 Juergen Vigna <jug@sad.it>
7101 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7102 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7104 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7106 * buffer.C (getBibkeyList): If using \bibliography, return the
7107 option field with the reference itself. Enables us to provide natbib
7108 support when using \bibliography.
7110 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7112 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7114 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7115 natbib is provided by the LaTeX class.
7117 2002-04-23 Juergen Vigna <jug@sad.it>
7119 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7122 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7124 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7126 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7128 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7129 ensuremath around textordmasculine, textordfeminine and
7132 2002-04-19 Juergen Vigna <jug@sad.it>
7134 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7135 reinitializing the buffer otherwise row-dimensions may be wrong.
7136 (update): reset also the selection cursors if they do exits otherwise
7137 their x/y positions may be wrong.
7139 * text2.C (cursorDown): don't enter the inset if we came from a row
7140 above and are one row over the inset.
7142 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7143 really leaving an inset.
7145 2002-04-18 Juergen Vigna <jug@sad.it>
7147 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7148 of the selected paragraph does not have the selected layout also if
7151 * text2.C (setLayout): fixed bug which did not change last selected
7154 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7155 changed the read and substituted \\end_float with \\end_inset!
7157 * BufferView_pimpl.C (cursorPrevious):
7158 (cursorNext): fixed to make it work with rows heigher than the work
7159 area without moving the cursor only the draw of the row.
7160 (workAreaMotionNotify): fix jumping over high rows.
7162 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7164 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7167 2002-04-16 Juergen Vigna <jug@sad.it>
7169 * text2.C (setCursor): set also the irow().
7170 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7172 (cursorDown): support for locking an inset if the x_fix value goes
7173 inside it. That way I can transverse insets too with cursor up/down.
7175 * lyxrow.h: added irow helper function same as other (i) functions.
7177 * BufferView_pimpl.C (cursorPrevious):
7178 (cursorNext): fixed for insets!
7180 2002-04-15 Juergen Vigna <jug@sad.it>
7182 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7183 position otherwise it is wrong in some cases.
7185 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7186 inside the inset before the call.
7188 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7190 * buffer.[Ch] (getBibkeyList): make it const.
7192 2002-04-12 Juergen Vigna <jug@sad.it>
7194 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7196 * text2.C (getCursorX): new helper function
7197 (setCursor): compute also ix_
7198 (setCursorFromCoordinates): set also ix.
7200 * lyxcursor.h: added ix_ and helper functions.
7202 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7204 * buffer.C (insertStringAsLines): dont break paragraph if the this
7205 paragraph is inside an inset which does not permit it!
7207 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7208 also with no chars on this paragraph.
7209 (paintRowText): only paint stuff if it's inside the workarea!
7211 * paragraph.C (breakParagraph): honor keepempty flag and break the
7212 paragraph always below not above.
7214 * BufferView2.C (unlockInset): update the paragraph layout on inset
7215 unlock as we changed paragraph in such a case.
7217 * lyxfind.C (LyXFind): clear the former selection if not found!
7219 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7220 again called in insertChar().
7222 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7223 an inset which uses the whole row!
7224 (rightMargin): ditto.
7225 (insertChar): force a rebreak if we inserted an inset!
7227 2002-03-28 Herbert Voss <voss@lyx.org>
7229 * lyxlength.[Ch]: add inBP() to get the right PS-point
7230 units (BigPoint). With inPixels we have rounding errors
7232 2002-04-11 Juergen Vigna <jug@sad.it>
7234 * text2.C (setCursorFromCoordinates): set iy to the right value.
7235 (setCursor): add check if row->previous exists!
7237 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7238 an old float_type as this was the case in the old code!
7240 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7242 * BufferView2.C (showLockedInsetCursor): use iy
7243 (fitLockedInsetCursor): ditto
7245 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7246 locked insets as there we have the right value now.
7248 * lyxcursor.C: added iy_ variable and iy functions to set to the
7249 baseline of cursor-y of the locked inset.
7251 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7252 (setCursor): fixed for insets which need a full row.
7254 * text.C (rowLastPrintable): don't ignore the last space when before
7255 an inset which needs a full row.
7256 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7257 as last character of a row when before a inset which needs a full row.
7259 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7261 * version.C.in: update date
7263 * text2.C (fullRebreak): try to always return true and see what
7266 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7268 * MenuBackend.C (expand): use Floating::listName
7270 * FloatList.C (FloatList): add listName argument to the built-in
7273 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7274 text associated with the float.
7276 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7278 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7280 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7282 * ShareContainer.h: add a couple of missing typenames.
7284 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7286 * lyxrc.C (getDescription): use _() correctly rather than N_().
7288 2002-03-28 Herbert Voss <voss@lyx.org>
7290 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7291 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7293 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7295 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7296 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7298 2002-03-29 Juergen Vigna <jug@sad.it>
7300 * lyxfunc.C (dispatch): add a missing fitCursor call.
7302 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7303 it was scrolled by a cursor move, so return the bool status.
7305 * BufferView.C (fitCursor): return the bool flag also to the outside
7306 world as this is needed.
7308 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7310 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7311 call the edit() as it is not needed (and wrong) IMO.
7312 (workAreaButtonPress): set the screen_first variable before evt.
7313 unlock the inset as this may change screen_first and then we have
7314 a wrong y position for the click!
7316 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7318 * MenuBackend.C (expand): another translation that I missed
7320 2002-03-28 Juergen Vigna <jug@sad.it>
7322 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7324 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7326 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7330 * MenuBackend.C (expand): fix export/view/update when there is no
7333 2002-03-27 Herbert Voss <voss@lyx.org>
7335 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7338 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7340 * bufferview_funcs.C (currentState): only show paragraph number
7341 for is DEVEL_VERSION is set.
7343 * lyxfunc.C (dispatch): put warning in INFO channel
7345 * MenuBackend.C (expand): translate the name of floats
7347 * FloatList.C (FloatList): mark the float names for translation
7349 * converter.C (convert): use LibScriptSearch
7351 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7353 * MenuBackend.C (defaults): fix default menu (we might as well get
7356 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7358 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7361 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7363 * lyxvc.C: reorder includes.
7365 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7367 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7370 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7372 * CutAndPaste.C: change layouts earlier on paste
7373 to avoid crashing when calling getFont()
7375 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7377 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7380 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7382 * WorkArea.C: remove 'Pending' debug message.
7384 * most files: ws cleanup
7386 * buffer.[Ch]: ws changes
7388 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7390 2002-03-21 Juergen Vigna <jug@sad.it>
7392 * tabular.C (SetMultiColumn): collapse also the contents of the
7393 cells and set the last border right. Added a Buffer const * param.
7395 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7397 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7400 2002-03-19 Juergen Vigna <jug@sad.it>
7402 * text2.C (clearSelection): reset also xsel_cache.
7404 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7405 where it needs to be called (John tells us to do so too :)
7406 (selectionLost): reset sel_cache.
7408 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7410 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7412 * text2.C (setCursorIntern): put debuging code in INSETS channel
7414 2002-03-19 André Pönitz <poenitz@gmx.net>
7416 * lyxfunc.C: tiny whitespace change
7418 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7420 * ToolbarDefaults.C (init):
7421 * LyXAction.C (init):
7423 * BufferView_pimpl.C (Dispatch):
7424 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7426 2002-03-19 Allan Rae <rae@lyx.org>
7428 * exporter.C (Export): removeAutoInsets before doing anything else.
7429 While I've just introduced a dependency on BufferView this really is
7430 the best place to clean the buffer otherwise you need to cleanup in
7431 a dozen places before calling export or cleanup in a dozen functions
7434 * converter.C (runLaTeX):
7435 (scanLog): Better handling of removeAutoInsets and screen updates.
7437 * lyxfunc.C (dispatch): small whitespace changes
7439 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7441 * WorkArea.C (C_WorkAreaEvent): return a value.
7442 (event_cb): return 1 if we handled the event, 0 otherwise.
7444 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7446 2002-03-18 Juergen Vigna <jug@sad.it>
7448 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7449 (GetAdditionalWidth): ditto.
7453 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7454 inset if we're there actually (probably not used right now but this
7455 is the direction to go for unifying code).
7456 (paste): disable code to clear the selection.
7458 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7459 inside an InsetText and move the check further up as it is in the
7462 * text2.C (pasteSelection): set a selection over the pasted text.
7464 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7466 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7467 and libgraphics to build on Cygwin.
7469 2002-03-15 Juergen Vigna <jug@sad.it>
7471 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7472 inserting an Inset into the paragraph. I know this is not the best
7473 fix but we already use current_view in CutAndPaste so we will remove
7474 all of it's using at the same time.
7476 * buffer.C (sgmlError): deactivated function till it is rewritten in
7477 the right mode, now it can create problems.
7479 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7480 before accessing it.
7482 2002-03-14 Juergen Vigna <jug@sad.it>
7484 * undo_funcs.C (textHandleUndo): do the right thing when updating
7485 the inset after the undo/redo.
7487 * text2.C (setCursor): just some testcode for #44 not ready yet.
7489 * undo_funcs.C (textHandleUndo): set the next() and previous()
7490 pointers of the paragraph to 0 before deleting otherwise we have
7491 problems with the Paragraph::[destructor].
7493 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7494 on a paragraph insertion.
7496 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7498 * buffer.C (asciiParagraph): use += operator for char append to
7501 * paragraph.C (getFontSettings): compare >= not just >
7502 (highestFontInRange): ditto
7505 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7507 * paragraph.C: change several algorithm to be more appripriate for
7508 the problem domain. This is lookip in FontList and in the InsetList.
7510 2002-03-13 André Pönitz <poenitz@gmx.net>
7513 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7515 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7520 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7522 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7524 * Painter.C (display): anon helper function, adjust code for this
7526 (pixmap): remove function.
7528 * Painter.h: remove private display variable.
7530 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7532 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7534 * WorkArea.[Ch]: remove figinset_canvas cruft.
7536 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * lyxtextclass.C (operator): add one item cache optimization.
7540 * bufferlist.h: doxy changes
7542 * bufferlist.C: ws changes
7544 * DepTable.[Ch] (ext_exist): place const in the right spot.
7546 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7548 (workAreaExpose): call resizeInsets when the with BufferView changes.
7549 (Dispatch): adjust for protectedBlank removal
7550 (specialChar): call updateInset if the insert went ok.
7552 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7553 specialChar instead.
7555 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7557 * BufferView.h: doxy change
7559 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7561 * lyxtextclass.C (operator[]): remove non-const version
7562 (defaultLayout): remove non-const version
7564 2002-03-12 Juergen Vigna <jug@sad.it>
7566 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7567 did resize the LyXText too.
7569 * buffer.C (readLyXformat2): set layout information on newly allocated
7572 * tabular.C (OldFormatRead): set layout information on the paragraph.
7574 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7576 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7578 2002-03-11 Juergen Vigna <jug@sad.it>
7580 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7582 (resizeCurrentBuffer): force also the insets to resize themselfes.
7583 (moveCursorUpdate): fixed up for InsetText.
7585 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7588 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7589 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7590 value of Dialogs::tooltipsEnabled().
7591 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7593 2002-03-08 Juergen Vigna <jug@sad.it>
7595 * BufferView_pimpl.C (updateInset): update inset inside inset also
7596 if it isn't inside theLockingInset().
7598 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7600 * buffer.C (asciiParagraph): redo some of the word and line length
7602 (getLists): look for Caption instead of caption.
7604 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7606 * buffer.C (Buffer): initialize niceFile to true
7609 (makeDocBookFile): make sure niceFile is true on exit
7611 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7613 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7615 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7617 * LyXSendto.C: remove.
7618 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7619 * lyx_gui.C: remove now-redundant comment.
7620 * ColorHandler.h: remove forward declaration of class WorkArea.
7621 * lyxfunc.C: remove #include "WorkArea.h".
7623 2002-03-07 Juergen Vigna <jug@sad.it>
7625 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7626 got moved away with the DEPM and also set the inset_owner always
7627 right which before could have been omitted.
7629 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7631 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7632 wanted layout is not found.
7634 2002-03-07 Juergen Vigna <jug@sad.it>
7636 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7638 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * paragraph.C (breakParagraph): use default layout not layout of
7642 (Paragraph): clear ParagraphParameters.
7644 2002-03-06 Juergen Vigna <jug@sad.it>
7646 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7647 otherwise it would not be a valid lenght. Fixed a special case in
7648 the minipage compatibility read where we end the document with a
7651 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7652 was set as it could be 0 for InsetTexts first entry.
7654 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7656 * paragraph.C (writeFile): if layout is empty write out
7657 defaultLayoutName().
7659 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7660 file without named layout we set layout to defaultLayoutName().
7662 2002-03-06 Juergen Vigna <jug@sad.it>
7664 * CutAndPaste.C (copySelection): set layout for new paragraph.
7666 * text.C (prepareToPrint): leave ERT inset left aligned
7667 (leftMargin): don't indent paragraphs inside ERT insets
7669 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7671 * paragraph.C (breakParagraph): dont call clear do the work manually
7673 * paragraph.[Ch] (clear): remove function
7675 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * paragraph.C (Paragraph): dont call clear, the work has already
7680 * lyxtextclass.C (operator): assert if n is empty
7682 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7683 work manually instead.
7685 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7687 * BufferView_pimpl.C: protect selectionLost against text == 0
7689 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7691 * text.C (breakParagraph): fix a setting layout to '0' problem.
7693 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7695 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7696 final location of file, for the included files, and graphics.
7698 2002-03-05 Juergen Vigna <jug@sad.it>
7700 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7702 2002-03-04 Juergen Vigna <jug@sad.it>
7704 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7706 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7707 last column of multicolumn cells.
7708 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7710 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7712 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7713 file if it doesn't go to a temporary file.
7715 * buffer.C (sgmlOpenTag):
7716 (sgmlCloseTag): remove extra newline insertion.
7718 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7720 * text.C (getRowNearY): comment out debug msg
7722 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7724 * text2.C: first -> first_y
7726 * text.C (getRowNearY): add some attemts at a possible
7727 optimization, not working.
7729 * tabular.[Ch]: add BufferParams to several function so that newly
7730 created paragraph can be initialized to he default layotu for the
7733 * tabular-old.C (ReadOld): add buf->params to call of Init
7735 * screen.C: rename text->first to text->first_y
7737 * paragraph.C (breakParagraph): always set layout in the broken
7740 * lyxtextclass.C (Read): remove lowercase
7743 (delete_layout): ditto
7745 * lyxtext.h: rename first -> first_y
7747 * lyxlayout.C (Read): remove lowercase
7750 (obsoleted_by): ditto
7752 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7754 * buffer.C (insertErtContents): add params are to InsetERT
7755 (parseSingleLyXformat2Token): add code to check if a paragraphs
7756 layout really exist.
7757 (parseSingleLyXformat2Token): add params to several inset
7759 (asciiParagraph): remove lowercase, do the layout comparisons with
7762 * BufferView_pimpl.C (cursorNext): first -> first_y
7763 (resizeCurrentBuffer): first -> first_y
7764 (updateScrollbar): first -> first_y
7765 (scrollCB): first -> first_y
7766 (workAreaMotionNotify): first -> first_y
7767 (workAreaButtonPress): first -> first_y
7768 (checkInsetHit): first -> first_y
7769 (cursorPrevious): first -> first_y
7770 (cursorNext): first -> first_y
7771 (Dispatch): add buffer_->params to severl inset contructors
7773 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7775 * lyxlayout.C (Read): remove some debug info that I forgot.
7777 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7778 clean up the code slightly.
7779 (makeLinuxDocFile): ditto
7780 (makeDocBookFile): ditto
7782 * text2.C: layout as string
7784 * text.C: layout as string
7786 * paragraph_pimpl.C: layout as string
7788 * paragraph.[Ch]: layout as string
7790 * lyxtextclasslist.[Ch]: layout as string
7792 * lyxtextclass.[Ch]: layout as string
7794 * lyxtext.h: layout as string
7796 * lyxlayout.[Ch]: layout as string
7798 * lyx_cb.C: layout as string
7800 * bufferview_funcs.C: layout as string
7802 * bufferparams.C: layout as string
7804 * buffer.C: layout as string
7806 * LyXView.[Ch]: layout as string
7808 * LaTeXFeatures.[Ch]: layout as string
7810 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7812 * BufferView_pimpl.C: change current_layout to string, remove
7817 (workAreaButtonRelease): layout as string
7819 * BufferView2.C (unlockInset): adjust
7821 * vspace.C (asLatexCommand): use an explict temp variable.
7823 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7825 * Makefile.am: use FRONTEND_*
7827 2002-03-01 Juergen Vigna <jug@sad.it>
7829 * tabular.C (SetWidthOfMulticolCell): changed to something better
7830 I hope but still work in progress.
7831 (recalculateMulticolumnsOfColumn): renamed function from
7832 recalculateMulticolCells as it is more appropriate now.
7833 (SetWidthOfCell): calculate multicols better.
7835 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7837 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7839 * lyxfunc.C (processKeySym): print sequence also if it is
7840 `deleted' (complete)
7842 * kbsequence.C (print): print sequence even if it is deleted
7843 (complete would be a better word, actually).
7845 * lyxfunc.C (dispatch): print complete options after a prefix key
7847 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7849 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7851 * text2.C (setCharFont): eliminate setCharFont code duplication.
7853 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7855 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7856 LFUN_TABULAR_FEATURE (bug #177)
7858 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7860 * Makefile.am: remove figure.h
7862 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7864 * Bufferview_pimpl.C:
7876 * text2.C: remove #include "lyx_gui_misc.h".
7878 * LaTeX.C: added #include <cstdio>
7880 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7882 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7883 that the paragraph following this one can have.
7885 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7887 * vspace.C (asLatexCommand): fix bogus gcc warning
7889 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7891 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7893 * text2.C (setLayout): get rid of redundant code
7895 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7897 * text2.C (incDepth): make sure depth cannot be increased beyond
7900 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7902 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7903 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7905 * PainterBase.h (image):
7906 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7909 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7913 * BufferView_pimpl.C:
7914 * BufferView_pimpl.h:
7934 * sp_spell.C: remove fig inset, and the crap house of
7935 cards that follows it
7937 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7943 * nt_defines.h: move .h into support/
7945 * vms_defines.h: remove
7947 * WorkArea.C: add space in debug output
7951 * buffer.C: add WITH_WARNINGS
7955 * bufferlist.C: s/retrive/retrieve/, add docs
7966 * lyxgui.C: add ID to X error handler
7968 * lyxtestclass.c: fix typo
7970 2002-02-26 Juergen Vigna <jug@sad.it>
7972 * tabular_funcs.C (write_attribute): changed so that some default
7973 attributes are not written at all.
7974 (getTokenValue): set default values before trying to read the
7975 value so we have the return value always set as default if we don't
7976 find the token we search for.
7978 * tabular.C (Write): write bools as bools not as strings!
7980 2002-02-22 Juergen Vigna <jug@sad.it>
7982 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7983 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7985 * text.C (leftMargin): don't add an indent for paragraphs inside
7986 tabular cells (fix #208).
7988 2002-02-21 José Matos <jamatos@fep.up.pt>
7990 * tabular.C (docBook): fixed support for long tables.
7992 2002-02-20 Juergen Vigna <jug@sad.it>
7994 * text2.C (getFont): get the drawing font of the Inset if this
7995 paragraph is inside an inset (only important for InsetERT for now).
7997 * buffer.C (insertErtContents): use new lanugage params in ERT
8000 * CutAndPaste.C: commenting out seemingly uneeded code.
8002 2002-02-19 Allan Rae <rae@lyx.org>
8004 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8005 Iterators might be simple to use but they also get invalidated.
8006 (removeAutoInsets): renamed saved cursor tracking variables and added
8007 some comments to clarify what everything does.
8009 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8016 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8017 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8020 * vc-backend.h: remove #include "support/syscall.h"
8024 * converter.C: rearrange #includes in Lars' approved fashion.
8026 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8027 forward declare class Timeout in the header file.
8029 * XFormsView.C: changes due to the above.
8031 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8034 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8035 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8037 2002-02-18 José Matos <jamatos@fep.up.pt>
8039 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8042 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8044 * a lot of small ws changes
8045 * add a lot of using std::XXX
8046 * use std construcs some places where approp.
8047 * use some exisint stuff from lyxfunctional where approp.
8048 * Make file changes to use partial linking (lets test this now...)
8050 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8054 remove #include "support/syscontr.h" as it's redundant. Always has been.
8062 change Systemcalls::System to Systemcalls::Wait and
8063 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8064 No change of functionality, just reflects the stripped down Systemcalls
8067 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8069 * debug.[Ch]: add a GRAPHICS type to the enum.
8071 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8073 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8075 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8078 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8080 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8081 match the changes below.
8083 * text2.C (toggleInset): if there is not editable inset at cursor
8084 position, try to see if cursor is _inside_ a collapsable inset
8087 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8089 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8090 document menu has a nice checkbox
8092 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8094 * lyxlength.C (asLatexString): change PW to output as percent of
8097 * lengthcommon.C: change '%' to 't%'
8099 * lyxfunc.C (dispatch): a few comments from Martin
8101 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8105 * BufferView_pimpl.h:
8106 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8109 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8111 * vspace.C (inPixels): fix compiler warning
8113 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * lyxfunc.C (getStatus): fix status message for disabled commands.
8117 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8119 * BufferView_pimpl.C: fix crash on close buffer
8120 during selection (#227)
8122 2002-01-27 Herbert Voss <voss@lyx.org>
8124 * buffer.C: link old Figure to new graphic inset
8126 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8128 * FontLoader.C (getFontinfo): Change the latex font names in order
8129 to match the names of type1inst.
8131 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8133 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8135 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8138 (remove_files_with_extension): ditto
8139 (remove_file): ditto
8142 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8143 document is smaller than the work area height. Do not initialize
8144 static variables to 0.
8146 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8150 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8151 LFUN_LAYOUT_PARAGRAPHS.
8153 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8154 tabular. It is possible to provide a possible cell, which will
8155 typically be the actcell from the corresponding insettabular
8157 * lyxfunc.C (getStatus): small cleanup; disable
8158 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8161 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8163 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8165 * paragraph.C (startTeXParParams):
8166 (endTeXParParams): new methods. The LaTeX code to
8167 start/end paragraph formatting
8168 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8169 empty (fixes bug #200)
8171 * vspace.C (inPixels): adapt to the change below
8172 (inPixels): [later] more cleanups (remove unused variables)
8174 * lyxlength.C (inPixels): change to use a width and a height as
8177 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8180 Replaced with \paperwidth
8182 * DepTable.C (insert): add std:: qualifier
8184 2002-01-18 Allan Rae <rae@lyx.org>
8186 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8189 * text.C (drawInset): Turned out I didn't know enough about how
8190 rebreaking worked. This fixes most of the redraw problems. I see
8191 an occasional cursor trail when a line is broken now and the cursor
8192 placement can seem out by a few pixels also after a rebreak.
8194 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8196 * buffer.C (parseSingleLyXformat2Token): update because minipage
8197 width is now a LyXLength
8199 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8201 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8204 2002-01-17 Juergen Vigna <jug@sad.it>
8206 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8208 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8209 is set correctly and the inset is updated correctly.
8211 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8213 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8214 the beginning of the loop.
8216 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8218 * lyxrc.C: improve help for use_scalable_fonts
8220 2002-01-17 Allan Rae <rae@lyx.org>
8222 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8224 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8227 make sure to set their inset_owner to the right value (bug #171)
8229 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8232 * DepTable.C: Implement mtime checking to reduce time spent doing
8235 2002-01-16 Juergen Vigna <jug@sad.it>
8237 * tabular.C (GetAdditionalHeight): one of error fixed.
8239 * lyxrc.C (output): small fix in writing use_pspell.
8241 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8243 * sp_base.h: #include LString.h
8245 2002-01-16 Allan Rae <rae@lyx.org>
8247 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8248 Can someone check this please?
8250 * text.C (drawInset): It was possible that p.row would be removed by
8251 breakAgainOneRow upsetting a few other settings. There may be another
8252 small tweak possible by setting need_break_row = 0 when p.row has been
8253 removed but I don't know enough about the logic here.
8255 2002-01-15 Allan Rae <rae@lyx.org>
8257 * text.C (insertChar): removed conditional truism.
8259 * BufferView2.C (removeAutoInsets): More tweaks.
8260 cur_par_prev could be a stray pointer. Check for trailing empty line
8261 in case last line was cur_par and only had an error inset on it.
8263 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8265 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8268 * vc-backend.C (most methods):
8269 * exporter.C (Export):
8270 * converter.C (convert):
8272 * LyXSendto.C (SendtoApplyCB):
8273 * lyxfunc.C (dispatch):
8277 * lyx_cb.C (AutoSave):
8279 * BufferView_pimpl.C (MenuInsertLyXFile):
8280 * buffer.C (runChktex): use Buffer::filePath().
8282 * buffer.h: rename filename to filename_; rename filepath to
8283 filepath_ and make it private
8284 (filePath): new method
8286 * buffer.C (writeFile): use fileName()
8289 * lyx_main.C (init): fix starting of LyX when the binary is a
8290 link from so,ewhere else.
8292 * minibuffer.C: include <cctype> for isprint
8294 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8296 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8297 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8298 name clash with InsetCollapsable's width function.
8300 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8302 * lastfiles.C: include <iterator>
8304 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8306 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8309 * buffer.C (makeLaTeXFile): ditto.
8310 Also make loop operation more transparent.
8312 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8314 * ToolbarDefaults.C: remove trailing comma closing namespace.
8316 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8318 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8321 * trans.C (Load): comment out unused variable, allowed.
8323 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8325 * minibuffer.[Ch] (append_char): new method to recieve input from the
8326 drop-down completion browser. If a key was pressed, then recieve this
8327 char and append it to the existing string.
8328 (peek_event): modify the positioning data passed to the completion
8329 browser so that it can be placed above the minibuffer rather than below.
8330 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8332 * LyXAction.C (init): alloe error-next for readonly documents.
8334 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8337 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8339 * bufferlist.C (readFile): create the buffer _after_ checking that
8342 * lyxfunc.C (verboseDispatch): fix handling of arguments
8344 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8346 * lyxrc.C: use string::erase() instead of initializing to "".
8349 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8351 * BufferView_pimpl.h:
8352 * BufferView_pimpl.C:
8355 * text2.C: tell X when we have made a selection for copying
8357 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8359 * BufferView_pimpl.C (MenuInsertLyXFile):
8360 * lyxfunc.C (menuNew):
8362 (doImport): add shortcuts to directory buttons
8364 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8367 * lyxfunc.C (setStatusMessage):
8368 (getStatusMessage): new methods
8369 (getStatus):use setStatusMessage instead of setErrorMessage
8370 (dispatch): when function is disabled, set error message here
8371 [instead of in getStatus previously]
8373 * BufferView_pimpl.C (workAreaButtonRelease): update
8374 toolbar/menubar here too.
8376 2002-01-13 Allan Rae <rae@lyx.org>
8378 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8379 Now seems indestructible. Remaining task is to audit all other
8380 code affected by deleteEmptyParagraphMechanism. One small quirk
8381 left is that an empty document with an error in the preamble can
8382 be made to report an error but no error box appears. I don't know
8384 (removeAutoInsets): Improved comments.
8386 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8389 * Thesaurus.C: update for Aiksaurus 0.14
8391 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8393 * text2.C (firstParagraph): removed member function, all uses
8394 replaces with ownerParagraph
8395 (redoParagraphs): here
8397 (toggleAppendix): here
8398 * BufferView2.C (insertErrors): here
8399 (setCursorFromRow): here
8401 2002-01-13 Allan Rae <rae@lyx.org>
8403 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8404 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8405 There is still a way to segfault this although you may have to do this
8406 multiple times: Have an InsetERT with an unknown command in it.
8407 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8408 <down-arrow>, <Enter> again, View->DVI, BANG!
8410 * text2.C (setCursor):
8411 (deleteEmptyParagraphMechanism):
8412 * lyxtext.h (setCursor):
8413 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8414 Making use of the return value may help fix other bugs.
8416 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8418 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8420 * LyXView.C (updateMenubar): call MenuBar::update here
8421 (updateToolbar): but not here
8422 (showState): do not update toolbar/menubar
8424 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8425 should need to care about that.
8427 * lyxfunc.C (verboseDispatch): simplify a bit
8428 (getStatus): have a version which takes a pseudoaction, and
8429 another which requires a (kb_action,string).
8431 * LyXAction.C (retrieveActionArg): make it work also when action
8432 is not a pseudo-action.
8433 (getActionName): simplify a bit
8436 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8438 * lyxfunc.C (verboseDispatch): new families of methods with
8439 several ways to specify a command and a bool to indicate whether
8440 the command name and shortcut should be displayed in minibuffer
8441 (eventually, we could extend that to a finer bitmask like
8442 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8443 (dispatch): the pristine dispatch command which just, well,
8444 dispatchs! Note it still sets its result to minibuffer; I'm not
8447 * lyxfunc.h: remove setHintMessage
8449 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8451 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * BufferView_pimpl.C (specialChar): delete new inset if we have
8454 not been able to insert it.
8456 * kbmap.C: revert to using int instead of kb_action, since all we
8457 are dealing with is pseudo-actions.
8459 * LyXAction.C (searchActionArg): change to return int instead of
8460 kb_action, since the result is a pseudoaction.
8462 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8464 * buffer.C (insertErtContents): Fix (partially) the font bug.
8466 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8468 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8469 as the other one is broken on my machine!
8471 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8474 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8476 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8478 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8479 reflect their actual use. Provide compatibility code for older lyxrc
8482 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8484 change names of popup font variables in line with the changes to lyxrc.C
8486 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8488 * buffer.C (asciiParagraph): avoid outputing a word twice after
8491 * lyxrc.C (getDescription): document that document_path and
8492 template_path can be empty.
8494 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * LaTeXFeatures.C (getMacros):
8497 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8499 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8501 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8503 (getPackages): rename feature "floats" to "float". Use an array to
8504 iterate over 'simple' features (i.e. just a \usepackage). Add
8505 handling of "amsmath" (renamed from "amsstyle").
8507 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8509 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8512 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8514 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8515 FuncStaus::FuncStatus & FuncStaus::some_method().
8517 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8519 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8520 of the func_satus stuff. Edited and massaged in various ways by
8523 * lyxfunc.C (getStatus): use FuncStatus
8525 2002-01-08 Juergen Vigna <jug@sad.it>
8527 * text.C (nextBreakPoint): use function Inset::isChar().
8529 * paragraph.C (TeXOnePar): use function
8530 Inset::forceDefaultParagraphs.
8532 * buffer.C (latexParagraphs): use function
8533 Inset::forceDefaultParagraphs.
8535 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8537 * lyx_gui.C (init): set the style of the menu popups to
8538 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8540 2002-01-07 Juergen Vigna <jug@sad.it>
8542 * text.C (setHeightOfRow): small fix
8543 (prepareToPrint): don't look at alignment if we don't have the place
8546 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8548 * box.C: New file. Move the Box methods and functions out of box.h,
8549 following Lars' suggestion.
8551 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8553 * box.h: #include "support/LOstream.h", needed for inlined function.
8556 * lyxtextclasslist.C: added some using std declarations.
8558 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8560 * box.h: make signed dimensions to allow insets wider than
8561 the screen (bug #162)
8563 * BufferView_pimpl.C: add some insetHit debug
8565 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8567 * vc-backend.C: add FIXME
8569 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8571 * lyxfunc.C (getStatus): enable code for showing math font status
8574 2002-01-07 Juergen Vigna <jug@sad.it>
8576 * text.C (nextBreakPoint): removed debug output not needed anymore.
8578 2002-01-06 Juergen Vigna <jug@sad.it>
8580 * text.C (nextBreakPoint): fixed up this function we had this bug
8581 since ever but now hopefully we break row better.
8582 (insertChar): we have to check if an inset is the next char as it
8583 could now happen that a large inset is causing a break.
8585 2002-01-05 Juergen Vigna <jug@sad.it>
8587 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8588 if it doesn't like to be drawed.
8590 2002-01-04 Juergen Vigna <jug@sad.it>
8592 * BufferView2.C (lockInset): forgot to set a cursor.
8594 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8596 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8601 * form_maths_panel.C:
8602 * form_maths_panel.h:
8603 * form_maths_panel.fd: implemented sub- and super- buttons in math
8606 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8607 (or ^ space) to be used as in TeX (req'd by André).
8609 * lyxfunc.C: Allow ^ and _ again to be used both as
8610 super/subscript (mathed) and as themselves (in text).
8612 2002-01-03 Allan Rae <rae@lyx.org>
8614 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8615 "LyX" or the filename of the current buffer if it has one. This is a
8616 modified form of John Levon's patch.
8618 * XFormsView.C (setWindowTitle): also set icon title.
8620 * LyXView.h (setWindowTitle): signature changed.
8621 * XFormsView.h (setWindowTitle): ditto.
8623 2002-01-02 Juergen Vigna <jug@sad.it>
8625 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8627 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8629 * screen.C (topCursorVisible): introduce a temp var for
8630 text->cursor.row(), handle the case where this row is null. (kindo
8633 * text2.C (setCursor): add a couple of asserts.
8635 * paragraph.h (inset_iterator): add -> operator
8637 * paragraph.[Ch] (autoDeleteInsets): remove member function
8639 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8640 cursor pos correctly and handle inset deletion by itself.
8641 (insertErrors): move iterator declaration out of for expression
8643 * lyxtextclass.C: add <algorithm>
8645 * Makefile.am: added the new files to sources, removed layout.C
8647 * layout.C: removed file
8649 * layout.h: remove LYX_DUMMY_LAYOUT
8651 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8655 * lyxtextclass.[Ch]:
8656 * lyxtextclasslist.[Ch]: new files
8658 * include order changes to a lot of files, also changes because of
8661 2001-12-27 Juergen Vigna <jug@sad.it>
8663 * buffer.C (asciiParagraph): more fixes.
8665 * tabular.C (ascii): make ascii export support export of only the
8666 data separated by a column-delimiter.
8667 (ascii): better support for ascii export.
8669 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8671 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8673 * tabular_funcs.C: use a "using std::getline" instead of the
8674 previous fix from Angus (necessary for cxx + lyxstring)
8676 2001-12-24 Juergen Vigna <jug@sad.it>
8678 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8680 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8681 problems. First check a minipage also if we have some ert-contents
8682 (not only on par->size(), second set the right depth of the paragraph
8683 on the relink to the root-paragraph-list!
8685 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8686 which then did not anymore update the main paragraphs on undo/redo!
8688 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8690 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8691 code. Support all font-changing funcs (even those which are not in
8692 menu currently). Support for reporting font settings in
8693 mathed (disabled until Andre provides a function on mathed's side).
8695 * func_status.h (toggle): small helper function to set toggle
8698 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8700 * tabular_funcs.C: getline -> std::getline
8702 2001-12-21 Juergen Vigna <jug@sad.it>
8704 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8705 accessed and could be 0 (I couldn't generate this but it seems
8708 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8710 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8711 * tabular_funcs.h: here and include iosfwd
8713 2001-12-20 Juergen Vigna <jug@sad.it>
8715 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8716 inside inset but undo_par was.
8718 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * Thesaurus.C: always include <config.h> in sources.
8724 * box.h: do not include <config.h> in header files
8726 * text.C (paintLastRow): remove unused variable
8728 * text.C (transformChar):
8730 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8733 * font.C (width): rewrite to use uppercase() instead of
8736 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8738 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8740 * lyxfind.C: clean up of find failure position change
8742 2001-12-20 Juergen Vigna <jug@sad.it>
8744 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8746 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8747 (TeXRow): added to LaTeX a single tabular row.
8748 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8749 (Latex): simplified and finally good LT-h/f support.
8750 (various_functions): just small adaptions for LT-h/f support.
8752 * tabular_funcs.[hC]: added and moved here all not classfunctions
8755 2001-12-19 Juergen Vigna <jug@sad.it>
8757 * tabular.[Ch]: better support for longtabular options (not finished
8760 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8762 * text.C (paintLastRow): use the label font instead of the font of
8763 the last character to compute the size of *_BOX. This makes more
8764 sense and avoids a crash with empty paragraphs.
8765 Use Painter::rectangle to draw EMPTY_BOX.
8767 2001-12-19 Juergen Vigna <jug@sad.it>
8769 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8770 the paragraphs if the replaced paragraph is not the first one!
8771 Tried to delete not used paragraphs but does not work yet so for
8772 now it's inside #ifdef's and by default off!
8774 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8776 * MenuBackend.C: include "lyx_main.h" instead of declaring
8777 lastfiles (actually was declared as LastFiles* instead of a
8780 2001-12-17 Juergen Vigna <jug@sad.it>
8782 * tabular.C (AppendColumn): applied John's fix
8784 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8788 * BufferView_pimpl.h:
8789 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8792 * box.h: new start of class for above
8794 * lyxfunc.C: ignore space-only minibuffer dispatches.
8795 Show the command name when it doesn't exist
8797 * minibuffer.C: don't add empty lines to the history
8799 * minibuffer.C: add a space on dropdown completion
8801 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8803 * text.C: fix line above/below drawing in insets
8805 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8807 * lyxlength.C (LyXLength): Initialize private variables.
8809 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8812 when inserting error insets.
8814 2001-12-13 Juergen Vigna <jug@sad.it>
8816 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8817 actually sometimes the before-paragraph.
8818 (setUndo): don't clear the redostack if we're not actually undoing!
8820 2001-12-06 Juergen Vigna <jug@sad.it>
8822 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8823 and fixed redoing of main paragraph, so we can use it now ;)
8825 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8827 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8832 2001-12-13 André Pönitz <poenitz@gmx.net>
8835 * undo_func.C: minor cleanup
8837 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8839 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8840 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8841 font in urw-fonts package which is marked as -urw-fontspecific and
8842 does not work (incidentally, changing the encoding in the
8843 fonts.dir of this package to -adobe-fontspecific fixes the
8846 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8847 is a crash when undoing first paragraph (Juergen, please take a
8848 look). THis does not mean the undo fix is wrong, just that it
8851 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8852 the (Paragraph*) version when needed instead of duplicating the
8855 * text.C (workWidth): use Inset::parOwner to find out where the
8856 inset has been inserted. This is a huge performance gain for large
8857 documents with lots of insets. If Inset::parOwner is not set, fall
8858 back on the brute force method
8860 * paragraph_pimpl.C (insertInset):
8861 * paragraph.C (Paragraph):
8862 (cutIntoMinibuffer): set parOwner of insets when
8863 inserting/removing them
8865 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8867 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8873 * mathed/formulabase.C:
8874 * mathed/math_cursor.[Ch]:
8875 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8878 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * lyxlength.[Ch] (operator!=): new function
8882 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * text.C (workWidth): use Inset::parOwner to find out where the
8885 inset has been inserted. This is a huge performance gain for large
8886 documents with lots of insets. If Inset::parOwner is not set, fall
8887 back on the brute force method
8889 * paragraph_pimpl.C (insertInset):
8890 * paragraph.C (Paragraph):
8891 (cutIntoMinibuffer): set parOwner of insets when
8892 inserting/removing them
8894 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8896 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * tabular-old.C (getTokenValue):
8899 * tabular.C (getTokenValue):
8900 (write_attribute): new versions for LyXLength
8901 (everywhere): adjust the use of widths
8903 * tabular.h: change the type of widths from string to LyXLength
8905 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8907 * paragraph.C: fixed missing line number count when exporting
8908 Environments to LaTeX file
8910 * buffer.C: added informational message for checking line numbers.
8912 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8914 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8915 paragraph, do the 'double space' part, but not the 'empty
8918 * text.C (workWidth): small optimization
8919 (getLengthMarkerHeight): use minimal size for negative lengths.
8921 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8923 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8925 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8927 2001-12-11 André Pönitz <poenitz@gmx.net>
8930 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8932 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8934 * text2.C: keep selection on a setFont()
8936 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8938 * lyx_cb.C: another bv->text misuse, from insert label
8940 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8943 * kbsequence.C: re-instate nmodifier mask
8945 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8947 * lyx_main.h: make lyxGUI private.
8949 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8951 * lyxfind.C: place the cursor correctly on failed search
8953 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8955 * text.C (getLengthMarkerHeight): for small heights, the arrows
8956 are not always on top/bottom of the text
8957 (drawLengthMarker): smaller arrows; take the left margin in
8958 account; draw also vfills.
8960 (paintLastRow): remove special code for vfill and standard spaces,
8961 since everything is handled in drawLengthMarker now.
8963 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8965 * buffer.C (insertErtContents): try to handle font and language
8966 interaction a bit better.g
8968 * ColorHandler.C (updateColor): change the hash to cover the whole
8969 LColor enum, ws cleanup
8970 (getGCLinepars): ditto
8971 (getGCLinepars): only lookup in the linecache once.
8973 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8975 * iterators.C (operator++): Make the iterator more robust
8977 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8979 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8981 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8984 * text.C: better added space drawing
8986 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8989 * BufferView2.C: fix layout combo update on inset unlock
8991 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8993 * Makefile.am: don't compile unused files
8995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8999 * LyXAction.C: remove old LFUN_LAYOUTNO
9001 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9003 * paragraph_pimpl.h:
9004 * paragraph_pimpl.C: isTextAt() doesn't need font param
9006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9009 * lyxlex.C: little cleanup
9011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9013 * BufferView_pimpl.C: fix insertAscii for insets
9015 2001-12-05 Juergen Vigna <jug@sad.it>
9017 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9018 set the right font on the "multi" paragraph paste!
9020 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9026 * lyxlength.C: remove out-commented code.
9042 * vc-backend.C: change "while(" to "while ("
9044 * lyxlength.[Ch]: add zero function to check if length is zero or
9046 * lyxgluelength.C: use it
9048 2001-12-05 Allan Rae <rae@lyx.org>
9050 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9051 Works for 2.95.3, from what I understand of Garst's reports this should
9052 work for other g++ versions. We're screwed if the abs(int) definition
9053 changed between bugfix releases of gcc.
9055 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9057 * text.C: fix chapter label offset !
9059 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9062 * text.C: fix hfill at end of line, clean up
9064 2001-12-04 Juergen Vigna <jug@sad.it>
9066 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9067 that we force an update of the inset and it's owners if neccessary.
9069 2001-12-03 Juergen Vigna <jug@sad.it>
9071 * text.C (rowLast): simplified code
9073 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9075 * lyxfunc.C: fix show options on timeout
9077 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9079 * screen.C (topCursorVisible): scroll half a page when the cursor
9080 reached top of bottom of screen
9082 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9084 * minibuffer.C: deactivate on loss of focus
9086 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9088 * vspace.[Ch] (operator!=): add operator.
9090 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9092 * BufferView_pimpl.C: refuse to open an inset when
9093 there's a selection.
9095 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9097 * BufferView_pimpl.C: allow to click on RHS of full row insets
9099 2001-11-30 Juergen Vigna <jug@sad.it>
9101 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9102 insets for undo reasons.
9104 2001-11-28 André Pönitz <poenitz@gmx.net>
9106 * vspace.[Ch]: cosmetical changes
9108 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9118 * kbsequence.C: part re-write of old kb code
9121 * WorkArea.C: remove Lgb_bug_find_hack
9123 2001-11-30 José Matos <jamatos@fep.up.pt>
9125 * buffer.C (makeDocBookFile): add a comment to point a hack.
9126 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9127 Fixed a double write of labels.
9129 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9132 * LaTeX.h Fixed bug in LaTeX class where it would not
9133 re-run latex if no depfiles were changed, but the .dvi was removed.
9135 2001-11-28 André Pönitz <poenitz@gmx.net>
9137 * all the files from the change on 2001/11/26:
9138 use lyx::layout_type instead of LyXTextClass::size_type
9139 use lyx::textclass_type instead of LyXTextClassList::size_type
9141 2001-11-29 Juergen Vigna <jug@sad.it>
9143 * text.C: added support for paragraph::isFreeSpacing()
9145 * buffer.C: same as above
9147 * paragraph.h: inserted isFreeSpacing() function to enable
9148 FreeSpacing inside InsetERT.
9150 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9151 of the paragraph's in the cut/copy buffer to 0!
9153 * text2.C (removeRow): remove the assert as it can!
9155 * lyxtext.h: added helper function firstRow returning firstrow and
9156 made firstrow private again.
9158 * BufferView2.C (lockInset): don't relock if we're already locked!
9160 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9162 (removeRow): added Assert::(firstrow)
9164 * debug.C: forgot to add INSETTEXT here.
9166 2001-11-28 Juergen Vigna <jug@sad.it>
9168 * sp_spell.C (initialize): changed error text to more general
9169 spellchecker command use (not only ispell!)
9171 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9173 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9175 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9177 * vspace.C: initialise lyxgluelength on failure
9179 2001-11-28 Allan Rae <rae@lyx.org>
9181 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9182 declaration & definition that looks like a function declaration.
9184 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9186 * BufferView2.C (copy):
9187 (copyEnvironment): do not clear the selection when doing a copy.
9189 * text.C (paintFirstRow): compilation fix
9191 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9193 * tabular.C (Latex): correct line count when writing latex.
9195 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9197 * paragraph_pimpl.h:
9198 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9201 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9205 * LColor.C: change vfillline->added_space
9207 * text.C: add markers and text for added space
9209 * vspace.C: fix comment
9211 2001-11-28 André Pönitz <poenitz@gmx.net>
9213 * paragraph.C: whitespace changes
9214 * all the other files from the change on 2001/11/26:
9215 change *::pos_type into lyx::pos_type
9217 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9219 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9220 language of the document when inserting error insets.
9222 2001-11-26 André Pönitz <poenitz@gmx.net>
9224 * BufferView_pimpl.[Ch]:
9232 * paragraph_pimpl.[Ch]:
9235 * text2.C: reduce header dependencies, introduce type for positions
9237 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9239 * <various>: change to use Alert.h
9241 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9243 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9244 when encountering an unknown token.
9245 (readLyXformat2): Show an error message if there were unknown tokens.
9247 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9250 * BufferView_pimpl.C:
9254 * text2.C: use par->isInset()
9256 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9258 * paragraph_pimpl.h:
9259 * paragraph_pimpl.C: cleanup
9261 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9263 * text2.C (removeRow):
9264 * text.C (setHeightOfRow): remove useless (and costly) call to
9267 2001-11-20 Allan Rae <rae@lyx.org>
9269 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9270 Now need Inset*::checkInsertChar() to return true for appropriate
9271 cases so that the characters in the minibuffer will actually be
9274 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9276 * text.C: change the order of the includes.
9277 (workWidth): initialize it at once.
9278 (workWidth): make maxw unsigned
9279 (setHeightOfRow): remove unused variable (inset)
9280 (selectSelectedWord): remove unused variable (inset)
9281 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9283 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9285 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9286 server is not running.
9288 (closeConnection): add debug info when server is disabled.
9290 * ColorHandler.C (getGCForeground): send debug message to GUI
9293 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9295 * kbmap.C (bind): modify because return conventions of
9296 kb_sequence::parse have changed.
9298 * kbsequence.C (parse): only ignore spaces and not any stupid
9299 control character. This avoids tests like s[i] <= ' ', which are
9300 guaranteed to fail with 8bit characters and signed chars.
9301 Change return code to string::npos when there have been no error
9302 (0 was a bad idea when error is at first character)
9304 2001-11-14 José Matos <jamatos@fep.up.pt>
9307 * buffer.C (simpleDocBookOnePar): removed unused argument.
9309 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9311 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9312 insets which are part of a word. Paragraph::isLetter takes care of
9313 that now. Use Paragraph::isInset to identify insets.
9314 (selectSelectedWord): do not test for hyphenation break.
9316 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9317 that protected spaces are considered as spaces.
9319 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9322 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9325 * lyxserver.C: fix it. and small cleanup.
9327 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9329 * BufferView_pimpl.C: use inline helpers
9332 * LaTeXFeatures.C: fix typos
9335 * Spacing.C: move spacing_string into class
9337 * ToolbarDefaults.C: move stuff into namespace anon
9339 * layout.h: update enum
9341 * lyxfunc.C: use better debug
9343 * minibuffer.h: fix typo
9347 * WorkArea.C: add and use Debug::WORKAREA
9351 * text2.C: code re-organisation, inline helpers
9353 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9355 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9356 std::vector.empty().
9358 2001-11-09 Allan Rae <rae@lyx.org>
9360 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9361 '\n's after tables. Tabular and ERT inset work now makes this no
9364 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9367 * minibuffer.C: fix crash, improve drop-down completion
9369 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9372 * lyxserver.C: invalidate fd's when doing endPipe()
9374 2001-11-08 José Matos <jamatos@fep.up.pt>
9376 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9377 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9380 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9382 2001-11-07 José Matos <jamatos@fep.up.pt>
9385 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9388 * buffer.C (sgmlOpenTag):
9389 * buffer.C (sgmlCloseTag): removed debug info.
9391 * buffer.h (sgmlOpenTag):
9392 * buffer.h (sgmlCloseTag): made public.
9394 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9396 * buffer.C (saveParamsAsDefaults):
9397 * lyx_cb.C (MenuLayoutSave): remove
9399 * LyXAction.C (init):
9401 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9403 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9405 * buffer.C (setPaperStuff): removed from here...
9407 * bufferparams.C (setPaperStuff): ... and moved there.
9409 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9413 * XFormsView.C: add support for drop-down completion
9415 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9417 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9420 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9422 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9425 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9427 * lyx_main.C: change ref to known bugs
9429 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9431 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9432 to work around older babel problems.
9434 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9436 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9438 2001-10-24 Juergen Vigna <jug@sad.it>
9440 * tabular-old.C (ReadOld): below variable changes reflected.
9442 * tabular.[Ch]: added ltType struct for longtable header/footer
9443 defines and changed all instances where they are used. Added
9444 future support for double top/bottom rows.
9446 2001-10-24 José Matos <jamatos@fep.up.pt>
9448 * buffer.h (docbookHandleCaption):
9449 * buffer.C (docbookHandleCaption): removed unused function.
9450 (makeDocBookFile): moved docbook supported version to v4.1.
9452 2001-10-24 José Matos <jamatos@fep.up.pt>
9455 * tabular.C (docbookRow): new function to export docbook code of a row.
9456 (DocBook): now honors the longtable flags.
9458 2001-10-23 José Matos <jamatos@fep.up.pt>
9461 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9462 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9464 * buffer.C (makeLinuxDocFile):
9465 (makeDocBookFile): reworked the preamble, more clean, and with
9466 support for lyx defined entities. Changed the document declaration
9467 to be more XML friendly.
9469 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9470 if we need to output XML that should be done with a filter.
9472 2001-10-22 Juergen Vigna <jug@sad.it>
9474 * sp_pspell.h (class PSpell): add alive function needed in the
9475 controller to see if the spellchecker could be started.
9477 2001-10-22 Juergen Vigna <jug@sad.it>
9479 * buffer.C (insertStringAsLines): modify the font for inserting
9480 chars in certain conditions by calling checkInsertChar(font).
9482 2001-10-19 Juergen Vigna <jug@sad.it>
9484 * text.C (workWidth): use getRow instead of wrong algorithm.
9485 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9487 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9492 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9494 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9496 * text.C (workWidth): do not search for the exact row when
9497 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9498 optimization for big documents.
9500 2001-10-18 Juergen Vigna <jug@sad.it>
9502 * text.C (workWidth): new function with added Inset * parameter.
9504 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9506 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9508 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9509 change return type of getColumnNearX.
9512 * text.C (changeRegionCase): use uppercase/lowercase instead of
9515 (rightMargin): simplify code by factoring out the uses of
9520 (appendParagraph): use Paragraph::size_type
9522 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9524 * vspace.C (asLatexString): add a missing break
9526 2001-10-15 Herbert Voss <voss@perce.de>
9528 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9530 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9532 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9535 2001-10-10 André Pönitz <poenitz@gmx.net>
9537 * lyxfunc.C: removed greek_kb_flag.
9539 2001-10-10 Herbert Voss <voss@perce.de>
9541 * lyx_main.C: delete global string help_lyxdir.
9543 2001-10-09 Herbert Voss <voss@perce.de>
9545 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9547 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9549 * lyx_main.C: added global string help_lyxdir.
9551 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9553 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9555 * lyxrc.C (set_font_norm_type): support iso8859-4
9557 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9559 * LaTeX.C (deplog): add another regex for MikTeX
9561 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9563 * lyxrc.C (set_font_norm_type): support iso8859-3
9565 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9569 * LaTeXFeatures.C: remove special case of french and index
9571 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9572 before \begin{document}). This solves several incompatibilities.
9574 2001-10-03 Garst Reese <reese@isn.net>
9576 * lyx_cb.C: change CheckTex error msg.
9578 2001-10-03 José Matos <jamatos@fep.up.pt>
9580 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9582 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9584 * .cvsignore: update
9586 * lyx_main.C (commandLineVersionInfo): use new style version info.
9588 * buffer.C (writeFile):
9591 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9593 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9595 * version.h: update to use stuff in version.C
9597 * version.C.in: new file. Contains version information determined
9598 at compile time. This is a merging of version.h and
9601 2001-10-03 Juergen Vigna <jug@sad.it>
9603 * BufferView_pimpl.C (update): don't change "dirty" status in
9606 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9608 * WorkArea.C (c-tor): re-position version string slightly.
9610 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9612 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9613 revert to previous code.
9615 WorkArea.[Ch]: (show, destroySplash): methods removed.
9617 WorkArea.C: rework code so that it's an amalgam of the codes before and
9618 after the splash screen was moved to WorkArea.
9620 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9623 * vspace.C (inPixels):
9626 * buffer.C (insertStringAsLines):
9627 (asciiParagraph): fix types to be large enough
9629 * lyxlex_pimpl.h: change member status from short to int
9631 * layout.h: fix type of endlabeltype
9634 * kbsequence.C (parse): change return type to string::size_type
9636 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9639 * Bullet.C (bulletSize):
9640 (bulletEntry): do not use short ints as parameters
9642 * BufferView2.C (insertLyXFile): change a char to an int.
9644 * WorkArea.C (WorkArea): remove unneeded floats in computation
9646 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9648 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9650 * paragraph.C (asString): Do not ignore newline/hfill chars when
9651 copying to the clipboard.
9653 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9655 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9656 after a multi-line inset.
9658 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9660 * paragraph.C (validate): Set NeedLyXFootnoteCode
9662 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9664 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9665 and decrease-error to decrease.
9667 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9670 it more readable (should be equivalent)
9672 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9674 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9676 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9679 of a cursor (row, etc.) after a character has been deleted
9680 (deleteEmptyParagraphMechanism): call the method above on _all_
9681 cursors held by the LyXText when a double space has been
9684 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9686 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9688 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9690 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9691 background. Use greyOut() and the new show() methods to toggle between
9692 the foreground and background. Add code to remove the splash after
9693 its initial showing.
9695 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9696 (create_forms): no longer call Dialogs::showSplash.
9698 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9700 * .cvsignore: add version_info.h
9702 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9704 * version_info.h.in: new file
9706 * Makefile.am: add version_info.h.in
9708 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9709 version_info.h instead of VERSION_INFO
9711 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9713 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9714 The ERT inset now returns string().
9716 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9718 * lyxtext.h, text.C (selectNextWord): renamed as
9719 selectNextWordToSpellcheck.
9721 * text.C (selectNextWordToSpellcheck): Modified to not select
9722 words inside an ERT inset.
9724 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * lyx_cb.C (MenuLayoutSave): change a bit the question
9728 * sp_base.h: include <sys/types.h>
9730 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9732 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9734 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9736 * several files: fix typos in user-visible strings
9738 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * text2.C (pasteSelection): do not set the selection, since it
9741 will be cleared later. Actually, the intent was to fix the way the
9742 selection was set, but I figured rmoving the code was just as good.
9744 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9746 * FontLoader.C (available): Check if font is available without
9749 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9751 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9753 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9755 * lyxrc.[Ch]: added display_graphics variable and associated code.
9757 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9759 * bufferparams.C (hasClassDefaults): new method. Returns true if
9760 the buffer parameters correspond to known class defaults
9762 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9764 * XFormsView.C (show): set minimum size to the main window.
9766 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9768 * text2.C (copySelection):
9770 * lyxfind.C (LyXReplace):
9771 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9772 LyXText::selectionAsString.
9774 * paragraph.C (asString): add "label" argument to the second form
9776 * text2.C (selectionAsString): add "label" argument and pass it to
9777 Paragraph::asString.
9779 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9781 * lyx_main.C (commandLineHelp): remove version information
9783 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9785 * lyx_main.C: add -version commandline option
9787 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9789 * paragraph.h: make the optional constructor arg required instead.
9790 some modifications to other files because of this.
9792 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9794 * lyxserver.C (C_LyXComm_callback): make it static
9796 * lyx_main.C (error_handler): make it static
9798 * lyx_gui.C (LyX_XErrHandler): make it static
9800 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9802 * WorkArea.C: make the extern "C" methods static.
9804 * Makefile.am (lyx_LDADD): simplify
9806 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9808 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9809 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9811 * LyXAction.C (init):
9812 * lyxfunc.C (dispatch): associated code removal.
9814 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9816 * lyxfont.h (isSymbolFont): shut off warning
9818 * text.C (setHeightOfRow):
9819 (getVisibleRow): fix crash with empty paragraphs which have a
9822 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9824 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9827 2001-09-04 José Matos <jamatos@fep.up.pt>
9830 * tabular.C (docbook): rename docBook method to docbook.
9832 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9834 * Makefile.am: add dependencies to main.o.
9836 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9838 * FontLoader.C (available): Return false if !lyxrc.use_gui
9840 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9842 * FontInfo.C (query):
9843 * converter.C (view):
9844 * importer.C (Import):
9845 * exporter.C (Export): Can not -> cannot.
9847 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9849 * BufferView_pimpl.C: allow to create index inset even if
9852 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9854 * buffer.C (getLists): replace boost::tie code with an explicit pair
9855 as boost::tie can break some compilers.
9857 * iterators.h: Added a std:: declaration to the return type of
9860 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9862 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9865 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9867 * iterators.[Ch]: New files. Provide paragraph iterators.
9869 * buffer.C (changeLanguage): Use paragraph iterators.
9870 (isMultiLingual): ditto
9872 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9874 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9876 * FontLoader.C: Support for cmr font.
9878 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9880 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9881 (available): New method.
9883 * FontInfo.C (getFontname): Use scalable fonts even when
9884 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9887 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9889 * converter.C (Formats::view): reverted! Incorrect fix.
9891 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9893 * converter.C (Formats::view): only output the -paper option
9894 if the dvi viewer is xdvi, thereby fixing bug #233429.
9896 2001-08-23 Herbert Voss <voss@perce>
9898 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9900 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9902 * Spacing.h (Spacing): Set space to Default on in the default
9905 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9907 * vc-backend.h (RCS::versionString): add RCS to version
9908 (CVS::versionString): add CVS to version
9910 * vc-backend.C (scanMaster): do not add CVS to version.
9911 (scanMaster): do not add RCS to version
9913 * lyxvc.C (versionString): new method
9915 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9917 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9919 * Spacing.C (set): initialize fval
9921 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9923 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9926 2001-08-16 Juergen Vigna <jug@sad.it>
9928 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9930 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9932 * BufferView_pimpl.C:
9935 * text2.C: setParagraph takes linespacing now
9937 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9939 * LyxAction.C: add internal LFUN_CITATION_INSERT
9941 * LyXView.C: actually apply fix
9943 * bufferlist.C: fix open non-existent file
9945 * lyxfind.C: fix indentation
9947 * lyxfunc.C: remove unneeded assert, fix typo
9949 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9951 * MenuBackend.C: use "Floatname List"
9953 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9955 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9956 when converting LaTeX layout to insetERT.
9957 Generate a non-collapsed float when reading old float
9959 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9961 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9964 2001-08-13 Juergen Vigna <jug@sad.it>
9966 * text.C (fill): return 0 instead of 20 as this seems to be the more
9969 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9971 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9974 2001-08-13 Juergen Vigna <jug@sad.it>
9976 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9978 (SearchBackward): comment out the unlocking of the inset_owner this
9979 should not be needed!
9981 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9983 * Many files: Remove inherit_language, and add latex_language
9985 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9988 2001-08-10 Juergen Vigna <jug@sad.it>
9990 * text.C (prepareToPrint): fixed hfill-width in draw!
9992 * BufferView2.C (selectLastWord): save the selection cursor as this
9993 now is cleared in the function LyXText::clearSelection!
9995 2001-08-08 Juergen Vigna <jug@sad.it>
9997 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9998 BACKSPACE type functions.
10000 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10001 is only cutted from the document but not put in the cut-buffer, where
10002 still the old stuff should be.
10004 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10006 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10008 * tabular.C (SetWidthOfCell): fixed special case where the width
10010 (LeftLine): handle '|' in align_special.
10012 (LeftAlreadyDrawed): ditto
10013 (SetWidthOfCell): ditto
10015 2001-08-07 Juergen Vigna <jug@sad.it>
10017 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10019 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10021 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10022 * lyxlex.[hC]: ditto
10024 2001-08-06 Juergen Vigna <jug@sad.it>
10026 * text.C (getVisibleRow): fix up row clearing a bit.
10028 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10030 * minibuffer.C: make sure the X server sees the changes in the input.
10032 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * paragraph.C (getFont): split into...
10035 (getLabelFont): this
10036 (getLayoutFont): and this
10037 * paragraph_pimpl.C (realizeFont): calling this
10039 * text2.C (getFont): split into...
10040 (getLayoutFont): this
10041 (getLabelFont): and this
10042 (realizeFont): all three calling this
10044 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10047 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10049 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10051 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10053 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10054 layouts from the Quote inset insertion.
10056 2001-08-03 Juergen Vigna <jug@sad.it>
10058 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10060 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10061 only if status not is already CHANGED_IN_DRAW (second level).
10063 * text.C (draw): don't set the need_break_row when inside an
10066 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10068 * buffer.C (parseSingleLyXformat2Token): handle more latex
10071 * bufferview_funcs.[hC]: change function names to
10072 begin with small char, adjust other files.
10074 2001-08-02 André Pönitz <poenitz@gmx.net>
10077 BufferView_pimpl.C: remove broken special code for math-greek
10079 2001-08-02 Juergen Vigna <jug@sad.it>
10081 * BufferView_pimpl.C (update): redone this function so that we
10082 update the text again if there was a CHANGE_IN_DRAW.
10084 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10085 (drawFromTo): added a new internal bool which is used by draw() and
10087 (general): some cursor drawing problems fixed.
10089 2001-08-01 Juergen Vigna <jug@sad.it>
10091 * lyxfind.C (LyXFind): fixed
10092 (SearchForward): ditto
10093 (SearchBackward): ditto
10095 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10096 spurius drawing of the cursor in the main area.
10098 * text2.C (status): small fix which could lead to a segfault!
10099 (clearSelection): remove unneeded BufferView param.
10101 2001-08-01 André Pönitz <poenitz@gmx.net>
10103 * lyxfunc.C: small change due to changed mathed interface
10105 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10107 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10109 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10111 * lyxfunc.c: fail gracefully if file doesn't exist
10116 * BufferView_pimpl.C: IsDirWriteable() proto changed
10118 * LyXView.C: fix updateWindowTitle() to store the last title
10120 2001-07-31 Juergen Vigna <jug@sad.it>
10122 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10123 the font (wrong since using of Paragraph::highestFontInRange).
10125 * paragraph.C (highestFontInRange): added a default_size parameter.
10127 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10128 (setHeightOfRow): reformat
10130 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10132 * converter.[hC] + affected files: move to (inital-char)lowercase
10135 * ParagraphParameters.C (ParagraphParameters): remove commented code
10137 * PainterBase.[Ch]: remove commented code
10139 * LaTeXFeatures.h: add "bool floats" for float.sty
10141 * LaTeXFeatures.C (LaTeXFeatures): init floats
10142 (require): handle float
10143 (getPackages): do it with floats
10145 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10147 * BufferView_pimpl.C (Dispatch): improve handling of
10148 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10150 * commandtags.h: #include lyxfont.h here temporarily to avoid
10153 * bufferlist.h: include LString.h here.
10155 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10157 * text2.C (getStringToIndex): new method.
10159 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10161 * *: Reduced header file dependencies all over.
10163 2001-07-30 Baruch Even <baruch@lyx.org>
10165 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10167 2001-07-29 Baruch Even <baruch@lyx.org>
10169 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10171 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10173 * ParameterStruct.h (endif): add a default constructor to make
10174 sure that all variables is initialized.
10176 * ParagraphParameters.C (ParagraphParameters): adjust
10178 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10180 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10181 index; also, check that there is something to index, and that it
10182 does not span over several paragraphs.
10183 (doubleClick): use WHOLE_WORD_STRICT for double click.
10185 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10187 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10190 2001-07-26 Baruch Even <baruch@lyx.org>
10192 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10193 an InsetFig figure, backwards compatible reading of old figure code.
10195 2001-07-27 Juergen Vigna <jug@sad.it>
10197 * text2.C: font.realize function adaption.
10199 * text.C (draw): add a warnings lyxerr text if needed.
10201 * layout.C: font.realize function adaption.
10203 * language.C: add inherit_language and implement it's handlings
10205 * bufferview_funcs.C (StyleReset): remove language parameter from
10206 font creation (should be language_inherit now).
10208 * bufferparams.C (writeFile): handle ignore_language.
10210 * paragraph.C (getFontSettings): the language has to be resolved
10211 otherwise we have problems in LyXFont!
10213 * lyxfont.C (lyxWriteChanges): added document_language parameter
10214 (update): removed unneeded language parameter
10216 * paragraph.C (validate): fixed wrong output of color-package when
10217 using interface colors for certain fonts in certain environments,
10218 which should not seen as that on the final output.
10220 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10222 * BufferView_pimpl.C:
10227 * LyXAction.C: add thesaurus support
10230 * lyxfind.C: add "once" parameter, for thesaurus, to not
10231 move to the next match
10233 2001-07-26 Juergen Vigna <jug@sad.it>
10235 * lyxfont.C (realize): honor ignore_language too!
10238 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10240 * text.C (draw): one place more for ignore_language to not draw
10243 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10245 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10247 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10250 the minipage conversion problem.
10252 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10254 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10257 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * BufferView.h: don't forward declare WorkArea
10261 * BufferView.C: don't include WorkArea.h
10263 2001-07-25 André Pönitz <poenitz@gmx.net>
10267 * lyxfunc.C: new LFUN 'math-space'
10269 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10271 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10273 * text2.C (toggleInset): call open/close
10275 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10277 * lyxfunc.C (dispatch): add debug for the disabled case
10279 * font.C (buttonText): make similar to rectText
10281 * buffer.C (readInset): comment out parsing of insetlist and
10284 * PainterBase.C (rectText): small correction
10286 * BufferView_pimpl.C: comment out insettheorem and insetlist
10287 * LyXAction.C: ditto
10288 * commandtags.h: ditto
10290 2001-07-24 Juergen Vigna <jug@sad.it>
10292 * text.C (draw): honor the ignore_language.
10294 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10296 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10301 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10303 * lyxtext.h: remove unused (and unimplemented) methods
10305 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10307 * text.C (getVisibleRow): honor background color
10310 * Painter.h: remove default color argument for fillRectangle
10312 * text.C (backgroundColor): new method
10314 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * text.C (getVisibleRow): adjust
10318 * font.[Ch] (rectText): new method, metrics
10319 (buttonText): new method, metrics
10321 * PainterBase.[hC]: make rectText and buttonText always draw and take
10324 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10326 * ToolbarDefaults.C (read):
10327 * MenuBackend.C (read): allow escaping in all strings
10329 * BufferView_pimpl.C (insertAndEditInset): new method.
10330 (Dispatch): use insertAndEditInset whenever appropriate.
10332 * BufferView_pimpl.C (insertNote): removed
10334 * BufferView_pimpl.C (smartQuote): new method, moved from
10335 BufferView; if an insetquote cannot be inserted, insert a '"'
10338 * BufferView2.C: remove insertCorrectQuote();
10340 * lyxfunc.C (getStatus): Add support for all remaingin
10341 inset-insert lfuns.
10343 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10345 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10346 command (necessary to pass " as parameter of self-insert.
10348 * text.C (selectWordWhenUnderCursor):
10349 (selectWord): add word_location parameter
10350 (selectWordWhenUnderCursor): same + remove special code for word
10352 (selectNextWord): use kind() to guess type of insetspecialchar,
10355 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10356 (insertErtContents): create ert insets as collapsed.
10357 (readInset): better compatibility code for Info inset.
10359 2001-07-20 Juergen Vigna <jug@sad.it>
10361 * lyxfunc.C (dispatch): use always LyXFind now!
10363 * text2.C (init): add a reinit flag so that the LyXText can be
10364 reinited instead of deleted and reallocated (used in InsetText).
10366 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10372 2001-07-18 Juergen Vigna <jug@sad.it>
10374 * text.C (selectNextWord): handle insets inside inset by calling
10375 always the bv->text functions so that we can go up the_locking_inset!
10377 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10378 in strange locations when inside an inset!
10380 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10381 handling to include insets.
10383 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10385 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * LyXAction.C (init):
10389 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10390 LIGATURE_BREAK, since the name is so stupid.
10392 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10394 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10397 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10399 * sp_form.[Ch]: remove.
10401 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10403 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10406 * src/buffer.C (readInset): ditto.
10408 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10410 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10411 menuSeparator(), endOfSentenceDot(), ldots() and
10412 hyphenationPoint(), which are therefore removed.
10413 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10415 * LyXAction.C (init):
10416 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10418 * paragraph.C (getWord): removed.
10420 * BufferView_pimpl.C (Dispatch): use last word or selection for
10421 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10423 * lyx_main.C (queryUserLyXDir): do not ask before creating
10424 user_dir, except if it has been named explicitely.
10426 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10428 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10429 a document of zero size.
10431 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10433 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10434 approriately in the c-tor and in require().
10435 (getPackages): output the appropriate LaTeX for natbib support.
10437 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10438 variables "use_natbib" and "use_numerical_citations" when reading the
10440 (readInset): read the various natbib cite commands.
10441 (validate): white-space change.
10443 * bufferparams.[Ch]: new variables "bool use_natbib" and
10444 "bool use_numerical_citations".
10445 (writeFile): output them in the LyX file.
10447 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10449 * lyxfunc.C (getStatus): add support for all the inset insertion
10452 * text2.C (insertInset):
10453 * paragraph.C (insetAllowed):
10454 * BufferView_pimpl.C (insertInset): update to take in account the
10455 renaming of insertInsetAllowed
10457 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10459 * text2.C (getInset): new method. returns inset at cursor position.
10461 * BufferView_pimpl.C (Dispatch): changes because of this.
10463 * LyXAction.C (init): rename open-stuff to inset-toggle.
10465 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10467 * text2.C (toggleInset): renamed from openStuff; use
10470 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10472 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10474 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10476 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10478 * buffer.C (readLyXformat2): Add filename to the error dialog
10480 2001-07-18 Juergen Vigna <jug@sad.it>
10482 * tabular.C (GetCellNumber): put an assert here instead of the check!
10484 2001-07-17 Juergen Vigna <jug@sad.it>
10486 * BufferView_pimpl.C (toggleSelection): adapted too.
10488 * text.C (selectNextWord): adapted for use with insets.
10489 (selectSelectedWord): ditto
10491 2001-07-17 Juergen Vigna <jug@sad.it>
10493 * sp_spell.C (PSpell): fix initialitation order.
10495 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10497 * paragraph.C: spacing
10499 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10501 * sp_spell.C: repair language selection for pspell
10503 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10505 * lyxfunc.h: change more methods to begin with lower char.
10507 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10509 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10510 for unknown layouts.
10512 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10514 * buffer.C (readLyXformat2): Generate an error dialog if there are
10517 2001-07-16 Juergen Vigna <jug@sad.it>
10519 * sp_spell.C: always compile ISpell part.
10521 * lyxrc.C: added use_pspell entry and it's handling.
10523 2001-07-13 Juergen Vigna <jug@sad.it>
10525 * sp_spell.C: removed double includes.
10527 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10529 Consistent use of Lsstream.h:
10530 * Lsstream.h: added using std::stringstream for consistencies sake.
10532 * buffer.C: removed using std::stringstream
10534 * lyxfont.C (stateText):
10535 * paragraph.C (asString):
10536 * text.C (selectNextWord, selectSelectedWord):
10537 * text2.C (setCounter):
10538 * vspace.C (asString, asLatexString):
10539 std::ostringstream -> ostringstream.
10541 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10543 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10544 * commandtags.h: add LFUN_HELP_ABOUTLYX
10545 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10547 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10549 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10551 * lyx_gui_misc.C: remove spellchecker
10552 * lyxfunc.C: showSpellchecker
10554 * sp_ispell.h: added
10555 * sp_pspell.h: added
10556 * sp_spell.C: added
10557 * sp_form.[Ch]: removed
10558 * spellchecker.[Ch]: removed
10560 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10562 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10564 (simpleTeXSpecialChars): Simply print the input character without
10565 any special translation if pass_thru is set.
10567 * layout.h: Added bool pass_thru to layout class for being able to
10568 implement pass through of a paragraph for Literate Programming.
10570 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10571 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10572 * layout.C (Read): add "passthru" to list of layout tags and add
10573 code to set the pass_thru boolean when it is read.
10575 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10577 * trans_decl.h: remove allowed from KmodInfo
10579 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10580 remove allowed code
10583 * paragraph_pimpl.C (erase): use boost::prior
10585 * Painter.C (text): use data() instead of c_str() when length is
10587 * WorkArea.C (putClipboard): ditto
10588 * font.h (width): ditto
10590 * BufferView2.C: use it-> instead of (*it). for iterators
10592 * paragraph_pimpl.C: ditto
10593 * paragraph.C: ditto
10594 * minibuffer.C: ditto
10595 * language.C: ditto
10597 * encoding.C: ditto
10598 * counters.C: ditto
10599 * converter.C: ditto
10601 * Variables.C: ditto
10602 * TextCache.C: ditto
10603 * MenuBackend.C: ditto
10604 * LyXAction.C: ditto
10606 * FloatList.C: ditto
10607 * DepTable.C: ditto
10608 * ColorHandler.C (LyXColorHandler): ditto
10610 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10612 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10614 * text2.C (openStuff): reintroduce this method (which had been
10615 nuked in NEW_INSETS frenzy).
10617 * lyxfunc.C (Dispatch): when an action has not been handled, use
10618 its name in the error message, not its number.
10620 * paragraph.C (inInset): change method name to begin with lowercase.
10623 * text2.C: updates because of this.
10625 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10627 * ToolbarDefaults.C (add): add spaces in error message
10629 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10631 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10632 (readLyXformat2): rename return_par to first_par, use lyxlex's
10633 pushToken and remove the manual push handling.
10634 (parseSingleLyXformat2Token): add another ert comp. variable:
10635 in_tabular, rename return_par to first_par. handle newlines better
10637 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10639 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10641 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * text2.C (getParFromID): removed
10645 * buffer.C (getParFromID): new method moved form lyxtext.
10646 * BufferView2.C (insertErrors): adjust
10647 (setCursorFromRow): adjust
10648 * BufferView_pimpl.C (restorePosition): adjust
10649 * lyxfunc.C (Dispatch): adjust
10650 * undo_funcs.C (textUndo): adjust
10652 (textHandleUndo): adjust
10653 (textHandleUndo): adjust
10655 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10657 * buffer.C: up' the LYX_FORMAT
10659 * lyxfont.h: turn NO_LATEX on as default
10661 * buffer.C (insertErtContents): new methods of tex style compability.
10662 (parseSingleLyXformat2Token): use it several places.
10663 * tabular.C (OldFormatRead): and here
10665 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10667 * text2.C: remove some commented code.
10670 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10671 * trans.C: changes because of the above.
10673 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10675 * text2.C (setCounter): Fix counters bug with bibliography layout.
10677 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10680 own member functions
10681 (simpleTeXSpecialChars): ditto
10683 2001-07-06 Juergen Vigna <jug@sad.it>
10685 * a lot of files: changed the access to LyXText::status and the
10686 call of undo-functions.
10688 * undo.[Ch]: added a inset_id to the undo informations.
10690 * undo_funcs.[Ch]: added and moved here all undo functions.
10692 * lyxtext.h: give the status enum a weight, made status_ a private
10693 variable and made accessor functions for it, removed the whole bunch
10694 of undo-functions as they are now in their own file, make some
10695 functions publically available. Added function ownerParagraph with
10698 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10699 made InInset() a const function, added getParFromID() function.
10701 * buffer.[Ch]: added const version for inset_iterator functions,
10702 added getInsetFromID() function.
10704 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10705 changed undo functions for new version.
10707 2001-07-05 Juergen Vigna <jug@sad.it>
10709 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10710 unknow mechanism does not call the proper constructor but only this
10711 one also if I request the other!?
10713 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10717 * text2.C (LyXText): use initialization lists.
10719 * lyxtext.h (Selection): initialize set_ and mark_
10720 (init): remove method
10722 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10724 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10726 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * screen.[Ch]: change method names to begin with lowercase
10730 * BufferView_pimpl.C (updateScrollbar): simplify further and
10731 hopefully make it a bit faster.
10733 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10735 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10736 calling directly xforms functions.
10738 * Painter.C (Painter):
10739 * lyx_cb.C (MenuWrite):
10740 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10743 * lyx_gui.C: remove bogus guiruntime extern declaration.
10745 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10747 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10749 (redoDrawingOfParagraph): ditto
10750 (redoParagraphs): ditto
10751 (cutSelection): don't create a object for CutAndPaste use the
10752 static method directly
10753 (pasteSelection): ditto
10755 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10758 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10760 * modifications to some other files because of this.
10762 * Makefile.am (lyx_SOURCES): add XFormsView
10764 * XFormsView.[Ch]: new files
10766 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10767 the main window. Move the gui dependent stuff to XFormsView
10769 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10771 * tabular.C (GetCellInset): update cur_cell also in the row/col
10772 version of this function.
10774 * lyxfunc.C: no need to include figure_form.h here.
10780 * lyxvc.C: no need to include forms.h here.
10782 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10784 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10786 * lyxfunc.C (Dispatch):
10788 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10789 constructor argument.
10791 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * paragraph.C (Paragraph): dont't clear, and just set layout.
10794 (makeSameLayout): use params's copy contructor.
10796 * ParagraphParameters.[Ch] (makeSame): delete method
10798 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10800 * Variables.[Ch]: fix indentation, rename set to isSet
10802 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * lyxfunc.C (Dispatch): fix typo
10806 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10808 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10811 * bufferlist.C: include assert.h for emergencyWrite().
10813 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10815 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10816 give up at last (bug #425202) !
10818 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10824 * spellchecker.C: strip spellchecker options and bring up
10825 preferences tab instead
10827 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10829 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10830 the istringstream constructor
10832 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10834 * paragraph.C (getLayout): fix return value
10836 * paragraph.h: do not declare getLayout as inline.
10838 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10840 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * lyxcursor.h (operator<): new func
10843 (operator>): new func
10844 (operator>=): new func
10845 (operator<=): new func
10847 * text.C (changeCase): use selection.start and selection.end
10848 (changeRegionCase): require from to be <= to. Require par to be a
10851 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10853 2001-06-27 Juergen Vigna <jug@sad.it>
10855 * text.C (cursorLeftOneWord): changed to return the cursor and added
10856 overlay with BufferView * parameter which calls this one.
10858 (selectWord): use new getWord function.
10859 (changeCase): renamed from changeWordCase as and extended to work
10860 also on selections.
10862 * lyxtext.h: added enum word_location
10864 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10865 changeCase as this operates now also on selections.
10867 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10869 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10871 * many files: send debug output to Debug::INFO instead of
10874 * converter.C (View):
10876 (Move): send debug output to Debug::FILES instead of console.
10878 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10880 * lyxfunc.C (getStatus): use func_status
10882 * func_status.h: new header, describing the results of
10883 LyXFunc::getStatus;
10885 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10888 2001-06-25 The LyX Project <jug@sad.it>
10890 * buffer.C (sgmlOpenTag):
10892 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10894 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10896 * text2.C: remove some dead code
10898 * tabular.C (GetCellInset): store the last cell checked (gotten)
10900 * tabular.h: add the helper for the speedup
10902 * lyxtext.h: remove some dead code
10904 2001-06-26 The LyX Project <Asger>
10906 * paragraph.C: Change export to LaTeX of alignment to
10907 \begin{center} and family for better roundtrip work with reLyX.
10909 * Tune the math drawing a bit.
10911 2001-06-25 The LyX Project <Asger>
10913 * LColor.C (LColor): New color for math background. New color
10916 2001-06-25 The LyX Project <jug@sad.it>
10918 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10920 * lyxfunc.C (Open):
10921 * bufferlist.C (newFile): do not restrict to files ending with
10924 * BufferView_pimpl.C (MenuInsertLyXFile):
10926 2001-06-24 The LyX Project <jug@sad.it>
10928 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10931 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10933 * lyxtext.h: rename most methods to begin with a small char.
10934 Lots of changes because of this.
10936 * paragraph.C (Paragraph): do not call fitToSize
10937 (erase): call Pimpl::erase
10938 (insertChar): call Pimpl::insertChar
10939 (insertInset): call Pipl::insertInset
10940 (breakParagraph): do not call fitToSize
10941 (breakParagraphConservative): do not call fitToSize
10942 (fitToSize): remove method
10944 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10946 2001-06-24 The LyX Project <Asger>
10948 * Fix Qt compilation^2
10950 2001-06-24 The LyX Project <jug@sad.it>
10952 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10953 depthHook(getDepth()-1).
10956 * ParagraphParameters.h:
10957 * ParameterStruct.h: change type of depth to unsigned int ==
10958 depth_type. Many adaptations to other files before of that.
10960 2001-06-24 The LyX Project <Asger>
10962 * Fix Qt compilation.
10964 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * paragraph.h: renamed several methods to begin with small letter.
10967 several changes to many parts of the code because of this.
10969 2001-06-23 The LyX Project <jug@sad.it>
10971 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10972 rewritten to discard all double spaces when KeepEmpty is off
10973 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10974 to only handle newlines but not fiddle with spaces and friends.
10976 * lyxfunc.C (MenuNew): when doing 'new from template', use
10977 template_path as default directory
10979 2001-06-23 The LyX Project <Asger>
10981 * Clean-up of header file includes all over
10982 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10984 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10986 * paragraph.h: renamed from lyxparagraph.h
10988 2001-06-23 Asger <lyx@violet.home.sad.it>
10990 * Buffer.h: Removed Buffer::resize
10991 * BufferList.h: Removed BufferList::resize
10992 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10993 the document lazily when we change the width, or the font settings.
10995 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10997 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10999 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11001 * buffer.h: remove out of date comment
11003 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11006 * screen.C: fix "theoretical" GC leak
11008 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11010 * LaTeX.C (scanAuxFile):
11011 (deplog): remove trailing \r when reading stream (useful under
11014 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11016 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11017 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11018 and BufferView::theLockingInset(Inset*), so should use them and not
11019 access bv_->text->the_locking_inset directly.
11021 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11023 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11026 * tex-defs.h: remove old unused file
11028 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11030 * BufferView_pimpl.C: fix typo, remove minibuffer message
11031 when buffer has loaded
11033 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * lyxfunc.C (Dispatch): use stringstream
11036 (MenuNew): use stringstream
11037 (Open): use stringstream
11039 * importer.C (Import): use stringstream
11041 * bufferview_funcs.C (CurrentState): use stringstream
11043 * LaTeX.C (run): use stringstream
11045 * BufferView_pimpl.C (savePosition): use stringstream
11046 (restorePosition): use stringstream
11047 (MenuInsertLyXFile): use stringstream
11049 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11062 * vspace.C: removed // -*- C++ -*- as first line.
11065 * version.h: added // -*- C++ -*- as first line.
11067 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11069 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11071 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11074 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11079 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11081 * gettext.C: include LString.h even when --disable-nls is on.
11083 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11085 * converter.h (Get): changed argument type from int to
11086 FormatList::size_type to avoid unnecessary conversion.
11088 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11091 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11093 * gettext.h: include LString.h even when --disable-nls is on.
11095 2001-06-07 Juergen Vigna <jug@sad.it>
11097 * text.C (BreakAgain): subst spaces with tabs.
11099 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11100 (resizeInsetsLyXText): set force on resizeLyXText.
11102 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11104 * gettext.h (gettext_init):
11105 (locale_init): use a real definition instead of a macro
11107 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11109 * Bufferview_pimpl.C:
11111 * LColor.C: further lcolor tidies
11113 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11115 * BufferView_pimpl.C (updateScrollbar): simplify.
11117 * BufferView2.C: don't include insets/insetinfo.h, change
11118 prototype for insertInset and call the Pimpl version. let
11119 updateInset call Pimpl version.
11121 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11122 gotoInset to BufferView::Pimpl
11124 2001-06-01 Juergen Vigna <jug@sad.it>
11126 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11127 inside a LockingInset (is the update needed at all?).
11129 2001-05-31 Juergen Vigna <jug@sad.it>
11131 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11132 here not the old one otherwise how should we compare it afterwards
11135 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11140 * FontInfo.C: bring C functions into global namespace when
11143 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11145 * LString.h: make sure config.h has been loaded before LString.h.
11147 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11148 (one for each char read by EatLine!).
11150 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11153 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11155 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11156 to the same as the par we break from
11158 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11160 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11162 * MenuBackend.C (expand): also create menu entries for wide
11163 versions of the floats.
11165 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11167 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11169 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11170 frontends/Makefile.am
11176 * tabular.C (getTokenValue): add std::
11178 * tabular-old.C (getTokenValue): add std::
11179 (getTokenValue): ditto
11180 (getTokenValue): ditto
11182 * screen.C (ToggleSelection): adjust
11184 * lyxtext.h: put selection cursors inside a Selection struct.
11186 * lyxfunc.C (moveCursorUpdate): adjust
11188 * lyxfont.C (latexWriteStartChanges): add std::
11190 * lyxfind.C: adjust
11192 * font.h: delete with(char const *, LyXFont const &)
11194 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11196 * FontInfo.C (getFontname): add std::
11198 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11199 (workAreaButtonPress): adjust
11200 (tripleClick): adjust
11202 (moveCursorUpdate): adjust
11205 * BufferView2.C (gotoInset): adjust
11207 2001-05-30 Juergen Vigna <jug@sad.it>
11209 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11210 to check pspell I add this as default as I now have new pspell
11211 libraries and they seem to use this.
11213 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * text2.C (CutSelection): make the cursor valid before the call to
11218 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11220 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11221 relied on 0 terminated strings and other horrors. Bug found due to
11222 the new assert in lyxstring!
11224 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11227 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11232 * lyxfunc.C (processKeySym): change method of getting to the
11235 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11236 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11237 * BufferView_pimpl.[Ch]: here as private methods.
11239 2001-05-28 Juergen Vigna <jug@sad.it>
11241 * text.C (SetHeightOfRow): added the update() call again as it is
11242 needed to initialize inset dimensions!
11244 2001-05-16 Juergen Vigna <jug@sad.it>
11246 * text2.C (SetCharFont): Add new function with BufferView * and
11247 bool toggleall parameters for setting insets internal fonts.
11248 (SetFont): Freeze the undo as we may change fonts in Insets and
11249 all this change should be inside only one Undo!
11251 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11252 setting font's in insets as for them we have the SetFont function!
11254 2001-05-15 Juergen Vigna <jug@sad.it>
11256 * text2.C (ClearSelection): to be sure we REALLY don't have any
11259 * tabular.C (TeXCellPreamble): fixed the left border problem for
11262 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11264 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11267 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11269 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11270 LFUN_BREAKPARAGRAPH.
11272 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11273 help test to "internal only", similar for LFUN_INSERT_URL
11275 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11276 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11277 auto_region_delete and deadkeys.
11279 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11282 * LColor.C: remove some dead entries, tidy a little
11284 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11286 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11288 (Dispatch): implement LFUN_ESCAPE
11290 * commandtags.h: add LFUN_ESCAPE
11292 * LyXAction.C (init): add entry for LFUN_ESCAPE
11294 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11295 Remove commented code.
11296 (insertNote): moved here
11297 (open_new_inset): moved here
11299 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11302 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11304 * kbmap.C (findbinding): clean it up and make it work correctly.
11306 * lyx_main.C (init): do not pass argc and argv as parameters
11308 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11310 * buffer.C: fix path for OS/2 & Win32
11314 * lyx_main.C: Added os:: class.
11316 * os2_defines.h: update
11318 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11320 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11321 better by trying again with reduced state.
11323 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11325 * lyxrc.C (read): print error about invalid key sequence only when
11326 debugging (because not all latinX keysyms are known to some X
11329 * kbsequence.C (getiso): add a few std:: qualifiers
11330 (getiso): comment out extra return statement.
11332 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11334 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11336 (Dispatch): enhance the accent inset a bit. (not perfect)
11338 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11342 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11344 * bufferlist.C (emergencyWrite): fix assert() call
11346 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11348 * text.C (InsertChar): Added trivial patch to only send the "you
11349 can not do multiple spaces this way" message once during a
11352 2001-05-08 Baruch Even <baruch@lyx.org>
11354 * Makefile.am: Changed order of libraries to get LyX to link properly
11355 with the gnome frontend.
11357 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11359 * LaTeXFeatures.h: add a std:: qualifier
11361 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11363 * paragraph.C (String): use stringstream
11365 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11367 * paragraph.C (writeFile): remove footflag arg
11369 * buffer.C (makeLaTeXFile): use stringstream
11370 (latexParagraphs): remove footnot gurba
11372 * LaTeXFeatures.C (getPackages): use stringstream
11373 (getMacros): likewise
11374 (getTClassPreamble): likewise
11375 (getFloatDefinitions): new method
11377 * paragraph.C (writeFile): reindent
11380 * WorkArea.h: revert the xpos + etc changes.
11382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11384 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11386 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11387 (pasteSelection): likewise
11388 * text2.C (CreateUndo): likewise
11390 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * minibuffer.C (peek_event): temporarily reduce the functionality
11393 of the minibuffer (to allow args on lfuns)
11395 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11396 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11398 * buffer.C (readInset): add compability reading of old float
11399 lists, add reading of new style float list.
11400 (readInset): avoid reevaluation of inscmd.getCmdName()
11401 (getLists): reindent
11403 * MenuBackend.C (MenuItem): implement parsing of
11404 md_floatlistinsert and md_floatinsert.
11405 (expand::LastFiles): move initalizaton of iterators out of loop,
11406 avoid reevaluation.
11407 (expand::Documents): introduce typdedef vector<string> Strings,
11409 (expand::ExportFormats): introduce typedef vector<Format const *>
11410 Formats, and use it.
11411 (expand): implement FloatListInsert and FloatInsert.
11413 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11414 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11415 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11417 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11419 (Dispatch::LFUN_FLOAT_LIST): implement
11421 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11423 * LaTeX.C (run): Fix problem with --export code.
11425 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11427 * BufferView.[Ch] (workarea): removed.
11428 (getClipboard) new method; wrapper for workarea()->getClipboard()
11430 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11433 * WorkArea.h (width, height, xpos, ypos): These methods all
11434 returned the dimensions of the work_area sub-area of WorkArea,
11435 resulting in a position error if the WorkArea were resized. Now
11436 return the dimensions of the entire WorkArea.
11438 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11440 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11442 * LaTeX.C (deplog): correct the syntax of regex reg1
11444 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11446 * undo.C: remove !NEW_INSETS cruft
11448 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * text2.C: remove !NEW_INSETS cruft
11452 * text.C: remove !NEW_INSETS cruft
11454 * tabular.C: remove !NEW_INSETS cruft
11456 * spellchecker.C: remove !NEW_INSETS cruft
11458 * lyxtext.h: remove !NEW_INSETS cruft
11460 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11462 * lyxfunc.C: remove !NEW_INSETS cruft
11464 * lyxfind.C: remove !NEW_INSETS cruft
11466 * lyx_cb.C: remove !NEW_INSETS cruft
11468 * figureForm.C: remove !NEW_INSETS cruft
11470 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11472 * buffer.[Ch]: remove !NEW_INSETS cruft
11474 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11476 * CutAndPaste.C: remove !NEW_INSETS cruft
11478 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11480 * BufferView2.C: remove !NEW_INSETS cruft
11482 * BufferView.h: remove !NEW_INSETS cruft
11484 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11486 * Lsstream.h: include LString.h before the sstream headers to
11487 fix problem with gcc 2.95.3 and lyxstring
11489 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11491 * lyx_main.C: add using directives when needed for C functions
11492 declared in std:: namespace.
11494 2001-04-27 Juergen Vigna <jug@sad.it>
11496 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11497 (SetHeightOfRow): comment out the update call should not be needed!
11499 2001-04-13 Juergen Vigna <jug@sad.it>
11501 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11502 (LyXTabular): tried to minimize operator= operations (and realized
11503 hopfully Lars wish).
11505 2001-04-27 Juergen Vigna <jug@sad.it>
11507 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11509 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11513 * buffer.C (readInset): hack to make listof algorithm work
11515 * BufferView_pimpl.C: hack to make listof algorithm work
11517 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * LyXAction.C: removed all !NEW_INSETS cruft
11520 (init): moved lfun_item in method
11522 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11524 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11526 * BufferView2.C (theLockingInset): white space.
11528 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11530 * minibuffer.C: include <iostream>
11532 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11534 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11536 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11538 * text.[Ch] (TransposeChars): new method
11540 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11542 * call message directly through LyXView instead of through LyXFunc
11543 * BufferView2.C: adjust
11544 * BufferView_pimpl.C: adjust
11545 * FontLoader.C: adjust
11547 * bufferview_funcs.C: adjust
11548 * converter.C: adjust
11549 * figureForm.C: adjust
11550 * importer.C: adjust
11552 * lyx_gui_misc.C: adjust
11553 * lyxfunc.C: adjust
11556 + more files in subdirs
11558 * lyxparagraph.h (size): move up int file
11561 * adjust all uses of Assert to lyx::Assert.
11563 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11564 lyxfunctional in namespace lyx
11565 * layout.C (hasLayout): ditto
11568 (delete_layout): ditto
11569 (NumberOfClass): ditto
11570 * converter.C (GetFormat): ditto
11575 * bufferlist.C (getFileNames): ditto
11576 (emergencyWriteAll): ditto
11579 * MenuBackend.C (hasSubmenu): ditto
11582 * BufferView_pimpl.C (getInsetByCode): ditto
11584 2001-04-18 Juergen Vigna <jug@sad.it>
11586 * vspace.C (asLatexString): fixed the 100% problem.
11588 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11590 * lyxfunc.C (Dispatch):
11592 * minibuffer.h: add a few std:: qualifiers
11594 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * minibuffer.[Ch]: reimplement so that commands is initiated and
11597 run from lyxfunc, simplified som handling, and made the completion
11598 and history code for complete. wip.
11600 * lyxfunc.C (processKeySym): call message
11601 (miniDispatch): new temporary method
11602 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11603 (LFUN_MESSAGE): implement
11604 (LFUN_MESSAGE_PUSH): implement
11605 (LFUN_MESSAGE_POP): implement
11606 (initMiniBuffer): the initial/defualt minibuffer message.
11608 * lyxfont.[Ch]: inline some more getters
11610 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11612 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11614 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11615 (AutoSave): use LFUN_MESSAGE
11616 (Reconfigure): ditto
11618 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11620 * figureForm.C: use LFUN_MESSAGE
11622 * converter.C (runLaTeX): use LFUN_MESSAGE
11624 * bufferview_funcs.C: use LFUN_MESSAGE
11626 (changeDepth): ditto
11628 * bufferparams.h: use boost::
11630 * bufferlist.h: inherit privately from noncopyable
11632 * bufferlist.C (loadLyXFile): remove some commented code.
11634 * buffer.C (runChktex): use LFUN_MESSAGE
11636 * ShareContainer.h: inherit privately from noncopyable
11638 * ParagraphParameters.[hC] (depth): inline it.
11640 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11642 (message): new method
11643 (messagePush): ditto
11644 (messagePop): ditto
11645 (show): init minibuffer
11646 (showState): direct call
11648 * LaTeX.[Ch]: inherit privately from noncopyable
11649 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11650 instead of WriteStatus.
11652 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11654 * BufferView_pimpl.C (buffer): don't init minibuffer
11655 (workAreaButtonPress): use LFUN_MESSAGE
11656 (workAreaButtonRelease): ditto
11657 (savePosition): ditto
11658 (restorePosition): ditto
11659 (MenuInsertLyXFile): ditto
11660 (workAreaExpose): don't init minibuffer
11661 (update): remove commented code, simplify
11663 * BufferView2.C (openStuff): use LFUN_MESSAGE
11664 (toggleFloat): ditto
11667 (copyEnvironment): ditto
11668 (pasteEnvironment): ditto
11673 (updateInset): remove some commented code
11675 * lastfiles.h: inherit privately from noncopyable
11678 * lyx_main.h: ditto
11680 * lyxlex_pimpl.h: ditto
11682 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11683 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11684 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11686 * LyXAction.h: inherit privately from noncopyable, add methods
11687 func_begin, func_end, returning iterators to the func map.
11689 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11690 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11691 (func_begin): new method
11692 (func_end): new method
11694 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11696 (copySelection): ditto
11697 (pasteSelection): ditto
11699 * BufferView.C: whitespace change
11700 * BufferView.h: inherit privately from noncopyable
11702 2001-04-16 Allan Rae <rae@lyx.org>
11704 * tabular-old.C (l_getline):
11705 * spellchecker.C (sc_check_word):
11706 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11707 an unrecognised preprocessor directive. So ensure they're wrapped.
11709 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11711 * src/exporter.C (Export): Give an error message when path to file
11714 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11716 * LaTeX.C (deplog): Always check that foundfile exists.
11718 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11721 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11723 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * tabular.[Ch] (getLabelList): implement new method
11727 * minibuffer.h: comment ouf setTiimer
11729 * minibuffer.C (ExecutingCB): constify res
11730 (peek_event): constify s
11731 (Set): constify ntext
11732 (Init): constify nicename
11734 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11736 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11737 (savePosition): use two params to Minibuffer::Set
11738 (restorePosition): ditto
11740 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11742 * lyx_main.C: include language.h
11744 * Makefile.am (lyx_main.o): add language.h
11746 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11752 * CutAndPaste.C: include gettext.h
11754 * lyxfont.h: remove old hack with ON and OFF.
11757 * lyxfont.h: do not include language.h...
11762 * bufferview_funcs.C:
11768 * paragraph.C: ... but do it here instead
11770 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11772 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11774 * tabular.C: small reformat
11776 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11779 (BreakParagraph): ditto
11780 (SetOnlyLayout): ditto
11783 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11786 * lastfiles.C: removed most using decl, add std:: where needed
11788 * buffer.C: ws changes
11790 * MenuBackend.C (class compare_format): put into anon namespace
11791 (expand): constify label, names, action, action2
11794 * text.C (SingleWidth): constify font
11795 (IsBoundary): constify rtl2
11796 (GetVisibleRow): constify ww
11798 * LaTeX.C (deplog): constify logfile
11800 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11802 (workAreaExpose): constify widthChange, heightChange
11804 * lyxrow.C (par): moved
11807 * lyxrow.h: as inlines here
11809 * lyxfont.h (shape): moved from lyxfont.C
11810 (emph): moved from lyxfont.C
11812 * lyxfont.C (LyXFont): use initialization list for all
11814 (shape): move to lyxfont.h as inline
11815 (emph): move to lyxfont.h as inline
11818 2001-04-04 Juergen Vigna <jug@sad.it>
11820 * vspace.C: had to include stdio.h for use of sscanf
11822 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11825 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11826 independent of xforms.
11828 2001-04-02 Juergen Vigna <jug@sad.it>
11830 * spellchecker.C: fixed namespace placing!
11832 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11834 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11835 the LyXParagraph * is 0.
11837 2001-03-29 Juergen Vigna <jug@sad.it>
11839 * vspace.C: added support for %, c%, p%, l%.
11840 (stringFromUnit): added helper function.
11841 (asLatexString): changed to give right results for the %-values.
11843 * buffer.C: convert the widthp in a width%.
11845 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11847 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11850 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11851 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11853 * lyx_cb.[Ch]: see above.
11855 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11859 * lyx.[Ch]: replaced by figure_form.[Ch].
11863 * lyxfunc.C: changed headers associated with above changes.
11865 2001-03-27 Juergen Vigna <jug@sad.it>
11867 * BufferView_pimpl.C: set the temporary cursor right!
11869 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11871 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11873 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11875 * LString.h: removed "using std::getline"!
11877 * BufferView_pimpl.C (Dispatch): changes due to changes in
11878 InsetInclude::Params.
11880 * buffer.C (tag_name): removed redundant break statements as they were
11881 producing lots of warnings with my compiler.
11883 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11885 * LString.h: add "using std::getline" when using the real <string>.
11887 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11889 * buffer.C: removed bitset usage.
11890 PAR_TAG moved to an anonymous name space.
11891 (tag_name): new funtion, also in the anonymous namespace.
11892 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11893 (makeDocBookFile): clean code. Completed transition from string arrays
11895 (SimpleDocBookOnePar): code clean.
11897 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11899 * tabular.C: add some comments.
11901 2001-03-22 Juergen Vigna <jug@sad.it>
11903 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11904 compatibility read a bit and fixed bug with minipage in different
11907 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11909 * buffer.C (pop_tag): removed.
11910 (push_tag): removed.
11911 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11912 array replaced with vector. Added support for CDATA sections.
11913 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11915 (makeDocBookFile): XML conformant declaration of CDATA section,
11916 fixed bug related to <emphasis> in the first paragraph char.
11917 (sgmlOpenTag): exclude empty tags.
11918 (sgmlCloseTag): ditto.
11920 * buffer.h (pop_tag): removed.
11921 (push_tag): removed.
11923 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11925 * language.h (Languages): added size_type and size().
11927 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11929 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11930 response on compability reading of minipages. One probliem is that
11931 the old usage of minipages was «flertydig»
11933 * several files here and in subdirs: don't use static at file
11934 scope use anon namespaces instead.
11936 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11938 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11939 LaTeX output. This is necessary for Literate document
11942 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11944 * buffer.C: insert hfill when needed.
11946 * tabular.C (l_getline): use string::erase, small whitespace change.
11948 * BufferView_pimpl.C: try the anon namespace.
11949 * WorkArea.C: ditto
11951 2001-03-16 Juergen Vigna <jug@sad.it>
11953 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11954 otherwise it won't open options-dialogs.
11956 * buffer.C: honor pextraWidth(p) on converting minipages.
11958 * tabular.C (l_getline): changed the functions to strip trailing \r.
11960 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11962 * BufferView_pimpl.C:
11963 * minibuffer..C: added "using SigC::slot" declaration.
11965 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11967 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11973 * paragraph.C: ditto
11975 * lyxtext.h: NO_PEXTRA
11977 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11979 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11980 * ParameterStruct.h: ditto
11981 * ParagraphParameters.h: ditto
11982 * lyxparagraph.h: ditto
11984 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11986 * buffer.C: add compability for minipage alignment.
11987 (latexParagraphs): remove unwanted pextra check.
11989 * several files: remove CXX_WORKING_NAMESPACES
11991 * buffer.C (pop_tag): tie is in namespace boost
11993 * BufferView.h: noncopyable is in namespace boost
11995 * lyx_main.h: ditto
11998 * lastfiles.h: ditto
11999 * bufferlist.h: ditto
12000 * ShareContainer.h: ditto
12002 * LyXAction.h: ditto
12005 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12007 * Merging changes from BRANCH_MVC back into HEAD.
12009 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12011 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12013 * BufferView_pimpl.C: change from intl.C
12017 * Makefile.am: move combox.*
12023 * intl.C: remove dialog (covered by prefs)
12025 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12027 * lyxfunc.C (Dispatch): removed redundant break statement.
12029 2001-03-14 Juergen Vigna <jug@sad.it>
12031 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12033 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12035 * buffer.C: add hack to fix compability reading of minipages.
12037 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12039 * buffer.C (getLists): Cleanup.
12041 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12043 * lyxfont.C (update): don't honor toggleall on font size.
12045 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12049 * Makefile.am: moved to frontends/xforms/
12053 * BufferView_pimpl.C: changes for moved mathpanel
12055 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12057 * gettext.h: fix gettext_init() in --disable-nls
12059 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12061 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12063 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12066 * lyx.h: strip external form
12068 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12070 * BufferView_pimpl.C: add comment, destroySplash()
12072 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12074 * BufferView_pimpl.C:
12078 * lyxfunc.C: use re-worked insetinclude
12080 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12082 * buffer.C: add using std::stringstream.
12084 * lyx_cb.C: readd using std::ios.
12086 * buffer.C: add using std::map.
12088 * BufferView_pimpl.C: add using std::vector.
12090 * ShareContainer.h: add std:: to swap.
12092 * buffer.h: add some typedefs
12093 * buffer.C (getLists): use them
12094 (getLists): renamed from getTocList.
12095 add a counter for the different float types and use it in the
12097 (getLists): use the same counter for the NEW_INSETS and the "non"
12100 * lyx_cb.h: remove unused items, includes, using etc.
12102 * ShareContainer.h: remove some commented code, add more comments
12103 and "documentation".
12105 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12107 * buffer.C (getTocList): make the list also when NEW_INSETS is
12110 * buffer.h: remove TocType
12112 * buffer.C (getTocList): change to return a map<string,
12113 vector<TocItem> >, implement for dynamic number of list.
12115 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12116 * text2.C (PasteSelection): adjust
12117 * CutAndPaste.C (pasteSelection): adjust
12119 * FloatList.C (FloatList): update from the new_insets branch.
12120 * Floating.[Ch]: ditto
12121 * LaTeXFeatures.C: ditto
12123 * lyxlex_pimpl.C: ditto
12125 * paragraph.C (Last): remove when NEW_INSETS is defined.
12127 * other file: changes because of the above.
12129 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12131 * lyxparagraph.h: rename next to next_, previous to previous_,
12132 make them private for NEW_INSETS. Rename Next() to next(),
12133 Previous() to previous().
12135 * other files: changes because of the above.
12137 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12140 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12143 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12145 * main.C (main): pass lyx_localedir to gettext_init().
12147 * gettext.h: remove locale_init and gettext_init macros
12149 * gettext.C (locale_init): new function
12150 (gettext_init): new function
12152 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12155 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12157 * Moved credits to frontends:
12158 * credits.[Ch]: removed
12159 * credits_form.[Ch]: removed
12160 * lyx_gui_misc.C: remove credits stuff
12163 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12165 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12167 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12168 unneeded destructor.
12170 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12171 a standalone pointer again.
12173 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12175 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12181 * ToolbarDefaults.C:
12190 * BufferView_pimpl.C: use new file dialog in GUII
12193 * lyx_cb.C: remove LayoutsCB to Toolbar
12195 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12197 * ShareContainer.h (get): add std:: qualifier
12199 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12201 * ShareContainer.h: define a proper ShareContainer::value_type
12202 type (and use typename to please compaq cxx)
12204 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12206 * lyxparagraph.h: move serveral local vars to
12207 ParameterStruct/ParagraphParameters., use ShareContainer in
12208 FontTable., make vars in FontTable private and add getter and
12211 * paragraph.C: changes because of the above.
12213 * lyxfont.h: remove copy constructor and copy assignment. (the
12214 default ones is ok), move number inside FontBits. move inlines to
12217 * lyxfont.C: add number to initializaton of statics, move several
12218 inlines here. constify several local vars. some whitespace
12219 cleanup. Dont hide outerscope variables.
12221 * Spacing.h: add two new constructors to match the set methods.
12223 * ShareContainer.h: new file, will perhaps be moved to support
12225 * ParameterStruct.h: new file
12227 * ParagraphParameters.h: new file
12229 * ParagraphParameters.C: new file
12231 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12232 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12234 * BufferView_pimpl.C: ParagraphParameter changes.
12235 * buffer.C: Likewise.
12236 * bufferview_funcs.C: Likewise.
12237 * text.C: Likewise.
12238 * text2.C: Likewise.
12240 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12242 * lyxfind.C (LyXReplace): do not redefine default argument in
12244 (IsStringInText): ditto
12245 (SearchForward): ditto
12246 (SearchBackward): ditto
12248 2001-03-06 Juergen Vigna <jug@sad.it>
12250 * lyxfind.C (IsStringInText): put parentes around expressions.
12252 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12254 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12256 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12258 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12260 * stl_string_fwd.h: add comment
12262 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12265 * tabular.C: remove unused DocBook methods
12271 killed DO_USE_DEFAULT_LANGUAGE
12273 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12275 * lyx_gui.C: do not include language.h.
12277 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12278 arguments in function implementation.
12280 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12282 * BufferView_pimpl.C: add <ctime>
12284 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12286 * BufferView_pimpl.C: add using std::find_if
12288 2001-02-27 José Matos <jamatos@fep.up.pt>
12290 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12293 2001-02-11 José Matos <jamatos@fep.up.pt>
12295 * buffer.C (makeDocBookFile): command styles now have a parameter as
12296 "title" by default.
12298 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12300 * layout_forms.[Ch]: removed
12301 * lyx_cb.[Ch]: out character
12302 * lyx_gui.C: out character
12303 * lyx_gui_misc.C: out character
12304 * bufferview_funcs.C: : out character,
12305 added toggleall as parameter in ToggleAndShow
12307 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12309 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12311 * text2.C (SetCurrentFont): Disable number property at boundary.
12313 2001-02-26 Juergen Vigna <jug@sad.it>
12315 * lyxfunc.C (getStatus): added a string argument override function so
12316 that this is correctly called from LyXFunc::Dispatch if it contains a
12317 do_not_use_argument which is used!
12318 (Dispatch): added check for "custom" export and call appropriate func.
12320 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12322 * lyxrc.C: Add language_command_local, language_use_babel and
12323 language_global_options.
12325 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12327 * buffer.C (makeLaTeXFile): Use language_use_babel and
12328 language_global_options.
12330 2001-02-23 Juergen Vigna <jug@sad.it>
12332 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12333 which works with LyXText and putted it inside BufferView. Here now we
12334 only call for that part the BufferView::Dispatch() function.
12336 * BufferView.C (Dispatch): added.
12338 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12339 functions which needs to use a LyXText over from LyXFunc.
12340 (MenuInsertLyXFile): added
12341 (getInsetByCode): added
12342 (moveCursorUpdate): added
12343 (static TEXT): added
12345 2001-02-22 Juergen Vigna <jug@sad.it>
12347 * BufferView_pimpl.C (update): call a status update to see if LyXText
12350 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12352 * vc-backend.C (revert): implement for CVS
12353 (getLog): implement for CVS
12355 2001-02-20 Juergen Vigna <jug@sad.it>
12357 * text2.C (ClearSelection): added BufferView param for inset_owner call
12359 * lyxfunc.C (TEXT): added this function and use it instead of
12360 directly owner->view()-text of getLyXText().
12362 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12364 * src/layout_forms.C: out preamble
12365 * src/layout_forms.h: out preamble
12366 * src/lyx_cb.C: out preamble
12367 * src/lyx_cb.h: out preamble
12368 * src/lyx_gui.C: out preamble
12369 * src/lyx_gui_misc.C: out preamble
12370 * src/lyxfunc.C: connect with guii preamble
12372 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12374 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12376 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12378 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12379 whether to run bibtex.
12381 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12383 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12385 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12387 * Makefile.am (lyx_SOURCES): removed bibforms.h
12389 * vspace.h: doxygen
12391 * text.C (GetVisibleRow): make several local vars const
12393 * tabular.C: small cleanup.
12395 * lyxserver.C (callback): use compare instead of strncmp
12397 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12398 inlines to after class or to paragraph.C
12400 * lyxfont.h: remove friend operator!=
12402 * converter.h: move friend bool operator< to non friend and after
12405 * combox.h: small cleanup
12407 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12408 to inlines after class def.
12410 * buffer.C (pop_tag): use string operations instead of strcmp
12412 * bmtable.c: doxygen, small cleanup
12414 * LaTeX.h: remove friend operator==
12416 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12428 * BufferView_pimpl.C:
12429 * BufferView.[Ch]: remove cruft
12431 2001-02-14 Juergen Vigna <jug@sad.it>
12433 * lyxfunc.C: removed #if 0 unused code
12435 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12437 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12439 * text2.C (SetSelection): added a BufferView * parameter
12441 2001-02-13 Juergen Vigna <jug@sad.it>
12443 * lyxfunc.C (Dispatch): fixed protected blank problem.
12444 * BufferView2.C (protectedBlank): added LyxText * parameter.
12446 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12447 (AppendColumn): same as above for column_info.
12449 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12450 (moveCursorUpdate): use a LyXText param for support of InsetText.
12452 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12453 (tripleClick): ditto
12455 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12457 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12459 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12461 * text2.C (SetSelection): set correct update status if inset_owner
12462 (ToggleFree): ditto
12464 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12466 * tabular.C: remove some commented code.
12468 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12470 * BufferView_pimpl.C: call hideSplash()
12472 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12475 * bibforms.h: remove
12478 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12479 add LFUN_CHILD_CREATE
12481 * counters.h: fix tiny typo
12486 * lyx.C: move splash to frontends/xforms/
12488 * lyx_gui_misc.C: move Include and Bibform to frontends
12490 * lyxvc.h: clarify comment
12492 * vspace.C: tiny housekeeping
12494 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12496 * text.C (PrepareToPrint): RTL Fix.
12498 * paragraph.C (GetUChar): New method.
12499 (String): Use GetUChar.
12501 * buffer.C (asciiParagraph): Use GetUChar.
12503 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12505 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12507 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12510 * buffer.C: rename to getLogName(), handle
12511 build log / latex log nicely
12513 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12516 * MenuBackend.h: remove support for reference menuitem type.
12518 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12520 * BufferView_pimpl.C: housekeeping
12521 * BufferView_pimpl.h:
12526 * minibuffer.h: move Timeout GUI-I
12528 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12530 * lyxrc.C (read): Update converters data-structures.
12532 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12534 * LaTeX.h (operator!=): add operator != for Aux_Info
12536 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12538 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12540 * LaTeXLog.C: deleted, useful code moved to Buffer
12543 * buffer.C: new function getLatexLogName()
12549 * lyxfunc.C: use frontends for LaTeX and VC logs
12551 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12553 * LaTeX.h: yet another std:: that Allan forgot.
12555 * Variables.C (set): renamed from isset(), because this clashes
12556 with some HP-UX macros (grr).
12558 2001-02-06 Allan Rae <rae@lyx.org>
12560 * LaTeX.h: Another bug fix. Missing std:: this time.
12562 2001-02-04 Allan Rae <rae@lyx.org>
12564 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12565 floats problem. I've left it commented out because it's not quite
12566 correct. It should also test that the current object is a table or
12567 figure inset. But I haven't gotten around to figuring out how to do
12568 that. I *think* it'll be something like: "table" == inset.type()
12570 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12573 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12575 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12576 all the citation/databases/styles in the auxilary file.
12577 (run): Rerun latex if there was a babel language error.
12579 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12581 * text.C (Backspace): Preserve the font when changing newline char
12583 (BreakParagraph): If the cursor is before a space, delete the space.
12585 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12587 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12589 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12590 new argument (code).
12591 (ChangeCitationsIfUnique): New method.
12593 * paragraph.C (GetPositionOfInset): Handle bibkey.
12595 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12597 * BufferView_pimpl.h: change type of Position::par_pos to
12598 LyXParagraph::size_type.
12600 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12602 * BufferView_pimpl.C (savePosition, restorePosition): Write
12603 messages to minibuffer.
12605 2001-01-28 José Matos <jamatos@fep.up.pt>
12607 * buffer.C (makeDocBookFile): adds support for document language.
12608 A silly restriction on the name of LatexCommand types where removed.
12609 Added support for CDATA sections, allows to chars unescaped, used
12610 among others in code, to avoid escape < and >.
12612 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12614 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12615 saved positions instrad of a stack. Furthermore, a position is
12616 stored using paragraph id/paragraph position.
12618 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12619 Remove LFUN_REF_BACK.
12621 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12623 * converter.C (dvipdfm_options): New method.
12625 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12627 * vspace.C (isValidLength): Fix for empty input string.
12629 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12631 * LyXAction.C (init): change description of LFUN_FIGURE to
12634 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12636 * LaTeX.C: add using directive
12638 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12640 * MenuBackend.C (expand): Fix the sorting of the formats.
12642 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12644 * lyx_main.C: tiny error message fix
12646 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12648 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12649 calling fl_initialize(). This fixes the problem with ',' as
12650 decimal separator in text files.
12652 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12654 * trans.C (process): Fix the keymap bug.
12656 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12658 * LaTeX.C (scanAuxFiles): New method. Provides support for
12659 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12660 (scanLogFile) Scan for "run BibTeX" messages.
12662 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12663 OT1 font encoding. Also, load the aecompl package if the ae
12666 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12668 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12670 * texrow.C (increasePos): turn two error messages into debug
12673 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12675 * LaTeX.C (scanAux): Handle the \@input macro.
12676 (runBibTeX): Use scanAux().
12678 * language.C (latex_options_): New field.
12680 * LaTeXFeatures.C (getMacros): Add language macros.
12682 * buffer.C (makeLaTeXFile): Small fix.
12684 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12686 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12688 * text2.C: add a using directive.
12690 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12695 * lyxfunc.C: kill LyXBell.
12697 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12699 * text.C (IsBoundary): Remove the error message
12701 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12703 * lyxrc.C (setDefaults): Correct initialization value for
12706 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12708 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12711 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12712 and GotoNextNote().
12714 * src/LyXAction.C: Added reference-next.
12716 * text.C (InsertChar): Use contains instead of strchr.
12718 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12720 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12722 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12723 alignment commands (when needed).
12725 * text.C (InsertChar): Add ':' to number separator chars.