1 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5 * Makefile.am: add lyxsocket.[Ch].
7 * lyx_main.C (error_handler): handle SIGPIPE.
9 2003-10-13 André Pönitz <poenitz@gmx.net>
16 * undo_funcs.[Ch]: use paroffset_type instead of
17 ParagraphList::iterators to prevent multiple conversion
18 (and get a more robust interface)
20 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * lyxfunc.C (dispatch): RESULT -> dispatch_result
24 * text3.C (dispatch): ditto
26 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
28 * LaTeX.C (handleFoundFile): move the static to smaller scope,
29 move the onlyfile, use onlyfile instead of foundfile in a couple
32 * DepTable.C (update): flush the error stream a bit more
34 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
36 * lyxserver.C (callback): adjust
38 * lyxfunc.C (getStatus): add a missing brace in commented code
39 (ensureBufferClean): reindent
40 (dispatch): delete version taking a string
42 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
44 * LaTeX.C (deplog): move found file handlig from here...
45 (handleFoundFile): .. to new function here.
46 (deplog): make sure to discover several files mentioned on the
49 2003-10-10 André Pönitz <poenitz@gmx.net>
56 * text3.C: fix some of the tabular crashes
58 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
60 * MenuBackend.C (binding): put debug message into Debug::KBMAP
62 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
64 2003-10-09 André Pönitz <poenitz@gmx.net>
66 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
81 * undo_funcs.C: adjust
83 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
85 * text2.C (incrementItemDepth): new function, use a backtracking
86 algorithm to discover the correct item depth.
87 (resetEnumCounterIfNeeded): new function, use a backtracking
88 algorithm to discover if counter reset is needed.
89 (setCounter): use them. Simplify a bit. Add different labels for
90 different item depths for itemize.
92 * paragraph.C (Paragraph): remove initialization of enumdepth
95 * paragraph.h: get rid of enumdepth, and use itemdepth both for
96 enumerate and itemize. Change the type of itemdepth to signed char.
98 2003-10-08 André Pönitz <poenitz@gmx.net>
100 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
105 * tabular.[Ch]: fix crash after 'row-insert'
107 2003-10-08 Angus Leeming <leeming@lyx.org>
109 Fix doxygen warnings.
111 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
112 Remove CutAndPaste:: prefix from header file declaration.
114 * LColor.h (fill): remove LColor:: prefix from declaration.
116 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
117 use lyx::depth_type rather than Paragraph::depth_type so that
118 header file and .C file match.
120 * converter.h (intToFormat): remove Converters:: prefix from declaration.
122 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
123 * aspell.C: \file aspell_local.C -> \file aspell.C
124 * gettext.C: \file gettext.C -> \file src/gettext.C
125 * gettext.h: \file gettext.h -> \file src/gettext.h
126 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
127 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
128 * text.C: \file text.C -> \file src/text.C
130 * toc.C: move comment so that doxygen is not confused.
132 2003-10-07 Angus Leeming <leeming@lyx.org>
134 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
136 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
139 * aspell_local.h: add forgotten std::string's.
141 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
148 * text3.C: The Box patch. Fancybox support, minipage, parbox
150 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
156 * ParagraphParameters.h:
166 * lyxtextclasslist.h:
170 * textcursor.h: add <string> and other small fixes to make Lars'
171 std::string patch compile with STLport.
173 2003-10-06 Angus Leeming <leeming@lyx.org>
175 * LColor.h: Add missing #include <string>.
177 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
179 * All most all file in all subdirs: Make <string> be the prefered
180 way of getting to std::string, add using declarations.
182 2003-10-06 André Pönitz <poenitz@gmx.net>
184 * metricsinfo.C: initialize LyXFont before changing attribute.
185 (fixes the 'math in \emph is upright' bug)
187 2003-10-06 André Pönitz <poenitz@gmx.net>
189 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
191 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
194 * paragraph_pimpl.C: Small fixes to build using STLport
196 2003-10-02 André Pönitz <poenitz@gmx.net>
199 * text3.C: move handling of LFUN_DEPTH *; fix #1360
201 2003-10-01 André Pönitz <poenitz@gmx.net>
203 * factory.C: assert early
205 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
207 * lyx_main.C: remove the global debug object
209 * debug.h: adjust for new debugstream
211 * debug.C: adjust for new debugstream and keep the global debug
214 2003-09-22 Angus Leeming <leeming@lyx.org>
216 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
217 of g++ which otherwise complain that the scoped_ptr destructor can't delete
218 an incomplete class LyXFont.
220 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
222 * factory.C: bug fix in branches
224 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
226 * lyxfunc.C (processKeySym): adjust
228 (dispatch): change arg name from ev to func, adjust
229 (sendDispatchMessage): ditto
231 * lyx_main.C (defaultKeyBindings): adjust keybindings
232 (deadKeyBindings): ditto
234 * kbsequence.C (addkey): return a FuncRequest
236 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
238 * kbmap.C (bind): take a FuncRequest as arg, adjust
241 (defkey): change to take a FuncRequest as arg, adjust
242 (findbinding): take a FuncRequest as arg, adjust.
244 * funcrequest.h (operator=): added
246 * funcrequest.C (FuncRequest): default kb_action changed from
247 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
249 * buffer.C (dispatch): simplify
250 (dispatch): adjust to take a FuncRequest as arg, adjust
252 * boost.C (assertion_failed): change assertion message slightly
254 * ToolbarBackend.C (read): simplify
256 * MenuBackend.C (binding): adjust call to findbinding, add a
257 message if no binding is found.
259 (expandToc): correct by adding a empty FuncRequest
261 * LyXAction.C: include <boost/assert.hpp>
262 (isPseudoAction): delete function
263 (LookupFunc): change name to...
264 (lookupFunc): this. change return type to FuncRequest.
265 (getActionName): take kb_action as arg, simplify
266 (funcHasFlag): add an assert, simplify.
268 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
270 * toc.C (action): return a FuncRequest, simplify
272 * lyxfunc.C (processKeySym): adjust
273 (getStatus): delete version that takes an int.
275 (dispatch): delete version that takes action as int
277 (sendDispatchMessage): simplify and adjust
279 * funcrequest.C (getArg): take unsigned int as arg
281 * ToolbarBackend.C (read): adjust
282 (add): delete version that takes func as a string.
283 (getIton): take a FuncRequest as arg
285 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
288 * MenuBackend.C (MenuItem): add a new construct that only takes a
289 Kind, simplify the constructor use for submenus.
291 (expandLastfiles): adjust
292 (expandDocuments): adjust
293 (expandFormats): adjust
294 (expandFloatListInsert): adjust
295 (expandFloatInsert): adjust
296 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
298 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
299 Remove class variables lyx_pseudo_map and lyx_arg_map
301 * LyXAction.C (searchActionArg): delete function
302 (getPseudoAction): delete function
303 (retrieveActionArg): delete function
304 (LookupFunc): make it return kb_action, simplify.
305 (getActionName): simplify
307 * factory.C (createInset): fix new bug
309 2003-09-19 Angus Leeming <leeming@lyx.org>
311 * CutAndPaste.C (pasteSelection): remove fudge used to set the
312 masterFilename_ parameter in the include inset.
314 * factory.C (createInset): changes due to the changes to InsetInclude.
316 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
318 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
320 2003-09-18 Angus Leeming <leeming@lyx.org>
323 * BufferView.C: pass the buffer when calling Inset::getLabelList,
324 Inset::fillWithBibKeys.
325 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
327 2003-09-18 Angus Leeming <leeming@lyx.org>
329 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
331 (ctor): pass and store a 'Buffer const &'
332 (buffer): new member function.
334 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
335 '*this' to the LaTeXFeatures ctor.
337 2003-09-18 Angus Leeming <leeming@lyx.org>
343 * text.C: rename EnumLColor as LColor_color.
345 2003-09-18 Angus Leeming <leeming@lyx.org>
347 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
348 remove #include "insets/insetbase.h" from cursor.h.
350 2003-09-18 Angus Leeming <leeming@lyx.org>
352 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
353 InsetOld_code to remove #include "inset.h".
355 * iterators.C: add #include "insets/inset.h"
357 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
359 * BufferView.C: remove more locking stuff that apparently doesn't
360 do anything sensible.
362 2003-09-16 André Pönitz <poenitz@gmx.net>
365 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
368 2003-09-16 Angus Leeming <leeming@lyx.org>
370 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
372 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
375 * paragraph.h: remove #include "lyxfont.h". Forward declare
378 2003-09-16 Angus Leeming <leeming@lyx.org>
380 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
381 of support/textutils.h.
382 (isWord): move the contents of support/textutils.h's IsWordChar here.
388 * text2.C: add #include "paragraph.h".
391 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
393 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * LaTeX.C: use namespace alias for lyx::support::os
401 2003-09-16 Angus Leeming <leeming@lyx.org>
404 * bufferview_funcs.C:
409 * text.C: add #include "LColor.h".
411 2003-09-16 Angus Leeming <leeming@lyx.org>
413 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
414 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
416 Store the FontBits::color variable as an int rather than as an
417 LColor::colorso that we can move LColor.h out of the lyxfont.h header
420 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
421 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
422 string calls together.
424 * lyxrc.C: add #include "LColor.h".
426 2003-09-15 Angus Leeming <leeming@lyx.org>
428 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
431 2003-09-15 Angus Leeming <leeming@lyx.org>
433 * LColor.h: add an EnumLColor wrapper for LColor::color.
435 * lyxfont.[Ch] (color, setColor, realColor):
436 * lyxtext.h, text.C (backgroundColor):
437 pass EnumLColor args to/from the functions, rather than LColor::color
441 * lyxtext.h: forward declare EnumLColor.
443 * lyx_main.C: add #include "LColor.h".
445 2003-09-15 Angus Leeming <leeming@lyx.org>
447 * .cvsignore: add lyx-gtk.
449 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
454 * ParagraphParameters.C
468 * vc-backend.C: remove usage of STRCONV
470 2003-09-15 Angus Leeming <leeming@lyx.org>
472 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
473 explicitly define the color passed to the painter.
475 2003-09-15 Angus Leeming <leeming@lyx.org>
477 * bufferparams.C (BufferParams): reorder member initializers to avoid
480 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
482 * CutAndPaste.C (pasteSelection): remove an outdated #warning
483 * text.C (updateRowPositions): remove an unusual nop
485 2003-09-12 André Pönitz <poenitz@gmx.net>
487 * BufferView_pimpl.C:
496 * Counters.[Ch]: finish the 'automatic counters' job
498 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
500 * aspell.C: include <boost/assert.cpp> (compile fix)
502 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
504 * boost.C (assertion_failed): use lyx::support::abort instead of
507 2003-09-10 Angus Leeming <leeming@lyx.org>
509 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
510 with their _fwd progeny.
512 2003-09-09 Angus Leeming <leeming@lyx.org>
514 134 files throughtout the source tree: replace 'using namespace abc;'
515 directives with the appropriate 'using abc::xyz;' declarations.
517 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
519 * boost.C (emergencyCleanup): moved here from LAssert.c
520 (assertion_failed): new function, called by BOOST_ASSERT
522 * several files: change Assert to BOOST_ASSERT
524 2003-09-09 Angus Leeming <leeming@lyx.org>
526 * buffer.[Ch]: Add an Impl class and move Buffer's member
527 variables into it. As a result move several header files out of
530 Add header files to lots of .C files all over the tree as a result.
532 2003-09-09 Angus Leeming <leeming@lyx.org>
534 * buffer.[Ch]: make Buffer's member variables private. Add
537 Lots of changes all over the tree as a result.
539 2003-09-08 Angus Leeming <leeming@lyx.org>
541 * graph.C: #include <config.h>.
543 2003-09-08 Angus Leeming <leeming@lyx.org>
547 * BufferView_pimpl.C:
576 * toc.C: remove redundant using directives.
578 2003-09-07 Angus Leeming <leeming@lyx.org>
580 * LaTeXFeatures.h: remove #include "support/types.h".
581 * ToolbarBackend.h: remove #include <algorithm>.
582 * changes.h: remove #include <ctime>.
583 * debug.h: remove #include <iosfwd>.
584 * graph.h: remove #include "support/std_string.h".
585 * lyx_main.h: remove #include <csignal>.
586 * lyxlex_pimpl.h: remove #include <fstream>.
587 * sgml.h: remove #include <algorithm>, <utility>.
588 * toc.h: remove #include "support/std_ostream.h".
589 Add #include <iosfwd>.
591 2003-09-07 Angus Leeming <leeming@lyx.org>
593 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
595 * converter.h: forward declare LatexRunParams.
596 * encoding.h: remove #include "lyxrc.h".
597 * lyxtext.h: remove #include "LColor.h".
598 * lyxtextclass.h: remove #include "support/types.h".
599 * trans.h: remove #include "tex-accent.h".
600 * trans_mgr.h: remove #include "tex-accent.h".
601 * insets/inset.h: remove #include "support/types.h", <vector>.
602 * insets/insetcollapsable.h: remove #include "LColor.h".
603 * insets/insetinclude.h: remove #include "dimension.h".
604 * insets/insetlatexaccent.h: remove #include "dimension.h".
605 * insets/insetoptarg.h:: remove #include "insettext.h".
606 * insets/insettext.h: remove #include "dimension.h",
607 <boost/shared_ptr.hpp>
609 * insets/renderers.h: add #include "dimension.h".
610 * insets/updatableinset.h: add #include "support/types.h".
612 * many .C files: Associated changes.
614 2003-09-06 Angus Leeming <leeming@lyx.org>
616 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
617 one, inside testInvariant.
619 * PrinterParams.C: new file.
620 * PrinterParams.[Ch]: move the function bodies out of line.
622 2003-09-06 Angus Leeming <leeming@lyx.org>
624 * ParagraphParameters.h: forward declare ParameterStruct rather than
625 including its header file.
626 (depth): moved out-of-line.
628 2003-09-06 Angus Leeming <leeming@lyx.org>
630 * BufferView_pimpl.h:
633 * lyxfunc.h: forward declare LyXKeySym rather than
634 #include "frontends/LyXKeySym.h".
636 * BufferView_pimpl.C:
639 * lyxfunc.C: associated changes.
641 2003-09-06 Angus Leeming <leeming@lyx.org>
643 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
644 As a result, can remove the #include "insets/inset.h" from BufferView.h
646 2003-09-06 Angus Leeming <leeming@lyx.org>
648 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
649 As a result, can remove the #include "insets/inset.h" from BufferView.h
651 2003-09-06 Angus Leeming <leeming@lyx.org>
657 * bufferview_funcs.C:
658 * BufferView_pimpl.C:
663 * ParagraphParameters.C:
668 * frontends/controllers/ControlDocument.C:
669 * insets/insetcaption.C: rearrange the #includes into some sort of
672 * buffer.h: remove #includes ErrorList.h, undo.h
674 2003-09-06 Angus Leeming <leeming@lyx.org>
676 * support/types.h: add a 'depth_type' typedef, used to store the
677 nesting depth of a paragraph.
680 * ParameterStruct.h: use this lyx::depth_type typedef rather than
685 * ParagraphParameters.h:
686 * sgml.h: use lyx::depth_type rather than Paragraph or
687 ParameterStruct's depth_type.
690 * paragraph_funcs.h: no need to #include paragraph.h anymore.
693 * BufferView_pimpl.C:
695 * ParagraphParameters.C:
698 * bufferview_funcs.C:
705 * frontends/LyXView.C:
706 * frontends/controllers/ControlDocument.C:
707 * frontends/controllers/ControlErrorList.C:
708 * insets/insetbibitem.C:
709 * insets/insetbranch.C:
710 * insets/insetcaption.C:
711 * insets/insetcollapsable.C:
714 * insets/insetfloat.C:
715 * insets/insetfoot.C:
716 * insets/insetfootlike.C:
717 * insets/insetnewline.C:
718 * insets/insetquotes.C:
719 * insets/insettabular.C:
720 * insets/insettext.C:
721 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
723 * frontends/controllers/ControlChanges.C: #include "changes.h".
725 2003-09-06 Angus Leeming <leeming@lyx.org>
727 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
728 than #including paragraph.h.
731 * RowList.h: deleted. Superfluous.
741 * insets/insettext.h: use ParagraphList_fwd.h rather than
744 * paragraph.h: don't forward declare ParagraphList.
747 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
748 rather than ParagraphList.h. paragraph.h is still needed for the
749 Paragraph::depth_type parameters.
751 * textcursor.h: enable it to compile stand-alone in light of the
754 * bufferview_funcs.C:
766 * frontends/controllers/ControlParagraph.C:
767 * frontends/controllers/ControlTabular.C:
768 * insets/insetmarginal.C:
769 * insets/insetminipage.C:
770 * insets/insetnote.C:
771 * insets/insetoptarg.C: add header files needed to compile again.
773 2003-09-06 Angus Leeming <leeming@lyx.org>
775 * RowList_fwd.h: new file, forward-declaring Row rather than
781 * insets/insettext.h: use it instead of RowList.h
783 * bufferview_funcs.C:
790 * text3.C: #include "RowList.h".
792 2003-09-05 Angus Leeming <leeming@lyx.org>
794 * factory.C (createInset):
795 * vspace.C (c-tor): replace sscanf call with an istringstream.
796 * ispell.C: re-add missing HP/UX headers.
797 * lyxserver.C: re-add missing os2 headers.
799 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
808 * text3.C: re-add missing system headers, needed for 2.95.2.
810 2003-09-05 Angus Leeming <leeming@lyx.org>
812 Changes most place everywhere due to the removal of using directives
813 from support/std_sstream.h.
815 2003-09-05 Angus Leeming <leeming@lyx.org>
817 Replace LString.h with support/std_string.h,
818 Lsstream.h with support/std_sstream.h,
819 support/LIstream.h with support/std_istream.h,
820 support/LOstream.h with support/std_ostream.h.
822 Changes resulting throughout the tree.
824 2003-09-05 Angus Leeming <leeming@lyx.org>
826 * sgml.h: ensure that the header file can be compiled stand-alone.
827 * *.C: strip out redundant #includes. (320 in total.)
829 2003-09-04 Angus Leeming <leeming@lyx.org>
831 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
832 here (from getPackages).
834 * debug.[Ch]: add a new EXTERNAL tag.
836 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
838 * text2.C (cursorEnd): simplify
840 (getColumnNearX): adjust
842 * text.C (computeBidiTables): adjust
845 * rowpainter.C (paintChars): adjust
846 (paintSelection): adjust
847 (paintChangeBar): adjust
850 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
852 (numberOfSeparators): adjust
854 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
860 * text3.C: Restricts the mouse click functionality
861 of insets like bibtex, include, toc and floatlist to the visible
862 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
863 up the dialogs. Cursor has to be in front of the inset (i.e.
864 start of row) for this to function.
866 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
868 * bufferview_funcs.C (currentState): output row information
870 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
872 * bufferview_funcs.C (currentState): output paragraph position
874 2003-09-04 Angus Leeming <leeming@lyx.org>
876 * FloatList.h: move out #include "Floating.h".
877 * LaTeX.h: move out #include "DepTable.h".
878 * LyXAction.h: move out #include "funcrequest.h".
879 * buffer.h: move out #include "author.h", "iterators.h".
880 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
881 * lyx_main.h: move out #include "errorlist.h".
882 * lyxfunc.h: move out #include "FuncStatus.h".
883 * lyxtext: move out #include "lyxcursor.h".
884 * paragraph_pimpl.h: move out #include "counters.h".
886 2003-09-03 Angus Leeming <leeming@lyx.org>
888 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
889 preamble_snippets list, enabling us to add snippets to the preamble
890 only if the snippet was not there already.
892 2003-09-04 Angus Leeming <leeming@lyx.org>
894 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
896 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * lyxfunc.C (dispatch): if fitCursor did something be sure to
901 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
903 * BranchList.C: point fix, earlier forgotten
905 2003-09-02 Angus Leeming <leeming@lyx.org>
907 * box.C (contains): renamed from 'contained' after a fantastic
910 2003-09-02 John Levon <levon@movementarian.org>
916 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
918 2003-09-02 John Levon <levon@movementarian.org>
920 * text2.C: simplification of cursorEnd(), including partial
923 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
925 * buffer.C (readFile): add a space
927 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
929 * BufferView_pimpl.C (update): remove bogus fitCursor() call
931 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
933 * buffer.C (readFile): new function, take a filename and a
934 ParagraphList::iterator
936 (readFile): adjust, make it private. don't use setStream, make
937 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
938 always contain the filename.
940 * BufferView.C (insertLyXFile): simplify and make it work for
943 2003-08-30 John Levon <levon@movementarian.org>
945 * Makefile.am: fix dist (from Kayvan)
947 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * most files: change to use const Buffer refs
951 2003-08-27 André Pönitz <poenitz@gmx.net>
953 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
954 on top of ownerPar().
956 2003-08-27 John Levon <levon@movementarian.org>
958 * funcrequest.C: properly initialise POD members
960 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
962 * lyxtext.h (top_y): move top_y from here
967 * BufferView_pimpl.[Ch]: to here
968 * frontends/screen.C:
969 * insets/insettabular.C:
970 * insets/insettext.C: adjust
971 * rowpainter.[Ch] (paintRows): remove LyXText & argument
973 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
976 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
978 2003-08-26 André Pönitz <poenitz@gmx.net>
980 * paragraph_func.[Ch] (outerPar): new function
986 * text2.C: remove Inset::par_owner
988 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
993 * text2.C: eliminates the needFullRow/display() stuff
994 altogether, putting the logic in metrics/draw in the insets.
996 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
998 * text2.C (redoParagraphInternal, redoParagraphs):
999 * text.C (redoParagraph): add a call to updateRowPositions at the
1000 end of each 'metrics-like' call. Remove all others.
1001 (getRow): remove the 'y-computing' version.
1002 (getRowNearY): do not compute nor return the real y. Solve the
1003 'y < 0' problem and simplify.
1005 2003-08-22 Angus Leeming <leeming@lyx.org>
1007 * *.[Ch]: clean-up of licence and author blurbs.
1008 Also move config.h out of a few .h files and into a few .C files.
1010 2003-08-22 André Pönitz <poenitz@gmx.net>
1012 * lyxrow.[Ch]: add x_ and *fill_ members
1017 * text2.C: adjust/remove prepareToPrint() calls
1019 2003-08-22 André Pönitz <poenitz@gmx.net>
1021 * lyxrow.[Ch]: add end_ member
1023 * lyxrow_funcs.C: use LyXRow::end_
1025 * lyxtext.h (singleWidth): add LyXFont parameter
1028 * text2.C: adjust LyXText::singleWidth() calls
1030 * text.C (redoParagraph): simplify row breaking logic
1033 2003-08-19 André Pönitz <poenitz@gmx.net>
1035 * funcrequest.C: initialize button_ member
1038 * rowpainter.[Ch]: interface consolidation
1040 2003-08-18 André Pönitz <poenitz@gmx.net>
1043 * BufferView_pimpl.C:
1045 * paragraph_funcs.C:
1047 * text3.C: remove LyXScreen::draw() and fitCursor calls
1049 * BranchList.h: remove spurious semicolons
1051 * MenuBackend.C: fix branchlist related crash
1053 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1061 * bufferparams.[Ch]:
1065 * text3.C: implements the 'branch inset'
1066 idea. This allows the output of various versions of a document
1067 from a single source version, selectively outputing or suppressing
1068 output of parts of the text.
1069 This implementation contains a 'branch list editor' in a separate
1070 tab of the document settings dialog. Branches are user definable
1071 and have a "display colour" to distinguish them on-screen.
1073 ColorHandler was somewhat cleaned up.
1074 (1) make possible a dynamically growing LColor list by allowing
1075 the graphic context cache to grow along (vector);
1076 (2) eliminate an IMHO unnecessary step in colour allocation.
1078 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1080 * BufferView_pimpl.C: compile fix
1082 2003-08-15 André Pönitz <poenitz@gmx.net>
1084 * rowpainter.C: remove extra metrics calls
1086 * lyxtext.h: merge the two constructors into a single one,
1087 pass reference to owner's par list
1089 * BufferView_pimpl.C:
1093 2003-08-15 André Pönitz <poenitz@gmx.net>
1095 * lyxrow_funcs.[Ch]:
1098 * paragraph_funcs.C:
1103 * text_funcs.C: split LyXText::rowlist_ into individual
1104 Paragraph::rows_ chunks
1107 * BufferView_pimpl.[Ch]:
1110 * text3.C: remove toggleSelection()
1112 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1114 * bufferlist.C: beautify two alerts (shorter text of buttons)
1115 * buffer.C: Remove redundant ' ' from message
1117 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1118 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1119 rename VALIGN_CENTER to VALIGN_MIDDLE
1121 2003-08-11 André Pönitz <poenitz@gmx.net>
1123 * lyxtext.h (getPar):
1124 * text.C: new function
1126 2003-08-11 André Pönitz <poenitz@gmx.net>
1129 * tracer.[Ch]: remove unneeded files
1131 * InsetList.[Ch]: remove resizeInsetsLyXText()
1136 * text3.C: merge insertParagraphs() and appendParagraph()
1137 remove breakAgain(), update()
1139 * BufferView_pimpl.[Ch]:
1140 * bufferview_funcs.[Ch]:
1144 * tabular.C: adjust after text & InsetList changes.
1146 2003-08-08 André Pönitz <poenitz@gmx.net>
1148 * text.C (insertChar, backspace): replace rowlist fiddling
1149 with rebreak of full par
1152 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1153 checkParagraph, updateInset): removed
1155 2003-08-07 André Pönitz <poenitz@gmx.net>
1158 * text3.C: merge some LFUN handlers, remove dead code
1160 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1164 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1166 * text2.C (DEPM): fix part of bug 1255 and 1256
1168 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1170 * BufferView_pimpl.C (workAreaDispatch): change to use
1171 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1172 that are no mouse related.
1174 2003-08-05 André Pönitz <poenitz@gmx.net>
1177 * BufferView_pimpl.[Ch]:
1178 * bufferview_funcs.C:
1180 * text3.C: rip out "deep update"
1182 * textcursor.[Ch] (last_sel_cursor): remove unused member
1184 2003-08-04 André Pönitz <poenitz@gmx.net>
1187 * BufferView_pimpl.[Ch]:
1188 * ParagraphParameters.C:
1189 * bufferview_funcs.C:
1195 * text3.C: replace "complicated" BufferView::update(...) calls with
1198 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1200 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1202 * Makefile.am (lyx_SOURCES): add paper.h
1204 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1206 * Makefile.am: move things around so that both lyx-qt and
1207 lyx-xforms can be built (according to --with-frontend). Then lyx
1208 is a symbolic link to lyx-[firstfrontend]
1210 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1212 * Always use std::endl with lyxerr
1214 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1216 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1218 2003-08-01 André Pönitz <poenitz@gmx.net>
1221 * BufferView_pimpl.[Ch]:
1223 * text3.C: merge BufferView::repaint() and BufferView::update()
1225 2003-08-01 José Matos <jamatos@lyx.org>
1227 * buffer.[Ch]: file_format is no longer a buffer data element.
1229 2003-08-01 André Pönitz <poenitz@gmx.net>
1234 * text2.C: make redoParagraph more independent of current cursor
1236 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1238 * text2.C: remove unneeded members
1240 2003-07-30 André Pönitz <poenitz@gmx.net>
1242 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1244 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1245 create a single function...
1247 * paragraph_funcs.C (moveItem): ... here.
1250 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1252 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1254 * LColor.[Ch]: Add comment and greyedout logical colors.
1256 2003-07-30 André Pönitz <poenitz@gmx.net>
1258 * tabular.C: don't use Assert too heavily. This crashes where it
1261 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1263 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1264 is disabled (bug 1232)
1266 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1268 * factory.C: limited 'arg' scope
1270 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1272 * factory.C: fixed Note submenu issues
1274 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1276 * factory.C: submenu for Note/Comment/Greyedout
1278 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1281 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1283 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1286 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1287 greyedout. Patch provided by Jürgen Spitzmüller.
1289 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1291 * kbmap.C (read): fix error message when reading bind files
1293 2003-07-29 Angus Leeming <leeming@lyx.org>
1295 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1296 certainly does not do what it purports to do. I am doing it, and
1297 us, a favour by killing it.
1299 2003-07-28 José Matos <jamatos@lyx.org>
1301 * buffer.C (readBody, do_writeFile):
1302 * paragraph.C(readParagraph): \end_document replaces \the_end.
1304 2003-07-29 André Pönitz <poenitz@gmx.net>
1307 * BufferView_pimpl.[Ch]:
1311 * textcursor.[Ch]: remove toggleToggle & Co
1313 2003-07-28 José Matos <jamatos@fep.up.pt>
1315 * buffer.C (readParagraph):
1316 * params_func (readParToken, readParagraph):
1317 * paragraph.C (write): \layout -> \begin_layout.
1319 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * lyxlex_pimpl.C (setFile): clean up slightly.
1323 * bufferparams.h: add compressed var
1325 * buffer_funcs.C (readFile): adjust for LyXLex change
1326 (newFile): ditto + simplify
1328 * buffer.C (writeFile): handle writing of compressed files
1330 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1331 Check if the file is compressed and set a bufferparm if so.
1333 * Makefile.am (lyx_LDADD): remove explicit -lz
1335 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1337 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1338 makeDocBookFile): put the real LyX version in the first line of
1342 * version.C.in: remove lyx_docversion
1344 * tabular.C (write_attribute): add a template-based version to
1345 write enums properly
1347 2003-07-28 André Pönitz <poenitz@gmx.net>
1352 * text3.C: use doubles again for x-coordinates. They are needed.
1354 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * messages.C (getLocaleDir): use lyx_localedir()
1358 * lyxlex_pimpl.C (setFile): compress stuff
1360 * buffer.C (writeFile): add some compression stuff
1361 (do_writeFile): new func, dont call expliti close... will this
1364 * Makefile.am (lyx_LDADD): add -lz
1366 2003-07-28 José Matos <jamatos@fep.up.pt>
1368 * buffer.C: increment file format.
1369 * paragraph_funcs (readParagraph, readParToken):
1370 * paragraph.C (readParagraph): add \end_layout.
1372 2003-07-27 Angus Leeming <leeming@lyx.org>
1374 * Makefile.am: remove special casing for configure-time setting of
1375 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1377 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1378 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1380 2003-07-26 André Pönitz <poenitz@gmx.net>
1382 * paragraph_func.[Ch]:
1383 * paragraph.C (realizeFont): inline it whereever it is used
1388 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1391 2003-07-26 André Pönitz <poenitz@gmx.net>
1395 * text2.C: get rid of LyXText::need_break_row
1397 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1399 * toc.[Ch]: put namespace toc inside namespace lyx
1401 * MenuBackend.C (expandToc2): adjust for lyx::toc
1404 * lyxfunc.C (dispatch): adjust for lyx::find
1406 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1407 lyx::find instead. Reorganize a bit.
1408 (LyXReplace): rename to replace
1409 (LyXFind): rename to find
1411 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1414 2003-07-26 André Pönitz <poenitz@gmx.net>
1416 * text.C (setHeightOfRow): restrict scope of temporary variable
1418 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1419 code (never has been used?)
1421 2003-07-27 Asger Alstrup <alstrup@local>
1423 * text.C (fill): Optimise algorithm to exploit that we can reuse
1424 the LyXFont for many characters.
1425 (setHeightOfRow): Same thing.
1426 (rowBreakPoint): Same thing.
1428 2003-07-26 Asger Alstrup <alstrup@local>
1430 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1432 * text.C (singleWidth): Spurious font copying in hot-spot
1433 singleWidth avoided. Reorder tests for arabic for efficiency.
1435 * text.C (fill): handle empty paragraphs better.
1437 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1440 * encoding.h: add includes
1442 * lyxrc.C: remove reading of bind files
1444 * lyx_main.C (init): setup bindings and menus only if we have a
1447 * kbmap.C (read): new method. Do the actual reading of bind
1450 * converter.C (dvipdfm_options):
1453 (output): adapt PAPER_* enums.
1455 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1457 * bufferparams.h: remove paper-related enums from there
1459 * paper.h: New file. A trivial header file to hold paper-related
1460 enums. It should later expand to contain many paper-related
1463 * lyxrc.C: declare extern displayTranslator
1465 2003-07-27 José Matos <jamatos@fep.up.pt>
1467 * tabular.[Ch] (linuxdoc): add support for tables and figures
1470 2003-07-27 José Matos <jamatos@fep.up.pt>
1472 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1473 consistency in both functions.
1474 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1476 2003-07-26 Asger Alstrup <alstrup@local>
1478 * rowpainter.C (paintRows): Change algorithm to work directly on
1479 the insets rather than asking every character in the document
1480 whether its an inset.
1482 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1484 * buffer.C (openFileWrite): factorize some code
1486 2003-07-26 Angus Leeming <leeming@lyx.org>
1489 * lyx_main.[Ch]: replace occurances of system_tempdir with
1492 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1494 * rename Inset to InsetOld
1496 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1498 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1499 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1500 which I think is a bit clearer. EDIT is gone, since it was
1501 premature optimisation, and broken for mathed anyway.
1502 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1503 with cursor positioning in insets as well (math insets still do not
1504 work, but that's a different story anyway.) It mysteriously
1505 crashes sometimes with undo in the first paragraph, but I'm fairly
1506 confident that this is a compiler bug.
1508 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1510 * paragraph.C (Paragraph): adjust for new clone return type
1512 (copyIntoMinibuffer): ditto
1514 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1516 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1517 by not having a special case, and always doing a full rebreak of
1518 the document after undo.
1520 2003-07-23 Angus Leeming <leeming@lyx.org>
1522 * factory.C (createInset): InsetExternal::setParams now takes a
1525 2003-07-23 Angus Leeming <leeming@lyx.org>
1527 * factory.C (createInset): changed interface to the external and
1528 graphics mailers' string2params functions.
1530 2003-07-23 Angus Leeming <leeming@lyx.org>
1532 * factory.C (createInset): pass a
1533 Buffer const * parameter to InsetExternalMailer's string2params.
1535 2003-07-22 John Levon <levon@movementarian.org>
1537 * Thesaurus.h: include the right aiksaurus header
1539 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * MenuBackend.C (expand): check menu shortcuts unconditionally
1543 2003-07-21 Angus Leeming <leeming@lyx.org>
1545 * factory.C (createInset): pass a
1546 buffer_path parameter to InsetGraphicsMailer's string2params.
1548 2003-07-21 Angus Leeming <leeming@lyx.org>
1550 * BufferView_pimpl.C (buffer):
1553 * lyxfunc.C (dispatch):
1554 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1555 rather than the grfx shortcut.
1557 2003-07-21 André Pönitz <poenitz@gmx.net>
1559 * rowpainter.C: remove unused variables
1562 * tabular_funcs.h: move to tabular.C
1563 * Makefile.am: adjust
1565 * tabular.[Ch]: basic optical cleaning
1567 * author.h: pass references, not values
1569 2003-07-18 André Pönitz <poenitz@gmx.net>
1577 * text3.C: two-phase drawing for InsetText and InsetTabular
1578 some float -> int changes.
1580 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1582 * lyx_main.C: fix the fix
1584 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1586 * lyx_main.C: fix a crash in batch mode if no files specified
1589 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1591 * format.[Ch] (papersize): moved to BufferParams
1592 * converter.[Ch] (dvips_options): moved to BufferParams
1593 (dvipdfm_options): moved to anon namespace
1594 * bufferparams.[Ch]: added above functions.
1596 2003-07-17 André Pönitz <poenitz@gmx.net>
1600 * text2.C: don't call inset->update() anymore
1602 * metricsinfo.[Ch]: add convenience constructor
1604 2003-07-16 André Pönitz <poenitz@gmx.net>
1609 * text2.C: replace the LyXCursor::irow_ member with
1610 on-demand computation of the value
1612 2003-07-16 John Levon <levon@movementarian.org>
1614 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1616 2003-07-15 André Pönitz <poenitz@gmx.net>
1619 * text2.C: remove no more needed refresh_row
1621 2003-07-15 André Pönitz <poenitz@gmx.net>
1626 * text3.C: refresh_status tristate -> need_update bool
1628 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1630 * lyxtext.h (init): remove reinit argument (act as if always true)
1631 * text2.C: adjust to that
1633 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1635 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1636 * text3.C: use it to delete selections in some cases
1637 (bugs 441, 673, 702, 954).
1639 2003-07-14 André Pönitz <poenitz@gmx.net>
1641 * rowpainter.[Ch]: reduce interface
1643 2003-07-14 André Pönitz <poenitz@gmx.net>
1645 * BufferView_pimpl.C:
1646 * text2.C: adjust after removing unused BufferView * argument
1648 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1650 * text2.C (init): fix a crash fired on resize
1652 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1654 * buffer.[Ch]: added new closing signal
1655 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1656 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1657 BufferView::Pimpl via the closing the signal
1659 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1661 * buffer.[Ch]: take out all bv-related from buffer
1663 * BufferView_pimpl.[Ch]: connect to new signals
1664 * CutAndPaste.C: removed useless asserts
1665 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1668 * lyxfunc.C: moved view-related funciontality from vc here
1669 * paragraph.C: removed outdated comments
1672 2003-07-10 André Pönitz <poenitz@gmx.net>
1674 * BufferView_pimpl.C:
1678 * text2.C: remove InsetText::InnerCache, clean up consequences
1680 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1682 * ispell.C: fix two typos in error messages
1684 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1686 * Extend Note inset to other forms of annotation like Comment
1687 and Greyedout. Right button click gives dialog.
1689 Files modified or added (+):
1693 * ControlNote.[Ch] +
1695 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1696 frontends/controllers
1700 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1702 * aspell.C: add missing namespace lyx::support
1704 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1706 * BufferView.[Ch] (newFile): Add
1707 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1708 * LaTeX.[Ch] (message): added this signal and use it
1709 * buffer.[Ch] (busy, message): added these signals and use them
1710 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1714 * importer.C: use buffer signals instead of direct bv calling
1715 * lyx_cb.[Ch] (ShowMessage): removed
1718 * paragraph_funcs.C:
1719 * text2.C: use buffer signals
1721 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1723 * introduce namespace lyx::graphics
1725 2003-07-02 André Pönitz <poenitz@gmx.net>
1727 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1729 2003-07-01 André Pönitz <poenitz@gmx.net>
1736 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1737 text*.C to text_func.C
1739 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * introduce namespace lyx::support
1743 2003-06-30 André Pönitz <poenitz@gmx.net>
1748 * text.C: re-enable --with-included-string
1750 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * textcursor.C: add <config.h>
1754 * text.C (getWord): remove const from word_location arg
1756 * lyxvc.C (getLogFile): fix const type order
1758 * lyxtext.h: remove const from word_location arg, add arg name
1760 * lyxlayout.h: currect type on labeltype.
1762 * importer.C: correct \file
1764 * converter.C (intToFormat): use std:: on ret val, ws changes
1766 * bufferlist.h: correct \file
1768 * buffer.C (makeLinuxDocFile): fix const type order
1769 (makeDocBookFile): ditto
1770 (fillWithBibKeys): use std:: on stdlib args.
1772 * CutAndPaste.C: fix authors.
1773 (availableSelections): use std:: on return vector
1775 2003-06-27 André Pönitz <poenitz@gmx.net>
1777 * BufferView_pimpl.C:
1778 * bufferview_funcs.C:
1786 * text3.C: remove LyXCursor::row_ member
1789 * text.C: rename fullRebreak() to partialRebreak() and implement
1790 a fullRebreak() that really bereks fully
1792 * textcursor.h: new struct for cursor-related data
1794 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1796 * lyx_main.C (LyX): get full path of document loaded on the
1799 2003-06-26 André Pönitz <poenitz@gmx.net>
1801 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1802 remove unused/broken operator>,<,>=.
1804 * text.C: remove only use of broken operator<= in an Assert().
1806 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1808 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1809 moved errorlist_.clear to showErrorList
1811 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1813 * converter.C (scanLog, runLaTeX):
1814 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1815 move the bv->showErrorList call to the callers
1816 * lyxfunc.C: i.e. here...
1818 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1819 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1820 namespace, the second to...
1821 * buffer_funcs (BufferFormat, parseErrors): added
1822 * errorlist.C (ErrorList(TeXErrors const &)): removed
1824 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1826 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1828 2003-06-24 "Garst R. Reese" <reese@isn.net>
1832 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1834 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1836 * version.C.in: change docversion to 1.4
1838 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1840 * buffer.C: fix a bug just introduced
1842 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1844 * buffer.[Ch]: added the parseError signal and use it, removed
1846 * BufferView.[Ch] (addError): moved to ...
1847 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1848 to the Buffer::parseError signal to catch (guess what) parse errors
1849 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1851 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1853 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1854 ability to create a buffer and to return an existing one from
1855 the list. Moved these functions to...
1856 * buffer_funcs.[Ch]: added
1857 * BufferView.[Ch] (loadLyXFile): added
1858 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1859 job removed from bufferlist::loadLyXFile.
1860 * buffer.C (setReadOnly): make it work without view
1861 (i.e added an if (users))
1863 2003-06-19 Angus Leeming <leeming@lyx.org>
1866 * LyXAction.C (init):
1867 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1868 with LFUN_DIALOG_SHOW <name> <data>.
1870 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1872 * CutAndPaste.C (availableSelections): small compilation fix for
1873 ancient (gcc 2.9x) compilers
1875 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1877 * text3.C (cursorNext): add tmp var
1879 * text2.C (updateCounters): for function calling out of for clause
1880 (replaceSelectionWithString): ditto
1881 (insertStringAsParagraphs): ditto
1882 (getColumnNearX): add tmp var
1883 (setCursorFromCoordinates): add tmp var
1884 (cursorDownParagraph): add tmp var
1885 (deleteEmptyParagraphMechanism): add tmp var
1887 * text.C (insertChar): add tmp var
1889 * rowpainter.C (paintDepthBar): add tmp var
1891 * CutAndPaste.C (availableSelections): potentially check all
1892 paragraphs in a cut to fill the shown strings.
1894 2003-06-18 André Pönitz <poenitz@gmx.net>
1896 * kbmap.[Ch]: use vector<> instead of list<>
1898 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1900 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1901 pasteSelection with index
1903 * text2.C (pasteSelection): modify, call pasteSelection with index
1905 * paragraph.C (asString): reimplement version with no interval to
1906 call the one with interval.
1908 * lyxtext.h: add index arg to pasteSelection
1910 * MenuBackend.C (MenuItem): handle PasteRecent
1911 (Menu::read::Menutags): add md_pasterecent
1913 (expandPasteRecent): new function
1916 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1918 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1920 (availableSelections): new function
1922 2003-06-17 Angus Leeming <leeming@lyx.org>
1924 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1926 2003-06-17 Angus Leeming <leeming@lyx.org>
1929 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1931 * lyxfunc.C (dispatch): invoke it.
1933 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * iterators.C (operator++, ParPosition): reintroduce some
1936 const_cast for the benefit of older compilers.
1938 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1940 * text3.C (dispatch): do not modify clipboard when doing
1941 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1942 LFUN_DELETE_SKIP on a selection selection
1944 2003-06-16 André Pönitz <poenitz@gmx.net>
1950 * tabular.[Ch]: IU of clone() and getLabelList();
1952 2003-06-13 André Pönitz <poenitz@gmx.net>
1954 * tabular.h: compactification
1956 2003-06-12 André Pönitz <poenitz@gmx.net>
1960 * tabular_funcs.h: some renaming plus whitespace
1962 2003-06-12 André Pönitz <poenitz@gmx.net>
1965 * BufferView_pimpl.C:
1971 * toc.C: Return a Paragraph & for ParIterator::operator*()
1973 2003-06-11 John Levon <levon@movementarian.org>
1977 * ToolbarBackend.C: add "Toolbars" section and
1980 2003-06-10 Angus Leeming <leeming@lyx.org>
1983 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1985 * lyxfunc.C (dispatch): invoke it.
1987 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1989 * main.C: protect <ios> with HAVE_IOS
1990 (main): protect sync_with_stdio with HAVE_IOS
1992 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1994 * text2.C (cutSelection): adjust
1995 (pasteSelection): adjust
1997 * messages.C: handle get of empty string
1999 * main.C (main): use sync_with_stdio(false)
2001 * lyxfunc.C (dispatch): adjust
2003 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2004 (WriteAs): remove unneeded BufferView arg.
2006 * bufferparams.h: use correct types on papersize, papersize2 and
2009 * bufferparams.C (readToken): adjust for type
2010 (writeLaTeX): add missing cases to switch.
2012 * bufferlist.C (quitWriteBuffer): adjust
2015 * buffer.C (asciiParagraph): remove some commented code.
2017 * CutAndPaste.C: remove current_view extern variable.
2018 (cutSelection): add BufferParams arg.
2019 (eraseSelection): add BufferParams arg.
2020 (pasteSelection): add Buffer const & arg
2022 2003-06-07 John Levon <levon@movementarian.org>
2025 * paragraph_funcs.C:
2026 * paragraph_pimpl.C:
2030 * paragraph.C: allow InsetERT to freely space lines,
2031 and some consolidation of code
2033 2003-06-06 José Matos <jamatos@fep.up.pt>
2035 * buffer.C (makeDocBookFile): fix bug #821
2037 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2039 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2041 2003-06-04 Angus Leeming <leeming@lyx.org>
2043 * buffer.C: bump format to 224.
2045 2003-06-05 André Pönitz <poenitz@gmx.net>
2047 * text2.C (redoParagraphs): remove two const_cast<>
2049 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2051 * ParagraphList.h: remove last remnants of NO_STD_LIST
2053 2003-06-03 Angus Leeming <leeming@lyx.org>
2055 * factory.C (createInset): small change to the way InsetExternal's params
2058 2003-06-04 André Pönitz <poenitz@gmx.net>
2060 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2062 * paragraph_pimpl.h:
2063 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2065 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2067 * undo_funcs.C: make some simple cases of undo work again
2069 2003-06-03 John Levon <levon@movementarian.org>
2071 * ispell.C: HPUX doesn't have sys/select.h
2074 2003-06-03 John Levon <levon@movementarian.org>
2076 * CutAndPaste.C: update tabular and include inset
2081 * paragraph.C: remove owningBuffer(), don't pass Buffer
2084 * factory.C: insetGraphicsParams changed
2086 2003-06-02 John Levon <levon@movementarian.org>
2092 * text3.C: remove insetparent
2094 2003-06-02 John Levon <levon@movementarian.org>
2097 * buffer.C: fix inset_iterator.end(), move out of line
2100 2003-06-01 John Levon <levon@movementarian.org>
2102 * text3.C: use a proper cut/paste when doing inset
2103 insert (from Jürgen Spitzmüller)
2105 2003-06-01 John Levon <levon@movementarian.org>
2107 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2109 2003-05-30 André Pönitz <poenitz@gmx.net>
2111 * rowpainter.C: unify second drawing phase
2113 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * trans_mgr.C: remove one case of current_view
2117 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2119 * paragraph_funcs.h: remove paragraph.h include
2121 * paragraph.h: delete NO_STD_LIST stuff
2123 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2125 * buffer.h: remove paragraph.h include
2127 * ParagraphList.C: delete file
2129 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2131 * toc.C (getTocList): adjust
2133 * paragraph_pimpl.C (validate): adjust
2135 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2137 * paragraph.C (Paragraph): adjust
2138 (getPositionOfInset): use const_iterator, adjust
2139 (bibitem): use const_iterator, adjust
2140 (setInsetOwner): adjust
2142 * iterators.C (operator++): adjust
2144 * InsetList.[Ch]: Replace selfmade iterator with standard
2145 vector::iterator also introduce const_iterator. Remove getPos,
2146 getInset and setInset from InsetTable. Adjust accordingly.
2148 * BufferView.C (lockInset): adjust
2149 (ChangeInsets): adjust
2151 * tabular.[Ch]: delete commented same_id functions
2153 2003-05-28 John Levon <levon@movementarian.org>
2155 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2157 2003-05-28 André Pönitz <poenitz@gmx.net>
2159 * metricsinfo.[Ch]: remove 'fullredraw' member
2161 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2163 * lyxtextclass.C (operator): remove caching.
2165 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2169 * text2.C (cursorBottom): adjust
2170 (setCounter): use ParagraphList::find, adjust
2172 * text.C (workWidth): use ParagraphList::find, adjust
2174 * lyxcursor.C (LyXCursor): adjust
2176 * buffer.C (inset_iterator): adjust
2178 * ParagraphList.h: make iterator(value_type) private, make
2179 ParagraphList a friend of iterator.
2181 * ParagraphList.C (find): new function
2183 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2185 2003-05-27 André Pönitz <poenitz@gmx.net>
2187 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2189 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2191 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2193 2003-05-26 John Levon <levon@movementarian.org>
2195 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2197 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2199 * remove same_id from function signatures, adjust.
2201 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2205 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2207 * paragraph.C (Paragraph): get rid of same_ids parameter
2209 * ParagraphList.C (insert): adjust
2212 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2214 * paragraph_funcs.C (breakParagraph): adjust
2215 (breakParagraphConservative): adjust
2217 * buffer.C (readParagraph): adjust
2219 * ParagraphList.C (insert): take a reference instead of a pointer
2222 * paragraph.[Ch] (id): new function
2224 * bufferlist.C (newFile): adjust
2226 * ParagraphList.C (ParagraphList): adjust
2228 (push_back): take a reference instead of a pointer.
2230 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2232 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2235 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2236 set else use old code.
2238 * ParagraphList.C: remove all NO_NEXT code and only compile this
2239 code of NO_STD_LIST is set.
2241 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2243 * BufferView_pimpl.C:
2253 * graphics/GraphicsConverter.C:
2254 * graphics/PreviewLoader.C: header adjustment
2256 2003-05-23 Angus Leeming <leeming@lyx.org>
2258 * LaTeXFeatures.[Ch] (useBabel): new method.
2259 * bufferparams.C (writeLaTeX): use it.
2261 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2263 * ParagraphList.h (set): remove unused function.
2265 2003-05-23 André Pönitz <poenitz@gmx.net>
2268 * BufferView_pimpl.C:
2272 * undo_funcs.C: setUndo reworked
2274 * iterators.[Ch]: add access to topmost ParagraphList
2276 * lyxtext.[Ch] (workWidth): add a const
2278 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2280 * texrow.[Ch] (increasePos): remove function
2281 * exporter.C (export): removed unused var and outdated comment
2283 2003-05-23 Angus Leeming <leeming@lyx.org>
2285 * latexrunparams.h: rename fragile as moving_arg.
2286 * paragraph.C (simpleTeXOnePar): ditto.
2287 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2289 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2293 (textUndoOrRedo): comment out a currently unused var.
2295 * paragraph.h (NO_NEXT): enable NO_NEXT
2297 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2299 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2301 * exporter.C (Export): adjust for removeAutoInsets removal.
2303 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2305 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2307 * BufferView.[Ch] (removeAutoInsets): delete function
2309 2003-05-22 Angus Leeming <leeming@lyx.org>
2311 * latexrunparams.h: add a free_spacing variable.
2313 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2314 to pass moving_arg, as the data is stored in runparams.fragile.
2316 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2317 to Inset::latexOptional or to simpleTeXOnePar.
2319 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2320 free_spacing arg to Inset::latexOptional.
2322 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2325 2003-05-22 Angus Leeming <leeming@lyx.org>
2327 * latexrunparams.h: add fragile and use_babel variables.
2329 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2330 * buffer.C (makeLaTeXFile): store this returned value in
2331 runparams.use_babel, thus passing it to the inset::latex methods.
2333 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2334 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2336 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2337 longer has a fragile arg, as it is stored in runparams.fragile.
2339 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2340 moving_arg parameter as the data is stored in runparams.fragile.
2342 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2343 a fragile parameter as the data is stored in runparams.fragile.
2345 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2349 2003-05-22 Angus Leeming <leeming@lyx.org>
2351 * latexrunparams.h: add a 'bool nice' which defaults to false.
2353 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2354 now encapsulated within runparams.
2356 * bufferlist.C (updateIncludedTeXfiles):
2357 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2359 2003-05-22 Angus Leeming <leeming@lyx.org>
2361 * latexrunparams.h: new file containing struct LatexRunParams.
2362 * Makefile.am: add new file.
2364 * LaTeX.[Ch] (c-tor, run):
2365 * buffer.[Ch] (makeLaTeXFile):
2366 * bufferlist.[Ch] (updateIncludedTeXfiles):
2367 * converter.C (convert, scanLog):
2368 * converter.[Ch] (runLaTeX):
2369 * exporter.C (Export):
2370 * paragraph.[Ch] (simpleTeXOnePar):
2371 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2372 * paragraph_funcs.[Ch] (latexParagraphs):
2373 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2374 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2375 pass around a LatexRunParams parameter.
2377 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * paragraph.[Ch]: remove unused constructor
2381 * ParagraphList.C (erase): new function, taking two iterators
2383 2003-05-22 André Pönitz <poenitz@gmx.net>
2385 * undo_funcs.C: remove duplicated code
2387 * iterator.[Ch]: operator=
2389 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2391 * tabular.C (SetMultiColumn): ws changes
2393 * rowpainter.C (paintFirst): get rid of a ->previous
2395 * lyx_cb.C (getPossibleLabel): parlist simplification
2397 * BufferView.C (ChangeInsets): simplify slightly.
2399 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2401 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2402 * lfuns.h: new LFUN_SPACE
2403 * lyxfunc.C: protected space has a new lfun
2404 * paragraph_funcs.C: read new space insets
2406 * factory.C: handle new space insets
2408 2003-05-22 André Pönitz <poenitz@gmx.net>
2411 * BufferView_pimpl.C:
2414 * undo_funcs.C: return a ParIterator from getParFromID.
2416 * iterators.[Ch]: add two const's
2418 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * toc.C (getTocList): adjust
2422 * iterators.[Ch]: rework for parlist
2424 * buffer.C (par_iterator_begin): adjust
2425 (par_iterator_end): adjust
2427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2429 * BufferView.C (removeAutoInsets): adjust
2430 (ChangeInsets): adjust
2432 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2434 * text.C (top_y): fix bug 1110
2436 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2438 * errorlist.[Ch]: added
2441 * BufferView_pimpl.C:
2442 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2445 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * Makefile.am: ensure that lyx is relinked upon changes to the
2448 various "convenience" libs.
2450 2003-05-20 Angus Leeming <leeming@lyx.org>
2452 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2453 files are compiled in alphabetical order again.
2455 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2457 2003-05-19 Angus Leeming <leeming@lyx.org>
2459 * gettext.[Ch]: remove "char const * _(char const *)".
2461 2003-05-19 André Pönitz <poenitz@gmx.net>
2463 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2472 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2474 2003-05-19 André Pönitz <poenitz@gmx.net>
2478 * lyxtextclass.[Ch]:
2480 * paragraph_funcs.[Ch]:
2482 * text3.C: more insetenv work
2484 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2486 * ParagraphParameters.C (params2string): small bug fixed
2488 2003-05-16 André Pönitz <poenitz@gmx.net>
2491 * bufferview_funcs.C: patch from Kornel Benko to prevent
2492 crash when _(...) is called twice in a statement
2494 2003-05-16 André Pönitz <poenitz@gmx.net>
2501 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2503 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2505 * lyx_main.C (init): remove spurious static_cast
2507 2003-05-14 André Pönitz <poenitz@gmx.net>
2509 * BufferView.C: fix format string
2511 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2513 * BufferView.[Ch] (insertErrors): removed
2514 * BufferView.[Ch] (showErrorList): added
2515 * buffer.C (runChkTeX):
2516 * converter.C (scanLog): call showErrorList instead of inserterrors
2518 2003-05-13 André Pönitz <poenitz@gmx.net>
2520 * BufferView_pimpl.C:
2522 * bufferview_func.C:
2529 * tabular_funcs.h: tostr() from its own header
2531 * ParagraphParameters.C:
2536 * text3.C: STRCONV()
2538 2003-05-12 André Pönitz <poenitz@gmx.net>
2541 * BufferView_pimpl.C:
2545 * ParagraphParameters.C:
2549 * bufferview_funcs.C:
2562 * paragraph_funcs.C:
2566 * text3.C: boost::format -> bformat all over the place
2569 2003-05-09 André Pönitz <poenitz@gmx.net>
2571 * LColor.[Ch]: Pimpl the #include <map> away
2573 2003-05-09 John Levon <levon@movementarian.org>
2575 * bufferlist.C: never remove emergency saves
2577 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * Makefile.am: better lib building
2581 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2583 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2585 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2586 (simpleTeXSpecialChars): adjust
2587 (simpleTeXSpecialChars): adjust
2588 * paragraph.C (simpleTeXOnePar): adjust
2589 * buffer.C (makeLaTeXFile): adjust
2591 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2593 * text2.C (changeDepth): parlist cleanup
2594 (getColumnNearX): ditto
2596 * rowpainter.C (getLabelFont): parlist cleanup
2598 * bufferlist.C (newFile): parlist cleanup
2600 * CutAndPaste.C (eraseSelection): parlist cleanup
2602 * BufferView_pimpl.C (trackChanges): parlist cleanup
2605 * BufferView.C (lockInset): parlist cleanup.
2606 (ChangeInsets): ditto
2608 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2610 * CutAndPaste.h: Update file header.
2612 * CutAndPaste.C: Update file header.
2613 Store the parts cut out of the Document in a limited_stack.
2614 (copySelection): adjust
2615 (pasteSelection): new function, takes the index in the limited stack.
2616 (nrOfParagraphs): adjust
2617 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2618 simplify error inset insertion.
2619 (checkPastePossible): adjust
2621 2003-05-06 John Levon <levon@movementarian.org>
2623 * text2.C: don't cast wrap inset to float
2625 2003-05-05 André Pönitz <poenitz@gmx.net>
2628 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2630 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2631 few naked Paragraph *.
2633 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2635 * bufferparams.C: Output warning if a document with missing
2636 TeX document class is loaded
2637 * exporter.C: Disable TeX exports if the document class is missing
2640 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2641 isTeXClassAvailable()
2643 2003-05-03 John Levon <levon@movementarian.org>
2646 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2647 explicit cursor show/hide
2649 * BufferView_pimpl.h:
2650 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2651 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2653 * lyxfunc.C: hide cursor before dispatching.
2658 * text3.C: remove explicit cursor hides
2660 2003-05-02 André Pönitz <poenitz@gmx.net>
2662 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2665 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2668 * text2.C: tiny whitespace
2670 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * undo_funcs.C: almost only ws changes.
2674 * ParagraphList.C (splice): just return if pl is empty.
2676 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2678 * ParagraphList.C (splice): new function.
2680 * CutAndPaste.C (pasteSelection): use it
2682 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * CutAndPaste.C (pasteSelection): remove the last next and
2685 previous from this file.
2687 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * CutAndPaste.C (pasteSelection): more clean up, user proper
2690 ParagraphList functions for pasteing.
2692 * ParagraphList.C (insert): new function, three arg insert
2694 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * ParagraphList.C (insert): new function, three arg insert
2698 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2701 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2703 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2705 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2707 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2709 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2712 (copySelection): clean up a bit.
2713 (pasteSelection): use make_pair
2715 * ParagraphList.C (ParagraphList): implement copy constructor
2716 (operator=): implement, base on copy constructor.
2719 * paragraph.C (erase): return a bool
2721 * paragraph_pimpl.C (erasePos): remove function, move contents...
2722 (erase): ... here. Return a bool.
2723 (erase): call erase instead of erasePos.
2725 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2727 * ParagraphList.h: define PitPosPair
2728 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2729 ParagraphList, fix a bug on pasting multiple pars
2730 * text2.C: change interface to C&P
2732 2003-04-30 André Pönitz <poenitz@gmx.net>
2734 * undo_func.C: revert part of yesterday's patch 2
2736 2003-04-30 John Levon <levon@movementarian.org>
2738 * LColor.C: s/tabular/table/
2740 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * text3.C (dispatch): do not convert iterator -> pointer
2743 * undo_funcs.C (setCursorParUndo): ditto
2744 * text_funcs.C (transposeChars): ditto
2746 * text2.C (setLayout): ws changes only
2748 * text.C (breakParagraph): do not convert iterator -> pointer
2750 (acceptChange): ditto
2751 (rejectChange): ditto
2756 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2759 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2761 * text3.C (gotoInset): YABG (yet another bad getChar)
2763 2003-04-29 André Pönitz <poenitz@gmx.net>
2765 * paragraph.h: make operator= private unimplemented as long as
2768 * ParagraphList.C: whitespace
2771 * paragraph_pimpl.[Ch]:
2772 * paragraph_funcs.C:
2774 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2777 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2779 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2781 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2782 * paragraph.[Ch] (erase):
2783 * paragraph_pimpl.[Ch] (erase): change return type and value
2784 * text2.C (cutSelection): some rework
2786 2003-04-28 John Levon <levon@movementarian.org>
2788 * bufferlist.C: changes for unsaved changes dialog
2790 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2792 * bufferlist.C (newFile): set language (messages_) for new
2795 * buffer.C (readFile): ws changes only.
2797 2003-04-28 André Pönitz <poenitz@gmx.net>
2802 * BufferView_pimpl.C:
2803 * BufferView.C: getParFromID related ParagraphList::iterator changes
2805 2003-04-28 André Pönitz <poenitz@gmx.net>
2807 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2810 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * messages.C: remove one more localedir class variable.
2814 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * messages.C (getLocaleDir): singleton generation function
2818 (Messages): add a default constructor.
2820 * main.C (main): do not setup localedir here, do not call
2823 * gettext.C (_): use it.
2824 (gettext_init): delete funciton
2826 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * gettext.C (getLyXMessages): new singleton generating function.
2830 * buffer.C (updateDocLang): adjust
2832 * Makefile.am (messages.o): add target
2833 (main.o): remove target
2835 2003-04-27 John Levon <levon@movementarian.org>
2840 * lyxvc.C: specify cancel button in Alert::prompt
2842 2003-04-26 John Levon <levon@movementarian.org>
2847 * LyXAction.C: add LFUN_INSET_SETTINGS
2849 * lyxfunc.C: don't enable tabular-feature when there's
2850 just any locking inset
2852 2003-04-26 John Levon <levon@movementarian.org>
2854 * bufferlist.C: re-add Cancel to buffer close question
2856 * lyxfunc.C: fix import UI a bit
2858 2003-04-25 John Levon <levon@movementarian.org>
2860 * gettext.C: remove the broken asserts for now
2862 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * messages.C: make case where setlocale cannot comply work better.
2866 * buffer.C (updateDocLang): new function
2867 (changeLanguage): use it
2870 * text2.C (setCounter): use B_ a bit.
2872 * lyxlayout.C (Read): be sure to trim the label strings.
2874 * messages.C (Messages): fix typo in comment
2876 * buffer.C (readFile): set message_ after file is loaded.
2877 (makeDocBookFile): remove double return
2878 (changeLanguage): reset message_ upon language change.
2879 (B_): new func, use this to get translated buffer strings.
2881 * main.C: add myself and Jean Marc as authors.
2883 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * messages.[hC]: pimplify Messages, and three different pimpls to be
2886 used in different circumstances.
2888 * gettext.[Ch]: change for use with new message code.
2890 2003-04-24 André Pönitz <poenitz@gmx.net>
2892 * factory.C: support for eqref
2894 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * messages.[Ch]: add missing char
2898 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2900 * messages.[Ch]: New files
2902 2003-04-18 John Levon <levon@movementarian.org>
2906 * BufferView_pimpl.C:
2910 * text2.C: remove layout-copy/paste (bug 778)
2912 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2914 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2916 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2918 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2919 if they succeed. Act accordingly.
2921 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * text2.C (setCharFont): adjust
2924 (setCounter): adjust
2925 (insertStringAsLines): adjust
2927 * text.C (leftMargin): adjust
2928 (setHeightOfRow): adjust
2930 * rowpainter.C (paintFirst): adjust
2933 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2935 (isFirstInSequence): ditto
2936 (getEndLabel): ditto
2939 * paragraph.C (getParLanguage): comment out some hard stuff.
2941 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2943 (simpleDocBookOnePar): ditto
2944 (makeDocBookFile): use ParagraphList::iterator
2946 * CutAndPaste.C (pasteSelection): adjust
2948 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2950 * text2.C (getFont): adjust
2951 (getLayoutFont): adjust
2952 (getLabelFont): adjust
2954 * paragraph_funcs.C (TeXOnePar): adjust
2956 * buffer.C (simpleLinuxDocOnePar): adjust
2957 (simpleDocBookOnePar): adjust
2959 * CutAndPaste.C (pasteSelection): adjust
2961 * BufferView.C (getEncoding): adjust
2963 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2965 2003-04-16 John Levon <levon@movementarian.org>
2967 * lyxfind.C: use parlist stuff for search/changes
2969 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2973 * text2.C (deleteEmptyParagraphMechanism): adjust
2975 * text2.[Ch] (ownerParagraph): delete func (both of them
2977 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2981 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * ParagraphList.C: prepare for NO_NEXT
2985 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * text2.C (getFont): adjust
2988 (getLayoutFont): adjust
2989 (getLabelFont): adjust
2991 * paragraph.C (getFont): adjust
2992 (getLabelFont): adjust
2993 (getLayoutFont): adjust
2995 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2997 2003-04-15 John Levon <levon@movementarian.org>
3001 * lyx_main.C: handle Include in .ui files
3003 2003-04-15 John Levon <levon@movementarian.org>
3005 * MenuBackend.C: make the doc files length shorter
3008 * ToolbarBackend.C: handle toolbar placement flags,
3011 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3016 * paragraph_funcs.C (TeXOnePar): adjust
3018 * paragraph.C (getLabelFont): add outerfont arg, adjust
3019 (getLayoutFont): ditto
3020 (simpleTeXOnePar): adjust
3022 * paragraph_pimpl.C (realizeFont): delete func
3024 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3026 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3027 row argument, constify cur argument.
3029 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * text2.C (getFont): adjust
3032 (getLayoutFont): adjust
3033 (getLabelFont): adjust
3035 * paragraph_funcs.C (TeXOnePar): adjust
3036 (outerFont): new func...
3037 (realizeFont): ...moved out from here, changed this to facilitate
3040 * paragraph.C (getFont): take outerfont as arg, adjust
3041 (simpleTeXOnePar): add outerfont arg, adjust
3043 * buffer.C (simpleLinuxDocOnePar): adjust
3044 (simpleDocBookOnePar): adjust
3046 * CutAndPaste.C (pasteSelection): adjust
3048 * BufferView.C (getEncoding): adjust
3050 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3052 * text2.C (setCharFont): adjust
3053 (setCounter): adjust
3055 * text.C (leftMargin): adjust
3056 (setHeightOfRow): adjust
3058 * rowpainter.C (paintFirst): adjust
3061 * paragraph_pimpl.C (realizeFont): adjust
3063 * paragraph.C (isFirstInSequence): move from here...
3064 * paragraph_funcs.C (isFirstInSequence): ...to here
3066 * paragraph.C (outerHook): move from here...
3067 * paragraph_funcs.C (outerHook): ...to here
3069 * paragraph.C (depthHook): move from here...
3070 * paragraph_funcs.C (depthHook): ...to here
3072 * paragraph.C (getEndLabel): move from here...
3073 * paragraph_funcs.C (getEndLabel): ...to here
3075 * text2.C (realizeFont): move from here...
3076 * paragraph_funcs.C (realizeFont): ...to here
3078 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3080 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3082 2003-04-14 Angus Leeming <leeming@lyx.org>
3084 * LColor.[Ch]: scrap LColor mathcursor.
3086 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3088 * lyxlex.[Ch] (text): delete function
3089 * trans.C (Load): adjust
3090 * paragraph_funcs.C (readParToken): adjust
3092 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3095 vector<char> instead of a char[].
3097 * lyxlex_pimpl.C (getString): adjust
3099 (lex): use getString
3103 * lyxlex.C (text): use pimpl_->getString()
3107 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3110 (makeFontEntriesLayoutSpecific): temp var for par.size()
3111 (setLayout): temp var for ownerParagraphs().end()
3112 (fullRebreak): temp var for rows().end()
3113 (selectionAsString): temp var for boost::next(startpit), realize
3114 that the while really is a regular for loop.
3115 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3116 setCursor in one place.
3117 (setParagraph): temp vr for ownerParagraphs().end()
3118 (updateCounters): make the while loop a for loop
3119 (cutSelection): temp var for ownerParagraphs().end()
3120 (updateInset): make the do {} while() a regular for loop
3121 (getCursorX): use temp vars
3122 (setCurrentFont): use temp vars
3123 (getColumnNearX): use temp vars
3125 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3127 * text.C (transformChar): use temp var for getChar
3128 (computeBidiTables): use temp var for row->par()
3129 (fill): move temp vars for row->par() and pit->layout() earlier in
3131 (labelFill): use temp var for row->par()
3132 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3133 asc and desc, realize that pit never changes and that firstpit is
3134 just a duplicate and not needed. Exchange rit->par() with pit in a
3136 (breakAgain): use a temp var for boost::next(rit)
3137 (breakAgainOneRow): ditto
3138 (breakParagraph): use a temp var for rows().begin()
3139 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3140 (cursorRightOneWord): use temp var for cursor.par() and
3141 cursor.pos(), remove usage of tmpcursor.
3142 (cursorLeftOneWord): use temp var for cursor.par() and
3143 cursor.pos() only set cur at end of function.
3145 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * text.C, text2.C: exchange all usage of Paragraph::next with
3148 boost::next(ParagraphList::iterator)
3150 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3152 * text2.C (cursorTop): simplify implementation
3153 (cursorBottom): ditto
3154 (setParagraph): use ParagraphList::iterator
3155 (setCurrentFont): adjust
3156 (getColumnNearX): adjust
3157 (cursorRight): adjust
3158 (cursorLeft): remove usage of Paragraph::previous
3159 (cursorUpParagraph): ditto
3160 (deleteEmptyParagraphMechanism): slight cleanup
3162 * text.C (isBoundary): take a Paragraph const & instead of a
3164 (addressBreakPoint): ditto
3165 (leftMargin): remove usage of Paragraph::previous.
3166 (setHeightOfRow): ditto
3167 (cursorLeftOneWord): ditto
3168 (selectNextWordToSpellcheck): ditto
3171 (breakParagraph): remove one usage of Paragraph::next
3172 (redoParagraph): ditto
3173 (acceptChange): ditto
3174 (insertChar): adjust
3175 (rowBreakPoint): adjust
3177 * bufferview_funcs.C (toggleAndShow): adjust
3179 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3181 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3182 methods to access it.
3184 * text.C: Added updateRowPositions to compute all row positions.
3185 Make top_y and getRowNearY() to use the cached y position
3187 2003-04-11 John Levon <levon@movementarian.org>
3189 * text.C (rowBreakPoint): reintroduce the labelEnd
3190 checks, code copied from the row fill stuff. Deep voodoo.
3192 * text.C (fill): add a comment and debugging for the
3195 2003-04-11 John Levon <levon@movementarian.org>
3197 * text.C: make sure fullrow insets get wrapped to the next line,
3198 even when they're in a manual label
3200 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * text2.C (insertParagraph): make it take ParagraphList::iterator
3204 (setLayout): make it return ParagraphList::iterator
3205 (redoParagraphs): ditto
3207 (checkParagraph): ditto
3209 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3211 * text2.C: adjust several funcs.
3212 (realizeFont): take a ParagraphList::iterator as arg.
3213 (getLayoutFont): ditto
3214 (getLabelFont): ditto
3215 (setCharFont): ditto
3217 * text.C: adjust several funcs.
3219 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3221 * text.C (selectNextWordToSpellcheck): don't accidentally
3224 2003-04-10 John Levon <levon@movementarian.org>
3226 * ToolbarBackend.C (getIcon): special handling for
3229 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3231 * text2.C (cursorRight): a getChar assert fixed
3233 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3235 * text2.C (getFont): change to take a ParagraphList::iterator
3236 instead of Paragraph*
3237 Adjust several functions.
3239 * text.C (transformChar): change to take a ParagraphList::iterator
3240 instead of Paragraph*
3241 (singleWidth): ditto
3242 Adjust several functions.
3244 * rowpainter.C: adjust several functions
3245 * rowpainter.h:store a ParagraphList::iterator and not a
3249 2003-04-09 John Levon <levon@movementarian.org>
3254 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3255 and the "help" bits as well
3257 2003-04-09 John Levon <levon@movementarian.org>
3260 * ToolbarBackend.C: allow multiple toolbars
3262 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * undo_funcs.C (setCursorParUndo): adjust
3266 * text_funcs.C (transposeChars): adjust
3268 * text3.C (gotoNextInset): adjust
3271 * text2.C (setLayout): adjust
3272 (changeDepth): adjust
3274 (redoParagraphs): adjust
3275 (selectionAsString): adjust
3276 (setParagraph): adjust
3277 (insertInset): adjust
3278 (cutSelection): adjust
3279 (copySelection): adjust
3280 (pasteSelection): adjust
3281 (insertStringAsLines): adjust
3282 (updateInset): adjust
3283 (setCursor): change to take a ParagraphList::iterator parameter
3284 (setCursorIntern): change to take a ParagraphList::iterator parameter
3285 (setCurrentFont): adjust
3286 (cursorLeft): adjust
3287 (cursorRight): adjust
3288 (deleteEmptyParagraphMechanism): adjust
3290 * text.C (breakParagraph): adjust
3291 (insertChar): adjust
3292 (acceptChange): adjust
3293 (rejectChange): adjust
3294 (selectNextWordToSpellcheck): adjust
3295 (changeCase): adjust
3299 * lyxfind.C (SearchForward): adjust
3300 (SearchBackward): adjust
3301 (nextChange): adjust
3303 * lyxcursor.C (par): adjust
3305 * lyxcursor.h: store a ParagraphList::iterator instead of a
3308 * lyx_cb.C (getPossibleLabel): adjust
3310 * bufferview_funcs.C (toggleAndShow): adjust
3312 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3315 * BufferView.C (removeAutoInsets): adjust
3316 (lockedInsetStoreUndo): adjust
3318 2003-04-09 John Levon <levon@movementarian.org>
3320 * ToolbarBackend.C: try icon without argument
3321 if with argument fails
3323 2003-04-08 John Levon <levon@movementarian.org>
3326 * ToolbarBackend.C: add getIcon(), handle tooltip,
3327 and change from "Icon" to "Item".
3329 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3331 * BufferView.C (lockInset): another bad getchar crunched
3333 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3335 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3338 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3340 * lyxfind.C (searchForward, searchBackwards): bug 782
3342 2003-04-07 John Levon <levon@movementarian.org>
3344 * paragraph.C: remove dead comment
3346 * text.C: remove troublesome depth-fiddling code
3347 in leftMargin() and rightMargin() (bug 1017)
3349 * text.C: fix breaking of rows in nested lists
3352 * text2.C (updateCounters): fix up depth values
3355 2003-04-07 John Levon <levon@movementarian.org>
3357 * BufferView_pimpl.C: clear message when doc finishes resizing,
3358 and after a mouse event
3360 * lyxfunc.C: clear message after exiting inset
3362 2003-04-07 John Levon <levon@movementarian.org>
3364 * bufferview_funcs.C: show math status not outside
3365 status in the statusbar
3367 2003-04-07 John Levon <levon@movementarian.org>
3369 * lyxfunc.C: note status changed after a depth change
3371 2003-04-04 Angus Leeming <leeming@lyx.org>
3373 * LaTeX.h: move AuxInfo operator==, != out of line.
3374 Remove LaTeX virtual destructor; nothing derives from it.
3375 Move operator()() out of public area and rename it startscript().
3376 Change protected for private.
3378 2003-04-04 Angus Leeming <leeming@lyx.org>
3381 * text2.C: remove unneeded #includes.
3383 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3385 * text2.C (dEPM): fix the heigth of the next row
3387 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3389 * text.C: squashed an invalid getChar requester + some ws changes
3391 2003-04-03 John Levon <levon@movementarian.org>
3393 * bufferview_funcs.h:
3394 * bufferview_funcs.C:
3397 * text2.C: make getStatus work for the env depth lfuns
3399 2003-04-03 John Levon <levon@movementarian.org>
3401 * bufferview_funcs.h:
3402 * bufferview_funcs.C:
3405 * text2.C: parlistize decDepth(), by merging it with incDepth()
3407 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3409 * lyxrow.h: store a ParagraphList::iterator instead of a
3410 Paragraph* and adjust other class functions to suit.
3412 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3415 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3417 * text2.C (setCursor): do not anchor to cursor row for the time being
3419 2003-04-02 John Levon <levon@movementarian.org>
3426 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3428 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3430 * paragraph.h: make ParagraphList and ParagraphList::iterator
3431 friends of Paragraph.
3433 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3435 * ParagraphList.C: Use the private next_ and previous_ from
3438 2003-04-01 John Levon <levon@movementarian.org>
3442 * Makefile.am: rename, remove defaults gunk
3445 * MenuBackend.C: remove defaults gunk
3448 * Languages.C: remove defaults gunk
3451 * lyx_main.C: error out if files couldn't be found.
3453 2003-04-02 John Levon <levon@movementarian.org>
3455 * text2.C: make incDepth() use parlist
3457 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * undo_funcs.C (firstUndoParagraph): adjust
3461 * text3.C (gotoInset): adjust
3462 (dispatch): adjust, and rewrite loop.
3464 * text2.C (init): adjust, and rewrite loop.
3465 (redoParagraphs): adjust
3466 (updateInset): adjust, and rewrite loop.
3467 (deleteEmptyParagraphMechanism): adjust
3469 * tabular.C (LyXTabular): adjust
3470 (SetMultiColumn): adjust
3473 * lyxtext.[Ch] (ownerParagraph): delete function
3474 (ownerParagraphs): new function returns a ParagraphList.
3476 * BufferView.C (removeAutoInsets): adjust
3477 (insertErrors): adjust
3478 (setCursorFromRow): adjust
3480 2003-04-01 Angus Leeming <leeming@lyx.org>
3482 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3485 2003-04-02 John Levon <levon@movementarian.org>
3491 * text_funcs.C: make transposeChars a free function
3493 * lyxrow_funcs.C: remove wrong comment
3495 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * rowpainter.C: adjust
3503 * lyxrow_funcs. [Ch]: new files
3505 * lyxrow.[Ch]: remove next and previous pointers
3506 (next,previous): remove accessor functions
3507 (isParEnd): move to lyxrow_funcs
3508 (lastPos): move to lyxrow_funcs
3509 (nextRowIsAllInset): move to lyxrow_funcs
3510 (lastPrintablePos): move to lyxrow_funcs
3511 (numberOfSeparators): move to lyxrow_funcs
3512 (numberOfHfills): move to lyxrow_funcs
3513 (numberOfLabelHfills): move to lyxrow_funcs
3514 (hfillExpansion): move to lyxrow_funcs
3518 * bufferview_funcs.C (toggleAndShow): adjust
3520 * RowList.h: Remove class RowList from file leave just a
3523 * RowList.C: delete file
3525 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3528 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3530 * text3.C (cursorPrevious): adjust
3531 (cursorNext): adjust
3534 * text2.C (redoHeightOfParagraph): adjust
3535 (redoDrawingOfParagraph): adjust
3538 * text.C (breakParagraph): adjust
3539 (insertChar): adjust
3542 * rowpainter.C (RowPainter): adjust
3543 (leftMargin): simplify and adjust
3544 (most rowpainter functions): adjust.
3546 * rowpainter.h: store the row as RowList::iterator not as Row*
3548 * lyxcursor.C (row): taka RowList::iterator as arg
3551 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3554 2003-04-01 Angus Leeming <leeming@lyx.org>
3556 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3557 stuff like bool Bool.
3559 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3561 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3564 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3566 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3569 * lyxtext.h (rows): drop one version and leve a const variant that
3570 returns a RowList::iterator.
3572 2003-03-31 Angus Leeming <leeming@lyx.org>
3574 * text.C (fill): ensure that the signature is the same as that in the
3577 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * text2.C (redoParagraphs): adjust
3580 (updateCounters): adjust
3581 (checkParagraph): adjust
3582 (getColumnNearX): adjust and reformat a bit.
3584 * text.C (top_y): adjust
3586 (leftMargin): adjust
3587 (prepareToPrint): adjust
3589 (getRowNearY): adjust
3591 * lyxtext.h: make rowlist_ mutable.
3593 * RowList.h: add const_iterator
3594 * RowList.C: adjust for RowList::const_iterator.
3596 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3599 2003-03-31 John Levon <levon@movementarian.org>
3602 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3604 * lyx_main.C: set default fonts from using lyx_gui funcs
3606 * exporter.C: pdf_mode moved from lyxrc
3609 * lyxfunc.C: changes from above
3611 2003-03-31 John Levon <levon@movementarian.org>
3613 * lyx_main.C: fix to the last fix
3615 2003-03-31 John Levon <levon@movementarian.org>
3617 * bufferlist.C: "Load original" -> "Load Original"
3623 * format.C: more Alert cleanups
3625 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3627 * text2.C (removeParagraph): make it take a RowList::iterator as
3629 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3630 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3632 * text.C (anchor_row): make it take a RowList::iterator as arg,
3634 (computeBidiTables): make it take a const reference to Row instead
3635 of Row pointer, adjust.
3636 (leftMargin): make it take a RowList::iterator as arg, adjust.
3637 (rowBreakPoint): adjust
3638 (breakAgainOneRow): make it take a RowList::iterator as arg,
3640 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3642 * bufferview_funcs.C (toggleAndShow): adjust
3644 2003-03-30 John Levon <levon@movementarian.org>
3648 * boost-inst.C: moved to support
3650 * several files: changes as a result
3652 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * text2.C (LyXText): adjust.
3656 (removeRow): make it take a RowList::iterator as arg, adjust.
3657 (fullRebreak): adjust
3658 (deleteEmptyParagraphMechanism): adjust
3659 (clearPaint): adjust
3662 * text.C (top_y): adjust
3663 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3664 (breakAgain): make it take a RowList::iterator as arg, adjust.
3665 (breakParagraph): adjust
3666 (insertChar): adjust
3669 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3670 need_break_row, and refresh_row.
3672 * text3.C (dispatch): adjust
3674 * text2.C (checkParagraph): adjust
3676 (setCursorFromCoordinates): adjust
3678 * text.C (top_y): adjust
3680 (getRow): make it return a RowList::iterator, adjust
3681 (getRowNearY): make it return a RowList::iterator, adjust
3683 * text2.C (init): adjust
3684 (insertRow): remove function
3685 (insertParagraph): adjust
3686 (redoParagraphs): adjust
3687 (fullRebreak): adjust
3688 (updateCounters): adjust
3690 * text.C (top_y): rewrite to use RowList iterators.
3692 (setHeightOfRow): rewrite to sue RowList iterators.
3693 (appendParagraph): adjust
3694 (breakAgain): adjust
3695 (breakAgainOneRow): adjust
3696 (breakParagraph): adjust
3698 (getRowNearY): adjust, and remove commented code.
3700 * lyxtext.h (firstRow): delete function
3701 (lastRow): delete function
3702 (rows): new function (const and non-const versions.)
3703 (insertRow): delete function
3705 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3707 2003-03-29 John Levon <levon@movementarian.org>
3709 * BufferView_pimpl.C: always update scrollbar top
3710 because pasting text when we're anchored could mean we
3711 miss an update altogether
3713 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3715 * text2.C (init): use rowlist_.end() and not 0.
3716 (insertRow): change to take a RowList::iterator as arg, adjust
3718 (insertParagraph): change to take a RowList::iterator as arg,
3720 (redoParagraphs): remove some debug msgs.
3722 * text.C (appendParagraph): change to take a RowList::iterator
3723 arg, adjust for this.
3724 (breakAgain): add an assert
3725 (breakAgainOneRow): ditto
3727 2003-03-29 John Levon <levon@movementarian.org>
3729 * text2.C: do not clear selection after inc/decDepth
3732 2003-03-29 John Levon <levon@movementarian.org>
3735 * buffer.C: fix broken strerrors according to Lars
3737 2003-03-29 John Levon <levon@movementarian.org>
3739 * converters.C: more Alert cleanups
3741 2003-03-29 John Levon <levon@movementarian.org>
3743 * bufferview_funcs.C: remove pointless Alert
3745 * buffer.C: fix confusing error message when
3746 a template is chmoded 000
3748 2003-03-29 John Levon <levon@movementarian.org>
3752 * BufferView_pimpl.C: Alert fixes
3756 * tabular-old.C: remove unused table compat reading
3758 2003-03-29 John Levon <levon@movementarian.org>
3763 * lyx_cb.C: more Alert cleanups
3765 * lyxfunc.C: don't allow chktex if not latex document
3767 2003-03-29 John Levon <levon@movementarian.org>
3771 * buffer.C: warnings pushed down from support/,
3774 2003-03-29 John Levon <levon@movementarian.org>
3776 * lyxfunc.C: safety check for C-r (revert)
3778 2003-03-29 John Levon <levon@movementarian.org>
3781 * bufferlist.C: several UI fixes using Alert::prompt.
3782 Fix the pointless looping quit code. Fix stupid revert
3787 * lyx_cb.C: use Alert::prompt
3789 * lyx_main.C: remove a silly question
3791 * lyxfunc.C: remove a couple of silly questions,
3794 2003-03-28 John Levon <levon@movementarian.org>
3796 * text2.C: fix bug 974 (End on empty par)
3798 2003-03-28 John Levon <levon@movementarian.org>
3800 * BufferView_pimpl.C:
3802 * lfuns.h: remove do-nothing math greek lfuns
3804 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * lyxgluelength.h (isValidGlueLength): add default arg on
3807 parameter 2. Remove default arg from friend in class.
3809 * lyxlength.h (isValidLength): add default arg on parameter 2.
3810 Remove default arg from friend in class.
3812 * text2.C (LyXText): adjust, initialize refresh_row.
3816 (insertParagraph): adjst
3817 (redoParagraphs): adjust
3818 (fullRebreak): adjust
3819 (updateCounters): adjust
3820 (deleteEmptyParagraphMechanism): first attempt at fixing a
3823 * text.C (top_y): adjust
3824 (setHeightOfRow): adjust
3826 (getRowNearY): adjust
3828 * lyxtext.h: include RowList.h
3829 (~LyXText): not needed anymore, deleted.
3830 (firstRow): modify for RowList
3831 (lastRow): new function
3832 Delete firstrow and lastrow class variables, add a Rowlist
3833 rowlist_ class variable.
3835 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3838 * RowList.C (insert): fix case where it == begin().
3840 2003-03-26 Angus Leeming <leeming@lyx.org>
3842 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3843 the thesaurus dialog.
3845 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3849 * RowList.[Ch]: new files
3851 * ParagraphList.C (erase): handle the case where it == begin
3854 2003-03-25 John Levon <levon@movementarian.org>
3858 * aspell.C: add new aspell support
3861 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3864 2003-03-25 Angus Leeming <leeming@lyx.org>
3867 * LyXAction.C (init): new LFUN_INSET_INSERT.
3869 * BufferView_pimpl.C (dispatch): split out part of the
3870 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3872 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3875 2003-03-25 Angus Leeming <leeming@lyx.org>
3877 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3879 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3882 * text3.C: remove useless row->height(0)
3884 2003-03-25 John Levon <levon@movementarian.org>
3888 * text3.C: rename the refreshing stuff to better names
3890 2003-03-24 John Levon <levon@movementarian.org>
3892 * BufferView_pimpl.h:
3893 * BufferView_pimpl.C: update layout choice on a mouse
3896 2003-03-23 John Levon <levon@movementarian.org>
3898 * Makefile.am: fix commandtags.h reference
3900 2003-03-22 John Levon <levon@movementarian.org>
3902 * BufferView_pimpl.C:
3907 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3909 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3912 * text.C: take the rtl methods out of line
3914 2003-03-21 André Pönitz <poenitz@gmx.net>
3916 * metricsinfo.[Ch]: new files containing structures to be passed around
3917 during the two-phase-drawing...
3919 2003-03-21 André Pönitz <poenitz@gmx.net>
3921 * lyxtextclass.C: read 'environment' tag.
3923 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3925 * text2.C (removeRow): fix bug 964
3927 2003-03-20 John Levon <levon@movementarian.org>
3931 * text2.C: paint cleanups. Inset::update() dropped font
3934 2003-03-19 John Levon <levon@movementarian.org>
3936 * lyxfunc.C: only fitcursor/markDirty if available()
3938 2003-03-19 John Levon <levon@movementarian.org>
3940 * commandtags.h: rename to ...
3942 * lfuns.h: ... this, and renumber / cleanup
3944 2003-03-19 John Levon <levon@movementarian.org>
3946 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3947 fit the cursor after an lfun
3951 * BufferView_pimpl.h:
3952 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3954 * LyXAction.C: layout-character should have ReadOnly
3956 * ParagraphParameters.C:
3958 * bufferview_funcs.C:
3965 * undo_funcs.C: changes from above
3967 2003-03-18 John Levon <levon@movementarian.org>
3969 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3970 remove it from update()
3972 * lyxfunc.C: update layout choice after an lfun
3974 * text3.C: remove extra updateLayoutChoice()s
3976 2003-03-18 John Levon <levon@movementarian.org>
3978 * text.C: top_y change means full repaint, fix
3979 a drawing bug with cursor movement
3981 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3985 * text2.C: anchor row on setCursor
3987 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3989 * lyxtext.h: remove almost all mutable keywords
3992 * text3.C: remove const keywords accordingly
3994 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3996 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3998 (TeXEnvironment): ditto
4001 2003-03-17 John Levon <levon@movementarian.org>
4003 * text.C (rowBreakPoint): remove attempt to fix displayed
4004 math insets inside a manual label
4006 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * lyxtext.h: remove BufferView* as first arg from almost all class
4010 * other files: adjust.
4012 2003-03-17 John Levon <levon@movementarian.org>
4016 * text2.C: more paint cleanups
4018 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4021 * rowpainter.C: remove "smart" background painting code
4023 2003-03-16 John Levon <levon@movementarian.org>
4028 * text3.C: add helper functions for setting refresh_row/y
4030 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4032 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4033 newline inset which *can* get inserted in the pass_thru layouts.
4034 This is primarily for literate documents.
4036 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4038 * buffer.C: increment LYX_FORMAT to 223
4040 2003-03-14 André Pönitz <poenitz@gmx.net>
4042 * textclass.h: prepare for environment handling, ws changes
4043 * lyxlayout.C: read latexheader and latexfooter tags
4045 2003-03-14 John Levon <levon@movementarian.org>
4047 * text2.C: rewrite ::status() a bit
4049 2003-03-13 John Levon <levon@movementarian.org>
4051 * lyxtext.h: add some docs
4053 2003-03-13 John Levon <levon@movementarian.org>
4058 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4060 2003-03-13 John Levon <levon@movementarian.org>
4062 * text3.C: fix appendix redrawing
4064 2003-03-13 John Levon <levon@movementarian.org>
4066 * text.C (setHeightOfRow):
4068 * rowpainter.C: make appendix mark have the text
4069 "Appendix" so the user knows what it is
4072 * LColor.C: s/appendixline/appendix/ from above
4074 2003-03-13 John Levon <levon@movementarian.org>
4076 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4078 * text.C: fix a getChar(pos) bug properly
4080 2003-03-13 Angus Leeming <leeming@lyx.org>
4083 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4084 Probably only temporary. Let's see how things pan out.
4086 * BufferView.C (unlockInset):
4087 * BufferView_pimpl.C (fitCursor):
4088 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4090 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4091 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4093 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4094 new functions that convert ParagraphParameters to and from a string.
4096 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4097 BufferView::Pimpl's dispatch.
4098 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4100 2003-03-13 André Pönitz <poenitz@gmx.net>
4104 * factory.C: make it aware of InsetEnv
4106 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * text2.C (setCursor): never ask for one past last
4109 (setCursor): add some debugging messages.
4111 * text.C (singleWidth): never ask for one past last
4112 (singleWidth): ditto
4114 (rightMargin): ditto
4115 (rowBreakPoint): ditto
4116 (setHeightOfRow): ditto
4117 (prepareToPrint): ditto
4119 * rowpainter.C (paintBackground): never ask for one past last
4120 (paintText): never ask for one past last
4122 * paragraph_pimpl.C (getChar): make the assert stricter, never
4123 allow the one past last pos to be taken
4125 * paragraph.C (getChar): ws changes only
4127 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4128 (numberOfSeparators): ditto
4129 (numberOfHfills): ditto
4131 2003-03-12 John Levon <levon@movementarian.org>
4137 * paragraph_funcs.C: fix per-buffer authorlists
4139 2003-03-12 John Levon <levon@movementarian.org>
4141 * text.C: fix newline in right address
4143 2003-03-12 Angus Leeming <leeming@lyx.org>
4145 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4146 duplicate those in LyXFunc::dispatch.
4150 * ToolbarDefaults.C:
4151 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4152 Add LFUN_FONTFREE_UPDATE.
4154 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4155 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4157 * bufferview_func.[Ch]: several new functions to facilliate
4158 transfer of data to and from the character dialog.
4160 2003-03-12 John Levon <levon@movementarian.org>
4165 * paragraph_funcs.C:
4166 * paragraph_pimpl.C:
4170 * text3.C: remove META_NEWLINE in favour of an inset
4173 * rowpainter.C: remove paintNewline (done by inset)
4175 2003-03-12 John Levon <levon@movementarian.org>
4177 * paragraph_pimpl.C: complain about bad getChar()s
4178 for a while at least
4180 2003-03-12 John Levon <levon@movementarian.org>
4183 * buffer.C: move paragraph read into a separate function,
4184 a little renaming to reflect that.
4187 * bufferparams.C: remove the author_ids map, not necessary now
4190 * factory.C: moved Buffer::readInset to here
4192 * paragraph_funcs.h:
4193 * paragraph_funcs.C: readParagraph free function moved from
4196 * tabular.C: name change
4198 2003-03-12 John Levon <levon@movementarian.org>
4201 * ParagraphParameters.C: move par params input to
4204 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4205 behave like a normal read from the stream wrt reading
4206 a line vs. a \\token
4208 2003-03-12 John Levon <levon@movementarian.org>
4211 * ParagraphParameters.h:
4212 * ParagraphParameters.C: move output code to a
4215 2003-03-12 John Levon <levon@movementarian.org>
4217 * BufferView.C (insertLyXFile):
4220 * tabular.C: use a parlist iterator for creating the
4223 2003-03-12 John Levon <levon@movementarian.org>
4225 * buffer.C: make current_change static local not
4228 2003-03-12 John Levon <levon@movementarian.org>
4230 * buffer.C: fix insertStringAsLines for change tracking
4232 2003-03-12 John Levon <levon@movementarian.org>
4239 * bufferparams.C: move author list into params. Rename some
4240 functions. Move the header reading into a separate token
4241 loop. Move the header token reading into BufferParams.
4243 2003-03-12 John Levon <levon@movementarian.org>
4245 * changes.C: put debug inside lyxerr.debugging() checks
4247 2003-03-11 André Pönitz <poenitz@gmx.net>
4249 * factory.C: make it aware of InsetHFill
4251 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4253 * buffer.C (latexParagraphs): move function from here...
4254 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4257 2003-03-10 Angus Leeming <leeming@lyx.org>
4259 * LyXAction.C (init): fix bug in poplating array with multiple entries
4260 with the same LFUN (spotted by JMarc).
4262 2003-03-10 John Levon <levon@movementarian.org>
4265 * text2.C: move getColumnNearX() near its
4268 2003-03-10 John Levon <levon@movementarian.org>
4270 * text.C: fix break before a minipage
4272 2003-03-10 John Levon <levon@movementarian.org>
4274 * text.C: fix the last commit
4276 2003-03-09 John Levon <levon@movementarian.org>
4280 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4281 bug 365 (don't break before insets unless needed). Don't
4282 return a value > last under any circumstances.
4284 2003-03-09 Angus Leeming <leeming@lyx.org>
4286 * BufferView_pimpl.C (trackChanges, dispatch): call
4287 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4289 2003-03-09 Angus Leeming <leeming@lyx.org>
4291 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4292 than Dialogs::showAboutlyx().
4294 2003-03-09 Angus Leeming <leeming@lyx.org>
4296 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4297 than Dialogs::showTabularCreate().
4299 2003-03-09 John Levon <levon@movementarian.org>
4303 * text2.C: 3rd arg to nextBreakPoint was always the same.
4306 2003-03-08 John Levon <levon@movementarian.org>
4313 * text2.C: Remove the "main" bit from the "main body"
4316 2003-03-08 John Levon <levon@movementarian.org>
4318 * text.C (leftMargin): The left margin of an empty
4319 manual label paragraph should not include the label width
4322 * text.C (prepareToPrint): don't attempt to measure hfills
4323 for empty manual label paragraphs - the answer should be 0
4325 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * CutAndPaste.C: remove commented code and reindent.
4329 2003-03-08 John Levon <levon@movementarian.org>
4332 * lyxfunc.C: move reloadBuffer()
4335 * BufferView.C: to here
4337 * lyxvc.C: add comment
4340 * vc-backend.C: call bv->reload() to avoid
4341 getStatus() check on MENURELOAD
4343 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4345 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4346 to an old format .dep file.
4348 2003-03-07 Angus Leeming <leeming@lyx.org>
4350 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4351 when the LFUN_MOUSE_RELEASE should have been handled by
4352 inset->localDispatch.
4354 2003-03-07 Angus Leeming <leeming@lyx.org>
4356 * BufferView_pimpl.C (dispatch):
4357 * LyXAction.C (init):
4358 * ToolbarDefaults.C (init):
4360 * lyxfunc.C (getStatus):
4361 remove LFUN_INSET_GRAPHICS.
4363 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4365 2003-03-07 Angus Leeming <leeming@lyx.org>
4368 * LyXAction.C (init):
4369 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4371 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4374 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4376 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4377 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4379 2003-03-07 Angus Leeming <leeming@lyx.org>
4381 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4384 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * ParagraphList.C (front): new function
4389 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4391 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4392 and top_row_offset_. removed var first_y.
4394 * text2.C (LyXText, removeRow):
4396 * BufferView_pimpl.C:
4397 use these methods instead of using first_y
4399 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * text2.C (pasteSelection): adjust for checkPastePossible
4403 * CutAndPaste.C: remove Paragraph * buf and replace with
4404 ParagraphList paragraphs.
4405 (DeleteBuffer): delete
4406 (cutSelection): change the tc type to textclass_type
4407 (copySelection): change the tc type to textclass_type
4408 (copySelection): adjust for ParagraphList
4409 (pasteSelection): change the tc type to textclass_type
4410 (pasteSelection): adjust for Paragraphlist
4411 (nrOfParagraphs): simplify for ParagraphList
4412 (checkPastePossible): simplify for ParagraphList
4413 (checkPastePossible): remove unused arg
4415 * ParagraphList.C (insert): handle the case where there are no
4418 * CutAndPaste.h: make CutAndPaste a namespace.
4420 * text3.C (dispatch): adjust
4422 * text.C (breakParagraph): add a ParagraphList as arg
4424 * paragraph_funcs.C (breakParagraph): change to take a
4425 BufferParams and a ParagraphList as args.
4426 (breakParagraphConservative): ditto
4427 (mergeParagraph): ditto
4428 (TeXDeeper): add a ParagraphList arg
4429 (TeXEnvironment): ditto
4432 * buffer.C (readLyXformat2): adjust
4433 (insertStringAsLines): adjust
4434 (latexParagraphs): adjust
4436 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4437 (cutSelection): adjust
4438 (pasteSelection): adjust
4440 * BufferView_pimpl.C (insertInset): adjust
4442 2003-03-05 Angus Leeming <leeming@lyx.org>
4445 * LyXAction.C (init):
4446 * BufferView_pimpl.C (dispatch):
4447 * lyxfunc.C (getStatus):
4448 remove LFUN_CHILD_INSERT.
4450 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4452 2003-03-05 Angus Leeming <leeming@lyx.org>
4455 * LyXAction.C (init):
4456 * src/factory.C (createInset):
4457 * lyxfunc.C (getStatus):
4458 * text3.C (dispatch):
4459 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4461 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4463 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * ParagraphList.C (insert): handle insert right before end()
4466 (erase): fix cases where it can be first or last paragraph.
4468 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4471 Paragraph::next and Paragraph::previous
4474 * text.C (breakParagraph): adjust
4476 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4477 BufferParams& as arg.
4478 (breakParagraph): use ParagraphList::insert
4479 (breakParagraphConservative): take a Buffer* instead of a
4480 BufferParams& as arg.
4481 (breakParagraphConservative): use ParagraphList::insert.
4483 * buffer.C (insertStringAsLines): un-const it
4484 (insertStringAsLines): adjust
4486 * ParagraphList.C (insert): new function
4488 * CutAndPaste.C (pasteSelection): adjust
4490 * text.C (backspace): adjust
4492 * tabular.C (SetMultiColumn): adjust
4494 * CutAndPaste.C (cutSelection): adjust
4495 (pasteSelection): adjust
4497 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4498 Buffer const * as arg
4500 * ParagraphList.C (erase): new function
4501 * paragraph_funcs.C (mergeParagraph): use it
4502 (mergeParagraph): make it take a Buffer* instead of a
4503 BufferParams* as arg
4505 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4507 (breakParagraphConservative): ditto
4509 * paragraph.h: remove the breakParagraph friend
4511 * paragraph.C (eraseIntern): new function
4512 (setChange): new function
4514 * paragraph_funcs.C (mergeParagraph): make it take a
4515 ParagraphList::iterator instead of a Paragraph *, adjust
4518 * paragraph.h: move an #endif so that the change tracking stuff
4519 also works in the NO_NEXT case.
4521 2003-03-04 Angus Leeming <leeming@lyx.org>
4524 * LyXAction.C: new LFUN_INSET_MODIFY.
4526 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4527 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4529 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * several files: ws changes only
4533 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4534 (TeXEnvironment): ditto
4537 * buffer.C (makeLaTeXFile): adjust
4538 (latexParagraphs): make it take ParagraphList::iterator as args
4540 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * buffer.C (latexParagraphs): adjust
4544 * paragraph.C (TeXOnePar): move function...
4545 (optArgInset): move function...
4546 (TeXEnvironment): move function...
4547 * paragraph_pimpl.C (TeXDeeper): move function...
4548 * paragraph_funcs.C: ...here
4550 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4552 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * buffer.C (readInset): remove compability code for old Figure and
4557 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * buffer.C: ws changes
4562 * BufferView_pimpl.C: ditto
4565 * bufferlist.h: ditto
4569 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4571 * converter.[Ch]: split into itself +
4574 * Makefile.am: += graph.[Ch] + format.[Ch]
4581 * lyxrc.C: added #include "format.h"
4583 2003-02-27 Angus Leeming <leeming@lyx.org>
4585 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4588 * factory.C (createInset): add "label" to the factory.
4590 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4591 string and do no more.
4593 2003-02-27 Angus Leeming <leeming@lyx.org>
4596 * LyXAction.C (init):
4597 * factory.C (createInset):
4598 * BufferView_pimpl.C (dispatch):
4599 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4601 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4603 * lyxfunc.C (dispatch):
4604 * text3.C (dispatch): pass name to params2string.
4606 2003-02-26 Angus Leeming <leeming@lyx.org>
4608 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4610 Rearrange the ~includes. Strip out the unnecessary ones.
4612 * factory.C (createInset): reformat.
4613 create new insets for the various LFUN_XYZ_APPLY lfuns.
4615 2003-02-26 John Levon <levon@movementarian.org>
4618 * lyxrow.C: add isParStart,isParEnd helpers
4620 * paragraph.h: make isInserted/DeletedText take refs
4622 * paragraph_funcs.h:
4623 * paragraph_funcs.C: remove #if 0'd code
4628 * text.C: use lyxrow helpers above.
4629 Move draw and paint routines to RowPainter.
4630 Make several methods use refs not pointers.
4631 Make backgroundColor() const.
4632 Add markChangeInDraw(), isInInset().
4633 Merge changeRegionCase into changeCase.
4634 Make workWidth() shouldn't-happen code into an Assert.
4637 * rowpainter.C: new class for painting a row.
4640 * vspace.C: make inPixels take a ref
4642 2003-02-26 Angus Leeming <leeming@lyx.org>
4644 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4647 2003-02-25 John Levon <levon@movementarian.org>
4649 * ispell.C: give the forked command a more accurate name
4651 2003-02-22 John Levon <levon@movementarian.org>
4654 * toc.C: make TocItem store an id not a Paragraph *
4657 2003-02-21 Angus Leeming <leeming@lyx.org>
4659 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4660 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4661 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4662 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4663 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4664 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4666 * BufferView_pimpl.C (dispatch):
4667 * LyXAction.C (init):
4668 * factory.C (createInset):
4669 * lyxfunc.C (getStatus, dispatch):
4670 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4672 2003-02-21 Angus Leeming <leeming@lyx.org>
4674 * BufferView_pimpl.C (MenuInsertLyXFile):
4675 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4676 * lyxfunc.C (menuNew, open, doImport):
4677 no longer pass a LyXView & to fileDlg.
4679 2003-02-21 Angus Leeming <leeming@lyx.org>
4681 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4682 * LyXAction.C: change, BIBKEY to BIBITEM.
4683 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4684 Change InsetBibKey to InsetBibitem.
4685 Change BIBKEY_CODE to BIBITEM_CODE.
4686 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4687 * factory.C: replace insetbib.h with insetbibitem.h.
4688 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4689 * paragraph.C: replace insetbib.h with insetbibitem.h.
4690 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4691 Change bibkey() to bibitem().
4692 * text.C: remove insetbib.h.
4693 * text2.C: replace insetbib.h with insetbibitem.h.
4694 change bibkey() to bibitem().
4695 * text3.C: remove insetbib.h.
4696 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4698 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4700 * lyxrc.C (output): enclose user email in quotes (in case there are
4703 2003-02-18 John Levon <levon@movementarian.org>
4705 * buffer.h: add std::
4707 2003-02-17 John Levon <levon@movementarian.org>
4713 * pspell.C: reworking. Especially in ispell, a large
4714 number of clean ups and bug fixes.
4716 * lyxfunc.C: fix revert to behave sensibly
4718 2003-02-17 André Pönitz <poenitz@gmx.net>
4721 * commandtags.h: new LFUN_INSERT_BIBKEY
4731 * paragraph_func.C: remove special bibkey handling
4733 2003-02-17 John Levon <levon@movementarian.org>
4735 * text.C (Delete): fix case where delete at the end of
4736 the very first paragraph would not merge the pars
4738 2003-02-17 John Levon <levon@movementarian.org>
4740 * lyxrow.C: fix lastPrintablePos()
4742 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4744 * bufferparams.C (writeLaTeX): add a std:here
4746 * buffer.C: and remove a using directive there
4748 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4750 * buffer.C (makeLaTeXFile): move the code that generates the
4753 * bufferparams.C (writeLaTeX): ... in this new method
4755 * LaTeXFeatures.C (getEncodingSet): make const
4756 (getLanguages): make const
4758 * MenuBackend.C (binding): returns the binding associated to this
4760 (add): sets the status of each item by calling getStatus. Adds
4762 (read): add support for OptSubMenu
4763 (expand): remove extra separator at the end of expanded menu
4765 2003-02-15 John Levon <levon@movementarian.org>
4768 * BufferView_pimpl.C:
4770 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4771 inset code that had no actual effect. Remove unneeded status
4774 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4776 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4779 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4781 * text.C (drawLengthMarker): also draw an arrow marker for
4782 symbolic lengths (medskip...)
4784 2003-02-14 John Levon <levon@movementarian.org>
4787 * tabular.C: better method names
4789 2003-02-14 John Levon <levon@movementarian.org>
4791 * BufferView_pimpl.C:
4796 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4797 it's a more accurate name. Remove some pointless uses.
4799 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4801 * text2.C (LyXText): change order of initilizers to shut off
4804 2003-02-14 John Levon <levon@movementarian.org>
4806 * buffer.C: use ParIterator for getParFromID()
4810 * paragraph_pimpl.h:
4811 * paragraph_pimpl.C: remove unused getParFromID()
4813 2003-02-14 John Levon <levon@movementarian.org>
4815 * buffer.C: remove some very old #if 0'd parse code
4817 2003-02-13 John Levon <levon@movementarian.org>
4821 * text2.C: move hfillExpansion(), numberOfSeparators(),
4822 rowLast(), rowLastPrintable(), numberofHfills(),
4823 numberOfLabelHfills() ...
4826 * lyxrow.C: ... to member functions here.
4831 * text.C: remove LyXText::beginningOfMainBody(), and call
4832 p->beginningOfMainBody() directly. Move the check for
4833 LABEL_MANUAL into the latter.
4840 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4846 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4847 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4849 2003-02-13 John Levon <levon@movementarian.org>
4851 * CutAndPaste.C: remove debug
4853 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4855 * paragraph.C (asString): remove two unused variables
4857 * lyxtextclass.C (readTitleType):
4859 (LyXTextClass): handle new members titletype_ and titlename_
4861 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4863 2003-02-09 John Levon <levon@movementarian.org>
4866 * buffer.C: replace hand-coded list with a map for the dep clean
4868 2003-02-08 John Levon <levon@movementarian.org>
4870 * LaTeX.C: consolidate code into showRunMessage() helper
4872 2003-02-08 John Levon <levon@movementarian.org>
4877 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4878 and pass the size in explicitly
4880 * BufferView_pimpl.h:
4881 * BufferView_pimpl.C:
4883 * BufferView.C: add getCurrentChange()
4885 * BufferView_pimpl.h:
4886 * BufferView_pimpl.C: handle change lfuns
4888 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4889 for changes. Mark pasted paragraphs as new.
4891 * support/lyxtime.h:
4892 * support/lyxtime.C:
4893 * DepTable.C: abstract time_t as lyx::time_type
4896 * LColor.C: add colours for new text, deleted text, changebars
4898 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4899 package use "usenames" option.
4903 * LyXAction.C: add change lfuns
4907 * author.C: author handling
4910 * buffer.C: add a per-buffer author list, with first entry as
4911 current author. Handle new .lyx tokens for change tracking. Output
4912 author list to .lyx file. Output dvipost stuff to .tex preamble.
4913 Bump lyx format to 222.
4916 * bufferlist.C: add setCurrentAuthor() to reset current author details
4920 * bufferparams.C: add param for tracking
4922 * bufferview_funcs.C: output change info in minibuffer
4926 * changes.C: add change-tracking structure
4929 * debug.C: add CHANGES debug flag
4932 * lyxfind.C: add code for finding the next change piece
4935 * lyxrc.C: add user_name and user_email
4938 * lyxrow.C: add a metric for the top of the text line
4941 * text.C: implement accept/rejectChange()
4944 * text.C: paint changebars. Paint new/deleted text in the chosen
4945 colours. Strike through deleted text.
4949 * paragraph_pimpl.h:
4950 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4951 in the current change to the insert functions. Rework erase to
4952 mark text as deleted, adding an eraseIntern() and a range-based
4953 erase(). Implement per-paragraph change lookup and
4956 * paragraph_funcs.C: Fixup paste for change tracking.
4958 * tabular.C: mark added row/columns as new.
4960 * text.C: fix rowLast() to never return -1. Don't allow
4961 spellchecking of deleted text. Track transpose changes. Don't
4962 allow paragraph break or merge where appropriate.
4964 * text2.C: leave cursor at end of selection after a cut.
4966 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4968 * text.C (getLengthMarkerHeight):
4969 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4970 visible on screen too.
4972 2003-02-07 John Levon <levon@movementarian.org>
4974 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4976 2003-02-05 Angus Leeming <leeming@lyx.org>
4978 * lyxserver.C (read_ready): revert my patch of 11 September last year
4979 as it sends PC cpu through the roof. Presumably this means that
4980 the lyxserver will no longer run on an Alpha...
4982 2003-01-30 Angus Leeming <leeming@lyx.org>
4984 * factory.C (createInset): create an InsetCommandParam of type "index"
4985 and use it to 'do the right thing'.
4987 * text2.C (getStringToIndex): ensure that cursor position is always
4988 reset to the reset_cursor position.
4990 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4992 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4995 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4999 * lyxfunc.C: Output messages with identical spelling, punctuation,
5002 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5004 * MenuBackend.C (expandFormats): List only viewable export formats
5007 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5010 * lyxfunc.C (getStatus): Make sure that formats other than
5011 "fax" can also be disabled
5013 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5015 * text3.C (dispatch): put the lfuns that insert insets in 3
5016 groups, and call doInsertInset with appropriate arguments.
5017 (doInsertInset): new function, that creates an inset and inserts
5018 it according to some boolean parameters.
5020 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * buffer.C (readFile): remember to pass on 'par' when calling
5023 readFile recursively.
5025 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5027 * MenuBackend.C (expandFormats): add "..." to import formats.
5029 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5031 * paragraph.C (asString): Remove XForms RTL hacks.
5033 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5034 * buffer.C: fix typo
5036 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * Makefile.am (LIBS): delete var
5039 (lyx_LDADD): add @LIBS@ here instead.
5041 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5043 * Clarify the meaning of "wheel mouse jump"
5045 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5047 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5050 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5052 * importer.C (Loaders): do not preallocate 3 elements in the
5053 vector, since one ends up with 6 elements otherwise
5055 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5057 * DepTable.C (write): write the file name as last element of the
5058 .dep file (because it may contain spaces)
5059 (read): read info in the right order
5061 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5063 * paragraph_pimpl.C (simpleTeXBlanks):
5064 (simpleTeXSpecialChars):
5065 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5067 * tabular.C (latex): add some missing case statements. Reindent.
5069 * MenuBackend.C (expandToc): remove unused variable.
5071 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5080 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5083 2003-01-05 John Levon <levon@movementarian.org>
5086 * BufferView.C: add getEncoding()
5089 * kbsequence.C: do not store last keypress
5092 * lyxfunc.C: store last keypress here instead. Pass encoding
5095 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5097 * lyx_main.C (init): remove annoying error message when following
5098 symbolic links (bug #780)
5100 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5102 * text.C (insertChar):
5103 * lyxrc.C (getDescription): remove extra spaces
5105 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5107 * lyxrc.C (getDescription): remove extra spaces
5109 2002-12-20 John Levon <levon@movementarian.org>
5111 * text3.C: hack fix for page up/down across tall rows
5113 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5115 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5118 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5120 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5121 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5122 thesaurus is not compiled in
5124 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5126 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5128 2002-12-16 Angus Leeming <leeming@lyx.org>
5131 * lyx_main.C (init): remove override_x_deadkeys stuff.
5133 2002-12-12 John Levon <levon@movementarian.org>
5135 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5136 insert. Only remove shift modifier under strict
5139 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * MenuBackend.C (expandToc): fix crash.
5143 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * MenuBackend.C (expandToc): gettext on float names.
5147 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5149 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5150 implement bool empty() [bug 490]
5152 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5154 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5156 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * several files: ws changes
5160 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * text2.C (setCounter): clean up a bit, use boost.format.
5163 (updateCounters): initialize par upon declaration.
5165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5166 if the layout exists. We do not just store the layout any more.
5167 (SwitchLayoutsBetweenClasses): use boost.format
5169 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5171 * converter.C (convert): if from and to files are the same, use a
5172 temporary files as intermediary
5174 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5177 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5179 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5181 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5183 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * tabular.C (asciiPrintCell): use string(size, char) instead of
5188 * sgml.C (openTag): fix order of arguments to string constructor
5191 * lyxfunc.C (dispatch): use boost.format
5193 * lots of files: change "c" -> 'c'
5195 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5197 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5199 2002-11-25 Angus Leeming <leeming@lyx.org>
5201 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5203 * lyx_main.C (init): compile fix.
5205 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * lyx_cb.C (start): boost.formatify
5208 do not include <iostream>
5210 * lengthcommon.C: ws only
5212 * boost-inst.C,BoostFormat.h: add more explict instantations
5214 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5216 * lots of files: handle USE_BOOST_FORMAT
5218 2002-11-21 John Levon <levon@movementarian.org>
5220 * pspell.C: fix compile
5222 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5224 * lyxfunc.C (dispatch): use boost::format
5228 * lyxfont.C (stateText): use boost::format
5230 * lyx_main.C (LyX): use boost::format
5232 (queryUserLyXDir): ditto
5235 (typedef boost::function): use the recommened syntax.
5237 * importer.C (Import): use boost::format
5239 * debug.C (showLevel): use boost::format
5241 * converter.C (view): use boost::format
5246 * bufferview_funcs.C (currentState): use boost::format
5248 * bufferlist.C (emergencyWrite): use boost::format
5250 * buffer.C (readLyXformat2): use boost::format
5251 (parseSingleLyXformat2Token): ditto
5253 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5255 * LaTeX.C (run): use boost::format
5257 * Chktex.C (scanLogFile): use boost::format
5259 * BufferView_pimpl.C (savePosition): use boost::format
5260 (restorePosition): ditto
5261 (MenuInsertLyXFile): ditto
5263 * BoostFormat.h: help file for explicit instation.
5265 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5267 * tabular.C (latex): Support for block alignment in fixed width
5270 2002-11-17 John Levon <levon@movementarian.org>
5272 * BufferView_pimpl.C:
5274 * lyxfunc.C: split filedialog into open/save
5276 2002-11-08 Juergen Vigna <jug@sad.it>
5278 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5279 by my last patch (hopefully).
5281 2002-11-08 John Levon <levon@movementarian.org>
5290 * toc.C: ParConstIterator, and use it (from Lars)
5292 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5294 * lyxtextclass.[Ch]: revise and add doxygen comments
5296 2002-11-07 John Levon <levon@movementarian.org>
5298 * text.C: fix progress value for spellchecker
5300 * toc.C: fix navigate menu for insetwrap inside minipage
5302 * paragraph_funcs.C: added FIXME for suspect code
5304 2002-11-07 John Levon <levon@movementarian.org>
5306 * BufferView_pimpl.C: fix redrawing of insets
5309 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5311 * text2.C (updateCounters): fix bug 668
5313 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5315 * text3.C (dispatch): Do not make the buffer dirty when moving the
5318 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * vc-backend.C: STRCONV
5323 * text2.C (setCounter): STRCONV
5325 * paragraph.C (asString): STRCONV
5327 * lyxlength.C (asString): STRCONV
5328 (asLatexString): ditto
5330 * lyxgluelength.C (asString): STRCONV
5331 (asLatexString): ditto
5333 * lyxfunc.C (dispatch): STRCONV
5336 * lyxfont.C (stateText): STRCONV
5338 * importer.C (Import): STRCONV
5340 * counters.C (labelItem): STRCONV
5341 (numberLabel): ditto
5342 (numberLabel): remove unused ostringstream o
5347 * bufferview_funcs.C (currentState): STRCONV
5349 * buffer.C (readFile): STRCONV
5350 (asciiParagraph): ditto
5351 (makeLaTeXFile): ditto
5353 * Spacing.C (writeEnvirBegin): STRCONV
5355 * LaTeXFeatures.C (getLanguages): STRCONV
5356 (getPackages): ditto
5358 (getBabelOptions): ditto
5359 (getTClassPreamble): ditto
5360 (getLyXSGMLEntities): ditto
5361 (getIncludedFiles): ditto
5365 (scanAuxFile): ditto
5368 * LString.h: add the STRCONV macros
5370 * BufferView_pimpl.C (savePosition): STRCONV
5371 (restorePosition): ditto
5372 (MenuInsertLyXFile): ditto
5374 * vc-backend.C (scanMaster): change from submatch[...] to
5377 * funcrequest.C: include config.h
5379 * factory.C: include config.h
5381 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5383 * box.C: include config.h
5385 * LaTeX.C (scanAuxFile): change from submatch[...] to
5389 2002-10-25 Angus Leeming <leeming@lyx.org>
5391 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5393 * ispell.[Ch] (setError): new method.
5394 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5395 Use setError() insetead of goto END.
5397 * lyx_cb.C (AutoSave): move out child process into new class
5400 2002-10-30 John Levon <levon@movementarian.org>
5402 * text3.C: make start appendix undoable
5404 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5406 * lyxlength.C (inPixels): Fix returned value.
5408 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5411 2002-10-24 Angus Leeming <leeming@lyx.org>
5413 * lyxgluelength.h: no need to forward declare BufferParams
5414 or BufferView, so don't.
5416 2002-10-21 John Levon <levon@movementarian.org>
5418 * BufferView.C: menuUndo ->undo, redo
5420 * BufferView.h: document, remove dead, make some methods private
5422 * paragraph_funcs.h:
5423 * paragraph_funcs.C:
5424 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5429 * sgml.C: move sgml open/close tag into sgml.C
5431 * bufferview_funcs.h: unused prototype
5434 * lyxfunc.C: remove unused
5437 * text.C: remove unused
5439 2002-10-21 John Levon <levon@movementarian.org>
5443 * BufferView_pimpl.h:
5444 * BufferView_pimpl.C: fix mouse wheel handling based on
5445 patch from Darren Freeman
5447 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5449 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5451 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5453 * lyxlength.C (inPixels): Fix hanfling of negative length.
5454 Fix LyXLength::MU case.
5456 2002-10-16 John Levon <levon@movementarian.org>
5458 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5460 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5462 * converter.C (view): add support for $$i (file name) and $$p
5463 (file path) for the viewer command. If $$i is not specified, then
5464 it is appended to the command (for compatibility with old syntax)
5466 2002-10-14 Juergen Vigna <jug@sad.it>
5468 * undo_funcs.C (textHandleUndo): alter the order in which the
5469 new undopar is added to the LyXText, as we have to set first
5470 the right prev/next and then add it as otherwise the rebuild of
5471 LyXText is not correct. Also reset the cursor to the right paragraph,
5472 with this IMO we could remove the hack in "redoParagraphs()".
5474 2002-10-09 Angus Leeming <leeming@lyx.org>
5476 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5477 to turn off an optimisation if a new inset is to be inserted.
5479 2002-10-11 André Pönitz <poenitz@gmx.net>
5481 * lyxtext.h: make some functions public to allow access
5482 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5484 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5486 * text3.C (dispatch): when changing layout, avoid an infinite loop
5489 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5491 * lyxrc.C (read): treat a viewer or converter command of "none" as
5494 * MenuBackend.C (expandFormats): for an update, also allow the
5495 formats that are not viewable
5497 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5498 script if it is newer than the lyxrc.defaults in user directory
5500 2002-10-07 André Pönitz <poenitz@gmx.net>
5502 * text.C: Vitaly Lipatov's small i18n fix
5504 2002-09-25 Angus Leeming <leeming@lyx.org>
5506 * ispell.h: doxygen fix.
5508 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5510 * buffer.h (readFile): Add a new argument to the method, to allow
5511 reading of old-format templates.
5513 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5515 * toc.C (getTocList): Get TOC from InsetWrap.
5517 2002-09-16 John Levon <levon@movementarian.org>
5519 * lyxfunc.C: check tabular for cut/copy too
5521 2002-09-12 John Levon <levon@movementarian.org>
5526 * factory.C: add header
5528 * paragraph_funcs.h:
5529 * paragraph_funcs.C: cleanup
5531 2002-09-11 John Levon <levon@movementarian.org>
5533 * PrinterParams.h: odd/even default to true
5535 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5537 * PrinterParams.h: update printer parameters for new xforms dialog
5539 2002-09-11 Angus Leeming <leeming@lyx.org>
5541 * lyxserver.C (read_ready): re-write to make it more transparent
5542 and to make it work in coherent fashion under Tru64 Unix.
5544 2002-09-11 André Pönitz <poenitz@gmx.net>
5548 * text3.C: implement LFUN_WORDSEL
5550 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5553 make floatlist_ a boost::shared_ptr<FloatList>
5555 * lyxtextclass.C: include FloatList.h
5556 (LyXTextClass): initialize floatlist_
5557 (TextClassTags): add TC_NOFLOAT
5558 (Read): match "nofloat" to TC_NOFLOAT and use it.
5559 (readFloat): modify call to floatlist_
5563 * FloatList.[Ch] (FloatList): remove commented out float
5565 (erase): new function
5567 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5569 * MenuBackend.C (expandToc): fix crash when there is no document
5572 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5574 * many files: Add insetwrap.
5576 2002-09-09 John Levon <levon@movementarian.org>
5578 * text2.C: remove confusing and awkward depth wraparound
5580 2002-09-09 John Levon <levon@movementarian.org>
5582 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5585 * buffer.C: remove getIncludeonlyList()
5588 * lyxfunc.C: remove headers
5590 2002-09-09 Juergen Vigna <jug@sad.it>
5592 * text.C (getColumnNearX): fix form Michael this is most
5593 probably a cut&paste bug.
5595 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5599 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5600 references, ws changes.
5602 * text2.C (init): update counters after init
5603 (insertParagraph): no need to set counter on idividual paragraphs.
5604 (setCounter): access the counters object in the textclass object
5605 on in the buffer object.
5606 (updateCounters): ditto
5608 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5609 shared_ptr<Counters> to avoid loading counters.h in all
5611 (LyXTextClass): initialize ctrs_
5612 (TextClassTags): add TC_COUNTER, and ...
5613 (Read): use it here.
5614 (CounterTags): new tags
5615 (readCounter): new function
5616 (counters): new funtion
5617 (defaultLayoutName): return a const reference
5619 * counters.C (Counters): remove contructor
5620 (newCounter): remove a couple of unneeded statements.
5621 (newCounter): simplify a bit.
5622 (numberLabel): some small formatting changes.
5624 * buffer.[Ch]: remove all traces of counters, move the Counters
5625 object to the LyXTextClass.
5627 2002-09-06 Alain Castera <castera@in2p3.fr>
5629 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5630 package to set the horizontal alignment on fixed width columns.
5633 * lyx_sty.h: added tabularnewline macro def.
5635 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5637 2002-09-06 John Levon <levon@movementarian.org>
5639 * LyXAction.C: tooltips for sub/superscript
5641 * MenuBackend.C: a bit more verbose
5643 * lyxfunc.C: tiny clean
5645 * undo_funcs.C: document undo_frozen
5647 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * counters.C (Counters): add missing algorithm counter.
5651 * text2.C (setCounter): lookup the counter with layouts latexname
5652 instead of by section number.
5653 (setCounter): use a hackish way to lookup the correct enum
5655 a float name->type change
5656 reset enum couners with counter name directly instead of depth value.
5658 * counters.C (Counters): remove the push_backs, change to use the
5659 float type not the float name.
5660 (labelItem): remove unused string, float name->type change
5662 * counters.h: don't include vector, loose the enums and sects vectors
5664 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5667 (Read): add float->TC_FLOAT to textclassTags
5668 (Read): and handle it in the switch
5669 (readFloat): new function
5671 * FloatList.C (FloatList): comment out the hardcoded float
5674 * lyxlayout.h: ws change.
5676 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5678 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5680 2002-09-03 Angus Leeming <leeming@lyx.org>
5682 * BufferView_pimpl.h: qualified name is not allowed in member
5683 declaration: WorkArea & Pimpl::workarea() const;
5685 * factory.C: added using std::endl directive.
5687 * text3.C: added using std::find and std::vector directives.
5689 2002-08-29 André Pönitz <poenitz@gmx.net>
5692 * text2.C: remove unused member number_of_rows
5695 * BufferView2.C: remove file, move contents to...
5696 * BufferView.C: ... here
5698 * BufferView_pimpl.C:
5699 * factory.C: move more inset creation to factory
5701 * vspace.C: avoid direct usage of LyXText, ws changes
5704 don't provide direct access to WorkArea, use two simple
5705 acessors haveSelction() and workHeight() instead
5708 2002-08-29 John Levon <levon@movementarian.org>
5710 * BufferView_pimpl.C (dispatch): do not continue when
5713 2002-08-28 André Pönitz <poenitz@gmx.net>
5715 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5718 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5720 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5722 * buffer.C: increment LYX_FORMAT to 221
5724 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5725 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5727 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5729 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5731 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5733 * factory.C (createInset): use LyXTextClass::floats
5735 * MenuBackend.C (expandFloatListInsert):
5736 (expandFloatInsert):
5739 * text2.C (setCounter):
5741 * LaTeXFeatures.C (useFloat):
5742 (getFloatDefinitions):
5744 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5746 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5747 floatlist_, with accessor floats().
5749 * FloatList.h: remove global FloatList
5751 2002-08-26 André Pönitz <poenitz@gmx.net>
5753 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5757 * BufferView_pimpl.C:
5758 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5760 2002-08-25 John Levon <levon@movementarian.org>
5762 * LyXAction.C: fix margin note description
5764 2002-08-24 John Levon <levon@movementarian.org>
5768 * bufferview_funcs.C:
5770 * undo_funcs.C: cleanups
5772 * lyxfunc.C: disable CUT/COPY when no selection
5774 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5776 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5777 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5779 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5780 Add backward compatibility to "mono", "gray" and "no".
5782 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5784 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5785 (and file_format >= 200).
5787 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5789 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5791 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5793 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5795 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5797 * BufferView_pimpl.C:
5804 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5805 inset and code to make it work with the paragraph code. The inset
5806 can be anywhere in the paragraph, but will only do the expected
5807 thing in LaTeX if the layout file contains the parameter line
5809 (or more generally, a nonzero value) for that layout.
5811 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * paragraph.h: remove the declaration of undefined counters class
5816 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5818 * text2.C (setCounter): fixed enumeration mis-count as reported by
5819 Dr. Richard Hawkins.
5821 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5823 * paragraph_funcs.h: remove some unneeded includes
5825 * text.C (backspace): pasteParagraph now in global scipe
5827 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5828 (pasteSelection): ditto
5830 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5831 * paragraph_funcs.C (pasteParagraph): ... here
5833 2002-08-20 André Pönitz <poenitz@gmx.net>
5835 * commandtags.h: new LFUNs for swapping/copying table row/colums
5838 * lyxfunc.C: support for new lfuns
5840 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5843 * buffer.[Ch]: remove NO_COMPABILITY stuff
5845 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * boost.C (throw_exception): new file, with helper function for
5848 boost compiled without exceptions.
5853 * ParameterStruct.h:
5854 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5856 * bufferlist.C (emergencyWriteAll): use boost bind
5858 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5860 * text.C: include paragraph_funcs.h
5861 (breakParagraph): breakParagraph is now in global scope
5863 * paragraph_funcs.[Ch]: new files
5865 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5868 * buffer.C: include paragraph_funcs.h
5869 (insertStringAsLines): breakParagraph is now in global scope
5871 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5874 * CutAndPaste.C: include paragraph_funcs.h
5875 (cutSelection): breakParagraphConservative is now in global scope
5876 (pasteSelection): ditto
5878 * buffer.h: declare oprator== and operator!= for
5879 Buffer::inset_iterator
5881 * bufferlist.C (emergencyWrite): don't use fmt(...)
5883 * text3.C: add using std::endl
5885 * BufferView.C (moveCursorUpdate): remove default arg
5887 2002-08-20 André Pönitz <poenitz@gmx.net>
5889 * buffer.[Ch]: move inline functions to .C
5892 * BufferView_pimpl.C:
5894 * buffer.[Ch]: use improved inset_iterator
5897 * paragraph.[Ch]: write one paragraph at a time
5899 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5901 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5902 style if style is not specified.
5904 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5906 * text2.C (setCounter): when searching for right label for a
5907 caption, make sure to recurse to parent insets (so that a caption
5908 in a minipage in a figure float works) (bug #568)
5910 2002-08-20 André Pönitz <poenitz@gmx.net>
5912 * text3.C: new file for LyXText::dispatch() and helpers
5914 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5916 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5918 2002-08-19 André Pönitz <poenitz@gmx.net>
5921 * text.C: new LyXText::dispatch()
5923 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5925 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5927 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5929 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5932 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5934 * Makefile.am: use $(variables) instead of @substitutions@
5936 2002-08-15 André Pönitz <poenitz@gmx.net>
5939 * BufferView_pimpl.C: streamlining mathed <-> outer world
5943 * LyXAction.C: remove unused LFUN_MATH
5945 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5949 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5951 * paragraph.C (Paragraph): reformat a bit
5952 (cutIntoMinibuffer): use builtin InsetList function instad of
5956 * buffer.C: include boost/bind.hpp, add using std::for_each
5957 (writeFileAscii): use ParagraphList iterators
5958 (validate): use for_each for validate traversal of paragraphs
5959 (getBibkeyList): use ParagraphList iterators
5960 (resizeInsets): use for_each to resizeInsetsLyXText for all
5962 (getParFromID): use ParagraphList iterators
5964 * BufferView2.C (lockInset): use paragraph list and iterators
5966 2002-08-14 John Levon <levon@movementarian.org>
5968 * lyxserver.C: remove spurious xforms include
5970 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5972 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5974 2002-08-13 André Pönitz <poenitz@gmx.net>
5977 * lyxfunc.C: further cleaning
5979 2002-08-13 André Pönitz <poenitz@gmx.net>
5981 * funcrequest.h: new constructor
5983 * funcrequest.C: move stuff here from .h
5986 * BufferView_pimpl.C:
5989 * lyxfunc.C: subsequent changes
5991 * lyxfunc.h: new view() member function
5993 * lyxfunc.C: subsequent changes
5995 2002-08-13 Angus Leeming <leeming@lyx.org>
5998 * BufferView_pimpl.C:
6006 changes due to the changed LyXView interface that now returns references
6007 to member variables not pointers.
6009 2002-08-13 Angus Leeming <leeming@lyx.org>
6011 * WordLangTuple (word, lang_code): return references to strings,
6016 * lyxtext.h: forward-declare WordLangTuple.
6021 * text.C: #include "WordLangTuple.h".
6024 * text.C: (selectNextWordToSpellcheck): constify return type.
6026 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6032 * paragraph_pimpl.h:
6035 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6037 Made updateCounter always count from start of buffer, and removed
6038 second argument (par).
6039 Reverted floats number display to '#'. Perhaps I'll try again when the
6040 code base is sanitized a bit.
6042 2002-08-12 Angus Leeming <leeming@lyx.org>
6044 * buffer.[Ch] (getLabelList): constify.
6046 2002-08-07 André Pönitz <poenitz@gmx.net>
6048 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6050 * funcrequest.h: extension to keep mouse (x,y) position
6052 2002-08-12 Juergen Vigna <jug@sad.it>
6054 * BufferView2.C (insertErrors): forbid undo when inserting error
6057 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6059 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6061 * ParagraphList.[Ch]: new files
6063 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6065 * BufferView2.C (lockInset): ParagraphList changes
6068 * bufferlist.C: ditto
6072 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6075 unused class variable counter_,
6077 * paragraph.[Ch] (getFirstCounter): delete unused function
6079 * counters.C: include LAssert.h
6080 (reset): add a new function with no arg, change other version to
6081 not have def. arg and to not allow empty arg.
6083 * text2.C (setCounter): remove empty arg from call to Counters::reset
6085 2002-08-11 John Levon <levon@movementarian.org>
6087 * Makefile.am: add WordLangTuple.h
6089 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6091 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6092 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6094 * insets/insettext.C: InsetList changes
6096 * graphics/GraphicsSupport.C (operator()): InsetList changes
6098 * toc.C (getTocList): InsetList changes
6100 * paragraph_pimpl.[Ch]: InsetList changes
6102 * paragraph.[Ch]: InsetList changes
6104 * buffer.C (inset_iterator): InsetList changes
6105 (setParagraph): ditto
6106 * buffer.h (inset_iterator): ditto
6107 * iterators.C (operator++): ditto
6108 * iterators.h: ditto
6110 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6112 * InsetList.[Ch]: new files, most InsetList handling moved out of
6115 * BufferView2.C (removeAutoInsets): InsetList changes
6117 (ChangeInsets): ditto
6119 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6121 * paragraph_pimpl.h (empty): new function
6123 * paragraph.[Ch] (empty): new function
6125 * other files: use the new Paragraph::empty function
6127 2002-08-09 John Levon <levon@movementarian.org>
6129 * lyxtext.h: remove unused refresh_height
6131 2002-08-09 John Levon <levon@movementarian.org>
6138 * paragraph.C: move sgml char escaping out of paragraph
6141 * paragraph.C: remove id setter
6145 * paragraph_pimpl.C: remove dead tex_code_break_column
6147 * bufferview_funcs.C: small cleanup
6149 * lyxfunc.C: remove dead proto
6151 * lyxtext.h: make some stuff private. Remove some dead stuff.
6153 * lyxgluelength.C: make as[LyX]String() readable
6155 2002-08-08 John Levon <levon@movementarian.org>
6160 * ToolbarDefaults.C:
6163 * toc.C: lyxaction cleanup
6165 2002-08-08 John Levon <levon@movementarian.org>
6167 * BufferView2.C: small cleanup
6170 * lyxfind.C: move unnecessary header into the .C
6172 2002-08-08 John Levon <levon@movementarian.org>
6174 * funcrequest.h: just tedious nonsense
6177 * lyx_main.C: cleanups
6180 * vspace.C: remove dead header lyx_main.h
6182 2002-08-07 Angus Leeming <leeming@lyx.org>
6185 * paragraph_pimpl.h:
6186 Forward declare class Counters in paragraph.h by moving the ctrs member
6187 variable into Paragraph::Pimpl.
6188 (counters): new method, returning a reference to pimpl_->ctrs.
6190 * text2.C: ensuing changes.
6192 2002-08-07 John Levon <levon@movementarian.org>
6194 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6196 * BufferView_pimpl.C: announce X selection on double/triple
6199 * lyx_main.C: use correct bool in batch dispatch
6201 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6203 2002-08-07 André Pönitz <poenitz@gmx.net>
6205 * funcrequest.h: new class to wrap a kb_action and its argument
6208 * BufferView_pimpl[Ch]:
6212 * lyxrc.C: subsequent changes
6215 2002-08-07 John Levon <levon@movementarian.org>
6217 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6218 document options change.
6220 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6225 * makefile.am: move counters functionality over from
6226 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6228 2002-08-06 John Levon <levon@movementarian.org>
6230 * WordLangTuple.h: new file for word + language code tuple
6241 * BufferView2.C: use WordLangTuple
6244 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6246 2002-08-06 John Levon <levon@movementarian.org>
6248 * lyx_main.C: fix cmdline batch handling
6250 2002-08-06 André Pönitz <poenitz@gmx.net>
6252 * lyxrc.C: set default for show_banner to true
6254 2002-08-06 John Levon <levon@movementarian.org>
6256 * pspell.C: fix a crash, and allow new aspell to work
6258 2002-08-06 John Levon <levon@movementarian.org>
6261 * kbmap.C: small cleanup
6264 * vspace.C: add const
6266 2002-08-05 John Levon <levon@movementarian.org>
6268 * LyXAction.C: back to tabular-insert
6270 2002-08-04 John Levon <levon@movementarian.org>
6273 * BufferView.C: cosmetic change
6275 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6285 * BufferView2.C: purge all "Lyx" not "LyX" strings
6288 * lyxcursor.C: attempt to add some documentation
6293 * ToolbarDefaults.C:
6294 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6295 merge with LFUN_TABULAR_INSERT
6302 * pspell.C: split up i/pspell implementations into separate
6303 files, many cleanups
6305 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6307 * text2.C: some cleanup
6309 * lyxfunc.C: don't check for isp_command == "none" any more, it
6310 didn't make any sense
6312 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6317 * makefile.am: move counters functionality over
6318 from text2.C/paragraph.[Ch] to counters.[Ch], and
6320 2002-08-02 John Levon <levon@movementarian.org>
6322 * buffer.C: s/lyxconvert/lyx2lyx/
6324 2002-08-02 Angus Leeming <leeming@lyx.org>
6326 * lyxlex.C: revert John's change as it breaks reading of the user
6329 2002-08-02 Angus Leeming <leeming@lyx.org>
6331 * importer.C (Import):
6332 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6333 changes due to LyXView::view() now returning a boost::shared_ptr.
6335 2002-08-02 John Levon <levon@movementarian.org>
6337 * lyxlex.C: small cleanup
6339 2002-08-02 John Levon <levon@movementarian.org>
6341 * text2.C (status): small cleanup, no logic change
6343 2002-08-01 John Levon <levon@movementarian.org>
6346 * buffer.C (writeFile): don't output alerts, caller
6350 * lyx_cb.C: from above
6352 * lyxfunc.C: allow to open non-existent files
6354 2002-07-31 John Levon <levon@movementarian.org>
6356 * lyxserver.C: don't let incidental errors get
6359 2002-07-30 John Levon <levon@movementarian.org>
6361 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6363 2002-07-30 John Levon <levon@movementarian.org>
6366 * lyxserver.C: remove I/O callback too
6368 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6370 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6373 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6375 * many files: strip,frontStrip -> trim,ltrim,rtrim
6377 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6379 * PrinterParams.h: remove extern containsOnly, and include
6380 support/lstrings.h instead.
6382 * LaTeX.C (scanAuxFile): modify because of strip changes
6384 * buffer.C (makeLaTeXFile): ditto
6385 * bufferparams.C (writeFile): ditt
6386 * lyxfont.C (stateText): ditto
6387 * lyxserver.C (read_ready): ditto
6388 * vc-backend.C (scanMaster): ditto
6390 * BufferView_pimpl.h: ws changes
6392 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6394 2002-07-26 André Pönitz <poenitz@gmx.net>
6396 * kb_sequence.C: remove unnedred usings
6398 2002-07-26 Juergen Vigna <jug@sad.it>
6400 * lyxfind.C (LyXReplace): we have to check better if the returned
6401 text is not of theLockingInset()->getLockingInset().
6403 2002-07-25 Juergen Vigna <jug@sad.it>
6405 * lyxfind.C (LyXReplace): don't replace if we don't get the
6408 * undo_funcs.C (createUndo): remove debugging code.
6410 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6412 * buffer.C (parseSingleLyXformat2Token): Use default placement
6413 when reading old floats.
6415 * FloatList.C (FloatList): Change the default placement of figure
6416 and tables to "tbp".
6418 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6420 * MenuBackend.C: using std::max
6422 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6424 * MenuBackend.C (expandToc):
6425 (expandToc2): code moved from xforms menu frontend. It is now
6426 generic and TOCs are transparent to menu frontends.
6428 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6430 * toc.C (getTocList): protect against buf=0
6432 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6433 Menu as first parameter. Now, this calls itself recursively to
6434 expand a whole tree (this will be useful for TOC handling)
6435 (expandFloatInsert): remove 'wide' version of floats
6437 * MenuBackend.h (submenuname): returns the name of the submenu.
6438 (submenu): returns the submenu itself, provided it has been
6439 created by MenuBackend::expand
6441 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6443 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6444 insets which have noFontChange == true. (bug #172)
6446 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6448 * BufferView_pimpl.C: add connection objects and use them...
6451 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6453 * MenuBackend.C (expandLastfiles):
6456 (expandFloatListInsert):
6457 (expandFloatInsert):
6458 (expand): split expand in parts
6460 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6462 * lyx_gui.C: use lyx_gui::exit()
6464 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6466 * LyXAction.C: show the failing pseudo action
6468 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6470 * buffer.C (readFile): Run the lyxconvert script in order to read
6473 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6477 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6479 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6483 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6485 2002-07-22 Herbert Voss <voss@lyx.org>
6488 * lyxlength.[Ch]: add support for the vertical lengths
6490 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6492 * toc.[Ch]: std:: fixes
6494 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6496 * lyxrc.C: do not include lyx_main.h
6498 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6504 * BufferView2.C: include "lyxlex.h"
6507 * bufferparams.h: do not #include "lyxlex.h"
6509 * lyxtextclasslist.C (Add): remove method
6510 (classlist): renamed to classlist_
6512 * paragraph_pimpl.C:
6516 * bufferview_funcs.C:
6521 * toc.C (getTocList): use BufferParams::getLyXTextClass
6523 * toc.C (getTocList): use InsetFloat::addToToc
6525 * toc.[Ch]: new files, containing helper functions to handle table
6528 * lyxfunc.C (dispatch): no need to remove spaces around command
6530 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6531 first command of the sequence; it is not very clever, but I do not
6532 have a better idea, actually
6534 * LyXAction.C (LookupFunc): make sure to remove space at the
6535 beginning and end of the command
6537 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6539 * MenuBackend.C (getMenubar): new method: return the menubar of
6541 (read): treat differently reading of menu and menubar (in
6542 particular, the menubar has no name now)
6543 (Menu::menubar): remove
6545 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6548 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6550 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6551 a bibitem inset in a RTL paragraph.
6553 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6555 * paragraph_pimpl.C: constify
6557 * BufferView_pimpl.C:
6559 * lyxfunc.C: fix dispatch in a nicer way
6561 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6563 * lyxfunc.C (dispatch):
6564 * BufferView_pimpl.C:
6565 * BufferView_pimpl.h:
6567 * BufferView.h: rename Dispatch() to dispatch()
6569 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6571 * lyxlayout.C (Read): honor DependsOn tag
6573 * lyxlayout.[Ch] (depends_on): new method
6575 * version.C.in: update lyx_docversion
6577 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6579 * paragraph.C (validate): remove from here...
6580 * paragraph_pimpl.C (validate): ... and move here
6581 (isTextAt): make it const
6583 * buffer.C (getLists): ws cleanup
6585 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6587 * language.C (read): Use iso8859-1 encoding in latex_lang
6588 (this prevents LyX from crashing when using iso10646-1 encoding).
6590 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6592 * text2.C (toggleInset): if cursor is inside an inset, close the
6593 inset and leave cursor _after_ it
6595 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6597 * lyxfunc.C: move minibuffer completion handling out of here
6599 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6601 * BufferView_pimpl.C:
6602 * LaTeX.C: fix dispatch calls
6604 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6606 * text.C (drawChars): Fix Arabic text rendering.
6608 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6612 * lyxfunc.C: remove message-push/pop
6616 * lyxfunc.C: rationalise some code by removing verboseDispatch
6617 in favour of a bool argument to dispatch()
6619 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6621 * lyx_main.C (init): make sure to read symlinks as absolute paths
6623 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6626 * lyxfunc.C: no need for commandshortcut to be a member
6628 2002-07-15 André Pönitz <poenitz@gmx.net>
6630 * converter.C: add support for $$s (scripts from lib/scripts dir)
6631 * lyx_main.C: white space
6633 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6637 * lyxrc.C: remove second exit confirmation
6639 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6644 * BufferView_pimpl.h:
6645 * BufferView_pimpl.C:
6646 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6648 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6650 * MenuBackend.C (expand): add numeric shortcuts to document menu
6652 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6654 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6656 * lyxfont.C (setLyXFamily):
6663 * buffer.C (asciiParagraph): use ascii_lowercase
6665 2002-07-15 Mike Fabian <mfabian@suse.de>
6667 * lyxlex_pimpl.C (search_kw):
6668 * lyxlex.C (getLongString):
6669 * converter.h (operator<):
6670 * converter.C (operator<):
6671 * buffer.C (parseSingleLyXformat2Token):
6673 * ToolbarDefaults.C (read):
6674 * MenuBackend.C (checkShortcuts):
6676 * LColor.C (getFromGUIName):
6677 (getFromLyXName): use the compare_ascii_no_case instead of
6678 compare_no_case, because in turkish, 'i' is not the lowercase
6679 version of 'I', and thus turkish locale breaks parsing of tags.
6681 2002-07-16 Angus Leeming <leeming@lyx.org>
6683 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6684 now takes a Buffer const & argument.
6686 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6688 * BufferView.C (resize): check there's a buffer to resize
6690 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6692 * lyxfunc.C: remove dead code
6695 * lyxserver.C: use lyx_guii::set_read_callback
6697 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6699 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6700 an inset in a RTL paragraph.
6702 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6704 * lyxfunc.C: repaint after a font size update
6706 2002-07-15 André Pönitz <poenitz@gmx.net>
6708 * lyxlength.C: inBP should be able to return negative values
6710 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6712 * lyxfunc.C: use lyx_gui::update_fonts()
6714 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6716 * lyxfunc.C: use lyx_gui::update_color()
6718 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6724 * lyxrc.C: remove file->new asks for name option, and let
6725 buffer-new take an argument
6727 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6729 * BufferView_pimpl.C: remove unneeded extra repaint()
6731 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6733 * LyXAction.C: allow command-sequence with NoBuffer
6735 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6737 2002-07-10 Angus Leeming <leeming@lyx.org>
6739 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6741 2002-07-09 Angus Leeming <leeming@lyx.org>
6743 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6745 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6747 * lengthcommon.h: whitespace
6749 * lyxfunc.C: update scrollbar after goto paragraph
6751 * lyxtext.h: factor out page break drawing, and fix it so
6752 page break/added space paints as selected nicely
6754 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6756 * BufferView_pimpl.C: add FIXMEs, clean up a little
6758 2002-07-09 André Pönitz <poenitz@gmx.net>
6760 * lyxfont.[Ch]: support for wasy symbols
6762 2002-07-08 André Pönitz <poenitz@gmx.net>
6764 * BufferView_pimpl.C: apply John's patch for #93.
6766 2002-07-05 Angus Leeming <leeming@lyx.org>
6768 * BufferView_pimpl.C (buffer): generate previews if desired.
6770 * LColor.h: add "preview" to the color enum.
6772 * LColor.C (LColor): add a corresponding entry to the items array.
6774 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6777 2002-07-05 Angus Leeming <leeming@lyx.org>
6779 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6780 The body of the code is now in the method that is passed an ostream &
6781 rather than a file name.
6782 Pass an additional only_preamble parameter, useful for the forthcoming
6785 2002-07-03 André Pönitz <poenitz@gmx.net>
6787 * lyxfunc.C: simplify getStatus() a bit for math stuff
6789 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6791 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6793 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6795 * text.C (changeRegionCase): do not change case of all the
6796 document when region ends at paragraph end (bug #461)
6798 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6800 * paragraph.C (startTeXParParams):
6801 (endTeXParParams): add \protect when necessary
6803 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6805 * BufferView_pimpl.C (workAreaExpose): remove warning
6807 2002-06-27 Angus Leeming <leeming@lyx.org>
6809 * Makefile.am: add lyxlayout_ptr_fwd.h.
6811 2002-06-26 André Pönitz <poenitz@gmx.net>
6813 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6815 2002-06-25 Angus Leeming <leeming@lyx.org>
6817 * lyxfunc.C (dispatch): Comment out the call to
6818 grfx::GCache::changeDisplay. The method no longer exists now that the
6819 pixmap generation part of the graphics loader has been moved into
6822 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6824 * text2.C: layout as layout
6826 * text.C: layout as layout
6828 * tabular.C (OldFormatRead): layout as layout
6830 * paragraph_pimpl.C (TeXDeeper): layout as layout
6831 (realizeFont): layout as layout
6833 * paragraph.C (writeFile): layout as layout
6834 (validate): layout as layout
6835 (getFont): layout as layout
6836 (getLabelFont): layout as layout
6837 (getLayoutFont): layout as layout
6838 (breakParagraph): layout as layout
6839 (stripLeadingSpaces): layout as layout
6840 (getEndLabel): layout as layout
6841 (getMaxDepthAfter): layout as layout
6842 (applyLayout): layout as layout
6843 (TeXOnePar): layout as layout
6844 (simpleTeXOnePar): layout as layout
6845 (TeXEnvironment): layout as layout
6846 (layout): layout as layout
6847 (layout): layout as layout
6849 * lyxtextclass.C (compare_name): new functor to work with
6850 shared_ptr, layout as layout
6851 (Read): layout as layout
6852 (hasLayout): layout as layout
6853 (operator): layout as layout
6854 (delete_layout): layout as layout
6855 (defaultLayout): layout as layout
6857 * lyxlayout_ptr_fwd.h: new file
6859 * lyxlayout.C (Read): layout as layout
6861 * lyx_cb.C (MenuInsertLabel): layout as layout
6863 * bufferlist.C (newFile): layout as layout
6865 * buffer.C (readLyXformat2): layout as layout
6866 (parseSingleLyXformat2Token): layout as layout
6867 (insertStringAsLines): layout as layout
6868 (asciiParagraph): layout as layout
6869 (latexParagraphs): layout as layout
6870 (makeLinuxDocFile): layout as layout
6871 (simpleLinuxDocOnePar): layout as layout
6872 (makeDocBookFile): layout as layout
6873 (simpleDocBookOnePar): layout as layout
6874 (getLists): layout as layout
6876 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6878 * CutAndPaste.C (cutSelection): layout as layout
6879 (pasteSelection): layout as layout
6880 (SwitchLayoutsBetweenClasses): layout as layout
6882 * BufferView_pimpl.C (Dispatch): layout as layout
6883 (smartQuote): layout as layout
6885 * BufferView2.C (unlockInset): layout as layout
6887 2002-06-24 André Pönitz <poenitz@gmx.net>
6889 * lyxfunc.C: fix #487
6891 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6895 * lyxfunc.C: remove display_shortcuts, show_banner
6897 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6899 * Buffer_pimpl.C: oops, update on resize
6901 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6908 * BufferView.C: use repaint()
6910 * BufferView_pimpl.h:
6911 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6912 as it's a clearer description. Remove superfluous
6915 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6917 * text.C: fix bug 488. Not ideal, but getting
6918 getWord() to work properly for the insets that
6919 matter is more difficult ...
6921 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6923 * BufferView_pimpl.C:
6926 * lyxfunc.C: remove the six million index lyxfuncs to just
6927 one, and DTRT (bug 458)
6929 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6933 * BufferView_pimpl.h:
6934 * BufferView_pimpl.C: clean up resize() stuff,
6935 and unnecessary updateScreen()s
6937 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6941 * BufferView_pimpl.h:
6942 * BufferView_pimpl.C:
6945 * minibuffer.C: remove focus management of workarea,
6946 not needed. Use screen's greyOut()
6948 2002-06-17 Herbert Voss <voss@lyx.org>
6950 * converter.C: (convert) do not post a message, when converting
6951 fails, let the calling function decide what to do in this case
6953 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6955 * lyxfunc.C: tidy up a little
6957 2002-06-16 <alstrup@diku.dk>
6959 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6960 Got rid of FORMS_H_LOCATION include. Now we are
6963 2002-06-15 LyX Development team <lyx@rilke>
6965 * buffer.[Ch] (sgmlOpenTag):
6966 (sgmlCloseTag): Added support for avoiding pernicious mixed
6967 content. Return number of lines written.
6970 (makeDocBookFile): Fixed calls to sgml*Tag.
6971 Simple white space clean.
6973 (simpleDocBookOnePar): Simple white space clean.
6975 * tabular.[Ch] (docBook): Renamed to docbook and got another
6976 argument to related with the pernicious mixed content.
6978 (docbookRow): Fixed calls for docbook inset method.
6980 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6982 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6983 so it's X11 independent.
6987 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6989 2002-06-15 Lyx Development team <lyx@electronia>
6991 * intl.h: Renamed getTrans to getTransManager.
6993 2002-06-14 Angus Leeming <leeming@lyx.org>
6995 * Makefile.am: nuke forgotten stl_string_fwd.h.
6997 2002-06-12 Angus Leeming <leeming@lyx.org>
6999 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7001 2002-06-13 Angus Leeming <leeming@lyx.org>
7004 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7006 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7008 * kbmap.C (getiso): add support for cyrillic and greek
7010 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7014 * BufferView_pimpl.h:
7015 * BufferView_pimpl.C: move bogus scrolling logic
7018 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7021 * BufferView_pimpl.C: view->resize() change
7023 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7025 * BufferView_pimpl.C: topCursorVisible
7028 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7032 * lyx_gui.C: move to frontends/
7036 * lyx_main.C: changes from above
7038 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7045 * lyx_main.C: minor tidy
7047 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7049 * BufferView_pimpl.h:
7050 * BufferView_pimpl.C:
7052 * BufferView.C: make painter() const,
7055 * BufferView2.C: use screen() accessor
7058 * lyx_main.C: some minor cleanup
7060 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7062 * BufferView_pimpl.h:
7063 * BufferView_pimpl.C: remove enter/leaveView,
7066 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7071 * BufferView_pimpl.h:
7072 * BufferView_pimpl.C: only construct screen once,
7075 * lyxrc.C: remove pointless comment
7077 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7080 * BufferView.C: remove active() and belowMouse()
7082 * BufferView_pimpl.h:
7083 * BufferView_pimpl.C: use workarea() not workarea_,
7084 and make it use a scoped_ptr instead
7086 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7088 * lyx_gui.C: add debug message on BadWindow
7090 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7092 * sp_spell.C: fdopen is not part of the C++ standard.
7094 * paragraph.C (InsetIterator): use >= instead of ==
7096 2002-06-07 Angus Leeming <leeming@lyx.org>
7098 Fixes needed to compile with Compaq cxx 6.5.
7099 * BufferView_pimpl.C:
7106 * lyxtextclasslist.C:
7111 all c-library variables have been moved into namespace std. Wrap
7112 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7117 Add a using std::abs declaration.
7119 * kbmap.h (modifier_pair):
7120 * paragraph.h (InsetTable, InsetList):
7121 * lyxfont.h (FontBits):
7122 type definition made public.
7124 * bufferlist.C (emergencyWriteAll): the compiler complains that
7125 there is more than one possible lyx::class_fun template to choose from.
7126 I re-named the void specialisation as lyx::void_class_fun.
7128 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7130 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7131 the compiler is is unable to find tostr in write_attribute.
7133 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7135 * buffer.C (sgmlError): hide #warning
7137 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7139 * xtl/*: get rid of xtl, which is not in use anyway
7141 * LyXAction.C (init):
7142 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7143 were unimplemented xtl experimentation
7145 2002-06-04 André Pönitz <poenitz@gmx.net>
7147 * lyxfunc.C: disable array operation on simple formulae
7149 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7151 * converter.C: constify a bit
7153 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7155 * lyx_gui.C: check xforms version correctly
7157 2002-04-30 Herbert Voss <voss@lyx.org>
7159 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7162 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7164 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7165 attempt to register it with a VCS)
7167 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7169 * lyx_main.C (init): honor variables LYX_DIR_13x and
7172 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7176 * lyx_main.C: fix a crash on bad command line,
7177 and give a useful exit status on error
7179 * lyxfunc.C (doImport): allow -i lyx to work
7181 2002-03-30 André Pönitz <poenitz@gmx.net>
7183 * lyxfunc.C: mathed font changes
7185 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7200 * trans_mgr.h: srcdocs, and some minor cleanups
7202 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7204 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7205 call getFont all the time)
7207 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7209 * switch from SigC signals to boost::signals
7211 2002-05-29 André Pönitz <poenitz@gmx.net>
7213 * paragraph_pimpl.C (getChar): don't call size() too often...
7215 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7217 * paragraph_pimpl.C (insertChar): do not try to update tables when
7218 appending (pos == size())
7220 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7221 in order to reduce drastically the number of comparisons needed to
7222 parse a large document
7224 2002-05-29 André Pönitz <poenitz@gmx.net>
7230 * textclasslist.[Ch]:
7231 * sp_ispell.h: whitespace change
7233 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7235 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7236 lyxaction directly now.
7238 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7242 * lyxvc.C: remove unused headers
7244 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7251 * undo_funcs.C: some cleanups. Use shared_ptr
7252 and a template for the undo stacks.
7254 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7256 * BufferView_pimpl.h:
7257 * BufferView_pimpl.C:
7264 * text2.C: use key_state/mouse_state
7266 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7268 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7271 * chset.C: change include order
7272 (loadFile): use boost regex and get rid of LRegex and LSubstring
7274 * Makefile.am (BOOST_LIBS): new variable
7277 * LaTeX.C: change include order.
7278 (scanAuxFile): use boost regex and get rid of LRegex and
7282 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7287 * FontInfo.C: moved to frontends/xforms/
7290 * FontLoader.C: moved into frontends for GUIIzation
7295 * lyxfunc.C: changes from above
7297 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7299 * LColor.C: remove spurious X include
7301 * BufferView_pimpl.C:
7306 * text2.C: move font metrics to frontends/
7308 2002-05-24 Juergen Vigna <jug@sad.it>
7310 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7311 setting the undo_cursor.
7313 * ParagraphParameters.h: include local includes first.
7315 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7317 * BufferView_pimpl.C:
7318 * BufferView_pimpl.h:
7322 * screen.C: move WorkArea into frontends/
7328 * BufferView2.C: move LyXScreen into frontends/
7332 * lyx_gui.C: move lyxlookup into frontends/xforms/
7334 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7337 * BufferView_pimpl.C:
7347 * bufferview_funcs.C:
7360 * vc-backend.C: move LyX/XFormsView into frontends/
7362 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7374 * text2.C: move Painter to frontends/
7376 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7378 * buffer.C: comment out some some code that depend upon lyx_format
7381 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7382 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7384 * buffer.h (NO_COMPABILITY): turn off compability
7386 * ColorHandler.C: include scoped_array.hpp
7388 * font.C: Use more specific smart_ptr header.
7391 * ShareContainer.h: ditto
7395 * BufferView_pimpl.h: ditto
7396 * ColorHandler.h: ditto
7398 * kbmap.C (defkey): change call to shared_ptr::reset
7400 2002-05-21 Juergen Vigna <jug@sad.it>
7402 * buffer.C (insertErtContents): fix to insert ert asis if it is
7403 non empty. Skip it completely if it contains only whitespaces.
7405 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7407 * BufferView_pimpl.C:
7408 * BufferView2.C: clear selection on paste (bug 393)
7410 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7412 * DepTable.C: include ctime
7414 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7416 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7418 2002-05-14 Juergen Vigna <jug@sad.it>
7420 * text.C (breakParagraph): fixed function to honor the keepempty
7421 layout in the right maner and also to permit the right breaking
7422 algorithm on empty or non empyt keepempty paragraphs.
7424 * paragraph.C (breakParagraph): we have to check also if the par
7425 is really empty (!size()) for isempty otherwise we do the wrong
7428 2002-05-10 Juergen Vigna <jug@sad.it>
7430 * buffer.[Ch] : The following are only changes to the ert
7431 compatibility read reading old LaTeX layout and font stuff and
7432 convert it to ERTInsets.
7434 * buffer.h: added isErtInset().
7436 * buffer.C (struct ErtComp): add a fromlayout bool to check
7437 if we're inside a LaTeX layout.
7438 (isErtInset): new helper function.
7439 (insertErtContents): look for other ert insets before this one
7440 and insert the contents there, so that we don't have subsequent
7441 ERT insets with nothing between them. This way we create only one
7442 inset with multiple paragraphs. Also check if we don't insert only
7443 spaces ' ' as they are ignored anyway afterwards in the .tex file
7444 so if we have only spaces we will ignore this latex part in the
7446 (parseSingleLyXformat2Token \\layout): better compatibility when
7447 reading layout-latex stuff.
7448 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7450 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7451 stuff after reading the inset only get the information back from
7454 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7456 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7458 * LaTeXFeatures.C (getBabelOptions): New method.
7460 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7462 * BufferView_pimpl.C (Dispatch): work around missing argument for
7465 2002-05-08 Juergen Vigna <jug@sad.it>
7467 * text.C (leftMargin): handle paragraph leftindent.
7469 * paragraph.C (writeFile): write the new \\leftindent tag.
7470 (validate): handle leftindent code.
7471 (TeXEnvironment): handle paragraphleftindent code again.
7473 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7475 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7476 for paragrap_extra indent code and new token \\leftindent.
7477 (latexParagraphs): handle the leftindent as environment.
7479 * ParameterStruct.h: added leftindent support.
7481 * ParagraphParameters.C (leftIndent): added support functions for
7482 the paragraph left indent.
7484 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7487 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7489 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7492 * text.C (computeBidiTables): No bidi in insetERT.
7494 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7497 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7499 * version.C.in: pre 5
7501 2002-05-02 José Matos <jamatos@fep.up.pt>
7502 * buffer.C (makeDocBookFile): white space changes, add newline to
7504 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7506 * tabular.C (docBook): fix typo.
7508 2002-05-03 Juergen Vigna <jug@sad.it>
7510 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7511 change in LyXText as we can not be sure it was not freed.
7512 (drawOneRow): remove unused code.
7514 * text.C (drawInset): redo the calculation of the need_break_row as
7515 it could have a row which was already freed.
7516 (draw): look at the return value of drawInset and return false if
7517 it also returned false.
7518 (paintRowText): look at the return value of draw and return false if
7519 it also returned false.
7521 * lyxtext.h: added bool return type to drawInset() and draw() so that
7522 if we have a change in the row so that the rowbreak has to be redone
7523 we abort drawing as it will be called again.
7525 2002-05-02 Juergen Vigna <jug@sad.it>
7527 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7528 a change in the maintext also if we're inside an inset.
7529 (Dispatch): set the cursor again after a break line and after the
7530 screen has been updated as it could be we're in a different row.
7532 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7533 to set the cursor behind the pargraph with > size().
7534 (setCursor): check also for the same paragraph when checking where
7535 to put the cursor if we have a NFR inset.
7537 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7538 parts of layout read further up as it still was in the wrong
7541 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7543 * screen.C (drawFromTo): change sine fullRebreak always return
7546 * buffer.C (parseSingleLyXformat2Token): reindent some
7548 * BufferView_pimpl.C (update): change since fullRebreak always
7550 (Dispatch): git rid of the last hardcoded "Standard"s.
7552 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7554 * text2.[Ch] (fullRebreak): make it return void now that we always
7557 2002-04-30 Juergen Vigna <jug@sad.it>
7559 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7560 ert compatibility check for "latex" layout.
7562 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7564 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7565 minipages: use col% instead of p%, and also use the current font.
7566 (makeLaTeXFile): Fix use babel condition.
7567 (parseSingleLyXformat2Token): Correct font when reading old floats.
7569 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7571 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7572 inserting list of floats.
7574 2002-04-25 Herbert Voss <voss@lyx.org>
7576 * MenuBackend.C (expand): don't add the graphics extensions to the
7579 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7581 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7582 non-existing layout, do not complain if it was the default layout
7583 of the original class (bug #342)
7585 2002-04-24 Juergen Vigna <jug@sad.it>
7587 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7588 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7590 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7592 * buffer.C (getBibkeyList): If using \bibliography, return the
7593 option field with the reference itself. Enables us to provide natbib
7594 support when using \bibliography.
7596 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7598 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7600 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7601 natbib is provided by the LaTeX class.
7603 2002-04-23 Juergen Vigna <jug@sad.it>
7605 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7608 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7610 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7612 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7614 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7615 ensuremath around textordmasculine, textordfeminine and
7618 2002-04-19 Juergen Vigna <jug@sad.it>
7620 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7621 reinitializing the buffer otherwise row-dimensions may be wrong.
7622 (update): reset also the selection cursors if they do exits otherwise
7623 their x/y positions may be wrong.
7625 * text2.C (cursorDown): don't enter the inset if we came from a row
7626 above and are one row over the inset.
7628 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7629 really leaving an inset.
7631 2002-04-18 Juergen Vigna <jug@sad.it>
7633 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7634 of the selected paragraph does not have the selected layout also if
7637 * text2.C (setLayout): fixed bug which did not change last selected
7640 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7641 changed the read and substituted \\end_float with \\end_inset!
7643 * BufferView_pimpl.C (cursorPrevious):
7644 (cursorNext): fixed to make it work with rows heigher than the work
7645 area without moving the cursor only the draw of the row.
7646 (workAreaMotionNotify): fix jumping over high rows.
7648 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7650 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7653 2002-04-16 Juergen Vigna <jug@sad.it>
7655 * text2.C (setCursor): set also the irow().
7656 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7658 (cursorDown): support for locking an inset if the x_fix value goes
7659 inside it. That way I can transverse insets too with cursor up/down.
7661 * lyxrow.h: added irow helper function same as other (i) functions.
7663 * BufferView_pimpl.C (cursorPrevious):
7664 (cursorNext): fixed for insets!
7666 2002-04-15 Juergen Vigna <jug@sad.it>
7668 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7669 position otherwise it is wrong in some cases.
7671 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7672 inside the inset before the call.
7674 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7676 * buffer.[Ch] (getBibkeyList): make it const.
7678 2002-04-12 Juergen Vigna <jug@sad.it>
7680 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7682 * text2.C (getCursorX): new helper function
7683 (setCursor): compute also ix_
7684 (setCursorFromCoordinates): set also ix.
7686 * lyxcursor.h: added ix_ and helper functions.
7688 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7690 * buffer.C (insertStringAsLines): dont break paragraph if the this
7691 paragraph is inside an inset which does not permit it!
7693 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7694 also with no chars on this paragraph.
7695 (paintRowText): only paint stuff if it's inside the workarea!
7697 * paragraph.C (breakParagraph): honor keepempty flag and break the
7698 paragraph always below not above.
7700 * BufferView2.C (unlockInset): update the paragraph layout on inset
7701 unlock as we changed paragraph in such a case.
7703 * lyxfind.C (LyXFind): clear the former selection if not found!
7705 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7706 again called in insertChar().
7708 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7709 an inset which uses the whole row!
7710 (rightMargin): ditto.
7711 (insertChar): force a rebreak if we inserted an inset!
7713 2002-03-28 Herbert Voss <voss@lyx.org>
7715 * lyxlength.[Ch]: add inBP() to get the right PS-point
7716 units (BigPoint). With inPixels we have rounding errors
7718 2002-04-11 Juergen Vigna <jug@sad.it>
7720 * text2.C (setCursorFromCoordinates): set iy to the right value.
7721 (setCursor): add check if row->previous exists!
7723 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7724 an old float_type as this was the case in the old code!
7726 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7728 * BufferView2.C (showLockedInsetCursor): use iy
7729 (fitLockedInsetCursor): ditto
7731 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7732 locked insets as there we have the right value now.
7734 * lyxcursor.C: added iy_ variable and iy functions to set to the
7735 baseline of cursor-y of the locked inset.
7737 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7738 (setCursor): fixed for insets which need a full row.
7740 * text.C (rowLastPrintable): don't ignore the last space when before
7741 an inset which needs a full row.
7742 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7743 as last character of a row when before a inset which needs a full row.
7745 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7747 * version.C.in: update date
7749 * text2.C (fullRebreak): try to always return true and see what
7752 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7754 * MenuBackend.C (expand): use Floating::listName
7756 * FloatList.C (FloatList): add listName argument to the built-in
7759 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7760 text associated with the float.
7762 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7764 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7766 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7768 * ShareContainer.h: add a couple of missing typenames.
7770 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7772 * lyxrc.C (getDescription): use _() correctly rather than N_().
7774 2002-03-28 Herbert Voss <voss@lyx.org>
7776 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7777 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7779 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7781 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7782 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7784 2002-03-29 Juergen Vigna <jug@sad.it>
7786 * lyxfunc.C (dispatch): add a missing fitCursor call.
7788 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7789 it was scrolled by a cursor move, so return the bool status.
7791 * BufferView.C (fitCursor): return the bool flag also to the outside
7792 world as this is needed.
7794 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7796 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7797 call the edit() as it is not needed (and wrong) IMO.
7798 (workAreaButtonPress): set the screen_first variable before evt.
7799 unlock the inset as this may change screen_first and then we have
7800 a wrong y position for the click!
7802 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7804 * MenuBackend.C (expand): another translation that I missed
7806 2002-03-28 Juergen Vigna <jug@sad.it>
7808 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7810 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7812 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7814 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7816 * MenuBackend.C (expand): fix export/view/update when there is no
7819 2002-03-27 Herbert Voss <voss@lyx.org>
7821 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7824 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7826 * bufferview_funcs.C (currentState): only show paragraph number
7827 for is DEVEL_VERSION is set.
7829 * lyxfunc.C (dispatch): put warning in INFO channel
7831 * MenuBackend.C (expand): translate the name of floats
7833 * FloatList.C (FloatList): mark the float names for translation
7835 * converter.C (convert): use LibScriptSearch
7837 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7839 * MenuBackend.C (defaults): fix default menu (we might as well get
7842 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7844 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7847 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7849 * lyxvc.C: reorder includes.
7851 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7853 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7856 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7858 * CutAndPaste.C: change layouts earlier on paste
7859 to avoid crashing when calling getFont()
7861 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7863 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7866 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7868 * WorkArea.C: remove 'Pending' debug message.
7870 * most files: ws cleanup
7872 * buffer.[Ch]: ws changes
7874 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7876 2002-03-21 Juergen Vigna <jug@sad.it>
7878 * tabular.C (SetMultiColumn): collapse also the contents of the
7879 cells and set the last border right. Added a Buffer const * param.
7881 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7883 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7886 2002-03-19 Juergen Vigna <jug@sad.it>
7888 * text2.C (clearSelection): reset also xsel_cache.
7890 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7891 where it needs to be called (John tells us to do so too :)
7892 (selectionLost): reset sel_cache.
7894 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7896 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7898 * text2.C (setCursorIntern): put debuging code in INSETS channel
7900 2002-03-19 André Pönitz <poenitz@gmx.net>
7902 * lyxfunc.C: tiny whitespace change
7904 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7906 * ToolbarDefaults.C (init):
7907 * LyXAction.C (init):
7909 * BufferView_pimpl.C (Dispatch):
7910 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7912 2002-03-19 Allan Rae <rae@lyx.org>
7914 * exporter.C (Export): removeAutoInsets before doing anything else.
7915 While I've just introduced a dependency on BufferView this really is
7916 the best place to clean the buffer otherwise you need to cleanup in
7917 a dozen places before calling export or cleanup in a dozen functions
7920 * converter.C (runLaTeX):
7921 (scanLog): Better handling of removeAutoInsets and screen updates.
7923 * lyxfunc.C (dispatch): small whitespace changes
7925 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7927 * WorkArea.C (C_WorkAreaEvent): return a value.
7928 (event_cb): return 1 if we handled the event, 0 otherwise.
7930 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7932 2002-03-18 Juergen Vigna <jug@sad.it>
7934 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7935 (GetAdditionalWidth): ditto.
7939 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7940 inset if we're there actually (probably not used right now but this
7941 is the direction to go for unifying code).
7942 (paste): disable code to clear the selection.
7944 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7945 inside an InsetText and move the check further up as it is in the
7948 * text2.C (pasteSelection): set a selection over the pasted text.
7950 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7952 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7953 and libgraphics to build on Cygwin.
7955 2002-03-15 Juergen Vigna <jug@sad.it>
7957 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7958 inserting an Inset into the paragraph. I know this is not the best
7959 fix but we already use current_view in CutAndPaste so we will remove
7960 all of it's using at the same time.
7962 * buffer.C (sgmlError): deactivated function till it is rewritten in
7963 the right mode, now it can create problems.
7965 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7966 before accessing it.
7968 2002-03-14 Juergen Vigna <jug@sad.it>
7970 * undo_funcs.C (textHandleUndo): do the right thing when updating
7971 the inset after the undo/redo.
7973 * text2.C (setCursor): just some testcode for #44 not ready yet.
7975 * undo_funcs.C (textHandleUndo): set the next() and previous()
7976 pointers of the paragraph to 0 before deleting otherwise we have
7977 problems with the Paragraph::[destructor].
7979 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7980 on a paragraph insertion.
7982 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7984 * buffer.C (asciiParagraph): use += operator for char append to
7987 * paragraph.C (getFontSettings): compare >= not just >
7988 (highestFontInRange): ditto
7991 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7993 * paragraph.C: change several algorithm to be more appripriate for
7994 the problem domain. This is lookip in FontList and in the InsetList.
7996 2002-03-13 André Pönitz <poenitz@gmx.net>
7999 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8001 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8006 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8008 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8010 * Painter.C (display): anon helper function, adjust code for this
8012 (pixmap): remove function.
8014 * Painter.h: remove private display variable.
8016 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8018 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8020 * WorkArea.[Ch]: remove figinset_canvas cruft.
8022 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8024 * lyxtextclass.C (operator): add one item cache optimization.
8026 * bufferlist.h: doxy changes
8028 * bufferlist.C: ws changes
8030 * DepTable.[Ch] (ext_exist): place const in the right spot.
8032 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8034 (workAreaExpose): call resizeInsets when the with BufferView changes.
8035 (Dispatch): adjust for protectedBlank removal
8036 (specialChar): call updateInset if the insert went ok.
8038 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8039 specialChar instead.
8041 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8043 * BufferView.h: doxy change
8045 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8047 * lyxtextclass.C (operator[]): remove non-const version
8048 (defaultLayout): remove non-const version
8050 2002-03-12 Juergen Vigna <jug@sad.it>
8052 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8053 did resize the LyXText too.
8055 * buffer.C (readLyXformat2): set layout information on newly allocated
8058 * tabular.C (OldFormatRead): set layout information on the paragraph.
8060 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8062 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8064 2002-03-11 Juergen Vigna <jug@sad.it>
8066 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8068 (resizeCurrentBuffer): force also the insets to resize themselfes.
8069 (moveCursorUpdate): fixed up for InsetText.
8071 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8074 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8075 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8076 value of Dialogs::tooltipsEnabled().
8077 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8079 2002-03-08 Juergen Vigna <jug@sad.it>
8081 * BufferView_pimpl.C (updateInset): update inset inside inset also
8082 if it isn't inside theLockingInset().
8084 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8086 * buffer.C (asciiParagraph): redo some of the word and line length
8088 (getLists): look for Caption instead of caption.
8090 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8092 * buffer.C (Buffer): initialize niceFile to true
8095 (makeDocBookFile): make sure niceFile is true on exit
8097 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8099 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8101 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8103 * LyXSendto.C: remove.
8104 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8105 * lyx_gui.C: remove now-redundant comment.
8106 * ColorHandler.h: remove forward declaration of class WorkArea.
8107 * lyxfunc.C: remove #include "WorkArea.h".
8109 2002-03-07 Juergen Vigna <jug@sad.it>
8111 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8112 got moved away with the DEPM and also set the inset_owner always
8113 right which before could have been omitted.
8115 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8117 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8118 wanted layout is not found.
8120 2002-03-07 Juergen Vigna <jug@sad.it>
8122 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8124 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8126 * paragraph.C (breakParagraph): use default layout not layout of
8128 (Paragraph): clear ParagraphParameters.
8130 2002-03-06 Juergen Vigna <jug@sad.it>
8132 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8133 otherwise it would not be a valid lenght. Fixed a special case in
8134 the minipage compatibility read where we end the document with a
8137 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8138 was set as it could be 0 for InsetTexts first entry.
8140 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8142 * paragraph.C (writeFile): if layout is empty write out
8143 defaultLayoutName().
8145 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8146 file without named layout we set layout to defaultLayoutName().
8148 2002-03-06 Juergen Vigna <jug@sad.it>
8150 * CutAndPaste.C (copySelection): set layout for new paragraph.
8152 * text.C (prepareToPrint): leave ERT inset left aligned
8153 (leftMargin): don't indent paragraphs inside ERT insets
8155 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8157 * paragraph.C (breakParagraph): dont call clear do the work manually
8159 * paragraph.[Ch] (clear): remove function
8161 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8163 * paragraph.C (Paragraph): dont call clear, the work has already
8166 * lyxtextclass.C (operator): assert if n is empty
8168 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8169 work manually instead.
8171 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8173 * BufferView_pimpl.C: protect selectionLost against text == 0
8175 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8177 * text.C (breakParagraph): fix a setting layout to '0' problem.
8179 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8181 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8182 final location of file, for the included files, and graphics.
8184 2002-03-05 Juergen Vigna <jug@sad.it>
8186 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8188 2002-03-04 Juergen Vigna <jug@sad.it>
8190 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8192 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8193 last column of multicolumn cells.
8194 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8196 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8198 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8199 file if it doesn't go to a temporary file.
8201 * buffer.C (sgmlOpenTag):
8202 (sgmlCloseTag): remove extra newline insertion.
8204 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8206 * text.C (getRowNearY): comment out debug msg
8208 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8210 * text2.C: first -> first_y
8212 * text.C (getRowNearY): add some attemts at a possible
8213 optimization, not working.
8215 * tabular.[Ch]: add BufferParams to several function so that newly
8216 created paragraph can be initialized to he default layotu for the
8219 * tabular-old.C (ReadOld): add buf->params to call of Init
8221 * screen.C: rename text->first to text->first_y
8223 * paragraph.C (breakParagraph): always set layout in the broken
8226 * lyxtextclass.C (Read): remove lowercase
8229 (delete_layout): ditto
8231 * lyxtext.h: rename first -> first_y
8233 * lyxlayout.C (Read): remove lowercase
8236 (obsoleted_by): ditto
8238 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8240 * buffer.C (insertErtContents): add params are to InsetERT
8241 (parseSingleLyXformat2Token): add code to check if a paragraphs
8242 layout really exist.
8243 (parseSingleLyXformat2Token): add params to several inset
8245 (asciiParagraph): remove lowercase, do the layout comparisons with
8248 * BufferView_pimpl.C (cursorNext): first -> first_y
8249 (resizeCurrentBuffer): first -> first_y
8250 (updateScrollbar): first -> first_y
8251 (scrollCB): first -> first_y
8252 (workAreaMotionNotify): first -> first_y
8253 (workAreaButtonPress): first -> first_y
8254 (checkInsetHit): first -> first_y
8255 (cursorPrevious): first -> first_y
8256 (cursorNext): first -> first_y
8257 (Dispatch): add buffer_->params to severl inset contructors
8259 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8261 * lyxlayout.C (Read): remove some debug info that I forgot.
8263 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8264 clean up the code slightly.
8265 (makeLinuxDocFile): ditto
8266 (makeDocBookFile): ditto
8268 * text2.C: layout as string
8270 * text.C: layout as string
8272 * paragraph_pimpl.C: layout as string
8274 * paragraph.[Ch]: layout as string
8276 * lyxtextclasslist.[Ch]: layout as string
8278 * lyxtextclass.[Ch]: layout as string
8280 * lyxtext.h: layout as string
8282 * lyxlayout.[Ch]: layout as string
8284 * lyx_cb.C: layout as string
8286 * bufferview_funcs.C: layout as string
8288 * bufferparams.C: layout as string
8290 * buffer.C: layout as string
8292 * LyXView.[Ch]: layout as string
8294 * LaTeXFeatures.[Ch]: layout as string
8296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8298 * BufferView_pimpl.C: change current_layout to string, remove
8303 (workAreaButtonRelease): layout as string
8305 * BufferView2.C (unlockInset): adjust
8307 * vspace.C (asLatexCommand): use an explict temp variable.
8309 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8311 * Makefile.am: use FRONTEND_*
8313 2002-03-01 Juergen Vigna <jug@sad.it>
8315 * tabular.C (SetWidthOfMulticolCell): changed to something better
8316 I hope but still work in progress.
8317 (recalculateMulticolumnsOfColumn): renamed function from
8318 recalculateMulticolCells as it is more appropriate now.
8319 (SetWidthOfCell): calculate multicols better.
8321 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8323 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8325 * lyxfunc.C (processKeySym): print sequence also if it is
8326 `deleted' (complete)
8328 * kbsequence.C (print): print sequence even if it is deleted
8329 (complete would be a better word, actually).
8331 * lyxfunc.C (dispatch): print complete options after a prefix key
8333 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8335 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8337 * text2.C (setCharFont): eliminate setCharFont code duplication.
8339 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8341 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8342 LFUN_TABULAR_FEATURE (bug #177)
8344 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8346 * Makefile.am: remove figure.h
8348 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8350 * Bufferview_pimpl.C:
8362 * text2.C: remove #include "lyx_gui_misc.h".
8364 * LaTeX.C: added #include <cstdio>
8366 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8368 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8369 that the paragraph following this one can have.
8371 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8373 * vspace.C (asLatexCommand): fix bogus gcc warning
8375 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8377 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8379 * text2.C (setLayout): get rid of redundant code
8381 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8383 * text2.C (incDepth): make sure depth cannot be increased beyond
8386 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8388 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8389 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8391 * PainterBase.h (image):
8392 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8395 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8399 * BufferView_pimpl.C:
8400 * BufferView_pimpl.h:
8420 * sp_spell.C: remove fig inset, and the crap house of
8421 cards that follows it
8423 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8429 * nt_defines.h: move .h into support/
8431 * vms_defines.h: remove
8433 * WorkArea.C: add space in debug output
8437 * buffer.C: add WITH_WARNINGS
8441 * bufferlist.C: s/retrive/retrieve/, add docs
8452 * lyxgui.C: add ID to X error handler
8454 * lyxtestclass.c: fix typo
8456 2002-02-26 Juergen Vigna <jug@sad.it>
8458 * tabular_funcs.C (write_attribute): changed so that some default
8459 attributes are not written at all.
8460 (getTokenValue): set default values before trying to read the
8461 value so we have the return value always set as default if we don't
8462 find the token we search for.
8464 * tabular.C (Write): write bools as bools not as strings!
8466 2002-02-22 Juergen Vigna <jug@sad.it>
8468 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8469 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8471 * text.C (leftMargin): don't add an indent for paragraphs inside
8472 tabular cells (fix #208).
8474 2002-02-21 José Matos <jamatos@fep.up.pt>
8476 * tabular.C (docBook): fixed support for long tables.
8478 2002-02-20 Juergen Vigna <jug@sad.it>
8480 * text2.C (getFont): get the drawing font of the Inset if this
8481 paragraph is inside an inset (only important for InsetERT for now).
8483 * buffer.C (insertErtContents): use new lanugage params in ERT
8486 * CutAndPaste.C: commenting out seemingly uneeded code.
8488 2002-02-19 Allan Rae <rae@lyx.org>
8490 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8491 Iterators might be simple to use but they also get invalidated.
8492 (removeAutoInsets): renamed saved cursor tracking variables and added
8493 some comments to clarify what everything does.
8495 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8502 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8503 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8506 * vc-backend.h: remove #include "support/syscall.h"
8510 * converter.C: rearrange #includes in Lars' approved fashion.
8512 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8513 forward declare class Timeout in the header file.
8515 * XFormsView.C: changes due to the above.
8517 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8520 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8521 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8523 2002-02-18 José Matos <jamatos@fep.up.pt>
8525 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8528 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8530 * a lot of small ws changes
8531 * add a lot of using std::XXX
8532 * use std construcs some places where approp.
8533 * use some exisint stuff from lyxfunctional where approp.
8534 * Make file changes to use partial linking (lets test this now...)
8536 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8540 remove #include "support/syscontr.h" as it's redundant. Always has been.
8548 change Systemcalls::System to Systemcalls::Wait and
8549 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8550 No change of functionality, just reflects the stripped down Systemcalls
8553 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8555 * debug.[Ch]: add a GRAPHICS type to the enum.
8557 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8559 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8561 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8564 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8566 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8567 match the changes below.
8569 * text2.C (toggleInset): if there is not editable inset at cursor
8570 position, try to see if cursor is _inside_ a collapsable inset
8573 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8575 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8576 document menu has a nice checkbox
8578 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8580 * lyxlength.C (asLatexString): change PW to output as percent of
8583 * lengthcommon.C: change '%' to 't%'
8585 * lyxfunc.C (dispatch): a few comments from Martin
8587 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8591 * BufferView_pimpl.h:
8592 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8595 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8597 * vspace.C (inPixels): fix compiler warning
8599 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8601 * lyxfunc.C (getStatus): fix status message for disabled commands.
8603 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8605 * BufferView_pimpl.C: fix crash on close buffer
8606 during selection (#227)
8608 2002-01-27 Herbert Voss <voss@lyx.org>
8610 * buffer.C: link old Figure to new graphic inset
8612 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8614 * FontLoader.C (getFontinfo): Change the latex font names in order
8615 to match the names of type1inst.
8617 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8619 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8621 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8624 (remove_files_with_extension): ditto
8625 (remove_file): ditto
8628 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8629 document is smaller than the work area height. Do not initialize
8630 static variables to 0.
8632 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8634 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8636 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8637 LFUN_LAYOUT_PARAGRAPHS.
8639 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8640 tabular. It is possible to provide a possible cell, which will
8641 typically be the actcell from the corresponding insettabular
8643 * lyxfunc.C (getStatus): small cleanup; disable
8644 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8647 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8651 * paragraph.C (startTeXParParams):
8652 (endTeXParParams): new methods. The LaTeX code to
8653 start/end paragraph formatting
8654 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8655 empty (fixes bug #200)
8657 * vspace.C (inPixels): adapt to the change below
8658 (inPixels): [later] more cleanups (remove unused variables)
8660 * lyxlength.C (inPixels): change to use a width and a height as
8663 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8665 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8666 Replaced with \paperwidth
8668 * DepTable.C (insert): add std:: qualifier
8670 2002-01-18 Allan Rae <rae@lyx.org>
8672 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8675 * text.C (drawInset): Turned out I didn't know enough about how
8676 rebreaking worked. This fixes most of the redraw problems. I see
8677 an occasional cursor trail when a line is broken now and the cursor
8678 placement can seem out by a few pixels also after a rebreak.
8680 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8682 * buffer.C (parseSingleLyXformat2Token): update because minipage
8683 width is now a LyXLength
8685 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8687 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8690 2002-01-17 Juergen Vigna <jug@sad.it>
8692 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8694 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8695 is set correctly and the inset is updated correctly.
8697 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8699 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8700 the beginning of the loop.
8702 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8704 * lyxrc.C: improve help for use_scalable_fonts
8706 2002-01-17 Allan Rae <rae@lyx.org>
8708 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8710 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8712 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8713 make sure to set their inset_owner to the right value (bug #171)
8715 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8718 * DepTable.C: Implement mtime checking to reduce time spent doing
8721 2002-01-16 Juergen Vigna <jug@sad.it>
8723 * tabular.C (GetAdditionalHeight): one of error fixed.
8725 * lyxrc.C (output): small fix in writing use_pspell.
8727 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8729 * sp_base.h: #include LString.h
8731 2002-01-16 Allan Rae <rae@lyx.org>
8733 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8734 Can someone check this please?
8736 * text.C (drawInset): It was possible that p.row would be removed by
8737 breakAgainOneRow upsetting a few other settings. There may be another
8738 small tweak possible by setting need_break_row = 0 when p.row has been
8739 removed but I don't know enough about the logic here.
8741 2002-01-15 Allan Rae <rae@lyx.org>
8743 * text.C (insertChar): removed conditional truism.
8745 * BufferView2.C (removeAutoInsets): More tweaks.
8746 cur_par_prev could be a stray pointer. Check for trailing empty line
8747 in case last line was cur_par and only had an error inset on it.
8749 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8751 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8754 * vc-backend.C (most methods):
8755 * exporter.C (Export):
8756 * converter.C (convert):
8758 * LyXSendto.C (SendtoApplyCB):
8759 * lyxfunc.C (dispatch):
8763 * lyx_cb.C (AutoSave):
8765 * BufferView_pimpl.C (MenuInsertLyXFile):
8766 * buffer.C (runChktex): use Buffer::filePath().
8768 * buffer.h: rename filename to filename_; rename filepath to
8769 filepath_ and make it private
8770 (filePath): new method
8772 * buffer.C (writeFile): use fileName()
8775 * lyx_main.C (init): fix starting of LyX when the binary is a
8776 link from so,ewhere else.
8778 * minibuffer.C: include <cctype> for isprint
8780 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8782 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8783 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8784 name clash with InsetCollapsable's width function.
8786 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8788 * lastfiles.C: include <iterator>
8790 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8792 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8795 * buffer.C (makeLaTeXFile): ditto.
8796 Also make loop operation more transparent.
8798 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8800 * ToolbarDefaults.C: remove trailing comma closing namespace.
8802 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8804 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8807 * trans.C (Load): comment out unused variable, allowed.
8809 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8811 * minibuffer.[Ch] (append_char): new method to recieve input from the
8812 drop-down completion browser. If a key was pressed, then recieve this
8813 char and append it to the existing string.
8814 (peek_event): modify the positioning data passed to the completion
8815 browser so that it can be placed above the minibuffer rather than below.
8816 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8818 * LyXAction.C (init): alloe error-next for readonly documents.
8820 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8823 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8825 * bufferlist.C (readFile): create the buffer _after_ checking that
8828 * lyxfunc.C (verboseDispatch): fix handling of arguments
8830 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8832 * lyxrc.C: use string::erase() instead of initializing to "".
8835 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8837 * BufferView_pimpl.h:
8838 * BufferView_pimpl.C:
8841 * text2.C: tell X when we have made a selection for copying
8843 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8845 * BufferView_pimpl.C (MenuInsertLyXFile):
8846 * lyxfunc.C (menuNew):
8848 (doImport): add shortcuts to directory buttons
8850 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8853 * lyxfunc.C (setStatusMessage):
8854 (getStatusMessage): new methods
8855 (getStatus):use setStatusMessage instead of setErrorMessage
8856 (dispatch): when function is disabled, set error message here
8857 [instead of in getStatus previously]
8859 * BufferView_pimpl.C (workAreaButtonRelease): update
8860 toolbar/menubar here too.
8862 2002-01-13 Allan Rae <rae@lyx.org>
8864 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8865 Now seems indestructible. Remaining task is to audit all other
8866 code affected by deleteEmptyParagraphMechanism. One small quirk
8867 left is that an empty document with an error in the preamble can
8868 be made to report an error but no error box appears. I don't know
8870 (removeAutoInsets): Improved comments.
8872 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8875 * Thesaurus.C: update for Aiksaurus 0.14
8877 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8879 * text2.C (firstParagraph): removed member function, all uses
8880 replaces with ownerParagraph
8881 (redoParagraphs): here
8883 (toggleAppendix): here
8884 * BufferView2.C (insertErrors): here
8885 (setCursorFromRow): here
8887 2002-01-13 Allan Rae <rae@lyx.org>
8889 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8890 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8891 There is still a way to segfault this although you may have to do this
8892 multiple times: Have an InsetERT with an unknown command in it.
8893 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8894 <down-arrow>, <Enter> again, View->DVI, BANG!
8896 * text2.C (setCursor):
8897 (deleteEmptyParagraphMechanism):
8898 * lyxtext.h (setCursor):
8899 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8900 Making use of the return value may help fix other bugs.
8902 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8904 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8906 * LyXView.C (updateMenubar): call MenuBar::update here
8907 (updateToolbar): but not here
8908 (showState): do not update toolbar/menubar
8910 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8911 should need to care about that.
8913 * lyxfunc.C (verboseDispatch): simplify a bit
8914 (getStatus): have a version which takes a pseudoaction, and
8915 another which requires a (kb_action,string).
8917 * LyXAction.C (retrieveActionArg): make it work also when action
8918 is not a pseudo-action.
8919 (getActionName): simplify a bit
8922 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8924 * lyxfunc.C (verboseDispatch): new families of methods with
8925 several ways to specify a command and a bool to indicate whether
8926 the command name and shortcut should be displayed in minibuffer
8927 (eventually, we could extend that to a finer bitmask like
8928 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8929 (dispatch): the pristine dispatch command which just, well,
8930 dispatchs! Note it still sets its result to minibuffer; I'm not
8933 * lyxfunc.h: remove setHintMessage
8935 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8937 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8939 * BufferView_pimpl.C (specialChar): delete new inset if we have
8940 not been able to insert it.
8942 * kbmap.C: revert to using int instead of kb_action, since all we
8943 are dealing with is pseudo-actions.
8945 * LyXAction.C (searchActionArg): change to return int instead of
8946 kb_action, since the result is a pseudoaction.
8948 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8950 * buffer.C (insertErtContents): Fix (partially) the font bug.
8952 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8954 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8955 as the other one is broken on my machine!
8957 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8960 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8962 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8964 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8965 reflect their actual use. Provide compatibility code for older lyxrc
8968 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8970 change names of popup font variables in line with the changes to lyxrc.C
8972 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8974 * buffer.C (asciiParagraph): avoid outputing a word twice after
8977 * lyxrc.C (getDescription): document that document_path and
8978 template_path can be empty.
8980 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8982 * LaTeXFeatures.C (getMacros):
8983 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8985 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8987 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8989 (getPackages): rename feature "floats" to "float". Use an array to
8990 iterate over 'simple' features (i.e. just a \usepackage). Add
8991 handling of "amsmath" (renamed from "amsstyle").
8993 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8995 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8998 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9000 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9001 FuncStaus::FuncStatus & FuncStaus::some_method().
9003 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9005 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9006 of the func_satus stuff. Edited and massaged in various ways by
9009 * lyxfunc.C (getStatus): use FuncStatus
9011 2002-01-08 Juergen Vigna <jug@sad.it>
9013 * text.C (nextBreakPoint): use function Inset::isChar().
9015 * paragraph.C (TeXOnePar): use function
9016 Inset::forceDefaultParagraphs.
9018 * buffer.C (latexParagraphs): use function
9019 Inset::forceDefaultParagraphs.
9021 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9023 * lyx_gui.C (init): set the style of the menu popups to
9024 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9026 2002-01-07 Juergen Vigna <jug@sad.it>
9028 * text.C (setHeightOfRow): small fix
9029 (prepareToPrint): don't look at alignment if we don't have the place
9032 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9034 * box.C: New file. Move the Box methods and functions out of box.h,
9035 following Lars' suggestion.
9037 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9039 * box.h: #include "support/LOstream.h", needed for inlined function.
9042 * lyxtextclasslist.C: added some using std declarations.
9044 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9046 * box.h: make signed dimensions to allow insets wider than
9047 the screen (bug #162)
9049 * BufferView_pimpl.C: add some insetHit debug
9051 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9053 * vc-backend.C: add FIXME
9055 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9057 * lyxfunc.C (getStatus): enable code for showing math font status
9060 2002-01-07 Juergen Vigna <jug@sad.it>
9062 * text.C (nextBreakPoint): removed debug output not needed anymore.
9064 2002-01-06 Juergen Vigna <jug@sad.it>
9066 * text.C (nextBreakPoint): fixed up this function we had this bug
9067 since ever but now hopefully we break row better.
9068 (insertChar): we have to check if an inset is the next char as it
9069 could now happen that a large inset is causing a break.
9071 2002-01-05 Juergen Vigna <jug@sad.it>
9073 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9074 if it doesn't like to be drawed.
9076 2002-01-04 Juergen Vigna <jug@sad.it>
9078 * BufferView2.C (lockInset): forgot to set a cursor.
9080 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9082 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9087 * form_maths_panel.C:
9088 * form_maths_panel.h:
9089 * form_maths_panel.fd: implemented sub- and super- buttons in math
9092 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9093 (or ^ space) to be used as in TeX (req'd by André).
9095 * lyxfunc.C: Allow ^ and _ again to be used both as
9096 super/subscript (mathed) and as themselves (in text).
9098 2002-01-03 Allan Rae <rae@lyx.org>
9100 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9101 "LyX" or the filename of the current buffer if it has one. This is a
9102 modified form of John Levon's patch.
9104 * XFormsView.C (setWindowTitle): also set icon title.
9106 * LyXView.h (setWindowTitle): signature changed.
9107 * XFormsView.h (setWindowTitle): ditto.
9109 2002-01-02 Juergen Vigna <jug@sad.it>
9111 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9113 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9115 * screen.C (topCursorVisible): introduce a temp var for
9116 text->cursor.row(), handle the case where this row is null. (kindo
9119 * text2.C (setCursor): add a couple of asserts.
9121 * paragraph.h (inset_iterator): add -> operator
9123 * paragraph.[Ch] (autoDeleteInsets): remove member function
9125 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9126 cursor pos correctly and handle inset deletion by itself.
9127 (insertErrors): move iterator declaration out of for expression
9129 * lyxtextclass.C: add <algorithm>
9131 * Makefile.am: added the new files to sources, removed layout.C
9133 * layout.C: removed file
9135 * layout.h: remove LYX_DUMMY_LAYOUT
9137 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9141 * lyxtextclass.[Ch]:
9142 * lyxtextclasslist.[Ch]: new files
9144 * include order changes to a lot of files, also changes because of
9147 2001-12-27 Juergen Vigna <jug@sad.it>
9149 * buffer.C (asciiParagraph): more fixes.
9151 * tabular.C (ascii): make ascii export support export of only the
9152 data separated by a column-delimiter.
9153 (ascii): better support for ascii export.
9155 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9157 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9159 * tabular_funcs.C: use a "using std::getline" instead of the
9160 previous fix from Angus (necessary for cxx + lyxstring)
9162 2001-12-24 Juergen Vigna <jug@sad.it>
9164 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9166 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9167 problems. First check a minipage also if we have some ert-contents
9168 (not only on par->size(), second set the right depth of the paragraph
9169 on the relink to the root-paragraph-list!
9171 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9172 which then did not anymore update the main paragraphs on undo/redo!
9174 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9176 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9177 code. Support all font-changing funcs (even those which are not in
9178 menu currently). Support for reporting font settings in
9179 mathed (disabled until Andre provides a function on mathed's side).
9181 * func_status.h (toggle): small helper function to set toggle
9184 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9186 * tabular_funcs.C: getline -> std::getline
9188 2001-12-21 Juergen Vigna <jug@sad.it>
9190 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9191 accessed and could be 0 (I couldn't generate this but it seems
9194 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9196 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9197 * tabular_funcs.h: here and include iosfwd
9199 2001-12-20 Juergen Vigna <jug@sad.it>
9201 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9202 inside inset but undo_par was.
9204 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9206 * Thesaurus.C: always include <config.h> in sources.
9210 * box.h: do not include <config.h> in header files
9212 * text.C (paintLastRow): remove unused variable
9214 * text.C (transformChar):
9216 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9219 * font.C (width): rewrite to use uppercase() instead of
9222 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9224 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9226 * lyxfind.C: clean up of find failure position change
9228 2001-12-20 Juergen Vigna <jug@sad.it>
9230 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9232 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9233 (TeXRow): added to LaTeX a single tabular row.
9234 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9235 (Latex): simplified and finally good LT-h/f support.
9236 (various_functions): just small adaptions for LT-h/f support.
9238 * tabular_funcs.[hC]: added and moved here all not classfunctions
9241 2001-12-19 Juergen Vigna <jug@sad.it>
9243 * tabular.[Ch]: better support for longtabular options (not finished
9246 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9248 * text.C (paintLastRow): use the label font instead of the font of
9249 the last character to compute the size of *_BOX. This makes more
9250 sense and avoids a crash with empty paragraphs.
9251 Use Painter::rectangle to draw EMPTY_BOX.
9253 2001-12-19 Juergen Vigna <jug@sad.it>
9255 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9256 the paragraphs if the replaced paragraph is not the first one!
9257 Tried to delete not used paragraphs but does not work yet so for
9258 now it's inside #ifdef's and by default off!
9260 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9262 * MenuBackend.C: include "lyx_main.h" instead of declaring
9263 lastfiles (actually was declared as LastFiles* instead of a
9266 2001-12-17 Juergen Vigna <jug@sad.it>
9268 * tabular.C (AppendColumn): applied John's fix
9270 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9274 * BufferView_pimpl.h:
9275 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9278 * box.h: new start of class for above
9280 * lyxfunc.C: ignore space-only minibuffer dispatches.
9281 Show the command name when it doesn't exist
9283 * minibuffer.C: don't add empty lines to the history
9285 * minibuffer.C: add a space on dropdown completion
9287 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9289 * text.C: fix line above/below drawing in insets
9291 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9293 * lyxlength.C (LyXLength): Initialize private variables.
9295 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9297 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9298 when inserting error insets.
9300 2001-12-13 Juergen Vigna <jug@sad.it>
9302 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9303 actually sometimes the before-paragraph.
9304 (setUndo): don't clear the redostack if we're not actually undoing!
9306 2001-12-06 Juergen Vigna <jug@sad.it>
9308 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9309 and fixed redoing of main paragraph, so we can use it now ;)
9311 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9313 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9315 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9318 2001-12-13 André Pönitz <poenitz@gmx.net>
9321 * undo_func.C: minor cleanup
9323 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9325 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9326 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9327 font in urw-fonts package which is marked as -urw-fontspecific and
9328 does not work (incidentally, changing the encoding in the
9329 fonts.dir of this package to -adobe-fontspecific fixes the
9332 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9333 is a crash when undoing first paragraph (Juergen, please take a
9334 look). THis does not mean the undo fix is wrong, just that it
9337 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9338 the (Paragraph*) version when needed instead of duplicating the
9341 * text.C (workWidth): use Inset::parOwner to find out where the
9342 inset has been inserted. This is a huge performance gain for large
9343 documents with lots of insets. If Inset::parOwner is not set, fall
9344 back on the brute force method
9346 * paragraph_pimpl.C (insertInset):
9347 * paragraph.C (Paragraph):
9348 (cutIntoMinibuffer): set parOwner of insets when
9349 inserting/removing them
9351 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9353 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9359 * mathed/formulabase.C:
9360 * mathed/math_cursor.[Ch]:
9361 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9364 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9366 * lyxlength.[Ch] (operator!=): new function
9368 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9370 * text.C (workWidth): use Inset::parOwner to find out where the
9371 inset has been inserted. This is a huge performance gain for large
9372 documents with lots of insets. If Inset::parOwner is not set, fall
9373 back on the brute force method
9375 * paragraph_pimpl.C (insertInset):
9376 * paragraph.C (Paragraph):
9377 (cutIntoMinibuffer): set parOwner of insets when
9378 inserting/removing them
9380 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9382 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9384 * tabular-old.C (getTokenValue):
9385 * tabular.C (getTokenValue):
9386 (write_attribute): new versions for LyXLength
9387 (everywhere): adjust the use of widths
9389 * tabular.h: change the type of widths from string to LyXLength
9391 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9393 * paragraph.C: fixed missing line number count when exporting
9394 Environments to LaTeX file
9396 * buffer.C: added informational message for checking line numbers.
9398 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9400 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9401 paragraph, do the 'double space' part, but not the 'empty
9404 * text.C (workWidth): small optimization
9405 (getLengthMarkerHeight): use minimal size for negative lengths.
9407 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9409 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9411 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9413 2001-12-11 André Pönitz <poenitz@gmx.net>
9416 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9418 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9420 * text2.C: keep selection on a setFont()
9422 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9424 * lyx_cb.C: another bv->text misuse, from insert label
9426 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9429 * kbsequence.C: re-instate nmodifier mask
9431 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9433 * lyx_main.h: make lyxGUI private.
9435 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9437 * lyxfind.C: place the cursor correctly on failed search
9439 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9441 * text.C (getLengthMarkerHeight): for small heights, the arrows
9442 are not always on top/bottom of the text
9443 (drawLengthMarker): smaller arrows; take the left margin in
9444 account; draw also vfills.
9446 (paintLastRow): remove special code for vfill and standard spaces,
9447 since everything is handled in drawLengthMarker now.
9449 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * buffer.C (insertErtContents): try to handle font and language
9452 interaction a bit better.g
9454 * ColorHandler.C (updateColor): change the hash to cover the whole
9455 LColor enum, ws cleanup
9456 (getGCLinepars): ditto
9457 (getGCLinepars): only lookup in the linecache once.
9459 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9461 * iterators.C (operator++): Make the iterator more robust
9463 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9465 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9467 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9470 * text.C: better added space drawing
9472 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9475 * BufferView2.C: fix layout combo update on inset unlock
9477 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9479 * Makefile.am: don't compile unused files
9481 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9485 * LyXAction.C: remove old LFUN_LAYOUTNO
9487 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9489 * paragraph_pimpl.h:
9490 * paragraph_pimpl.C: isTextAt() doesn't need font param
9492 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9495 * lyxlex.C: little cleanup
9497 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9499 * BufferView_pimpl.C: fix insertAscii for insets
9501 2001-12-05 Juergen Vigna <jug@sad.it>
9503 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9504 set the right font on the "multi" paragraph paste!
9506 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9512 * lyxlength.C: remove out-commented code.
9528 * vc-backend.C: change "while(" to "while ("
9530 * lyxlength.[Ch]: add zero function to check if length is zero or
9532 * lyxgluelength.C: use it
9534 2001-12-05 Allan Rae <rae@lyx.org>
9536 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9537 Works for 2.95.3, from what I understand of Garst's reports this should
9538 work for other g++ versions. We're screwed if the abs(int) definition
9539 changed between bugfix releases of gcc.
9541 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9543 * text.C: fix chapter label offset !
9545 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9548 * text.C: fix hfill at end of line, clean up
9550 2001-12-04 Juergen Vigna <jug@sad.it>
9552 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9553 that we force an update of the inset and it's owners if neccessary.
9555 2001-12-03 Juergen Vigna <jug@sad.it>
9557 * text.C (rowLast): simplified code
9559 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9561 * lyxfunc.C: fix show options on timeout
9563 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * screen.C (topCursorVisible): scroll half a page when the cursor
9566 reached top of bottom of screen
9568 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9570 * minibuffer.C: deactivate on loss of focus
9572 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * vspace.[Ch] (operator!=): add operator.
9576 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9578 * BufferView_pimpl.C: refuse to open an inset when
9579 there's a selection.
9581 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9583 * BufferView_pimpl.C: allow to click on RHS of full row insets
9585 2001-11-30 Juergen Vigna <jug@sad.it>
9587 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9588 insets for undo reasons.
9590 2001-11-28 André Pönitz <poenitz@gmx.net>
9592 * vspace.[Ch]: cosmetical changes
9594 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9604 * kbsequence.C: part re-write of old kb code
9607 * WorkArea.C: remove Lgb_bug_find_hack
9609 2001-11-30 José Matos <jamatos@fep.up.pt>
9611 * buffer.C (makeDocBookFile): add a comment to point a hack.
9612 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9613 Fixed a double write of labels.
9615 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9618 * LaTeX.h Fixed bug in LaTeX class where it would not
9619 re-run latex if no depfiles were changed, but the .dvi was removed.
9621 2001-11-28 André Pönitz <poenitz@gmx.net>
9623 * all the files from the change on 2001/11/26:
9624 use lyx::layout_type instead of LyXTextClass::size_type
9625 use lyx::textclass_type instead of LyXTextClassList::size_type
9627 2001-11-29 Juergen Vigna <jug@sad.it>
9629 * text.C: added support for paragraph::isFreeSpacing()
9631 * buffer.C: same as above
9633 * paragraph.h: inserted isFreeSpacing() function to enable
9634 FreeSpacing inside InsetERT.
9636 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9637 of the paragraph's in the cut/copy buffer to 0!
9639 * text2.C (removeRow): remove the assert as it can!
9641 * lyxtext.h: added helper function firstRow returning firstrow and
9642 made firstrow private again.
9644 * BufferView2.C (lockInset): don't relock if we're already locked!
9646 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9648 (removeRow): added Assert::(firstrow)
9650 * debug.C: forgot to add INSETTEXT here.
9652 2001-11-28 Juergen Vigna <jug@sad.it>
9654 * sp_spell.C (initialize): changed error text to more general
9655 spellchecker command use (not only ispell!)
9657 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9659 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9661 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9663 * vspace.C: initialise lyxgluelength on failure
9665 2001-11-28 Allan Rae <rae@lyx.org>
9667 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9668 declaration & definition that looks like a function declaration.
9670 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9672 * BufferView2.C (copy):
9673 (copyEnvironment): do not clear the selection when doing a copy.
9675 * text.C (paintFirstRow): compilation fix
9677 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9679 * tabular.C (Latex): correct line count when writing latex.
9681 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9683 * paragraph_pimpl.h:
9684 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9687 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9691 * LColor.C: change vfillline->added_space
9693 * text.C: add markers and text for added space
9695 * vspace.C: fix comment
9697 2001-11-28 André Pönitz <poenitz@gmx.net>
9699 * paragraph.C: whitespace changes
9700 * all the other files from the change on 2001/11/26:
9701 change *::pos_type into lyx::pos_type
9703 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9705 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9706 language of the document when inserting error insets.
9708 2001-11-26 André Pönitz <poenitz@gmx.net>
9710 * BufferView_pimpl.[Ch]:
9718 * paragraph_pimpl.[Ch]:
9721 * text2.C: reduce header dependencies, introduce type for positions
9723 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9725 * <various>: change to use Alert.h
9727 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9729 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9730 when encountering an unknown token.
9731 (readLyXformat2): Show an error message if there were unknown tokens.
9733 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9736 * BufferView_pimpl.C:
9740 * text2.C: use par->isInset()
9742 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9744 * paragraph_pimpl.h:
9745 * paragraph_pimpl.C: cleanup
9747 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9749 * text2.C (removeRow):
9750 * text.C (setHeightOfRow): remove useless (and costly) call to
9753 2001-11-20 Allan Rae <rae@lyx.org>
9755 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9756 Now need Inset*::checkInsertChar() to return true for appropriate
9757 cases so that the characters in the minibuffer will actually be
9760 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9762 * text.C: change the order of the includes.
9763 (workWidth): initialize it at once.
9764 (workWidth): make maxw unsigned
9765 (setHeightOfRow): remove unused variable (inset)
9766 (selectSelectedWord): remove unused variable (inset)
9767 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9769 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9771 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9772 server is not running.
9774 (closeConnection): add debug info when server is disabled.
9776 * ColorHandler.C (getGCForeground): send debug message to GUI
9779 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9781 * kbmap.C (bind): modify because return conventions of
9782 kb_sequence::parse have changed.
9784 * kbsequence.C (parse): only ignore spaces and not any stupid
9785 control character. This avoids tests like s[i] <= ' ', which are
9786 guaranteed to fail with 8bit characters and signed chars.
9787 Change return code to string::npos when there have been no error
9788 (0 was a bad idea when error is at first character)
9790 2001-11-14 José Matos <jamatos@fep.up.pt>
9793 * buffer.C (simpleDocBookOnePar): removed unused argument.
9795 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9797 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9798 insets which are part of a word. Paragraph::isLetter takes care of
9799 that now. Use Paragraph::isInset to identify insets.
9800 (selectSelectedWord): do not test for hyphenation break.
9802 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9803 that protected spaces are considered as spaces.
9805 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9808 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9811 * lyxserver.C: fix it. and small cleanup.
9813 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9815 * BufferView_pimpl.C: use inline helpers
9818 * LaTeXFeatures.C: fix typos
9821 * Spacing.C: move spacing_string into class
9823 * ToolbarDefaults.C: move stuff into namespace anon
9825 * layout.h: update enum
9827 * lyxfunc.C: use better debug
9829 * minibuffer.h: fix typo
9833 * WorkArea.C: add and use Debug::WORKAREA
9837 * text2.C: code re-organisation, inline helpers
9839 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9841 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9842 std::vector.empty().
9844 2001-11-09 Allan Rae <rae@lyx.org>
9846 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9847 '\n's after tables. Tabular and ERT inset work now makes this no
9850 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9853 * minibuffer.C: fix crash, improve drop-down completion
9855 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9858 * lyxserver.C: invalidate fd's when doing endPipe()
9860 2001-11-08 José Matos <jamatos@fep.up.pt>
9862 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9863 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9866 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9868 2001-11-07 José Matos <jamatos@fep.up.pt>
9871 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9874 * buffer.C (sgmlOpenTag):
9875 * buffer.C (sgmlCloseTag): removed debug info.
9877 * buffer.h (sgmlOpenTag):
9878 * buffer.h (sgmlCloseTag): made public.
9880 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9882 * buffer.C (saveParamsAsDefaults):
9883 * lyx_cb.C (MenuLayoutSave): remove
9885 * LyXAction.C (init):
9887 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9889 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9891 * buffer.C (setPaperStuff): removed from here...
9893 * bufferparams.C (setPaperStuff): ... and moved there.
9895 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9899 * XFormsView.C: add support for drop-down completion
9901 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9903 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9906 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9908 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9911 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9913 * lyx_main.C: change ref to known bugs
9915 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9917 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9918 to work around older babel problems.
9920 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9922 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9924 2001-10-24 Juergen Vigna <jug@sad.it>
9926 * tabular-old.C (ReadOld): below variable changes reflected.
9928 * tabular.[Ch]: added ltType struct for longtable header/footer
9929 defines and changed all instances where they are used. Added
9930 future support for double top/bottom rows.
9932 2001-10-24 José Matos <jamatos@fep.up.pt>
9934 * buffer.h (docbookHandleCaption):
9935 * buffer.C (docbookHandleCaption): removed unused function.
9936 (makeDocBookFile): moved docbook supported version to v4.1.
9938 2001-10-24 José Matos <jamatos@fep.up.pt>
9941 * tabular.C (docbookRow): new function to export docbook code of a row.
9942 (DocBook): now honors the longtable flags.
9944 2001-10-23 José Matos <jamatos@fep.up.pt>
9947 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9948 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9950 * buffer.C (makeLinuxDocFile):
9951 (makeDocBookFile): reworked the preamble, more clean, and with
9952 support for lyx defined entities. Changed the document declaration
9953 to be more XML friendly.
9955 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9956 if we need to output XML that should be done with a filter.
9958 2001-10-22 Juergen Vigna <jug@sad.it>
9960 * sp_pspell.h (class PSpell): add alive function needed in the
9961 controller to see if the spellchecker could be started.
9963 2001-10-22 Juergen Vigna <jug@sad.it>
9965 * buffer.C (insertStringAsLines): modify the font for inserting
9966 chars in certain conditions by calling checkInsertChar(font).
9968 2001-10-19 Juergen Vigna <jug@sad.it>
9970 * text.C (workWidth): use getRow instead of wrong algorithm.
9971 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9973 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9978 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9980 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9982 * text.C (workWidth): do not search for the exact row when
9983 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9984 optimization for big documents.
9986 2001-10-18 Juergen Vigna <jug@sad.it>
9988 * text.C (workWidth): new function with added Inset * parameter.
9990 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9992 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9994 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9995 change return type of getColumnNearX.
9998 * text.C (changeRegionCase): use uppercase/lowercase instead of
10001 (rightMargin): simplify code by factoring out the uses of
10006 (appendParagraph): use Paragraph::size_type
10008 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * vspace.C (asLatexString): add a missing break
10012 2001-10-15 Herbert Voss <voss@perce.de>
10014 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10016 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10018 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10021 2001-10-10 André Pönitz <poenitz@gmx.net>
10023 * lyxfunc.C: removed greek_kb_flag.
10025 2001-10-10 Herbert Voss <voss@perce.de>
10027 * lyx_main.C: delete global string help_lyxdir.
10029 2001-10-09 Herbert Voss <voss@perce.de>
10031 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10033 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10035 * lyx_main.C: added global string help_lyxdir.
10037 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10039 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10041 * lyxrc.C (set_font_norm_type): support iso8859-4
10043 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10045 * LaTeX.C (deplog): add another regex for MikTeX
10047 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10049 * lyxrc.C (set_font_norm_type): support iso8859-3
10051 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10055 * LaTeXFeatures.C: remove special case of french and index
10057 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10058 before \begin{document}). This solves several incompatibilities.
10060 2001-10-03 Garst Reese <reese@isn.net>
10062 * lyx_cb.C: change CheckTex error msg.
10064 2001-10-03 José Matos <jamatos@fep.up.pt>
10066 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10068 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10070 * .cvsignore: update
10072 * lyx_main.C (commandLineVersionInfo): use new style version info.
10074 * buffer.C (writeFile):
10076 (makeLinuxDocFile):
10077 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10079 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10081 * version.h: update to use stuff in version.C
10083 * version.C.in: new file. Contains version information determined
10084 at compile time. This is a merging of version.h and
10087 2001-10-03 Juergen Vigna <jug@sad.it>
10089 * BufferView_pimpl.C (update): don't change "dirty" status in
10092 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10094 * WorkArea.C (c-tor): re-position version string slightly.
10096 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10098 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10099 revert to previous code.
10101 WorkArea.[Ch]: (show, destroySplash): methods removed.
10103 WorkArea.C: rework code so that it's an amalgam of the codes before and
10104 after the splash screen was moved to WorkArea.
10106 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10109 * vspace.C (inPixels):
10112 * buffer.C (insertStringAsLines):
10113 (asciiParagraph): fix types to be large enough
10115 * lyxlex_pimpl.h: change member status from short to int
10117 * layout.h: fix type of endlabeltype
10120 * kbsequence.C (parse): change return type to string::size_type
10122 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10125 * Bullet.C (bulletSize):
10126 (bulletEntry): do not use short ints as parameters
10128 * BufferView2.C (insertLyXFile): change a char to an int.
10130 * WorkArea.C (WorkArea): remove unneeded floats in computation
10132 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10134 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10136 * paragraph.C (asString): Do not ignore newline/hfill chars when
10137 copying to the clipboard.
10139 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10141 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10142 after a multi-line inset.
10144 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10146 * paragraph.C (validate): Set NeedLyXFootnoteCode
10148 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10150 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10151 and decrease-error to decrease.
10153 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10155 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10156 it more readable (should be equivalent)
10158 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10160 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10162 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10164 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10165 of a cursor (row, etc.) after a character has been deleted
10166 (deleteEmptyParagraphMechanism): call the method above on _all_
10167 cursors held by the LyXText when a double space has been
10170 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10172 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10174 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10176 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10177 background. Use greyOut() and the new show() methods to toggle between
10178 the foreground and background. Add code to remove the splash after
10179 its initial showing.
10181 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10182 (create_forms): no longer call Dialogs::showSplash.
10184 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10186 * .cvsignore: add version_info.h
10188 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10190 * version_info.h.in: new file
10192 * Makefile.am: add version_info.h.in
10194 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10195 version_info.h instead of VERSION_INFO
10197 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10199 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10200 The ERT inset now returns string().
10202 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10204 * lyxtext.h, text.C (selectNextWord): renamed as
10205 selectNextWordToSpellcheck.
10207 * text.C (selectNextWordToSpellcheck): Modified to not select
10208 words inside an ERT inset.
10210 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10212 * lyx_cb.C (MenuLayoutSave): change a bit the question
10214 * sp_base.h: include <sys/types.h>
10216 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10218 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10220 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10222 * several files: fix typos in user-visible strings
10224 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10226 * text2.C (pasteSelection): do not set the selection, since it
10227 will be cleared later. Actually, the intent was to fix the way the
10228 selection was set, but I figured rmoving the code was just as good.
10230 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10232 * FontLoader.C (available): Check if font is available without
10235 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10237 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10239 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10241 * lyxrc.[Ch]: added display_graphics variable and associated code.
10243 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * bufferparams.C (hasClassDefaults): new method. Returns true if
10246 the buffer parameters correspond to known class defaults
10248 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10250 * XFormsView.C (show): set minimum size to the main window.
10252 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10254 * text2.C (copySelection):
10256 * lyxfind.C (LyXReplace):
10257 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10258 LyXText::selectionAsString.
10260 * paragraph.C (asString): add "label" argument to the second form
10262 * text2.C (selectionAsString): add "label" argument and pass it to
10263 Paragraph::asString.
10265 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10267 * lyx_main.C (commandLineHelp): remove version information
10269 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10271 * lyx_main.C: add -version commandline option
10273 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10275 * paragraph.h: make the optional constructor arg required instead.
10276 some modifications to other files because of this.
10278 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10280 * lyxserver.C (C_LyXComm_callback): make it static
10282 * lyx_main.C (error_handler): make it static
10284 * lyx_gui.C (LyX_XErrHandler): make it static
10286 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10288 * WorkArea.C: make the extern "C" methods static.
10290 * Makefile.am (lyx_LDADD): simplify
10292 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10294 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10295 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10297 * LyXAction.C (init):
10298 * lyxfunc.C (dispatch): associated code removal.
10300 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10302 * lyxfont.h (isSymbolFont): shut off warning
10304 * text.C (setHeightOfRow):
10305 (getVisibleRow): fix crash with empty paragraphs which have a
10308 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10310 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10313 2001-09-04 José Matos <jamatos@fep.up.pt>
10316 * tabular.C (docbook): rename docBook method to docbook.
10318 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10320 * Makefile.am: add dependencies to main.o.
10322 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10324 * FontLoader.C (available): Return false if !lyxrc.use_gui
10326 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10328 * FontInfo.C (query):
10329 * converter.C (view):
10330 * importer.C (Import):
10331 * exporter.C (Export): Can not -> cannot.
10333 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10335 * BufferView_pimpl.C: allow to create index inset even if
10338 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10340 * buffer.C (getLists): replace boost::tie code with an explicit pair
10341 as boost::tie can break some compilers.
10343 * iterators.h: Added a std:: declaration to the return type of
10346 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10348 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10351 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10353 * iterators.[Ch]: New files. Provide paragraph iterators.
10355 * buffer.C (changeLanguage): Use paragraph iterators.
10356 (isMultiLingual): ditto
10358 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10360 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10362 * FontLoader.C: Support for cmr font.
10364 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10366 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10367 (available): New method.
10369 * FontInfo.C (getFontname): Use scalable fonts even when
10370 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10373 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10375 * converter.C (Formats::view): reverted! Incorrect fix.
10377 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10379 * converter.C (Formats::view): only output the -paper option
10380 if the dvi viewer is xdvi, thereby fixing bug #233429.
10382 2001-08-23 Herbert Voss <voss@perce>
10384 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10386 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10388 * Spacing.h (Spacing): Set space to Default on in the default
10391 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * vc-backend.h (RCS::versionString): add RCS to version
10394 (CVS::versionString): add CVS to version
10396 * vc-backend.C (scanMaster): do not add CVS to version.
10397 (scanMaster): do not add RCS to version
10399 * lyxvc.C (versionString): new method
10401 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10403 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10405 * Spacing.C (set): initialize fval
10407 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10409 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10412 2001-08-16 Juergen Vigna <jug@sad.it>
10414 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10416 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10418 * BufferView_pimpl.C:
10421 * text2.C: setParagraph takes linespacing now
10423 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10425 * LyxAction.C: add internal LFUN_CITATION_INSERT
10427 * LyXView.C: actually apply fix
10429 * bufferlist.C: fix open non-existent file
10431 * lyxfind.C: fix indentation
10433 * lyxfunc.C: remove unneeded assert, fix typo
10435 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10437 * MenuBackend.C: use "Floatname List"
10439 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10441 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10442 when converting LaTeX layout to insetERT.
10443 Generate a non-collapsed float when reading old float
10445 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10447 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10450 2001-08-13 Juergen Vigna <jug@sad.it>
10452 * text.C (fill): return 0 instead of 20 as this seems to be the more
10455 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10457 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10460 2001-08-13 Juergen Vigna <jug@sad.it>
10462 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10464 (SearchBackward): comment out the unlocking of the inset_owner this
10465 should not be needed!
10467 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10469 * Many files: Remove inherit_language, and add latex_language
10471 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10472 collapsible insets.
10474 2001-08-10 Juergen Vigna <jug@sad.it>
10476 * text.C (prepareToPrint): fixed hfill-width in draw!
10478 * BufferView2.C (selectLastWord): save the selection cursor as this
10479 now is cleared in the function LyXText::clearSelection!
10481 2001-08-08 Juergen Vigna <jug@sad.it>
10483 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10484 BACKSPACE type functions.
10486 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10487 is only cutted from the document but not put in the cut-buffer, where
10488 still the old stuff should be.
10490 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10492 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10494 * tabular.C (SetWidthOfCell): fixed special case where the width
10496 (LeftLine): handle '|' in align_special.
10498 (LeftAlreadyDrawed): ditto
10499 (SetWidthOfCell): ditto
10501 2001-08-07 Juergen Vigna <jug@sad.it>
10503 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10505 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10507 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10508 * lyxlex.[hC]: ditto
10510 2001-08-06 Juergen Vigna <jug@sad.it>
10512 * text.C (getVisibleRow): fix up row clearing a bit.
10514 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10516 * minibuffer.C: make sure the X server sees the changes in the input.
10518 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10520 * paragraph.C (getFont): split into...
10521 (getLabelFont): this
10522 (getLayoutFont): and this
10523 * paragraph_pimpl.C (realizeFont): calling this
10525 * text2.C (getFont): split into...
10526 (getLayoutFont): this
10527 (getLabelFont): and this
10528 (realizeFont): all three calling this
10530 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10533 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10535 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10537 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10539 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10540 layouts from the Quote inset insertion.
10542 2001-08-03 Juergen Vigna <jug@sad.it>
10544 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10546 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10547 only if status not is already CHANGED_IN_DRAW (second level).
10549 * text.C (draw): don't set the need_break_row when inside an
10552 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10554 * buffer.C (parseSingleLyXformat2Token): handle more latex
10557 * bufferview_funcs.[hC]: change function names to
10558 begin with small char, adjust other files.
10560 2001-08-02 André Pönitz <poenitz@gmx.net>
10563 BufferView_pimpl.C: remove broken special code for math-greek
10565 2001-08-02 Juergen Vigna <jug@sad.it>
10567 * BufferView_pimpl.C (update): redone this function so that we
10568 update the text again if there was a CHANGE_IN_DRAW.
10570 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10571 (drawFromTo): added a new internal bool which is used by draw() and
10573 (general): some cursor drawing problems fixed.
10575 2001-08-01 Juergen Vigna <jug@sad.it>
10577 * lyxfind.C (LyXFind): fixed
10578 (SearchForward): ditto
10579 (SearchBackward): ditto
10581 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10582 spurius drawing of the cursor in the main area.
10584 * text2.C (status): small fix which could lead to a segfault!
10585 (clearSelection): remove unneeded BufferView param.
10587 2001-08-01 André Pönitz <poenitz@gmx.net>
10589 * lyxfunc.C: small change due to changed mathed interface
10591 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10593 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10595 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10597 * lyxfunc.c: fail gracefully if file doesn't exist
10602 * BufferView_pimpl.C: IsDirWriteable() proto changed
10604 * LyXView.C: fix updateWindowTitle() to store the last title
10606 2001-07-31 Juergen Vigna <jug@sad.it>
10608 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10609 the font (wrong since using of Paragraph::highestFontInRange).
10611 * paragraph.C (highestFontInRange): added a default_size parameter.
10613 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10614 (setHeightOfRow): reformat
10616 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10618 * converter.[hC] + affected files: move to (inital-char)lowercase
10621 * ParagraphParameters.C (ParagraphParameters): remove commented code
10623 * PainterBase.[Ch]: remove commented code
10625 * LaTeXFeatures.h: add "bool floats" for float.sty
10627 * LaTeXFeatures.C (LaTeXFeatures): init floats
10628 (require): handle float
10629 (getPackages): do it with floats
10631 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10633 * BufferView_pimpl.C (Dispatch): improve handling of
10634 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10636 * commandtags.h: #include lyxfont.h here temporarily to avoid
10639 * bufferlist.h: include LString.h here.
10641 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10643 * text2.C (getStringToIndex): new method.
10645 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10647 * *: Reduced header file dependencies all over.
10649 2001-07-30 Baruch Even <baruch@lyx.org>
10651 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10653 2001-07-29 Baruch Even <baruch@lyx.org>
10655 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10657 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10659 * ParameterStruct.h (endif): add a default constructor to make
10660 sure that all variables is initialized.
10662 * ParagraphParameters.C (ParagraphParameters): adjust
10664 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10666 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10667 index; also, check that there is something to index, and that it
10668 does not span over several paragraphs.
10669 (doubleClick): use WHOLE_WORD_STRICT for double click.
10671 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10673 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10676 2001-07-26 Baruch Even <baruch@lyx.org>
10678 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10679 an InsetFig figure, backwards compatible reading of old figure code.
10681 2001-07-27 Juergen Vigna <jug@sad.it>
10683 * text2.C: font.realize function adaption.
10685 * text.C (draw): add a warnings lyxerr text if needed.
10687 * layout.C: font.realize function adaption.
10689 * language.C: add inherit_language and implement it's handlings
10691 * bufferview_funcs.C (StyleReset): remove language parameter from
10692 font creation (should be language_inherit now).
10694 * bufferparams.C (writeFile): handle ignore_language.
10696 * paragraph.C (getFontSettings): the language has to be resolved
10697 otherwise we have problems in LyXFont!
10699 * lyxfont.C (lyxWriteChanges): added document_language parameter
10700 (update): removed unneeded language parameter
10702 * paragraph.C (validate): fixed wrong output of color-package when
10703 using interface colors for certain fonts in certain environments,
10704 which should not seen as that on the final output.
10706 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10708 * BufferView_pimpl.C:
10713 * LyXAction.C: add thesaurus support
10716 * lyxfind.C: add "once" parameter, for thesaurus, to not
10717 move to the next match
10719 2001-07-26 Juergen Vigna <jug@sad.it>
10721 * lyxfont.C (realize): honor ignore_language too!
10724 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10726 * text.C (draw): one place more for ignore_language to not draw
10729 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10731 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10733 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10735 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10736 the minipage conversion problem.
10738 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10740 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10743 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10745 * BufferView.h: don't forward declare WorkArea
10747 * BufferView.C: don't include WorkArea.h
10749 2001-07-25 André Pönitz <poenitz@gmx.net>
10753 * lyxfunc.C: new LFUN 'math-space'
10755 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10757 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * text2.C (toggleInset): call open/close
10761 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10763 * lyxfunc.C (dispatch): add debug for the disabled case
10765 * font.C (buttonText): make similar to rectText
10767 * buffer.C (readInset): comment out parsing of insetlist and
10770 * PainterBase.C (rectText): small correction
10772 * BufferView_pimpl.C: comment out insettheorem and insetlist
10773 * LyXAction.C: ditto
10774 * commandtags.h: ditto
10776 2001-07-24 Juergen Vigna <jug@sad.it>
10778 * text.C (draw): honor the ignore_language.
10780 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10782 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10784 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10787 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10789 * lyxtext.h: remove unused (and unimplemented) methods
10791 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10793 * text.C (getVisibleRow): honor background color
10796 * Painter.h: remove default color argument for fillRectangle
10798 * text.C (backgroundColor): new method
10800 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * text.C (getVisibleRow): adjust
10804 * font.[Ch] (rectText): new method, metrics
10805 (buttonText): new method, metrics
10807 * PainterBase.[hC]: make rectText and buttonText always draw and take
10810 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10812 * ToolbarDefaults.C (read):
10813 * MenuBackend.C (read): allow escaping in all strings
10815 * BufferView_pimpl.C (insertAndEditInset): new method.
10816 (Dispatch): use insertAndEditInset whenever appropriate.
10818 * BufferView_pimpl.C (insertNote): removed
10820 * BufferView_pimpl.C (smartQuote): new method, moved from
10821 BufferView; if an insetquote cannot be inserted, insert a '"'
10824 * BufferView2.C: remove insertCorrectQuote();
10826 * lyxfunc.C (getStatus): Add support for all remaingin
10827 inset-insert lfuns.
10829 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10831 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10832 command (necessary to pass " as parameter of self-insert.
10834 * text.C (selectWordWhenUnderCursor):
10835 (selectWord): add word_location parameter
10836 (selectWordWhenUnderCursor): same + remove special code for word
10838 (selectNextWord): use kind() to guess type of insetspecialchar,
10841 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10842 (insertErtContents): create ert insets as collapsed.
10843 (readInset): better compatibility code for Info inset.
10845 2001-07-20 Juergen Vigna <jug@sad.it>
10847 * lyxfunc.C (dispatch): use always LyXFind now!
10849 * text2.C (init): add a reinit flag so that the LyXText can be
10850 reinited instead of deleted and reallocated (used in InsetText).
10852 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10858 2001-07-18 Juergen Vigna <jug@sad.it>
10860 * text.C (selectNextWord): handle insets inside inset by calling
10861 always the bv->text functions so that we can go up the_locking_inset!
10863 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10864 in strange locations when inside an inset!
10866 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10867 handling to include insets.
10869 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10871 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10873 * LyXAction.C (init):
10875 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10876 LIGATURE_BREAK, since the name is so stupid.
10878 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10880 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10883 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10885 * sp_form.[Ch]: remove.
10887 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10889 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10892 * src/buffer.C (readInset): ditto.
10894 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10896 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10897 menuSeparator(), endOfSentenceDot(), ldots() and
10898 hyphenationPoint(), which are therefore removed.
10899 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10901 * LyXAction.C (init):
10902 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10904 * paragraph.C (getWord): removed.
10906 * BufferView_pimpl.C (Dispatch): use last word or selection for
10907 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10909 * lyx_main.C (queryUserLyXDir): do not ask before creating
10910 user_dir, except if it has been named explicitely.
10912 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10914 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10915 a document of zero size.
10917 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10919 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10920 approriately in the c-tor and in require().
10921 (getPackages): output the appropriate LaTeX for natbib support.
10923 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10924 variables "use_natbib" and "use_numerical_citations" when reading the
10926 (readInset): read the various natbib cite commands.
10927 (validate): white-space change.
10929 * bufferparams.[Ch]: new variables "bool use_natbib" and
10930 "bool use_numerical_citations".
10931 (writeFile): output them in the LyX file.
10933 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10935 * lyxfunc.C (getStatus): add support for all the inset insertion
10938 * text2.C (insertInset):
10939 * paragraph.C (insetAllowed):
10940 * BufferView_pimpl.C (insertInset): update to take in account the
10941 renaming of insertInsetAllowed
10943 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10945 * text2.C (getInset): new method. returns inset at cursor position.
10947 * BufferView_pimpl.C (Dispatch): changes because of this.
10949 * LyXAction.C (init): rename open-stuff to inset-toggle.
10951 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10953 * text2.C (toggleInset): renamed from openStuff; use
10956 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10958 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10960 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10962 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10964 * buffer.C (readLyXformat2): Add filename to the error dialog
10966 2001-07-18 Juergen Vigna <jug@sad.it>
10968 * tabular.C (GetCellNumber): put an assert here instead of the check!
10970 2001-07-17 Juergen Vigna <jug@sad.it>
10972 * BufferView_pimpl.C (toggleSelection): adapted too.
10974 * text.C (selectNextWord): adapted for use with insets.
10975 (selectSelectedWord): ditto
10977 2001-07-17 Juergen Vigna <jug@sad.it>
10979 * sp_spell.C (PSpell): fix initialitation order.
10981 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * paragraph.C: spacing
10985 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10987 * sp_spell.C: repair language selection for pspell
10989 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * lyxfunc.h: change more methods to begin with lower char.
10993 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10995 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10996 for unknown layouts.
10998 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11000 * buffer.C (readLyXformat2): Generate an error dialog if there are
11003 2001-07-16 Juergen Vigna <jug@sad.it>
11005 * sp_spell.C: always compile ISpell part.
11007 * lyxrc.C: added use_pspell entry and it's handling.
11009 2001-07-13 Juergen Vigna <jug@sad.it>
11011 * sp_spell.C: removed double includes.
11013 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11015 Consistent use of Lsstream.h:
11016 * Lsstream.h: added using std::stringstream for consistencies sake.
11018 * buffer.C: removed using std::stringstream
11020 * lyxfont.C (stateText):
11021 * paragraph.C (asString):
11022 * text.C (selectNextWord, selectSelectedWord):
11023 * text2.C (setCounter):
11024 * vspace.C (asString, asLatexString):
11025 std::ostringstream -> ostringstream.
11027 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11029 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11030 * commandtags.h: add LFUN_HELP_ABOUTLYX
11031 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11033 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11035 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11037 * lyx_gui_misc.C: remove spellchecker
11038 * lyxfunc.C: showSpellchecker
11040 * sp_ispell.h: added
11041 * sp_pspell.h: added
11042 * sp_spell.C: added
11043 * sp_form.[Ch]: removed
11044 * spellchecker.[Ch]: removed
11046 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11048 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11050 (simpleTeXSpecialChars): Simply print the input character without
11051 any special translation if pass_thru is set.
11053 * layout.h: Added bool pass_thru to layout class for being able to
11054 implement pass through of a paragraph for Literate Programming.
11056 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11057 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11058 * layout.C (Read): add "passthru" to list of layout tags and add
11059 code to set the pass_thru boolean when it is read.
11061 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11063 * trans_decl.h: remove allowed from KmodInfo
11065 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11066 remove allowed code
11069 * paragraph_pimpl.C (erase): use boost::prior
11071 * Painter.C (text): use data() instead of c_str() when length is
11073 * WorkArea.C (putClipboard): ditto
11074 * font.h (width): ditto
11076 * BufferView2.C: use it-> instead of (*it). for iterators
11078 * paragraph_pimpl.C: ditto
11079 * paragraph.C: ditto
11080 * minibuffer.C: ditto
11081 * language.C: ditto
11083 * encoding.C: ditto
11084 * counters.C: ditto
11085 * converter.C: ditto
11087 * Variables.C: ditto
11088 * TextCache.C: ditto
11089 * MenuBackend.C: ditto
11090 * LyXAction.C: ditto
11092 * FloatList.C: ditto
11093 * DepTable.C: ditto
11094 * ColorHandler.C (LyXColorHandler): ditto
11096 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11098 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11100 * text2.C (openStuff): reintroduce this method (which had been
11101 nuked in NEW_INSETS frenzy).
11103 * lyxfunc.C (Dispatch): when an action has not been handled, use
11104 its name in the error message, not its number.
11106 * paragraph.C (inInset): change method name to begin with lowercase.
11109 * text2.C: updates because of this.
11111 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11113 * ToolbarDefaults.C (add): add spaces in error message
11115 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11117 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11118 (readLyXformat2): rename return_par to first_par, use lyxlex's
11119 pushToken and remove the manual push handling.
11120 (parseSingleLyXformat2Token): add another ert comp. variable:
11121 in_tabular, rename return_par to first_par. handle newlines better
11123 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11125 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11127 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11129 * text2.C (getParFromID): removed
11131 * buffer.C (getParFromID): new method moved form lyxtext.
11132 * BufferView2.C (insertErrors): adjust
11133 (setCursorFromRow): adjust
11134 * BufferView_pimpl.C (restorePosition): adjust
11135 * lyxfunc.C (Dispatch): adjust
11136 * undo_funcs.C (textUndo): adjust
11138 (textHandleUndo): adjust
11139 (textHandleUndo): adjust
11141 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11143 * buffer.C: up' the LYX_FORMAT
11145 * lyxfont.h: turn NO_LATEX on as default
11147 * buffer.C (insertErtContents): new methods of tex style compability.
11148 (parseSingleLyXformat2Token): use it several places.
11149 * tabular.C (OldFormatRead): and here
11151 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * text2.C: remove some commented code.
11156 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11157 * trans.C: changes because of the above.
11159 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11161 * text2.C (setCounter): Fix counters bug with bibliography layout.
11163 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11165 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11166 own member functions
11167 (simpleTeXSpecialChars): ditto
11169 2001-07-06 Juergen Vigna <jug@sad.it>
11171 * a lot of files: changed the access to LyXText::status and the
11172 call of undo-functions.
11174 * undo.[Ch]: added a inset_id to the undo informations.
11176 * undo_funcs.[Ch]: added and moved here all undo functions.
11178 * lyxtext.h: give the status enum a weight, made status_ a private
11179 variable and made accessor functions for it, removed the whole bunch
11180 of undo-functions as they are now in their own file, make some
11181 functions publically available. Added function ownerParagraph with
11184 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11185 made InInset() a const function, added getParFromID() function.
11187 * buffer.[Ch]: added const version for inset_iterator functions,
11188 added getInsetFromID() function.
11190 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11191 changed undo functions for new version.
11193 2001-07-05 Juergen Vigna <jug@sad.it>
11195 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11196 unknow mechanism does not call the proper constructor but only this
11197 one also if I request the other!?
11199 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11201 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11203 * text2.C (LyXText): use initialization lists.
11205 * lyxtext.h (Selection): initialize set_ and mark_
11206 (init): remove method
11208 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11210 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11212 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * screen.[Ch]: change method names to begin with lowercase
11216 * BufferView_pimpl.C (updateScrollbar): simplify further and
11217 hopefully make it a bit faster.
11219 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11221 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11222 calling directly xforms functions.
11224 * Painter.C (Painter):
11225 * lyx_cb.C (MenuWrite):
11226 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11229 * lyx_gui.C: remove bogus guiruntime extern declaration.
11231 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11233 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11235 (redoDrawingOfParagraph): ditto
11236 (redoParagraphs): ditto
11237 (cutSelection): don't create a object for CutAndPaste use the
11238 static method directly
11239 (pasteSelection): ditto
11241 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11244 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11246 * modifications to some other files because of this.
11248 * Makefile.am (lyx_SOURCES): add XFormsView
11250 * XFormsView.[Ch]: new files
11252 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11253 the main window. Move the gui dependent stuff to XFormsView
11255 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11257 * tabular.C (GetCellInset): update cur_cell also in the row/col
11258 version of this function.
11260 * lyxfunc.C: no need to include figure_form.h here.
11266 * lyxvc.C: no need to include forms.h here.
11268 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11270 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11272 * lyxfunc.C (Dispatch):
11274 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11275 constructor argument.
11277 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11279 * paragraph.C (Paragraph): dont't clear, and just set layout.
11280 (makeSameLayout): use params's copy contructor.
11282 * ParagraphParameters.[Ch] (makeSame): delete method
11284 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11286 * Variables.[Ch]: fix indentation, rename set to isSet
11288 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11290 * lyxfunc.C (Dispatch): fix typo
11292 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11294 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11297 * bufferlist.C: include assert.h for emergencyWrite().
11299 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11301 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11302 give up at last (bug #425202) !
11304 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11310 * spellchecker.C: strip spellchecker options and bring up
11311 preferences tab instead
11313 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11315 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11316 the istringstream constructor
11318 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11320 * paragraph.C (getLayout): fix return value
11322 * paragraph.h: do not declare getLayout as inline.
11324 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11326 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11328 * lyxcursor.h (operator<): new func
11329 (operator>): new func
11330 (operator>=): new func
11331 (operator<=): new func
11333 * text.C (changeCase): use selection.start and selection.end
11334 (changeRegionCase): require from to be <= to. Require par to be a
11337 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11339 2001-06-27 Juergen Vigna <jug@sad.it>
11341 * text.C (cursorLeftOneWord): changed to return the cursor and added
11342 overlay with BufferView * parameter which calls this one.
11344 (selectWord): use new getWord function.
11345 (changeCase): renamed from changeWordCase as and extended to work
11346 also on selections.
11348 * lyxtext.h: added enum word_location
11350 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11351 changeCase as this operates now also on selections.
11353 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11355 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11357 * many files: send debug output to Debug::INFO instead of
11360 * converter.C (View):
11362 (Move): send debug output to Debug::FILES instead of console.
11364 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11366 * lyxfunc.C (getStatus): use func_status
11368 * func_status.h: new header, describing the results of
11369 LyXFunc::getStatus;
11371 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11374 2001-06-25 The LyX Project <jug@sad.it>
11376 * buffer.C (sgmlOpenTag):
11378 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11380 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * text2.C: remove some dead code
11384 * tabular.C (GetCellInset): store the last cell checked (gotten)
11386 * tabular.h: add the helper for the speedup
11388 * lyxtext.h: remove some dead code
11390 2001-06-26 The LyX Project <Asger>
11392 * paragraph.C: Change export to LaTeX of alignment to
11393 \begin{center} and family for better roundtrip work with reLyX.
11395 * Tune the math drawing a bit.
11397 2001-06-25 The LyX Project <Asger>
11399 * LColor.C (LColor): New color for math background. New color
11402 2001-06-25 The LyX Project <jug@sad.it>
11404 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11406 * lyxfunc.C (Open):
11407 * bufferlist.C (newFile): do not restrict to files ending with
11410 * BufferView_pimpl.C (MenuInsertLyXFile):
11412 2001-06-24 The LyX Project <jug@sad.it>
11414 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11417 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * lyxtext.h: rename most methods to begin with a small char.
11420 Lots of changes because of this.
11422 * paragraph.C (Paragraph): do not call fitToSize
11423 (erase): call Pimpl::erase
11424 (insertChar): call Pimpl::insertChar
11425 (insertInset): call Pipl::insertInset
11426 (breakParagraph): do not call fitToSize
11427 (breakParagraphConservative): do not call fitToSize
11428 (fitToSize): remove method
11430 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11432 2001-06-24 The LyX Project <Asger>
11434 * Fix Qt compilation^2
11436 2001-06-24 The LyX Project <jug@sad.it>
11438 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11439 depthHook(getDepth()-1).
11442 * ParagraphParameters.h:
11443 * ParameterStruct.h: change type of depth to unsigned int ==
11444 depth_type. Many adaptations to other files before of that.
11446 2001-06-24 The LyX Project <Asger>
11448 * Fix Qt compilation.
11450 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * paragraph.h: renamed several methods to begin with small letter.
11453 several changes to many parts of the code because of this.
11455 2001-06-23 The LyX Project <jug@sad.it>
11457 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11458 rewritten to discard all double spaces when KeepEmpty is off
11459 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11460 to only handle newlines but not fiddle with spaces and friends.
11462 * lyxfunc.C (MenuNew): when doing 'new from template', use
11463 template_path as default directory
11465 2001-06-23 The LyX Project <Asger>
11467 * Clean-up of header file includes all over
11468 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11470 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11472 * paragraph.h: renamed from lyxparagraph.h
11474 2001-06-23 Asger <lyx@violet.home.sad.it>
11476 * Buffer.h: Removed Buffer::resize
11477 * BufferList.h: Removed BufferList::resize
11478 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11479 the document lazily when we change the width, or the font settings.
11481 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11483 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11485 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11487 * buffer.h: remove out of date comment
11489 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11492 * screen.C: fix "theoretical" GC leak
11494 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * LaTeX.C (scanAuxFile):
11497 (deplog): remove trailing \r when reading stream (useful under
11500 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11502 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11503 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11504 and BufferView::theLockingInset(Inset*), so should use them and not
11505 access bv_->text->the_locking_inset directly.
11507 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11509 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11512 * tex-defs.h: remove old unused file
11514 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11516 * BufferView_pimpl.C: fix typo, remove minibuffer message
11517 when buffer has loaded
11519 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11521 * lyxfunc.C (Dispatch): use stringstream
11522 (MenuNew): use stringstream
11523 (Open): use stringstream
11525 * importer.C (Import): use stringstream
11527 * bufferview_funcs.C (CurrentState): use stringstream
11529 * LaTeX.C (run): use stringstream
11531 * BufferView_pimpl.C (savePosition): use stringstream
11532 (restorePosition): use stringstream
11533 (MenuInsertLyXFile): use stringstream
11535 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11548 * vspace.C: removed // -*- C++ -*- as first line.
11551 * version.h: added // -*- C++ -*- as first line.
11553 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11555 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11557 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11560 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11562 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11565 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11567 * gettext.C: include LString.h even when --disable-nls is on.
11569 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11571 * converter.h (Get): changed argument type from int to
11572 FormatList::size_type to avoid unnecessary conversion.
11574 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11577 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11579 * gettext.h: include LString.h even when --disable-nls is on.
11581 2001-06-07 Juergen Vigna <jug@sad.it>
11583 * text.C (BreakAgain): subst spaces with tabs.
11585 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11586 (resizeInsetsLyXText): set force on resizeLyXText.
11588 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11590 * gettext.h (gettext_init):
11591 (locale_init): use a real definition instead of a macro
11593 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11595 * Bufferview_pimpl.C:
11597 * LColor.C: further lcolor tidies
11599 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11601 * BufferView_pimpl.C (updateScrollbar): simplify.
11603 * BufferView2.C: don't include insets/insetinfo.h, change
11604 prototype for insertInset and call the Pimpl version. let
11605 updateInset call Pimpl version.
11607 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11608 gotoInset to BufferView::Pimpl
11610 2001-06-01 Juergen Vigna <jug@sad.it>
11612 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11613 inside a LockingInset (is the update needed at all?).
11615 2001-05-31 Juergen Vigna <jug@sad.it>
11617 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11618 here not the old one otherwise how should we compare it afterwards
11621 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * FontInfo.C: bring C functions into global namespace when
11629 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11631 * LString.h: make sure config.h has been loaded before LString.h.
11633 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11634 (one for each char read by EatLine!).
11636 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11639 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11642 to the same as the par we break from
11644 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11648 * MenuBackend.C (expand): also create menu entries for wide
11649 versions of the floats.
11651 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11653 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11655 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11656 frontends/Makefile.am
11662 * tabular.C (getTokenValue): add std::
11664 * tabular-old.C (getTokenValue): add std::
11665 (getTokenValue): ditto
11666 (getTokenValue): ditto
11668 * screen.C (ToggleSelection): adjust
11670 * lyxtext.h: put selection cursors inside a Selection struct.
11672 * lyxfunc.C (moveCursorUpdate): adjust
11674 * lyxfont.C (latexWriteStartChanges): add std::
11676 * lyxfind.C: adjust
11678 * font.h: delete with(char const *, LyXFont const &)
11680 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11682 * FontInfo.C (getFontname): add std::
11684 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11685 (workAreaButtonPress): adjust
11686 (tripleClick): adjust
11688 (moveCursorUpdate): adjust
11691 * BufferView2.C (gotoInset): adjust
11693 2001-05-30 Juergen Vigna <jug@sad.it>
11695 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11696 to check pspell I add this as default as I now have new pspell
11697 libraries and they seem to use this.
11699 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11701 * text2.C (CutSelection): make the cursor valid before the call to
11704 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11706 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11707 relied on 0 terminated strings and other horrors. Bug found due to
11708 the new assert in lyxstring!
11710 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11713 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11715 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11718 * lyxfunc.C (processKeySym): change method of getting to the
11721 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11722 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11723 * BufferView_pimpl.[Ch]: here as private methods.
11725 2001-05-28 Juergen Vigna <jug@sad.it>
11727 * text.C (SetHeightOfRow): added the update() call again as it is
11728 needed to initialize inset dimensions!
11730 2001-05-16 Juergen Vigna <jug@sad.it>
11732 * text2.C (SetCharFont): Add new function with BufferView * and
11733 bool toggleall parameters for setting insets internal fonts.
11734 (SetFont): Freeze the undo as we may change fonts in Insets and
11735 all this change should be inside only one Undo!
11737 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11738 setting font's in insets as for them we have the SetFont function!
11740 2001-05-15 Juergen Vigna <jug@sad.it>
11742 * text2.C (ClearSelection): to be sure we REALLY don't have any
11745 * tabular.C (TeXCellPreamble): fixed the left border problem for
11748 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11750 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11753 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11755 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11756 LFUN_BREAKPARAGRAPH.
11758 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11759 help test to "internal only", similar for LFUN_INSERT_URL
11761 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11762 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11763 auto_region_delete and deadkeys.
11765 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11768 * LColor.C: remove some dead entries, tidy a little
11770 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11772 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11774 (Dispatch): implement LFUN_ESCAPE
11776 * commandtags.h: add LFUN_ESCAPE
11778 * LyXAction.C (init): add entry for LFUN_ESCAPE
11780 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11781 Remove commented code.
11782 (insertNote): moved here
11783 (open_new_inset): moved here
11785 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11788 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11790 * kbmap.C (findbinding): clean it up and make it work correctly.
11792 * lyx_main.C (init): do not pass argc and argv as parameters
11794 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11796 * buffer.C: fix path for OS/2 & Win32
11800 * lyx_main.C: Added os:: class.
11802 * os2_defines.h: update
11804 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11806 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11807 better by trying again with reduced state.
11809 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11811 * lyxrc.C (read): print error about invalid key sequence only when
11812 debugging (because not all latinX keysyms are known to some X
11815 * kbsequence.C (getiso): add a few std:: qualifiers
11816 (getiso): comment out extra return statement.
11818 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11820 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11822 (Dispatch): enhance the accent inset a bit. (not perfect)
11824 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11828 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * bufferlist.C (emergencyWrite): fix assert() call
11832 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11834 * text.C (InsertChar): Added trivial patch to only send the "you
11835 can not do multiple spaces this way" message once during a
11838 2001-05-08 Baruch Even <baruch@lyx.org>
11840 * Makefile.am: Changed order of libraries to get LyX to link properly
11841 with the gnome frontend.
11843 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11845 * LaTeXFeatures.h: add a std:: qualifier
11847 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11849 * paragraph.C (String): use stringstream
11851 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11853 * paragraph.C (writeFile): remove footflag arg
11855 * buffer.C (makeLaTeXFile): use stringstream
11856 (latexParagraphs): remove footnot gurba
11858 * LaTeXFeatures.C (getPackages): use stringstream
11859 (getMacros): likewise
11860 (getTClassPreamble): likewise
11861 (getFloatDefinitions): new method
11863 * paragraph.C (writeFile): reindent
11866 * WorkArea.h: revert the xpos + etc changes.
11868 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11870 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11872 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11873 (pasteSelection): likewise
11874 * text2.C (CreateUndo): likewise
11876 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * minibuffer.C (peek_event): temporarily reduce the functionality
11879 of the minibuffer (to allow args on lfuns)
11881 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11882 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11884 * buffer.C (readInset): add compability reading of old float
11885 lists, add reading of new style float list.
11886 (readInset): avoid reevaluation of inscmd.getCmdName()
11887 (getLists): reindent
11889 * MenuBackend.C (MenuItem): implement parsing of
11890 md_floatlistinsert and md_floatinsert.
11891 (expand::LastFiles): move initalizaton of iterators out of loop,
11892 avoid reevaluation.
11893 (expand::Documents): introduce typdedef vector<string> Strings,
11895 (expand::ExportFormats): introduce typedef vector<Format const *>
11896 Formats, and use it.
11897 (expand): implement FloatListInsert and FloatInsert.
11899 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11900 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11901 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11903 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11905 (Dispatch::LFUN_FLOAT_LIST): implement
11907 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11909 * LaTeX.C (run): Fix problem with --export code.
11911 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11913 * BufferView.[Ch] (workarea): removed.
11914 (getClipboard) new method; wrapper for workarea()->getClipboard()
11916 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11919 * WorkArea.h (width, height, xpos, ypos): These methods all
11920 returned the dimensions of the work_area sub-area of WorkArea,
11921 resulting in a position error if the WorkArea were resized. Now
11922 return the dimensions of the entire WorkArea.
11924 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11926 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * LaTeX.C (deplog): correct the syntax of regex reg1
11930 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11932 * undo.C: remove !NEW_INSETS cruft
11934 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * text2.C: remove !NEW_INSETS cruft
11938 * text.C: remove !NEW_INSETS cruft
11940 * tabular.C: remove !NEW_INSETS cruft
11942 * spellchecker.C: remove !NEW_INSETS cruft
11944 * lyxtext.h: remove !NEW_INSETS cruft
11946 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11948 * lyxfunc.C: remove !NEW_INSETS cruft
11950 * lyxfind.C: remove !NEW_INSETS cruft
11952 * lyx_cb.C: remove !NEW_INSETS cruft
11954 * figureForm.C: remove !NEW_INSETS cruft
11956 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11958 * buffer.[Ch]: remove !NEW_INSETS cruft
11960 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11962 * CutAndPaste.C: remove !NEW_INSETS cruft
11964 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11966 * BufferView2.C: remove !NEW_INSETS cruft
11968 * BufferView.h: remove !NEW_INSETS cruft
11970 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11972 * Lsstream.h: include LString.h before the sstream headers to
11973 fix problem with gcc 2.95.3 and lyxstring
11975 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11977 * lyx_main.C: add using directives when needed for C functions
11978 declared in std:: namespace.
11980 2001-04-27 Juergen Vigna <jug@sad.it>
11982 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11983 (SetHeightOfRow): comment out the update call should not be needed!
11985 2001-04-13 Juergen Vigna <jug@sad.it>
11987 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11988 (LyXTabular): tried to minimize operator= operations (and realized
11989 hopfully Lars wish).
11991 2001-04-27 Juergen Vigna <jug@sad.it>
11993 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11995 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11999 * buffer.C (readInset): hack to make listof algorithm work
12001 * BufferView_pimpl.C: hack to make listof algorithm work
12003 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * LyXAction.C: removed all !NEW_INSETS cruft
12006 (init): moved lfun_item in method
12008 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12010 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12012 * BufferView2.C (theLockingInset): white space.
12014 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12016 * minibuffer.C: include <iostream>
12018 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12020 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12022 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12024 * text.[Ch] (TransposeChars): new method
12026 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12028 * call message directly through LyXView instead of through LyXFunc
12029 * BufferView2.C: adjust
12030 * BufferView_pimpl.C: adjust
12031 * FontLoader.C: adjust
12033 * bufferview_funcs.C: adjust
12034 * converter.C: adjust
12035 * figureForm.C: adjust
12036 * importer.C: adjust
12038 * lyx_gui_misc.C: adjust
12039 * lyxfunc.C: adjust
12042 + more files in subdirs
12044 * lyxparagraph.h (size): move up int file
12047 * adjust all uses of Assert to lyx::Assert.
12049 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12050 lyxfunctional in namespace lyx
12051 * layout.C (hasLayout): ditto
12054 (delete_layout): ditto
12055 (NumberOfClass): ditto
12056 * converter.C (GetFormat): ditto
12061 * bufferlist.C (getFileNames): ditto
12062 (emergencyWriteAll): ditto
12065 * MenuBackend.C (hasSubmenu): ditto
12068 * BufferView_pimpl.C (getInsetByCode): ditto
12070 2001-04-18 Juergen Vigna <jug@sad.it>
12072 * vspace.C (asLatexString): fixed the 100% problem.
12074 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12076 * lyxfunc.C (Dispatch):
12078 * minibuffer.h: add a few std:: qualifiers
12080 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * minibuffer.[Ch]: reimplement so that commands is initiated and
12083 run from lyxfunc, simplified som handling, and made the completion
12084 and history code for complete. wip.
12086 * lyxfunc.C (processKeySym): call message
12087 (miniDispatch): new temporary method
12088 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12089 (LFUN_MESSAGE): implement
12090 (LFUN_MESSAGE_PUSH): implement
12091 (LFUN_MESSAGE_POP): implement
12092 (initMiniBuffer): the initial/defualt minibuffer message.
12094 * lyxfont.[Ch]: inline some more getters
12096 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12098 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12100 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12101 (AutoSave): use LFUN_MESSAGE
12102 (Reconfigure): ditto
12104 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12106 * figureForm.C: use LFUN_MESSAGE
12108 * converter.C (runLaTeX): use LFUN_MESSAGE
12110 * bufferview_funcs.C: use LFUN_MESSAGE
12112 (changeDepth): ditto
12114 * bufferparams.h: use boost::
12116 * bufferlist.h: inherit privately from noncopyable
12118 * bufferlist.C (loadLyXFile): remove some commented code.
12120 * buffer.C (runChktex): use LFUN_MESSAGE
12122 * ShareContainer.h: inherit privately from noncopyable
12124 * ParagraphParameters.[hC] (depth): inline it.
12126 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12128 (message): new method
12129 (messagePush): ditto
12130 (messagePop): ditto
12131 (show): init minibuffer
12132 (showState): direct call
12134 * LaTeX.[Ch]: inherit privately from noncopyable
12135 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12136 instead of WriteStatus.
12138 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12140 * BufferView_pimpl.C (buffer): don't init minibuffer
12141 (workAreaButtonPress): use LFUN_MESSAGE
12142 (workAreaButtonRelease): ditto
12143 (savePosition): ditto
12144 (restorePosition): ditto
12145 (MenuInsertLyXFile): ditto
12146 (workAreaExpose): don't init minibuffer
12147 (update): remove commented code, simplify
12149 * BufferView2.C (openStuff): use LFUN_MESSAGE
12150 (toggleFloat): ditto
12153 (copyEnvironment): ditto
12154 (pasteEnvironment): ditto
12159 (updateInset): remove some commented code
12161 * lastfiles.h: inherit privately from noncopyable
12164 * lyx_main.h: ditto
12166 * lyxlex_pimpl.h: ditto
12168 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12169 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12170 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12172 * LyXAction.h: inherit privately from noncopyable, add methods
12173 func_begin, func_end, returning iterators to the func map.
12175 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12176 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12177 (func_begin): new method
12178 (func_end): new method
12180 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12182 (copySelection): ditto
12183 (pasteSelection): ditto
12185 * BufferView.C: whitespace change
12186 * BufferView.h: inherit privately from noncopyable
12188 2001-04-16 Allan Rae <rae@lyx.org>
12190 * tabular-old.C (l_getline):
12191 * spellchecker.C (sc_check_word):
12192 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12193 an unrecognised preprocessor directive. So ensure they're wrapped.
12195 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12197 * src/exporter.C (Export): Give an error message when path to file
12200 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12202 * LaTeX.C (deplog): Always check that foundfile exists.
12204 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12207 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12209 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * tabular.[Ch] (getLabelList): implement new method
12213 * minibuffer.h: comment ouf setTiimer
12215 * minibuffer.C (ExecutingCB): constify res
12216 (peek_event): constify s
12217 (Set): constify ntext
12218 (Init): constify nicename
12220 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12222 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12223 (savePosition): use two params to Minibuffer::Set
12224 (restorePosition): ditto
12226 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12228 * lyx_main.C: include language.h
12230 * Makefile.am (lyx_main.o): add language.h
12232 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12238 * CutAndPaste.C: include gettext.h
12240 * lyxfont.h: remove old hack with ON and OFF.
12243 * lyxfont.h: do not include language.h...
12248 * bufferview_funcs.C:
12254 * paragraph.C: ... but do it here instead
12256 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12258 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12260 * tabular.C: small reformat
12262 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12265 (BreakParagraph): ditto
12266 (SetOnlyLayout): ditto
12269 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12272 * lastfiles.C: removed most using decl, add std:: where needed
12274 * buffer.C: ws changes
12276 * MenuBackend.C (class compare_format): put into anon namespace
12277 (expand): constify label, names, action, action2
12280 * text.C (SingleWidth): constify font
12281 (IsBoundary): constify rtl2
12282 (GetVisibleRow): constify ww
12284 * LaTeX.C (deplog): constify logfile
12286 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12288 (workAreaExpose): constify widthChange, heightChange
12290 * lyxrow.C (par): moved
12293 * lyxrow.h: as inlines here
12295 * lyxfont.h (shape): moved from lyxfont.C
12296 (emph): moved from lyxfont.C
12298 * lyxfont.C (LyXFont): use initialization list for all
12300 (shape): move to lyxfont.h as inline
12301 (emph): move to lyxfont.h as inline
12304 2001-04-04 Juergen Vigna <jug@sad.it>
12306 * vspace.C: had to include stdio.h for use of sscanf
12308 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12311 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12312 independent of xforms.
12314 2001-04-02 Juergen Vigna <jug@sad.it>
12316 * spellchecker.C: fixed namespace placing!
12318 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12320 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12321 the LyXParagraph * is 0.
12323 2001-03-29 Juergen Vigna <jug@sad.it>
12325 * vspace.C: added support for %, c%, p%, l%.
12326 (stringFromUnit): added helper function.
12327 (asLatexString): changed to give right results for the %-values.
12329 * buffer.C: convert the widthp in a width%.
12331 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12333 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12336 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12337 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12339 * lyx_cb.[Ch]: see above.
12341 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12345 * lyx.[Ch]: replaced by figure_form.[Ch].
12349 * lyxfunc.C: changed headers associated with above changes.
12351 2001-03-27 Juergen Vigna <jug@sad.it>
12353 * BufferView_pimpl.C: set the temporary cursor right!
12355 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12357 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12359 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12361 * LString.h: removed "using std::getline"!
12363 * BufferView_pimpl.C (Dispatch): changes due to changes in
12364 InsetInclude::Params.
12366 * buffer.C (tag_name): removed redundant break statements as they were
12367 producing lots of warnings with my compiler.
12369 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * LString.h: add "using std::getline" when using the real <string>.
12373 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12375 * buffer.C: removed bitset usage.
12376 PAR_TAG moved to an anonymous name space.
12377 (tag_name): new funtion, also in the anonymous namespace.
12378 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12379 (makeDocBookFile): clean code. Completed transition from string arrays
12381 (SimpleDocBookOnePar): code clean.
12383 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12385 * tabular.C: add some comments.
12387 2001-03-22 Juergen Vigna <jug@sad.it>
12389 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12390 compatibility read a bit and fixed bug with minipage in different
12393 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12395 * buffer.C (pop_tag): removed.
12396 (push_tag): removed.
12397 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12398 array replaced with vector. Added support for CDATA sections.
12399 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12401 (makeDocBookFile): XML conformant declaration of CDATA section,
12402 fixed bug related to <emphasis> in the first paragraph char.
12403 (sgmlOpenTag): exclude empty tags.
12404 (sgmlCloseTag): ditto.
12406 * buffer.h (pop_tag): removed.
12407 (push_tag): removed.
12409 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12411 * language.h (Languages): added size_type and size().
12413 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12415 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12416 response on compability reading of minipages. One probliem is that
12417 the old usage of minipages was «flertydig»
12419 * several files here and in subdirs: don't use static at file
12420 scope use anon namespaces instead.
12422 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12424 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12425 LaTeX output. This is necessary for Literate document
12428 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12430 * buffer.C: insert hfill when needed.
12432 * tabular.C (l_getline): use string::erase, small whitespace change.
12434 * BufferView_pimpl.C: try the anon namespace.
12435 * WorkArea.C: ditto
12437 2001-03-16 Juergen Vigna <jug@sad.it>
12439 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12440 otherwise it won't open options-dialogs.
12442 * buffer.C: honor pextraWidth(p) on converting minipages.
12444 * tabular.C (l_getline): changed the functions to strip trailing \r.
12446 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12448 * BufferView_pimpl.C:
12449 * minibuffer..C: added "using SigC::slot" declaration.
12451 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12453 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12459 * paragraph.C: ditto
12461 * lyxtext.h: NO_PEXTRA
12463 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12465 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12466 * ParameterStruct.h: ditto
12467 * ParagraphParameters.h: ditto
12468 * lyxparagraph.h: ditto
12470 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12472 * buffer.C: add compability for minipage alignment.
12473 (latexParagraphs): remove unwanted pextra check.
12475 * several files: remove CXX_WORKING_NAMESPACES
12477 * buffer.C (pop_tag): tie is in namespace boost
12479 * BufferView.h: noncopyable is in namespace boost
12481 * lyx_main.h: ditto
12484 * lastfiles.h: ditto
12485 * bufferlist.h: ditto
12486 * ShareContainer.h: ditto
12488 * LyXAction.h: ditto
12491 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12493 * Merging changes from BRANCH_MVC back into HEAD.
12495 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12497 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12499 * BufferView_pimpl.C: change from intl.C
12503 * Makefile.am: move combox.*
12509 * intl.C: remove dialog (covered by prefs)
12511 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12513 * lyxfunc.C (Dispatch): removed redundant break statement.
12515 2001-03-14 Juergen Vigna <jug@sad.it>
12517 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12519 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12521 * buffer.C: add hack to fix compability reading of minipages.
12523 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12525 * buffer.C (getLists): Cleanup.
12527 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * lyxfont.C (update): don't honor toggleall on font size.
12531 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12535 * Makefile.am: moved to frontends/xforms/
12539 * BufferView_pimpl.C: changes for moved mathpanel
12541 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12543 * gettext.h: fix gettext_init() in --disable-nls
12545 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12547 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12549 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12552 * lyx.h: strip external form
12554 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12556 * BufferView_pimpl.C: add comment, destroySplash()
12558 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12560 * BufferView_pimpl.C:
12564 * lyxfunc.C: use re-worked insetinclude
12566 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12568 * buffer.C: add using std::stringstream.
12570 * lyx_cb.C: readd using std::ios.
12572 * buffer.C: add using std::map.
12574 * BufferView_pimpl.C: add using std::vector.
12576 * ShareContainer.h: add std:: to swap.
12578 * buffer.h: add some typedefs
12579 * buffer.C (getLists): use them
12580 (getLists): renamed from getTocList.
12581 add a counter for the different float types and use it in the
12583 (getLists): use the same counter for the NEW_INSETS and the "non"
12586 * lyx_cb.h: remove unused items, includes, using etc.
12588 * ShareContainer.h: remove some commented code, add more comments
12589 and "documentation".
12591 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12593 * buffer.C (getTocList): make the list also when NEW_INSETS is
12596 * buffer.h: remove TocType
12598 * buffer.C (getTocList): change to return a map<string,
12599 vector<TocItem> >, implement for dynamic number of list.
12601 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12602 * text2.C (PasteSelection): adjust
12603 * CutAndPaste.C (pasteSelection): adjust
12605 * FloatList.C (FloatList): update from the new_insets branch.
12606 * Floating.[Ch]: ditto
12607 * LaTeXFeatures.C: ditto
12609 * lyxlex_pimpl.C: ditto
12611 * paragraph.C (Last): remove when NEW_INSETS is defined.
12613 * other file: changes because of the above.
12615 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12617 * lyxparagraph.h: rename next to next_, previous to previous_,
12618 make them private for NEW_INSETS. Rename Next() to next(),
12619 Previous() to previous().
12621 * other files: changes because of the above.
12623 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12626 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12629 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12631 * main.C (main): pass lyx_localedir to gettext_init().
12633 * gettext.h: remove locale_init and gettext_init macros
12635 * gettext.C (locale_init): new function
12636 (gettext_init): new function
12638 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12641 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12643 * Moved credits to frontends:
12644 * credits.[Ch]: removed
12645 * credits_form.[Ch]: removed
12646 * lyx_gui_misc.C: remove credits stuff
12649 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12651 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12653 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12654 unneeded destructor.
12656 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12657 a standalone pointer again.
12659 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12661 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12667 * ToolbarDefaults.C:
12676 * BufferView_pimpl.C: use new file dialog in GUII
12679 * lyx_cb.C: remove LayoutsCB to Toolbar
12681 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * ShareContainer.h (get): add std:: qualifier
12685 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * ShareContainer.h: define a proper ShareContainer::value_type
12688 type (and use typename to please compaq cxx)
12690 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12692 * lyxparagraph.h: move serveral local vars to
12693 ParameterStruct/ParagraphParameters., use ShareContainer in
12694 FontTable., make vars in FontTable private and add getter and
12697 * paragraph.C: changes because of the above.
12699 * lyxfont.h: remove copy constructor and copy assignment. (the
12700 default ones is ok), move number inside FontBits. move inlines to
12703 * lyxfont.C: add number to initializaton of statics, move several
12704 inlines here. constify several local vars. some whitespace
12705 cleanup. Dont hide outerscope variables.
12707 * Spacing.h: add two new constructors to match the set methods.
12709 * ShareContainer.h: new file, will perhaps be moved to support
12711 * ParameterStruct.h: new file
12713 * ParagraphParameters.h: new file
12715 * ParagraphParameters.C: new file
12717 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12718 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12720 * BufferView_pimpl.C: ParagraphParameter changes.
12721 * buffer.C: Likewise.
12722 * bufferview_funcs.C: Likewise.
12723 * text.C: Likewise.
12724 * text2.C: Likewise.
12726 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12728 * lyxfind.C (LyXReplace): do not redefine default argument in
12730 (IsStringInText): ditto
12731 (SearchForward): ditto
12732 (SearchBackward): ditto
12734 2001-03-06 Juergen Vigna <jug@sad.it>
12736 * lyxfind.C (IsStringInText): put parentes around expressions.
12738 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12740 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12742 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12744 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12746 * stl_string_fwd.h: add comment
12748 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12751 * tabular.C: remove unused DocBook methods
12757 killed DO_USE_DEFAULT_LANGUAGE
12759 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * lyx_gui.C: do not include language.h.
12763 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12764 arguments in function implementation.
12766 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12768 * BufferView_pimpl.C: add <ctime>
12770 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12772 * BufferView_pimpl.C: add using std::find_if
12774 2001-02-27 José Matos <jamatos@fep.up.pt>
12776 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12779 2001-02-11 José Matos <jamatos@fep.up.pt>
12781 * buffer.C (makeDocBookFile): command styles now have a parameter as
12782 "title" by default.
12784 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12786 * layout_forms.[Ch]: removed
12787 * lyx_cb.[Ch]: out character
12788 * lyx_gui.C: out character
12789 * lyx_gui_misc.C: out character
12790 * bufferview_funcs.C: : out character,
12791 added toggleall as parameter in ToggleAndShow
12793 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12795 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12797 * text2.C (SetCurrentFont): Disable number property at boundary.
12799 2001-02-26 Juergen Vigna <jug@sad.it>
12801 * lyxfunc.C (getStatus): added a string argument override function so
12802 that this is correctly called from LyXFunc::Dispatch if it contains a
12803 do_not_use_argument which is used!
12804 (Dispatch): added check for "custom" export and call appropriate func.
12806 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12808 * lyxrc.C: Add language_command_local, language_use_babel and
12809 language_global_options.
12811 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12813 * buffer.C (makeLaTeXFile): Use language_use_babel and
12814 language_global_options.
12816 2001-02-23 Juergen Vigna <jug@sad.it>
12818 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12819 which works with LyXText and putted it inside BufferView. Here now we
12820 only call for that part the BufferView::Dispatch() function.
12822 * BufferView.C (Dispatch): added.
12824 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12825 functions which needs to use a LyXText over from LyXFunc.
12826 (MenuInsertLyXFile): added
12827 (getInsetByCode): added
12828 (moveCursorUpdate): added
12829 (static TEXT): added
12831 2001-02-22 Juergen Vigna <jug@sad.it>
12833 * BufferView_pimpl.C (update): call a status update to see if LyXText
12836 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12838 * vc-backend.C (revert): implement for CVS
12839 (getLog): implement for CVS
12841 2001-02-20 Juergen Vigna <jug@sad.it>
12843 * text2.C (ClearSelection): added BufferView param for inset_owner call
12845 * lyxfunc.C (TEXT): added this function and use it instead of
12846 directly owner->view()-text of getLyXText().
12848 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12850 * src/layout_forms.C: out preamble
12851 * src/layout_forms.h: out preamble
12852 * src/lyx_cb.C: out preamble
12853 * src/lyx_cb.h: out preamble
12854 * src/lyx_gui.C: out preamble
12855 * src/lyx_gui_misc.C: out preamble
12856 * src/lyxfunc.C: connect with guii preamble
12858 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12860 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12862 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12864 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12865 whether to run bibtex.
12867 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12869 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12871 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12873 * Makefile.am (lyx_SOURCES): removed bibforms.h
12875 * vspace.h: doxygen
12877 * text.C (GetVisibleRow): make several local vars const
12879 * tabular.C: small cleanup.
12881 * lyxserver.C (callback): use compare instead of strncmp
12883 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12884 inlines to after class or to paragraph.C
12886 * lyxfont.h: remove friend operator!=
12888 * converter.h: move friend bool operator< to non friend and after
12891 * combox.h: small cleanup
12893 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12894 to inlines after class def.
12896 * buffer.C (pop_tag): use string operations instead of strcmp
12898 * bmtable.c: doxygen, small cleanup
12900 * LaTeX.h: remove friend operator==
12902 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12914 * BufferView_pimpl.C:
12915 * BufferView.[Ch]: remove cruft
12917 2001-02-14 Juergen Vigna <jug@sad.it>
12919 * lyxfunc.C: removed #if 0 unused code
12921 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12923 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12925 * text2.C (SetSelection): added a BufferView * parameter
12927 2001-02-13 Juergen Vigna <jug@sad.it>
12929 * lyxfunc.C (Dispatch): fixed protected blank problem.
12930 * BufferView2.C (protectedBlank): added LyxText * parameter.
12932 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12933 (AppendColumn): same as above for column_info.
12935 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12936 (moveCursorUpdate): use a LyXText param for support of InsetText.
12938 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12939 (tripleClick): ditto
12941 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12943 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12945 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12947 * text2.C (SetSelection): set correct update status if inset_owner
12948 (ToggleFree): ditto
12950 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12952 * tabular.C: remove some commented code.
12954 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12956 * BufferView_pimpl.C: call hideSplash()
12958 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12961 * bibforms.h: remove
12964 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12965 add LFUN_CHILD_CREATE
12967 * counters.h: fix tiny typo
12972 * lyx.C: move splash to frontends/xforms/
12974 * lyx_gui_misc.C: move Include and Bibform to frontends
12976 * lyxvc.h: clarify comment
12978 * vspace.C: tiny housekeeping
12980 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12982 * text.C (PrepareToPrint): RTL Fix.
12984 * paragraph.C (GetUChar): New method.
12985 (String): Use GetUChar.
12987 * buffer.C (asciiParagraph): Use GetUChar.
12989 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12991 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12993 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12996 * buffer.C: rename to getLogName(), handle
12997 build log / latex log nicely
12999 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13002 * MenuBackend.h: remove support for reference menuitem type.
13004 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13006 * BufferView_pimpl.C: housekeeping
13007 * BufferView_pimpl.h:
13012 * minibuffer.h: move Timeout GUI-I
13014 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13016 * lyxrc.C (read): Update converters data-structures.
13018 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13020 * LaTeX.h (operator!=): add operator != for Aux_Info
13022 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13024 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13026 * LaTeXLog.C: deleted, useful code moved to Buffer
13029 * buffer.C: new function getLatexLogName()
13035 * lyxfunc.C: use frontends for LaTeX and VC logs
13037 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13039 * LaTeX.h: yet another std:: that Allan forgot.
13041 * Variables.C (set): renamed from isset(), because this clashes
13042 with some HP-UX macros (grr).
13044 2001-02-06 Allan Rae <rae@lyx.org>
13046 * LaTeX.h: Another bug fix. Missing std:: this time.
13048 2001-02-04 Allan Rae <rae@lyx.org>
13050 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13051 floats problem. I've left it commented out because it's not quite
13052 correct. It should also test that the current object is a table or
13053 figure inset. But I haven't gotten around to figuring out how to do
13054 that. I *think* it'll be something like: "table" == inset.type()
13056 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13059 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13061 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13062 all the citation/databases/styles in the auxilary file.
13063 (run): Rerun latex if there was a babel language error.
13065 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13067 * text.C (Backspace): Preserve the font when changing newline char
13069 (BreakParagraph): If the cursor is before a space, delete the space.
13071 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13073 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13075 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13076 new argument (code).
13077 (ChangeCitationsIfUnique): New method.
13079 * paragraph.C (GetPositionOfInset): Handle bibkey.
13081 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13083 * BufferView_pimpl.h: change type of Position::par_pos to
13084 LyXParagraph::size_type.
13086 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13088 * BufferView_pimpl.C (savePosition, restorePosition): Write
13089 messages to minibuffer.
13091 2001-01-28 José Matos <jamatos@fep.up.pt>
13093 * buffer.C (makeDocBookFile): adds support for document language.
13094 A silly restriction on the name of LatexCommand types where removed.
13095 Added support for CDATA sections, allows to chars unescaped, used
13096 among others in code, to avoid escape < and >.
13098 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13100 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13101 saved positions instrad of a stack. Furthermore, a position is
13102 stored using paragraph id/paragraph position.
13104 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13105 Remove LFUN_REF_BACK.
13107 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13109 * converter.C (dvipdfm_options): New method.
13111 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13113 * vspace.C (isValidLength): Fix for empty input string.
13115 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13117 * LyXAction.C (init): change description of LFUN_FIGURE to
13120 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13122 * LaTeX.C: add using directive
13124 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13126 * MenuBackend.C (expand): Fix the sorting of the formats.
13128 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13130 * lyx_main.C: tiny error message fix
13132 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13134 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13135 calling fl_initialize(). This fixes the problem with ',' as
13136 decimal separator in text files.
13138 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13140 * trans.C (process): Fix the keymap bug.
13142 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13144 * LaTeX.C (scanAuxFiles): New method. Provides support for
13145 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13146 (scanLogFile) Scan for "run BibTeX" messages.
13148 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13149 OT1 font encoding. Also, load the aecompl package if the ae
13152 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13154 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13156 * texrow.C (increasePos): turn two error messages into debug
13159 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13161 * LaTeX.C (scanAux): Handle the \@input macro.
13162 (runBibTeX): Use scanAux().
13164 * language.C (latex_options_): New field.
13166 * LaTeXFeatures.C (getMacros): Add language macros.
13168 * buffer.C (makeLaTeXFile): Small fix.
13170 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13174 * text2.C: add a using directive.
13176 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13181 * lyxfunc.C: kill LyXBell.
13183 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13185 * text.C (IsBoundary): Remove the error message
13187 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13189 * lyxrc.C (setDefaults): Correct initialization value for
13192 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13194 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13197 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13198 and GotoNextNote().
13200 * src/LyXAction.C: Added reference-next.
13202 * text.C (InsertChar): Use contains instead of strchr.
13204 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13206 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13208 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13209 alignment commands (when needed).
13211 * text.C (InsertChar): Add ':' to number separator chars.