1 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxserver.C (callback): adjust
5 * lyxfunc.C (getStatus): add a missing brace in commented code
6 (ensureBufferClean): reindent
7 (dispatch): delete version taking a string
9 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * LaTeX.C (deplog): move found file handlig from here...
12 (handleFoundFile): .. to new function here.
13 (deplog): make sure to discover several files mentioned on the
16 2003-10-10 André Pönitz <poenitz@gmx.net>
23 * text3.C: fix some of the tabular crashes
25 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
27 * MenuBackend.C (binding): put debug message into Debug::KBMAP
29 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
31 2003-10-09 André Pönitz <poenitz@gmx.net>
33 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
48 * undo_funcs.C: adjust
50 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
52 * text2.C (incrementItemDepth): new function, use a backtracking
53 algorithm to discover the correct item depth.
54 (resetEnumCounterIfNeeded): new function, use a backtracking
55 algorithm to discover if counter reset is needed.
56 (setCounter): use them. Simplify a bit. Add different labels for
57 different item depths for itemize.
59 * paragraph.C (Paragraph): remove initialization of enumdepth
62 * paragraph.h: get rid of enumdepth, and use itemdepth both for
63 enumerate and itemize. Change the type of itemdepth to signed char.
65 2003-10-08 André Pönitz <poenitz@gmx.net>
67 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
72 * tabular.[Ch]: fix crash after 'row-insert'
74 2003-10-08 Angus Leeming <leeming@lyx.org>
78 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
79 Remove CutAndPaste:: prefix from header file declaration.
81 * LColor.h (fill): remove LColor:: prefix from declaration.
83 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
84 use lyx::depth_type rather than Paragraph::depth_type so that
85 header file and .C file match.
87 * converter.h (intToFormat): remove Converters:: prefix from declaration.
89 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
90 * aspell.C: \file aspell_local.C -> \file aspell.C
91 * gettext.C: \file gettext.C -> \file src/gettext.C
92 * gettext.h: \file gettext.h -> \file src/gettext.h
93 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
94 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
95 * text.C: \file text.C -> \file src/text.C
97 * toc.C: move comment so that doxygen is not confused.
99 2003-10-07 Angus Leeming <leeming@lyx.org>
101 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
103 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
106 * aspell_local.h: add forgotten std::string's.
108 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
115 * text3.C: The Box patch. Fancybox support, minipage, parbox
117 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
123 * ParagraphParameters.h:
133 * lyxtextclasslist.h:
137 * textcursor.h: add <string> and other small fixes to make Lars'
138 std::string patch compile with STLport.
140 2003-10-06 Angus Leeming <leeming@lyx.org>
142 * LColor.h: Add missing #include <string>.
144 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
146 * All most all file in all subdirs: Make <string> be the prefered
147 way of getting to std::string, add using declarations.
149 2003-10-06 André Pönitz <poenitz@gmx.net>
151 * metricsinfo.C: initialize LyXFont before changing attribute.
152 (fixes the 'math in \emph is upright' bug)
154 2003-10-06 André Pönitz <poenitz@gmx.net>
156 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
158 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
161 * paragraph_pimpl.C: Small fixes to build using STLport
163 2003-10-02 André Pönitz <poenitz@gmx.net>
166 * text3.C: move handling of LFUN_DEPTH *; fix #1360
168 2003-10-01 André Pönitz <poenitz@gmx.net>
170 * factory.C: assert early
172 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
174 * lyx_main.C: remove the global debug object
176 * debug.h: adjust for new debugstream
178 * debug.C: adjust for new debugstream and keep the global debug
181 2003-09-22 Angus Leeming <leeming@lyx.org>
183 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
184 of g++ which otherwise complain that the scoped_ptr destructor can't delete
185 an incomplete class LyXFont.
187 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
189 * factory.C: bug fix in branches
191 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * lyxfunc.C (processKeySym): adjust
195 (dispatch): change arg name from ev to func, adjust
196 (sendDispatchMessage): ditto
198 * lyx_main.C (defaultKeyBindings): adjust keybindings
199 (deadKeyBindings): ditto
201 * kbsequence.C (addkey): return a FuncRequest
203 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
205 * kbmap.C (bind): take a FuncRequest as arg, adjust
208 (defkey): change to take a FuncRequest as arg, adjust
209 (findbinding): take a FuncRequest as arg, adjust.
211 * funcrequest.h (operator=): added
213 * funcrequest.C (FuncRequest): default kb_action changed from
214 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
216 * buffer.C (dispatch): simplify
217 (dispatch): adjust to take a FuncRequest as arg, adjust
219 * boost.C (assertion_failed): change assertion message slightly
221 * ToolbarBackend.C (read): simplify
223 * MenuBackend.C (binding): adjust call to findbinding, add a
224 message if no binding is found.
226 (expandToc): correct by adding a empty FuncRequest
228 * LyXAction.C: include <boost/assert.hpp>
229 (isPseudoAction): delete function
230 (LookupFunc): change name to...
231 (lookupFunc): this. change return type to FuncRequest.
232 (getActionName): take kb_action as arg, simplify
233 (funcHasFlag): add an assert, simplify.
235 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
237 * toc.C (action): return a FuncRequest, simplify
239 * lyxfunc.C (processKeySym): adjust
240 (getStatus): delete version that takes an int.
242 (dispatch): delete version that takes action as int
244 (sendDispatchMessage): simplify and adjust
246 * funcrequest.C (getArg): take unsigned int as arg
248 * ToolbarBackend.C (read): adjust
249 (add): delete version that takes func as a string.
250 (getIton): take a FuncRequest as arg
252 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
255 * MenuBackend.C (MenuItem): add a new construct that only takes a
256 Kind, simplify the constructor use for submenus.
258 (expandLastfiles): adjust
259 (expandDocuments): adjust
260 (expandFormats): adjust
261 (expandFloatListInsert): adjust
262 (expandFloatInsert): adjust
263 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
265 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
266 Remove class variables lyx_pseudo_map and lyx_arg_map
268 * LyXAction.C (searchActionArg): delete function
269 (getPseudoAction): delete function
270 (retrieveActionArg): delete function
271 (LookupFunc): make it return kb_action, simplify.
272 (getActionName): simplify
274 * factory.C (createInset): fix new bug
276 2003-09-19 Angus Leeming <leeming@lyx.org>
278 * CutAndPaste.C (pasteSelection): remove fudge used to set the
279 masterFilename_ parameter in the include inset.
281 * factory.C (createInset): changes due to the changes to InsetInclude.
283 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
285 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
287 2003-09-18 Angus Leeming <leeming@lyx.org>
290 * BufferView.C: pass the buffer when calling Inset::getLabelList,
291 Inset::fillWithBibKeys.
292 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
294 2003-09-18 Angus Leeming <leeming@lyx.org>
296 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
298 (ctor): pass and store a 'Buffer const &'
299 (buffer): new member function.
301 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
302 '*this' to the LaTeXFeatures ctor.
304 2003-09-18 Angus Leeming <leeming@lyx.org>
310 * text.C: rename EnumLColor as LColor_color.
312 2003-09-18 Angus Leeming <leeming@lyx.org>
314 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
315 remove #include "insets/insetbase.h" from cursor.h.
317 2003-09-18 Angus Leeming <leeming@lyx.org>
319 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
320 InsetOld_code to remove #include "inset.h".
322 * iterators.C: add #include "insets/inset.h"
324 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
326 * BufferView.C: remove more locking stuff that apparently doesn't
327 do anything sensible.
329 2003-09-16 André Pönitz <poenitz@gmx.net>
332 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
335 2003-09-16 Angus Leeming <leeming@lyx.org>
337 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
339 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
342 * paragraph.h: remove #include "lyxfont.h". Forward declare
345 2003-09-16 Angus Leeming <leeming@lyx.org>
347 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
348 of support/textutils.h.
349 (isWord): move the contents of support/textutils.h's IsWordChar here.
355 * text2.C: add #include "paragraph.h".
358 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
360 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * LaTeX.C: use namespace alias for lyx::support::os
368 2003-09-16 Angus Leeming <leeming@lyx.org>
371 * bufferview_funcs.C:
376 * text.C: add #include "LColor.h".
378 2003-09-16 Angus Leeming <leeming@lyx.org>
380 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
381 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
383 Store the FontBits::color variable as an int rather than as an
384 LColor::colorso that we can move LColor.h out of the lyxfont.h header
387 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
388 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
389 string calls together.
391 * lyxrc.C: add #include "LColor.h".
393 2003-09-15 Angus Leeming <leeming@lyx.org>
395 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
398 2003-09-15 Angus Leeming <leeming@lyx.org>
400 * LColor.h: add an EnumLColor wrapper for LColor::color.
402 * lyxfont.[Ch] (color, setColor, realColor):
403 * lyxtext.h, text.C (backgroundColor):
404 pass EnumLColor args to/from the functions, rather than LColor::color
408 * lyxtext.h: forward declare EnumLColor.
410 * lyx_main.C: add #include "LColor.h".
412 2003-09-15 Angus Leeming <leeming@lyx.org>
414 * .cvsignore: add lyx-gtk.
416 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * ParagraphParameters.C
435 * vc-backend.C: remove usage of STRCONV
437 2003-09-15 Angus Leeming <leeming@lyx.org>
439 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
440 explicitly define the color passed to the painter.
442 2003-09-15 Angus Leeming <leeming@lyx.org>
444 * bufferparams.C (BufferParams): reorder member initializers to avoid
447 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
449 * CutAndPaste.C (pasteSelection): remove an outdated #warning
450 * text.C (updateRowPositions): remove an unusual nop
452 2003-09-12 André Pönitz <poenitz@gmx.net>
454 * BufferView_pimpl.C:
463 * Counters.[Ch]: finish the 'automatic counters' job
465 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
467 * aspell.C: include <boost/assert.cpp> (compile fix)
469 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
471 * boost.C (assertion_failed): use lyx::support::abort instead of
474 2003-09-10 Angus Leeming <leeming@lyx.org>
476 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
477 with their _fwd progeny.
479 2003-09-09 Angus Leeming <leeming@lyx.org>
481 134 files throughtout the source tree: replace 'using namespace abc;'
482 directives with the appropriate 'using abc::xyz;' declarations.
484 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
486 * boost.C (emergencyCleanup): moved here from LAssert.c
487 (assertion_failed): new function, called by BOOST_ASSERT
489 * several files: change Assert to BOOST_ASSERT
491 2003-09-09 Angus Leeming <leeming@lyx.org>
493 * buffer.[Ch]: Add an Impl class and move Buffer's member
494 variables into it. As a result move several header files out of
497 Add header files to lots of .C files all over the tree as a result.
499 2003-09-09 Angus Leeming <leeming@lyx.org>
501 * buffer.[Ch]: make Buffer's member variables private. Add
504 Lots of changes all over the tree as a result.
506 2003-09-08 Angus Leeming <leeming@lyx.org>
508 * graph.C: #include <config.h>.
510 2003-09-08 Angus Leeming <leeming@lyx.org>
514 * BufferView_pimpl.C:
543 * toc.C: remove redundant using directives.
545 2003-09-07 Angus Leeming <leeming@lyx.org>
547 * LaTeXFeatures.h: remove #include "support/types.h".
548 * ToolbarBackend.h: remove #include <algorithm>.
549 * changes.h: remove #include <ctime>.
550 * debug.h: remove #include <iosfwd>.
551 * graph.h: remove #include "support/std_string.h".
552 * lyx_main.h: remove #include <csignal>.
553 * lyxlex_pimpl.h: remove #include <fstream>.
554 * sgml.h: remove #include <algorithm>, <utility>.
555 * toc.h: remove #include "support/std_ostream.h".
556 Add #include <iosfwd>.
558 2003-09-07 Angus Leeming <leeming@lyx.org>
560 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
562 * converter.h: forward declare LatexRunParams.
563 * encoding.h: remove #include "lyxrc.h".
564 * lyxtext.h: remove #include "LColor.h".
565 * lyxtextclass.h: remove #include "support/types.h".
566 * trans.h: remove #include "tex-accent.h".
567 * trans_mgr.h: remove #include "tex-accent.h".
568 * insets/inset.h: remove #include "support/types.h", <vector>.
569 * insets/insetcollapsable.h: remove #include "LColor.h".
570 * insets/insetinclude.h: remove #include "dimension.h".
571 * insets/insetlatexaccent.h: remove #include "dimension.h".
572 * insets/insetoptarg.h:: remove #include "insettext.h".
573 * insets/insettext.h: remove #include "dimension.h",
574 <boost/shared_ptr.hpp>
576 * insets/renderers.h: add #include "dimension.h".
577 * insets/updatableinset.h: add #include "support/types.h".
579 * many .C files: Associated changes.
581 2003-09-06 Angus Leeming <leeming@lyx.org>
583 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
584 one, inside testInvariant.
586 * PrinterParams.C: new file.
587 * PrinterParams.[Ch]: move the function bodies out of line.
589 2003-09-06 Angus Leeming <leeming@lyx.org>
591 * ParagraphParameters.h: forward declare ParameterStruct rather than
592 including its header file.
593 (depth): moved out-of-line.
595 2003-09-06 Angus Leeming <leeming@lyx.org>
597 * BufferView_pimpl.h:
600 * lyxfunc.h: forward declare LyXKeySym rather than
601 #include "frontends/LyXKeySym.h".
603 * BufferView_pimpl.C:
606 * lyxfunc.C: associated changes.
608 2003-09-06 Angus Leeming <leeming@lyx.org>
610 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
611 As a result, can remove the #include "insets/inset.h" from BufferView.h
613 2003-09-06 Angus Leeming <leeming@lyx.org>
615 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
616 As a result, can remove the #include "insets/inset.h" from BufferView.h
618 2003-09-06 Angus Leeming <leeming@lyx.org>
624 * bufferview_funcs.C:
625 * BufferView_pimpl.C:
630 * ParagraphParameters.C:
635 * frontends/controllers/ControlDocument.C:
636 * insets/insetcaption.C: rearrange the #includes into some sort of
639 * buffer.h: remove #includes ErrorList.h, undo.h
641 2003-09-06 Angus Leeming <leeming@lyx.org>
643 * support/types.h: add a 'depth_type' typedef, used to store the
644 nesting depth of a paragraph.
647 * ParameterStruct.h: use this lyx::depth_type typedef rather than
652 * ParagraphParameters.h:
653 * sgml.h: use lyx::depth_type rather than Paragraph or
654 ParameterStruct's depth_type.
657 * paragraph_funcs.h: no need to #include paragraph.h anymore.
660 * BufferView_pimpl.C:
662 * ParagraphParameters.C:
665 * bufferview_funcs.C:
672 * frontends/LyXView.C:
673 * frontends/controllers/ControlDocument.C:
674 * frontends/controllers/ControlErrorList.C:
675 * insets/insetbibitem.C:
676 * insets/insetbranch.C:
677 * insets/insetcaption.C:
678 * insets/insetcollapsable.C:
681 * insets/insetfloat.C:
682 * insets/insetfoot.C:
683 * insets/insetfootlike.C:
684 * insets/insetnewline.C:
685 * insets/insetquotes.C:
686 * insets/insettabular.C:
687 * insets/insettext.C:
688 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
690 * frontends/controllers/ControlChanges.C: #include "changes.h".
692 2003-09-06 Angus Leeming <leeming@lyx.org>
694 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
695 than #including paragraph.h.
698 * RowList.h: deleted. Superfluous.
708 * insets/insettext.h: use ParagraphList_fwd.h rather than
711 * paragraph.h: don't forward declare ParagraphList.
714 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
715 rather than ParagraphList.h. paragraph.h is still needed for the
716 Paragraph::depth_type parameters.
718 * textcursor.h: enable it to compile stand-alone in light of the
721 * bufferview_funcs.C:
733 * frontends/controllers/ControlParagraph.C:
734 * frontends/controllers/ControlTabular.C:
735 * insets/insetmarginal.C:
736 * insets/insetminipage.C:
737 * insets/insetnote.C:
738 * insets/insetoptarg.C: add header files needed to compile again.
740 2003-09-06 Angus Leeming <leeming@lyx.org>
742 * RowList_fwd.h: new file, forward-declaring Row rather than
748 * insets/insettext.h: use it instead of RowList.h
750 * bufferview_funcs.C:
757 * text3.C: #include "RowList.h".
759 2003-09-05 Angus Leeming <leeming@lyx.org>
761 * factory.C (createInset):
762 * vspace.C (c-tor): replace sscanf call with an istringstream.
763 * ispell.C: re-add missing HP/UX headers.
764 * lyxserver.C: re-add missing os2 headers.
766 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
775 * text3.C: re-add missing system headers, needed for 2.95.2.
777 2003-09-05 Angus Leeming <leeming@lyx.org>
779 Changes most place everywhere due to the removal of using directives
780 from support/std_sstream.h.
782 2003-09-05 Angus Leeming <leeming@lyx.org>
784 Replace LString.h with support/std_string.h,
785 Lsstream.h with support/std_sstream.h,
786 support/LIstream.h with support/std_istream.h,
787 support/LOstream.h with support/std_ostream.h.
789 Changes resulting throughout the tree.
791 2003-09-05 Angus Leeming <leeming@lyx.org>
793 * sgml.h: ensure that the header file can be compiled stand-alone.
794 * *.C: strip out redundant #includes. (320 in total.)
796 2003-09-04 Angus Leeming <leeming@lyx.org>
798 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
799 here (from getPackages).
801 * debug.[Ch]: add a new EXTERNAL tag.
803 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
805 * text2.C (cursorEnd): simplify
807 (getColumnNearX): adjust
809 * text.C (computeBidiTables): adjust
812 * rowpainter.C (paintChars): adjust
813 (paintSelection): adjust
814 (paintChangeBar): adjust
817 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
819 (numberOfSeparators): adjust
821 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
827 * text3.C: Restricts the mouse click functionality
828 of insets like bibtex, include, toc and floatlist to the visible
829 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
830 up the dialogs. Cursor has to be in front of the inset (i.e.
831 start of row) for this to function.
833 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
835 * bufferview_funcs.C (currentState): output row information
837 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
839 * bufferview_funcs.C (currentState): output paragraph position
841 2003-09-04 Angus Leeming <leeming@lyx.org>
843 * FloatList.h: move out #include "Floating.h".
844 * LaTeX.h: move out #include "DepTable.h".
845 * LyXAction.h: move out #include "funcrequest.h".
846 * buffer.h: move out #include "author.h", "iterators.h".
847 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
848 * lyx_main.h: move out #include "errorlist.h".
849 * lyxfunc.h: move out #include "FuncStatus.h".
850 * lyxtext: move out #include "lyxcursor.h".
851 * paragraph_pimpl.h: move out #include "counters.h".
853 2003-09-03 Angus Leeming <leeming@lyx.org>
855 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
856 preamble_snippets list, enabling us to add snippets to the preamble
857 only if the snippet was not there already.
859 2003-09-04 Angus Leeming <leeming@lyx.org>
861 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
863 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
865 * lyxfunc.C (dispatch): if fitCursor did something be sure to
868 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
870 * BranchList.C: point fix, earlier forgotten
872 2003-09-02 Angus Leeming <leeming@lyx.org>
874 * box.C (contains): renamed from 'contained' after a fantastic
877 2003-09-02 John Levon <levon@movementarian.org>
883 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
885 2003-09-02 John Levon <levon@movementarian.org>
887 * text2.C: simplification of cursorEnd(), including partial
890 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * buffer.C (readFile): add a space
894 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
896 * BufferView_pimpl.C (update): remove bogus fitCursor() call
898 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
900 * buffer.C (readFile): new function, take a filename and a
901 ParagraphList::iterator
903 (readFile): adjust, make it private. don't use setStream, make
904 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
905 always contain the filename.
907 * BufferView.C (insertLyXFile): simplify and make it work for
910 2003-08-30 John Levon <levon@movementarian.org>
912 * Makefile.am: fix dist (from Kayvan)
914 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * most files: change to use const Buffer refs
918 2003-08-27 André Pönitz <poenitz@gmx.net>
920 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
921 on top of ownerPar().
923 2003-08-27 John Levon <levon@movementarian.org>
925 * funcrequest.C: properly initialise POD members
927 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
929 * lyxtext.h (top_y): move top_y from here
934 * BufferView_pimpl.[Ch]: to here
935 * frontends/screen.C:
936 * insets/insettabular.C:
937 * insets/insettext.C: adjust
938 * rowpainter.[Ch] (paintRows): remove LyXText & argument
940 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
943 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
945 2003-08-26 André Pönitz <poenitz@gmx.net>
947 * paragraph_func.[Ch] (outerPar): new function
953 * text2.C: remove Inset::par_owner
955 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
960 * text2.C: eliminates the needFullRow/display() stuff
961 altogether, putting the logic in metrics/draw in the insets.
963 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
965 * text2.C (redoParagraphInternal, redoParagraphs):
966 * text.C (redoParagraph): add a call to updateRowPositions at the
967 end of each 'metrics-like' call. Remove all others.
968 (getRow): remove the 'y-computing' version.
969 (getRowNearY): do not compute nor return the real y. Solve the
970 'y < 0' problem and simplify.
972 2003-08-22 Angus Leeming <leeming@lyx.org>
974 * *.[Ch]: clean-up of licence and author blurbs.
975 Also move config.h out of a few .h files and into a few .C files.
977 2003-08-22 André Pönitz <poenitz@gmx.net>
979 * lyxrow.[Ch]: add x_ and *fill_ members
984 * text2.C: adjust/remove prepareToPrint() calls
986 2003-08-22 André Pönitz <poenitz@gmx.net>
988 * lyxrow.[Ch]: add end_ member
990 * lyxrow_funcs.C: use LyXRow::end_
992 * lyxtext.h (singleWidth): add LyXFont parameter
995 * text2.C: adjust LyXText::singleWidth() calls
997 * text.C (redoParagraph): simplify row breaking logic
1000 2003-08-19 André Pönitz <poenitz@gmx.net>
1002 * funcrequest.C: initialize button_ member
1005 * rowpainter.[Ch]: interface consolidation
1007 2003-08-18 André Pönitz <poenitz@gmx.net>
1010 * BufferView_pimpl.C:
1012 * paragraph_funcs.C:
1014 * text3.C: remove LyXScreen::draw() and fitCursor calls
1016 * BranchList.h: remove spurious semicolons
1018 * MenuBackend.C: fix branchlist related crash
1020 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1028 * bufferparams.[Ch]:
1032 * text3.C: implements the 'branch inset'
1033 idea. This allows the output of various versions of a document
1034 from a single source version, selectively outputing or suppressing
1035 output of parts of the text.
1036 This implementation contains a 'branch list editor' in a separate
1037 tab of the document settings dialog. Branches are user definable
1038 and have a "display colour" to distinguish them on-screen.
1040 ColorHandler was somewhat cleaned up.
1041 (1) make possible a dynamically growing LColor list by allowing
1042 the graphic context cache to grow along (vector);
1043 (2) eliminate an IMHO unnecessary step in colour allocation.
1045 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1047 * BufferView_pimpl.C: compile fix
1049 2003-08-15 André Pönitz <poenitz@gmx.net>
1051 * rowpainter.C: remove extra metrics calls
1053 * lyxtext.h: merge the two constructors into a single one,
1054 pass reference to owner's par list
1056 * BufferView_pimpl.C:
1060 2003-08-15 André Pönitz <poenitz@gmx.net>
1062 * lyxrow_funcs.[Ch]:
1065 * paragraph_funcs.C:
1070 * text_funcs.C: split LyXText::rowlist_ into individual
1071 Paragraph::rows_ chunks
1074 * BufferView_pimpl.[Ch]:
1077 * text3.C: remove toggleSelection()
1079 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1081 * bufferlist.C: beautify two alerts (shorter text of buttons)
1082 * buffer.C: Remove redundant ' ' from message
1084 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1085 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1086 rename VALIGN_CENTER to VALIGN_MIDDLE
1088 2003-08-11 André Pönitz <poenitz@gmx.net>
1090 * lyxtext.h (getPar):
1091 * text.C: new function
1093 2003-08-11 André Pönitz <poenitz@gmx.net>
1096 * tracer.[Ch]: remove unneeded files
1098 * InsetList.[Ch]: remove resizeInsetsLyXText()
1103 * text3.C: merge insertParagraphs() and appendParagraph()
1104 remove breakAgain(), update()
1106 * BufferView_pimpl.[Ch]:
1107 * bufferview_funcs.[Ch]:
1111 * tabular.C: adjust after text & InsetList changes.
1113 2003-08-08 André Pönitz <poenitz@gmx.net>
1115 * text.C (insertChar, backspace): replace rowlist fiddling
1116 with rebreak of full par
1119 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1120 checkParagraph, updateInset): removed
1122 2003-08-07 André Pönitz <poenitz@gmx.net>
1125 * text3.C: merge some LFUN handlers, remove dead code
1127 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1129 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1131 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1133 * text2.C (DEPM): fix part of bug 1255 and 1256
1135 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * BufferView_pimpl.C (workAreaDispatch): change to use
1138 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1139 that are no mouse related.
1141 2003-08-05 André Pönitz <poenitz@gmx.net>
1144 * BufferView_pimpl.[Ch]:
1145 * bufferview_funcs.C:
1147 * text3.C: rip out "deep update"
1149 * textcursor.[Ch] (last_sel_cursor): remove unused member
1151 2003-08-04 André Pönitz <poenitz@gmx.net>
1154 * BufferView_pimpl.[Ch]:
1155 * ParagraphParameters.C:
1156 * bufferview_funcs.C:
1162 * text3.C: replace "complicated" BufferView::update(...) calls with
1165 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1167 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1169 * Makefile.am (lyx_SOURCES): add paper.h
1171 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1173 * Makefile.am: move things around so that both lyx-qt and
1174 lyx-xforms can be built (according to --with-frontend). Then lyx
1175 is a symbolic link to lyx-[firstfrontend]
1177 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1179 * Always use std::endl with lyxerr
1181 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1183 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1185 2003-08-01 André Pönitz <poenitz@gmx.net>
1188 * BufferView_pimpl.[Ch]:
1190 * text3.C: merge BufferView::repaint() and BufferView::update()
1192 2003-08-01 José Matos <jamatos@lyx.org>
1194 * buffer.[Ch]: file_format is no longer a buffer data element.
1196 2003-08-01 André Pönitz <poenitz@gmx.net>
1201 * text2.C: make redoParagraph more independent of current cursor
1203 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1205 * text2.C: remove unneeded members
1207 2003-07-30 André Pönitz <poenitz@gmx.net>
1209 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1211 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1212 create a single function...
1214 * paragraph_funcs.C (moveItem): ... here.
1217 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1219 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1221 * LColor.[Ch]: Add comment and greyedout logical colors.
1223 2003-07-30 André Pönitz <poenitz@gmx.net>
1225 * tabular.C: don't use Assert too heavily. This crashes where it
1228 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1230 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1231 is disabled (bug 1232)
1233 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1235 * factory.C: limited 'arg' scope
1237 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1239 * factory.C: fixed Note submenu issues
1241 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1243 * factory.C: submenu for Note/Comment/Greyedout
1245 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1248 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1250 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1253 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1254 greyedout. Patch provided by Jürgen Spitzmüller.
1256 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1258 * kbmap.C (read): fix error message when reading bind files
1260 2003-07-29 Angus Leeming <leeming@lyx.org>
1262 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1263 certainly does not do what it purports to do. I am doing it, and
1264 us, a favour by killing it.
1266 2003-07-28 José Matos <jamatos@lyx.org>
1268 * buffer.C (readBody, do_writeFile):
1269 * paragraph.C(readParagraph): \end_document replaces \the_end.
1271 2003-07-29 André Pönitz <poenitz@gmx.net>
1274 * BufferView_pimpl.[Ch]:
1278 * textcursor.[Ch]: remove toggleToggle & Co
1280 2003-07-28 José Matos <jamatos@fep.up.pt>
1282 * buffer.C (readParagraph):
1283 * params_func (readParToken, readParagraph):
1284 * paragraph.C (write): \layout -> \begin_layout.
1286 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * lyxlex_pimpl.C (setFile): clean up slightly.
1290 * bufferparams.h: add compressed var
1292 * buffer_funcs.C (readFile): adjust for LyXLex change
1293 (newFile): ditto + simplify
1295 * buffer.C (writeFile): handle writing of compressed files
1297 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1298 Check if the file is compressed and set a bufferparm if so.
1300 * Makefile.am (lyx_LDADD): remove explicit -lz
1302 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1305 makeDocBookFile): put the real LyX version in the first line of
1309 * version.C.in: remove lyx_docversion
1311 * tabular.C (write_attribute): add a template-based version to
1312 write enums properly
1314 2003-07-28 André Pönitz <poenitz@gmx.net>
1319 * text3.C: use doubles again for x-coordinates. They are needed.
1321 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1323 * messages.C (getLocaleDir): use lyx_localedir()
1325 * lyxlex_pimpl.C (setFile): compress stuff
1327 * buffer.C (writeFile): add some compression stuff
1328 (do_writeFile): new func, dont call expliti close... will this
1331 * Makefile.am (lyx_LDADD): add -lz
1333 2003-07-28 José Matos <jamatos@fep.up.pt>
1335 * buffer.C: increment file format.
1336 * paragraph_funcs (readParagraph, readParToken):
1337 * paragraph.C (readParagraph): add \end_layout.
1339 2003-07-27 Angus Leeming <leeming@lyx.org>
1341 * Makefile.am: remove special casing for configure-time setting of
1342 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1344 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1345 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1347 2003-07-26 André Pönitz <poenitz@gmx.net>
1349 * paragraph_func.[Ch]:
1350 * paragraph.C (realizeFont): inline it whereever it is used
1355 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1358 2003-07-26 André Pönitz <poenitz@gmx.net>
1362 * text2.C: get rid of LyXText::need_break_row
1364 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * toc.[Ch]: put namespace toc inside namespace lyx
1368 * MenuBackend.C (expandToc2): adjust for lyx::toc
1371 * lyxfunc.C (dispatch): adjust for lyx::find
1373 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1374 lyx::find instead. Reorganize a bit.
1375 (LyXReplace): rename to replace
1376 (LyXFind): rename to find
1378 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1381 2003-07-26 André Pönitz <poenitz@gmx.net>
1383 * text.C (setHeightOfRow): restrict scope of temporary variable
1385 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1386 code (never has been used?)
1388 2003-07-27 Asger Alstrup <alstrup@local>
1390 * text.C (fill): Optimise algorithm to exploit that we can reuse
1391 the LyXFont for many characters.
1392 (setHeightOfRow): Same thing.
1393 (rowBreakPoint): Same thing.
1395 2003-07-26 Asger Alstrup <alstrup@local>
1397 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1399 * text.C (singleWidth): Spurious font copying in hot-spot
1400 singleWidth avoided. Reorder tests for arabic for efficiency.
1402 * text.C (fill): handle empty paragraphs better.
1404 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1407 * encoding.h: add includes
1409 * lyxrc.C: remove reading of bind files
1411 * lyx_main.C (init): setup bindings and menus only if we have a
1414 * kbmap.C (read): new method. Do the actual reading of bind
1417 * converter.C (dvipdfm_options):
1420 (output): adapt PAPER_* enums.
1422 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1424 * bufferparams.h: remove paper-related enums from there
1426 * paper.h: New file. A trivial header file to hold paper-related
1427 enums. It should later expand to contain many paper-related
1430 * lyxrc.C: declare extern displayTranslator
1432 2003-07-27 José Matos <jamatos@fep.up.pt>
1434 * tabular.[Ch] (linuxdoc): add support for tables and figures
1437 2003-07-27 José Matos <jamatos@fep.up.pt>
1439 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1440 consistency in both functions.
1441 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1443 2003-07-26 Asger Alstrup <alstrup@local>
1445 * rowpainter.C (paintRows): Change algorithm to work directly on
1446 the insets rather than asking every character in the document
1447 whether its an inset.
1449 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1451 * buffer.C (openFileWrite): factorize some code
1453 2003-07-26 Angus Leeming <leeming@lyx.org>
1456 * lyx_main.[Ch]: replace occurances of system_tempdir with
1459 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * rename Inset to InsetOld
1463 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1465 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1466 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1467 which I think is a bit clearer. EDIT is gone, since it was
1468 premature optimisation, and broken for mathed anyway.
1469 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1470 with cursor positioning in insets as well (math insets still do not
1471 work, but that's a different story anyway.) It mysteriously
1472 crashes sometimes with undo in the first paragraph, but I'm fairly
1473 confident that this is a compiler bug.
1475 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1477 * paragraph.C (Paragraph): adjust for new clone return type
1479 (copyIntoMinibuffer): ditto
1481 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1483 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1484 by not having a special case, and always doing a full rebreak of
1485 the document after undo.
1487 2003-07-23 Angus Leeming <leeming@lyx.org>
1489 * factory.C (createInset): InsetExternal::setParams now takes a
1492 2003-07-23 Angus Leeming <leeming@lyx.org>
1494 * factory.C (createInset): changed interface to the external and
1495 graphics mailers' string2params functions.
1497 2003-07-23 Angus Leeming <leeming@lyx.org>
1499 * factory.C (createInset): pass a
1500 Buffer const * parameter to InsetExternalMailer's string2params.
1502 2003-07-22 John Levon <levon@movementarian.org>
1504 * Thesaurus.h: include the right aiksaurus header
1506 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * MenuBackend.C (expand): check menu shortcuts unconditionally
1510 2003-07-21 Angus Leeming <leeming@lyx.org>
1512 * factory.C (createInset): pass a
1513 buffer_path parameter to InsetGraphicsMailer's string2params.
1515 2003-07-21 Angus Leeming <leeming@lyx.org>
1517 * BufferView_pimpl.C (buffer):
1520 * lyxfunc.C (dispatch):
1521 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1522 rather than the grfx shortcut.
1524 2003-07-21 André Pönitz <poenitz@gmx.net>
1526 * rowpainter.C: remove unused variables
1529 * tabular_funcs.h: move to tabular.C
1530 * Makefile.am: adjust
1532 * tabular.[Ch]: basic optical cleaning
1534 * author.h: pass references, not values
1536 2003-07-18 André Pönitz <poenitz@gmx.net>
1544 * text3.C: two-phase drawing for InsetText and InsetTabular
1545 some float -> int changes.
1547 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1549 * lyx_main.C: fix the fix
1551 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1553 * lyx_main.C: fix a crash in batch mode if no files specified
1556 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1558 * format.[Ch] (papersize): moved to BufferParams
1559 * converter.[Ch] (dvips_options): moved to BufferParams
1560 (dvipdfm_options): moved to anon namespace
1561 * bufferparams.[Ch]: added above functions.
1563 2003-07-17 André Pönitz <poenitz@gmx.net>
1567 * text2.C: don't call inset->update() anymore
1569 * metricsinfo.[Ch]: add convenience constructor
1571 2003-07-16 André Pönitz <poenitz@gmx.net>
1576 * text2.C: replace the LyXCursor::irow_ member with
1577 on-demand computation of the value
1579 2003-07-16 John Levon <levon@movementarian.org>
1581 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1583 2003-07-15 André Pönitz <poenitz@gmx.net>
1586 * text2.C: remove no more needed refresh_row
1588 2003-07-15 André Pönitz <poenitz@gmx.net>
1593 * text3.C: refresh_status tristate -> need_update bool
1595 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1597 * lyxtext.h (init): remove reinit argument (act as if always true)
1598 * text2.C: adjust to that
1600 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1602 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1603 * text3.C: use it to delete selections in some cases
1604 (bugs 441, 673, 702, 954).
1606 2003-07-14 André Pönitz <poenitz@gmx.net>
1608 * rowpainter.[Ch]: reduce interface
1610 2003-07-14 André Pönitz <poenitz@gmx.net>
1612 * BufferView_pimpl.C:
1613 * text2.C: adjust after removing unused BufferView * argument
1615 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1617 * text2.C (init): fix a crash fired on resize
1619 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1621 * buffer.[Ch]: added new closing signal
1622 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1623 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1624 BufferView::Pimpl via the closing the signal
1626 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1628 * buffer.[Ch]: take out all bv-related from buffer
1630 * BufferView_pimpl.[Ch]: connect to new signals
1631 * CutAndPaste.C: removed useless asserts
1632 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1635 * lyxfunc.C: moved view-related funciontality from vc here
1636 * paragraph.C: removed outdated comments
1639 2003-07-10 André Pönitz <poenitz@gmx.net>
1641 * BufferView_pimpl.C:
1645 * text2.C: remove InsetText::InnerCache, clean up consequences
1647 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1649 * ispell.C: fix two typos in error messages
1651 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1653 * Extend Note inset to other forms of annotation like Comment
1654 and Greyedout. Right button click gives dialog.
1656 Files modified or added (+):
1660 * ControlNote.[Ch] +
1662 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1663 frontends/controllers
1667 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1669 * aspell.C: add missing namespace lyx::support
1671 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1673 * BufferView.[Ch] (newFile): Add
1674 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1675 * LaTeX.[Ch] (message): added this signal and use it
1676 * buffer.[Ch] (busy, message): added these signals and use them
1677 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1681 * importer.C: use buffer signals instead of direct bv calling
1682 * lyx_cb.[Ch] (ShowMessage): removed
1685 * paragraph_funcs.C:
1686 * text2.C: use buffer signals
1688 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1690 * introduce namespace lyx::graphics
1692 2003-07-02 André Pönitz <poenitz@gmx.net>
1694 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1696 2003-07-01 André Pönitz <poenitz@gmx.net>
1703 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1704 text*.C to text_func.C
1706 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1708 * introduce namespace lyx::support
1710 2003-06-30 André Pönitz <poenitz@gmx.net>
1715 * text.C: re-enable --with-included-string
1717 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * textcursor.C: add <config.h>
1721 * text.C (getWord): remove const from word_location arg
1723 * lyxvc.C (getLogFile): fix const type order
1725 * lyxtext.h: remove const from word_location arg, add arg name
1727 * lyxlayout.h: currect type on labeltype.
1729 * importer.C: correct \file
1731 * converter.C (intToFormat): use std:: on ret val, ws changes
1733 * bufferlist.h: correct \file
1735 * buffer.C (makeLinuxDocFile): fix const type order
1736 (makeDocBookFile): ditto
1737 (fillWithBibKeys): use std:: on stdlib args.
1739 * CutAndPaste.C: fix authors.
1740 (availableSelections): use std:: on return vector
1742 2003-06-27 André Pönitz <poenitz@gmx.net>
1744 * BufferView_pimpl.C:
1745 * bufferview_funcs.C:
1753 * text3.C: remove LyXCursor::row_ member
1756 * text.C: rename fullRebreak() to partialRebreak() and implement
1757 a fullRebreak() that really bereks fully
1759 * textcursor.h: new struct for cursor-related data
1761 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1763 * lyx_main.C (LyX): get full path of document loaded on the
1766 2003-06-26 André Pönitz <poenitz@gmx.net>
1768 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1769 remove unused/broken operator>,<,>=.
1771 * text.C: remove only use of broken operator<= in an Assert().
1773 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1775 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1776 moved errorlist_.clear to showErrorList
1778 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1780 * converter.C (scanLog, runLaTeX):
1781 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1782 move the bv->showErrorList call to the callers
1783 * lyxfunc.C: i.e. here...
1785 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1786 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1787 namespace, the second to...
1788 * buffer_funcs (BufferFormat, parseErrors): added
1789 * errorlist.C (ErrorList(TeXErrors const &)): removed
1791 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1793 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1795 2003-06-24 "Garst R. Reese" <reese@isn.net>
1799 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1801 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1803 * version.C.in: change docversion to 1.4
1805 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1807 * buffer.C: fix a bug just introduced
1809 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1811 * buffer.[Ch]: added the parseError signal and use it, removed
1813 * BufferView.[Ch] (addError): moved to ...
1814 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1815 to the Buffer::parseError signal to catch (guess what) parse errors
1816 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1818 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1820 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1821 ability to create a buffer and to return an existing one from
1822 the list. Moved these functions to...
1823 * buffer_funcs.[Ch]: added
1824 * BufferView.[Ch] (loadLyXFile): added
1825 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1826 job removed from bufferlist::loadLyXFile.
1827 * buffer.C (setReadOnly): make it work without view
1828 (i.e added an if (users))
1830 2003-06-19 Angus Leeming <leeming@lyx.org>
1833 * LyXAction.C (init):
1834 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1835 with LFUN_DIALOG_SHOW <name> <data>.
1837 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * CutAndPaste.C (availableSelections): small compilation fix for
1840 ancient (gcc 2.9x) compilers
1842 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1844 * text3.C (cursorNext): add tmp var
1846 * text2.C (updateCounters): for function calling out of for clause
1847 (replaceSelectionWithString): ditto
1848 (insertStringAsParagraphs): ditto
1849 (getColumnNearX): add tmp var
1850 (setCursorFromCoordinates): add tmp var
1851 (cursorDownParagraph): add tmp var
1852 (deleteEmptyParagraphMechanism): add tmp var
1854 * text.C (insertChar): add tmp var
1856 * rowpainter.C (paintDepthBar): add tmp var
1858 * CutAndPaste.C (availableSelections): potentially check all
1859 paragraphs in a cut to fill the shown strings.
1861 2003-06-18 André Pönitz <poenitz@gmx.net>
1863 * kbmap.[Ch]: use vector<> instead of list<>
1865 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1867 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1868 pasteSelection with index
1870 * text2.C (pasteSelection): modify, call pasteSelection with index
1872 * paragraph.C (asString): reimplement version with no interval to
1873 call the one with interval.
1875 * lyxtext.h: add index arg to pasteSelection
1877 * MenuBackend.C (MenuItem): handle PasteRecent
1878 (Menu::read::Menutags): add md_pasterecent
1880 (expandPasteRecent): new function
1883 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1885 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1887 (availableSelections): new function
1889 2003-06-17 Angus Leeming <leeming@lyx.org>
1891 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1893 2003-06-17 Angus Leeming <leeming@lyx.org>
1896 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1898 * lyxfunc.C (dispatch): invoke it.
1900 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * iterators.C (operator++, ParPosition): reintroduce some
1903 const_cast for the benefit of older compilers.
1905 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1907 * text3.C (dispatch): do not modify clipboard when doing
1908 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1909 LFUN_DELETE_SKIP on a selection selection
1911 2003-06-16 André Pönitz <poenitz@gmx.net>
1917 * tabular.[Ch]: IU of clone() and getLabelList();
1919 2003-06-13 André Pönitz <poenitz@gmx.net>
1921 * tabular.h: compactification
1923 2003-06-12 André Pönitz <poenitz@gmx.net>
1927 * tabular_funcs.h: some renaming plus whitespace
1929 2003-06-12 André Pönitz <poenitz@gmx.net>
1932 * BufferView_pimpl.C:
1938 * toc.C: Return a Paragraph & for ParIterator::operator*()
1940 2003-06-11 John Levon <levon@movementarian.org>
1944 * ToolbarBackend.C: add "Toolbars" section and
1947 2003-06-10 Angus Leeming <leeming@lyx.org>
1950 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1952 * lyxfunc.C (dispatch): invoke it.
1954 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1956 * main.C: protect <ios> with HAVE_IOS
1957 (main): protect sync_with_stdio with HAVE_IOS
1959 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1961 * text2.C (cutSelection): adjust
1962 (pasteSelection): adjust
1964 * messages.C: handle get of empty string
1966 * main.C (main): use sync_with_stdio(false)
1968 * lyxfunc.C (dispatch): adjust
1970 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1971 (WriteAs): remove unneeded BufferView arg.
1973 * bufferparams.h: use correct types on papersize, papersize2 and
1976 * bufferparams.C (readToken): adjust for type
1977 (writeLaTeX): add missing cases to switch.
1979 * bufferlist.C (quitWriteBuffer): adjust
1982 * buffer.C (asciiParagraph): remove some commented code.
1984 * CutAndPaste.C: remove current_view extern variable.
1985 (cutSelection): add BufferParams arg.
1986 (eraseSelection): add BufferParams arg.
1987 (pasteSelection): add Buffer const & arg
1989 2003-06-07 John Levon <levon@movementarian.org>
1992 * paragraph_funcs.C:
1993 * paragraph_pimpl.C:
1997 * paragraph.C: allow InsetERT to freely space lines,
1998 and some consolidation of code
2000 2003-06-06 José Matos <jamatos@fep.up.pt>
2002 * buffer.C (makeDocBookFile): fix bug #821
2004 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2006 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2008 2003-06-04 Angus Leeming <leeming@lyx.org>
2010 * buffer.C: bump format to 224.
2012 2003-06-05 André Pönitz <poenitz@gmx.net>
2014 * text2.C (redoParagraphs): remove two const_cast<>
2016 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2018 * ParagraphList.h: remove last remnants of NO_STD_LIST
2020 2003-06-03 Angus Leeming <leeming@lyx.org>
2022 * factory.C (createInset): small change to the way InsetExternal's params
2025 2003-06-04 André Pönitz <poenitz@gmx.net>
2027 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2029 * paragraph_pimpl.h:
2030 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2032 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2034 * undo_funcs.C: make some simple cases of undo work again
2036 2003-06-03 John Levon <levon@movementarian.org>
2038 * ispell.C: HPUX doesn't have sys/select.h
2041 2003-06-03 John Levon <levon@movementarian.org>
2043 * CutAndPaste.C: update tabular and include inset
2048 * paragraph.C: remove owningBuffer(), don't pass Buffer
2051 * factory.C: insetGraphicsParams changed
2053 2003-06-02 John Levon <levon@movementarian.org>
2059 * text3.C: remove insetparent
2061 2003-06-02 John Levon <levon@movementarian.org>
2064 * buffer.C: fix inset_iterator.end(), move out of line
2067 2003-06-01 John Levon <levon@movementarian.org>
2069 * text3.C: use a proper cut/paste when doing inset
2070 insert (from Jürgen Spitzmüller)
2072 2003-06-01 John Levon <levon@movementarian.org>
2074 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2076 2003-05-30 André Pönitz <poenitz@gmx.net>
2078 * rowpainter.C: unify second drawing phase
2080 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * trans_mgr.C: remove one case of current_view
2084 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2086 * paragraph_funcs.h: remove paragraph.h include
2088 * paragraph.h: delete NO_STD_LIST stuff
2090 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2092 * buffer.h: remove paragraph.h include
2094 * ParagraphList.C: delete file
2096 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2098 * toc.C (getTocList): adjust
2100 * paragraph_pimpl.C (validate): adjust
2102 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2104 * paragraph.C (Paragraph): adjust
2105 (getPositionOfInset): use const_iterator, adjust
2106 (bibitem): use const_iterator, adjust
2107 (setInsetOwner): adjust
2109 * iterators.C (operator++): adjust
2111 * InsetList.[Ch]: Replace selfmade iterator with standard
2112 vector::iterator also introduce const_iterator. Remove getPos,
2113 getInset and setInset from InsetTable. Adjust accordingly.
2115 * BufferView.C (lockInset): adjust
2116 (ChangeInsets): adjust
2118 * tabular.[Ch]: delete commented same_id functions
2120 2003-05-28 John Levon <levon@movementarian.org>
2122 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2124 2003-05-28 André Pönitz <poenitz@gmx.net>
2126 * metricsinfo.[Ch]: remove 'fullredraw' member
2128 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2130 * lyxtextclass.C (operator): remove caching.
2132 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * text2.C (cursorBottom): adjust
2137 (setCounter): use ParagraphList::find, adjust
2139 * text.C (workWidth): use ParagraphList::find, adjust
2141 * lyxcursor.C (LyXCursor): adjust
2143 * buffer.C (inset_iterator): adjust
2145 * ParagraphList.h: make iterator(value_type) private, make
2146 ParagraphList a friend of iterator.
2148 * ParagraphList.C (find): new function
2150 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2152 2003-05-27 André Pönitz <poenitz@gmx.net>
2154 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2156 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2160 2003-05-26 John Levon <levon@movementarian.org>
2162 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2164 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2166 * remove same_id from function signatures, adjust.
2168 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2172 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2174 * paragraph.C (Paragraph): get rid of same_ids parameter
2176 * ParagraphList.C (insert): adjust
2179 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2181 * paragraph_funcs.C (breakParagraph): adjust
2182 (breakParagraphConservative): adjust
2184 * buffer.C (readParagraph): adjust
2186 * ParagraphList.C (insert): take a reference instead of a pointer
2189 * paragraph.[Ch] (id): new function
2191 * bufferlist.C (newFile): adjust
2193 * ParagraphList.C (ParagraphList): adjust
2195 (push_back): take a reference instead of a pointer.
2197 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2199 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2202 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2203 set else use old code.
2205 * ParagraphList.C: remove all NO_NEXT code and only compile this
2206 code of NO_STD_LIST is set.
2208 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2210 * BufferView_pimpl.C:
2220 * graphics/GraphicsConverter.C:
2221 * graphics/PreviewLoader.C: header adjustment
2223 2003-05-23 Angus Leeming <leeming@lyx.org>
2225 * LaTeXFeatures.[Ch] (useBabel): new method.
2226 * bufferparams.C (writeLaTeX): use it.
2228 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2230 * ParagraphList.h (set): remove unused function.
2232 2003-05-23 André Pönitz <poenitz@gmx.net>
2235 * BufferView_pimpl.C:
2239 * undo_funcs.C: setUndo reworked
2241 * iterators.[Ch]: add access to topmost ParagraphList
2243 * lyxtext.[Ch] (workWidth): add a const
2245 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2247 * texrow.[Ch] (increasePos): remove function
2248 * exporter.C (export): removed unused var and outdated comment
2250 2003-05-23 Angus Leeming <leeming@lyx.org>
2252 * latexrunparams.h: rename fragile as moving_arg.
2253 * paragraph.C (simpleTeXOnePar): ditto.
2254 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2256 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2260 (textUndoOrRedo): comment out a currently unused var.
2262 * paragraph.h (NO_NEXT): enable NO_NEXT
2264 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2266 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2268 * exporter.C (Export): adjust for removeAutoInsets removal.
2270 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2272 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2274 * BufferView.[Ch] (removeAutoInsets): delete function
2276 2003-05-22 Angus Leeming <leeming@lyx.org>
2278 * latexrunparams.h: add a free_spacing variable.
2280 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2281 to pass moving_arg, as the data is stored in runparams.fragile.
2283 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2284 to Inset::latexOptional or to simpleTeXOnePar.
2286 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2287 free_spacing arg to Inset::latexOptional.
2289 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2292 2003-05-22 Angus Leeming <leeming@lyx.org>
2294 * latexrunparams.h: add fragile and use_babel variables.
2296 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2297 * buffer.C (makeLaTeXFile): store this returned value in
2298 runparams.use_babel, thus passing it to the inset::latex methods.
2300 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2301 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2303 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2304 longer has a fragile arg, as it is stored in runparams.fragile.
2306 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2307 moving_arg parameter as the data is stored in runparams.fragile.
2309 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2310 a fragile parameter as the data is stored in runparams.fragile.
2312 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2316 2003-05-22 Angus Leeming <leeming@lyx.org>
2318 * latexrunparams.h: add a 'bool nice' which defaults to false.
2320 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2321 now encapsulated within runparams.
2323 * bufferlist.C (updateIncludedTeXfiles):
2324 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2326 2003-05-22 Angus Leeming <leeming@lyx.org>
2328 * latexrunparams.h: new file containing struct LatexRunParams.
2329 * Makefile.am: add new file.
2331 * LaTeX.[Ch] (c-tor, run):
2332 * buffer.[Ch] (makeLaTeXFile):
2333 * bufferlist.[Ch] (updateIncludedTeXfiles):
2334 * converter.C (convert, scanLog):
2335 * converter.[Ch] (runLaTeX):
2336 * exporter.C (Export):
2337 * paragraph.[Ch] (simpleTeXOnePar):
2338 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2339 * paragraph_funcs.[Ch] (latexParagraphs):
2340 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2341 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2342 pass around a LatexRunParams parameter.
2344 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2346 * paragraph.[Ch]: remove unused constructor
2348 * ParagraphList.C (erase): new function, taking two iterators
2350 2003-05-22 André Pönitz <poenitz@gmx.net>
2352 * undo_funcs.C: remove duplicated code
2354 * iterator.[Ch]: operator=
2356 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2358 * tabular.C (SetMultiColumn): ws changes
2360 * rowpainter.C (paintFirst): get rid of a ->previous
2362 * lyx_cb.C (getPossibleLabel): parlist simplification
2364 * BufferView.C (ChangeInsets): simplify slightly.
2366 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2368 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2369 * lfuns.h: new LFUN_SPACE
2370 * lyxfunc.C: protected space has a new lfun
2371 * paragraph_funcs.C: read new space insets
2373 * factory.C: handle new space insets
2375 2003-05-22 André Pönitz <poenitz@gmx.net>
2378 * BufferView_pimpl.C:
2381 * undo_funcs.C: return a ParIterator from getParFromID.
2383 * iterators.[Ch]: add two const's
2385 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * toc.C (getTocList): adjust
2389 * iterators.[Ch]: rework for parlist
2391 * buffer.C (par_iterator_begin): adjust
2392 (par_iterator_end): adjust
2394 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2396 * BufferView.C (removeAutoInsets): adjust
2397 (ChangeInsets): adjust
2399 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2401 * text.C (top_y): fix bug 1110
2403 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2405 * errorlist.[Ch]: added
2408 * BufferView_pimpl.C:
2409 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2412 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2414 * Makefile.am: ensure that lyx is relinked upon changes to the
2415 various "convenience" libs.
2417 2003-05-20 Angus Leeming <leeming@lyx.org>
2419 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2420 files are compiled in alphabetical order again.
2422 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2424 2003-05-19 Angus Leeming <leeming@lyx.org>
2426 * gettext.[Ch]: remove "char const * _(char const *)".
2428 2003-05-19 André Pönitz <poenitz@gmx.net>
2430 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2439 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2441 2003-05-19 André Pönitz <poenitz@gmx.net>
2445 * lyxtextclass.[Ch]:
2447 * paragraph_funcs.[Ch]:
2449 * text3.C: more insetenv work
2451 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2453 * ParagraphParameters.C (params2string): small bug fixed
2455 2003-05-16 André Pönitz <poenitz@gmx.net>
2458 * bufferview_funcs.C: patch from Kornel Benko to prevent
2459 crash when _(...) is called twice in a statement
2461 2003-05-16 André Pönitz <poenitz@gmx.net>
2468 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2470 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2472 * lyx_main.C (init): remove spurious static_cast
2474 2003-05-14 André Pönitz <poenitz@gmx.net>
2476 * BufferView.C: fix format string
2478 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2480 * BufferView.[Ch] (insertErrors): removed
2481 * BufferView.[Ch] (showErrorList): added
2482 * buffer.C (runChkTeX):
2483 * converter.C (scanLog): call showErrorList instead of inserterrors
2485 2003-05-13 André Pönitz <poenitz@gmx.net>
2487 * BufferView_pimpl.C:
2489 * bufferview_func.C:
2496 * tabular_funcs.h: tostr() from its own header
2498 * ParagraphParameters.C:
2503 * text3.C: STRCONV()
2505 2003-05-12 André Pönitz <poenitz@gmx.net>
2508 * BufferView_pimpl.C:
2512 * ParagraphParameters.C:
2516 * bufferview_funcs.C:
2529 * paragraph_funcs.C:
2533 * text3.C: boost::format -> bformat all over the place
2536 2003-05-09 André Pönitz <poenitz@gmx.net>
2538 * LColor.[Ch]: Pimpl the #include <map> away
2540 2003-05-09 John Levon <levon@movementarian.org>
2542 * bufferlist.C: never remove emergency saves
2544 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2546 * Makefile.am: better lib building
2548 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2552 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2553 (simpleTeXSpecialChars): adjust
2554 (simpleTeXSpecialChars): adjust
2555 * paragraph.C (simpleTeXOnePar): adjust
2556 * buffer.C (makeLaTeXFile): adjust
2558 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2560 * text2.C (changeDepth): parlist cleanup
2561 (getColumnNearX): ditto
2563 * rowpainter.C (getLabelFont): parlist cleanup
2565 * bufferlist.C (newFile): parlist cleanup
2567 * CutAndPaste.C (eraseSelection): parlist cleanup
2569 * BufferView_pimpl.C (trackChanges): parlist cleanup
2572 * BufferView.C (lockInset): parlist cleanup.
2573 (ChangeInsets): ditto
2575 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * CutAndPaste.h: Update file header.
2579 * CutAndPaste.C: Update file header.
2580 Store the parts cut out of the Document in a limited_stack.
2581 (copySelection): adjust
2582 (pasteSelection): new function, takes the index in the limited stack.
2583 (nrOfParagraphs): adjust
2584 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2585 simplify error inset insertion.
2586 (checkPastePossible): adjust
2588 2003-05-06 John Levon <levon@movementarian.org>
2590 * text2.C: don't cast wrap inset to float
2592 2003-05-05 André Pönitz <poenitz@gmx.net>
2595 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2597 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2598 few naked Paragraph *.
2600 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2602 * bufferparams.C: Output warning if a document with missing
2603 TeX document class is loaded
2604 * exporter.C: Disable TeX exports if the document class is missing
2607 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2608 isTeXClassAvailable()
2610 2003-05-03 John Levon <levon@movementarian.org>
2613 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2614 explicit cursor show/hide
2616 * BufferView_pimpl.h:
2617 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2618 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2620 * lyxfunc.C: hide cursor before dispatching.
2625 * text3.C: remove explicit cursor hides
2627 2003-05-02 André Pönitz <poenitz@gmx.net>
2629 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2632 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2635 * text2.C: tiny whitespace
2637 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * undo_funcs.C: almost only ws changes.
2641 * ParagraphList.C (splice): just return if pl is empty.
2643 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * ParagraphList.C (splice): new function.
2647 * CutAndPaste.C (pasteSelection): use it
2649 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * CutAndPaste.C (pasteSelection): remove the last next and
2652 previous from this file.
2654 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * CutAndPaste.C (pasteSelection): more clean up, user proper
2657 ParagraphList functions for pasteing.
2659 * ParagraphList.C (insert): new function, three arg insert
2661 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * ParagraphList.C (insert): new function, three arg insert
2665 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2668 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2670 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2672 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2676 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2678 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2679 (copySelection): clean up a bit.
2680 (pasteSelection): use make_pair
2682 * ParagraphList.C (ParagraphList): implement copy constructor
2683 (operator=): implement, base on copy constructor.
2686 * paragraph.C (erase): return a bool
2688 * paragraph_pimpl.C (erasePos): remove function, move contents...
2689 (erase): ... here. Return a bool.
2690 (erase): call erase instead of erasePos.
2692 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2694 * ParagraphList.h: define PitPosPair
2695 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2696 ParagraphList, fix a bug on pasting multiple pars
2697 * text2.C: change interface to C&P
2699 2003-04-30 André Pönitz <poenitz@gmx.net>
2701 * undo_func.C: revert part of yesterday's patch 2
2703 2003-04-30 John Levon <levon@movementarian.org>
2705 * LColor.C: s/tabular/table/
2707 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * text3.C (dispatch): do not convert iterator -> pointer
2710 * undo_funcs.C (setCursorParUndo): ditto
2711 * text_funcs.C (transposeChars): ditto
2713 * text2.C (setLayout): ws changes only
2715 * text.C (breakParagraph): do not convert iterator -> pointer
2717 (acceptChange): ditto
2718 (rejectChange): ditto
2723 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2726 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2728 * text3.C (gotoInset): YABG (yet another bad getChar)
2730 2003-04-29 André Pönitz <poenitz@gmx.net>
2732 * paragraph.h: make operator= private unimplemented as long as
2735 * ParagraphList.C: whitespace
2738 * paragraph_pimpl.[Ch]:
2739 * paragraph_funcs.C:
2741 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2744 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2746 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2748 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2749 * paragraph.[Ch] (erase):
2750 * paragraph_pimpl.[Ch] (erase): change return type and value
2751 * text2.C (cutSelection): some rework
2753 2003-04-28 John Levon <levon@movementarian.org>
2755 * bufferlist.C: changes for unsaved changes dialog
2757 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * bufferlist.C (newFile): set language (messages_) for new
2762 * buffer.C (readFile): ws changes only.
2764 2003-04-28 André Pönitz <poenitz@gmx.net>
2769 * BufferView_pimpl.C:
2770 * BufferView.C: getParFromID related ParagraphList::iterator changes
2772 2003-04-28 André Pönitz <poenitz@gmx.net>
2774 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2777 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * messages.C: remove one more localedir class variable.
2781 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * messages.C (getLocaleDir): singleton generation function
2785 (Messages): add a default constructor.
2787 * main.C (main): do not setup localedir here, do not call
2790 * gettext.C (_): use it.
2791 (gettext_init): delete funciton
2793 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * gettext.C (getLyXMessages): new singleton generating function.
2797 * buffer.C (updateDocLang): adjust
2799 * Makefile.am (messages.o): add target
2800 (main.o): remove target
2802 2003-04-27 John Levon <levon@movementarian.org>
2807 * lyxvc.C: specify cancel button in Alert::prompt
2809 2003-04-26 John Levon <levon@movementarian.org>
2814 * LyXAction.C: add LFUN_INSET_SETTINGS
2816 * lyxfunc.C: don't enable tabular-feature when there's
2817 just any locking inset
2819 2003-04-26 John Levon <levon@movementarian.org>
2821 * bufferlist.C: re-add Cancel to buffer close question
2823 * lyxfunc.C: fix import UI a bit
2825 2003-04-25 John Levon <levon@movementarian.org>
2827 * gettext.C: remove the broken asserts for now
2829 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2831 * messages.C: make case where setlocale cannot comply work better.
2833 * buffer.C (updateDocLang): new function
2834 (changeLanguage): use it
2837 * text2.C (setCounter): use B_ a bit.
2839 * lyxlayout.C (Read): be sure to trim the label strings.
2841 * messages.C (Messages): fix typo in comment
2843 * buffer.C (readFile): set message_ after file is loaded.
2844 (makeDocBookFile): remove double return
2845 (changeLanguage): reset message_ upon language change.
2846 (B_): new func, use this to get translated buffer strings.
2848 * main.C: add myself and Jean Marc as authors.
2850 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2852 * messages.[hC]: pimplify Messages, and three different pimpls to be
2853 used in different circumstances.
2855 * gettext.[Ch]: change for use with new message code.
2857 2003-04-24 André Pönitz <poenitz@gmx.net>
2859 * factory.C: support for eqref
2861 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * messages.[Ch]: add missing char
2865 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2867 * messages.[Ch]: New files
2869 2003-04-18 John Levon <levon@movementarian.org>
2873 * BufferView_pimpl.C:
2877 * text2.C: remove layout-copy/paste (bug 778)
2879 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2881 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2883 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2885 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2886 if they succeed. Act accordingly.
2888 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * text2.C (setCharFont): adjust
2891 (setCounter): adjust
2892 (insertStringAsLines): adjust
2894 * text.C (leftMargin): adjust
2895 (setHeightOfRow): adjust
2897 * rowpainter.C (paintFirst): adjust
2900 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2902 (isFirstInSequence): ditto
2903 (getEndLabel): ditto
2906 * paragraph.C (getParLanguage): comment out some hard stuff.
2908 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2910 (simpleDocBookOnePar): ditto
2911 (makeDocBookFile): use ParagraphList::iterator
2913 * CutAndPaste.C (pasteSelection): adjust
2915 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * text2.C (getFont): adjust
2918 (getLayoutFont): adjust
2919 (getLabelFont): adjust
2921 * paragraph_funcs.C (TeXOnePar): adjust
2923 * buffer.C (simpleLinuxDocOnePar): adjust
2924 (simpleDocBookOnePar): adjust
2926 * CutAndPaste.C (pasteSelection): adjust
2928 * BufferView.C (getEncoding): adjust
2930 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2932 2003-04-16 John Levon <levon@movementarian.org>
2934 * lyxfind.C: use parlist stuff for search/changes
2936 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2940 * text2.C (deleteEmptyParagraphMechanism): adjust
2942 * text2.[Ch] (ownerParagraph): delete func (both of them
2944 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2948 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2950 * ParagraphList.C: prepare for NO_NEXT
2952 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * text2.C (getFont): adjust
2955 (getLayoutFont): adjust
2956 (getLabelFont): adjust
2958 * paragraph.C (getFont): adjust
2959 (getLabelFont): adjust
2960 (getLayoutFont): adjust
2962 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2964 2003-04-15 John Levon <levon@movementarian.org>
2968 * lyx_main.C: handle Include in .ui files
2970 2003-04-15 John Levon <levon@movementarian.org>
2972 * MenuBackend.C: make the doc files length shorter
2975 * ToolbarBackend.C: handle toolbar placement flags,
2978 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2983 * paragraph_funcs.C (TeXOnePar): adjust
2985 * paragraph.C (getLabelFont): add outerfont arg, adjust
2986 (getLayoutFont): ditto
2987 (simpleTeXOnePar): adjust
2989 * paragraph_pimpl.C (realizeFont): delete func
2991 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2993 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2994 row argument, constify cur argument.
2996 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2998 * text2.C (getFont): adjust
2999 (getLayoutFont): adjust
3000 (getLabelFont): adjust
3002 * paragraph_funcs.C (TeXOnePar): adjust
3003 (outerFont): new func...
3004 (realizeFont): ...moved out from here, changed this to facilitate
3007 * paragraph.C (getFont): take outerfont as arg, adjust
3008 (simpleTeXOnePar): add outerfont arg, adjust
3010 * buffer.C (simpleLinuxDocOnePar): adjust
3011 (simpleDocBookOnePar): adjust
3013 * CutAndPaste.C (pasteSelection): adjust
3015 * BufferView.C (getEncoding): adjust
3017 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3019 * text2.C (setCharFont): adjust
3020 (setCounter): adjust
3022 * text.C (leftMargin): adjust
3023 (setHeightOfRow): adjust
3025 * rowpainter.C (paintFirst): adjust
3028 * paragraph_pimpl.C (realizeFont): adjust
3030 * paragraph.C (isFirstInSequence): move from here...
3031 * paragraph_funcs.C (isFirstInSequence): ...to here
3033 * paragraph.C (outerHook): move from here...
3034 * paragraph_funcs.C (outerHook): ...to here
3036 * paragraph.C (depthHook): move from here...
3037 * paragraph_funcs.C (depthHook): ...to here
3039 * paragraph.C (getEndLabel): move from here...
3040 * paragraph_funcs.C (getEndLabel): ...to here
3042 * text2.C (realizeFont): move from here...
3043 * paragraph_funcs.C (realizeFont): ...to here
3045 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3049 2003-04-14 Angus Leeming <leeming@lyx.org>
3051 * LColor.[Ch]: scrap LColor mathcursor.
3053 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * lyxlex.[Ch] (text): delete function
3056 * trans.C (Load): adjust
3057 * paragraph_funcs.C (readParToken): adjust
3059 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3062 vector<char> instead of a char[].
3064 * lyxlex_pimpl.C (getString): adjust
3066 (lex): use getString
3070 * lyxlex.C (text): use pimpl_->getString()
3074 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3077 (makeFontEntriesLayoutSpecific): temp var for par.size()
3078 (setLayout): temp var for ownerParagraphs().end()
3079 (fullRebreak): temp var for rows().end()
3080 (selectionAsString): temp var for boost::next(startpit), realize
3081 that the while really is a regular for loop.
3082 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3083 setCursor in one place.
3084 (setParagraph): temp vr for ownerParagraphs().end()
3085 (updateCounters): make the while loop a for loop
3086 (cutSelection): temp var for ownerParagraphs().end()
3087 (updateInset): make the do {} while() a regular for loop
3088 (getCursorX): use temp vars
3089 (setCurrentFont): use temp vars
3090 (getColumnNearX): use temp vars
3092 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * text.C (transformChar): use temp var for getChar
3095 (computeBidiTables): use temp var for row->par()
3096 (fill): move temp vars for row->par() and pit->layout() earlier in
3098 (labelFill): use temp var for row->par()
3099 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3100 asc and desc, realize that pit never changes and that firstpit is
3101 just a duplicate and not needed. Exchange rit->par() with pit in a
3103 (breakAgain): use a temp var for boost::next(rit)
3104 (breakAgainOneRow): ditto
3105 (breakParagraph): use a temp var for rows().begin()
3106 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3107 (cursorRightOneWord): use temp var for cursor.par() and
3108 cursor.pos(), remove usage of tmpcursor.
3109 (cursorLeftOneWord): use temp var for cursor.par() and
3110 cursor.pos() only set cur at end of function.
3112 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * text.C, text2.C: exchange all usage of Paragraph::next with
3115 boost::next(ParagraphList::iterator)
3117 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3119 * text2.C (cursorTop): simplify implementation
3120 (cursorBottom): ditto
3121 (setParagraph): use ParagraphList::iterator
3122 (setCurrentFont): adjust
3123 (getColumnNearX): adjust
3124 (cursorRight): adjust
3125 (cursorLeft): remove usage of Paragraph::previous
3126 (cursorUpParagraph): ditto
3127 (deleteEmptyParagraphMechanism): slight cleanup
3129 * text.C (isBoundary): take a Paragraph const & instead of a
3131 (addressBreakPoint): ditto
3132 (leftMargin): remove usage of Paragraph::previous.
3133 (setHeightOfRow): ditto
3134 (cursorLeftOneWord): ditto
3135 (selectNextWordToSpellcheck): ditto
3138 (breakParagraph): remove one usage of Paragraph::next
3139 (redoParagraph): ditto
3140 (acceptChange): ditto
3141 (insertChar): adjust
3142 (rowBreakPoint): adjust
3144 * bufferview_funcs.C (toggleAndShow): adjust
3146 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3148 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3149 methods to access it.
3151 * text.C: Added updateRowPositions to compute all row positions.
3152 Make top_y and getRowNearY() to use the cached y position
3154 2003-04-11 John Levon <levon@movementarian.org>
3156 * text.C (rowBreakPoint): reintroduce the labelEnd
3157 checks, code copied from the row fill stuff. Deep voodoo.
3159 * text.C (fill): add a comment and debugging for the
3162 2003-04-11 John Levon <levon@movementarian.org>
3164 * text.C: make sure fullrow insets get wrapped to the next line,
3165 even when they're in a manual label
3167 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * text2.C (insertParagraph): make it take ParagraphList::iterator
3171 (setLayout): make it return ParagraphList::iterator
3172 (redoParagraphs): ditto
3174 (checkParagraph): ditto
3176 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3178 * text2.C: adjust several funcs.
3179 (realizeFont): take a ParagraphList::iterator as arg.
3180 (getLayoutFont): ditto
3181 (getLabelFont): ditto
3182 (setCharFont): ditto
3184 * text.C: adjust several funcs.
3186 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3188 * text.C (selectNextWordToSpellcheck): don't accidentally
3191 2003-04-10 John Levon <levon@movementarian.org>
3193 * ToolbarBackend.C (getIcon): special handling for
3196 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3198 * text2.C (cursorRight): a getChar assert fixed
3200 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * text2.C (getFont): change to take a ParagraphList::iterator
3203 instead of Paragraph*
3204 Adjust several functions.
3206 * text.C (transformChar): change to take a ParagraphList::iterator
3207 instead of Paragraph*
3208 (singleWidth): ditto
3209 Adjust several functions.
3211 * rowpainter.C: adjust several functions
3212 * rowpainter.h:store a ParagraphList::iterator and not a
3216 2003-04-09 John Levon <levon@movementarian.org>
3221 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3222 and the "help" bits as well
3224 2003-04-09 John Levon <levon@movementarian.org>
3227 * ToolbarBackend.C: allow multiple toolbars
3229 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3231 * undo_funcs.C (setCursorParUndo): adjust
3233 * text_funcs.C (transposeChars): adjust
3235 * text3.C (gotoNextInset): adjust
3238 * text2.C (setLayout): adjust
3239 (changeDepth): adjust
3241 (redoParagraphs): adjust
3242 (selectionAsString): adjust
3243 (setParagraph): adjust
3244 (insertInset): adjust
3245 (cutSelection): adjust
3246 (copySelection): adjust
3247 (pasteSelection): adjust
3248 (insertStringAsLines): adjust
3249 (updateInset): adjust
3250 (setCursor): change to take a ParagraphList::iterator parameter
3251 (setCursorIntern): change to take a ParagraphList::iterator parameter
3252 (setCurrentFont): adjust
3253 (cursorLeft): adjust
3254 (cursorRight): adjust
3255 (deleteEmptyParagraphMechanism): adjust
3257 * text.C (breakParagraph): adjust
3258 (insertChar): adjust
3259 (acceptChange): adjust
3260 (rejectChange): adjust
3261 (selectNextWordToSpellcheck): adjust
3262 (changeCase): adjust
3266 * lyxfind.C (SearchForward): adjust
3267 (SearchBackward): adjust
3268 (nextChange): adjust
3270 * lyxcursor.C (par): adjust
3272 * lyxcursor.h: store a ParagraphList::iterator instead of a
3275 * lyx_cb.C (getPossibleLabel): adjust
3277 * bufferview_funcs.C (toggleAndShow): adjust
3279 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3282 * BufferView.C (removeAutoInsets): adjust
3283 (lockedInsetStoreUndo): adjust
3285 2003-04-09 John Levon <levon@movementarian.org>
3287 * ToolbarBackend.C: try icon without argument
3288 if with argument fails
3290 2003-04-08 John Levon <levon@movementarian.org>
3293 * ToolbarBackend.C: add getIcon(), handle tooltip,
3294 and change from "Icon" to "Item".
3296 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3298 * BufferView.C (lockInset): another bad getchar crunched
3300 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3302 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3305 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3307 * lyxfind.C (searchForward, searchBackwards): bug 782
3309 2003-04-07 John Levon <levon@movementarian.org>
3311 * paragraph.C: remove dead comment
3313 * text.C: remove troublesome depth-fiddling code
3314 in leftMargin() and rightMargin() (bug 1017)
3316 * text.C: fix breaking of rows in nested lists
3319 * text2.C (updateCounters): fix up depth values
3322 2003-04-07 John Levon <levon@movementarian.org>
3324 * BufferView_pimpl.C: clear message when doc finishes resizing,
3325 and after a mouse event
3327 * lyxfunc.C: clear message after exiting inset
3329 2003-04-07 John Levon <levon@movementarian.org>
3331 * bufferview_funcs.C: show math status not outside
3332 status in the statusbar
3334 2003-04-07 John Levon <levon@movementarian.org>
3336 * lyxfunc.C: note status changed after a depth change
3338 2003-04-04 Angus Leeming <leeming@lyx.org>
3340 * LaTeX.h: move AuxInfo operator==, != out of line.
3341 Remove LaTeX virtual destructor; nothing derives from it.
3342 Move operator()() out of public area and rename it startscript().
3343 Change protected for private.
3345 2003-04-04 Angus Leeming <leeming@lyx.org>
3348 * text2.C: remove unneeded #includes.
3350 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3352 * text2.C (dEPM): fix the heigth of the next row
3354 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3356 * text.C: squashed an invalid getChar requester + some ws changes
3358 2003-04-03 John Levon <levon@movementarian.org>
3360 * bufferview_funcs.h:
3361 * bufferview_funcs.C:
3364 * text2.C: make getStatus work for the env depth lfuns
3366 2003-04-03 John Levon <levon@movementarian.org>
3368 * bufferview_funcs.h:
3369 * bufferview_funcs.C:
3372 * text2.C: parlistize decDepth(), by merging it with incDepth()
3374 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3376 * lyxrow.h: store a ParagraphList::iterator instead of a
3377 Paragraph* and adjust other class functions to suit.
3379 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3382 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3384 * text2.C (setCursor): do not anchor to cursor row for the time being
3386 2003-04-02 John Levon <levon@movementarian.org>
3393 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3395 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3397 * paragraph.h: make ParagraphList and ParagraphList::iterator
3398 friends of Paragraph.
3400 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3402 * ParagraphList.C: Use the private next_ and previous_ from
3405 2003-04-01 John Levon <levon@movementarian.org>
3409 * Makefile.am: rename, remove defaults gunk
3412 * MenuBackend.C: remove defaults gunk
3415 * Languages.C: remove defaults gunk
3418 * lyx_main.C: error out if files couldn't be found.
3420 2003-04-02 John Levon <levon@movementarian.org>
3422 * text2.C: make incDepth() use parlist
3424 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * undo_funcs.C (firstUndoParagraph): adjust
3428 * text3.C (gotoInset): adjust
3429 (dispatch): adjust, and rewrite loop.
3431 * text2.C (init): adjust, and rewrite loop.
3432 (redoParagraphs): adjust
3433 (updateInset): adjust, and rewrite loop.
3434 (deleteEmptyParagraphMechanism): adjust
3436 * tabular.C (LyXTabular): adjust
3437 (SetMultiColumn): adjust
3440 * lyxtext.[Ch] (ownerParagraph): delete function
3441 (ownerParagraphs): new function returns a ParagraphList.
3443 * BufferView.C (removeAutoInsets): adjust
3444 (insertErrors): adjust
3445 (setCursorFromRow): adjust
3447 2003-04-01 Angus Leeming <leeming@lyx.org>
3449 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3452 2003-04-02 John Levon <levon@movementarian.org>
3458 * text_funcs.C: make transposeChars a free function
3460 * lyxrow_funcs.C: remove wrong comment
3462 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * rowpainter.C: adjust
3470 * lyxrow_funcs. [Ch]: new files
3472 * lyxrow.[Ch]: remove next and previous pointers
3473 (next,previous): remove accessor functions
3474 (isParEnd): move to lyxrow_funcs
3475 (lastPos): move to lyxrow_funcs
3476 (nextRowIsAllInset): move to lyxrow_funcs
3477 (lastPrintablePos): move to lyxrow_funcs
3478 (numberOfSeparators): move to lyxrow_funcs
3479 (numberOfHfills): move to lyxrow_funcs
3480 (numberOfLabelHfills): move to lyxrow_funcs
3481 (hfillExpansion): move to lyxrow_funcs
3485 * bufferview_funcs.C (toggleAndShow): adjust
3487 * RowList.h: Remove class RowList from file leave just a
3490 * RowList.C: delete file
3492 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3495 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * text3.C (cursorPrevious): adjust
3498 (cursorNext): adjust
3501 * text2.C (redoHeightOfParagraph): adjust
3502 (redoDrawingOfParagraph): adjust
3505 * text.C (breakParagraph): adjust
3506 (insertChar): adjust
3509 * rowpainter.C (RowPainter): adjust
3510 (leftMargin): simplify and adjust
3511 (most rowpainter functions): adjust.
3513 * rowpainter.h: store the row as RowList::iterator not as Row*
3515 * lyxcursor.C (row): taka RowList::iterator as arg
3518 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3521 2003-04-01 Angus Leeming <leeming@lyx.org>
3523 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3524 stuff like bool Bool.
3526 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3528 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3531 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3533 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3536 * lyxtext.h (rows): drop one version and leve a const variant that
3537 returns a RowList::iterator.
3539 2003-03-31 Angus Leeming <leeming@lyx.org>
3541 * text.C (fill): ensure that the signature is the same as that in the
3544 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * text2.C (redoParagraphs): adjust
3547 (updateCounters): adjust
3548 (checkParagraph): adjust
3549 (getColumnNearX): adjust and reformat a bit.
3551 * text.C (top_y): adjust
3553 (leftMargin): adjust
3554 (prepareToPrint): adjust
3556 (getRowNearY): adjust
3558 * lyxtext.h: make rowlist_ mutable.
3560 * RowList.h: add const_iterator
3561 * RowList.C: adjust for RowList::const_iterator.
3563 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3566 2003-03-31 John Levon <levon@movementarian.org>
3569 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3571 * lyx_main.C: set default fonts from using lyx_gui funcs
3573 * exporter.C: pdf_mode moved from lyxrc
3576 * lyxfunc.C: changes from above
3578 2003-03-31 John Levon <levon@movementarian.org>
3580 * lyx_main.C: fix to the last fix
3582 2003-03-31 John Levon <levon@movementarian.org>
3584 * bufferlist.C: "Load original" -> "Load Original"
3590 * format.C: more Alert cleanups
3592 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3594 * text2.C (removeParagraph): make it take a RowList::iterator as
3596 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3597 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3599 * text.C (anchor_row): make it take a RowList::iterator as arg,
3601 (computeBidiTables): make it take a const reference to Row instead
3602 of Row pointer, adjust.
3603 (leftMargin): make it take a RowList::iterator as arg, adjust.
3604 (rowBreakPoint): adjust
3605 (breakAgainOneRow): make it take a RowList::iterator as arg,
3607 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3609 * bufferview_funcs.C (toggleAndShow): adjust
3611 2003-03-30 John Levon <levon@movementarian.org>
3615 * boost-inst.C: moved to support
3617 * several files: changes as a result
3619 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3621 * text2.C (LyXText): adjust.
3623 (removeRow): make it take a RowList::iterator as arg, adjust.
3624 (fullRebreak): adjust
3625 (deleteEmptyParagraphMechanism): adjust
3626 (clearPaint): adjust
3629 * text.C (top_y): adjust
3630 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3631 (breakAgain): make it take a RowList::iterator as arg, adjust.
3632 (breakParagraph): adjust
3633 (insertChar): adjust
3636 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3637 need_break_row, and refresh_row.
3639 * text3.C (dispatch): adjust
3641 * text2.C (checkParagraph): adjust
3643 (setCursorFromCoordinates): adjust
3645 * text.C (top_y): adjust
3647 (getRow): make it return a RowList::iterator, adjust
3648 (getRowNearY): make it return a RowList::iterator, adjust
3650 * text2.C (init): adjust
3651 (insertRow): remove function
3652 (insertParagraph): adjust
3653 (redoParagraphs): adjust
3654 (fullRebreak): adjust
3655 (updateCounters): adjust
3657 * text.C (top_y): rewrite to use RowList iterators.
3659 (setHeightOfRow): rewrite to sue RowList iterators.
3660 (appendParagraph): adjust
3661 (breakAgain): adjust
3662 (breakAgainOneRow): adjust
3663 (breakParagraph): adjust
3665 (getRowNearY): adjust, and remove commented code.
3667 * lyxtext.h (firstRow): delete function
3668 (lastRow): delete function
3669 (rows): new function (const and non-const versions.)
3670 (insertRow): delete function
3672 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3674 2003-03-29 John Levon <levon@movementarian.org>
3676 * BufferView_pimpl.C: always update scrollbar top
3677 because pasting text when we're anchored could mean we
3678 miss an update altogether
3680 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * text2.C (init): use rowlist_.end() and not 0.
3683 (insertRow): change to take a RowList::iterator as arg, adjust
3685 (insertParagraph): change to take a RowList::iterator as arg,
3687 (redoParagraphs): remove some debug msgs.
3689 * text.C (appendParagraph): change to take a RowList::iterator
3690 arg, adjust for this.
3691 (breakAgain): add an assert
3692 (breakAgainOneRow): ditto
3694 2003-03-29 John Levon <levon@movementarian.org>
3696 * text2.C: do not clear selection after inc/decDepth
3699 2003-03-29 John Levon <levon@movementarian.org>
3702 * buffer.C: fix broken strerrors according to Lars
3704 2003-03-29 John Levon <levon@movementarian.org>
3706 * converters.C: more Alert cleanups
3708 2003-03-29 John Levon <levon@movementarian.org>
3710 * bufferview_funcs.C: remove pointless Alert
3712 * buffer.C: fix confusing error message when
3713 a template is chmoded 000
3715 2003-03-29 John Levon <levon@movementarian.org>
3719 * BufferView_pimpl.C: Alert fixes
3723 * tabular-old.C: remove unused table compat reading
3725 2003-03-29 John Levon <levon@movementarian.org>
3730 * lyx_cb.C: more Alert cleanups
3732 * lyxfunc.C: don't allow chktex if not latex document
3734 2003-03-29 John Levon <levon@movementarian.org>
3738 * buffer.C: warnings pushed down from support/,
3741 2003-03-29 John Levon <levon@movementarian.org>
3743 * lyxfunc.C: safety check for C-r (revert)
3745 2003-03-29 John Levon <levon@movementarian.org>
3748 * bufferlist.C: several UI fixes using Alert::prompt.
3749 Fix the pointless looping quit code. Fix stupid revert
3754 * lyx_cb.C: use Alert::prompt
3756 * lyx_main.C: remove a silly question
3758 * lyxfunc.C: remove a couple of silly questions,
3761 2003-03-28 John Levon <levon@movementarian.org>
3763 * text2.C: fix bug 974 (End on empty par)
3765 2003-03-28 John Levon <levon@movementarian.org>
3767 * BufferView_pimpl.C:
3769 * lfuns.h: remove do-nothing math greek lfuns
3771 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * lyxgluelength.h (isValidGlueLength): add default arg on
3774 parameter 2. Remove default arg from friend in class.
3776 * lyxlength.h (isValidLength): add default arg on parameter 2.
3777 Remove default arg from friend in class.
3779 * text2.C (LyXText): adjust, initialize refresh_row.
3783 (insertParagraph): adjst
3784 (redoParagraphs): adjust
3785 (fullRebreak): adjust
3786 (updateCounters): adjust
3787 (deleteEmptyParagraphMechanism): first attempt at fixing a
3790 * text.C (top_y): adjust
3791 (setHeightOfRow): adjust
3793 (getRowNearY): adjust
3795 * lyxtext.h: include RowList.h
3796 (~LyXText): not needed anymore, deleted.
3797 (firstRow): modify for RowList
3798 (lastRow): new function
3799 Delete firstrow and lastrow class variables, add a Rowlist
3800 rowlist_ class variable.
3802 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3805 * RowList.C (insert): fix case where it == begin().
3807 2003-03-26 Angus Leeming <leeming@lyx.org>
3809 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3810 the thesaurus dialog.
3812 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3816 * RowList.[Ch]: new files
3818 * ParagraphList.C (erase): handle the case where it == begin
3821 2003-03-25 John Levon <levon@movementarian.org>
3825 * aspell.C: add new aspell support
3828 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3831 2003-03-25 Angus Leeming <leeming@lyx.org>
3834 * LyXAction.C (init): new LFUN_INSET_INSERT.
3836 * BufferView_pimpl.C (dispatch): split out part of the
3837 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3839 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3842 2003-03-25 Angus Leeming <leeming@lyx.org>
3844 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3846 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3849 * text3.C: remove useless row->height(0)
3851 2003-03-25 John Levon <levon@movementarian.org>
3855 * text3.C: rename the refreshing stuff to better names
3857 2003-03-24 John Levon <levon@movementarian.org>
3859 * BufferView_pimpl.h:
3860 * BufferView_pimpl.C: update layout choice on a mouse
3863 2003-03-23 John Levon <levon@movementarian.org>
3865 * Makefile.am: fix commandtags.h reference
3867 2003-03-22 John Levon <levon@movementarian.org>
3869 * BufferView_pimpl.C:
3874 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3876 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3879 * text.C: take the rtl methods out of line
3881 2003-03-21 André Pönitz <poenitz@gmx.net>
3883 * metricsinfo.[Ch]: new files containing structures to be passed around
3884 during the two-phase-drawing...
3886 2003-03-21 André Pönitz <poenitz@gmx.net>
3888 * lyxtextclass.C: read 'environment' tag.
3890 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3892 * text2.C (removeRow): fix bug 964
3894 2003-03-20 John Levon <levon@movementarian.org>
3898 * text2.C: paint cleanups. Inset::update() dropped font
3901 2003-03-19 John Levon <levon@movementarian.org>
3903 * lyxfunc.C: only fitcursor/markDirty if available()
3905 2003-03-19 John Levon <levon@movementarian.org>
3907 * commandtags.h: rename to ...
3909 * lfuns.h: ... this, and renumber / cleanup
3911 2003-03-19 John Levon <levon@movementarian.org>
3913 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3914 fit the cursor after an lfun
3918 * BufferView_pimpl.h:
3919 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3921 * LyXAction.C: layout-character should have ReadOnly
3923 * ParagraphParameters.C:
3925 * bufferview_funcs.C:
3932 * undo_funcs.C: changes from above
3934 2003-03-18 John Levon <levon@movementarian.org>
3936 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3937 remove it from update()
3939 * lyxfunc.C: update layout choice after an lfun
3941 * text3.C: remove extra updateLayoutChoice()s
3943 2003-03-18 John Levon <levon@movementarian.org>
3945 * text.C: top_y change means full repaint, fix
3946 a drawing bug with cursor movement
3948 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3952 * text2.C: anchor row on setCursor
3954 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3956 * lyxtext.h: remove almost all mutable keywords
3959 * text3.C: remove const keywords accordingly
3961 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3965 (TeXEnvironment): ditto
3968 2003-03-17 John Levon <levon@movementarian.org>
3970 * text.C (rowBreakPoint): remove attempt to fix displayed
3971 math insets inside a manual label
3973 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * lyxtext.h: remove BufferView* as first arg from almost all class
3977 * other files: adjust.
3979 2003-03-17 John Levon <levon@movementarian.org>
3983 * text2.C: more paint cleanups
3985 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3988 * rowpainter.C: remove "smart" background painting code
3990 2003-03-16 John Levon <levon@movementarian.org>
3995 * text3.C: add helper functions for setting refresh_row/y
3997 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3999 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4000 newline inset which *can* get inserted in the pass_thru layouts.
4001 This is primarily for literate documents.
4003 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4005 * buffer.C: increment LYX_FORMAT to 223
4007 2003-03-14 André Pönitz <poenitz@gmx.net>
4009 * textclass.h: prepare for environment handling, ws changes
4010 * lyxlayout.C: read latexheader and latexfooter tags
4012 2003-03-14 John Levon <levon@movementarian.org>
4014 * text2.C: rewrite ::status() a bit
4016 2003-03-13 John Levon <levon@movementarian.org>
4018 * lyxtext.h: add some docs
4020 2003-03-13 John Levon <levon@movementarian.org>
4025 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4027 2003-03-13 John Levon <levon@movementarian.org>
4029 * text3.C: fix appendix redrawing
4031 2003-03-13 John Levon <levon@movementarian.org>
4033 * text.C (setHeightOfRow):
4035 * rowpainter.C: make appendix mark have the text
4036 "Appendix" so the user knows what it is
4039 * LColor.C: s/appendixline/appendix/ from above
4041 2003-03-13 John Levon <levon@movementarian.org>
4043 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4045 * text.C: fix a getChar(pos) bug properly
4047 2003-03-13 Angus Leeming <leeming@lyx.org>
4050 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4051 Probably only temporary. Let's see how things pan out.
4053 * BufferView.C (unlockInset):
4054 * BufferView_pimpl.C (fitCursor):
4055 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4057 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4058 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4060 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4061 new functions that convert ParagraphParameters to and from a string.
4063 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4064 BufferView::Pimpl's dispatch.
4065 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4067 2003-03-13 André Pönitz <poenitz@gmx.net>
4071 * factory.C: make it aware of InsetEnv
4073 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * text2.C (setCursor): never ask for one past last
4076 (setCursor): add some debugging messages.
4078 * text.C (singleWidth): never ask for one past last
4079 (singleWidth): ditto
4081 (rightMargin): ditto
4082 (rowBreakPoint): ditto
4083 (setHeightOfRow): ditto
4084 (prepareToPrint): ditto
4086 * rowpainter.C (paintBackground): never ask for one past last
4087 (paintText): never ask for one past last
4089 * paragraph_pimpl.C (getChar): make the assert stricter, never
4090 allow the one past last pos to be taken
4092 * paragraph.C (getChar): ws changes only
4094 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4095 (numberOfSeparators): ditto
4096 (numberOfHfills): ditto
4098 2003-03-12 John Levon <levon@movementarian.org>
4104 * paragraph_funcs.C: fix per-buffer authorlists
4106 2003-03-12 John Levon <levon@movementarian.org>
4108 * text.C: fix newline in right address
4110 2003-03-12 Angus Leeming <leeming@lyx.org>
4112 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4113 duplicate those in LyXFunc::dispatch.
4117 * ToolbarDefaults.C:
4118 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4119 Add LFUN_FONTFREE_UPDATE.
4121 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4122 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4124 * bufferview_func.[Ch]: several new functions to facilliate
4125 transfer of data to and from the character dialog.
4127 2003-03-12 John Levon <levon@movementarian.org>
4132 * paragraph_funcs.C:
4133 * paragraph_pimpl.C:
4137 * text3.C: remove META_NEWLINE in favour of an inset
4140 * rowpainter.C: remove paintNewline (done by inset)
4142 2003-03-12 John Levon <levon@movementarian.org>
4144 * paragraph_pimpl.C: complain about bad getChar()s
4145 for a while at least
4147 2003-03-12 John Levon <levon@movementarian.org>
4150 * buffer.C: move paragraph read into a separate function,
4151 a little renaming to reflect that.
4154 * bufferparams.C: remove the author_ids map, not necessary now
4157 * factory.C: moved Buffer::readInset to here
4159 * paragraph_funcs.h:
4160 * paragraph_funcs.C: readParagraph free function moved from
4163 * tabular.C: name change
4165 2003-03-12 John Levon <levon@movementarian.org>
4168 * ParagraphParameters.C: move par params input to
4171 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4172 behave like a normal read from the stream wrt reading
4173 a line vs. a \\token
4175 2003-03-12 John Levon <levon@movementarian.org>
4178 * ParagraphParameters.h:
4179 * ParagraphParameters.C: move output code to a
4182 2003-03-12 John Levon <levon@movementarian.org>
4184 * BufferView.C (insertLyXFile):
4187 * tabular.C: use a parlist iterator for creating the
4190 2003-03-12 John Levon <levon@movementarian.org>
4192 * buffer.C: make current_change static local not
4195 2003-03-12 John Levon <levon@movementarian.org>
4197 * buffer.C: fix insertStringAsLines for change tracking
4199 2003-03-12 John Levon <levon@movementarian.org>
4206 * bufferparams.C: move author list into params. Rename some
4207 functions. Move the header reading into a separate token
4208 loop. Move the header token reading into BufferParams.
4210 2003-03-12 John Levon <levon@movementarian.org>
4212 * changes.C: put debug inside lyxerr.debugging() checks
4214 2003-03-11 André Pönitz <poenitz@gmx.net>
4216 * factory.C: make it aware of InsetHFill
4218 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4220 * buffer.C (latexParagraphs): move function from here...
4221 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4224 2003-03-10 Angus Leeming <leeming@lyx.org>
4226 * LyXAction.C (init): fix bug in poplating array with multiple entries
4227 with the same LFUN (spotted by JMarc).
4229 2003-03-10 John Levon <levon@movementarian.org>
4232 * text2.C: move getColumnNearX() near its
4235 2003-03-10 John Levon <levon@movementarian.org>
4237 * text.C: fix break before a minipage
4239 2003-03-10 John Levon <levon@movementarian.org>
4241 * text.C: fix the last commit
4243 2003-03-09 John Levon <levon@movementarian.org>
4247 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4248 bug 365 (don't break before insets unless needed). Don't
4249 return a value > last under any circumstances.
4251 2003-03-09 Angus Leeming <leeming@lyx.org>
4253 * BufferView_pimpl.C (trackChanges, dispatch): call
4254 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4256 2003-03-09 Angus Leeming <leeming@lyx.org>
4258 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4259 than Dialogs::showAboutlyx().
4261 2003-03-09 Angus Leeming <leeming@lyx.org>
4263 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4264 than Dialogs::showTabularCreate().
4266 2003-03-09 John Levon <levon@movementarian.org>
4270 * text2.C: 3rd arg to nextBreakPoint was always the same.
4273 2003-03-08 John Levon <levon@movementarian.org>
4280 * text2.C: Remove the "main" bit from the "main body"
4283 2003-03-08 John Levon <levon@movementarian.org>
4285 * text.C (leftMargin): The left margin of an empty
4286 manual label paragraph should not include the label width
4289 * text.C (prepareToPrint): don't attempt to measure hfills
4290 for empty manual label paragraphs - the answer should be 0
4292 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * CutAndPaste.C: remove commented code and reindent.
4296 2003-03-08 John Levon <levon@movementarian.org>
4299 * lyxfunc.C: move reloadBuffer()
4302 * BufferView.C: to here
4304 * lyxvc.C: add comment
4307 * vc-backend.C: call bv->reload() to avoid
4308 getStatus() check on MENURELOAD
4310 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4312 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4313 to an old format .dep file.
4315 2003-03-07 Angus Leeming <leeming@lyx.org>
4317 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4318 when the LFUN_MOUSE_RELEASE should have been handled by
4319 inset->localDispatch.
4321 2003-03-07 Angus Leeming <leeming@lyx.org>
4323 * BufferView_pimpl.C (dispatch):
4324 * LyXAction.C (init):
4325 * ToolbarDefaults.C (init):
4327 * lyxfunc.C (getStatus):
4328 remove LFUN_INSET_GRAPHICS.
4330 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4332 2003-03-07 Angus Leeming <leeming@lyx.org>
4335 * LyXAction.C (init):
4336 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4338 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4341 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4343 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4344 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4346 2003-03-07 Angus Leeming <leeming@lyx.org>
4348 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4351 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * ParagraphList.C (front): new function
4356 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4358 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4359 and top_row_offset_. removed var first_y.
4361 * text2.C (LyXText, removeRow):
4363 * BufferView_pimpl.C:
4364 use these methods instead of using first_y
4366 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * text2.C (pasteSelection): adjust for checkPastePossible
4370 * CutAndPaste.C: remove Paragraph * buf and replace with
4371 ParagraphList paragraphs.
4372 (DeleteBuffer): delete
4373 (cutSelection): change the tc type to textclass_type
4374 (copySelection): change the tc type to textclass_type
4375 (copySelection): adjust for ParagraphList
4376 (pasteSelection): change the tc type to textclass_type
4377 (pasteSelection): adjust for Paragraphlist
4378 (nrOfParagraphs): simplify for ParagraphList
4379 (checkPastePossible): simplify for ParagraphList
4380 (checkPastePossible): remove unused arg
4382 * ParagraphList.C (insert): handle the case where there are no
4385 * CutAndPaste.h: make CutAndPaste a namespace.
4387 * text3.C (dispatch): adjust
4389 * text.C (breakParagraph): add a ParagraphList as arg
4391 * paragraph_funcs.C (breakParagraph): change to take a
4392 BufferParams and a ParagraphList as args.
4393 (breakParagraphConservative): ditto
4394 (mergeParagraph): ditto
4395 (TeXDeeper): add a ParagraphList arg
4396 (TeXEnvironment): ditto
4399 * buffer.C (readLyXformat2): adjust
4400 (insertStringAsLines): adjust
4401 (latexParagraphs): adjust
4403 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4404 (cutSelection): adjust
4405 (pasteSelection): adjust
4407 * BufferView_pimpl.C (insertInset): adjust
4409 2003-03-05 Angus Leeming <leeming@lyx.org>
4412 * LyXAction.C (init):
4413 * BufferView_pimpl.C (dispatch):
4414 * lyxfunc.C (getStatus):
4415 remove LFUN_CHILD_INSERT.
4417 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4419 2003-03-05 Angus Leeming <leeming@lyx.org>
4422 * LyXAction.C (init):
4423 * src/factory.C (createInset):
4424 * lyxfunc.C (getStatus):
4425 * text3.C (dispatch):
4426 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4428 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4430 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * ParagraphList.C (insert): handle insert right before end()
4433 (erase): fix cases where it can be first or last paragraph.
4435 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4438 Paragraph::next and Paragraph::previous
4441 * text.C (breakParagraph): adjust
4443 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4444 BufferParams& as arg.
4445 (breakParagraph): use ParagraphList::insert
4446 (breakParagraphConservative): take a Buffer* instead of a
4447 BufferParams& as arg.
4448 (breakParagraphConservative): use ParagraphList::insert.
4450 * buffer.C (insertStringAsLines): un-const it
4451 (insertStringAsLines): adjust
4453 * ParagraphList.C (insert): new function
4455 * CutAndPaste.C (pasteSelection): adjust
4457 * text.C (backspace): adjust
4459 * tabular.C (SetMultiColumn): adjust
4461 * CutAndPaste.C (cutSelection): adjust
4462 (pasteSelection): adjust
4464 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4465 Buffer const * as arg
4467 * ParagraphList.C (erase): new function
4468 * paragraph_funcs.C (mergeParagraph): use it
4469 (mergeParagraph): make it take a Buffer* instead of a
4470 BufferParams* as arg
4472 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4474 (breakParagraphConservative): ditto
4476 * paragraph.h: remove the breakParagraph friend
4478 * paragraph.C (eraseIntern): new function
4479 (setChange): new function
4481 * paragraph_funcs.C (mergeParagraph): make it take a
4482 ParagraphList::iterator instead of a Paragraph *, adjust
4485 * paragraph.h: move an #endif so that the change tracking stuff
4486 also works in the NO_NEXT case.
4488 2003-03-04 Angus Leeming <leeming@lyx.org>
4491 * LyXAction.C: new LFUN_INSET_MODIFY.
4493 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4494 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4496 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * several files: ws changes only
4500 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4501 (TeXEnvironment): ditto
4504 * buffer.C (makeLaTeXFile): adjust
4505 (latexParagraphs): make it take ParagraphList::iterator as args
4507 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4509 * buffer.C (latexParagraphs): adjust
4511 * paragraph.C (TeXOnePar): move function...
4512 (optArgInset): move function...
4513 (TeXEnvironment): move function...
4514 * paragraph_pimpl.C (TeXDeeper): move function...
4515 * paragraph_funcs.C: ...here
4517 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4519 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * buffer.C (readInset): remove compability code for old Figure and
4524 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * buffer.C: ws changes
4529 * BufferView_pimpl.C: ditto
4532 * bufferlist.h: ditto
4536 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4538 * converter.[Ch]: split into itself +
4541 * Makefile.am: += graph.[Ch] + format.[Ch]
4548 * lyxrc.C: added #include "format.h"
4550 2003-02-27 Angus Leeming <leeming@lyx.org>
4552 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4555 * factory.C (createInset): add "label" to the factory.
4557 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4558 string and do no more.
4560 2003-02-27 Angus Leeming <leeming@lyx.org>
4563 * LyXAction.C (init):
4564 * factory.C (createInset):
4565 * BufferView_pimpl.C (dispatch):
4566 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4568 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4570 * lyxfunc.C (dispatch):
4571 * text3.C (dispatch): pass name to params2string.
4573 2003-02-26 Angus Leeming <leeming@lyx.org>
4575 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4577 Rearrange the ~includes. Strip out the unnecessary ones.
4579 * factory.C (createInset): reformat.
4580 create new insets for the various LFUN_XYZ_APPLY lfuns.
4582 2003-02-26 John Levon <levon@movementarian.org>
4585 * lyxrow.C: add isParStart,isParEnd helpers
4587 * paragraph.h: make isInserted/DeletedText take refs
4589 * paragraph_funcs.h:
4590 * paragraph_funcs.C: remove #if 0'd code
4595 * text.C: use lyxrow helpers above.
4596 Move draw and paint routines to RowPainter.
4597 Make several methods use refs not pointers.
4598 Make backgroundColor() const.
4599 Add markChangeInDraw(), isInInset().
4600 Merge changeRegionCase into changeCase.
4601 Make workWidth() shouldn't-happen code into an Assert.
4604 * rowpainter.C: new class for painting a row.
4607 * vspace.C: make inPixels take a ref
4609 2003-02-26 Angus Leeming <leeming@lyx.org>
4611 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4614 2003-02-25 John Levon <levon@movementarian.org>
4616 * ispell.C: give the forked command a more accurate name
4618 2003-02-22 John Levon <levon@movementarian.org>
4621 * toc.C: make TocItem store an id not a Paragraph *
4624 2003-02-21 Angus Leeming <leeming@lyx.org>
4626 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4627 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4628 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4629 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4630 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4631 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4633 * BufferView_pimpl.C (dispatch):
4634 * LyXAction.C (init):
4635 * factory.C (createInset):
4636 * lyxfunc.C (getStatus, dispatch):
4637 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4639 2003-02-21 Angus Leeming <leeming@lyx.org>
4641 * BufferView_pimpl.C (MenuInsertLyXFile):
4642 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4643 * lyxfunc.C (menuNew, open, doImport):
4644 no longer pass a LyXView & to fileDlg.
4646 2003-02-21 Angus Leeming <leeming@lyx.org>
4648 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4649 * LyXAction.C: change, BIBKEY to BIBITEM.
4650 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4651 Change InsetBibKey to InsetBibitem.
4652 Change BIBKEY_CODE to BIBITEM_CODE.
4653 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4654 * factory.C: replace insetbib.h with insetbibitem.h.
4655 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4656 * paragraph.C: replace insetbib.h with insetbibitem.h.
4657 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4658 Change bibkey() to bibitem().
4659 * text.C: remove insetbib.h.
4660 * text2.C: replace insetbib.h with insetbibitem.h.
4661 change bibkey() to bibitem().
4662 * text3.C: remove insetbib.h.
4663 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4665 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4667 * lyxrc.C (output): enclose user email in quotes (in case there are
4670 2003-02-18 John Levon <levon@movementarian.org>
4672 * buffer.h: add std::
4674 2003-02-17 John Levon <levon@movementarian.org>
4680 * pspell.C: reworking. Especially in ispell, a large
4681 number of clean ups and bug fixes.
4683 * lyxfunc.C: fix revert to behave sensibly
4685 2003-02-17 André Pönitz <poenitz@gmx.net>
4688 * commandtags.h: new LFUN_INSERT_BIBKEY
4698 * paragraph_func.C: remove special bibkey handling
4700 2003-02-17 John Levon <levon@movementarian.org>
4702 * text.C (Delete): fix case where delete at the end of
4703 the very first paragraph would not merge the pars
4705 2003-02-17 John Levon <levon@movementarian.org>
4707 * lyxrow.C: fix lastPrintablePos()
4709 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4711 * bufferparams.C (writeLaTeX): add a std:here
4713 * buffer.C: and remove a using directive there
4715 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4717 * buffer.C (makeLaTeXFile): move the code that generates the
4720 * bufferparams.C (writeLaTeX): ... in this new method
4722 * LaTeXFeatures.C (getEncodingSet): make const
4723 (getLanguages): make const
4725 * MenuBackend.C (binding): returns the binding associated to this
4727 (add): sets the status of each item by calling getStatus. Adds
4729 (read): add support for OptSubMenu
4730 (expand): remove extra separator at the end of expanded menu
4732 2003-02-15 John Levon <levon@movementarian.org>
4735 * BufferView_pimpl.C:
4737 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4738 inset code that had no actual effect. Remove unneeded status
4741 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4743 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4746 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4748 * text.C (drawLengthMarker): also draw an arrow marker for
4749 symbolic lengths (medskip...)
4751 2003-02-14 John Levon <levon@movementarian.org>
4754 * tabular.C: better method names
4756 2003-02-14 John Levon <levon@movementarian.org>
4758 * BufferView_pimpl.C:
4763 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4764 it's a more accurate name. Remove some pointless uses.
4766 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4768 * text2.C (LyXText): change order of initilizers to shut off
4771 2003-02-14 John Levon <levon@movementarian.org>
4773 * buffer.C: use ParIterator for getParFromID()
4777 * paragraph_pimpl.h:
4778 * paragraph_pimpl.C: remove unused getParFromID()
4780 2003-02-14 John Levon <levon@movementarian.org>
4782 * buffer.C: remove some very old #if 0'd parse code
4784 2003-02-13 John Levon <levon@movementarian.org>
4788 * text2.C: move hfillExpansion(), numberOfSeparators(),
4789 rowLast(), rowLastPrintable(), numberofHfills(),
4790 numberOfLabelHfills() ...
4793 * lyxrow.C: ... to member functions here.
4798 * text.C: remove LyXText::beginningOfMainBody(), and call
4799 p->beginningOfMainBody() directly. Move the check for
4800 LABEL_MANUAL into the latter.
4807 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4813 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4814 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4816 2003-02-13 John Levon <levon@movementarian.org>
4818 * CutAndPaste.C: remove debug
4820 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4822 * paragraph.C (asString): remove two unused variables
4824 * lyxtextclass.C (readTitleType):
4826 (LyXTextClass): handle new members titletype_ and titlename_
4828 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4830 2003-02-09 John Levon <levon@movementarian.org>
4833 * buffer.C: replace hand-coded list with a map for the dep clean
4835 2003-02-08 John Levon <levon@movementarian.org>
4837 * LaTeX.C: consolidate code into showRunMessage() helper
4839 2003-02-08 John Levon <levon@movementarian.org>
4844 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4845 and pass the size in explicitly
4847 * BufferView_pimpl.h:
4848 * BufferView_pimpl.C:
4850 * BufferView.C: add getCurrentChange()
4852 * BufferView_pimpl.h:
4853 * BufferView_pimpl.C: handle change lfuns
4855 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4856 for changes. Mark pasted paragraphs as new.
4858 * support/lyxtime.h:
4859 * support/lyxtime.C:
4860 * DepTable.C: abstract time_t as lyx::time_type
4863 * LColor.C: add colours for new text, deleted text, changebars
4865 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4866 package use "usenames" option.
4870 * LyXAction.C: add change lfuns
4874 * author.C: author handling
4877 * buffer.C: add a per-buffer author list, with first entry as
4878 current author. Handle new .lyx tokens for change tracking. Output
4879 author list to .lyx file. Output dvipost stuff to .tex preamble.
4880 Bump lyx format to 222.
4883 * bufferlist.C: add setCurrentAuthor() to reset current author details
4887 * bufferparams.C: add param for tracking
4889 * bufferview_funcs.C: output change info in minibuffer
4893 * changes.C: add change-tracking structure
4896 * debug.C: add CHANGES debug flag
4899 * lyxfind.C: add code for finding the next change piece
4902 * lyxrc.C: add user_name and user_email
4905 * lyxrow.C: add a metric for the top of the text line
4908 * text.C: implement accept/rejectChange()
4911 * text.C: paint changebars. Paint new/deleted text in the chosen
4912 colours. Strike through deleted text.
4916 * paragraph_pimpl.h:
4917 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4918 in the current change to the insert functions. Rework erase to
4919 mark text as deleted, adding an eraseIntern() and a range-based
4920 erase(). Implement per-paragraph change lookup and
4923 * paragraph_funcs.C: Fixup paste for change tracking.
4925 * tabular.C: mark added row/columns as new.
4927 * text.C: fix rowLast() to never return -1. Don't allow
4928 spellchecking of deleted text. Track transpose changes. Don't
4929 allow paragraph break or merge where appropriate.
4931 * text2.C: leave cursor at end of selection after a cut.
4933 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4935 * text.C (getLengthMarkerHeight):
4936 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4937 visible on screen too.
4939 2003-02-07 John Levon <levon@movementarian.org>
4941 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4943 2003-02-05 Angus Leeming <leeming@lyx.org>
4945 * lyxserver.C (read_ready): revert my patch of 11 September last year
4946 as it sends PC cpu through the roof. Presumably this means that
4947 the lyxserver will no longer run on an Alpha...
4949 2003-01-30 Angus Leeming <leeming@lyx.org>
4951 * factory.C (createInset): create an InsetCommandParam of type "index"
4952 and use it to 'do the right thing'.
4954 * text2.C (getStringToIndex): ensure that cursor position is always
4955 reset to the reset_cursor position.
4957 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4959 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4962 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4966 * lyxfunc.C: Output messages with identical spelling, punctuation,
4969 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4971 * MenuBackend.C (expandFormats): List only viewable export formats
4974 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4977 * lyxfunc.C (getStatus): Make sure that formats other than
4978 "fax" can also be disabled
4980 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4982 * text3.C (dispatch): put the lfuns that insert insets in 3
4983 groups, and call doInsertInset with appropriate arguments.
4984 (doInsertInset): new function, that creates an inset and inserts
4985 it according to some boolean parameters.
4987 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * buffer.C (readFile): remember to pass on 'par' when calling
4990 readFile recursively.
4992 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4994 * MenuBackend.C (expandFormats): add "..." to import formats.
4996 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4998 * paragraph.C (asString): Remove XForms RTL hacks.
5000 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5001 * buffer.C: fix typo
5003 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * Makefile.am (LIBS): delete var
5006 (lyx_LDADD): add @LIBS@ here instead.
5008 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5010 * Clarify the meaning of "wheel mouse jump"
5012 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5014 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5017 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5019 * importer.C (Loaders): do not preallocate 3 elements in the
5020 vector, since one ends up with 6 elements otherwise
5022 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5024 * DepTable.C (write): write the file name as last element of the
5025 .dep file (because it may contain spaces)
5026 (read): read info in the right order
5028 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5030 * paragraph_pimpl.C (simpleTeXBlanks):
5031 (simpleTeXSpecialChars):
5032 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5034 * tabular.C (latex): add some missing case statements. Reindent.
5036 * MenuBackend.C (expandToc): remove unused variable.
5038 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5047 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5050 2003-01-05 John Levon <levon@movementarian.org>
5053 * BufferView.C: add getEncoding()
5056 * kbsequence.C: do not store last keypress
5059 * lyxfunc.C: store last keypress here instead. Pass encoding
5062 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5064 * lyx_main.C (init): remove annoying error message when following
5065 symbolic links (bug #780)
5067 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5069 * text.C (insertChar):
5070 * lyxrc.C (getDescription): remove extra spaces
5072 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5074 * lyxrc.C (getDescription): remove extra spaces
5076 2002-12-20 John Levon <levon@movementarian.org>
5078 * text3.C: hack fix for page up/down across tall rows
5080 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5082 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5085 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5087 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5088 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5089 thesaurus is not compiled in
5091 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5093 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5095 2002-12-16 Angus Leeming <leeming@lyx.org>
5098 * lyx_main.C (init): remove override_x_deadkeys stuff.
5100 2002-12-12 John Levon <levon@movementarian.org>
5102 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5103 insert. Only remove shift modifier under strict
5106 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * MenuBackend.C (expandToc): fix crash.
5110 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * MenuBackend.C (expandToc): gettext on float names.
5114 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5116 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5117 implement bool empty() [bug 490]
5119 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5123 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * several files: ws changes
5127 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * text2.C (setCounter): clean up a bit, use boost.format.
5130 (updateCounters): initialize par upon declaration.
5132 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5133 if the layout exists. We do not just store the layout any more.
5134 (SwitchLayoutsBetweenClasses): use boost.format
5136 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5138 * converter.C (convert): if from and to files are the same, use a
5139 temporary files as intermediary
5141 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5144 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5146 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5148 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5150 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * tabular.C (asciiPrintCell): use string(size, char) instead of
5155 * sgml.C (openTag): fix order of arguments to string constructor
5158 * lyxfunc.C (dispatch): use boost.format
5160 * lots of files: change "c" -> 'c'
5162 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5164 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5166 2002-11-25 Angus Leeming <leeming@lyx.org>
5168 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5170 * lyx_main.C (init): compile fix.
5172 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * lyx_cb.C (start): boost.formatify
5175 do not include <iostream>
5177 * lengthcommon.C: ws only
5179 * boost-inst.C,BoostFormat.h: add more explict instantations
5181 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * lots of files: handle USE_BOOST_FORMAT
5185 2002-11-21 John Levon <levon@movementarian.org>
5187 * pspell.C: fix compile
5189 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5191 * lyxfunc.C (dispatch): use boost::format
5195 * lyxfont.C (stateText): use boost::format
5197 * lyx_main.C (LyX): use boost::format
5199 (queryUserLyXDir): ditto
5202 (typedef boost::function): use the recommened syntax.
5204 * importer.C (Import): use boost::format
5206 * debug.C (showLevel): use boost::format
5208 * converter.C (view): use boost::format
5213 * bufferview_funcs.C (currentState): use boost::format
5215 * bufferlist.C (emergencyWrite): use boost::format
5217 * buffer.C (readLyXformat2): use boost::format
5218 (parseSingleLyXformat2Token): ditto
5220 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5222 * LaTeX.C (run): use boost::format
5224 * Chktex.C (scanLogFile): use boost::format
5226 * BufferView_pimpl.C (savePosition): use boost::format
5227 (restorePosition): ditto
5228 (MenuInsertLyXFile): ditto
5230 * BoostFormat.h: help file for explicit instation.
5232 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5234 * tabular.C (latex): Support for block alignment in fixed width
5237 2002-11-17 John Levon <levon@movementarian.org>
5239 * BufferView_pimpl.C:
5241 * lyxfunc.C: split filedialog into open/save
5243 2002-11-08 Juergen Vigna <jug@sad.it>
5245 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5246 by my last patch (hopefully).
5248 2002-11-08 John Levon <levon@movementarian.org>
5257 * toc.C: ParConstIterator, and use it (from Lars)
5259 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5261 * lyxtextclass.[Ch]: revise and add doxygen comments
5263 2002-11-07 John Levon <levon@movementarian.org>
5265 * text.C: fix progress value for spellchecker
5267 * toc.C: fix navigate menu for insetwrap inside minipage
5269 * paragraph_funcs.C: added FIXME for suspect code
5271 2002-11-07 John Levon <levon@movementarian.org>
5273 * BufferView_pimpl.C: fix redrawing of insets
5276 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5278 * text2.C (updateCounters): fix bug 668
5280 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5282 * text3.C (dispatch): Do not make the buffer dirty when moving the
5285 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * vc-backend.C: STRCONV
5290 * text2.C (setCounter): STRCONV
5292 * paragraph.C (asString): STRCONV
5294 * lyxlength.C (asString): STRCONV
5295 (asLatexString): ditto
5297 * lyxgluelength.C (asString): STRCONV
5298 (asLatexString): ditto
5300 * lyxfunc.C (dispatch): STRCONV
5303 * lyxfont.C (stateText): STRCONV
5305 * importer.C (Import): STRCONV
5307 * counters.C (labelItem): STRCONV
5308 (numberLabel): ditto
5309 (numberLabel): remove unused ostringstream o
5314 * bufferview_funcs.C (currentState): STRCONV
5316 * buffer.C (readFile): STRCONV
5317 (asciiParagraph): ditto
5318 (makeLaTeXFile): ditto
5320 * Spacing.C (writeEnvirBegin): STRCONV
5322 * LaTeXFeatures.C (getLanguages): STRCONV
5323 (getPackages): ditto
5325 (getBabelOptions): ditto
5326 (getTClassPreamble): ditto
5327 (getLyXSGMLEntities): ditto
5328 (getIncludedFiles): ditto
5332 (scanAuxFile): ditto
5335 * LString.h: add the STRCONV macros
5337 * BufferView_pimpl.C (savePosition): STRCONV
5338 (restorePosition): ditto
5339 (MenuInsertLyXFile): ditto
5341 * vc-backend.C (scanMaster): change from submatch[...] to
5344 * funcrequest.C: include config.h
5346 * factory.C: include config.h
5348 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5350 * box.C: include config.h
5352 * LaTeX.C (scanAuxFile): change from submatch[...] to
5356 2002-10-25 Angus Leeming <leeming@lyx.org>
5358 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5360 * ispell.[Ch] (setError): new method.
5361 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5362 Use setError() insetead of goto END.
5364 * lyx_cb.C (AutoSave): move out child process into new class
5367 2002-10-30 John Levon <levon@movementarian.org>
5369 * text3.C: make start appendix undoable
5371 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5373 * lyxlength.C (inPixels): Fix returned value.
5375 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5378 2002-10-24 Angus Leeming <leeming@lyx.org>
5380 * lyxgluelength.h: no need to forward declare BufferParams
5381 or BufferView, so don't.
5383 2002-10-21 John Levon <levon@movementarian.org>
5385 * BufferView.C: menuUndo ->undo, redo
5387 * BufferView.h: document, remove dead, make some methods private
5389 * paragraph_funcs.h:
5390 * paragraph_funcs.C:
5391 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5396 * sgml.C: move sgml open/close tag into sgml.C
5398 * bufferview_funcs.h: unused prototype
5401 * lyxfunc.C: remove unused
5404 * text.C: remove unused
5406 2002-10-21 John Levon <levon@movementarian.org>
5410 * BufferView_pimpl.h:
5411 * BufferView_pimpl.C: fix mouse wheel handling based on
5412 patch from Darren Freeman
5414 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5416 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5418 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5420 * lyxlength.C (inPixels): Fix hanfling of negative length.
5421 Fix LyXLength::MU case.
5423 2002-10-16 John Levon <levon@movementarian.org>
5425 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5427 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5429 * converter.C (view): add support for $$i (file name) and $$p
5430 (file path) for the viewer command. If $$i is not specified, then
5431 it is appended to the command (for compatibility with old syntax)
5433 2002-10-14 Juergen Vigna <jug@sad.it>
5435 * undo_funcs.C (textHandleUndo): alter the order in which the
5436 new undopar is added to the LyXText, as we have to set first
5437 the right prev/next and then add it as otherwise the rebuild of
5438 LyXText is not correct. Also reset the cursor to the right paragraph,
5439 with this IMO we could remove the hack in "redoParagraphs()".
5441 2002-10-09 Angus Leeming <leeming@lyx.org>
5443 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5444 to turn off an optimisation if a new inset is to be inserted.
5446 2002-10-11 André Pönitz <poenitz@gmx.net>
5448 * lyxtext.h: make some functions public to allow access
5449 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5451 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5453 * text3.C (dispatch): when changing layout, avoid an infinite loop
5456 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5458 * lyxrc.C (read): treat a viewer or converter command of "none" as
5461 * MenuBackend.C (expandFormats): for an update, also allow the
5462 formats that are not viewable
5464 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5465 script if it is newer than the lyxrc.defaults in user directory
5467 2002-10-07 André Pönitz <poenitz@gmx.net>
5469 * text.C: Vitaly Lipatov's small i18n fix
5471 2002-09-25 Angus Leeming <leeming@lyx.org>
5473 * ispell.h: doxygen fix.
5475 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5477 * buffer.h (readFile): Add a new argument to the method, to allow
5478 reading of old-format templates.
5480 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5482 * toc.C (getTocList): Get TOC from InsetWrap.
5484 2002-09-16 John Levon <levon@movementarian.org>
5486 * lyxfunc.C: check tabular for cut/copy too
5488 2002-09-12 John Levon <levon@movementarian.org>
5493 * factory.C: add header
5495 * paragraph_funcs.h:
5496 * paragraph_funcs.C: cleanup
5498 2002-09-11 John Levon <levon@movementarian.org>
5500 * PrinterParams.h: odd/even default to true
5502 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5504 * PrinterParams.h: update printer parameters for new xforms dialog
5506 2002-09-11 Angus Leeming <leeming@lyx.org>
5508 * lyxserver.C (read_ready): re-write to make it more transparent
5509 and to make it work in coherent fashion under Tru64 Unix.
5511 2002-09-11 André Pönitz <poenitz@gmx.net>
5515 * text3.C: implement LFUN_WORDSEL
5517 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5520 make floatlist_ a boost::shared_ptr<FloatList>
5522 * lyxtextclass.C: include FloatList.h
5523 (LyXTextClass): initialize floatlist_
5524 (TextClassTags): add TC_NOFLOAT
5525 (Read): match "nofloat" to TC_NOFLOAT and use it.
5526 (readFloat): modify call to floatlist_
5530 * FloatList.[Ch] (FloatList): remove commented out float
5532 (erase): new function
5534 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5536 * MenuBackend.C (expandToc): fix crash when there is no document
5539 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5541 * many files: Add insetwrap.
5543 2002-09-09 John Levon <levon@movementarian.org>
5545 * text2.C: remove confusing and awkward depth wraparound
5547 2002-09-09 John Levon <levon@movementarian.org>
5549 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5552 * buffer.C: remove getIncludeonlyList()
5555 * lyxfunc.C: remove headers
5557 2002-09-09 Juergen Vigna <jug@sad.it>
5559 * text.C (getColumnNearX): fix form Michael this is most
5560 probably a cut&paste bug.
5562 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5566 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5567 references, ws changes.
5569 * text2.C (init): update counters after init
5570 (insertParagraph): no need to set counter on idividual paragraphs.
5571 (setCounter): access the counters object in the textclass object
5572 on in the buffer object.
5573 (updateCounters): ditto
5575 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5576 shared_ptr<Counters> to avoid loading counters.h in all
5578 (LyXTextClass): initialize ctrs_
5579 (TextClassTags): add TC_COUNTER, and ...
5580 (Read): use it here.
5581 (CounterTags): new tags
5582 (readCounter): new function
5583 (counters): new funtion
5584 (defaultLayoutName): return a const reference
5586 * counters.C (Counters): remove contructor
5587 (newCounter): remove a couple of unneeded statements.
5588 (newCounter): simplify a bit.
5589 (numberLabel): some small formatting changes.
5591 * buffer.[Ch]: remove all traces of counters, move the Counters
5592 object to the LyXTextClass.
5594 2002-09-06 Alain Castera <castera@in2p3.fr>
5596 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5597 package to set the horizontal alignment on fixed width columns.
5600 * lyx_sty.h: added tabularnewline macro def.
5602 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5604 2002-09-06 John Levon <levon@movementarian.org>
5606 * LyXAction.C: tooltips for sub/superscript
5608 * MenuBackend.C: a bit more verbose
5610 * lyxfunc.C: tiny clean
5612 * undo_funcs.C: document undo_frozen
5614 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * counters.C (Counters): add missing algorithm counter.
5618 * text2.C (setCounter): lookup the counter with layouts latexname
5619 instead of by section number.
5620 (setCounter): use a hackish way to lookup the correct enum
5622 a float name->type change
5623 reset enum couners with counter name directly instead of depth value.
5625 * counters.C (Counters): remove the push_backs, change to use the
5626 float type not the float name.
5627 (labelItem): remove unused string, float name->type change
5629 * counters.h: don't include vector, loose the enums and sects vectors
5631 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5634 (Read): add float->TC_FLOAT to textclassTags
5635 (Read): and handle it in the switch
5636 (readFloat): new function
5638 * FloatList.C (FloatList): comment out the hardcoded float
5641 * lyxlayout.h: ws change.
5643 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5645 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5647 2002-09-03 Angus Leeming <leeming@lyx.org>
5649 * BufferView_pimpl.h: qualified name is not allowed in member
5650 declaration: WorkArea & Pimpl::workarea() const;
5652 * factory.C: added using std::endl directive.
5654 * text3.C: added using std::find and std::vector directives.
5656 2002-08-29 André Pönitz <poenitz@gmx.net>
5659 * text2.C: remove unused member number_of_rows
5662 * BufferView2.C: remove file, move contents to...
5663 * BufferView.C: ... here
5665 * BufferView_pimpl.C:
5666 * factory.C: move more inset creation to factory
5668 * vspace.C: avoid direct usage of LyXText, ws changes
5671 don't provide direct access to WorkArea, use two simple
5672 acessors haveSelction() and workHeight() instead
5675 2002-08-29 John Levon <levon@movementarian.org>
5677 * BufferView_pimpl.C (dispatch): do not continue when
5680 2002-08-28 André Pönitz <poenitz@gmx.net>
5682 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5685 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5687 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5689 * buffer.C: increment LYX_FORMAT to 221
5691 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5692 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5694 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5696 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5698 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5700 * factory.C (createInset): use LyXTextClass::floats
5702 * MenuBackend.C (expandFloatListInsert):
5703 (expandFloatInsert):
5706 * text2.C (setCounter):
5708 * LaTeXFeatures.C (useFloat):
5709 (getFloatDefinitions):
5711 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5713 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5714 floatlist_, with accessor floats().
5716 * FloatList.h: remove global FloatList
5718 2002-08-26 André Pönitz <poenitz@gmx.net>
5720 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5724 * BufferView_pimpl.C:
5725 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5727 2002-08-25 John Levon <levon@movementarian.org>
5729 * LyXAction.C: fix margin note description
5731 2002-08-24 John Levon <levon@movementarian.org>
5735 * bufferview_funcs.C:
5737 * undo_funcs.C: cleanups
5739 * lyxfunc.C: disable CUT/COPY when no selection
5741 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5743 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5744 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5746 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5747 Add backward compatibility to "mono", "gray" and "no".
5749 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5751 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5752 (and file_format >= 200).
5754 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5756 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5758 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5760 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5762 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5764 * BufferView_pimpl.C:
5771 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5772 inset and code to make it work with the paragraph code. The inset
5773 can be anywhere in the paragraph, but will only do the expected
5774 thing in LaTeX if the layout file contains the parameter line
5776 (or more generally, a nonzero value) for that layout.
5778 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * paragraph.h: remove the declaration of undefined counters class
5783 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5785 * text2.C (setCounter): fixed enumeration mis-count as reported by
5786 Dr. Richard Hawkins.
5788 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5790 * paragraph_funcs.h: remove some unneeded includes
5792 * text.C (backspace): pasteParagraph now in global scipe
5794 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5795 (pasteSelection): ditto
5797 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5798 * paragraph_funcs.C (pasteParagraph): ... here
5800 2002-08-20 André Pönitz <poenitz@gmx.net>
5802 * commandtags.h: new LFUNs for swapping/copying table row/colums
5805 * lyxfunc.C: support for new lfuns
5807 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * buffer.[Ch]: remove NO_COMPABILITY stuff
5812 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * boost.C (throw_exception): new file, with helper function for
5815 boost compiled without exceptions.
5820 * ParameterStruct.h:
5821 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5823 * bufferlist.C (emergencyWriteAll): use boost bind
5825 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5827 * text.C: include paragraph_funcs.h
5828 (breakParagraph): breakParagraph is now in global scope
5830 * paragraph_funcs.[Ch]: new files
5832 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5835 * buffer.C: include paragraph_funcs.h
5836 (insertStringAsLines): breakParagraph is now in global scope
5838 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5841 * CutAndPaste.C: include paragraph_funcs.h
5842 (cutSelection): breakParagraphConservative is now in global scope
5843 (pasteSelection): ditto
5845 * buffer.h: declare oprator== and operator!= for
5846 Buffer::inset_iterator
5848 * bufferlist.C (emergencyWrite): don't use fmt(...)
5850 * text3.C: add using std::endl
5852 * BufferView.C (moveCursorUpdate): remove default arg
5854 2002-08-20 André Pönitz <poenitz@gmx.net>
5856 * buffer.[Ch]: move inline functions to .C
5859 * BufferView_pimpl.C:
5861 * buffer.[Ch]: use improved inset_iterator
5864 * paragraph.[Ch]: write one paragraph at a time
5866 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5868 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5869 style if style is not specified.
5871 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5873 * text2.C (setCounter): when searching for right label for a
5874 caption, make sure to recurse to parent insets (so that a caption
5875 in a minipage in a figure float works) (bug #568)
5877 2002-08-20 André Pönitz <poenitz@gmx.net>
5879 * text3.C: new file for LyXText::dispatch() and helpers
5881 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5883 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5885 2002-08-19 André Pönitz <poenitz@gmx.net>
5888 * text.C: new LyXText::dispatch()
5890 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5892 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5894 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5896 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5899 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5901 * Makefile.am: use $(variables) instead of @substitutions@
5903 2002-08-15 André Pönitz <poenitz@gmx.net>
5906 * BufferView_pimpl.C: streamlining mathed <-> outer world
5910 * LyXAction.C: remove unused LFUN_MATH
5912 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5916 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * paragraph.C (Paragraph): reformat a bit
5919 (cutIntoMinibuffer): use builtin InsetList function instad of
5923 * buffer.C: include boost/bind.hpp, add using std::for_each
5924 (writeFileAscii): use ParagraphList iterators
5925 (validate): use for_each for validate traversal of paragraphs
5926 (getBibkeyList): use ParagraphList iterators
5927 (resizeInsets): use for_each to resizeInsetsLyXText for all
5929 (getParFromID): use ParagraphList iterators
5931 * BufferView2.C (lockInset): use paragraph list and iterators
5933 2002-08-14 John Levon <levon@movementarian.org>
5935 * lyxserver.C: remove spurious xforms include
5937 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5939 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5941 2002-08-13 André Pönitz <poenitz@gmx.net>
5944 * lyxfunc.C: further cleaning
5946 2002-08-13 André Pönitz <poenitz@gmx.net>
5948 * funcrequest.h: new constructor
5950 * funcrequest.C: move stuff here from .h
5953 * BufferView_pimpl.C:
5956 * lyxfunc.C: subsequent changes
5958 * lyxfunc.h: new view() member function
5960 * lyxfunc.C: subsequent changes
5962 2002-08-13 Angus Leeming <leeming@lyx.org>
5965 * BufferView_pimpl.C:
5973 changes due to the changed LyXView interface that now returns references
5974 to member variables not pointers.
5976 2002-08-13 Angus Leeming <leeming@lyx.org>
5978 * WordLangTuple (word, lang_code): return references to strings,
5983 * lyxtext.h: forward-declare WordLangTuple.
5988 * text.C: #include "WordLangTuple.h".
5991 * text.C: (selectNextWordToSpellcheck): constify return type.
5993 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5999 * paragraph_pimpl.h:
6002 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6004 Made updateCounter always count from start of buffer, and removed
6005 second argument (par).
6006 Reverted floats number display to '#'. Perhaps I'll try again when the
6007 code base is sanitized a bit.
6009 2002-08-12 Angus Leeming <leeming@lyx.org>
6011 * buffer.[Ch] (getLabelList): constify.
6013 2002-08-07 André Pönitz <poenitz@gmx.net>
6015 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6017 * funcrequest.h: extension to keep mouse (x,y) position
6019 2002-08-12 Juergen Vigna <jug@sad.it>
6021 * BufferView2.C (insertErrors): forbid undo when inserting error
6024 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6026 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * ParagraphList.[Ch]: new files
6030 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6032 * BufferView2.C (lockInset): ParagraphList changes
6035 * bufferlist.C: ditto
6039 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6042 unused class variable counter_,
6044 * paragraph.[Ch] (getFirstCounter): delete unused function
6046 * counters.C: include LAssert.h
6047 (reset): add a new function with no arg, change other version to
6048 not have def. arg and to not allow empty arg.
6050 * text2.C (setCounter): remove empty arg from call to Counters::reset
6052 2002-08-11 John Levon <levon@movementarian.org>
6054 * Makefile.am: add WordLangTuple.h
6056 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6058 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6059 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6061 * insets/insettext.C: InsetList changes
6063 * graphics/GraphicsSupport.C (operator()): InsetList changes
6065 * toc.C (getTocList): InsetList changes
6067 * paragraph_pimpl.[Ch]: InsetList changes
6069 * paragraph.[Ch]: InsetList changes
6071 * buffer.C (inset_iterator): InsetList changes
6072 (setParagraph): ditto
6073 * buffer.h (inset_iterator): ditto
6074 * iterators.C (operator++): ditto
6075 * iterators.h: ditto
6077 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6079 * InsetList.[Ch]: new files, most InsetList handling moved out of
6082 * BufferView2.C (removeAutoInsets): InsetList changes
6084 (ChangeInsets): ditto
6086 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * paragraph_pimpl.h (empty): new function
6090 * paragraph.[Ch] (empty): new function
6092 * other files: use the new Paragraph::empty function
6094 2002-08-09 John Levon <levon@movementarian.org>
6096 * lyxtext.h: remove unused refresh_height
6098 2002-08-09 John Levon <levon@movementarian.org>
6105 * paragraph.C: move sgml char escaping out of paragraph
6108 * paragraph.C: remove id setter
6112 * paragraph_pimpl.C: remove dead tex_code_break_column
6114 * bufferview_funcs.C: small cleanup
6116 * lyxfunc.C: remove dead proto
6118 * lyxtext.h: make some stuff private. Remove some dead stuff.
6120 * lyxgluelength.C: make as[LyX]String() readable
6122 2002-08-08 John Levon <levon@movementarian.org>
6127 * ToolbarDefaults.C:
6130 * toc.C: lyxaction cleanup
6132 2002-08-08 John Levon <levon@movementarian.org>
6134 * BufferView2.C: small cleanup
6137 * lyxfind.C: move unnecessary header into the .C
6139 2002-08-08 John Levon <levon@movementarian.org>
6141 * funcrequest.h: just tedious nonsense
6144 * lyx_main.C: cleanups
6147 * vspace.C: remove dead header lyx_main.h
6149 2002-08-07 Angus Leeming <leeming@lyx.org>
6152 * paragraph_pimpl.h:
6153 Forward declare class Counters in paragraph.h by moving the ctrs member
6154 variable into Paragraph::Pimpl.
6155 (counters): new method, returning a reference to pimpl_->ctrs.
6157 * text2.C: ensuing changes.
6159 2002-08-07 John Levon <levon@movementarian.org>
6161 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6163 * BufferView_pimpl.C: announce X selection on double/triple
6166 * lyx_main.C: use correct bool in batch dispatch
6168 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6170 2002-08-07 André Pönitz <poenitz@gmx.net>
6172 * funcrequest.h: new class to wrap a kb_action and its argument
6175 * BufferView_pimpl[Ch]:
6179 * lyxrc.C: subsequent changes
6182 2002-08-07 John Levon <levon@movementarian.org>
6184 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6185 document options change.
6187 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6192 * makefile.am: move counters functionality over from
6193 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6195 2002-08-06 John Levon <levon@movementarian.org>
6197 * WordLangTuple.h: new file for word + language code tuple
6208 * BufferView2.C: use WordLangTuple
6211 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6213 2002-08-06 John Levon <levon@movementarian.org>
6215 * lyx_main.C: fix cmdline batch handling
6217 2002-08-06 André Pönitz <poenitz@gmx.net>
6219 * lyxrc.C: set default for show_banner to true
6221 2002-08-06 John Levon <levon@movementarian.org>
6223 * pspell.C: fix a crash, and allow new aspell to work
6225 2002-08-06 John Levon <levon@movementarian.org>
6228 * kbmap.C: small cleanup
6231 * vspace.C: add const
6233 2002-08-05 John Levon <levon@movementarian.org>
6235 * LyXAction.C: back to tabular-insert
6237 2002-08-04 John Levon <levon@movementarian.org>
6240 * BufferView.C: cosmetic change
6242 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6252 * BufferView2.C: purge all "Lyx" not "LyX" strings
6255 * lyxcursor.C: attempt to add some documentation
6260 * ToolbarDefaults.C:
6261 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6262 merge with LFUN_TABULAR_INSERT
6269 * pspell.C: split up i/pspell implementations into separate
6270 files, many cleanups
6272 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6274 * text2.C: some cleanup
6276 * lyxfunc.C: don't check for isp_command == "none" any more, it
6277 didn't make any sense
6279 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6284 * makefile.am: move counters functionality over
6285 from text2.C/paragraph.[Ch] to counters.[Ch], and
6287 2002-08-02 John Levon <levon@movementarian.org>
6289 * buffer.C: s/lyxconvert/lyx2lyx/
6291 2002-08-02 Angus Leeming <leeming@lyx.org>
6293 * lyxlex.C: revert John's change as it breaks reading of the user
6296 2002-08-02 Angus Leeming <leeming@lyx.org>
6298 * importer.C (Import):
6299 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6300 changes due to LyXView::view() now returning a boost::shared_ptr.
6302 2002-08-02 John Levon <levon@movementarian.org>
6304 * lyxlex.C: small cleanup
6306 2002-08-02 John Levon <levon@movementarian.org>
6308 * text2.C (status): small cleanup, no logic change
6310 2002-08-01 John Levon <levon@movementarian.org>
6313 * buffer.C (writeFile): don't output alerts, caller
6317 * lyx_cb.C: from above
6319 * lyxfunc.C: allow to open non-existent files
6321 2002-07-31 John Levon <levon@movementarian.org>
6323 * lyxserver.C: don't let incidental errors get
6326 2002-07-30 John Levon <levon@movementarian.org>
6328 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6330 2002-07-30 John Levon <levon@movementarian.org>
6333 * lyxserver.C: remove I/O callback too
6335 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6337 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6340 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6342 * many files: strip,frontStrip -> trim,ltrim,rtrim
6344 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6346 * PrinterParams.h: remove extern containsOnly, and include
6347 support/lstrings.h instead.
6349 * LaTeX.C (scanAuxFile): modify because of strip changes
6351 * buffer.C (makeLaTeXFile): ditto
6352 * bufferparams.C (writeFile): ditt
6353 * lyxfont.C (stateText): ditto
6354 * lyxserver.C (read_ready): ditto
6355 * vc-backend.C (scanMaster): ditto
6357 * BufferView_pimpl.h: ws changes
6359 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6361 2002-07-26 André Pönitz <poenitz@gmx.net>
6363 * kb_sequence.C: remove unnedred usings
6365 2002-07-26 Juergen Vigna <jug@sad.it>
6367 * lyxfind.C (LyXReplace): we have to check better if the returned
6368 text is not of theLockingInset()->getLockingInset().
6370 2002-07-25 Juergen Vigna <jug@sad.it>
6372 * lyxfind.C (LyXReplace): don't replace if we don't get the
6375 * undo_funcs.C (createUndo): remove debugging code.
6377 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6379 * buffer.C (parseSingleLyXformat2Token): Use default placement
6380 when reading old floats.
6382 * FloatList.C (FloatList): Change the default placement of figure
6383 and tables to "tbp".
6385 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6387 * MenuBackend.C: using std::max
6389 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6391 * MenuBackend.C (expandToc):
6392 (expandToc2): code moved from xforms menu frontend. It is now
6393 generic and TOCs are transparent to menu frontends.
6395 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6397 * toc.C (getTocList): protect against buf=0
6399 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6400 Menu as first parameter. Now, this calls itself recursively to
6401 expand a whole tree (this will be useful for TOC handling)
6402 (expandFloatInsert): remove 'wide' version of floats
6404 * MenuBackend.h (submenuname): returns the name of the submenu.
6405 (submenu): returns the submenu itself, provided it has been
6406 created by MenuBackend::expand
6408 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6410 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6411 insets which have noFontChange == true. (bug #172)
6413 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6415 * BufferView_pimpl.C: add connection objects and use them...
6418 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6420 * MenuBackend.C (expandLastfiles):
6423 (expandFloatListInsert):
6424 (expandFloatInsert):
6425 (expand): split expand in parts
6427 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6429 * lyx_gui.C: use lyx_gui::exit()
6431 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6433 * LyXAction.C: show the failing pseudo action
6435 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6437 * buffer.C (readFile): Run the lyxconvert script in order to read
6440 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6444 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6446 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6450 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6452 2002-07-22 Herbert Voss <voss@lyx.org>
6455 * lyxlength.[Ch]: add support for the vertical lengths
6457 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6459 * toc.[Ch]: std:: fixes
6461 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6463 * lyxrc.C: do not include lyx_main.h
6465 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6471 * BufferView2.C: include "lyxlex.h"
6474 * bufferparams.h: do not #include "lyxlex.h"
6476 * lyxtextclasslist.C (Add): remove method
6477 (classlist): renamed to classlist_
6479 * paragraph_pimpl.C:
6483 * bufferview_funcs.C:
6488 * toc.C (getTocList): use BufferParams::getLyXTextClass
6490 * toc.C (getTocList): use InsetFloat::addToToc
6492 * toc.[Ch]: new files, containing helper functions to handle table
6495 * lyxfunc.C (dispatch): no need to remove spaces around command
6497 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6498 first command of the sequence; it is not very clever, but I do not
6499 have a better idea, actually
6501 * LyXAction.C (LookupFunc): make sure to remove space at the
6502 beginning and end of the command
6504 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6506 * MenuBackend.C (getMenubar): new method: return the menubar of
6508 (read): treat differently reading of menu and menubar (in
6509 particular, the menubar has no name now)
6510 (Menu::menubar): remove
6512 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6515 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6517 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6518 a bibitem inset in a RTL paragraph.
6520 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6522 * paragraph_pimpl.C: constify
6524 * BufferView_pimpl.C:
6526 * lyxfunc.C: fix dispatch in a nicer way
6528 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6530 * lyxfunc.C (dispatch):
6531 * BufferView_pimpl.C:
6532 * BufferView_pimpl.h:
6534 * BufferView.h: rename Dispatch() to dispatch()
6536 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6538 * lyxlayout.C (Read): honor DependsOn tag
6540 * lyxlayout.[Ch] (depends_on): new method
6542 * version.C.in: update lyx_docversion
6544 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6546 * paragraph.C (validate): remove from here...
6547 * paragraph_pimpl.C (validate): ... and move here
6548 (isTextAt): make it const
6550 * buffer.C (getLists): ws cleanup
6552 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6554 * language.C (read): Use iso8859-1 encoding in latex_lang
6555 (this prevents LyX from crashing when using iso10646-1 encoding).
6557 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6559 * text2.C (toggleInset): if cursor is inside an inset, close the
6560 inset and leave cursor _after_ it
6562 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6564 * lyxfunc.C: move minibuffer completion handling out of here
6566 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6568 * BufferView_pimpl.C:
6569 * LaTeX.C: fix dispatch calls
6571 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6573 * text.C (drawChars): Fix Arabic text rendering.
6575 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6579 * lyxfunc.C: remove message-push/pop
6583 * lyxfunc.C: rationalise some code by removing verboseDispatch
6584 in favour of a bool argument to dispatch()
6586 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6588 * lyx_main.C (init): make sure to read symlinks as absolute paths
6590 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6593 * lyxfunc.C: no need for commandshortcut to be a member
6595 2002-07-15 André Pönitz <poenitz@gmx.net>
6597 * converter.C: add support for $$s (scripts from lib/scripts dir)
6598 * lyx_main.C: white space
6600 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6604 * lyxrc.C: remove second exit confirmation
6606 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6611 * BufferView_pimpl.h:
6612 * BufferView_pimpl.C:
6613 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6615 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6617 * MenuBackend.C (expand): add numeric shortcuts to document menu
6619 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6621 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6623 * lyxfont.C (setLyXFamily):
6630 * buffer.C (asciiParagraph): use ascii_lowercase
6632 2002-07-15 Mike Fabian <mfabian@suse.de>
6634 * lyxlex_pimpl.C (search_kw):
6635 * lyxlex.C (getLongString):
6636 * converter.h (operator<):
6637 * converter.C (operator<):
6638 * buffer.C (parseSingleLyXformat2Token):
6640 * ToolbarDefaults.C (read):
6641 * MenuBackend.C (checkShortcuts):
6643 * LColor.C (getFromGUIName):
6644 (getFromLyXName): use the compare_ascii_no_case instead of
6645 compare_no_case, because in turkish, 'i' is not the lowercase
6646 version of 'I', and thus turkish locale breaks parsing of tags.
6648 2002-07-16 Angus Leeming <leeming@lyx.org>
6650 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6651 now takes a Buffer const & argument.
6653 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6655 * BufferView.C (resize): check there's a buffer to resize
6657 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6659 * lyxfunc.C: remove dead code
6662 * lyxserver.C: use lyx_guii::set_read_callback
6664 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6666 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6667 an inset in a RTL paragraph.
6669 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6671 * lyxfunc.C: repaint after a font size update
6673 2002-07-15 André Pönitz <poenitz@gmx.net>
6675 * lyxlength.C: inBP should be able to return negative values
6677 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6679 * lyxfunc.C: use lyx_gui::update_fonts()
6681 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6683 * lyxfunc.C: use lyx_gui::update_color()
6685 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6691 * lyxrc.C: remove file->new asks for name option, and let
6692 buffer-new take an argument
6694 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6696 * BufferView_pimpl.C: remove unneeded extra repaint()
6698 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6700 * LyXAction.C: allow command-sequence with NoBuffer
6702 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6704 2002-07-10 Angus Leeming <leeming@lyx.org>
6706 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6708 2002-07-09 Angus Leeming <leeming@lyx.org>
6710 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6712 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6714 * lengthcommon.h: whitespace
6716 * lyxfunc.C: update scrollbar after goto paragraph
6718 * lyxtext.h: factor out page break drawing, and fix it so
6719 page break/added space paints as selected nicely
6721 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6723 * BufferView_pimpl.C: add FIXMEs, clean up a little
6725 2002-07-09 André Pönitz <poenitz@gmx.net>
6727 * lyxfont.[Ch]: support for wasy symbols
6729 2002-07-08 André Pönitz <poenitz@gmx.net>
6731 * BufferView_pimpl.C: apply John's patch for #93.
6733 2002-07-05 Angus Leeming <leeming@lyx.org>
6735 * BufferView_pimpl.C (buffer): generate previews if desired.
6737 * LColor.h: add "preview" to the color enum.
6739 * LColor.C (LColor): add a corresponding entry to the items array.
6741 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6744 2002-07-05 Angus Leeming <leeming@lyx.org>
6746 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6747 The body of the code is now in the method that is passed an ostream &
6748 rather than a file name.
6749 Pass an additional only_preamble parameter, useful for the forthcoming
6752 2002-07-03 André Pönitz <poenitz@gmx.net>
6754 * lyxfunc.C: simplify getStatus() a bit for math stuff
6756 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6758 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6760 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6762 * text.C (changeRegionCase): do not change case of all the
6763 document when region ends at paragraph end (bug #461)
6765 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6767 * paragraph.C (startTeXParParams):
6768 (endTeXParParams): add \protect when necessary
6770 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6772 * BufferView_pimpl.C (workAreaExpose): remove warning
6774 2002-06-27 Angus Leeming <leeming@lyx.org>
6776 * Makefile.am: add lyxlayout_ptr_fwd.h.
6778 2002-06-26 André Pönitz <poenitz@gmx.net>
6780 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6782 2002-06-25 Angus Leeming <leeming@lyx.org>
6784 * lyxfunc.C (dispatch): Comment out the call to
6785 grfx::GCache::changeDisplay. The method no longer exists now that the
6786 pixmap generation part of the graphics loader has been moved into
6789 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6791 * text2.C: layout as layout
6793 * text.C: layout as layout
6795 * tabular.C (OldFormatRead): layout as layout
6797 * paragraph_pimpl.C (TeXDeeper): layout as layout
6798 (realizeFont): layout as layout
6800 * paragraph.C (writeFile): layout as layout
6801 (validate): layout as layout
6802 (getFont): layout as layout
6803 (getLabelFont): layout as layout
6804 (getLayoutFont): layout as layout
6805 (breakParagraph): layout as layout
6806 (stripLeadingSpaces): layout as layout
6807 (getEndLabel): layout as layout
6808 (getMaxDepthAfter): layout as layout
6809 (applyLayout): layout as layout
6810 (TeXOnePar): layout as layout
6811 (simpleTeXOnePar): layout as layout
6812 (TeXEnvironment): layout as layout
6813 (layout): layout as layout
6814 (layout): layout as layout
6816 * lyxtextclass.C (compare_name): new functor to work with
6817 shared_ptr, layout as layout
6818 (Read): layout as layout
6819 (hasLayout): layout as layout
6820 (operator): layout as layout
6821 (delete_layout): layout as layout
6822 (defaultLayout): layout as layout
6824 * lyxlayout_ptr_fwd.h: new file
6826 * lyxlayout.C (Read): layout as layout
6828 * lyx_cb.C (MenuInsertLabel): layout as layout
6830 * bufferlist.C (newFile): layout as layout
6832 * buffer.C (readLyXformat2): layout as layout
6833 (parseSingleLyXformat2Token): layout as layout
6834 (insertStringAsLines): layout as layout
6835 (asciiParagraph): layout as layout
6836 (latexParagraphs): layout as layout
6837 (makeLinuxDocFile): layout as layout
6838 (simpleLinuxDocOnePar): layout as layout
6839 (makeDocBookFile): layout as layout
6840 (simpleDocBookOnePar): layout as layout
6841 (getLists): layout as layout
6843 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6845 * CutAndPaste.C (cutSelection): layout as layout
6846 (pasteSelection): layout as layout
6847 (SwitchLayoutsBetweenClasses): layout as layout
6849 * BufferView_pimpl.C (Dispatch): layout as layout
6850 (smartQuote): layout as layout
6852 * BufferView2.C (unlockInset): layout as layout
6854 2002-06-24 André Pönitz <poenitz@gmx.net>
6856 * lyxfunc.C: fix #487
6858 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6862 * lyxfunc.C: remove display_shortcuts, show_banner
6864 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6866 * Buffer_pimpl.C: oops, update on resize
6868 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6875 * BufferView.C: use repaint()
6877 * BufferView_pimpl.h:
6878 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6879 as it's a clearer description. Remove superfluous
6882 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6884 * text.C: fix bug 488. Not ideal, but getting
6885 getWord() to work properly for the insets that
6886 matter is more difficult ...
6888 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6890 * BufferView_pimpl.C:
6893 * lyxfunc.C: remove the six million index lyxfuncs to just
6894 one, and DTRT (bug 458)
6896 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6900 * BufferView_pimpl.h:
6901 * BufferView_pimpl.C: clean up resize() stuff,
6902 and unnecessary updateScreen()s
6904 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6908 * BufferView_pimpl.h:
6909 * BufferView_pimpl.C:
6912 * minibuffer.C: remove focus management of workarea,
6913 not needed. Use screen's greyOut()
6915 2002-06-17 Herbert Voss <voss@lyx.org>
6917 * converter.C: (convert) do not post a message, when converting
6918 fails, let the calling function decide what to do in this case
6920 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6922 * lyxfunc.C: tidy up a little
6924 2002-06-16 <alstrup@diku.dk>
6926 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6927 Got rid of FORMS_H_LOCATION include. Now we are
6930 2002-06-15 LyX Development team <lyx@rilke>
6932 * buffer.[Ch] (sgmlOpenTag):
6933 (sgmlCloseTag): Added support for avoiding pernicious mixed
6934 content. Return number of lines written.
6937 (makeDocBookFile): Fixed calls to sgml*Tag.
6938 Simple white space clean.
6940 (simpleDocBookOnePar): Simple white space clean.
6942 * tabular.[Ch] (docBook): Renamed to docbook and got another
6943 argument to related with the pernicious mixed content.
6945 (docbookRow): Fixed calls for docbook inset method.
6947 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6949 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6950 so it's X11 independent.
6954 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6956 2002-06-15 Lyx Development team <lyx@electronia>
6958 * intl.h: Renamed getTrans to getTransManager.
6960 2002-06-14 Angus Leeming <leeming@lyx.org>
6962 * Makefile.am: nuke forgotten stl_string_fwd.h.
6964 2002-06-12 Angus Leeming <leeming@lyx.org>
6966 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6968 2002-06-13 Angus Leeming <leeming@lyx.org>
6971 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6973 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6975 * kbmap.C (getiso): add support for cyrillic and greek
6977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6981 * BufferView_pimpl.h:
6982 * BufferView_pimpl.C: move bogus scrolling logic
6985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6988 * BufferView_pimpl.C: view->resize() change
6990 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6992 * BufferView_pimpl.C: topCursorVisible
6995 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6999 * lyx_gui.C: move to frontends/
7003 * lyx_main.C: changes from above
7005 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7012 * lyx_main.C: minor tidy
7014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7016 * BufferView_pimpl.h:
7017 * BufferView_pimpl.C:
7019 * BufferView.C: make painter() const,
7022 * BufferView2.C: use screen() accessor
7025 * lyx_main.C: some minor cleanup
7027 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7029 * BufferView_pimpl.h:
7030 * BufferView_pimpl.C: remove enter/leaveView,
7033 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7038 * BufferView_pimpl.h:
7039 * BufferView_pimpl.C: only construct screen once,
7042 * lyxrc.C: remove pointless comment
7044 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7047 * BufferView.C: remove active() and belowMouse()
7049 * BufferView_pimpl.h:
7050 * BufferView_pimpl.C: use workarea() not workarea_,
7051 and make it use a scoped_ptr instead
7053 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7055 * lyx_gui.C: add debug message on BadWindow
7057 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7059 * sp_spell.C: fdopen is not part of the C++ standard.
7061 * paragraph.C (InsetIterator): use >= instead of ==
7063 2002-06-07 Angus Leeming <leeming@lyx.org>
7065 Fixes needed to compile with Compaq cxx 6.5.
7066 * BufferView_pimpl.C:
7073 * lyxtextclasslist.C:
7078 all c-library variables have been moved into namespace std. Wrap
7079 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7084 Add a using std::abs declaration.
7086 * kbmap.h (modifier_pair):
7087 * paragraph.h (InsetTable, InsetList):
7088 * lyxfont.h (FontBits):
7089 type definition made public.
7091 * bufferlist.C (emergencyWriteAll): the compiler complains that
7092 there is more than one possible lyx::class_fun template to choose from.
7093 I re-named the void specialisation as lyx::void_class_fun.
7095 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7097 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7098 the compiler is is unable to find tostr in write_attribute.
7100 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7102 * buffer.C (sgmlError): hide #warning
7104 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7106 * xtl/*: get rid of xtl, which is not in use anyway
7108 * LyXAction.C (init):
7109 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7110 were unimplemented xtl experimentation
7112 2002-06-04 André Pönitz <poenitz@gmx.net>
7114 * lyxfunc.C: disable array operation on simple formulae
7116 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7118 * converter.C: constify a bit
7120 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7122 * lyx_gui.C: check xforms version correctly
7124 2002-04-30 Herbert Voss <voss@lyx.org>
7126 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7129 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7131 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7132 attempt to register it with a VCS)
7134 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * lyx_main.C (init): honor variables LYX_DIR_13x and
7139 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7143 * lyx_main.C: fix a crash on bad command line,
7144 and give a useful exit status on error
7146 * lyxfunc.C (doImport): allow -i lyx to work
7148 2002-03-30 André Pönitz <poenitz@gmx.net>
7150 * lyxfunc.C: mathed font changes
7152 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7167 * trans_mgr.h: srcdocs, and some minor cleanups
7169 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7171 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7172 call getFont all the time)
7174 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7176 * switch from SigC signals to boost::signals
7178 2002-05-29 André Pönitz <poenitz@gmx.net>
7180 * paragraph_pimpl.C (getChar): don't call size() too often...
7182 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7184 * paragraph_pimpl.C (insertChar): do not try to update tables when
7185 appending (pos == size())
7187 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7188 in order to reduce drastically the number of comparisons needed to
7189 parse a large document
7191 2002-05-29 André Pönitz <poenitz@gmx.net>
7197 * textclasslist.[Ch]:
7198 * sp_ispell.h: whitespace change
7200 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7202 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7203 lyxaction directly now.
7205 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7209 * lyxvc.C: remove unused headers
7211 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7218 * undo_funcs.C: some cleanups. Use shared_ptr
7219 and a template for the undo stacks.
7221 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7223 * BufferView_pimpl.h:
7224 * BufferView_pimpl.C:
7231 * text2.C: use key_state/mouse_state
7233 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7235 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7238 * chset.C: change include order
7239 (loadFile): use boost regex and get rid of LRegex and LSubstring
7241 * Makefile.am (BOOST_LIBS): new variable
7244 * LaTeX.C: change include order.
7245 (scanAuxFile): use boost regex and get rid of LRegex and
7249 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7254 * FontInfo.C: moved to frontends/xforms/
7257 * FontLoader.C: moved into frontends for GUIIzation
7262 * lyxfunc.C: changes from above
7264 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7266 * LColor.C: remove spurious X include
7268 * BufferView_pimpl.C:
7273 * text2.C: move font metrics to frontends/
7275 2002-05-24 Juergen Vigna <jug@sad.it>
7277 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7278 setting the undo_cursor.
7280 * ParagraphParameters.h: include local includes first.
7282 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7284 * BufferView_pimpl.C:
7285 * BufferView_pimpl.h:
7289 * screen.C: move WorkArea into frontends/
7295 * BufferView2.C: move LyXScreen into frontends/
7299 * lyx_gui.C: move lyxlookup into frontends/xforms/
7301 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7304 * BufferView_pimpl.C:
7314 * bufferview_funcs.C:
7327 * vc-backend.C: move LyX/XFormsView into frontends/
7329 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7341 * text2.C: move Painter to frontends/
7343 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7345 * buffer.C: comment out some some code that depend upon lyx_format
7348 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7349 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7351 * buffer.h (NO_COMPABILITY): turn off compability
7353 * ColorHandler.C: include scoped_array.hpp
7355 * font.C: Use more specific smart_ptr header.
7358 * ShareContainer.h: ditto
7362 * BufferView_pimpl.h: ditto
7363 * ColorHandler.h: ditto
7365 * kbmap.C (defkey): change call to shared_ptr::reset
7367 2002-05-21 Juergen Vigna <jug@sad.it>
7369 * buffer.C (insertErtContents): fix to insert ert asis if it is
7370 non empty. Skip it completely if it contains only whitespaces.
7372 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7374 * BufferView_pimpl.C:
7375 * BufferView2.C: clear selection on paste (bug 393)
7377 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7379 * DepTable.C: include ctime
7381 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7383 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7385 2002-05-14 Juergen Vigna <jug@sad.it>
7387 * text.C (breakParagraph): fixed function to honor the keepempty
7388 layout in the right maner and also to permit the right breaking
7389 algorithm on empty or non empyt keepempty paragraphs.
7391 * paragraph.C (breakParagraph): we have to check also if the par
7392 is really empty (!size()) for isempty otherwise we do the wrong
7395 2002-05-10 Juergen Vigna <jug@sad.it>
7397 * buffer.[Ch] : The following are only changes to the ert
7398 compatibility read reading old LaTeX layout and font stuff and
7399 convert it to ERTInsets.
7401 * buffer.h: added isErtInset().
7403 * buffer.C (struct ErtComp): add a fromlayout bool to check
7404 if we're inside a LaTeX layout.
7405 (isErtInset): new helper function.
7406 (insertErtContents): look for other ert insets before this one
7407 and insert the contents there, so that we don't have subsequent
7408 ERT insets with nothing between them. This way we create only one
7409 inset with multiple paragraphs. Also check if we don't insert only
7410 spaces ' ' as they are ignored anyway afterwards in the .tex file
7411 so if we have only spaces we will ignore this latex part in the
7413 (parseSingleLyXformat2Token \\layout): better compatibility when
7414 reading layout-latex stuff.
7415 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7417 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7418 stuff after reading the inset only get the information back from
7421 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7423 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7425 * LaTeXFeatures.C (getBabelOptions): New method.
7427 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7429 * BufferView_pimpl.C (Dispatch): work around missing argument for
7432 2002-05-08 Juergen Vigna <jug@sad.it>
7434 * text.C (leftMargin): handle paragraph leftindent.
7436 * paragraph.C (writeFile): write the new \\leftindent tag.
7437 (validate): handle leftindent code.
7438 (TeXEnvironment): handle paragraphleftindent code again.
7440 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7442 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7443 for paragrap_extra indent code and new token \\leftindent.
7444 (latexParagraphs): handle the leftindent as environment.
7446 * ParameterStruct.h: added leftindent support.
7448 * ParagraphParameters.C (leftIndent): added support functions for
7449 the paragraph left indent.
7451 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7454 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7456 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7459 * text.C (computeBidiTables): No bidi in insetERT.
7461 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7464 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7466 * version.C.in: pre 5
7468 2002-05-02 José Matos <jamatos@fep.up.pt>
7469 * buffer.C (makeDocBookFile): white space changes, add newline to
7471 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7473 * tabular.C (docBook): fix typo.
7475 2002-05-03 Juergen Vigna <jug@sad.it>
7477 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7478 change in LyXText as we can not be sure it was not freed.
7479 (drawOneRow): remove unused code.
7481 * text.C (drawInset): redo the calculation of the need_break_row as
7482 it could have a row which was already freed.
7483 (draw): look at the return value of drawInset and return false if
7484 it also returned false.
7485 (paintRowText): look at the return value of draw and return false if
7486 it also returned false.
7488 * lyxtext.h: added bool return type to drawInset() and draw() so that
7489 if we have a change in the row so that the rowbreak has to be redone
7490 we abort drawing as it will be called again.
7492 2002-05-02 Juergen Vigna <jug@sad.it>
7494 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7495 a change in the maintext also if we're inside an inset.
7496 (Dispatch): set the cursor again after a break line and after the
7497 screen has been updated as it could be we're in a different row.
7499 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7500 to set the cursor behind the pargraph with > size().
7501 (setCursor): check also for the same paragraph when checking where
7502 to put the cursor if we have a NFR inset.
7504 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7505 parts of layout read further up as it still was in the wrong
7508 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7510 * screen.C (drawFromTo): change sine fullRebreak always return
7513 * buffer.C (parseSingleLyXformat2Token): reindent some
7515 * BufferView_pimpl.C (update): change since fullRebreak always
7517 (Dispatch): git rid of the last hardcoded "Standard"s.
7519 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7521 * text2.[Ch] (fullRebreak): make it return void now that we always
7524 2002-04-30 Juergen Vigna <jug@sad.it>
7526 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7527 ert compatibility check for "latex" layout.
7529 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7531 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7532 minipages: use col% instead of p%, and also use the current font.
7533 (makeLaTeXFile): Fix use babel condition.
7534 (parseSingleLyXformat2Token): Correct font when reading old floats.
7536 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7538 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7539 inserting list of floats.
7541 2002-04-25 Herbert Voss <voss@lyx.org>
7543 * MenuBackend.C (expand): don't add the graphics extensions to the
7546 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7548 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7549 non-existing layout, do not complain if it was the default layout
7550 of the original class (bug #342)
7552 2002-04-24 Juergen Vigna <jug@sad.it>
7554 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7555 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7557 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7559 * buffer.C (getBibkeyList): If using \bibliography, return the
7560 option field with the reference itself. Enables us to provide natbib
7561 support when using \bibliography.
7563 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7565 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7567 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7568 natbib is provided by the LaTeX class.
7570 2002-04-23 Juergen Vigna <jug@sad.it>
7572 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7575 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7577 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7579 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7581 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7582 ensuremath around textordmasculine, textordfeminine and
7585 2002-04-19 Juergen Vigna <jug@sad.it>
7587 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7588 reinitializing the buffer otherwise row-dimensions may be wrong.
7589 (update): reset also the selection cursors if they do exits otherwise
7590 their x/y positions may be wrong.
7592 * text2.C (cursorDown): don't enter the inset if we came from a row
7593 above and are one row over the inset.
7595 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7596 really leaving an inset.
7598 2002-04-18 Juergen Vigna <jug@sad.it>
7600 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7601 of the selected paragraph does not have the selected layout also if
7604 * text2.C (setLayout): fixed bug which did not change last selected
7607 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7608 changed the read and substituted \\end_float with \\end_inset!
7610 * BufferView_pimpl.C (cursorPrevious):
7611 (cursorNext): fixed to make it work with rows heigher than the work
7612 area without moving the cursor only the draw of the row.
7613 (workAreaMotionNotify): fix jumping over high rows.
7615 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7617 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7620 2002-04-16 Juergen Vigna <jug@sad.it>
7622 * text2.C (setCursor): set also the irow().
7623 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7625 (cursorDown): support for locking an inset if the x_fix value goes
7626 inside it. That way I can transverse insets too with cursor up/down.
7628 * lyxrow.h: added irow helper function same as other (i) functions.
7630 * BufferView_pimpl.C (cursorPrevious):
7631 (cursorNext): fixed for insets!
7633 2002-04-15 Juergen Vigna <jug@sad.it>
7635 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7636 position otherwise it is wrong in some cases.
7638 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7639 inside the inset before the call.
7641 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7643 * buffer.[Ch] (getBibkeyList): make it const.
7645 2002-04-12 Juergen Vigna <jug@sad.it>
7647 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7649 * text2.C (getCursorX): new helper function
7650 (setCursor): compute also ix_
7651 (setCursorFromCoordinates): set also ix.
7653 * lyxcursor.h: added ix_ and helper functions.
7655 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7657 * buffer.C (insertStringAsLines): dont break paragraph if the this
7658 paragraph is inside an inset which does not permit it!
7660 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7661 also with no chars on this paragraph.
7662 (paintRowText): only paint stuff if it's inside the workarea!
7664 * paragraph.C (breakParagraph): honor keepempty flag and break the
7665 paragraph always below not above.
7667 * BufferView2.C (unlockInset): update the paragraph layout on inset
7668 unlock as we changed paragraph in such a case.
7670 * lyxfind.C (LyXFind): clear the former selection if not found!
7672 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7673 again called in insertChar().
7675 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7676 an inset which uses the whole row!
7677 (rightMargin): ditto.
7678 (insertChar): force a rebreak if we inserted an inset!
7680 2002-03-28 Herbert Voss <voss@lyx.org>
7682 * lyxlength.[Ch]: add inBP() to get the right PS-point
7683 units (BigPoint). With inPixels we have rounding errors
7685 2002-04-11 Juergen Vigna <jug@sad.it>
7687 * text2.C (setCursorFromCoordinates): set iy to the right value.
7688 (setCursor): add check if row->previous exists!
7690 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7691 an old float_type as this was the case in the old code!
7693 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7695 * BufferView2.C (showLockedInsetCursor): use iy
7696 (fitLockedInsetCursor): ditto
7698 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7699 locked insets as there we have the right value now.
7701 * lyxcursor.C: added iy_ variable and iy functions to set to the
7702 baseline of cursor-y of the locked inset.
7704 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7705 (setCursor): fixed for insets which need a full row.
7707 * text.C (rowLastPrintable): don't ignore the last space when before
7708 an inset which needs a full row.
7709 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7710 as last character of a row when before a inset which needs a full row.
7712 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7714 * version.C.in: update date
7716 * text2.C (fullRebreak): try to always return true and see what
7719 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7721 * MenuBackend.C (expand): use Floating::listName
7723 * FloatList.C (FloatList): add listName argument to the built-in
7726 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7727 text associated with the float.
7729 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7731 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7733 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7735 * ShareContainer.h: add a couple of missing typenames.
7737 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7739 * lyxrc.C (getDescription): use _() correctly rather than N_().
7741 2002-03-28 Herbert Voss <voss@lyx.org>
7743 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7744 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7746 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7748 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7749 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7751 2002-03-29 Juergen Vigna <jug@sad.it>
7753 * lyxfunc.C (dispatch): add a missing fitCursor call.
7755 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7756 it was scrolled by a cursor move, so return the bool status.
7758 * BufferView.C (fitCursor): return the bool flag also to the outside
7759 world as this is needed.
7761 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7763 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7764 call the edit() as it is not needed (and wrong) IMO.
7765 (workAreaButtonPress): set the screen_first variable before evt.
7766 unlock the inset as this may change screen_first and then we have
7767 a wrong y position for the click!
7769 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7771 * MenuBackend.C (expand): another translation that I missed
7773 2002-03-28 Juergen Vigna <jug@sad.it>
7775 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7777 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7779 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7781 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7783 * MenuBackend.C (expand): fix export/view/update when there is no
7786 2002-03-27 Herbert Voss <voss@lyx.org>
7788 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7791 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7793 * bufferview_funcs.C (currentState): only show paragraph number
7794 for is DEVEL_VERSION is set.
7796 * lyxfunc.C (dispatch): put warning in INFO channel
7798 * MenuBackend.C (expand): translate the name of floats
7800 * FloatList.C (FloatList): mark the float names for translation
7802 * converter.C (convert): use LibScriptSearch
7804 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7806 * MenuBackend.C (defaults): fix default menu (we might as well get
7809 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7811 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7814 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7816 * lyxvc.C: reorder includes.
7818 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7820 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7823 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7825 * CutAndPaste.C: change layouts earlier on paste
7826 to avoid crashing when calling getFont()
7828 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7830 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7833 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7835 * WorkArea.C: remove 'Pending' debug message.
7837 * most files: ws cleanup
7839 * buffer.[Ch]: ws changes
7841 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7843 2002-03-21 Juergen Vigna <jug@sad.it>
7845 * tabular.C (SetMultiColumn): collapse also the contents of the
7846 cells and set the last border right. Added a Buffer const * param.
7848 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7850 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7853 2002-03-19 Juergen Vigna <jug@sad.it>
7855 * text2.C (clearSelection): reset also xsel_cache.
7857 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7858 where it needs to be called (John tells us to do so too :)
7859 (selectionLost): reset sel_cache.
7861 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7863 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7865 * text2.C (setCursorIntern): put debuging code in INSETS channel
7867 2002-03-19 André Pönitz <poenitz@gmx.net>
7869 * lyxfunc.C: tiny whitespace change
7871 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7873 * ToolbarDefaults.C (init):
7874 * LyXAction.C (init):
7876 * BufferView_pimpl.C (Dispatch):
7877 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7879 2002-03-19 Allan Rae <rae@lyx.org>
7881 * exporter.C (Export): removeAutoInsets before doing anything else.
7882 While I've just introduced a dependency on BufferView this really is
7883 the best place to clean the buffer otherwise you need to cleanup in
7884 a dozen places before calling export or cleanup in a dozen functions
7887 * converter.C (runLaTeX):
7888 (scanLog): Better handling of removeAutoInsets and screen updates.
7890 * lyxfunc.C (dispatch): small whitespace changes
7892 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7894 * WorkArea.C (C_WorkAreaEvent): return a value.
7895 (event_cb): return 1 if we handled the event, 0 otherwise.
7897 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7899 2002-03-18 Juergen Vigna <jug@sad.it>
7901 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7902 (GetAdditionalWidth): ditto.
7906 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7907 inset if we're there actually (probably not used right now but this
7908 is the direction to go for unifying code).
7909 (paste): disable code to clear the selection.
7911 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7912 inside an InsetText and move the check further up as it is in the
7915 * text2.C (pasteSelection): set a selection over the pasted text.
7917 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7919 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7920 and libgraphics to build on Cygwin.
7922 2002-03-15 Juergen Vigna <jug@sad.it>
7924 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7925 inserting an Inset into the paragraph. I know this is not the best
7926 fix but we already use current_view in CutAndPaste so we will remove
7927 all of it's using at the same time.
7929 * buffer.C (sgmlError): deactivated function till it is rewritten in
7930 the right mode, now it can create problems.
7932 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7933 before accessing it.
7935 2002-03-14 Juergen Vigna <jug@sad.it>
7937 * undo_funcs.C (textHandleUndo): do the right thing when updating
7938 the inset after the undo/redo.
7940 * text2.C (setCursor): just some testcode for #44 not ready yet.
7942 * undo_funcs.C (textHandleUndo): set the next() and previous()
7943 pointers of the paragraph to 0 before deleting otherwise we have
7944 problems with the Paragraph::[destructor].
7946 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7947 on a paragraph insertion.
7949 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7951 * buffer.C (asciiParagraph): use += operator for char append to
7954 * paragraph.C (getFontSettings): compare >= not just >
7955 (highestFontInRange): ditto
7958 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7960 * paragraph.C: change several algorithm to be more appripriate for
7961 the problem domain. This is lookip in FontList and in the InsetList.
7963 2002-03-13 André Pönitz <poenitz@gmx.net>
7966 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7968 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7973 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7975 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7977 * Painter.C (display): anon helper function, adjust code for this
7979 (pixmap): remove function.
7981 * Painter.h: remove private display variable.
7983 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7985 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7987 * WorkArea.[Ch]: remove figinset_canvas cruft.
7989 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7991 * lyxtextclass.C (operator): add one item cache optimization.
7993 * bufferlist.h: doxy changes
7995 * bufferlist.C: ws changes
7997 * DepTable.[Ch] (ext_exist): place const in the right spot.
7999 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8001 (workAreaExpose): call resizeInsets when the with BufferView changes.
8002 (Dispatch): adjust for protectedBlank removal
8003 (specialChar): call updateInset if the insert went ok.
8005 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8006 specialChar instead.
8008 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8010 * BufferView.h: doxy change
8012 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8014 * lyxtextclass.C (operator[]): remove non-const version
8015 (defaultLayout): remove non-const version
8017 2002-03-12 Juergen Vigna <jug@sad.it>
8019 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8020 did resize the LyXText too.
8022 * buffer.C (readLyXformat2): set layout information on newly allocated
8025 * tabular.C (OldFormatRead): set layout information on the paragraph.
8027 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8029 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8031 2002-03-11 Juergen Vigna <jug@sad.it>
8033 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8035 (resizeCurrentBuffer): force also the insets to resize themselfes.
8036 (moveCursorUpdate): fixed up for InsetText.
8038 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8041 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8042 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8043 value of Dialogs::tooltipsEnabled().
8044 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8046 2002-03-08 Juergen Vigna <jug@sad.it>
8048 * BufferView_pimpl.C (updateInset): update inset inside inset also
8049 if it isn't inside theLockingInset().
8051 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8053 * buffer.C (asciiParagraph): redo some of the word and line length
8055 (getLists): look for Caption instead of caption.
8057 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8059 * buffer.C (Buffer): initialize niceFile to true
8062 (makeDocBookFile): make sure niceFile is true on exit
8064 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8066 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8068 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8070 * LyXSendto.C: remove.
8071 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8072 * lyx_gui.C: remove now-redundant comment.
8073 * ColorHandler.h: remove forward declaration of class WorkArea.
8074 * lyxfunc.C: remove #include "WorkArea.h".
8076 2002-03-07 Juergen Vigna <jug@sad.it>
8078 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8079 got moved away with the DEPM and also set the inset_owner always
8080 right which before could have been omitted.
8082 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8084 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8085 wanted layout is not found.
8087 2002-03-07 Juergen Vigna <jug@sad.it>
8089 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8091 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8093 * paragraph.C (breakParagraph): use default layout not layout of
8095 (Paragraph): clear ParagraphParameters.
8097 2002-03-06 Juergen Vigna <jug@sad.it>
8099 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8100 otherwise it would not be a valid lenght. Fixed a special case in
8101 the minipage compatibility read where we end the document with a
8104 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8105 was set as it could be 0 for InsetTexts first entry.
8107 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8109 * paragraph.C (writeFile): if layout is empty write out
8110 defaultLayoutName().
8112 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8113 file without named layout we set layout to defaultLayoutName().
8115 2002-03-06 Juergen Vigna <jug@sad.it>
8117 * CutAndPaste.C (copySelection): set layout for new paragraph.
8119 * text.C (prepareToPrint): leave ERT inset left aligned
8120 (leftMargin): don't indent paragraphs inside ERT insets
8122 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8124 * paragraph.C (breakParagraph): dont call clear do the work manually
8126 * paragraph.[Ch] (clear): remove function
8128 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8130 * paragraph.C (Paragraph): dont call clear, the work has already
8133 * lyxtextclass.C (operator): assert if n is empty
8135 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8136 work manually instead.
8138 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8140 * BufferView_pimpl.C: protect selectionLost against text == 0
8142 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8144 * text.C (breakParagraph): fix a setting layout to '0' problem.
8146 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8148 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8149 final location of file, for the included files, and graphics.
8151 2002-03-05 Juergen Vigna <jug@sad.it>
8153 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8155 2002-03-04 Juergen Vigna <jug@sad.it>
8157 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8159 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8160 last column of multicolumn cells.
8161 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8163 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8165 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8166 file if it doesn't go to a temporary file.
8168 * buffer.C (sgmlOpenTag):
8169 (sgmlCloseTag): remove extra newline insertion.
8171 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8173 * text.C (getRowNearY): comment out debug msg
8175 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8177 * text2.C: first -> first_y
8179 * text.C (getRowNearY): add some attemts at a possible
8180 optimization, not working.
8182 * tabular.[Ch]: add BufferParams to several function so that newly
8183 created paragraph can be initialized to he default layotu for the
8186 * tabular-old.C (ReadOld): add buf->params to call of Init
8188 * screen.C: rename text->first to text->first_y
8190 * paragraph.C (breakParagraph): always set layout in the broken
8193 * lyxtextclass.C (Read): remove lowercase
8196 (delete_layout): ditto
8198 * lyxtext.h: rename first -> first_y
8200 * lyxlayout.C (Read): remove lowercase
8203 (obsoleted_by): ditto
8205 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8207 * buffer.C (insertErtContents): add params are to InsetERT
8208 (parseSingleLyXformat2Token): add code to check if a paragraphs
8209 layout really exist.
8210 (parseSingleLyXformat2Token): add params to several inset
8212 (asciiParagraph): remove lowercase, do the layout comparisons with
8215 * BufferView_pimpl.C (cursorNext): first -> first_y
8216 (resizeCurrentBuffer): first -> first_y
8217 (updateScrollbar): first -> first_y
8218 (scrollCB): first -> first_y
8219 (workAreaMotionNotify): first -> first_y
8220 (workAreaButtonPress): first -> first_y
8221 (checkInsetHit): first -> first_y
8222 (cursorPrevious): first -> first_y
8223 (cursorNext): first -> first_y
8224 (Dispatch): add buffer_->params to severl inset contructors
8226 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8228 * lyxlayout.C (Read): remove some debug info that I forgot.
8230 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8231 clean up the code slightly.
8232 (makeLinuxDocFile): ditto
8233 (makeDocBookFile): ditto
8235 * text2.C: layout as string
8237 * text.C: layout as string
8239 * paragraph_pimpl.C: layout as string
8241 * paragraph.[Ch]: layout as string
8243 * lyxtextclasslist.[Ch]: layout as string
8245 * lyxtextclass.[Ch]: layout as string
8247 * lyxtext.h: layout as string
8249 * lyxlayout.[Ch]: layout as string
8251 * lyx_cb.C: layout as string
8253 * bufferview_funcs.C: layout as string
8255 * bufferparams.C: layout as string
8257 * buffer.C: layout as string
8259 * LyXView.[Ch]: layout as string
8261 * LaTeXFeatures.[Ch]: layout as string
8263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8265 * BufferView_pimpl.C: change current_layout to string, remove
8270 (workAreaButtonRelease): layout as string
8272 * BufferView2.C (unlockInset): adjust
8274 * vspace.C (asLatexCommand): use an explict temp variable.
8276 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8278 * Makefile.am: use FRONTEND_*
8280 2002-03-01 Juergen Vigna <jug@sad.it>
8282 * tabular.C (SetWidthOfMulticolCell): changed to something better
8283 I hope but still work in progress.
8284 (recalculateMulticolumnsOfColumn): renamed function from
8285 recalculateMulticolCells as it is more appropriate now.
8286 (SetWidthOfCell): calculate multicols better.
8288 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8290 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8292 * lyxfunc.C (processKeySym): print sequence also if it is
8293 `deleted' (complete)
8295 * kbsequence.C (print): print sequence even if it is deleted
8296 (complete would be a better word, actually).
8298 * lyxfunc.C (dispatch): print complete options after a prefix key
8300 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8302 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8304 * text2.C (setCharFont): eliminate setCharFont code duplication.
8306 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8308 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8309 LFUN_TABULAR_FEATURE (bug #177)
8311 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8313 * Makefile.am: remove figure.h
8315 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8317 * Bufferview_pimpl.C:
8329 * text2.C: remove #include "lyx_gui_misc.h".
8331 * LaTeX.C: added #include <cstdio>
8333 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8335 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8336 that the paragraph following this one can have.
8338 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8340 * vspace.C (asLatexCommand): fix bogus gcc warning
8342 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8344 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8346 * text2.C (setLayout): get rid of redundant code
8348 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8350 * text2.C (incDepth): make sure depth cannot be increased beyond
8353 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8355 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8356 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8358 * PainterBase.h (image):
8359 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8362 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8366 * BufferView_pimpl.C:
8367 * BufferView_pimpl.h:
8387 * sp_spell.C: remove fig inset, and the crap house of
8388 cards that follows it
8390 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8396 * nt_defines.h: move .h into support/
8398 * vms_defines.h: remove
8400 * WorkArea.C: add space in debug output
8404 * buffer.C: add WITH_WARNINGS
8408 * bufferlist.C: s/retrive/retrieve/, add docs
8419 * lyxgui.C: add ID to X error handler
8421 * lyxtestclass.c: fix typo
8423 2002-02-26 Juergen Vigna <jug@sad.it>
8425 * tabular_funcs.C (write_attribute): changed so that some default
8426 attributes are not written at all.
8427 (getTokenValue): set default values before trying to read the
8428 value so we have the return value always set as default if we don't
8429 find the token we search for.
8431 * tabular.C (Write): write bools as bools not as strings!
8433 2002-02-22 Juergen Vigna <jug@sad.it>
8435 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8436 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8438 * text.C (leftMargin): don't add an indent for paragraphs inside
8439 tabular cells (fix #208).
8441 2002-02-21 José Matos <jamatos@fep.up.pt>
8443 * tabular.C (docBook): fixed support for long tables.
8445 2002-02-20 Juergen Vigna <jug@sad.it>
8447 * text2.C (getFont): get the drawing font of the Inset if this
8448 paragraph is inside an inset (only important for InsetERT for now).
8450 * buffer.C (insertErtContents): use new lanugage params in ERT
8453 * CutAndPaste.C: commenting out seemingly uneeded code.
8455 2002-02-19 Allan Rae <rae@lyx.org>
8457 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8458 Iterators might be simple to use but they also get invalidated.
8459 (removeAutoInsets): renamed saved cursor tracking variables and added
8460 some comments to clarify what everything does.
8462 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8469 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8470 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8473 * vc-backend.h: remove #include "support/syscall.h"
8477 * converter.C: rearrange #includes in Lars' approved fashion.
8479 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8480 forward declare class Timeout in the header file.
8482 * XFormsView.C: changes due to the above.
8484 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8487 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8488 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8490 2002-02-18 José Matos <jamatos@fep.up.pt>
8492 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8495 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8497 * a lot of small ws changes
8498 * add a lot of using std::XXX
8499 * use std construcs some places where approp.
8500 * use some exisint stuff from lyxfunctional where approp.
8501 * Make file changes to use partial linking (lets test this now...)
8503 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8507 remove #include "support/syscontr.h" as it's redundant. Always has been.
8515 change Systemcalls::System to Systemcalls::Wait and
8516 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8517 No change of functionality, just reflects the stripped down Systemcalls
8520 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8522 * debug.[Ch]: add a GRAPHICS type to the enum.
8524 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8526 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8528 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8531 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8533 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8534 match the changes below.
8536 * text2.C (toggleInset): if there is not editable inset at cursor
8537 position, try to see if cursor is _inside_ a collapsable inset
8540 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8542 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8543 document menu has a nice checkbox
8545 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8547 * lyxlength.C (asLatexString): change PW to output as percent of
8550 * lengthcommon.C: change '%' to 't%'
8552 * lyxfunc.C (dispatch): a few comments from Martin
8554 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8558 * BufferView_pimpl.h:
8559 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8562 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8564 * vspace.C (inPixels): fix compiler warning
8566 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8568 * lyxfunc.C (getStatus): fix status message for disabled commands.
8570 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8572 * BufferView_pimpl.C: fix crash on close buffer
8573 during selection (#227)
8575 2002-01-27 Herbert Voss <voss@lyx.org>
8577 * buffer.C: link old Figure to new graphic inset
8579 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8581 * FontLoader.C (getFontinfo): Change the latex font names in order
8582 to match the names of type1inst.
8584 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8586 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8588 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8591 (remove_files_with_extension): ditto
8592 (remove_file): ditto
8595 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8596 document is smaller than the work area height. Do not initialize
8597 static variables to 0.
8599 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8601 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8603 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8604 LFUN_LAYOUT_PARAGRAPHS.
8606 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8607 tabular. It is possible to provide a possible cell, which will
8608 typically be the actcell from the corresponding insettabular
8610 * lyxfunc.C (getStatus): small cleanup; disable
8611 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8614 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8616 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8618 * paragraph.C (startTeXParParams):
8619 (endTeXParParams): new methods. The LaTeX code to
8620 start/end paragraph formatting
8621 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8622 empty (fixes bug #200)
8624 * vspace.C (inPixels): adapt to the change below
8625 (inPixels): [later] more cleanups (remove unused variables)
8627 * lyxlength.C (inPixels): change to use a width and a height as
8630 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8632 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8633 Replaced with \paperwidth
8635 * DepTable.C (insert): add std:: qualifier
8637 2002-01-18 Allan Rae <rae@lyx.org>
8639 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8642 * text.C (drawInset): Turned out I didn't know enough about how
8643 rebreaking worked. This fixes most of the redraw problems. I see
8644 an occasional cursor trail when a line is broken now and the cursor
8645 placement can seem out by a few pixels also after a rebreak.
8647 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * buffer.C (parseSingleLyXformat2Token): update because minipage
8650 width is now a LyXLength
8652 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8654 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8657 2002-01-17 Juergen Vigna <jug@sad.it>
8659 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8661 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8662 is set correctly and the inset is updated correctly.
8664 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8666 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8667 the beginning of the loop.
8669 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8671 * lyxrc.C: improve help for use_scalable_fonts
8673 2002-01-17 Allan Rae <rae@lyx.org>
8675 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8677 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8679 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8680 make sure to set their inset_owner to the right value (bug #171)
8682 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8685 * DepTable.C: Implement mtime checking to reduce time spent doing
8688 2002-01-16 Juergen Vigna <jug@sad.it>
8690 * tabular.C (GetAdditionalHeight): one of error fixed.
8692 * lyxrc.C (output): small fix in writing use_pspell.
8694 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8696 * sp_base.h: #include LString.h
8698 2002-01-16 Allan Rae <rae@lyx.org>
8700 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8701 Can someone check this please?
8703 * text.C (drawInset): It was possible that p.row would be removed by
8704 breakAgainOneRow upsetting a few other settings. There may be another
8705 small tweak possible by setting need_break_row = 0 when p.row has been
8706 removed but I don't know enough about the logic here.
8708 2002-01-15 Allan Rae <rae@lyx.org>
8710 * text.C (insertChar): removed conditional truism.
8712 * BufferView2.C (removeAutoInsets): More tweaks.
8713 cur_par_prev could be a stray pointer. Check for trailing empty line
8714 in case last line was cur_par and only had an error inset on it.
8716 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8718 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8721 * vc-backend.C (most methods):
8722 * exporter.C (Export):
8723 * converter.C (convert):
8725 * LyXSendto.C (SendtoApplyCB):
8726 * lyxfunc.C (dispatch):
8730 * lyx_cb.C (AutoSave):
8732 * BufferView_pimpl.C (MenuInsertLyXFile):
8733 * buffer.C (runChktex): use Buffer::filePath().
8735 * buffer.h: rename filename to filename_; rename filepath to
8736 filepath_ and make it private
8737 (filePath): new method
8739 * buffer.C (writeFile): use fileName()
8742 * lyx_main.C (init): fix starting of LyX when the binary is a
8743 link from so,ewhere else.
8745 * minibuffer.C: include <cctype> for isprint
8747 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8749 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8750 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8751 name clash with InsetCollapsable's width function.
8753 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * lastfiles.C: include <iterator>
8757 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8759 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8762 * buffer.C (makeLaTeXFile): ditto.
8763 Also make loop operation more transparent.
8765 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8767 * ToolbarDefaults.C: remove trailing comma closing namespace.
8769 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8771 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8774 * trans.C (Load): comment out unused variable, allowed.
8776 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8778 * minibuffer.[Ch] (append_char): new method to recieve input from the
8779 drop-down completion browser. If a key was pressed, then recieve this
8780 char and append it to the existing string.
8781 (peek_event): modify the positioning data passed to the completion
8782 browser so that it can be placed above the minibuffer rather than below.
8783 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8785 * LyXAction.C (init): alloe error-next for readonly documents.
8787 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8790 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8792 * bufferlist.C (readFile): create the buffer _after_ checking that
8795 * lyxfunc.C (verboseDispatch): fix handling of arguments
8797 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8799 * lyxrc.C: use string::erase() instead of initializing to "".
8802 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8804 * BufferView_pimpl.h:
8805 * BufferView_pimpl.C:
8808 * text2.C: tell X when we have made a selection for copying
8810 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8812 * BufferView_pimpl.C (MenuInsertLyXFile):
8813 * lyxfunc.C (menuNew):
8815 (doImport): add shortcuts to directory buttons
8817 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8820 * lyxfunc.C (setStatusMessage):
8821 (getStatusMessage): new methods
8822 (getStatus):use setStatusMessage instead of setErrorMessage
8823 (dispatch): when function is disabled, set error message here
8824 [instead of in getStatus previously]
8826 * BufferView_pimpl.C (workAreaButtonRelease): update
8827 toolbar/menubar here too.
8829 2002-01-13 Allan Rae <rae@lyx.org>
8831 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8832 Now seems indestructible. Remaining task is to audit all other
8833 code affected by deleteEmptyParagraphMechanism. One small quirk
8834 left is that an empty document with an error in the preamble can
8835 be made to report an error but no error box appears. I don't know
8837 (removeAutoInsets): Improved comments.
8839 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8842 * Thesaurus.C: update for Aiksaurus 0.14
8844 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8846 * text2.C (firstParagraph): removed member function, all uses
8847 replaces with ownerParagraph
8848 (redoParagraphs): here
8850 (toggleAppendix): here
8851 * BufferView2.C (insertErrors): here
8852 (setCursorFromRow): here
8854 2002-01-13 Allan Rae <rae@lyx.org>
8856 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8857 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8858 There is still a way to segfault this although you may have to do this
8859 multiple times: Have an InsetERT with an unknown command in it.
8860 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8861 <down-arrow>, <Enter> again, View->DVI, BANG!
8863 * text2.C (setCursor):
8864 (deleteEmptyParagraphMechanism):
8865 * lyxtext.h (setCursor):
8866 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8867 Making use of the return value may help fix other bugs.
8869 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8873 * LyXView.C (updateMenubar): call MenuBar::update here
8874 (updateToolbar): but not here
8875 (showState): do not update toolbar/menubar
8877 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8878 should need to care about that.
8880 * lyxfunc.C (verboseDispatch): simplify a bit
8881 (getStatus): have a version which takes a pseudoaction, and
8882 another which requires a (kb_action,string).
8884 * LyXAction.C (retrieveActionArg): make it work also when action
8885 is not a pseudo-action.
8886 (getActionName): simplify a bit
8889 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8891 * lyxfunc.C (verboseDispatch): new families of methods with
8892 several ways to specify a command and a bool to indicate whether
8893 the command name and shortcut should be displayed in minibuffer
8894 (eventually, we could extend that to a finer bitmask like
8895 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8896 (dispatch): the pristine dispatch command which just, well,
8897 dispatchs! Note it still sets its result to minibuffer; I'm not
8900 * lyxfunc.h: remove setHintMessage
8902 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8904 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8906 * BufferView_pimpl.C (specialChar): delete new inset if we have
8907 not been able to insert it.
8909 * kbmap.C: revert to using int instead of kb_action, since all we
8910 are dealing with is pseudo-actions.
8912 * LyXAction.C (searchActionArg): change to return int instead of
8913 kb_action, since the result is a pseudoaction.
8915 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8917 * buffer.C (insertErtContents): Fix (partially) the font bug.
8919 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8921 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8922 as the other one is broken on my machine!
8924 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8927 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8929 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8931 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8932 reflect their actual use. Provide compatibility code for older lyxrc
8935 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8937 change names of popup font variables in line with the changes to lyxrc.C
8939 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8941 * buffer.C (asciiParagraph): avoid outputing a word twice after
8944 * lyxrc.C (getDescription): document that document_path and
8945 template_path can be empty.
8947 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8949 * LaTeXFeatures.C (getMacros):
8950 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8952 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8954 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8956 (getPackages): rename feature "floats" to "float". Use an array to
8957 iterate over 'simple' features (i.e. just a \usepackage). Add
8958 handling of "amsmath" (renamed from "amsstyle").
8960 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8962 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8965 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8967 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8968 FuncStaus::FuncStatus & FuncStaus::some_method().
8970 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8972 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8973 of the func_satus stuff. Edited and massaged in various ways by
8976 * lyxfunc.C (getStatus): use FuncStatus
8978 2002-01-08 Juergen Vigna <jug@sad.it>
8980 * text.C (nextBreakPoint): use function Inset::isChar().
8982 * paragraph.C (TeXOnePar): use function
8983 Inset::forceDefaultParagraphs.
8985 * buffer.C (latexParagraphs): use function
8986 Inset::forceDefaultParagraphs.
8988 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8990 * lyx_gui.C (init): set the style of the menu popups to
8991 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8993 2002-01-07 Juergen Vigna <jug@sad.it>
8995 * text.C (setHeightOfRow): small fix
8996 (prepareToPrint): don't look at alignment if we don't have the place
8999 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9001 * box.C: New file. Move the Box methods and functions out of box.h,
9002 following Lars' suggestion.
9004 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9006 * box.h: #include "support/LOstream.h", needed for inlined function.
9009 * lyxtextclasslist.C: added some using std declarations.
9011 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9013 * box.h: make signed dimensions to allow insets wider than
9014 the screen (bug #162)
9016 * BufferView_pimpl.C: add some insetHit debug
9018 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9020 * vc-backend.C: add FIXME
9022 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9024 * lyxfunc.C (getStatus): enable code for showing math font status
9027 2002-01-07 Juergen Vigna <jug@sad.it>
9029 * text.C (nextBreakPoint): removed debug output not needed anymore.
9031 2002-01-06 Juergen Vigna <jug@sad.it>
9033 * text.C (nextBreakPoint): fixed up this function we had this bug
9034 since ever but now hopefully we break row better.
9035 (insertChar): we have to check if an inset is the next char as it
9036 could now happen that a large inset is causing a break.
9038 2002-01-05 Juergen Vigna <jug@sad.it>
9040 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9041 if it doesn't like to be drawed.
9043 2002-01-04 Juergen Vigna <jug@sad.it>
9045 * BufferView2.C (lockInset): forgot to set a cursor.
9047 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9049 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9054 * form_maths_panel.C:
9055 * form_maths_panel.h:
9056 * form_maths_panel.fd: implemented sub- and super- buttons in math
9059 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9060 (or ^ space) to be used as in TeX (req'd by André).
9062 * lyxfunc.C: Allow ^ and _ again to be used both as
9063 super/subscript (mathed) and as themselves (in text).
9065 2002-01-03 Allan Rae <rae@lyx.org>
9067 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9068 "LyX" or the filename of the current buffer if it has one. This is a
9069 modified form of John Levon's patch.
9071 * XFormsView.C (setWindowTitle): also set icon title.
9073 * LyXView.h (setWindowTitle): signature changed.
9074 * XFormsView.h (setWindowTitle): ditto.
9076 2002-01-02 Juergen Vigna <jug@sad.it>
9078 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9080 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9082 * screen.C (topCursorVisible): introduce a temp var for
9083 text->cursor.row(), handle the case where this row is null. (kindo
9086 * text2.C (setCursor): add a couple of asserts.
9088 * paragraph.h (inset_iterator): add -> operator
9090 * paragraph.[Ch] (autoDeleteInsets): remove member function
9092 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9093 cursor pos correctly and handle inset deletion by itself.
9094 (insertErrors): move iterator declaration out of for expression
9096 * lyxtextclass.C: add <algorithm>
9098 * Makefile.am: added the new files to sources, removed layout.C
9100 * layout.C: removed file
9102 * layout.h: remove LYX_DUMMY_LAYOUT
9104 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9108 * lyxtextclass.[Ch]:
9109 * lyxtextclasslist.[Ch]: new files
9111 * include order changes to a lot of files, also changes because of
9114 2001-12-27 Juergen Vigna <jug@sad.it>
9116 * buffer.C (asciiParagraph): more fixes.
9118 * tabular.C (ascii): make ascii export support export of only the
9119 data separated by a column-delimiter.
9120 (ascii): better support for ascii export.
9122 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9124 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9126 * tabular_funcs.C: use a "using std::getline" instead of the
9127 previous fix from Angus (necessary for cxx + lyxstring)
9129 2001-12-24 Juergen Vigna <jug@sad.it>
9131 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9133 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9134 problems. First check a minipage also if we have some ert-contents
9135 (not only on par->size(), second set the right depth of the paragraph
9136 on the relink to the root-paragraph-list!
9138 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9139 which then did not anymore update the main paragraphs on undo/redo!
9141 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9144 code. Support all font-changing funcs (even those which are not in
9145 menu currently). Support for reporting font settings in
9146 mathed (disabled until Andre provides a function on mathed's side).
9148 * func_status.h (toggle): small helper function to set toggle
9151 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9153 * tabular_funcs.C: getline -> std::getline
9155 2001-12-21 Juergen Vigna <jug@sad.it>
9157 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9158 accessed and could be 0 (I couldn't generate this but it seems
9161 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9163 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9164 * tabular_funcs.h: here and include iosfwd
9166 2001-12-20 Juergen Vigna <jug@sad.it>
9168 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9169 inside inset but undo_par was.
9171 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9173 * Thesaurus.C: always include <config.h> in sources.
9177 * box.h: do not include <config.h> in header files
9179 * text.C (paintLastRow): remove unused variable
9181 * text.C (transformChar):
9183 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9186 * font.C (width): rewrite to use uppercase() instead of
9189 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9191 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9193 * lyxfind.C: clean up of find failure position change
9195 2001-12-20 Juergen Vigna <jug@sad.it>
9197 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9199 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9200 (TeXRow): added to LaTeX a single tabular row.
9201 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9202 (Latex): simplified and finally good LT-h/f support.
9203 (various_functions): just small adaptions for LT-h/f support.
9205 * tabular_funcs.[hC]: added and moved here all not classfunctions
9208 2001-12-19 Juergen Vigna <jug@sad.it>
9210 * tabular.[Ch]: better support for longtabular options (not finished
9213 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * text.C (paintLastRow): use the label font instead of the font of
9216 the last character to compute the size of *_BOX. This makes more
9217 sense and avoids a crash with empty paragraphs.
9218 Use Painter::rectangle to draw EMPTY_BOX.
9220 2001-12-19 Juergen Vigna <jug@sad.it>
9222 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9223 the paragraphs if the replaced paragraph is not the first one!
9224 Tried to delete not used paragraphs but does not work yet so for
9225 now it's inside #ifdef's and by default off!
9227 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9229 * MenuBackend.C: include "lyx_main.h" instead of declaring
9230 lastfiles (actually was declared as LastFiles* instead of a
9233 2001-12-17 Juergen Vigna <jug@sad.it>
9235 * tabular.C (AppendColumn): applied John's fix
9237 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9241 * BufferView_pimpl.h:
9242 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9245 * box.h: new start of class for above
9247 * lyxfunc.C: ignore space-only minibuffer dispatches.
9248 Show the command name when it doesn't exist
9250 * minibuffer.C: don't add empty lines to the history
9252 * minibuffer.C: add a space on dropdown completion
9254 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9256 * text.C: fix line above/below drawing in insets
9258 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9260 * lyxlength.C (LyXLength): Initialize private variables.
9262 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9264 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9265 when inserting error insets.
9267 2001-12-13 Juergen Vigna <jug@sad.it>
9269 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9270 actually sometimes the before-paragraph.
9271 (setUndo): don't clear the redostack if we're not actually undoing!
9273 2001-12-06 Juergen Vigna <jug@sad.it>
9275 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9276 and fixed redoing of main paragraph, so we can use it now ;)
9278 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9280 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9282 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9285 2001-12-13 André Pönitz <poenitz@gmx.net>
9288 * undo_func.C: minor cleanup
9290 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9292 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9293 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9294 font in urw-fonts package which is marked as -urw-fontspecific and
9295 does not work (incidentally, changing the encoding in the
9296 fonts.dir of this package to -adobe-fontspecific fixes the
9299 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9300 is a crash when undoing first paragraph (Juergen, please take a
9301 look). THis does not mean the undo fix is wrong, just that it
9304 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9305 the (Paragraph*) version when needed instead of duplicating the
9308 * text.C (workWidth): use Inset::parOwner to find out where the
9309 inset has been inserted. This is a huge performance gain for large
9310 documents with lots of insets. If Inset::parOwner is not set, fall
9311 back on the brute force method
9313 * paragraph_pimpl.C (insertInset):
9314 * paragraph.C (Paragraph):
9315 (cutIntoMinibuffer): set parOwner of insets when
9316 inserting/removing them
9318 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9320 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9326 * mathed/formulabase.C:
9327 * mathed/math_cursor.[Ch]:
9328 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9331 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * lyxlength.[Ch] (operator!=): new function
9335 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * text.C (workWidth): use Inset::parOwner to find out where the
9338 inset has been inserted. This is a huge performance gain for large
9339 documents with lots of insets. If Inset::parOwner is not set, fall
9340 back on the brute force method
9342 * paragraph_pimpl.C (insertInset):
9343 * paragraph.C (Paragraph):
9344 (cutIntoMinibuffer): set parOwner of insets when
9345 inserting/removing them
9347 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9349 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9351 * tabular-old.C (getTokenValue):
9352 * tabular.C (getTokenValue):
9353 (write_attribute): new versions for LyXLength
9354 (everywhere): adjust the use of widths
9356 * tabular.h: change the type of widths from string to LyXLength
9358 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9360 * paragraph.C: fixed missing line number count when exporting
9361 Environments to LaTeX file
9363 * buffer.C: added informational message for checking line numbers.
9365 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9367 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9368 paragraph, do the 'double space' part, but not the 'empty
9371 * text.C (workWidth): small optimization
9372 (getLengthMarkerHeight): use minimal size for negative lengths.
9374 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9376 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9378 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9380 2001-12-11 André Pönitz <poenitz@gmx.net>
9383 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9385 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9387 * text2.C: keep selection on a setFont()
9389 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9391 * lyx_cb.C: another bv->text misuse, from insert label
9393 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9396 * kbsequence.C: re-instate nmodifier mask
9398 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9400 * lyx_main.h: make lyxGUI private.
9402 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9404 * lyxfind.C: place the cursor correctly on failed search
9406 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9408 * text.C (getLengthMarkerHeight): for small heights, the arrows
9409 are not always on top/bottom of the text
9410 (drawLengthMarker): smaller arrows; take the left margin in
9411 account; draw also vfills.
9413 (paintLastRow): remove special code for vfill and standard spaces,
9414 since everything is handled in drawLengthMarker now.
9416 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9418 * buffer.C (insertErtContents): try to handle font and language
9419 interaction a bit better.g
9421 * ColorHandler.C (updateColor): change the hash to cover the whole
9422 LColor enum, ws cleanup
9423 (getGCLinepars): ditto
9424 (getGCLinepars): only lookup in the linecache once.
9426 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9428 * iterators.C (operator++): Make the iterator more robust
9430 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9432 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9434 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9437 * text.C: better added space drawing
9439 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9442 * BufferView2.C: fix layout combo update on inset unlock
9444 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9446 * Makefile.am: don't compile unused files
9448 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9452 * LyXAction.C: remove old LFUN_LAYOUTNO
9454 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9456 * paragraph_pimpl.h:
9457 * paragraph_pimpl.C: isTextAt() doesn't need font param
9459 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9462 * lyxlex.C: little cleanup
9464 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9466 * BufferView_pimpl.C: fix insertAscii for insets
9468 2001-12-05 Juergen Vigna <jug@sad.it>
9470 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9471 set the right font on the "multi" paragraph paste!
9473 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9479 * lyxlength.C: remove out-commented code.
9495 * vc-backend.C: change "while(" to "while ("
9497 * lyxlength.[Ch]: add zero function to check if length is zero or
9499 * lyxgluelength.C: use it
9501 2001-12-05 Allan Rae <rae@lyx.org>
9503 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9504 Works for 2.95.3, from what I understand of Garst's reports this should
9505 work for other g++ versions. We're screwed if the abs(int) definition
9506 changed between bugfix releases of gcc.
9508 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9510 * text.C: fix chapter label offset !
9512 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9515 * text.C: fix hfill at end of line, clean up
9517 2001-12-04 Juergen Vigna <jug@sad.it>
9519 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9520 that we force an update of the inset and it's owners if neccessary.
9522 2001-12-03 Juergen Vigna <jug@sad.it>
9524 * text.C (rowLast): simplified code
9526 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9528 * lyxfunc.C: fix show options on timeout
9530 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * screen.C (topCursorVisible): scroll half a page when the cursor
9533 reached top of bottom of screen
9535 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9537 * minibuffer.C: deactivate on loss of focus
9539 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9541 * vspace.[Ch] (operator!=): add operator.
9543 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9545 * BufferView_pimpl.C: refuse to open an inset when
9546 there's a selection.
9548 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9550 * BufferView_pimpl.C: allow to click on RHS of full row insets
9552 2001-11-30 Juergen Vigna <jug@sad.it>
9554 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9555 insets for undo reasons.
9557 2001-11-28 André Pönitz <poenitz@gmx.net>
9559 * vspace.[Ch]: cosmetical changes
9561 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9571 * kbsequence.C: part re-write of old kb code
9574 * WorkArea.C: remove Lgb_bug_find_hack
9576 2001-11-30 José Matos <jamatos@fep.up.pt>
9578 * buffer.C (makeDocBookFile): add a comment to point a hack.
9579 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9580 Fixed a double write of labels.
9582 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9585 * LaTeX.h Fixed bug in LaTeX class where it would not
9586 re-run latex if no depfiles were changed, but the .dvi was removed.
9588 2001-11-28 André Pönitz <poenitz@gmx.net>
9590 * all the files from the change on 2001/11/26:
9591 use lyx::layout_type instead of LyXTextClass::size_type
9592 use lyx::textclass_type instead of LyXTextClassList::size_type
9594 2001-11-29 Juergen Vigna <jug@sad.it>
9596 * text.C: added support for paragraph::isFreeSpacing()
9598 * buffer.C: same as above
9600 * paragraph.h: inserted isFreeSpacing() function to enable
9601 FreeSpacing inside InsetERT.
9603 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9604 of the paragraph's in the cut/copy buffer to 0!
9606 * text2.C (removeRow): remove the assert as it can!
9608 * lyxtext.h: added helper function firstRow returning firstrow and
9609 made firstrow private again.
9611 * BufferView2.C (lockInset): don't relock if we're already locked!
9613 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9615 (removeRow): added Assert::(firstrow)
9617 * debug.C: forgot to add INSETTEXT here.
9619 2001-11-28 Juergen Vigna <jug@sad.it>
9621 * sp_spell.C (initialize): changed error text to more general
9622 spellchecker command use (not only ispell!)
9624 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9626 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9628 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9630 * vspace.C: initialise lyxgluelength on failure
9632 2001-11-28 Allan Rae <rae@lyx.org>
9634 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9635 declaration & definition that looks like a function declaration.
9637 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9639 * BufferView2.C (copy):
9640 (copyEnvironment): do not clear the selection when doing a copy.
9642 * text.C (paintFirstRow): compilation fix
9644 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9646 * tabular.C (Latex): correct line count when writing latex.
9648 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9650 * paragraph_pimpl.h:
9651 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9654 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9658 * LColor.C: change vfillline->added_space
9660 * text.C: add markers and text for added space
9662 * vspace.C: fix comment
9664 2001-11-28 André Pönitz <poenitz@gmx.net>
9666 * paragraph.C: whitespace changes
9667 * all the other files from the change on 2001/11/26:
9668 change *::pos_type into lyx::pos_type
9670 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9672 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9673 language of the document when inserting error insets.
9675 2001-11-26 André Pönitz <poenitz@gmx.net>
9677 * BufferView_pimpl.[Ch]:
9685 * paragraph_pimpl.[Ch]:
9688 * text2.C: reduce header dependencies, introduce type for positions
9690 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9692 * <various>: change to use Alert.h
9694 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9696 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9697 when encountering an unknown token.
9698 (readLyXformat2): Show an error message if there were unknown tokens.
9700 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9703 * BufferView_pimpl.C:
9707 * text2.C: use par->isInset()
9709 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9711 * paragraph_pimpl.h:
9712 * paragraph_pimpl.C: cleanup
9714 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9716 * text2.C (removeRow):
9717 * text.C (setHeightOfRow): remove useless (and costly) call to
9720 2001-11-20 Allan Rae <rae@lyx.org>
9722 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9723 Now need Inset*::checkInsertChar() to return true for appropriate
9724 cases so that the characters in the minibuffer will actually be
9727 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * text.C: change the order of the includes.
9730 (workWidth): initialize it at once.
9731 (workWidth): make maxw unsigned
9732 (setHeightOfRow): remove unused variable (inset)
9733 (selectSelectedWord): remove unused variable (inset)
9734 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9736 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9739 server is not running.
9741 (closeConnection): add debug info when server is disabled.
9743 * ColorHandler.C (getGCForeground): send debug message to GUI
9746 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9748 * kbmap.C (bind): modify because return conventions of
9749 kb_sequence::parse have changed.
9751 * kbsequence.C (parse): only ignore spaces and not any stupid
9752 control character. This avoids tests like s[i] <= ' ', which are
9753 guaranteed to fail with 8bit characters and signed chars.
9754 Change return code to string::npos when there have been no error
9755 (0 was a bad idea when error is at first character)
9757 2001-11-14 José Matos <jamatos@fep.up.pt>
9760 * buffer.C (simpleDocBookOnePar): removed unused argument.
9762 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9764 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9765 insets which are part of a word. Paragraph::isLetter takes care of
9766 that now. Use Paragraph::isInset to identify insets.
9767 (selectSelectedWord): do not test for hyphenation break.
9769 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9770 that protected spaces are considered as spaces.
9772 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9775 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9778 * lyxserver.C: fix it. and small cleanup.
9780 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9782 * BufferView_pimpl.C: use inline helpers
9785 * LaTeXFeatures.C: fix typos
9788 * Spacing.C: move spacing_string into class
9790 * ToolbarDefaults.C: move stuff into namespace anon
9792 * layout.h: update enum
9794 * lyxfunc.C: use better debug
9796 * minibuffer.h: fix typo
9800 * WorkArea.C: add and use Debug::WORKAREA
9804 * text2.C: code re-organisation, inline helpers
9806 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9808 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9809 std::vector.empty().
9811 2001-11-09 Allan Rae <rae@lyx.org>
9813 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9814 '\n's after tables. Tabular and ERT inset work now makes this no
9817 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9820 * minibuffer.C: fix crash, improve drop-down completion
9822 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9825 * lyxserver.C: invalidate fd's when doing endPipe()
9827 2001-11-08 José Matos <jamatos@fep.up.pt>
9829 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9830 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9833 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9835 2001-11-07 José Matos <jamatos@fep.up.pt>
9838 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9841 * buffer.C (sgmlOpenTag):
9842 * buffer.C (sgmlCloseTag): removed debug info.
9844 * buffer.h (sgmlOpenTag):
9845 * buffer.h (sgmlCloseTag): made public.
9847 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9849 * buffer.C (saveParamsAsDefaults):
9850 * lyx_cb.C (MenuLayoutSave): remove
9852 * LyXAction.C (init):
9854 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9856 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9858 * buffer.C (setPaperStuff): removed from here...
9860 * bufferparams.C (setPaperStuff): ... and moved there.
9862 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9866 * XFormsView.C: add support for drop-down completion
9868 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9870 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9873 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9875 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9878 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9880 * lyx_main.C: change ref to known bugs
9882 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9884 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9885 to work around older babel problems.
9887 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9889 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9891 2001-10-24 Juergen Vigna <jug@sad.it>
9893 * tabular-old.C (ReadOld): below variable changes reflected.
9895 * tabular.[Ch]: added ltType struct for longtable header/footer
9896 defines and changed all instances where they are used. Added
9897 future support for double top/bottom rows.
9899 2001-10-24 José Matos <jamatos@fep.up.pt>
9901 * buffer.h (docbookHandleCaption):
9902 * buffer.C (docbookHandleCaption): removed unused function.
9903 (makeDocBookFile): moved docbook supported version to v4.1.
9905 2001-10-24 José Matos <jamatos@fep.up.pt>
9908 * tabular.C (docbookRow): new function to export docbook code of a row.
9909 (DocBook): now honors the longtable flags.
9911 2001-10-23 José Matos <jamatos@fep.up.pt>
9914 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9915 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9917 * buffer.C (makeLinuxDocFile):
9918 (makeDocBookFile): reworked the preamble, more clean, and with
9919 support for lyx defined entities. Changed the document declaration
9920 to be more XML friendly.
9922 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9923 if we need to output XML that should be done with a filter.
9925 2001-10-22 Juergen Vigna <jug@sad.it>
9927 * sp_pspell.h (class PSpell): add alive function needed in the
9928 controller to see if the spellchecker could be started.
9930 2001-10-22 Juergen Vigna <jug@sad.it>
9932 * buffer.C (insertStringAsLines): modify the font for inserting
9933 chars in certain conditions by calling checkInsertChar(font).
9935 2001-10-19 Juergen Vigna <jug@sad.it>
9937 * text.C (workWidth): use getRow instead of wrong algorithm.
9938 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9940 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9945 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9947 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9949 * text.C (workWidth): do not search for the exact row when
9950 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9951 optimization for big documents.
9953 2001-10-18 Juergen Vigna <jug@sad.it>
9955 * text.C (workWidth): new function with added Inset * parameter.
9957 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9959 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9961 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9962 change return type of getColumnNearX.
9965 * text.C (changeRegionCase): use uppercase/lowercase instead of
9968 (rightMargin): simplify code by factoring out the uses of
9973 (appendParagraph): use Paragraph::size_type
9975 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9977 * vspace.C (asLatexString): add a missing break
9979 2001-10-15 Herbert Voss <voss@perce.de>
9981 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9983 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9985 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9988 2001-10-10 André Pönitz <poenitz@gmx.net>
9990 * lyxfunc.C: removed greek_kb_flag.
9992 2001-10-10 Herbert Voss <voss@perce.de>
9994 * lyx_main.C: delete global string help_lyxdir.
9996 2001-10-09 Herbert Voss <voss@perce.de>
9998 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10000 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10002 * lyx_main.C: added global string help_lyxdir.
10004 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10006 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10008 * lyxrc.C (set_font_norm_type): support iso8859-4
10010 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10012 * LaTeX.C (deplog): add another regex for MikTeX
10014 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10016 * lyxrc.C (set_font_norm_type): support iso8859-3
10018 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10020 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10022 * LaTeXFeatures.C: remove special case of french and index
10024 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10025 before \begin{document}). This solves several incompatibilities.
10027 2001-10-03 Garst Reese <reese@isn.net>
10029 * lyx_cb.C: change CheckTex error msg.
10031 2001-10-03 José Matos <jamatos@fep.up.pt>
10033 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10035 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10037 * .cvsignore: update
10039 * lyx_main.C (commandLineVersionInfo): use new style version info.
10041 * buffer.C (writeFile):
10043 (makeLinuxDocFile):
10044 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10046 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10048 * version.h: update to use stuff in version.C
10050 * version.C.in: new file. Contains version information determined
10051 at compile time. This is a merging of version.h and
10054 2001-10-03 Juergen Vigna <jug@sad.it>
10056 * BufferView_pimpl.C (update): don't change "dirty" status in
10059 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10061 * WorkArea.C (c-tor): re-position version string slightly.
10063 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10065 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10066 revert to previous code.
10068 WorkArea.[Ch]: (show, destroySplash): methods removed.
10070 WorkArea.C: rework code so that it's an amalgam of the codes before and
10071 after the splash screen was moved to WorkArea.
10073 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10076 * vspace.C (inPixels):
10079 * buffer.C (insertStringAsLines):
10080 (asciiParagraph): fix types to be large enough
10082 * lyxlex_pimpl.h: change member status from short to int
10084 * layout.h: fix type of endlabeltype
10087 * kbsequence.C (parse): change return type to string::size_type
10089 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10092 * Bullet.C (bulletSize):
10093 (bulletEntry): do not use short ints as parameters
10095 * BufferView2.C (insertLyXFile): change a char to an int.
10097 * WorkArea.C (WorkArea): remove unneeded floats in computation
10099 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10101 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10103 * paragraph.C (asString): Do not ignore newline/hfill chars when
10104 copying to the clipboard.
10106 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10108 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10109 after a multi-line inset.
10111 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10113 * paragraph.C (validate): Set NeedLyXFootnoteCode
10115 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10117 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10118 and decrease-error to decrease.
10120 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10122 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10123 it more readable (should be equivalent)
10125 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10127 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10129 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10131 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10132 of a cursor (row, etc.) after a character has been deleted
10133 (deleteEmptyParagraphMechanism): call the method above on _all_
10134 cursors held by the LyXText when a double space has been
10137 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10139 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10141 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10143 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10144 background. Use greyOut() and the new show() methods to toggle between
10145 the foreground and background. Add code to remove the splash after
10146 its initial showing.
10148 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10149 (create_forms): no longer call Dialogs::showSplash.
10151 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10153 * .cvsignore: add version_info.h
10155 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10157 * version_info.h.in: new file
10159 * Makefile.am: add version_info.h.in
10161 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10162 version_info.h instead of VERSION_INFO
10164 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10166 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10167 The ERT inset now returns string().
10169 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10171 * lyxtext.h, text.C (selectNextWord): renamed as
10172 selectNextWordToSpellcheck.
10174 * text.C (selectNextWordToSpellcheck): Modified to not select
10175 words inside an ERT inset.
10177 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * lyx_cb.C (MenuLayoutSave): change a bit the question
10181 * sp_base.h: include <sys/types.h>
10183 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10185 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10187 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10189 * several files: fix typos in user-visible strings
10191 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10193 * text2.C (pasteSelection): do not set the selection, since it
10194 will be cleared later. Actually, the intent was to fix the way the
10195 selection was set, but I figured rmoving the code was just as good.
10197 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10199 * FontLoader.C (available): Check if font is available without
10202 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10204 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10206 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10208 * lyxrc.[Ch]: added display_graphics variable and associated code.
10210 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10212 * bufferparams.C (hasClassDefaults): new method. Returns true if
10213 the buffer parameters correspond to known class defaults
10215 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10217 * XFormsView.C (show): set minimum size to the main window.
10219 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * text2.C (copySelection):
10223 * lyxfind.C (LyXReplace):
10224 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10225 LyXText::selectionAsString.
10227 * paragraph.C (asString): add "label" argument to the second form
10229 * text2.C (selectionAsString): add "label" argument and pass it to
10230 Paragraph::asString.
10232 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * lyx_main.C (commandLineHelp): remove version information
10236 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10238 * lyx_main.C: add -version commandline option
10240 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * paragraph.h: make the optional constructor arg required instead.
10243 some modifications to other files because of this.
10245 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10247 * lyxserver.C (C_LyXComm_callback): make it static
10249 * lyx_main.C (error_handler): make it static
10251 * lyx_gui.C (LyX_XErrHandler): make it static
10253 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10255 * WorkArea.C: make the extern "C" methods static.
10257 * Makefile.am (lyx_LDADD): simplify
10259 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10261 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10262 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10264 * LyXAction.C (init):
10265 * lyxfunc.C (dispatch): associated code removal.
10267 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10269 * lyxfont.h (isSymbolFont): shut off warning
10271 * text.C (setHeightOfRow):
10272 (getVisibleRow): fix crash with empty paragraphs which have a
10275 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10277 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10280 2001-09-04 José Matos <jamatos@fep.up.pt>
10283 * tabular.C (docbook): rename docBook method to docbook.
10285 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10287 * Makefile.am: add dependencies to main.o.
10289 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10291 * FontLoader.C (available): Return false if !lyxrc.use_gui
10293 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10295 * FontInfo.C (query):
10296 * converter.C (view):
10297 * importer.C (Import):
10298 * exporter.C (Export): Can not -> cannot.
10300 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10302 * BufferView_pimpl.C: allow to create index inset even if
10305 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10307 * buffer.C (getLists): replace boost::tie code with an explicit pair
10308 as boost::tie can break some compilers.
10310 * iterators.h: Added a std:: declaration to the return type of
10313 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10315 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10318 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10320 * iterators.[Ch]: New files. Provide paragraph iterators.
10322 * buffer.C (changeLanguage): Use paragraph iterators.
10323 (isMultiLingual): ditto
10325 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10327 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10329 * FontLoader.C: Support for cmr font.
10331 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10333 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10334 (available): New method.
10336 * FontInfo.C (getFontname): Use scalable fonts even when
10337 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10340 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10342 * converter.C (Formats::view): reverted! Incorrect fix.
10344 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10346 * converter.C (Formats::view): only output the -paper option
10347 if the dvi viewer is xdvi, thereby fixing bug #233429.
10349 2001-08-23 Herbert Voss <voss@perce>
10351 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10353 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10355 * Spacing.h (Spacing): Set space to Default on in the default
10358 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10360 * vc-backend.h (RCS::versionString): add RCS to version
10361 (CVS::versionString): add CVS to version
10363 * vc-backend.C (scanMaster): do not add CVS to version.
10364 (scanMaster): do not add RCS to version
10366 * lyxvc.C (versionString): new method
10368 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10370 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10372 * Spacing.C (set): initialize fval
10374 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10376 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10379 2001-08-16 Juergen Vigna <jug@sad.it>
10381 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10383 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10385 * BufferView_pimpl.C:
10388 * text2.C: setParagraph takes linespacing now
10390 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10392 * LyxAction.C: add internal LFUN_CITATION_INSERT
10394 * LyXView.C: actually apply fix
10396 * bufferlist.C: fix open non-existent file
10398 * lyxfind.C: fix indentation
10400 * lyxfunc.C: remove unneeded assert, fix typo
10402 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10404 * MenuBackend.C: use "Floatname List"
10406 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10408 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10409 when converting LaTeX layout to insetERT.
10410 Generate a non-collapsed float when reading old float
10412 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10414 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10417 2001-08-13 Juergen Vigna <jug@sad.it>
10419 * text.C (fill): return 0 instead of 20 as this seems to be the more
10422 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10424 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10427 2001-08-13 Juergen Vigna <jug@sad.it>
10429 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10431 (SearchBackward): comment out the unlocking of the inset_owner this
10432 should not be needed!
10434 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10436 * Many files: Remove inherit_language, and add latex_language
10438 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10439 collapsible insets.
10441 2001-08-10 Juergen Vigna <jug@sad.it>
10443 * text.C (prepareToPrint): fixed hfill-width in draw!
10445 * BufferView2.C (selectLastWord): save the selection cursor as this
10446 now is cleared in the function LyXText::clearSelection!
10448 2001-08-08 Juergen Vigna <jug@sad.it>
10450 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10451 BACKSPACE type functions.
10453 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10454 is only cutted from the document but not put in the cut-buffer, where
10455 still the old stuff should be.
10457 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10459 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10461 * tabular.C (SetWidthOfCell): fixed special case where the width
10463 (LeftLine): handle '|' in align_special.
10465 (LeftAlreadyDrawed): ditto
10466 (SetWidthOfCell): ditto
10468 2001-08-07 Juergen Vigna <jug@sad.it>
10470 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10472 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10474 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10475 * lyxlex.[hC]: ditto
10477 2001-08-06 Juergen Vigna <jug@sad.it>
10479 * text.C (getVisibleRow): fix up row clearing a bit.
10481 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10483 * minibuffer.C: make sure the X server sees the changes in the input.
10485 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * paragraph.C (getFont): split into...
10488 (getLabelFont): this
10489 (getLayoutFont): and this
10490 * paragraph_pimpl.C (realizeFont): calling this
10492 * text2.C (getFont): split into...
10493 (getLayoutFont): this
10494 (getLabelFont): and this
10495 (realizeFont): all three calling this
10497 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10500 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10502 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10504 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10506 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10507 layouts from the Quote inset insertion.
10509 2001-08-03 Juergen Vigna <jug@sad.it>
10511 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10513 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10514 only if status not is already CHANGED_IN_DRAW (second level).
10516 * text.C (draw): don't set the need_break_row when inside an
10519 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10521 * buffer.C (parseSingleLyXformat2Token): handle more latex
10524 * bufferview_funcs.[hC]: change function names to
10525 begin with small char, adjust other files.
10527 2001-08-02 André Pönitz <poenitz@gmx.net>
10530 BufferView_pimpl.C: remove broken special code for math-greek
10532 2001-08-02 Juergen Vigna <jug@sad.it>
10534 * BufferView_pimpl.C (update): redone this function so that we
10535 update the text again if there was a CHANGE_IN_DRAW.
10537 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10538 (drawFromTo): added a new internal bool which is used by draw() and
10540 (general): some cursor drawing problems fixed.
10542 2001-08-01 Juergen Vigna <jug@sad.it>
10544 * lyxfind.C (LyXFind): fixed
10545 (SearchForward): ditto
10546 (SearchBackward): ditto
10548 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10549 spurius drawing of the cursor in the main area.
10551 * text2.C (status): small fix which could lead to a segfault!
10552 (clearSelection): remove unneeded BufferView param.
10554 2001-08-01 André Pönitz <poenitz@gmx.net>
10556 * lyxfunc.C: small change due to changed mathed interface
10558 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10560 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10562 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10564 * lyxfunc.c: fail gracefully if file doesn't exist
10569 * BufferView_pimpl.C: IsDirWriteable() proto changed
10571 * LyXView.C: fix updateWindowTitle() to store the last title
10573 2001-07-31 Juergen Vigna <jug@sad.it>
10575 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10576 the font (wrong since using of Paragraph::highestFontInRange).
10578 * paragraph.C (highestFontInRange): added a default_size parameter.
10580 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10581 (setHeightOfRow): reformat
10583 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10585 * converter.[hC] + affected files: move to (inital-char)lowercase
10588 * ParagraphParameters.C (ParagraphParameters): remove commented code
10590 * PainterBase.[Ch]: remove commented code
10592 * LaTeXFeatures.h: add "bool floats" for float.sty
10594 * LaTeXFeatures.C (LaTeXFeatures): init floats
10595 (require): handle float
10596 (getPackages): do it with floats
10598 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * BufferView_pimpl.C (Dispatch): improve handling of
10601 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10603 * commandtags.h: #include lyxfont.h here temporarily to avoid
10606 * bufferlist.h: include LString.h here.
10608 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10610 * text2.C (getStringToIndex): new method.
10612 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10614 * *: Reduced header file dependencies all over.
10616 2001-07-30 Baruch Even <baruch@lyx.org>
10618 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10620 2001-07-29 Baruch Even <baruch@lyx.org>
10622 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10624 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10626 * ParameterStruct.h (endif): add a default constructor to make
10627 sure that all variables is initialized.
10629 * ParagraphParameters.C (ParagraphParameters): adjust
10631 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10633 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10634 index; also, check that there is something to index, and that it
10635 does not span over several paragraphs.
10636 (doubleClick): use WHOLE_WORD_STRICT for double click.
10638 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10640 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10643 2001-07-26 Baruch Even <baruch@lyx.org>
10645 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10646 an InsetFig figure, backwards compatible reading of old figure code.
10648 2001-07-27 Juergen Vigna <jug@sad.it>
10650 * text2.C: font.realize function adaption.
10652 * text.C (draw): add a warnings lyxerr text if needed.
10654 * layout.C: font.realize function adaption.
10656 * language.C: add inherit_language and implement it's handlings
10658 * bufferview_funcs.C (StyleReset): remove language parameter from
10659 font creation (should be language_inherit now).
10661 * bufferparams.C (writeFile): handle ignore_language.
10663 * paragraph.C (getFontSettings): the language has to be resolved
10664 otherwise we have problems in LyXFont!
10666 * lyxfont.C (lyxWriteChanges): added document_language parameter
10667 (update): removed unneeded language parameter
10669 * paragraph.C (validate): fixed wrong output of color-package when
10670 using interface colors for certain fonts in certain environments,
10671 which should not seen as that on the final output.
10673 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10675 * BufferView_pimpl.C:
10680 * LyXAction.C: add thesaurus support
10683 * lyxfind.C: add "once" parameter, for thesaurus, to not
10684 move to the next match
10686 2001-07-26 Juergen Vigna <jug@sad.it>
10688 * lyxfont.C (realize): honor ignore_language too!
10691 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10693 * text.C (draw): one place more for ignore_language to not draw
10696 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10698 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10700 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10702 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10703 the minipage conversion problem.
10705 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10710 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10712 * BufferView.h: don't forward declare WorkArea
10714 * BufferView.C: don't include WorkArea.h
10716 2001-07-25 André Pönitz <poenitz@gmx.net>
10720 * lyxfunc.C: new LFUN 'math-space'
10722 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10724 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10726 * text2.C (toggleInset): call open/close
10728 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10730 * lyxfunc.C (dispatch): add debug for the disabled case
10732 * font.C (buttonText): make similar to rectText
10734 * buffer.C (readInset): comment out parsing of insetlist and
10737 * PainterBase.C (rectText): small correction
10739 * BufferView_pimpl.C: comment out insettheorem and insetlist
10740 * LyXAction.C: ditto
10741 * commandtags.h: ditto
10743 2001-07-24 Juergen Vigna <jug@sad.it>
10745 * text.C (draw): honor the ignore_language.
10747 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10749 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10751 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10754 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10756 * lyxtext.h: remove unused (and unimplemented) methods
10758 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10760 * text.C (getVisibleRow): honor background color
10763 * Painter.h: remove default color argument for fillRectangle
10765 * text.C (backgroundColor): new method
10767 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * text.C (getVisibleRow): adjust
10771 * font.[Ch] (rectText): new method, metrics
10772 (buttonText): new method, metrics
10774 * PainterBase.[hC]: make rectText and buttonText always draw and take
10777 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10779 * ToolbarDefaults.C (read):
10780 * MenuBackend.C (read): allow escaping in all strings
10782 * BufferView_pimpl.C (insertAndEditInset): new method.
10783 (Dispatch): use insertAndEditInset whenever appropriate.
10785 * BufferView_pimpl.C (insertNote): removed
10787 * BufferView_pimpl.C (smartQuote): new method, moved from
10788 BufferView; if an insetquote cannot be inserted, insert a '"'
10791 * BufferView2.C: remove insertCorrectQuote();
10793 * lyxfunc.C (getStatus): Add support for all remaingin
10794 inset-insert lfuns.
10796 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10798 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10799 command (necessary to pass " as parameter of self-insert.
10801 * text.C (selectWordWhenUnderCursor):
10802 (selectWord): add word_location parameter
10803 (selectWordWhenUnderCursor): same + remove special code for word
10805 (selectNextWord): use kind() to guess type of insetspecialchar,
10808 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10809 (insertErtContents): create ert insets as collapsed.
10810 (readInset): better compatibility code for Info inset.
10812 2001-07-20 Juergen Vigna <jug@sad.it>
10814 * lyxfunc.C (dispatch): use always LyXFind now!
10816 * text2.C (init): add a reinit flag so that the LyXText can be
10817 reinited instead of deleted and reallocated (used in InsetText).
10819 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10825 2001-07-18 Juergen Vigna <jug@sad.it>
10827 * text.C (selectNextWord): handle insets inside inset by calling
10828 always the bv->text functions so that we can go up the_locking_inset!
10830 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10831 in strange locations when inside an inset!
10833 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10834 handling to include insets.
10836 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10838 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10840 * LyXAction.C (init):
10842 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10843 LIGATURE_BREAK, since the name is so stupid.
10845 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10847 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10850 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10852 * sp_form.[Ch]: remove.
10854 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10856 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10859 * src/buffer.C (readInset): ditto.
10861 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10863 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10864 menuSeparator(), endOfSentenceDot(), ldots() and
10865 hyphenationPoint(), which are therefore removed.
10866 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10868 * LyXAction.C (init):
10869 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10871 * paragraph.C (getWord): removed.
10873 * BufferView_pimpl.C (Dispatch): use last word or selection for
10874 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10876 * lyx_main.C (queryUserLyXDir): do not ask before creating
10877 user_dir, except if it has been named explicitely.
10879 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10881 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10882 a document of zero size.
10884 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10886 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10887 approriately in the c-tor and in require().
10888 (getPackages): output the appropriate LaTeX for natbib support.
10890 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10891 variables "use_natbib" and "use_numerical_citations" when reading the
10893 (readInset): read the various natbib cite commands.
10894 (validate): white-space change.
10896 * bufferparams.[Ch]: new variables "bool use_natbib" and
10897 "bool use_numerical_citations".
10898 (writeFile): output them in the LyX file.
10900 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10902 * lyxfunc.C (getStatus): add support for all the inset insertion
10905 * text2.C (insertInset):
10906 * paragraph.C (insetAllowed):
10907 * BufferView_pimpl.C (insertInset): update to take in account the
10908 renaming of insertInsetAllowed
10910 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10912 * text2.C (getInset): new method. returns inset at cursor position.
10914 * BufferView_pimpl.C (Dispatch): changes because of this.
10916 * LyXAction.C (init): rename open-stuff to inset-toggle.
10918 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10920 * text2.C (toggleInset): renamed from openStuff; use
10923 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10925 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10927 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10929 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10931 * buffer.C (readLyXformat2): Add filename to the error dialog
10933 2001-07-18 Juergen Vigna <jug@sad.it>
10935 * tabular.C (GetCellNumber): put an assert here instead of the check!
10937 2001-07-17 Juergen Vigna <jug@sad.it>
10939 * BufferView_pimpl.C (toggleSelection): adapted too.
10941 * text.C (selectNextWord): adapted for use with insets.
10942 (selectSelectedWord): ditto
10944 2001-07-17 Juergen Vigna <jug@sad.it>
10946 * sp_spell.C (PSpell): fix initialitation order.
10948 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10950 * paragraph.C: spacing
10952 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10954 * sp_spell.C: repair language selection for pspell
10956 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * lyxfunc.h: change more methods to begin with lower char.
10960 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10962 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10963 for unknown layouts.
10965 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10967 * buffer.C (readLyXformat2): Generate an error dialog if there are
10970 2001-07-16 Juergen Vigna <jug@sad.it>
10972 * sp_spell.C: always compile ISpell part.
10974 * lyxrc.C: added use_pspell entry and it's handling.
10976 2001-07-13 Juergen Vigna <jug@sad.it>
10978 * sp_spell.C: removed double includes.
10980 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10982 Consistent use of Lsstream.h:
10983 * Lsstream.h: added using std::stringstream for consistencies sake.
10985 * buffer.C: removed using std::stringstream
10987 * lyxfont.C (stateText):
10988 * paragraph.C (asString):
10989 * text.C (selectNextWord, selectSelectedWord):
10990 * text2.C (setCounter):
10991 * vspace.C (asString, asLatexString):
10992 std::ostringstream -> ostringstream.
10994 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10996 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10997 * commandtags.h: add LFUN_HELP_ABOUTLYX
10998 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11000 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11002 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11004 * lyx_gui_misc.C: remove spellchecker
11005 * lyxfunc.C: showSpellchecker
11007 * sp_ispell.h: added
11008 * sp_pspell.h: added
11009 * sp_spell.C: added
11010 * sp_form.[Ch]: removed
11011 * spellchecker.[Ch]: removed
11013 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11015 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11017 (simpleTeXSpecialChars): Simply print the input character without
11018 any special translation if pass_thru is set.
11020 * layout.h: Added bool pass_thru to layout class for being able to
11021 implement pass through of a paragraph for Literate Programming.
11023 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11024 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11025 * layout.C (Read): add "passthru" to list of layout tags and add
11026 code to set the pass_thru boolean when it is read.
11028 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11030 * trans_decl.h: remove allowed from KmodInfo
11032 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11033 remove allowed code
11036 * paragraph_pimpl.C (erase): use boost::prior
11038 * Painter.C (text): use data() instead of c_str() when length is
11040 * WorkArea.C (putClipboard): ditto
11041 * font.h (width): ditto
11043 * BufferView2.C: use it-> instead of (*it). for iterators
11045 * paragraph_pimpl.C: ditto
11046 * paragraph.C: ditto
11047 * minibuffer.C: ditto
11048 * language.C: ditto
11050 * encoding.C: ditto
11051 * counters.C: ditto
11052 * converter.C: ditto
11054 * Variables.C: ditto
11055 * TextCache.C: ditto
11056 * MenuBackend.C: ditto
11057 * LyXAction.C: ditto
11059 * FloatList.C: ditto
11060 * DepTable.C: ditto
11061 * ColorHandler.C (LyXColorHandler): ditto
11063 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11065 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11067 * text2.C (openStuff): reintroduce this method (which had been
11068 nuked in NEW_INSETS frenzy).
11070 * lyxfunc.C (Dispatch): when an action has not been handled, use
11071 its name in the error message, not its number.
11073 * paragraph.C (inInset): change method name to begin with lowercase.
11076 * text2.C: updates because of this.
11078 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11080 * ToolbarDefaults.C (add): add spaces in error message
11082 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11084 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11085 (readLyXformat2): rename return_par to first_par, use lyxlex's
11086 pushToken and remove the manual push handling.
11087 (parseSingleLyXformat2Token): add another ert comp. variable:
11088 in_tabular, rename return_par to first_par. handle newlines better
11090 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11092 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11094 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11096 * text2.C (getParFromID): removed
11098 * buffer.C (getParFromID): new method moved form lyxtext.
11099 * BufferView2.C (insertErrors): adjust
11100 (setCursorFromRow): adjust
11101 * BufferView_pimpl.C (restorePosition): adjust
11102 * lyxfunc.C (Dispatch): adjust
11103 * undo_funcs.C (textUndo): adjust
11105 (textHandleUndo): adjust
11106 (textHandleUndo): adjust
11108 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11110 * buffer.C: up' the LYX_FORMAT
11112 * lyxfont.h: turn NO_LATEX on as default
11114 * buffer.C (insertErtContents): new methods of tex style compability.
11115 (parseSingleLyXformat2Token): use it several places.
11116 * tabular.C (OldFormatRead): and here
11118 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11120 * text2.C: remove some commented code.
11123 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11124 * trans.C: changes because of the above.
11126 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11128 * text2.C (setCounter): Fix counters bug with bibliography layout.
11130 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11132 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11133 own member functions
11134 (simpleTeXSpecialChars): ditto
11136 2001-07-06 Juergen Vigna <jug@sad.it>
11138 * a lot of files: changed the access to LyXText::status and the
11139 call of undo-functions.
11141 * undo.[Ch]: added a inset_id to the undo informations.
11143 * undo_funcs.[Ch]: added and moved here all undo functions.
11145 * lyxtext.h: give the status enum a weight, made status_ a private
11146 variable and made accessor functions for it, removed the whole bunch
11147 of undo-functions as they are now in their own file, make some
11148 functions publically available. Added function ownerParagraph with
11151 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11152 made InInset() a const function, added getParFromID() function.
11154 * buffer.[Ch]: added const version for inset_iterator functions,
11155 added getInsetFromID() function.
11157 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11158 changed undo functions for new version.
11160 2001-07-05 Juergen Vigna <jug@sad.it>
11162 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11163 unknow mechanism does not call the proper constructor but only this
11164 one also if I request the other!?
11166 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11168 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11170 * text2.C (LyXText): use initialization lists.
11172 * lyxtext.h (Selection): initialize set_ and mark_
11173 (init): remove method
11175 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11177 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11179 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * screen.[Ch]: change method names to begin with lowercase
11183 * BufferView_pimpl.C (updateScrollbar): simplify further and
11184 hopefully make it a bit faster.
11186 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11188 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11189 calling directly xforms functions.
11191 * Painter.C (Painter):
11192 * lyx_cb.C (MenuWrite):
11193 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11196 * lyx_gui.C: remove bogus guiruntime extern declaration.
11198 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11200 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11202 (redoDrawingOfParagraph): ditto
11203 (redoParagraphs): ditto
11204 (cutSelection): don't create a object for CutAndPaste use the
11205 static method directly
11206 (pasteSelection): ditto
11208 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11211 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * modifications to some other files because of this.
11215 * Makefile.am (lyx_SOURCES): add XFormsView
11217 * XFormsView.[Ch]: new files
11219 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11220 the main window. Move the gui dependent stuff to XFormsView
11222 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11224 * tabular.C (GetCellInset): update cur_cell also in the row/col
11225 version of this function.
11227 * lyxfunc.C: no need to include figure_form.h here.
11233 * lyxvc.C: no need to include forms.h here.
11235 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11237 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11239 * lyxfunc.C (Dispatch):
11241 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11242 constructor argument.
11244 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11246 * paragraph.C (Paragraph): dont't clear, and just set layout.
11247 (makeSameLayout): use params's copy contructor.
11249 * ParagraphParameters.[Ch] (makeSame): delete method
11251 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11253 * Variables.[Ch]: fix indentation, rename set to isSet
11255 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * lyxfunc.C (Dispatch): fix typo
11259 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11261 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11264 * bufferlist.C: include assert.h for emergencyWrite().
11266 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11268 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11269 give up at last (bug #425202) !
11271 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11277 * spellchecker.C: strip spellchecker options and bring up
11278 preferences tab instead
11280 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11283 the istringstream constructor
11285 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11287 * paragraph.C (getLayout): fix return value
11289 * paragraph.h: do not declare getLayout as inline.
11291 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11293 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * lyxcursor.h (operator<): new func
11296 (operator>): new func
11297 (operator>=): new func
11298 (operator<=): new func
11300 * text.C (changeCase): use selection.start and selection.end
11301 (changeRegionCase): require from to be <= to. Require par to be a
11304 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11306 2001-06-27 Juergen Vigna <jug@sad.it>
11308 * text.C (cursorLeftOneWord): changed to return the cursor and added
11309 overlay with BufferView * parameter which calls this one.
11311 (selectWord): use new getWord function.
11312 (changeCase): renamed from changeWordCase as and extended to work
11313 also on selections.
11315 * lyxtext.h: added enum word_location
11317 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11318 changeCase as this operates now also on selections.
11320 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11322 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11324 * many files: send debug output to Debug::INFO instead of
11327 * converter.C (View):
11329 (Move): send debug output to Debug::FILES instead of console.
11331 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11333 * lyxfunc.C (getStatus): use func_status
11335 * func_status.h: new header, describing the results of
11336 LyXFunc::getStatus;
11338 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11341 2001-06-25 The LyX Project <jug@sad.it>
11343 * buffer.C (sgmlOpenTag):
11345 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11347 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * text2.C: remove some dead code
11351 * tabular.C (GetCellInset): store the last cell checked (gotten)
11353 * tabular.h: add the helper for the speedup
11355 * lyxtext.h: remove some dead code
11357 2001-06-26 The LyX Project <Asger>
11359 * paragraph.C: Change export to LaTeX of alignment to
11360 \begin{center} and family for better roundtrip work with reLyX.
11362 * Tune the math drawing a bit.
11364 2001-06-25 The LyX Project <Asger>
11366 * LColor.C (LColor): New color for math background. New color
11369 2001-06-25 The LyX Project <jug@sad.it>
11371 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11373 * lyxfunc.C (Open):
11374 * bufferlist.C (newFile): do not restrict to files ending with
11377 * BufferView_pimpl.C (MenuInsertLyXFile):
11379 2001-06-24 The LyX Project <jug@sad.it>
11381 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11384 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11386 * lyxtext.h: rename most methods to begin with a small char.
11387 Lots of changes because of this.
11389 * paragraph.C (Paragraph): do not call fitToSize
11390 (erase): call Pimpl::erase
11391 (insertChar): call Pimpl::insertChar
11392 (insertInset): call Pipl::insertInset
11393 (breakParagraph): do not call fitToSize
11394 (breakParagraphConservative): do not call fitToSize
11395 (fitToSize): remove method
11397 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11399 2001-06-24 The LyX Project <Asger>
11401 * Fix Qt compilation^2
11403 2001-06-24 The LyX Project <jug@sad.it>
11405 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11406 depthHook(getDepth()-1).
11409 * ParagraphParameters.h:
11410 * ParameterStruct.h: change type of depth to unsigned int ==
11411 depth_type. Many adaptations to other files before of that.
11413 2001-06-24 The LyX Project <Asger>
11415 * Fix Qt compilation.
11417 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * paragraph.h: renamed several methods to begin with small letter.
11420 several changes to many parts of the code because of this.
11422 2001-06-23 The LyX Project <jug@sad.it>
11424 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11425 rewritten to discard all double spaces when KeepEmpty is off
11426 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11427 to only handle newlines but not fiddle with spaces and friends.
11429 * lyxfunc.C (MenuNew): when doing 'new from template', use
11430 template_path as default directory
11432 2001-06-23 The LyX Project <Asger>
11434 * Clean-up of header file includes all over
11435 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11437 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11439 * paragraph.h: renamed from lyxparagraph.h
11441 2001-06-23 Asger <lyx@violet.home.sad.it>
11443 * Buffer.h: Removed Buffer::resize
11444 * BufferList.h: Removed BufferList::resize
11445 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11446 the document lazily when we change the width, or the font settings.
11448 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11450 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11452 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11454 * buffer.h: remove out of date comment
11456 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11459 * screen.C: fix "theoretical" GC leak
11461 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11463 * LaTeX.C (scanAuxFile):
11464 (deplog): remove trailing \r when reading stream (useful under
11467 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11469 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11470 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11471 and BufferView::theLockingInset(Inset*), so should use them and not
11472 access bv_->text->the_locking_inset directly.
11474 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11476 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11479 * tex-defs.h: remove old unused file
11481 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11483 * BufferView_pimpl.C: fix typo, remove minibuffer message
11484 when buffer has loaded
11486 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11488 * lyxfunc.C (Dispatch): use stringstream
11489 (MenuNew): use stringstream
11490 (Open): use stringstream
11492 * importer.C (Import): use stringstream
11494 * bufferview_funcs.C (CurrentState): use stringstream
11496 * LaTeX.C (run): use stringstream
11498 * BufferView_pimpl.C (savePosition): use stringstream
11499 (restorePosition): use stringstream
11500 (MenuInsertLyXFile): use stringstream
11502 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11515 * vspace.C: removed // -*- C++ -*- as first line.
11518 * version.h: added // -*- C++ -*- as first line.
11520 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11522 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11524 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11527 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11532 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11534 * gettext.C: include LString.h even when --disable-nls is on.
11536 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11538 * converter.h (Get): changed argument type from int to
11539 FormatList::size_type to avoid unnecessary conversion.
11541 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11544 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11546 * gettext.h: include LString.h even when --disable-nls is on.
11548 2001-06-07 Juergen Vigna <jug@sad.it>
11550 * text.C (BreakAgain): subst spaces with tabs.
11552 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11553 (resizeInsetsLyXText): set force on resizeLyXText.
11555 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11557 * gettext.h (gettext_init):
11558 (locale_init): use a real definition instead of a macro
11560 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11562 * Bufferview_pimpl.C:
11564 * LColor.C: further lcolor tidies
11566 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * BufferView_pimpl.C (updateScrollbar): simplify.
11570 * BufferView2.C: don't include insets/insetinfo.h, change
11571 prototype for insertInset and call the Pimpl version. let
11572 updateInset call Pimpl version.
11574 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11575 gotoInset to BufferView::Pimpl
11577 2001-06-01 Juergen Vigna <jug@sad.it>
11579 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11580 inside a LockingInset (is the update needed at all?).
11582 2001-05-31 Juergen Vigna <jug@sad.it>
11584 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11585 here not the old one otherwise how should we compare it afterwards
11588 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11593 * FontInfo.C: bring C functions into global namespace when
11596 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11598 * LString.h: make sure config.h has been loaded before LString.h.
11600 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11601 (one for each char read by EatLine!).
11603 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11606 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11608 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11609 to the same as the par we break from
11611 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11615 * MenuBackend.C (expand): also create menu entries for wide
11616 versions of the floats.
11618 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11620 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11622 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11623 frontends/Makefile.am
11629 * tabular.C (getTokenValue): add std::
11631 * tabular-old.C (getTokenValue): add std::
11632 (getTokenValue): ditto
11633 (getTokenValue): ditto
11635 * screen.C (ToggleSelection): adjust
11637 * lyxtext.h: put selection cursors inside a Selection struct.
11639 * lyxfunc.C (moveCursorUpdate): adjust
11641 * lyxfont.C (latexWriteStartChanges): add std::
11643 * lyxfind.C: adjust
11645 * font.h: delete with(char const *, LyXFont const &)
11647 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11649 * FontInfo.C (getFontname): add std::
11651 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11652 (workAreaButtonPress): adjust
11653 (tripleClick): adjust
11655 (moveCursorUpdate): adjust
11658 * BufferView2.C (gotoInset): adjust
11660 2001-05-30 Juergen Vigna <jug@sad.it>
11662 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11663 to check pspell I add this as default as I now have new pspell
11664 libraries and they seem to use this.
11666 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11668 * text2.C (CutSelection): make the cursor valid before the call to
11671 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11673 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11674 relied on 0 terminated strings and other horrors. Bug found due to
11675 the new assert in lyxstring!
11677 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11680 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11682 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11685 * lyxfunc.C (processKeySym): change method of getting to the
11688 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11689 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11690 * BufferView_pimpl.[Ch]: here as private methods.
11692 2001-05-28 Juergen Vigna <jug@sad.it>
11694 * text.C (SetHeightOfRow): added the update() call again as it is
11695 needed to initialize inset dimensions!
11697 2001-05-16 Juergen Vigna <jug@sad.it>
11699 * text2.C (SetCharFont): Add new function with BufferView * and
11700 bool toggleall parameters for setting insets internal fonts.
11701 (SetFont): Freeze the undo as we may change fonts in Insets and
11702 all this change should be inside only one Undo!
11704 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11705 setting font's in insets as for them we have the SetFont function!
11707 2001-05-15 Juergen Vigna <jug@sad.it>
11709 * text2.C (ClearSelection): to be sure we REALLY don't have any
11712 * tabular.C (TeXCellPreamble): fixed the left border problem for
11715 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11717 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11720 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11722 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11723 LFUN_BREAKPARAGRAPH.
11725 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11726 help test to "internal only", similar for LFUN_INSERT_URL
11728 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11729 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11730 auto_region_delete and deadkeys.
11732 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11735 * LColor.C: remove some dead entries, tidy a little
11737 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11739 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11741 (Dispatch): implement LFUN_ESCAPE
11743 * commandtags.h: add LFUN_ESCAPE
11745 * LyXAction.C (init): add entry for LFUN_ESCAPE
11747 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11748 Remove commented code.
11749 (insertNote): moved here
11750 (open_new_inset): moved here
11752 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11755 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11757 * kbmap.C (findbinding): clean it up and make it work correctly.
11759 * lyx_main.C (init): do not pass argc and argv as parameters
11761 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11763 * buffer.C: fix path for OS/2 & Win32
11767 * lyx_main.C: Added os:: class.
11769 * os2_defines.h: update
11771 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11774 better by trying again with reduced state.
11776 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * lyxrc.C (read): print error about invalid key sequence only when
11779 debugging (because not all latinX keysyms are known to some X
11782 * kbsequence.C (getiso): add a few std:: qualifiers
11783 (getiso): comment out extra return statement.
11785 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11789 (Dispatch): enhance the accent inset a bit. (not perfect)
11791 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11795 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11797 * bufferlist.C (emergencyWrite): fix assert() call
11799 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11801 * text.C (InsertChar): Added trivial patch to only send the "you
11802 can not do multiple spaces this way" message once during a
11805 2001-05-08 Baruch Even <baruch@lyx.org>
11807 * Makefile.am: Changed order of libraries to get LyX to link properly
11808 with the gnome frontend.
11810 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11812 * LaTeXFeatures.h: add a std:: qualifier
11814 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11816 * paragraph.C (String): use stringstream
11818 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11820 * paragraph.C (writeFile): remove footflag arg
11822 * buffer.C (makeLaTeXFile): use stringstream
11823 (latexParagraphs): remove footnot gurba
11825 * LaTeXFeatures.C (getPackages): use stringstream
11826 (getMacros): likewise
11827 (getTClassPreamble): likewise
11828 (getFloatDefinitions): new method
11830 * paragraph.C (writeFile): reindent
11833 * WorkArea.h: revert the xpos + etc changes.
11835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11837 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11839 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11840 (pasteSelection): likewise
11841 * text2.C (CreateUndo): likewise
11843 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11845 * minibuffer.C (peek_event): temporarily reduce the functionality
11846 of the minibuffer (to allow args on lfuns)
11848 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11849 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11851 * buffer.C (readInset): add compability reading of old float
11852 lists, add reading of new style float list.
11853 (readInset): avoid reevaluation of inscmd.getCmdName()
11854 (getLists): reindent
11856 * MenuBackend.C (MenuItem): implement parsing of
11857 md_floatlistinsert and md_floatinsert.
11858 (expand::LastFiles): move initalizaton of iterators out of loop,
11859 avoid reevaluation.
11860 (expand::Documents): introduce typdedef vector<string> Strings,
11862 (expand::ExportFormats): introduce typedef vector<Format const *>
11863 Formats, and use it.
11864 (expand): implement FloatListInsert and FloatInsert.
11866 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11867 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11868 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11870 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11872 (Dispatch::LFUN_FLOAT_LIST): implement
11874 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11876 * LaTeX.C (run): Fix problem with --export code.
11878 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11880 * BufferView.[Ch] (workarea): removed.
11881 (getClipboard) new method; wrapper for workarea()->getClipboard()
11883 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11886 * WorkArea.h (width, height, xpos, ypos): These methods all
11887 returned the dimensions of the work_area sub-area of WorkArea,
11888 resulting in a position error if the WorkArea were resized. Now
11889 return the dimensions of the entire WorkArea.
11891 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11893 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11895 * LaTeX.C (deplog): correct the syntax of regex reg1
11897 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * undo.C: remove !NEW_INSETS cruft
11901 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * text2.C: remove !NEW_INSETS cruft
11905 * text.C: remove !NEW_INSETS cruft
11907 * tabular.C: remove !NEW_INSETS cruft
11909 * spellchecker.C: remove !NEW_INSETS cruft
11911 * lyxtext.h: remove !NEW_INSETS cruft
11913 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11915 * lyxfunc.C: remove !NEW_INSETS cruft
11917 * lyxfind.C: remove !NEW_INSETS cruft
11919 * lyx_cb.C: remove !NEW_INSETS cruft
11921 * figureForm.C: remove !NEW_INSETS cruft
11923 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11925 * buffer.[Ch]: remove !NEW_INSETS cruft
11927 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11929 * CutAndPaste.C: remove !NEW_INSETS cruft
11931 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11933 * BufferView2.C: remove !NEW_INSETS cruft
11935 * BufferView.h: remove !NEW_INSETS cruft
11937 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11939 * Lsstream.h: include LString.h before the sstream headers to
11940 fix problem with gcc 2.95.3 and lyxstring
11942 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11944 * lyx_main.C: add using directives when needed for C functions
11945 declared in std:: namespace.
11947 2001-04-27 Juergen Vigna <jug@sad.it>
11949 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11950 (SetHeightOfRow): comment out the update call should not be needed!
11952 2001-04-13 Juergen Vigna <jug@sad.it>
11954 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11955 (LyXTabular): tried to minimize operator= operations (and realized
11956 hopfully Lars wish).
11958 2001-04-27 Juergen Vigna <jug@sad.it>
11960 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11962 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11964 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11966 * buffer.C (readInset): hack to make listof algorithm work
11968 * BufferView_pimpl.C: hack to make listof algorithm work
11970 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11972 * LyXAction.C: removed all !NEW_INSETS cruft
11973 (init): moved lfun_item in method
11975 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11977 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11979 * BufferView2.C (theLockingInset): white space.
11981 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * minibuffer.C: include <iostream>
11985 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11987 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11989 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11991 * text.[Ch] (TransposeChars): new method
11993 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11995 * call message directly through LyXView instead of through LyXFunc
11996 * BufferView2.C: adjust
11997 * BufferView_pimpl.C: adjust
11998 * FontLoader.C: adjust
12000 * bufferview_funcs.C: adjust
12001 * converter.C: adjust
12002 * figureForm.C: adjust
12003 * importer.C: adjust
12005 * lyx_gui_misc.C: adjust
12006 * lyxfunc.C: adjust
12009 + more files in subdirs
12011 * lyxparagraph.h (size): move up int file
12014 * adjust all uses of Assert to lyx::Assert.
12016 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12017 lyxfunctional in namespace lyx
12018 * layout.C (hasLayout): ditto
12021 (delete_layout): ditto
12022 (NumberOfClass): ditto
12023 * converter.C (GetFormat): ditto
12028 * bufferlist.C (getFileNames): ditto
12029 (emergencyWriteAll): ditto
12032 * MenuBackend.C (hasSubmenu): ditto
12035 * BufferView_pimpl.C (getInsetByCode): ditto
12037 2001-04-18 Juergen Vigna <jug@sad.it>
12039 * vspace.C (asLatexString): fixed the 100% problem.
12041 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12043 * lyxfunc.C (Dispatch):
12045 * minibuffer.h: add a few std:: qualifiers
12047 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * minibuffer.[Ch]: reimplement so that commands is initiated and
12050 run from lyxfunc, simplified som handling, and made the completion
12051 and history code for complete. wip.
12053 * lyxfunc.C (processKeySym): call message
12054 (miniDispatch): new temporary method
12055 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12056 (LFUN_MESSAGE): implement
12057 (LFUN_MESSAGE_PUSH): implement
12058 (LFUN_MESSAGE_POP): implement
12059 (initMiniBuffer): the initial/defualt minibuffer message.
12061 * lyxfont.[Ch]: inline some more getters
12063 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12065 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12067 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12068 (AutoSave): use LFUN_MESSAGE
12069 (Reconfigure): ditto
12071 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12073 * figureForm.C: use LFUN_MESSAGE
12075 * converter.C (runLaTeX): use LFUN_MESSAGE
12077 * bufferview_funcs.C: use LFUN_MESSAGE
12079 (changeDepth): ditto
12081 * bufferparams.h: use boost::
12083 * bufferlist.h: inherit privately from noncopyable
12085 * bufferlist.C (loadLyXFile): remove some commented code.
12087 * buffer.C (runChktex): use LFUN_MESSAGE
12089 * ShareContainer.h: inherit privately from noncopyable
12091 * ParagraphParameters.[hC] (depth): inline it.
12093 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12095 (message): new method
12096 (messagePush): ditto
12097 (messagePop): ditto
12098 (show): init minibuffer
12099 (showState): direct call
12101 * LaTeX.[Ch]: inherit privately from noncopyable
12102 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12103 instead of WriteStatus.
12105 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12107 * BufferView_pimpl.C (buffer): don't init minibuffer
12108 (workAreaButtonPress): use LFUN_MESSAGE
12109 (workAreaButtonRelease): ditto
12110 (savePosition): ditto
12111 (restorePosition): ditto
12112 (MenuInsertLyXFile): ditto
12113 (workAreaExpose): don't init minibuffer
12114 (update): remove commented code, simplify
12116 * BufferView2.C (openStuff): use LFUN_MESSAGE
12117 (toggleFloat): ditto
12120 (copyEnvironment): ditto
12121 (pasteEnvironment): ditto
12126 (updateInset): remove some commented code
12128 * lastfiles.h: inherit privately from noncopyable
12131 * lyx_main.h: ditto
12133 * lyxlex_pimpl.h: ditto
12135 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12136 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12137 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12139 * LyXAction.h: inherit privately from noncopyable, add methods
12140 func_begin, func_end, returning iterators to the func map.
12142 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12143 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12144 (func_begin): new method
12145 (func_end): new method
12147 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12149 (copySelection): ditto
12150 (pasteSelection): ditto
12152 * BufferView.C: whitespace change
12153 * BufferView.h: inherit privately from noncopyable
12155 2001-04-16 Allan Rae <rae@lyx.org>
12157 * tabular-old.C (l_getline):
12158 * spellchecker.C (sc_check_word):
12159 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12160 an unrecognised preprocessor directive. So ensure they're wrapped.
12162 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12164 * src/exporter.C (Export): Give an error message when path to file
12167 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12169 * LaTeX.C (deplog): Always check that foundfile exists.
12171 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12176 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12178 * tabular.[Ch] (getLabelList): implement new method
12180 * minibuffer.h: comment ouf setTiimer
12182 * minibuffer.C (ExecutingCB): constify res
12183 (peek_event): constify s
12184 (Set): constify ntext
12185 (Init): constify nicename
12187 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12189 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12190 (savePosition): use two params to Minibuffer::Set
12191 (restorePosition): ditto
12193 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12195 * lyx_main.C: include language.h
12197 * Makefile.am (lyx_main.o): add language.h
12199 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12205 * CutAndPaste.C: include gettext.h
12207 * lyxfont.h: remove old hack with ON and OFF.
12210 * lyxfont.h: do not include language.h...
12215 * bufferview_funcs.C:
12221 * paragraph.C: ... but do it here instead
12223 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12225 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12227 * tabular.C: small reformat
12229 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12232 (BreakParagraph): ditto
12233 (SetOnlyLayout): ditto
12236 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12239 * lastfiles.C: removed most using decl, add std:: where needed
12241 * buffer.C: ws changes
12243 * MenuBackend.C (class compare_format): put into anon namespace
12244 (expand): constify label, names, action, action2
12247 * text.C (SingleWidth): constify font
12248 (IsBoundary): constify rtl2
12249 (GetVisibleRow): constify ww
12251 * LaTeX.C (deplog): constify logfile
12253 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12255 (workAreaExpose): constify widthChange, heightChange
12257 * lyxrow.C (par): moved
12260 * lyxrow.h: as inlines here
12262 * lyxfont.h (shape): moved from lyxfont.C
12263 (emph): moved from lyxfont.C
12265 * lyxfont.C (LyXFont): use initialization list for all
12267 (shape): move to lyxfont.h as inline
12268 (emph): move to lyxfont.h as inline
12271 2001-04-04 Juergen Vigna <jug@sad.it>
12273 * vspace.C: had to include stdio.h for use of sscanf
12275 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12278 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12279 independent of xforms.
12281 2001-04-02 Juergen Vigna <jug@sad.it>
12283 * spellchecker.C: fixed namespace placing!
12285 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12287 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12288 the LyXParagraph * is 0.
12290 2001-03-29 Juergen Vigna <jug@sad.it>
12292 * vspace.C: added support for %, c%, p%, l%.
12293 (stringFromUnit): added helper function.
12294 (asLatexString): changed to give right results for the %-values.
12296 * buffer.C: convert the widthp in a width%.
12298 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12300 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12303 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12304 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12306 * lyx_cb.[Ch]: see above.
12308 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12312 * lyx.[Ch]: replaced by figure_form.[Ch].
12316 * lyxfunc.C: changed headers associated with above changes.
12318 2001-03-27 Juergen Vigna <jug@sad.it>
12320 * BufferView_pimpl.C: set the temporary cursor right!
12322 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12324 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12326 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12328 * LString.h: removed "using std::getline"!
12330 * BufferView_pimpl.C (Dispatch): changes due to changes in
12331 InsetInclude::Params.
12333 * buffer.C (tag_name): removed redundant break statements as they were
12334 producing lots of warnings with my compiler.
12336 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12338 * LString.h: add "using std::getline" when using the real <string>.
12340 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12342 * buffer.C: removed bitset usage.
12343 PAR_TAG moved to an anonymous name space.
12344 (tag_name): new funtion, also in the anonymous namespace.
12345 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12346 (makeDocBookFile): clean code. Completed transition from string arrays
12348 (SimpleDocBookOnePar): code clean.
12350 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12352 * tabular.C: add some comments.
12354 2001-03-22 Juergen Vigna <jug@sad.it>
12356 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12357 compatibility read a bit and fixed bug with minipage in different
12360 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12362 * buffer.C (pop_tag): removed.
12363 (push_tag): removed.
12364 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12365 array replaced with vector. Added support for CDATA sections.
12366 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12368 (makeDocBookFile): XML conformant declaration of CDATA section,
12369 fixed bug related to <emphasis> in the first paragraph char.
12370 (sgmlOpenTag): exclude empty tags.
12371 (sgmlCloseTag): ditto.
12373 * buffer.h (pop_tag): removed.
12374 (push_tag): removed.
12376 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12378 * language.h (Languages): added size_type and size().
12380 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12382 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12383 response on compability reading of minipages. One probliem is that
12384 the old usage of minipages was «flertydig»
12386 * several files here and in subdirs: don't use static at file
12387 scope use anon namespaces instead.
12389 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12391 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12392 LaTeX output. This is necessary for Literate document
12395 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12397 * buffer.C: insert hfill when needed.
12399 * tabular.C (l_getline): use string::erase, small whitespace change.
12401 * BufferView_pimpl.C: try the anon namespace.
12402 * WorkArea.C: ditto
12404 2001-03-16 Juergen Vigna <jug@sad.it>
12406 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12407 otherwise it won't open options-dialogs.
12409 * buffer.C: honor pextraWidth(p) on converting minipages.
12411 * tabular.C (l_getline): changed the functions to strip trailing \r.
12413 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12415 * BufferView_pimpl.C:
12416 * minibuffer..C: added "using SigC::slot" declaration.
12418 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12420 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12426 * paragraph.C: ditto
12428 * lyxtext.h: NO_PEXTRA
12430 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12432 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12433 * ParameterStruct.h: ditto
12434 * ParagraphParameters.h: ditto
12435 * lyxparagraph.h: ditto
12437 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12439 * buffer.C: add compability for minipage alignment.
12440 (latexParagraphs): remove unwanted pextra check.
12442 * several files: remove CXX_WORKING_NAMESPACES
12444 * buffer.C (pop_tag): tie is in namespace boost
12446 * BufferView.h: noncopyable is in namespace boost
12448 * lyx_main.h: ditto
12451 * lastfiles.h: ditto
12452 * bufferlist.h: ditto
12453 * ShareContainer.h: ditto
12455 * LyXAction.h: ditto
12458 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12460 * Merging changes from BRANCH_MVC back into HEAD.
12462 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12464 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12466 * BufferView_pimpl.C: change from intl.C
12470 * Makefile.am: move combox.*
12476 * intl.C: remove dialog (covered by prefs)
12478 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12480 * lyxfunc.C (Dispatch): removed redundant break statement.
12482 2001-03-14 Juergen Vigna <jug@sad.it>
12484 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12486 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12488 * buffer.C: add hack to fix compability reading of minipages.
12490 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12492 * buffer.C (getLists): Cleanup.
12494 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12496 * lyxfont.C (update): don't honor toggleall on font size.
12498 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12502 * Makefile.am: moved to frontends/xforms/
12506 * BufferView_pimpl.C: changes for moved mathpanel
12508 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12510 * gettext.h: fix gettext_init() in --disable-nls
12512 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12514 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12516 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12519 * lyx.h: strip external form
12521 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12523 * BufferView_pimpl.C: add comment, destroySplash()
12525 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12527 * BufferView_pimpl.C:
12531 * lyxfunc.C: use re-worked insetinclude
12533 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12535 * buffer.C: add using std::stringstream.
12537 * lyx_cb.C: readd using std::ios.
12539 * buffer.C: add using std::map.
12541 * BufferView_pimpl.C: add using std::vector.
12543 * ShareContainer.h: add std:: to swap.
12545 * buffer.h: add some typedefs
12546 * buffer.C (getLists): use them
12547 (getLists): renamed from getTocList.
12548 add a counter for the different float types and use it in the
12550 (getLists): use the same counter for the NEW_INSETS and the "non"
12553 * lyx_cb.h: remove unused items, includes, using etc.
12555 * ShareContainer.h: remove some commented code, add more comments
12556 and "documentation".
12558 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12560 * buffer.C (getTocList): make the list also when NEW_INSETS is
12563 * buffer.h: remove TocType
12565 * buffer.C (getTocList): change to return a map<string,
12566 vector<TocItem> >, implement for dynamic number of list.
12568 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12569 * text2.C (PasteSelection): adjust
12570 * CutAndPaste.C (pasteSelection): adjust
12572 * FloatList.C (FloatList): update from the new_insets branch.
12573 * Floating.[Ch]: ditto
12574 * LaTeXFeatures.C: ditto
12576 * lyxlex_pimpl.C: ditto
12578 * paragraph.C (Last): remove when NEW_INSETS is defined.
12580 * other file: changes because of the above.
12582 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12584 * lyxparagraph.h: rename next to next_, previous to previous_,
12585 make them private for NEW_INSETS. Rename Next() to next(),
12586 Previous() to previous().
12588 * other files: changes because of the above.
12590 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12593 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12596 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12598 * main.C (main): pass lyx_localedir to gettext_init().
12600 * gettext.h: remove locale_init and gettext_init macros
12602 * gettext.C (locale_init): new function
12603 (gettext_init): new function
12605 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12608 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12610 * Moved credits to frontends:
12611 * credits.[Ch]: removed
12612 * credits_form.[Ch]: removed
12613 * lyx_gui_misc.C: remove credits stuff
12616 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12618 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12620 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12621 unneeded destructor.
12623 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12624 a standalone pointer again.
12626 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12628 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12634 * ToolbarDefaults.C:
12643 * BufferView_pimpl.C: use new file dialog in GUII
12646 * lyx_cb.C: remove LayoutsCB to Toolbar
12648 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12650 * ShareContainer.h (get): add std:: qualifier
12652 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12654 * ShareContainer.h: define a proper ShareContainer::value_type
12655 type (and use typename to please compaq cxx)
12657 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12659 * lyxparagraph.h: move serveral local vars to
12660 ParameterStruct/ParagraphParameters., use ShareContainer in
12661 FontTable., make vars in FontTable private and add getter and
12664 * paragraph.C: changes because of the above.
12666 * lyxfont.h: remove copy constructor and copy assignment. (the
12667 default ones is ok), move number inside FontBits. move inlines to
12670 * lyxfont.C: add number to initializaton of statics, move several
12671 inlines here. constify several local vars. some whitespace
12672 cleanup. Dont hide outerscope variables.
12674 * Spacing.h: add two new constructors to match the set methods.
12676 * ShareContainer.h: new file, will perhaps be moved to support
12678 * ParameterStruct.h: new file
12680 * ParagraphParameters.h: new file
12682 * ParagraphParameters.C: new file
12684 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12685 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12687 * BufferView_pimpl.C: ParagraphParameter changes.
12688 * buffer.C: Likewise.
12689 * bufferview_funcs.C: Likewise.
12690 * text.C: Likewise.
12691 * text2.C: Likewise.
12693 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12695 * lyxfind.C (LyXReplace): do not redefine default argument in
12697 (IsStringInText): ditto
12698 (SearchForward): ditto
12699 (SearchBackward): ditto
12701 2001-03-06 Juergen Vigna <jug@sad.it>
12703 * lyxfind.C (IsStringInText): put parentes around expressions.
12705 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12707 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12709 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12711 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12713 * stl_string_fwd.h: add comment
12715 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12718 * tabular.C: remove unused DocBook methods
12724 killed DO_USE_DEFAULT_LANGUAGE
12726 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12728 * lyx_gui.C: do not include language.h.
12730 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12731 arguments in function implementation.
12733 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12735 * BufferView_pimpl.C: add <ctime>
12737 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12739 * BufferView_pimpl.C: add using std::find_if
12741 2001-02-27 José Matos <jamatos@fep.up.pt>
12743 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12746 2001-02-11 José Matos <jamatos@fep.up.pt>
12748 * buffer.C (makeDocBookFile): command styles now have a parameter as
12749 "title" by default.
12751 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12753 * layout_forms.[Ch]: removed
12754 * lyx_cb.[Ch]: out character
12755 * lyx_gui.C: out character
12756 * lyx_gui_misc.C: out character
12757 * bufferview_funcs.C: : out character,
12758 added toggleall as parameter in ToggleAndShow
12760 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12762 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12764 * text2.C (SetCurrentFont): Disable number property at boundary.
12766 2001-02-26 Juergen Vigna <jug@sad.it>
12768 * lyxfunc.C (getStatus): added a string argument override function so
12769 that this is correctly called from LyXFunc::Dispatch if it contains a
12770 do_not_use_argument which is used!
12771 (Dispatch): added check for "custom" export and call appropriate func.
12773 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12775 * lyxrc.C: Add language_command_local, language_use_babel and
12776 language_global_options.
12778 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12780 * buffer.C (makeLaTeXFile): Use language_use_babel and
12781 language_global_options.
12783 2001-02-23 Juergen Vigna <jug@sad.it>
12785 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12786 which works with LyXText and putted it inside BufferView. Here now we
12787 only call for that part the BufferView::Dispatch() function.
12789 * BufferView.C (Dispatch): added.
12791 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12792 functions which needs to use a LyXText over from LyXFunc.
12793 (MenuInsertLyXFile): added
12794 (getInsetByCode): added
12795 (moveCursorUpdate): added
12796 (static TEXT): added
12798 2001-02-22 Juergen Vigna <jug@sad.it>
12800 * BufferView_pimpl.C (update): call a status update to see if LyXText
12803 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12805 * vc-backend.C (revert): implement for CVS
12806 (getLog): implement for CVS
12808 2001-02-20 Juergen Vigna <jug@sad.it>
12810 * text2.C (ClearSelection): added BufferView param for inset_owner call
12812 * lyxfunc.C (TEXT): added this function and use it instead of
12813 directly owner->view()-text of getLyXText().
12815 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12817 * src/layout_forms.C: out preamble
12818 * src/layout_forms.h: out preamble
12819 * src/lyx_cb.C: out preamble
12820 * src/lyx_cb.h: out preamble
12821 * src/lyx_gui.C: out preamble
12822 * src/lyx_gui_misc.C: out preamble
12823 * src/lyxfunc.C: connect with guii preamble
12825 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12827 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12829 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12831 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12832 whether to run bibtex.
12834 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12836 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12838 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12840 * Makefile.am (lyx_SOURCES): removed bibforms.h
12842 * vspace.h: doxygen
12844 * text.C (GetVisibleRow): make several local vars const
12846 * tabular.C: small cleanup.
12848 * lyxserver.C (callback): use compare instead of strncmp
12850 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12851 inlines to after class or to paragraph.C
12853 * lyxfont.h: remove friend operator!=
12855 * converter.h: move friend bool operator< to non friend and after
12858 * combox.h: small cleanup
12860 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12861 to inlines after class def.
12863 * buffer.C (pop_tag): use string operations instead of strcmp
12865 * bmtable.c: doxygen, small cleanup
12867 * LaTeX.h: remove friend operator==
12869 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12881 * BufferView_pimpl.C:
12882 * BufferView.[Ch]: remove cruft
12884 2001-02-14 Juergen Vigna <jug@sad.it>
12886 * lyxfunc.C: removed #if 0 unused code
12888 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12890 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12892 * text2.C (SetSelection): added a BufferView * parameter
12894 2001-02-13 Juergen Vigna <jug@sad.it>
12896 * lyxfunc.C (Dispatch): fixed protected blank problem.
12897 * BufferView2.C (protectedBlank): added LyxText * parameter.
12899 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12900 (AppendColumn): same as above for column_info.
12902 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12903 (moveCursorUpdate): use a LyXText param for support of InsetText.
12905 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12906 (tripleClick): ditto
12908 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12910 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12912 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12914 * text2.C (SetSelection): set correct update status if inset_owner
12915 (ToggleFree): ditto
12917 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12919 * tabular.C: remove some commented code.
12921 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12923 * BufferView_pimpl.C: call hideSplash()
12925 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12928 * bibforms.h: remove
12931 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12932 add LFUN_CHILD_CREATE
12934 * counters.h: fix tiny typo
12939 * lyx.C: move splash to frontends/xforms/
12941 * lyx_gui_misc.C: move Include and Bibform to frontends
12943 * lyxvc.h: clarify comment
12945 * vspace.C: tiny housekeeping
12947 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12949 * text.C (PrepareToPrint): RTL Fix.
12951 * paragraph.C (GetUChar): New method.
12952 (String): Use GetUChar.
12954 * buffer.C (asciiParagraph): Use GetUChar.
12956 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12958 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12960 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12963 * buffer.C: rename to getLogName(), handle
12964 build log / latex log nicely
12966 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * MenuBackend.h: remove support for reference menuitem type.
12971 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12973 * BufferView_pimpl.C: housekeeping
12974 * BufferView_pimpl.h:
12979 * minibuffer.h: move Timeout GUI-I
12981 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12983 * lyxrc.C (read): Update converters data-structures.
12985 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12987 * LaTeX.h (operator!=): add operator != for Aux_Info
12989 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12991 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12993 * LaTeXLog.C: deleted, useful code moved to Buffer
12996 * buffer.C: new function getLatexLogName()
13002 * lyxfunc.C: use frontends for LaTeX and VC logs
13004 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13006 * LaTeX.h: yet another std:: that Allan forgot.
13008 * Variables.C (set): renamed from isset(), because this clashes
13009 with some HP-UX macros (grr).
13011 2001-02-06 Allan Rae <rae@lyx.org>
13013 * LaTeX.h: Another bug fix. Missing std:: this time.
13015 2001-02-04 Allan Rae <rae@lyx.org>
13017 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13018 floats problem. I've left it commented out because it's not quite
13019 correct. It should also test that the current object is a table or
13020 figure inset. But I haven't gotten around to figuring out how to do
13021 that. I *think* it'll be something like: "table" == inset.type()
13023 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13026 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13028 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13029 all the citation/databases/styles in the auxilary file.
13030 (run): Rerun latex if there was a babel language error.
13032 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13034 * text.C (Backspace): Preserve the font when changing newline char
13036 (BreakParagraph): If the cursor is before a space, delete the space.
13038 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13040 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13042 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13043 new argument (code).
13044 (ChangeCitationsIfUnique): New method.
13046 * paragraph.C (GetPositionOfInset): Handle bibkey.
13048 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13050 * BufferView_pimpl.h: change type of Position::par_pos to
13051 LyXParagraph::size_type.
13053 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13055 * BufferView_pimpl.C (savePosition, restorePosition): Write
13056 messages to minibuffer.
13058 2001-01-28 José Matos <jamatos@fep.up.pt>
13060 * buffer.C (makeDocBookFile): adds support for document language.
13061 A silly restriction on the name of LatexCommand types where removed.
13062 Added support for CDATA sections, allows to chars unescaped, used
13063 among others in code, to avoid escape < and >.
13065 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13067 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13068 saved positions instrad of a stack. Furthermore, a position is
13069 stored using paragraph id/paragraph position.
13071 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13072 Remove LFUN_REF_BACK.
13074 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13076 * converter.C (dvipdfm_options): New method.
13078 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13080 * vspace.C (isValidLength): Fix for empty input string.
13082 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13084 * LyXAction.C (init): change description of LFUN_FIGURE to
13087 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13089 * LaTeX.C: add using directive
13091 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13093 * MenuBackend.C (expand): Fix the sorting of the formats.
13095 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13097 * lyx_main.C: tiny error message fix
13099 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13101 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13102 calling fl_initialize(). This fixes the problem with ',' as
13103 decimal separator in text files.
13105 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13107 * trans.C (process): Fix the keymap bug.
13109 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13111 * LaTeX.C (scanAuxFiles): New method. Provides support for
13112 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13113 (scanLogFile) Scan for "run BibTeX" messages.
13115 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13116 OT1 font encoding. Also, load the aecompl package if the ae
13119 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13121 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13123 * texrow.C (increasePos): turn two error messages into debug
13126 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13128 * LaTeX.C (scanAux): Handle the \@input macro.
13129 (runBibTeX): Use scanAux().
13131 * language.C (latex_options_): New field.
13133 * LaTeXFeatures.C (getMacros): Add language macros.
13135 * buffer.C (makeLaTeXFile): Small fix.
13137 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13139 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13141 * text2.C: add a using directive.
13143 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13148 * lyxfunc.C: kill LyXBell.
13150 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13152 * text.C (IsBoundary): Remove the error message
13154 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13156 * lyxrc.C (setDefaults): Correct initialization value for
13159 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13161 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13164 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13165 and GotoNextNote().
13167 * src/LyXAction.C: Added reference-next.
13169 * text.C (InsertChar): Use contains instead of strchr.
13171 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13173 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13175 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13176 alignment commands (when needed).
13178 * text.C (InsertChar): Add ':' to number separator chars.