2 2003-10-15 André Pönitz <poenitz@gmx.net>
6 * undo.[Ch]: make undo aware of inner insets
8 2003-10-14 Angus Leeming <leeming@lyx.org>
10 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
11 static member functions LyX::ref() and LyX::cref.
12 (lastfiles): new accessor functions for the new lastfiles_ member var.
13 (addLyXView, views_): add a new LyXView to the list of views_.
14 (updateInset): loop over all LyXViews to call their own updateInset
15 member function, returning a pointer to the Buffer owning the inset.
17 * BufferView_pimpl.C (loadLyXFile):
18 * MenuBackend.C (expandLastfiles):
19 * bufferlist.C (MenuWrite, QuitLyX):
20 lastfiles is no longer a global variable.
21 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
23 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
24 static function. Access through LyX::cref().emergencyCleanup().
26 2003-10-14 André Pönitz <poenitz@gmx.net>
28 * iterators.[Ch]: new direct access to innermost LyXText and Inset
30 * undo.[Ch]: restoring part of 'undo in insets'
33 * undo_funcs.[Ch]: merge with undo.[Ch]
35 * tabular.C: small cleansing stuff
37 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
39 * paragraph_funcs.C (readParToken): report unknown insets as error
40 boxes. Use the outer paragraph as location (also for unknown
43 * factory.C (readInset): do not abort on reading an unknown inset.
46 2003-10-13 Angus Leeming <leeming@lyx.org>
48 * lyx_main.C (LyX): remove call to setDisplayTranslator().
50 * lyxrc.C: displayTranslator is now a function,
51 declared in GraphicsTypes.h.
53 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
55 * format.C: new placeholder $$a to pass the socket address.
57 * bufferlist.[Ch]: new function getBufferFromTmp.
59 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
60 files in the temporary dir.
62 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
64 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
66 * Makefile.am: add lyxsocket.[Ch].
68 * lyx_main.C (error_handler): handle SIGPIPE.
70 2003-10-13 André Pönitz <poenitz@gmx.net>
77 * undo_funcs.[Ch]: use paroffset_type instead of
78 ParagraphList::iterators to prevent multiple conversion
79 (and get a more robust interface)
81 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
83 * lyxfunc.C (dispatch): RESULT -> dispatch_result
85 * text3.C (dispatch): ditto
87 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * LaTeX.C (handleFoundFile): move the static to smaller scope,
90 move the onlyfile, use onlyfile instead of foundfile in a couple
93 * DepTable.C (update): flush the error stream a bit more
95 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
97 * lyxserver.C (callback): adjust
99 * lyxfunc.C (getStatus): add a missing brace in commented code
100 (ensureBufferClean): reindent
101 (dispatch): delete version taking a string
103 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
105 * LaTeX.C (deplog): move found file handlig from here...
106 (handleFoundFile): .. to new function here.
107 (deplog): make sure to discover several files mentioned on the
110 2003-10-10 André Pönitz <poenitz@gmx.net>
117 * text3.C: fix some of the tabular crashes
119 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
121 * MenuBackend.C (binding): put debug message into Debug::KBMAP
123 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
125 2003-10-09 André Pönitz <poenitz@gmx.net>
127 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
130 * BufferView_pimpl.C:
131 * bufferview_funcs.C:
142 * undo_funcs.C: adjust
144 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
146 * text2.C (incrementItemDepth): new function, use a backtracking
147 algorithm to discover the correct item depth.
148 (resetEnumCounterIfNeeded): new function, use a backtracking
149 algorithm to discover if counter reset is needed.
150 (setCounter): use them. Simplify a bit. Add different labels for
151 different item depths for itemize.
153 * paragraph.C (Paragraph): remove initialization of enumdepth
156 * paragraph.h: get rid of enumdepth, and use itemdepth both for
157 enumerate and itemize. Change the type of itemdepth to signed char.
159 2003-10-08 André Pönitz <poenitz@gmx.net>
161 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
166 * tabular.[Ch]: fix crash after 'row-insert'
168 2003-10-08 Angus Leeming <leeming@lyx.org>
170 Fix doxygen warnings.
172 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
173 Remove CutAndPaste:: prefix from header file declaration.
175 * LColor.h (fill): remove LColor:: prefix from declaration.
177 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
178 use lyx::depth_type rather than Paragraph::depth_type so that
179 header file and .C file match.
181 * converter.h (intToFormat): remove Converters:: prefix from declaration.
183 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
184 * aspell.C: \file aspell_local.C -> \file aspell.C
185 * gettext.C: \file gettext.C -> \file src/gettext.C
186 * gettext.h: \file gettext.h -> \file src/gettext.h
187 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
188 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
189 * text.C: \file text.C -> \file src/text.C
191 * toc.C: move comment so that doxygen is not confused.
193 2003-10-07 Angus Leeming <leeming@lyx.org>
195 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
197 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
200 * aspell_local.h: add forgotten std::string's.
202 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
209 * text3.C: The Box patch. Fancybox support, minipage, parbox
211 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
217 * ParagraphParameters.h:
227 * lyxtextclasslist.h:
231 * textcursor.h: add <string> and other small fixes to make Lars'
232 std::string patch compile with STLport.
234 2003-10-06 Angus Leeming <leeming@lyx.org>
236 * LColor.h: Add missing #include <string>.
238 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * All most all file in all subdirs: Make <string> be the prefered
241 way of getting to std::string, add using declarations.
243 2003-10-06 André Pönitz <poenitz@gmx.net>
245 * metricsinfo.C: initialize LyXFont before changing attribute.
246 (fixes the 'math in \emph is upright' bug)
248 2003-10-06 André Pönitz <poenitz@gmx.net>
250 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
252 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
255 * paragraph_pimpl.C: Small fixes to build using STLport
257 2003-10-02 André Pönitz <poenitz@gmx.net>
260 * text3.C: move handling of LFUN_DEPTH *; fix #1360
262 2003-10-01 André Pönitz <poenitz@gmx.net>
264 * factory.C: assert early
266 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
268 * lyx_main.C: remove the global debug object
270 * debug.h: adjust for new debugstream
272 * debug.C: adjust for new debugstream and keep the global debug
275 2003-09-22 Angus Leeming <leeming@lyx.org>
277 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
278 of g++ which otherwise complain that the scoped_ptr destructor can't delete
279 an incomplete class LyXFont.
281 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
283 * factory.C: bug fix in branches
285 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
287 * lyxfunc.C (processKeySym): adjust
289 (dispatch): change arg name from ev to func, adjust
290 (sendDispatchMessage): ditto
292 * lyx_main.C (defaultKeyBindings): adjust keybindings
293 (deadKeyBindings): ditto
295 * kbsequence.C (addkey): return a FuncRequest
297 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
299 * kbmap.C (bind): take a FuncRequest as arg, adjust
302 (defkey): change to take a FuncRequest as arg, adjust
303 (findbinding): take a FuncRequest as arg, adjust.
305 * funcrequest.h (operator=): added
307 * funcrequest.C (FuncRequest): default kb_action changed from
308 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
310 * buffer.C (dispatch): simplify
311 (dispatch): adjust to take a FuncRequest as arg, adjust
313 * boost.C (assertion_failed): change assertion message slightly
315 * ToolbarBackend.C (read): simplify
317 * MenuBackend.C (binding): adjust call to findbinding, add a
318 message if no binding is found.
320 (expandToc): correct by adding a empty FuncRequest
322 * LyXAction.C: include <boost/assert.hpp>
323 (isPseudoAction): delete function
324 (LookupFunc): change name to...
325 (lookupFunc): this. change return type to FuncRequest.
326 (getActionName): take kb_action as arg, simplify
327 (funcHasFlag): add an assert, simplify.
329 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * toc.C (action): return a FuncRequest, simplify
333 * lyxfunc.C (processKeySym): adjust
334 (getStatus): delete version that takes an int.
336 (dispatch): delete version that takes action as int
338 (sendDispatchMessage): simplify and adjust
340 * funcrequest.C (getArg): take unsigned int as arg
342 * ToolbarBackend.C (read): adjust
343 (add): delete version that takes func as a string.
344 (getIton): take a FuncRequest as arg
346 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
349 * MenuBackend.C (MenuItem): add a new construct that only takes a
350 Kind, simplify the constructor use for submenus.
352 (expandLastfiles): adjust
353 (expandDocuments): adjust
354 (expandFormats): adjust
355 (expandFloatListInsert): adjust
356 (expandFloatInsert): adjust
357 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
359 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
360 Remove class variables lyx_pseudo_map and lyx_arg_map
362 * LyXAction.C (searchActionArg): delete function
363 (getPseudoAction): delete function
364 (retrieveActionArg): delete function
365 (LookupFunc): make it return kb_action, simplify.
366 (getActionName): simplify
368 * factory.C (createInset): fix new bug
370 2003-09-19 Angus Leeming <leeming@lyx.org>
372 * CutAndPaste.C (pasteSelection): remove fudge used to set the
373 masterFilename_ parameter in the include inset.
375 * factory.C (createInset): changes due to the changes to InsetInclude.
377 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
379 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
381 2003-09-18 Angus Leeming <leeming@lyx.org>
384 * BufferView.C: pass the buffer when calling Inset::getLabelList,
385 Inset::fillWithBibKeys.
386 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
388 2003-09-18 Angus Leeming <leeming@lyx.org>
390 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
392 (ctor): pass and store a 'Buffer const &'
393 (buffer): new member function.
395 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
396 '*this' to the LaTeXFeatures ctor.
398 2003-09-18 Angus Leeming <leeming@lyx.org>
404 * text.C: rename EnumLColor as LColor_color.
406 2003-09-18 Angus Leeming <leeming@lyx.org>
408 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
409 remove #include "insets/insetbase.h" from cursor.h.
411 2003-09-18 Angus Leeming <leeming@lyx.org>
413 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
414 InsetOld_code to remove #include "inset.h".
416 * iterators.C: add #include "insets/inset.h"
418 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
420 * BufferView.C: remove more locking stuff that apparently doesn't
421 do anything sensible.
423 2003-09-16 André Pönitz <poenitz@gmx.net>
426 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
429 2003-09-16 Angus Leeming <leeming@lyx.org>
431 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
433 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
436 * paragraph.h: remove #include "lyxfont.h". Forward declare
439 2003-09-16 Angus Leeming <leeming@lyx.org>
441 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
442 of support/textutils.h.
443 (isWord): move the contents of support/textutils.h's IsWordChar here.
449 * text2.C: add #include "paragraph.h".
452 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
454 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * LaTeX.C: use namespace alias for lyx::support::os
462 2003-09-16 Angus Leeming <leeming@lyx.org>
465 * bufferview_funcs.C:
470 * text.C: add #include "LColor.h".
472 2003-09-16 Angus Leeming <leeming@lyx.org>
474 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
475 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
477 Store the FontBits::color variable as an int rather than as an
478 LColor::colorso that we can move LColor.h out of the lyxfont.h header
481 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
482 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
483 string calls together.
485 * lyxrc.C: add #include "LColor.h".
487 2003-09-15 Angus Leeming <leeming@lyx.org>
489 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
492 2003-09-15 Angus Leeming <leeming@lyx.org>
494 * LColor.h: add an EnumLColor wrapper for LColor::color.
496 * lyxfont.[Ch] (color, setColor, realColor):
497 * lyxtext.h, text.C (backgroundColor):
498 pass EnumLColor args to/from the functions, rather than LColor::color
502 * lyxtext.h: forward declare EnumLColor.
504 * lyx_main.C: add #include "LColor.h".
506 2003-09-15 Angus Leeming <leeming@lyx.org>
508 * .cvsignore: add lyx-gtk.
510 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * ParagraphParameters.C
529 * vc-backend.C: remove usage of STRCONV
531 2003-09-15 Angus Leeming <leeming@lyx.org>
533 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
534 explicitly define the color passed to the painter.
536 2003-09-15 Angus Leeming <leeming@lyx.org>
538 * bufferparams.C (BufferParams): reorder member initializers to avoid
541 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
543 * CutAndPaste.C (pasteSelection): remove an outdated #warning
544 * text.C (updateRowPositions): remove an unusual nop
546 2003-09-12 André Pönitz <poenitz@gmx.net>
548 * BufferView_pimpl.C:
557 * Counters.[Ch]: finish the 'automatic counters' job
559 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
561 * aspell.C: include <boost/assert.cpp> (compile fix)
563 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
565 * boost.C (assertion_failed): use lyx::support::abort instead of
568 2003-09-10 Angus Leeming <leeming@lyx.org>
570 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
571 with their _fwd progeny.
573 2003-09-09 Angus Leeming <leeming@lyx.org>
575 134 files throughtout the source tree: replace 'using namespace abc;'
576 directives with the appropriate 'using abc::xyz;' declarations.
578 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
580 * boost.C (emergencyCleanup): moved here from LAssert.c
581 (assertion_failed): new function, called by BOOST_ASSERT
583 * several files: change Assert to BOOST_ASSERT
585 2003-09-09 Angus Leeming <leeming@lyx.org>
587 * buffer.[Ch]: Add an Impl class and move Buffer's member
588 variables into it. As a result move several header files out of
591 Add header files to lots of .C files all over the tree as a result.
593 2003-09-09 Angus Leeming <leeming@lyx.org>
595 * buffer.[Ch]: make Buffer's member variables private. Add
598 Lots of changes all over the tree as a result.
600 2003-09-08 Angus Leeming <leeming@lyx.org>
602 * graph.C: #include <config.h>.
604 2003-09-08 Angus Leeming <leeming@lyx.org>
608 * BufferView_pimpl.C:
637 * toc.C: remove redundant using directives.
639 2003-09-07 Angus Leeming <leeming@lyx.org>
641 * LaTeXFeatures.h: remove #include "support/types.h".
642 * ToolbarBackend.h: remove #include <algorithm>.
643 * changes.h: remove #include <ctime>.
644 * debug.h: remove #include <iosfwd>.
645 * graph.h: remove #include "support/std_string.h".
646 * lyx_main.h: remove #include <csignal>.
647 * lyxlex_pimpl.h: remove #include <fstream>.
648 * sgml.h: remove #include <algorithm>, <utility>.
649 * toc.h: remove #include "support/std_ostream.h".
650 Add #include <iosfwd>.
652 2003-09-07 Angus Leeming <leeming@lyx.org>
654 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
656 * converter.h: forward declare LatexRunParams.
657 * encoding.h: remove #include "lyxrc.h".
658 * lyxtext.h: remove #include "LColor.h".
659 * lyxtextclass.h: remove #include "support/types.h".
660 * trans.h: remove #include "tex-accent.h".
661 * trans_mgr.h: remove #include "tex-accent.h".
662 * insets/inset.h: remove #include "support/types.h", <vector>.
663 * insets/insetcollapsable.h: remove #include "LColor.h".
664 * insets/insetinclude.h: remove #include "dimension.h".
665 * insets/insetlatexaccent.h: remove #include "dimension.h".
666 * insets/insetoptarg.h:: remove #include "insettext.h".
667 * insets/insettext.h: remove #include "dimension.h",
668 <boost/shared_ptr.hpp>
670 * insets/renderers.h: add #include "dimension.h".
671 * insets/updatableinset.h: add #include "support/types.h".
673 * many .C files: Associated changes.
675 2003-09-06 Angus Leeming <leeming@lyx.org>
677 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
678 one, inside testInvariant.
680 * PrinterParams.C: new file.
681 * PrinterParams.[Ch]: move the function bodies out of line.
683 2003-09-06 Angus Leeming <leeming@lyx.org>
685 * ParagraphParameters.h: forward declare ParameterStruct rather than
686 including its header file.
687 (depth): moved out-of-line.
689 2003-09-06 Angus Leeming <leeming@lyx.org>
691 * BufferView_pimpl.h:
694 * lyxfunc.h: forward declare LyXKeySym rather than
695 #include "frontends/LyXKeySym.h".
697 * BufferView_pimpl.C:
700 * lyxfunc.C: associated changes.
702 2003-09-06 Angus Leeming <leeming@lyx.org>
704 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
705 As a result, can remove the #include "insets/inset.h" from BufferView.h
707 2003-09-06 Angus Leeming <leeming@lyx.org>
709 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
710 As a result, can remove the #include "insets/inset.h" from BufferView.h
712 2003-09-06 Angus Leeming <leeming@lyx.org>
718 * bufferview_funcs.C:
719 * BufferView_pimpl.C:
724 * ParagraphParameters.C:
729 * frontends/controllers/ControlDocument.C:
730 * insets/insetcaption.C: rearrange the #includes into some sort of
733 * buffer.h: remove #includes ErrorList.h, undo.h
735 2003-09-06 Angus Leeming <leeming@lyx.org>
737 * support/types.h: add a 'depth_type' typedef, used to store the
738 nesting depth of a paragraph.
741 * ParameterStruct.h: use this lyx::depth_type typedef rather than
746 * ParagraphParameters.h:
747 * sgml.h: use lyx::depth_type rather than Paragraph or
748 ParameterStruct's depth_type.
751 * paragraph_funcs.h: no need to #include paragraph.h anymore.
754 * BufferView_pimpl.C:
756 * ParagraphParameters.C:
759 * bufferview_funcs.C:
766 * frontends/LyXView.C:
767 * frontends/controllers/ControlDocument.C:
768 * frontends/controllers/ControlErrorList.C:
769 * insets/insetbibitem.C:
770 * insets/insetbranch.C:
771 * insets/insetcaption.C:
772 * insets/insetcollapsable.C:
775 * insets/insetfloat.C:
776 * insets/insetfoot.C:
777 * insets/insetfootlike.C:
778 * insets/insetnewline.C:
779 * insets/insetquotes.C:
780 * insets/insettabular.C:
781 * insets/insettext.C:
782 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
784 * frontends/controllers/ControlChanges.C: #include "changes.h".
786 2003-09-06 Angus Leeming <leeming@lyx.org>
788 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
789 than #including paragraph.h.
792 * RowList.h: deleted. Superfluous.
802 * insets/insettext.h: use ParagraphList_fwd.h rather than
805 * paragraph.h: don't forward declare ParagraphList.
808 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
809 rather than ParagraphList.h. paragraph.h is still needed for the
810 Paragraph::depth_type parameters.
812 * textcursor.h: enable it to compile stand-alone in light of the
815 * bufferview_funcs.C:
827 * frontends/controllers/ControlParagraph.C:
828 * frontends/controllers/ControlTabular.C:
829 * insets/insetmarginal.C:
830 * insets/insetminipage.C:
831 * insets/insetnote.C:
832 * insets/insetoptarg.C: add header files needed to compile again.
834 2003-09-06 Angus Leeming <leeming@lyx.org>
836 * RowList_fwd.h: new file, forward-declaring Row rather than
842 * insets/insettext.h: use it instead of RowList.h
844 * bufferview_funcs.C:
851 * text3.C: #include "RowList.h".
853 2003-09-05 Angus Leeming <leeming@lyx.org>
855 * factory.C (createInset):
856 * vspace.C (c-tor): replace sscanf call with an istringstream.
857 * ispell.C: re-add missing HP/UX headers.
858 * lyxserver.C: re-add missing os2 headers.
860 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
869 * text3.C: re-add missing system headers, needed for 2.95.2.
871 2003-09-05 Angus Leeming <leeming@lyx.org>
873 Changes most place everywhere due to the removal of using directives
874 from support/std_sstream.h.
876 2003-09-05 Angus Leeming <leeming@lyx.org>
878 Replace LString.h with support/std_string.h,
879 Lsstream.h with support/std_sstream.h,
880 support/LIstream.h with support/std_istream.h,
881 support/LOstream.h with support/std_ostream.h.
883 Changes resulting throughout the tree.
885 2003-09-05 Angus Leeming <leeming@lyx.org>
887 * sgml.h: ensure that the header file can be compiled stand-alone.
888 * *.C: strip out redundant #includes. (320 in total.)
890 2003-09-04 Angus Leeming <leeming@lyx.org>
892 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
893 here (from getPackages).
895 * debug.[Ch]: add a new EXTERNAL tag.
897 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
899 * text2.C (cursorEnd): simplify
901 (getColumnNearX): adjust
903 * text.C (computeBidiTables): adjust
906 * rowpainter.C (paintChars): adjust
907 (paintSelection): adjust
908 (paintChangeBar): adjust
911 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
913 (numberOfSeparators): adjust
915 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
921 * text3.C: Restricts the mouse click functionality
922 of insets like bibtex, include, toc and floatlist to the visible
923 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
924 up the dialogs. Cursor has to be in front of the inset (i.e.
925 start of row) for this to function.
927 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
929 * bufferview_funcs.C (currentState): output row information
931 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
933 * bufferview_funcs.C (currentState): output paragraph position
935 2003-09-04 Angus Leeming <leeming@lyx.org>
937 * FloatList.h: move out #include "Floating.h".
938 * LaTeX.h: move out #include "DepTable.h".
939 * LyXAction.h: move out #include "funcrequest.h".
940 * buffer.h: move out #include "author.h", "iterators.h".
941 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
942 * lyx_main.h: move out #include "errorlist.h".
943 * lyxfunc.h: move out #include "FuncStatus.h".
944 * lyxtext: move out #include "lyxcursor.h".
945 * paragraph_pimpl.h: move out #include "counters.h".
947 2003-09-03 Angus Leeming <leeming@lyx.org>
949 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
950 preamble_snippets list, enabling us to add snippets to the preamble
951 only if the snippet was not there already.
953 2003-09-04 Angus Leeming <leeming@lyx.org>
955 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
957 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * lyxfunc.C (dispatch): if fitCursor did something be sure to
962 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
964 * BranchList.C: point fix, earlier forgotten
966 2003-09-02 Angus Leeming <leeming@lyx.org>
968 * box.C (contains): renamed from 'contained' after a fantastic
971 2003-09-02 John Levon <levon@movementarian.org>
977 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
979 2003-09-02 John Levon <levon@movementarian.org>
981 * text2.C: simplification of cursorEnd(), including partial
984 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * buffer.C (readFile): add a space
988 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
990 * BufferView_pimpl.C (update): remove bogus fitCursor() call
992 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * buffer.C (readFile): new function, take a filename and a
995 ParagraphList::iterator
997 (readFile): adjust, make it private. don't use setStream, make
998 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
999 always contain the filename.
1001 * BufferView.C (insertLyXFile): simplify and make it work for
1004 2003-08-30 John Levon <levon@movementarian.org>
1006 * Makefile.am: fix dist (from Kayvan)
1008 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1010 * most files: change to use const Buffer refs
1012 2003-08-27 André Pönitz <poenitz@gmx.net>
1014 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1015 on top of ownerPar().
1017 2003-08-27 John Levon <levon@movementarian.org>
1019 * funcrequest.C: properly initialise POD members
1021 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1023 * lyxtext.h (top_y): move top_y from here
1028 * BufferView_pimpl.[Ch]: to here
1029 * frontends/screen.C:
1030 * insets/insettabular.C:
1031 * insets/insettext.C: adjust
1032 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1034 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1037 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1039 2003-08-26 André Pönitz <poenitz@gmx.net>
1041 * paragraph_func.[Ch] (outerPar): new function
1044 * paragraph_funcs.C:
1045 * paragraph_funcs.h:
1046 * paragraph_pimpl.C:
1047 * text2.C: remove Inset::par_owner
1049 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1054 * text2.C: eliminates the needFullRow/display() stuff
1055 altogether, putting the logic in metrics/draw in the insets.
1057 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1059 * text2.C (redoParagraphInternal, redoParagraphs):
1060 * text.C (redoParagraph): add a call to updateRowPositions at the
1061 end of each 'metrics-like' call. Remove all others.
1062 (getRow): remove the 'y-computing' version.
1063 (getRowNearY): do not compute nor return the real y. Solve the
1064 'y < 0' problem and simplify.
1066 2003-08-22 Angus Leeming <leeming@lyx.org>
1068 * *.[Ch]: clean-up of licence and author blurbs.
1069 Also move config.h out of a few .h files and into a few .C files.
1071 2003-08-22 André Pönitz <poenitz@gmx.net>
1073 * lyxrow.[Ch]: add x_ and *fill_ members
1078 * text2.C: adjust/remove prepareToPrint() calls
1080 2003-08-22 André Pönitz <poenitz@gmx.net>
1082 * lyxrow.[Ch]: add end_ member
1084 * lyxrow_funcs.C: use LyXRow::end_
1086 * lyxtext.h (singleWidth): add LyXFont parameter
1089 * text2.C: adjust LyXText::singleWidth() calls
1091 * text.C (redoParagraph): simplify row breaking logic
1094 2003-08-19 André Pönitz <poenitz@gmx.net>
1096 * funcrequest.C: initialize button_ member
1099 * rowpainter.[Ch]: interface consolidation
1101 2003-08-18 André Pönitz <poenitz@gmx.net>
1104 * BufferView_pimpl.C:
1106 * paragraph_funcs.C:
1108 * text3.C: remove LyXScreen::draw() and fitCursor calls
1110 * BranchList.h: remove spurious semicolons
1112 * MenuBackend.C: fix branchlist related crash
1114 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1122 * bufferparams.[Ch]:
1126 * text3.C: implements the 'branch inset'
1127 idea. This allows the output of various versions of a document
1128 from a single source version, selectively outputing or suppressing
1129 output of parts of the text.
1130 This implementation contains a 'branch list editor' in a separate
1131 tab of the document settings dialog. Branches are user definable
1132 and have a "display colour" to distinguish them on-screen.
1134 ColorHandler was somewhat cleaned up.
1135 (1) make possible a dynamically growing LColor list by allowing
1136 the graphic context cache to grow along (vector);
1137 (2) eliminate an IMHO unnecessary step in colour allocation.
1139 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1141 * BufferView_pimpl.C: compile fix
1143 2003-08-15 André Pönitz <poenitz@gmx.net>
1145 * rowpainter.C: remove extra metrics calls
1147 * lyxtext.h: merge the two constructors into a single one,
1148 pass reference to owner's par list
1150 * BufferView_pimpl.C:
1154 2003-08-15 André Pönitz <poenitz@gmx.net>
1156 * lyxrow_funcs.[Ch]:
1159 * paragraph_funcs.C:
1164 * text_funcs.C: split LyXText::rowlist_ into individual
1165 Paragraph::rows_ chunks
1168 * BufferView_pimpl.[Ch]:
1171 * text3.C: remove toggleSelection()
1173 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1175 * bufferlist.C: beautify two alerts (shorter text of buttons)
1176 * buffer.C: Remove redundant ' ' from message
1178 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1179 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1180 rename VALIGN_CENTER to VALIGN_MIDDLE
1182 2003-08-11 André Pönitz <poenitz@gmx.net>
1184 * lyxtext.h (getPar):
1185 * text.C: new function
1187 2003-08-11 André Pönitz <poenitz@gmx.net>
1190 * tracer.[Ch]: remove unneeded files
1192 * InsetList.[Ch]: remove resizeInsetsLyXText()
1197 * text3.C: merge insertParagraphs() and appendParagraph()
1198 remove breakAgain(), update()
1200 * BufferView_pimpl.[Ch]:
1201 * bufferview_funcs.[Ch]:
1205 * tabular.C: adjust after text & InsetList changes.
1207 2003-08-08 André Pönitz <poenitz@gmx.net>
1209 * text.C (insertChar, backspace): replace rowlist fiddling
1210 with rebreak of full par
1213 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1214 checkParagraph, updateInset): removed
1216 2003-08-07 André Pönitz <poenitz@gmx.net>
1219 * text3.C: merge some LFUN handlers, remove dead code
1221 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1225 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1227 * text2.C (DEPM): fix part of bug 1255 and 1256
1229 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * BufferView_pimpl.C (workAreaDispatch): change to use
1232 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1233 that are no mouse related.
1235 2003-08-05 André Pönitz <poenitz@gmx.net>
1238 * BufferView_pimpl.[Ch]:
1239 * bufferview_funcs.C:
1241 * text3.C: rip out "deep update"
1243 * textcursor.[Ch] (last_sel_cursor): remove unused member
1245 2003-08-04 André Pönitz <poenitz@gmx.net>
1248 * BufferView_pimpl.[Ch]:
1249 * ParagraphParameters.C:
1250 * bufferview_funcs.C:
1256 * text3.C: replace "complicated" BufferView::update(...) calls with
1259 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1261 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1263 * Makefile.am (lyx_SOURCES): add paper.h
1265 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1267 * Makefile.am: move things around so that both lyx-qt and
1268 lyx-xforms can be built (according to --with-frontend). Then lyx
1269 is a symbolic link to lyx-[firstfrontend]
1271 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1273 * Always use std::endl with lyxerr
1275 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1277 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1279 2003-08-01 André Pönitz <poenitz@gmx.net>
1282 * BufferView_pimpl.[Ch]:
1284 * text3.C: merge BufferView::repaint() and BufferView::update()
1286 2003-08-01 José Matos <jamatos@lyx.org>
1288 * buffer.[Ch]: file_format is no longer a buffer data element.
1290 2003-08-01 André Pönitz <poenitz@gmx.net>
1295 * text2.C: make redoParagraph more independent of current cursor
1297 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1299 * text2.C: remove unneeded members
1301 2003-07-30 André Pönitz <poenitz@gmx.net>
1303 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1305 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1306 create a single function...
1308 * paragraph_funcs.C (moveItem): ... here.
1311 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1313 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1315 * LColor.[Ch]: Add comment and greyedout logical colors.
1317 2003-07-30 André Pönitz <poenitz@gmx.net>
1319 * tabular.C: don't use Assert too heavily. This crashes where it
1322 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1324 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1325 is disabled (bug 1232)
1327 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1329 * factory.C: limited 'arg' scope
1331 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1333 * factory.C: fixed Note submenu issues
1335 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1337 * factory.C: submenu for Note/Comment/Greyedout
1339 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1342 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1344 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1347 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1348 greyedout. Patch provided by Jürgen Spitzmüller.
1350 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1352 * kbmap.C (read): fix error message when reading bind files
1354 2003-07-29 Angus Leeming <leeming@lyx.org>
1356 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1357 certainly does not do what it purports to do. I am doing it, and
1358 us, a favour by killing it.
1360 2003-07-28 José Matos <jamatos@lyx.org>
1362 * buffer.C (readBody, do_writeFile):
1363 * paragraph.C(readParagraph): \end_document replaces \the_end.
1365 2003-07-29 André Pönitz <poenitz@gmx.net>
1368 * BufferView_pimpl.[Ch]:
1372 * textcursor.[Ch]: remove toggleToggle & Co
1374 2003-07-28 José Matos <jamatos@fep.up.pt>
1376 * buffer.C (readParagraph):
1377 * params_func (readParToken, readParagraph):
1378 * paragraph.C (write): \layout -> \begin_layout.
1380 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * lyxlex_pimpl.C (setFile): clean up slightly.
1384 * bufferparams.h: add compressed var
1386 * buffer_funcs.C (readFile): adjust for LyXLex change
1387 (newFile): ditto + simplify
1389 * buffer.C (writeFile): handle writing of compressed files
1391 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1392 Check if the file is compressed and set a bufferparm if so.
1394 * Makefile.am (lyx_LDADD): remove explicit -lz
1396 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1398 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1399 makeDocBookFile): put the real LyX version in the first line of
1403 * version.C.in: remove lyx_docversion
1405 * tabular.C (write_attribute): add a template-based version to
1406 write enums properly
1408 2003-07-28 André Pönitz <poenitz@gmx.net>
1413 * text3.C: use doubles again for x-coordinates. They are needed.
1415 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * messages.C (getLocaleDir): use lyx_localedir()
1419 * lyxlex_pimpl.C (setFile): compress stuff
1421 * buffer.C (writeFile): add some compression stuff
1422 (do_writeFile): new func, dont call expliti close... will this
1425 * Makefile.am (lyx_LDADD): add -lz
1427 2003-07-28 José Matos <jamatos@fep.up.pt>
1429 * buffer.C: increment file format.
1430 * paragraph_funcs (readParagraph, readParToken):
1431 * paragraph.C (readParagraph): add \end_layout.
1433 2003-07-27 Angus Leeming <leeming@lyx.org>
1435 * Makefile.am: remove special casing for configure-time setting of
1436 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1438 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1439 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1441 2003-07-26 André Pönitz <poenitz@gmx.net>
1443 * paragraph_func.[Ch]:
1444 * paragraph.C (realizeFont): inline it whereever it is used
1449 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1452 2003-07-26 André Pönitz <poenitz@gmx.net>
1456 * text2.C: get rid of LyXText::need_break_row
1458 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1460 * toc.[Ch]: put namespace toc inside namespace lyx
1462 * MenuBackend.C (expandToc2): adjust for lyx::toc
1465 * lyxfunc.C (dispatch): adjust for lyx::find
1467 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1468 lyx::find instead. Reorganize a bit.
1469 (LyXReplace): rename to replace
1470 (LyXFind): rename to find
1472 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1475 2003-07-26 André Pönitz <poenitz@gmx.net>
1477 * text.C (setHeightOfRow): restrict scope of temporary variable
1479 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1480 code (never has been used?)
1482 2003-07-27 Asger Alstrup <alstrup@local>
1484 * text.C (fill): Optimise algorithm to exploit that we can reuse
1485 the LyXFont for many characters.
1486 (setHeightOfRow): Same thing.
1487 (rowBreakPoint): Same thing.
1489 2003-07-26 Asger Alstrup <alstrup@local>
1491 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1493 * text.C (singleWidth): Spurious font copying in hot-spot
1494 singleWidth avoided. Reorder tests for arabic for efficiency.
1496 * text.C (fill): handle empty paragraphs better.
1498 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * encoding.h: add includes
1503 * lyxrc.C: remove reading of bind files
1505 * lyx_main.C (init): setup bindings and menus only if we have a
1508 * kbmap.C (read): new method. Do the actual reading of bind
1511 * converter.C (dvipdfm_options):
1514 (output): adapt PAPER_* enums.
1516 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1518 * bufferparams.h: remove paper-related enums from there
1520 * paper.h: New file. A trivial header file to hold paper-related
1521 enums. It should later expand to contain many paper-related
1524 * lyxrc.C: declare extern displayTranslator
1526 2003-07-27 José Matos <jamatos@fep.up.pt>
1528 * tabular.[Ch] (linuxdoc): add support for tables and figures
1531 2003-07-27 José Matos <jamatos@fep.up.pt>
1533 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1534 consistency in both functions.
1535 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1537 2003-07-26 Asger Alstrup <alstrup@local>
1539 * rowpainter.C (paintRows): Change algorithm to work directly on
1540 the insets rather than asking every character in the document
1541 whether its an inset.
1543 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1545 * buffer.C (openFileWrite): factorize some code
1547 2003-07-26 Angus Leeming <leeming@lyx.org>
1550 * lyx_main.[Ch]: replace occurances of system_tempdir with
1553 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * rename Inset to InsetOld
1557 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1559 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1560 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1561 which I think is a bit clearer. EDIT is gone, since it was
1562 premature optimisation, and broken for mathed anyway.
1563 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1564 with cursor positioning in insets as well (math insets still do not
1565 work, but that's a different story anyway.) It mysteriously
1566 crashes sometimes with undo in the first paragraph, but I'm fairly
1567 confident that this is a compiler bug.
1569 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * paragraph.C (Paragraph): adjust for new clone return type
1573 (copyIntoMinibuffer): ditto
1575 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1577 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1578 by not having a special case, and always doing a full rebreak of
1579 the document after undo.
1581 2003-07-23 Angus Leeming <leeming@lyx.org>
1583 * factory.C (createInset): InsetExternal::setParams now takes a
1586 2003-07-23 Angus Leeming <leeming@lyx.org>
1588 * factory.C (createInset): changed interface to the external and
1589 graphics mailers' string2params functions.
1591 2003-07-23 Angus Leeming <leeming@lyx.org>
1593 * factory.C (createInset): pass a
1594 Buffer const * parameter to InsetExternalMailer's string2params.
1596 2003-07-22 John Levon <levon@movementarian.org>
1598 * Thesaurus.h: include the right aiksaurus header
1600 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * MenuBackend.C (expand): check menu shortcuts unconditionally
1604 2003-07-21 Angus Leeming <leeming@lyx.org>
1606 * factory.C (createInset): pass a
1607 buffer_path parameter to InsetGraphicsMailer's string2params.
1609 2003-07-21 Angus Leeming <leeming@lyx.org>
1611 * BufferView_pimpl.C (buffer):
1614 * lyxfunc.C (dispatch):
1615 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1616 rather than the grfx shortcut.
1618 2003-07-21 André Pönitz <poenitz@gmx.net>
1620 * rowpainter.C: remove unused variables
1623 * tabular_funcs.h: move to tabular.C
1624 * Makefile.am: adjust
1626 * tabular.[Ch]: basic optical cleaning
1628 * author.h: pass references, not values
1630 2003-07-18 André Pönitz <poenitz@gmx.net>
1638 * text3.C: two-phase drawing for InsetText and InsetTabular
1639 some float -> int changes.
1641 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1643 * lyx_main.C: fix the fix
1645 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1647 * lyx_main.C: fix a crash in batch mode if no files specified
1650 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1652 * format.[Ch] (papersize): moved to BufferParams
1653 * converter.[Ch] (dvips_options): moved to BufferParams
1654 (dvipdfm_options): moved to anon namespace
1655 * bufferparams.[Ch]: added above functions.
1657 2003-07-17 André Pönitz <poenitz@gmx.net>
1661 * text2.C: don't call inset->update() anymore
1663 * metricsinfo.[Ch]: add convenience constructor
1665 2003-07-16 André Pönitz <poenitz@gmx.net>
1670 * text2.C: replace the LyXCursor::irow_ member with
1671 on-demand computation of the value
1673 2003-07-16 John Levon <levon@movementarian.org>
1675 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1677 2003-07-15 André Pönitz <poenitz@gmx.net>
1680 * text2.C: remove no more needed refresh_row
1682 2003-07-15 André Pönitz <poenitz@gmx.net>
1687 * text3.C: refresh_status tristate -> need_update bool
1689 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1691 * lyxtext.h (init): remove reinit argument (act as if always true)
1692 * text2.C: adjust to that
1694 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1696 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1697 * text3.C: use it to delete selections in some cases
1698 (bugs 441, 673, 702, 954).
1700 2003-07-14 André Pönitz <poenitz@gmx.net>
1702 * rowpainter.[Ch]: reduce interface
1704 2003-07-14 André Pönitz <poenitz@gmx.net>
1706 * BufferView_pimpl.C:
1707 * text2.C: adjust after removing unused BufferView * argument
1709 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1711 * text2.C (init): fix a crash fired on resize
1713 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1715 * buffer.[Ch]: added new closing signal
1716 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1717 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1718 BufferView::Pimpl via the closing the signal
1720 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1722 * buffer.[Ch]: take out all bv-related from buffer
1724 * BufferView_pimpl.[Ch]: connect to new signals
1725 * CutAndPaste.C: removed useless asserts
1726 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1729 * lyxfunc.C: moved view-related funciontality from vc here
1730 * paragraph.C: removed outdated comments
1733 2003-07-10 André Pönitz <poenitz@gmx.net>
1735 * BufferView_pimpl.C:
1739 * text2.C: remove InsetText::InnerCache, clean up consequences
1741 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1743 * ispell.C: fix two typos in error messages
1745 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1747 * Extend Note inset to other forms of annotation like Comment
1748 and Greyedout. Right button click gives dialog.
1750 Files modified or added (+):
1754 * ControlNote.[Ch] +
1756 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1757 frontends/controllers
1761 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1763 * aspell.C: add missing namespace lyx::support
1765 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1767 * BufferView.[Ch] (newFile): Add
1768 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1769 * LaTeX.[Ch] (message): added this signal and use it
1770 * buffer.[Ch] (busy, message): added these signals and use them
1771 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1775 * importer.C: use buffer signals instead of direct bv calling
1776 * lyx_cb.[Ch] (ShowMessage): removed
1779 * paragraph_funcs.C:
1780 * text2.C: use buffer signals
1782 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * introduce namespace lyx::graphics
1786 2003-07-02 André Pönitz <poenitz@gmx.net>
1788 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1790 2003-07-01 André Pönitz <poenitz@gmx.net>
1797 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1798 text*.C to text_func.C
1800 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1802 * introduce namespace lyx::support
1804 2003-06-30 André Pönitz <poenitz@gmx.net>
1809 * text.C: re-enable --with-included-string
1811 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * textcursor.C: add <config.h>
1815 * text.C (getWord): remove const from word_location arg
1817 * lyxvc.C (getLogFile): fix const type order
1819 * lyxtext.h: remove const from word_location arg, add arg name
1821 * lyxlayout.h: currect type on labeltype.
1823 * importer.C: correct \file
1825 * converter.C (intToFormat): use std:: on ret val, ws changes
1827 * bufferlist.h: correct \file
1829 * buffer.C (makeLinuxDocFile): fix const type order
1830 (makeDocBookFile): ditto
1831 (fillWithBibKeys): use std:: on stdlib args.
1833 * CutAndPaste.C: fix authors.
1834 (availableSelections): use std:: on return vector
1836 2003-06-27 André Pönitz <poenitz@gmx.net>
1838 * BufferView_pimpl.C:
1839 * bufferview_funcs.C:
1847 * text3.C: remove LyXCursor::row_ member
1850 * text.C: rename fullRebreak() to partialRebreak() and implement
1851 a fullRebreak() that really bereks fully
1853 * textcursor.h: new struct for cursor-related data
1855 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1857 * lyx_main.C (LyX): get full path of document loaded on the
1860 2003-06-26 André Pönitz <poenitz@gmx.net>
1862 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1863 remove unused/broken operator>,<,>=.
1865 * text.C: remove only use of broken operator<= in an Assert().
1867 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1869 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1870 moved errorlist_.clear to showErrorList
1872 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1874 * converter.C (scanLog, runLaTeX):
1875 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1876 move the bv->showErrorList call to the callers
1877 * lyxfunc.C: i.e. here...
1879 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1880 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1881 namespace, the second to...
1882 * buffer_funcs (BufferFormat, parseErrors): added
1883 * errorlist.C (ErrorList(TeXErrors const &)): removed
1885 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1887 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1889 2003-06-24 "Garst R. Reese" <reese@isn.net>
1893 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1895 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1897 * version.C.in: change docversion to 1.4
1899 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1901 * buffer.C: fix a bug just introduced
1903 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1905 * buffer.[Ch]: added the parseError signal and use it, removed
1907 * BufferView.[Ch] (addError): moved to ...
1908 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1909 to the Buffer::parseError signal to catch (guess what) parse errors
1910 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1912 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1914 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1915 ability to create a buffer and to return an existing one from
1916 the list. Moved these functions to...
1917 * buffer_funcs.[Ch]: added
1918 * BufferView.[Ch] (loadLyXFile): added
1919 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1920 job removed from bufferlist::loadLyXFile.
1921 * buffer.C (setReadOnly): make it work without view
1922 (i.e added an if (users))
1924 2003-06-19 Angus Leeming <leeming@lyx.org>
1927 * LyXAction.C (init):
1928 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1929 with LFUN_DIALOG_SHOW <name> <data>.
1931 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1933 * CutAndPaste.C (availableSelections): small compilation fix for
1934 ancient (gcc 2.9x) compilers
1936 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1938 * text3.C (cursorNext): add tmp var
1940 * text2.C (updateCounters): for function calling out of for clause
1941 (replaceSelectionWithString): ditto
1942 (insertStringAsParagraphs): ditto
1943 (getColumnNearX): add tmp var
1944 (setCursorFromCoordinates): add tmp var
1945 (cursorDownParagraph): add tmp var
1946 (deleteEmptyParagraphMechanism): add tmp var
1948 * text.C (insertChar): add tmp var
1950 * rowpainter.C (paintDepthBar): add tmp var
1952 * CutAndPaste.C (availableSelections): potentially check all
1953 paragraphs in a cut to fill the shown strings.
1955 2003-06-18 André Pönitz <poenitz@gmx.net>
1957 * kbmap.[Ch]: use vector<> instead of list<>
1959 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1961 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1962 pasteSelection with index
1964 * text2.C (pasteSelection): modify, call pasteSelection with index
1966 * paragraph.C (asString): reimplement version with no interval to
1967 call the one with interval.
1969 * lyxtext.h: add index arg to pasteSelection
1971 * MenuBackend.C (MenuItem): handle PasteRecent
1972 (Menu::read::Menutags): add md_pasterecent
1974 (expandPasteRecent): new function
1977 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1979 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1981 (availableSelections): new function
1983 2003-06-17 Angus Leeming <leeming@lyx.org>
1985 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1987 2003-06-17 Angus Leeming <leeming@lyx.org>
1990 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1992 * lyxfunc.C (dispatch): invoke it.
1994 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1996 * iterators.C (operator++, ParPosition): reintroduce some
1997 const_cast for the benefit of older compilers.
1999 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2001 * text3.C (dispatch): do not modify clipboard when doing
2002 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2003 LFUN_DELETE_SKIP on a selection selection
2005 2003-06-16 André Pönitz <poenitz@gmx.net>
2011 * tabular.[Ch]: IU of clone() and getLabelList();
2013 2003-06-13 André Pönitz <poenitz@gmx.net>
2015 * tabular.h: compactification
2017 2003-06-12 André Pönitz <poenitz@gmx.net>
2021 * tabular_funcs.h: some renaming plus whitespace
2023 2003-06-12 André Pönitz <poenitz@gmx.net>
2026 * BufferView_pimpl.C:
2032 * toc.C: Return a Paragraph & for ParIterator::operator*()
2034 2003-06-11 John Levon <levon@movementarian.org>
2038 * ToolbarBackend.C: add "Toolbars" section and
2041 2003-06-10 Angus Leeming <leeming@lyx.org>
2044 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2046 * lyxfunc.C (dispatch): invoke it.
2048 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * main.C: protect <ios> with HAVE_IOS
2051 (main): protect sync_with_stdio with HAVE_IOS
2053 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2055 * text2.C (cutSelection): adjust
2056 (pasteSelection): adjust
2058 * messages.C: handle get of empty string
2060 * main.C (main): use sync_with_stdio(false)
2062 * lyxfunc.C (dispatch): adjust
2064 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2065 (WriteAs): remove unneeded BufferView arg.
2067 * bufferparams.h: use correct types on papersize, papersize2 and
2070 * bufferparams.C (readToken): adjust for type
2071 (writeLaTeX): add missing cases to switch.
2073 * bufferlist.C (quitWriteBuffer): adjust
2076 * buffer.C (asciiParagraph): remove some commented code.
2078 * CutAndPaste.C: remove current_view extern variable.
2079 (cutSelection): add BufferParams arg.
2080 (eraseSelection): add BufferParams arg.
2081 (pasteSelection): add Buffer const & arg
2083 2003-06-07 John Levon <levon@movementarian.org>
2086 * paragraph_funcs.C:
2087 * paragraph_pimpl.C:
2091 * paragraph.C: allow InsetERT to freely space lines,
2092 and some consolidation of code
2094 2003-06-06 José Matos <jamatos@fep.up.pt>
2096 * buffer.C (makeDocBookFile): fix bug #821
2098 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2100 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2102 2003-06-04 Angus Leeming <leeming@lyx.org>
2104 * buffer.C: bump format to 224.
2106 2003-06-05 André Pönitz <poenitz@gmx.net>
2108 * text2.C (redoParagraphs): remove two const_cast<>
2110 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2112 * ParagraphList.h: remove last remnants of NO_STD_LIST
2114 2003-06-03 Angus Leeming <leeming@lyx.org>
2116 * factory.C (createInset): small change to the way InsetExternal's params
2119 2003-06-04 André Pönitz <poenitz@gmx.net>
2121 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2123 * paragraph_pimpl.h:
2124 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2126 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2128 * undo_funcs.C: make some simple cases of undo work again
2130 2003-06-03 John Levon <levon@movementarian.org>
2132 * ispell.C: HPUX doesn't have sys/select.h
2135 2003-06-03 John Levon <levon@movementarian.org>
2137 * CutAndPaste.C: update tabular and include inset
2142 * paragraph.C: remove owningBuffer(), don't pass Buffer
2145 * factory.C: insetGraphicsParams changed
2147 2003-06-02 John Levon <levon@movementarian.org>
2153 * text3.C: remove insetparent
2155 2003-06-02 John Levon <levon@movementarian.org>
2158 * buffer.C: fix inset_iterator.end(), move out of line
2161 2003-06-01 John Levon <levon@movementarian.org>
2163 * text3.C: use a proper cut/paste when doing inset
2164 insert (from Jürgen Spitzmüller)
2166 2003-06-01 John Levon <levon@movementarian.org>
2168 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2170 2003-05-30 André Pönitz <poenitz@gmx.net>
2172 * rowpainter.C: unify second drawing phase
2174 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * trans_mgr.C: remove one case of current_view
2178 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2180 * paragraph_funcs.h: remove paragraph.h include
2182 * paragraph.h: delete NO_STD_LIST stuff
2184 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2186 * buffer.h: remove paragraph.h include
2188 * ParagraphList.C: delete file
2190 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2192 * toc.C (getTocList): adjust
2194 * paragraph_pimpl.C (validate): adjust
2196 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2198 * paragraph.C (Paragraph): adjust
2199 (getPositionOfInset): use const_iterator, adjust
2200 (bibitem): use const_iterator, adjust
2201 (setInsetOwner): adjust
2203 * iterators.C (operator++): adjust
2205 * InsetList.[Ch]: Replace selfmade iterator with standard
2206 vector::iterator also introduce const_iterator. Remove getPos,
2207 getInset and setInset from InsetTable. Adjust accordingly.
2209 * BufferView.C (lockInset): adjust
2210 (ChangeInsets): adjust
2212 * tabular.[Ch]: delete commented same_id functions
2214 2003-05-28 John Levon <levon@movementarian.org>
2216 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2218 2003-05-28 André Pönitz <poenitz@gmx.net>
2220 * metricsinfo.[Ch]: remove 'fullredraw' member
2222 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2224 * lyxtextclass.C (operator): remove caching.
2226 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2230 * text2.C (cursorBottom): adjust
2231 (setCounter): use ParagraphList::find, adjust
2233 * text.C (workWidth): use ParagraphList::find, adjust
2235 * lyxcursor.C (LyXCursor): adjust
2237 * buffer.C (inset_iterator): adjust
2239 * ParagraphList.h: make iterator(value_type) private, make
2240 ParagraphList a friend of iterator.
2242 * ParagraphList.C (find): new function
2244 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2246 2003-05-27 André Pönitz <poenitz@gmx.net>
2248 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2250 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2252 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2254 2003-05-26 John Levon <levon@movementarian.org>
2256 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2258 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2260 * remove same_id from function signatures, adjust.
2262 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2264 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2266 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2268 * paragraph.C (Paragraph): get rid of same_ids parameter
2270 * ParagraphList.C (insert): adjust
2273 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2275 * paragraph_funcs.C (breakParagraph): adjust
2276 (breakParagraphConservative): adjust
2278 * buffer.C (readParagraph): adjust
2280 * ParagraphList.C (insert): take a reference instead of a pointer
2283 * paragraph.[Ch] (id): new function
2285 * bufferlist.C (newFile): adjust
2287 * ParagraphList.C (ParagraphList): adjust
2289 (push_back): take a reference instead of a pointer.
2291 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2293 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2296 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2297 set else use old code.
2299 * ParagraphList.C: remove all NO_NEXT code and only compile this
2300 code of NO_STD_LIST is set.
2302 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2304 * BufferView_pimpl.C:
2314 * graphics/GraphicsConverter.C:
2315 * graphics/PreviewLoader.C: header adjustment
2317 2003-05-23 Angus Leeming <leeming@lyx.org>
2319 * LaTeXFeatures.[Ch] (useBabel): new method.
2320 * bufferparams.C (writeLaTeX): use it.
2322 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2324 * ParagraphList.h (set): remove unused function.
2326 2003-05-23 André Pönitz <poenitz@gmx.net>
2329 * BufferView_pimpl.C:
2333 * undo_funcs.C: setUndo reworked
2335 * iterators.[Ch]: add access to topmost ParagraphList
2337 * lyxtext.[Ch] (workWidth): add a const
2339 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2341 * texrow.[Ch] (increasePos): remove function
2342 * exporter.C (export): removed unused var and outdated comment
2344 2003-05-23 Angus Leeming <leeming@lyx.org>
2346 * latexrunparams.h: rename fragile as moving_arg.
2347 * paragraph.C (simpleTeXOnePar): ditto.
2348 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2350 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2352 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2354 (textUndoOrRedo): comment out a currently unused var.
2356 * paragraph.h (NO_NEXT): enable NO_NEXT
2358 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2360 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2362 * exporter.C (Export): adjust for removeAutoInsets removal.
2364 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2366 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2368 * BufferView.[Ch] (removeAutoInsets): delete function
2370 2003-05-22 Angus Leeming <leeming@lyx.org>
2372 * latexrunparams.h: add a free_spacing variable.
2374 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2375 to pass moving_arg, as the data is stored in runparams.fragile.
2377 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2378 to Inset::latexOptional or to simpleTeXOnePar.
2380 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2381 free_spacing arg to Inset::latexOptional.
2383 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2386 2003-05-22 Angus Leeming <leeming@lyx.org>
2388 * latexrunparams.h: add fragile and use_babel variables.
2390 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2391 * buffer.C (makeLaTeXFile): store this returned value in
2392 runparams.use_babel, thus passing it to the inset::latex methods.
2394 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2395 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2397 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2398 longer has a fragile arg, as it is stored in runparams.fragile.
2400 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2401 moving_arg parameter as the data is stored in runparams.fragile.
2403 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2404 a fragile parameter as the data is stored in runparams.fragile.
2406 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2410 2003-05-22 Angus Leeming <leeming@lyx.org>
2412 * latexrunparams.h: add a 'bool nice' which defaults to false.
2414 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2415 now encapsulated within runparams.
2417 * bufferlist.C (updateIncludedTeXfiles):
2418 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2420 2003-05-22 Angus Leeming <leeming@lyx.org>
2422 * latexrunparams.h: new file containing struct LatexRunParams.
2423 * Makefile.am: add new file.
2425 * LaTeX.[Ch] (c-tor, run):
2426 * buffer.[Ch] (makeLaTeXFile):
2427 * bufferlist.[Ch] (updateIncludedTeXfiles):
2428 * converter.C (convert, scanLog):
2429 * converter.[Ch] (runLaTeX):
2430 * exporter.C (Export):
2431 * paragraph.[Ch] (simpleTeXOnePar):
2432 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2433 * paragraph_funcs.[Ch] (latexParagraphs):
2434 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2435 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2436 pass around a LatexRunParams parameter.
2438 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2440 * paragraph.[Ch]: remove unused constructor
2442 * ParagraphList.C (erase): new function, taking two iterators
2444 2003-05-22 André Pönitz <poenitz@gmx.net>
2446 * undo_funcs.C: remove duplicated code
2448 * iterator.[Ch]: operator=
2450 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * tabular.C (SetMultiColumn): ws changes
2454 * rowpainter.C (paintFirst): get rid of a ->previous
2456 * lyx_cb.C (getPossibleLabel): parlist simplification
2458 * BufferView.C (ChangeInsets): simplify slightly.
2460 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2462 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2463 * lfuns.h: new LFUN_SPACE
2464 * lyxfunc.C: protected space has a new lfun
2465 * paragraph_funcs.C: read new space insets
2467 * factory.C: handle new space insets
2469 2003-05-22 André Pönitz <poenitz@gmx.net>
2472 * BufferView_pimpl.C:
2475 * undo_funcs.C: return a ParIterator from getParFromID.
2477 * iterators.[Ch]: add two const's
2479 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2481 * toc.C (getTocList): adjust
2483 * iterators.[Ch]: rework for parlist
2485 * buffer.C (par_iterator_begin): adjust
2486 (par_iterator_end): adjust
2488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2490 * BufferView.C (removeAutoInsets): adjust
2491 (ChangeInsets): adjust
2493 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2495 * text.C (top_y): fix bug 1110
2497 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2499 * errorlist.[Ch]: added
2502 * BufferView_pimpl.C:
2503 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2506 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * Makefile.am: ensure that lyx is relinked upon changes to the
2509 various "convenience" libs.
2511 2003-05-20 Angus Leeming <leeming@lyx.org>
2513 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2514 files are compiled in alphabetical order again.
2516 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2518 2003-05-19 Angus Leeming <leeming@lyx.org>
2520 * gettext.[Ch]: remove "char const * _(char const *)".
2522 2003-05-19 André Pönitz <poenitz@gmx.net>
2524 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2533 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2535 2003-05-19 André Pönitz <poenitz@gmx.net>
2539 * lyxtextclass.[Ch]:
2541 * paragraph_funcs.[Ch]:
2543 * text3.C: more insetenv work
2545 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2547 * ParagraphParameters.C (params2string): small bug fixed
2549 2003-05-16 André Pönitz <poenitz@gmx.net>
2552 * bufferview_funcs.C: patch from Kornel Benko to prevent
2553 crash when _(...) is called twice in a statement
2555 2003-05-16 André Pönitz <poenitz@gmx.net>
2562 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2564 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2566 * lyx_main.C (init): remove spurious static_cast
2568 2003-05-14 André Pönitz <poenitz@gmx.net>
2570 * BufferView.C: fix format string
2572 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2574 * BufferView.[Ch] (insertErrors): removed
2575 * BufferView.[Ch] (showErrorList): added
2576 * buffer.C (runChkTeX):
2577 * converter.C (scanLog): call showErrorList instead of inserterrors
2579 2003-05-13 André Pönitz <poenitz@gmx.net>
2581 * BufferView_pimpl.C:
2583 * bufferview_func.C:
2590 * tabular_funcs.h: tostr() from its own header
2592 * ParagraphParameters.C:
2597 * text3.C: STRCONV()
2599 2003-05-12 André Pönitz <poenitz@gmx.net>
2602 * BufferView_pimpl.C:
2606 * ParagraphParameters.C:
2610 * bufferview_funcs.C:
2623 * paragraph_funcs.C:
2627 * text3.C: boost::format -> bformat all over the place
2630 2003-05-09 André Pönitz <poenitz@gmx.net>
2632 * LColor.[Ch]: Pimpl the #include <map> away
2634 2003-05-09 John Levon <levon@movementarian.org>
2636 * bufferlist.C: never remove emergency saves
2638 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * Makefile.am: better lib building
2642 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2646 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2647 (simpleTeXSpecialChars): adjust
2648 (simpleTeXSpecialChars): adjust
2649 * paragraph.C (simpleTeXOnePar): adjust
2650 * buffer.C (makeLaTeXFile): adjust
2652 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2654 * text2.C (changeDepth): parlist cleanup
2655 (getColumnNearX): ditto
2657 * rowpainter.C (getLabelFont): parlist cleanup
2659 * bufferlist.C (newFile): parlist cleanup
2661 * CutAndPaste.C (eraseSelection): parlist cleanup
2663 * BufferView_pimpl.C (trackChanges): parlist cleanup
2666 * BufferView.C (lockInset): parlist cleanup.
2667 (ChangeInsets): ditto
2669 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * CutAndPaste.h: Update file header.
2673 * CutAndPaste.C: Update file header.
2674 Store the parts cut out of the Document in a limited_stack.
2675 (copySelection): adjust
2676 (pasteSelection): new function, takes the index in the limited stack.
2677 (nrOfParagraphs): adjust
2678 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2679 simplify error inset insertion.
2680 (checkPastePossible): adjust
2682 2003-05-06 John Levon <levon@movementarian.org>
2684 * text2.C: don't cast wrap inset to float
2686 2003-05-05 André Pönitz <poenitz@gmx.net>
2689 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2691 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2692 few naked Paragraph *.
2694 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2696 * bufferparams.C: Output warning if a document with missing
2697 TeX document class is loaded
2698 * exporter.C: Disable TeX exports if the document class is missing
2701 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2702 isTeXClassAvailable()
2704 2003-05-03 John Levon <levon@movementarian.org>
2707 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2708 explicit cursor show/hide
2710 * BufferView_pimpl.h:
2711 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2712 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2714 * lyxfunc.C: hide cursor before dispatching.
2719 * text3.C: remove explicit cursor hides
2721 2003-05-02 André Pönitz <poenitz@gmx.net>
2723 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2726 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2729 * text2.C: tiny whitespace
2731 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * undo_funcs.C: almost only ws changes.
2735 * ParagraphList.C (splice): just return if pl is empty.
2737 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2739 * ParagraphList.C (splice): new function.
2741 * CutAndPaste.C (pasteSelection): use it
2743 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * CutAndPaste.C (pasteSelection): remove the last next and
2746 previous from this file.
2748 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * CutAndPaste.C (pasteSelection): more clean up, user proper
2751 ParagraphList functions for pasteing.
2753 * ParagraphList.C (insert): new function, three arg insert
2755 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2757 * ParagraphList.C (insert): new function, three arg insert
2759 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2762 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2766 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2768 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2770 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2772 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2773 (copySelection): clean up a bit.
2774 (pasteSelection): use make_pair
2776 * ParagraphList.C (ParagraphList): implement copy constructor
2777 (operator=): implement, base on copy constructor.
2780 * paragraph.C (erase): return a bool
2782 * paragraph_pimpl.C (erasePos): remove function, move contents...
2783 (erase): ... here. Return a bool.
2784 (erase): call erase instead of erasePos.
2786 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2788 * ParagraphList.h: define PitPosPair
2789 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2790 ParagraphList, fix a bug on pasting multiple pars
2791 * text2.C: change interface to C&P
2793 2003-04-30 André Pönitz <poenitz@gmx.net>
2795 * undo_func.C: revert part of yesterday's patch 2
2797 2003-04-30 John Levon <levon@movementarian.org>
2799 * LColor.C: s/tabular/table/
2801 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * text3.C (dispatch): do not convert iterator -> pointer
2804 * undo_funcs.C (setCursorParUndo): ditto
2805 * text_funcs.C (transposeChars): ditto
2807 * text2.C (setLayout): ws changes only
2809 * text.C (breakParagraph): do not convert iterator -> pointer
2811 (acceptChange): ditto
2812 (rejectChange): ditto
2817 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2820 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2822 * text3.C (gotoInset): YABG (yet another bad getChar)
2824 2003-04-29 André Pönitz <poenitz@gmx.net>
2826 * paragraph.h: make operator= private unimplemented as long as
2829 * ParagraphList.C: whitespace
2832 * paragraph_pimpl.[Ch]:
2833 * paragraph_funcs.C:
2835 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2838 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2840 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2842 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2843 * paragraph.[Ch] (erase):
2844 * paragraph_pimpl.[Ch] (erase): change return type and value
2845 * text2.C (cutSelection): some rework
2847 2003-04-28 John Levon <levon@movementarian.org>
2849 * bufferlist.C: changes for unsaved changes dialog
2851 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * bufferlist.C (newFile): set language (messages_) for new
2856 * buffer.C (readFile): ws changes only.
2858 2003-04-28 André Pönitz <poenitz@gmx.net>
2863 * BufferView_pimpl.C:
2864 * BufferView.C: getParFromID related ParagraphList::iterator changes
2866 2003-04-28 André Pönitz <poenitz@gmx.net>
2868 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2871 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * messages.C: remove one more localedir class variable.
2875 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * messages.C (getLocaleDir): singleton generation function
2879 (Messages): add a default constructor.
2881 * main.C (main): do not setup localedir here, do not call
2884 * gettext.C (_): use it.
2885 (gettext_init): delete funciton
2887 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * gettext.C (getLyXMessages): new singleton generating function.
2891 * buffer.C (updateDocLang): adjust
2893 * Makefile.am (messages.o): add target
2894 (main.o): remove target
2896 2003-04-27 John Levon <levon@movementarian.org>
2901 * lyxvc.C: specify cancel button in Alert::prompt
2903 2003-04-26 John Levon <levon@movementarian.org>
2908 * LyXAction.C: add LFUN_INSET_SETTINGS
2910 * lyxfunc.C: don't enable tabular-feature when there's
2911 just any locking inset
2913 2003-04-26 John Levon <levon@movementarian.org>
2915 * bufferlist.C: re-add Cancel to buffer close question
2917 * lyxfunc.C: fix import UI a bit
2919 2003-04-25 John Levon <levon@movementarian.org>
2921 * gettext.C: remove the broken asserts for now
2923 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * messages.C: make case where setlocale cannot comply work better.
2927 * buffer.C (updateDocLang): new function
2928 (changeLanguage): use it
2931 * text2.C (setCounter): use B_ a bit.
2933 * lyxlayout.C (Read): be sure to trim the label strings.
2935 * messages.C (Messages): fix typo in comment
2937 * buffer.C (readFile): set message_ after file is loaded.
2938 (makeDocBookFile): remove double return
2939 (changeLanguage): reset message_ upon language change.
2940 (B_): new func, use this to get translated buffer strings.
2942 * main.C: add myself and Jean Marc as authors.
2944 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * messages.[hC]: pimplify Messages, and three different pimpls to be
2947 used in different circumstances.
2949 * gettext.[Ch]: change for use with new message code.
2951 2003-04-24 André Pönitz <poenitz@gmx.net>
2953 * factory.C: support for eqref
2955 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * messages.[Ch]: add missing char
2959 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2961 * messages.[Ch]: New files
2963 2003-04-18 John Levon <levon@movementarian.org>
2967 * BufferView_pimpl.C:
2971 * text2.C: remove layout-copy/paste (bug 778)
2973 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2975 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2977 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2979 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2980 if they succeed. Act accordingly.
2982 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * text2.C (setCharFont): adjust
2985 (setCounter): adjust
2986 (insertStringAsLines): adjust
2988 * text.C (leftMargin): adjust
2989 (setHeightOfRow): adjust
2991 * rowpainter.C (paintFirst): adjust
2994 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2996 (isFirstInSequence): ditto
2997 (getEndLabel): ditto
3000 * paragraph.C (getParLanguage): comment out some hard stuff.
3002 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3004 (simpleDocBookOnePar): ditto
3005 (makeDocBookFile): use ParagraphList::iterator
3007 * CutAndPaste.C (pasteSelection): adjust
3009 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3011 * text2.C (getFont): adjust
3012 (getLayoutFont): adjust
3013 (getLabelFont): adjust
3015 * paragraph_funcs.C (TeXOnePar): adjust
3017 * buffer.C (simpleLinuxDocOnePar): adjust
3018 (simpleDocBookOnePar): adjust
3020 * CutAndPaste.C (pasteSelection): adjust
3022 * BufferView.C (getEncoding): adjust
3024 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3026 2003-04-16 John Levon <levon@movementarian.org>
3028 * lyxfind.C: use parlist stuff for search/changes
3030 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3032 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3034 * text2.C (deleteEmptyParagraphMechanism): adjust
3036 * text2.[Ch] (ownerParagraph): delete func (both of them
3038 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3040 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3042 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * ParagraphList.C: prepare for NO_NEXT
3046 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3048 * text2.C (getFont): adjust
3049 (getLayoutFont): adjust
3050 (getLabelFont): adjust
3052 * paragraph.C (getFont): adjust
3053 (getLabelFont): adjust
3054 (getLayoutFont): adjust
3056 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3058 2003-04-15 John Levon <levon@movementarian.org>
3062 * lyx_main.C: handle Include in .ui files
3064 2003-04-15 John Levon <levon@movementarian.org>
3066 * MenuBackend.C: make the doc files length shorter
3069 * ToolbarBackend.C: handle toolbar placement flags,
3072 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3077 * paragraph_funcs.C (TeXOnePar): adjust
3079 * paragraph.C (getLabelFont): add outerfont arg, adjust
3080 (getLayoutFont): ditto
3081 (simpleTeXOnePar): adjust
3083 * paragraph_pimpl.C (realizeFont): delete func
3085 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3087 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3088 row argument, constify cur argument.
3090 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3092 * text2.C (getFont): adjust
3093 (getLayoutFont): adjust
3094 (getLabelFont): adjust
3096 * paragraph_funcs.C (TeXOnePar): adjust
3097 (outerFont): new func...
3098 (realizeFont): ...moved out from here, changed this to facilitate
3101 * paragraph.C (getFont): take outerfont as arg, adjust
3102 (simpleTeXOnePar): add outerfont arg, adjust
3104 * buffer.C (simpleLinuxDocOnePar): adjust
3105 (simpleDocBookOnePar): adjust
3107 * CutAndPaste.C (pasteSelection): adjust
3109 * BufferView.C (getEncoding): adjust
3111 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * text2.C (setCharFont): adjust
3114 (setCounter): adjust
3116 * text.C (leftMargin): adjust
3117 (setHeightOfRow): adjust
3119 * rowpainter.C (paintFirst): adjust
3122 * paragraph_pimpl.C (realizeFont): adjust
3124 * paragraph.C (isFirstInSequence): move from here...
3125 * paragraph_funcs.C (isFirstInSequence): ...to here
3127 * paragraph.C (outerHook): move from here...
3128 * paragraph_funcs.C (outerHook): ...to here
3130 * paragraph.C (depthHook): move from here...
3131 * paragraph_funcs.C (depthHook): ...to here
3133 * paragraph.C (getEndLabel): move from here...
3134 * paragraph_funcs.C (getEndLabel): ...to here
3136 * text2.C (realizeFont): move from here...
3137 * paragraph_funcs.C (realizeFont): ...to here
3139 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3143 2003-04-14 Angus Leeming <leeming@lyx.org>
3145 * LColor.[Ch]: scrap LColor mathcursor.
3147 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3149 * lyxlex.[Ch] (text): delete function
3150 * trans.C (Load): adjust
3151 * paragraph_funcs.C (readParToken): adjust
3153 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3156 vector<char> instead of a char[].
3158 * lyxlex_pimpl.C (getString): adjust
3160 (lex): use getString
3164 * lyxlex.C (text): use pimpl_->getString()
3168 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3171 (makeFontEntriesLayoutSpecific): temp var for par.size()
3172 (setLayout): temp var for ownerParagraphs().end()
3173 (fullRebreak): temp var for rows().end()
3174 (selectionAsString): temp var for boost::next(startpit), realize
3175 that the while really is a regular for loop.
3176 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3177 setCursor in one place.
3178 (setParagraph): temp vr for ownerParagraphs().end()
3179 (updateCounters): make the while loop a for loop
3180 (cutSelection): temp var for ownerParagraphs().end()
3181 (updateInset): make the do {} while() a regular for loop
3182 (getCursorX): use temp vars
3183 (setCurrentFont): use temp vars
3184 (getColumnNearX): use temp vars
3186 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * text.C (transformChar): use temp var for getChar
3189 (computeBidiTables): use temp var for row->par()
3190 (fill): move temp vars for row->par() and pit->layout() earlier in
3192 (labelFill): use temp var for row->par()
3193 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3194 asc and desc, realize that pit never changes and that firstpit is
3195 just a duplicate and not needed. Exchange rit->par() with pit in a
3197 (breakAgain): use a temp var for boost::next(rit)
3198 (breakAgainOneRow): ditto
3199 (breakParagraph): use a temp var for rows().begin()
3200 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3201 (cursorRightOneWord): use temp var for cursor.par() and
3202 cursor.pos(), remove usage of tmpcursor.
3203 (cursorLeftOneWord): use temp var for cursor.par() and
3204 cursor.pos() only set cur at end of function.
3206 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * text.C, text2.C: exchange all usage of Paragraph::next with
3209 boost::next(ParagraphList::iterator)
3211 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3213 * text2.C (cursorTop): simplify implementation
3214 (cursorBottom): ditto
3215 (setParagraph): use ParagraphList::iterator
3216 (setCurrentFont): adjust
3217 (getColumnNearX): adjust
3218 (cursorRight): adjust
3219 (cursorLeft): remove usage of Paragraph::previous
3220 (cursorUpParagraph): ditto
3221 (deleteEmptyParagraphMechanism): slight cleanup
3223 * text.C (isBoundary): take a Paragraph const & instead of a
3225 (addressBreakPoint): ditto
3226 (leftMargin): remove usage of Paragraph::previous.
3227 (setHeightOfRow): ditto
3228 (cursorLeftOneWord): ditto
3229 (selectNextWordToSpellcheck): ditto
3232 (breakParagraph): remove one usage of Paragraph::next
3233 (redoParagraph): ditto
3234 (acceptChange): ditto
3235 (insertChar): adjust
3236 (rowBreakPoint): adjust
3238 * bufferview_funcs.C (toggleAndShow): adjust
3240 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3242 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3243 methods to access it.
3245 * text.C: Added updateRowPositions to compute all row positions.
3246 Make top_y and getRowNearY() to use the cached y position
3248 2003-04-11 John Levon <levon@movementarian.org>
3250 * text.C (rowBreakPoint): reintroduce the labelEnd
3251 checks, code copied from the row fill stuff. Deep voodoo.
3253 * text.C (fill): add a comment and debugging for the
3256 2003-04-11 John Levon <levon@movementarian.org>
3258 * text.C: make sure fullrow insets get wrapped to the next line,
3259 even when they're in a manual label
3261 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * text2.C (insertParagraph): make it take ParagraphList::iterator
3265 (setLayout): make it return ParagraphList::iterator
3266 (redoParagraphs): ditto
3268 (checkParagraph): ditto
3270 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3272 * text2.C: adjust several funcs.
3273 (realizeFont): take a ParagraphList::iterator as arg.
3274 (getLayoutFont): ditto
3275 (getLabelFont): ditto
3276 (setCharFont): ditto
3278 * text.C: adjust several funcs.
3280 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3282 * text.C (selectNextWordToSpellcheck): don't accidentally
3285 2003-04-10 John Levon <levon@movementarian.org>
3287 * ToolbarBackend.C (getIcon): special handling for
3290 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3292 * text2.C (cursorRight): a getChar assert fixed
3294 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3296 * text2.C (getFont): change to take a ParagraphList::iterator
3297 instead of Paragraph*
3298 Adjust several functions.
3300 * text.C (transformChar): change to take a ParagraphList::iterator
3301 instead of Paragraph*
3302 (singleWidth): ditto
3303 Adjust several functions.
3305 * rowpainter.C: adjust several functions
3306 * rowpainter.h:store a ParagraphList::iterator and not a
3310 2003-04-09 John Levon <levon@movementarian.org>
3315 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3316 and the "help" bits as well
3318 2003-04-09 John Levon <levon@movementarian.org>
3321 * ToolbarBackend.C: allow multiple toolbars
3323 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * undo_funcs.C (setCursorParUndo): adjust
3327 * text_funcs.C (transposeChars): adjust
3329 * text3.C (gotoNextInset): adjust
3332 * text2.C (setLayout): adjust
3333 (changeDepth): adjust
3335 (redoParagraphs): adjust
3336 (selectionAsString): adjust
3337 (setParagraph): adjust
3338 (insertInset): adjust
3339 (cutSelection): adjust
3340 (copySelection): adjust
3341 (pasteSelection): adjust
3342 (insertStringAsLines): adjust
3343 (updateInset): adjust
3344 (setCursor): change to take a ParagraphList::iterator parameter
3345 (setCursorIntern): change to take a ParagraphList::iterator parameter
3346 (setCurrentFont): adjust
3347 (cursorLeft): adjust
3348 (cursorRight): adjust
3349 (deleteEmptyParagraphMechanism): adjust
3351 * text.C (breakParagraph): adjust
3352 (insertChar): adjust
3353 (acceptChange): adjust
3354 (rejectChange): adjust
3355 (selectNextWordToSpellcheck): adjust
3356 (changeCase): adjust
3360 * lyxfind.C (SearchForward): adjust
3361 (SearchBackward): adjust
3362 (nextChange): adjust
3364 * lyxcursor.C (par): adjust
3366 * lyxcursor.h: store a ParagraphList::iterator instead of a
3369 * lyx_cb.C (getPossibleLabel): adjust
3371 * bufferview_funcs.C (toggleAndShow): adjust
3373 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3376 * BufferView.C (removeAutoInsets): adjust
3377 (lockedInsetStoreUndo): adjust
3379 2003-04-09 John Levon <levon@movementarian.org>
3381 * ToolbarBackend.C: try icon without argument
3382 if with argument fails
3384 2003-04-08 John Levon <levon@movementarian.org>
3387 * ToolbarBackend.C: add getIcon(), handle tooltip,
3388 and change from "Icon" to "Item".
3390 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3392 * BufferView.C (lockInset): another bad getchar crunched
3394 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3396 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3399 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3401 * lyxfind.C (searchForward, searchBackwards): bug 782
3403 2003-04-07 John Levon <levon@movementarian.org>
3405 * paragraph.C: remove dead comment
3407 * text.C: remove troublesome depth-fiddling code
3408 in leftMargin() and rightMargin() (bug 1017)
3410 * text.C: fix breaking of rows in nested lists
3413 * text2.C (updateCounters): fix up depth values
3416 2003-04-07 John Levon <levon@movementarian.org>
3418 * BufferView_pimpl.C: clear message when doc finishes resizing,
3419 and after a mouse event
3421 * lyxfunc.C: clear message after exiting inset
3423 2003-04-07 John Levon <levon@movementarian.org>
3425 * bufferview_funcs.C: show math status not outside
3426 status in the statusbar
3428 2003-04-07 John Levon <levon@movementarian.org>
3430 * lyxfunc.C: note status changed after a depth change
3432 2003-04-04 Angus Leeming <leeming@lyx.org>
3434 * LaTeX.h: move AuxInfo operator==, != out of line.
3435 Remove LaTeX virtual destructor; nothing derives from it.
3436 Move operator()() out of public area and rename it startscript().
3437 Change protected for private.
3439 2003-04-04 Angus Leeming <leeming@lyx.org>
3442 * text2.C: remove unneeded #includes.
3444 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3446 * text2.C (dEPM): fix the heigth of the next row
3448 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3450 * text.C: squashed an invalid getChar requester + some ws changes
3452 2003-04-03 John Levon <levon@movementarian.org>
3454 * bufferview_funcs.h:
3455 * bufferview_funcs.C:
3458 * text2.C: make getStatus work for the env depth lfuns
3460 2003-04-03 John Levon <levon@movementarian.org>
3462 * bufferview_funcs.h:
3463 * bufferview_funcs.C:
3466 * text2.C: parlistize decDepth(), by merging it with incDepth()
3468 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * lyxrow.h: store a ParagraphList::iterator instead of a
3471 Paragraph* and adjust other class functions to suit.
3473 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3476 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3478 * text2.C (setCursor): do not anchor to cursor row for the time being
3480 2003-04-02 John Levon <levon@movementarian.org>
3487 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3489 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3491 * paragraph.h: make ParagraphList and ParagraphList::iterator
3492 friends of Paragraph.
3494 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3496 * ParagraphList.C: Use the private next_ and previous_ from
3499 2003-04-01 John Levon <levon@movementarian.org>
3503 * Makefile.am: rename, remove defaults gunk
3506 * MenuBackend.C: remove defaults gunk
3509 * Languages.C: remove defaults gunk
3512 * lyx_main.C: error out if files couldn't be found.
3514 2003-04-02 John Levon <levon@movementarian.org>
3516 * text2.C: make incDepth() use parlist
3518 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * undo_funcs.C (firstUndoParagraph): adjust
3522 * text3.C (gotoInset): adjust
3523 (dispatch): adjust, and rewrite loop.
3525 * text2.C (init): adjust, and rewrite loop.
3526 (redoParagraphs): adjust
3527 (updateInset): adjust, and rewrite loop.
3528 (deleteEmptyParagraphMechanism): adjust
3530 * tabular.C (LyXTabular): adjust
3531 (SetMultiColumn): adjust
3534 * lyxtext.[Ch] (ownerParagraph): delete function
3535 (ownerParagraphs): new function returns a ParagraphList.
3537 * BufferView.C (removeAutoInsets): adjust
3538 (insertErrors): adjust
3539 (setCursorFromRow): adjust
3541 2003-04-01 Angus Leeming <leeming@lyx.org>
3543 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3546 2003-04-02 John Levon <levon@movementarian.org>
3552 * text_funcs.C: make transposeChars a free function
3554 * lyxrow_funcs.C: remove wrong comment
3556 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * rowpainter.C: adjust
3564 * lyxrow_funcs. [Ch]: new files
3566 * lyxrow.[Ch]: remove next and previous pointers
3567 (next,previous): remove accessor functions
3568 (isParEnd): move to lyxrow_funcs
3569 (lastPos): move to lyxrow_funcs
3570 (nextRowIsAllInset): move to lyxrow_funcs
3571 (lastPrintablePos): move to lyxrow_funcs
3572 (numberOfSeparators): move to lyxrow_funcs
3573 (numberOfHfills): move to lyxrow_funcs
3574 (numberOfLabelHfills): move to lyxrow_funcs
3575 (hfillExpansion): move to lyxrow_funcs
3579 * bufferview_funcs.C (toggleAndShow): adjust
3581 * RowList.h: Remove class RowList from file leave just a
3584 * RowList.C: delete file
3586 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3589 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * text3.C (cursorPrevious): adjust
3592 (cursorNext): adjust
3595 * text2.C (redoHeightOfParagraph): adjust
3596 (redoDrawingOfParagraph): adjust
3599 * text.C (breakParagraph): adjust
3600 (insertChar): adjust
3603 * rowpainter.C (RowPainter): adjust
3604 (leftMargin): simplify and adjust
3605 (most rowpainter functions): adjust.
3607 * rowpainter.h: store the row as RowList::iterator not as Row*
3609 * lyxcursor.C (row): taka RowList::iterator as arg
3612 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3615 2003-04-01 Angus Leeming <leeming@lyx.org>
3617 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3618 stuff like bool Bool.
3620 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3622 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3625 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3627 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3630 * lyxtext.h (rows): drop one version and leve a const variant that
3631 returns a RowList::iterator.
3633 2003-03-31 Angus Leeming <leeming@lyx.org>
3635 * text.C (fill): ensure that the signature is the same as that in the
3638 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * text2.C (redoParagraphs): adjust
3641 (updateCounters): adjust
3642 (checkParagraph): adjust
3643 (getColumnNearX): adjust and reformat a bit.
3645 * text.C (top_y): adjust
3647 (leftMargin): adjust
3648 (prepareToPrint): adjust
3650 (getRowNearY): adjust
3652 * lyxtext.h: make rowlist_ mutable.
3654 * RowList.h: add const_iterator
3655 * RowList.C: adjust for RowList::const_iterator.
3657 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3660 2003-03-31 John Levon <levon@movementarian.org>
3663 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3665 * lyx_main.C: set default fonts from using lyx_gui funcs
3667 * exporter.C: pdf_mode moved from lyxrc
3670 * lyxfunc.C: changes from above
3672 2003-03-31 John Levon <levon@movementarian.org>
3674 * lyx_main.C: fix to the last fix
3676 2003-03-31 John Levon <levon@movementarian.org>
3678 * bufferlist.C: "Load original" -> "Load Original"
3684 * format.C: more Alert cleanups
3686 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3688 * text2.C (removeParagraph): make it take a RowList::iterator as
3690 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3691 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3693 * text.C (anchor_row): make it take a RowList::iterator as arg,
3695 (computeBidiTables): make it take a const reference to Row instead
3696 of Row pointer, adjust.
3697 (leftMargin): make it take a RowList::iterator as arg, adjust.
3698 (rowBreakPoint): adjust
3699 (breakAgainOneRow): make it take a RowList::iterator as arg,
3701 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3703 * bufferview_funcs.C (toggleAndShow): adjust
3705 2003-03-30 John Levon <levon@movementarian.org>
3709 * boost-inst.C: moved to support
3711 * several files: changes as a result
3713 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3715 * text2.C (LyXText): adjust.
3717 (removeRow): make it take a RowList::iterator as arg, adjust.
3718 (fullRebreak): adjust
3719 (deleteEmptyParagraphMechanism): adjust
3720 (clearPaint): adjust
3723 * text.C (top_y): adjust
3724 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3725 (breakAgain): make it take a RowList::iterator as arg, adjust.
3726 (breakParagraph): adjust
3727 (insertChar): adjust
3730 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3731 need_break_row, and refresh_row.
3733 * text3.C (dispatch): adjust
3735 * text2.C (checkParagraph): adjust
3737 (setCursorFromCoordinates): adjust
3739 * text.C (top_y): adjust
3741 (getRow): make it return a RowList::iterator, adjust
3742 (getRowNearY): make it return a RowList::iterator, adjust
3744 * text2.C (init): adjust
3745 (insertRow): remove function
3746 (insertParagraph): adjust
3747 (redoParagraphs): adjust
3748 (fullRebreak): adjust
3749 (updateCounters): adjust
3751 * text.C (top_y): rewrite to use RowList iterators.
3753 (setHeightOfRow): rewrite to sue RowList iterators.
3754 (appendParagraph): adjust
3755 (breakAgain): adjust
3756 (breakAgainOneRow): adjust
3757 (breakParagraph): adjust
3759 (getRowNearY): adjust, and remove commented code.
3761 * lyxtext.h (firstRow): delete function
3762 (lastRow): delete function
3763 (rows): new function (const and non-const versions.)
3764 (insertRow): delete function
3766 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3768 2003-03-29 John Levon <levon@movementarian.org>
3770 * BufferView_pimpl.C: always update scrollbar top
3771 because pasting text when we're anchored could mean we
3772 miss an update altogether
3774 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3776 * text2.C (init): use rowlist_.end() and not 0.
3777 (insertRow): change to take a RowList::iterator as arg, adjust
3779 (insertParagraph): change to take a RowList::iterator as arg,
3781 (redoParagraphs): remove some debug msgs.
3783 * text.C (appendParagraph): change to take a RowList::iterator
3784 arg, adjust for this.
3785 (breakAgain): add an assert
3786 (breakAgainOneRow): ditto
3788 2003-03-29 John Levon <levon@movementarian.org>
3790 * text2.C: do not clear selection after inc/decDepth
3793 2003-03-29 John Levon <levon@movementarian.org>
3796 * buffer.C: fix broken strerrors according to Lars
3798 2003-03-29 John Levon <levon@movementarian.org>
3800 * converters.C: more Alert cleanups
3802 2003-03-29 John Levon <levon@movementarian.org>
3804 * bufferview_funcs.C: remove pointless Alert
3806 * buffer.C: fix confusing error message when
3807 a template is chmoded 000
3809 2003-03-29 John Levon <levon@movementarian.org>
3813 * BufferView_pimpl.C: Alert fixes
3817 * tabular-old.C: remove unused table compat reading
3819 2003-03-29 John Levon <levon@movementarian.org>
3824 * lyx_cb.C: more Alert cleanups
3826 * lyxfunc.C: don't allow chktex if not latex document
3828 2003-03-29 John Levon <levon@movementarian.org>
3832 * buffer.C: warnings pushed down from support/,
3835 2003-03-29 John Levon <levon@movementarian.org>
3837 * lyxfunc.C: safety check for C-r (revert)
3839 2003-03-29 John Levon <levon@movementarian.org>
3842 * bufferlist.C: several UI fixes using Alert::prompt.
3843 Fix the pointless looping quit code. Fix stupid revert
3848 * lyx_cb.C: use Alert::prompt
3850 * lyx_main.C: remove a silly question
3852 * lyxfunc.C: remove a couple of silly questions,
3855 2003-03-28 John Levon <levon@movementarian.org>
3857 * text2.C: fix bug 974 (End on empty par)
3859 2003-03-28 John Levon <levon@movementarian.org>
3861 * BufferView_pimpl.C:
3863 * lfuns.h: remove do-nothing math greek lfuns
3865 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * lyxgluelength.h (isValidGlueLength): add default arg on
3868 parameter 2. Remove default arg from friend in class.
3870 * lyxlength.h (isValidLength): add default arg on parameter 2.
3871 Remove default arg from friend in class.
3873 * text2.C (LyXText): adjust, initialize refresh_row.
3877 (insertParagraph): adjst
3878 (redoParagraphs): adjust
3879 (fullRebreak): adjust
3880 (updateCounters): adjust
3881 (deleteEmptyParagraphMechanism): first attempt at fixing a
3884 * text.C (top_y): adjust
3885 (setHeightOfRow): adjust
3887 (getRowNearY): adjust
3889 * lyxtext.h: include RowList.h
3890 (~LyXText): not needed anymore, deleted.
3891 (firstRow): modify for RowList
3892 (lastRow): new function
3893 Delete firstrow and lastrow class variables, add a Rowlist
3894 rowlist_ class variable.
3896 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3899 * RowList.C (insert): fix case where it == begin().
3901 2003-03-26 Angus Leeming <leeming@lyx.org>
3903 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3904 the thesaurus dialog.
3906 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3910 * RowList.[Ch]: new files
3912 * ParagraphList.C (erase): handle the case where it == begin
3915 2003-03-25 John Levon <levon@movementarian.org>
3919 * aspell.C: add new aspell support
3922 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3925 2003-03-25 Angus Leeming <leeming@lyx.org>
3928 * LyXAction.C (init): new LFUN_INSET_INSERT.
3930 * BufferView_pimpl.C (dispatch): split out part of the
3931 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3933 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3936 2003-03-25 Angus Leeming <leeming@lyx.org>
3938 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3940 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3943 * text3.C: remove useless row->height(0)
3945 2003-03-25 John Levon <levon@movementarian.org>
3949 * text3.C: rename the refreshing stuff to better names
3951 2003-03-24 John Levon <levon@movementarian.org>
3953 * BufferView_pimpl.h:
3954 * BufferView_pimpl.C: update layout choice on a mouse
3957 2003-03-23 John Levon <levon@movementarian.org>
3959 * Makefile.am: fix commandtags.h reference
3961 2003-03-22 John Levon <levon@movementarian.org>
3963 * BufferView_pimpl.C:
3968 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3970 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3973 * text.C: take the rtl methods out of line
3975 2003-03-21 André Pönitz <poenitz@gmx.net>
3977 * metricsinfo.[Ch]: new files containing structures to be passed around
3978 during the two-phase-drawing...
3980 2003-03-21 André Pönitz <poenitz@gmx.net>
3982 * lyxtextclass.C: read 'environment' tag.
3984 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3986 * text2.C (removeRow): fix bug 964
3988 2003-03-20 John Levon <levon@movementarian.org>
3992 * text2.C: paint cleanups. Inset::update() dropped font
3995 2003-03-19 John Levon <levon@movementarian.org>
3997 * lyxfunc.C: only fitcursor/markDirty if available()
3999 2003-03-19 John Levon <levon@movementarian.org>
4001 * commandtags.h: rename to ...
4003 * lfuns.h: ... this, and renumber / cleanup
4005 2003-03-19 John Levon <levon@movementarian.org>
4007 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4008 fit the cursor after an lfun
4012 * BufferView_pimpl.h:
4013 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4015 * LyXAction.C: layout-character should have ReadOnly
4017 * ParagraphParameters.C:
4019 * bufferview_funcs.C:
4026 * undo_funcs.C: changes from above
4028 2003-03-18 John Levon <levon@movementarian.org>
4030 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4031 remove it from update()
4033 * lyxfunc.C: update layout choice after an lfun
4035 * text3.C: remove extra updateLayoutChoice()s
4037 2003-03-18 John Levon <levon@movementarian.org>
4039 * text.C: top_y change means full repaint, fix
4040 a drawing bug with cursor movement
4042 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4046 * text2.C: anchor row on setCursor
4048 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4050 * lyxtext.h: remove almost all mutable keywords
4053 * text3.C: remove const keywords accordingly
4055 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4059 (TeXEnvironment): ditto
4062 2003-03-17 John Levon <levon@movementarian.org>
4064 * text.C (rowBreakPoint): remove attempt to fix displayed
4065 math insets inside a manual label
4067 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * lyxtext.h: remove BufferView* as first arg from almost all class
4071 * other files: adjust.
4073 2003-03-17 John Levon <levon@movementarian.org>
4077 * text2.C: more paint cleanups
4079 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4082 * rowpainter.C: remove "smart" background painting code
4084 2003-03-16 John Levon <levon@movementarian.org>
4089 * text3.C: add helper functions for setting refresh_row/y
4091 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4093 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4094 newline inset which *can* get inserted in the pass_thru layouts.
4095 This is primarily for literate documents.
4097 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4099 * buffer.C: increment LYX_FORMAT to 223
4101 2003-03-14 André Pönitz <poenitz@gmx.net>
4103 * textclass.h: prepare for environment handling, ws changes
4104 * lyxlayout.C: read latexheader and latexfooter tags
4106 2003-03-14 John Levon <levon@movementarian.org>
4108 * text2.C: rewrite ::status() a bit
4110 2003-03-13 John Levon <levon@movementarian.org>
4112 * lyxtext.h: add some docs
4114 2003-03-13 John Levon <levon@movementarian.org>
4119 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4121 2003-03-13 John Levon <levon@movementarian.org>
4123 * text3.C: fix appendix redrawing
4125 2003-03-13 John Levon <levon@movementarian.org>
4127 * text.C (setHeightOfRow):
4129 * rowpainter.C: make appendix mark have the text
4130 "Appendix" so the user knows what it is
4133 * LColor.C: s/appendixline/appendix/ from above
4135 2003-03-13 John Levon <levon@movementarian.org>
4137 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4139 * text.C: fix a getChar(pos) bug properly
4141 2003-03-13 Angus Leeming <leeming@lyx.org>
4144 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4145 Probably only temporary. Let's see how things pan out.
4147 * BufferView.C (unlockInset):
4148 * BufferView_pimpl.C (fitCursor):
4149 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4151 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4152 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4154 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4155 new functions that convert ParagraphParameters to and from a string.
4157 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4158 BufferView::Pimpl's dispatch.
4159 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4161 2003-03-13 André Pönitz <poenitz@gmx.net>
4165 * factory.C: make it aware of InsetEnv
4167 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * text2.C (setCursor): never ask for one past last
4170 (setCursor): add some debugging messages.
4172 * text.C (singleWidth): never ask for one past last
4173 (singleWidth): ditto
4175 (rightMargin): ditto
4176 (rowBreakPoint): ditto
4177 (setHeightOfRow): ditto
4178 (prepareToPrint): ditto
4180 * rowpainter.C (paintBackground): never ask for one past last
4181 (paintText): never ask for one past last
4183 * paragraph_pimpl.C (getChar): make the assert stricter, never
4184 allow the one past last pos to be taken
4186 * paragraph.C (getChar): ws changes only
4188 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4189 (numberOfSeparators): ditto
4190 (numberOfHfills): ditto
4192 2003-03-12 John Levon <levon@movementarian.org>
4198 * paragraph_funcs.C: fix per-buffer authorlists
4200 2003-03-12 John Levon <levon@movementarian.org>
4202 * text.C: fix newline in right address
4204 2003-03-12 Angus Leeming <leeming@lyx.org>
4206 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4207 duplicate those in LyXFunc::dispatch.
4211 * ToolbarDefaults.C:
4212 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4213 Add LFUN_FONTFREE_UPDATE.
4215 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4216 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4218 * bufferview_func.[Ch]: several new functions to facilliate
4219 transfer of data to and from the character dialog.
4221 2003-03-12 John Levon <levon@movementarian.org>
4226 * paragraph_funcs.C:
4227 * paragraph_pimpl.C:
4231 * text3.C: remove META_NEWLINE in favour of an inset
4234 * rowpainter.C: remove paintNewline (done by inset)
4236 2003-03-12 John Levon <levon@movementarian.org>
4238 * paragraph_pimpl.C: complain about bad getChar()s
4239 for a while at least
4241 2003-03-12 John Levon <levon@movementarian.org>
4244 * buffer.C: move paragraph read into a separate function,
4245 a little renaming to reflect that.
4248 * bufferparams.C: remove the author_ids map, not necessary now
4251 * factory.C: moved Buffer::readInset to here
4253 * paragraph_funcs.h:
4254 * paragraph_funcs.C: readParagraph free function moved from
4257 * tabular.C: name change
4259 2003-03-12 John Levon <levon@movementarian.org>
4262 * ParagraphParameters.C: move par params input to
4265 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4266 behave like a normal read from the stream wrt reading
4267 a line vs. a \\token
4269 2003-03-12 John Levon <levon@movementarian.org>
4272 * ParagraphParameters.h:
4273 * ParagraphParameters.C: move output code to a
4276 2003-03-12 John Levon <levon@movementarian.org>
4278 * BufferView.C (insertLyXFile):
4281 * tabular.C: use a parlist iterator for creating the
4284 2003-03-12 John Levon <levon@movementarian.org>
4286 * buffer.C: make current_change static local not
4289 2003-03-12 John Levon <levon@movementarian.org>
4291 * buffer.C: fix insertStringAsLines for change tracking
4293 2003-03-12 John Levon <levon@movementarian.org>
4300 * bufferparams.C: move author list into params. Rename some
4301 functions. Move the header reading into a separate token
4302 loop. Move the header token reading into BufferParams.
4304 2003-03-12 John Levon <levon@movementarian.org>
4306 * changes.C: put debug inside lyxerr.debugging() checks
4308 2003-03-11 André Pönitz <poenitz@gmx.net>
4310 * factory.C: make it aware of InsetHFill
4312 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4314 * buffer.C (latexParagraphs): move function from here...
4315 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4318 2003-03-10 Angus Leeming <leeming@lyx.org>
4320 * LyXAction.C (init): fix bug in poplating array with multiple entries
4321 with the same LFUN (spotted by JMarc).
4323 2003-03-10 John Levon <levon@movementarian.org>
4326 * text2.C: move getColumnNearX() near its
4329 2003-03-10 John Levon <levon@movementarian.org>
4331 * text.C: fix break before a minipage
4333 2003-03-10 John Levon <levon@movementarian.org>
4335 * text.C: fix the last commit
4337 2003-03-09 John Levon <levon@movementarian.org>
4341 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4342 bug 365 (don't break before insets unless needed). Don't
4343 return a value > last under any circumstances.
4345 2003-03-09 Angus Leeming <leeming@lyx.org>
4347 * BufferView_pimpl.C (trackChanges, dispatch): call
4348 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4350 2003-03-09 Angus Leeming <leeming@lyx.org>
4352 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4353 than Dialogs::showAboutlyx().
4355 2003-03-09 Angus Leeming <leeming@lyx.org>
4357 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4358 than Dialogs::showTabularCreate().
4360 2003-03-09 John Levon <levon@movementarian.org>
4364 * text2.C: 3rd arg to nextBreakPoint was always the same.
4367 2003-03-08 John Levon <levon@movementarian.org>
4374 * text2.C: Remove the "main" bit from the "main body"
4377 2003-03-08 John Levon <levon@movementarian.org>
4379 * text.C (leftMargin): The left margin of an empty
4380 manual label paragraph should not include the label width
4383 * text.C (prepareToPrint): don't attempt to measure hfills
4384 for empty manual label paragraphs - the answer should be 0
4386 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * CutAndPaste.C: remove commented code and reindent.
4390 2003-03-08 John Levon <levon@movementarian.org>
4393 * lyxfunc.C: move reloadBuffer()
4396 * BufferView.C: to here
4398 * lyxvc.C: add comment
4401 * vc-backend.C: call bv->reload() to avoid
4402 getStatus() check on MENURELOAD
4404 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4406 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4407 to an old format .dep file.
4409 2003-03-07 Angus Leeming <leeming@lyx.org>
4411 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4412 when the LFUN_MOUSE_RELEASE should have been handled by
4413 inset->localDispatch.
4415 2003-03-07 Angus Leeming <leeming@lyx.org>
4417 * BufferView_pimpl.C (dispatch):
4418 * LyXAction.C (init):
4419 * ToolbarDefaults.C (init):
4421 * lyxfunc.C (getStatus):
4422 remove LFUN_INSET_GRAPHICS.
4424 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4426 2003-03-07 Angus Leeming <leeming@lyx.org>
4429 * LyXAction.C (init):
4430 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4432 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4435 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4437 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4438 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4440 2003-03-07 Angus Leeming <leeming@lyx.org>
4442 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4445 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * ParagraphList.C (front): new function
4450 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4452 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4453 and top_row_offset_. removed var first_y.
4455 * text2.C (LyXText, removeRow):
4457 * BufferView_pimpl.C:
4458 use these methods instead of using first_y
4460 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * text2.C (pasteSelection): adjust for checkPastePossible
4464 * CutAndPaste.C: remove Paragraph * buf and replace with
4465 ParagraphList paragraphs.
4466 (DeleteBuffer): delete
4467 (cutSelection): change the tc type to textclass_type
4468 (copySelection): change the tc type to textclass_type
4469 (copySelection): adjust for ParagraphList
4470 (pasteSelection): change the tc type to textclass_type
4471 (pasteSelection): adjust for Paragraphlist
4472 (nrOfParagraphs): simplify for ParagraphList
4473 (checkPastePossible): simplify for ParagraphList
4474 (checkPastePossible): remove unused arg
4476 * ParagraphList.C (insert): handle the case where there are no
4479 * CutAndPaste.h: make CutAndPaste a namespace.
4481 * text3.C (dispatch): adjust
4483 * text.C (breakParagraph): add a ParagraphList as arg
4485 * paragraph_funcs.C (breakParagraph): change to take a
4486 BufferParams and a ParagraphList as args.
4487 (breakParagraphConservative): ditto
4488 (mergeParagraph): ditto
4489 (TeXDeeper): add a ParagraphList arg
4490 (TeXEnvironment): ditto
4493 * buffer.C (readLyXformat2): adjust
4494 (insertStringAsLines): adjust
4495 (latexParagraphs): adjust
4497 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4498 (cutSelection): adjust
4499 (pasteSelection): adjust
4501 * BufferView_pimpl.C (insertInset): adjust
4503 2003-03-05 Angus Leeming <leeming@lyx.org>
4506 * LyXAction.C (init):
4507 * BufferView_pimpl.C (dispatch):
4508 * lyxfunc.C (getStatus):
4509 remove LFUN_CHILD_INSERT.
4511 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4513 2003-03-05 Angus Leeming <leeming@lyx.org>
4516 * LyXAction.C (init):
4517 * src/factory.C (createInset):
4518 * lyxfunc.C (getStatus):
4519 * text3.C (dispatch):
4520 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4522 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4524 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * ParagraphList.C (insert): handle insert right before end()
4527 (erase): fix cases where it can be first or last paragraph.
4529 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4532 Paragraph::next and Paragraph::previous
4535 * text.C (breakParagraph): adjust
4537 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4538 BufferParams& as arg.
4539 (breakParagraph): use ParagraphList::insert
4540 (breakParagraphConservative): take a Buffer* instead of a
4541 BufferParams& as arg.
4542 (breakParagraphConservative): use ParagraphList::insert.
4544 * buffer.C (insertStringAsLines): un-const it
4545 (insertStringAsLines): adjust
4547 * ParagraphList.C (insert): new function
4549 * CutAndPaste.C (pasteSelection): adjust
4551 * text.C (backspace): adjust
4553 * tabular.C (SetMultiColumn): adjust
4555 * CutAndPaste.C (cutSelection): adjust
4556 (pasteSelection): adjust
4558 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4559 Buffer const * as arg
4561 * ParagraphList.C (erase): new function
4562 * paragraph_funcs.C (mergeParagraph): use it
4563 (mergeParagraph): make it take a Buffer* instead of a
4564 BufferParams* as arg
4566 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4568 (breakParagraphConservative): ditto
4570 * paragraph.h: remove the breakParagraph friend
4572 * paragraph.C (eraseIntern): new function
4573 (setChange): new function
4575 * paragraph_funcs.C (mergeParagraph): make it take a
4576 ParagraphList::iterator instead of a Paragraph *, adjust
4579 * paragraph.h: move an #endif so that the change tracking stuff
4580 also works in the NO_NEXT case.
4582 2003-03-04 Angus Leeming <leeming@lyx.org>
4585 * LyXAction.C: new LFUN_INSET_MODIFY.
4587 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4588 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4590 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4592 * several files: ws changes only
4594 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4595 (TeXEnvironment): ditto
4598 * buffer.C (makeLaTeXFile): adjust
4599 (latexParagraphs): make it take ParagraphList::iterator as args
4601 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * buffer.C (latexParagraphs): adjust
4605 * paragraph.C (TeXOnePar): move function...
4606 (optArgInset): move function...
4607 (TeXEnvironment): move function...
4608 * paragraph_pimpl.C (TeXDeeper): move function...
4609 * paragraph_funcs.C: ...here
4611 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4613 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * buffer.C (readInset): remove compability code for old Figure and
4618 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * buffer.C: ws changes
4623 * BufferView_pimpl.C: ditto
4626 * bufferlist.h: ditto
4630 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4632 * converter.[Ch]: split into itself +
4635 * Makefile.am: += graph.[Ch] + format.[Ch]
4642 * lyxrc.C: added #include "format.h"
4644 2003-02-27 Angus Leeming <leeming@lyx.org>
4646 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4649 * factory.C (createInset): add "label" to the factory.
4651 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4652 string and do no more.
4654 2003-02-27 Angus Leeming <leeming@lyx.org>
4657 * LyXAction.C (init):
4658 * factory.C (createInset):
4659 * BufferView_pimpl.C (dispatch):
4660 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4662 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4664 * lyxfunc.C (dispatch):
4665 * text3.C (dispatch): pass name to params2string.
4667 2003-02-26 Angus Leeming <leeming@lyx.org>
4669 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4671 Rearrange the ~includes. Strip out the unnecessary ones.
4673 * factory.C (createInset): reformat.
4674 create new insets for the various LFUN_XYZ_APPLY lfuns.
4676 2003-02-26 John Levon <levon@movementarian.org>
4679 * lyxrow.C: add isParStart,isParEnd helpers
4681 * paragraph.h: make isInserted/DeletedText take refs
4683 * paragraph_funcs.h:
4684 * paragraph_funcs.C: remove #if 0'd code
4689 * text.C: use lyxrow helpers above.
4690 Move draw and paint routines to RowPainter.
4691 Make several methods use refs not pointers.
4692 Make backgroundColor() const.
4693 Add markChangeInDraw(), isInInset().
4694 Merge changeRegionCase into changeCase.
4695 Make workWidth() shouldn't-happen code into an Assert.
4698 * rowpainter.C: new class for painting a row.
4701 * vspace.C: make inPixels take a ref
4703 2003-02-26 Angus Leeming <leeming@lyx.org>
4705 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4708 2003-02-25 John Levon <levon@movementarian.org>
4710 * ispell.C: give the forked command a more accurate name
4712 2003-02-22 John Levon <levon@movementarian.org>
4715 * toc.C: make TocItem store an id not a Paragraph *
4718 2003-02-21 Angus Leeming <leeming@lyx.org>
4720 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4721 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4722 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4723 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4724 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4725 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4727 * BufferView_pimpl.C (dispatch):
4728 * LyXAction.C (init):
4729 * factory.C (createInset):
4730 * lyxfunc.C (getStatus, dispatch):
4731 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4733 2003-02-21 Angus Leeming <leeming@lyx.org>
4735 * BufferView_pimpl.C (MenuInsertLyXFile):
4736 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4737 * lyxfunc.C (menuNew, open, doImport):
4738 no longer pass a LyXView & to fileDlg.
4740 2003-02-21 Angus Leeming <leeming@lyx.org>
4742 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4743 * LyXAction.C: change, BIBKEY to BIBITEM.
4744 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4745 Change InsetBibKey to InsetBibitem.
4746 Change BIBKEY_CODE to BIBITEM_CODE.
4747 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4748 * factory.C: replace insetbib.h with insetbibitem.h.
4749 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4750 * paragraph.C: replace insetbib.h with insetbibitem.h.
4751 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4752 Change bibkey() to bibitem().
4753 * text.C: remove insetbib.h.
4754 * text2.C: replace insetbib.h with insetbibitem.h.
4755 change bibkey() to bibitem().
4756 * text3.C: remove insetbib.h.
4757 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4759 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4761 * lyxrc.C (output): enclose user email in quotes (in case there are
4764 2003-02-18 John Levon <levon@movementarian.org>
4766 * buffer.h: add std::
4768 2003-02-17 John Levon <levon@movementarian.org>
4774 * pspell.C: reworking. Especially in ispell, a large
4775 number of clean ups and bug fixes.
4777 * lyxfunc.C: fix revert to behave sensibly
4779 2003-02-17 André Pönitz <poenitz@gmx.net>
4782 * commandtags.h: new LFUN_INSERT_BIBKEY
4792 * paragraph_func.C: remove special bibkey handling
4794 2003-02-17 John Levon <levon@movementarian.org>
4796 * text.C (Delete): fix case where delete at the end of
4797 the very first paragraph would not merge the pars
4799 2003-02-17 John Levon <levon@movementarian.org>
4801 * lyxrow.C: fix lastPrintablePos()
4803 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4805 * bufferparams.C (writeLaTeX): add a std:here
4807 * buffer.C: and remove a using directive there
4809 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4811 * buffer.C (makeLaTeXFile): move the code that generates the
4814 * bufferparams.C (writeLaTeX): ... in this new method
4816 * LaTeXFeatures.C (getEncodingSet): make const
4817 (getLanguages): make const
4819 * MenuBackend.C (binding): returns the binding associated to this
4821 (add): sets the status of each item by calling getStatus. Adds
4823 (read): add support for OptSubMenu
4824 (expand): remove extra separator at the end of expanded menu
4826 2003-02-15 John Levon <levon@movementarian.org>
4829 * BufferView_pimpl.C:
4831 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4832 inset code that had no actual effect. Remove unneeded status
4835 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4837 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4840 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4842 * text.C (drawLengthMarker): also draw an arrow marker for
4843 symbolic lengths (medskip...)
4845 2003-02-14 John Levon <levon@movementarian.org>
4848 * tabular.C: better method names
4850 2003-02-14 John Levon <levon@movementarian.org>
4852 * BufferView_pimpl.C:
4857 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4858 it's a more accurate name. Remove some pointless uses.
4860 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4862 * text2.C (LyXText): change order of initilizers to shut off
4865 2003-02-14 John Levon <levon@movementarian.org>
4867 * buffer.C: use ParIterator for getParFromID()
4871 * paragraph_pimpl.h:
4872 * paragraph_pimpl.C: remove unused getParFromID()
4874 2003-02-14 John Levon <levon@movementarian.org>
4876 * buffer.C: remove some very old #if 0'd parse code
4878 2003-02-13 John Levon <levon@movementarian.org>
4882 * text2.C: move hfillExpansion(), numberOfSeparators(),
4883 rowLast(), rowLastPrintable(), numberofHfills(),
4884 numberOfLabelHfills() ...
4887 * lyxrow.C: ... to member functions here.
4892 * text.C: remove LyXText::beginningOfMainBody(), and call
4893 p->beginningOfMainBody() directly. Move the check for
4894 LABEL_MANUAL into the latter.
4901 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4907 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4908 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4910 2003-02-13 John Levon <levon@movementarian.org>
4912 * CutAndPaste.C: remove debug
4914 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4916 * paragraph.C (asString): remove two unused variables
4918 * lyxtextclass.C (readTitleType):
4920 (LyXTextClass): handle new members titletype_ and titlename_
4922 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4924 2003-02-09 John Levon <levon@movementarian.org>
4927 * buffer.C: replace hand-coded list with a map for the dep clean
4929 2003-02-08 John Levon <levon@movementarian.org>
4931 * LaTeX.C: consolidate code into showRunMessage() helper
4933 2003-02-08 John Levon <levon@movementarian.org>
4938 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4939 and pass the size in explicitly
4941 * BufferView_pimpl.h:
4942 * BufferView_pimpl.C:
4944 * BufferView.C: add getCurrentChange()
4946 * BufferView_pimpl.h:
4947 * BufferView_pimpl.C: handle change lfuns
4949 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4950 for changes. Mark pasted paragraphs as new.
4952 * support/lyxtime.h:
4953 * support/lyxtime.C:
4954 * DepTable.C: abstract time_t as lyx::time_type
4957 * LColor.C: add colours for new text, deleted text, changebars
4959 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4960 package use "usenames" option.
4964 * LyXAction.C: add change lfuns
4968 * author.C: author handling
4971 * buffer.C: add a per-buffer author list, with first entry as
4972 current author. Handle new .lyx tokens for change tracking. Output
4973 author list to .lyx file. Output dvipost stuff to .tex preamble.
4974 Bump lyx format to 222.
4977 * bufferlist.C: add setCurrentAuthor() to reset current author details
4981 * bufferparams.C: add param for tracking
4983 * bufferview_funcs.C: output change info in minibuffer
4987 * changes.C: add change-tracking structure
4990 * debug.C: add CHANGES debug flag
4993 * lyxfind.C: add code for finding the next change piece
4996 * lyxrc.C: add user_name and user_email
4999 * lyxrow.C: add a metric for the top of the text line
5002 * text.C: implement accept/rejectChange()
5005 * text.C: paint changebars. Paint new/deleted text in the chosen
5006 colours. Strike through deleted text.
5010 * paragraph_pimpl.h:
5011 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5012 in the current change to the insert functions. Rework erase to
5013 mark text as deleted, adding an eraseIntern() and a range-based
5014 erase(). Implement per-paragraph change lookup and
5017 * paragraph_funcs.C: Fixup paste for change tracking.
5019 * tabular.C: mark added row/columns as new.
5021 * text.C: fix rowLast() to never return -1. Don't allow
5022 spellchecking of deleted text. Track transpose changes. Don't
5023 allow paragraph break or merge where appropriate.
5025 * text2.C: leave cursor at end of selection after a cut.
5027 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5029 * text.C (getLengthMarkerHeight):
5030 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5031 visible on screen too.
5033 2003-02-07 John Levon <levon@movementarian.org>
5035 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5037 2003-02-05 Angus Leeming <leeming@lyx.org>
5039 * lyxserver.C (read_ready): revert my patch of 11 September last year
5040 as it sends PC cpu through the roof. Presumably this means that
5041 the lyxserver will no longer run on an Alpha...
5043 2003-01-30 Angus Leeming <leeming@lyx.org>
5045 * factory.C (createInset): create an InsetCommandParam of type "index"
5046 and use it to 'do the right thing'.
5048 * text2.C (getStringToIndex): ensure that cursor position is always
5049 reset to the reset_cursor position.
5051 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5053 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5056 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5060 * lyxfunc.C: Output messages with identical spelling, punctuation,
5063 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5065 * MenuBackend.C (expandFormats): List only viewable export formats
5068 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5071 * lyxfunc.C (getStatus): Make sure that formats other than
5072 "fax" can also be disabled
5074 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5076 * text3.C (dispatch): put the lfuns that insert insets in 3
5077 groups, and call doInsertInset with appropriate arguments.
5078 (doInsertInset): new function, that creates an inset and inserts
5079 it according to some boolean parameters.
5081 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * buffer.C (readFile): remember to pass on 'par' when calling
5084 readFile recursively.
5086 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5088 * MenuBackend.C (expandFormats): add "..." to import formats.
5090 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5092 * paragraph.C (asString): Remove XForms RTL hacks.
5094 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5095 * buffer.C: fix typo
5097 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * Makefile.am (LIBS): delete var
5100 (lyx_LDADD): add @LIBS@ here instead.
5102 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5104 * Clarify the meaning of "wheel mouse jump"
5106 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5108 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5111 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5113 * importer.C (Loaders): do not preallocate 3 elements in the
5114 vector, since one ends up with 6 elements otherwise
5116 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5118 * DepTable.C (write): write the file name as last element of the
5119 .dep file (because it may contain spaces)
5120 (read): read info in the right order
5122 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5124 * paragraph_pimpl.C (simpleTeXBlanks):
5125 (simpleTeXSpecialChars):
5126 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5128 * tabular.C (latex): add some missing case statements. Reindent.
5130 * MenuBackend.C (expandToc): remove unused variable.
5132 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5141 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5144 2003-01-05 John Levon <levon@movementarian.org>
5147 * BufferView.C: add getEncoding()
5150 * kbsequence.C: do not store last keypress
5153 * lyxfunc.C: store last keypress here instead. Pass encoding
5156 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5158 * lyx_main.C (init): remove annoying error message when following
5159 symbolic links (bug #780)
5161 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5163 * text.C (insertChar):
5164 * lyxrc.C (getDescription): remove extra spaces
5166 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5168 * lyxrc.C (getDescription): remove extra spaces
5170 2002-12-20 John Levon <levon@movementarian.org>
5172 * text3.C: hack fix for page up/down across tall rows
5174 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5176 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5179 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5181 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5182 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5183 thesaurus is not compiled in
5185 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5187 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5189 2002-12-16 Angus Leeming <leeming@lyx.org>
5192 * lyx_main.C (init): remove override_x_deadkeys stuff.
5194 2002-12-12 John Levon <levon@movementarian.org>
5196 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5197 insert. Only remove shift modifier under strict
5200 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * MenuBackend.C (expandToc): fix crash.
5204 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * MenuBackend.C (expandToc): gettext on float names.
5208 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5210 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5211 implement bool empty() [bug 490]
5213 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5217 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * several files: ws changes
5221 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * text2.C (setCounter): clean up a bit, use boost.format.
5224 (updateCounters): initialize par upon declaration.
5226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5227 if the layout exists. We do not just store the layout any more.
5228 (SwitchLayoutsBetweenClasses): use boost.format
5230 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5232 * converter.C (convert): if from and to files are the same, use a
5233 temporary files as intermediary
5235 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5238 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5240 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5242 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5244 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * tabular.C (asciiPrintCell): use string(size, char) instead of
5249 * sgml.C (openTag): fix order of arguments to string constructor
5252 * lyxfunc.C (dispatch): use boost.format
5254 * lots of files: change "c" -> 'c'
5256 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5258 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5260 2002-11-25 Angus Leeming <leeming@lyx.org>
5262 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5264 * lyx_main.C (init): compile fix.
5266 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * lyx_cb.C (start): boost.formatify
5269 do not include <iostream>
5271 * lengthcommon.C: ws only
5273 * boost-inst.C,BoostFormat.h: add more explict instantations
5275 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * lots of files: handle USE_BOOST_FORMAT
5279 2002-11-21 John Levon <levon@movementarian.org>
5281 * pspell.C: fix compile
5283 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5285 * lyxfunc.C (dispatch): use boost::format
5289 * lyxfont.C (stateText): use boost::format
5291 * lyx_main.C (LyX): use boost::format
5293 (queryUserLyXDir): ditto
5296 (typedef boost::function): use the recommened syntax.
5298 * importer.C (Import): use boost::format
5300 * debug.C (showLevel): use boost::format
5302 * converter.C (view): use boost::format
5307 * bufferview_funcs.C (currentState): use boost::format
5309 * bufferlist.C (emergencyWrite): use boost::format
5311 * buffer.C (readLyXformat2): use boost::format
5312 (parseSingleLyXformat2Token): ditto
5314 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5316 * LaTeX.C (run): use boost::format
5318 * Chktex.C (scanLogFile): use boost::format
5320 * BufferView_pimpl.C (savePosition): use boost::format
5321 (restorePosition): ditto
5322 (MenuInsertLyXFile): ditto
5324 * BoostFormat.h: help file for explicit instation.
5326 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5328 * tabular.C (latex): Support for block alignment in fixed width
5331 2002-11-17 John Levon <levon@movementarian.org>
5333 * BufferView_pimpl.C:
5335 * lyxfunc.C: split filedialog into open/save
5337 2002-11-08 Juergen Vigna <jug@sad.it>
5339 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5340 by my last patch (hopefully).
5342 2002-11-08 John Levon <levon@movementarian.org>
5351 * toc.C: ParConstIterator, and use it (from Lars)
5353 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5355 * lyxtextclass.[Ch]: revise and add doxygen comments
5357 2002-11-07 John Levon <levon@movementarian.org>
5359 * text.C: fix progress value for spellchecker
5361 * toc.C: fix navigate menu for insetwrap inside minipage
5363 * paragraph_funcs.C: added FIXME for suspect code
5365 2002-11-07 John Levon <levon@movementarian.org>
5367 * BufferView_pimpl.C: fix redrawing of insets
5370 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5372 * text2.C (updateCounters): fix bug 668
5374 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5376 * text3.C (dispatch): Do not make the buffer dirty when moving the
5379 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * vc-backend.C: STRCONV
5384 * text2.C (setCounter): STRCONV
5386 * paragraph.C (asString): STRCONV
5388 * lyxlength.C (asString): STRCONV
5389 (asLatexString): ditto
5391 * lyxgluelength.C (asString): STRCONV
5392 (asLatexString): ditto
5394 * lyxfunc.C (dispatch): STRCONV
5397 * lyxfont.C (stateText): STRCONV
5399 * importer.C (Import): STRCONV
5401 * counters.C (labelItem): STRCONV
5402 (numberLabel): ditto
5403 (numberLabel): remove unused ostringstream o
5408 * bufferview_funcs.C (currentState): STRCONV
5410 * buffer.C (readFile): STRCONV
5411 (asciiParagraph): ditto
5412 (makeLaTeXFile): ditto
5414 * Spacing.C (writeEnvirBegin): STRCONV
5416 * LaTeXFeatures.C (getLanguages): STRCONV
5417 (getPackages): ditto
5419 (getBabelOptions): ditto
5420 (getTClassPreamble): ditto
5421 (getLyXSGMLEntities): ditto
5422 (getIncludedFiles): ditto
5426 (scanAuxFile): ditto
5429 * LString.h: add the STRCONV macros
5431 * BufferView_pimpl.C (savePosition): STRCONV
5432 (restorePosition): ditto
5433 (MenuInsertLyXFile): ditto
5435 * vc-backend.C (scanMaster): change from submatch[...] to
5438 * funcrequest.C: include config.h
5440 * factory.C: include config.h
5442 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5444 * box.C: include config.h
5446 * LaTeX.C (scanAuxFile): change from submatch[...] to
5450 2002-10-25 Angus Leeming <leeming@lyx.org>
5452 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5454 * ispell.[Ch] (setError): new method.
5455 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5456 Use setError() insetead of goto END.
5458 * lyx_cb.C (AutoSave): move out child process into new class
5461 2002-10-30 John Levon <levon@movementarian.org>
5463 * text3.C: make start appendix undoable
5465 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5467 * lyxlength.C (inPixels): Fix returned value.
5469 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5472 2002-10-24 Angus Leeming <leeming@lyx.org>
5474 * lyxgluelength.h: no need to forward declare BufferParams
5475 or BufferView, so don't.
5477 2002-10-21 John Levon <levon@movementarian.org>
5479 * BufferView.C: menuUndo ->undo, redo
5481 * BufferView.h: document, remove dead, make some methods private
5483 * paragraph_funcs.h:
5484 * paragraph_funcs.C:
5485 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5490 * sgml.C: move sgml open/close tag into sgml.C
5492 * bufferview_funcs.h: unused prototype
5495 * lyxfunc.C: remove unused
5498 * text.C: remove unused
5500 2002-10-21 John Levon <levon@movementarian.org>
5504 * BufferView_pimpl.h:
5505 * BufferView_pimpl.C: fix mouse wheel handling based on
5506 patch from Darren Freeman
5508 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5510 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5512 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5514 * lyxlength.C (inPixels): Fix hanfling of negative length.
5515 Fix LyXLength::MU case.
5517 2002-10-16 John Levon <levon@movementarian.org>
5519 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5521 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5523 * converter.C (view): add support for $$i (file name) and $$p
5524 (file path) for the viewer command. If $$i is not specified, then
5525 it is appended to the command (for compatibility with old syntax)
5527 2002-10-14 Juergen Vigna <jug@sad.it>
5529 * undo_funcs.C (textHandleUndo): alter the order in which the
5530 new undopar is added to the LyXText, as we have to set first
5531 the right prev/next and then add it as otherwise the rebuild of
5532 LyXText is not correct. Also reset the cursor to the right paragraph,
5533 with this IMO we could remove the hack in "redoParagraphs()".
5535 2002-10-09 Angus Leeming <leeming@lyx.org>
5537 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5538 to turn off an optimisation if a new inset is to be inserted.
5540 2002-10-11 André Pönitz <poenitz@gmx.net>
5542 * lyxtext.h: make some functions public to allow access
5543 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5545 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5547 * text3.C (dispatch): when changing layout, avoid an infinite loop
5550 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5552 * lyxrc.C (read): treat a viewer or converter command of "none" as
5555 * MenuBackend.C (expandFormats): for an update, also allow the
5556 formats that are not viewable
5558 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5559 script if it is newer than the lyxrc.defaults in user directory
5561 2002-10-07 André Pönitz <poenitz@gmx.net>
5563 * text.C: Vitaly Lipatov's small i18n fix
5565 2002-09-25 Angus Leeming <leeming@lyx.org>
5567 * ispell.h: doxygen fix.
5569 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5571 * buffer.h (readFile): Add a new argument to the method, to allow
5572 reading of old-format templates.
5574 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5576 * toc.C (getTocList): Get TOC from InsetWrap.
5578 2002-09-16 John Levon <levon@movementarian.org>
5580 * lyxfunc.C: check tabular for cut/copy too
5582 2002-09-12 John Levon <levon@movementarian.org>
5587 * factory.C: add header
5589 * paragraph_funcs.h:
5590 * paragraph_funcs.C: cleanup
5592 2002-09-11 John Levon <levon@movementarian.org>
5594 * PrinterParams.h: odd/even default to true
5596 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5598 * PrinterParams.h: update printer parameters for new xforms dialog
5600 2002-09-11 Angus Leeming <leeming@lyx.org>
5602 * lyxserver.C (read_ready): re-write to make it more transparent
5603 and to make it work in coherent fashion under Tru64 Unix.
5605 2002-09-11 André Pönitz <poenitz@gmx.net>
5609 * text3.C: implement LFUN_WORDSEL
5611 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5614 make floatlist_ a boost::shared_ptr<FloatList>
5616 * lyxtextclass.C: include FloatList.h
5617 (LyXTextClass): initialize floatlist_
5618 (TextClassTags): add TC_NOFLOAT
5619 (Read): match "nofloat" to TC_NOFLOAT and use it.
5620 (readFloat): modify call to floatlist_
5624 * FloatList.[Ch] (FloatList): remove commented out float
5626 (erase): new function
5628 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5630 * MenuBackend.C (expandToc): fix crash when there is no document
5633 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5635 * many files: Add insetwrap.
5637 2002-09-09 John Levon <levon@movementarian.org>
5639 * text2.C: remove confusing and awkward depth wraparound
5641 2002-09-09 John Levon <levon@movementarian.org>
5643 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5646 * buffer.C: remove getIncludeonlyList()
5649 * lyxfunc.C: remove headers
5651 2002-09-09 Juergen Vigna <jug@sad.it>
5653 * text.C (getColumnNearX): fix form Michael this is most
5654 probably a cut&paste bug.
5656 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5658 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5660 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5661 references, ws changes.
5663 * text2.C (init): update counters after init
5664 (insertParagraph): no need to set counter on idividual paragraphs.
5665 (setCounter): access the counters object in the textclass object
5666 on in the buffer object.
5667 (updateCounters): ditto
5669 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5670 shared_ptr<Counters> to avoid loading counters.h in all
5672 (LyXTextClass): initialize ctrs_
5673 (TextClassTags): add TC_COUNTER, and ...
5674 (Read): use it here.
5675 (CounterTags): new tags
5676 (readCounter): new function
5677 (counters): new funtion
5678 (defaultLayoutName): return a const reference
5680 * counters.C (Counters): remove contructor
5681 (newCounter): remove a couple of unneeded statements.
5682 (newCounter): simplify a bit.
5683 (numberLabel): some small formatting changes.
5685 * buffer.[Ch]: remove all traces of counters, move the Counters
5686 object to the LyXTextClass.
5688 2002-09-06 Alain Castera <castera@in2p3.fr>
5690 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5691 package to set the horizontal alignment on fixed width columns.
5694 * lyx_sty.h: added tabularnewline macro def.
5696 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5698 2002-09-06 John Levon <levon@movementarian.org>
5700 * LyXAction.C: tooltips for sub/superscript
5702 * MenuBackend.C: a bit more verbose
5704 * lyxfunc.C: tiny clean
5706 * undo_funcs.C: document undo_frozen
5708 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * counters.C (Counters): add missing algorithm counter.
5712 * text2.C (setCounter): lookup the counter with layouts latexname
5713 instead of by section number.
5714 (setCounter): use a hackish way to lookup the correct enum
5716 a float name->type change
5717 reset enum couners with counter name directly instead of depth value.
5719 * counters.C (Counters): remove the push_backs, change to use the
5720 float type not the float name.
5721 (labelItem): remove unused string, float name->type change
5723 * counters.h: don't include vector, loose the enums and sects vectors
5725 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5727 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5728 (Read): add float->TC_FLOAT to textclassTags
5729 (Read): and handle it in the switch
5730 (readFloat): new function
5732 * FloatList.C (FloatList): comment out the hardcoded float
5735 * lyxlayout.h: ws change.
5737 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5739 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5741 2002-09-03 Angus Leeming <leeming@lyx.org>
5743 * BufferView_pimpl.h: qualified name is not allowed in member
5744 declaration: WorkArea & Pimpl::workarea() const;
5746 * factory.C: added using std::endl directive.
5748 * text3.C: added using std::find and std::vector directives.
5750 2002-08-29 André Pönitz <poenitz@gmx.net>
5753 * text2.C: remove unused member number_of_rows
5756 * BufferView2.C: remove file, move contents to...
5757 * BufferView.C: ... here
5759 * BufferView_pimpl.C:
5760 * factory.C: move more inset creation to factory
5762 * vspace.C: avoid direct usage of LyXText, ws changes
5765 don't provide direct access to WorkArea, use two simple
5766 acessors haveSelction() and workHeight() instead
5769 2002-08-29 John Levon <levon@movementarian.org>
5771 * BufferView_pimpl.C (dispatch): do not continue when
5774 2002-08-28 André Pönitz <poenitz@gmx.net>
5776 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5779 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5781 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5783 * buffer.C: increment LYX_FORMAT to 221
5785 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5786 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5788 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5790 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5792 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5794 * factory.C (createInset): use LyXTextClass::floats
5796 * MenuBackend.C (expandFloatListInsert):
5797 (expandFloatInsert):
5800 * text2.C (setCounter):
5802 * LaTeXFeatures.C (useFloat):
5803 (getFloatDefinitions):
5805 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5807 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5808 floatlist_, with accessor floats().
5810 * FloatList.h: remove global FloatList
5812 2002-08-26 André Pönitz <poenitz@gmx.net>
5814 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5818 * BufferView_pimpl.C:
5819 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5821 2002-08-25 John Levon <levon@movementarian.org>
5823 * LyXAction.C: fix margin note description
5825 2002-08-24 John Levon <levon@movementarian.org>
5829 * bufferview_funcs.C:
5831 * undo_funcs.C: cleanups
5833 * lyxfunc.C: disable CUT/COPY when no selection
5835 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5837 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5838 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5840 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5841 Add backward compatibility to "mono", "gray" and "no".
5843 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5845 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5846 (and file_format >= 200).
5848 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5850 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5852 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5854 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5856 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5858 * BufferView_pimpl.C:
5865 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5866 inset and code to make it work with the paragraph code. The inset
5867 can be anywhere in the paragraph, but will only do the expected
5868 thing in LaTeX if the layout file contains the parameter line
5870 (or more generally, a nonzero value) for that layout.
5872 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * paragraph.h: remove the declaration of undefined counters class
5877 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5879 * text2.C (setCounter): fixed enumeration mis-count as reported by
5880 Dr. Richard Hawkins.
5882 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5884 * paragraph_funcs.h: remove some unneeded includes
5886 * text.C (backspace): pasteParagraph now in global scipe
5888 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5889 (pasteSelection): ditto
5891 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5892 * paragraph_funcs.C (pasteParagraph): ... here
5894 2002-08-20 André Pönitz <poenitz@gmx.net>
5896 * commandtags.h: new LFUNs for swapping/copying table row/colums
5899 * lyxfunc.C: support for new lfuns
5901 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * buffer.[Ch]: remove NO_COMPABILITY stuff
5906 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * boost.C (throw_exception): new file, with helper function for
5909 boost compiled without exceptions.
5914 * ParameterStruct.h:
5915 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5917 * bufferlist.C (emergencyWriteAll): use boost bind
5919 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5921 * text.C: include paragraph_funcs.h
5922 (breakParagraph): breakParagraph is now in global scope
5924 * paragraph_funcs.[Ch]: new files
5926 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5929 * buffer.C: include paragraph_funcs.h
5930 (insertStringAsLines): breakParagraph is now in global scope
5932 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5935 * CutAndPaste.C: include paragraph_funcs.h
5936 (cutSelection): breakParagraphConservative is now in global scope
5937 (pasteSelection): ditto
5939 * buffer.h: declare oprator== and operator!= for
5940 Buffer::inset_iterator
5942 * bufferlist.C (emergencyWrite): don't use fmt(...)
5944 * text3.C: add using std::endl
5946 * BufferView.C (moveCursorUpdate): remove default arg
5948 2002-08-20 André Pönitz <poenitz@gmx.net>
5950 * buffer.[Ch]: move inline functions to .C
5953 * BufferView_pimpl.C:
5955 * buffer.[Ch]: use improved inset_iterator
5958 * paragraph.[Ch]: write one paragraph at a time
5960 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5962 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5963 style if style is not specified.
5965 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5967 * text2.C (setCounter): when searching for right label for a
5968 caption, make sure to recurse to parent insets (so that a caption
5969 in a minipage in a figure float works) (bug #568)
5971 2002-08-20 André Pönitz <poenitz@gmx.net>
5973 * text3.C: new file for LyXText::dispatch() and helpers
5975 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5977 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5979 2002-08-19 André Pönitz <poenitz@gmx.net>
5982 * text.C: new LyXText::dispatch()
5984 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5986 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5988 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5990 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5993 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5995 * Makefile.am: use $(variables) instead of @substitutions@
5997 2002-08-15 André Pönitz <poenitz@gmx.net>
6000 * BufferView_pimpl.C: streamlining mathed <-> outer world
6004 * LyXAction.C: remove unused LFUN_MATH
6006 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6010 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * paragraph.C (Paragraph): reformat a bit
6013 (cutIntoMinibuffer): use builtin InsetList function instad of
6017 * buffer.C: include boost/bind.hpp, add using std::for_each
6018 (writeFileAscii): use ParagraphList iterators
6019 (validate): use for_each for validate traversal of paragraphs
6020 (getBibkeyList): use ParagraphList iterators
6021 (resizeInsets): use for_each to resizeInsetsLyXText for all
6023 (getParFromID): use ParagraphList iterators
6025 * BufferView2.C (lockInset): use paragraph list and iterators
6027 2002-08-14 John Levon <levon@movementarian.org>
6029 * lyxserver.C: remove spurious xforms include
6031 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6033 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6035 2002-08-13 André Pönitz <poenitz@gmx.net>
6038 * lyxfunc.C: further cleaning
6040 2002-08-13 André Pönitz <poenitz@gmx.net>
6042 * funcrequest.h: new constructor
6044 * funcrequest.C: move stuff here from .h
6047 * BufferView_pimpl.C:
6050 * lyxfunc.C: subsequent changes
6052 * lyxfunc.h: new view() member function
6054 * lyxfunc.C: subsequent changes
6056 2002-08-13 Angus Leeming <leeming@lyx.org>
6059 * BufferView_pimpl.C:
6067 changes due to the changed LyXView interface that now returns references
6068 to member variables not pointers.
6070 2002-08-13 Angus Leeming <leeming@lyx.org>
6072 * WordLangTuple (word, lang_code): return references to strings,
6077 * lyxtext.h: forward-declare WordLangTuple.
6082 * text.C: #include "WordLangTuple.h".
6085 * text.C: (selectNextWordToSpellcheck): constify return type.
6087 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6093 * paragraph_pimpl.h:
6096 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6098 Made updateCounter always count from start of buffer, and removed
6099 second argument (par).
6100 Reverted floats number display to '#'. Perhaps I'll try again when the
6101 code base is sanitized a bit.
6103 2002-08-12 Angus Leeming <leeming@lyx.org>
6105 * buffer.[Ch] (getLabelList): constify.
6107 2002-08-07 André Pönitz <poenitz@gmx.net>
6109 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6111 * funcrequest.h: extension to keep mouse (x,y) position
6113 2002-08-12 Juergen Vigna <jug@sad.it>
6115 * BufferView2.C (insertErrors): forbid undo when inserting error
6118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6120 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * ParagraphList.[Ch]: new files
6124 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6126 * BufferView2.C (lockInset): ParagraphList changes
6129 * bufferlist.C: ditto
6133 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6136 unused class variable counter_,
6138 * paragraph.[Ch] (getFirstCounter): delete unused function
6140 * counters.C: include LAssert.h
6141 (reset): add a new function with no arg, change other version to
6142 not have def. arg and to not allow empty arg.
6144 * text2.C (setCounter): remove empty arg from call to Counters::reset
6146 2002-08-11 John Levon <levon@movementarian.org>
6148 * Makefile.am: add WordLangTuple.h
6150 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6153 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6155 * insets/insettext.C: InsetList changes
6157 * graphics/GraphicsSupport.C (operator()): InsetList changes
6159 * toc.C (getTocList): InsetList changes
6161 * paragraph_pimpl.[Ch]: InsetList changes
6163 * paragraph.[Ch]: InsetList changes
6165 * buffer.C (inset_iterator): InsetList changes
6166 (setParagraph): ditto
6167 * buffer.h (inset_iterator): ditto
6168 * iterators.C (operator++): ditto
6169 * iterators.h: ditto
6171 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6173 * InsetList.[Ch]: new files, most InsetList handling moved out of
6176 * BufferView2.C (removeAutoInsets): InsetList changes
6178 (ChangeInsets): ditto
6180 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * paragraph_pimpl.h (empty): new function
6184 * paragraph.[Ch] (empty): new function
6186 * other files: use the new Paragraph::empty function
6188 2002-08-09 John Levon <levon@movementarian.org>
6190 * lyxtext.h: remove unused refresh_height
6192 2002-08-09 John Levon <levon@movementarian.org>
6199 * paragraph.C: move sgml char escaping out of paragraph
6202 * paragraph.C: remove id setter
6206 * paragraph_pimpl.C: remove dead tex_code_break_column
6208 * bufferview_funcs.C: small cleanup
6210 * lyxfunc.C: remove dead proto
6212 * lyxtext.h: make some stuff private. Remove some dead stuff.
6214 * lyxgluelength.C: make as[LyX]String() readable
6216 2002-08-08 John Levon <levon@movementarian.org>
6221 * ToolbarDefaults.C:
6224 * toc.C: lyxaction cleanup
6226 2002-08-08 John Levon <levon@movementarian.org>
6228 * BufferView2.C: small cleanup
6231 * lyxfind.C: move unnecessary header into the .C
6233 2002-08-08 John Levon <levon@movementarian.org>
6235 * funcrequest.h: just tedious nonsense
6238 * lyx_main.C: cleanups
6241 * vspace.C: remove dead header lyx_main.h
6243 2002-08-07 Angus Leeming <leeming@lyx.org>
6246 * paragraph_pimpl.h:
6247 Forward declare class Counters in paragraph.h by moving the ctrs member
6248 variable into Paragraph::Pimpl.
6249 (counters): new method, returning a reference to pimpl_->ctrs.
6251 * text2.C: ensuing changes.
6253 2002-08-07 John Levon <levon@movementarian.org>
6255 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6257 * BufferView_pimpl.C: announce X selection on double/triple
6260 * lyx_main.C: use correct bool in batch dispatch
6262 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6264 2002-08-07 André Pönitz <poenitz@gmx.net>
6266 * funcrequest.h: new class to wrap a kb_action and its argument
6269 * BufferView_pimpl[Ch]:
6273 * lyxrc.C: subsequent changes
6276 2002-08-07 John Levon <levon@movementarian.org>
6278 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6279 document options change.
6281 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6286 * makefile.am: move counters functionality over from
6287 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6289 2002-08-06 John Levon <levon@movementarian.org>
6291 * WordLangTuple.h: new file for word + language code tuple
6302 * BufferView2.C: use WordLangTuple
6305 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6307 2002-08-06 John Levon <levon@movementarian.org>
6309 * lyx_main.C: fix cmdline batch handling
6311 2002-08-06 André Pönitz <poenitz@gmx.net>
6313 * lyxrc.C: set default for show_banner to true
6315 2002-08-06 John Levon <levon@movementarian.org>
6317 * pspell.C: fix a crash, and allow new aspell to work
6319 2002-08-06 John Levon <levon@movementarian.org>
6322 * kbmap.C: small cleanup
6325 * vspace.C: add const
6327 2002-08-05 John Levon <levon@movementarian.org>
6329 * LyXAction.C: back to tabular-insert
6331 2002-08-04 John Levon <levon@movementarian.org>
6334 * BufferView.C: cosmetic change
6336 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6346 * BufferView2.C: purge all "Lyx" not "LyX" strings
6349 * lyxcursor.C: attempt to add some documentation
6354 * ToolbarDefaults.C:
6355 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6356 merge with LFUN_TABULAR_INSERT
6363 * pspell.C: split up i/pspell implementations into separate
6364 files, many cleanups
6366 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6368 * text2.C: some cleanup
6370 * lyxfunc.C: don't check for isp_command == "none" any more, it
6371 didn't make any sense
6373 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6378 * makefile.am: move counters functionality over
6379 from text2.C/paragraph.[Ch] to counters.[Ch], and
6381 2002-08-02 John Levon <levon@movementarian.org>
6383 * buffer.C: s/lyxconvert/lyx2lyx/
6385 2002-08-02 Angus Leeming <leeming@lyx.org>
6387 * lyxlex.C: revert John's change as it breaks reading of the user
6390 2002-08-02 Angus Leeming <leeming@lyx.org>
6392 * importer.C (Import):
6393 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6394 changes due to LyXView::view() now returning a boost::shared_ptr.
6396 2002-08-02 John Levon <levon@movementarian.org>
6398 * lyxlex.C: small cleanup
6400 2002-08-02 John Levon <levon@movementarian.org>
6402 * text2.C (status): small cleanup, no logic change
6404 2002-08-01 John Levon <levon@movementarian.org>
6407 * buffer.C (writeFile): don't output alerts, caller
6411 * lyx_cb.C: from above
6413 * lyxfunc.C: allow to open non-existent files
6415 2002-07-31 John Levon <levon@movementarian.org>
6417 * lyxserver.C: don't let incidental errors get
6420 2002-07-30 John Levon <levon@movementarian.org>
6422 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6424 2002-07-30 John Levon <levon@movementarian.org>
6427 * lyxserver.C: remove I/O callback too
6429 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6431 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6434 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * many files: strip,frontStrip -> trim,ltrim,rtrim
6438 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * PrinterParams.h: remove extern containsOnly, and include
6441 support/lstrings.h instead.
6443 * LaTeX.C (scanAuxFile): modify because of strip changes
6445 * buffer.C (makeLaTeXFile): ditto
6446 * bufferparams.C (writeFile): ditt
6447 * lyxfont.C (stateText): ditto
6448 * lyxserver.C (read_ready): ditto
6449 * vc-backend.C (scanMaster): ditto
6451 * BufferView_pimpl.h: ws changes
6453 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6455 2002-07-26 André Pönitz <poenitz@gmx.net>
6457 * kb_sequence.C: remove unnedred usings
6459 2002-07-26 Juergen Vigna <jug@sad.it>
6461 * lyxfind.C (LyXReplace): we have to check better if the returned
6462 text is not of theLockingInset()->getLockingInset().
6464 2002-07-25 Juergen Vigna <jug@sad.it>
6466 * lyxfind.C (LyXReplace): don't replace if we don't get the
6469 * undo_funcs.C (createUndo): remove debugging code.
6471 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6473 * buffer.C (parseSingleLyXformat2Token): Use default placement
6474 when reading old floats.
6476 * FloatList.C (FloatList): Change the default placement of figure
6477 and tables to "tbp".
6479 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6481 * MenuBackend.C: using std::max
6483 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6485 * MenuBackend.C (expandToc):
6486 (expandToc2): code moved from xforms menu frontend. It is now
6487 generic and TOCs are transparent to menu frontends.
6489 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6491 * toc.C (getTocList): protect against buf=0
6493 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6494 Menu as first parameter. Now, this calls itself recursively to
6495 expand a whole tree (this will be useful for TOC handling)
6496 (expandFloatInsert): remove 'wide' version of floats
6498 * MenuBackend.h (submenuname): returns the name of the submenu.
6499 (submenu): returns the submenu itself, provided it has been
6500 created by MenuBackend::expand
6502 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6504 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6505 insets which have noFontChange == true. (bug #172)
6507 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * BufferView_pimpl.C: add connection objects and use them...
6512 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6514 * MenuBackend.C (expandLastfiles):
6517 (expandFloatListInsert):
6518 (expandFloatInsert):
6519 (expand): split expand in parts
6521 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6523 * lyx_gui.C: use lyx_gui::exit()
6525 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6527 * LyXAction.C: show the failing pseudo action
6529 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6531 * buffer.C (readFile): Run the lyxconvert script in order to read
6534 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6538 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6540 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6544 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6546 2002-07-22 Herbert Voss <voss@lyx.org>
6549 * lyxlength.[Ch]: add support for the vertical lengths
6551 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6553 * toc.[Ch]: std:: fixes
6555 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6557 * lyxrc.C: do not include lyx_main.h
6559 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6565 * BufferView2.C: include "lyxlex.h"
6568 * bufferparams.h: do not #include "lyxlex.h"
6570 * lyxtextclasslist.C (Add): remove method
6571 (classlist): renamed to classlist_
6573 * paragraph_pimpl.C:
6577 * bufferview_funcs.C:
6582 * toc.C (getTocList): use BufferParams::getLyXTextClass
6584 * toc.C (getTocList): use InsetFloat::addToToc
6586 * toc.[Ch]: new files, containing helper functions to handle table
6589 * lyxfunc.C (dispatch): no need to remove spaces around command
6591 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6592 first command of the sequence; it is not very clever, but I do not
6593 have a better idea, actually
6595 * LyXAction.C (LookupFunc): make sure to remove space at the
6596 beginning and end of the command
6598 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6600 * MenuBackend.C (getMenubar): new method: return the menubar of
6602 (read): treat differently reading of menu and menubar (in
6603 particular, the menubar has no name now)
6604 (Menu::menubar): remove
6606 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6609 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6611 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6612 a bibitem inset in a RTL paragraph.
6614 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6616 * paragraph_pimpl.C: constify
6618 * BufferView_pimpl.C:
6620 * lyxfunc.C: fix dispatch in a nicer way
6622 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6624 * lyxfunc.C (dispatch):
6625 * BufferView_pimpl.C:
6626 * BufferView_pimpl.h:
6628 * BufferView.h: rename Dispatch() to dispatch()
6630 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6632 * lyxlayout.C (Read): honor DependsOn tag
6634 * lyxlayout.[Ch] (depends_on): new method
6636 * version.C.in: update lyx_docversion
6638 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6640 * paragraph.C (validate): remove from here...
6641 * paragraph_pimpl.C (validate): ... and move here
6642 (isTextAt): make it const
6644 * buffer.C (getLists): ws cleanup
6646 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6648 * language.C (read): Use iso8859-1 encoding in latex_lang
6649 (this prevents LyX from crashing when using iso10646-1 encoding).
6651 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6653 * text2.C (toggleInset): if cursor is inside an inset, close the
6654 inset and leave cursor _after_ it
6656 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6658 * lyxfunc.C: move minibuffer completion handling out of here
6660 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6662 * BufferView_pimpl.C:
6663 * LaTeX.C: fix dispatch calls
6665 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6667 * text.C (drawChars): Fix Arabic text rendering.
6669 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6673 * lyxfunc.C: remove message-push/pop
6677 * lyxfunc.C: rationalise some code by removing verboseDispatch
6678 in favour of a bool argument to dispatch()
6680 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6682 * lyx_main.C (init): make sure to read symlinks as absolute paths
6684 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6687 * lyxfunc.C: no need for commandshortcut to be a member
6689 2002-07-15 André Pönitz <poenitz@gmx.net>
6691 * converter.C: add support for $$s (scripts from lib/scripts dir)
6692 * lyx_main.C: white space
6694 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6698 * lyxrc.C: remove second exit confirmation
6700 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6705 * BufferView_pimpl.h:
6706 * BufferView_pimpl.C:
6707 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6709 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6711 * MenuBackend.C (expand): add numeric shortcuts to document menu
6713 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6715 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6717 * lyxfont.C (setLyXFamily):
6724 * buffer.C (asciiParagraph): use ascii_lowercase
6726 2002-07-15 Mike Fabian <mfabian@suse.de>
6728 * lyxlex_pimpl.C (search_kw):
6729 * lyxlex.C (getLongString):
6730 * converter.h (operator<):
6731 * converter.C (operator<):
6732 * buffer.C (parseSingleLyXformat2Token):
6734 * ToolbarDefaults.C (read):
6735 * MenuBackend.C (checkShortcuts):
6737 * LColor.C (getFromGUIName):
6738 (getFromLyXName): use the compare_ascii_no_case instead of
6739 compare_no_case, because in turkish, 'i' is not the lowercase
6740 version of 'I', and thus turkish locale breaks parsing of tags.
6742 2002-07-16 Angus Leeming <leeming@lyx.org>
6744 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6745 now takes a Buffer const & argument.
6747 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6749 * BufferView.C (resize): check there's a buffer to resize
6751 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6753 * lyxfunc.C: remove dead code
6756 * lyxserver.C: use lyx_guii::set_read_callback
6758 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6760 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6761 an inset in a RTL paragraph.
6763 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6765 * lyxfunc.C: repaint after a font size update
6767 2002-07-15 André Pönitz <poenitz@gmx.net>
6769 * lyxlength.C: inBP should be able to return negative values
6771 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6773 * lyxfunc.C: use lyx_gui::update_fonts()
6775 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6777 * lyxfunc.C: use lyx_gui::update_color()
6779 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6785 * lyxrc.C: remove file->new asks for name option, and let
6786 buffer-new take an argument
6788 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6790 * BufferView_pimpl.C: remove unneeded extra repaint()
6792 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6794 * LyXAction.C: allow command-sequence with NoBuffer
6796 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6798 2002-07-10 Angus Leeming <leeming@lyx.org>
6800 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6802 2002-07-09 Angus Leeming <leeming@lyx.org>
6804 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6806 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6808 * lengthcommon.h: whitespace
6810 * lyxfunc.C: update scrollbar after goto paragraph
6812 * lyxtext.h: factor out page break drawing, and fix it so
6813 page break/added space paints as selected nicely
6815 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6817 * BufferView_pimpl.C: add FIXMEs, clean up a little
6819 2002-07-09 André Pönitz <poenitz@gmx.net>
6821 * lyxfont.[Ch]: support for wasy symbols
6823 2002-07-08 André Pönitz <poenitz@gmx.net>
6825 * BufferView_pimpl.C: apply John's patch for #93.
6827 2002-07-05 Angus Leeming <leeming@lyx.org>
6829 * BufferView_pimpl.C (buffer): generate previews if desired.
6831 * LColor.h: add "preview" to the color enum.
6833 * LColor.C (LColor): add a corresponding entry to the items array.
6835 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6838 2002-07-05 Angus Leeming <leeming@lyx.org>
6840 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6841 The body of the code is now in the method that is passed an ostream &
6842 rather than a file name.
6843 Pass an additional only_preamble parameter, useful for the forthcoming
6846 2002-07-03 André Pönitz <poenitz@gmx.net>
6848 * lyxfunc.C: simplify getStatus() a bit for math stuff
6850 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6852 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6854 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6856 * text.C (changeRegionCase): do not change case of all the
6857 document when region ends at paragraph end (bug #461)
6859 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6861 * paragraph.C (startTeXParParams):
6862 (endTeXParParams): add \protect when necessary
6864 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6866 * BufferView_pimpl.C (workAreaExpose): remove warning
6868 2002-06-27 Angus Leeming <leeming@lyx.org>
6870 * Makefile.am: add lyxlayout_ptr_fwd.h.
6872 2002-06-26 André Pönitz <poenitz@gmx.net>
6874 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6876 2002-06-25 Angus Leeming <leeming@lyx.org>
6878 * lyxfunc.C (dispatch): Comment out the call to
6879 grfx::GCache::changeDisplay. The method no longer exists now that the
6880 pixmap generation part of the graphics loader has been moved into
6883 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6885 * text2.C: layout as layout
6887 * text.C: layout as layout
6889 * tabular.C (OldFormatRead): layout as layout
6891 * paragraph_pimpl.C (TeXDeeper): layout as layout
6892 (realizeFont): layout as layout
6894 * paragraph.C (writeFile): layout as layout
6895 (validate): layout as layout
6896 (getFont): layout as layout
6897 (getLabelFont): layout as layout
6898 (getLayoutFont): layout as layout
6899 (breakParagraph): layout as layout
6900 (stripLeadingSpaces): layout as layout
6901 (getEndLabel): layout as layout
6902 (getMaxDepthAfter): layout as layout
6903 (applyLayout): layout as layout
6904 (TeXOnePar): layout as layout
6905 (simpleTeXOnePar): layout as layout
6906 (TeXEnvironment): layout as layout
6907 (layout): layout as layout
6908 (layout): layout as layout
6910 * lyxtextclass.C (compare_name): new functor to work with
6911 shared_ptr, layout as layout
6912 (Read): layout as layout
6913 (hasLayout): layout as layout
6914 (operator): layout as layout
6915 (delete_layout): layout as layout
6916 (defaultLayout): layout as layout
6918 * lyxlayout_ptr_fwd.h: new file
6920 * lyxlayout.C (Read): layout as layout
6922 * lyx_cb.C (MenuInsertLabel): layout as layout
6924 * bufferlist.C (newFile): layout as layout
6926 * buffer.C (readLyXformat2): layout as layout
6927 (parseSingleLyXformat2Token): layout as layout
6928 (insertStringAsLines): layout as layout
6929 (asciiParagraph): layout as layout
6930 (latexParagraphs): layout as layout
6931 (makeLinuxDocFile): layout as layout
6932 (simpleLinuxDocOnePar): layout as layout
6933 (makeDocBookFile): layout as layout
6934 (simpleDocBookOnePar): layout as layout
6935 (getLists): layout as layout
6937 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6939 * CutAndPaste.C (cutSelection): layout as layout
6940 (pasteSelection): layout as layout
6941 (SwitchLayoutsBetweenClasses): layout as layout
6943 * BufferView_pimpl.C (Dispatch): layout as layout
6944 (smartQuote): layout as layout
6946 * BufferView2.C (unlockInset): layout as layout
6948 2002-06-24 André Pönitz <poenitz@gmx.net>
6950 * lyxfunc.C: fix #487
6952 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6956 * lyxfunc.C: remove display_shortcuts, show_banner
6958 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6960 * Buffer_pimpl.C: oops, update on resize
6962 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6969 * BufferView.C: use repaint()
6971 * BufferView_pimpl.h:
6972 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6973 as it's a clearer description. Remove superfluous
6976 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6978 * text.C: fix bug 488. Not ideal, but getting
6979 getWord() to work properly for the insets that
6980 matter is more difficult ...
6982 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6984 * BufferView_pimpl.C:
6987 * lyxfunc.C: remove the six million index lyxfuncs to just
6988 one, and DTRT (bug 458)
6990 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6994 * BufferView_pimpl.h:
6995 * BufferView_pimpl.C: clean up resize() stuff,
6996 and unnecessary updateScreen()s
6998 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7002 * BufferView_pimpl.h:
7003 * BufferView_pimpl.C:
7006 * minibuffer.C: remove focus management of workarea,
7007 not needed. Use screen's greyOut()
7009 2002-06-17 Herbert Voss <voss@lyx.org>
7011 * converter.C: (convert) do not post a message, when converting
7012 fails, let the calling function decide what to do in this case
7014 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7016 * lyxfunc.C: tidy up a little
7018 2002-06-16 <alstrup@diku.dk>
7020 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7021 Got rid of FORMS_H_LOCATION include. Now we are
7024 2002-06-15 LyX Development team <lyx@rilke>
7026 * buffer.[Ch] (sgmlOpenTag):
7027 (sgmlCloseTag): Added support for avoiding pernicious mixed
7028 content. Return number of lines written.
7031 (makeDocBookFile): Fixed calls to sgml*Tag.
7032 Simple white space clean.
7034 (simpleDocBookOnePar): Simple white space clean.
7036 * tabular.[Ch] (docBook): Renamed to docbook and got another
7037 argument to related with the pernicious mixed content.
7039 (docbookRow): Fixed calls for docbook inset method.
7041 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7043 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7044 so it's X11 independent.
7048 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7050 2002-06-15 Lyx Development team <lyx@electronia>
7052 * intl.h: Renamed getTrans to getTransManager.
7054 2002-06-14 Angus Leeming <leeming@lyx.org>
7056 * Makefile.am: nuke forgotten stl_string_fwd.h.
7058 2002-06-12 Angus Leeming <leeming@lyx.org>
7060 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7062 2002-06-13 Angus Leeming <leeming@lyx.org>
7065 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7067 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7069 * kbmap.C (getiso): add support for cyrillic and greek
7071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7075 * BufferView_pimpl.h:
7076 * BufferView_pimpl.C: move bogus scrolling logic
7079 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7082 * BufferView_pimpl.C: view->resize() change
7084 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7086 * BufferView_pimpl.C: topCursorVisible
7089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7093 * lyx_gui.C: move to frontends/
7097 * lyx_main.C: changes from above
7099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7106 * lyx_main.C: minor tidy
7108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7110 * BufferView_pimpl.h:
7111 * BufferView_pimpl.C:
7113 * BufferView.C: make painter() const,
7116 * BufferView2.C: use screen() accessor
7119 * lyx_main.C: some minor cleanup
7121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7123 * BufferView_pimpl.h:
7124 * BufferView_pimpl.C: remove enter/leaveView,
7127 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7132 * BufferView_pimpl.h:
7133 * BufferView_pimpl.C: only construct screen once,
7136 * lyxrc.C: remove pointless comment
7138 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7141 * BufferView.C: remove active() and belowMouse()
7143 * BufferView_pimpl.h:
7144 * BufferView_pimpl.C: use workarea() not workarea_,
7145 and make it use a scoped_ptr instead
7147 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7149 * lyx_gui.C: add debug message on BadWindow
7151 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7153 * sp_spell.C: fdopen is not part of the C++ standard.
7155 * paragraph.C (InsetIterator): use >= instead of ==
7157 2002-06-07 Angus Leeming <leeming@lyx.org>
7159 Fixes needed to compile with Compaq cxx 6.5.
7160 * BufferView_pimpl.C:
7167 * lyxtextclasslist.C:
7172 all c-library variables have been moved into namespace std. Wrap
7173 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7178 Add a using std::abs declaration.
7180 * kbmap.h (modifier_pair):
7181 * paragraph.h (InsetTable, InsetList):
7182 * lyxfont.h (FontBits):
7183 type definition made public.
7185 * bufferlist.C (emergencyWriteAll): the compiler complains that
7186 there is more than one possible lyx::class_fun template to choose from.
7187 I re-named the void specialisation as lyx::void_class_fun.
7189 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7191 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7192 the compiler is is unable to find tostr in write_attribute.
7194 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7196 * buffer.C (sgmlError): hide #warning
7198 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7200 * xtl/*: get rid of xtl, which is not in use anyway
7202 * LyXAction.C (init):
7203 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7204 were unimplemented xtl experimentation
7206 2002-06-04 André Pönitz <poenitz@gmx.net>
7208 * lyxfunc.C: disable array operation on simple formulae
7210 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7212 * converter.C: constify a bit
7214 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7216 * lyx_gui.C: check xforms version correctly
7218 2002-04-30 Herbert Voss <voss@lyx.org>
7220 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7223 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7225 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7226 attempt to register it with a VCS)
7228 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7230 * lyx_main.C (init): honor variables LYX_DIR_13x and
7233 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7237 * lyx_main.C: fix a crash on bad command line,
7238 and give a useful exit status on error
7240 * lyxfunc.C (doImport): allow -i lyx to work
7242 2002-03-30 André Pönitz <poenitz@gmx.net>
7244 * lyxfunc.C: mathed font changes
7246 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7261 * trans_mgr.h: srcdocs, and some minor cleanups
7263 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7265 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7266 call getFont all the time)
7268 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7270 * switch from SigC signals to boost::signals
7272 2002-05-29 André Pönitz <poenitz@gmx.net>
7274 * paragraph_pimpl.C (getChar): don't call size() too often...
7276 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7278 * paragraph_pimpl.C (insertChar): do not try to update tables when
7279 appending (pos == size())
7281 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7282 in order to reduce drastically the number of comparisons needed to
7283 parse a large document
7285 2002-05-29 André Pönitz <poenitz@gmx.net>
7291 * textclasslist.[Ch]:
7292 * sp_ispell.h: whitespace change
7294 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7296 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7297 lyxaction directly now.
7299 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7303 * lyxvc.C: remove unused headers
7305 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7312 * undo_funcs.C: some cleanups. Use shared_ptr
7313 and a template for the undo stacks.
7315 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7317 * BufferView_pimpl.h:
7318 * BufferView_pimpl.C:
7325 * text2.C: use key_state/mouse_state
7327 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7329 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7332 * chset.C: change include order
7333 (loadFile): use boost regex and get rid of LRegex and LSubstring
7335 * Makefile.am (BOOST_LIBS): new variable
7338 * LaTeX.C: change include order.
7339 (scanAuxFile): use boost regex and get rid of LRegex and
7343 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7348 * FontInfo.C: moved to frontends/xforms/
7351 * FontLoader.C: moved into frontends for GUIIzation
7356 * lyxfunc.C: changes from above
7358 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7360 * LColor.C: remove spurious X include
7362 * BufferView_pimpl.C:
7367 * text2.C: move font metrics to frontends/
7369 2002-05-24 Juergen Vigna <jug@sad.it>
7371 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7372 setting the undo_cursor.
7374 * ParagraphParameters.h: include local includes first.
7376 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7378 * BufferView_pimpl.C:
7379 * BufferView_pimpl.h:
7383 * screen.C: move WorkArea into frontends/
7389 * BufferView2.C: move LyXScreen into frontends/
7393 * lyx_gui.C: move lyxlookup into frontends/xforms/
7395 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7398 * BufferView_pimpl.C:
7408 * bufferview_funcs.C:
7421 * vc-backend.C: move LyX/XFormsView into frontends/
7423 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7435 * text2.C: move Painter to frontends/
7437 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7439 * buffer.C: comment out some some code that depend upon lyx_format
7442 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7443 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7445 * buffer.h (NO_COMPABILITY): turn off compability
7447 * ColorHandler.C: include scoped_array.hpp
7449 * font.C: Use more specific smart_ptr header.
7452 * ShareContainer.h: ditto
7456 * BufferView_pimpl.h: ditto
7457 * ColorHandler.h: ditto
7459 * kbmap.C (defkey): change call to shared_ptr::reset
7461 2002-05-21 Juergen Vigna <jug@sad.it>
7463 * buffer.C (insertErtContents): fix to insert ert asis if it is
7464 non empty. Skip it completely if it contains only whitespaces.
7466 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7468 * BufferView_pimpl.C:
7469 * BufferView2.C: clear selection on paste (bug 393)
7471 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7473 * DepTable.C: include ctime
7475 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7477 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7479 2002-05-14 Juergen Vigna <jug@sad.it>
7481 * text.C (breakParagraph): fixed function to honor the keepempty
7482 layout in the right maner and also to permit the right breaking
7483 algorithm on empty or non empyt keepempty paragraphs.
7485 * paragraph.C (breakParagraph): we have to check also if the par
7486 is really empty (!size()) for isempty otherwise we do the wrong
7489 2002-05-10 Juergen Vigna <jug@sad.it>
7491 * buffer.[Ch] : The following are only changes to the ert
7492 compatibility read reading old LaTeX layout and font stuff and
7493 convert it to ERTInsets.
7495 * buffer.h: added isErtInset().
7497 * buffer.C (struct ErtComp): add a fromlayout bool to check
7498 if we're inside a LaTeX layout.
7499 (isErtInset): new helper function.
7500 (insertErtContents): look for other ert insets before this one
7501 and insert the contents there, so that we don't have subsequent
7502 ERT insets with nothing between them. This way we create only one
7503 inset with multiple paragraphs. Also check if we don't insert only
7504 spaces ' ' as they are ignored anyway afterwards in the .tex file
7505 so if we have only spaces we will ignore this latex part in the
7507 (parseSingleLyXformat2Token \\layout): better compatibility when
7508 reading layout-latex stuff.
7509 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7511 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7512 stuff after reading the inset only get the information back from
7515 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7517 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7519 * LaTeXFeatures.C (getBabelOptions): New method.
7521 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7523 * BufferView_pimpl.C (Dispatch): work around missing argument for
7526 2002-05-08 Juergen Vigna <jug@sad.it>
7528 * text.C (leftMargin): handle paragraph leftindent.
7530 * paragraph.C (writeFile): write the new \\leftindent tag.
7531 (validate): handle leftindent code.
7532 (TeXEnvironment): handle paragraphleftindent code again.
7534 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7536 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7537 for paragrap_extra indent code and new token \\leftindent.
7538 (latexParagraphs): handle the leftindent as environment.
7540 * ParameterStruct.h: added leftindent support.
7542 * ParagraphParameters.C (leftIndent): added support functions for
7543 the paragraph left indent.
7545 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7548 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7550 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7553 * text.C (computeBidiTables): No bidi in insetERT.
7555 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7558 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7560 * version.C.in: pre 5
7562 2002-05-02 José Matos <jamatos@fep.up.pt>
7563 * buffer.C (makeDocBookFile): white space changes, add newline to
7565 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7567 * tabular.C (docBook): fix typo.
7569 2002-05-03 Juergen Vigna <jug@sad.it>
7571 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7572 change in LyXText as we can not be sure it was not freed.
7573 (drawOneRow): remove unused code.
7575 * text.C (drawInset): redo the calculation of the need_break_row as
7576 it could have a row which was already freed.
7577 (draw): look at the return value of drawInset and return false if
7578 it also returned false.
7579 (paintRowText): look at the return value of draw and return false if
7580 it also returned false.
7582 * lyxtext.h: added bool return type to drawInset() and draw() so that
7583 if we have a change in the row so that the rowbreak has to be redone
7584 we abort drawing as it will be called again.
7586 2002-05-02 Juergen Vigna <jug@sad.it>
7588 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7589 a change in the maintext also if we're inside an inset.
7590 (Dispatch): set the cursor again after a break line and after the
7591 screen has been updated as it could be we're in a different row.
7593 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7594 to set the cursor behind the pargraph with > size().
7595 (setCursor): check also for the same paragraph when checking where
7596 to put the cursor if we have a NFR inset.
7598 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7599 parts of layout read further up as it still was in the wrong
7602 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7604 * screen.C (drawFromTo): change sine fullRebreak always return
7607 * buffer.C (parseSingleLyXformat2Token): reindent some
7609 * BufferView_pimpl.C (update): change since fullRebreak always
7611 (Dispatch): git rid of the last hardcoded "Standard"s.
7613 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7615 * text2.[Ch] (fullRebreak): make it return void now that we always
7618 2002-04-30 Juergen Vigna <jug@sad.it>
7620 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7621 ert compatibility check for "latex" layout.
7623 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7625 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7626 minipages: use col% instead of p%, and also use the current font.
7627 (makeLaTeXFile): Fix use babel condition.
7628 (parseSingleLyXformat2Token): Correct font when reading old floats.
7630 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7632 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7633 inserting list of floats.
7635 2002-04-25 Herbert Voss <voss@lyx.org>
7637 * MenuBackend.C (expand): don't add the graphics extensions to the
7640 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7643 non-existing layout, do not complain if it was the default layout
7644 of the original class (bug #342)
7646 2002-04-24 Juergen Vigna <jug@sad.it>
7648 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7649 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7651 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7653 * buffer.C (getBibkeyList): If using \bibliography, return the
7654 option field with the reference itself. Enables us to provide natbib
7655 support when using \bibliography.
7657 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7659 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7661 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7662 natbib is provided by the LaTeX class.
7664 2002-04-23 Juergen Vigna <jug@sad.it>
7666 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7669 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7671 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7673 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7675 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7676 ensuremath around textordmasculine, textordfeminine and
7679 2002-04-19 Juergen Vigna <jug@sad.it>
7681 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7682 reinitializing the buffer otherwise row-dimensions may be wrong.
7683 (update): reset also the selection cursors if they do exits otherwise
7684 their x/y positions may be wrong.
7686 * text2.C (cursorDown): don't enter the inset if we came from a row
7687 above and are one row over the inset.
7689 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7690 really leaving an inset.
7692 2002-04-18 Juergen Vigna <jug@sad.it>
7694 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7695 of the selected paragraph does not have the selected layout also if
7698 * text2.C (setLayout): fixed bug which did not change last selected
7701 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7702 changed the read and substituted \\end_float with \\end_inset!
7704 * BufferView_pimpl.C (cursorPrevious):
7705 (cursorNext): fixed to make it work with rows heigher than the work
7706 area without moving the cursor only the draw of the row.
7707 (workAreaMotionNotify): fix jumping over high rows.
7709 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7711 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7714 2002-04-16 Juergen Vigna <jug@sad.it>
7716 * text2.C (setCursor): set also the irow().
7717 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7719 (cursorDown): support for locking an inset if the x_fix value goes
7720 inside it. That way I can transverse insets too with cursor up/down.
7722 * lyxrow.h: added irow helper function same as other (i) functions.
7724 * BufferView_pimpl.C (cursorPrevious):
7725 (cursorNext): fixed for insets!
7727 2002-04-15 Juergen Vigna <jug@sad.it>
7729 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7730 position otherwise it is wrong in some cases.
7732 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7733 inside the inset before the call.
7735 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7737 * buffer.[Ch] (getBibkeyList): make it const.
7739 2002-04-12 Juergen Vigna <jug@sad.it>
7741 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7743 * text2.C (getCursorX): new helper function
7744 (setCursor): compute also ix_
7745 (setCursorFromCoordinates): set also ix.
7747 * lyxcursor.h: added ix_ and helper functions.
7749 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7751 * buffer.C (insertStringAsLines): dont break paragraph if the this
7752 paragraph is inside an inset which does not permit it!
7754 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7755 also with no chars on this paragraph.
7756 (paintRowText): only paint stuff if it's inside the workarea!
7758 * paragraph.C (breakParagraph): honor keepempty flag and break the
7759 paragraph always below not above.
7761 * BufferView2.C (unlockInset): update the paragraph layout on inset
7762 unlock as we changed paragraph in such a case.
7764 * lyxfind.C (LyXFind): clear the former selection if not found!
7766 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7767 again called in insertChar().
7769 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7770 an inset which uses the whole row!
7771 (rightMargin): ditto.
7772 (insertChar): force a rebreak if we inserted an inset!
7774 2002-03-28 Herbert Voss <voss@lyx.org>
7776 * lyxlength.[Ch]: add inBP() to get the right PS-point
7777 units (BigPoint). With inPixels we have rounding errors
7779 2002-04-11 Juergen Vigna <jug@sad.it>
7781 * text2.C (setCursorFromCoordinates): set iy to the right value.
7782 (setCursor): add check if row->previous exists!
7784 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7785 an old float_type as this was the case in the old code!
7787 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7789 * BufferView2.C (showLockedInsetCursor): use iy
7790 (fitLockedInsetCursor): ditto
7792 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7793 locked insets as there we have the right value now.
7795 * lyxcursor.C: added iy_ variable and iy functions to set to the
7796 baseline of cursor-y of the locked inset.
7798 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7799 (setCursor): fixed for insets which need a full row.
7801 * text.C (rowLastPrintable): don't ignore the last space when before
7802 an inset which needs a full row.
7803 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7804 as last character of a row when before a inset which needs a full row.
7806 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7808 * version.C.in: update date
7810 * text2.C (fullRebreak): try to always return true and see what
7813 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7815 * MenuBackend.C (expand): use Floating::listName
7817 * FloatList.C (FloatList): add listName argument to the built-in
7820 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7821 text associated with the float.
7823 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7825 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7827 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7829 * ShareContainer.h: add a couple of missing typenames.
7831 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7833 * lyxrc.C (getDescription): use _() correctly rather than N_().
7835 2002-03-28 Herbert Voss <voss@lyx.org>
7837 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7838 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7840 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7842 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7843 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7845 2002-03-29 Juergen Vigna <jug@sad.it>
7847 * lyxfunc.C (dispatch): add a missing fitCursor call.
7849 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7850 it was scrolled by a cursor move, so return the bool status.
7852 * BufferView.C (fitCursor): return the bool flag also to the outside
7853 world as this is needed.
7855 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7857 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7858 call the edit() as it is not needed (and wrong) IMO.
7859 (workAreaButtonPress): set the screen_first variable before evt.
7860 unlock the inset as this may change screen_first and then we have
7861 a wrong y position for the click!
7863 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7865 * MenuBackend.C (expand): another translation that I missed
7867 2002-03-28 Juergen Vigna <jug@sad.it>
7869 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7871 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7873 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7875 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7877 * MenuBackend.C (expand): fix export/view/update when there is no
7880 2002-03-27 Herbert Voss <voss@lyx.org>
7882 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7885 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7887 * bufferview_funcs.C (currentState): only show paragraph number
7888 for is DEVEL_VERSION is set.
7890 * lyxfunc.C (dispatch): put warning in INFO channel
7892 * MenuBackend.C (expand): translate the name of floats
7894 * FloatList.C (FloatList): mark the float names for translation
7896 * converter.C (convert): use LibScriptSearch
7898 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7900 * MenuBackend.C (defaults): fix default menu (we might as well get
7903 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7905 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7908 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7910 * lyxvc.C: reorder includes.
7912 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7914 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7917 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7919 * CutAndPaste.C: change layouts earlier on paste
7920 to avoid crashing when calling getFont()
7922 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7924 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7927 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7929 * WorkArea.C: remove 'Pending' debug message.
7931 * most files: ws cleanup
7933 * buffer.[Ch]: ws changes
7935 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7937 2002-03-21 Juergen Vigna <jug@sad.it>
7939 * tabular.C (SetMultiColumn): collapse also the contents of the
7940 cells and set the last border right. Added a Buffer const * param.
7942 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7944 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7947 2002-03-19 Juergen Vigna <jug@sad.it>
7949 * text2.C (clearSelection): reset also xsel_cache.
7951 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7952 where it needs to be called (John tells us to do so too :)
7953 (selectionLost): reset sel_cache.
7955 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7957 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7959 * text2.C (setCursorIntern): put debuging code in INSETS channel
7961 2002-03-19 André Pönitz <poenitz@gmx.net>
7963 * lyxfunc.C: tiny whitespace change
7965 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7967 * ToolbarDefaults.C (init):
7968 * LyXAction.C (init):
7970 * BufferView_pimpl.C (Dispatch):
7971 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7973 2002-03-19 Allan Rae <rae@lyx.org>
7975 * exporter.C (Export): removeAutoInsets before doing anything else.
7976 While I've just introduced a dependency on BufferView this really is
7977 the best place to clean the buffer otherwise you need to cleanup in
7978 a dozen places before calling export or cleanup in a dozen functions
7981 * converter.C (runLaTeX):
7982 (scanLog): Better handling of removeAutoInsets and screen updates.
7984 * lyxfunc.C (dispatch): small whitespace changes
7986 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7988 * WorkArea.C (C_WorkAreaEvent): return a value.
7989 (event_cb): return 1 if we handled the event, 0 otherwise.
7991 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7993 2002-03-18 Juergen Vigna <jug@sad.it>
7995 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7996 (GetAdditionalWidth): ditto.
8000 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8001 inset if we're there actually (probably not used right now but this
8002 is the direction to go for unifying code).
8003 (paste): disable code to clear the selection.
8005 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8006 inside an InsetText and move the check further up as it is in the
8009 * text2.C (pasteSelection): set a selection over the pasted text.
8011 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8013 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8014 and libgraphics to build on Cygwin.
8016 2002-03-15 Juergen Vigna <jug@sad.it>
8018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8019 inserting an Inset into the paragraph. I know this is not the best
8020 fix but we already use current_view in CutAndPaste so we will remove
8021 all of it's using at the same time.
8023 * buffer.C (sgmlError): deactivated function till it is rewritten in
8024 the right mode, now it can create problems.
8026 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8027 before accessing it.
8029 2002-03-14 Juergen Vigna <jug@sad.it>
8031 * undo_funcs.C (textHandleUndo): do the right thing when updating
8032 the inset after the undo/redo.
8034 * text2.C (setCursor): just some testcode for #44 not ready yet.
8036 * undo_funcs.C (textHandleUndo): set the next() and previous()
8037 pointers of the paragraph to 0 before deleting otherwise we have
8038 problems with the Paragraph::[destructor].
8040 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8041 on a paragraph insertion.
8043 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8045 * buffer.C (asciiParagraph): use += operator for char append to
8048 * paragraph.C (getFontSettings): compare >= not just >
8049 (highestFontInRange): ditto
8052 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8054 * paragraph.C: change several algorithm to be more appripriate for
8055 the problem domain. This is lookip in FontList and in the InsetList.
8057 2002-03-13 André Pönitz <poenitz@gmx.net>
8060 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8062 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8067 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8069 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8071 * Painter.C (display): anon helper function, adjust code for this
8073 (pixmap): remove function.
8075 * Painter.h: remove private display variable.
8077 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8079 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8081 * WorkArea.[Ch]: remove figinset_canvas cruft.
8083 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8085 * lyxtextclass.C (operator): add one item cache optimization.
8087 * bufferlist.h: doxy changes
8089 * bufferlist.C: ws changes
8091 * DepTable.[Ch] (ext_exist): place const in the right spot.
8093 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8095 (workAreaExpose): call resizeInsets when the with BufferView changes.
8096 (Dispatch): adjust for protectedBlank removal
8097 (specialChar): call updateInset if the insert went ok.
8099 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8100 specialChar instead.
8102 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8104 * BufferView.h: doxy change
8106 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8108 * lyxtextclass.C (operator[]): remove non-const version
8109 (defaultLayout): remove non-const version
8111 2002-03-12 Juergen Vigna <jug@sad.it>
8113 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8114 did resize the LyXText too.
8116 * buffer.C (readLyXformat2): set layout information on newly allocated
8119 * tabular.C (OldFormatRead): set layout information on the paragraph.
8121 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8123 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8125 2002-03-11 Juergen Vigna <jug@sad.it>
8127 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8129 (resizeCurrentBuffer): force also the insets to resize themselfes.
8130 (moveCursorUpdate): fixed up for InsetText.
8132 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8135 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8136 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8137 value of Dialogs::tooltipsEnabled().
8138 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8140 2002-03-08 Juergen Vigna <jug@sad.it>
8142 * BufferView_pimpl.C (updateInset): update inset inside inset also
8143 if it isn't inside theLockingInset().
8145 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * buffer.C (asciiParagraph): redo some of the word and line length
8149 (getLists): look for Caption instead of caption.
8151 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8153 * buffer.C (Buffer): initialize niceFile to true
8156 (makeDocBookFile): make sure niceFile is true on exit
8158 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8160 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8162 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8164 * LyXSendto.C: remove.
8165 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8166 * lyx_gui.C: remove now-redundant comment.
8167 * ColorHandler.h: remove forward declaration of class WorkArea.
8168 * lyxfunc.C: remove #include "WorkArea.h".
8170 2002-03-07 Juergen Vigna <jug@sad.it>
8172 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8173 got moved away with the DEPM and also set the inset_owner always
8174 right which before could have been omitted.
8176 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8178 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8179 wanted layout is not found.
8181 2002-03-07 Juergen Vigna <jug@sad.it>
8183 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8185 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8187 * paragraph.C (breakParagraph): use default layout not layout of
8189 (Paragraph): clear ParagraphParameters.
8191 2002-03-06 Juergen Vigna <jug@sad.it>
8193 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8194 otherwise it would not be a valid lenght. Fixed a special case in
8195 the minipage compatibility read where we end the document with a
8198 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8199 was set as it could be 0 for InsetTexts first entry.
8201 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8203 * paragraph.C (writeFile): if layout is empty write out
8204 defaultLayoutName().
8206 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8207 file without named layout we set layout to defaultLayoutName().
8209 2002-03-06 Juergen Vigna <jug@sad.it>
8211 * CutAndPaste.C (copySelection): set layout for new paragraph.
8213 * text.C (prepareToPrint): leave ERT inset left aligned
8214 (leftMargin): don't indent paragraphs inside ERT insets
8216 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8218 * paragraph.C (breakParagraph): dont call clear do the work manually
8220 * paragraph.[Ch] (clear): remove function
8222 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8224 * paragraph.C (Paragraph): dont call clear, the work has already
8227 * lyxtextclass.C (operator): assert if n is empty
8229 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8230 work manually instead.
8232 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8234 * BufferView_pimpl.C: protect selectionLost against text == 0
8236 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8238 * text.C (breakParagraph): fix a setting layout to '0' problem.
8240 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8242 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8243 final location of file, for the included files, and graphics.
8245 2002-03-05 Juergen Vigna <jug@sad.it>
8247 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8249 2002-03-04 Juergen Vigna <jug@sad.it>
8251 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8253 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8254 last column of multicolumn cells.
8255 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8257 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8259 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8260 file if it doesn't go to a temporary file.
8262 * buffer.C (sgmlOpenTag):
8263 (sgmlCloseTag): remove extra newline insertion.
8265 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8267 * text.C (getRowNearY): comment out debug msg
8269 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8271 * text2.C: first -> first_y
8273 * text.C (getRowNearY): add some attemts at a possible
8274 optimization, not working.
8276 * tabular.[Ch]: add BufferParams to several function so that newly
8277 created paragraph can be initialized to he default layotu for the
8280 * tabular-old.C (ReadOld): add buf->params to call of Init
8282 * screen.C: rename text->first to text->first_y
8284 * paragraph.C (breakParagraph): always set layout in the broken
8287 * lyxtextclass.C (Read): remove lowercase
8290 (delete_layout): ditto
8292 * lyxtext.h: rename first -> first_y
8294 * lyxlayout.C (Read): remove lowercase
8297 (obsoleted_by): ditto
8299 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8301 * buffer.C (insertErtContents): add params are to InsetERT
8302 (parseSingleLyXformat2Token): add code to check if a paragraphs
8303 layout really exist.
8304 (parseSingleLyXformat2Token): add params to several inset
8306 (asciiParagraph): remove lowercase, do the layout comparisons with
8309 * BufferView_pimpl.C (cursorNext): first -> first_y
8310 (resizeCurrentBuffer): first -> first_y
8311 (updateScrollbar): first -> first_y
8312 (scrollCB): first -> first_y
8313 (workAreaMotionNotify): first -> first_y
8314 (workAreaButtonPress): first -> first_y
8315 (checkInsetHit): first -> first_y
8316 (cursorPrevious): first -> first_y
8317 (cursorNext): first -> first_y
8318 (Dispatch): add buffer_->params to severl inset contructors
8320 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8322 * lyxlayout.C (Read): remove some debug info that I forgot.
8324 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8325 clean up the code slightly.
8326 (makeLinuxDocFile): ditto
8327 (makeDocBookFile): ditto
8329 * text2.C: layout as string
8331 * text.C: layout as string
8333 * paragraph_pimpl.C: layout as string
8335 * paragraph.[Ch]: layout as string
8337 * lyxtextclasslist.[Ch]: layout as string
8339 * lyxtextclass.[Ch]: layout as string
8341 * lyxtext.h: layout as string
8343 * lyxlayout.[Ch]: layout as string
8345 * lyx_cb.C: layout as string
8347 * bufferview_funcs.C: layout as string
8349 * bufferparams.C: layout as string
8351 * buffer.C: layout as string
8353 * LyXView.[Ch]: layout as string
8355 * LaTeXFeatures.[Ch]: layout as string
8357 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8359 * BufferView_pimpl.C: change current_layout to string, remove
8364 (workAreaButtonRelease): layout as string
8366 * BufferView2.C (unlockInset): adjust
8368 * vspace.C (asLatexCommand): use an explict temp variable.
8370 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8372 * Makefile.am: use FRONTEND_*
8374 2002-03-01 Juergen Vigna <jug@sad.it>
8376 * tabular.C (SetWidthOfMulticolCell): changed to something better
8377 I hope but still work in progress.
8378 (recalculateMulticolumnsOfColumn): renamed function from
8379 recalculateMulticolCells as it is more appropriate now.
8380 (SetWidthOfCell): calculate multicols better.
8382 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8384 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8386 * lyxfunc.C (processKeySym): print sequence also if it is
8387 `deleted' (complete)
8389 * kbsequence.C (print): print sequence even if it is deleted
8390 (complete would be a better word, actually).
8392 * lyxfunc.C (dispatch): print complete options after a prefix key
8394 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8396 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8398 * text2.C (setCharFont): eliminate setCharFont code duplication.
8400 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8402 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8403 LFUN_TABULAR_FEATURE (bug #177)
8405 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8407 * Makefile.am: remove figure.h
8409 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8411 * Bufferview_pimpl.C:
8423 * text2.C: remove #include "lyx_gui_misc.h".
8425 * LaTeX.C: added #include <cstdio>
8427 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8429 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8430 that the paragraph following this one can have.
8432 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8434 * vspace.C (asLatexCommand): fix bogus gcc warning
8436 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8438 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8440 * text2.C (setLayout): get rid of redundant code
8442 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8444 * text2.C (incDepth): make sure depth cannot be increased beyond
8447 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8449 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8450 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8452 * PainterBase.h (image):
8453 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8456 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8460 * BufferView_pimpl.C:
8461 * BufferView_pimpl.h:
8481 * sp_spell.C: remove fig inset, and the crap house of
8482 cards that follows it
8484 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8490 * nt_defines.h: move .h into support/
8492 * vms_defines.h: remove
8494 * WorkArea.C: add space in debug output
8498 * buffer.C: add WITH_WARNINGS
8502 * bufferlist.C: s/retrive/retrieve/, add docs
8513 * lyxgui.C: add ID to X error handler
8515 * lyxtestclass.c: fix typo
8517 2002-02-26 Juergen Vigna <jug@sad.it>
8519 * tabular_funcs.C (write_attribute): changed so that some default
8520 attributes are not written at all.
8521 (getTokenValue): set default values before trying to read the
8522 value so we have the return value always set as default if we don't
8523 find the token we search for.
8525 * tabular.C (Write): write bools as bools not as strings!
8527 2002-02-22 Juergen Vigna <jug@sad.it>
8529 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8530 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8532 * text.C (leftMargin): don't add an indent for paragraphs inside
8533 tabular cells (fix #208).
8535 2002-02-21 José Matos <jamatos@fep.up.pt>
8537 * tabular.C (docBook): fixed support for long tables.
8539 2002-02-20 Juergen Vigna <jug@sad.it>
8541 * text2.C (getFont): get the drawing font of the Inset if this
8542 paragraph is inside an inset (only important for InsetERT for now).
8544 * buffer.C (insertErtContents): use new lanugage params in ERT
8547 * CutAndPaste.C: commenting out seemingly uneeded code.
8549 2002-02-19 Allan Rae <rae@lyx.org>
8551 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8552 Iterators might be simple to use but they also get invalidated.
8553 (removeAutoInsets): renamed saved cursor tracking variables and added
8554 some comments to clarify what everything does.
8556 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8563 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8564 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8567 * vc-backend.h: remove #include "support/syscall.h"
8571 * converter.C: rearrange #includes in Lars' approved fashion.
8573 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8574 forward declare class Timeout in the header file.
8576 * XFormsView.C: changes due to the above.
8578 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8581 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8582 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8584 2002-02-18 José Matos <jamatos@fep.up.pt>
8586 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8589 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8591 * a lot of small ws changes
8592 * add a lot of using std::XXX
8593 * use std construcs some places where approp.
8594 * use some exisint stuff from lyxfunctional where approp.
8595 * Make file changes to use partial linking (lets test this now...)
8597 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8601 remove #include "support/syscontr.h" as it's redundant. Always has been.
8609 change Systemcalls::System to Systemcalls::Wait and
8610 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8611 No change of functionality, just reflects the stripped down Systemcalls
8614 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8616 * debug.[Ch]: add a GRAPHICS type to the enum.
8618 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8620 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8622 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8625 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8627 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8628 match the changes below.
8630 * text2.C (toggleInset): if there is not editable inset at cursor
8631 position, try to see if cursor is _inside_ a collapsable inset
8634 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8636 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8637 document menu has a nice checkbox
8639 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8641 * lyxlength.C (asLatexString): change PW to output as percent of
8644 * lengthcommon.C: change '%' to 't%'
8646 * lyxfunc.C (dispatch): a few comments from Martin
8648 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8652 * BufferView_pimpl.h:
8653 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8656 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8658 * vspace.C (inPixels): fix compiler warning
8660 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8662 * lyxfunc.C (getStatus): fix status message for disabled commands.
8664 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8666 * BufferView_pimpl.C: fix crash on close buffer
8667 during selection (#227)
8669 2002-01-27 Herbert Voss <voss@lyx.org>
8671 * buffer.C: link old Figure to new graphic inset
8673 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8675 * FontLoader.C (getFontinfo): Change the latex font names in order
8676 to match the names of type1inst.
8678 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8680 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8682 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8685 (remove_files_with_extension): ditto
8686 (remove_file): ditto
8689 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8690 document is smaller than the work area height. Do not initialize
8691 static variables to 0.
8693 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8695 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8697 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8698 LFUN_LAYOUT_PARAGRAPHS.
8700 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8701 tabular. It is possible to provide a possible cell, which will
8702 typically be the actcell from the corresponding insettabular
8704 * lyxfunc.C (getStatus): small cleanup; disable
8705 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8708 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8710 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8712 * paragraph.C (startTeXParParams):
8713 (endTeXParParams): new methods. The LaTeX code to
8714 start/end paragraph formatting
8715 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8716 empty (fixes bug #200)
8718 * vspace.C (inPixels): adapt to the change below
8719 (inPixels): [later] more cleanups (remove unused variables)
8721 * lyxlength.C (inPixels): change to use a width and a height as
8724 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8727 Replaced with \paperwidth
8729 * DepTable.C (insert): add std:: qualifier
8731 2002-01-18 Allan Rae <rae@lyx.org>
8733 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8736 * text.C (drawInset): Turned out I didn't know enough about how
8737 rebreaking worked. This fixes most of the redraw problems. I see
8738 an occasional cursor trail when a line is broken now and the cursor
8739 placement can seem out by a few pixels also after a rebreak.
8741 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8743 * buffer.C (parseSingleLyXformat2Token): update because minipage
8744 width is now a LyXLength
8746 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8748 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8751 2002-01-17 Juergen Vigna <jug@sad.it>
8753 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8755 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8756 is set correctly and the inset is updated correctly.
8758 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8760 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8761 the beginning of the loop.
8763 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8765 * lyxrc.C: improve help for use_scalable_fonts
8767 2002-01-17 Allan Rae <rae@lyx.org>
8769 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8771 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8773 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8774 make sure to set their inset_owner to the right value (bug #171)
8776 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8779 * DepTable.C: Implement mtime checking to reduce time spent doing
8782 2002-01-16 Juergen Vigna <jug@sad.it>
8784 * tabular.C (GetAdditionalHeight): one of error fixed.
8786 * lyxrc.C (output): small fix in writing use_pspell.
8788 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8790 * sp_base.h: #include LString.h
8792 2002-01-16 Allan Rae <rae@lyx.org>
8794 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8795 Can someone check this please?
8797 * text.C (drawInset): It was possible that p.row would be removed by
8798 breakAgainOneRow upsetting a few other settings. There may be another
8799 small tweak possible by setting need_break_row = 0 when p.row has been
8800 removed but I don't know enough about the logic here.
8802 2002-01-15 Allan Rae <rae@lyx.org>
8804 * text.C (insertChar): removed conditional truism.
8806 * BufferView2.C (removeAutoInsets): More tweaks.
8807 cur_par_prev could be a stray pointer. Check for trailing empty line
8808 in case last line was cur_par and only had an error inset on it.
8810 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8812 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8815 * vc-backend.C (most methods):
8816 * exporter.C (Export):
8817 * converter.C (convert):
8819 * LyXSendto.C (SendtoApplyCB):
8820 * lyxfunc.C (dispatch):
8824 * lyx_cb.C (AutoSave):
8826 * BufferView_pimpl.C (MenuInsertLyXFile):
8827 * buffer.C (runChktex): use Buffer::filePath().
8829 * buffer.h: rename filename to filename_; rename filepath to
8830 filepath_ and make it private
8831 (filePath): new method
8833 * buffer.C (writeFile): use fileName()
8836 * lyx_main.C (init): fix starting of LyX when the binary is a
8837 link from so,ewhere else.
8839 * minibuffer.C: include <cctype> for isprint
8841 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8843 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8844 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8845 name clash with InsetCollapsable's width function.
8847 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8849 * lastfiles.C: include <iterator>
8851 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8853 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8856 * buffer.C (makeLaTeXFile): ditto.
8857 Also make loop operation more transparent.
8859 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8861 * ToolbarDefaults.C: remove trailing comma closing namespace.
8863 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8865 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8868 * trans.C (Load): comment out unused variable, allowed.
8870 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8872 * minibuffer.[Ch] (append_char): new method to recieve input from the
8873 drop-down completion browser. If a key was pressed, then recieve this
8874 char and append it to the existing string.
8875 (peek_event): modify the positioning data passed to the completion
8876 browser so that it can be placed above the minibuffer rather than below.
8877 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8879 * LyXAction.C (init): alloe error-next for readonly documents.
8881 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8884 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8886 * bufferlist.C (readFile): create the buffer _after_ checking that
8889 * lyxfunc.C (verboseDispatch): fix handling of arguments
8891 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8893 * lyxrc.C: use string::erase() instead of initializing to "".
8896 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8898 * BufferView_pimpl.h:
8899 * BufferView_pimpl.C:
8902 * text2.C: tell X when we have made a selection for copying
8904 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8906 * BufferView_pimpl.C (MenuInsertLyXFile):
8907 * lyxfunc.C (menuNew):
8909 (doImport): add shortcuts to directory buttons
8911 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8914 * lyxfunc.C (setStatusMessage):
8915 (getStatusMessage): new methods
8916 (getStatus):use setStatusMessage instead of setErrorMessage
8917 (dispatch): when function is disabled, set error message here
8918 [instead of in getStatus previously]
8920 * BufferView_pimpl.C (workAreaButtonRelease): update
8921 toolbar/menubar here too.
8923 2002-01-13 Allan Rae <rae@lyx.org>
8925 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8926 Now seems indestructible. Remaining task is to audit all other
8927 code affected by deleteEmptyParagraphMechanism. One small quirk
8928 left is that an empty document with an error in the preamble can
8929 be made to report an error but no error box appears. I don't know
8931 (removeAutoInsets): Improved comments.
8933 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8936 * Thesaurus.C: update for Aiksaurus 0.14
8938 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * text2.C (firstParagraph): removed member function, all uses
8941 replaces with ownerParagraph
8942 (redoParagraphs): here
8944 (toggleAppendix): here
8945 * BufferView2.C (insertErrors): here
8946 (setCursorFromRow): here
8948 2002-01-13 Allan Rae <rae@lyx.org>
8950 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8951 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8952 There is still a way to segfault this although you may have to do this
8953 multiple times: Have an InsetERT with an unknown command in it.
8954 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8955 <down-arrow>, <Enter> again, View->DVI, BANG!
8957 * text2.C (setCursor):
8958 (deleteEmptyParagraphMechanism):
8959 * lyxtext.h (setCursor):
8960 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8961 Making use of the return value may help fix other bugs.
8963 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8965 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8967 * LyXView.C (updateMenubar): call MenuBar::update here
8968 (updateToolbar): but not here
8969 (showState): do not update toolbar/menubar
8971 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8972 should need to care about that.
8974 * lyxfunc.C (verboseDispatch): simplify a bit
8975 (getStatus): have a version which takes a pseudoaction, and
8976 another which requires a (kb_action,string).
8978 * LyXAction.C (retrieveActionArg): make it work also when action
8979 is not a pseudo-action.
8980 (getActionName): simplify a bit
8983 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8985 * lyxfunc.C (verboseDispatch): new families of methods with
8986 several ways to specify a command and a bool to indicate whether
8987 the command name and shortcut should be displayed in minibuffer
8988 (eventually, we could extend that to a finer bitmask like
8989 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8990 (dispatch): the pristine dispatch command which just, well,
8991 dispatchs! Note it still sets its result to minibuffer; I'm not
8994 * lyxfunc.h: remove setHintMessage
8996 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8998 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9000 * BufferView_pimpl.C (specialChar): delete new inset if we have
9001 not been able to insert it.
9003 * kbmap.C: revert to using int instead of kb_action, since all we
9004 are dealing with is pseudo-actions.
9006 * LyXAction.C (searchActionArg): change to return int instead of
9007 kb_action, since the result is a pseudoaction.
9009 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9011 * buffer.C (insertErtContents): Fix (partially) the font bug.
9013 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9015 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9016 as the other one is broken on my machine!
9018 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9021 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9023 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9025 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9026 reflect their actual use. Provide compatibility code for older lyxrc
9029 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9031 change names of popup font variables in line with the changes to lyxrc.C
9033 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * buffer.C (asciiParagraph): avoid outputing a word twice after
9038 * lyxrc.C (getDescription): document that document_path and
9039 template_path can be empty.
9041 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9043 * LaTeXFeatures.C (getMacros):
9044 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9046 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9048 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9050 (getPackages): rename feature "floats" to "float". Use an array to
9051 iterate over 'simple' features (i.e. just a \usepackage). Add
9052 handling of "amsmath" (renamed from "amsstyle").
9054 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9056 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9059 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9061 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9062 FuncStaus::FuncStatus & FuncStaus::some_method().
9064 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9066 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9067 of the func_satus stuff. Edited and massaged in various ways by
9070 * lyxfunc.C (getStatus): use FuncStatus
9072 2002-01-08 Juergen Vigna <jug@sad.it>
9074 * text.C (nextBreakPoint): use function Inset::isChar().
9076 * paragraph.C (TeXOnePar): use function
9077 Inset::forceDefaultParagraphs.
9079 * buffer.C (latexParagraphs): use function
9080 Inset::forceDefaultParagraphs.
9082 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9084 * lyx_gui.C (init): set the style of the menu popups to
9085 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9087 2002-01-07 Juergen Vigna <jug@sad.it>
9089 * text.C (setHeightOfRow): small fix
9090 (prepareToPrint): don't look at alignment if we don't have the place
9093 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9095 * box.C: New file. Move the Box methods and functions out of box.h,
9096 following Lars' suggestion.
9098 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9100 * box.h: #include "support/LOstream.h", needed for inlined function.
9103 * lyxtextclasslist.C: added some using std declarations.
9105 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9107 * box.h: make signed dimensions to allow insets wider than
9108 the screen (bug #162)
9110 * BufferView_pimpl.C: add some insetHit debug
9112 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9114 * vc-backend.C: add FIXME
9116 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9118 * lyxfunc.C (getStatus): enable code for showing math font status
9121 2002-01-07 Juergen Vigna <jug@sad.it>
9123 * text.C (nextBreakPoint): removed debug output not needed anymore.
9125 2002-01-06 Juergen Vigna <jug@sad.it>
9127 * text.C (nextBreakPoint): fixed up this function we had this bug
9128 since ever but now hopefully we break row better.
9129 (insertChar): we have to check if an inset is the next char as it
9130 could now happen that a large inset is causing a break.
9132 2002-01-05 Juergen Vigna <jug@sad.it>
9134 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9135 if it doesn't like to be drawed.
9137 2002-01-04 Juergen Vigna <jug@sad.it>
9139 * BufferView2.C (lockInset): forgot to set a cursor.
9141 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9143 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9148 * form_maths_panel.C:
9149 * form_maths_panel.h:
9150 * form_maths_panel.fd: implemented sub- and super- buttons in math
9153 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9154 (or ^ space) to be used as in TeX (req'd by André).
9156 * lyxfunc.C: Allow ^ and _ again to be used both as
9157 super/subscript (mathed) and as themselves (in text).
9159 2002-01-03 Allan Rae <rae@lyx.org>
9161 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9162 "LyX" or the filename of the current buffer if it has one. This is a
9163 modified form of John Levon's patch.
9165 * XFormsView.C (setWindowTitle): also set icon title.
9167 * LyXView.h (setWindowTitle): signature changed.
9168 * XFormsView.h (setWindowTitle): ditto.
9170 2002-01-02 Juergen Vigna <jug@sad.it>
9172 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9174 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9176 * screen.C (topCursorVisible): introduce a temp var for
9177 text->cursor.row(), handle the case where this row is null. (kindo
9180 * text2.C (setCursor): add a couple of asserts.
9182 * paragraph.h (inset_iterator): add -> operator
9184 * paragraph.[Ch] (autoDeleteInsets): remove member function
9186 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9187 cursor pos correctly and handle inset deletion by itself.
9188 (insertErrors): move iterator declaration out of for expression
9190 * lyxtextclass.C: add <algorithm>
9192 * Makefile.am: added the new files to sources, removed layout.C
9194 * layout.C: removed file
9196 * layout.h: remove LYX_DUMMY_LAYOUT
9198 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9202 * lyxtextclass.[Ch]:
9203 * lyxtextclasslist.[Ch]: new files
9205 * include order changes to a lot of files, also changes because of
9208 2001-12-27 Juergen Vigna <jug@sad.it>
9210 * buffer.C (asciiParagraph): more fixes.
9212 * tabular.C (ascii): make ascii export support export of only the
9213 data separated by a column-delimiter.
9214 (ascii): better support for ascii export.
9216 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9218 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9220 * tabular_funcs.C: use a "using std::getline" instead of the
9221 previous fix from Angus (necessary for cxx + lyxstring)
9223 2001-12-24 Juergen Vigna <jug@sad.it>
9225 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9227 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9228 problems. First check a minipage also if we have some ert-contents
9229 (not only on par->size(), second set the right depth of the paragraph
9230 on the relink to the root-paragraph-list!
9232 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9233 which then did not anymore update the main paragraphs on undo/redo!
9235 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9237 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9238 code. Support all font-changing funcs (even those which are not in
9239 menu currently). Support for reporting font settings in
9240 mathed (disabled until Andre provides a function on mathed's side).
9242 * func_status.h (toggle): small helper function to set toggle
9245 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9247 * tabular_funcs.C: getline -> std::getline
9249 2001-12-21 Juergen Vigna <jug@sad.it>
9251 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9252 accessed and could be 0 (I couldn't generate this but it seems
9255 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9258 * tabular_funcs.h: here and include iosfwd
9260 2001-12-20 Juergen Vigna <jug@sad.it>
9262 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9263 inside inset but undo_par was.
9265 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9267 * Thesaurus.C: always include <config.h> in sources.
9271 * box.h: do not include <config.h> in header files
9273 * text.C (paintLastRow): remove unused variable
9275 * text.C (transformChar):
9277 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9280 * font.C (width): rewrite to use uppercase() instead of
9283 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9285 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9287 * lyxfind.C: clean up of find failure position change
9289 2001-12-20 Juergen Vigna <jug@sad.it>
9291 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9293 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9294 (TeXRow): added to LaTeX a single tabular row.
9295 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9296 (Latex): simplified and finally good LT-h/f support.
9297 (various_functions): just small adaptions for LT-h/f support.
9299 * tabular_funcs.[hC]: added and moved here all not classfunctions
9302 2001-12-19 Juergen Vigna <jug@sad.it>
9304 * tabular.[Ch]: better support for longtabular options (not finished
9307 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9309 * text.C (paintLastRow): use the label font instead of the font of
9310 the last character to compute the size of *_BOX. This makes more
9311 sense and avoids a crash with empty paragraphs.
9312 Use Painter::rectangle to draw EMPTY_BOX.
9314 2001-12-19 Juergen Vigna <jug@sad.it>
9316 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9317 the paragraphs if the replaced paragraph is not the first one!
9318 Tried to delete not used paragraphs but does not work yet so for
9319 now it's inside #ifdef's and by default off!
9321 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9323 * MenuBackend.C: include "lyx_main.h" instead of declaring
9324 lastfiles (actually was declared as LastFiles* instead of a
9327 2001-12-17 Juergen Vigna <jug@sad.it>
9329 * tabular.C (AppendColumn): applied John's fix
9331 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9335 * BufferView_pimpl.h:
9336 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9339 * box.h: new start of class for above
9341 * lyxfunc.C: ignore space-only minibuffer dispatches.
9342 Show the command name when it doesn't exist
9344 * minibuffer.C: don't add empty lines to the history
9346 * minibuffer.C: add a space on dropdown completion
9348 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9350 * text.C: fix line above/below drawing in insets
9352 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * lyxlength.C (LyXLength): Initialize private variables.
9356 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9359 when inserting error insets.
9361 2001-12-13 Juergen Vigna <jug@sad.it>
9363 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9364 actually sometimes the before-paragraph.
9365 (setUndo): don't clear the redostack if we're not actually undoing!
9367 2001-12-06 Juergen Vigna <jug@sad.it>
9369 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9370 and fixed redoing of main paragraph, so we can use it now ;)
9372 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9374 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9376 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9379 2001-12-13 André Pönitz <poenitz@gmx.net>
9382 * undo_func.C: minor cleanup
9384 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9386 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9387 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9388 font in urw-fonts package which is marked as -urw-fontspecific and
9389 does not work (incidentally, changing the encoding in the
9390 fonts.dir of this package to -adobe-fontspecific fixes the
9393 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9394 is a crash when undoing first paragraph (Juergen, please take a
9395 look). THis does not mean the undo fix is wrong, just that it
9398 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9399 the (Paragraph*) version when needed instead of duplicating the
9402 * text.C (workWidth): use Inset::parOwner to find out where the
9403 inset has been inserted. This is a huge performance gain for large
9404 documents with lots of insets. If Inset::parOwner is not set, fall
9405 back on the brute force method
9407 * paragraph_pimpl.C (insertInset):
9408 * paragraph.C (Paragraph):
9409 (cutIntoMinibuffer): set parOwner of insets when
9410 inserting/removing them
9412 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9414 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9420 * mathed/formulabase.C:
9421 * mathed/math_cursor.[Ch]:
9422 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9425 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9427 * lyxlength.[Ch] (operator!=): new function
9429 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9431 * text.C (workWidth): use Inset::parOwner to find out where the
9432 inset has been inserted. This is a huge performance gain for large
9433 documents with lots of insets. If Inset::parOwner is not set, fall
9434 back on the brute force method
9436 * paragraph_pimpl.C (insertInset):
9437 * paragraph.C (Paragraph):
9438 (cutIntoMinibuffer): set parOwner of insets when
9439 inserting/removing them
9441 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9443 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9445 * tabular-old.C (getTokenValue):
9446 * tabular.C (getTokenValue):
9447 (write_attribute): new versions for LyXLength
9448 (everywhere): adjust the use of widths
9450 * tabular.h: change the type of widths from string to LyXLength
9452 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9454 * paragraph.C: fixed missing line number count when exporting
9455 Environments to LaTeX file
9457 * buffer.C: added informational message for checking line numbers.
9459 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9461 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9462 paragraph, do the 'double space' part, but not the 'empty
9465 * text.C (workWidth): small optimization
9466 (getLengthMarkerHeight): use minimal size for negative lengths.
9468 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9470 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9472 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9474 2001-12-11 André Pönitz <poenitz@gmx.net>
9477 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9479 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9481 * text2.C: keep selection on a setFont()
9483 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9485 * lyx_cb.C: another bv->text misuse, from insert label
9487 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9490 * kbsequence.C: re-instate nmodifier mask
9492 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9494 * lyx_main.h: make lyxGUI private.
9496 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9498 * lyxfind.C: place the cursor correctly on failed search
9500 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * text.C (getLengthMarkerHeight): for small heights, the arrows
9503 are not always on top/bottom of the text
9504 (drawLengthMarker): smaller arrows; take the left margin in
9505 account; draw also vfills.
9507 (paintLastRow): remove special code for vfill and standard spaces,
9508 since everything is handled in drawLengthMarker now.
9510 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9512 * buffer.C (insertErtContents): try to handle font and language
9513 interaction a bit better.g
9515 * ColorHandler.C (updateColor): change the hash to cover the whole
9516 LColor enum, ws cleanup
9517 (getGCLinepars): ditto
9518 (getGCLinepars): only lookup in the linecache once.
9520 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9522 * iterators.C (operator++): Make the iterator more robust
9524 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9526 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9528 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9531 * text.C: better added space drawing
9533 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9536 * BufferView2.C: fix layout combo update on inset unlock
9538 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9540 * Makefile.am: don't compile unused files
9542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9546 * LyXAction.C: remove old LFUN_LAYOUTNO
9548 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9550 * paragraph_pimpl.h:
9551 * paragraph_pimpl.C: isTextAt() doesn't need font param
9553 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9556 * lyxlex.C: little cleanup
9558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9560 * BufferView_pimpl.C: fix insertAscii for insets
9562 2001-12-05 Juergen Vigna <jug@sad.it>
9564 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9565 set the right font on the "multi" paragraph paste!
9567 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * lyxlength.C: remove out-commented code.
9589 * vc-backend.C: change "while(" to "while ("
9591 * lyxlength.[Ch]: add zero function to check if length is zero or
9593 * lyxgluelength.C: use it
9595 2001-12-05 Allan Rae <rae@lyx.org>
9597 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9598 Works for 2.95.3, from what I understand of Garst's reports this should
9599 work for other g++ versions. We're screwed if the abs(int) definition
9600 changed between bugfix releases of gcc.
9602 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9604 * text.C: fix chapter label offset !
9606 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9609 * text.C: fix hfill at end of line, clean up
9611 2001-12-04 Juergen Vigna <jug@sad.it>
9613 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9614 that we force an update of the inset and it's owners if neccessary.
9616 2001-12-03 Juergen Vigna <jug@sad.it>
9618 * text.C (rowLast): simplified code
9620 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9622 * lyxfunc.C: fix show options on timeout
9624 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9626 * screen.C (topCursorVisible): scroll half a page when the cursor
9627 reached top of bottom of screen
9629 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9631 * minibuffer.C: deactivate on loss of focus
9633 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9635 * vspace.[Ch] (operator!=): add operator.
9637 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9639 * BufferView_pimpl.C: refuse to open an inset when
9640 there's a selection.
9642 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9644 * BufferView_pimpl.C: allow to click on RHS of full row insets
9646 2001-11-30 Juergen Vigna <jug@sad.it>
9648 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9649 insets for undo reasons.
9651 2001-11-28 André Pönitz <poenitz@gmx.net>
9653 * vspace.[Ch]: cosmetical changes
9655 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9665 * kbsequence.C: part re-write of old kb code
9668 * WorkArea.C: remove Lgb_bug_find_hack
9670 2001-11-30 José Matos <jamatos@fep.up.pt>
9672 * buffer.C (makeDocBookFile): add a comment to point a hack.
9673 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9674 Fixed a double write of labels.
9676 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9679 * LaTeX.h Fixed bug in LaTeX class where it would not
9680 re-run latex if no depfiles were changed, but the .dvi was removed.
9682 2001-11-28 André Pönitz <poenitz@gmx.net>
9684 * all the files from the change on 2001/11/26:
9685 use lyx::layout_type instead of LyXTextClass::size_type
9686 use lyx::textclass_type instead of LyXTextClassList::size_type
9688 2001-11-29 Juergen Vigna <jug@sad.it>
9690 * text.C: added support for paragraph::isFreeSpacing()
9692 * buffer.C: same as above
9694 * paragraph.h: inserted isFreeSpacing() function to enable
9695 FreeSpacing inside InsetERT.
9697 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9698 of the paragraph's in the cut/copy buffer to 0!
9700 * text2.C (removeRow): remove the assert as it can!
9702 * lyxtext.h: added helper function firstRow returning firstrow and
9703 made firstrow private again.
9705 * BufferView2.C (lockInset): don't relock if we're already locked!
9707 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9709 (removeRow): added Assert::(firstrow)
9711 * debug.C: forgot to add INSETTEXT here.
9713 2001-11-28 Juergen Vigna <jug@sad.it>
9715 * sp_spell.C (initialize): changed error text to more general
9716 spellchecker command use (not only ispell!)
9718 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9720 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9722 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9724 * vspace.C: initialise lyxgluelength on failure
9726 2001-11-28 Allan Rae <rae@lyx.org>
9728 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9729 declaration & definition that looks like a function declaration.
9731 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * BufferView2.C (copy):
9734 (copyEnvironment): do not clear the selection when doing a copy.
9736 * text.C (paintFirstRow): compilation fix
9738 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9740 * tabular.C (Latex): correct line count when writing latex.
9742 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9744 * paragraph_pimpl.h:
9745 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9748 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9752 * LColor.C: change vfillline->added_space
9754 * text.C: add markers and text for added space
9756 * vspace.C: fix comment
9758 2001-11-28 André Pönitz <poenitz@gmx.net>
9760 * paragraph.C: whitespace changes
9761 * all the other files from the change on 2001/11/26:
9762 change *::pos_type into lyx::pos_type
9764 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9766 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9767 language of the document when inserting error insets.
9769 2001-11-26 André Pönitz <poenitz@gmx.net>
9771 * BufferView_pimpl.[Ch]:
9779 * paragraph_pimpl.[Ch]:
9782 * text2.C: reduce header dependencies, introduce type for positions
9784 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9786 * <various>: change to use Alert.h
9788 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9790 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9791 when encountering an unknown token.
9792 (readLyXformat2): Show an error message if there were unknown tokens.
9794 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9797 * BufferView_pimpl.C:
9801 * text2.C: use par->isInset()
9803 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9805 * paragraph_pimpl.h:
9806 * paragraph_pimpl.C: cleanup
9808 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9810 * text2.C (removeRow):
9811 * text.C (setHeightOfRow): remove useless (and costly) call to
9814 2001-11-20 Allan Rae <rae@lyx.org>
9816 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9817 Now need Inset*::checkInsertChar() to return true for appropriate
9818 cases so that the characters in the minibuffer will actually be
9821 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9823 * text.C: change the order of the includes.
9824 (workWidth): initialize it at once.
9825 (workWidth): make maxw unsigned
9826 (setHeightOfRow): remove unused variable (inset)
9827 (selectSelectedWord): remove unused variable (inset)
9828 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9830 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9832 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9833 server is not running.
9835 (closeConnection): add debug info when server is disabled.
9837 * ColorHandler.C (getGCForeground): send debug message to GUI
9840 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9842 * kbmap.C (bind): modify because return conventions of
9843 kb_sequence::parse have changed.
9845 * kbsequence.C (parse): only ignore spaces and not any stupid
9846 control character. This avoids tests like s[i] <= ' ', which are
9847 guaranteed to fail with 8bit characters and signed chars.
9848 Change return code to string::npos when there have been no error
9849 (0 was a bad idea when error is at first character)
9851 2001-11-14 José Matos <jamatos@fep.up.pt>
9854 * buffer.C (simpleDocBookOnePar): removed unused argument.
9856 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9858 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9859 insets which are part of a word. Paragraph::isLetter takes care of
9860 that now. Use Paragraph::isInset to identify insets.
9861 (selectSelectedWord): do not test for hyphenation break.
9863 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9864 that protected spaces are considered as spaces.
9866 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9869 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9872 * lyxserver.C: fix it. and small cleanup.
9874 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9876 * BufferView_pimpl.C: use inline helpers
9879 * LaTeXFeatures.C: fix typos
9882 * Spacing.C: move spacing_string into class
9884 * ToolbarDefaults.C: move stuff into namespace anon
9886 * layout.h: update enum
9888 * lyxfunc.C: use better debug
9890 * minibuffer.h: fix typo
9894 * WorkArea.C: add and use Debug::WORKAREA
9898 * text2.C: code re-organisation, inline helpers
9900 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9902 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9903 std::vector.empty().
9905 2001-11-09 Allan Rae <rae@lyx.org>
9907 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9908 '\n's after tables. Tabular and ERT inset work now makes this no
9911 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9914 * minibuffer.C: fix crash, improve drop-down completion
9916 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9919 * lyxserver.C: invalidate fd's when doing endPipe()
9921 2001-11-08 José Matos <jamatos@fep.up.pt>
9923 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9924 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9927 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9929 2001-11-07 José Matos <jamatos@fep.up.pt>
9932 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9935 * buffer.C (sgmlOpenTag):
9936 * buffer.C (sgmlCloseTag): removed debug info.
9938 * buffer.h (sgmlOpenTag):
9939 * buffer.h (sgmlCloseTag): made public.
9941 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9943 * buffer.C (saveParamsAsDefaults):
9944 * lyx_cb.C (MenuLayoutSave): remove
9946 * LyXAction.C (init):
9948 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9950 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9952 * buffer.C (setPaperStuff): removed from here...
9954 * bufferparams.C (setPaperStuff): ... and moved there.
9956 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9960 * XFormsView.C: add support for drop-down completion
9962 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9964 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9967 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9969 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9972 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9974 * lyx_main.C: change ref to known bugs
9976 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9978 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9979 to work around older babel problems.
9981 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9983 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9985 2001-10-24 Juergen Vigna <jug@sad.it>
9987 * tabular-old.C (ReadOld): below variable changes reflected.
9989 * tabular.[Ch]: added ltType struct for longtable header/footer
9990 defines and changed all instances where they are used. Added
9991 future support for double top/bottom rows.
9993 2001-10-24 José Matos <jamatos@fep.up.pt>
9995 * buffer.h (docbookHandleCaption):
9996 * buffer.C (docbookHandleCaption): removed unused function.
9997 (makeDocBookFile): moved docbook supported version to v4.1.
9999 2001-10-24 José Matos <jamatos@fep.up.pt>
10002 * tabular.C (docbookRow): new function to export docbook code of a row.
10003 (DocBook): now honors the longtable flags.
10005 2001-10-23 José Matos <jamatos@fep.up.pt>
10008 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10009 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10011 * buffer.C (makeLinuxDocFile):
10012 (makeDocBookFile): reworked the preamble, more clean, and with
10013 support for lyx defined entities. Changed the document declaration
10014 to be more XML friendly.
10016 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10017 if we need to output XML that should be done with a filter.
10019 2001-10-22 Juergen Vigna <jug@sad.it>
10021 * sp_pspell.h (class PSpell): add alive function needed in the
10022 controller to see if the spellchecker could be started.
10024 2001-10-22 Juergen Vigna <jug@sad.it>
10026 * buffer.C (insertStringAsLines): modify the font for inserting
10027 chars in certain conditions by calling checkInsertChar(font).
10029 2001-10-19 Juergen Vigna <jug@sad.it>
10031 * text.C (workWidth): use getRow instead of wrong algorithm.
10032 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10034 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10039 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10041 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * text.C (workWidth): do not search for the exact row when
10044 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10045 optimization for big documents.
10047 2001-10-18 Juergen Vigna <jug@sad.it>
10049 * text.C (workWidth): new function with added Inset * parameter.
10051 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10055 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10056 change return type of getColumnNearX.
10059 * text.C (changeRegionCase): use uppercase/lowercase instead of
10062 (rightMargin): simplify code by factoring out the uses of
10067 (appendParagraph): use Paragraph::size_type
10069 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10071 * vspace.C (asLatexString): add a missing break
10073 2001-10-15 Herbert Voss <voss@perce.de>
10075 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10077 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10079 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10082 2001-10-10 André Pönitz <poenitz@gmx.net>
10084 * lyxfunc.C: removed greek_kb_flag.
10086 2001-10-10 Herbert Voss <voss@perce.de>
10088 * lyx_main.C: delete global string help_lyxdir.
10090 2001-10-09 Herbert Voss <voss@perce.de>
10092 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10094 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10096 * lyx_main.C: added global string help_lyxdir.
10098 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10100 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10102 * lyxrc.C (set_font_norm_type): support iso8859-4
10104 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10106 * LaTeX.C (deplog): add another regex for MikTeX
10108 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10110 * lyxrc.C (set_font_norm_type): support iso8859-3
10112 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10114 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10116 * LaTeXFeatures.C: remove special case of french and index
10118 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10119 before \begin{document}). This solves several incompatibilities.
10121 2001-10-03 Garst Reese <reese@isn.net>
10123 * lyx_cb.C: change CheckTex error msg.
10125 2001-10-03 José Matos <jamatos@fep.up.pt>
10127 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10129 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10131 * .cvsignore: update
10133 * lyx_main.C (commandLineVersionInfo): use new style version info.
10135 * buffer.C (writeFile):
10137 (makeLinuxDocFile):
10138 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10140 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10142 * version.h: update to use stuff in version.C
10144 * version.C.in: new file. Contains version information determined
10145 at compile time. This is a merging of version.h and
10148 2001-10-03 Juergen Vigna <jug@sad.it>
10150 * BufferView_pimpl.C (update): don't change "dirty" status in
10153 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10155 * WorkArea.C (c-tor): re-position version string slightly.
10157 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10159 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10160 revert to previous code.
10162 WorkArea.[Ch]: (show, destroySplash): methods removed.
10164 WorkArea.C: rework code so that it's an amalgam of the codes before and
10165 after the splash screen was moved to WorkArea.
10167 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * vspace.C (inPixels):
10173 * buffer.C (insertStringAsLines):
10174 (asciiParagraph): fix types to be large enough
10176 * lyxlex_pimpl.h: change member status from short to int
10178 * layout.h: fix type of endlabeltype
10181 * kbsequence.C (parse): change return type to string::size_type
10183 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10186 * Bullet.C (bulletSize):
10187 (bulletEntry): do not use short ints as parameters
10189 * BufferView2.C (insertLyXFile): change a char to an int.
10191 * WorkArea.C (WorkArea): remove unneeded floats in computation
10193 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10195 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10197 * paragraph.C (asString): Do not ignore newline/hfill chars when
10198 copying to the clipboard.
10200 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10202 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10203 after a multi-line inset.
10205 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10207 * paragraph.C (validate): Set NeedLyXFootnoteCode
10209 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10211 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10212 and decrease-error to decrease.
10214 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10216 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10217 it more readable (should be equivalent)
10219 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10221 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10223 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10226 of a cursor (row, etc.) after a character has been deleted
10227 (deleteEmptyParagraphMechanism): call the method above on _all_
10228 cursors held by the LyXText when a double space has been
10231 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10233 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10235 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10237 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10238 background. Use greyOut() and the new show() methods to toggle between
10239 the foreground and background. Add code to remove the splash after
10240 its initial showing.
10242 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10243 (create_forms): no longer call Dialogs::showSplash.
10245 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10247 * .cvsignore: add version_info.h
10249 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10251 * version_info.h.in: new file
10253 * Makefile.am: add version_info.h.in
10255 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10256 version_info.h instead of VERSION_INFO
10258 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10260 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10261 The ERT inset now returns string().
10263 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10265 * lyxtext.h, text.C (selectNextWord): renamed as
10266 selectNextWordToSpellcheck.
10268 * text.C (selectNextWordToSpellcheck): Modified to not select
10269 words inside an ERT inset.
10271 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10273 * lyx_cb.C (MenuLayoutSave): change a bit the question
10275 * sp_base.h: include <sys/types.h>
10277 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10279 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10281 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10283 * several files: fix typos in user-visible strings
10285 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10287 * text2.C (pasteSelection): do not set the selection, since it
10288 will be cleared later. Actually, the intent was to fix the way the
10289 selection was set, but I figured rmoving the code was just as good.
10291 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10293 * FontLoader.C (available): Check if font is available without
10296 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10298 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10300 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10302 * lyxrc.[Ch]: added display_graphics variable and associated code.
10304 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10306 * bufferparams.C (hasClassDefaults): new method. Returns true if
10307 the buffer parameters correspond to known class defaults
10309 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10311 * XFormsView.C (show): set minimum size to the main window.
10313 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10315 * text2.C (copySelection):
10317 * lyxfind.C (LyXReplace):
10318 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10319 LyXText::selectionAsString.
10321 * paragraph.C (asString): add "label" argument to the second form
10323 * text2.C (selectionAsString): add "label" argument and pass it to
10324 Paragraph::asString.
10326 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * lyx_main.C (commandLineHelp): remove version information
10330 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10332 * lyx_main.C: add -version commandline option
10334 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10336 * paragraph.h: make the optional constructor arg required instead.
10337 some modifications to other files because of this.
10339 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10341 * lyxserver.C (C_LyXComm_callback): make it static
10343 * lyx_main.C (error_handler): make it static
10345 * lyx_gui.C (LyX_XErrHandler): make it static
10347 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10349 * WorkArea.C: make the extern "C" methods static.
10351 * Makefile.am (lyx_LDADD): simplify
10353 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10355 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10356 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10358 * LyXAction.C (init):
10359 * lyxfunc.C (dispatch): associated code removal.
10361 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * lyxfont.h (isSymbolFont): shut off warning
10365 * text.C (setHeightOfRow):
10366 (getVisibleRow): fix crash with empty paragraphs which have a
10369 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10371 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10374 2001-09-04 José Matos <jamatos@fep.up.pt>
10377 * tabular.C (docbook): rename docBook method to docbook.
10379 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10381 * Makefile.am: add dependencies to main.o.
10383 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10385 * FontLoader.C (available): Return false if !lyxrc.use_gui
10387 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10389 * FontInfo.C (query):
10390 * converter.C (view):
10391 * importer.C (Import):
10392 * exporter.C (Export): Can not -> cannot.
10394 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10396 * BufferView_pimpl.C: allow to create index inset even if
10399 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10401 * buffer.C (getLists): replace boost::tie code with an explicit pair
10402 as boost::tie can break some compilers.
10404 * iterators.h: Added a std:: declaration to the return type of
10407 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10409 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10412 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10414 * iterators.[Ch]: New files. Provide paragraph iterators.
10416 * buffer.C (changeLanguage): Use paragraph iterators.
10417 (isMultiLingual): ditto
10419 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10421 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10423 * FontLoader.C: Support for cmr font.
10425 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10427 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10428 (available): New method.
10430 * FontInfo.C (getFontname): Use scalable fonts even when
10431 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10434 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10436 * converter.C (Formats::view): reverted! Incorrect fix.
10438 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10440 * converter.C (Formats::view): only output the -paper option
10441 if the dvi viewer is xdvi, thereby fixing bug #233429.
10443 2001-08-23 Herbert Voss <voss@perce>
10445 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10447 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10449 * Spacing.h (Spacing): Set space to Default on in the default
10452 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10454 * vc-backend.h (RCS::versionString): add RCS to version
10455 (CVS::versionString): add CVS to version
10457 * vc-backend.C (scanMaster): do not add CVS to version.
10458 (scanMaster): do not add RCS to version
10460 * lyxvc.C (versionString): new method
10462 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10464 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * Spacing.C (set): initialize fval
10468 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10470 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10473 2001-08-16 Juergen Vigna <jug@sad.it>
10475 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10477 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10479 * BufferView_pimpl.C:
10482 * text2.C: setParagraph takes linespacing now
10484 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10486 * LyxAction.C: add internal LFUN_CITATION_INSERT
10488 * LyXView.C: actually apply fix
10490 * bufferlist.C: fix open non-existent file
10492 * lyxfind.C: fix indentation
10494 * lyxfunc.C: remove unneeded assert, fix typo
10496 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10498 * MenuBackend.C: use "Floatname List"
10500 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10502 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10503 when converting LaTeX layout to insetERT.
10504 Generate a non-collapsed float when reading old float
10506 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10508 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10511 2001-08-13 Juergen Vigna <jug@sad.it>
10513 * text.C (fill): return 0 instead of 20 as this seems to be the more
10516 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10518 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10521 2001-08-13 Juergen Vigna <jug@sad.it>
10523 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10525 (SearchBackward): comment out the unlocking of the inset_owner this
10526 should not be needed!
10528 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10530 * Many files: Remove inherit_language, and add latex_language
10532 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10533 collapsible insets.
10535 2001-08-10 Juergen Vigna <jug@sad.it>
10537 * text.C (prepareToPrint): fixed hfill-width in draw!
10539 * BufferView2.C (selectLastWord): save the selection cursor as this
10540 now is cleared in the function LyXText::clearSelection!
10542 2001-08-08 Juergen Vigna <jug@sad.it>
10544 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10545 BACKSPACE type functions.
10547 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10548 is only cutted from the document but not put in the cut-buffer, where
10549 still the old stuff should be.
10551 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10553 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10555 * tabular.C (SetWidthOfCell): fixed special case where the width
10557 (LeftLine): handle '|' in align_special.
10559 (LeftAlreadyDrawed): ditto
10560 (SetWidthOfCell): ditto
10562 2001-08-07 Juergen Vigna <jug@sad.it>
10564 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10566 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10569 * lyxlex.[hC]: ditto
10571 2001-08-06 Juergen Vigna <jug@sad.it>
10573 * text.C (getVisibleRow): fix up row clearing a bit.
10575 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10577 * minibuffer.C: make sure the X server sees the changes in the input.
10579 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10581 * paragraph.C (getFont): split into...
10582 (getLabelFont): this
10583 (getLayoutFont): and this
10584 * paragraph_pimpl.C (realizeFont): calling this
10586 * text2.C (getFont): split into...
10587 (getLayoutFont): this
10588 (getLabelFont): and this
10589 (realizeFont): all three calling this
10591 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10594 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10596 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10598 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10600 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10601 layouts from the Quote inset insertion.
10603 2001-08-03 Juergen Vigna <jug@sad.it>
10605 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10607 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10608 only if status not is already CHANGED_IN_DRAW (second level).
10610 * text.C (draw): don't set the need_break_row when inside an
10613 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * buffer.C (parseSingleLyXformat2Token): handle more latex
10618 * bufferview_funcs.[hC]: change function names to
10619 begin with small char, adjust other files.
10621 2001-08-02 André Pönitz <poenitz@gmx.net>
10624 BufferView_pimpl.C: remove broken special code for math-greek
10626 2001-08-02 Juergen Vigna <jug@sad.it>
10628 * BufferView_pimpl.C (update): redone this function so that we
10629 update the text again if there was a CHANGE_IN_DRAW.
10631 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10632 (drawFromTo): added a new internal bool which is used by draw() and
10634 (general): some cursor drawing problems fixed.
10636 2001-08-01 Juergen Vigna <jug@sad.it>
10638 * lyxfind.C (LyXFind): fixed
10639 (SearchForward): ditto
10640 (SearchBackward): ditto
10642 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10643 spurius drawing of the cursor in the main area.
10645 * text2.C (status): small fix which could lead to a segfault!
10646 (clearSelection): remove unneeded BufferView param.
10648 2001-08-01 André Pönitz <poenitz@gmx.net>
10650 * lyxfunc.C: small change due to changed mathed interface
10652 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10654 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10656 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10658 * lyxfunc.c: fail gracefully if file doesn't exist
10663 * BufferView_pimpl.C: IsDirWriteable() proto changed
10665 * LyXView.C: fix updateWindowTitle() to store the last title
10667 2001-07-31 Juergen Vigna <jug@sad.it>
10669 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10670 the font (wrong since using of Paragraph::highestFontInRange).
10672 * paragraph.C (highestFontInRange): added a default_size parameter.
10674 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10675 (setHeightOfRow): reformat
10677 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * converter.[hC] + affected files: move to (inital-char)lowercase
10682 * ParagraphParameters.C (ParagraphParameters): remove commented code
10684 * PainterBase.[Ch]: remove commented code
10686 * LaTeXFeatures.h: add "bool floats" for float.sty
10688 * LaTeXFeatures.C (LaTeXFeatures): init floats
10689 (require): handle float
10690 (getPackages): do it with floats
10692 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10694 * BufferView_pimpl.C (Dispatch): improve handling of
10695 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10697 * commandtags.h: #include lyxfont.h here temporarily to avoid
10700 * bufferlist.h: include LString.h here.
10702 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10704 * text2.C (getStringToIndex): new method.
10706 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10708 * *: Reduced header file dependencies all over.
10710 2001-07-30 Baruch Even <baruch@lyx.org>
10712 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10714 2001-07-29 Baruch Even <baruch@lyx.org>
10716 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10718 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10720 * ParameterStruct.h (endif): add a default constructor to make
10721 sure that all variables is initialized.
10723 * ParagraphParameters.C (ParagraphParameters): adjust
10725 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10728 index; also, check that there is something to index, and that it
10729 does not span over several paragraphs.
10730 (doubleClick): use WHOLE_WORD_STRICT for double click.
10732 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10734 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10737 2001-07-26 Baruch Even <baruch@lyx.org>
10739 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10740 an InsetFig figure, backwards compatible reading of old figure code.
10742 2001-07-27 Juergen Vigna <jug@sad.it>
10744 * text2.C: font.realize function adaption.
10746 * text.C (draw): add a warnings lyxerr text if needed.
10748 * layout.C: font.realize function adaption.
10750 * language.C: add inherit_language and implement it's handlings
10752 * bufferview_funcs.C (StyleReset): remove language parameter from
10753 font creation (should be language_inherit now).
10755 * bufferparams.C (writeFile): handle ignore_language.
10757 * paragraph.C (getFontSettings): the language has to be resolved
10758 otherwise we have problems in LyXFont!
10760 * lyxfont.C (lyxWriteChanges): added document_language parameter
10761 (update): removed unneeded language parameter
10763 * paragraph.C (validate): fixed wrong output of color-package when
10764 using interface colors for certain fonts in certain environments,
10765 which should not seen as that on the final output.
10767 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10769 * BufferView_pimpl.C:
10774 * LyXAction.C: add thesaurus support
10777 * lyxfind.C: add "once" parameter, for thesaurus, to not
10778 move to the next match
10780 2001-07-26 Juergen Vigna <jug@sad.it>
10782 * lyxfont.C (realize): honor ignore_language too!
10785 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10787 * text.C (draw): one place more for ignore_language to not draw
10790 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10792 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10794 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10796 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10797 the minipage conversion problem.
10799 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10801 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10804 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10806 * BufferView.h: don't forward declare WorkArea
10808 * BufferView.C: don't include WorkArea.h
10810 2001-07-25 André Pönitz <poenitz@gmx.net>
10814 * lyxfunc.C: new LFUN 'math-space'
10816 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10818 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10820 * text2.C (toggleInset): call open/close
10822 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * lyxfunc.C (dispatch): add debug for the disabled case
10826 * font.C (buttonText): make similar to rectText
10828 * buffer.C (readInset): comment out parsing of insetlist and
10831 * PainterBase.C (rectText): small correction
10833 * BufferView_pimpl.C: comment out insettheorem and insetlist
10834 * LyXAction.C: ditto
10835 * commandtags.h: ditto
10837 2001-07-24 Juergen Vigna <jug@sad.it>
10839 * text.C (draw): honor the ignore_language.
10841 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10843 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10845 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10848 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10850 * lyxtext.h: remove unused (and unimplemented) methods
10852 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10854 * text.C (getVisibleRow): honor background color
10857 * Painter.h: remove default color argument for fillRectangle
10859 * text.C (backgroundColor): new method
10861 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10863 * text.C (getVisibleRow): adjust
10865 * font.[Ch] (rectText): new method, metrics
10866 (buttonText): new method, metrics
10868 * PainterBase.[hC]: make rectText and buttonText always draw and take
10871 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10873 * ToolbarDefaults.C (read):
10874 * MenuBackend.C (read): allow escaping in all strings
10876 * BufferView_pimpl.C (insertAndEditInset): new method.
10877 (Dispatch): use insertAndEditInset whenever appropriate.
10879 * BufferView_pimpl.C (insertNote): removed
10881 * BufferView_pimpl.C (smartQuote): new method, moved from
10882 BufferView; if an insetquote cannot be inserted, insert a '"'
10885 * BufferView2.C: remove insertCorrectQuote();
10887 * lyxfunc.C (getStatus): Add support for all remaingin
10888 inset-insert lfuns.
10890 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10892 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10893 command (necessary to pass " as parameter of self-insert.
10895 * text.C (selectWordWhenUnderCursor):
10896 (selectWord): add word_location parameter
10897 (selectWordWhenUnderCursor): same + remove special code for word
10899 (selectNextWord): use kind() to guess type of insetspecialchar,
10902 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10903 (insertErtContents): create ert insets as collapsed.
10904 (readInset): better compatibility code for Info inset.
10906 2001-07-20 Juergen Vigna <jug@sad.it>
10908 * lyxfunc.C (dispatch): use always LyXFind now!
10910 * text2.C (init): add a reinit flag so that the LyXText can be
10911 reinited instead of deleted and reallocated (used in InsetText).
10913 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10919 2001-07-18 Juergen Vigna <jug@sad.it>
10921 * text.C (selectNextWord): handle insets inside inset by calling
10922 always the bv->text functions so that we can go up the_locking_inset!
10924 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10925 in strange locations when inside an inset!
10927 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10928 handling to include insets.
10930 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10932 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10934 * LyXAction.C (init):
10936 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10937 LIGATURE_BREAK, since the name is so stupid.
10939 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10941 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10944 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10946 * sp_form.[Ch]: remove.
10948 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10950 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10953 * src/buffer.C (readInset): ditto.
10955 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10957 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10958 menuSeparator(), endOfSentenceDot(), ldots() and
10959 hyphenationPoint(), which are therefore removed.
10960 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10962 * LyXAction.C (init):
10963 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10965 * paragraph.C (getWord): removed.
10967 * BufferView_pimpl.C (Dispatch): use last word or selection for
10968 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10970 * lyx_main.C (queryUserLyXDir): do not ask before creating
10971 user_dir, except if it has been named explicitely.
10973 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10975 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10976 a document of zero size.
10978 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10980 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10981 approriately in the c-tor and in require().
10982 (getPackages): output the appropriate LaTeX for natbib support.
10984 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10985 variables "use_natbib" and "use_numerical_citations" when reading the
10987 (readInset): read the various natbib cite commands.
10988 (validate): white-space change.
10990 * bufferparams.[Ch]: new variables "bool use_natbib" and
10991 "bool use_numerical_citations".
10992 (writeFile): output them in the LyX file.
10994 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10996 * lyxfunc.C (getStatus): add support for all the inset insertion
10999 * text2.C (insertInset):
11000 * paragraph.C (insetAllowed):
11001 * BufferView_pimpl.C (insertInset): update to take in account the
11002 renaming of insertInsetAllowed
11004 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11006 * text2.C (getInset): new method. returns inset at cursor position.
11008 * BufferView_pimpl.C (Dispatch): changes because of this.
11010 * LyXAction.C (init): rename open-stuff to inset-toggle.
11012 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11014 * text2.C (toggleInset): renamed from openStuff; use
11017 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11019 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11021 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11023 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11025 * buffer.C (readLyXformat2): Add filename to the error dialog
11027 2001-07-18 Juergen Vigna <jug@sad.it>
11029 * tabular.C (GetCellNumber): put an assert here instead of the check!
11031 2001-07-17 Juergen Vigna <jug@sad.it>
11033 * BufferView_pimpl.C (toggleSelection): adapted too.
11035 * text.C (selectNextWord): adapted for use with insets.
11036 (selectSelectedWord): ditto
11038 2001-07-17 Juergen Vigna <jug@sad.it>
11040 * sp_spell.C (PSpell): fix initialitation order.
11042 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11044 * paragraph.C: spacing
11046 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11048 * sp_spell.C: repair language selection for pspell
11050 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11052 * lyxfunc.h: change more methods to begin with lower char.
11054 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11056 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11057 for unknown layouts.
11059 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11061 * buffer.C (readLyXformat2): Generate an error dialog if there are
11064 2001-07-16 Juergen Vigna <jug@sad.it>
11066 * sp_spell.C: always compile ISpell part.
11068 * lyxrc.C: added use_pspell entry and it's handling.
11070 2001-07-13 Juergen Vigna <jug@sad.it>
11072 * sp_spell.C: removed double includes.
11074 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11076 Consistent use of Lsstream.h:
11077 * Lsstream.h: added using std::stringstream for consistencies sake.
11079 * buffer.C: removed using std::stringstream
11081 * lyxfont.C (stateText):
11082 * paragraph.C (asString):
11083 * text.C (selectNextWord, selectSelectedWord):
11084 * text2.C (setCounter):
11085 * vspace.C (asString, asLatexString):
11086 std::ostringstream -> ostringstream.
11088 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11090 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11091 * commandtags.h: add LFUN_HELP_ABOUTLYX
11092 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11094 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11096 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11098 * lyx_gui_misc.C: remove spellchecker
11099 * lyxfunc.C: showSpellchecker
11101 * sp_ispell.h: added
11102 * sp_pspell.h: added
11103 * sp_spell.C: added
11104 * sp_form.[Ch]: removed
11105 * spellchecker.[Ch]: removed
11107 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11109 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11111 (simpleTeXSpecialChars): Simply print the input character without
11112 any special translation if pass_thru is set.
11114 * layout.h: Added bool pass_thru to layout class for being able to
11115 implement pass through of a paragraph for Literate Programming.
11117 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11118 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11119 * layout.C (Read): add "passthru" to list of layout tags and add
11120 code to set the pass_thru boolean when it is read.
11122 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11124 * trans_decl.h: remove allowed from KmodInfo
11126 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11127 remove allowed code
11130 * paragraph_pimpl.C (erase): use boost::prior
11132 * Painter.C (text): use data() instead of c_str() when length is
11134 * WorkArea.C (putClipboard): ditto
11135 * font.h (width): ditto
11137 * BufferView2.C: use it-> instead of (*it). for iterators
11139 * paragraph_pimpl.C: ditto
11140 * paragraph.C: ditto
11141 * minibuffer.C: ditto
11142 * language.C: ditto
11144 * encoding.C: ditto
11145 * counters.C: ditto
11146 * converter.C: ditto
11148 * Variables.C: ditto
11149 * TextCache.C: ditto
11150 * MenuBackend.C: ditto
11151 * LyXAction.C: ditto
11153 * FloatList.C: ditto
11154 * DepTable.C: ditto
11155 * ColorHandler.C (LyXColorHandler): ditto
11157 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11159 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11161 * text2.C (openStuff): reintroduce this method (which had been
11162 nuked in NEW_INSETS frenzy).
11164 * lyxfunc.C (Dispatch): when an action has not been handled, use
11165 its name in the error message, not its number.
11167 * paragraph.C (inInset): change method name to begin with lowercase.
11170 * text2.C: updates because of this.
11172 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11174 * ToolbarDefaults.C (add): add spaces in error message
11176 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11179 (readLyXformat2): rename return_par to first_par, use lyxlex's
11180 pushToken and remove the manual push handling.
11181 (parseSingleLyXformat2Token): add another ert comp. variable:
11182 in_tabular, rename return_par to first_par. handle newlines better
11184 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11186 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11188 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11190 * text2.C (getParFromID): removed
11192 * buffer.C (getParFromID): new method moved form lyxtext.
11193 * BufferView2.C (insertErrors): adjust
11194 (setCursorFromRow): adjust
11195 * BufferView_pimpl.C (restorePosition): adjust
11196 * lyxfunc.C (Dispatch): adjust
11197 * undo_funcs.C (textUndo): adjust
11199 (textHandleUndo): adjust
11200 (textHandleUndo): adjust
11202 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * buffer.C: up' the LYX_FORMAT
11206 * lyxfont.h: turn NO_LATEX on as default
11208 * buffer.C (insertErtContents): new methods of tex style compability.
11209 (parseSingleLyXformat2Token): use it several places.
11210 * tabular.C (OldFormatRead): and here
11212 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * text2.C: remove some commented code.
11217 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11218 * trans.C: changes because of the above.
11220 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11222 * text2.C (setCounter): Fix counters bug with bibliography layout.
11224 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11227 own member functions
11228 (simpleTeXSpecialChars): ditto
11230 2001-07-06 Juergen Vigna <jug@sad.it>
11232 * a lot of files: changed the access to LyXText::status and the
11233 call of undo-functions.
11235 * undo.[Ch]: added a inset_id to the undo informations.
11237 * undo_funcs.[Ch]: added and moved here all undo functions.
11239 * lyxtext.h: give the status enum a weight, made status_ a private
11240 variable and made accessor functions for it, removed the whole bunch
11241 of undo-functions as they are now in their own file, make some
11242 functions publically available. Added function ownerParagraph with
11245 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11246 made InInset() a const function, added getParFromID() function.
11248 * buffer.[Ch]: added const version for inset_iterator functions,
11249 added getInsetFromID() function.
11251 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11252 changed undo functions for new version.
11254 2001-07-05 Juergen Vigna <jug@sad.it>
11256 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11257 unknow mechanism does not call the proper constructor but only this
11258 one also if I request the other!?
11260 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11262 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11264 * text2.C (LyXText): use initialization lists.
11266 * lyxtext.h (Selection): initialize set_ and mark_
11267 (init): remove method
11269 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11271 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11273 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11275 * screen.[Ch]: change method names to begin with lowercase
11277 * BufferView_pimpl.C (updateScrollbar): simplify further and
11278 hopefully make it a bit faster.
11280 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11283 calling directly xforms functions.
11285 * Painter.C (Painter):
11286 * lyx_cb.C (MenuWrite):
11287 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11290 * lyx_gui.C: remove bogus guiruntime extern declaration.
11292 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11296 (redoDrawingOfParagraph): ditto
11297 (redoParagraphs): ditto
11298 (cutSelection): don't create a object for CutAndPaste use the
11299 static method directly
11300 (pasteSelection): ditto
11302 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11305 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * modifications to some other files because of this.
11309 * Makefile.am (lyx_SOURCES): add XFormsView
11311 * XFormsView.[Ch]: new files
11313 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11314 the main window. Move the gui dependent stuff to XFormsView
11316 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11318 * tabular.C (GetCellInset): update cur_cell also in the row/col
11319 version of this function.
11321 * lyxfunc.C: no need to include figure_form.h here.
11327 * lyxvc.C: no need to include forms.h here.
11329 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11331 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11333 * lyxfunc.C (Dispatch):
11335 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11336 constructor argument.
11338 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * paragraph.C (Paragraph): dont't clear, and just set layout.
11341 (makeSameLayout): use params's copy contructor.
11343 * ParagraphParameters.[Ch] (makeSame): delete method
11345 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11347 * Variables.[Ch]: fix indentation, rename set to isSet
11349 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11351 * lyxfunc.C (Dispatch): fix typo
11353 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11355 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11358 * bufferlist.C: include assert.h for emergencyWrite().
11360 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11362 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11363 give up at last (bug #425202) !
11365 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11371 * spellchecker.C: strip spellchecker options and bring up
11372 preferences tab instead
11374 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11376 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11377 the istringstream constructor
11379 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11381 * paragraph.C (getLayout): fix return value
11383 * paragraph.h: do not declare getLayout as inline.
11385 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11387 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11389 * lyxcursor.h (operator<): new func
11390 (operator>): new func
11391 (operator>=): new func
11392 (operator<=): new func
11394 * text.C (changeCase): use selection.start and selection.end
11395 (changeRegionCase): require from to be <= to. Require par to be a
11398 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11400 2001-06-27 Juergen Vigna <jug@sad.it>
11402 * text.C (cursorLeftOneWord): changed to return the cursor and added
11403 overlay with BufferView * parameter which calls this one.
11405 (selectWord): use new getWord function.
11406 (changeCase): renamed from changeWordCase as and extended to work
11407 also on selections.
11409 * lyxtext.h: added enum word_location
11411 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11412 changeCase as this operates now also on selections.
11414 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11416 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11418 * many files: send debug output to Debug::INFO instead of
11421 * converter.C (View):
11423 (Move): send debug output to Debug::FILES instead of console.
11425 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11427 * lyxfunc.C (getStatus): use func_status
11429 * func_status.h: new header, describing the results of
11430 LyXFunc::getStatus;
11432 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11435 2001-06-25 The LyX Project <jug@sad.it>
11437 * buffer.C (sgmlOpenTag):
11439 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11441 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * text2.C: remove some dead code
11445 * tabular.C (GetCellInset): store the last cell checked (gotten)
11447 * tabular.h: add the helper for the speedup
11449 * lyxtext.h: remove some dead code
11451 2001-06-26 The LyX Project <Asger>
11453 * paragraph.C: Change export to LaTeX of alignment to
11454 \begin{center} and family for better roundtrip work with reLyX.
11456 * Tune the math drawing a bit.
11458 2001-06-25 The LyX Project <Asger>
11460 * LColor.C (LColor): New color for math background. New color
11463 2001-06-25 The LyX Project <jug@sad.it>
11465 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11467 * lyxfunc.C (Open):
11468 * bufferlist.C (newFile): do not restrict to files ending with
11471 * BufferView_pimpl.C (MenuInsertLyXFile):
11473 2001-06-24 The LyX Project <jug@sad.it>
11475 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11478 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11480 * lyxtext.h: rename most methods to begin with a small char.
11481 Lots of changes because of this.
11483 * paragraph.C (Paragraph): do not call fitToSize
11484 (erase): call Pimpl::erase
11485 (insertChar): call Pimpl::insertChar
11486 (insertInset): call Pipl::insertInset
11487 (breakParagraph): do not call fitToSize
11488 (breakParagraphConservative): do not call fitToSize
11489 (fitToSize): remove method
11491 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11493 2001-06-24 The LyX Project <Asger>
11495 * Fix Qt compilation^2
11497 2001-06-24 The LyX Project <jug@sad.it>
11499 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11500 depthHook(getDepth()-1).
11503 * ParagraphParameters.h:
11504 * ParameterStruct.h: change type of depth to unsigned int ==
11505 depth_type. Many adaptations to other files before of that.
11507 2001-06-24 The LyX Project <Asger>
11509 * Fix Qt compilation.
11511 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * paragraph.h: renamed several methods to begin with small letter.
11514 several changes to many parts of the code because of this.
11516 2001-06-23 The LyX Project <jug@sad.it>
11518 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11519 rewritten to discard all double spaces when KeepEmpty is off
11520 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11521 to only handle newlines but not fiddle with spaces and friends.
11523 * lyxfunc.C (MenuNew): when doing 'new from template', use
11524 template_path as default directory
11526 2001-06-23 The LyX Project <Asger>
11528 * Clean-up of header file includes all over
11529 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11531 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11533 * paragraph.h: renamed from lyxparagraph.h
11535 2001-06-23 Asger <lyx@violet.home.sad.it>
11537 * Buffer.h: Removed Buffer::resize
11538 * BufferList.h: Removed BufferList::resize
11539 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11540 the document lazily when we change the width, or the font settings.
11542 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11544 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11546 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11548 * buffer.h: remove out of date comment
11550 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11553 * screen.C: fix "theoretical" GC leak
11555 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11557 * LaTeX.C (scanAuxFile):
11558 (deplog): remove trailing \r when reading stream (useful under
11561 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11563 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11564 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11565 and BufferView::theLockingInset(Inset*), so should use them and not
11566 access bv_->text->the_locking_inset directly.
11568 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11570 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11573 * tex-defs.h: remove old unused file
11575 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11577 * BufferView_pimpl.C: fix typo, remove minibuffer message
11578 when buffer has loaded
11580 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11582 * lyxfunc.C (Dispatch): use stringstream
11583 (MenuNew): use stringstream
11584 (Open): use stringstream
11586 * importer.C (Import): use stringstream
11588 * bufferview_funcs.C (CurrentState): use stringstream
11590 * LaTeX.C (run): use stringstream
11592 * BufferView_pimpl.C (savePosition): use stringstream
11593 (restorePosition): use stringstream
11594 (MenuInsertLyXFile): use stringstream
11596 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11609 * vspace.C: removed // -*- C++ -*- as first line.
11612 * version.h: added // -*- C++ -*- as first line.
11614 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11616 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11618 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11621 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11623 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11626 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11628 * gettext.C: include LString.h even when --disable-nls is on.
11630 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11632 * converter.h (Get): changed argument type from int to
11633 FormatList::size_type to avoid unnecessary conversion.
11635 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11638 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11640 * gettext.h: include LString.h even when --disable-nls is on.
11642 2001-06-07 Juergen Vigna <jug@sad.it>
11644 * text.C (BreakAgain): subst spaces with tabs.
11646 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11647 (resizeInsetsLyXText): set force on resizeLyXText.
11649 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11651 * gettext.h (gettext_init):
11652 (locale_init): use a real definition instead of a macro
11654 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11656 * Bufferview_pimpl.C:
11658 * LColor.C: further lcolor tidies
11660 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11662 * BufferView_pimpl.C (updateScrollbar): simplify.
11664 * BufferView2.C: don't include insets/insetinfo.h, change
11665 prototype for insertInset and call the Pimpl version. let
11666 updateInset call Pimpl version.
11668 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11669 gotoInset to BufferView::Pimpl
11671 2001-06-01 Juergen Vigna <jug@sad.it>
11673 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11674 inside a LockingInset (is the update needed at all?).
11676 2001-05-31 Juergen Vigna <jug@sad.it>
11678 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11679 here not the old one otherwise how should we compare it afterwards
11682 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11687 * FontInfo.C: bring C functions into global namespace when
11690 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11692 * LString.h: make sure config.h has been loaded before LString.h.
11694 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11695 (one for each char read by EatLine!).
11697 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11700 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11703 to the same as the par we break from
11705 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11707 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11709 * MenuBackend.C (expand): also create menu entries for wide
11710 versions of the floats.
11712 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11714 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11716 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11717 frontends/Makefile.am
11723 * tabular.C (getTokenValue): add std::
11725 * tabular-old.C (getTokenValue): add std::
11726 (getTokenValue): ditto
11727 (getTokenValue): ditto
11729 * screen.C (ToggleSelection): adjust
11731 * lyxtext.h: put selection cursors inside a Selection struct.
11733 * lyxfunc.C (moveCursorUpdate): adjust
11735 * lyxfont.C (latexWriteStartChanges): add std::
11737 * lyxfind.C: adjust
11739 * font.h: delete with(char const *, LyXFont const &)
11741 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11743 * FontInfo.C (getFontname): add std::
11745 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11746 (workAreaButtonPress): adjust
11747 (tripleClick): adjust
11749 (moveCursorUpdate): adjust
11752 * BufferView2.C (gotoInset): adjust
11754 2001-05-30 Juergen Vigna <jug@sad.it>
11756 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11757 to check pspell I add this as default as I now have new pspell
11758 libraries and they seem to use this.
11760 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11762 * text2.C (CutSelection): make the cursor valid before the call to
11765 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11767 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11768 relied on 0 terminated strings and other horrors. Bug found due to
11769 the new assert in lyxstring!
11771 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11774 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11779 * lyxfunc.C (processKeySym): change method of getting to the
11782 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11783 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11784 * BufferView_pimpl.[Ch]: here as private methods.
11786 2001-05-28 Juergen Vigna <jug@sad.it>
11788 * text.C (SetHeightOfRow): added the update() call again as it is
11789 needed to initialize inset dimensions!
11791 2001-05-16 Juergen Vigna <jug@sad.it>
11793 * text2.C (SetCharFont): Add new function with BufferView * and
11794 bool toggleall parameters for setting insets internal fonts.
11795 (SetFont): Freeze the undo as we may change fonts in Insets and
11796 all this change should be inside only one Undo!
11798 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11799 setting font's in insets as for them we have the SetFont function!
11801 2001-05-15 Juergen Vigna <jug@sad.it>
11803 * text2.C (ClearSelection): to be sure we REALLY don't have any
11806 * tabular.C (TeXCellPreamble): fixed the left border problem for
11809 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11811 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11814 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11816 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11817 LFUN_BREAKPARAGRAPH.
11819 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11820 help test to "internal only", similar for LFUN_INSERT_URL
11822 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11823 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11824 auto_region_delete and deadkeys.
11826 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11829 * LColor.C: remove some dead entries, tidy a little
11831 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11833 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11835 (Dispatch): implement LFUN_ESCAPE
11837 * commandtags.h: add LFUN_ESCAPE
11839 * LyXAction.C (init): add entry for LFUN_ESCAPE
11841 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11842 Remove commented code.
11843 (insertNote): moved here
11844 (open_new_inset): moved here
11846 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11849 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11851 * kbmap.C (findbinding): clean it up and make it work correctly.
11853 * lyx_main.C (init): do not pass argc and argv as parameters
11855 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11857 * buffer.C: fix path for OS/2 & Win32
11861 * lyx_main.C: Added os:: class.
11863 * os2_defines.h: update
11865 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11868 better by trying again with reduced state.
11870 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11872 * lyxrc.C (read): print error about invalid key sequence only when
11873 debugging (because not all latinX keysyms are known to some X
11876 * kbsequence.C (getiso): add a few std:: qualifiers
11877 (getiso): comment out extra return statement.
11879 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11883 (Dispatch): enhance the accent inset a bit. (not perfect)
11885 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11887 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11889 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11891 * bufferlist.C (emergencyWrite): fix assert() call
11893 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11895 * text.C (InsertChar): Added trivial patch to only send the "you
11896 can not do multiple spaces this way" message once during a
11899 2001-05-08 Baruch Even <baruch@lyx.org>
11901 * Makefile.am: Changed order of libraries to get LyX to link properly
11902 with the gnome frontend.
11904 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * LaTeXFeatures.h: add a std:: qualifier
11908 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * paragraph.C (String): use stringstream
11912 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * paragraph.C (writeFile): remove footflag arg
11916 * buffer.C (makeLaTeXFile): use stringstream
11917 (latexParagraphs): remove footnot gurba
11919 * LaTeXFeatures.C (getPackages): use stringstream
11920 (getMacros): likewise
11921 (getTClassPreamble): likewise
11922 (getFloatDefinitions): new method
11924 * paragraph.C (writeFile): reindent
11927 * WorkArea.h: revert the xpos + etc changes.
11929 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11931 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11933 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11934 (pasteSelection): likewise
11935 * text2.C (CreateUndo): likewise
11937 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11939 * minibuffer.C (peek_event): temporarily reduce the functionality
11940 of the minibuffer (to allow args on lfuns)
11942 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11943 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11945 * buffer.C (readInset): add compability reading of old float
11946 lists, add reading of new style float list.
11947 (readInset): avoid reevaluation of inscmd.getCmdName()
11948 (getLists): reindent
11950 * MenuBackend.C (MenuItem): implement parsing of
11951 md_floatlistinsert and md_floatinsert.
11952 (expand::LastFiles): move initalizaton of iterators out of loop,
11953 avoid reevaluation.
11954 (expand::Documents): introduce typdedef vector<string> Strings,
11956 (expand::ExportFormats): introduce typedef vector<Format const *>
11957 Formats, and use it.
11958 (expand): implement FloatListInsert and FloatInsert.
11960 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11961 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11962 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11964 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11966 (Dispatch::LFUN_FLOAT_LIST): implement
11968 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11970 * LaTeX.C (run): Fix problem with --export code.
11972 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11974 * BufferView.[Ch] (workarea): removed.
11975 (getClipboard) new method; wrapper for workarea()->getClipboard()
11977 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11980 * WorkArea.h (width, height, xpos, ypos): These methods all
11981 returned the dimensions of the work_area sub-area of WorkArea,
11982 resulting in a position error if the WorkArea were resized. Now
11983 return the dimensions of the entire WorkArea.
11985 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11987 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11989 * LaTeX.C (deplog): correct the syntax of regex reg1
11991 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11993 * undo.C: remove !NEW_INSETS cruft
11995 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * text2.C: remove !NEW_INSETS cruft
11999 * text.C: remove !NEW_INSETS cruft
12001 * tabular.C: remove !NEW_INSETS cruft
12003 * spellchecker.C: remove !NEW_INSETS cruft
12005 * lyxtext.h: remove !NEW_INSETS cruft
12007 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12009 * lyxfunc.C: remove !NEW_INSETS cruft
12011 * lyxfind.C: remove !NEW_INSETS cruft
12013 * lyx_cb.C: remove !NEW_INSETS cruft
12015 * figureForm.C: remove !NEW_INSETS cruft
12017 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12019 * buffer.[Ch]: remove !NEW_INSETS cruft
12021 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12023 * CutAndPaste.C: remove !NEW_INSETS cruft
12025 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12027 * BufferView2.C: remove !NEW_INSETS cruft
12029 * BufferView.h: remove !NEW_INSETS cruft
12031 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12033 * Lsstream.h: include LString.h before the sstream headers to
12034 fix problem with gcc 2.95.3 and lyxstring
12036 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12038 * lyx_main.C: add using directives when needed for C functions
12039 declared in std:: namespace.
12041 2001-04-27 Juergen Vigna <jug@sad.it>
12043 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12044 (SetHeightOfRow): comment out the update call should not be needed!
12046 2001-04-13 Juergen Vigna <jug@sad.it>
12048 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12049 (LyXTabular): tried to minimize operator= operations (and realized
12050 hopfully Lars wish).
12052 2001-04-27 Juergen Vigna <jug@sad.it>
12054 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12056 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12060 * buffer.C (readInset): hack to make listof algorithm work
12062 * BufferView_pimpl.C: hack to make listof algorithm work
12064 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * LyXAction.C: removed all !NEW_INSETS cruft
12067 (init): moved lfun_item in method
12069 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12071 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12073 * BufferView2.C (theLockingInset): white space.
12075 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12077 * minibuffer.C: include <iostream>
12079 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12081 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12083 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12085 * text.[Ch] (TransposeChars): new method
12087 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * call message directly through LyXView instead of through LyXFunc
12090 * BufferView2.C: adjust
12091 * BufferView_pimpl.C: adjust
12092 * FontLoader.C: adjust
12094 * bufferview_funcs.C: adjust
12095 * converter.C: adjust
12096 * figureForm.C: adjust
12097 * importer.C: adjust
12099 * lyx_gui_misc.C: adjust
12100 * lyxfunc.C: adjust
12103 + more files in subdirs
12105 * lyxparagraph.h (size): move up int file
12108 * adjust all uses of Assert to lyx::Assert.
12110 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12111 lyxfunctional in namespace lyx
12112 * layout.C (hasLayout): ditto
12115 (delete_layout): ditto
12116 (NumberOfClass): ditto
12117 * converter.C (GetFormat): ditto
12122 * bufferlist.C (getFileNames): ditto
12123 (emergencyWriteAll): ditto
12126 * MenuBackend.C (hasSubmenu): ditto
12129 * BufferView_pimpl.C (getInsetByCode): ditto
12131 2001-04-18 Juergen Vigna <jug@sad.it>
12133 * vspace.C (asLatexString): fixed the 100% problem.
12135 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12137 * lyxfunc.C (Dispatch):
12139 * minibuffer.h: add a few std:: qualifiers
12141 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12143 * minibuffer.[Ch]: reimplement so that commands is initiated and
12144 run from lyxfunc, simplified som handling, and made the completion
12145 and history code for complete. wip.
12147 * lyxfunc.C (processKeySym): call message
12148 (miniDispatch): new temporary method
12149 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12150 (LFUN_MESSAGE): implement
12151 (LFUN_MESSAGE_PUSH): implement
12152 (LFUN_MESSAGE_POP): implement
12153 (initMiniBuffer): the initial/defualt minibuffer message.
12155 * lyxfont.[Ch]: inline some more getters
12157 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12159 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12161 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12162 (AutoSave): use LFUN_MESSAGE
12163 (Reconfigure): ditto
12165 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12167 * figureForm.C: use LFUN_MESSAGE
12169 * converter.C (runLaTeX): use LFUN_MESSAGE
12171 * bufferview_funcs.C: use LFUN_MESSAGE
12173 (changeDepth): ditto
12175 * bufferparams.h: use boost::
12177 * bufferlist.h: inherit privately from noncopyable
12179 * bufferlist.C (loadLyXFile): remove some commented code.
12181 * buffer.C (runChktex): use LFUN_MESSAGE
12183 * ShareContainer.h: inherit privately from noncopyable
12185 * ParagraphParameters.[hC] (depth): inline it.
12187 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12189 (message): new method
12190 (messagePush): ditto
12191 (messagePop): ditto
12192 (show): init minibuffer
12193 (showState): direct call
12195 * LaTeX.[Ch]: inherit privately from noncopyable
12196 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12197 instead of WriteStatus.
12199 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12201 * BufferView_pimpl.C (buffer): don't init minibuffer
12202 (workAreaButtonPress): use LFUN_MESSAGE
12203 (workAreaButtonRelease): ditto
12204 (savePosition): ditto
12205 (restorePosition): ditto
12206 (MenuInsertLyXFile): ditto
12207 (workAreaExpose): don't init minibuffer
12208 (update): remove commented code, simplify
12210 * BufferView2.C (openStuff): use LFUN_MESSAGE
12211 (toggleFloat): ditto
12214 (copyEnvironment): ditto
12215 (pasteEnvironment): ditto
12220 (updateInset): remove some commented code
12222 * lastfiles.h: inherit privately from noncopyable
12225 * lyx_main.h: ditto
12227 * lyxlex_pimpl.h: ditto
12229 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12230 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12231 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12233 * LyXAction.h: inherit privately from noncopyable, add methods
12234 func_begin, func_end, returning iterators to the func map.
12236 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12237 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12238 (func_begin): new method
12239 (func_end): new method
12241 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12243 (copySelection): ditto
12244 (pasteSelection): ditto
12246 * BufferView.C: whitespace change
12247 * BufferView.h: inherit privately from noncopyable
12249 2001-04-16 Allan Rae <rae@lyx.org>
12251 * tabular-old.C (l_getline):
12252 * spellchecker.C (sc_check_word):
12253 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12254 an unrecognised preprocessor directive. So ensure they're wrapped.
12256 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12258 * src/exporter.C (Export): Give an error message when path to file
12261 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12263 * LaTeX.C (deplog): Always check that foundfile exists.
12265 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12268 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12270 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12272 * tabular.[Ch] (getLabelList): implement new method
12274 * minibuffer.h: comment ouf setTiimer
12276 * minibuffer.C (ExecutingCB): constify res
12277 (peek_event): constify s
12278 (Set): constify ntext
12279 (Init): constify nicename
12281 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12283 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12284 (savePosition): use two params to Minibuffer::Set
12285 (restorePosition): ditto
12287 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12289 * lyx_main.C: include language.h
12291 * Makefile.am (lyx_main.o): add language.h
12293 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12299 * CutAndPaste.C: include gettext.h
12301 * lyxfont.h: remove old hack with ON and OFF.
12304 * lyxfont.h: do not include language.h...
12309 * bufferview_funcs.C:
12315 * paragraph.C: ... but do it here instead
12317 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12319 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12321 * tabular.C: small reformat
12323 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12326 (BreakParagraph): ditto
12327 (SetOnlyLayout): ditto
12330 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12333 * lastfiles.C: removed most using decl, add std:: where needed
12335 * buffer.C: ws changes
12337 * MenuBackend.C (class compare_format): put into anon namespace
12338 (expand): constify label, names, action, action2
12341 * text.C (SingleWidth): constify font
12342 (IsBoundary): constify rtl2
12343 (GetVisibleRow): constify ww
12345 * LaTeX.C (deplog): constify logfile
12347 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12349 (workAreaExpose): constify widthChange, heightChange
12351 * lyxrow.C (par): moved
12354 * lyxrow.h: as inlines here
12356 * lyxfont.h (shape): moved from lyxfont.C
12357 (emph): moved from lyxfont.C
12359 * lyxfont.C (LyXFont): use initialization list for all
12361 (shape): move to lyxfont.h as inline
12362 (emph): move to lyxfont.h as inline
12365 2001-04-04 Juergen Vigna <jug@sad.it>
12367 * vspace.C: had to include stdio.h for use of sscanf
12369 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12372 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12373 independent of xforms.
12375 2001-04-02 Juergen Vigna <jug@sad.it>
12377 * spellchecker.C: fixed namespace placing!
12379 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12381 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12382 the LyXParagraph * is 0.
12384 2001-03-29 Juergen Vigna <jug@sad.it>
12386 * vspace.C: added support for %, c%, p%, l%.
12387 (stringFromUnit): added helper function.
12388 (asLatexString): changed to give right results for the %-values.
12390 * buffer.C: convert the widthp in a width%.
12392 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12394 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12397 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12398 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12400 * lyx_cb.[Ch]: see above.
12402 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12406 * lyx.[Ch]: replaced by figure_form.[Ch].
12410 * lyxfunc.C: changed headers associated with above changes.
12412 2001-03-27 Juergen Vigna <jug@sad.it>
12414 * BufferView_pimpl.C: set the temporary cursor right!
12416 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12418 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12420 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12422 * LString.h: removed "using std::getline"!
12424 * BufferView_pimpl.C (Dispatch): changes due to changes in
12425 InsetInclude::Params.
12427 * buffer.C (tag_name): removed redundant break statements as they were
12428 producing lots of warnings with my compiler.
12430 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12432 * LString.h: add "using std::getline" when using the real <string>.
12434 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12436 * buffer.C: removed bitset usage.
12437 PAR_TAG moved to an anonymous name space.
12438 (tag_name): new funtion, also in the anonymous namespace.
12439 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12440 (makeDocBookFile): clean code. Completed transition from string arrays
12442 (SimpleDocBookOnePar): code clean.
12444 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12446 * tabular.C: add some comments.
12448 2001-03-22 Juergen Vigna <jug@sad.it>
12450 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12451 compatibility read a bit and fixed bug with minipage in different
12454 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12456 * buffer.C (pop_tag): removed.
12457 (push_tag): removed.
12458 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12459 array replaced with vector. Added support for CDATA sections.
12460 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12462 (makeDocBookFile): XML conformant declaration of CDATA section,
12463 fixed bug related to <emphasis> in the first paragraph char.
12464 (sgmlOpenTag): exclude empty tags.
12465 (sgmlCloseTag): ditto.
12467 * buffer.h (pop_tag): removed.
12468 (push_tag): removed.
12470 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12472 * language.h (Languages): added size_type and size().
12474 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12476 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12477 response on compability reading of minipages. One probliem is that
12478 the old usage of minipages was «flertydig»
12480 * several files here and in subdirs: don't use static at file
12481 scope use anon namespaces instead.
12483 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12485 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12486 LaTeX output. This is necessary for Literate document
12489 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12491 * buffer.C: insert hfill when needed.
12493 * tabular.C (l_getline): use string::erase, small whitespace change.
12495 * BufferView_pimpl.C: try the anon namespace.
12496 * WorkArea.C: ditto
12498 2001-03-16 Juergen Vigna <jug@sad.it>
12500 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12501 otherwise it won't open options-dialogs.
12503 * buffer.C: honor pextraWidth(p) on converting minipages.
12505 * tabular.C (l_getline): changed the functions to strip trailing \r.
12507 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12509 * BufferView_pimpl.C:
12510 * minibuffer..C: added "using SigC::slot" declaration.
12512 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12514 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12520 * paragraph.C: ditto
12522 * lyxtext.h: NO_PEXTRA
12524 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12526 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12527 * ParameterStruct.h: ditto
12528 * ParagraphParameters.h: ditto
12529 * lyxparagraph.h: ditto
12531 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12533 * buffer.C: add compability for minipage alignment.
12534 (latexParagraphs): remove unwanted pextra check.
12536 * several files: remove CXX_WORKING_NAMESPACES
12538 * buffer.C (pop_tag): tie is in namespace boost
12540 * BufferView.h: noncopyable is in namespace boost
12542 * lyx_main.h: ditto
12545 * lastfiles.h: ditto
12546 * bufferlist.h: ditto
12547 * ShareContainer.h: ditto
12549 * LyXAction.h: ditto
12552 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12554 * Merging changes from BRANCH_MVC back into HEAD.
12556 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12558 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12560 * BufferView_pimpl.C: change from intl.C
12564 * Makefile.am: move combox.*
12570 * intl.C: remove dialog (covered by prefs)
12572 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12574 * lyxfunc.C (Dispatch): removed redundant break statement.
12576 2001-03-14 Juergen Vigna <jug@sad.it>
12578 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12580 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12582 * buffer.C: add hack to fix compability reading of minipages.
12584 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12586 * buffer.C (getLists): Cleanup.
12588 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12590 * lyxfont.C (update): don't honor toggleall on font size.
12592 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12596 * Makefile.am: moved to frontends/xforms/
12600 * BufferView_pimpl.C: changes for moved mathpanel
12602 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12604 * gettext.h: fix gettext_init() in --disable-nls
12606 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12608 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12610 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12613 * lyx.h: strip external form
12615 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12617 * BufferView_pimpl.C: add comment, destroySplash()
12619 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12621 * BufferView_pimpl.C:
12625 * lyxfunc.C: use re-worked insetinclude
12627 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12629 * buffer.C: add using std::stringstream.
12631 * lyx_cb.C: readd using std::ios.
12633 * buffer.C: add using std::map.
12635 * BufferView_pimpl.C: add using std::vector.
12637 * ShareContainer.h: add std:: to swap.
12639 * buffer.h: add some typedefs
12640 * buffer.C (getLists): use them
12641 (getLists): renamed from getTocList.
12642 add a counter for the different float types and use it in the
12644 (getLists): use the same counter for the NEW_INSETS and the "non"
12647 * lyx_cb.h: remove unused items, includes, using etc.
12649 * ShareContainer.h: remove some commented code, add more comments
12650 and "documentation".
12652 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12654 * buffer.C (getTocList): make the list also when NEW_INSETS is
12657 * buffer.h: remove TocType
12659 * buffer.C (getTocList): change to return a map<string,
12660 vector<TocItem> >, implement for dynamic number of list.
12662 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12663 * text2.C (PasteSelection): adjust
12664 * CutAndPaste.C (pasteSelection): adjust
12666 * FloatList.C (FloatList): update from the new_insets branch.
12667 * Floating.[Ch]: ditto
12668 * LaTeXFeatures.C: ditto
12670 * lyxlex_pimpl.C: ditto
12672 * paragraph.C (Last): remove when NEW_INSETS is defined.
12674 * other file: changes because of the above.
12676 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12678 * lyxparagraph.h: rename next to next_, previous to previous_,
12679 make them private for NEW_INSETS. Rename Next() to next(),
12680 Previous() to previous().
12682 * other files: changes because of the above.
12684 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12687 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12690 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12692 * main.C (main): pass lyx_localedir to gettext_init().
12694 * gettext.h: remove locale_init and gettext_init macros
12696 * gettext.C (locale_init): new function
12697 (gettext_init): new function
12699 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12702 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12704 * Moved credits to frontends:
12705 * credits.[Ch]: removed
12706 * credits_form.[Ch]: removed
12707 * lyx_gui_misc.C: remove credits stuff
12710 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12712 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12714 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12715 unneeded destructor.
12717 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12718 a standalone pointer again.
12720 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12722 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12728 * ToolbarDefaults.C:
12737 * BufferView_pimpl.C: use new file dialog in GUII
12740 * lyx_cb.C: remove LayoutsCB to Toolbar
12742 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12744 * ShareContainer.h (get): add std:: qualifier
12746 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12748 * ShareContainer.h: define a proper ShareContainer::value_type
12749 type (and use typename to please compaq cxx)
12751 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12753 * lyxparagraph.h: move serveral local vars to
12754 ParameterStruct/ParagraphParameters., use ShareContainer in
12755 FontTable., make vars in FontTable private and add getter and
12758 * paragraph.C: changes because of the above.
12760 * lyxfont.h: remove copy constructor and copy assignment. (the
12761 default ones is ok), move number inside FontBits. move inlines to
12764 * lyxfont.C: add number to initializaton of statics, move several
12765 inlines here. constify several local vars. some whitespace
12766 cleanup. Dont hide outerscope variables.
12768 * Spacing.h: add two new constructors to match the set methods.
12770 * ShareContainer.h: new file, will perhaps be moved to support
12772 * ParameterStruct.h: new file
12774 * ParagraphParameters.h: new file
12776 * ParagraphParameters.C: new file
12778 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12779 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12781 * BufferView_pimpl.C: ParagraphParameter changes.
12782 * buffer.C: Likewise.
12783 * bufferview_funcs.C: Likewise.
12784 * text.C: Likewise.
12785 * text2.C: Likewise.
12787 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12789 * lyxfind.C (LyXReplace): do not redefine default argument in
12791 (IsStringInText): ditto
12792 (SearchForward): ditto
12793 (SearchBackward): ditto
12795 2001-03-06 Juergen Vigna <jug@sad.it>
12797 * lyxfind.C (IsStringInText): put parentes around expressions.
12799 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12801 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12803 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12805 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12807 * stl_string_fwd.h: add comment
12809 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12812 * tabular.C: remove unused DocBook methods
12818 killed DO_USE_DEFAULT_LANGUAGE
12820 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12822 * lyx_gui.C: do not include language.h.
12824 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12825 arguments in function implementation.
12827 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12829 * BufferView_pimpl.C: add <ctime>
12831 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12833 * BufferView_pimpl.C: add using std::find_if
12835 2001-02-27 José Matos <jamatos@fep.up.pt>
12837 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12840 2001-02-11 José Matos <jamatos@fep.up.pt>
12842 * buffer.C (makeDocBookFile): command styles now have a parameter as
12843 "title" by default.
12845 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12847 * layout_forms.[Ch]: removed
12848 * lyx_cb.[Ch]: out character
12849 * lyx_gui.C: out character
12850 * lyx_gui_misc.C: out character
12851 * bufferview_funcs.C: : out character,
12852 added toggleall as parameter in ToggleAndShow
12854 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12856 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12858 * text2.C (SetCurrentFont): Disable number property at boundary.
12860 2001-02-26 Juergen Vigna <jug@sad.it>
12862 * lyxfunc.C (getStatus): added a string argument override function so
12863 that this is correctly called from LyXFunc::Dispatch if it contains a
12864 do_not_use_argument which is used!
12865 (Dispatch): added check for "custom" export and call appropriate func.
12867 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12869 * lyxrc.C: Add language_command_local, language_use_babel and
12870 language_global_options.
12872 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12874 * buffer.C (makeLaTeXFile): Use language_use_babel and
12875 language_global_options.
12877 2001-02-23 Juergen Vigna <jug@sad.it>
12879 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12880 which works with LyXText and putted it inside BufferView. Here now we
12881 only call for that part the BufferView::Dispatch() function.
12883 * BufferView.C (Dispatch): added.
12885 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12886 functions which needs to use a LyXText over from LyXFunc.
12887 (MenuInsertLyXFile): added
12888 (getInsetByCode): added
12889 (moveCursorUpdate): added
12890 (static TEXT): added
12892 2001-02-22 Juergen Vigna <jug@sad.it>
12894 * BufferView_pimpl.C (update): call a status update to see if LyXText
12897 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12899 * vc-backend.C (revert): implement for CVS
12900 (getLog): implement for CVS
12902 2001-02-20 Juergen Vigna <jug@sad.it>
12904 * text2.C (ClearSelection): added BufferView param for inset_owner call
12906 * lyxfunc.C (TEXT): added this function and use it instead of
12907 directly owner->view()-text of getLyXText().
12909 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12911 * src/layout_forms.C: out preamble
12912 * src/layout_forms.h: out preamble
12913 * src/lyx_cb.C: out preamble
12914 * src/lyx_cb.h: out preamble
12915 * src/lyx_gui.C: out preamble
12916 * src/lyx_gui_misc.C: out preamble
12917 * src/lyxfunc.C: connect with guii preamble
12919 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12921 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12923 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12925 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12926 whether to run bibtex.
12928 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12930 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12932 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12934 * Makefile.am (lyx_SOURCES): removed bibforms.h
12936 * vspace.h: doxygen
12938 * text.C (GetVisibleRow): make several local vars const
12940 * tabular.C: small cleanup.
12942 * lyxserver.C (callback): use compare instead of strncmp
12944 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12945 inlines to after class or to paragraph.C
12947 * lyxfont.h: remove friend operator!=
12949 * converter.h: move friend bool operator< to non friend and after
12952 * combox.h: small cleanup
12954 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12955 to inlines after class def.
12957 * buffer.C (pop_tag): use string operations instead of strcmp
12959 * bmtable.c: doxygen, small cleanup
12961 * LaTeX.h: remove friend operator==
12963 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12975 * BufferView_pimpl.C:
12976 * BufferView.[Ch]: remove cruft
12978 2001-02-14 Juergen Vigna <jug@sad.it>
12980 * lyxfunc.C: removed #if 0 unused code
12982 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12984 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12986 * text2.C (SetSelection): added a BufferView * parameter
12988 2001-02-13 Juergen Vigna <jug@sad.it>
12990 * lyxfunc.C (Dispatch): fixed protected blank problem.
12991 * BufferView2.C (protectedBlank): added LyxText * parameter.
12993 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12994 (AppendColumn): same as above for column_info.
12996 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12997 (moveCursorUpdate): use a LyXText param for support of InsetText.
12999 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13000 (tripleClick): ditto
13002 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13004 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13006 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13008 * text2.C (SetSelection): set correct update status if inset_owner
13009 (ToggleFree): ditto
13011 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13013 * tabular.C: remove some commented code.
13015 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13017 * BufferView_pimpl.C: call hideSplash()
13019 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13022 * bibforms.h: remove
13025 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13026 add LFUN_CHILD_CREATE
13028 * counters.h: fix tiny typo
13033 * lyx.C: move splash to frontends/xforms/
13035 * lyx_gui_misc.C: move Include and Bibform to frontends
13037 * lyxvc.h: clarify comment
13039 * vspace.C: tiny housekeeping
13041 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13043 * text.C (PrepareToPrint): RTL Fix.
13045 * paragraph.C (GetUChar): New method.
13046 (String): Use GetUChar.
13048 * buffer.C (asciiParagraph): Use GetUChar.
13050 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13052 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13054 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13057 * buffer.C: rename to getLogName(), handle
13058 build log / latex log nicely
13060 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13063 * MenuBackend.h: remove support for reference menuitem type.
13065 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13067 * BufferView_pimpl.C: housekeeping
13068 * BufferView_pimpl.h:
13073 * minibuffer.h: move Timeout GUI-I
13075 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13077 * lyxrc.C (read): Update converters data-structures.
13079 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13081 * LaTeX.h (operator!=): add operator != for Aux_Info
13083 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13085 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13087 * LaTeXLog.C: deleted, useful code moved to Buffer
13090 * buffer.C: new function getLatexLogName()
13096 * lyxfunc.C: use frontends for LaTeX and VC logs
13098 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13100 * LaTeX.h: yet another std:: that Allan forgot.
13102 * Variables.C (set): renamed from isset(), because this clashes
13103 with some HP-UX macros (grr).
13105 2001-02-06 Allan Rae <rae@lyx.org>
13107 * LaTeX.h: Another bug fix. Missing std:: this time.
13109 2001-02-04 Allan Rae <rae@lyx.org>
13111 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13112 floats problem. I've left it commented out because it's not quite
13113 correct. It should also test that the current object is a table or
13114 figure inset. But I haven't gotten around to figuring out how to do
13115 that. I *think* it'll be something like: "table" == inset.type()
13117 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13120 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13122 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13123 all the citation/databases/styles in the auxilary file.
13124 (run): Rerun latex if there was a babel language error.
13126 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13128 * text.C (Backspace): Preserve the font when changing newline char
13130 (BreakParagraph): If the cursor is before a space, delete the space.
13132 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13134 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13136 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13137 new argument (code).
13138 (ChangeCitationsIfUnique): New method.
13140 * paragraph.C (GetPositionOfInset): Handle bibkey.
13142 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13144 * BufferView_pimpl.h: change type of Position::par_pos to
13145 LyXParagraph::size_type.
13147 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13149 * BufferView_pimpl.C (savePosition, restorePosition): Write
13150 messages to minibuffer.
13152 2001-01-28 José Matos <jamatos@fep.up.pt>
13154 * buffer.C (makeDocBookFile): adds support for document language.
13155 A silly restriction on the name of LatexCommand types where removed.
13156 Added support for CDATA sections, allows to chars unescaped, used
13157 among others in code, to avoid escape < and >.
13159 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13161 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13162 saved positions instrad of a stack. Furthermore, a position is
13163 stored using paragraph id/paragraph position.
13165 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13166 Remove LFUN_REF_BACK.
13168 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13170 * converter.C (dvipdfm_options): New method.
13172 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13174 * vspace.C (isValidLength): Fix for empty input string.
13176 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13178 * LyXAction.C (init): change description of LFUN_FIGURE to
13181 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * LaTeX.C: add using directive
13185 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13187 * MenuBackend.C (expand): Fix the sorting of the formats.
13189 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13191 * lyx_main.C: tiny error message fix
13193 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13196 calling fl_initialize(). This fixes the problem with ',' as
13197 decimal separator in text files.
13199 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13201 * trans.C (process): Fix the keymap bug.
13203 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13205 * LaTeX.C (scanAuxFiles): New method. Provides support for
13206 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13207 (scanLogFile) Scan for "run BibTeX" messages.
13209 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13210 OT1 font encoding. Also, load the aecompl package if the ae
13213 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13215 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * texrow.C (increasePos): turn two error messages into debug
13220 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13222 * LaTeX.C (scanAux): Handle the \@input macro.
13223 (runBibTeX): Use scanAux().
13225 * language.C (latex_options_): New field.
13227 * LaTeXFeatures.C (getMacros): Add language macros.
13229 * buffer.C (makeLaTeXFile): Small fix.
13231 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13233 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13235 * text2.C: add a using directive.
13237 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13242 * lyxfunc.C: kill LyXBell.
13244 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13246 * text.C (IsBoundary): Remove the error message
13248 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13250 * lyxrc.C (setDefaults): Correct initialization value for
13253 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13255 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13258 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13259 and GotoNextNote().
13261 * src/LyXAction.C: Added reference-next.
13263 * text.C (InsertChar): Use contains instead of strchr.
13265 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13267 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13269 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13270 alignment commands (when needed).
13272 * text.C (InsertChar): Add ':' to number separator chars.