1 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3 * paragraph_funcs.C (readParToken): report unknown insets as error
4 boxes. Use the outer paragraph as location (also for unknown
7 * factory.C (readInset): do not abort on reading an unknown inset.
10 2003-10-13 Angus Leeming <leeming@lyx.org>
12 * lyx_main.C (LyX): remove call to setDisplayTranslator().
14 * lyxrc.C: displayTranslator is now a function,
15 declared in GraphicsTypes.h.
17 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
19 * format.C: new placeholder $$a to pass the socket address.
21 * bufferlist.[Ch]: new function getBufferFromTmp.
23 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
24 files in the temporary dir.
26 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
28 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
30 * Makefile.am: add lyxsocket.[Ch].
32 * lyx_main.C (error_handler): handle SIGPIPE.
34 2003-10-13 André Pönitz <poenitz@gmx.net>
41 * undo_funcs.[Ch]: use paroffset_type instead of
42 ParagraphList::iterators to prevent multiple conversion
43 (and get a more robust interface)
45 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
47 * lyxfunc.C (dispatch): RESULT -> dispatch_result
49 * text3.C (dispatch): ditto
51 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
53 * LaTeX.C (handleFoundFile): move the static to smaller scope,
54 move the onlyfile, use onlyfile instead of foundfile in a couple
57 * DepTable.C (update): flush the error stream a bit more
59 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
61 * lyxserver.C (callback): adjust
63 * lyxfunc.C (getStatus): add a missing brace in commented code
64 (ensureBufferClean): reindent
65 (dispatch): delete version taking a string
67 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
69 * LaTeX.C (deplog): move found file handlig from here...
70 (handleFoundFile): .. to new function here.
71 (deplog): make sure to discover several files mentioned on the
74 2003-10-10 André Pönitz <poenitz@gmx.net>
81 * text3.C: fix some of the tabular crashes
83 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
85 * MenuBackend.C (binding): put debug message into Debug::KBMAP
87 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
89 2003-10-09 André Pönitz <poenitz@gmx.net>
91 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
106 * undo_funcs.C: adjust
108 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
110 * text2.C (incrementItemDepth): new function, use a backtracking
111 algorithm to discover the correct item depth.
112 (resetEnumCounterIfNeeded): new function, use a backtracking
113 algorithm to discover if counter reset is needed.
114 (setCounter): use them. Simplify a bit. Add different labels for
115 different item depths for itemize.
117 * paragraph.C (Paragraph): remove initialization of enumdepth
120 * paragraph.h: get rid of enumdepth, and use itemdepth both for
121 enumerate and itemize. Change the type of itemdepth to signed char.
123 2003-10-08 André Pönitz <poenitz@gmx.net>
125 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
130 * tabular.[Ch]: fix crash after 'row-insert'
132 2003-10-08 Angus Leeming <leeming@lyx.org>
134 Fix doxygen warnings.
136 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
137 Remove CutAndPaste:: prefix from header file declaration.
139 * LColor.h (fill): remove LColor:: prefix from declaration.
141 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
142 use lyx::depth_type rather than Paragraph::depth_type so that
143 header file and .C file match.
145 * converter.h (intToFormat): remove Converters:: prefix from declaration.
147 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
148 * aspell.C: \file aspell_local.C -> \file aspell.C
149 * gettext.C: \file gettext.C -> \file src/gettext.C
150 * gettext.h: \file gettext.h -> \file src/gettext.h
151 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
152 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
153 * text.C: \file text.C -> \file src/text.C
155 * toc.C: move comment so that doxygen is not confused.
157 2003-10-07 Angus Leeming <leeming@lyx.org>
159 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
161 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * aspell_local.h: add forgotten std::string's.
166 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
173 * text3.C: The Box patch. Fancybox support, minipage, parbox
175 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
181 * ParagraphParameters.h:
191 * lyxtextclasslist.h:
195 * textcursor.h: add <string> and other small fixes to make Lars'
196 std::string patch compile with STLport.
198 2003-10-06 Angus Leeming <leeming@lyx.org>
200 * LColor.h: Add missing #include <string>.
202 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * All most all file in all subdirs: Make <string> be the prefered
205 way of getting to std::string, add using declarations.
207 2003-10-06 André Pönitz <poenitz@gmx.net>
209 * metricsinfo.C: initialize LyXFont before changing attribute.
210 (fixes the 'math in \emph is upright' bug)
212 2003-10-06 André Pönitz <poenitz@gmx.net>
214 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
216 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
219 * paragraph_pimpl.C: Small fixes to build using STLport
221 2003-10-02 André Pönitz <poenitz@gmx.net>
224 * text3.C: move handling of LFUN_DEPTH *; fix #1360
226 2003-10-01 André Pönitz <poenitz@gmx.net>
228 * factory.C: assert early
230 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
232 * lyx_main.C: remove the global debug object
234 * debug.h: adjust for new debugstream
236 * debug.C: adjust for new debugstream and keep the global debug
239 2003-09-22 Angus Leeming <leeming@lyx.org>
241 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
242 of g++ which otherwise complain that the scoped_ptr destructor can't delete
243 an incomplete class LyXFont.
245 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
247 * factory.C: bug fix in branches
249 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
251 * lyxfunc.C (processKeySym): adjust
253 (dispatch): change arg name from ev to func, adjust
254 (sendDispatchMessage): ditto
256 * lyx_main.C (defaultKeyBindings): adjust keybindings
257 (deadKeyBindings): ditto
259 * kbsequence.C (addkey): return a FuncRequest
261 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
263 * kbmap.C (bind): take a FuncRequest as arg, adjust
266 (defkey): change to take a FuncRequest as arg, adjust
267 (findbinding): take a FuncRequest as arg, adjust.
269 * funcrequest.h (operator=): added
271 * funcrequest.C (FuncRequest): default kb_action changed from
272 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
274 * buffer.C (dispatch): simplify
275 (dispatch): adjust to take a FuncRequest as arg, adjust
277 * boost.C (assertion_failed): change assertion message slightly
279 * ToolbarBackend.C (read): simplify
281 * MenuBackend.C (binding): adjust call to findbinding, add a
282 message if no binding is found.
284 (expandToc): correct by adding a empty FuncRequest
286 * LyXAction.C: include <boost/assert.hpp>
287 (isPseudoAction): delete function
288 (LookupFunc): change name to...
289 (lookupFunc): this. change return type to FuncRequest.
290 (getActionName): take kb_action as arg, simplify
291 (funcHasFlag): add an assert, simplify.
293 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
295 * toc.C (action): return a FuncRequest, simplify
297 * lyxfunc.C (processKeySym): adjust
298 (getStatus): delete version that takes an int.
300 (dispatch): delete version that takes action as int
302 (sendDispatchMessage): simplify and adjust
304 * funcrequest.C (getArg): take unsigned int as arg
306 * ToolbarBackend.C (read): adjust
307 (add): delete version that takes func as a string.
308 (getIton): take a FuncRequest as arg
310 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
313 * MenuBackend.C (MenuItem): add a new construct that only takes a
314 Kind, simplify the constructor use for submenus.
316 (expandLastfiles): adjust
317 (expandDocuments): adjust
318 (expandFormats): adjust
319 (expandFloatListInsert): adjust
320 (expandFloatInsert): adjust
321 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
323 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
324 Remove class variables lyx_pseudo_map and lyx_arg_map
326 * LyXAction.C (searchActionArg): delete function
327 (getPseudoAction): delete function
328 (retrieveActionArg): delete function
329 (LookupFunc): make it return kb_action, simplify.
330 (getActionName): simplify
332 * factory.C (createInset): fix new bug
334 2003-09-19 Angus Leeming <leeming@lyx.org>
336 * CutAndPaste.C (pasteSelection): remove fudge used to set the
337 masterFilename_ parameter in the include inset.
339 * factory.C (createInset): changes due to the changes to InsetInclude.
341 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
343 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
345 2003-09-18 Angus Leeming <leeming@lyx.org>
348 * BufferView.C: pass the buffer when calling Inset::getLabelList,
349 Inset::fillWithBibKeys.
350 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
352 2003-09-18 Angus Leeming <leeming@lyx.org>
354 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
356 (ctor): pass and store a 'Buffer const &'
357 (buffer): new member function.
359 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
360 '*this' to the LaTeXFeatures ctor.
362 2003-09-18 Angus Leeming <leeming@lyx.org>
368 * text.C: rename EnumLColor as LColor_color.
370 2003-09-18 Angus Leeming <leeming@lyx.org>
372 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
373 remove #include "insets/insetbase.h" from cursor.h.
375 2003-09-18 Angus Leeming <leeming@lyx.org>
377 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
378 InsetOld_code to remove #include "inset.h".
380 * iterators.C: add #include "insets/inset.h"
382 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
384 * BufferView.C: remove more locking stuff that apparently doesn't
385 do anything sensible.
387 2003-09-16 André Pönitz <poenitz@gmx.net>
390 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
393 2003-09-16 Angus Leeming <leeming@lyx.org>
395 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
397 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
400 * paragraph.h: remove #include "lyxfont.h". Forward declare
403 2003-09-16 Angus Leeming <leeming@lyx.org>
405 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
406 of support/textutils.h.
407 (isWord): move the contents of support/textutils.h's IsWordChar here.
413 * text2.C: add #include "paragraph.h".
416 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
418 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
424 * LaTeX.C: use namespace alias for lyx::support::os
426 2003-09-16 Angus Leeming <leeming@lyx.org>
429 * bufferview_funcs.C:
434 * text.C: add #include "LColor.h".
436 2003-09-16 Angus Leeming <leeming@lyx.org>
438 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
439 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
441 Store the FontBits::color variable as an int rather than as an
442 LColor::colorso that we can move LColor.h out of the lyxfont.h header
445 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
446 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
447 string calls together.
449 * lyxrc.C: add #include "LColor.h".
451 2003-09-15 Angus Leeming <leeming@lyx.org>
453 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
456 2003-09-15 Angus Leeming <leeming@lyx.org>
458 * LColor.h: add an EnumLColor wrapper for LColor::color.
460 * lyxfont.[Ch] (color, setColor, realColor):
461 * lyxtext.h, text.C (backgroundColor):
462 pass EnumLColor args to/from the functions, rather than LColor::color
466 * lyxtext.h: forward declare EnumLColor.
468 * lyx_main.C: add #include "LColor.h".
470 2003-09-15 Angus Leeming <leeming@lyx.org>
472 * .cvsignore: add lyx-gtk.
474 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
479 * ParagraphParameters.C
493 * vc-backend.C: remove usage of STRCONV
495 2003-09-15 Angus Leeming <leeming@lyx.org>
497 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
498 explicitly define the color passed to the painter.
500 2003-09-15 Angus Leeming <leeming@lyx.org>
502 * bufferparams.C (BufferParams): reorder member initializers to avoid
505 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
507 * CutAndPaste.C (pasteSelection): remove an outdated #warning
508 * text.C (updateRowPositions): remove an unusual nop
510 2003-09-12 André Pönitz <poenitz@gmx.net>
512 * BufferView_pimpl.C:
521 * Counters.[Ch]: finish the 'automatic counters' job
523 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
525 * aspell.C: include <boost/assert.cpp> (compile fix)
527 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
529 * boost.C (assertion_failed): use lyx::support::abort instead of
532 2003-09-10 Angus Leeming <leeming@lyx.org>
534 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
535 with their _fwd progeny.
537 2003-09-09 Angus Leeming <leeming@lyx.org>
539 134 files throughtout the source tree: replace 'using namespace abc;'
540 directives with the appropriate 'using abc::xyz;' declarations.
542 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
544 * boost.C (emergencyCleanup): moved here from LAssert.c
545 (assertion_failed): new function, called by BOOST_ASSERT
547 * several files: change Assert to BOOST_ASSERT
549 2003-09-09 Angus Leeming <leeming@lyx.org>
551 * buffer.[Ch]: Add an Impl class and move Buffer's member
552 variables into it. As a result move several header files out of
555 Add header files to lots of .C files all over the tree as a result.
557 2003-09-09 Angus Leeming <leeming@lyx.org>
559 * buffer.[Ch]: make Buffer's member variables private. Add
562 Lots of changes all over the tree as a result.
564 2003-09-08 Angus Leeming <leeming@lyx.org>
566 * graph.C: #include <config.h>.
568 2003-09-08 Angus Leeming <leeming@lyx.org>
572 * BufferView_pimpl.C:
601 * toc.C: remove redundant using directives.
603 2003-09-07 Angus Leeming <leeming@lyx.org>
605 * LaTeXFeatures.h: remove #include "support/types.h".
606 * ToolbarBackend.h: remove #include <algorithm>.
607 * changes.h: remove #include <ctime>.
608 * debug.h: remove #include <iosfwd>.
609 * graph.h: remove #include "support/std_string.h".
610 * lyx_main.h: remove #include <csignal>.
611 * lyxlex_pimpl.h: remove #include <fstream>.
612 * sgml.h: remove #include <algorithm>, <utility>.
613 * toc.h: remove #include "support/std_ostream.h".
614 Add #include <iosfwd>.
616 2003-09-07 Angus Leeming <leeming@lyx.org>
618 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
620 * converter.h: forward declare LatexRunParams.
621 * encoding.h: remove #include "lyxrc.h".
622 * lyxtext.h: remove #include "LColor.h".
623 * lyxtextclass.h: remove #include "support/types.h".
624 * trans.h: remove #include "tex-accent.h".
625 * trans_mgr.h: remove #include "tex-accent.h".
626 * insets/inset.h: remove #include "support/types.h", <vector>.
627 * insets/insetcollapsable.h: remove #include "LColor.h".
628 * insets/insetinclude.h: remove #include "dimension.h".
629 * insets/insetlatexaccent.h: remove #include "dimension.h".
630 * insets/insetoptarg.h:: remove #include "insettext.h".
631 * insets/insettext.h: remove #include "dimension.h",
632 <boost/shared_ptr.hpp>
634 * insets/renderers.h: add #include "dimension.h".
635 * insets/updatableinset.h: add #include "support/types.h".
637 * many .C files: Associated changes.
639 2003-09-06 Angus Leeming <leeming@lyx.org>
641 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
642 one, inside testInvariant.
644 * PrinterParams.C: new file.
645 * PrinterParams.[Ch]: move the function bodies out of line.
647 2003-09-06 Angus Leeming <leeming@lyx.org>
649 * ParagraphParameters.h: forward declare ParameterStruct rather than
650 including its header file.
651 (depth): moved out-of-line.
653 2003-09-06 Angus Leeming <leeming@lyx.org>
655 * BufferView_pimpl.h:
658 * lyxfunc.h: forward declare LyXKeySym rather than
659 #include "frontends/LyXKeySym.h".
661 * BufferView_pimpl.C:
664 * lyxfunc.C: associated changes.
666 2003-09-06 Angus Leeming <leeming@lyx.org>
668 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
669 As a result, can remove the #include "insets/inset.h" from BufferView.h
671 2003-09-06 Angus Leeming <leeming@lyx.org>
673 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
674 As a result, can remove the #include "insets/inset.h" from BufferView.h
676 2003-09-06 Angus Leeming <leeming@lyx.org>
682 * bufferview_funcs.C:
683 * BufferView_pimpl.C:
688 * ParagraphParameters.C:
693 * frontends/controllers/ControlDocument.C:
694 * insets/insetcaption.C: rearrange the #includes into some sort of
697 * buffer.h: remove #includes ErrorList.h, undo.h
699 2003-09-06 Angus Leeming <leeming@lyx.org>
701 * support/types.h: add a 'depth_type' typedef, used to store the
702 nesting depth of a paragraph.
705 * ParameterStruct.h: use this lyx::depth_type typedef rather than
710 * ParagraphParameters.h:
711 * sgml.h: use lyx::depth_type rather than Paragraph or
712 ParameterStruct's depth_type.
715 * paragraph_funcs.h: no need to #include paragraph.h anymore.
718 * BufferView_pimpl.C:
720 * ParagraphParameters.C:
723 * bufferview_funcs.C:
730 * frontends/LyXView.C:
731 * frontends/controllers/ControlDocument.C:
732 * frontends/controllers/ControlErrorList.C:
733 * insets/insetbibitem.C:
734 * insets/insetbranch.C:
735 * insets/insetcaption.C:
736 * insets/insetcollapsable.C:
739 * insets/insetfloat.C:
740 * insets/insetfoot.C:
741 * insets/insetfootlike.C:
742 * insets/insetnewline.C:
743 * insets/insetquotes.C:
744 * insets/insettabular.C:
745 * insets/insettext.C:
746 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
748 * frontends/controllers/ControlChanges.C: #include "changes.h".
750 2003-09-06 Angus Leeming <leeming@lyx.org>
752 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
753 than #including paragraph.h.
756 * RowList.h: deleted. Superfluous.
766 * insets/insettext.h: use ParagraphList_fwd.h rather than
769 * paragraph.h: don't forward declare ParagraphList.
772 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
773 rather than ParagraphList.h. paragraph.h is still needed for the
774 Paragraph::depth_type parameters.
776 * textcursor.h: enable it to compile stand-alone in light of the
779 * bufferview_funcs.C:
791 * frontends/controllers/ControlParagraph.C:
792 * frontends/controllers/ControlTabular.C:
793 * insets/insetmarginal.C:
794 * insets/insetminipage.C:
795 * insets/insetnote.C:
796 * insets/insetoptarg.C: add header files needed to compile again.
798 2003-09-06 Angus Leeming <leeming@lyx.org>
800 * RowList_fwd.h: new file, forward-declaring Row rather than
806 * insets/insettext.h: use it instead of RowList.h
808 * bufferview_funcs.C:
815 * text3.C: #include "RowList.h".
817 2003-09-05 Angus Leeming <leeming@lyx.org>
819 * factory.C (createInset):
820 * vspace.C (c-tor): replace sscanf call with an istringstream.
821 * ispell.C: re-add missing HP/UX headers.
822 * lyxserver.C: re-add missing os2 headers.
824 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
833 * text3.C: re-add missing system headers, needed for 2.95.2.
835 2003-09-05 Angus Leeming <leeming@lyx.org>
837 Changes most place everywhere due to the removal of using directives
838 from support/std_sstream.h.
840 2003-09-05 Angus Leeming <leeming@lyx.org>
842 Replace LString.h with support/std_string.h,
843 Lsstream.h with support/std_sstream.h,
844 support/LIstream.h with support/std_istream.h,
845 support/LOstream.h with support/std_ostream.h.
847 Changes resulting throughout the tree.
849 2003-09-05 Angus Leeming <leeming@lyx.org>
851 * sgml.h: ensure that the header file can be compiled stand-alone.
852 * *.C: strip out redundant #includes. (320 in total.)
854 2003-09-04 Angus Leeming <leeming@lyx.org>
856 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
857 here (from getPackages).
859 * debug.[Ch]: add a new EXTERNAL tag.
861 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
863 * text2.C (cursorEnd): simplify
865 (getColumnNearX): adjust
867 * text.C (computeBidiTables): adjust
870 * rowpainter.C (paintChars): adjust
871 (paintSelection): adjust
872 (paintChangeBar): adjust
875 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
877 (numberOfSeparators): adjust
879 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
885 * text3.C: Restricts the mouse click functionality
886 of insets like bibtex, include, toc and floatlist to the visible
887 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
888 up the dialogs. Cursor has to be in front of the inset (i.e.
889 start of row) for this to function.
891 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
893 * bufferview_funcs.C (currentState): output row information
895 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
897 * bufferview_funcs.C (currentState): output paragraph position
899 2003-09-04 Angus Leeming <leeming@lyx.org>
901 * FloatList.h: move out #include "Floating.h".
902 * LaTeX.h: move out #include "DepTable.h".
903 * LyXAction.h: move out #include "funcrequest.h".
904 * buffer.h: move out #include "author.h", "iterators.h".
905 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
906 * lyx_main.h: move out #include "errorlist.h".
907 * lyxfunc.h: move out #include "FuncStatus.h".
908 * lyxtext: move out #include "lyxcursor.h".
909 * paragraph_pimpl.h: move out #include "counters.h".
911 2003-09-03 Angus Leeming <leeming@lyx.org>
913 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
914 preamble_snippets list, enabling us to add snippets to the preamble
915 only if the snippet was not there already.
917 2003-09-04 Angus Leeming <leeming@lyx.org>
919 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
921 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * lyxfunc.C (dispatch): if fitCursor did something be sure to
926 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
928 * BranchList.C: point fix, earlier forgotten
930 2003-09-02 Angus Leeming <leeming@lyx.org>
932 * box.C (contains): renamed from 'contained' after a fantastic
935 2003-09-02 John Levon <levon@movementarian.org>
941 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
943 2003-09-02 John Levon <levon@movementarian.org>
945 * text2.C: simplification of cursorEnd(), including partial
948 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * buffer.C (readFile): add a space
952 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
954 * BufferView_pimpl.C (update): remove bogus fitCursor() call
956 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * buffer.C (readFile): new function, take a filename and a
959 ParagraphList::iterator
961 (readFile): adjust, make it private. don't use setStream, make
962 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
963 always contain the filename.
965 * BufferView.C (insertLyXFile): simplify and make it work for
968 2003-08-30 John Levon <levon@movementarian.org>
970 * Makefile.am: fix dist (from Kayvan)
972 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
974 * most files: change to use const Buffer refs
976 2003-08-27 André Pönitz <poenitz@gmx.net>
978 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
979 on top of ownerPar().
981 2003-08-27 John Levon <levon@movementarian.org>
983 * funcrequest.C: properly initialise POD members
985 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
987 * lyxtext.h (top_y): move top_y from here
992 * BufferView_pimpl.[Ch]: to here
993 * frontends/screen.C:
994 * insets/insettabular.C:
995 * insets/insettext.C: adjust
996 * rowpainter.[Ch] (paintRows): remove LyXText & argument
998 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1001 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1003 2003-08-26 André Pönitz <poenitz@gmx.net>
1005 * paragraph_func.[Ch] (outerPar): new function
1008 * paragraph_funcs.C:
1009 * paragraph_funcs.h:
1010 * paragraph_pimpl.C:
1011 * text2.C: remove Inset::par_owner
1013 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1018 * text2.C: eliminates the needFullRow/display() stuff
1019 altogether, putting the logic in metrics/draw in the insets.
1021 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1023 * text2.C (redoParagraphInternal, redoParagraphs):
1024 * text.C (redoParagraph): add a call to updateRowPositions at the
1025 end of each 'metrics-like' call. Remove all others.
1026 (getRow): remove the 'y-computing' version.
1027 (getRowNearY): do not compute nor return the real y. Solve the
1028 'y < 0' problem and simplify.
1030 2003-08-22 Angus Leeming <leeming@lyx.org>
1032 * *.[Ch]: clean-up of licence and author blurbs.
1033 Also move config.h out of a few .h files and into a few .C files.
1035 2003-08-22 André Pönitz <poenitz@gmx.net>
1037 * lyxrow.[Ch]: add x_ and *fill_ members
1042 * text2.C: adjust/remove prepareToPrint() calls
1044 2003-08-22 André Pönitz <poenitz@gmx.net>
1046 * lyxrow.[Ch]: add end_ member
1048 * lyxrow_funcs.C: use LyXRow::end_
1050 * lyxtext.h (singleWidth): add LyXFont parameter
1053 * text2.C: adjust LyXText::singleWidth() calls
1055 * text.C (redoParagraph): simplify row breaking logic
1058 2003-08-19 André Pönitz <poenitz@gmx.net>
1060 * funcrequest.C: initialize button_ member
1063 * rowpainter.[Ch]: interface consolidation
1065 2003-08-18 André Pönitz <poenitz@gmx.net>
1068 * BufferView_pimpl.C:
1070 * paragraph_funcs.C:
1072 * text3.C: remove LyXScreen::draw() and fitCursor calls
1074 * BranchList.h: remove spurious semicolons
1076 * MenuBackend.C: fix branchlist related crash
1078 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1086 * bufferparams.[Ch]:
1090 * text3.C: implements the 'branch inset'
1091 idea. This allows the output of various versions of a document
1092 from a single source version, selectively outputing or suppressing
1093 output of parts of the text.
1094 This implementation contains a 'branch list editor' in a separate
1095 tab of the document settings dialog. Branches are user definable
1096 and have a "display colour" to distinguish them on-screen.
1098 ColorHandler was somewhat cleaned up.
1099 (1) make possible a dynamically growing LColor list by allowing
1100 the graphic context cache to grow along (vector);
1101 (2) eliminate an IMHO unnecessary step in colour allocation.
1103 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1105 * BufferView_pimpl.C: compile fix
1107 2003-08-15 André Pönitz <poenitz@gmx.net>
1109 * rowpainter.C: remove extra metrics calls
1111 * lyxtext.h: merge the two constructors into a single one,
1112 pass reference to owner's par list
1114 * BufferView_pimpl.C:
1118 2003-08-15 André Pönitz <poenitz@gmx.net>
1120 * lyxrow_funcs.[Ch]:
1123 * paragraph_funcs.C:
1128 * text_funcs.C: split LyXText::rowlist_ into individual
1129 Paragraph::rows_ chunks
1132 * BufferView_pimpl.[Ch]:
1135 * text3.C: remove toggleSelection()
1137 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1139 * bufferlist.C: beautify two alerts (shorter text of buttons)
1140 * buffer.C: Remove redundant ' ' from message
1142 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1143 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1144 rename VALIGN_CENTER to VALIGN_MIDDLE
1146 2003-08-11 André Pönitz <poenitz@gmx.net>
1148 * lyxtext.h (getPar):
1149 * text.C: new function
1151 2003-08-11 André Pönitz <poenitz@gmx.net>
1154 * tracer.[Ch]: remove unneeded files
1156 * InsetList.[Ch]: remove resizeInsetsLyXText()
1161 * text3.C: merge insertParagraphs() and appendParagraph()
1162 remove breakAgain(), update()
1164 * BufferView_pimpl.[Ch]:
1165 * bufferview_funcs.[Ch]:
1169 * tabular.C: adjust after text & InsetList changes.
1171 2003-08-08 André Pönitz <poenitz@gmx.net>
1173 * text.C (insertChar, backspace): replace rowlist fiddling
1174 with rebreak of full par
1177 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1178 checkParagraph, updateInset): removed
1180 2003-08-07 André Pönitz <poenitz@gmx.net>
1183 * text3.C: merge some LFUN handlers, remove dead code
1185 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1187 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1189 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1191 * text2.C (DEPM): fix part of bug 1255 and 1256
1193 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * BufferView_pimpl.C (workAreaDispatch): change to use
1196 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1197 that are no mouse related.
1199 2003-08-05 André Pönitz <poenitz@gmx.net>
1202 * BufferView_pimpl.[Ch]:
1203 * bufferview_funcs.C:
1205 * text3.C: rip out "deep update"
1207 * textcursor.[Ch] (last_sel_cursor): remove unused member
1209 2003-08-04 André Pönitz <poenitz@gmx.net>
1212 * BufferView_pimpl.[Ch]:
1213 * ParagraphParameters.C:
1214 * bufferview_funcs.C:
1220 * text3.C: replace "complicated" BufferView::update(...) calls with
1223 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1225 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1227 * Makefile.am (lyx_SOURCES): add paper.h
1229 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1231 * Makefile.am: move things around so that both lyx-qt and
1232 lyx-xforms can be built (according to --with-frontend). Then lyx
1233 is a symbolic link to lyx-[firstfrontend]
1235 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1237 * Always use std::endl with lyxerr
1239 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1241 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1243 2003-08-01 André Pönitz <poenitz@gmx.net>
1246 * BufferView_pimpl.[Ch]:
1248 * text3.C: merge BufferView::repaint() and BufferView::update()
1250 2003-08-01 José Matos <jamatos@lyx.org>
1252 * buffer.[Ch]: file_format is no longer a buffer data element.
1254 2003-08-01 André Pönitz <poenitz@gmx.net>
1259 * text2.C: make redoParagraph more independent of current cursor
1261 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1263 * text2.C: remove unneeded members
1265 2003-07-30 André Pönitz <poenitz@gmx.net>
1267 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1269 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1270 create a single function...
1272 * paragraph_funcs.C (moveItem): ... here.
1275 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1277 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1279 * LColor.[Ch]: Add comment and greyedout logical colors.
1281 2003-07-30 André Pönitz <poenitz@gmx.net>
1283 * tabular.C: don't use Assert too heavily. This crashes where it
1286 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1288 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1289 is disabled (bug 1232)
1291 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1293 * factory.C: limited 'arg' scope
1295 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1297 * factory.C: fixed Note submenu issues
1299 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1301 * factory.C: submenu for Note/Comment/Greyedout
1303 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1306 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1308 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1311 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1312 greyedout. Patch provided by Jürgen Spitzmüller.
1314 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1316 * kbmap.C (read): fix error message when reading bind files
1318 2003-07-29 Angus Leeming <leeming@lyx.org>
1320 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1321 certainly does not do what it purports to do. I am doing it, and
1322 us, a favour by killing it.
1324 2003-07-28 José Matos <jamatos@lyx.org>
1326 * buffer.C (readBody, do_writeFile):
1327 * paragraph.C(readParagraph): \end_document replaces \the_end.
1329 2003-07-29 André Pönitz <poenitz@gmx.net>
1332 * BufferView_pimpl.[Ch]:
1336 * textcursor.[Ch]: remove toggleToggle & Co
1338 2003-07-28 José Matos <jamatos@fep.up.pt>
1340 * buffer.C (readParagraph):
1341 * params_func (readParToken, readParagraph):
1342 * paragraph.C (write): \layout -> \begin_layout.
1344 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * lyxlex_pimpl.C (setFile): clean up slightly.
1348 * bufferparams.h: add compressed var
1350 * buffer_funcs.C (readFile): adjust for LyXLex change
1351 (newFile): ditto + simplify
1353 * buffer.C (writeFile): handle writing of compressed files
1355 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1356 Check if the file is compressed and set a bufferparm if so.
1358 * Makefile.am (lyx_LDADD): remove explicit -lz
1360 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1362 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1363 makeDocBookFile): put the real LyX version in the first line of
1367 * version.C.in: remove lyx_docversion
1369 * tabular.C (write_attribute): add a template-based version to
1370 write enums properly
1372 2003-07-28 André Pönitz <poenitz@gmx.net>
1377 * text3.C: use doubles again for x-coordinates. They are needed.
1379 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * messages.C (getLocaleDir): use lyx_localedir()
1383 * lyxlex_pimpl.C (setFile): compress stuff
1385 * buffer.C (writeFile): add some compression stuff
1386 (do_writeFile): new func, dont call expliti close... will this
1389 * Makefile.am (lyx_LDADD): add -lz
1391 2003-07-28 José Matos <jamatos@fep.up.pt>
1393 * buffer.C: increment file format.
1394 * paragraph_funcs (readParagraph, readParToken):
1395 * paragraph.C (readParagraph): add \end_layout.
1397 2003-07-27 Angus Leeming <leeming@lyx.org>
1399 * Makefile.am: remove special casing for configure-time setting of
1400 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1402 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1403 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1405 2003-07-26 André Pönitz <poenitz@gmx.net>
1407 * paragraph_func.[Ch]:
1408 * paragraph.C (realizeFont): inline it whereever it is used
1413 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1416 2003-07-26 André Pönitz <poenitz@gmx.net>
1420 * text2.C: get rid of LyXText::need_break_row
1422 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * toc.[Ch]: put namespace toc inside namespace lyx
1426 * MenuBackend.C (expandToc2): adjust for lyx::toc
1429 * lyxfunc.C (dispatch): adjust for lyx::find
1431 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1432 lyx::find instead. Reorganize a bit.
1433 (LyXReplace): rename to replace
1434 (LyXFind): rename to find
1436 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1439 2003-07-26 André Pönitz <poenitz@gmx.net>
1441 * text.C (setHeightOfRow): restrict scope of temporary variable
1443 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1444 code (never has been used?)
1446 2003-07-27 Asger Alstrup <alstrup@local>
1448 * text.C (fill): Optimise algorithm to exploit that we can reuse
1449 the LyXFont for many characters.
1450 (setHeightOfRow): Same thing.
1451 (rowBreakPoint): Same thing.
1453 2003-07-26 Asger Alstrup <alstrup@local>
1455 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1457 * text.C (singleWidth): Spurious font copying in hot-spot
1458 singleWidth avoided. Reorder tests for arabic for efficiency.
1460 * text.C (fill): handle empty paragraphs better.
1462 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1465 * encoding.h: add includes
1467 * lyxrc.C: remove reading of bind files
1469 * lyx_main.C (init): setup bindings and menus only if we have a
1472 * kbmap.C (read): new method. Do the actual reading of bind
1475 * converter.C (dvipdfm_options):
1478 (output): adapt PAPER_* enums.
1480 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1482 * bufferparams.h: remove paper-related enums from there
1484 * paper.h: New file. A trivial header file to hold paper-related
1485 enums. It should later expand to contain many paper-related
1488 * lyxrc.C: declare extern displayTranslator
1490 2003-07-27 José Matos <jamatos@fep.up.pt>
1492 * tabular.[Ch] (linuxdoc): add support for tables and figures
1495 2003-07-27 José Matos <jamatos@fep.up.pt>
1497 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1498 consistency in both functions.
1499 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1501 2003-07-26 Asger Alstrup <alstrup@local>
1503 * rowpainter.C (paintRows): Change algorithm to work directly on
1504 the insets rather than asking every character in the document
1505 whether its an inset.
1507 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1509 * buffer.C (openFileWrite): factorize some code
1511 2003-07-26 Angus Leeming <leeming@lyx.org>
1514 * lyx_main.[Ch]: replace occurances of system_tempdir with
1517 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * rename Inset to InsetOld
1521 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1523 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1524 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1525 which I think is a bit clearer. EDIT is gone, since it was
1526 premature optimisation, and broken for mathed anyway.
1527 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1528 with cursor positioning in insets as well (math insets still do not
1529 work, but that's a different story anyway.) It mysteriously
1530 crashes sometimes with undo in the first paragraph, but I'm fairly
1531 confident that this is a compiler bug.
1533 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * paragraph.C (Paragraph): adjust for new clone return type
1537 (copyIntoMinibuffer): ditto
1539 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1541 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1542 by not having a special case, and always doing a full rebreak of
1543 the document after undo.
1545 2003-07-23 Angus Leeming <leeming@lyx.org>
1547 * factory.C (createInset): InsetExternal::setParams now takes a
1550 2003-07-23 Angus Leeming <leeming@lyx.org>
1552 * factory.C (createInset): changed interface to the external and
1553 graphics mailers' string2params functions.
1555 2003-07-23 Angus Leeming <leeming@lyx.org>
1557 * factory.C (createInset): pass a
1558 Buffer const * parameter to InsetExternalMailer's string2params.
1560 2003-07-22 John Levon <levon@movementarian.org>
1562 * Thesaurus.h: include the right aiksaurus header
1564 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * MenuBackend.C (expand): check menu shortcuts unconditionally
1568 2003-07-21 Angus Leeming <leeming@lyx.org>
1570 * factory.C (createInset): pass a
1571 buffer_path parameter to InsetGraphicsMailer's string2params.
1573 2003-07-21 Angus Leeming <leeming@lyx.org>
1575 * BufferView_pimpl.C (buffer):
1578 * lyxfunc.C (dispatch):
1579 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1580 rather than the grfx shortcut.
1582 2003-07-21 André Pönitz <poenitz@gmx.net>
1584 * rowpainter.C: remove unused variables
1587 * tabular_funcs.h: move to tabular.C
1588 * Makefile.am: adjust
1590 * tabular.[Ch]: basic optical cleaning
1592 * author.h: pass references, not values
1594 2003-07-18 André Pönitz <poenitz@gmx.net>
1602 * text3.C: two-phase drawing for InsetText and InsetTabular
1603 some float -> int changes.
1605 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1607 * lyx_main.C: fix the fix
1609 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1611 * lyx_main.C: fix a crash in batch mode if no files specified
1614 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1616 * format.[Ch] (papersize): moved to BufferParams
1617 * converter.[Ch] (dvips_options): moved to BufferParams
1618 (dvipdfm_options): moved to anon namespace
1619 * bufferparams.[Ch]: added above functions.
1621 2003-07-17 André Pönitz <poenitz@gmx.net>
1625 * text2.C: don't call inset->update() anymore
1627 * metricsinfo.[Ch]: add convenience constructor
1629 2003-07-16 André Pönitz <poenitz@gmx.net>
1634 * text2.C: replace the LyXCursor::irow_ member with
1635 on-demand computation of the value
1637 2003-07-16 John Levon <levon@movementarian.org>
1639 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1641 2003-07-15 André Pönitz <poenitz@gmx.net>
1644 * text2.C: remove no more needed refresh_row
1646 2003-07-15 André Pönitz <poenitz@gmx.net>
1651 * text3.C: refresh_status tristate -> need_update bool
1653 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1655 * lyxtext.h (init): remove reinit argument (act as if always true)
1656 * text2.C: adjust to that
1658 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1660 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1661 * text3.C: use it to delete selections in some cases
1662 (bugs 441, 673, 702, 954).
1664 2003-07-14 André Pönitz <poenitz@gmx.net>
1666 * rowpainter.[Ch]: reduce interface
1668 2003-07-14 André Pönitz <poenitz@gmx.net>
1670 * BufferView_pimpl.C:
1671 * text2.C: adjust after removing unused BufferView * argument
1673 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1675 * text2.C (init): fix a crash fired on resize
1677 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1679 * buffer.[Ch]: added new closing signal
1680 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1681 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1682 BufferView::Pimpl via the closing the signal
1684 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1686 * buffer.[Ch]: take out all bv-related from buffer
1688 * BufferView_pimpl.[Ch]: connect to new signals
1689 * CutAndPaste.C: removed useless asserts
1690 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1693 * lyxfunc.C: moved view-related funciontality from vc here
1694 * paragraph.C: removed outdated comments
1697 2003-07-10 André Pönitz <poenitz@gmx.net>
1699 * BufferView_pimpl.C:
1703 * text2.C: remove InsetText::InnerCache, clean up consequences
1705 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1707 * ispell.C: fix two typos in error messages
1709 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1711 * Extend Note inset to other forms of annotation like Comment
1712 and Greyedout. Right button click gives dialog.
1714 Files modified or added (+):
1718 * ControlNote.[Ch] +
1720 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1721 frontends/controllers
1725 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1727 * aspell.C: add missing namespace lyx::support
1729 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1731 * BufferView.[Ch] (newFile): Add
1732 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1733 * LaTeX.[Ch] (message): added this signal and use it
1734 * buffer.[Ch] (busy, message): added these signals and use them
1735 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1739 * importer.C: use buffer signals instead of direct bv calling
1740 * lyx_cb.[Ch] (ShowMessage): removed
1743 * paragraph_funcs.C:
1744 * text2.C: use buffer signals
1746 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * introduce namespace lyx::graphics
1750 2003-07-02 André Pönitz <poenitz@gmx.net>
1752 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1754 2003-07-01 André Pönitz <poenitz@gmx.net>
1761 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1762 text*.C to text_func.C
1764 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * introduce namespace lyx::support
1768 2003-06-30 André Pönitz <poenitz@gmx.net>
1773 * text.C: re-enable --with-included-string
1775 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * textcursor.C: add <config.h>
1779 * text.C (getWord): remove const from word_location arg
1781 * lyxvc.C (getLogFile): fix const type order
1783 * lyxtext.h: remove const from word_location arg, add arg name
1785 * lyxlayout.h: currect type on labeltype.
1787 * importer.C: correct \file
1789 * converter.C (intToFormat): use std:: on ret val, ws changes
1791 * bufferlist.h: correct \file
1793 * buffer.C (makeLinuxDocFile): fix const type order
1794 (makeDocBookFile): ditto
1795 (fillWithBibKeys): use std:: on stdlib args.
1797 * CutAndPaste.C: fix authors.
1798 (availableSelections): use std:: on return vector
1800 2003-06-27 André Pönitz <poenitz@gmx.net>
1802 * BufferView_pimpl.C:
1803 * bufferview_funcs.C:
1811 * text3.C: remove LyXCursor::row_ member
1814 * text.C: rename fullRebreak() to partialRebreak() and implement
1815 a fullRebreak() that really bereks fully
1817 * textcursor.h: new struct for cursor-related data
1819 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1821 * lyx_main.C (LyX): get full path of document loaded on the
1824 2003-06-26 André Pönitz <poenitz@gmx.net>
1826 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1827 remove unused/broken operator>,<,>=.
1829 * text.C: remove only use of broken operator<= in an Assert().
1831 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1833 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1834 moved errorlist_.clear to showErrorList
1836 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1838 * converter.C (scanLog, runLaTeX):
1839 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1840 move the bv->showErrorList call to the callers
1841 * lyxfunc.C: i.e. here...
1843 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1844 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1845 namespace, the second to...
1846 * buffer_funcs (BufferFormat, parseErrors): added
1847 * errorlist.C (ErrorList(TeXErrors const &)): removed
1849 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1851 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1853 2003-06-24 "Garst R. Reese" <reese@isn.net>
1857 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1859 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1861 * version.C.in: change docversion to 1.4
1863 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1865 * buffer.C: fix a bug just introduced
1867 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1869 * buffer.[Ch]: added the parseError signal and use it, removed
1871 * BufferView.[Ch] (addError): moved to ...
1872 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1873 to the Buffer::parseError signal to catch (guess what) parse errors
1874 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1876 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1878 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1879 ability to create a buffer and to return an existing one from
1880 the list. Moved these functions to...
1881 * buffer_funcs.[Ch]: added
1882 * BufferView.[Ch] (loadLyXFile): added
1883 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1884 job removed from bufferlist::loadLyXFile.
1885 * buffer.C (setReadOnly): make it work without view
1886 (i.e added an if (users))
1888 2003-06-19 Angus Leeming <leeming@lyx.org>
1891 * LyXAction.C (init):
1892 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1893 with LFUN_DIALOG_SHOW <name> <data>.
1895 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1897 * CutAndPaste.C (availableSelections): small compilation fix for
1898 ancient (gcc 2.9x) compilers
1900 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * text3.C (cursorNext): add tmp var
1904 * text2.C (updateCounters): for function calling out of for clause
1905 (replaceSelectionWithString): ditto
1906 (insertStringAsParagraphs): ditto
1907 (getColumnNearX): add tmp var
1908 (setCursorFromCoordinates): add tmp var
1909 (cursorDownParagraph): add tmp var
1910 (deleteEmptyParagraphMechanism): add tmp var
1912 * text.C (insertChar): add tmp var
1914 * rowpainter.C (paintDepthBar): add tmp var
1916 * CutAndPaste.C (availableSelections): potentially check all
1917 paragraphs in a cut to fill the shown strings.
1919 2003-06-18 André Pönitz <poenitz@gmx.net>
1921 * kbmap.[Ch]: use vector<> instead of list<>
1923 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1925 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1926 pasteSelection with index
1928 * text2.C (pasteSelection): modify, call pasteSelection with index
1930 * paragraph.C (asString): reimplement version with no interval to
1931 call the one with interval.
1933 * lyxtext.h: add index arg to pasteSelection
1935 * MenuBackend.C (MenuItem): handle PasteRecent
1936 (Menu::read::Menutags): add md_pasterecent
1938 (expandPasteRecent): new function
1941 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1943 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1945 (availableSelections): new function
1947 2003-06-17 Angus Leeming <leeming@lyx.org>
1949 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1951 2003-06-17 Angus Leeming <leeming@lyx.org>
1954 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1956 * lyxfunc.C (dispatch): invoke it.
1958 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * iterators.C (operator++, ParPosition): reintroduce some
1961 const_cast for the benefit of older compilers.
1963 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1965 * text3.C (dispatch): do not modify clipboard when doing
1966 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1967 LFUN_DELETE_SKIP on a selection selection
1969 2003-06-16 André Pönitz <poenitz@gmx.net>
1975 * tabular.[Ch]: IU of clone() and getLabelList();
1977 2003-06-13 André Pönitz <poenitz@gmx.net>
1979 * tabular.h: compactification
1981 2003-06-12 André Pönitz <poenitz@gmx.net>
1985 * tabular_funcs.h: some renaming plus whitespace
1987 2003-06-12 André Pönitz <poenitz@gmx.net>
1990 * BufferView_pimpl.C:
1996 * toc.C: Return a Paragraph & for ParIterator::operator*()
1998 2003-06-11 John Levon <levon@movementarian.org>
2002 * ToolbarBackend.C: add "Toolbars" section and
2005 2003-06-10 Angus Leeming <leeming@lyx.org>
2008 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2010 * lyxfunc.C (dispatch): invoke it.
2012 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * main.C: protect <ios> with HAVE_IOS
2015 (main): protect sync_with_stdio with HAVE_IOS
2017 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2019 * text2.C (cutSelection): adjust
2020 (pasteSelection): adjust
2022 * messages.C: handle get of empty string
2024 * main.C (main): use sync_with_stdio(false)
2026 * lyxfunc.C (dispatch): adjust
2028 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2029 (WriteAs): remove unneeded BufferView arg.
2031 * bufferparams.h: use correct types on papersize, papersize2 and
2034 * bufferparams.C (readToken): adjust for type
2035 (writeLaTeX): add missing cases to switch.
2037 * bufferlist.C (quitWriteBuffer): adjust
2040 * buffer.C (asciiParagraph): remove some commented code.
2042 * CutAndPaste.C: remove current_view extern variable.
2043 (cutSelection): add BufferParams arg.
2044 (eraseSelection): add BufferParams arg.
2045 (pasteSelection): add Buffer const & arg
2047 2003-06-07 John Levon <levon@movementarian.org>
2050 * paragraph_funcs.C:
2051 * paragraph_pimpl.C:
2055 * paragraph.C: allow InsetERT to freely space lines,
2056 and some consolidation of code
2058 2003-06-06 José Matos <jamatos@fep.up.pt>
2060 * buffer.C (makeDocBookFile): fix bug #821
2062 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2064 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2066 2003-06-04 Angus Leeming <leeming@lyx.org>
2068 * buffer.C: bump format to 224.
2070 2003-06-05 André Pönitz <poenitz@gmx.net>
2072 * text2.C (redoParagraphs): remove two const_cast<>
2074 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2076 * ParagraphList.h: remove last remnants of NO_STD_LIST
2078 2003-06-03 Angus Leeming <leeming@lyx.org>
2080 * factory.C (createInset): small change to the way InsetExternal's params
2083 2003-06-04 André Pönitz <poenitz@gmx.net>
2085 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2087 * paragraph_pimpl.h:
2088 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2090 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2092 * undo_funcs.C: make some simple cases of undo work again
2094 2003-06-03 John Levon <levon@movementarian.org>
2096 * ispell.C: HPUX doesn't have sys/select.h
2099 2003-06-03 John Levon <levon@movementarian.org>
2101 * CutAndPaste.C: update tabular and include inset
2106 * paragraph.C: remove owningBuffer(), don't pass Buffer
2109 * factory.C: insetGraphicsParams changed
2111 2003-06-02 John Levon <levon@movementarian.org>
2117 * text3.C: remove insetparent
2119 2003-06-02 John Levon <levon@movementarian.org>
2122 * buffer.C: fix inset_iterator.end(), move out of line
2125 2003-06-01 John Levon <levon@movementarian.org>
2127 * text3.C: use a proper cut/paste when doing inset
2128 insert (from Jürgen Spitzmüller)
2130 2003-06-01 John Levon <levon@movementarian.org>
2132 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2134 2003-05-30 André Pönitz <poenitz@gmx.net>
2136 * rowpainter.C: unify second drawing phase
2138 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2140 * trans_mgr.C: remove one case of current_view
2142 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2144 * paragraph_funcs.h: remove paragraph.h include
2146 * paragraph.h: delete NO_STD_LIST stuff
2148 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2150 * buffer.h: remove paragraph.h include
2152 * ParagraphList.C: delete file
2154 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2156 * toc.C (getTocList): adjust
2158 * paragraph_pimpl.C (validate): adjust
2160 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2162 * paragraph.C (Paragraph): adjust
2163 (getPositionOfInset): use const_iterator, adjust
2164 (bibitem): use const_iterator, adjust
2165 (setInsetOwner): adjust
2167 * iterators.C (operator++): adjust
2169 * InsetList.[Ch]: Replace selfmade iterator with standard
2170 vector::iterator also introduce const_iterator. Remove getPos,
2171 getInset and setInset from InsetTable. Adjust accordingly.
2173 * BufferView.C (lockInset): adjust
2174 (ChangeInsets): adjust
2176 * tabular.[Ch]: delete commented same_id functions
2178 2003-05-28 John Levon <levon@movementarian.org>
2180 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2182 2003-05-28 André Pönitz <poenitz@gmx.net>
2184 * metricsinfo.[Ch]: remove 'fullredraw' member
2186 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2188 * lyxtextclass.C (operator): remove caching.
2190 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * text2.C (cursorBottom): adjust
2195 (setCounter): use ParagraphList::find, adjust
2197 * text.C (workWidth): use ParagraphList::find, adjust
2199 * lyxcursor.C (LyXCursor): adjust
2201 * buffer.C (inset_iterator): adjust
2203 * ParagraphList.h: make iterator(value_type) private, make
2204 ParagraphList a friend of iterator.
2206 * ParagraphList.C (find): new function
2208 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2210 2003-05-27 André Pönitz <poenitz@gmx.net>
2212 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2214 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2216 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2218 2003-05-26 John Levon <levon@movementarian.org>
2220 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2222 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * remove same_id from function signatures, adjust.
2226 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2230 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2232 * paragraph.C (Paragraph): get rid of same_ids parameter
2234 * ParagraphList.C (insert): adjust
2237 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * paragraph_funcs.C (breakParagraph): adjust
2240 (breakParagraphConservative): adjust
2242 * buffer.C (readParagraph): adjust
2244 * ParagraphList.C (insert): take a reference instead of a pointer
2247 * paragraph.[Ch] (id): new function
2249 * bufferlist.C (newFile): adjust
2251 * ParagraphList.C (ParagraphList): adjust
2253 (push_back): take a reference instead of a pointer.
2255 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2257 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2260 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2261 set else use old code.
2263 * ParagraphList.C: remove all NO_NEXT code and only compile this
2264 code of NO_STD_LIST is set.
2266 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2268 * BufferView_pimpl.C:
2278 * graphics/GraphicsConverter.C:
2279 * graphics/PreviewLoader.C: header adjustment
2281 2003-05-23 Angus Leeming <leeming@lyx.org>
2283 * LaTeXFeatures.[Ch] (useBabel): new method.
2284 * bufferparams.C (writeLaTeX): use it.
2286 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2288 * ParagraphList.h (set): remove unused function.
2290 2003-05-23 André Pönitz <poenitz@gmx.net>
2293 * BufferView_pimpl.C:
2297 * undo_funcs.C: setUndo reworked
2299 * iterators.[Ch]: add access to topmost ParagraphList
2301 * lyxtext.[Ch] (workWidth): add a const
2303 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2305 * texrow.[Ch] (increasePos): remove function
2306 * exporter.C (export): removed unused var and outdated comment
2308 2003-05-23 Angus Leeming <leeming@lyx.org>
2310 * latexrunparams.h: rename fragile as moving_arg.
2311 * paragraph.C (simpleTeXOnePar): ditto.
2312 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2314 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2316 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2318 (textUndoOrRedo): comment out a currently unused var.
2320 * paragraph.h (NO_NEXT): enable NO_NEXT
2322 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2324 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2326 * exporter.C (Export): adjust for removeAutoInsets removal.
2328 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2330 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2332 * BufferView.[Ch] (removeAutoInsets): delete function
2334 2003-05-22 Angus Leeming <leeming@lyx.org>
2336 * latexrunparams.h: add a free_spacing variable.
2338 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2339 to pass moving_arg, as the data is stored in runparams.fragile.
2341 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2342 to Inset::latexOptional or to simpleTeXOnePar.
2344 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2345 free_spacing arg to Inset::latexOptional.
2347 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2350 2003-05-22 Angus Leeming <leeming@lyx.org>
2352 * latexrunparams.h: add fragile and use_babel variables.
2354 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2355 * buffer.C (makeLaTeXFile): store this returned value in
2356 runparams.use_babel, thus passing it to the inset::latex methods.
2358 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2359 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2361 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2362 longer has a fragile arg, as it is stored in runparams.fragile.
2364 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2365 moving_arg parameter as the data is stored in runparams.fragile.
2367 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2368 a fragile parameter as the data is stored in runparams.fragile.
2370 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2372 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2374 2003-05-22 Angus Leeming <leeming@lyx.org>
2376 * latexrunparams.h: add a 'bool nice' which defaults to false.
2378 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2379 now encapsulated within runparams.
2381 * bufferlist.C (updateIncludedTeXfiles):
2382 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2384 2003-05-22 Angus Leeming <leeming@lyx.org>
2386 * latexrunparams.h: new file containing struct LatexRunParams.
2387 * Makefile.am: add new file.
2389 * LaTeX.[Ch] (c-tor, run):
2390 * buffer.[Ch] (makeLaTeXFile):
2391 * bufferlist.[Ch] (updateIncludedTeXfiles):
2392 * converter.C (convert, scanLog):
2393 * converter.[Ch] (runLaTeX):
2394 * exporter.C (Export):
2395 * paragraph.[Ch] (simpleTeXOnePar):
2396 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2397 * paragraph_funcs.[Ch] (latexParagraphs):
2398 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2399 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2400 pass around a LatexRunParams parameter.
2402 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * paragraph.[Ch]: remove unused constructor
2406 * ParagraphList.C (erase): new function, taking two iterators
2408 2003-05-22 André Pönitz <poenitz@gmx.net>
2410 * undo_funcs.C: remove duplicated code
2412 * iterator.[Ch]: operator=
2414 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * tabular.C (SetMultiColumn): ws changes
2418 * rowpainter.C (paintFirst): get rid of a ->previous
2420 * lyx_cb.C (getPossibleLabel): parlist simplification
2422 * BufferView.C (ChangeInsets): simplify slightly.
2424 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2426 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2427 * lfuns.h: new LFUN_SPACE
2428 * lyxfunc.C: protected space has a new lfun
2429 * paragraph_funcs.C: read new space insets
2431 * factory.C: handle new space insets
2433 2003-05-22 André Pönitz <poenitz@gmx.net>
2436 * BufferView_pimpl.C:
2439 * undo_funcs.C: return a ParIterator from getParFromID.
2441 * iterators.[Ch]: add two const's
2443 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2445 * toc.C (getTocList): adjust
2447 * iterators.[Ch]: rework for parlist
2449 * buffer.C (par_iterator_begin): adjust
2450 (par_iterator_end): adjust
2452 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2454 * BufferView.C (removeAutoInsets): adjust
2455 (ChangeInsets): adjust
2457 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2459 * text.C (top_y): fix bug 1110
2461 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2463 * errorlist.[Ch]: added
2466 * BufferView_pimpl.C:
2467 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2470 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * Makefile.am: ensure that lyx is relinked upon changes to the
2473 various "convenience" libs.
2475 2003-05-20 Angus Leeming <leeming@lyx.org>
2477 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2478 files are compiled in alphabetical order again.
2480 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2482 2003-05-19 Angus Leeming <leeming@lyx.org>
2484 * gettext.[Ch]: remove "char const * _(char const *)".
2486 2003-05-19 André Pönitz <poenitz@gmx.net>
2488 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2497 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2499 2003-05-19 André Pönitz <poenitz@gmx.net>
2503 * lyxtextclass.[Ch]:
2505 * paragraph_funcs.[Ch]:
2507 * text3.C: more insetenv work
2509 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2511 * ParagraphParameters.C (params2string): small bug fixed
2513 2003-05-16 André Pönitz <poenitz@gmx.net>
2516 * bufferview_funcs.C: patch from Kornel Benko to prevent
2517 crash when _(...) is called twice in a statement
2519 2003-05-16 André Pönitz <poenitz@gmx.net>
2526 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2528 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2530 * lyx_main.C (init): remove spurious static_cast
2532 2003-05-14 André Pönitz <poenitz@gmx.net>
2534 * BufferView.C: fix format string
2536 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2538 * BufferView.[Ch] (insertErrors): removed
2539 * BufferView.[Ch] (showErrorList): added
2540 * buffer.C (runChkTeX):
2541 * converter.C (scanLog): call showErrorList instead of inserterrors
2543 2003-05-13 André Pönitz <poenitz@gmx.net>
2545 * BufferView_pimpl.C:
2547 * bufferview_func.C:
2554 * tabular_funcs.h: tostr() from its own header
2556 * ParagraphParameters.C:
2561 * text3.C: STRCONV()
2563 2003-05-12 André Pönitz <poenitz@gmx.net>
2566 * BufferView_pimpl.C:
2570 * ParagraphParameters.C:
2574 * bufferview_funcs.C:
2587 * paragraph_funcs.C:
2591 * text3.C: boost::format -> bformat all over the place
2594 2003-05-09 André Pönitz <poenitz@gmx.net>
2596 * LColor.[Ch]: Pimpl the #include <map> away
2598 2003-05-09 John Levon <levon@movementarian.org>
2600 * bufferlist.C: never remove emergency saves
2602 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * Makefile.am: better lib building
2606 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2610 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2611 (simpleTeXSpecialChars): adjust
2612 (simpleTeXSpecialChars): adjust
2613 * paragraph.C (simpleTeXOnePar): adjust
2614 * buffer.C (makeLaTeXFile): adjust
2616 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2618 * text2.C (changeDepth): parlist cleanup
2619 (getColumnNearX): ditto
2621 * rowpainter.C (getLabelFont): parlist cleanup
2623 * bufferlist.C (newFile): parlist cleanup
2625 * CutAndPaste.C (eraseSelection): parlist cleanup
2627 * BufferView_pimpl.C (trackChanges): parlist cleanup
2630 * BufferView.C (lockInset): parlist cleanup.
2631 (ChangeInsets): ditto
2633 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2635 * CutAndPaste.h: Update file header.
2637 * CutAndPaste.C: Update file header.
2638 Store the parts cut out of the Document in a limited_stack.
2639 (copySelection): adjust
2640 (pasteSelection): new function, takes the index in the limited stack.
2641 (nrOfParagraphs): adjust
2642 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2643 simplify error inset insertion.
2644 (checkPastePossible): adjust
2646 2003-05-06 John Levon <levon@movementarian.org>
2648 * text2.C: don't cast wrap inset to float
2650 2003-05-05 André Pönitz <poenitz@gmx.net>
2653 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2655 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2656 few naked Paragraph *.
2658 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2660 * bufferparams.C: Output warning if a document with missing
2661 TeX document class is loaded
2662 * exporter.C: Disable TeX exports if the document class is missing
2665 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2666 isTeXClassAvailable()
2668 2003-05-03 John Levon <levon@movementarian.org>
2671 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2672 explicit cursor show/hide
2674 * BufferView_pimpl.h:
2675 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2676 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2678 * lyxfunc.C: hide cursor before dispatching.
2683 * text3.C: remove explicit cursor hides
2685 2003-05-02 André Pönitz <poenitz@gmx.net>
2687 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2690 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2693 * text2.C: tiny whitespace
2695 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * undo_funcs.C: almost only ws changes.
2699 * ParagraphList.C (splice): just return if pl is empty.
2701 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2703 * ParagraphList.C (splice): new function.
2705 * CutAndPaste.C (pasteSelection): use it
2707 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * CutAndPaste.C (pasteSelection): remove the last next and
2710 previous from this file.
2712 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2714 * CutAndPaste.C (pasteSelection): more clean up, user proper
2715 ParagraphList functions for pasteing.
2717 * ParagraphList.C (insert): new function, three arg insert
2719 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2721 * ParagraphList.C (insert): new function, three arg insert
2723 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2726 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2728 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2730 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2732 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2734 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2737 (copySelection): clean up a bit.
2738 (pasteSelection): use make_pair
2740 * ParagraphList.C (ParagraphList): implement copy constructor
2741 (operator=): implement, base on copy constructor.
2744 * paragraph.C (erase): return a bool
2746 * paragraph_pimpl.C (erasePos): remove function, move contents...
2747 (erase): ... here. Return a bool.
2748 (erase): call erase instead of erasePos.
2750 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2752 * ParagraphList.h: define PitPosPair
2753 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2754 ParagraphList, fix a bug on pasting multiple pars
2755 * text2.C: change interface to C&P
2757 2003-04-30 André Pönitz <poenitz@gmx.net>
2759 * undo_func.C: revert part of yesterday's patch 2
2761 2003-04-30 John Levon <levon@movementarian.org>
2763 * LColor.C: s/tabular/table/
2765 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * text3.C (dispatch): do not convert iterator -> pointer
2768 * undo_funcs.C (setCursorParUndo): ditto
2769 * text_funcs.C (transposeChars): ditto
2771 * text2.C (setLayout): ws changes only
2773 * text.C (breakParagraph): do not convert iterator -> pointer
2775 (acceptChange): ditto
2776 (rejectChange): ditto
2781 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2784 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2786 * text3.C (gotoInset): YABG (yet another bad getChar)
2788 2003-04-29 André Pönitz <poenitz@gmx.net>
2790 * paragraph.h: make operator= private unimplemented as long as
2793 * ParagraphList.C: whitespace
2796 * paragraph_pimpl.[Ch]:
2797 * paragraph_funcs.C:
2799 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2802 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2804 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2806 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2807 * paragraph.[Ch] (erase):
2808 * paragraph_pimpl.[Ch] (erase): change return type and value
2809 * text2.C (cutSelection): some rework
2811 2003-04-28 John Levon <levon@movementarian.org>
2813 * bufferlist.C: changes for unsaved changes dialog
2815 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * bufferlist.C (newFile): set language (messages_) for new
2820 * buffer.C (readFile): ws changes only.
2822 2003-04-28 André Pönitz <poenitz@gmx.net>
2827 * BufferView_pimpl.C:
2828 * BufferView.C: getParFromID related ParagraphList::iterator changes
2830 2003-04-28 André Pönitz <poenitz@gmx.net>
2832 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2835 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * messages.C: remove one more localedir class variable.
2839 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * messages.C (getLocaleDir): singleton generation function
2843 (Messages): add a default constructor.
2845 * main.C (main): do not setup localedir here, do not call
2848 * gettext.C (_): use it.
2849 (gettext_init): delete funciton
2851 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * gettext.C (getLyXMessages): new singleton generating function.
2855 * buffer.C (updateDocLang): adjust
2857 * Makefile.am (messages.o): add target
2858 (main.o): remove target
2860 2003-04-27 John Levon <levon@movementarian.org>
2865 * lyxvc.C: specify cancel button in Alert::prompt
2867 2003-04-26 John Levon <levon@movementarian.org>
2872 * LyXAction.C: add LFUN_INSET_SETTINGS
2874 * lyxfunc.C: don't enable tabular-feature when there's
2875 just any locking inset
2877 2003-04-26 John Levon <levon@movementarian.org>
2879 * bufferlist.C: re-add Cancel to buffer close question
2881 * lyxfunc.C: fix import UI a bit
2883 2003-04-25 John Levon <levon@movementarian.org>
2885 * gettext.C: remove the broken asserts for now
2887 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * messages.C: make case where setlocale cannot comply work better.
2891 * buffer.C (updateDocLang): new function
2892 (changeLanguage): use it
2895 * text2.C (setCounter): use B_ a bit.
2897 * lyxlayout.C (Read): be sure to trim the label strings.
2899 * messages.C (Messages): fix typo in comment
2901 * buffer.C (readFile): set message_ after file is loaded.
2902 (makeDocBookFile): remove double return
2903 (changeLanguage): reset message_ upon language change.
2904 (B_): new func, use this to get translated buffer strings.
2906 * main.C: add myself and Jean Marc as authors.
2908 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * messages.[hC]: pimplify Messages, and three different pimpls to be
2911 used in different circumstances.
2913 * gettext.[Ch]: change for use with new message code.
2915 2003-04-24 André Pönitz <poenitz@gmx.net>
2917 * factory.C: support for eqref
2919 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2921 * messages.[Ch]: add missing char
2923 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2925 * messages.[Ch]: New files
2927 2003-04-18 John Levon <levon@movementarian.org>
2931 * BufferView_pimpl.C:
2935 * text2.C: remove layout-copy/paste (bug 778)
2937 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2939 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2941 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2943 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2944 if they succeed. Act accordingly.
2946 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2948 * text2.C (setCharFont): adjust
2949 (setCounter): adjust
2950 (insertStringAsLines): adjust
2952 * text.C (leftMargin): adjust
2953 (setHeightOfRow): adjust
2955 * rowpainter.C (paintFirst): adjust
2958 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2960 (isFirstInSequence): ditto
2961 (getEndLabel): ditto
2964 * paragraph.C (getParLanguage): comment out some hard stuff.
2966 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2968 (simpleDocBookOnePar): ditto
2969 (makeDocBookFile): use ParagraphList::iterator
2971 * CutAndPaste.C (pasteSelection): adjust
2973 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * text2.C (getFont): adjust
2976 (getLayoutFont): adjust
2977 (getLabelFont): adjust
2979 * paragraph_funcs.C (TeXOnePar): adjust
2981 * buffer.C (simpleLinuxDocOnePar): adjust
2982 (simpleDocBookOnePar): adjust
2984 * CutAndPaste.C (pasteSelection): adjust
2986 * BufferView.C (getEncoding): adjust
2988 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2990 2003-04-16 John Levon <levon@movementarian.org>
2992 * lyxfind.C: use parlist stuff for search/changes
2994 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2998 * text2.C (deleteEmptyParagraphMechanism): adjust
3000 * text2.[Ch] (ownerParagraph): delete func (both of them
3002 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3006 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3008 * ParagraphList.C: prepare for NO_NEXT
3010 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * text2.C (getFont): adjust
3013 (getLayoutFont): adjust
3014 (getLabelFont): adjust
3016 * paragraph.C (getFont): adjust
3017 (getLabelFont): adjust
3018 (getLayoutFont): adjust
3020 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3022 2003-04-15 John Levon <levon@movementarian.org>
3026 * lyx_main.C: handle Include in .ui files
3028 2003-04-15 John Levon <levon@movementarian.org>
3030 * MenuBackend.C: make the doc files length shorter
3033 * ToolbarBackend.C: handle toolbar placement flags,
3036 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3041 * paragraph_funcs.C (TeXOnePar): adjust
3043 * paragraph.C (getLabelFont): add outerfont arg, adjust
3044 (getLayoutFont): ditto
3045 (simpleTeXOnePar): adjust
3047 * paragraph_pimpl.C (realizeFont): delete func
3049 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3051 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3052 row argument, constify cur argument.
3054 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3056 * text2.C (getFont): adjust
3057 (getLayoutFont): adjust
3058 (getLabelFont): adjust
3060 * paragraph_funcs.C (TeXOnePar): adjust
3061 (outerFont): new func...
3062 (realizeFont): ...moved out from here, changed this to facilitate
3065 * paragraph.C (getFont): take outerfont as arg, adjust
3066 (simpleTeXOnePar): add outerfont arg, adjust
3068 * buffer.C (simpleLinuxDocOnePar): adjust
3069 (simpleDocBookOnePar): adjust
3071 * CutAndPaste.C (pasteSelection): adjust
3073 * BufferView.C (getEncoding): adjust
3075 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3077 * text2.C (setCharFont): adjust
3078 (setCounter): adjust
3080 * text.C (leftMargin): adjust
3081 (setHeightOfRow): adjust
3083 * rowpainter.C (paintFirst): adjust
3086 * paragraph_pimpl.C (realizeFont): adjust
3088 * paragraph.C (isFirstInSequence): move from here...
3089 * paragraph_funcs.C (isFirstInSequence): ...to here
3091 * paragraph.C (outerHook): move from here...
3092 * paragraph_funcs.C (outerHook): ...to here
3094 * paragraph.C (depthHook): move from here...
3095 * paragraph_funcs.C (depthHook): ...to here
3097 * paragraph.C (getEndLabel): move from here...
3098 * paragraph_funcs.C (getEndLabel): ...to here
3100 * text2.C (realizeFont): move from here...
3101 * paragraph_funcs.C (realizeFont): ...to here
3103 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3107 2003-04-14 Angus Leeming <leeming@lyx.org>
3109 * LColor.[Ch]: scrap LColor mathcursor.
3111 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * lyxlex.[Ch] (text): delete function
3114 * trans.C (Load): adjust
3115 * paragraph_funcs.C (readParToken): adjust
3117 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3119 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3120 vector<char> instead of a char[].
3122 * lyxlex_pimpl.C (getString): adjust
3124 (lex): use getString
3128 * lyxlex.C (text): use pimpl_->getString()
3132 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3135 (makeFontEntriesLayoutSpecific): temp var for par.size()
3136 (setLayout): temp var for ownerParagraphs().end()
3137 (fullRebreak): temp var for rows().end()
3138 (selectionAsString): temp var for boost::next(startpit), realize
3139 that the while really is a regular for loop.
3140 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3141 setCursor in one place.
3142 (setParagraph): temp vr for ownerParagraphs().end()
3143 (updateCounters): make the while loop a for loop
3144 (cutSelection): temp var for ownerParagraphs().end()
3145 (updateInset): make the do {} while() a regular for loop
3146 (getCursorX): use temp vars
3147 (setCurrentFont): use temp vars
3148 (getColumnNearX): use temp vars
3150 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3152 * text.C (transformChar): use temp var for getChar
3153 (computeBidiTables): use temp var for row->par()
3154 (fill): move temp vars for row->par() and pit->layout() earlier in
3156 (labelFill): use temp var for row->par()
3157 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3158 asc and desc, realize that pit never changes and that firstpit is
3159 just a duplicate and not needed. Exchange rit->par() with pit in a
3161 (breakAgain): use a temp var for boost::next(rit)
3162 (breakAgainOneRow): ditto
3163 (breakParagraph): use a temp var for rows().begin()
3164 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3165 (cursorRightOneWord): use temp var for cursor.par() and
3166 cursor.pos(), remove usage of tmpcursor.
3167 (cursorLeftOneWord): use temp var for cursor.par() and
3168 cursor.pos() only set cur at end of function.
3170 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * text.C, text2.C: exchange all usage of Paragraph::next with
3173 boost::next(ParagraphList::iterator)
3175 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3177 * text2.C (cursorTop): simplify implementation
3178 (cursorBottom): ditto
3179 (setParagraph): use ParagraphList::iterator
3180 (setCurrentFont): adjust
3181 (getColumnNearX): adjust
3182 (cursorRight): adjust
3183 (cursorLeft): remove usage of Paragraph::previous
3184 (cursorUpParagraph): ditto
3185 (deleteEmptyParagraphMechanism): slight cleanup
3187 * text.C (isBoundary): take a Paragraph const & instead of a
3189 (addressBreakPoint): ditto
3190 (leftMargin): remove usage of Paragraph::previous.
3191 (setHeightOfRow): ditto
3192 (cursorLeftOneWord): ditto
3193 (selectNextWordToSpellcheck): ditto
3196 (breakParagraph): remove one usage of Paragraph::next
3197 (redoParagraph): ditto
3198 (acceptChange): ditto
3199 (insertChar): adjust
3200 (rowBreakPoint): adjust
3202 * bufferview_funcs.C (toggleAndShow): adjust
3204 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3206 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3207 methods to access it.
3209 * text.C: Added updateRowPositions to compute all row positions.
3210 Make top_y and getRowNearY() to use the cached y position
3212 2003-04-11 John Levon <levon@movementarian.org>
3214 * text.C (rowBreakPoint): reintroduce the labelEnd
3215 checks, code copied from the row fill stuff. Deep voodoo.
3217 * text.C (fill): add a comment and debugging for the
3220 2003-04-11 John Levon <levon@movementarian.org>
3222 * text.C: make sure fullrow insets get wrapped to the next line,
3223 even when they're in a manual label
3225 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3227 * text2.C (insertParagraph): make it take ParagraphList::iterator
3229 (setLayout): make it return ParagraphList::iterator
3230 (redoParagraphs): ditto
3232 (checkParagraph): ditto
3234 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3236 * text2.C: adjust several funcs.
3237 (realizeFont): take a ParagraphList::iterator as arg.
3238 (getLayoutFont): ditto
3239 (getLabelFont): ditto
3240 (setCharFont): ditto
3242 * text.C: adjust several funcs.
3244 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3246 * text.C (selectNextWordToSpellcheck): don't accidentally
3249 2003-04-10 John Levon <levon@movementarian.org>
3251 * ToolbarBackend.C (getIcon): special handling for
3254 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3256 * text2.C (cursorRight): a getChar assert fixed
3258 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3260 * text2.C (getFont): change to take a ParagraphList::iterator
3261 instead of Paragraph*
3262 Adjust several functions.
3264 * text.C (transformChar): change to take a ParagraphList::iterator
3265 instead of Paragraph*
3266 (singleWidth): ditto
3267 Adjust several functions.
3269 * rowpainter.C: adjust several functions
3270 * rowpainter.h:store a ParagraphList::iterator and not a
3274 2003-04-09 John Levon <levon@movementarian.org>
3279 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3280 and the "help" bits as well
3282 2003-04-09 John Levon <levon@movementarian.org>
3285 * ToolbarBackend.C: allow multiple toolbars
3287 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3289 * undo_funcs.C (setCursorParUndo): adjust
3291 * text_funcs.C (transposeChars): adjust
3293 * text3.C (gotoNextInset): adjust
3296 * text2.C (setLayout): adjust
3297 (changeDepth): adjust
3299 (redoParagraphs): adjust
3300 (selectionAsString): adjust
3301 (setParagraph): adjust
3302 (insertInset): adjust
3303 (cutSelection): adjust
3304 (copySelection): adjust
3305 (pasteSelection): adjust
3306 (insertStringAsLines): adjust
3307 (updateInset): adjust
3308 (setCursor): change to take a ParagraphList::iterator parameter
3309 (setCursorIntern): change to take a ParagraphList::iterator parameter
3310 (setCurrentFont): adjust
3311 (cursorLeft): adjust
3312 (cursorRight): adjust
3313 (deleteEmptyParagraphMechanism): adjust
3315 * text.C (breakParagraph): adjust
3316 (insertChar): adjust
3317 (acceptChange): adjust
3318 (rejectChange): adjust
3319 (selectNextWordToSpellcheck): adjust
3320 (changeCase): adjust
3324 * lyxfind.C (SearchForward): adjust
3325 (SearchBackward): adjust
3326 (nextChange): adjust
3328 * lyxcursor.C (par): adjust
3330 * lyxcursor.h: store a ParagraphList::iterator instead of a
3333 * lyx_cb.C (getPossibleLabel): adjust
3335 * bufferview_funcs.C (toggleAndShow): adjust
3337 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3340 * BufferView.C (removeAutoInsets): adjust
3341 (lockedInsetStoreUndo): adjust
3343 2003-04-09 John Levon <levon@movementarian.org>
3345 * ToolbarBackend.C: try icon without argument
3346 if with argument fails
3348 2003-04-08 John Levon <levon@movementarian.org>
3351 * ToolbarBackend.C: add getIcon(), handle tooltip,
3352 and change from "Icon" to "Item".
3354 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3356 * BufferView.C (lockInset): another bad getchar crunched
3358 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3360 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3363 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3365 * lyxfind.C (searchForward, searchBackwards): bug 782
3367 2003-04-07 John Levon <levon@movementarian.org>
3369 * paragraph.C: remove dead comment
3371 * text.C: remove troublesome depth-fiddling code
3372 in leftMargin() and rightMargin() (bug 1017)
3374 * text.C: fix breaking of rows in nested lists
3377 * text2.C (updateCounters): fix up depth values
3380 2003-04-07 John Levon <levon@movementarian.org>
3382 * BufferView_pimpl.C: clear message when doc finishes resizing,
3383 and after a mouse event
3385 * lyxfunc.C: clear message after exiting inset
3387 2003-04-07 John Levon <levon@movementarian.org>
3389 * bufferview_funcs.C: show math status not outside
3390 status in the statusbar
3392 2003-04-07 John Levon <levon@movementarian.org>
3394 * lyxfunc.C: note status changed after a depth change
3396 2003-04-04 Angus Leeming <leeming@lyx.org>
3398 * LaTeX.h: move AuxInfo operator==, != out of line.
3399 Remove LaTeX virtual destructor; nothing derives from it.
3400 Move operator()() out of public area and rename it startscript().
3401 Change protected for private.
3403 2003-04-04 Angus Leeming <leeming@lyx.org>
3406 * text2.C: remove unneeded #includes.
3408 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3410 * text2.C (dEPM): fix the heigth of the next row
3412 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3414 * text.C: squashed an invalid getChar requester + some ws changes
3416 2003-04-03 John Levon <levon@movementarian.org>
3418 * bufferview_funcs.h:
3419 * bufferview_funcs.C:
3422 * text2.C: make getStatus work for the env depth lfuns
3424 2003-04-03 John Levon <levon@movementarian.org>
3426 * bufferview_funcs.h:
3427 * bufferview_funcs.C:
3430 * text2.C: parlistize decDepth(), by merging it with incDepth()
3432 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * lyxrow.h: store a ParagraphList::iterator instead of a
3435 Paragraph* and adjust other class functions to suit.
3437 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3440 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3442 * text2.C (setCursor): do not anchor to cursor row for the time being
3444 2003-04-02 John Levon <levon@movementarian.org>
3451 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3453 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * paragraph.h: make ParagraphList and ParagraphList::iterator
3456 friends of Paragraph.
3458 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3460 * ParagraphList.C: Use the private next_ and previous_ from
3463 2003-04-01 John Levon <levon@movementarian.org>
3467 * Makefile.am: rename, remove defaults gunk
3470 * MenuBackend.C: remove defaults gunk
3473 * Languages.C: remove defaults gunk
3476 * lyx_main.C: error out if files couldn't be found.
3478 2003-04-02 John Levon <levon@movementarian.org>
3480 * text2.C: make incDepth() use parlist
3482 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * undo_funcs.C (firstUndoParagraph): adjust
3486 * text3.C (gotoInset): adjust
3487 (dispatch): adjust, and rewrite loop.
3489 * text2.C (init): adjust, and rewrite loop.
3490 (redoParagraphs): adjust
3491 (updateInset): adjust, and rewrite loop.
3492 (deleteEmptyParagraphMechanism): adjust
3494 * tabular.C (LyXTabular): adjust
3495 (SetMultiColumn): adjust
3498 * lyxtext.[Ch] (ownerParagraph): delete function
3499 (ownerParagraphs): new function returns a ParagraphList.
3501 * BufferView.C (removeAutoInsets): adjust
3502 (insertErrors): adjust
3503 (setCursorFromRow): adjust
3505 2003-04-01 Angus Leeming <leeming@lyx.org>
3507 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3510 2003-04-02 John Levon <levon@movementarian.org>
3516 * text_funcs.C: make transposeChars a free function
3518 * lyxrow_funcs.C: remove wrong comment
3520 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * rowpainter.C: adjust
3528 * lyxrow_funcs. [Ch]: new files
3530 * lyxrow.[Ch]: remove next and previous pointers
3531 (next,previous): remove accessor functions
3532 (isParEnd): move to lyxrow_funcs
3533 (lastPos): move to lyxrow_funcs
3534 (nextRowIsAllInset): move to lyxrow_funcs
3535 (lastPrintablePos): move to lyxrow_funcs
3536 (numberOfSeparators): move to lyxrow_funcs
3537 (numberOfHfills): move to lyxrow_funcs
3538 (numberOfLabelHfills): move to lyxrow_funcs
3539 (hfillExpansion): move to lyxrow_funcs
3543 * bufferview_funcs.C (toggleAndShow): adjust
3545 * RowList.h: Remove class RowList from file leave just a
3548 * RowList.C: delete file
3550 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3553 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * text3.C (cursorPrevious): adjust
3556 (cursorNext): adjust
3559 * text2.C (redoHeightOfParagraph): adjust
3560 (redoDrawingOfParagraph): adjust
3563 * text.C (breakParagraph): adjust
3564 (insertChar): adjust
3567 * rowpainter.C (RowPainter): adjust
3568 (leftMargin): simplify and adjust
3569 (most rowpainter functions): adjust.
3571 * rowpainter.h: store the row as RowList::iterator not as Row*
3573 * lyxcursor.C (row): taka RowList::iterator as arg
3576 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3579 2003-04-01 Angus Leeming <leeming@lyx.org>
3581 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3582 stuff like bool Bool.
3584 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3586 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3589 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3594 * lyxtext.h (rows): drop one version and leve a const variant that
3595 returns a RowList::iterator.
3597 2003-03-31 Angus Leeming <leeming@lyx.org>
3599 * text.C (fill): ensure that the signature is the same as that in the
3602 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * text2.C (redoParagraphs): adjust
3605 (updateCounters): adjust
3606 (checkParagraph): adjust
3607 (getColumnNearX): adjust and reformat a bit.
3609 * text.C (top_y): adjust
3611 (leftMargin): adjust
3612 (prepareToPrint): adjust
3614 (getRowNearY): adjust
3616 * lyxtext.h: make rowlist_ mutable.
3618 * RowList.h: add const_iterator
3619 * RowList.C: adjust for RowList::const_iterator.
3621 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3624 2003-03-31 John Levon <levon@movementarian.org>
3627 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3629 * lyx_main.C: set default fonts from using lyx_gui funcs
3631 * exporter.C: pdf_mode moved from lyxrc
3634 * lyxfunc.C: changes from above
3636 2003-03-31 John Levon <levon@movementarian.org>
3638 * lyx_main.C: fix to the last fix
3640 2003-03-31 John Levon <levon@movementarian.org>
3642 * bufferlist.C: "Load original" -> "Load Original"
3648 * format.C: more Alert cleanups
3650 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3652 * text2.C (removeParagraph): make it take a RowList::iterator as
3654 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3655 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3657 * text.C (anchor_row): make it take a RowList::iterator as arg,
3659 (computeBidiTables): make it take a const reference to Row instead
3660 of Row pointer, adjust.
3661 (leftMargin): make it take a RowList::iterator as arg, adjust.
3662 (rowBreakPoint): adjust
3663 (breakAgainOneRow): make it take a RowList::iterator as arg,
3665 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3667 * bufferview_funcs.C (toggleAndShow): adjust
3669 2003-03-30 John Levon <levon@movementarian.org>
3673 * boost-inst.C: moved to support
3675 * several files: changes as a result
3677 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3679 * text2.C (LyXText): adjust.
3681 (removeRow): make it take a RowList::iterator as arg, adjust.
3682 (fullRebreak): adjust
3683 (deleteEmptyParagraphMechanism): adjust
3684 (clearPaint): adjust
3687 * text.C (top_y): adjust
3688 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3689 (breakAgain): make it take a RowList::iterator as arg, adjust.
3690 (breakParagraph): adjust
3691 (insertChar): adjust
3694 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3695 need_break_row, and refresh_row.
3697 * text3.C (dispatch): adjust
3699 * text2.C (checkParagraph): adjust
3701 (setCursorFromCoordinates): adjust
3703 * text.C (top_y): adjust
3705 (getRow): make it return a RowList::iterator, adjust
3706 (getRowNearY): make it return a RowList::iterator, adjust
3708 * text2.C (init): adjust
3709 (insertRow): remove function
3710 (insertParagraph): adjust
3711 (redoParagraphs): adjust
3712 (fullRebreak): adjust
3713 (updateCounters): adjust
3715 * text.C (top_y): rewrite to use RowList iterators.
3717 (setHeightOfRow): rewrite to sue RowList iterators.
3718 (appendParagraph): adjust
3719 (breakAgain): adjust
3720 (breakAgainOneRow): adjust
3721 (breakParagraph): adjust
3723 (getRowNearY): adjust, and remove commented code.
3725 * lyxtext.h (firstRow): delete function
3726 (lastRow): delete function
3727 (rows): new function (const and non-const versions.)
3728 (insertRow): delete function
3730 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3732 2003-03-29 John Levon <levon@movementarian.org>
3734 * BufferView_pimpl.C: always update scrollbar top
3735 because pasting text when we're anchored could mean we
3736 miss an update altogether
3738 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * text2.C (init): use rowlist_.end() and not 0.
3741 (insertRow): change to take a RowList::iterator as arg, adjust
3743 (insertParagraph): change to take a RowList::iterator as arg,
3745 (redoParagraphs): remove some debug msgs.
3747 * text.C (appendParagraph): change to take a RowList::iterator
3748 arg, adjust for this.
3749 (breakAgain): add an assert
3750 (breakAgainOneRow): ditto
3752 2003-03-29 John Levon <levon@movementarian.org>
3754 * text2.C: do not clear selection after inc/decDepth
3757 2003-03-29 John Levon <levon@movementarian.org>
3760 * buffer.C: fix broken strerrors according to Lars
3762 2003-03-29 John Levon <levon@movementarian.org>
3764 * converters.C: more Alert cleanups
3766 2003-03-29 John Levon <levon@movementarian.org>
3768 * bufferview_funcs.C: remove pointless Alert
3770 * buffer.C: fix confusing error message when
3771 a template is chmoded 000
3773 2003-03-29 John Levon <levon@movementarian.org>
3777 * BufferView_pimpl.C: Alert fixes
3781 * tabular-old.C: remove unused table compat reading
3783 2003-03-29 John Levon <levon@movementarian.org>
3788 * lyx_cb.C: more Alert cleanups
3790 * lyxfunc.C: don't allow chktex if not latex document
3792 2003-03-29 John Levon <levon@movementarian.org>
3796 * buffer.C: warnings pushed down from support/,
3799 2003-03-29 John Levon <levon@movementarian.org>
3801 * lyxfunc.C: safety check for C-r (revert)
3803 2003-03-29 John Levon <levon@movementarian.org>
3806 * bufferlist.C: several UI fixes using Alert::prompt.
3807 Fix the pointless looping quit code. Fix stupid revert
3812 * lyx_cb.C: use Alert::prompt
3814 * lyx_main.C: remove a silly question
3816 * lyxfunc.C: remove a couple of silly questions,
3819 2003-03-28 John Levon <levon@movementarian.org>
3821 * text2.C: fix bug 974 (End on empty par)
3823 2003-03-28 John Levon <levon@movementarian.org>
3825 * BufferView_pimpl.C:
3827 * lfuns.h: remove do-nothing math greek lfuns
3829 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * lyxgluelength.h (isValidGlueLength): add default arg on
3832 parameter 2. Remove default arg from friend in class.
3834 * lyxlength.h (isValidLength): add default arg on parameter 2.
3835 Remove default arg from friend in class.
3837 * text2.C (LyXText): adjust, initialize refresh_row.
3841 (insertParagraph): adjst
3842 (redoParagraphs): adjust
3843 (fullRebreak): adjust
3844 (updateCounters): adjust
3845 (deleteEmptyParagraphMechanism): first attempt at fixing a
3848 * text.C (top_y): adjust
3849 (setHeightOfRow): adjust
3851 (getRowNearY): adjust
3853 * lyxtext.h: include RowList.h
3854 (~LyXText): not needed anymore, deleted.
3855 (firstRow): modify for RowList
3856 (lastRow): new function
3857 Delete firstrow and lastrow class variables, add a Rowlist
3858 rowlist_ class variable.
3860 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3863 * RowList.C (insert): fix case where it == begin().
3865 2003-03-26 Angus Leeming <leeming@lyx.org>
3867 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3868 the thesaurus dialog.
3870 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3874 * RowList.[Ch]: new files
3876 * ParagraphList.C (erase): handle the case where it == begin
3879 2003-03-25 John Levon <levon@movementarian.org>
3883 * aspell.C: add new aspell support
3886 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3889 2003-03-25 Angus Leeming <leeming@lyx.org>
3892 * LyXAction.C (init): new LFUN_INSET_INSERT.
3894 * BufferView_pimpl.C (dispatch): split out part of the
3895 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3897 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3900 2003-03-25 Angus Leeming <leeming@lyx.org>
3902 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3904 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3907 * text3.C: remove useless row->height(0)
3909 2003-03-25 John Levon <levon@movementarian.org>
3913 * text3.C: rename the refreshing stuff to better names
3915 2003-03-24 John Levon <levon@movementarian.org>
3917 * BufferView_pimpl.h:
3918 * BufferView_pimpl.C: update layout choice on a mouse
3921 2003-03-23 John Levon <levon@movementarian.org>
3923 * Makefile.am: fix commandtags.h reference
3925 2003-03-22 John Levon <levon@movementarian.org>
3927 * BufferView_pimpl.C:
3932 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3934 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3937 * text.C: take the rtl methods out of line
3939 2003-03-21 André Pönitz <poenitz@gmx.net>
3941 * metricsinfo.[Ch]: new files containing structures to be passed around
3942 during the two-phase-drawing...
3944 2003-03-21 André Pönitz <poenitz@gmx.net>
3946 * lyxtextclass.C: read 'environment' tag.
3948 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3950 * text2.C (removeRow): fix bug 964
3952 2003-03-20 John Levon <levon@movementarian.org>
3956 * text2.C: paint cleanups. Inset::update() dropped font
3959 2003-03-19 John Levon <levon@movementarian.org>
3961 * lyxfunc.C: only fitcursor/markDirty if available()
3963 2003-03-19 John Levon <levon@movementarian.org>
3965 * commandtags.h: rename to ...
3967 * lfuns.h: ... this, and renumber / cleanup
3969 2003-03-19 John Levon <levon@movementarian.org>
3971 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3972 fit the cursor after an lfun
3976 * BufferView_pimpl.h:
3977 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3979 * LyXAction.C: layout-character should have ReadOnly
3981 * ParagraphParameters.C:
3983 * bufferview_funcs.C:
3990 * undo_funcs.C: changes from above
3992 2003-03-18 John Levon <levon@movementarian.org>
3994 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3995 remove it from update()
3997 * lyxfunc.C: update layout choice after an lfun
3999 * text3.C: remove extra updateLayoutChoice()s
4001 2003-03-18 John Levon <levon@movementarian.org>
4003 * text.C: top_y change means full repaint, fix
4004 a drawing bug with cursor movement
4006 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4010 * text2.C: anchor row on setCursor
4012 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4014 * lyxtext.h: remove almost all mutable keywords
4017 * text3.C: remove const keywords accordingly
4019 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4023 (TeXEnvironment): ditto
4026 2003-03-17 John Levon <levon@movementarian.org>
4028 * text.C (rowBreakPoint): remove attempt to fix displayed
4029 math insets inside a manual label
4031 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * lyxtext.h: remove BufferView* as first arg from almost all class
4035 * other files: adjust.
4037 2003-03-17 John Levon <levon@movementarian.org>
4041 * text2.C: more paint cleanups
4043 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4046 * rowpainter.C: remove "smart" background painting code
4048 2003-03-16 John Levon <levon@movementarian.org>
4053 * text3.C: add helper functions for setting refresh_row/y
4055 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4057 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4058 newline inset which *can* get inserted in the pass_thru layouts.
4059 This is primarily for literate documents.
4061 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4063 * buffer.C: increment LYX_FORMAT to 223
4065 2003-03-14 André Pönitz <poenitz@gmx.net>
4067 * textclass.h: prepare for environment handling, ws changes
4068 * lyxlayout.C: read latexheader and latexfooter tags
4070 2003-03-14 John Levon <levon@movementarian.org>
4072 * text2.C: rewrite ::status() a bit
4074 2003-03-13 John Levon <levon@movementarian.org>
4076 * lyxtext.h: add some docs
4078 2003-03-13 John Levon <levon@movementarian.org>
4083 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4085 2003-03-13 John Levon <levon@movementarian.org>
4087 * text3.C: fix appendix redrawing
4089 2003-03-13 John Levon <levon@movementarian.org>
4091 * text.C (setHeightOfRow):
4093 * rowpainter.C: make appendix mark have the text
4094 "Appendix" so the user knows what it is
4097 * LColor.C: s/appendixline/appendix/ from above
4099 2003-03-13 John Levon <levon@movementarian.org>
4101 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4103 * text.C: fix a getChar(pos) bug properly
4105 2003-03-13 Angus Leeming <leeming@lyx.org>
4108 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4109 Probably only temporary. Let's see how things pan out.
4111 * BufferView.C (unlockInset):
4112 * BufferView_pimpl.C (fitCursor):
4113 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4115 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4116 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4118 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4119 new functions that convert ParagraphParameters to and from a string.
4121 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4122 BufferView::Pimpl's dispatch.
4123 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4125 2003-03-13 André Pönitz <poenitz@gmx.net>
4129 * factory.C: make it aware of InsetEnv
4131 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * text2.C (setCursor): never ask for one past last
4134 (setCursor): add some debugging messages.
4136 * text.C (singleWidth): never ask for one past last
4137 (singleWidth): ditto
4139 (rightMargin): ditto
4140 (rowBreakPoint): ditto
4141 (setHeightOfRow): ditto
4142 (prepareToPrint): ditto
4144 * rowpainter.C (paintBackground): never ask for one past last
4145 (paintText): never ask for one past last
4147 * paragraph_pimpl.C (getChar): make the assert stricter, never
4148 allow the one past last pos to be taken
4150 * paragraph.C (getChar): ws changes only
4152 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4153 (numberOfSeparators): ditto
4154 (numberOfHfills): ditto
4156 2003-03-12 John Levon <levon@movementarian.org>
4162 * paragraph_funcs.C: fix per-buffer authorlists
4164 2003-03-12 John Levon <levon@movementarian.org>
4166 * text.C: fix newline in right address
4168 2003-03-12 Angus Leeming <leeming@lyx.org>
4170 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4171 duplicate those in LyXFunc::dispatch.
4175 * ToolbarDefaults.C:
4176 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4177 Add LFUN_FONTFREE_UPDATE.
4179 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4180 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4182 * bufferview_func.[Ch]: several new functions to facilliate
4183 transfer of data to and from the character dialog.
4185 2003-03-12 John Levon <levon@movementarian.org>
4190 * paragraph_funcs.C:
4191 * paragraph_pimpl.C:
4195 * text3.C: remove META_NEWLINE in favour of an inset
4198 * rowpainter.C: remove paintNewline (done by inset)
4200 2003-03-12 John Levon <levon@movementarian.org>
4202 * paragraph_pimpl.C: complain about bad getChar()s
4203 for a while at least
4205 2003-03-12 John Levon <levon@movementarian.org>
4208 * buffer.C: move paragraph read into a separate function,
4209 a little renaming to reflect that.
4212 * bufferparams.C: remove the author_ids map, not necessary now
4215 * factory.C: moved Buffer::readInset to here
4217 * paragraph_funcs.h:
4218 * paragraph_funcs.C: readParagraph free function moved from
4221 * tabular.C: name change
4223 2003-03-12 John Levon <levon@movementarian.org>
4226 * ParagraphParameters.C: move par params input to
4229 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4230 behave like a normal read from the stream wrt reading
4231 a line vs. a \\token
4233 2003-03-12 John Levon <levon@movementarian.org>
4236 * ParagraphParameters.h:
4237 * ParagraphParameters.C: move output code to a
4240 2003-03-12 John Levon <levon@movementarian.org>
4242 * BufferView.C (insertLyXFile):
4245 * tabular.C: use a parlist iterator for creating the
4248 2003-03-12 John Levon <levon@movementarian.org>
4250 * buffer.C: make current_change static local not
4253 2003-03-12 John Levon <levon@movementarian.org>
4255 * buffer.C: fix insertStringAsLines for change tracking
4257 2003-03-12 John Levon <levon@movementarian.org>
4264 * bufferparams.C: move author list into params. Rename some
4265 functions. Move the header reading into a separate token
4266 loop. Move the header token reading into BufferParams.
4268 2003-03-12 John Levon <levon@movementarian.org>
4270 * changes.C: put debug inside lyxerr.debugging() checks
4272 2003-03-11 André Pönitz <poenitz@gmx.net>
4274 * factory.C: make it aware of InsetHFill
4276 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4278 * buffer.C (latexParagraphs): move function from here...
4279 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4282 2003-03-10 Angus Leeming <leeming@lyx.org>
4284 * LyXAction.C (init): fix bug in poplating array with multiple entries
4285 with the same LFUN (spotted by JMarc).
4287 2003-03-10 John Levon <levon@movementarian.org>
4290 * text2.C: move getColumnNearX() near its
4293 2003-03-10 John Levon <levon@movementarian.org>
4295 * text.C: fix break before a minipage
4297 2003-03-10 John Levon <levon@movementarian.org>
4299 * text.C: fix the last commit
4301 2003-03-09 John Levon <levon@movementarian.org>
4305 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4306 bug 365 (don't break before insets unless needed). Don't
4307 return a value > last under any circumstances.
4309 2003-03-09 Angus Leeming <leeming@lyx.org>
4311 * BufferView_pimpl.C (trackChanges, dispatch): call
4312 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4314 2003-03-09 Angus Leeming <leeming@lyx.org>
4316 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4317 than Dialogs::showAboutlyx().
4319 2003-03-09 Angus Leeming <leeming@lyx.org>
4321 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4322 than Dialogs::showTabularCreate().
4324 2003-03-09 John Levon <levon@movementarian.org>
4328 * text2.C: 3rd arg to nextBreakPoint was always the same.
4331 2003-03-08 John Levon <levon@movementarian.org>
4338 * text2.C: Remove the "main" bit from the "main body"
4341 2003-03-08 John Levon <levon@movementarian.org>
4343 * text.C (leftMargin): The left margin of an empty
4344 manual label paragraph should not include the label width
4347 * text.C (prepareToPrint): don't attempt to measure hfills
4348 for empty manual label paragraphs - the answer should be 0
4350 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * CutAndPaste.C: remove commented code and reindent.
4354 2003-03-08 John Levon <levon@movementarian.org>
4357 * lyxfunc.C: move reloadBuffer()
4360 * BufferView.C: to here
4362 * lyxvc.C: add comment
4365 * vc-backend.C: call bv->reload() to avoid
4366 getStatus() check on MENURELOAD
4368 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4370 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4371 to an old format .dep file.
4373 2003-03-07 Angus Leeming <leeming@lyx.org>
4375 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4376 when the LFUN_MOUSE_RELEASE should have been handled by
4377 inset->localDispatch.
4379 2003-03-07 Angus Leeming <leeming@lyx.org>
4381 * BufferView_pimpl.C (dispatch):
4382 * LyXAction.C (init):
4383 * ToolbarDefaults.C (init):
4385 * lyxfunc.C (getStatus):
4386 remove LFUN_INSET_GRAPHICS.
4388 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4390 2003-03-07 Angus Leeming <leeming@lyx.org>
4393 * LyXAction.C (init):
4394 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4396 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4399 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4401 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4402 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4404 2003-03-07 Angus Leeming <leeming@lyx.org>
4406 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4409 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * ParagraphList.C (front): new function
4414 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4416 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4417 and top_row_offset_. removed var first_y.
4419 * text2.C (LyXText, removeRow):
4421 * BufferView_pimpl.C:
4422 use these methods instead of using first_y
4424 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * text2.C (pasteSelection): adjust for checkPastePossible
4428 * CutAndPaste.C: remove Paragraph * buf and replace with
4429 ParagraphList paragraphs.
4430 (DeleteBuffer): delete
4431 (cutSelection): change the tc type to textclass_type
4432 (copySelection): change the tc type to textclass_type
4433 (copySelection): adjust for ParagraphList
4434 (pasteSelection): change the tc type to textclass_type
4435 (pasteSelection): adjust for Paragraphlist
4436 (nrOfParagraphs): simplify for ParagraphList
4437 (checkPastePossible): simplify for ParagraphList
4438 (checkPastePossible): remove unused arg
4440 * ParagraphList.C (insert): handle the case where there are no
4443 * CutAndPaste.h: make CutAndPaste a namespace.
4445 * text3.C (dispatch): adjust
4447 * text.C (breakParagraph): add a ParagraphList as arg
4449 * paragraph_funcs.C (breakParagraph): change to take a
4450 BufferParams and a ParagraphList as args.
4451 (breakParagraphConservative): ditto
4452 (mergeParagraph): ditto
4453 (TeXDeeper): add a ParagraphList arg
4454 (TeXEnvironment): ditto
4457 * buffer.C (readLyXformat2): adjust
4458 (insertStringAsLines): adjust
4459 (latexParagraphs): adjust
4461 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4462 (cutSelection): adjust
4463 (pasteSelection): adjust
4465 * BufferView_pimpl.C (insertInset): adjust
4467 2003-03-05 Angus Leeming <leeming@lyx.org>
4470 * LyXAction.C (init):
4471 * BufferView_pimpl.C (dispatch):
4472 * lyxfunc.C (getStatus):
4473 remove LFUN_CHILD_INSERT.
4475 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4477 2003-03-05 Angus Leeming <leeming@lyx.org>
4480 * LyXAction.C (init):
4481 * src/factory.C (createInset):
4482 * lyxfunc.C (getStatus):
4483 * text3.C (dispatch):
4484 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4486 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4488 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4490 * ParagraphList.C (insert): handle insert right before end()
4491 (erase): fix cases where it can be first or last paragraph.
4493 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4496 Paragraph::next and Paragraph::previous
4499 * text.C (breakParagraph): adjust
4501 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4502 BufferParams& as arg.
4503 (breakParagraph): use ParagraphList::insert
4504 (breakParagraphConservative): take a Buffer* instead of a
4505 BufferParams& as arg.
4506 (breakParagraphConservative): use ParagraphList::insert.
4508 * buffer.C (insertStringAsLines): un-const it
4509 (insertStringAsLines): adjust
4511 * ParagraphList.C (insert): new function
4513 * CutAndPaste.C (pasteSelection): adjust
4515 * text.C (backspace): adjust
4517 * tabular.C (SetMultiColumn): adjust
4519 * CutAndPaste.C (cutSelection): adjust
4520 (pasteSelection): adjust
4522 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4523 Buffer const * as arg
4525 * ParagraphList.C (erase): new function
4526 * paragraph_funcs.C (mergeParagraph): use it
4527 (mergeParagraph): make it take a Buffer* instead of a
4528 BufferParams* as arg
4530 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4532 (breakParagraphConservative): ditto
4534 * paragraph.h: remove the breakParagraph friend
4536 * paragraph.C (eraseIntern): new function
4537 (setChange): new function
4539 * paragraph_funcs.C (mergeParagraph): make it take a
4540 ParagraphList::iterator instead of a Paragraph *, adjust
4543 * paragraph.h: move an #endif so that the change tracking stuff
4544 also works in the NO_NEXT case.
4546 2003-03-04 Angus Leeming <leeming@lyx.org>
4549 * LyXAction.C: new LFUN_INSET_MODIFY.
4551 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4552 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4554 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4556 * several files: ws changes only
4558 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4559 (TeXEnvironment): ditto
4562 * buffer.C (makeLaTeXFile): adjust
4563 (latexParagraphs): make it take ParagraphList::iterator as args
4565 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * buffer.C (latexParagraphs): adjust
4569 * paragraph.C (TeXOnePar): move function...
4570 (optArgInset): move function...
4571 (TeXEnvironment): move function...
4572 * paragraph_pimpl.C (TeXDeeper): move function...
4573 * paragraph_funcs.C: ...here
4575 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4577 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4579 * buffer.C (readInset): remove compability code for old Figure and
4582 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4584 * buffer.C: ws changes
4587 * BufferView_pimpl.C: ditto
4590 * bufferlist.h: ditto
4594 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4596 * converter.[Ch]: split into itself +
4599 * Makefile.am: += graph.[Ch] + format.[Ch]
4606 * lyxrc.C: added #include "format.h"
4608 2003-02-27 Angus Leeming <leeming@lyx.org>
4610 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4613 * factory.C (createInset): add "label" to the factory.
4615 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4616 string and do no more.
4618 2003-02-27 Angus Leeming <leeming@lyx.org>
4621 * LyXAction.C (init):
4622 * factory.C (createInset):
4623 * BufferView_pimpl.C (dispatch):
4624 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4626 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4628 * lyxfunc.C (dispatch):
4629 * text3.C (dispatch): pass name to params2string.
4631 2003-02-26 Angus Leeming <leeming@lyx.org>
4633 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4635 Rearrange the ~includes. Strip out the unnecessary ones.
4637 * factory.C (createInset): reformat.
4638 create new insets for the various LFUN_XYZ_APPLY lfuns.
4640 2003-02-26 John Levon <levon@movementarian.org>
4643 * lyxrow.C: add isParStart,isParEnd helpers
4645 * paragraph.h: make isInserted/DeletedText take refs
4647 * paragraph_funcs.h:
4648 * paragraph_funcs.C: remove #if 0'd code
4653 * text.C: use lyxrow helpers above.
4654 Move draw and paint routines to RowPainter.
4655 Make several methods use refs not pointers.
4656 Make backgroundColor() const.
4657 Add markChangeInDraw(), isInInset().
4658 Merge changeRegionCase into changeCase.
4659 Make workWidth() shouldn't-happen code into an Assert.
4662 * rowpainter.C: new class for painting a row.
4665 * vspace.C: make inPixels take a ref
4667 2003-02-26 Angus Leeming <leeming@lyx.org>
4669 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4672 2003-02-25 John Levon <levon@movementarian.org>
4674 * ispell.C: give the forked command a more accurate name
4676 2003-02-22 John Levon <levon@movementarian.org>
4679 * toc.C: make TocItem store an id not a Paragraph *
4682 2003-02-21 Angus Leeming <leeming@lyx.org>
4684 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4685 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4686 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4687 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4688 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4689 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4691 * BufferView_pimpl.C (dispatch):
4692 * LyXAction.C (init):
4693 * factory.C (createInset):
4694 * lyxfunc.C (getStatus, dispatch):
4695 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4697 2003-02-21 Angus Leeming <leeming@lyx.org>
4699 * BufferView_pimpl.C (MenuInsertLyXFile):
4700 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4701 * lyxfunc.C (menuNew, open, doImport):
4702 no longer pass a LyXView & to fileDlg.
4704 2003-02-21 Angus Leeming <leeming@lyx.org>
4706 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4707 * LyXAction.C: change, BIBKEY to BIBITEM.
4708 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4709 Change InsetBibKey to InsetBibitem.
4710 Change BIBKEY_CODE to BIBITEM_CODE.
4711 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4712 * factory.C: replace insetbib.h with insetbibitem.h.
4713 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4714 * paragraph.C: replace insetbib.h with insetbibitem.h.
4715 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4716 Change bibkey() to bibitem().
4717 * text.C: remove insetbib.h.
4718 * text2.C: replace insetbib.h with insetbibitem.h.
4719 change bibkey() to bibitem().
4720 * text3.C: remove insetbib.h.
4721 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4723 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4725 * lyxrc.C (output): enclose user email in quotes (in case there are
4728 2003-02-18 John Levon <levon@movementarian.org>
4730 * buffer.h: add std::
4732 2003-02-17 John Levon <levon@movementarian.org>
4738 * pspell.C: reworking. Especially in ispell, a large
4739 number of clean ups and bug fixes.
4741 * lyxfunc.C: fix revert to behave sensibly
4743 2003-02-17 André Pönitz <poenitz@gmx.net>
4746 * commandtags.h: new LFUN_INSERT_BIBKEY
4756 * paragraph_func.C: remove special bibkey handling
4758 2003-02-17 John Levon <levon@movementarian.org>
4760 * text.C (Delete): fix case where delete at the end of
4761 the very first paragraph would not merge the pars
4763 2003-02-17 John Levon <levon@movementarian.org>
4765 * lyxrow.C: fix lastPrintablePos()
4767 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4769 * bufferparams.C (writeLaTeX): add a std:here
4771 * buffer.C: and remove a using directive there
4773 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4775 * buffer.C (makeLaTeXFile): move the code that generates the
4778 * bufferparams.C (writeLaTeX): ... in this new method
4780 * LaTeXFeatures.C (getEncodingSet): make const
4781 (getLanguages): make const
4783 * MenuBackend.C (binding): returns the binding associated to this
4785 (add): sets the status of each item by calling getStatus. Adds
4787 (read): add support for OptSubMenu
4788 (expand): remove extra separator at the end of expanded menu
4790 2003-02-15 John Levon <levon@movementarian.org>
4793 * BufferView_pimpl.C:
4795 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4796 inset code that had no actual effect. Remove unneeded status
4799 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4801 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4804 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4806 * text.C (drawLengthMarker): also draw an arrow marker for
4807 symbolic lengths (medskip...)
4809 2003-02-14 John Levon <levon@movementarian.org>
4812 * tabular.C: better method names
4814 2003-02-14 John Levon <levon@movementarian.org>
4816 * BufferView_pimpl.C:
4821 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4822 it's a more accurate name. Remove some pointless uses.
4824 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4826 * text2.C (LyXText): change order of initilizers to shut off
4829 2003-02-14 John Levon <levon@movementarian.org>
4831 * buffer.C: use ParIterator for getParFromID()
4835 * paragraph_pimpl.h:
4836 * paragraph_pimpl.C: remove unused getParFromID()
4838 2003-02-14 John Levon <levon@movementarian.org>
4840 * buffer.C: remove some very old #if 0'd parse code
4842 2003-02-13 John Levon <levon@movementarian.org>
4846 * text2.C: move hfillExpansion(), numberOfSeparators(),
4847 rowLast(), rowLastPrintable(), numberofHfills(),
4848 numberOfLabelHfills() ...
4851 * lyxrow.C: ... to member functions here.
4856 * text.C: remove LyXText::beginningOfMainBody(), and call
4857 p->beginningOfMainBody() directly. Move the check for
4858 LABEL_MANUAL into the latter.
4865 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4871 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4872 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4874 2003-02-13 John Levon <levon@movementarian.org>
4876 * CutAndPaste.C: remove debug
4878 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4880 * paragraph.C (asString): remove two unused variables
4882 * lyxtextclass.C (readTitleType):
4884 (LyXTextClass): handle new members titletype_ and titlename_
4886 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4888 2003-02-09 John Levon <levon@movementarian.org>
4891 * buffer.C: replace hand-coded list with a map for the dep clean
4893 2003-02-08 John Levon <levon@movementarian.org>
4895 * LaTeX.C: consolidate code into showRunMessage() helper
4897 2003-02-08 John Levon <levon@movementarian.org>
4902 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4903 and pass the size in explicitly
4905 * BufferView_pimpl.h:
4906 * BufferView_pimpl.C:
4908 * BufferView.C: add getCurrentChange()
4910 * BufferView_pimpl.h:
4911 * BufferView_pimpl.C: handle change lfuns
4913 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4914 for changes. Mark pasted paragraphs as new.
4916 * support/lyxtime.h:
4917 * support/lyxtime.C:
4918 * DepTable.C: abstract time_t as lyx::time_type
4921 * LColor.C: add colours for new text, deleted text, changebars
4923 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4924 package use "usenames" option.
4928 * LyXAction.C: add change lfuns
4932 * author.C: author handling
4935 * buffer.C: add a per-buffer author list, with first entry as
4936 current author. Handle new .lyx tokens for change tracking. Output
4937 author list to .lyx file. Output dvipost stuff to .tex preamble.
4938 Bump lyx format to 222.
4941 * bufferlist.C: add setCurrentAuthor() to reset current author details
4945 * bufferparams.C: add param for tracking
4947 * bufferview_funcs.C: output change info in minibuffer
4951 * changes.C: add change-tracking structure
4954 * debug.C: add CHANGES debug flag
4957 * lyxfind.C: add code for finding the next change piece
4960 * lyxrc.C: add user_name and user_email
4963 * lyxrow.C: add a metric for the top of the text line
4966 * text.C: implement accept/rejectChange()
4969 * text.C: paint changebars. Paint new/deleted text in the chosen
4970 colours. Strike through deleted text.
4974 * paragraph_pimpl.h:
4975 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4976 in the current change to the insert functions. Rework erase to
4977 mark text as deleted, adding an eraseIntern() and a range-based
4978 erase(). Implement per-paragraph change lookup and
4981 * paragraph_funcs.C: Fixup paste for change tracking.
4983 * tabular.C: mark added row/columns as new.
4985 * text.C: fix rowLast() to never return -1. Don't allow
4986 spellchecking of deleted text. Track transpose changes. Don't
4987 allow paragraph break or merge where appropriate.
4989 * text2.C: leave cursor at end of selection after a cut.
4991 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4993 * text.C (getLengthMarkerHeight):
4994 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4995 visible on screen too.
4997 2003-02-07 John Levon <levon@movementarian.org>
4999 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5001 2003-02-05 Angus Leeming <leeming@lyx.org>
5003 * lyxserver.C (read_ready): revert my patch of 11 September last year
5004 as it sends PC cpu through the roof. Presumably this means that
5005 the lyxserver will no longer run on an Alpha...
5007 2003-01-30 Angus Leeming <leeming@lyx.org>
5009 * factory.C (createInset): create an InsetCommandParam of type "index"
5010 and use it to 'do the right thing'.
5012 * text2.C (getStringToIndex): ensure that cursor position is always
5013 reset to the reset_cursor position.
5015 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5017 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5020 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5024 * lyxfunc.C: Output messages with identical spelling, punctuation,
5027 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5029 * MenuBackend.C (expandFormats): List only viewable export formats
5032 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5035 * lyxfunc.C (getStatus): Make sure that formats other than
5036 "fax" can also be disabled
5038 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5040 * text3.C (dispatch): put the lfuns that insert insets in 3
5041 groups, and call doInsertInset with appropriate arguments.
5042 (doInsertInset): new function, that creates an inset and inserts
5043 it according to some boolean parameters.
5045 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * buffer.C (readFile): remember to pass on 'par' when calling
5048 readFile recursively.
5050 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5052 * MenuBackend.C (expandFormats): add "..." to import formats.
5054 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5056 * paragraph.C (asString): Remove XForms RTL hacks.
5058 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5059 * buffer.C: fix typo
5061 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * Makefile.am (LIBS): delete var
5064 (lyx_LDADD): add @LIBS@ here instead.
5066 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5068 * Clarify the meaning of "wheel mouse jump"
5070 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5072 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5075 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5077 * importer.C (Loaders): do not preallocate 3 elements in the
5078 vector, since one ends up with 6 elements otherwise
5080 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5082 * DepTable.C (write): write the file name as last element of the
5083 .dep file (because it may contain spaces)
5084 (read): read info in the right order
5086 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5088 * paragraph_pimpl.C (simpleTeXBlanks):
5089 (simpleTeXSpecialChars):
5090 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5092 * tabular.C (latex): add some missing case statements. Reindent.
5094 * MenuBackend.C (expandToc): remove unused variable.
5096 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5105 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5108 2003-01-05 John Levon <levon@movementarian.org>
5111 * BufferView.C: add getEncoding()
5114 * kbsequence.C: do not store last keypress
5117 * lyxfunc.C: store last keypress here instead. Pass encoding
5120 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5122 * lyx_main.C (init): remove annoying error message when following
5123 symbolic links (bug #780)
5125 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5127 * text.C (insertChar):
5128 * lyxrc.C (getDescription): remove extra spaces
5130 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5132 * lyxrc.C (getDescription): remove extra spaces
5134 2002-12-20 John Levon <levon@movementarian.org>
5136 * text3.C: hack fix for page up/down across tall rows
5138 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5140 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5143 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5145 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5146 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5147 thesaurus is not compiled in
5149 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5151 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5153 2002-12-16 Angus Leeming <leeming@lyx.org>
5156 * lyx_main.C (init): remove override_x_deadkeys stuff.
5158 2002-12-12 John Levon <levon@movementarian.org>
5160 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5161 insert. Only remove shift modifier under strict
5164 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * MenuBackend.C (expandToc): fix crash.
5168 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * MenuBackend.C (expandToc): gettext on float names.
5172 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5174 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5175 implement bool empty() [bug 490]
5177 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5181 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * several files: ws changes
5185 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * text2.C (setCounter): clean up a bit, use boost.format.
5188 (updateCounters): initialize par upon declaration.
5190 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5191 if the layout exists. We do not just store the layout any more.
5192 (SwitchLayoutsBetweenClasses): use boost.format
5194 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5196 * converter.C (convert): if from and to files are the same, use a
5197 temporary files as intermediary
5199 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5202 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5204 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5206 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5208 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * tabular.C (asciiPrintCell): use string(size, char) instead of
5213 * sgml.C (openTag): fix order of arguments to string constructor
5216 * lyxfunc.C (dispatch): use boost.format
5218 * lots of files: change "c" -> 'c'
5220 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5222 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5224 2002-11-25 Angus Leeming <leeming@lyx.org>
5226 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5228 * lyx_main.C (init): compile fix.
5230 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * lyx_cb.C (start): boost.formatify
5233 do not include <iostream>
5235 * lengthcommon.C: ws only
5237 * boost-inst.C,BoostFormat.h: add more explict instantations
5239 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * lots of files: handle USE_BOOST_FORMAT
5243 2002-11-21 John Levon <levon@movementarian.org>
5245 * pspell.C: fix compile
5247 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5249 * lyxfunc.C (dispatch): use boost::format
5253 * lyxfont.C (stateText): use boost::format
5255 * lyx_main.C (LyX): use boost::format
5257 (queryUserLyXDir): ditto
5260 (typedef boost::function): use the recommened syntax.
5262 * importer.C (Import): use boost::format
5264 * debug.C (showLevel): use boost::format
5266 * converter.C (view): use boost::format
5271 * bufferview_funcs.C (currentState): use boost::format
5273 * bufferlist.C (emergencyWrite): use boost::format
5275 * buffer.C (readLyXformat2): use boost::format
5276 (parseSingleLyXformat2Token): ditto
5278 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5280 * LaTeX.C (run): use boost::format
5282 * Chktex.C (scanLogFile): use boost::format
5284 * BufferView_pimpl.C (savePosition): use boost::format
5285 (restorePosition): ditto
5286 (MenuInsertLyXFile): ditto
5288 * BoostFormat.h: help file for explicit instation.
5290 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5292 * tabular.C (latex): Support for block alignment in fixed width
5295 2002-11-17 John Levon <levon@movementarian.org>
5297 * BufferView_pimpl.C:
5299 * lyxfunc.C: split filedialog into open/save
5301 2002-11-08 Juergen Vigna <jug@sad.it>
5303 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5304 by my last patch (hopefully).
5306 2002-11-08 John Levon <levon@movementarian.org>
5315 * toc.C: ParConstIterator, and use it (from Lars)
5317 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5319 * lyxtextclass.[Ch]: revise and add doxygen comments
5321 2002-11-07 John Levon <levon@movementarian.org>
5323 * text.C: fix progress value for spellchecker
5325 * toc.C: fix navigate menu for insetwrap inside minipage
5327 * paragraph_funcs.C: added FIXME for suspect code
5329 2002-11-07 John Levon <levon@movementarian.org>
5331 * BufferView_pimpl.C: fix redrawing of insets
5334 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5336 * text2.C (updateCounters): fix bug 668
5338 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5340 * text3.C (dispatch): Do not make the buffer dirty when moving the
5343 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * vc-backend.C: STRCONV
5348 * text2.C (setCounter): STRCONV
5350 * paragraph.C (asString): STRCONV
5352 * lyxlength.C (asString): STRCONV
5353 (asLatexString): ditto
5355 * lyxgluelength.C (asString): STRCONV
5356 (asLatexString): ditto
5358 * lyxfunc.C (dispatch): STRCONV
5361 * lyxfont.C (stateText): STRCONV
5363 * importer.C (Import): STRCONV
5365 * counters.C (labelItem): STRCONV
5366 (numberLabel): ditto
5367 (numberLabel): remove unused ostringstream o
5372 * bufferview_funcs.C (currentState): STRCONV
5374 * buffer.C (readFile): STRCONV
5375 (asciiParagraph): ditto
5376 (makeLaTeXFile): ditto
5378 * Spacing.C (writeEnvirBegin): STRCONV
5380 * LaTeXFeatures.C (getLanguages): STRCONV
5381 (getPackages): ditto
5383 (getBabelOptions): ditto
5384 (getTClassPreamble): ditto
5385 (getLyXSGMLEntities): ditto
5386 (getIncludedFiles): ditto
5390 (scanAuxFile): ditto
5393 * LString.h: add the STRCONV macros
5395 * BufferView_pimpl.C (savePosition): STRCONV
5396 (restorePosition): ditto
5397 (MenuInsertLyXFile): ditto
5399 * vc-backend.C (scanMaster): change from submatch[...] to
5402 * funcrequest.C: include config.h
5404 * factory.C: include config.h
5406 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5408 * box.C: include config.h
5410 * LaTeX.C (scanAuxFile): change from submatch[...] to
5414 2002-10-25 Angus Leeming <leeming@lyx.org>
5416 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5418 * ispell.[Ch] (setError): new method.
5419 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5420 Use setError() insetead of goto END.
5422 * lyx_cb.C (AutoSave): move out child process into new class
5425 2002-10-30 John Levon <levon@movementarian.org>
5427 * text3.C: make start appendix undoable
5429 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5431 * lyxlength.C (inPixels): Fix returned value.
5433 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5436 2002-10-24 Angus Leeming <leeming@lyx.org>
5438 * lyxgluelength.h: no need to forward declare BufferParams
5439 or BufferView, so don't.
5441 2002-10-21 John Levon <levon@movementarian.org>
5443 * BufferView.C: menuUndo ->undo, redo
5445 * BufferView.h: document, remove dead, make some methods private
5447 * paragraph_funcs.h:
5448 * paragraph_funcs.C:
5449 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5454 * sgml.C: move sgml open/close tag into sgml.C
5456 * bufferview_funcs.h: unused prototype
5459 * lyxfunc.C: remove unused
5462 * text.C: remove unused
5464 2002-10-21 John Levon <levon@movementarian.org>
5468 * BufferView_pimpl.h:
5469 * BufferView_pimpl.C: fix mouse wheel handling based on
5470 patch from Darren Freeman
5472 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5474 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5476 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5478 * lyxlength.C (inPixels): Fix hanfling of negative length.
5479 Fix LyXLength::MU case.
5481 2002-10-16 John Levon <levon@movementarian.org>
5483 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5485 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5487 * converter.C (view): add support for $$i (file name) and $$p
5488 (file path) for the viewer command. If $$i is not specified, then
5489 it is appended to the command (for compatibility with old syntax)
5491 2002-10-14 Juergen Vigna <jug@sad.it>
5493 * undo_funcs.C (textHandleUndo): alter the order in which the
5494 new undopar is added to the LyXText, as we have to set first
5495 the right prev/next and then add it as otherwise the rebuild of
5496 LyXText is not correct. Also reset the cursor to the right paragraph,
5497 with this IMO we could remove the hack in "redoParagraphs()".
5499 2002-10-09 Angus Leeming <leeming@lyx.org>
5501 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5502 to turn off an optimisation if a new inset is to be inserted.
5504 2002-10-11 André Pönitz <poenitz@gmx.net>
5506 * lyxtext.h: make some functions public to allow access
5507 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5509 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5511 * text3.C (dispatch): when changing layout, avoid an infinite loop
5514 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5516 * lyxrc.C (read): treat a viewer or converter command of "none" as
5519 * MenuBackend.C (expandFormats): for an update, also allow the
5520 formats that are not viewable
5522 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5523 script if it is newer than the lyxrc.defaults in user directory
5525 2002-10-07 André Pönitz <poenitz@gmx.net>
5527 * text.C: Vitaly Lipatov's small i18n fix
5529 2002-09-25 Angus Leeming <leeming@lyx.org>
5531 * ispell.h: doxygen fix.
5533 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5535 * buffer.h (readFile): Add a new argument to the method, to allow
5536 reading of old-format templates.
5538 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5540 * toc.C (getTocList): Get TOC from InsetWrap.
5542 2002-09-16 John Levon <levon@movementarian.org>
5544 * lyxfunc.C: check tabular for cut/copy too
5546 2002-09-12 John Levon <levon@movementarian.org>
5551 * factory.C: add header
5553 * paragraph_funcs.h:
5554 * paragraph_funcs.C: cleanup
5556 2002-09-11 John Levon <levon@movementarian.org>
5558 * PrinterParams.h: odd/even default to true
5560 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5562 * PrinterParams.h: update printer parameters for new xforms dialog
5564 2002-09-11 Angus Leeming <leeming@lyx.org>
5566 * lyxserver.C (read_ready): re-write to make it more transparent
5567 and to make it work in coherent fashion under Tru64 Unix.
5569 2002-09-11 André Pönitz <poenitz@gmx.net>
5573 * text3.C: implement LFUN_WORDSEL
5575 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5578 make floatlist_ a boost::shared_ptr<FloatList>
5580 * lyxtextclass.C: include FloatList.h
5581 (LyXTextClass): initialize floatlist_
5582 (TextClassTags): add TC_NOFLOAT
5583 (Read): match "nofloat" to TC_NOFLOAT and use it.
5584 (readFloat): modify call to floatlist_
5588 * FloatList.[Ch] (FloatList): remove commented out float
5590 (erase): new function
5592 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5594 * MenuBackend.C (expandToc): fix crash when there is no document
5597 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5599 * many files: Add insetwrap.
5601 2002-09-09 John Levon <levon@movementarian.org>
5603 * text2.C: remove confusing and awkward depth wraparound
5605 2002-09-09 John Levon <levon@movementarian.org>
5607 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5610 * buffer.C: remove getIncludeonlyList()
5613 * lyxfunc.C: remove headers
5615 2002-09-09 Juergen Vigna <jug@sad.it>
5617 * text.C (getColumnNearX): fix form Michael this is most
5618 probably a cut&paste bug.
5620 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5624 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5625 references, ws changes.
5627 * text2.C (init): update counters after init
5628 (insertParagraph): no need to set counter on idividual paragraphs.
5629 (setCounter): access the counters object in the textclass object
5630 on in the buffer object.
5631 (updateCounters): ditto
5633 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5634 shared_ptr<Counters> to avoid loading counters.h in all
5636 (LyXTextClass): initialize ctrs_
5637 (TextClassTags): add TC_COUNTER, and ...
5638 (Read): use it here.
5639 (CounterTags): new tags
5640 (readCounter): new function
5641 (counters): new funtion
5642 (defaultLayoutName): return a const reference
5644 * counters.C (Counters): remove contructor
5645 (newCounter): remove a couple of unneeded statements.
5646 (newCounter): simplify a bit.
5647 (numberLabel): some small formatting changes.
5649 * buffer.[Ch]: remove all traces of counters, move the Counters
5650 object to the LyXTextClass.
5652 2002-09-06 Alain Castera <castera@in2p3.fr>
5654 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5655 package to set the horizontal alignment on fixed width columns.
5658 * lyx_sty.h: added tabularnewline macro def.
5660 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5662 2002-09-06 John Levon <levon@movementarian.org>
5664 * LyXAction.C: tooltips for sub/superscript
5666 * MenuBackend.C: a bit more verbose
5668 * lyxfunc.C: tiny clean
5670 * undo_funcs.C: document undo_frozen
5672 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * counters.C (Counters): add missing algorithm counter.
5676 * text2.C (setCounter): lookup the counter with layouts latexname
5677 instead of by section number.
5678 (setCounter): use a hackish way to lookup the correct enum
5680 a float name->type change
5681 reset enum couners with counter name directly instead of depth value.
5683 * counters.C (Counters): remove the push_backs, change to use the
5684 float type not the float name.
5685 (labelItem): remove unused string, float name->type change
5687 * counters.h: don't include vector, loose the enums and sects vectors
5689 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5692 (Read): add float->TC_FLOAT to textclassTags
5693 (Read): and handle it in the switch
5694 (readFloat): new function
5696 * FloatList.C (FloatList): comment out the hardcoded float
5699 * lyxlayout.h: ws change.
5701 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5703 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5705 2002-09-03 Angus Leeming <leeming@lyx.org>
5707 * BufferView_pimpl.h: qualified name is not allowed in member
5708 declaration: WorkArea & Pimpl::workarea() const;
5710 * factory.C: added using std::endl directive.
5712 * text3.C: added using std::find and std::vector directives.
5714 2002-08-29 André Pönitz <poenitz@gmx.net>
5717 * text2.C: remove unused member number_of_rows
5720 * BufferView2.C: remove file, move contents to...
5721 * BufferView.C: ... here
5723 * BufferView_pimpl.C:
5724 * factory.C: move more inset creation to factory
5726 * vspace.C: avoid direct usage of LyXText, ws changes
5729 don't provide direct access to WorkArea, use two simple
5730 acessors haveSelction() and workHeight() instead
5733 2002-08-29 John Levon <levon@movementarian.org>
5735 * BufferView_pimpl.C (dispatch): do not continue when
5738 2002-08-28 André Pönitz <poenitz@gmx.net>
5740 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5743 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5745 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5747 * buffer.C: increment LYX_FORMAT to 221
5749 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5750 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5752 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5754 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5756 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5758 * factory.C (createInset): use LyXTextClass::floats
5760 * MenuBackend.C (expandFloatListInsert):
5761 (expandFloatInsert):
5764 * text2.C (setCounter):
5766 * LaTeXFeatures.C (useFloat):
5767 (getFloatDefinitions):
5769 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5771 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5772 floatlist_, with accessor floats().
5774 * FloatList.h: remove global FloatList
5776 2002-08-26 André Pönitz <poenitz@gmx.net>
5778 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5782 * BufferView_pimpl.C:
5783 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5785 2002-08-25 John Levon <levon@movementarian.org>
5787 * LyXAction.C: fix margin note description
5789 2002-08-24 John Levon <levon@movementarian.org>
5793 * bufferview_funcs.C:
5795 * undo_funcs.C: cleanups
5797 * lyxfunc.C: disable CUT/COPY when no selection
5799 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5801 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5802 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5804 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5805 Add backward compatibility to "mono", "gray" and "no".
5807 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5809 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5810 (and file_format >= 200).
5812 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5814 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5816 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5818 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5820 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5822 * BufferView_pimpl.C:
5829 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5830 inset and code to make it work with the paragraph code. The inset
5831 can be anywhere in the paragraph, but will only do the expected
5832 thing in LaTeX if the layout file contains the parameter line
5834 (or more generally, a nonzero value) for that layout.
5836 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * paragraph.h: remove the declaration of undefined counters class
5841 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5843 * text2.C (setCounter): fixed enumeration mis-count as reported by
5844 Dr. Richard Hawkins.
5846 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5848 * paragraph_funcs.h: remove some unneeded includes
5850 * text.C (backspace): pasteParagraph now in global scipe
5852 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5853 (pasteSelection): ditto
5855 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5856 * paragraph_funcs.C (pasteParagraph): ... here
5858 2002-08-20 André Pönitz <poenitz@gmx.net>
5860 * commandtags.h: new LFUNs for swapping/copying table row/colums
5863 * lyxfunc.C: support for new lfuns
5865 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * buffer.[Ch]: remove NO_COMPABILITY stuff
5870 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5872 * boost.C (throw_exception): new file, with helper function for
5873 boost compiled without exceptions.
5878 * ParameterStruct.h:
5879 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5881 * bufferlist.C (emergencyWriteAll): use boost bind
5883 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5885 * text.C: include paragraph_funcs.h
5886 (breakParagraph): breakParagraph is now in global scope
5888 * paragraph_funcs.[Ch]: new files
5890 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5893 * buffer.C: include paragraph_funcs.h
5894 (insertStringAsLines): breakParagraph is now in global scope
5896 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5899 * CutAndPaste.C: include paragraph_funcs.h
5900 (cutSelection): breakParagraphConservative is now in global scope
5901 (pasteSelection): ditto
5903 * buffer.h: declare oprator== and operator!= for
5904 Buffer::inset_iterator
5906 * bufferlist.C (emergencyWrite): don't use fmt(...)
5908 * text3.C: add using std::endl
5910 * BufferView.C (moveCursorUpdate): remove default arg
5912 2002-08-20 André Pönitz <poenitz@gmx.net>
5914 * buffer.[Ch]: move inline functions to .C
5917 * BufferView_pimpl.C:
5919 * buffer.[Ch]: use improved inset_iterator
5922 * paragraph.[Ch]: write one paragraph at a time
5924 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5926 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5927 style if style is not specified.
5929 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5931 * text2.C (setCounter): when searching for right label for a
5932 caption, make sure to recurse to parent insets (so that a caption
5933 in a minipage in a figure float works) (bug #568)
5935 2002-08-20 André Pönitz <poenitz@gmx.net>
5937 * text3.C: new file for LyXText::dispatch() and helpers
5939 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5941 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5943 2002-08-19 André Pönitz <poenitz@gmx.net>
5946 * text.C: new LyXText::dispatch()
5948 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5950 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5952 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5954 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5957 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5959 * Makefile.am: use $(variables) instead of @substitutions@
5961 2002-08-15 André Pönitz <poenitz@gmx.net>
5964 * BufferView_pimpl.C: streamlining mathed <-> outer world
5968 * LyXAction.C: remove unused LFUN_MATH
5970 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5972 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5974 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5976 * paragraph.C (Paragraph): reformat a bit
5977 (cutIntoMinibuffer): use builtin InsetList function instad of
5981 * buffer.C: include boost/bind.hpp, add using std::for_each
5982 (writeFileAscii): use ParagraphList iterators
5983 (validate): use for_each for validate traversal of paragraphs
5984 (getBibkeyList): use ParagraphList iterators
5985 (resizeInsets): use for_each to resizeInsetsLyXText for all
5987 (getParFromID): use ParagraphList iterators
5989 * BufferView2.C (lockInset): use paragraph list and iterators
5991 2002-08-14 John Levon <levon@movementarian.org>
5993 * lyxserver.C: remove spurious xforms include
5995 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5997 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5999 2002-08-13 André Pönitz <poenitz@gmx.net>
6002 * lyxfunc.C: further cleaning
6004 2002-08-13 André Pönitz <poenitz@gmx.net>
6006 * funcrequest.h: new constructor
6008 * funcrequest.C: move stuff here from .h
6011 * BufferView_pimpl.C:
6014 * lyxfunc.C: subsequent changes
6016 * lyxfunc.h: new view() member function
6018 * lyxfunc.C: subsequent changes
6020 2002-08-13 Angus Leeming <leeming@lyx.org>
6023 * BufferView_pimpl.C:
6031 changes due to the changed LyXView interface that now returns references
6032 to member variables not pointers.
6034 2002-08-13 Angus Leeming <leeming@lyx.org>
6036 * WordLangTuple (word, lang_code): return references to strings,
6041 * lyxtext.h: forward-declare WordLangTuple.
6046 * text.C: #include "WordLangTuple.h".
6049 * text.C: (selectNextWordToSpellcheck): constify return type.
6051 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6057 * paragraph_pimpl.h:
6060 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6062 Made updateCounter always count from start of buffer, and removed
6063 second argument (par).
6064 Reverted floats number display to '#'. Perhaps I'll try again when the
6065 code base is sanitized a bit.
6067 2002-08-12 Angus Leeming <leeming@lyx.org>
6069 * buffer.[Ch] (getLabelList): constify.
6071 2002-08-07 André Pönitz <poenitz@gmx.net>
6073 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6075 * funcrequest.h: extension to keep mouse (x,y) position
6077 2002-08-12 Juergen Vigna <jug@sad.it>
6079 * BufferView2.C (insertErrors): forbid undo when inserting error
6082 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6084 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * ParagraphList.[Ch]: new files
6088 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6090 * BufferView2.C (lockInset): ParagraphList changes
6093 * bufferlist.C: ditto
6097 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6100 unused class variable counter_,
6102 * paragraph.[Ch] (getFirstCounter): delete unused function
6104 * counters.C: include LAssert.h
6105 (reset): add a new function with no arg, change other version to
6106 not have def. arg and to not allow empty arg.
6108 * text2.C (setCounter): remove empty arg from call to Counters::reset
6110 2002-08-11 John Levon <levon@movementarian.org>
6112 * Makefile.am: add WordLangTuple.h
6114 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6116 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6117 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6119 * insets/insettext.C: InsetList changes
6121 * graphics/GraphicsSupport.C (operator()): InsetList changes
6123 * toc.C (getTocList): InsetList changes
6125 * paragraph_pimpl.[Ch]: InsetList changes
6127 * paragraph.[Ch]: InsetList changes
6129 * buffer.C (inset_iterator): InsetList changes
6130 (setParagraph): ditto
6131 * buffer.h (inset_iterator): ditto
6132 * iterators.C (operator++): ditto
6133 * iterators.h: ditto
6135 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6137 * InsetList.[Ch]: new files, most InsetList handling moved out of
6140 * BufferView2.C (removeAutoInsets): InsetList changes
6142 (ChangeInsets): ditto
6144 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * paragraph_pimpl.h (empty): new function
6148 * paragraph.[Ch] (empty): new function
6150 * other files: use the new Paragraph::empty function
6152 2002-08-09 John Levon <levon@movementarian.org>
6154 * lyxtext.h: remove unused refresh_height
6156 2002-08-09 John Levon <levon@movementarian.org>
6163 * paragraph.C: move sgml char escaping out of paragraph
6166 * paragraph.C: remove id setter
6170 * paragraph_pimpl.C: remove dead tex_code_break_column
6172 * bufferview_funcs.C: small cleanup
6174 * lyxfunc.C: remove dead proto
6176 * lyxtext.h: make some stuff private. Remove some dead stuff.
6178 * lyxgluelength.C: make as[LyX]String() readable
6180 2002-08-08 John Levon <levon@movementarian.org>
6185 * ToolbarDefaults.C:
6188 * toc.C: lyxaction cleanup
6190 2002-08-08 John Levon <levon@movementarian.org>
6192 * BufferView2.C: small cleanup
6195 * lyxfind.C: move unnecessary header into the .C
6197 2002-08-08 John Levon <levon@movementarian.org>
6199 * funcrequest.h: just tedious nonsense
6202 * lyx_main.C: cleanups
6205 * vspace.C: remove dead header lyx_main.h
6207 2002-08-07 Angus Leeming <leeming@lyx.org>
6210 * paragraph_pimpl.h:
6211 Forward declare class Counters in paragraph.h by moving the ctrs member
6212 variable into Paragraph::Pimpl.
6213 (counters): new method, returning a reference to pimpl_->ctrs.
6215 * text2.C: ensuing changes.
6217 2002-08-07 John Levon <levon@movementarian.org>
6219 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6221 * BufferView_pimpl.C: announce X selection on double/triple
6224 * lyx_main.C: use correct bool in batch dispatch
6226 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6228 2002-08-07 André Pönitz <poenitz@gmx.net>
6230 * funcrequest.h: new class to wrap a kb_action and its argument
6233 * BufferView_pimpl[Ch]:
6237 * lyxrc.C: subsequent changes
6240 2002-08-07 John Levon <levon@movementarian.org>
6242 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6243 document options change.
6245 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6250 * makefile.am: move counters functionality over from
6251 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6253 2002-08-06 John Levon <levon@movementarian.org>
6255 * WordLangTuple.h: new file for word + language code tuple
6266 * BufferView2.C: use WordLangTuple
6269 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6271 2002-08-06 John Levon <levon@movementarian.org>
6273 * lyx_main.C: fix cmdline batch handling
6275 2002-08-06 André Pönitz <poenitz@gmx.net>
6277 * lyxrc.C: set default for show_banner to true
6279 2002-08-06 John Levon <levon@movementarian.org>
6281 * pspell.C: fix a crash, and allow new aspell to work
6283 2002-08-06 John Levon <levon@movementarian.org>
6286 * kbmap.C: small cleanup
6289 * vspace.C: add const
6291 2002-08-05 John Levon <levon@movementarian.org>
6293 * LyXAction.C: back to tabular-insert
6295 2002-08-04 John Levon <levon@movementarian.org>
6298 * BufferView.C: cosmetic change
6300 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6310 * BufferView2.C: purge all "Lyx" not "LyX" strings
6313 * lyxcursor.C: attempt to add some documentation
6318 * ToolbarDefaults.C:
6319 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6320 merge with LFUN_TABULAR_INSERT
6327 * pspell.C: split up i/pspell implementations into separate
6328 files, many cleanups
6330 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6332 * text2.C: some cleanup
6334 * lyxfunc.C: don't check for isp_command == "none" any more, it
6335 didn't make any sense
6337 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6342 * makefile.am: move counters functionality over
6343 from text2.C/paragraph.[Ch] to counters.[Ch], and
6345 2002-08-02 John Levon <levon@movementarian.org>
6347 * buffer.C: s/lyxconvert/lyx2lyx/
6349 2002-08-02 Angus Leeming <leeming@lyx.org>
6351 * lyxlex.C: revert John's change as it breaks reading of the user
6354 2002-08-02 Angus Leeming <leeming@lyx.org>
6356 * importer.C (Import):
6357 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6358 changes due to LyXView::view() now returning a boost::shared_ptr.
6360 2002-08-02 John Levon <levon@movementarian.org>
6362 * lyxlex.C: small cleanup
6364 2002-08-02 John Levon <levon@movementarian.org>
6366 * text2.C (status): small cleanup, no logic change
6368 2002-08-01 John Levon <levon@movementarian.org>
6371 * buffer.C (writeFile): don't output alerts, caller
6375 * lyx_cb.C: from above
6377 * lyxfunc.C: allow to open non-existent files
6379 2002-07-31 John Levon <levon@movementarian.org>
6381 * lyxserver.C: don't let incidental errors get
6384 2002-07-30 John Levon <levon@movementarian.org>
6386 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6388 2002-07-30 John Levon <levon@movementarian.org>
6391 * lyxserver.C: remove I/O callback too
6393 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6395 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6398 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * many files: strip,frontStrip -> trim,ltrim,rtrim
6402 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6404 * PrinterParams.h: remove extern containsOnly, and include
6405 support/lstrings.h instead.
6407 * LaTeX.C (scanAuxFile): modify because of strip changes
6409 * buffer.C (makeLaTeXFile): ditto
6410 * bufferparams.C (writeFile): ditt
6411 * lyxfont.C (stateText): ditto
6412 * lyxserver.C (read_ready): ditto
6413 * vc-backend.C (scanMaster): ditto
6415 * BufferView_pimpl.h: ws changes
6417 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6419 2002-07-26 André Pönitz <poenitz@gmx.net>
6421 * kb_sequence.C: remove unnedred usings
6423 2002-07-26 Juergen Vigna <jug@sad.it>
6425 * lyxfind.C (LyXReplace): we have to check better if the returned
6426 text is not of theLockingInset()->getLockingInset().
6428 2002-07-25 Juergen Vigna <jug@sad.it>
6430 * lyxfind.C (LyXReplace): don't replace if we don't get the
6433 * undo_funcs.C (createUndo): remove debugging code.
6435 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6437 * buffer.C (parseSingleLyXformat2Token): Use default placement
6438 when reading old floats.
6440 * FloatList.C (FloatList): Change the default placement of figure
6441 and tables to "tbp".
6443 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6445 * MenuBackend.C: using std::max
6447 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6449 * MenuBackend.C (expandToc):
6450 (expandToc2): code moved from xforms menu frontend. It is now
6451 generic and TOCs are transparent to menu frontends.
6453 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6455 * toc.C (getTocList): protect against buf=0
6457 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6458 Menu as first parameter. Now, this calls itself recursively to
6459 expand a whole tree (this will be useful for TOC handling)
6460 (expandFloatInsert): remove 'wide' version of floats
6462 * MenuBackend.h (submenuname): returns the name of the submenu.
6463 (submenu): returns the submenu itself, provided it has been
6464 created by MenuBackend::expand
6466 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6468 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6469 insets which have noFontChange == true. (bug #172)
6471 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6473 * BufferView_pimpl.C: add connection objects and use them...
6476 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6478 * MenuBackend.C (expandLastfiles):
6481 (expandFloatListInsert):
6482 (expandFloatInsert):
6483 (expand): split expand in parts
6485 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6487 * lyx_gui.C: use lyx_gui::exit()
6489 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6491 * LyXAction.C: show the failing pseudo action
6493 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6495 * buffer.C (readFile): Run the lyxconvert script in order to read
6498 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6502 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6504 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6508 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6510 2002-07-22 Herbert Voss <voss@lyx.org>
6513 * lyxlength.[Ch]: add support for the vertical lengths
6515 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6517 * toc.[Ch]: std:: fixes
6519 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6521 * lyxrc.C: do not include lyx_main.h
6523 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6529 * BufferView2.C: include "lyxlex.h"
6532 * bufferparams.h: do not #include "lyxlex.h"
6534 * lyxtextclasslist.C (Add): remove method
6535 (classlist): renamed to classlist_
6537 * paragraph_pimpl.C:
6541 * bufferview_funcs.C:
6546 * toc.C (getTocList): use BufferParams::getLyXTextClass
6548 * toc.C (getTocList): use InsetFloat::addToToc
6550 * toc.[Ch]: new files, containing helper functions to handle table
6553 * lyxfunc.C (dispatch): no need to remove spaces around command
6555 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6556 first command of the sequence; it is not very clever, but I do not
6557 have a better idea, actually
6559 * LyXAction.C (LookupFunc): make sure to remove space at the
6560 beginning and end of the command
6562 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6564 * MenuBackend.C (getMenubar): new method: return the menubar of
6566 (read): treat differently reading of menu and menubar (in
6567 particular, the menubar has no name now)
6568 (Menu::menubar): remove
6570 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6573 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6575 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6576 a bibitem inset in a RTL paragraph.
6578 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6580 * paragraph_pimpl.C: constify
6582 * BufferView_pimpl.C:
6584 * lyxfunc.C: fix dispatch in a nicer way
6586 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6588 * lyxfunc.C (dispatch):
6589 * BufferView_pimpl.C:
6590 * BufferView_pimpl.h:
6592 * BufferView.h: rename Dispatch() to dispatch()
6594 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6596 * lyxlayout.C (Read): honor DependsOn tag
6598 * lyxlayout.[Ch] (depends_on): new method
6600 * version.C.in: update lyx_docversion
6602 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6604 * paragraph.C (validate): remove from here...
6605 * paragraph_pimpl.C (validate): ... and move here
6606 (isTextAt): make it const
6608 * buffer.C (getLists): ws cleanup
6610 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6612 * language.C (read): Use iso8859-1 encoding in latex_lang
6613 (this prevents LyX from crashing when using iso10646-1 encoding).
6615 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6617 * text2.C (toggleInset): if cursor is inside an inset, close the
6618 inset and leave cursor _after_ it
6620 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6622 * lyxfunc.C: move minibuffer completion handling out of here
6624 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6626 * BufferView_pimpl.C:
6627 * LaTeX.C: fix dispatch calls
6629 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6631 * text.C (drawChars): Fix Arabic text rendering.
6633 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6637 * lyxfunc.C: remove message-push/pop
6641 * lyxfunc.C: rationalise some code by removing verboseDispatch
6642 in favour of a bool argument to dispatch()
6644 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6646 * lyx_main.C (init): make sure to read symlinks as absolute paths
6648 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6651 * lyxfunc.C: no need for commandshortcut to be a member
6653 2002-07-15 André Pönitz <poenitz@gmx.net>
6655 * converter.C: add support for $$s (scripts from lib/scripts dir)
6656 * lyx_main.C: white space
6658 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6662 * lyxrc.C: remove second exit confirmation
6664 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6669 * BufferView_pimpl.h:
6670 * BufferView_pimpl.C:
6671 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6673 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6675 * MenuBackend.C (expand): add numeric shortcuts to document menu
6677 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6679 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * lyxfont.C (setLyXFamily):
6688 * buffer.C (asciiParagraph): use ascii_lowercase
6690 2002-07-15 Mike Fabian <mfabian@suse.de>
6692 * lyxlex_pimpl.C (search_kw):
6693 * lyxlex.C (getLongString):
6694 * converter.h (operator<):
6695 * converter.C (operator<):
6696 * buffer.C (parseSingleLyXformat2Token):
6698 * ToolbarDefaults.C (read):
6699 * MenuBackend.C (checkShortcuts):
6701 * LColor.C (getFromGUIName):
6702 (getFromLyXName): use the compare_ascii_no_case instead of
6703 compare_no_case, because in turkish, 'i' is not the lowercase
6704 version of 'I', and thus turkish locale breaks parsing of tags.
6706 2002-07-16 Angus Leeming <leeming@lyx.org>
6708 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6709 now takes a Buffer const & argument.
6711 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6713 * BufferView.C (resize): check there's a buffer to resize
6715 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6717 * lyxfunc.C: remove dead code
6720 * lyxserver.C: use lyx_guii::set_read_callback
6722 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6724 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6725 an inset in a RTL paragraph.
6727 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6729 * lyxfunc.C: repaint after a font size update
6731 2002-07-15 André Pönitz <poenitz@gmx.net>
6733 * lyxlength.C: inBP should be able to return negative values
6735 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6737 * lyxfunc.C: use lyx_gui::update_fonts()
6739 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6741 * lyxfunc.C: use lyx_gui::update_color()
6743 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6749 * lyxrc.C: remove file->new asks for name option, and let
6750 buffer-new take an argument
6752 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6754 * BufferView_pimpl.C: remove unneeded extra repaint()
6756 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6758 * LyXAction.C: allow command-sequence with NoBuffer
6760 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6762 2002-07-10 Angus Leeming <leeming@lyx.org>
6764 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6766 2002-07-09 Angus Leeming <leeming@lyx.org>
6768 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6770 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6772 * lengthcommon.h: whitespace
6774 * lyxfunc.C: update scrollbar after goto paragraph
6776 * lyxtext.h: factor out page break drawing, and fix it so
6777 page break/added space paints as selected nicely
6779 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6781 * BufferView_pimpl.C: add FIXMEs, clean up a little
6783 2002-07-09 André Pönitz <poenitz@gmx.net>
6785 * lyxfont.[Ch]: support for wasy symbols
6787 2002-07-08 André Pönitz <poenitz@gmx.net>
6789 * BufferView_pimpl.C: apply John's patch for #93.
6791 2002-07-05 Angus Leeming <leeming@lyx.org>
6793 * BufferView_pimpl.C (buffer): generate previews if desired.
6795 * LColor.h: add "preview" to the color enum.
6797 * LColor.C (LColor): add a corresponding entry to the items array.
6799 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6802 2002-07-05 Angus Leeming <leeming@lyx.org>
6804 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6805 The body of the code is now in the method that is passed an ostream &
6806 rather than a file name.
6807 Pass an additional only_preamble parameter, useful for the forthcoming
6810 2002-07-03 André Pönitz <poenitz@gmx.net>
6812 * lyxfunc.C: simplify getStatus() a bit for math stuff
6814 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6816 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6818 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * text.C (changeRegionCase): do not change case of all the
6821 document when region ends at paragraph end (bug #461)
6823 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6825 * paragraph.C (startTeXParParams):
6826 (endTeXParParams): add \protect when necessary
6828 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6830 * BufferView_pimpl.C (workAreaExpose): remove warning
6832 2002-06-27 Angus Leeming <leeming@lyx.org>
6834 * Makefile.am: add lyxlayout_ptr_fwd.h.
6836 2002-06-26 André Pönitz <poenitz@gmx.net>
6838 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6840 2002-06-25 Angus Leeming <leeming@lyx.org>
6842 * lyxfunc.C (dispatch): Comment out the call to
6843 grfx::GCache::changeDisplay. The method no longer exists now that the
6844 pixmap generation part of the graphics loader has been moved into
6847 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6849 * text2.C: layout as layout
6851 * text.C: layout as layout
6853 * tabular.C (OldFormatRead): layout as layout
6855 * paragraph_pimpl.C (TeXDeeper): layout as layout
6856 (realizeFont): layout as layout
6858 * paragraph.C (writeFile): layout as layout
6859 (validate): layout as layout
6860 (getFont): layout as layout
6861 (getLabelFont): layout as layout
6862 (getLayoutFont): layout as layout
6863 (breakParagraph): layout as layout
6864 (stripLeadingSpaces): layout as layout
6865 (getEndLabel): layout as layout
6866 (getMaxDepthAfter): layout as layout
6867 (applyLayout): layout as layout
6868 (TeXOnePar): layout as layout
6869 (simpleTeXOnePar): layout as layout
6870 (TeXEnvironment): layout as layout
6871 (layout): layout as layout
6872 (layout): layout as layout
6874 * lyxtextclass.C (compare_name): new functor to work with
6875 shared_ptr, layout as layout
6876 (Read): layout as layout
6877 (hasLayout): layout as layout
6878 (operator): layout as layout
6879 (delete_layout): layout as layout
6880 (defaultLayout): layout as layout
6882 * lyxlayout_ptr_fwd.h: new file
6884 * lyxlayout.C (Read): layout as layout
6886 * lyx_cb.C (MenuInsertLabel): layout as layout
6888 * bufferlist.C (newFile): layout as layout
6890 * buffer.C (readLyXformat2): layout as layout
6891 (parseSingleLyXformat2Token): layout as layout
6892 (insertStringAsLines): layout as layout
6893 (asciiParagraph): layout as layout
6894 (latexParagraphs): layout as layout
6895 (makeLinuxDocFile): layout as layout
6896 (simpleLinuxDocOnePar): layout as layout
6897 (makeDocBookFile): layout as layout
6898 (simpleDocBookOnePar): layout as layout
6899 (getLists): layout as layout
6901 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6903 * CutAndPaste.C (cutSelection): layout as layout
6904 (pasteSelection): layout as layout
6905 (SwitchLayoutsBetweenClasses): layout as layout
6907 * BufferView_pimpl.C (Dispatch): layout as layout
6908 (smartQuote): layout as layout
6910 * BufferView2.C (unlockInset): layout as layout
6912 2002-06-24 André Pönitz <poenitz@gmx.net>
6914 * lyxfunc.C: fix #487
6916 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6920 * lyxfunc.C: remove display_shortcuts, show_banner
6922 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6924 * Buffer_pimpl.C: oops, update on resize
6926 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6933 * BufferView.C: use repaint()
6935 * BufferView_pimpl.h:
6936 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6937 as it's a clearer description. Remove superfluous
6940 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6942 * text.C: fix bug 488. Not ideal, but getting
6943 getWord() to work properly for the insets that
6944 matter is more difficult ...
6946 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6948 * BufferView_pimpl.C:
6951 * lyxfunc.C: remove the six million index lyxfuncs to just
6952 one, and DTRT (bug 458)
6954 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6958 * BufferView_pimpl.h:
6959 * BufferView_pimpl.C: clean up resize() stuff,
6960 and unnecessary updateScreen()s
6962 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6966 * BufferView_pimpl.h:
6967 * BufferView_pimpl.C:
6970 * minibuffer.C: remove focus management of workarea,
6971 not needed. Use screen's greyOut()
6973 2002-06-17 Herbert Voss <voss@lyx.org>
6975 * converter.C: (convert) do not post a message, when converting
6976 fails, let the calling function decide what to do in this case
6978 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6980 * lyxfunc.C: tidy up a little
6982 2002-06-16 <alstrup@diku.dk>
6984 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6985 Got rid of FORMS_H_LOCATION include. Now we are
6988 2002-06-15 LyX Development team <lyx@rilke>
6990 * buffer.[Ch] (sgmlOpenTag):
6991 (sgmlCloseTag): Added support for avoiding pernicious mixed
6992 content. Return number of lines written.
6995 (makeDocBookFile): Fixed calls to sgml*Tag.
6996 Simple white space clean.
6998 (simpleDocBookOnePar): Simple white space clean.
7000 * tabular.[Ch] (docBook): Renamed to docbook and got another
7001 argument to related with the pernicious mixed content.
7003 (docbookRow): Fixed calls for docbook inset method.
7005 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7007 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7008 so it's X11 independent.
7012 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7014 2002-06-15 Lyx Development team <lyx@electronia>
7016 * intl.h: Renamed getTrans to getTransManager.
7018 2002-06-14 Angus Leeming <leeming@lyx.org>
7020 * Makefile.am: nuke forgotten stl_string_fwd.h.
7022 2002-06-12 Angus Leeming <leeming@lyx.org>
7024 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7026 2002-06-13 Angus Leeming <leeming@lyx.org>
7029 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7031 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7033 * kbmap.C (getiso): add support for cyrillic and greek
7035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7039 * BufferView_pimpl.h:
7040 * BufferView_pimpl.C: move bogus scrolling logic
7043 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7046 * BufferView_pimpl.C: view->resize() change
7048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7050 * BufferView_pimpl.C: topCursorVisible
7053 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7057 * lyx_gui.C: move to frontends/
7061 * lyx_main.C: changes from above
7063 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7070 * lyx_main.C: minor tidy
7072 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7074 * BufferView_pimpl.h:
7075 * BufferView_pimpl.C:
7077 * BufferView.C: make painter() const,
7080 * BufferView2.C: use screen() accessor
7083 * lyx_main.C: some minor cleanup
7085 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7087 * BufferView_pimpl.h:
7088 * BufferView_pimpl.C: remove enter/leaveView,
7091 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7096 * BufferView_pimpl.h:
7097 * BufferView_pimpl.C: only construct screen once,
7100 * lyxrc.C: remove pointless comment
7102 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7105 * BufferView.C: remove active() and belowMouse()
7107 * BufferView_pimpl.h:
7108 * BufferView_pimpl.C: use workarea() not workarea_,
7109 and make it use a scoped_ptr instead
7111 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7113 * lyx_gui.C: add debug message on BadWindow
7115 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7117 * sp_spell.C: fdopen is not part of the C++ standard.
7119 * paragraph.C (InsetIterator): use >= instead of ==
7121 2002-06-07 Angus Leeming <leeming@lyx.org>
7123 Fixes needed to compile with Compaq cxx 6.5.
7124 * BufferView_pimpl.C:
7131 * lyxtextclasslist.C:
7136 all c-library variables have been moved into namespace std. Wrap
7137 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7142 Add a using std::abs declaration.
7144 * kbmap.h (modifier_pair):
7145 * paragraph.h (InsetTable, InsetList):
7146 * lyxfont.h (FontBits):
7147 type definition made public.
7149 * bufferlist.C (emergencyWriteAll): the compiler complains that
7150 there is more than one possible lyx::class_fun template to choose from.
7151 I re-named the void specialisation as lyx::void_class_fun.
7153 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7155 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7156 the compiler is is unable to find tostr in write_attribute.
7158 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7160 * buffer.C (sgmlError): hide #warning
7162 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7164 * xtl/*: get rid of xtl, which is not in use anyway
7166 * LyXAction.C (init):
7167 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7168 were unimplemented xtl experimentation
7170 2002-06-04 André Pönitz <poenitz@gmx.net>
7172 * lyxfunc.C: disable array operation on simple formulae
7174 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7176 * converter.C: constify a bit
7178 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7180 * lyx_gui.C: check xforms version correctly
7182 2002-04-30 Herbert Voss <voss@lyx.org>
7184 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7187 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7189 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7190 attempt to register it with a VCS)
7192 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7194 * lyx_main.C (init): honor variables LYX_DIR_13x and
7197 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7201 * lyx_main.C: fix a crash on bad command line,
7202 and give a useful exit status on error
7204 * lyxfunc.C (doImport): allow -i lyx to work
7206 2002-03-30 André Pönitz <poenitz@gmx.net>
7208 * lyxfunc.C: mathed font changes
7210 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7225 * trans_mgr.h: srcdocs, and some minor cleanups
7227 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7229 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7230 call getFont all the time)
7232 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7234 * switch from SigC signals to boost::signals
7236 2002-05-29 André Pönitz <poenitz@gmx.net>
7238 * paragraph_pimpl.C (getChar): don't call size() too often...
7240 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7242 * paragraph_pimpl.C (insertChar): do not try to update tables when
7243 appending (pos == size())
7245 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7246 in order to reduce drastically the number of comparisons needed to
7247 parse a large document
7249 2002-05-29 André Pönitz <poenitz@gmx.net>
7255 * textclasslist.[Ch]:
7256 * sp_ispell.h: whitespace change
7258 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7260 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7261 lyxaction directly now.
7263 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7267 * lyxvc.C: remove unused headers
7269 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7276 * undo_funcs.C: some cleanups. Use shared_ptr
7277 and a template for the undo stacks.
7279 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7281 * BufferView_pimpl.h:
7282 * BufferView_pimpl.C:
7289 * text2.C: use key_state/mouse_state
7291 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7293 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7296 * chset.C: change include order
7297 (loadFile): use boost regex and get rid of LRegex and LSubstring
7299 * Makefile.am (BOOST_LIBS): new variable
7302 * LaTeX.C: change include order.
7303 (scanAuxFile): use boost regex and get rid of LRegex and
7307 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7312 * FontInfo.C: moved to frontends/xforms/
7315 * FontLoader.C: moved into frontends for GUIIzation
7320 * lyxfunc.C: changes from above
7322 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7324 * LColor.C: remove spurious X include
7326 * BufferView_pimpl.C:
7331 * text2.C: move font metrics to frontends/
7333 2002-05-24 Juergen Vigna <jug@sad.it>
7335 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7336 setting the undo_cursor.
7338 * ParagraphParameters.h: include local includes first.
7340 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7342 * BufferView_pimpl.C:
7343 * BufferView_pimpl.h:
7347 * screen.C: move WorkArea into frontends/
7353 * BufferView2.C: move LyXScreen into frontends/
7357 * lyx_gui.C: move lyxlookup into frontends/xforms/
7359 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7362 * BufferView_pimpl.C:
7372 * bufferview_funcs.C:
7385 * vc-backend.C: move LyX/XFormsView into frontends/
7387 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7399 * text2.C: move Painter to frontends/
7401 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7403 * buffer.C: comment out some some code that depend upon lyx_format
7406 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7407 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7409 * buffer.h (NO_COMPABILITY): turn off compability
7411 * ColorHandler.C: include scoped_array.hpp
7413 * font.C: Use more specific smart_ptr header.
7416 * ShareContainer.h: ditto
7420 * BufferView_pimpl.h: ditto
7421 * ColorHandler.h: ditto
7423 * kbmap.C (defkey): change call to shared_ptr::reset
7425 2002-05-21 Juergen Vigna <jug@sad.it>
7427 * buffer.C (insertErtContents): fix to insert ert asis if it is
7428 non empty. Skip it completely if it contains only whitespaces.
7430 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7432 * BufferView_pimpl.C:
7433 * BufferView2.C: clear selection on paste (bug 393)
7435 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7437 * DepTable.C: include ctime
7439 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7441 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7443 2002-05-14 Juergen Vigna <jug@sad.it>
7445 * text.C (breakParagraph): fixed function to honor the keepempty
7446 layout in the right maner and also to permit the right breaking
7447 algorithm on empty or non empyt keepempty paragraphs.
7449 * paragraph.C (breakParagraph): we have to check also if the par
7450 is really empty (!size()) for isempty otherwise we do the wrong
7453 2002-05-10 Juergen Vigna <jug@sad.it>
7455 * buffer.[Ch] : The following are only changes to the ert
7456 compatibility read reading old LaTeX layout and font stuff and
7457 convert it to ERTInsets.
7459 * buffer.h: added isErtInset().
7461 * buffer.C (struct ErtComp): add a fromlayout bool to check
7462 if we're inside a LaTeX layout.
7463 (isErtInset): new helper function.
7464 (insertErtContents): look for other ert insets before this one
7465 and insert the contents there, so that we don't have subsequent
7466 ERT insets with nothing between them. This way we create only one
7467 inset with multiple paragraphs. Also check if we don't insert only
7468 spaces ' ' as they are ignored anyway afterwards in the .tex file
7469 so if we have only spaces we will ignore this latex part in the
7471 (parseSingleLyXformat2Token \\layout): better compatibility when
7472 reading layout-latex stuff.
7473 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7475 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7476 stuff after reading the inset only get the information back from
7479 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7481 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7483 * LaTeXFeatures.C (getBabelOptions): New method.
7485 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7487 * BufferView_pimpl.C (Dispatch): work around missing argument for
7490 2002-05-08 Juergen Vigna <jug@sad.it>
7492 * text.C (leftMargin): handle paragraph leftindent.
7494 * paragraph.C (writeFile): write the new \\leftindent tag.
7495 (validate): handle leftindent code.
7496 (TeXEnvironment): handle paragraphleftindent code again.
7498 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7500 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7501 for paragrap_extra indent code and new token \\leftindent.
7502 (latexParagraphs): handle the leftindent as environment.
7504 * ParameterStruct.h: added leftindent support.
7506 * ParagraphParameters.C (leftIndent): added support functions for
7507 the paragraph left indent.
7509 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7512 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7514 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7517 * text.C (computeBidiTables): No bidi in insetERT.
7519 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7522 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7524 * version.C.in: pre 5
7526 2002-05-02 José Matos <jamatos@fep.up.pt>
7527 * buffer.C (makeDocBookFile): white space changes, add newline to
7529 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7531 * tabular.C (docBook): fix typo.
7533 2002-05-03 Juergen Vigna <jug@sad.it>
7535 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7536 change in LyXText as we can not be sure it was not freed.
7537 (drawOneRow): remove unused code.
7539 * text.C (drawInset): redo the calculation of the need_break_row as
7540 it could have a row which was already freed.
7541 (draw): look at the return value of drawInset and return false if
7542 it also returned false.
7543 (paintRowText): look at the return value of draw and return false if
7544 it also returned false.
7546 * lyxtext.h: added bool return type to drawInset() and draw() so that
7547 if we have a change in the row so that the rowbreak has to be redone
7548 we abort drawing as it will be called again.
7550 2002-05-02 Juergen Vigna <jug@sad.it>
7552 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7553 a change in the maintext also if we're inside an inset.
7554 (Dispatch): set the cursor again after a break line and after the
7555 screen has been updated as it could be we're in a different row.
7557 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7558 to set the cursor behind the pargraph with > size().
7559 (setCursor): check also for the same paragraph when checking where
7560 to put the cursor if we have a NFR inset.
7562 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7563 parts of layout read further up as it still was in the wrong
7566 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7568 * screen.C (drawFromTo): change sine fullRebreak always return
7571 * buffer.C (parseSingleLyXformat2Token): reindent some
7573 * BufferView_pimpl.C (update): change since fullRebreak always
7575 (Dispatch): git rid of the last hardcoded "Standard"s.
7577 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7579 * text2.[Ch] (fullRebreak): make it return void now that we always
7582 2002-04-30 Juergen Vigna <jug@sad.it>
7584 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7585 ert compatibility check for "latex" layout.
7587 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7589 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7590 minipages: use col% instead of p%, and also use the current font.
7591 (makeLaTeXFile): Fix use babel condition.
7592 (parseSingleLyXformat2Token): Correct font when reading old floats.
7594 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7596 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7597 inserting list of floats.
7599 2002-04-25 Herbert Voss <voss@lyx.org>
7601 * MenuBackend.C (expand): don't add the graphics extensions to the
7604 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7606 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7607 non-existing layout, do not complain if it was the default layout
7608 of the original class (bug #342)
7610 2002-04-24 Juergen Vigna <jug@sad.it>
7612 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7613 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7615 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7617 * buffer.C (getBibkeyList): If using \bibliography, return the
7618 option field with the reference itself. Enables us to provide natbib
7619 support when using \bibliography.
7621 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7623 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7625 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7626 natbib is provided by the LaTeX class.
7628 2002-04-23 Juergen Vigna <jug@sad.it>
7630 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7633 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7635 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7637 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7639 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7640 ensuremath around textordmasculine, textordfeminine and
7643 2002-04-19 Juergen Vigna <jug@sad.it>
7645 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7646 reinitializing the buffer otherwise row-dimensions may be wrong.
7647 (update): reset also the selection cursors if they do exits otherwise
7648 their x/y positions may be wrong.
7650 * text2.C (cursorDown): don't enter the inset if we came from a row
7651 above and are one row over the inset.
7653 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7654 really leaving an inset.
7656 2002-04-18 Juergen Vigna <jug@sad.it>
7658 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7659 of the selected paragraph does not have the selected layout also if
7662 * text2.C (setLayout): fixed bug which did not change last selected
7665 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7666 changed the read and substituted \\end_float with \\end_inset!
7668 * BufferView_pimpl.C (cursorPrevious):
7669 (cursorNext): fixed to make it work with rows heigher than the work
7670 area without moving the cursor only the draw of the row.
7671 (workAreaMotionNotify): fix jumping over high rows.
7673 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7675 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7678 2002-04-16 Juergen Vigna <jug@sad.it>
7680 * text2.C (setCursor): set also the irow().
7681 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7683 (cursorDown): support for locking an inset if the x_fix value goes
7684 inside it. That way I can transverse insets too with cursor up/down.
7686 * lyxrow.h: added irow helper function same as other (i) functions.
7688 * BufferView_pimpl.C (cursorPrevious):
7689 (cursorNext): fixed for insets!
7691 2002-04-15 Juergen Vigna <jug@sad.it>
7693 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7694 position otherwise it is wrong in some cases.
7696 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7697 inside the inset before the call.
7699 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7701 * buffer.[Ch] (getBibkeyList): make it const.
7703 2002-04-12 Juergen Vigna <jug@sad.it>
7705 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7707 * text2.C (getCursorX): new helper function
7708 (setCursor): compute also ix_
7709 (setCursorFromCoordinates): set also ix.
7711 * lyxcursor.h: added ix_ and helper functions.
7713 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7715 * buffer.C (insertStringAsLines): dont break paragraph if the this
7716 paragraph is inside an inset which does not permit it!
7718 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7719 also with no chars on this paragraph.
7720 (paintRowText): only paint stuff if it's inside the workarea!
7722 * paragraph.C (breakParagraph): honor keepempty flag and break the
7723 paragraph always below not above.
7725 * BufferView2.C (unlockInset): update the paragraph layout on inset
7726 unlock as we changed paragraph in such a case.
7728 * lyxfind.C (LyXFind): clear the former selection if not found!
7730 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7731 again called in insertChar().
7733 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7734 an inset which uses the whole row!
7735 (rightMargin): ditto.
7736 (insertChar): force a rebreak if we inserted an inset!
7738 2002-03-28 Herbert Voss <voss@lyx.org>
7740 * lyxlength.[Ch]: add inBP() to get the right PS-point
7741 units (BigPoint). With inPixels we have rounding errors
7743 2002-04-11 Juergen Vigna <jug@sad.it>
7745 * text2.C (setCursorFromCoordinates): set iy to the right value.
7746 (setCursor): add check if row->previous exists!
7748 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7749 an old float_type as this was the case in the old code!
7751 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7753 * BufferView2.C (showLockedInsetCursor): use iy
7754 (fitLockedInsetCursor): ditto
7756 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7757 locked insets as there we have the right value now.
7759 * lyxcursor.C: added iy_ variable and iy functions to set to the
7760 baseline of cursor-y of the locked inset.
7762 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7763 (setCursor): fixed for insets which need a full row.
7765 * text.C (rowLastPrintable): don't ignore the last space when before
7766 an inset which needs a full row.
7767 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7768 as last character of a row when before a inset which needs a full row.
7770 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7772 * version.C.in: update date
7774 * text2.C (fullRebreak): try to always return true and see what
7777 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7779 * MenuBackend.C (expand): use Floating::listName
7781 * FloatList.C (FloatList): add listName argument to the built-in
7784 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7785 text associated with the float.
7787 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7789 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7791 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7793 * ShareContainer.h: add a couple of missing typenames.
7795 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7797 * lyxrc.C (getDescription): use _() correctly rather than N_().
7799 2002-03-28 Herbert Voss <voss@lyx.org>
7801 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7802 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7804 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7806 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7807 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7809 2002-03-29 Juergen Vigna <jug@sad.it>
7811 * lyxfunc.C (dispatch): add a missing fitCursor call.
7813 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7814 it was scrolled by a cursor move, so return the bool status.
7816 * BufferView.C (fitCursor): return the bool flag also to the outside
7817 world as this is needed.
7819 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7821 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7822 call the edit() as it is not needed (and wrong) IMO.
7823 (workAreaButtonPress): set the screen_first variable before evt.
7824 unlock the inset as this may change screen_first and then we have
7825 a wrong y position for the click!
7827 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7829 * MenuBackend.C (expand): another translation that I missed
7831 2002-03-28 Juergen Vigna <jug@sad.it>
7833 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7835 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7837 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7839 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7841 * MenuBackend.C (expand): fix export/view/update when there is no
7844 2002-03-27 Herbert Voss <voss@lyx.org>
7846 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7849 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * bufferview_funcs.C (currentState): only show paragraph number
7852 for is DEVEL_VERSION is set.
7854 * lyxfunc.C (dispatch): put warning in INFO channel
7856 * MenuBackend.C (expand): translate the name of floats
7858 * FloatList.C (FloatList): mark the float names for translation
7860 * converter.C (convert): use LibScriptSearch
7862 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7864 * MenuBackend.C (defaults): fix default menu (we might as well get
7867 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7869 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7872 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7874 * lyxvc.C: reorder includes.
7876 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7878 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7881 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7883 * CutAndPaste.C: change layouts earlier on paste
7884 to avoid crashing when calling getFont()
7886 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7888 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7891 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7893 * WorkArea.C: remove 'Pending' debug message.
7895 * most files: ws cleanup
7897 * buffer.[Ch]: ws changes
7899 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7901 2002-03-21 Juergen Vigna <jug@sad.it>
7903 * tabular.C (SetMultiColumn): collapse also the contents of the
7904 cells and set the last border right. Added a Buffer const * param.
7906 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7908 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7911 2002-03-19 Juergen Vigna <jug@sad.it>
7913 * text2.C (clearSelection): reset also xsel_cache.
7915 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7916 where it needs to be called (John tells us to do so too :)
7917 (selectionLost): reset sel_cache.
7919 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7921 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7923 * text2.C (setCursorIntern): put debuging code in INSETS channel
7925 2002-03-19 André Pönitz <poenitz@gmx.net>
7927 * lyxfunc.C: tiny whitespace change
7929 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7931 * ToolbarDefaults.C (init):
7932 * LyXAction.C (init):
7934 * BufferView_pimpl.C (Dispatch):
7935 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7937 2002-03-19 Allan Rae <rae@lyx.org>
7939 * exporter.C (Export): removeAutoInsets before doing anything else.
7940 While I've just introduced a dependency on BufferView this really is
7941 the best place to clean the buffer otherwise you need to cleanup in
7942 a dozen places before calling export or cleanup in a dozen functions
7945 * converter.C (runLaTeX):
7946 (scanLog): Better handling of removeAutoInsets and screen updates.
7948 * lyxfunc.C (dispatch): small whitespace changes
7950 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7952 * WorkArea.C (C_WorkAreaEvent): return a value.
7953 (event_cb): return 1 if we handled the event, 0 otherwise.
7955 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7957 2002-03-18 Juergen Vigna <jug@sad.it>
7959 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7960 (GetAdditionalWidth): ditto.
7964 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7965 inset if we're there actually (probably not used right now but this
7966 is the direction to go for unifying code).
7967 (paste): disable code to clear the selection.
7969 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7970 inside an InsetText and move the check further up as it is in the
7973 * text2.C (pasteSelection): set a selection over the pasted text.
7975 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7977 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7978 and libgraphics to build on Cygwin.
7980 2002-03-15 Juergen Vigna <jug@sad.it>
7982 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7983 inserting an Inset into the paragraph. I know this is not the best
7984 fix but we already use current_view in CutAndPaste so we will remove
7985 all of it's using at the same time.
7987 * buffer.C (sgmlError): deactivated function till it is rewritten in
7988 the right mode, now it can create problems.
7990 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7991 before accessing it.
7993 2002-03-14 Juergen Vigna <jug@sad.it>
7995 * undo_funcs.C (textHandleUndo): do the right thing when updating
7996 the inset after the undo/redo.
7998 * text2.C (setCursor): just some testcode for #44 not ready yet.
8000 * undo_funcs.C (textHandleUndo): set the next() and previous()
8001 pointers of the paragraph to 0 before deleting otherwise we have
8002 problems with the Paragraph::[destructor].
8004 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8005 on a paragraph insertion.
8007 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8009 * buffer.C (asciiParagraph): use += operator for char append to
8012 * paragraph.C (getFontSettings): compare >= not just >
8013 (highestFontInRange): ditto
8016 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8018 * paragraph.C: change several algorithm to be more appripriate for
8019 the problem domain. This is lookip in FontList and in the InsetList.
8021 2002-03-13 André Pönitz <poenitz@gmx.net>
8024 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8026 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8031 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8033 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * Painter.C (display): anon helper function, adjust code for this
8037 (pixmap): remove function.
8039 * Painter.h: remove private display variable.
8041 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8043 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8045 * WorkArea.[Ch]: remove figinset_canvas cruft.
8047 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8049 * lyxtextclass.C (operator): add one item cache optimization.
8051 * bufferlist.h: doxy changes
8053 * bufferlist.C: ws changes
8055 * DepTable.[Ch] (ext_exist): place const in the right spot.
8057 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8059 (workAreaExpose): call resizeInsets when the with BufferView changes.
8060 (Dispatch): adjust for protectedBlank removal
8061 (specialChar): call updateInset if the insert went ok.
8063 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8064 specialChar instead.
8066 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8068 * BufferView.h: doxy change
8070 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8072 * lyxtextclass.C (operator[]): remove non-const version
8073 (defaultLayout): remove non-const version
8075 2002-03-12 Juergen Vigna <jug@sad.it>
8077 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8078 did resize the LyXText too.
8080 * buffer.C (readLyXformat2): set layout information on newly allocated
8083 * tabular.C (OldFormatRead): set layout information on the paragraph.
8085 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8087 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8089 2002-03-11 Juergen Vigna <jug@sad.it>
8091 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8093 (resizeCurrentBuffer): force also the insets to resize themselfes.
8094 (moveCursorUpdate): fixed up for InsetText.
8096 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8099 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8100 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8101 value of Dialogs::tooltipsEnabled().
8102 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8104 2002-03-08 Juergen Vigna <jug@sad.it>
8106 * BufferView_pimpl.C (updateInset): update inset inside inset also
8107 if it isn't inside theLockingInset().
8109 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8111 * buffer.C (asciiParagraph): redo some of the word and line length
8113 (getLists): look for Caption instead of caption.
8115 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * buffer.C (Buffer): initialize niceFile to true
8120 (makeDocBookFile): make sure niceFile is true on exit
8122 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8124 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8126 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8128 * LyXSendto.C: remove.
8129 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8130 * lyx_gui.C: remove now-redundant comment.
8131 * ColorHandler.h: remove forward declaration of class WorkArea.
8132 * lyxfunc.C: remove #include "WorkArea.h".
8134 2002-03-07 Juergen Vigna <jug@sad.it>
8136 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8137 got moved away with the DEPM and also set the inset_owner always
8138 right which before could have been omitted.
8140 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8142 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8143 wanted layout is not found.
8145 2002-03-07 Juergen Vigna <jug@sad.it>
8147 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8149 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8151 * paragraph.C (breakParagraph): use default layout not layout of
8153 (Paragraph): clear ParagraphParameters.
8155 2002-03-06 Juergen Vigna <jug@sad.it>
8157 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8158 otherwise it would not be a valid lenght. Fixed a special case in
8159 the minipage compatibility read where we end the document with a
8162 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8163 was set as it could be 0 for InsetTexts first entry.
8165 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8167 * paragraph.C (writeFile): if layout is empty write out
8168 defaultLayoutName().
8170 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8171 file without named layout we set layout to defaultLayoutName().
8173 2002-03-06 Juergen Vigna <jug@sad.it>
8175 * CutAndPaste.C (copySelection): set layout for new paragraph.
8177 * text.C (prepareToPrint): leave ERT inset left aligned
8178 (leftMargin): don't indent paragraphs inside ERT insets
8180 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * paragraph.C (breakParagraph): dont call clear do the work manually
8184 * paragraph.[Ch] (clear): remove function
8186 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8188 * paragraph.C (Paragraph): dont call clear, the work has already
8191 * lyxtextclass.C (operator): assert if n is empty
8193 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8194 work manually instead.
8196 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8198 * BufferView_pimpl.C: protect selectionLost against text == 0
8200 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8202 * text.C (breakParagraph): fix a setting layout to '0' problem.
8204 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8206 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8207 final location of file, for the included files, and graphics.
8209 2002-03-05 Juergen Vigna <jug@sad.it>
8211 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8213 2002-03-04 Juergen Vigna <jug@sad.it>
8215 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8217 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8218 last column of multicolumn cells.
8219 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8221 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8223 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8224 file if it doesn't go to a temporary file.
8226 * buffer.C (sgmlOpenTag):
8227 (sgmlCloseTag): remove extra newline insertion.
8229 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8231 * text.C (getRowNearY): comment out debug msg
8233 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8235 * text2.C: first -> first_y
8237 * text.C (getRowNearY): add some attemts at a possible
8238 optimization, not working.
8240 * tabular.[Ch]: add BufferParams to several function so that newly
8241 created paragraph can be initialized to he default layotu for the
8244 * tabular-old.C (ReadOld): add buf->params to call of Init
8246 * screen.C: rename text->first to text->first_y
8248 * paragraph.C (breakParagraph): always set layout in the broken
8251 * lyxtextclass.C (Read): remove lowercase
8254 (delete_layout): ditto
8256 * lyxtext.h: rename first -> first_y
8258 * lyxlayout.C (Read): remove lowercase
8261 (obsoleted_by): ditto
8263 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8265 * buffer.C (insertErtContents): add params are to InsetERT
8266 (parseSingleLyXformat2Token): add code to check if a paragraphs
8267 layout really exist.
8268 (parseSingleLyXformat2Token): add params to several inset
8270 (asciiParagraph): remove lowercase, do the layout comparisons with
8273 * BufferView_pimpl.C (cursorNext): first -> first_y
8274 (resizeCurrentBuffer): first -> first_y
8275 (updateScrollbar): first -> first_y
8276 (scrollCB): first -> first_y
8277 (workAreaMotionNotify): first -> first_y
8278 (workAreaButtonPress): first -> first_y
8279 (checkInsetHit): first -> first_y
8280 (cursorPrevious): first -> first_y
8281 (cursorNext): first -> first_y
8282 (Dispatch): add buffer_->params to severl inset contructors
8284 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8286 * lyxlayout.C (Read): remove some debug info that I forgot.
8288 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8289 clean up the code slightly.
8290 (makeLinuxDocFile): ditto
8291 (makeDocBookFile): ditto
8293 * text2.C: layout as string
8295 * text.C: layout as string
8297 * paragraph_pimpl.C: layout as string
8299 * paragraph.[Ch]: layout as string
8301 * lyxtextclasslist.[Ch]: layout as string
8303 * lyxtextclass.[Ch]: layout as string
8305 * lyxtext.h: layout as string
8307 * lyxlayout.[Ch]: layout as string
8309 * lyx_cb.C: layout as string
8311 * bufferview_funcs.C: layout as string
8313 * bufferparams.C: layout as string
8315 * buffer.C: layout as string
8317 * LyXView.[Ch]: layout as string
8319 * LaTeXFeatures.[Ch]: layout as string
8321 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8323 * BufferView_pimpl.C: change current_layout to string, remove
8328 (workAreaButtonRelease): layout as string
8330 * BufferView2.C (unlockInset): adjust
8332 * vspace.C (asLatexCommand): use an explict temp variable.
8334 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8336 * Makefile.am: use FRONTEND_*
8338 2002-03-01 Juergen Vigna <jug@sad.it>
8340 * tabular.C (SetWidthOfMulticolCell): changed to something better
8341 I hope but still work in progress.
8342 (recalculateMulticolumnsOfColumn): renamed function from
8343 recalculateMulticolCells as it is more appropriate now.
8344 (SetWidthOfCell): calculate multicols better.
8346 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8350 * lyxfunc.C (processKeySym): print sequence also if it is
8351 `deleted' (complete)
8353 * kbsequence.C (print): print sequence even if it is deleted
8354 (complete would be a better word, actually).
8356 * lyxfunc.C (dispatch): print complete options after a prefix key
8358 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8360 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8362 * text2.C (setCharFont): eliminate setCharFont code duplication.
8364 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8366 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8367 LFUN_TABULAR_FEATURE (bug #177)
8369 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8371 * Makefile.am: remove figure.h
8373 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8375 * Bufferview_pimpl.C:
8387 * text2.C: remove #include "lyx_gui_misc.h".
8389 * LaTeX.C: added #include <cstdio>
8391 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8393 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8394 that the paragraph following this one can have.
8396 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8398 * vspace.C (asLatexCommand): fix bogus gcc warning
8400 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8402 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8404 * text2.C (setLayout): get rid of redundant code
8406 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8408 * text2.C (incDepth): make sure depth cannot be increased beyond
8411 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8413 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8414 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8416 * PainterBase.h (image):
8417 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8420 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8424 * BufferView_pimpl.C:
8425 * BufferView_pimpl.h:
8445 * sp_spell.C: remove fig inset, and the crap house of
8446 cards that follows it
8448 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8454 * nt_defines.h: move .h into support/
8456 * vms_defines.h: remove
8458 * WorkArea.C: add space in debug output
8462 * buffer.C: add WITH_WARNINGS
8466 * bufferlist.C: s/retrive/retrieve/, add docs
8477 * lyxgui.C: add ID to X error handler
8479 * lyxtestclass.c: fix typo
8481 2002-02-26 Juergen Vigna <jug@sad.it>
8483 * tabular_funcs.C (write_attribute): changed so that some default
8484 attributes are not written at all.
8485 (getTokenValue): set default values before trying to read the
8486 value so we have the return value always set as default if we don't
8487 find the token we search for.
8489 * tabular.C (Write): write bools as bools not as strings!
8491 2002-02-22 Juergen Vigna <jug@sad.it>
8493 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8494 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8496 * text.C (leftMargin): don't add an indent for paragraphs inside
8497 tabular cells (fix #208).
8499 2002-02-21 José Matos <jamatos@fep.up.pt>
8501 * tabular.C (docBook): fixed support for long tables.
8503 2002-02-20 Juergen Vigna <jug@sad.it>
8505 * text2.C (getFont): get the drawing font of the Inset if this
8506 paragraph is inside an inset (only important for InsetERT for now).
8508 * buffer.C (insertErtContents): use new lanugage params in ERT
8511 * CutAndPaste.C: commenting out seemingly uneeded code.
8513 2002-02-19 Allan Rae <rae@lyx.org>
8515 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8516 Iterators might be simple to use but they also get invalidated.
8517 (removeAutoInsets): renamed saved cursor tracking variables and added
8518 some comments to clarify what everything does.
8520 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8527 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8528 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8531 * vc-backend.h: remove #include "support/syscall.h"
8535 * converter.C: rearrange #includes in Lars' approved fashion.
8537 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8538 forward declare class Timeout in the header file.
8540 * XFormsView.C: changes due to the above.
8542 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8545 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8546 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8548 2002-02-18 José Matos <jamatos@fep.up.pt>
8550 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8553 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8555 * a lot of small ws changes
8556 * add a lot of using std::XXX
8557 * use std construcs some places where approp.
8558 * use some exisint stuff from lyxfunctional where approp.
8559 * Make file changes to use partial linking (lets test this now...)
8561 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8565 remove #include "support/syscontr.h" as it's redundant. Always has been.
8573 change Systemcalls::System to Systemcalls::Wait and
8574 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8575 No change of functionality, just reflects the stripped down Systemcalls
8578 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8580 * debug.[Ch]: add a GRAPHICS type to the enum.
8582 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8584 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8586 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8589 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8591 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8592 match the changes below.
8594 * text2.C (toggleInset): if there is not editable inset at cursor
8595 position, try to see if cursor is _inside_ a collapsable inset
8598 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8601 document menu has a nice checkbox
8603 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8605 * lyxlength.C (asLatexString): change PW to output as percent of
8608 * lengthcommon.C: change '%' to 't%'
8610 * lyxfunc.C (dispatch): a few comments from Martin
8612 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8616 * BufferView_pimpl.h:
8617 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8620 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * vspace.C (inPixels): fix compiler warning
8624 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8626 * lyxfunc.C (getStatus): fix status message for disabled commands.
8628 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8630 * BufferView_pimpl.C: fix crash on close buffer
8631 during selection (#227)
8633 2002-01-27 Herbert Voss <voss@lyx.org>
8635 * buffer.C: link old Figure to new graphic inset
8637 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8639 * FontLoader.C (getFontinfo): Change the latex font names in order
8640 to match the names of type1inst.
8642 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8644 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8646 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8649 (remove_files_with_extension): ditto
8650 (remove_file): ditto
8653 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8654 document is smaller than the work area height. Do not initialize
8655 static variables to 0.
8657 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8659 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8661 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8662 LFUN_LAYOUT_PARAGRAPHS.
8664 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8665 tabular. It is possible to provide a possible cell, which will
8666 typically be the actcell from the corresponding insettabular
8668 * lyxfunc.C (getStatus): small cleanup; disable
8669 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8672 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8674 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8676 * paragraph.C (startTeXParParams):
8677 (endTeXParParams): new methods. The LaTeX code to
8678 start/end paragraph formatting
8679 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8680 empty (fixes bug #200)
8682 * vspace.C (inPixels): adapt to the change below
8683 (inPixels): [later] more cleanups (remove unused variables)
8685 * lyxlength.C (inPixels): change to use a width and a height as
8688 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8690 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8691 Replaced with \paperwidth
8693 * DepTable.C (insert): add std:: qualifier
8695 2002-01-18 Allan Rae <rae@lyx.org>
8697 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8700 * text.C (drawInset): Turned out I didn't know enough about how
8701 rebreaking worked. This fixes most of the redraw problems. I see
8702 an occasional cursor trail when a line is broken now and the cursor
8703 placement can seem out by a few pixels also after a rebreak.
8705 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8707 * buffer.C (parseSingleLyXformat2Token): update because minipage
8708 width is now a LyXLength
8710 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8712 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8715 2002-01-17 Juergen Vigna <jug@sad.it>
8717 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8719 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8720 is set correctly and the inset is updated correctly.
8722 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8724 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8725 the beginning of the loop.
8727 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8729 * lyxrc.C: improve help for use_scalable_fonts
8731 2002-01-17 Allan Rae <rae@lyx.org>
8733 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8735 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8737 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8738 make sure to set their inset_owner to the right value (bug #171)
8740 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8743 * DepTable.C: Implement mtime checking to reduce time spent doing
8746 2002-01-16 Juergen Vigna <jug@sad.it>
8748 * tabular.C (GetAdditionalHeight): one of error fixed.
8750 * lyxrc.C (output): small fix in writing use_pspell.
8752 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8754 * sp_base.h: #include LString.h
8756 2002-01-16 Allan Rae <rae@lyx.org>
8758 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8759 Can someone check this please?
8761 * text.C (drawInset): It was possible that p.row would be removed by
8762 breakAgainOneRow upsetting a few other settings. There may be another
8763 small tweak possible by setting need_break_row = 0 when p.row has been
8764 removed but I don't know enough about the logic here.
8766 2002-01-15 Allan Rae <rae@lyx.org>
8768 * text.C (insertChar): removed conditional truism.
8770 * BufferView2.C (removeAutoInsets): More tweaks.
8771 cur_par_prev could be a stray pointer. Check for trailing empty line
8772 in case last line was cur_par and only had an error inset on it.
8774 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8776 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8779 * vc-backend.C (most methods):
8780 * exporter.C (Export):
8781 * converter.C (convert):
8783 * LyXSendto.C (SendtoApplyCB):
8784 * lyxfunc.C (dispatch):
8788 * lyx_cb.C (AutoSave):
8790 * BufferView_pimpl.C (MenuInsertLyXFile):
8791 * buffer.C (runChktex): use Buffer::filePath().
8793 * buffer.h: rename filename to filename_; rename filepath to
8794 filepath_ and make it private
8795 (filePath): new method
8797 * buffer.C (writeFile): use fileName()
8800 * lyx_main.C (init): fix starting of LyX when the binary is a
8801 link from so,ewhere else.
8803 * minibuffer.C: include <cctype> for isprint
8805 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8807 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8808 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8809 name clash with InsetCollapsable's width function.
8811 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8813 * lastfiles.C: include <iterator>
8815 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8817 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8820 * buffer.C (makeLaTeXFile): ditto.
8821 Also make loop operation more transparent.
8823 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8825 * ToolbarDefaults.C: remove trailing comma closing namespace.
8827 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8829 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8832 * trans.C (Load): comment out unused variable, allowed.
8834 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8836 * minibuffer.[Ch] (append_char): new method to recieve input from the
8837 drop-down completion browser. If a key was pressed, then recieve this
8838 char and append it to the existing string.
8839 (peek_event): modify the positioning data passed to the completion
8840 browser so that it can be placed above the minibuffer rather than below.
8841 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8843 * LyXAction.C (init): alloe error-next for readonly documents.
8845 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8848 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8850 * bufferlist.C (readFile): create the buffer _after_ checking that
8853 * lyxfunc.C (verboseDispatch): fix handling of arguments
8855 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8857 * lyxrc.C: use string::erase() instead of initializing to "".
8860 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8862 * BufferView_pimpl.h:
8863 * BufferView_pimpl.C:
8866 * text2.C: tell X when we have made a selection for copying
8868 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8870 * BufferView_pimpl.C (MenuInsertLyXFile):
8871 * lyxfunc.C (menuNew):
8873 (doImport): add shortcuts to directory buttons
8875 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8878 * lyxfunc.C (setStatusMessage):
8879 (getStatusMessage): new methods
8880 (getStatus):use setStatusMessage instead of setErrorMessage
8881 (dispatch): when function is disabled, set error message here
8882 [instead of in getStatus previously]
8884 * BufferView_pimpl.C (workAreaButtonRelease): update
8885 toolbar/menubar here too.
8887 2002-01-13 Allan Rae <rae@lyx.org>
8889 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8890 Now seems indestructible. Remaining task is to audit all other
8891 code affected by deleteEmptyParagraphMechanism. One small quirk
8892 left is that an empty document with an error in the preamble can
8893 be made to report an error but no error box appears. I don't know
8895 (removeAutoInsets): Improved comments.
8897 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8900 * Thesaurus.C: update for Aiksaurus 0.14
8902 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8904 * text2.C (firstParagraph): removed member function, all uses
8905 replaces with ownerParagraph
8906 (redoParagraphs): here
8908 (toggleAppendix): here
8909 * BufferView2.C (insertErrors): here
8910 (setCursorFromRow): here
8912 2002-01-13 Allan Rae <rae@lyx.org>
8914 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8915 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8916 There is still a way to segfault this although you may have to do this
8917 multiple times: Have an InsetERT with an unknown command in it.
8918 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8919 <down-arrow>, <Enter> again, View->DVI, BANG!
8921 * text2.C (setCursor):
8922 (deleteEmptyParagraphMechanism):
8923 * lyxtext.h (setCursor):
8924 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8925 Making use of the return value may help fix other bugs.
8927 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8931 * LyXView.C (updateMenubar): call MenuBar::update here
8932 (updateToolbar): but not here
8933 (showState): do not update toolbar/menubar
8935 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8936 should need to care about that.
8938 * lyxfunc.C (verboseDispatch): simplify a bit
8939 (getStatus): have a version which takes a pseudoaction, and
8940 another which requires a (kb_action,string).
8942 * LyXAction.C (retrieveActionArg): make it work also when action
8943 is not a pseudo-action.
8944 (getActionName): simplify a bit
8947 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8949 * lyxfunc.C (verboseDispatch): new families of methods with
8950 several ways to specify a command and a bool to indicate whether
8951 the command name and shortcut should be displayed in minibuffer
8952 (eventually, we could extend that to a finer bitmask like
8953 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8954 (dispatch): the pristine dispatch command which just, well,
8955 dispatchs! Note it still sets its result to minibuffer; I'm not
8958 * lyxfunc.h: remove setHintMessage
8960 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8962 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8964 * BufferView_pimpl.C (specialChar): delete new inset if we have
8965 not been able to insert it.
8967 * kbmap.C: revert to using int instead of kb_action, since all we
8968 are dealing with is pseudo-actions.
8970 * LyXAction.C (searchActionArg): change to return int instead of
8971 kb_action, since the result is a pseudoaction.
8973 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8975 * buffer.C (insertErtContents): Fix (partially) the font bug.
8977 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8979 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8980 as the other one is broken on my machine!
8982 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8985 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8987 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8989 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8990 reflect their actual use. Provide compatibility code for older lyxrc
8993 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8995 change names of popup font variables in line with the changes to lyxrc.C
8997 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8999 * buffer.C (asciiParagraph): avoid outputing a word twice after
9002 * lyxrc.C (getDescription): document that document_path and
9003 template_path can be empty.
9005 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9007 * LaTeXFeatures.C (getMacros):
9008 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9010 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9012 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9014 (getPackages): rename feature "floats" to "float". Use an array to
9015 iterate over 'simple' features (i.e. just a \usepackage). Add
9016 handling of "amsmath" (renamed from "amsstyle").
9018 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9020 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9023 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9025 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9026 FuncStaus::FuncStatus & FuncStaus::some_method().
9028 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9030 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9031 of the func_satus stuff. Edited and massaged in various ways by
9034 * lyxfunc.C (getStatus): use FuncStatus
9036 2002-01-08 Juergen Vigna <jug@sad.it>
9038 * text.C (nextBreakPoint): use function Inset::isChar().
9040 * paragraph.C (TeXOnePar): use function
9041 Inset::forceDefaultParagraphs.
9043 * buffer.C (latexParagraphs): use function
9044 Inset::forceDefaultParagraphs.
9046 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9048 * lyx_gui.C (init): set the style of the menu popups to
9049 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9051 2002-01-07 Juergen Vigna <jug@sad.it>
9053 * text.C (setHeightOfRow): small fix
9054 (prepareToPrint): don't look at alignment if we don't have the place
9057 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9059 * box.C: New file. Move the Box methods and functions out of box.h,
9060 following Lars' suggestion.
9062 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9064 * box.h: #include "support/LOstream.h", needed for inlined function.
9067 * lyxtextclasslist.C: added some using std declarations.
9069 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9071 * box.h: make signed dimensions to allow insets wider than
9072 the screen (bug #162)
9074 * BufferView_pimpl.C: add some insetHit debug
9076 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9078 * vc-backend.C: add FIXME
9080 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9082 * lyxfunc.C (getStatus): enable code for showing math font status
9085 2002-01-07 Juergen Vigna <jug@sad.it>
9087 * text.C (nextBreakPoint): removed debug output not needed anymore.
9089 2002-01-06 Juergen Vigna <jug@sad.it>
9091 * text.C (nextBreakPoint): fixed up this function we had this bug
9092 since ever but now hopefully we break row better.
9093 (insertChar): we have to check if an inset is the next char as it
9094 could now happen that a large inset is causing a break.
9096 2002-01-05 Juergen Vigna <jug@sad.it>
9098 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9099 if it doesn't like to be drawed.
9101 2002-01-04 Juergen Vigna <jug@sad.it>
9103 * BufferView2.C (lockInset): forgot to set a cursor.
9105 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9107 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9112 * form_maths_panel.C:
9113 * form_maths_panel.h:
9114 * form_maths_panel.fd: implemented sub- and super- buttons in math
9117 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9118 (or ^ space) to be used as in TeX (req'd by André).
9120 * lyxfunc.C: Allow ^ and _ again to be used both as
9121 super/subscript (mathed) and as themselves (in text).
9123 2002-01-03 Allan Rae <rae@lyx.org>
9125 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9126 "LyX" or the filename of the current buffer if it has one. This is a
9127 modified form of John Levon's patch.
9129 * XFormsView.C (setWindowTitle): also set icon title.
9131 * LyXView.h (setWindowTitle): signature changed.
9132 * XFormsView.h (setWindowTitle): ditto.
9134 2002-01-02 Juergen Vigna <jug@sad.it>
9136 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9138 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9140 * screen.C (topCursorVisible): introduce a temp var for
9141 text->cursor.row(), handle the case where this row is null. (kindo
9144 * text2.C (setCursor): add a couple of asserts.
9146 * paragraph.h (inset_iterator): add -> operator
9148 * paragraph.[Ch] (autoDeleteInsets): remove member function
9150 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9151 cursor pos correctly and handle inset deletion by itself.
9152 (insertErrors): move iterator declaration out of for expression
9154 * lyxtextclass.C: add <algorithm>
9156 * Makefile.am: added the new files to sources, removed layout.C
9158 * layout.C: removed file
9160 * layout.h: remove LYX_DUMMY_LAYOUT
9162 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9166 * lyxtextclass.[Ch]:
9167 * lyxtextclasslist.[Ch]: new files
9169 * include order changes to a lot of files, also changes because of
9172 2001-12-27 Juergen Vigna <jug@sad.it>
9174 * buffer.C (asciiParagraph): more fixes.
9176 * tabular.C (ascii): make ascii export support export of only the
9177 data separated by a column-delimiter.
9178 (ascii): better support for ascii export.
9180 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9182 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9184 * tabular_funcs.C: use a "using std::getline" instead of the
9185 previous fix from Angus (necessary for cxx + lyxstring)
9187 2001-12-24 Juergen Vigna <jug@sad.it>
9189 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9191 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9192 problems. First check a minipage also if we have some ert-contents
9193 (not only on par->size(), second set the right depth of the paragraph
9194 on the relink to the root-paragraph-list!
9196 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9197 which then did not anymore update the main paragraphs on undo/redo!
9199 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9201 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9202 code. Support all font-changing funcs (even those which are not in
9203 menu currently). Support for reporting font settings in
9204 mathed (disabled until Andre provides a function on mathed's side).
9206 * func_status.h (toggle): small helper function to set toggle
9209 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9211 * tabular_funcs.C: getline -> std::getline
9213 2001-12-21 Juergen Vigna <jug@sad.it>
9215 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9216 accessed and could be 0 (I couldn't generate this but it seems
9219 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9221 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9222 * tabular_funcs.h: here and include iosfwd
9224 2001-12-20 Juergen Vigna <jug@sad.it>
9226 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9227 inside inset but undo_par was.
9229 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9231 * Thesaurus.C: always include <config.h> in sources.
9235 * box.h: do not include <config.h> in header files
9237 * text.C (paintLastRow): remove unused variable
9239 * text.C (transformChar):
9241 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9244 * font.C (width): rewrite to use uppercase() instead of
9247 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9249 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9251 * lyxfind.C: clean up of find failure position change
9253 2001-12-20 Juergen Vigna <jug@sad.it>
9255 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9257 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9258 (TeXRow): added to LaTeX a single tabular row.
9259 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9260 (Latex): simplified and finally good LT-h/f support.
9261 (various_functions): just small adaptions for LT-h/f support.
9263 * tabular_funcs.[hC]: added and moved here all not classfunctions
9266 2001-12-19 Juergen Vigna <jug@sad.it>
9268 * tabular.[Ch]: better support for longtabular options (not finished
9271 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9273 * text.C (paintLastRow): use the label font instead of the font of
9274 the last character to compute the size of *_BOX. This makes more
9275 sense and avoids a crash with empty paragraphs.
9276 Use Painter::rectangle to draw EMPTY_BOX.
9278 2001-12-19 Juergen Vigna <jug@sad.it>
9280 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9281 the paragraphs if the replaced paragraph is not the first one!
9282 Tried to delete not used paragraphs but does not work yet so for
9283 now it's inside #ifdef's and by default off!
9285 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9287 * MenuBackend.C: include "lyx_main.h" instead of declaring
9288 lastfiles (actually was declared as LastFiles* instead of a
9291 2001-12-17 Juergen Vigna <jug@sad.it>
9293 * tabular.C (AppendColumn): applied John's fix
9295 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9299 * BufferView_pimpl.h:
9300 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9303 * box.h: new start of class for above
9305 * lyxfunc.C: ignore space-only minibuffer dispatches.
9306 Show the command name when it doesn't exist
9308 * minibuffer.C: don't add empty lines to the history
9310 * minibuffer.C: add a space on dropdown completion
9312 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9314 * text.C: fix line above/below drawing in insets
9316 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9318 * lyxlength.C (LyXLength): Initialize private variables.
9320 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9322 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9323 when inserting error insets.
9325 2001-12-13 Juergen Vigna <jug@sad.it>
9327 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9328 actually sometimes the before-paragraph.
9329 (setUndo): don't clear the redostack if we're not actually undoing!
9331 2001-12-06 Juergen Vigna <jug@sad.it>
9333 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9334 and fixed redoing of main paragraph, so we can use it now ;)
9336 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9338 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9340 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9343 2001-12-13 André Pönitz <poenitz@gmx.net>
9346 * undo_func.C: minor cleanup
9348 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9351 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9352 font in urw-fonts package which is marked as -urw-fontspecific and
9353 does not work (incidentally, changing the encoding in the
9354 fonts.dir of this package to -adobe-fontspecific fixes the
9357 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9358 is a crash when undoing first paragraph (Juergen, please take a
9359 look). THis does not mean the undo fix is wrong, just that it
9362 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9363 the (Paragraph*) version when needed instead of duplicating the
9366 * text.C (workWidth): use Inset::parOwner to find out where the
9367 inset has been inserted. This is a huge performance gain for large
9368 documents with lots of insets. If Inset::parOwner is not set, fall
9369 back on the brute force method
9371 * paragraph_pimpl.C (insertInset):
9372 * paragraph.C (Paragraph):
9373 (cutIntoMinibuffer): set parOwner of insets when
9374 inserting/removing them
9376 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9378 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9384 * mathed/formulabase.C:
9385 * mathed/math_cursor.[Ch]:
9386 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9389 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * lyxlength.[Ch] (operator!=): new function
9393 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9395 * text.C (workWidth): use Inset::parOwner to find out where the
9396 inset has been inserted. This is a huge performance gain for large
9397 documents with lots of insets. If Inset::parOwner is not set, fall
9398 back on the brute force method
9400 * paragraph_pimpl.C (insertInset):
9401 * paragraph.C (Paragraph):
9402 (cutIntoMinibuffer): set parOwner of insets when
9403 inserting/removing them
9405 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9407 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * tabular-old.C (getTokenValue):
9410 * tabular.C (getTokenValue):
9411 (write_attribute): new versions for LyXLength
9412 (everywhere): adjust the use of widths
9414 * tabular.h: change the type of widths from string to LyXLength
9416 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9418 * paragraph.C: fixed missing line number count when exporting
9419 Environments to LaTeX file
9421 * buffer.C: added informational message for checking line numbers.
9423 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9425 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9426 paragraph, do the 'double space' part, but not the 'empty
9429 * text.C (workWidth): small optimization
9430 (getLengthMarkerHeight): use minimal size for negative lengths.
9432 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9434 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9436 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9438 2001-12-11 André Pönitz <poenitz@gmx.net>
9441 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9443 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9445 * text2.C: keep selection on a setFont()
9447 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9449 * lyx_cb.C: another bv->text misuse, from insert label
9451 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9454 * kbsequence.C: re-instate nmodifier mask
9456 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9458 * lyx_main.h: make lyxGUI private.
9460 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9462 * lyxfind.C: place the cursor correctly on failed search
9464 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9466 * text.C (getLengthMarkerHeight): for small heights, the arrows
9467 are not always on top/bottom of the text
9468 (drawLengthMarker): smaller arrows; take the left margin in
9469 account; draw also vfills.
9471 (paintLastRow): remove special code for vfill and standard spaces,
9472 since everything is handled in drawLengthMarker now.
9474 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9476 * buffer.C (insertErtContents): try to handle font and language
9477 interaction a bit better.g
9479 * ColorHandler.C (updateColor): change the hash to cover the whole
9480 LColor enum, ws cleanup
9481 (getGCLinepars): ditto
9482 (getGCLinepars): only lookup in the linecache once.
9484 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9486 * iterators.C (operator++): Make the iterator more robust
9488 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9490 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9492 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9495 * text.C: better added space drawing
9497 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9500 * BufferView2.C: fix layout combo update on inset unlock
9502 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9504 * Makefile.am: don't compile unused files
9506 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9510 * LyXAction.C: remove old LFUN_LAYOUTNO
9512 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9514 * paragraph_pimpl.h:
9515 * paragraph_pimpl.C: isTextAt() doesn't need font param
9517 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9520 * lyxlex.C: little cleanup
9522 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9524 * BufferView_pimpl.C: fix insertAscii for insets
9526 2001-12-05 Juergen Vigna <jug@sad.it>
9528 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9529 set the right font on the "multi" paragraph paste!
9531 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9537 * lyxlength.C: remove out-commented code.
9553 * vc-backend.C: change "while(" to "while ("
9555 * lyxlength.[Ch]: add zero function to check if length is zero or
9557 * lyxgluelength.C: use it
9559 2001-12-05 Allan Rae <rae@lyx.org>
9561 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9562 Works for 2.95.3, from what I understand of Garst's reports this should
9563 work for other g++ versions. We're screwed if the abs(int) definition
9564 changed between bugfix releases of gcc.
9566 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9568 * text.C: fix chapter label offset !
9570 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9573 * text.C: fix hfill at end of line, clean up
9575 2001-12-04 Juergen Vigna <jug@sad.it>
9577 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9578 that we force an update of the inset and it's owners if neccessary.
9580 2001-12-03 Juergen Vigna <jug@sad.it>
9582 * text.C (rowLast): simplified code
9584 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9586 * lyxfunc.C: fix show options on timeout
9588 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * screen.C (topCursorVisible): scroll half a page when the cursor
9591 reached top of bottom of screen
9593 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9595 * minibuffer.C: deactivate on loss of focus
9597 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9599 * vspace.[Ch] (operator!=): add operator.
9601 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9603 * BufferView_pimpl.C: refuse to open an inset when
9604 there's a selection.
9606 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9608 * BufferView_pimpl.C: allow to click on RHS of full row insets
9610 2001-11-30 Juergen Vigna <jug@sad.it>
9612 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9613 insets for undo reasons.
9615 2001-11-28 André Pönitz <poenitz@gmx.net>
9617 * vspace.[Ch]: cosmetical changes
9619 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9629 * kbsequence.C: part re-write of old kb code
9632 * WorkArea.C: remove Lgb_bug_find_hack
9634 2001-11-30 José Matos <jamatos@fep.up.pt>
9636 * buffer.C (makeDocBookFile): add a comment to point a hack.
9637 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9638 Fixed a double write of labels.
9640 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9643 * LaTeX.h Fixed bug in LaTeX class where it would not
9644 re-run latex if no depfiles were changed, but the .dvi was removed.
9646 2001-11-28 André Pönitz <poenitz@gmx.net>
9648 * all the files from the change on 2001/11/26:
9649 use lyx::layout_type instead of LyXTextClass::size_type
9650 use lyx::textclass_type instead of LyXTextClassList::size_type
9652 2001-11-29 Juergen Vigna <jug@sad.it>
9654 * text.C: added support for paragraph::isFreeSpacing()
9656 * buffer.C: same as above
9658 * paragraph.h: inserted isFreeSpacing() function to enable
9659 FreeSpacing inside InsetERT.
9661 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9662 of the paragraph's in the cut/copy buffer to 0!
9664 * text2.C (removeRow): remove the assert as it can!
9666 * lyxtext.h: added helper function firstRow returning firstrow and
9667 made firstrow private again.
9669 * BufferView2.C (lockInset): don't relock if we're already locked!
9671 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9673 (removeRow): added Assert::(firstrow)
9675 * debug.C: forgot to add INSETTEXT here.
9677 2001-11-28 Juergen Vigna <jug@sad.it>
9679 * sp_spell.C (initialize): changed error text to more general
9680 spellchecker command use (not only ispell!)
9682 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9684 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9686 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9688 * vspace.C: initialise lyxgluelength on failure
9690 2001-11-28 Allan Rae <rae@lyx.org>
9692 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9693 declaration & definition that looks like a function declaration.
9695 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9697 * BufferView2.C (copy):
9698 (copyEnvironment): do not clear the selection when doing a copy.
9700 * text.C (paintFirstRow): compilation fix
9702 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9704 * tabular.C (Latex): correct line count when writing latex.
9706 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9708 * paragraph_pimpl.h:
9709 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9712 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9716 * LColor.C: change vfillline->added_space
9718 * text.C: add markers and text for added space
9720 * vspace.C: fix comment
9722 2001-11-28 André Pönitz <poenitz@gmx.net>
9724 * paragraph.C: whitespace changes
9725 * all the other files from the change on 2001/11/26:
9726 change *::pos_type into lyx::pos_type
9728 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9730 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9731 language of the document when inserting error insets.
9733 2001-11-26 André Pönitz <poenitz@gmx.net>
9735 * BufferView_pimpl.[Ch]:
9743 * paragraph_pimpl.[Ch]:
9746 * text2.C: reduce header dependencies, introduce type for positions
9748 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9750 * <various>: change to use Alert.h
9752 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9754 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9755 when encountering an unknown token.
9756 (readLyXformat2): Show an error message if there were unknown tokens.
9758 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9761 * BufferView_pimpl.C:
9765 * text2.C: use par->isInset()
9767 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9769 * paragraph_pimpl.h:
9770 * paragraph_pimpl.C: cleanup
9772 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * text2.C (removeRow):
9775 * text.C (setHeightOfRow): remove useless (and costly) call to
9778 2001-11-20 Allan Rae <rae@lyx.org>
9780 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9781 Now need Inset*::checkInsertChar() to return true for appropriate
9782 cases so that the characters in the minibuffer will actually be
9785 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9787 * text.C: change the order of the includes.
9788 (workWidth): initialize it at once.
9789 (workWidth): make maxw unsigned
9790 (setHeightOfRow): remove unused variable (inset)
9791 (selectSelectedWord): remove unused variable (inset)
9792 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9794 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9796 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9797 server is not running.
9799 (closeConnection): add debug info when server is disabled.
9801 * ColorHandler.C (getGCForeground): send debug message to GUI
9804 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9806 * kbmap.C (bind): modify because return conventions of
9807 kb_sequence::parse have changed.
9809 * kbsequence.C (parse): only ignore spaces and not any stupid
9810 control character. This avoids tests like s[i] <= ' ', which are
9811 guaranteed to fail with 8bit characters and signed chars.
9812 Change return code to string::npos when there have been no error
9813 (0 was a bad idea when error is at first character)
9815 2001-11-14 José Matos <jamatos@fep.up.pt>
9818 * buffer.C (simpleDocBookOnePar): removed unused argument.
9820 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9823 insets which are part of a word. Paragraph::isLetter takes care of
9824 that now. Use Paragraph::isInset to identify insets.
9825 (selectSelectedWord): do not test for hyphenation break.
9827 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9828 that protected spaces are considered as spaces.
9830 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9833 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9836 * lyxserver.C: fix it. and small cleanup.
9838 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9840 * BufferView_pimpl.C: use inline helpers
9843 * LaTeXFeatures.C: fix typos
9846 * Spacing.C: move spacing_string into class
9848 * ToolbarDefaults.C: move stuff into namespace anon
9850 * layout.h: update enum
9852 * lyxfunc.C: use better debug
9854 * minibuffer.h: fix typo
9858 * WorkArea.C: add and use Debug::WORKAREA
9862 * text2.C: code re-organisation, inline helpers
9864 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9866 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9867 std::vector.empty().
9869 2001-11-09 Allan Rae <rae@lyx.org>
9871 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9872 '\n's after tables. Tabular and ERT inset work now makes this no
9875 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9878 * minibuffer.C: fix crash, improve drop-down completion
9880 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9883 * lyxserver.C: invalidate fd's when doing endPipe()
9885 2001-11-08 José Matos <jamatos@fep.up.pt>
9887 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9888 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9891 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9893 2001-11-07 José Matos <jamatos@fep.up.pt>
9896 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9899 * buffer.C (sgmlOpenTag):
9900 * buffer.C (sgmlCloseTag): removed debug info.
9902 * buffer.h (sgmlOpenTag):
9903 * buffer.h (sgmlCloseTag): made public.
9905 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9907 * buffer.C (saveParamsAsDefaults):
9908 * lyx_cb.C (MenuLayoutSave): remove
9910 * LyXAction.C (init):
9912 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9914 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9916 * buffer.C (setPaperStuff): removed from here...
9918 * bufferparams.C (setPaperStuff): ... and moved there.
9920 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9924 * XFormsView.C: add support for drop-down completion
9926 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9928 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9931 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9933 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9936 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9938 * lyx_main.C: change ref to known bugs
9940 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9942 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9943 to work around older babel problems.
9945 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9947 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9949 2001-10-24 Juergen Vigna <jug@sad.it>
9951 * tabular-old.C (ReadOld): below variable changes reflected.
9953 * tabular.[Ch]: added ltType struct for longtable header/footer
9954 defines and changed all instances where they are used. Added
9955 future support for double top/bottom rows.
9957 2001-10-24 José Matos <jamatos@fep.up.pt>
9959 * buffer.h (docbookHandleCaption):
9960 * buffer.C (docbookHandleCaption): removed unused function.
9961 (makeDocBookFile): moved docbook supported version to v4.1.
9963 2001-10-24 José Matos <jamatos@fep.up.pt>
9966 * tabular.C (docbookRow): new function to export docbook code of a row.
9967 (DocBook): now honors the longtable flags.
9969 2001-10-23 José Matos <jamatos@fep.up.pt>
9972 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9973 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9975 * buffer.C (makeLinuxDocFile):
9976 (makeDocBookFile): reworked the preamble, more clean, and with
9977 support for lyx defined entities. Changed the document declaration
9978 to be more XML friendly.
9980 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9981 if we need to output XML that should be done with a filter.
9983 2001-10-22 Juergen Vigna <jug@sad.it>
9985 * sp_pspell.h (class PSpell): add alive function needed in the
9986 controller to see if the spellchecker could be started.
9988 2001-10-22 Juergen Vigna <jug@sad.it>
9990 * buffer.C (insertStringAsLines): modify the font for inserting
9991 chars in certain conditions by calling checkInsertChar(font).
9993 2001-10-19 Juergen Vigna <jug@sad.it>
9995 * text.C (workWidth): use getRow instead of wrong algorithm.
9996 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9998 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10003 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10005 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10007 * text.C (workWidth): do not search for the exact row when
10008 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10009 optimization for big documents.
10011 2001-10-18 Juergen Vigna <jug@sad.it>
10013 * text.C (workWidth): new function with added Inset * parameter.
10015 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10017 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10019 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10020 change return type of getColumnNearX.
10023 * text.C (changeRegionCase): use uppercase/lowercase instead of
10026 (rightMargin): simplify code by factoring out the uses of
10031 (appendParagraph): use Paragraph::size_type
10033 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10035 * vspace.C (asLatexString): add a missing break
10037 2001-10-15 Herbert Voss <voss@perce.de>
10039 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10041 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10046 2001-10-10 André Pönitz <poenitz@gmx.net>
10048 * lyxfunc.C: removed greek_kb_flag.
10050 2001-10-10 Herbert Voss <voss@perce.de>
10052 * lyx_main.C: delete global string help_lyxdir.
10054 2001-10-09 Herbert Voss <voss@perce.de>
10056 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10058 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10060 * lyx_main.C: added global string help_lyxdir.
10062 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10064 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10066 * lyxrc.C (set_font_norm_type): support iso8859-4
10068 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10070 * LaTeX.C (deplog): add another regex for MikTeX
10072 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10074 * lyxrc.C (set_font_norm_type): support iso8859-3
10076 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10078 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10080 * LaTeXFeatures.C: remove special case of french and index
10082 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10083 before \begin{document}). This solves several incompatibilities.
10085 2001-10-03 Garst Reese <reese@isn.net>
10087 * lyx_cb.C: change CheckTex error msg.
10089 2001-10-03 José Matos <jamatos@fep.up.pt>
10091 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10093 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10095 * .cvsignore: update
10097 * lyx_main.C (commandLineVersionInfo): use new style version info.
10099 * buffer.C (writeFile):
10101 (makeLinuxDocFile):
10102 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10104 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10106 * version.h: update to use stuff in version.C
10108 * version.C.in: new file. Contains version information determined
10109 at compile time. This is a merging of version.h and
10112 2001-10-03 Juergen Vigna <jug@sad.it>
10114 * BufferView_pimpl.C (update): don't change "dirty" status in
10117 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10119 * WorkArea.C (c-tor): re-position version string slightly.
10121 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10123 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10124 revert to previous code.
10126 WorkArea.[Ch]: (show, destroySplash): methods removed.
10128 WorkArea.C: rework code so that it's an amalgam of the codes before and
10129 after the splash screen was moved to WorkArea.
10131 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10134 * vspace.C (inPixels):
10137 * buffer.C (insertStringAsLines):
10138 (asciiParagraph): fix types to be large enough
10140 * lyxlex_pimpl.h: change member status from short to int
10142 * layout.h: fix type of endlabeltype
10145 * kbsequence.C (parse): change return type to string::size_type
10147 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10150 * Bullet.C (bulletSize):
10151 (bulletEntry): do not use short ints as parameters
10153 * BufferView2.C (insertLyXFile): change a char to an int.
10155 * WorkArea.C (WorkArea): remove unneeded floats in computation
10157 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10159 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10161 * paragraph.C (asString): Do not ignore newline/hfill chars when
10162 copying to the clipboard.
10164 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10166 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10167 after a multi-line inset.
10169 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10171 * paragraph.C (validate): Set NeedLyXFootnoteCode
10173 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10175 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10176 and decrease-error to decrease.
10178 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10180 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10181 it more readable (should be equivalent)
10183 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10185 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10187 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10189 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10190 of a cursor (row, etc.) after a character has been deleted
10191 (deleteEmptyParagraphMechanism): call the method above on _all_
10192 cursors held by the LyXText when a double space has been
10195 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10197 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10199 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10201 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10202 background. Use greyOut() and the new show() methods to toggle between
10203 the foreground and background. Add code to remove the splash after
10204 its initial showing.
10206 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10207 (create_forms): no longer call Dialogs::showSplash.
10209 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10211 * .cvsignore: add version_info.h
10213 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10215 * version_info.h.in: new file
10217 * Makefile.am: add version_info.h.in
10219 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10220 version_info.h instead of VERSION_INFO
10222 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10224 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10225 The ERT inset now returns string().
10227 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10229 * lyxtext.h, text.C (selectNextWord): renamed as
10230 selectNextWordToSpellcheck.
10232 * text.C (selectNextWordToSpellcheck): Modified to not select
10233 words inside an ERT inset.
10235 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10237 * lyx_cb.C (MenuLayoutSave): change a bit the question
10239 * sp_base.h: include <sys/types.h>
10241 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10243 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10245 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10247 * several files: fix typos in user-visible strings
10249 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * text2.C (pasteSelection): do not set the selection, since it
10252 will be cleared later. Actually, the intent was to fix the way the
10253 selection was set, but I figured rmoving the code was just as good.
10255 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10257 * FontLoader.C (available): Check if font is available without
10260 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10262 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10264 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10266 * lyxrc.[Ch]: added display_graphics variable and associated code.
10268 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * bufferparams.C (hasClassDefaults): new method. Returns true if
10271 the buffer parameters correspond to known class defaults
10273 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10275 * XFormsView.C (show): set minimum size to the main window.
10277 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10279 * text2.C (copySelection):
10281 * lyxfind.C (LyXReplace):
10282 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10283 LyXText::selectionAsString.
10285 * paragraph.C (asString): add "label" argument to the second form
10287 * text2.C (selectionAsString): add "label" argument and pass it to
10288 Paragraph::asString.
10290 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * lyx_main.C (commandLineHelp): remove version information
10294 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10296 * lyx_main.C: add -version commandline option
10298 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10300 * paragraph.h: make the optional constructor arg required instead.
10301 some modifications to other files because of this.
10303 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10305 * lyxserver.C (C_LyXComm_callback): make it static
10307 * lyx_main.C (error_handler): make it static
10309 * lyx_gui.C (LyX_XErrHandler): make it static
10311 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10313 * WorkArea.C: make the extern "C" methods static.
10315 * Makefile.am (lyx_LDADD): simplify
10317 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10319 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10320 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10322 * LyXAction.C (init):
10323 * lyxfunc.C (dispatch): associated code removal.
10325 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10327 * lyxfont.h (isSymbolFont): shut off warning
10329 * text.C (setHeightOfRow):
10330 (getVisibleRow): fix crash with empty paragraphs which have a
10333 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10335 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10338 2001-09-04 José Matos <jamatos@fep.up.pt>
10341 * tabular.C (docbook): rename docBook method to docbook.
10343 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10345 * Makefile.am: add dependencies to main.o.
10347 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10349 * FontLoader.C (available): Return false if !lyxrc.use_gui
10351 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10353 * FontInfo.C (query):
10354 * converter.C (view):
10355 * importer.C (Import):
10356 * exporter.C (Export): Can not -> cannot.
10358 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10360 * BufferView_pimpl.C: allow to create index inset even if
10363 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10365 * buffer.C (getLists): replace boost::tie code with an explicit pair
10366 as boost::tie can break some compilers.
10368 * iterators.h: Added a std:: declaration to the return type of
10371 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10373 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10376 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10378 * iterators.[Ch]: New files. Provide paragraph iterators.
10380 * buffer.C (changeLanguage): Use paragraph iterators.
10381 (isMultiLingual): ditto
10383 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10385 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10387 * FontLoader.C: Support for cmr font.
10389 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10391 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10392 (available): New method.
10394 * FontInfo.C (getFontname): Use scalable fonts even when
10395 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10398 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10400 * converter.C (Formats::view): reverted! Incorrect fix.
10402 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10404 * converter.C (Formats::view): only output the -paper option
10405 if the dvi viewer is xdvi, thereby fixing bug #233429.
10407 2001-08-23 Herbert Voss <voss@perce>
10409 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10411 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10413 * Spacing.h (Spacing): Set space to Default on in the default
10416 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * vc-backend.h (RCS::versionString): add RCS to version
10419 (CVS::versionString): add CVS to version
10421 * vc-backend.C (scanMaster): do not add CVS to version.
10422 (scanMaster): do not add RCS to version
10424 * lyxvc.C (versionString): new method
10426 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10428 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10430 * Spacing.C (set): initialize fval
10432 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10434 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10437 2001-08-16 Juergen Vigna <jug@sad.it>
10439 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10441 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10443 * BufferView_pimpl.C:
10446 * text2.C: setParagraph takes linespacing now
10448 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10450 * LyxAction.C: add internal LFUN_CITATION_INSERT
10452 * LyXView.C: actually apply fix
10454 * bufferlist.C: fix open non-existent file
10456 * lyxfind.C: fix indentation
10458 * lyxfunc.C: remove unneeded assert, fix typo
10460 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10462 * MenuBackend.C: use "Floatname List"
10464 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10466 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10467 when converting LaTeX layout to insetERT.
10468 Generate a non-collapsed float when reading old float
10470 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10472 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10475 2001-08-13 Juergen Vigna <jug@sad.it>
10477 * text.C (fill): return 0 instead of 20 as this seems to be the more
10480 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10482 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10485 2001-08-13 Juergen Vigna <jug@sad.it>
10487 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10489 (SearchBackward): comment out the unlocking of the inset_owner this
10490 should not be needed!
10492 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10494 * Many files: Remove inherit_language, and add latex_language
10496 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10497 collapsible insets.
10499 2001-08-10 Juergen Vigna <jug@sad.it>
10501 * text.C (prepareToPrint): fixed hfill-width in draw!
10503 * BufferView2.C (selectLastWord): save the selection cursor as this
10504 now is cleared in the function LyXText::clearSelection!
10506 2001-08-08 Juergen Vigna <jug@sad.it>
10508 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10509 BACKSPACE type functions.
10511 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10512 is only cutted from the document but not put in the cut-buffer, where
10513 still the old stuff should be.
10515 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10517 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10519 * tabular.C (SetWidthOfCell): fixed special case where the width
10521 (LeftLine): handle '|' in align_special.
10523 (LeftAlreadyDrawed): ditto
10524 (SetWidthOfCell): ditto
10526 2001-08-07 Juergen Vigna <jug@sad.it>
10528 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10530 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10532 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10533 * lyxlex.[hC]: ditto
10535 2001-08-06 Juergen Vigna <jug@sad.it>
10537 * text.C (getVisibleRow): fix up row clearing a bit.
10539 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * minibuffer.C: make sure the X server sees the changes in the input.
10543 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10545 * paragraph.C (getFont): split into...
10546 (getLabelFont): this
10547 (getLayoutFont): and this
10548 * paragraph_pimpl.C (realizeFont): calling this
10550 * text2.C (getFont): split into...
10551 (getLayoutFont): this
10552 (getLabelFont): and this
10553 (realizeFont): all three calling this
10555 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10558 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10560 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10562 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10564 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10565 layouts from the Quote inset insertion.
10567 2001-08-03 Juergen Vigna <jug@sad.it>
10569 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10571 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10572 only if status not is already CHANGED_IN_DRAW (second level).
10574 * text.C (draw): don't set the need_break_row when inside an
10577 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * buffer.C (parseSingleLyXformat2Token): handle more latex
10582 * bufferview_funcs.[hC]: change function names to
10583 begin with small char, adjust other files.
10585 2001-08-02 André Pönitz <poenitz@gmx.net>
10588 BufferView_pimpl.C: remove broken special code for math-greek
10590 2001-08-02 Juergen Vigna <jug@sad.it>
10592 * BufferView_pimpl.C (update): redone this function so that we
10593 update the text again if there was a CHANGE_IN_DRAW.
10595 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10596 (drawFromTo): added a new internal bool which is used by draw() and
10598 (general): some cursor drawing problems fixed.
10600 2001-08-01 Juergen Vigna <jug@sad.it>
10602 * lyxfind.C (LyXFind): fixed
10603 (SearchForward): ditto
10604 (SearchBackward): ditto
10606 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10607 spurius drawing of the cursor in the main area.
10609 * text2.C (status): small fix which could lead to a segfault!
10610 (clearSelection): remove unneeded BufferView param.
10612 2001-08-01 André Pönitz <poenitz@gmx.net>
10614 * lyxfunc.C: small change due to changed mathed interface
10616 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10618 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10620 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10622 * lyxfunc.c: fail gracefully if file doesn't exist
10627 * BufferView_pimpl.C: IsDirWriteable() proto changed
10629 * LyXView.C: fix updateWindowTitle() to store the last title
10631 2001-07-31 Juergen Vigna <jug@sad.it>
10633 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10634 the font (wrong since using of Paragraph::highestFontInRange).
10636 * paragraph.C (highestFontInRange): added a default_size parameter.
10638 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10639 (setHeightOfRow): reformat
10641 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * converter.[hC] + affected files: move to (inital-char)lowercase
10646 * ParagraphParameters.C (ParagraphParameters): remove commented code
10648 * PainterBase.[Ch]: remove commented code
10650 * LaTeXFeatures.h: add "bool floats" for float.sty
10652 * LaTeXFeatures.C (LaTeXFeatures): init floats
10653 (require): handle float
10654 (getPackages): do it with floats
10656 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10658 * BufferView_pimpl.C (Dispatch): improve handling of
10659 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10661 * commandtags.h: #include lyxfont.h here temporarily to avoid
10664 * bufferlist.h: include LString.h here.
10666 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10668 * text2.C (getStringToIndex): new method.
10670 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10672 * *: Reduced header file dependencies all over.
10674 2001-07-30 Baruch Even <baruch@lyx.org>
10676 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10678 2001-07-29 Baruch Even <baruch@lyx.org>
10680 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10682 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10684 * ParameterStruct.h (endif): add a default constructor to make
10685 sure that all variables is initialized.
10687 * ParagraphParameters.C (ParagraphParameters): adjust
10689 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10691 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10692 index; also, check that there is something to index, and that it
10693 does not span over several paragraphs.
10694 (doubleClick): use WHOLE_WORD_STRICT for double click.
10696 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10698 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10701 2001-07-26 Baruch Even <baruch@lyx.org>
10703 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10704 an InsetFig figure, backwards compatible reading of old figure code.
10706 2001-07-27 Juergen Vigna <jug@sad.it>
10708 * text2.C: font.realize function adaption.
10710 * text.C (draw): add a warnings lyxerr text if needed.
10712 * layout.C: font.realize function adaption.
10714 * language.C: add inherit_language and implement it's handlings
10716 * bufferview_funcs.C (StyleReset): remove language parameter from
10717 font creation (should be language_inherit now).
10719 * bufferparams.C (writeFile): handle ignore_language.
10721 * paragraph.C (getFontSettings): the language has to be resolved
10722 otherwise we have problems in LyXFont!
10724 * lyxfont.C (lyxWriteChanges): added document_language parameter
10725 (update): removed unneeded language parameter
10727 * paragraph.C (validate): fixed wrong output of color-package when
10728 using interface colors for certain fonts in certain environments,
10729 which should not seen as that on the final output.
10731 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10733 * BufferView_pimpl.C:
10738 * LyXAction.C: add thesaurus support
10741 * lyxfind.C: add "once" parameter, for thesaurus, to not
10742 move to the next match
10744 2001-07-26 Juergen Vigna <jug@sad.it>
10746 * lyxfont.C (realize): honor ignore_language too!
10749 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10751 * text.C (draw): one place more for ignore_language to not draw
10754 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10756 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10758 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10760 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10761 the minipage conversion problem.
10763 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10765 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10768 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10770 * BufferView.h: don't forward declare WorkArea
10772 * BufferView.C: don't include WorkArea.h
10774 2001-07-25 André Pönitz <poenitz@gmx.net>
10778 * lyxfunc.C: new LFUN 'math-space'
10780 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10782 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * text2.C (toggleInset): call open/close
10786 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10788 * lyxfunc.C (dispatch): add debug for the disabled case
10790 * font.C (buttonText): make similar to rectText
10792 * buffer.C (readInset): comment out parsing of insetlist and
10795 * PainterBase.C (rectText): small correction
10797 * BufferView_pimpl.C: comment out insettheorem and insetlist
10798 * LyXAction.C: ditto
10799 * commandtags.h: ditto
10801 2001-07-24 Juergen Vigna <jug@sad.it>
10803 * text.C (draw): honor the ignore_language.
10805 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10807 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10809 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10812 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10814 * lyxtext.h: remove unused (and unimplemented) methods
10816 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10818 * text.C (getVisibleRow): honor background color
10821 * Painter.h: remove default color argument for fillRectangle
10823 * text.C (backgroundColor): new method
10825 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * text.C (getVisibleRow): adjust
10829 * font.[Ch] (rectText): new method, metrics
10830 (buttonText): new method, metrics
10832 * PainterBase.[hC]: make rectText and buttonText always draw and take
10835 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10837 * ToolbarDefaults.C (read):
10838 * MenuBackend.C (read): allow escaping in all strings
10840 * BufferView_pimpl.C (insertAndEditInset): new method.
10841 (Dispatch): use insertAndEditInset whenever appropriate.
10843 * BufferView_pimpl.C (insertNote): removed
10845 * BufferView_pimpl.C (smartQuote): new method, moved from
10846 BufferView; if an insetquote cannot be inserted, insert a '"'
10849 * BufferView2.C: remove insertCorrectQuote();
10851 * lyxfunc.C (getStatus): Add support for all remaingin
10852 inset-insert lfuns.
10854 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10856 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10857 command (necessary to pass " as parameter of self-insert.
10859 * text.C (selectWordWhenUnderCursor):
10860 (selectWord): add word_location parameter
10861 (selectWordWhenUnderCursor): same + remove special code for word
10863 (selectNextWord): use kind() to guess type of insetspecialchar,
10866 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10867 (insertErtContents): create ert insets as collapsed.
10868 (readInset): better compatibility code for Info inset.
10870 2001-07-20 Juergen Vigna <jug@sad.it>
10872 * lyxfunc.C (dispatch): use always LyXFind now!
10874 * text2.C (init): add a reinit flag so that the LyXText can be
10875 reinited instead of deleted and reallocated (used in InsetText).
10877 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10883 2001-07-18 Juergen Vigna <jug@sad.it>
10885 * text.C (selectNextWord): handle insets inside inset by calling
10886 always the bv->text functions so that we can go up the_locking_inset!
10888 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10889 in strange locations when inside an inset!
10891 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10892 handling to include insets.
10894 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10896 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10898 * LyXAction.C (init):
10900 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10901 LIGATURE_BREAK, since the name is so stupid.
10903 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10905 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10908 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10910 * sp_form.[Ch]: remove.
10912 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10914 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10917 * src/buffer.C (readInset): ditto.
10919 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10921 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10922 menuSeparator(), endOfSentenceDot(), ldots() and
10923 hyphenationPoint(), which are therefore removed.
10924 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10926 * LyXAction.C (init):
10927 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10929 * paragraph.C (getWord): removed.
10931 * BufferView_pimpl.C (Dispatch): use last word or selection for
10932 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10934 * lyx_main.C (queryUserLyXDir): do not ask before creating
10935 user_dir, except if it has been named explicitely.
10937 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10939 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10940 a document of zero size.
10942 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10944 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10945 approriately in the c-tor and in require().
10946 (getPackages): output the appropriate LaTeX for natbib support.
10948 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10949 variables "use_natbib" and "use_numerical_citations" when reading the
10951 (readInset): read the various natbib cite commands.
10952 (validate): white-space change.
10954 * bufferparams.[Ch]: new variables "bool use_natbib" and
10955 "bool use_numerical_citations".
10956 (writeFile): output them in the LyX file.
10958 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10960 * lyxfunc.C (getStatus): add support for all the inset insertion
10963 * text2.C (insertInset):
10964 * paragraph.C (insetAllowed):
10965 * BufferView_pimpl.C (insertInset): update to take in account the
10966 renaming of insertInsetAllowed
10968 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10970 * text2.C (getInset): new method. returns inset at cursor position.
10972 * BufferView_pimpl.C (Dispatch): changes because of this.
10974 * LyXAction.C (init): rename open-stuff to inset-toggle.
10976 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10978 * text2.C (toggleInset): renamed from openStuff; use
10981 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10983 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10985 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10987 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10989 * buffer.C (readLyXformat2): Add filename to the error dialog
10991 2001-07-18 Juergen Vigna <jug@sad.it>
10993 * tabular.C (GetCellNumber): put an assert here instead of the check!
10995 2001-07-17 Juergen Vigna <jug@sad.it>
10997 * BufferView_pimpl.C (toggleSelection): adapted too.
10999 * text.C (selectNextWord): adapted for use with insets.
11000 (selectSelectedWord): ditto
11002 2001-07-17 Juergen Vigna <jug@sad.it>
11004 * sp_spell.C (PSpell): fix initialitation order.
11006 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11008 * paragraph.C: spacing
11010 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11012 * sp_spell.C: repair language selection for pspell
11014 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11016 * lyxfunc.h: change more methods to begin with lower char.
11018 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11020 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11021 for unknown layouts.
11023 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11025 * buffer.C (readLyXformat2): Generate an error dialog if there are
11028 2001-07-16 Juergen Vigna <jug@sad.it>
11030 * sp_spell.C: always compile ISpell part.
11032 * lyxrc.C: added use_pspell entry and it's handling.
11034 2001-07-13 Juergen Vigna <jug@sad.it>
11036 * sp_spell.C: removed double includes.
11038 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11040 Consistent use of Lsstream.h:
11041 * Lsstream.h: added using std::stringstream for consistencies sake.
11043 * buffer.C: removed using std::stringstream
11045 * lyxfont.C (stateText):
11046 * paragraph.C (asString):
11047 * text.C (selectNextWord, selectSelectedWord):
11048 * text2.C (setCounter):
11049 * vspace.C (asString, asLatexString):
11050 std::ostringstream -> ostringstream.
11052 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11054 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11055 * commandtags.h: add LFUN_HELP_ABOUTLYX
11056 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11058 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11060 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11062 * lyx_gui_misc.C: remove spellchecker
11063 * lyxfunc.C: showSpellchecker
11065 * sp_ispell.h: added
11066 * sp_pspell.h: added
11067 * sp_spell.C: added
11068 * sp_form.[Ch]: removed
11069 * spellchecker.[Ch]: removed
11071 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11073 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11075 (simpleTeXSpecialChars): Simply print the input character without
11076 any special translation if pass_thru is set.
11078 * layout.h: Added bool pass_thru to layout class for being able to
11079 implement pass through of a paragraph for Literate Programming.
11081 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11082 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11083 * layout.C (Read): add "passthru" to list of layout tags and add
11084 code to set the pass_thru boolean when it is read.
11086 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11088 * trans_decl.h: remove allowed from KmodInfo
11090 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11091 remove allowed code
11094 * paragraph_pimpl.C (erase): use boost::prior
11096 * Painter.C (text): use data() instead of c_str() when length is
11098 * WorkArea.C (putClipboard): ditto
11099 * font.h (width): ditto
11101 * BufferView2.C: use it-> instead of (*it). for iterators
11103 * paragraph_pimpl.C: ditto
11104 * paragraph.C: ditto
11105 * minibuffer.C: ditto
11106 * language.C: ditto
11108 * encoding.C: ditto
11109 * counters.C: ditto
11110 * converter.C: ditto
11112 * Variables.C: ditto
11113 * TextCache.C: ditto
11114 * MenuBackend.C: ditto
11115 * LyXAction.C: ditto
11117 * FloatList.C: ditto
11118 * DepTable.C: ditto
11119 * ColorHandler.C (LyXColorHandler): ditto
11121 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11123 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11125 * text2.C (openStuff): reintroduce this method (which had been
11126 nuked in NEW_INSETS frenzy).
11128 * lyxfunc.C (Dispatch): when an action has not been handled, use
11129 its name in the error message, not its number.
11131 * paragraph.C (inInset): change method name to begin with lowercase.
11134 * text2.C: updates because of this.
11136 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11138 * ToolbarDefaults.C (add): add spaces in error message
11140 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11142 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11143 (readLyXformat2): rename return_par to first_par, use lyxlex's
11144 pushToken and remove the manual push handling.
11145 (parseSingleLyXformat2Token): add another ert comp. variable:
11146 in_tabular, rename return_par to first_par. handle newlines better
11148 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11150 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11152 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * text2.C (getParFromID): removed
11156 * buffer.C (getParFromID): new method moved form lyxtext.
11157 * BufferView2.C (insertErrors): adjust
11158 (setCursorFromRow): adjust
11159 * BufferView_pimpl.C (restorePosition): adjust
11160 * lyxfunc.C (Dispatch): adjust
11161 * undo_funcs.C (textUndo): adjust
11163 (textHandleUndo): adjust
11164 (textHandleUndo): adjust
11166 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11168 * buffer.C: up' the LYX_FORMAT
11170 * lyxfont.h: turn NO_LATEX on as default
11172 * buffer.C (insertErtContents): new methods of tex style compability.
11173 (parseSingleLyXformat2Token): use it several places.
11174 * tabular.C (OldFormatRead): and here
11176 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * text2.C: remove some commented code.
11181 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11182 * trans.C: changes because of the above.
11184 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11186 * text2.C (setCounter): Fix counters bug with bibliography layout.
11188 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11190 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11191 own member functions
11192 (simpleTeXSpecialChars): ditto
11194 2001-07-06 Juergen Vigna <jug@sad.it>
11196 * a lot of files: changed the access to LyXText::status and the
11197 call of undo-functions.
11199 * undo.[Ch]: added a inset_id to the undo informations.
11201 * undo_funcs.[Ch]: added and moved here all undo functions.
11203 * lyxtext.h: give the status enum a weight, made status_ a private
11204 variable and made accessor functions for it, removed the whole bunch
11205 of undo-functions as they are now in their own file, make some
11206 functions publically available. Added function ownerParagraph with
11209 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11210 made InInset() a const function, added getParFromID() function.
11212 * buffer.[Ch]: added const version for inset_iterator functions,
11213 added getInsetFromID() function.
11215 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11216 changed undo functions for new version.
11218 2001-07-05 Juergen Vigna <jug@sad.it>
11220 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11221 unknow mechanism does not call the proper constructor but only this
11222 one also if I request the other!?
11224 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11228 * text2.C (LyXText): use initialization lists.
11230 * lyxtext.h (Selection): initialize set_ and mark_
11231 (init): remove method
11233 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11235 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11237 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11239 * screen.[Ch]: change method names to begin with lowercase
11241 * BufferView_pimpl.C (updateScrollbar): simplify further and
11242 hopefully make it a bit faster.
11244 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11246 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11247 calling directly xforms functions.
11249 * Painter.C (Painter):
11250 * lyx_cb.C (MenuWrite):
11251 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11254 * lyx_gui.C: remove bogus guiruntime extern declaration.
11256 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11258 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11260 (redoDrawingOfParagraph): ditto
11261 (redoParagraphs): ditto
11262 (cutSelection): don't create a object for CutAndPaste use the
11263 static method directly
11264 (pasteSelection): ditto
11266 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11269 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * modifications to some other files because of this.
11273 * Makefile.am (lyx_SOURCES): add XFormsView
11275 * XFormsView.[Ch]: new files
11277 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11278 the main window. Move the gui dependent stuff to XFormsView
11280 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * tabular.C (GetCellInset): update cur_cell also in the row/col
11283 version of this function.
11285 * lyxfunc.C: no need to include figure_form.h here.
11291 * lyxvc.C: no need to include forms.h here.
11293 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11295 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11297 * lyxfunc.C (Dispatch):
11299 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11300 constructor argument.
11302 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * paragraph.C (Paragraph): dont't clear, and just set layout.
11305 (makeSameLayout): use params's copy contructor.
11307 * ParagraphParameters.[Ch] (makeSame): delete method
11309 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11311 * Variables.[Ch]: fix indentation, rename set to isSet
11313 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11315 * lyxfunc.C (Dispatch): fix typo
11317 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11319 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11322 * bufferlist.C: include assert.h for emergencyWrite().
11324 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11326 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11327 give up at last (bug #425202) !
11329 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11335 * spellchecker.C: strip spellchecker options and bring up
11336 preferences tab instead
11338 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11340 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11341 the istringstream constructor
11343 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11345 * paragraph.C (getLayout): fix return value
11347 * paragraph.h: do not declare getLayout as inline.
11349 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11351 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11353 * lyxcursor.h (operator<): new func
11354 (operator>): new func
11355 (operator>=): new func
11356 (operator<=): new func
11358 * text.C (changeCase): use selection.start and selection.end
11359 (changeRegionCase): require from to be <= to. Require par to be a
11362 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11364 2001-06-27 Juergen Vigna <jug@sad.it>
11366 * text.C (cursorLeftOneWord): changed to return the cursor and added
11367 overlay with BufferView * parameter which calls this one.
11369 (selectWord): use new getWord function.
11370 (changeCase): renamed from changeWordCase as and extended to work
11371 also on selections.
11373 * lyxtext.h: added enum word_location
11375 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11376 changeCase as this operates now also on selections.
11378 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11380 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11382 * many files: send debug output to Debug::INFO instead of
11385 * converter.C (View):
11387 (Move): send debug output to Debug::FILES instead of console.
11389 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11391 * lyxfunc.C (getStatus): use func_status
11393 * func_status.h: new header, describing the results of
11394 LyXFunc::getStatus;
11396 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11399 2001-06-25 The LyX Project <jug@sad.it>
11401 * buffer.C (sgmlOpenTag):
11403 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11405 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * text2.C: remove some dead code
11409 * tabular.C (GetCellInset): store the last cell checked (gotten)
11411 * tabular.h: add the helper for the speedup
11413 * lyxtext.h: remove some dead code
11415 2001-06-26 The LyX Project <Asger>
11417 * paragraph.C: Change export to LaTeX of alignment to
11418 \begin{center} and family for better roundtrip work with reLyX.
11420 * Tune the math drawing a bit.
11422 2001-06-25 The LyX Project <Asger>
11424 * LColor.C (LColor): New color for math background. New color
11427 2001-06-25 The LyX Project <jug@sad.it>
11429 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11431 * lyxfunc.C (Open):
11432 * bufferlist.C (newFile): do not restrict to files ending with
11435 * BufferView_pimpl.C (MenuInsertLyXFile):
11437 2001-06-24 The LyX Project <jug@sad.it>
11439 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11442 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * lyxtext.h: rename most methods to begin with a small char.
11445 Lots of changes because of this.
11447 * paragraph.C (Paragraph): do not call fitToSize
11448 (erase): call Pimpl::erase
11449 (insertChar): call Pimpl::insertChar
11450 (insertInset): call Pipl::insertInset
11451 (breakParagraph): do not call fitToSize
11452 (breakParagraphConservative): do not call fitToSize
11453 (fitToSize): remove method
11455 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11457 2001-06-24 The LyX Project <Asger>
11459 * Fix Qt compilation^2
11461 2001-06-24 The LyX Project <jug@sad.it>
11463 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11464 depthHook(getDepth()-1).
11467 * ParagraphParameters.h:
11468 * ParameterStruct.h: change type of depth to unsigned int ==
11469 depth_type. Many adaptations to other files before of that.
11471 2001-06-24 The LyX Project <Asger>
11473 * Fix Qt compilation.
11475 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11477 * paragraph.h: renamed several methods to begin with small letter.
11478 several changes to many parts of the code because of this.
11480 2001-06-23 The LyX Project <jug@sad.it>
11482 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11483 rewritten to discard all double spaces when KeepEmpty is off
11484 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11485 to only handle newlines but not fiddle with spaces and friends.
11487 * lyxfunc.C (MenuNew): when doing 'new from template', use
11488 template_path as default directory
11490 2001-06-23 The LyX Project <Asger>
11492 * Clean-up of header file includes all over
11493 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11495 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11497 * paragraph.h: renamed from lyxparagraph.h
11499 2001-06-23 Asger <lyx@violet.home.sad.it>
11501 * Buffer.h: Removed Buffer::resize
11502 * BufferList.h: Removed BufferList::resize
11503 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11504 the document lazily when we change the width, or the font settings.
11506 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11508 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11510 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11512 * buffer.h: remove out of date comment
11514 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11517 * screen.C: fix "theoretical" GC leak
11519 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11521 * LaTeX.C (scanAuxFile):
11522 (deplog): remove trailing \r when reading stream (useful under
11525 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11527 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11528 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11529 and BufferView::theLockingInset(Inset*), so should use them and not
11530 access bv_->text->the_locking_inset directly.
11532 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11534 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11537 * tex-defs.h: remove old unused file
11539 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11541 * BufferView_pimpl.C: fix typo, remove minibuffer message
11542 when buffer has loaded
11544 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11546 * lyxfunc.C (Dispatch): use stringstream
11547 (MenuNew): use stringstream
11548 (Open): use stringstream
11550 * importer.C (Import): use stringstream
11552 * bufferview_funcs.C (CurrentState): use stringstream
11554 * LaTeX.C (run): use stringstream
11556 * BufferView_pimpl.C (savePosition): use stringstream
11557 (restorePosition): use stringstream
11558 (MenuInsertLyXFile): use stringstream
11560 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11573 * vspace.C: removed // -*- C++ -*- as first line.
11576 * version.h: added // -*- C++ -*- as first line.
11578 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11580 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11582 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11585 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11590 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11592 * gettext.C: include LString.h even when --disable-nls is on.
11594 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11596 * converter.h (Get): changed argument type from int to
11597 FormatList::size_type to avoid unnecessary conversion.
11599 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11602 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11604 * gettext.h: include LString.h even when --disable-nls is on.
11606 2001-06-07 Juergen Vigna <jug@sad.it>
11608 * text.C (BreakAgain): subst spaces with tabs.
11610 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11611 (resizeInsetsLyXText): set force on resizeLyXText.
11613 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11615 * gettext.h (gettext_init):
11616 (locale_init): use a real definition instead of a macro
11618 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11620 * Bufferview_pimpl.C:
11622 * LColor.C: further lcolor tidies
11624 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11626 * BufferView_pimpl.C (updateScrollbar): simplify.
11628 * BufferView2.C: don't include insets/insetinfo.h, change
11629 prototype for insertInset and call the Pimpl version. let
11630 updateInset call Pimpl version.
11632 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11633 gotoInset to BufferView::Pimpl
11635 2001-06-01 Juergen Vigna <jug@sad.it>
11637 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11638 inside a LockingInset (is the update needed at all?).
11640 2001-05-31 Juergen Vigna <jug@sad.it>
11642 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11643 here not the old one otherwise how should we compare it afterwards
11646 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11651 * FontInfo.C: bring C functions into global namespace when
11654 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11656 * LString.h: make sure config.h has been loaded before LString.h.
11658 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11659 (one for each char read by EatLine!).
11661 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11664 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11667 to the same as the par we break from
11669 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11671 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11673 * MenuBackend.C (expand): also create menu entries for wide
11674 versions of the floats.
11676 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11678 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11680 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11681 frontends/Makefile.am
11687 * tabular.C (getTokenValue): add std::
11689 * tabular-old.C (getTokenValue): add std::
11690 (getTokenValue): ditto
11691 (getTokenValue): ditto
11693 * screen.C (ToggleSelection): adjust
11695 * lyxtext.h: put selection cursors inside a Selection struct.
11697 * lyxfunc.C (moveCursorUpdate): adjust
11699 * lyxfont.C (latexWriteStartChanges): add std::
11701 * lyxfind.C: adjust
11703 * font.h: delete with(char const *, LyXFont const &)
11705 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11707 * FontInfo.C (getFontname): add std::
11709 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11710 (workAreaButtonPress): adjust
11711 (tripleClick): adjust
11713 (moveCursorUpdate): adjust
11716 * BufferView2.C (gotoInset): adjust
11718 2001-05-30 Juergen Vigna <jug@sad.it>
11720 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11721 to check pspell I add this as default as I now have new pspell
11722 libraries and they seem to use this.
11724 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * text2.C (CutSelection): make the cursor valid before the call to
11729 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11731 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11732 relied on 0 terminated strings and other horrors. Bug found due to
11733 the new assert in lyxstring!
11735 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11738 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11740 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11743 * lyxfunc.C (processKeySym): change method of getting to the
11746 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11747 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11748 * BufferView_pimpl.[Ch]: here as private methods.
11750 2001-05-28 Juergen Vigna <jug@sad.it>
11752 * text.C (SetHeightOfRow): added the update() call again as it is
11753 needed to initialize inset dimensions!
11755 2001-05-16 Juergen Vigna <jug@sad.it>
11757 * text2.C (SetCharFont): Add new function with BufferView * and
11758 bool toggleall parameters for setting insets internal fonts.
11759 (SetFont): Freeze the undo as we may change fonts in Insets and
11760 all this change should be inside only one Undo!
11762 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11763 setting font's in insets as for them we have the SetFont function!
11765 2001-05-15 Juergen Vigna <jug@sad.it>
11767 * text2.C (ClearSelection): to be sure we REALLY don't have any
11770 * tabular.C (TeXCellPreamble): fixed the left border problem for
11773 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11775 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11778 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11780 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11781 LFUN_BREAKPARAGRAPH.
11783 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11784 help test to "internal only", similar for LFUN_INSERT_URL
11786 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11787 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11788 auto_region_delete and deadkeys.
11790 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11793 * LColor.C: remove some dead entries, tidy a little
11795 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11797 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11799 (Dispatch): implement LFUN_ESCAPE
11801 * commandtags.h: add LFUN_ESCAPE
11803 * LyXAction.C (init): add entry for LFUN_ESCAPE
11805 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11806 Remove commented code.
11807 (insertNote): moved here
11808 (open_new_inset): moved here
11810 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11813 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11815 * kbmap.C (findbinding): clean it up and make it work correctly.
11817 * lyx_main.C (init): do not pass argc and argv as parameters
11819 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11821 * buffer.C: fix path for OS/2 & Win32
11825 * lyx_main.C: Added os:: class.
11827 * os2_defines.h: update
11829 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11832 better by trying again with reduced state.
11834 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11836 * lyxrc.C (read): print error about invalid key sequence only when
11837 debugging (because not all latinX keysyms are known to some X
11840 * kbsequence.C (getiso): add a few std:: qualifiers
11841 (getiso): comment out extra return statement.
11843 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11845 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11847 (Dispatch): enhance the accent inset a bit. (not perfect)
11849 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11853 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11855 * bufferlist.C (emergencyWrite): fix assert() call
11857 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11859 * text.C (InsertChar): Added trivial patch to only send the "you
11860 can not do multiple spaces this way" message once during a
11863 2001-05-08 Baruch Even <baruch@lyx.org>
11865 * Makefile.am: Changed order of libraries to get LyX to link properly
11866 with the gnome frontend.
11868 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11870 * LaTeXFeatures.h: add a std:: qualifier
11872 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11874 * paragraph.C (String): use stringstream
11876 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * paragraph.C (writeFile): remove footflag arg
11880 * buffer.C (makeLaTeXFile): use stringstream
11881 (latexParagraphs): remove footnot gurba
11883 * LaTeXFeatures.C (getPackages): use stringstream
11884 (getMacros): likewise
11885 (getTClassPreamble): likewise
11886 (getFloatDefinitions): new method
11888 * paragraph.C (writeFile): reindent
11891 * WorkArea.h: revert the xpos + etc changes.
11893 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11895 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11897 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11898 (pasteSelection): likewise
11899 * text2.C (CreateUndo): likewise
11901 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * minibuffer.C (peek_event): temporarily reduce the functionality
11904 of the minibuffer (to allow args on lfuns)
11906 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11907 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11909 * buffer.C (readInset): add compability reading of old float
11910 lists, add reading of new style float list.
11911 (readInset): avoid reevaluation of inscmd.getCmdName()
11912 (getLists): reindent
11914 * MenuBackend.C (MenuItem): implement parsing of
11915 md_floatlistinsert and md_floatinsert.
11916 (expand::LastFiles): move initalizaton of iterators out of loop,
11917 avoid reevaluation.
11918 (expand::Documents): introduce typdedef vector<string> Strings,
11920 (expand::ExportFormats): introduce typedef vector<Format const *>
11921 Formats, and use it.
11922 (expand): implement FloatListInsert and FloatInsert.
11924 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11925 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11926 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11928 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11930 (Dispatch::LFUN_FLOAT_LIST): implement
11932 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11934 * LaTeX.C (run): Fix problem with --export code.
11936 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11938 * BufferView.[Ch] (workarea): removed.
11939 (getClipboard) new method; wrapper for workarea()->getClipboard()
11941 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11944 * WorkArea.h (width, height, xpos, ypos): These methods all
11945 returned the dimensions of the work_area sub-area of WorkArea,
11946 resulting in a position error if the WorkArea were resized. Now
11947 return the dimensions of the entire WorkArea.
11949 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11951 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11953 * LaTeX.C (deplog): correct the syntax of regex reg1
11955 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * undo.C: remove !NEW_INSETS cruft
11959 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * text2.C: remove !NEW_INSETS cruft
11963 * text.C: remove !NEW_INSETS cruft
11965 * tabular.C: remove !NEW_INSETS cruft
11967 * spellchecker.C: remove !NEW_INSETS cruft
11969 * lyxtext.h: remove !NEW_INSETS cruft
11971 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11973 * lyxfunc.C: remove !NEW_INSETS cruft
11975 * lyxfind.C: remove !NEW_INSETS cruft
11977 * lyx_cb.C: remove !NEW_INSETS cruft
11979 * figureForm.C: remove !NEW_INSETS cruft
11981 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11983 * buffer.[Ch]: remove !NEW_INSETS cruft
11985 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11987 * CutAndPaste.C: remove !NEW_INSETS cruft
11989 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11991 * BufferView2.C: remove !NEW_INSETS cruft
11993 * BufferView.h: remove !NEW_INSETS cruft
11995 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11997 * Lsstream.h: include LString.h before the sstream headers to
11998 fix problem with gcc 2.95.3 and lyxstring
12000 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12002 * lyx_main.C: add using directives when needed for C functions
12003 declared in std:: namespace.
12005 2001-04-27 Juergen Vigna <jug@sad.it>
12007 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12008 (SetHeightOfRow): comment out the update call should not be needed!
12010 2001-04-13 Juergen Vigna <jug@sad.it>
12012 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12013 (LyXTabular): tried to minimize operator= operations (and realized
12014 hopfully Lars wish).
12016 2001-04-27 Juergen Vigna <jug@sad.it>
12018 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12020 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12024 * buffer.C (readInset): hack to make listof algorithm work
12026 * BufferView_pimpl.C: hack to make listof algorithm work
12028 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * LyXAction.C: removed all !NEW_INSETS cruft
12031 (init): moved lfun_item in method
12033 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12035 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12037 * BufferView2.C (theLockingInset): white space.
12039 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * minibuffer.C: include <iostream>
12043 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12045 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12047 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12049 * text.[Ch] (TransposeChars): new method
12051 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12053 * call message directly through LyXView instead of through LyXFunc
12054 * BufferView2.C: adjust
12055 * BufferView_pimpl.C: adjust
12056 * FontLoader.C: adjust
12058 * bufferview_funcs.C: adjust
12059 * converter.C: adjust
12060 * figureForm.C: adjust
12061 * importer.C: adjust
12063 * lyx_gui_misc.C: adjust
12064 * lyxfunc.C: adjust
12067 + more files in subdirs
12069 * lyxparagraph.h (size): move up int file
12072 * adjust all uses of Assert to lyx::Assert.
12074 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12075 lyxfunctional in namespace lyx
12076 * layout.C (hasLayout): ditto
12079 (delete_layout): ditto
12080 (NumberOfClass): ditto
12081 * converter.C (GetFormat): ditto
12086 * bufferlist.C (getFileNames): ditto
12087 (emergencyWriteAll): ditto
12090 * MenuBackend.C (hasSubmenu): ditto
12093 * BufferView_pimpl.C (getInsetByCode): ditto
12095 2001-04-18 Juergen Vigna <jug@sad.it>
12097 * vspace.C (asLatexString): fixed the 100% problem.
12099 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12101 * lyxfunc.C (Dispatch):
12103 * minibuffer.h: add a few std:: qualifiers
12105 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12107 * minibuffer.[Ch]: reimplement so that commands is initiated and
12108 run from lyxfunc, simplified som handling, and made the completion
12109 and history code for complete. wip.
12111 * lyxfunc.C (processKeySym): call message
12112 (miniDispatch): new temporary method
12113 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12114 (LFUN_MESSAGE): implement
12115 (LFUN_MESSAGE_PUSH): implement
12116 (LFUN_MESSAGE_POP): implement
12117 (initMiniBuffer): the initial/defualt minibuffer message.
12119 * lyxfont.[Ch]: inline some more getters
12121 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12123 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12125 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12126 (AutoSave): use LFUN_MESSAGE
12127 (Reconfigure): ditto
12129 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12131 * figureForm.C: use LFUN_MESSAGE
12133 * converter.C (runLaTeX): use LFUN_MESSAGE
12135 * bufferview_funcs.C: use LFUN_MESSAGE
12137 (changeDepth): ditto
12139 * bufferparams.h: use boost::
12141 * bufferlist.h: inherit privately from noncopyable
12143 * bufferlist.C (loadLyXFile): remove some commented code.
12145 * buffer.C (runChktex): use LFUN_MESSAGE
12147 * ShareContainer.h: inherit privately from noncopyable
12149 * ParagraphParameters.[hC] (depth): inline it.
12151 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12153 (message): new method
12154 (messagePush): ditto
12155 (messagePop): ditto
12156 (show): init minibuffer
12157 (showState): direct call
12159 * LaTeX.[Ch]: inherit privately from noncopyable
12160 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12161 instead of WriteStatus.
12163 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12165 * BufferView_pimpl.C (buffer): don't init minibuffer
12166 (workAreaButtonPress): use LFUN_MESSAGE
12167 (workAreaButtonRelease): ditto
12168 (savePosition): ditto
12169 (restorePosition): ditto
12170 (MenuInsertLyXFile): ditto
12171 (workAreaExpose): don't init minibuffer
12172 (update): remove commented code, simplify
12174 * BufferView2.C (openStuff): use LFUN_MESSAGE
12175 (toggleFloat): ditto
12178 (copyEnvironment): ditto
12179 (pasteEnvironment): ditto
12184 (updateInset): remove some commented code
12186 * lastfiles.h: inherit privately from noncopyable
12189 * lyx_main.h: ditto
12191 * lyxlex_pimpl.h: ditto
12193 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12194 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12195 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12197 * LyXAction.h: inherit privately from noncopyable, add methods
12198 func_begin, func_end, returning iterators to the func map.
12200 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12201 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12202 (func_begin): new method
12203 (func_end): new method
12205 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12207 (copySelection): ditto
12208 (pasteSelection): ditto
12210 * BufferView.C: whitespace change
12211 * BufferView.h: inherit privately from noncopyable
12213 2001-04-16 Allan Rae <rae@lyx.org>
12215 * tabular-old.C (l_getline):
12216 * spellchecker.C (sc_check_word):
12217 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12218 an unrecognised preprocessor directive. So ensure they're wrapped.
12220 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12222 * src/exporter.C (Export): Give an error message when path to file
12225 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12227 * LaTeX.C (deplog): Always check that foundfile exists.
12229 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12232 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12234 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12236 * tabular.[Ch] (getLabelList): implement new method
12238 * minibuffer.h: comment ouf setTiimer
12240 * minibuffer.C (ExecutingCB): constify res
12241 (peek_event): constify s
12242 (Set): constify ntext
12243 (Init): constify nicename
12245 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12247 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12248 (savePosition): use two params to Minibuffer::Set
12249 (restorePosition): ditto
12251 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * lyx_main.C: include language.h
12255 * Makefile.am (lyx_main.o): add language.h
12257 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * CutAndPaste.C: include gettext.h
12265 * lyxfont.h: remove old hack with ON and OFF.
12268 * lyxfont.h: do not include language.h...
12273 * bufferview_funcs.C:
12279 * paragraph.C: ... but do it here instead
12281 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12285 * tabular.C: small reformat
12287 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12290 (BreakParagraph): ditto
12291 (SetOnlyLayout): ditto
12294 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12297 * lastfiles.C: removed most using decl, add std:: where needed
12299 * buffer.C: ws changes
12301 * MenuBackend.C (class compare_format): put into anon namespace
12302 (expand): constify label, names, action, action2
12305 * text.C (SingleWidth): constify font
12306 (IsBoundary): constify rtl2
12307 (GetVisibleRow): constify ww
12309 * LaTeX.C (deplog): constify logfile
12311 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12313 (workAreaExpose): constify widthChange, heightChange
12315 * lyxrow.C (par): moved
12318 * lyxrow.h: as inlines here
12320 * lyxfont.h (shape): moved from lyxfont.C
12321 (emph): moved from lyxfont.C
12323 * lyxfont.C (LyXFont): use initialization list for all
12325 (shape): move to lyxfont.h as inline
12326 (emph): move to lyxfont.h as inline
12329 2001-04-04 Juergen Vigna <jug@sad.it>
12331 * vspace.C: had to include stdio.h for use of sscanf
12333 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12336 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12337 independent of xforms.
12339 2001-04-02 Juergen Vigna <jug@sad.it>
12341 * spellchecker.C: fixed namespace placing!
12343 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12345 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12346 the LyXParagraph * is 0.
12348 2001-03-29 Juergen Vigna <jug@sad.it>
12350 * vspace.C: added support for %, c%, p%, l%.
12351 (stringFromUnit): added helper function.
12352 (asLatexString): changed to give right results for the %-values.
12354 * buffer.C: convert the widthp in a width%.
12356 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12358 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12361 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12362 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12364 * lyx_cb.[Ch]: see above.
12366 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12370 * lyx.[Ch]: replaced by figure_form.[Ch].
12374 * lyxfunc.C: changed headers associated with above changes.
12376 2001-03-27 Juergen Vigna <jug@sad.it>
12378 * BufferView_pimpl.C: set the temporary cursor right!
12380 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12382 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12384 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12386 * LString.h: removed "using std::getline"!
12388 * BufferView_pimpl.C (Dispatch): changes due to changes in
12389 InsetInclude::Params.
12391 * buffer.C (tag_name): removed redundant break statements as they were
12392 producing lots of warnings with my compiler.
12394 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12396 * LString.h: add "using std::getline" when using the real <string>.
12398 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12400 * buffer.C: removed bitset usage.
12401 PAR_TAG moved to an anonymous name space.
12402 (tag_name): new funtion, also in the anonymous namespace.
12403 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12404 (makeDocBookFile): clean code. Completed transition from string arrays
12406 (SimpleDocBookOnePar): code clean.
12408 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12410 * tabular.C: add some comments.
12412 2001-03-22 Juergen Vigna <jug@sad.it>
12414 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12415 compatibility read a bit and fixed bug with minipage in different
12418 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12420 * buffer.C (pop_tag): removed.
12421 (push_tag): removed.
12422 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12423 array replaced with vector. Added support for CDATA sections.
12424 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12426 (makeDocBookFile): XML conformant declaration of CDATA section,
12427 fixed bug related to <emphasis> in the first paragraph char.
12428 (sgmlOpenTag): exclude empty tags.
12429 (sgmlCloseTag): ditto.
12431 * buffer.h (pop_tag): removed.
12432 (push_tag): removed.
12434 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12436 * language.h (Languages): added size_type and size().
12438 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12440 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12441 response on compability reading of minipages. One probliem is that
12442 the old usage of minipages was «flertydig»
12444 * several files here and in subdirs: don't use static at file
12445 scope use anon namespaces instead.
12447 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12449 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12450 LaTeX output. This is necessary for Literate document
12453 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12455 * buffer.C: insert hfill when needed.
12457 * tabular.C (l_getline): use string::erase, small whitespace change.
12459 * BufferView_pimpl.C: try the anon namespace.
12460 * WorkArea.C: ditto
12462 2001-03-16 Juergen Vigna <jug@sad.it>
12464 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12465 otherwise it won't open options-dialogs.
12467 * buffer.C: honor pextraWidth(p) on converting minipages.
12469 * tabular.C (l_getline): changed the functions to strip trailing \r.
12471 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12473 * BufferView_pimpl.C:
12474 * minibuffer..C: added "using SigC::slot" declaration.
12476 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12478 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12484 * paragraph.C: ditto
12486 * lyxtext.h: NO_PEXTRA
12488 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12490 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12491 * ParameterStruct.h: ditto
12492 * ParagraphParameters.h: ditto
12493 * lyxparagraph.h: ditto
12495 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12497 * buffer.C: add compability for minipage alignment.
12498 (latexParagraphs): remove unwanted pextra check.
12500 * several files: remove CXX_WORKING_NAMESPACES
12502 * buffer.C (pop_tag): tie is in namespace boost
12504 * BufferView.h: noncopyable is in namespace boost
12506 * lyx_main.h: ditto
12509 * lastfiles.h: ditto
12510 * bufferlist.h: ditto
12511 * ShareContainer.h: ditto
12513 * LyXAction.h: ditto
12516 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12518 * Merging changes from BRANCH_MVC back into HEAD.
12520 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12522 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12524 * BufferView_pimpl.C: change from intl.C
12528 * Makefile.am: move combox.*
12534 * intl.C: remove dialog (covered by prefs)
12536 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12538 * lyxfunc.C (Dispatch): removed redundant break statement.
12540 2001-03-14 Juergen Vigna <jug@sad.it>
12542 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12544 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12546 * buffer.C: add hack to fix compability reading of minipages.
12548 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12550 * buffer.C (getLists): Cleanup.
12552 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12554 * lyxfont.C (update): don't honor toggleall on font size.
12556 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12560 * Makefile.am: moved to frontends/xforms/
12564 * BufferView_pimpl.C: changes for moved mathpanel
12566 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12568 * gettext.h: fix gettext_init() in --disable-nls
12570 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12572 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12574 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12577 * lyx.h: strip external form
12579 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12581 * BufferView_pimpl.C: add comment, destroySplash()
12583 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12585 * BufferView_pimpl.C:
12589 * lyxfunc.C: use re-worked insetinclude
12591 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12593 * buffer.C: add using std::stringstream.
12595 * lyx_cb.C: readd using std::ios.
12597 * buffer.C: add using std::map.
12599 * BufferView_pimpl.C: add using std::vector.
12601 * ShareContainer.h: add std:: to swap.
12603 * buffer.h: add some typedefs
12604 * buffer.C (getLists): use them
12605 (getLists): renamed from getTocList.
12606 add a counter for the different float types and use it in the
12608 (getLists): use the same counter for the NEW_INSETS and the "non"
12611 * lyx_cb.h: remove unused items, includes, using etc.
12613 * ShareContainer.h: remove some commented code, add more comments
12614 and "documentation".
12616 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12618 * buffer.C (getTocList): make the list also when NEW_INSETS is
12621 * buffer.h: remove TocType
12623 * buffer.C (getTocList): change to return a map<string,
12624 vector<TocItem> >, implement for dynamic number of list.
12626 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12627 * text2.C (PasteSelection): adjust
12628 * CutAndPaste.C (pasteSelection): adjust
12630 * FloatList.C (FloatList): update from the new_insets branch.
12631 * Floating.[Ch]: ditto
12632 * LaTeXFeatures.C: ditto
12634 * lyxlex_pimpl.C: ditto
12636 * paragraph.C (Last): remove when NEW_INSETS is defined.
12638 * other file: changes because of the above.
12640 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12642 * lyxparagraph.h: rename next to next_, previous to previous_,
12643 make them private for NEW_INSETS. Rename Next() to next(),
12644 Previous() to previous().
12646 * other files: changes because of the above.
12648 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12651 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12654 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12656 * main.C (main): pass lyx_localedir to gettext_init().
12658 * gettext.h: remove locale_init and gettext_init macros
12660 * gettext.C (locale_init): new function
12661 (gettext_init): new function
12663 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12666 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12668 * Moved credits to frontends:
12669 * credits.[Ch]: removed
12670 * credits_form.[Ch]: removed
12671 * lyx_gui_misc.C: remove credits stuff
12674 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12676 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12678 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12679 unneeded destructor.
12681 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12682 a standalone pointer again.
12684 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12686 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12692 * ToolbarDefaults.C:
12701 * BufferView_pimpl.C: use new file dialog in GUII
12704 * lyx_cb.C: remove LayoutsCB to Toolbar
12706 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * ShareContainer.h (get): add std:: qualifier
12710 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12712 * ShareContainer.h: define a proper ShareContainer::value_type
12713 type (and use typename to please compaq cxx)
12715 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12717 * lyxparagraph.h: move serveral local vars to
12718 ParameterStruct/ParagraphParameters., use ShareContainer in
12719 FontTable., make vars in FontTable private and add getter and
12722 * paragraph.C: changes because of the above.
12724 * lyxfont.h: remove copy constructor and copy assignment. (the
12725 default ones is ok), move number inside FontBits. move inlines to
12728 * lyxfont.C: add number to initializaton of statics, move several
12729 inlines here. constify several local vars. some whitespace
12730 cleanup. Dont hide outerscope variables.
12732 * Spacing.h: add two new constructors to match the set methods.
12734 * ShareContainer.h: new file, will perhaps be moved to support
12736 * ParameterStruct.h: new file
12738 * ParagraphParameters.h: new file
12740 * ParagraphParameters.C: new file
12742 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12743 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12745 * BufferView_pimpl.C: ParagraphParameter changes.
12746 * buffer.C: Likewise.
12747 * bufferview_funcs.C: Likewise.
12748 * text.C: Likewise.
12749 * text2.C: Likewise.
12751 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12753 * lyxfind.C (LyXReplace): do not redefine default argument in
12755 (IsStringInText): ditto
12756 (SearchForward): ditto
12757 (SearchBackward): ditto
12759 2001-03-06 Juergen Vigna <jug@sad.it>
12761 * lyxfind.C (IsStringInText): put parentes around expressions.
12763 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12765 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12767 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12769 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12771 * stl_string_fwd.h: add comment
12773 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12776 * tabular.C: remove unused DocBook methods
12782 killed DO_USE_DEFAULT_LANGUAGE
12784 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12786 * lyx_gui.C: do not include language.h.
12788 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12789 arguments in function implementation.
12791 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12793 * BufferView_pimpl.C: add <ctime>
12795 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12797 * BufferView_pimpl.C: add using std::find_if
12799 2001-02-27 José Matos <jamatos@fep.up.pt>
12801 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12804 2001-02-11 José Matos <jamatos@fep.up.pt>
12806 * buffer.C (makeDocBookFile): command styles now have a parameter as
12807 "title" by default.
12809 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12811 * layout_forms.[Ch]: removed
12812 * lyx_cb.[Ch]: out character
12813 * lyx_gui.C: out character
12814 * lyx_gui_misc.C: out character
12815 * bufferview_funcs.C: : out character,
12816 added toggleall as parameter in ToggleAndShow
12818 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12820 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12822 * text2.C (SetCurrentFont): Disable number property at boundary.
12824 2001-02-26 Juergen Vigna <jug@sad.it>
12826 * lyxfunc.C (getStatus): added a string argument override function so
12827 that this is correctly called from LyXFunc::Dispatch if it contains a
12828 do_not_use_argument which is used!
12829 (Dispatch): added check for "custom" export and call appropriate func.
12831 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12833 * lyxrc.C: Add language_command_local, language_use_babel and
12834 language_global_options.
12836 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12838 * buffer.C (makeLaTeXFile): Use language_use_babel and
12839 language_global_options.
12841 2001-02-23 Juergen Vigna <jug@sad.it>
12843 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12844 which works with LyXText and putted it inside BufferView. Here now we
12845 only call for that part the BufferView::Dispatch() function.
12847 * BufferView.C (Dispatch): added.
12849 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12850 functions which needs to use a LyXText over from LyXFunc.
12851 (MenuInsertLyXFile): added
12852 (getInsetByCode): added
12853 (moveCursorUpdate): added
12854 (static TEXT): added
12856 2001-02-22 Juergen Vigna <jug@sad.it>
12858 * BufferView_pimpl.C (update): call a status update to see if LyXText
12861 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12863 * vc-backend.C (revert): implement for CVS
12864 (getLog): implement for CVS
12866 2001-02-20 Juergen Vigna <jug@sad.it>
12868 * text2.C (ClearSelection): added BufferView param for inset_owner call
12870 * lyxfunc.C (TEXT): added this function and use it instead of
12871 directly owner->view()-text of getLyXText().
12873 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12875 * src/layout_forms.C: out preamble
12876 * src/layout_forms.h: out preamble
12877 * src/lyx_cb.C: out preamble
12878 * src/lyx_cb.h: out preamble
12879 * src/lyx_gui.C: out preamble
12880 * src/lyx_gui_misc.C: out preamble
12881 * src/lyxfunc.C: connect with guii preamble
12883 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12885 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12887 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12889 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12890 whether to run bibtex.
12892 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12894 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12896 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12898 * Makefile.am (lyx_SOURCES): removed bibforms.h
12900 * vspace.h: doxygen
12902 * text.C (GetVisibleRow): make several local vars const
12904 * tabular.C: small cleanup.
12906 * lyxserver.C (callback): use compare instead of strncmp
12908 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12909 inlines to after class or to paragraph.C
12911 * lyxfont.h: remove friend operator!=
12913 * converter.h: move friend bool operator< to non friend and after
12916 * combox.h: small cleanup
12918 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12919 to inlines after class def.
12921 * buffer.C (pop_tag): use string operations instead of strcmp
12923 * bmtable.c: doxygen, small cleanup
12925 * LaTeX.h: remove friend operator==
12927 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12939 * BufferView_pimpl.C:
12940 * BufferView.[Ch]: remove cruft
12942 2001-02-14 Juergen Vigna <jug@sad.it>
12944 * lyxfunc.C: removed #if 0 unused code
12946 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12948 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12950 * text2.C (SetSelection): added a BufferView * parameter
12952 2001-02-13 Juergen Vigna <jug@sad.it>
12954 * lyxfunc.C (Dispatch): fixed protected blank problem.
12955 * BufferView2.C (protectedBlank): added LyxText * parameter.
12957 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12958 (AppendColumn): same as above for column_info.
12960 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12961 (moveCursorUpdate): use a LyXText param for support of InsetText.
12963 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12964 (tripleClick): ditto
12966 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12968 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12970 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12972 * text2.C (SetSelection): set correct update status if inset_owner
12973 (ToggleFree): ditto
12975 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12977 * tabular.C: remove some commented code.
12979 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12981 * BufferView_pimpl.C: call hideSplash()
12983 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12986 * bibforms.h: remove
12989 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12990 add LFUN_CHILD_CREATE
12992 * counters.h: fix tiny typo
12997 * lyx.C: move splash to frontends/xforms/
12999 * lyx_gui_misc.C: move Include and Bibform to frontends
13001 * lyxvc.h: clarify comment
13003 * vspace.C: tiny housekeeping
13005 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13007 * text.C (PrepareToPrint): RTL Fix.
13009 * paragraph.C (GetUChar): New method.
13010 (String): Use GetUChar.
13012 * buffer.C (asciiParagraph): Use GetUChar.
13014 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13016 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13018 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13021 * buffer.C: rename to getLogName(), handle
13022 build log / latex log nicely
13024 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13027 * MenuBackend.h: remove support for reference menuitem type.
13029 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13031 * BufferView_pimpl.C: housekeeping
13032 * BufferView_pimpl.h:
13037 * minibuffer.h: move Timeout GUI-I
13039 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13041 * lyxrc.C (read): Update converters data-structures.
13043 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13045 * LaTeX.h (operator!=): add operator != for Aux_Info
13047 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13049 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13051 * LaTeXLog.C: deleted, useful code moved to Buffer
13054 * buffer.C: new function getLatexLogName()
13060 * lyxfunc.C: use frontends for LaTeX and VC logs
13062 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13064 * LaTeX.h: yet another std:: that Allan forgot.
13066 * Variables.C (set): renamed from isset(), because this clashes
13067 with some HP-UX macros (grr).
13069 2001-02-06 Allan Rae <rae@lyx.org>
13071 * LaTeX.h: Another bug fix. Missing std:: this time.
13073 2001-02-04 Allan Rae <rae@lyx.org>
13075 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13076 floats problem. I've left it commented out because it's not quite
13077 correct. It should also test that the current object is a table or
13078 figure inset. But I haven't gotten around to figuring out how to do
13079 that. I *think* it'll be something like: "table" == inset.type()
13081 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13084 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13086 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13087 all the citation/databases/styles in the auxilary file.
13088 (run): Rerun latex if there was a babel language error.
13090 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13092 * text.C (Backspace): Preserve the font when changing newline char
13094 (BreakParagraph): If the cursor is before a space, delete the space.
13096 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13098 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13100 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13101 new argument (code).
13102 (ChangeCitationsIfUnique): New method.
13104 * paragraph.C (GetPositionOfInset): Handle bibkey.
13106 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * BufferView_pimpl.h: change type of Position::par_pos to
13109 LyXParagraph::size_type.
13111 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13113 * BufferView_pimpl.C (savePosition, restorePosition): Write
13114 messages to minibuffer.
13116 2001-01-28 José Matos <jamatos@fep.up.pt>
13118 * buffer.C (makeDocBookFile): adds support for document language.
13119 A silly restriction on the name of LatexCommand types where removed.
13120 Added support for CDATA sections, allows to chars unescaped, used
13121 among others in code, to avoid escape < and >.
13123 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13125 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13126 saved positions instrad of a stack. Furthermore, a position is
13127 stored using paragraph id/paragraph position.
13129 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13130 Remove LFUN_REF_BACK.
13132 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13134 * converter.C (dvipdfm_options): New method.
13136 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13138 * vspace.C (isValidLength): Fix for empty input string.
13140 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13142 * LyXAction.C (init): change description of LFUN_FIGURE to
13145 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13147 * LaTeX.C: add using directive
13149 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13151 * MenuBackend.C (expand): Fix the sorting of the formats.
13153 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13155 * lyx_main.C: tiny error message fix
13157 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13159 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13160 calling fl_initialize(). This fixes the problem with ',' as
13161 decimal separator in text files.
13163 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13165 * trans.C (process): Fix the keymap bug.
13167 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13169 * LaTeX.C (scanAuxFiles): New method. Provides support for
13170 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13171 (scanLogFile) Scan for "run BibTeX" messages.
13173 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13174 OT1 font encoding. Also, load the aecompl package if the ae
13177 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13179 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13181 * texrow.C (increasePos): turn two error messages into debug
13184 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13186 * LaTeX.C (scanAux): Handle the \@input macro.
13187 (runBibTeX): Use scanAux().
13189 * language.C (latex_options_): New field.
13191 * LaTeXFeatures.C (getMacros): Add language macros.
13193 * buffer.C (makeLaTeXFile): Small fix.
13195 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13197 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13199 * text2.C: add a using directive.
13201 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13206 * lyxfunc.C: kill LyXBell.
13208 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13210 * text.C (IsBoundary): Remove the error message
13212 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13214 * lyxrc.C (setDefaults): Correct initialization value for
13217 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13219 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13222 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13223 and GotoNextNote().
13225 * src/LyXAction.C: Added reference-next.
13227 * text.C (InsertChar): Use contains instead of strchr.
13229 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13231 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13233 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13234 alignment commands (when needed).
13236 * text.C (InsertChar): Add ':' to number separator chars.